-
... rray) ( { var a; a = [ SinOsc .ar, Saw .ar, Pulse .ar ]; TChoose .ar( Dust .ar( MouseX .kr(1, 1000, 1)), a) * 0.2 }.play; ) Note: all the ugens are continously running. This may not be the most efficient way if each input is cpu-expensive.
-
... = Dwrand ([0, 1, 2, 7], [0.4, 0.4, 0.1, 0.1], inf ).dpoll; trig = Impulse .kr( MouseX .kr(1, 400, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; )
-
... ar( TExpRand .kr(300.0, 3000.0, trig) ) * 0.1 }.play; ) ( { var trig = Dust .ar(MouseX.kr(1, 8000, 1)); SinOsc .ar( TExpRand .ar(300.0, 3000.0, trig) ) * 0.1 }.play; )
-
... ), 0, BufFrames .kr(0))) }.play; // indexing by hand { BufRd .ar(1, 0, K2A .ar( MouseX .kr(0, BufFrames .kr(0)))) }.play;
-
... tions.blockSize; // usually 64 sampleRate = Server .internal.sampleRate; freq = MouseX .kr(0.1, 40, 1) / blockSize * sampleRate; [ K2A .ar( LFNoise0 .kr(freq)), LFNoise0 .ar(freq) ] * 0.3 }.scope; )
-
... , 200)) * 0.1 }.play; // filtered pink noise { BPF .ar( PinkNoise .ar(0.1.dup), MouseX.kr(40, 17000, 1), 0.2) }.play;
-
... le #w, x, y = PanB2 .ar(p, -0.5) + PanB2 .ar(q, 0.5); #x, y = Rotate2 .ar(x, y, MouseX .kr(-1,1)); // B-format decode to quad #a, b, c, d = DecodeB2 .ar(4, w, x, y); [a, b, d, c] // reorder to my speaker arrangement: Lf Rf Lr Rr }.play; ) / ...
-
... 005), XLine .kr(800,8000,8), 0.95) }.play { TwoPole .ar( WhiteNoise .ar(0.005), MouseX .kr(800,8000,1), 0.95) }.play
-
... XLine .kr(800,100,5), 0.0, 0.5, 0) }.play modulate phase: { Impulse .ar(4, [0, MouseX .kr(0, 1)], 0.2) }.play; an Impulse with frequency 0 returns a single impulse: SynthDef ( \imp , { OffsetOut .ar(0, Impulse .ar(0)); FreeSelf .kr( Impuls ...
-
... (0, t) ) ); { var index, in, out, f0, fdiff; var bufnum = b; var input; input = MouseX .kr(0, max).round(1); // round to precision index = DetectIndex .kr(bufnum, input); index.poll; SinOsc .ar(index.linexp(0, max, 200, 700)) * 0.1 }.play; ...