-
... because other ugens look up random seeds at control rate only. { RandSeed .ar( Impulse .ar(3 ** MouseX .kr(1, 8)), 1871); WhiteNoise .ar * 0.1 }.play { RandSeed .ar( Impulse .ar(3 ** MouseX .kr(1, 8)), Dstutter ( Dwhite ().exprange(2, 400) ...
-
... T (b, in); estcutoff = Lag .kr( SpecPcile .kr(chain, 0.9), 1); realcutoff.poll( Impulse .kr(1), "real cutoff" ); estcutoff.poll( Impulse .kr(1), "estimated cutoff" ); Out .ar(0, in); Out .kr(0, estcutoff * 22050.0.reciprocal); }.scope; ) // ...
-
... red. trigger - input trigger signal. delayTime - delay time in seconds. ( { z = Impulse .ar(2); [z * 0.1, ToggleFF .ar( TDelay .ar(z, 0.5)) * SinOsc .ar(mul: 0.1)] }.scope)
-
... Demand // example ( { var a, freq, trig; a = Dser ([1, 3, 2, 7, 8], 8 ); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; )
-
... dMsg( "/b_allocRead" , 0, "sounds/a11wlk01.wav" ); { BufRd .ar(1, 0, Sweep .ar( Impulse .ar( BufDur .kr(0).reciprocal), BufSampleRate .kr(0))) }.play;
-
... ); Demand .kr(writetrig, 0, write); // write on trigger SinOsc .ar( Demand .kr( Impulse .kr(16), 0, read).lag(0.01) * [1, 1.01] ) * 0.1 }.play; ) // write into buffer with mouse clicks ( { var val = MouseY .kr(1000, 200, 1); // cursor y pos ...
-
... n = Dseq ([1, 2, 3], inf ); var rep = Dstutter (Diwhite(2, 8, inf), in); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, rep).poll(trig) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; )
-
... quency: the slower the trigger is the higher the frequency ( { var trig; trig = Impulse .kr( MouseX .kr(0.5, 20, 1)); SinOsc .ar( Timer .kr(trig) * 500 + 500, 0, 0.2) }.play; )
-
... l changes from non-positive to positive. { Blip .ar( Latch .ar( WhiteNoise .ar, Impulse .ar(9)) * 400 + 500, 4, 0.2) }.play; The above is just meant as example. LFNoise0 is a faster way to generate random steps : { Blip .ar( LFNoise0 .kr(9, ...
-
... // freq is the rate of starting points { var freq = 1000; [ LFNoise0 .ar(freq), Impulse .ar(freq)] }.plot