Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    /** The OSCClockSender Class can be used to send a clock like SystemClock over the network. // Set the targets of the default ClockSender: OSCClockSender.default.targets = [NetAddr("localhost", 57120)] // Set the clock to be sent. The defau ...

  2. ScampUtils Quark

    ... = msg[2], volume = msg[3], velocity = msg[4]; // velocity: SCAMP's note-on arg SystemClock.schedAbs(time, { // pass \velocity only to synths that declare it (older SCAMP omits msg[4]) notesPlaying.put(id, Synth(synthDef.name, [\freq, pitch ...

  3. ddwOSCSyncClocks Quark

    ... cy, ['/ddwClock', id, this.beats + (latency * this.tempo), latency, this.tempo, SystemClock.seconds /*- test*/, this.beatsPerBar, this.baseBarBeat]); } startAliveThread { if(thread.isNil) { thread = Routine { // var testStream = Pseq([Pn(0, ...

  4. MIDI2OSC Quark

    ... atency, port, channel, num, vel; #m, t, latency, port, channel, num, vel = msg; SystemClock.schedAbs(baseTime + t + latency, { MIDIIn.doNoteOnAction(MIDIPort.sources[port].uid, channel, num, vel); }); }).add; noteOffResp = OSCresponderNode( ...

  5. MIDI2OSC Quark

    ... atency, port, channel, num, vel; #m, t, latency, port, channel, num, vel = msg; SystemClock.schedAbs(baseTime + t + latency, { MIDIIn.doNoteOnAction(MIDIPort.sources[port].uid, channel, num, vel); }); }).add; noteOffResp = OSCresponderNode( ...

  6. GMTapTempo Quark

    ... be compiled // BEFORE we can compile this particular class Class.initClassTree(SystemClock); Class.initClassTree(Date); } init { super.init; this.setEventHandler( QObject.mouseUpEvent, \mouseDownEvent, true); this.setEventHandler( QObject. ...

  7. Graph Quark

    ... the data relative to the graph. Note: GUIs are always deferred, so you can use SystemClock in routines involving graphics. Creation / Class Methods *new (graphDict) Create a new Graph graphDict - a graphDict can be provided, otherwise an e ...

  8. RedSFPlayerDisk Quark

    ... , loop, \amp, amp, \buf, buffer ]); NodeWatcher.register(synth); if(loop.not, { SystemClock.sched(duration, { if(this.isPlaying, { this.stop(fadeTime); }); nil; }); });}); }; } prStop {|fadeTime, cond| synth.set(\rel, fadeTime, \gate, 0); S ...

  9. extSystemClock-tempo Quark

    + SystemClock { *tempo_ { } *tempo { ^1 } }

  10. SpeedLimit Quark

    ... } { dict[\latestArgs] = args; if (dict.scheduled.not) { dict.scheduled = true; SystemClock.sched(dict.dt - delta) { dict[\action].value(*dict[\latestArgs]); dict.lastTime = Main.elapsedTime; dict.scheduled = false; } } }; }; ); // and test ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow