ESP32 PDM audio decoding
Posted: Tue Jul 19, 2022 7:10 pm
Hello!
I have an ICS-41350 MEMS microphone with PDM output and a project to record and play the sound with an ESP32 mcu board. There are two main parts: 1.recording from mic and getting data in pdm format 2.proccessing the audio and and sending it to DAC.
for the first I'm gonna use I2S.h library in arduino framework. For the second I have two options: using external hardware or bit-banging the pdm audio to analog signals. First one is currently not an option and I really would like to use the second option.
is there any libraries or Freertos APIs for this purpose (or similar) ?
I'd appreciate the help.
I have an ICS-41350 MEMS microphone with PDM output and a project to record and play the sound with an ESP32 mcu board. There are two main parts: 1.recording from mic and getting data in pdm format 2.proccessing the audio and and sending it to DAC.
for the first I'm gonna use I2S.h library in arduino framework. For the second I have two options: using external hardware or bit-banging the pdm audio to analog signals. First one is currently not an option and I really would like to use the second option.
is there any libraries or Freertos APIs for this purpose (or similar) ?
I'd appreciate the help.