-
... 0, startPos=0, rate = 1, t_trig=0 | // // DiskIn.ar(1, bufnum, loop = loop); // PlayBuf.ar(1, bufnum, rate, t_trig, startPos, loop); // }; // /* Audio plugin definition Each audio plugin should define the following global variables: ~name: ...
-
... eColor= Color.grey(o.mass/4); Pen.strokeRect(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... ion. Add actions By specifying an addAction argument for Synth.new (or SynthDef.play, Function.play, etc.) one can specify the node's placement relative to a target. The target might be a group node, another synth node, or a server. As note ...
-
... ment of the Library is the unit ( U ) and corresponding unit def ( Udef ), that play a similar role to Synth and SynthDef . Udef Udef Represents a synthesis defintion. It holds: A synth graph func (from which the synthdef is generated) A na ...
-
... ); env = EnvGen .ar( Env .asr(att, 1, rel), gate, doneAction: 2); Out .ar(out, Splay .ar(sig) * env) }).add ) // Note that SynthDef \array_1a uses the array arg's size (8) at two further places (arrays (1..8)). // As a literal Array, by its ...
-
... t*u, u+t), WhiteNoise.ar()*2000 + 1000), 20); sig2 = sig2*sig; sig = 0.3*Splay.ar(Limiter.ar(Greyhole.ar(sig + sig2, sig, 0.5, sig), 0.5).flatten); }).play; }); )
-
... Pen.strokeColor= Color.white; Pen.strokeRect(Rect.aboutRedObject2D(obj)); }; w.play; CmdPeriod.doOnce({w.close}); )
-
... lor.grey(1, 0.4); sys.do{|o, i| Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )
-
... ct.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; a= world.objects; }; w.play; CmdPeriod.doOnce({w.close}); ) /* //manual control a[0].addForceAngular2D(-10) a[1].addForceAngular2D(10) a[2].addForceAngular2D(-10) a.last.addForceAngul ...
-
... ject2D(o)); }; //Pen.strokeRect(Rect.aboutRedVector2D(~win.mouse, 10)); }; ~win.play; CmdPeriod.doOnce({~win.close}); ) //--swapping in new object a= RedObject(~world, RedVector2D[100, 100], 0, 0, 1.5, 10) b= RedObject(~world, RedVector2D[2 ...