-
... bal ratio: scale factor for the frequencies (0.25-4) amp: amplitude (0-1) seed: random seed (positive whole number). The same seed will always result in exactly the same signal on any computer. -- this is an Udef definition file part of the ...
-
... ughly 10% faster than RealVector. Creation / Class Methods *rand (size, lo, hi) random vector. size - dimension of vector. lo , hi - range of values RealVector .rand(4,-6.0,6.0); *canonB (i, n) ith element of canonic base of R^N. RealVector ...
-
... ls in the ring to zero: ~dmxRing.do{ |jt| ~dmxRingCue.put( jt, 0 ); }; // set a random channel to 1 ~dmxRingCue.put( ~dmxRing.choose, 1 ); // fade to the updated cue: d.fade( ~dmxRingCue, 0.5, 'linear', 0.1 ); 1.0.wait; }; } ); );
-
... eights) }); } next { arg prevKey; var bag; if(prevKey.isNil, { "chose a seed at random".postln; ^seeds.choose }); ^this.get(prevKey) } choose { ^this.next(nil) } get { arg key; var bag; bag = dict.at(key); if(bag.isNil, { ^nil }, { ^bag.wch ...
-
... olor Colors, Gradients and SCImages can be used with these getter/setters. ( // random colors w = Window ( "colorful" , Rect ( 200 , 200 , 250 , 120 ) ).front.decorate; 7 .do({ |i| RoundSlider ( w, 30 @ 100 ) .knobColor_( Color .rand( 0 , 0 ...
-
... ackups/MM-DD-YY //and never cleaned by this class. The backup file names have a random //number appended to them. Files with same names are supported. //Implemented with reference from the clean implementation of the //AutoBackup class by W ...
-
... ServerRegistry x = Synth(\default, target:~reg.values.choose.postln) // pick a random server x.free; // we can use any method that Array understands, since PeerGroup is an Array subclass! Synth(\default, target:~gm[\twoServers].choose) // ...
-
... b to determine which pattern you're sending in. // choose arpeggiation types at random from the list Prand ([ \up , \down , \random ], inf ) =>.arpeg BP ( \ch1 ); A Symbol may be used to retrieve a predefined pattern from the Pdefn class; i ...
-
... b to determine which pattern you're sending in. // choose arpeggiation types at random from the list Prand ([ \up , \down , \random ], inf ) =>.arpeg BP ( \ch1 ); A Symbol may be used to retrieve a predefined pattern from the Pdefn class; i ...
-
... , nil , nil ] // cyclical time points // the time point pattern puts 4 notes in random places in the bar p = Pn ( Plazy ({ Pseq (({ 4.0.rand } ! 4).round(0.125).sort, 1) }), inf ); // trace lets us see the time points first q = Pdelta (p.tr ...