Closed codingjoe closed 3 years ago
Default PCM. pigpio uses one or both of PCM and PWM. If PCM is used then PWM is available for audio. If PWM is used then PCM is available for audio. If waves or hardware PWM are used neither PWM nor PCM will be available for audio.
The problem seems to be related to pigpiod
. pigpiod
uses PCM as a default peripheral clock, which or course is needed for the audio HAT and I2S.
However, pigpiod
can be started in PWM
mode via:
sudo pigpiod -t 0
Hi there,
I just got board and speaker bundle. The setup worked perfectly fine. I just played the sample song and it only runs at a lower speed. Both playback speed and pitch are effected. I have tried
aplay
andffplay
same result. Both supposedly played at 44.1kHz which does match the sampling rate of the sample wav-file.I am using a Raspberry Pi Zero W.
I haven't tried another Pi version yet, but it also doesn't matter, since I would need this to work on a zero, otherwise I could just use the sound card and a simple amplifier on a larger Pi board.
Best, Joe