Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (241) Code (11) Doc (45) Help (24) Quark (161) SCDoc ↗ Forum ↗ Google ↗
  1. JITseto Quark

    ... ///// q = q ? (); ( q.lastSymAxis = [0, 0, 1]; q.symAxis = [1, 0, 0]; q.ltime = SystemClock.seconds; JITseto .action = { |setObj| ( setObj .id == 1).if{ var time = SystemClock.seconds; var flipAngleVel; // symmetric axis is determined as z ...

  2. Supercollider to Renoise by gmontel (g_montel) Code

    ... isThread.clock.tempo.reciprocal*(note[3]+note[5]))+note[4]+server.latency; SystemClock.sched(timeNoteOn, {renoiseOscServer.sendMsg("/renoise/trigger/note_on", instrument.asInt, track.asInt, (note[0]+note[1]).asInt, velocity )}); S ...

  3. Trig1 Doc

    ... 0.05, ["s_new", "trig1", -1, 0, 0, 0, rrand(0.02, 0.25)]); 0.25.wait }) }).play(SystemClock) ) This should sound like a continuous sine wave, although it is actually a series of 0.25 second synths. ( SynthDef("trig1", { var gate; gate = Tri ...

  4. MixedBundleTester Quark

    ... latency; latency = latency ?? { server.latency }; super.prSend(server,latency); SystemClock.sched(latency,{ bundlesSent = bundlesSent.add( this ); }) } clumpedSendNow { arg server; if(messages.notNil,{ messages.clump(10).do({ arg bundle,i; ...

  5. Scheduler Doc

    ... anually. In most cases you will probably want to use a Clock (e.g. TempoClock , SystemClock , AppClock ) instead, in which the march of time is handled for you. Class Methods Scheduler. new ( clock , drift: false , recursive: true ) Argumen ...

  6. wrapCXForNodeProxy Quark

    ... aseToBundle(releaseTime, bundle); if(releaseTime > 0.01, { bundle.addFunction({ SystemClock.sched(releaseTime + 0.1, { this.free; nil; }) }); }); } } +Instr { proxyControlClass { ^CXSynthPlayerControl } wrapInFader { arg bus; ^Patch(this.na ...

  7. wrapCXForNodeProxy Quark

    ... aseToBundle(releaseTime, bundle); if(releaseTime > 0.01, { bundle.addFunction({ SystemClock.sched(releaseTime + 0.1, { this.free; nil; }) }); }); } } +Instr { proxyControlClass { ^CXSynthPlayerControl } wrapInFader { arg bus; ^Patch(this.na ...

  8. extWhenTrue Quark

    ... : { remaining >= 0 } } { dt.wait; }; if (this.value, thenFunc, elseFunc) }.play(SystemClock) } }

  9. SELFSTEP by ether (Alexander Zhagun-Linnik) Code

    ... degree, Pbrown(0, 12, Prand([1, 2, 3], inf)), \octave, 4, \res, Pfunc({(SystemClock.seconds*0.03).sin.abs}) ), Pbind( \instrument, \pls, \dur, Prand([time/2, time, time/4, time/8], inf), \scale, scale, \degree, ...

  10. SpeedLim Quark

    ... e = \idle; var lastOutTime = 0, lastInTime = 0; *new { |time = 0, action, clock(SystemClock)| ^super.newCopyArgs(time, action, nil, clock) } value { |... invals| value = invals; lastInTime = clock.seconds; if(state == \idle) { // sched(0) h ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow