How to play voice prompts stored in external flash using Nucleo-L433RC-P board W25Q128
I have a Nucleo-L433RC-P board and would like to be able to play audio voice prompts which are stored in external flash (W25Q128) and output using the internal DAC.
The voice prompts are only short and will call out number digits, so there is plenty of space on the flash to store these in WAV format raw PCM.
However, I cannot find any example code that will do this.
The only exapmple I've tried tis shown in the following link where the audio is stored in the internal flash, but I cant even get that to work.
https://community.st.com/t5/analog-and-audio/tkb-p/analog-audio-knowledge-base
The sound played just screeches, despte following the instructions step by step, including converting the WAV file to IMA ADPCM etc. I never got as far as trying the example which uses the external flash, because I could not get it working on the internal flash !
I just need an example that plays the voice prompts (preferably raw PCM) from the external flash using the internal DAC. I don't need the complexity of IMA ADPCM, the voice prompts should easily fit in a raw PCM format on the external flash.
The voice prompts dont need to be high quality, but I do want the voice prompts to be clear when played back, I dont want it to sound crackly like the type you get in musical birthday cards.
Surely someone must have done something like this before ?
