Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ) } } // TaskWithStreamKill handles sleeping on a signal correctly and provides clock, quant option TaskPlayer { var <>func, <>clock, <>quant, player; *new { |func, clock, quant| ^super.newCopyArgs(func, clock? TempoClock.default, quant? 0) ...

  2. TimeSpecs Quark

    ... e schedTime in subclasses for different scheduling results nextTimeOnGrid { arg clock; ^clock.tryPerform(\beats) ? 0 } // this is used in too many places, can't delete it outright yet schedTime { |clock| this.deprecated(thisMethod, this.cla ...

  3. TestDurInterpolationAP Quark

    ... //Use AlgaPseg's onDone to resync the pattern ( a.addAction(func: { ~ft = 5 * a.clock.tempo; if(~pseg != nil, { ~pseg.stop }); ~what = 0.1; ~pseg = AlgaPseg([0, 1, 0.5, 1, 1], [2, 3, 4, inf], \lin, clock: a.clock, onDone: { ("Drift: " ++ ~p ...

  4. ListeningClocks Quark

    ... ulian Rohrhuber // developed for the virtual gamelan graz 2007 // abstract superclock // SoftClock : TempoClock { var <>dt = 0.1, <>verbose = false; var fadeTask, <fading=false, <isPlaying=true; var <rateOfChange = 1.0; var <>minTempo = 0.0 ...

  5. AlgaPseg Quark

    ... old = false; var externalHold = false; var hasBeenHeld = false; var onDone; var clock; var trigStartTime; var <drift = 0; *new { | levels, durs = 1, curves = \lin, repeats = 1, clock, onDone | clock = clock ? TempoClock.default; ^super.new( ...

  6. ClockFaceCP Quark

    /* This class is modified from the ClockFace class created by Josh Parmenter. The original can be found at: https://github.com/supercollider-quarks/ClockFace */ ClockFaceCP { var <window, <starttime, <tempo, <>inc, <>bounds, <cursecs, <>isP ...

  7. RedInterpolator Quark

    //redFrik RedInterpolator { var <value, <>tick, <>clock, <>action; var task; *new {|value= 0, tick= (1/60), clock| clock= clock ? SystemClock; ^super.newCopyArgs(value, tick, clock); } goto {|target= 1, dur= 0, curve= 0| task.stop; task= Ro ...

  8. ScoreClock Quark

    /* TODO: - let TempoClocks defer to ScoreClock if thisThread.nrt == true, or have some other way of forcing the clock. perhaps only the places we need to interfere with TempoClock is TempoClock.default (set to ScoreClock.default) and TempoC ...

  9. TelepathicClock Quark

    TelepathicClock a clock that listens to other clocks over a netork Inherits from: Object : Clock : TempoClock : SoftClock Like ListeningClock , a telepathic clock adjusts to others, but it does so over the network. It was developed for the ...

  10. Alga Quark

    ... = false; classvar <startup; classvar <schedulers; classvar <servers; classvar <clocks; classvar <parGroups; classvar <oldSynthDefsDir; //These are used since I can't add vars to the Clock class classvar <interpTempoRoutines; //Store if ser ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow