Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

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

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

  3. MBM Quark

    ... M. The MRS supplies the name of the new buffer. MRS ( \newTune ) => MBM (0); // play MIDI notes on keyboard -- use the MIDI channel specified when creating the MIDIBufManager MBM (0).stopRecord; MBM (0)[ \newTune ].dumpSeq;

  4. 021-superfriction Quark

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

  5. 030-wave Quark

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

  6. 048-pendulums-linked Quark

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

  7. 090-livecoding Quark

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

  8. MBM Quark

    ... M. The MRS supplies the name of the new buffer. MRS ( \newTune ) => MBM (0); // play MIDI notes on keyboard -- use the MIDI channel specified when creating the MIDIBufManager MBM (0).stopRecord; MBM (0)[ \newTune ].dumpSeq;

  9. SWMiniBee Quark

    ... ction = {}; } startSend{ if ( outTask.isNil ){ this.createOutputTask }; outTask.play; } stopSend{ outTask.stop; } createOutputTask{ outTask = Tdef( \miniHiveOut, { var msg; loop{ outMessages.copy.do{ |it,i| it.postln; xbee.sendMsgNoID( it[1 ...

  10. PingPongT Quark

    ... ,2500), 0.2) ]); PingPongT .ar(b.bufnum, input, 0.5, 0.8,0.1,1, Tempo .tempo) }.play ) bug: the tempo and beats aren't changing ? ( b = Buffer .alloc(s,44100,2); Patch ({ arg bufnum=0, tempo=1.0,beats=0.5,feedback=0.8,wobble=0.1; var input; ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow