-
... rue); // Set the OSC target using slot [OSC 0]. l.setOscTarget(0,"192.168.2.2", NetAddr.langPort); // Add several faders with different horizontal positions. ( l.fader("Faders", "fader1"); l.fader("Faders", "fader2", 100); l.fader("Faders", ...
-
... stored in one global classvariable under its name. addr an optional instance of NetAddr , providing host and port. The default is the localhost address using port 57110; the same as the local server. options an optional instance of ServerOp ...
-
... o server ( o = ServerOptions.new; o.protocol_(\tcp); t = Server.remote(\remote, NetAddr("192.168.0.130", 57110), o); // set to correct address and port t.addr.connect; t.startAliveThread( 0 ); t.doWhenBooted({ "remote tcp server started".po ...
-
... ctive cue. // An OSC responder a.oscTrigger(path:'/cueTrigger'); // Test it m = NetAddr("127.0.0.1", NetAddr.langPort); // Create a net address m.sendMsg("/cueTrigger", -1); // Send a message to trigger next cue m.sendMsg("/cueTrigger", -1) ...
-
... 3, { "this is cue 3".postln }); // An OSC responder a.oscTrigger // Test it m = NetAddr("127.0.0.1", NetAddr.langPort); // Create a net address m.sendMsg("/cueTrigger", -1); // Send a message to trigger next cue m.sendMsg("/cueTrigger", -1) ...
-
... e and NoteOnResponder , etc. OSCFunc can receive on any port, not only the main NetAddr.langPort . New Location of Startup file The sclang startup file has moved to Platform.userConfigDir +/+ "startup.scd" . Old platform-specific startup fi ...
-
... object that will run on the local host using port #58009 m = Server(\myServer, NetAddr("127.0.0.1", 58009)); m.boot; //start the server m.quit; // quit the server ⧉ ✔ It is not possible to boot a server on a remote machine, but if you have ...
-
... object that will run on the local host using port #58009 m = Server(\myServer, NetAddr("127.0.0.1", 58009)); m.boot; //start the server m.quit; // quit the server It is not possible to boot a server on a remote machine, but if you have one ...
-
... bind a function to incoming messages, and provides a sendMsg method just like a NetAddr . Because UDP is a *datagram* protocol it may be susceptible to packet loss, either due to underlying detection of packet corruption, which causes packe ...
-
... g. from Java, Python, Max/MSP, etc.). For networking, see Server Architecture , NetAddr , OSCFunc . In general however, sclang is the preferable way to communicate with the server for three reasons: it gives you the expressive power of the ...