Functionality extension of play_mp3 example by adding possibility to start, stop, pause and resume playback, as well as adjust volume.
The playback control is done using ESP32 touch pad functionality.
ESP32-LyraT | ESP32-LyraT-MSC |
---|---|
Prepare the audio board:
- Connect speakers or headphones to the board.
Configure the example:
- Select compatible audio board in
menuconfig
>Audio HAL
.
Load and run the example. Use buttons to control how audio is played:
- Use [Play] to start, pause and resume playback.
- Adjust sound volume with [Vol-] or [Vol+].
- To stop the pipeline press [Set].