-
... ght*0.4, width, 40); //area with viscosity vv= -0.13; //amount of viscosity //--loop w.draw{ if(visc.containsPoint(obj.loc.asPoint), { obj.addForce(obj.viscosityForce(vv)); }); obj.update; world.contain(obj); //--render Pen.fillColor= Color ...
-
... r(Env(#[0, 1, 0], #[0.5, 0.5], \sin), timeScale: b.duration, doneAction: 2), b, loop: 0); 0 }.play; OSCpathResponder(s.addr, ['/n_end', a.nodeID], { |time, resp, msg| resp.remove; c.unhang; }).add; c.hang; a = { ...
-
... ,20,8), 0, 0.1) }); // modulate index ( e = Env .linen(2, 5, 2); Routine .run({ loop({ play({ LinPan2 .ar( EnvGen .ar(e) * PMOsc .ar(2000.0.rand,800.0.rand, Line .kr(0.0, 12.0.rand,9),0,0.1), 1.0.rand2)}); 2.wait; }) }))
-
... _____________________________ //BUF1 ( {Splay.ar(PlayBuf.ar(1, ~buf1, 1, loop: 1))}.play; {Splay.ar(PlayBuf.ar(1, ~buf1, 0.75, 0, 0, 1,))}.play; {Splay.ar(PlayBuf.ar(1, ~buf1, 0.625, 0, 0, 1,))}.play; {Splay.ar(PlayBuf.ar(1, ~buf1 ...
-
... nd( \midinote, Prout({ var tone0, tone1, tone2, interval, freq0, delta; loop { tone0 = rrand(0,11); interval = rrand(2,4); tone1 = Scale.minor(\pythagorean).at(tone0) + [0,12,24].choose + 0.07; tone2 = Scale.minor(\p ...
-
... [60, 61, 63, 65, 72], [10, 2, 3, 1, 3].normalizeSum, inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , a.next.midicps]); 0.1.wait; }) }).play; )
-
... dy on the server ~a = Pbind ( \instrument , name, \freq , ...); ~a = Routine ({ loop({ s.sendMsg( "/s_new" , name, ...)}) }); ~a.refresh; ~a.wakeUp; // waking up a stopped proxy does not require a resend these resend the synth with new prop ...
-
... es, <library, <localEffect, <localAmount, <localDelay, <localDecay; var <play, <loop, <level, <contraction, <airAbsorption, <doppler, <globalAmount, <ox; var <reach; var <angle, <rotation, <extraParams; // input specific parameters var <jos ...
-
... , RedVector2D[1, 1], mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ world.objects.do{|o, i| world.objects.do{|oo, j| if(i!=j, { o.addForce(o.gravityForce(oo)); if(o.loc.distance(oo.loc)<(o.size*2), { o.addForce(o.gr ...
-
... var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT(LocalBuf(2048) , in); chain = PV_MagNoise (chain); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0, \soundBufnum , c]); ) c.fre ...