A MIDI Player library for ESP32 microcontrollers that streams and parses MIDI files from LittleFS. This library provides real-time MIDI event processing with playback control and logging features.
- Streams MIDI files from LittleFS
- Supports playback states: STOPPED, PLAYING, PAUSED, FINISHED, ERROR.
- Handles MIDI events: Note On/Off, Control Change, Program Change, Pitch Bend.
- Configurable logging with customizable levels (NONE, FATAL, ERROR, WARN, INFO, DEBUG, VERBOSE).
- Manual Installation:
- Download latest release zip
- In the Arduino IDE, go to
Sketch > Include Library > Add .ZIP Libraryand select the downloaded file.
- Arduino Library Manager:
- Search for "ESP32MidiPlayer" and install it.
- LittleFS: Required for library compile and file system operations inside your arduino project .ino file. ESP32 Arduino Core must be installed.
Open example project and send playback controls via serial monitor to test midi playback.
- ESP32PartitionTool is recommended to upload test midi file located in data directory inside the example proejct.
This project is licensed under the MIT License.