Skip to content
altstrument

Cardputer MidiLooper

Firmware for M5Stack Cardputer (M5Stack)

Four-channel MIDI loop recorder for the Cardputer-Adv that acts as a USB host to an M-VAVE FM-1, records its channels 1, 2, 3 and 10 into loops, overdubs, plays them back and saves them as .mid files.

by Saxon267

ActiveSource: openMIT
Rendered LOOP screen in a dark theme at bar 3 of 4 and 120 BPM, with a progress bar and four channel rows labelled lead, pad, bass and drum showing event counts 28, 12, 6 and 64, all on
Saxon267, via github.com
Distribution
Prebuilt image you flash yourself
License notes
The LICENSE file is the MIT text, copyright 2026 Saxon267.
Source
github.com https://github.com/saxon267/Cardputer_MidiLooper
Homepage
github.com https://github.com/saxon267/Cardputer_MidiLooper

Description

The firmware makes the Cardputer-Adv a USB-C host for the FM-1 in its Sloop role. It records the FM-1's lead, pad, bass and drum channels into loops of 1 to 32 bars at 480 PPQN and plays them back to the FM-1. Overdubbing starts at the current phase of the loop, a loop mode starts the next pass automatically, and undo removes the last overdub. Settings cover tempo, bars, quantize, swing, a metronome and a count-in. Loops are saved to the SD card as Format 0 .mid files, and files in /MidiLoop can be loaded, renamed and deleted from the FILE page. Channels can be muted separately. The README says v1.2.0 was checked on a unit, lists limits such as 8192 events and no lock to the FM-1's own sequencer, and lists the Fn+C clear for a single lane added in v1.3.1. The repository includes a browser preview of the interface and a host-side test suite. README and notes are in Chinese.

Install notes

Flash the release's CardputerLooper-8MB.bin from address 0x0 with esptool, or build with PlatformIO from the firmware folder. Disconnect the FM-1 while flashing and do not connect the Cardputer to a computer and the FM-1 at the same time; the host build has no USB serial port. On the FM-1, ARP 2 HOLD must be off or notes hang after stopping.

Version history

Cardputer MidiLooper version history
VersionDateNotes
v1.3.22026-11-10
Fixes a stored Loop mode that stopped recording after boot when no loop existed, and stops R from cancelling the wait for the first note while armed.
v1.3.12026-11-10
Adds Fn+C to clear only the selected lane and restores the L key's loop mode that starts and continues recording automatically. The boot screen shows the version.
v1.2.02026-11-09
Adds a loop mode that starts the next pass automatically, a flashing lane indicator while recording, a boot screen showing the version, a fix for dropped notes when quantizing note-offs and an on-screen warning when the event buffer is full.
v1.0.02026-11-09
First release; attaches the merged 8 MB image. Four-channel looping, quantize, swing, undo, mute, file playback, saving and file management.

Back to M5Stack Cardputer