Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ClockProxy { var <clock; *new { |clock| ^super.newCopyArgs(clock) } clock_ { |newClock| var oldClock = clock; var queue = oldClock.queue.copy; var newTempo = try { newClock.tempo } ? 1.0; var oldTempo = try { oldClock.tempo } ? 1.0; var tem ...

  2. QuantTask Quark

    ... tc. can be quantized using a quantize factor AND an offset play { arg quant, argClock, doReset; var schedTime; if (stream.notNil, { "already playing".postln; ^this }); if (doReset ? false, { this.reset }); clock = argClock ? clock ? TempoCl ...

  3. QuantTask Quark

    ... tc. can be quantized using a quantize factor AND an offset play { arg quant, argClock, doReset; var schedTime; if (stream.notNil, { "already playing".postln; ^this }); if (doReset ? false, { this.reset }); clock = argClock ? clock ? TempoCl ...

  4. BeaconClock test Quark

    ~clock = BeaconClock(~addrBook).permanent_(true); ~clock = TempoClock.new; Pbind(\freq, rrand(440, 880)).play(~clock, quant: 1); Pbind(\freq, Pfunc({"beats: % tempo: %\n".postf(~clock.beats, ~clock.tempo); rrand(440, 1200) })).play(~clock, ...

  5. basic_telepathy_test Quark

    /* The plan is to reimplement the not-quite-correct TelepathicClock as to match a future time sharing protocol for laptop ensembles. TelepathicClock may change implementation. ListeningClock and SoftClock will stay the same. */ // actually, ...

  6. TelepathicClock Quark

    ReferenceClock { var clock, <>offset = 0; *new { arg tempo, beats; ^super.new.init(tempo, beats) } elapsedBeats { ^clock.elapsedBeats + offset } tempo { ^clock.tempo } elapsedBeats_ { |beats| offset = beats - clock.elapsedBeats } tempo_ { | ...

  7. RepublicStandardTime Quark

    ... test); a.update; a.verbose = true; ) a.others.first.update(1, 460); a.update; a.clocks; a.tempo; a.others a.tempo = rrand(1.0, 0.5).postln; a.sendClockSignal(\all); a.clocks; a.empathy = 1; a.confidence = 0; a.update; a.sendClockSignal(\tes ...

  8. GenericSpace Quark

    GenericSpace : EnvironmentRedirect { var <>proxyspace; *new { arg server, clock; ^super.new.init(server, clock) } *push { arg server, clock; if(name.isNil and: { currentEnvironment.isKindOf(this) }) { currentEnvironment.clear.pop }; // avoi ...

  9. AlgaReschedulingEventStreamPlayer Quark

    ... it { | stream, event | player = EventStreamPlayer(stream, event); } play { | argClock, doReset = false, quant | player.play(argClock ? player.clock, doReset, quant) } stop { player.stop } reset { player.reset } //Stops and remove all action ...

  10. clock Quark

    // maainstage clock and gui /////// Clock display shows how long something has been running /* Tdef(\clocK).gui; Tdef(\clocK).set(\isRunning, true); // jumps back to zero when stopped Tdef(\clocK).set(\isRunning, false); // watch some Tdef ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow