-
... ttern UMap intended to use on the 'timeToNext' value of UPatterns. It can add a random factor to start times of events. The UMap will internally track the original time, so that it doesn't drift away. time: value or UMap to quantize amount: ...
-
... 0.05); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 0.5.rrand(4); var obj= RedBoid(world, loc, vel, RedVector2D[0, 0], mass, mass*5) .maxForce_(1).wdistance_( ...
-
... ttern UMap intended to use on the 'timeToNext' value of UPatterns. It can add a random factor to start times of events. The UMap will internally track the original time, so that it doesn't drift away. time: value or UMap to quantize amount: ...
-
... e([ \a , \e , \i ], [ \soprano , \bass , \tenor , \counterTenor , \alto ], ({10.rand}!5).normalizeSum); Formants .ar(50 + 300.rand, v) * 0.1 }.play ) *formLib formLib is a Library and holds the formants freqs, widths, and dBs. of formTable ...
-
... iTest(2,60, 10.0); this.multiTest(3,60, 10.0); } multiTest { |dims=3, size=100, randLimit=10| var probe, probe2, match1, match2, dist1, dist2; array = {{randLimit.rand}.dup(dims)}.dup(size); //"rotationTest array:".postln; //array.do(_.post ...
-
... iTest(2,60, 10.0); this.multiTest(3,60, 10.0); } multiTest { |dims=3, size=100, randLimit=10| var probe, probe2, match1, match2, dist1, dist2; array = {{randLimit.rand}.dup(dims)}.dup(size); //"rotationTest array:".postln; //array.do(_.post ...
-
... , (200@30)); var txt = EZText(nil, bounds, "store as:"); name = name ?? { Array.rand(8, 97, 122).collect(_.asAscii).join }; txt.textField.string = name; txt.textField.action = { |tf| var setname = tf.string.asSymbol.postcs; "% - adding sett ...
-
LinRand: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Random'>Random LinRand : UGen : AbstractFunction : Object Skewed random number generator. Source: ...
-
... rate, 0, BufFrames .kr(0))) }.play(s); ) x.set( \rate , 5); y.set( \rate , 2.0.rand); x.set( \rate , 2);
-
... . a = [ nil , 1, 2, 3, "wort" , "1" , [pi, 2pi]]; a.any { |x| x.matchItem(10000.rand) }; // true always Function :matchItem(item) Test item by passing it to a function which should return a Boolean . a = [10, 20, 30, { |item| item.isPrime } ...