View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide

in the sink

//in the sink (sc3) jr
//this shows that frequency modulation
//on resonance filters does work within certain limits
(
Synth.scope(#{
var mx, my, freq, in;
mx =  MouseX.kr([250, 1000, 'exponential', 0.1]);
my =  MouseY.kr([20, 150]);
freq  = mx * SinOsc.kr(my, 0, 0.8, 1);


in = PinkNoise.ar(0.001) + Dust.ar(3, 1);
in = Decay2.ar(in, 0.003, 0.01, 30);
in = [DelayN.ar(in, 0.003, LFNoise2.kr(0.03, 0.001, 0.002)), in];
        
        Mix.arFill(15, { arg i;
                Resonz.ar(in, 
                        Lag.kr(
                                Lag.kr(freq*(i+1), rrand(0.0, 3.0) ).trunc(100), 0.01)
                                , rrand(0.006, 0.008)
                        , 1/(i+1).sqrt)
                });
})
)


Links to this Page