Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (714) Code (40) Doc (222) Help (57) Quark (395) SCDoc ↗ Forum ↗ Google ↗
  1. AlgaPatternPlayer Quark

    ... ar algaPatterns = algaPatternPlayer.algaPatterns; var beats = algaPatternPlayer.clock.beats; //scheduledStepActionsPre algaPatternPlayer.advanceAndConsumeScheduledStepActions(false); //Advance entries and results' pointers if(algaPatternPla ...

  2. Clock Difference by codepool (codepool) Code

    ... wo different machines, it is necessary to know the difference between their two clocks and compensate for this in the time argument of sendMsg or sendBundle. Here is one method of finding this difference. These classes must be compiled i ...

  3. ExternalClock Quark

    ... l Public License full notice in file BBCutLibrary.help //represents an External Clock ticking away, base class, wrapper for a TempoClock //each provider has an associated Reference with an on flag, which is set to false by the provider //to ...

  4. PG_06a_Repetition_Contraint_Patterns Doc

    ... // total duration = infinite \time, Pfunc { startTime = startTime ? (thisThread.clock.beats.debug("time")) } ), 1, 4) ++ Pfuncn({ thisThread.clock.beats.debug("finish time"); (thisThread.clock.beats - startTime).debug("elapsed"); nil }, 1)) ...

  5. NPdef Quark

    ... eqs = ~freq; ~amp = ~amp.value; bndl = proxy.controlKeys.envirPairs; thisThread.clock.sched(~lag + ~timingOffset, { // [proxy.dump, bndl].postln; proxy.set( *bndl ); }); }; }; ); } *new{ |proxy,src, key| var pat,res; key = key ?? { proxy.ke ...

  6. TempoClockGui Quark

    TempoClockGui : ObjectGui { // displays current status of a tempoclock; updates every beat classvar namewidth = 100, nameheight = 18, numheight = 40, numwidth = 70, height = 50, width = 600, spec; var <w, <name, <namev, <bars, <beats, updat ...

  7. ScGrids Doc

    ... freq.kr(4000)); Out.ar(out, Pan2.ar(sig, \pos.kr(0.0))); }).add; ) ( // setup a clock t = TempoClock.default; t.tempo = 130/60.0; // tdefs to play patterns Tdef(\hh, {|env| inf.do({|i| var level = ScGrids.calculateLevel( instrument: \hihat, ...

  8. psSet-event-type Quark

    ... stain < inf } }) { if(releaseHolder.notNil) { releaseHolder[proxy] = thisThread.clock.beats + sustain; }; thisThread.clock.sched(sustain, { if(releaseHolder.isNil or: { releaseHolder[proxy] ? 0 <= thisThread.clock.beats }) { proxy.source = ...

  9. GMTapTempo Doc

    ... initiate different actions. For example, one might simply want to adjust a TempoClock tempo. Or one might want to pause a routine, yield its next events on subsequent clicks, and resume the routine at the new tempo when clicks have stopped. ...

  10. TestAlgaClock Quark

    ... boot({ a = AP({ SinOsc.ar * EnvGen.kr(Env.perc, doneAction:2) }).play }) ) Alga.clock.tempo = 1

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow