-
... 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)) ...
-
... 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 ...
-
... 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] ...
-
... , 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 ...
-
... 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 ...
-
... "); 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 ...
-
... 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 } { ...
-
... 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 ...
-
... 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( ...
-
... 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 ...