Hi,
I am trying figure out how to play short wav files with a Cerb40 without external components.
There is support for playing .wav files in the Game-O utility library but I don’t understand how to use it. I couldn’t find any example implementation.
What is the best way to stream an audio file from the micro SD card?
Can I use the wav files as-is or do I need to pre-process them?
I am learning a lot by imitating parts of the GameO hardware and software. Playing short sound clips from the SD card are working. I am now looking for a good strategy for streaming slightly longer chunks in a background thread and stitching those together to speak out longer numbers.
Once this works, I had also to find out if/how the PCMAudio can be mixed with independently created tones.
At the end, it has to be a telemetry host that listens to serial port, logs the received data and generates tones depending of the data (acoustic vario for a glider) while it speaks out some info (altitude, airspeed, status,…) without interrupting the other processes.