-
... angle",{ object.disentangle(0.3); }], ["entangle",{ object.entangle(0.3); }], ["RANDOM",{ object.rand(1.0); }] ].collect { |labFunc| Button(leftButtonV, Rect(0, 0, butWid, butH)) .states_([[labFunc[0]]]).action_(labFunc[1]); }; StaticText(l ...
-
... g("", { |path| m.path_(path) }) }); m = MovieView(w, Rect(0,20,360, 260)); ) // random-pick a tiff from the Help folder m.path_("Help/*/*/*.tiff".pathMatch.choose); // or point it to a movie (you may have that one too): m.path_("/Library/Ap ...
-
... onfetti 2 /*Imagine a box that is divided into smaller compartments. You start randomly throwing beads (or marbles or grains) into it. Wheneven one compartment is full, you stop. Check how many beads there are in a compartment whenever a b ...
-
... w deterministic leakage, smooth the // residual-energy envelopes, and force the random interpolator out of the // audible "glug" rate range. // Requires .analyzeBands + .subtractPartialEnergy first. playResidualNoise { |server, ampScale=0.3 ...
-
... ); ) ( g.set(0, 1.0); 100.do({ arg i; g.set(a.rand, (i+1).reciprocal)}); ) ( // random impulse response { var input, inputAmp, threshhold, gate; input = SoundIn .ar(0); inputAmp = Amplitude .kr(input); threshhold = 0.02; // noise gating thr ...
-
... ter point intervals and the amplitudes. In yet another, just have one point and random walk its amplitude and duration based on the probability distribution. In this implementation I allow the user to initialise a certain number of memory p ...
-
... ,100).asString ++ " " ++ rrand(0,100).asString); 0.1.yield}}.fork}, "routine of random adding"); c.add(\stopTask, [\str], {a.stop}, "stop add routine"); c.add(\add, [\str, \num, \arr], {|str, num, arr| (num + arr).postln;}, "adds one number ...
-
... riod allCycPeriod rotateCycRate tiltCycRate tumbleCycRate allCycRate varyMotion randomVariance frameRate Perspective setOrtho setPerspective translateX translateY skewX skewY originDist eyeDist renderDistanceSize pointDistScale refresh Inte ...
-
... 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 ...
-
? // Space-Jump with a trombone // (dirty Code (& Sound)) ( b = Buffer.read(s, "sounds/a11wlk01.wav"); ~phas = {|in, speed=1, wet=1| var chain; chain = in+FreqShift.ar(in, 0, SinOsc.kr(speed).range(0, pi)).tanh; chain = chain + Freq ...