CLI & flags
mvave-chocolate-tui [--write] [--version] [--help] [device]| Argument | Meaning |
|---|---|
--write |
Enable SysEx writes. Without it the TUI reads, shows settings and refuses every write action. |
--version, -v |
Print the version (stamped at build time) and exit. |
--help, -h |
Print usage and exit. |
device |
Raw ALSA MIDI path, for example /dev/snd/midiC5D0. Omit it to auto-detect. |
Auto-detection
Section titled “Auto-detection”With no path, the TUI scans /proc/asound/cards for SINCO, FootCtrl or
USB-Midi and opens the matching raw MIDI node. If several match, pass the
path explicitly:
amidi -l # find the cardmvave-chocolate-tui --write /dev/snd/midiC5D0The card number changes when you replug or reboot. Prefer auto-detection unless you have more than one compatible device.
| Path | Contents |
|---|---|
~/.config/mvave-chocolate-tui/config.json |
The table’s sixteen switch settings and local switch names. |
~/.config/mvave-chocolate-tui/backups/*.json |
Backups exported with x on the pedal screen. |
Set XDG_CONFIG_HOME to move the configuration root. JSON is plain text and
safe to inspect or edit while the TUI is closed.
Exit behaviour
Section titled “Exit behaviour”--versionand--helpexit 0 without touching MIDI.- No device found prints a short message and exits 1.
- A device that cannot be opened reports the error and exits 1.
qcloses the MIDI fd and restores the terminal. If a run is killed, the port can stay busy until the process exits; see Troubleshooting.
Example sessions
Section titled “Example sessions”# inspect only — the safe defaultmvave-chocolate-tui
# make a mode change, then quit without sending a tablemvave-chocolate-tui --writeThe TUI never daemonizes and never runs in the background. When it exits, the pedal keeps whatever was written; the program does not.