Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... d rare "late" complaints: // default latency is 0.2 secs, which feels slow when playing; // less than 0.03 may introduce many late messages from server. // latency nil means do things immediately, but will compromise timing: // it quantizes ...

  2. OFX_Chain Quark

    ... c.parent = this.class.getSpec; } // TODO: handle case where slots are currently playing! // for every slotsInUse, compare old vs new slots: // if active slot stays at its index, leave it running // if not, remove it at old index // and if i ...

  3. IrDef Quark

    ... ++ "_Flu.wav file in" + 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 ...

  4. README Quark

    ... idinote, Prand((60,60.5..80), inf), \dur, Prand([0.125, 0.25, 0.5], inf) ); //p.play; f = Fomus(p.asStream, 30); f.fileName = "~/SCFomus_"; // complete file path f.ly; f.midi; f.xml; ) ``` ![](https://cdn.rawgit.com/smoge/superfomus/master/ ...

  5. 5b_RandomOrbit_switcher Quark

    ... .bits[index] = value; // use Tdef to unschedule if already NTMI.ro.endTask.stop.play; }; NTMI.ro.endTask = TaskProxy({ NTMI.ro.chordTime.wait; NTMI.bin.randOrb(NTMI.ro.num); NTMI.ro.lastval = if (NTMI.ro.num == 0, NTMI.ro.firstval, NTMI.ro. ...

  6. allArm_ORIG Quark

    ... ; Ndef(\allArm).end }; Ndef(\allArm); /* tests Ndef(\allArm).gui; Ndef(\allArm).play; Ndef(\allArm).vol_(0.1); Ndef(\allArm).set(\filtfreq, 200); Ndef(\allArm).set(\topfreq, 200); Ndef(\allArm).set(\divefreq, 1); */ /* old gamepad mapping, ...

  7. 2_flatcat2_gui Quark

    ... im, nil, Color.green]]) .action_({ |b| var t = Tdef(\flatcatSim); var pls = t.isPlaying; if (pls) { t.stop } { t.play }; b.value = pls.not.binaryValue }); Button(butzone, Rect(240, 2, 80, 20)) .states_([[\flatcatViz, nil, Color.grey(0.85)]] ...

  8. SensorControl Quark

    ... urnAction = onAction; }); },{ // turning off if ( turn == 0, { turningoff.reset.play; if ( onoffAction.notNil, { returnAction = onoffAction; } ); }); }); }); if ( returnAction.isNil, { returnAction = defaultRetAction; } ); returnAction.valu ...

  9. Renderer Quark

    ... ndBundle { arg time, bundle; this.performList(\sendBundle, [time] ++ bundle); } play { arg task; // quant to do.. var delta=0, beats=0; while { delta.notNil and: { beats.notNil } and: { beats <= lifeTime } } { delta = task.value(this); beat ...

  10. 174-springs_interconnected Quark

    ... ; //--render objects Pen.addOval(Rect.aboutRedObject2D(obj)); }; Pen.fill; }; w.play; CmdPeriod.doOnce({w.close}); } )

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow