1 declare name "SmoothDelay";
2 declare author "Yann Orlarey";
3 declare copyright "Grame";
5 declare license "STK-4.3";
8 //--------------------------process----------------------------
10 // A stereo smooth delay with a feedback control
12 // This example shows how to use sdelay, a delay that doesn't
13 // click and doesn't transpose when the delay time is changed
14 //-------------------------------------------------------------
18 process = par(i, 2, voice)
21 voice = (+ : sdelay(N, interp, dtime)) ~ *(fback);
23 interp = hslider("interpolation[unit:ms][style:knob]",10,1,100,0.1)*SR/1000.0;
24 dtime = hslider("delay[unit:ms][style:knob]", 0, 0, 5000, 0.1)*SR/1000.0;
25 fback = hslider("feedback[style:knob]",0,0,100,0.1)/100.0;