Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... r process ~master = ConductorClock(~addrBook); ~slave1.sched(1, {\foo.postln}); SystemClock.sched(1, {\bar.postln}); a = Pbind(\degree, Pseq((1..4), inf)).play(~slave1, quant: 1); b = Pbind(\degree, Pseq((5..8), inf)).play(~slave2, quant: 1 ...

  2. SS_SCMIR Quark

    ... ; 0.wait; inf.do{("waiting"++time+"s").postln; time = time+1; 0.1.wait;} }.fork(SystemClock); pipe = Pipe(command, "r"); line = pipe.getLine; //"Pipe here".postln; // get the first line while({line.notNil}, {line.postln; line = pipe.getLine ...

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

  4. UScore Quark

    ... get the current pos when the update task is not running startedAt = [ startPos, SystemClock.seconds ]; //this is for prepareWaitAndStart preparePos = if(needsPrepare){ preparePos.min(startPos) }{ startPos }; deltaToStart = startPos - prepar ...

  5. SmoothRangeSlider Quark

    ... it doesn't need a deferred function to get or set its value when called from a SystemClock thread or OSC/MIDI responder. And when the action is called (via valueAction or doAction) it is done immediately instead of with the AppClock delay ...

  6. Participation Quark

    ... ng new clock (%, %) ... in % seconds\n" .postf(tempo, beats, dt.round(0.0001)); SystemClock.sched(dt, { setClockAction.(TempoClock.default); "new clock is running.".postln; nil }); } { "Synchronization failed. Please try again.".warn; } }); ...

  7. helper-funcs Quark

    ... }; } { "Directory '%' is not empty; not recording".format(path).warn; }; }.fork(SystemClock); } => Func(\syncRecord); { MixerChannel.servers.do { |mixers| mixers.do { |mixer| if(mixer.isRecording) { mixer.stopRecord }; }; }; } => Func(\stop ...

  8. AbstractPlayer Quark

    ... nth.isPlaying,{ bundle.add(synth.releaseMsg(releaseTime)); bundle.addFunction({ SystemClock.sched(releaseTime+0.1,{ this.stop; nil; }) }); },{ this.stopToBundle(bundle) }) } free { arg atTime; if([\isFreed,\isFreeing].includes(status).not,{ ...

  9. AbstractPlayer Quark

    ... th.isPlaying, { bundle.add(synth.releaseMsg(releaseTime)); bundle.addFunction({ SystemClock.sched(releaseTime+0.1, { this.stop; nil; }) }); }, { this.stopToBundle(bundle) }) } free { arg atTime; if([\isFreed, \isFreeing].includes(status).no ...

  10. XiiSoundSculptor Quark

    ... esetclock should be defined above and killed on win.close pos = 0; resetclock = SystemClock.sched(soundDur*pitch.reciprocal, { pos = 0; { sndfileview.timeCursorPosition_(0); }.defer; timeCursorTask.reset; timeCursorTask.stop; nil}); inf.do( ...

prev 11 12 13 14 15 16 17 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow