-
SendTrig send a value from the server to all notified clients On receiving a trigger (a non-positive to positive transition), send a trigger message from the server back to the client. SendTrig.kr( input, id, value ) input the trigger id an ...
-
... ame. values array of ugens, or valid ugen inputs replyID integer id (similar to SendTrig ) A message is sent to all notified clients. see Server See also: SendTrig . cmdName int - node ID int - reply ID ... floats - values. ( { SendReply .k ...
-
... msg.postln }).add; o.remove; Listening to data from the server // example from SendTrig ( s = Server .local; s.boot; s.notify; ) ( SynthDef ( "help-SendTrig" ,{ SendTrig .kr( Dust .kr(1.0), 0, 0.9); }).send(s); // register to receive this ...
-
... t responder. For example /tr commands, which are generated on the server by the SendTrig Ugen create an OSC packet consisting of: [ /tr, nodeID, triggerID, value] This array actually specifies the source of value : [ /tr, nodeID, triggerID] ...
-
... Clock. t.pause; // 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; ( ...
-
... and looks for a transition from < 0.2 // to > 0.2 SynthDef ( "help-> trig" , { SendTrig .kr( Amplitude .kr( SoundIn .ar(0)) > 0.2); }).play(s); // responder to trigger synth OSCresponderNode (s.addr, '/tr' ,{ "triggered" .postln; Synth .ne ...
-
... and looks for a transition from > 0.2 // to < 0.2 SynthDef ( "help-< trig" , { SendTrig .kr( Amplitude .kr( SoundIn .ar(0)) <= 0.2); }).play(s); // responder to trigger synth OSCresponderNode (s.addr, '/tr' ,{ "triggered" .postln; Synth .n ...
-
... and looks for a transition from < 0.2 // to > 0.2 SynthDef ( "help->= trig" , { SendTrig .kr( Amplitude .kr( SoundIn .ar(0)) >= 0.2); }).play(s); // responder to trigger synth OSCresponderNode (s.addr, '/tr' ,{ "triggered" .postln; Synth .n ...
-
... and looks for a transition from > 0.2 // to < 0.2 SynthDef ( "help-<= trig" , { SendTrig .kr( Amplitude .kr( SoundIn .ar(0)) <= 0.2); }).play(s); // responder to trigger synth OSCresponderNode (s.addr, '/tr' ,{ "triggered" .postln; Synth .n ...
-
... tions. There 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. H ...