Record audio from Arduino Nano 33 BLE and save it to SD card in WAV(MP3) format

Hello everyone,

I am a beginner at Arduino nano 33 BLE. I am trying to record audio from the inbuilt microphone of Arduino nano 33 BLE and save it to an SD card in WAV format but I am not able to do that. I refer to PDM library code but it gives only numerical data and Serial plotter. I don't know, how to convert it into WAV.

Help me in,

  1. Which library can I use to record audio?
  2. How to send it to an SD card in WAV or MP3 format?

If it is not possible to record audio directly in MP3(WAV) format then,

  1. How can I convert PDM serial data to WAV format?

Thanks.

Any link to the PDM library?
Any link to the definition of WAV representation?

I am using this example code for PDM Serial plotter CLICK HERE

WAV file is an extension of the Audio file format. we can save microphone data into MP3(WAV) format.

I refer to this code for saving Audio in WAV format CLICK HERE

But <TMRpcm.h> this library is not supported in Arduino nano 33 BLE because Arduino nano 33 BLE is working on embedded architecture which is not supported by <TMRpcm.h> this library.

So now I am trying to find any other library for saving audio in WAV format OR converting Serial plotter data to WAV(MP3) format.

Thanks.

greeting,

have found a solution? I'm facing the same issue where TMRpcm not support my board (MKR 1010).

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.