-
... dFileView)}.do{|v| v.background= Color.grey(0.7725, 0.5); }; }); win.onClose= { NetAddr.localAddr.sendMsg(\closed, \sFiles); players.do{|x| x.stop(0.1)}; oscResponders.do{|x| x.free}; }; //--network setupOscResponders= { oscResponders= [ OS ...
-
... Port.listDevices; c= CytonSerial("/dev/tty.usbserial-DM00DRM0"); //c= CytonWifi(NetAddr("OpenBCI_WifiShieldOSC.local", 13999)); d= DataBuffer(c); c.start; d.start; r= Routine.run({inf.do{d.readData.postln; 0.1.wait}}); d.dataBuffer.size; // ...
-
... SC message address pattern at which to listen for SynthDefs responseAddress The NetAddr to which a "/done_compiling" message is sent once the SynthDef has been added. . startRecordingListener Starts listening for "/recording/start" and "/re ...
-
... (you cannot directly boot a remote server instance) s = Server ( "serverName" , NetAddr (hostname, port), clientID); serverName can be any name hostname is an ip address, or if you have a name resolution, a network name port the port on whi ...
-
... }).add; ) // example target address - insert your target host & port here ~testNetAddr = NetAddr("127.0.0.1", 5000); ~mySynth = Synth(\amplitudeAnalysis); ( OSCdef(\listener, { |msg| var data = msg[3..]; data.postln; ~testNetAddr.sendMsg(" ...
-
... test wakeup ballet: // if first time, or longer than 10 sec silence, do ballet NetAddr.localAddr.sendMsg("/ntmi/imu", 0.0); */ NTMI.nUFO.timeOutTime = 3; NTMI.nUFO.lastInTime = -100; NTMI.nUFO.timedOut = false; NTMI.nUFO.timeOut = { if (NT ...
-
... if( last.notNil ) { last = last.copy; if( last.ip == "127.0.0.1" ) { last.ip = NetAddr.myIP; }; if( last.ip != "127.0.0.1" ) { last.ip = PathName(last.ip).nextName; }; last.name = PathName(last.name).nextName; } { last = WFSServerOptions() ...
-
... r.sendMsg(*[oscpath, value]); }; ~respond.([oscpath, value], SystemClock.beats, NetAddr.localAddr, NetAddr.langPort); }; ~setGUIValue = { |oscpath, value| if(~sendAddr.notNil) { ~sendAddr.sendMsg(oscpath, value); }; ~respond.([oscpath, valu ...
-
... of the servers of the system. //recompile library now ( ~s1 = Server("Server1", NetAddr("localhost", 57111) ).boot.makeWindow; ~s2 = Server("Server2", NetAddr("localhost", 57112) ).boot.makeWindow; ULib.servers = [~s1,~s2]; ULib.startup; ) ...
-
... tAction: {|b| b.start}); //edit here to match your board //var board= CytonWifi(NetAddr("OpenBCI_WifiShieldOSC.local", 13999), initAction: {|b| b.start}); //var board= SyntheticData(initAction: {|b| b.start}); //synthetic test data //var bo ...