Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... var event; //Post << "schedstart" << Main.elapsedTime << nl; if(list.notEmpty,{ SystemClock.sched(0.0,{ var item; if((lastref.value) && (alive.value), { item=list[listcount]; if( item.notNil,{ //Post << ["sched ", listcount,item, Main.elaps ...

  2. CtLoop Quark

    ... , (start + length.abs * listSize).round.asInteger - 1 ); }; }); }); task.clock_(SystemClock).quant_(0); } recordEvent { arg ctlID, val; var now, delta, event; if (isRecording) { now = thisThread.seconds; delta = now - (then ? now); then = n ...

  3. SCDrawServer Quark

    ... lRect(bounds); }); func.value(perc, ndict); }; { view.refresh; }.defer; } run { SystemClock.sched(0.0, { if(active == true, { view.drawFunc = { var removeThese = Array.new(); if(clear == 1, { Pen.fillColor = bgcolor; Pen.fillRect(bounds); c ...

  4. extServerGui Quark

    ... r == $d } { // if(this.isLocal or: { this.inProcess }) { // stillRunning = { // SystemClock.sched(0.2, { this.stopAliveThread }); // }; // startDump = { // this.dumpOSC(1); // this.stopAliveThread; // dumping = true; // w.name = "dumping os ...

  5. GMTapTempo Doc

    ... registered in two formats: Date format: Date().hourStamp Time since SC started: SystemClock.seconds Those two timestamps are concatenated inside an array, and stored within a 'time list', which is passed to the action function every time it ...

  6. Cactus Quark

    ... is.returnCoreOptions; this.templateManager.runTemplate( templateName, options); SystemClock.sched(1, {this.restart}); } runModule { arg name, args, options; ^modules.run(name, args, options); } browseModules { modules.browseLocal; } clearBu ...

  7. Core_z354_shim Quark

    ... gister(~f2aLoopResidualV354) }; } { ~f2aLoopResidualV354 = nil; }; cycleStart = SystemClock.seconds; ~f2aLoopStartTimeV354 = cycleStart; // ── Während der Zyklus spielt: Playhead treiben UND auf Edits // reagieren. Bei Änderung SOFORT neu b ...

  8. play Doc

    ... k ( r = Routine.new({ "...playing".postln; 1.wait; "ok, that was it".postln }); SystemClock.play(r); ) ⧉ ✔ See Clock: *play routine.play (clock) returns: the routine Routine.new({ "...playing".postln; 1.wait; "ok, that was it".postln }).pla ...

  9. SatieIntrospection Quark

    ... ').oneShot; context.config.server.sendMsg("/g_queryTree", 0, true.binaryValue); SystemClock.sched(3, { if(done.not) { resp.free; "Server failed to respond to the information query!".warn; }; }); ^ret; } getAllSynths { | returnFunction | var ...

  10. EventStreamPlayer2 Quark

    ... keep++cache; //sort toschedule into order, and prepare as deltas for sequential SystemClock scheduling toschedule= toschedule.sort({arg a,b; a[0]<b[0]}); //into delta times toschedule.do({arg val,i; if(i<(toschedule.size-1),{ val[0]=(tosche ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow