Skip to content

Racks and devices

bash
s32 --loopback rack list
s32 --loopback rack rename 0 Browser
s32 --loopback rack bypass 0 on
s32 --loopback --yes rack clear 0
s32 --loopback rack duplicate 0 1
s32 --loopback device list 0
s32 --loopback device add 0 clock
s32 --loopback device list 0
s32 --loopback device param get 0 0 bypass
s32 --loopback device param set 0 0 bypass 1
s32 --loopback device add 0 step-seq
s32 --loopback stepseq get 0 1
s32 --loopback stepseq set 0 1 step 0 active=1 note=60 vel=100

Each --loopback process is a fresh device — chain mutating lines in repl or --script. Indices are slot indices in the live project (rack 0 is the first rack), except where a command takes ids (LFO assign). Device parameters are ParameterIds from schema, not 0..n row numbers. Junk tokens (device remove typo 1) are errors; they are not treated as 0.

Racks

CommandNotes
rack listIndex, id, bypass, device count, name. Unset ids print as -.
rack rename INDEX NAME
rack bypass INDEX on|off
rack clear INDEXPrompts. The rack id becomes unset (-).
rack duplicate SRC DST

Devices

device add RACK TYPE appends. TYPE is a schema name (midi-in, midi-out, clock, arp, step-seq, …) or the numeric MidiDeviceType id. Unknown names are rejected; they are not parsed as 0.

An empty rack accepts MIDI IN or CLOCK only. Other types (including Step Seq) need MIDI IN first. Placement refusals print BadRequest, not NoSpace (that means the pool or rack is full).

device move RACK FROM TO reorders inside one rack. MIDI IN stays first; MIDI OUT stays last.

device param get|set takes a ParameterId or a name (bypass, clock-division, mode, …). Clock’s second parameter is clock-division, not 1 (1 is MODE and is NotFound on Clock). Values are rounded to the nearest integer, then clamped.

Step sequencer

stepseq get RACK DEV dumps 16 steps. DEV is a device index that must be a Step Seq slot; other types fail with a type error.

stepseq set RACK DEV step N [active= note= vel= gate= ch= prob=] reads the pattern, patches one step, writes it back.