Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... if(counter >= (1.0 + (delta * time)), { done = true }); delta.wait; } }, clock: SystemClock) )

  2. AlgaClassExtensions Quark

    ... }; } */ } +Clock { *tempo { ^(1.0) } *tempo_ { } tempo { ^(1.0) } tempo_ { } //SystemClock, just do no error out *interpolateTempo { } *interpTempo { } //Only works for TempoClock / LinkClock interpolateTempo { | tempo = 1, time = 0, shape ...

  3. GanglionSerial Quark

    ... s:true); CmdPeriod.add(this); this.softReset; task= Routine({this.prTask}).play(SystemClock); } close { "%: stopping and closing serial port".format(this.class.name).postln; task.stop; port.close; CmdPeriod.remove(this); } cmdPeriod { this. ...

  4. EventStreamSubclasses Quark

    ... { |waitTime, value| ^super.new.init(waitTime, value) } init { |waitTime, value| SystemClock.sched(waitTime, { this.fire(value) }) } }

  5. VoicerNode Quark

    ... emove; }); frequency = freq; // save frequency for Voicer.release lastTrigger = SystemClock.seconds; // save time this.isPlaying = true; isReleasing = false; } { reserved = false; } } // triggerByEvent { |freq, gate(1), args, latency| // ^t ...

  6. RedSFPlayer Quark

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

  7. NMLJackTrip Quark

    ... ; numActivePings = numActivePings - 1; pingTask.stop; if(numActivePings == 0, { SystemClock.sched(1.5, {this.makeConnections}) }); }, '/clientLaunched', addrBook[nickname.asSymbol].addr).oneShot; pingTask = Task({ loop { addrBook.send(nickn ...

  8. SoundBlock Quark

    ... ; visualsAddr = aVisualsAddr; // faceStates = {0}!6; upFace = 0; lastUpdates = (SystemClock.seconds!6); lastTick = lastUpdates.first.copy; } printOn { | stream | if (stream.atLimit) { ^this }; stream << this.class.name << "( " << this.color ...

  9. KrBusWatcher Quark

    ... Thread if it's running already aliveThread.nextBeat.isNil.if({ aliveThread.play(SystemClock) }); } stopAliveThread { aliveThread.stop; aliveThread = nil; } c_setn { |msg| var bus, i; i = 1; { i < msg.size }.while({ bus = nodes.at(msg.at(i)) ...

  10. AlgaGroup Quark

    ... ng with \udp //Alga uses \tdp by default! if(server.options.protocol == \udp, { SystemClock.sched(3, { if(algaInstantiated.not, { ("Using a server with the UDP protocol, use the TCP one instead. Instantiation packet for AlgaGroup " ++ nodeI ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow