-
... 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; ...
-
... stNetAddr = NetAddr("127.0.0.1", 5000); ~mySynth = Synth(\amplitudeAnalysis); ( OSCdef(\listener, { |msg| var data = msg[3..]; data.postln; ~testNetAddr.sendMsg("data", data); }, '/analysis'); ) ~mySynth.set(\rate, 10); // slow it down... ⧉ ...
-
... 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 ...
-
... ractDispatcher : Object The default pattern matching dispatcher for OSCFunc and OSCdef. Source: ResponseDefs.sc See also: OSCFunc , OSCdef , AbstractWrappingDispatcher , AbstractDispatcher , AbstractMessageMatcher , OSCMessageDispatcher , O ...
-
... w; objectPositions = Dictionary.new; // // // // RECEIVER FUNCTIONS // // // // OSCdef(\addEntity,this.newSource,"/spatdifcmd/addEntity",nil); OSCdef(\removeEntity,this.endSource,"/spatdifcmd/removeEntity",nil); // internal configuration: s ...
-
////////////// xosc nufo is unused by now /////////// // OSCdef(\xoscAlive, { |msg, time| // if (NTMI.nufo.lastInTime == 0 or: { NTMI.nufo.timeSinceLast > 10 }) { // Tdef(\allLEDs).play; // }; // NTMI.nufo.deviceName = \xosc; // NTMI.nufo.l ...