-
... Where); w.refresh; } }; u.mouseUpAction = { clicked = nil; } ) ⧉ ✔ // draw some random shapes ( var drawFunc, mouseDownFunc, mouseUpFunc, mouseMoveFunc, sat = 0, startX; drawFunc = { |me| Pen.use{ 10.do{ Color.red(rrand(0.0, 1), rrand(0.3, ...
-
... 0).states_([["reference = nil"], ["reference filled", Color.white], ["reference random", Color.yellow]]) .action_({ |b| b.value.booleanValue.if({ (b.value > 1).if( { m.reference = Array.fill(n, { 1.0.rand }) }, { m.reference = Array.fill(m. ...
-
... ([4, 4.1], 0, 8) ) * 0.1 ! 2 }.play; ) // a more complicated tag system whith a random axiom. // u = 4 // v varies [1..6] with cursor position // reinitialised when ended, a 1 sec pause each overrun. ( { var tag, index, axiom, rules, freq, ...
-
... et them b.setn(0, Array.fill(b.numFrames, {1.0.rand})); // fill the buffer with random values b.getn(0, b.numFrames, {|msg| msg.postln}); // get them b.free; ⧉ ✔ There is an upper limit on the number of values you can get or set at a time ( ...
-
... r.langPort ); n.sendMsg( "/buttons", *[ 1, 1, 0, 0, 1 ].scramble ); // send new random states ( Tdef( \autoaction, { loop { n.sendMsg( "/buttons", 2.rand, 2.rand, 2.rand, 2.rand, 2.rand ); 1.0.wait; }; }).play; ); m.free; ⧉ ✔ As in the simp ...
-
... p * amp * EnvGen.kr(Env.adsr(att, dec, susLevel, rel), gate, doneAction: 2); // random spatialization (for sequencing) by L/R delay [DelayL.ar(src, maxDelay, Rand(0, maxDelay)), DelayL.ar(src, maxDelay, Rand(0, maxDelay))] }) ; // ensure sa ...
-
... from it. Date. seed Get current date and return a value suitable for seeding a random number generator. See also randomSeed . ( var a = Date.seed; thisThread.randSeed = a; 20.do { [1, 0].choose.post }; "".postln; thisThread.randSeed = a; 2 ...
-
... same parametrical function, with determined signals it's a waste of CPU and for random UGens the result is different. For the strict interpretation of FIS define the parameter signal outside and refer to it from inside func . init Init valu ...
-
... thub.com/supercollider/supercollider/pull/5606 Audio rate versions of triggered random ugens by @telephon in https://github.com/supercollider/supercollider/pull/5344 AudioControl and InFeedback processing for an extra cycle by @vitreo12 in ...
-
... ",48); s.sync; //this forces a wait for the Buffer to load //0.3.coin chance of random offset starting position for cut playback BBCut2(CutGroup([CutBuf3(sf,0.3),CutMixer(0,0.9),CutFXSwap1(7,0.9,0.7)],numChannels:2), WarpCutProc1.new).play( ...