This example shows how to use ADF pipeline to dynamically playback different music.
ESP32-LyraT | ESP32-LyraT-MSC |
---|---|
Prepare the audio board:
- Connect speakers or headphone to the board.
- Insert a microSD card loaded with MP3 file 'test.mp3' and AAC file 'test.aac' which are 44100Hz sample rate into SD card slot.
Configure the example:
- Select compatible audio board in
menuconfig
>Audio HAL
Load and run the example.
- Press [Mode] button to pause the currently played music and playback music between
/sdcard/test.mp3
and/sdcard/test.aac
.