Skip to content

Latest commit

 

History

History
 
 

downmix_pipeline

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Downmix Pipeline Example

This example shows how to use ESP-ADF multiple input pipeline to play back multiple files with down-mixer.

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:

  • Connect speakers or headphone to the board.
  • Insert a microSD card loaded with WAV files. NUMBER_SOURCE_FILE is number of WAV files. The name of WAV files are like test1.wav test2.wav and so on. And the sample rate of those files are same as SAMPLERATE.

Configure the example:

  • Select compatible audio board in menuconfig > Audio HAL.

Load and run the example:

  • The first file starts playing automatically after power on.
  • Once [Mode] button is pressed, the second file with be mixed with the first file playing.