Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Addr.sendMsg('/chatGetMessages', userId, messageSerial); }); }, dt: 0.5, clock: SystemClock, autostart: false); signInCompleteFunc = OSCFunc.new({ |msg| userId = msg[1]; netAddr.sendMsg('/chatGetAllClients'); }, path: '/chatSignInComplete', ...

  2. SCLOrkWire Quark

    ... y retries, call the failure function. onFail.value; nextTime = nil; nil; }); }; SystemClock.schedAbs(nextTime, retryFunction); } cmdPeriod { if (nextTime.notNil, { SystemClock.schedAbs(nextTime, retryFunction); }); } isIdle { ^(nextTime.isN ...

  3. plusServer-uView Quark

    ... ope } {char == $d} { if(this.isLocal or: { this.inProcess }) { stillRunning = { SystemClock.sched(0.2, { this.stopAliveThread }); }; startDump = { this.dumpOSC(1); this.stopAliveThread; dumping = true; CmdPeriod.add(stillRunning); }; stopDu ...

  4. SETOJuggling Quark

    ... t; *new {|format, id| ^super.new(format, id).initClub } initClub { lastTStamp = SystemClock.seconds; lastSymAxis = [0,0,1]; fHist = [0,0,0]; lastPoleOut = 0; } curvature {|ins| ^( ins[0] - (2*ins[1]) + ins[2] ) } onePole {|coef, in| ^(lastP ...

  5. BufferQueryQueue Quark

    ... ", buffer.bufnum]); // check for failure -- if failure, continue with next file SystemClock.schedAbs(Main.elapsedTime + (timeout ?? { timeToFail }), { // this is a valid test b/c readAndQuery doesn't have a sampleRate arg buffer.sampleRate. ...

  6. mixer-reverb-init Quark

    ... eueBundle({ NotificationCenter.notify(\lcInstrMixers, \mixersReady); }); }.fork(SystemClock); // init once only ServerTree.remove(initMixers, Server.default); }; if(Server.default.serverRunning) { initMixers.value; } { ServerTree.add(initMi ...

  7. CtkControl Quark

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

  8. BufferQueryQueue Quark

    ... ", buffer.bufnum]); // check for failure -- if failure, continue with next file SystemClock.schedAbs(Main.elapsedTime + (timeout ?? { timeToFail }), { // this is a valid test b/c readAndQuery doesn't have a sampleRate arg // why check bufnu ...

  9. AudioMulchClock Quark

    ... delta; //("doSched tickdur: "++tickdur++" ofs: "++ofs++" tick: "++tick).postln; SystemClock.sched(ofs * tickdur, { delta = item.awake(tick.asFloat, Main.elapsedTime, this); if(delta.isNumber, { this.sched(delta+(ofs/24), item); }); nil; }); ...

  10. AddEventTypes_PbindFx Quark

    ... ~cleanupDt ?? { PbindFx.defaultCleanupDt }; ~cleanupClock = ~cleanupClock ?? { SystemClock }; ~freePerGroup = ~freePerGroup ?? { false }; cleanupClockTempo = (~cleanupClock === SystemClock).if { 1 }{ ~cleanupClock.tempo }; zeroSynthOverlap ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow