Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

  2. AlgaSynth 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 AlgaSynth " ++ nodeI ...

  3. Segmentation Quark

    ... ufnum,analysisbuffer.bufnum, \length, sflength, \threshold, threshslid.value]); SystemClock.sched(sflength+1.0, { //Post << "transfer" << nl; analysisbuffer.loadToFloatArray(action: { arg array; var num; //Post << array << nl; num= array[0] ...

  4. NMLClock Quark

    ... , addr| var beatDelta, currentTempo; beatDelta = msg[1]; currentTempo = msg[2]; SystemClock.schedAbs(time, {tempo = currentTempo; this.tick(beatDelta)}); }, oscPath, masterAddr).fix; } free { tickOSCFunc.free } clear { scheduler.clear; } se ...

  5. Fracture Quark

    ... ocked.'}; if (isEmpty == true) { this.openFunctions; collectRoutines.do (_.play(SystemClock)); record = { arg running = 1; var soundin, trig = 1, pos = 0, amp, freq, hasFreq, bufLength, cycle; soundin = if (in.isInteger) {SoundIn.ar(in)} {I ...

  6. SyntheticData Quark

    ... "); CmdPeriod.add(this); } start { task.stop; task= Routine({this.prTask}).play(SystemClock); } stop { "%: stopping synthetic test data".format(this.class.name).postln; task.stop; CmdPeriod.remove(this); } softReset { currentSampleRate= thi ...

  7. sclork_chat_test Quark

    ... rcedTimeout = true; bot.prForceTimeout; 5.wait; }, { bot.disconnect; }); }); }, SystemClock).start; }); 3.do({| i | Task.new({ var bot = SCLOrkChatClient.new("127.0.0.1", listenPort: 7720 + i); while({ true }, { var name = case { i == 0 } { ...

  8. IBVA Quark

    ... x| this.prHexStrToInt(x)}; action.value(*data); }; line= ""; }); }); }; }).play(SystemClock); } close { task.stop; port.close; } //--asynchronous getBatteryLevel {port.putAll("BL\r\n")} getDeviceName {port.putAll("DN\r\n")} getSamplingRate ...

  9. clock Quark

    ... f(\clocK).set(\runtime, 0, \isRunning, true).stop.play }); Tdef(\clocK).clock = SystemClock; Tdef(\clocK).addSpec(\runtime, [0, 10000, \lin, 1]); Tdef(\clocK).set(\runtime, 0, \isRunning, true); Tdef(\clocK).set(\timeStr, "00:00:00"); Tdef( ...

  10. Esp Quark

    ... d.sendMsg("/esp/clockMode/q"); Esp.send.sendMsg("/esp/version/q"); }, 2, clock: SystemClock); } *gridAddress_ { |x| gridAddress = x; send = NetAddr(gridAddress,5510); send.sendMsg("/esp/subscribe"); Esp.startIfNecessary; } // all setters an ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow