<!-- Canonical page: https://reversedwithai.com/p/m-vave-chocolate-and-chocolate-plus-ff879457 -->
Canonical page: https://reversedwithai.com/p/m-vave-chocolate-and-chocolate-plus-ff879457

# Reversed M-VAVE Chocolate MIDI foot controller protocol and created a Linux CLI tool with Claude

> A Linux command-line tool to configure M-VAVE Chocolate and Chocolate Plus MIDI controllers via TOML.

The chocolate-cli tool enables Linux users to configure M-VAVE MIDI foot controllers by reverse-engineering the official Windows app's SysEx traffic. Developed with Claude, it supports a specific subset of device features via TOML files.

## Key facts

- Target: M-VAVE Chocolate and Chocolate Plus
- Category: Firmware and hardware
- Platform: Linux
- Models: Claude
- Tools: Python 3.11+, ALSA
- Outcome: Works
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: JonathanWH1
- Added: 2026-11-24
- Updated: 2026-11-24
- Sources reviewed: 2026-11-28 (editor)

## What was done

The chocolate-cli project provides a Linux command-line interface for configuring M-VAVE Chocolate and Chocolate Plus MIDI foot controllers. The tool replaces the Windows-only Midi Suite application by communicating with the hardware over raw MIDI via ALSA. The SysEx protocol and device memory map were reverse-engineered from traffic captured from the official software. The implementation, documentation, and protocol notes were written with the assistance of Claude Opus 5.5. The tool supports a deliberate subset of device features, specifically the Advanced custom mode with Short/Long bank switching, PC and CC message types, and interface settings. Writing to the device is non-destructive, as the tool reads the full memory, modifies only managed bytes, and writes back. The project is documented at [https://raw.githubusercontent.com/jones12ax7/chocolate-cli/HEAD/README.md](https://raw.githubusercontent.com/jones12ax7/chocolate-cli/HEAD/README.md). Testing on real hardware remains limited, and users are advised to review the code before use. Other device modes, firmware updates, and message types are outside the scope of this tool.

## Human work and limitations

The project explicitly credits Claude Opus 5.5 as a co-author in the commit history. The tool is designed to be non-destructive by performing read-modify-write operations on the device memory.

## AI use in the original source

- "(Claude, by Anthropic), based on reverse engineering of the official app's MIDI traffic." ([source](https://raw.githubusercontent.com/jones12ax7/chocolate-cli/HEAD/README.md))
- "Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>" ([source](https://github.com/jones12ax7/chocolate-cli/commits.atom))

Excerpts checked against the source on 2026-11-24.

## Sources

- [Repository](https://github.com/jones12ax7/chocolate-cli)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: JonathanWH1 (2026). Reversed M-VAVE Chocolate MIDI foot controller protocol and created a Linux CLI tool with Claude. Reversed with AI. https://reversedwithai.com/p/m-vave-chocolate-and-chocolate-plus-ff879457
