Module dsp
Expand description
Tempo-synced stereo delay processor, independent of any plug-in format.
Signal path per channel: input → delay line → one-pole low-pass (“tone”) → feedback (straight or ping-pong) back into the delay lines. The output mixes dry and wet signals, and bypass crossfades to the dry input over 5 ms.
Structs§
- Invalid
Control - An unknown control ID or a value outside its range.
- Synced
Delay - Stereo delay with tempo sync, a tone control in the feedback path and ping-pong cross-feed.
Constants§
- BYPASS
- Dry output while the delay keeps running (0 or 1).
- CONTROLS
- Number of controls; IDs run from 1 to this value.
- DEFAULTS
- Default physical values, indexed by ID - 1.
- DIVISION
- Index into
DIVISIONSused while synced. - DIVISIONS
- Note divisions available while synced: label and length in quarter notes.
- FEEDBACK
- Feedback, in percent of the delayed signal fed back.
- MAXIMUM_
TIME_ MS - Longest delay time in milliseconds; synced times are clamped to it.
- MINIMUM_
TIME_ MS - Shortest delay time in milliseconds.
- MIX
- Wet/dry mix in percent.
- PING_
PONG - Cross-feed the repeats between channels (0 or 1).
- RANGES
- Inclusive physical ranges, indexed by ID - 1. Bypass, ping-pong and sync accept only 0 or 1; the division only whole indices.
- SYNC
- Follow the host tempo (0 or 1).
- TIME
- Delay time in milliseconds, used when sync is off or the host gives no tempo.
- TONE
- Low-pass cutoff in the feedback path, in hertz.
Functions§
- synced_
time_ ms - Delay time for a note division at a tempo, clamped to the delay’s range.