Skip to content

Preset record ​

The byte layout of a preset, as carried by SysEx 0x0B (by index) and 0x0C (edit buffer). Use it to decode, edit and write whole presets.

Size and packing ​

On the wire126 MIDI bytes after <dir>, one packed stream
Unpacked110 bytes
Packing starts atThe index byte: the whole body is packed, header included
Same layout0x0B reads and writes, 0x0C reads (index field 0)
  • How it was derived: correlating all 99 presets read at startup with the CC values the pedal sent after Program Changes (tools/decode/preset_layout.py).
  • Status column: Confirmed = matched by that correlation (or, for the chain, by writing it); Likely = constant or structural evidence; Unknown = meaning not known.
  • Code: records.rs (Preset).

Byte layout ​

OffsetSizeFieldNotesStatus
01Preset index0-based (P01 = 0). 0x0C reads return 0 hereConfirmed
1–770Reserved / header
810x62 (98)Constant in all presets: number of presets − 1? A version?Unknown
9–1130
121OD/FX head= CC 0x00 (bit 6 = off, bits 0–5 = model)Confirmed
131AMP head= CC 0x01Confirmed
141CAB head= CC 0x02Confirmed
151MOD head= CC 0x03Confirmed
161DELAY head= CC 0x04Confirmed
171REVERB head= CC 0x05Confirmed
181GATE head= CC 0x06Confirmed
191EQ head= CC 0x07Confirmed
201GATE param count2Likely
21–222GATE THRESHOLD, DECAY= CC 0x08, 0x09Confirmed
23–242Pad
251OD/FX param count2–4Likely
26–294OD/FX params 1–4= CC 0x0C–0x0FConfirmed
30–312Pad
321AMP param count6Likely
33–386AMP GAIN…MASTER= CC 0x12–0x17Confirmed
39–402Pad
411CAB param count5Likely
42–465CAB MIC, POSITION, LOW CUT, HIGH CUT, VOLUME= CC 0x1A–0x1EConfirmed
471Pad
481EQ param count6 or 12Likely
49–6012EQ bands= CC 0x20–0x2BConfirmed
611MOD param count1–4Likely
62–654MOD params= CC 0x2C–0x2FConfirmed
661DELAY param count3–4Likely
67–704DELAY params= CC 0x30–0x33Likely (by pattern)
71–722Pad
731REVERB param count2–4Likely
74–774REVERB params= CC 0x36–0x39Confirmed
781VOL= CC 0x3A (80 in every factory preset)Likely
79–8130BPM? Flags?Unknown
82–898Signal-chain orderModule indices, GATE included (below)Confirmed
90–9340Unknown
94–10916NameASCII, zero paddedConfirmed

Module heads ​

Bytes 12–19 hold one head byte per effect module, at 12 + module index:

  • Value: (off ? 0x40 : 0x00) | model, the same byte as the module's head CC.
  • Order: the module index from the module map: OD/FX, AMP, CAB, MOD, DELAY, REVERB, GATE, EQ.

Parameter blocks ​

Each effect module has a param-count byte followed by its parameters, in app display order (the order of its CCs).

ModuleCount byteParamsParams sizeCCs
GATE2021–2220x08–0x09
OD/FX2526–2940x0C–0x0F
AMP3233–3860x12–0x17
CAB4142–4650x1A–0x1E
EQ4849–60120x20–0x2B
MOD6162–6540x2C–0x2F
DELAY6667–7040x30–0x33
REVERB7374–7740x36–0x39
  • Count byte = the selected model's number of parameters. The official app keeps it consistent with the model.
  • CAB always carries 5: user IRs only hide MIC and POSITION in the UI.
  • Unused param bytes keep stale values from earlier models.

Chain order ​

Bytes 82–89 are the signal-chain order: the eight effect modules as module indices, in signal order.

Byte8283848586878889
Default06 GATE00 OD/FX01 AMP02 CAB07 EQ03 MOD04 DLY05 RVB
  • Default: 06 00 01 02 07 03 04 05 (GATE first), the order of most factory presets. It varies per preset.
  • Valid order: each of 0–7 exactly once. GATE can be moved too. LOOPER and DRUM aren't in the chain; they always follow it.
  • Same bytes as 0x0D: a live 0x0D write changes the edit buffer's order and a 0x0B save stores it here.
  • Invalid bytes: open-stomp falls back to the default order when bytes 82–89 aren't a valid order.

Writing a preset ​

  1. Read the preset (0x0B) or edit buffer (0x0C) and keep all 110 raw bytes.
  2. Change only the fields you understand. Several bytes are still unknown, so never build a record from scratch.
  3. If a module's model changed, set its param-count byte for the new model.
  4. Set byte 0 to the target slot, pack, and send 70 0B 01 <packed>. Wait for the ack.
  5. To rename too, send 0x12 first, then select the slot with C1 <index>, as the app's save sequence does.
  • Name field: 16 bytes, ASCII, zero padded. open-stomp writes printable ASCII only and turns anything else into ?.
  • Round trip: open-stomp's Preset::to_raw patches the decoded fields over the original raw bytes, so unknown bytes survive.

The static analysis found a preset layout from a sibling product, NBA150PPresetStruct: 11 heads, [model, p…] arrays, userName[16]… (struct dictionary). The Dual Stomp Lite layout is similar in spirit but not identical; trust the table above.

MIT or Apache-2.0. Not affiliated with SORAN.