processing / processing-sound

Audio library for Processing built with JSyn
https://processing.org/reference/libraries/sound/
GNU Lesser General Public License v2.1
149 stars 50 forks source link

48 kHz mp3 files play back slower than realtime #84

Closed gohai closed 1 year ago

gohai commented 1 year ago

To reproduce:

  1. Get a 48 kHz mp3 file, e.g. by using this YouTube to mp3 converter to fetch the audio track for a video like https://www.youtube.com/watch?v=ila-hAUXR5U
  2. Play it using the SoundFile API

The file will play but sound distorted (as if played back in 44.1 kHz?), at least on an M2 MacBook Air running 13.2.1.

gohai commented 1 year ago

Bringing this to @kevinstadler's attention :)

gohai commented 1 year ago

🥳