AUDIO
Source snapshot · 11 November 2026

API reference / ravet_delay_plugin::dsp

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§

InvalidControl
An unknown control ID or a value outside its range.
SyncedDelay
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 DIVISIONS used 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.