Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... (name, end, true, false); nil.yield // stop }); // previously used routine.play(SystemClock) // but this was bad when controlLine was called from another clock // this is the proper way: schedule for 'now' on sysclock SystemClock.sched(0, l ...

  2. MixerChannel4-order Quark

    ... (name, end, true, false); nil.yield // stop }); // previously used routine.play(SystemClock) // but this was bad when controlLine was called from another clock // this is the proper way: schedule for 'now' on sysclock SystemClock.sched(0, l ...

  3. SCDraw Quark

    ... bounds).background_(color).clearOnRefresh_(false); win.view.background_(color); SystemClock.sched(0.0, { if(frame < lastFrame, { while { (index < (score.size-1)) && (frame == score[index][0]) } { queue = queue.add([ 0, score[index][1] - sco ...

  4. OSCRouterClient Quark

    ... is.postAt(1, "5 attempts to reconnect failed, giving up!"); }; } } enablePing { SystemClock.sched(3.0, { hasJoined.if({ this.sendMsg("/oscrouter/ping", userName); 3.0; }, { nil; }); }); } cmdPeriod { this.enablePing; } confirmJoin { peerWat ...

  5. ServerLog Quark

    ... x.add( [x.last[0] + 5.0, [\c_set, 0, 0]] ); Score(x).saveToFile(path); //,path,SystemClock); callback.value(path); }) } *cmdString { |cmd| if(cmd.asInteger != 0,{ cmd = cmd.asInteger; }); ^cmd.switch( 11, { "/n_free" }, 12, {"/n_run"}, 14, ...

  6. SCLOrkClock Quark

    ... e.topPriority; if (nextBeat.notNil, { var nextTime = this.beats2secs(nextBeat); SystemClock.schedAbs(nextTime, { this.prAdvanceState }); }); } prAdvanceState { var sec = Main.elapsedTime; var topBeat; while ({ topBeat = stateQueue.topPriori ...

  7. jitlib_efficiency Doc

    ... mix.fadeTime = dt; ~mix.read([~s1, ~s2, ~s3].choose); dt.wait; }); }); ) t.play(SystemClock); // change the sources meanwhile: ~s1 = { Blip.ar(105, 100, 0.2) }; ~s2 = { SinOsc.ar(350, 0, 0.1) }; ~s3 = { Pulse.ar(60, 0.2, 0.1) }; ~freq = { M ...

  8. WarpCutProc1 Doc

    ... er.at(0).lastval).play; bbcutter.play(clock); //update tempo ten times a second SystemClock.sched(0.0,{clock.tempoclock.tempo_(slider.at(0).lastval); 0.1}); }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/BBCut/HelpSource/Classes/WarpCutProc1.sc ...

  9. CtkControl Doc

    ... ime = env.releaseTime; dur = 10; // schedule the release of the global envelope SystemClock.sched(dur - reltime, { group.release; }); // schedule the release of the Task SystemClock.sched(dur, { group.freeAll; task.stop; }); loop({ pnotes[\ ...

  10. CallWindow Quark

    ... == 524288, { keyFunc.(13); }, { keyFunc.(keycode); }); }); if(recordHistory, { SystemClock.sched(0.0, {arg time; this.writeHistory(\keyDownAction, time, key); nil; }); }); }); //add from file rootDir = (filesPath +/+ "Settings/CallWindow/" ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow