beetbox / audioread

cross-library (GStreamer + Core Audio + MAD + FFmpeg) audio decoding for Python
MIT License
481 stars 108 forks source link

Pitch distorted (wrong sample rate?) when loading MP3 with GSt backend #111

Open jonashaag opened 3 years ago

jonashaag commented 3 years ago

Audioread version: 2.1.9

When decoding an MP3 file using the GStreamer backend, pitch gets disorted. See example attached, which has the original MP3 file, a WAV file decoded by the decode.py script, and a WAV file decoded by ffmpeg -i.

When forcing audioread to use the ffmpeg backend, it works correctly.

Archive.zip