Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. Boids2D Quark

    ... s; // sum the position velSum = velSum + thisBoid.vel; // sum the velocities // loop again boidList.do{|thatBoid, j| var dist; // don't check for boids that are the exact same object if ((thisBoid === thatBoid).not) { // get the distances t ...

  2. used-parameters Quark

    ... synthdefs directly if necessary s n sound begin end length accelerate cps unit loop delta legato sustain amp gain channel pan note freq midinote octave latency lag offset cut orbit cycle // core, dirt public // you should use this in your ...

  3. osc_multioutput_example Quark

    ... 1 ).value_( 0.25 ); m.elementAt( \led, 1 ).value_( 1 ); ( Tdef( \autoaction, { loop{ m.elementAt( \motor ).value_( 1.0.rand ); 1.0.wait; m.elementAt( \led, 0 ).value_( 1.0.rand ); 1.0.wait; m.elementAt( \led, 1 ).value_( 1.0.rand ); 1.0.wa ...

  4. Ptafsiran Quark

    ... ize; //"dropSize: %\n".postf(maxKeySize); list = Array.new(maxContextSize * 2); loop { // fill up the list dropSize.do { outval = stream.next(inval); outval !? { list = list.add(outval) }; // overridden in subclass. does nothing here: inval ...

  5. NTMI_flatc_8ch Quark

    ... er ({ Tdef(\flatcatSim).stop.play }, 1); // stop this tdef from unintended self-looping (happens sometimes) Tdef(\allLEDs).clear; // NetLib quark has this: NetAddr.myIP // nUFO NTMI network address is: "169.254.1.2" // close nUFO device whe ...

  6. TestFB Quark

    ... ) c.ct = 3; a.ct = 5 c.replace({\in.ar(0).range(-30, rrand(10, 10))}); ( fork { loop { c.replace({\in.ar(0).range(-30, rrand(10, 100))}); 3.wait; } } ) b.ct_(1).replace({SinOsc.ar(1 + \fm.ar(0))}) a.replace({SinOsc.ar(1 + \fm.ar(0))}) b.rep ...

  7. painter Quark

    ... wiring.removeAt(wiring.indexOfEqual([v, e[0]] )) ; // stolen from graphista // loop if (v == e[0], { i = 10+(i*10) ; labelList = labelList.add( // edge labels GUI .staticText.new // 20 is empirical (w, Rect.new(tx-(i*0.5)-large, ty-(i*0.5) ...

  8. 175-springs_interconnected2 Quark

    ... and(300)); }); }.select{|x| x.notNil}; }.flat; syns= {Synth(\imp2)}.dup(n); //--loop w.draw{ //--render Pen.smoothing= true; Pen.strokeColor= Color.white; sprs.do{|spr| spr.update; //--render springs Pen.moveTo(spr.object.loc.asPoint); Pen. ...

  9. nanoKtl1 Quark

    ... Vol transport buttons: nk1: rew, play, fwd: rand, prev, next influx preset nk1: loop, stop, rec: rand, prev, next MainFX preset ***********/ /* // flexify name in order to build multiple MKtls with this file: // TEST: m.gui */ // Use makeMK ...

  10. IrDef Quark

    ... + ir.pathOnly ++ "Flu").postln; { BufWr.ar(FoaDecode.ar( PlayBuf.ar(4, bufWXYZ, loop: 0, doneAction: 2), MoscaUtils.b2a()), bufAformat, Phasor.ar(0, BufRateScale.kr(bufAformat), 0, BufFrames.kr(bufAformat))); Out.ar(0, Silent.ar); }.play(se ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow