-
... e are a handful of techniques to expose the output of various UGens. SendTrig / OSCresponderNode SendTrig is originally intended to send a trigger message back to the client, so the client can take further action on the server. However, it ...
-
... an the client, i.e. the post messages by the server cannot be read locally. o = OSCresponderNode (s.addr, '/tr' , { arg time, resp, msg; msg.postln; }).add { Poll .ar( Impulse .ar(5), Line .ar(0, 1, 1), \test2 , 1234)}.play(s); { SinOsc .ar ...
-
... of that name is received from addr. args: time, theResponder, message note that OSCresponderNode evaluates its function in the system process. in order to access the application process (e.g. for GUI access ) use { ... }.defer ; Command pat ...
-
... omplexity to your code, but is in principle not an issue. (See OSCresponder and OSCresponderNode .) Some server abstraction objects such as Buffer provide for this automatically through 'action' functions which wait for completion before ex ...
-
... ; }); ) Recieving values, however is asynchronous, and requires either using an OSCresponderNode, or polling values. In this example a Routine polls values: ( w = Window ( "Frequency Monitor" , Rect (200, Window .screenBounds.height-200,300 ...
-
... 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 will send a tri ...
-
... i| Synth ( \sampleSource , [freq: ~midinotes[i].midicps, bufnum: buf]); }); }; OSCresponderNode (s.addr, '/n_end' , { |t, r, m| bufCount = bufCount - 1; if(bufCount == 0) { "done recording" .postln; r.remove; }; }).add; SynthDef ( \multiSa ...