Arduino sound recording

Hi guys

Im new to arduino. Im currently on a project trying to record sound (bee's buzz) for some seconds and save it as .wav file prefferably. Im familiar with the TMRpcm library, but Im using mkr 1400 gsm, which is incompatible.

The particular board is a "must" so, help me fellows! :slight_smile:

Im using Electret MAX 9814 with auto-gain for reading. I can also get 12-bit resolution, which is awsome! I have the mkr mem shield with an sd card to store the data.

Thanks for reading :slight_smile:

Audio recording is "easy" in theory. You just sample (read) the analog signal at a fixed-known rate and save the samples in a file. The Audacity website has a little [u]Digital Audio Fundamentals[/u] tutorial.

You'll need some additional memory if you're using a "standard" Arduino.

The hard part is multitasking... Maybe something with the MKR1400 in-between the samples. It also gets a little more complicated if you want to make a WAV file, but that's not too bad. You'll probably also want to upscale to 16-bits.