Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... processes <>latency = nil, // node latency; can be overridden at trigger time <>clock; var <susPedalNodes, <susPedal = false; // TEMPORARY, experimental var iMadeTarget = false; *new { arg voices = 1, things, args, bus, target, addAction = ...

  2. sync-to-tidal-02 Quark

    ... e[\cps]; var latency = e[\latency]; cycle !? { if(cycle % quant == 0) { // set clock only quant in cycle TempoClock.default.beats = cycle; }; }; cps !? { TempoClock.default.tempo = cps; }; latency !? { Server.default.latency = latency; } } ...

  3. ClockAudioMulch Quark

    //f.olofsson & j.liljedahl 2010-2011 //todo: use SkipJack for permanent clocks or just recreate the routine at cmdperiod? ClockAudioMulch : TempoClock { var <>addr, <>tick= 0, <>shift= 0, task; *new {|tempo, beats, seconds, queueSize= 256, ...

  4. handout-2-mixer Quark

    ... d-loop", setup: ["start 2", "@ 2", ["tsr @1", 1]], cmds: ["lt 1", "lt 2"] ); // Clock and scheduling ~radTest.("clock-bpm-beats", setup: ["start 2"], cmds: ["clock", "bpm 80", ["beats 4", 2], "beats"] ); ~radTest.("scheduled-commands", setu ...

  5. PLbindef Quark

    ... ear { this.superPerform(\clear) } miSC_setPLbindef { |p| plbindef = p } play { |clock, protoEvent, quant, doReset = false| plbindef.play(clock, protoEvent, quant, doReset) } isPlaying { plbindef.isPlaying } reset { plbindef.reset } stop { p ...

  6. pitch-processes Quark

    ... brary.put(~bassID, ev[\degree] % mode.scale.size); bassID = ~bassID; thisThread.clock.sched(0, { BP.changed(bassID, ev) }); }; if(ev[\accent].isNil) { ev[\accent] = ev[\acc].notNil and: { ev[\acc] > 0 }; }; ev[\acc] = ev[\accent].asInteger; ...

  7. LagStream Quark

    ... 't work: thread seems to refer always to thisThread ^Main.elapsedTime //^thread.clock.secs2beats(Main.elapsedTime) } } LagStream : LinLagStream { var <>curve = 0.001; phase { var currentTime = this.beats; ^if(lastTime + lag > currentTime) { ...

  8. TestBeatSched Quark

    ... d = BeatSched.new; sched.beat = 10.0; // this calculates back through the tempo clock b = sched.beat; this.assertFloatEquals( b , 10.0, "setting beat should work"); } test_deltaTillNext { var db,b,ds; //Tempo.bpm_(120); b = BeatSched.beat; ...

  9. BeatClockPlayer Quark

    BeatClockPlayer : KrPlayer { var <>tempoFactor,<>tempoBase,tempoBus; var <>mul; *new { arg tempoFactor=2.0,mul=1.0,tempoBase; ^super.new.tempoFactor_(tempoFactor).tempoBase_(tempoBase ? Tempo.default).mul_(mul) } storeArgs { ^[tempoFactor,m ...

  10. BeatClockPlayer Quark

    BeatClockPlayer : KrPlayer { var <>tempoFactor, <>tempoBase, tempoBus; var <>mul; *new { arg tempoFactor=2.0, mul=1.0, tempoBase; ^super.new.tempoFactor_(tempoFactor).tempoBase_(tempoBase ? Tempo.default).mul_(mul) } storeArgs { ^[tempoFact ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow