I was interested in playing some audio through Reachy 2023’s speakers and I was wondering if there is some documentation on how to connect to the speakers? I had seen the post on accessing the microphone ( How to access Reachy microphone? ) and took a look at the old project (ReachyAudio: GitHub - RomainMaure/ReachyAudio: Library implementing audio interactions for the Reachy robot. ) on playing audio files but I just wanted to check in to see if there has been any more recent examples on how to work with Reachy 2023’s speakers?
Unfortunately we did not play more with the speakers so there is no native integration of the speakers in Reachy’s Python SDK. I highly recommend looking at the getting started section of the mic array Respeaker board (the board controlling both the speakers and microphone).
If your goal is to just play some audio file on the speaker you could also use the aplay command in cli from the ubuntu package alsa-utils (sudo apt install alsa-utils). It’s simple to use, you can play sound with only one command (aplay your_sound_file.wav).