m5-cardputer-midi
Firmware for M5Stack Cardputer (M5Stack)
ESP-IDF firmware for the Cardputer that is a USB-MIDI keyboard, a four-track six-operator FM synth, a step recorder and sequencer, and a browser-based FM editor served over Wi-Fi.
by OcislyO

- Distribution
- Build from source yourself
- Requires stock
- Probably the Cardputer ADV, judging by the ES8311 and TCA8418 drivers; the README names only the Cardputer
- License notes
- The repository has no LICENSE file and the README makes no license statement.
- Source
- github.com https://github.com/OcislyO/m5-cardputer-midi
- synth-engine
- fm
- sequencer
- midi
- usb-midi
- editor
- wifi
- open-source
Description
The Cardputer keys play notes and send them as USB-MIDI, and the same events drive an on-board FM synthesizer with four tracks of six operators each, four waveforms, per-operator envelopes and a routing matrix between operators. A sequencer records and plays back each track at 20 to 300 BPM, up to 64 steps. Sound is produced through the ES8311 audio codec, and the project's drivers also cover the TCA8418 keyboard controller, the BMI270 motion sensor and the ST7789 display, which are the parts of the Cardputer ADV. The device serves a web page, over its own access point or a joined network, that edits the operators, envelopes and levels live. The README is a short project-layout note and does not describe these features, and the commit messages are in Chinese.
Install notes
Build with ESP-IDF for the esp32s3 target (idf.py set-target esp32s3, idf.py build) and flash over USB with idf.py flash. The build replaces the app on the Cardputer; no prebuilt image is published.
Version history
| Version | Date | Notes |
|---|---|---|
| main @ 9f2fbbe | 2026-10-27 | No tagged releases; this is the latest commit. |