Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (561) Code (137) Doc (157) Help (43) Quark (224) SCDoc ↗ Forum ↗ Google ↗
  1. TempoClock-isRunning Quark

    + TempoClock { // stop { // all.take(this); // this.dependants.do({ arg d; d.remove }); // this line is added // this.prStop; // } // // tempo_ { arg newTempo; // this.setTempoAtBeat(newTempo, this.beats); // this.changed(\tempo); // this l ...

  2. TempoClockPriority Quark

    ( a = TempoClock.default; a.algaTempoClockSchedAtQuant(1, {"me first".postln; a.seconds.postln;}); a.algaSchedAtQuantOnceWithTopPriority(1, {"no, me first".postln; a.seconds.postln;}); a.algaSchedAtQuantOnceWithTopPriority(1, {"nono, me fir ...

  3. debug-TempoClock-dumpQueue Quark

    + TempoClock { // for debugging purposes // this will generate A LOT of information! dumpQueue { queue.clump(2).do({ |pair| ("\n" ++ pair[0]).postln; pair[1].dumpFromQueue; }); } } + Function { dumpFromQueue { ("Arguments: " ++ this.def.arg ...

  4. debug-TempoClock-dumpQueue Quark

    + TempoClock { // for debugging purposes // this will generate A LOT of information! dumpQueue { queue.clump(3).do({ |pair| // ("\n" ++ pair[0]).postln; "\n%, priority %\n".postf(pair[1], pair[0]); pair[2].dumpFromQueue; }); } } + Function ...

  5. TimeSpecs Quark

    ... { var <>quant, <>clock; *new { arg quant; ^super.prNew.quant_(quant ? 1).clock_(TempoClock.default) } applyLatency { ^this } nextTimeOnGrid { |argClock| (quant >= (argClock ? clock).beats).if({ ^quant }, { // invalid after given time has pa ...

  6. TelepathicClock Quark

    ... beats = beats ? clockBeats; tempo = tempo ? clock.tempo; clock.stop; }; clock = TempoClock.new(tempo, beats).permanent_(true) } permanent { ^true } } TelepathicReferenceClock : ReferenceClock { var <>name; var responder; classvar <cmd = \re ...

  7. README Quark

    ... c) 2007-2009 Tom Hall GPLv3, http://gnu.org/copyleft/ // Changes log 2011-03-24 TempoClock.default used if no tempoClock supplied Updated Helpfile 2009-01-22 Changed priority structure from priority 12 to priority 0 always plays. Updated He ...

  8. NMLClock Quark

    ... rBeat + phase } } ConductorClock { var addrBook, latency, granularity, oscPath, tempoClock; *new { |addrBook, latency = 0.05, granularity = 0.01, oscPath = '/conductorClockTick', tempo, beats, seconds, queueSize=256| ^super.newCopyArgs(addr ...

  9. ServerClock Quark

    ... eat+1; lastBeatTime= Main.elapsedTime; lastTempo= msg[3]; //lastTempo.postln; //tempoclock.tempo_(msg[3]); //schedule this.tick; }); }).add; } getMaterial { providers.do({arg array; var list, provider; provider=array[0]; //need next beat, a ...

  10. MIDIClock Quark

    ... t { var <>sched,<>port,click,<isPlaying = false; *new { arg deviceName,portName,tempoClock; var port; if(deviceName.notNil and: portName.notNil,{ port = MIDIOut.newByName(deviceName,portName); },{ port = MIDIOut.new(0,MIDIClient.destination ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow