pimoroni / phat-beat

Python library for PHAT BEAT - A stereo DAC, AMP and VU for the Raspberry Pi
https://shop.pimoroni.com/products/phat-beat
MIT License
99 stars 28 forks source link

Audio plays too fast on Zero W #3

Closed ali1234 closed 7 years ago

ali1234 commented 7 years ago

To reproduce, play an ogg file with ogg123. I timed it, and a 3:24 song finishes playing in 3:07 and sounds higher pitch than normal. This is consistent with the difference between 44100Hz and 48000Hz.

RogueM commented 7 years ago

If your chosen playback application does not convert sample rate on the fly you need to match the rate of your audio file by adjusting the rate value in /etc/asound.conf file.