rodio icon indicating copy to clipboard operation
rodio copied to clipboard

Crackly audio on some mp3 files (suspected bug in resampler)

Open Chazoshtare opened this issue 8 months ago • 8 comments

I'm writing a project that converts text to speech using Google TTS. The mp3 files it returns have some audible crackling noise in them while played with rodio. It's not an issue with the file itself, as it plays normally everywhere else, such as in music players and the like. I tried:

  • playing it through stream_handle or a sink
  • decoding it with different decoders
  • playing it through different audio interfaces and outputs
  • all that on Linux and Windows

In all cases it was the same, so I'm rather convinced it's a problem on rodio's side. I'm attaching a simple project with a sample sound that demonstrates the issue. rodio-crackling-issue.tar.gz

Chazoshtare avatar Jun 07 '24 19:06 Chazoshtare