Skip to content

Latest commit

 

History

History
 
 

play_mp3_control

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Play mp3 file with playback control

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.

Compatibility

ESP32-LyraT ESP32-LyraT-MSC
alt text alt text
alt text alt text

Usage

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].