Skip to content
altstrument

PC Cardputer-Adv MIDI Player

Firmware for M5Stack Cardputer (M5Stack)

PlatformIO firmware that makes the Cardputer-Adv an eight-voice sine-wave synth played live by MIDI bytes sent from a computer over the USB serial port.

by marimutukisinnmu-rgb

ActiveSource: openMIT
M5Stack Cardputer-ADV, a grey keyboard computer with a small colour screen and a StampS3A module, shown at an angle
Photo: M5Stack, manufacturer product image, via shop.m5stack.com
Distribution
Build from source yourself
License notes
The LICENSE file is the MIT text.
Source
github.com https://github.com/marimutukisinnmu-rgb/pc-cardputeradv-midi

Description

The firmware reads an ordinary MIDI 1.0 byte stream from the USB CDC serial port and plays Note On and Note Off on eight voices, each a sine oscillator at 22,050 Hz with velocity scaling, with per-channel volume from controller 7 and oldest-voice stealing. A Python script on the repository's pc branch sends the notes of a MIDI file to the board. The README calls it an initial implementation and says building, volume, latency and long-run behaviour were not yet checked on the device. A roadmap note outlines sending PCM audio alongside the MIDI later; wave playback is not implemented.

Install notes

Build and upload with PlatformIO from the repository root (pio run -t upload), then run the sender script from the pc branch on the computer. The README is in Japanese.

Version history

PC Cardputer-Adv MIDI Player version history
VersionDateNotes
main @ 6b1cc852026-11-24
No tagged releases; this is the latest commit.

Back to M5Stack Cardputer