Delay
EffectsdelayModerate CPU
Tape-style echo with time, feedback, and dry/wet mix.
What it does
Audio-rate echo delay line in SDRAM.
Wraps daisysp::DelayLine<float, sampleRate> — 1 second of mono buffer in SDRAM. Time is clamped to the buffer length at runtime. The regeneration path runs through a 7 kHz one-pole and SoftClip, so each repeat darkens and a feedback of 1.0 saturates instead of running away.
Parameters
-
Time (s)
timeGap between repeats, in seconds — multiplied by the sample rate to index the buffer. The buffer holds exactly 1 second, and anything longer is clamped to it rather than wrapping. Sweeping this while audio is running re-reads the buffer at a new position, which is what gives the classic pitch-bending tape smear.
-
Feedback
feedbackHow much of each repeat is written back into the line. 0 gives a single echo; 0.4 a handful of fading ones; 1.0 self-oscillates and holds. Full travel is safe because the regeneration path is soft-clipped, so it saturates into a sustained tone rather than clipping, and a lowpass in the loop darkens every pass the way tape does.
-
Mix
mixStraight dry/wet blend at the output: 0 is the untouched input, 1 is repeats only, 0.5 an even split. It does not affect what goes into the delay line — Feedback still runs at full strength behind a low Mix.
Buffer is 1 second @ current sample rate. Feedback is soft-clipped and damped, so 1.0 self-oscillates safely. Wire a knob into any port to override its default at runtime.
Ports
In
-
Audio In
input -
Time
time -
Feedback
feedback -
Mix
mix
Out
-
Audio Out
output
Audio Control
Inputs
- Audio In
- Source.
- Time
- Delay length in seconds.
- Feedback
- Regen depth. 1.0 self-oscillates; the loop is soft-clipped so it cannot run away.
- Mix
- Dry/wet blend.
Outputs
- Audio Out
- Mono output.
Patches using it
- Comb Filter (Feedback Loop)
standard - Delay
touch2 - Patch SM I/O Lab
patch_sm
Bundled with the app — open one from the example browser.