-
... mple.bufRateScaleIr * pchRatio, startPos: start * sample.bufFramesIr, loop: 0 ),Rand(0,1),0.3) * EnvGen.kr( Env.perc(0.01,1.0,1,3), timeScale: dur, doneAction: 2) },[ Sample("sounds/a11wlk01.wav"), IrNumberEditor(1,[-4,4]), IrNumberEditor(0 ...
-
... 0 along the x-dimension, and a gravity of 2 along the z-dimension. f.addTarget([rand(200), rand(200), rand(200)], rrand(1,3)); // add a target randomly f.targets[0].postln; // prints Dictionary[ (pos -> RealVector3D[ 91, 27, 64 ]), (strengt ...
-
... ); Pen.fillColor = text.palette.baseText.alpha_(0.1); str.do { |c| var x = 40.0.rand + 10.0; var r = c.asString.bounds.center_(0@0); Pen.push; Pen.rotate(1.0.rand); Pen.translate(rand2(-0.3, 0.3) * b.width, rand2(-0.3, 0.3) * b.width); Pen. ...
-
... ve }; // run a routine to change the model's value: r{ 100.do{ model.value_(1.0.rand.postln).changed(\value); 0.5.wait; } }.play(AppClock) ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/SimpleController.schelp link ...
-
... true, channel = 477| q.light(0, 0, 0, 0, 0, flush, channel) }; q.light(*(({255.rand}!3) ++ [0, 128])) q.lightOff ⧉ ✔ helpfile source: /tmp/scquark_hs/SimpleDMXControl/HelpSource/Classes/SimpleEnttecDMXPro.schelp link::Classes/SimpleEnttecD ...
-
... ?? is defined to answer the receiver. [nil, 2, nil, 3].collect { |x| x ?? { 100.rand } }; // replace nil by a random number ⧉ ✔ . booleanValue Returns false. [1, 2, nil, 3].collect(_.booleanValue); // compare: [true, false, false, true].col ...
-
... es a link::CompositeInstr:: // t is plugged into f o = t <>> f; o.gui; Patch(o).rand.gui ) ⧉ ✔ Class Methods . new Arguments: a b index Inherited class methods Instance Methods . b . index . storeArgs . init . findUniqueNameForArg Arguments ...
-
... tv = 19, timescale = 1, curve = 0, loopnode = 0| var env = EnvGen.kr( Env({ 1.0.rand2 }!11, { 1.0.rand }!10, curve, releaseNode: 9, loopNode: loopnode), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; Splay ...
-
... 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 ...