waveshare / WM8960-Audio-HAT

The drivers of [WM8960 Audio HAT] for Raspberry Pi
GNU General Public License v3.0
100 stars 65 forks source link

Very low pitch on playback #38

Closed fade2metal closed 2 years ago

fade2metal commented 2 years ago

I followed the instructions from the Wiki and successfully installed the drivers for RPI. But when I try to playback anything on the module the pitch is very low (sounds much deeper). Mic is not working sometimes but when it works it sounds normal.

I'm using: Raspberry Pi 3B+ WM8960 Hi-Fi Sound Card HAT Speakers that are delivered with the module

I tried several settings but wasn't able to get the HAT working properly.

fade2metal commented 2 years ago

Found the solution myself:

pigpiod service uses PCM for clock. It has to be configured to use PWM instead of PCM.

In the pigpiod config: /etc/systemd/system/pigpiod.service.d/public.conf replace: 'ExecStart=/usr/bin/pigpiod' with 'ExecStart=/usr/bin/pigpiod -t 0' and then reboot.

Audio should work correctly then.