Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (241) Code (11) Doc (45) Help (24) Quark (161) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. Clock Help

    ... for clocks Inherits from: Object Clock is a general scheduler - see subclasses: SystemClock , TempoClock , AppClock

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

    ... ndle(0.05,["s_new", "trig1" ,-1,0,0,0,rrand(0.02,0.25)]); 0.25.wait }) }).play( SystemClock ) ) This should sound like a continous sine wave, although it is actually a series of 0.25 second synths. ( SynthDef ( "trig1" ,{ var gate; gate = T ...

  5. Clock Doc

    ... : Object abstract superclass for clocks Source: Clock.sc Subclasses: AppClock , SystemClock , TempoClock See also: AppClock , SystemClock , TempoClock Description Clock is an abstract class: it only defines an abstract set of methods that a ...

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

  7. 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; } )

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

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

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow