Skip to main content

Module host

Module host 

Source
Expand description

Host → pedal commands (docs/protocol/midi-cc.md live control, docs/protocol/commands.md writes). Live changes are channel-2 CCs/PCs; the pedal does not echo them, so apply them to the local model too.

Constants§

LOOP_CLEAR
LOOP_REC_PLAY_DUB
LOOP_STOP
LOOP_UNDO_REDO

Functions§

cc
chain
Reorder the edit buffer’s signal chain: the eight effect modules (GATE included) as module indices in signal order. A live edit like a CC; saving the preset stores it. The pedal answers with a reply carrying the order it now uses (not an ack). None unless order is a valid_chain.
head
Model + on/off of an effect module.
looper_button
page
Make the pedal display jump to a module’s page.
param
A module parameter by slot (app display order).
preset_name
Set the edit buffer’s name. The official app sends the slot being edited first (the active preset, even when saving to another slot).
preset_write
Store a whole preset record in slot preset.index.
program
Select preset index (0-based, P01 = 0).
save_preset
The official app’s save sequence: name, record, then select the saved slot.
settings_write
tuner
Switch the tuner on or off. Same payload the official app writes back after the pedal’s tuner notification; 0x0A is the reference byte every read has returned.
volume