andrewn / neue-radio

Neue Radio: Prototype connected object using web technologies
10 stars 6 forks source link

Configures pigpio to use the PWM pin and not the PCM pins (fixes slow playback speed) #24

Closed andrewn closed 6 years ago

andrewn commented 6 years ago

As noted in #23, the physical service was working with a connected I2S DAC, but any sound playback was really slow.

This was because of the reason given here. pigpio is used by Raspi-io. The fix was to configure pigpio to use the PWM pin as a clock source and not a PCM pin before we create the Raspi-io instance.

Sound playback is now at actual speed.