Skip to content

Latest commit

 

History

History
 
 

pipeline_wav_amr_sdcard

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Recoding WAV and AMR file to microSD

The example records 10 seconds WAV and AMR(AMR-NB or AMR-WB) audio file to microSD card via audio pipeline API.

Compatibility

This example is will run on boards marked with green checkbox. Please remember to select the board in menuconfig as discussed is section Usage below.

Board Name Getting Started Chip Compatible
ESP32-LyraT alt text ESP32 alt text
ESP32-LyraTD-MSC alt text ESP32 alt text
ESP32-LyraT-Mini alt text ESP32 alt text
ESP32-Korvo-DU1906 alt text ESP32 alt text
ESP32-S2-Kaluga-1 Kit alt text ESP32-S2 alt text

Usage

Prepare the audio board:

  • Insert a microSD card required memory of 1 MB into board's SD card slot.

Configure the example:

  • Select compatible audio board in menuconfig > Audio HAL.
  • You may select encoders between AMR-NB and AMR-WB in menuconfig > Example configuration > Audio encoder file type.

Load and run the example:

  • Speak to the board once prompted on the serial monitor.
  • After finish, you can open /sdcard/rec_out.wavand /sdcard/rec_out.amr (or /sdcard/rec_out.Wamr) to hear the recorded file.