-
... s, with different values ~servReg.do { |sv| (instrument: \xf_strobe, lofreq: exprand(5.0, 21.0), phase: 1.0.rand, sustain: 5, addAction: 1, group: 1, server: sv).play; }; // harsher strobe, clicky (instrument: \xf_strobeAr, freq: 20, sustai ...
-
... , 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 ...
-
... 2]; // adds to the array ⧉ ✔ NOTE: Note that, unlike with addAll, the second operand must be a collection in order to function in this way. addFunc Returns a function or a FunctionList. This method is used to add multiple functions to alrea ...
-
... }; ez.setColors(background: bgColors[i%2 + 2]); } ) ///////////// set random values /////////// Ndef(\comparMatrix).setn(\decays, {1.0.rand}!10) Ndef(\comparMatrix).setn(\freqs, {200.rand}!10) Ndef(\comparMatrix).setn(\amps, {1 ...
-
... Array.fill(3, { |n| SinOsc.ar( \freq.kr(440) * (1 + 0.02.rand) * (n+1), mul: \amp.kr(0.1) / (n*n+1)) }).sum; var curve = Env.perc(0.1, \dur.kr(3)); var env = EnvGen.kr(curve, gate: Impulse. ...
-
... a.writeClose ) // test: n = NetAddr.localAddr; n.sendMsg("/test2", 100.rand, "dfkljsdflkjsdflksdjflsdkfjlsdkfjsd".scramble);
-
... 5, 1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var mass= 0.5.rrand(10); RedObject(world, loc, 0, RedVector2D[1, 1], mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ world.objects ...
-
IRand: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Random'>Random IRand : UGen : AbstractFunction : Object Single integer random number generator. Sour ...
-
ExpRand: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Random'>Random ExpRand : UGen : AbstractFunction : Object Exponential single random number generat ...
-
... 5, 1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var mass= 0.5.rrand(10); RedObject(world, loc, 0, RedVector2D[1, 1], mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ world.objects ...