delay
delay · effects · schema v1Simple stereo delay line — time, feedback, and dry/wet mix. Built on Web Audio's native DelayNode with a feedback gain loop (input → delay → feedback → output, mixed with dry), the canonical delay topology. TIME ranges log from ~1 ms (slapback) to 2 s (ambient washes), FEEDBACK is linear 0–0.95 with a hard ceiling to prevent runaway self-oscillation, and a time CV input sums onto the knob. The same delay type backs WAVESCULPT's FX slot, so its character matches whether patched inline or used as a slot effect.
the faceplate
2 inputs · 1 outputs · 3 params
inputs
| id | cable | what it does |
|---|---|---|
audio | audio | The dry signal feeding the delay line. It is passed straight to the dry side of the mix and also into the delay buffer + feedback loop that produces the echoes. audio signal |
time | cv | CV that displaces the TIME knob (linear), moving the delay read head live. Smoothed by ~10 ms so a swept delay time crossfades cleanly instead of clicking — patch an LFO here for chorus/flange-style warble or an envelope for pitch dives. Clamped to the 1 ms..2 s range. control voltage (CV); modulates time (additive offset — ±1 CV sweeps the full range, centered on the knob) |
outputs
| id | cable | what it does |
|---|---|---|
audio | audio | The dry signal and the delayed/feedback echoes summed, balanced by MIX (an equal-power crossfade so the perceived loudness stays roughly constant from full-dry to full-wet). audio signal |
params
| id | label | range | default | curve |
|---|---|---|---|---|
time | Time | 0.001..?s | 0.25 | log |
feedback | Fb | 0..? | 0.4 | linear |
mix | Mix | 0..1 | 0.35 | linear |
controls
| control | what it does |
|---|---|
| Fb | How much of the delayed output is fed back into the line (0..0.95). 0 is a single echo; higher values stack more repeats; near the 0.95 ceiling the tail rings for dozens of reps. Hard-capped below self-oscillation so a runaway patch can't blow your speakers. |
| Mix | Dry / wet balance (0..1) via an equal-power crossfade: 0 is the untouched dry signal, 1 is echoes only, and halfway keeps both at full perceptual level without sagging. |
| Time | Delay time in seconds, log-scaled from 1 ms up to 2 s — short for slapback and comb effects, long for distinct rhythmic echoes or ambient tails. Summed with anything patched into the TIME CV input. |
source
delay.ts on GitHub.