-
... ess])}; }; View.globalKeyDownAction= View.globalKeyDownAction.addFunc(keyFunc); OSCFunc({|msg| //from SGUI report { buttons.detect{|b| b.states[0][0].replace(" ", "").contains(msg[1].asString); }.value= 2; }.defer; }, \toFront); OSCFunc({|m ...
-
... t = 0.001, action| var returns = Array.newClear(this.options.numBuffers), osc = OSCFunc({ |m| bInfoCount = bInfoCount + 1; (m.size > 1 and: { m[2] > 0 }).if({ returns[m[1]] = Buffer.new(this, m[2], m[3], m[1]) .sampleRate_(m[4]); }); }, '/b ...
-
... svar <>verbose = false, waitingForMic = false; *initClass { Class.initClassTree(OSCFunc); // register to receive latency values resp = OSCFunc({ arg msg; var which = msg[2].asInteger; var exactTimeInSamples = msg[3].asInteger; var deltaSamp ...
-
... = IdentityDictionary.new; } *makeResponder { if(responder.isNil) { responder = OSCFunc({ |msg, time, addr| this.remove(msg[1], addr) }, "/d_removed").fix } } *add { |defName, func| this.makeResponder; all[defName] = all[defName].addFunc(fu ...
-
n = NetAddr("127.0.0.1", NetAddr.langPort); // local machine // o = OSCFunc.newMatching({|msg, time, addr, recvPort| msg.post; \matching.postln}, '/button/*', n); // path matching p = OSCMessageInversePatternDispatcher.new; o = OSCFunc.new( ...
-
... endMsg( '/minibee/data', 1, 0.1, 0.2, 0.3,0.4 , 1.0.rand, 1.0.rand, 1.0.rand ); OSCFunc.trace( true ); ~bee2.elementAt( \led, '1' ).value_( 0.5 ); ~bee2.elementAt( \led, '2' ).value_( 0.8 ); ~bee2.elementAt( \led, '3' ).value_( 0.2 ); ~bee2 ...
-
... : Object network address Source: NetAddr.sc Subclasses: BundleNetAddr See also: OSCFunc Class Methods NetAddr. new ( hostname , port ) create new net address. NOTE: To send messages internally, loopback IP is used: "127.0.0.1" Arguments: ho ...
-
... listen yet, so nothing happened. // To listen to all incoming messages, we use: OSCFunc.trace; ~receiverAddr.sendMsg(\test, \yo, \world); // and this should now post: OSC Message Received: time: 5141.891048276 address: a NetAddr(127.0.0.1, ...
-
... ver, msg, <nodeIds, index; *get { |server, action| var node = RootNode(server); OSCFunc( { |msg| var snapshot = SatieQueryTree(server, msg); action.value(snapshot); }, '/g_queryTree.reply' ).oneShot; // '0' means don't reply with Synth cont ...
-
... t Print the current output value of a UGen Source: Poll.sc See also: SendTrig , OSCFunc Description Print the current output value of a UGen, useful for debugging SynthDefs. WARNING: Printing values from the Server in intensive for the CPU. ...