The example encodes 10 seconds of audio using OPUS encoder and saves it to SD Card.
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 | |||
ESP32-LyraTD-MSC | |||
ESP32-LyraT-Mini | |||
ESP32-Korvo-DU1906 | |||
ESP32-S2-Kaluga-1 Kit |
Before running this example, please complete the following steps:
- Get an ESP32-LyraT or other compatible boards.
- Connect your speakers or headphones to your development board.
- Insert a MicroSD card to your development board.
- The input data comes from I2S.
- After finishing runing the example, you can open
/sdcard/rec.opus
to hear the recorded file.