Audio passthru
This example passes audio received at the "aux_in" port to the headphone and speaker outputs.
Typical use cases:
- Exercising the audio pipeline from end to end when bringing up new hardware.
- Checking for left and right channel consistency through the audio path.
- Used in conjunction with an audio test set to measure THD+N, for production line testing or performance evaluation.
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 | |||
ESP32-LyraTD-MSC | |||
ESP32-LyraT-Mini | |||
ESP32-Korvo-DU1906 | |||
ESP32-S2-Kaluga-1 Kit |
Usage
Prepare the audio board:
- Connect speakers or headphones to the board.
- Connect audio source to "aux_in".
Configure the example:
- Select compatible audio board in
menuconfig
>Audio HAL
Load and run the example:
- You should hear the audio passed from "aux_in" in the headphone and speaker outputs.# ESP32-IQ