-
... from default to something useful (( 0 ,( 1 / 8 ).. 5 )).do({ |starttime| // add random notes m.addNote( 36 + 50 .rand, 32 + 96 .rand, starttime, [ 0.1 , 0.05 ].choose, 127 , track: 1 ) }); (( 0 ,( 1 / 4 ).. 5 )).do({ |starttime| // add rand ...
-
... once produces the error "FAILURE /s_new SynthDef not found" ( var name; name = "Rand-SynthDef" ++ 400.0.rand; // use a random name to ensure it's not already loaded SynthDef(name, { arg out=0; Out.ar(out, PinkNoise.ar(0.1)) }).send(s); Synt ...
-
... MAL entropy of anything with the same range (here 0 to 1): ~tree = KDTree({[1.0.rand, 1.0.rand]}.dup(1000)); ~tree.entropyNN; // The following should have a lower entropy than the above: KDTree({[1.0.linrand, 1.0.linrand]}.dup(1000)).entrop ...
-
... ; // SynthDef-play returns a Synth object. ) // then do this ( SynthDef ( "help-Rand" , { arg out=0; Out .ar(out, FSinOsc .ar( Rand (200.0, 400.0), // frequency between 200 and 400 Hz 0, Line .kr(0.2, 0, 1, doneAction:2)) // frees itself ) ...
-
... eq .asSpec; q = VoicerSequencer (v, Pseq ([57, 60, 62, 64, 67].midicps, inf ), Prand ([ Pseq ([0.20], 20) /*, Pseq([0.5], 1)*/ ], inf ), nil , // use durations as lengths [ \ffreq , Pfunc ({ f.map(0.5.rand + 0.5)}), \pan , Pfunc ({ 1.0.rand ...
-
... eq .asSpec; q = VoicerSequencer (v, Pseq ([57, 60, 62, 64, 67].midicps, inf ), Prand ([ Pseq ([0.20], 20) /*, Pseq([0.5], 1)*/ ], inf ), nil , // use durations as lengths [ \ffreq , Pfunc ({ f.map(0.5.rand + 0.5)}), \pan , Pfunc ({ 1.0.rand ...
-
... = BPF.ar(WhiteNoise.ar(amp), freq, 0.01, amp * envgen); Out.ar(0, Pan2.ar(src, Rand(-1.0, 1.0))); }) ); ⧉ ✔ Real-time uses // show the args a.args; // create a new instance of CtkNote based on this prototype b = a.note(1.0); // set values ...
-
... = velSum/numBoids; } prFillBoidList {|num| num.do{ var boid; boid = BoidUnitND.rand(bounds, centerInstinct, innerDistance, matchVelocity, minSpace, workingMaxVelocity, sd); boidList.add(boid); // add it to the list }; } addBoid {|initPos| ...
-
... once produces the error "FAILURE /s_new SynthDef not found" ( var name; name = "Rand-SynthDef" ++ 400.0.rand; // use a random name to ensure it's not already loaded SynthDef (name, { arg out=0; Out .ar(out, PinkNoise .ar(0.1)) }).send(s); S ...
-
... ActionButton(g, "a"); GUI.slider.new(g, Rect(0, 0, 100, 100)).background_(Color.rand); }).background_(Color.black); // shrinks to fit the contents afterwards ) ⧉ ✔ Arguments: func (describe argument here) bounds (describe argument here) . c ...