adafruit / Adafruit_VS1053_Library

This is a Arduino library for the Adafruit VS1053 Codec Breakout and Music Maker Shields
https://www.adafruit.com/products/1381
135 stars 113 forks source link

Adding ability to record and playback WAV files. #98

Open nebbian opened 6 months ago

nebbian commented 6 months ago

This code adds the ability to record WAV files to the SD card, in a similar manner to how the record_ogg sample code works.

Unlike the record_ogg example, this uses the native IMA ADPCM encoding which doesn't require the loading of a patch file every time the user wants to record some audio. This results in a much faster response time, from the time that a recording is requested to be started, to the time that the system is able to actually start recording.

The example provided here has the following functionality:

This code is based on the following sources:

a-3isa commented 2 weeks ago

the output .wav file is corrupted. please help