-
... buf_([~b1, ~b2, ~b3].wrapAt(i)); 0.1.wait\;\ \);\ \ //cycle through buffers and randomise playback rate \ (\ fork\\ 20.do\ |i| \ r.buf_([~b1, ~b2, ~b3].wrapAt(i));\ r.rate_(2.0.rand2);\ 0.1.wait;\ \\ \);\ \ //now for something completely di ...
-
... didactic first example, single param remapped by envelope q = q ? (); // simple random envelope: goes from -1 left, 0 center, 1 right, // random breakpoints in between q.makeEnv = { |q, numSteps = 8| var numTimes = numSteps.max(2).round(2). ...
-
... 0.5); //dim,grav,maxvel,damp //--objects objs= { var loc= RedVector2D[250, 10].rand; //initial xy location var vel= RedVector2D[3.5, 0].rand; //initial velocity var acc= RedVector2D[0, 0]; //initial acceleration RedObject(world, loc, vel, ...
-
... 0.5); //dim,grav,maxvel,damp //--objects objs= { var loc= RedVector2D[250, 10].rand; //initial xy location var vel= RedVector2D[3.5, 0].rand; //initial velocity var acc= RedVector2D[0, 0]; //initial acceleration RedObject(world, loc, vel, ...
-
... ay(0.5, 0.5); /*10.do{|i| e.tServer.setWithFormat("ixya", i, [0, i/10, 0.5, 2pi.rand])}; e.tServer.alive((0..9)) */ ) ( var num = 20, w; num.do{ |i| w = 2pi * (i/(num)); e.tServer.setWithFormat( "ixya" , i, [0, (sin(w)+1*0.4+0.1), (cos(w)+1 ...
-
... rr( \bebe ); Tdef(\a).envir z.setTarg( \ada ); Tdef(\a).envir ( // morphing and randomizing settings require specs to exist! Spec.add(\plong, [0, 100]); Spec.add(\dt, [0.01, 100, \exp]); w = Window("TdefPreset test", Rect(20, 300, 420, 400) ...
-
... | if(argstageRect == nil, { stageRect = argpoint; point = Point(stageRect.width.rand, stageRect.height.rand); },{ stageRect = argstageRect; point = argpoint; }); drawer = argdrawer; alpha = 0.5; fillcolor = Color.rand.alpha_(alpha); strokec ...
-
... e=0, loopnode=0, formfact=2, widfact=0.5, spread=1| var env = EnvGen.kr( Env( { Rand(-1,1.0) }!11, { Rand(0, 1.0)}!10 * timescale, curve, releaseNode: 9, loopNode: loopnode) ); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; Spla ...
-
... ugen as audio oscillator ( { var a, trig, n = 5, m = 64; a = { var x; x = { 0.2.rand2 } ! m; x = x ++ ({ Drand({ 0.2.rand2 } ! n) } ! m.rand); Dseq(x.scramble, inf) } ! n; trig = TDuty.ar( MouseX.kr(1, 2048, 1) * SampleDur.ir * [1, 1.02], 0 ...
-
... s Instance methods labels values selectedIndex init pueinit value selectByIndex rand guiClass Inherited instance methods Classes (extension) | Libraries > crucial'>crucial > crucial>Editors'>Editors PopUpEditor Extension selects from an int ...