Trig:
Filter:
Classes | UGens > Triggers

Trig : Trig1 : UGen : AbstractFunction : Object

Timed trigger.
Source: Trig.sc

Description

When a nonpositive to positive transition occurs at the input, Trig outputs the level of the triggering input for the specified duration, otherwise it outputs zero.

Class Methods

Trig.ar(in: 0.0, dur: 0.1)

From superclass: Trig1

Trig.kr(in: 0.0, dur: 0.1)

From superclass: Trig1

Arguments:

in

Trigger. Trigger can be any signal. A trigger happens when the signal changes from non-positive to positive.

dur

Duration of the trigger output.

Inherited class methods

Instance Methods

Inherited instance methods

Examples