-
... s a letter id. q.makeStamp = { 100000.0.rand }; q.responderActive = { |q, resp| OSCresponder.all.includes(resp) }; // this listens to every letter. q.logResponder = OSCresponderNode(nil, \recieveLetter, { |t, r, msg| var letter = msg[3]; va ...
-
... arget, id; ^super.newCopyArgs(func, target.asTarget, id).rinit } rinit { resp = OSCresponder(target.server.addr, '/tr', { arg time, addr, msg; if(id.isNil or: { msg.at(0) == id }, { func.value(count,time,msg); count = count + 1 }); }); resp ...
-
... emove; cvWidgets[thisKey].midiOscEnv.cc = nil; }; cvWidgets[thisKey].midiOscEnv.oscResponder !? { // cvWidgets[thisKey].midiOscEnv.oscResponder.remove; cvWidgets[thisKey].midiOscEnv.oscResponder.free; cvWidgets[thisKey].midiOscEnv.oscRespon ...
-
Morph { var <deviceID; var <>binary; var <oscResponders; var <deviceSpecs; var <>avgAction, <>syncAction; var <>contactPreAction,<>contactPostAction; var <>contactDownAction, <>contactUpAction, <>contactDragAction; var <deviceVals, <vals, < ...
-
OSCtree : OSCresponder { var <>tree; classvar <>default; *new { |addr, cmd, tree| var resp, match; resp = super.new(addr, cmd); match = all.findMatch(resp); if(match.notNil) { resp = match }; ^resp.tree_(tree) } value { |time, msg, addr| va ...
-
... ont.monospace(10); //--functions and objects var sendOsc; var routine; var setupOscResponders, oscResponders; var iOnOffDict= (), activeDict; //--gui var blackButtons= List.new; var redButtons= List.new; var recButton; var onoffButton; var ...
-
... leController dependant on the ControlValue relays changes to the NC, CB, or NP. OSCresponders are used to remove the SimpleController when the NC, CB or NP is freed. This is implemented with a dummy OSC message when freeing a Control Bus. * ...
-
... ty: asynchronous functions don't remember // the environment - scheduled funcs, OSCresponders, etc. // this is an easy way to make an environment-safe function e { ^this.inEnvir } } // in Proto, parent should contain all functions; all data ...
-
... i * (i_width + pad)), pad, i_width, i_width)).background_(colors[i]);\ \);\ \ \ OSCresponder ( NetAddr .localAddr, "/orb" , \ |time, resp, msg| \ var which, color, oldColor, lagTime, numSteps, fps = 20, rFps;\ which = msg[1];\ color = Color ...
-
... resp.remove }; addrs.do(_.disconnect); addrs = (); this.switchBroadcast(false); OSCresponder(nil, '/hist').remove; } send { |name ... args| this.prSendWithDict(addrs, name, [args]) } // testing nameIsFree { |name| ^this.hasJoined(name).not ...