2 summary:: Send a trigger message from the server back to the client.
3 categories:: UGens>Triggers
4 related:: Classes/OSCFunc
9 On receiving a trigger (a non-positive to positive transition), send a
10 trigger message from the server back to the client.
13 The trigger message sent back to the client is this:
17 ## /tr || A trigger message.
21 ## int: || Trigger ID.
23 ## float: || Trigger value.
28 This command is the mechanism that synths can use to trigger events in
29 clients. The node ID is the node that is sending the trigger. The trigger
30 ID and value are determined by inputs to the SendTrig unit generator
31 which is the originator of this message.
45 An integer that will be passed with the trigger message. This is
46 useful if you have more than one SendTrig in a SynthDef.
51 A UGen or float that will be polled at the time of trigger, and
52 its value passed with the trigger message.
63 SynthDef("help-SendTrig",{
64 SendTrig.kr(Dust.kr(1.0),0,0.9);
67 // register to receive this message
68 o = OSCFunc({ arg msg, time;
73 Synth("help-SendTrig");