Last updated: 2026-05-19
This file answers the recurring community question: how does a ZDL declare itself stereo so the pedal switches to stereo mode? The static answer, from the stock corpus and the ZDL header layout, is: it doesn’t. There is no stereo flag in any ZDL.
The 76-byte ZdlInfo header was diffed across mono/stereo pairs:
| pair | only field that differs |
|---|---|
CHORUS.ZDL vs STCHO.ZDL |
sort_index (browse order) |
DELAY.ZDL vs STDELAY.ZDL |
sort_index (browse order) |
real_type, knob_type, bass_flags, sort_fx_type, unknown1, unknown2,
fx_version, and version_string are identical between mono and stereo
versions of the same effect family. Whatever distinguishes stereo is not in
the header.
Section layout for the same pairs is essentially identical: same sections, same VAs, same alignments. The only structural deltas are size — extra DSP code and extra const data — and the exported symbol names.
Examples:
CHORUS.ZDL exports Fx_MOD_Chorus* symbols; STCHO.ZDL exports
Fx_MOD_StereoCho* with the same parameter set (depth, mix,
outLv, rate, tone). The .audio section is the same size in both
(0x4a0 bytes). The stereo version is a separately compiled DSP that
reads/writes both channel buffers; the host UI sees the same controls.DELAY.ZDL exports Fx_DLY_Delay* with time/fb/mix/...; STDELAY.ZDL
exports Fx_DLY_StereoDly* with timeL/timeR/timeLR/fbL/fbR/mixL/mixR.
Different parameter count, different .audio size. Stock “stereo Delay”
is structurally a different effect, not a flag on the mono one.Same-named effect ZDLs are byte-for-byte identical across pedals with different channel counts:
| MS-70CDR (stereo) | MS-50G (mono) | identical? |
|---|---|---|
CHORUS.ZDL |
MS-50G_CHORUS.ZDL |
yes (12878 B) |
DELAY.ZDL |
MS-50G_DELAY.ZDL |
yes (16557 B) |
AIR.ZDL |
MS-50G_AIR.ZDL |
yes (13948 B) |
AUTOPAN.ZDL |
MS-50G_AUTOPAN.ZDL |
yes (13834 B) |
The same compiled effect is shipped to both pedals. The pedal hardware / firmware is what determines whether the right-channel buffer carries real audio or is silent. Nothing in the ZDL adapts.
LLLLLLLL RRRRRRRR 8-sample block layout (see
build/ABI.md §5.2) is the same on mono and stereo
pedals.STDELAY’s timeL/timeR/fbL/fbR), that’s just a parameter-count
decision; it doesn’t change the ABI.ctx[13] / ctx[14]) to custom effects: still open, tracked in
docs/STATE-ABI-PROGRESS.md. Stock modulation
effects use those slots; their meaning for custom DSP is unresolved.ctx[5]_R (right wet buffer) on
mono pedals or actively masks it: would need a hardware probe writing
a known constant into the R wet buffer and watching for crashes on a
mono pedal.Nothing to change. The build/linker.py path already has no stereo bit
because stock builds don’t have one either. A “make this effect stereo”
control would belong in the per-plugin manifest.json only as a hint to
the author about which buffers to touch in their C code, not as a flag
the host reads.
StProbe was a stereo and cable-loop probe (Delay 916; never published, removed 2026-11-09). It asked, for a feedback-loop effect (R Out patched back into L In, the instrument on R In):
ctx[4] the raw input, before the chain, with the same L/R layout?Its modes, and what each answer meant:
| Mode | Setup | What it means |
|---|---|---|
| Tone | No input. Listen to L Out, then R Out. | Low single beep on L, high double beep on R: the outputs are separate. Both beeps on one output: they are summed. |
| InFx | Guitar in L In, then in R In. Reads ctx[5]. |
L: steady. R: chopped to silence 6 times a second, if R In is separate. Pulsing but never silent: one input is copied to both sides. Silent: R In doesn’t reach the effect. |
| InDry | As InFx. Reads ctx[4]. Repeat with a stock delay in slot 1 and the probe in slot 2. |
Same answers for ctx[4]. If the delay is absent here but present in InFx, ctx[4] is the raw input. |
| Loop | Cable R Out → L In, amp on L Out, guitar in R In. Gain and Inst at 0. | The guitar passes clean to L Out. Raise Gain slowly: note the value where it starts to ring, and the pitch (set by the round trip through the cable). Inst feeds the guitar into the loop. R Out is capped at -6 dBFS. |
Unplug the R Out → L In cable before leaving Loop: InFx and InDry send the input to both outputs, so with the cable in place they howl at once.
Also try Tone with a stock mono effect after the probe: does the separation survive it?
MS-70CDR, firmware 2.10, StProbe 0.01 alone in slot 1 (2026-11-01):
Tone, only L Out plugged: L Out still plays only the single beep. The pedal does not sum R into L when one output is unplugged.
InFx, guitar in R In, L In empty: silent. R In only works while L In is plugged, which the loop always is (R Out cabled to L In).
Loop, R Out cabled to L In, Inst 0: starts to ring at Gain 41. In the code, Gain 41 gives 8 × 0.41² = 1.34, and R Out’s small-signal gain is 0.5 × 1.5 = 0.75, so the loop inside the effect is 1.34 × 0.75 = 1.0. The round trip out of R Out, through the cable and back into L In is therefore unity (0 dB): full scale out comes back as full scale in.
It rings at one pitch, a whine: the round trip through the converters is short. A tuner reads A5 (880 Hz): a 1.14 ms (50-sample) period. The loop can also ring at a multiple of its basic frequency, so the round trip is about 50 samples or a whole fraction of that.
InDry: not yet run (only matters for an effect placed after others).