PulseCount:
Filter:
Classes | UGens > Triggers

PulseCount : UGen : AbstractFunction : Object

Pulse counter.
Source: Trig.sc
Subclasses: SetResetFF

Description

Each trigger increments a counter which is output as a signal.

Class Methods

PulseCount.ar(trig: 0.0, reset: 0.0)

PulseCount.kr(trig: 0.0, reset: 0.0)

Arguments:

trig

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

reset

Resets the counter to zero when triggered.

Inherited class methods

Instance Methods

Inherited instance methods

Examples