S.DELAY+FLANGER — signal-flow flowchart
S.DELAY+FLANGER — signal-flow flowchart
Image rep algo 66 · slots 66 · unit 0 (I-RAM load 84) · family combi · confidence medium.
single delay + flanger
100 words, 28 class-A coefficient multiplies (21 named), 0 instructions still opaque, 22 of 100 not yet decoded. Landmarks detected: 2 LFO phase word(s), 3 DRAM read/write word(s), 2 waveshaper LUT selector(s).
flowchart TD
N0["Stereo input (L / R)"]
N1["Waveshaper transfer curve<br/>3-word LUT idiom, class-6 curve select (×2)"]
N0 --> N1
N2["LFO phase accumulator<br/>phase += f/44100 (Q0.23), wrap at 0x7FFFFF<br/>+ waveform lookup (LUT)"]
N1 --> N2
N3["controls: DEPTH, LFO SPEED, RESONANCE, MANUAL, PHASE, LFO WAVEFORM"]
N2 -.-> N3
N4["External delay line (DRAM)<br/>3 read/write word(s) (880.1.60 = READ, 880.1.20 = WRITE)"]
N2 --> N4
N5["controls: DELAY DRY/WET, DELAY L, DELAY R, FEEDBACK L, FEEDBACK R"]
N4 -.-> N5
N6["VOLUME<br/>output level"]
N4 --> N6
N7["REV SEND<br/>to reverb bus"]
N6 --> N7
N8["Output (RETURN to kernel epilogue)"]
N7 --> N8
classDef io fill:#e8eef7,stroke:#33475b,stroke-width:1px,color:#111;
classDef proven fill:#d7f0d7,stroke:#2e7d32,stroke-width:2px,color:#111;
classDef measured fill:#dbe9fb,stroke:#1565c0,stroke-width:1.5px,color:#111;
classDef inferred fill:#fdf0d5,stroke:#b8860b,stroke-width:1.5px,color:#111;
classDef open fill:#eeeeee,stroke:#888,stroke-width:1px,color:#333,stroke-dasharray:5 5;
classDef ctrl fill:#f3e8fb,stroke:#6a1b9a,stroke-width:1px,color:#111;
class N0,N8 io;
class N1,N4 inferred;
class N2 measured;
class N3,N5,N6,N7 ctrl;
Classic-topology match
Most likely textbook topology: Union of the sub-effect topologies, in name order.
E.g. PEQ+DIST+DELAY = DF-I biquad(s) → waveshaper → delay line; the shape is the concatenation of the named stages.
Instruction hint: each named stage contributes its own idiom (biquad ACT 0x12/13/14, waveshaper class-6 LUT, delay class-1 ESC, LFO cell).
UI parameters (MEASURED, notes/kn5000-dsp-paramlist.md): DELAY DRY/WET, DELAY L, DELAY R, FEEDBACK L, FEEDBACK R, FLANGER DRY/WET, DEPTH, LFO SPEED, RESONANCE, MANUAL, PHASE, LFO WAVEFORM, VOLUME, REV SEND.
Per-instruction detail: ../disasm/prog66_s_delay_flanger.dsm. Confidence legend and method: README.md. Narrative: the MAME development blog, KN5000 effects-DSP series (Parts 78-84). Reference: the project docs site, /effects-dsp/.