-
OSCresponder client side network responder Register a function to be called upon receiving a specific command from a specific OSC address. Other applications sending messages to SuperCollider should distinguish between sending messages to t ...
-
... ication is done by creating a NetAddr of the target application and creating an OSCresponderNode to listen to another application. The underlying protocol of OSC is either UDP or TCP. Sending OSC to another application To establish communic ...
-
OSCpathResponder client side responder superclass: OSCresponder Register a function to be called upon receiving a command with a specific path. Other applications sending messages to SuperCollider should distinguish between sending messages ...
-
... example n = NetAddr ( "127.0.0.1" , 57120); // 57120 is sclang default port r = OSCresponder (n, '/good/news' , { arg time, resp, msg; [time, msg].postln }).add; n.sendMsg( "/good/news" , "you" , "not you" ); n.sendMsg( "/good/news" , 1, 1. ...
-
OSCresponderNode client side network responder Register a function to be called upon receiving a specific command from a specific OSC address. same interface like OSCresponder , but allows multiple responders to the same command . Note that ...
-
... 'the_answer' , [40, 41, 42, 43] + MouseX .kr, 1905); }.play(s); ) o.remove; o = OSCresponder ( nil , 'the_answer' , { |t, r, msg| msg.postln }).add; // multichannel expansion ( { SendReply .kr( Impulse .kr(3), 'the_answer' , values: [[40, 8 ...
-
... er use the get method of Bus (or /c_get in messaging style) or SendTrig with an OSCresponder or OSCresponderNode . bus - the index of the shared control bus to read from channelsArray - an Array of channels or single output to write out. Yo ...
-
... endTrig .kr( Dust .kr(1.0),0,0.9) }.play; // register to receive this message ( OSCresponder (s.addr, '/tr' ,{ arg time,responder,msg; [time,responder,msg].postln; }).add );
-
... ade directly from actions triggered by SystemClock or incoming socket messages (OSCresponder). To get around this, use { }.defer This will execute the function using the AppClock and is equivalent to AppClock .sched(0, function): ( var w, r ...
-
... e; // Same as t.stop TSpawn's functionality can be replicated with SendTrig and OSCresponder or OSCresponderNode . See their individual helpfiles for details on their arguments and functionality. s = Server .default; s.boot; ( // this Synth ...