Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (241) Code (11) Doc (45) Help (24) Quark (161) SCDoc ↗ Forum ↗ Google ↗
  1. Runner Quark

    ... nces, create a unified GUI, etc. Note: GUIs are always deferred, so you can use SystemClock in routines involving graphics. Creation / Class Methods *new (graph, bpm, weight, name) Create a new Runner instance. graph - a Graph object. Defau ...

  2. FoxDot Quark

    ... ot note = msg[2]; vel = msg[3]; sus = msg[4]; channel = msg[5]; nudge = msg[6]; SystemClock.schedAbs(time + nudge, {midiout.noteOn(channel, note, vel)}); SystemClock.schedAbs(time + nudge + sus, {midiout.noteOff(channel, note, vel)}); }, 'f ...

  3. ddwPlug-support Quark

    ... def.asSynthDesc, \lastChange -> 0.0, \clients -> IdentitySet.new, \timeAdded -> SystemClock.seconds ]; all[server][function] = coll; } { coll = all[server][func]; }; coll[\clients].add(object); coll[\lastChange] = SystemClock.seconds; } *re ...

  4. Pirama Quark

    ... = stream.next(inval); outval.notNil } { clock = thisThread.clock; if(clock === SystemClock) { tempo = 1.0; "warning: Pirama uses SystemClock, which cannot change tempo.".postln; } { tempo = clock.tempo }; if(absdif(tempo, prevTempo) >= ste ...

  5. TestSystemClockSched Quark

    Alga.boot(clock:SystemClock) a = AN({RLPF.ar(WhiteNoise.ar) * \amp.ar(0.5)}).play; ( a.it = 4; fork { var sched = 5; a.from(0, \amp, sched:sched); sched.wait; "starting".postln; a.it.wait; "end".postln; } )

  6. RedTapTempoGUI Quark

    ... utton(nil, nil, "tap tempo", "tap tempo").action_{|view| var newTempo, nowTime= SystemClock.seconds; if(nowTime-timeout>lastTime, { (this.class.name++": timeout").postln; counter= 0; }); if(counter<(n-1), { times= times.put(counter, SystemC ...

  7. MIDISyncClock Quark

    ... MIDISyncClock.init **BEFORE** starting the clock source.\n".postln; startTime = SystemClock.seconds; }; // use nextTime as temp var to calculate tempo // this is inherently inaccurate; tempo will fluctuate slightly around base nextTime = Sy ...

  8. DataSequencer Quark

    ... taFunc); board.accelAction= board.accelAction.addFunc(accelFunc); dataTask.play(SystemClock); accelTask.play(SystemClock); CmdPeriod.add(this); } stop { dataTask.stop; dataTask.reset; accelTask.stop; accelTask.reset; board.dataAction= board ...

  9. JITseto Quark

    ... ///// q = q ? (); ( q.lastSymAxis = [0, 0, 1]; q.symAxis = [1, 0, 0]; q.ltime = SystemClock.seconds; JITseto .action = { |setObj| ( setObj .id == 1).if{ var time = SystemClock.seconds; var flipAngleVel; // symmetric axis is determined as z ...

  10. MixedBundleTester Quark

    ... latency; latency = latency ?? { server.latency }; super.prSend(server,latency); SystemClock.sched(latency,{ bundlesSent = bundlesSent.add( this ); }) } clumpedSendNow { arg server; if(messages.notNil,{ messages.clump(10).do({ arg bundle,i; ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow