-
... var trig; trig = CoinGate .kr(prob, Impulse .kr(10)); Out .ar(out, SinOsc .ar( TRand .kr(300.0, 400.0, trig),0,0.2 ) ) }).play; ) a.set( \prob , 1.0); a.set( \prob , 0.0); a.set( \prob , 0.1); ( a = SynthDef ( "help-TCoin" , { arg out=0, pr ...
-
... ionButton (g, "a" ); GUI .slider.new(g, Rect (0,0,100,100)).background_( Color .rand); }).background_( Color .black); // shrinks to fit the contents afterwards ) comp insert a sub composite view into the current view ( f = FlowView .new; GU ...
-
... , 1, 1, 1]], PinkNoise .ar([0.007,0.007])) }.play; ( play({ Klank .ar(`[ Array .rand(12, 800.0, 4000.0), // frequencies nil , // amplitudes (default to 1.0) Array .rand(12, 0.1, 2) // ring times ], Decay .ar( Impulse .ar(4), 0.03, ClipNoise ...
-
... initialize the delay buffer size. delaytime - delay time in seconds. ( // Dust randomly triggers Decay to create an exponential // decay envelope for the WhiteNoise input source { z = Decay .ar( Dust .ar(1,0.5), 0.3, WhiteNoise .ar); Delay ...
-
... initialize the delay buffer size. delaytime - delay time in seconds. ( // Dust randomly triggers Decay to create an exponential // decay envelope for the WhiteNoise input source { z = Decay .ar( Dust .ar(1,0.5), 0.3, WhiteNoise .ar); Delay ...
-
... initialize the delay buffer size. delaytime - delay time in seconds. ( // Dust randomly triggers Decay to create an exponential // decay envelope for the WhiteNoise input source { z = Decay .ar( Dust .ar(1,0.5), 0.3, WhiteNoise .ar); Delay ...
-
... = ~ctl1.wrap2(~ctl2) * ~ctl1 / (~ctl2 + ~ctl1); ~pat = Pbind(\freq, Pfunc({ 1.2.rand })); ~z = 9; ~out.set(\freq, 760, \ffreq, 20); ) p.asCompileString; // the document message creates a new document which it posts the code into p.document; ...
-
... lied as is supplied to Routine. ( var a, b, c; a = Prout .new({ 3.do({ arg i; 3.rand.yield; }) }); // make two streams from the pattern b = a.asStream; c = a.asStream; 4.do({ b.next.postln; }); // print 4 values from first stream 4.do({ c.n ...
-
... . //example ( SynthDef ( "detectSilence-help" , { arg out; var z; z = SinOsc.ar(Rand(400, 700), 0, LFNoise2.kr(8, 0.2).max(0)); DetectSilence.ar(z, doneAction:2); Out .ar(out, z ); }).send(s); ) s.sendMsg( "/s_new" , "detectSilence-help" , ...
-
... (see also: Function ). '%' .applyTo(2553, 345 ); [ '+' , '-' , '*' , { |a, b| a.rand + b.rand } ].choose.applyTo(2, 3); Synthesis Inside SynthDefs and UGen functions, symbols can be used to conventiently specify control inputs of different ...