Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. sndBufferHOA Quark

    ... 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: ...

  2. 003-multiple_wind Quark

    ... eColor= Color.grey(o.mass/4); Pen.strokeRect(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  3. Order-of-execution Doc

    ... 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 ...

  4. Unit-Lib Doc

    ... 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 ...

  5. Event patterns and array args Quark

    ... ); 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 ...

  6. Locked In by 56228375 (56228375) Code

    ... 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; }); )

  7. 021-superfriction Doc

    ... Pen.strokeColor= Color.white; Pen.strokeRect(Rect.aboutRedObject2D(obj)); }; w.play; CmdPeriod.doOnce({w.close}); )

  8. 030-wave Doc

    ... lor.grey(1, 0.4); sys.do{|o, i| Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  9. 048-pendulums-linked Doc

    ... 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 ...

  10. 090-livecoding Doc

    ... 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 ...

prev 331 332 333 334 335 336 337 338 339 340 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow