Problems with saving PDM audio to SD card
I am trying to modify the SensorTile AudioLoop sample project to save the audio to an SD card, instead of sending it out to the audio DAC and USB. I have successfully managed to save some audio data to the SD card, but the quality is not great. Please see the attached .wav file oh my trying to speak 'this is a test'.
Any audio pros have any idea what is missing?
I created the attached audio file by loading the saved PDM file from SD card to Audacity. I loaded it as 'raw' format, mono, 16 bit frames, and about 30kHz sample rate.
#stm32-audio-framework #audio #mems-microphone