-
... ds on thisProcess.openUDPPort(8999); // trace that we get messages from flatcat OSCdef.trace(true, true); OSCdef.trace(false); // later, use this to turn flatcat-NTMI connection off and on: OSCdef(\flatcat).disable; OSCdef(\flatcat).enable; ...
-
... tResponderFunc.allFuncProxies n = NetAddr.new( "127.0.0.1", NetAddr.langPort ); OSCdef( \test, { |msg| msg.postln; }, "/test", argTemplate: [ 0 ] ); n.sendMsg( "/test", 0, 2 ); n.sendMsg( "/test", 1, 1 ); n.sendMsg( "/test", 1 ); n.sendMsg( ...
-
/* OSCdef.trace(true, true) OSCdef.trace(false) */ // set the addresses to forward to: // known addresses in local network, // and thru port 8999 like a direct flatcat; // should work to wake up NetAddr.broadcastFlag = true; NTMI.flatcat.fw ...
-
... free; */ // the OSC port number flatcat sends on thisProcess.openUDPPort(8999); OSCdef(\detectFlatcat, { |msg, time, senderAddr, recvPort| fork ({ if (MKtl.all.flatcat.isNil) { "*** new flatcat detected! loading setup.".postln; LoadMe("Spec ...
-
... t = false sends /code only ~radTest.("osc-both-channels", code: { ~radOsc = []; OSCdef(\radtestCode, {|msg| ~radOsc = ~radOsc.add([msg[0], msg[1].asString]) }, '/code'); OSCdef(\radtestCodeCont, {|msg| ~radOsc = ~radOsc.add([msg[0], msg[1]. ...
-
... <7),{ " WARNING: SuperCollider 3.7 or higher is required by Esp.sc".postln; }); OSCdef(\espChat,{ |m,t,a,p| (m[1] ++ " says: " ++ m[2]).postln; },"/esp/chat/receive").permanent_(true); OSCdef(\espPerson,{|m,t,a,p|person=m[1];},"/esp/person/ ...
-
... m if you want different number of channels. ( ~allChannels = ~allChannels ? (); OSCdef(\newdirt, { |msg, time, tidalAddr| var name, port, outBus, old; #name, port, outBus = msg[1..]; old = ~allChannels[name]; if(old.notNil) { old.free }; ol ...
-
>> (osc /radtestfx <> fx 1 pch) == radpost == OSCdef('hid1', {arg ...args; {|val| Radicles.defer({~callWindowGlobVar.callFunc("fx 1 pch")}, source: 'hidcmd') }.([0, 1].asSpec.map(args[0][1].linlin(0, 1, 0, 1.0)) )},'/radtestfx'); == radpost ...
-
... ds on thisProcess.openUDPPort(8999); // trace that we get messages from flatcat OSCdef.trace(true, true); OSCdef.trace(false); // later, use this to turn flatcat-NTMI connection off and on: OSCdef(\flatcat).disable; OSCdef(\flatcat).enable; ...
-
... ay LED ballet every time we go from // OSC silence to receiving stuff from nUFO OSCdef(\xoscAlive, { |msg, time| if (NTMI.nUFO.lastInTime == 0 or: { NTMI.nUFO.timeSinceLast > 10 }) { Tdef(\allLEDs).play; }; NTMI.nUFO.deviceName = \xosc; NTM ...