// Chorus: a slowly wavering delay doubles the sound. module chorus "Chorus" hp 6 { desc de "Chorus: mischt das Signal mit einer Kopie, deren Verzögerung ein langsamer Sinus schwanken lässt – breit und schwebend." desc en "Chorus: mixes the signal with a copy whose delay is swayed by a slow sine – wide and shimmering." knob rate "RATE" 0.05..3 = 0.4 log unit hz knob depth "DEPTH" 0..1 = 0.5 knob blend "MIX" 0..1 = 0.5 in x "IN" audio out y "OUT" audio buffer line 50 ms process { write(line, x) d = 0.012 + 0.008 * depth * sine(rate) y = mix(x, read(line, d), blend) } }