2 summary:: Timed trigger.
4 categories:: UGens>Triggers
9 When a nonpositive to positive transition occurs at the input, Trig1
10 outputs 1 for the specified duration, otherwise outputs 0.
19 Trigger. Trigger can be any signal. A trigger happens when the
20 signal changes from non-positive to positive.
25 Duration of the trigger output.
32 { Trig1.ar(Dust.ar(1), 0.2) * FSinOsc.ar(800, 0.5) }.play
35 To create a fixed duration gate
38 SynthDef("trig1",{ arg dur=0.125;
40 gate = Trig1.kr(1.0,dur);
44 Env([0,0.1,0.1,0],[0.01,1.0,0.01],[-4,4],2),
53 s.sendBundle(0.05,["s_new", "trig1" ,-1,0,0,0,rrand(0.02,0.25)]);
60 This should sound like a continous sine wave, although it is actually a series of 0.25 second synths.
64 gate = Trig1.kr(1.0,0.25);
68 Env([0,0.1,0.1,0],[0.01,1.0,0.01],[-4,4],2),
77 s.sendBundle(0.05,["s_new", "trig1" ,-1]);