Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 2.81 KB

File metadata and controls

28 lines (19 loc) · 2.81 KB

Recoding OPUS file to microSD

The example encodes 10 seconds of audio using OPUS encoder and saves it to SD Card.

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

Hardware Preparation

Before running this example, please complete the following steps:

  1. Get an ESP32-LyraT or other compatible boards.
  2. Connect your speakers or headphones to your development board.
  3. Insert a MicroSD card to your development board.

Program Description

  1. The input data comes from I2S.
  2. After finishing runing the example, you can open /sdcard/rec.opus to hear the recorded file.