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,
Which library can I use to record audio?
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,
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.