9. Audio playback in RPiSparkModule

In the previous section (8.1) we used RPiTonePlayer to simulate the collision sound. But the sound simulated with the PWM wave is not good.

In this section we play audio files: mp3, ogg and other formats to make the collision sound more realistic.


 

Was this article helpful?

YES     |     NO

 

Enjoying the project? Spotted a mistake? Any opinions on the website? Let us know!