3 declare author "Grame";
5 declare copyright "(c)GRAME 2006";
7 //-----------------------------------------------
8 // Sinusoidal Oscillator
9 // (with linear interpolation)
10 //-----------------------------------------------
14 smooth(c) = *(1-c) : +~*(c);
15 vol = hslider("volume (db)", 0, -96, 0, 0.1) : db2linear : smooth(0.999) ;
16 freq = hslider("freq", 1000, 0, 24000, 0.1);
19 process = vgroup("Oscillator", osci(freq) * vol);