-
... lock is not removed on cmdPeriod (or equivalent). addr - The address given is a NetAddr which serves as a message receiver, usually this is the local broadcast address. channel - For several independent networks of telepathic clocks, differ ...
-
... ar <all; var <name, <>addr, <>sendAPI, <receiveAPI, mountName; *new { arg name, netAddr, sendAPI, receiveAPI; var nu; nu = (all.at(name.asSymbol) ?? {super.new.init(name.asSymbol)}); nu.addr = netAddr; nu.sendAPI_(sendAPI); nu.receiveAPI_(r ...
-
... f({listenResp.free}); }, '/pong'); } *showComputerIP { var tmpDef; var before = NetAddr.broadcastFlag; NetAddr.broadcastFlag = true; tmpDef = OSCdef(\tmp, { arg msg,time, addr, recvPort; NetAddr.broadcastFlag = before; ("Set the IP in mOSCi ...
-
... tEditorPort=8002, <>defaultOscPort=8000, <>defaultRemoteIP; var <>remoteIP, <oscNetAddr, <uiEditorNetAddr, <>editorPort, <>oscPort; *new { | remoteIP | if (remoteIP.isNil) { throw(Error("The RemoteIP constructor argument is not provided.")) ...
-
... ~remote = DirtRemoteSoundfileInfo(~dirt.soundLibrary).start(57120); // ~addr = NetAddr("a.b.c.d", 57120); // on the requester side: replace "a.b.c.d" with the remote address // testing with loopback ~addr = NetAddr("127.0.0.1", 57120); // ...
-
... msg, time, addr | var mainTime = Main.elapsedTime; var returnPort = msg[1]; var netAddr = NetAddr.new(addr.ip, returnPort); netAddr.sendMsg('/clockSyncSet', mainTime.high32Bits, mainTime.low32Bits); }, path: '/clockSyncGet', recvPort: syncP ...
-
... responders sendMsgToUser addPrivateResp removePrivateResp privateResponderFuncs netAddr tcpRecvPort Examples (extension) Networking OSCRouterClient Extension Connecting sclang across the internet See also: SyncText , OpenSoundControl Descri ...
-
... ddrMessageMatcher. new ( addr , func ) Make a new instance. Arguments: addr The NetAddr to attempt to match. func The Function to evaluate if a match is found. Returns: An OSCFuncAddrMessageMatcher. Inherited class methods Instance Methods ...
-
... " ) ) ); // OSCMKtlDevice.sourceDeviceDict // create a gui: m.gui; m.trace; n = NetAddr.new( "127.0.0.1", NetAddr.langPort ); n.sendMsg( "/pad", 2, 3, 63 ); // send messages: n.sendMsg( '/pad', 1, 2, 63 ); n.sendMsg( '/pad', 1, 2, 35 ); n.s ...
-
... ( w, Rect( 0, 0, 190, 20)); StaticText.new( w, Rect( 0, 0, 190, 20)).string_( [ NetAddr.myIP, NetAddr.langPort ].asString ).font_( GUI.font.new( "Helvetica", 12)); w.front; } }