Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (714) Code (40) Doc (222) Help (57) Quark (395) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. 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 ...

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

  4. PG_Cookbook01_Basic_Sequencing Help

    ... tonic is a flat 7, and a half step higher than that is the leading tone. ( TempoClock .default.tempo = 84/60; p = Pbind ( \scale , #[0, 2, 3, 5, 7, 8, 10], \root , 2, \degree , Pseq (#[rest, 4, 3, 4, 2, 4, 1, 4, 0, 4, -0.9, 4, 0, 4, 1, 4, 2 ...

  5. 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) { ...

  6. 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; ...

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

  8. 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 ...

  9. DeferredUpdater Doc

    ... Methods . new (describe method here) Arguments: delta (describe argument here) clock (describe argument here) force (describe argument here) Returns: (describe returnvalue here) Inherited class methods Instance Methods . update (describe m ...

  10. UtopiaExamplesMultiUser_1 Quark

    ... Relay.post = false; // turn off posting //////////////////////// // A very dumb clock example to show how you might integrate a clock with this // Master and slave clocks must share a common time base, e.g. using the NTP class // Ticks are ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow