final case classTrig(rate: Rate, in: GE, dur: GE = synth.this.GE.const(0.1)) extends SingleOut with Product with Serializable
A UGen which holds and outputs an input value for a given duration when
triggered.
When a trigger occurs at the input, the input value is sampled and output for
the specified duration, otherwise zero is output. When a new trigger occurs
while this ugens outputs 1, the hold-time is reset to the duration.
in
the trigger. This can be any signal. A trigger happens
when the signal changes from non-positive to positive.
dur
the duration for which the ugens holds the value of the
input signal when triggered
A UGen which holds and outputs an input value for a given duration when triggered.
When a trigger occurs at the input, the input value is sampled and output for the specified duration, otherwise zero is output. When a new trigger occurs while this ugens outputs 1, the hold-time is reset to the duration.
the trigger. This can be any signal. A trigger happens when the signal changes from non-positive to positive.
the duration for which the ugens holds the value of the input signal when triggered
Trig1