Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (241) Code (11) Doc (45) Help (24) Quark (161) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

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

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

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

  5. 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/" ...

  6. ParaSpace Quark

    ... .sin*120)+130, false ); // false }); 0.1.wait; a.refresh; // Updating GUI }) }, SystemClock ); t.start; ) t.stop; ///////////// example 4 SynthDef ( \sin , { arg freq, amp=1; Out .ar(0, SinOsc .ar( Lag3 .kr(freq, 0.1), 0, amp)!2); }).add; ( ...

  7. AnalyseEventsDatabase Quark

    ... tinuously, just getting event positions //eventtimes.add(starttime-lastTime); //SystemClock.sched(1.0-eventlength,{Synth(\bleep); (starttime-lastTime).postln; nil}); //Post << [\newevent,array,\length, eventlength, \starttime, starttime, \l ...

  8. OSCSched Quark

    ... Func,nextAbsList; *new { arg clock,tempo,tempoClock; ^super.newCopyArgs(clock ? SystemClock, tempo = tempo ?? {Tempo.default}, tempoClock ?? {TempoClock(tempo.tempo).permanent_(true)}).init } *initClass { Class.initClassTree(Tempo); global ...

  9. OSCSched Quark

    ... c, nextAbsList; *new { arg clock, tempo, tempoClock; ^super.newCopyArgs(clock ? SystemClock, tempo = tempo ?? {Tempo.default}, tempoClock ?? {TempoClock(tempo.tempo).permanent_(true)}).init } *initClass { Class.initClassTree(Tempo); global ...

  10. TheBFMixer Quark

    ... [\n_free, 1000 + j], [\b_close, j]); }, {nil}); texttask.stop; texttask.reset; SystemClock.clear; }}; playrout = Routine({ (playfunc.value).yield; (stopfunc.value).yieldAndReset; }); writefunc = { var start, dur, amp, mute, globstart, offs ...

prev 11 12 13 14 15 16 17 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow