PulseDivider:
Filter:
Classes | UGens > Triggers

PulseDivider : UGen : AbstractFunction : Object

Pulse divider.
Source: Trig.sc

Description

Outputs one impulse each time it receives a certain number of triggers at its input.

Class Methods

PulseDivider.ar(trig: 0.0, div: 2.0, start: 0.0)

PulseDivider.kr(trig: 0.0, div: 2.0, start: 0.0)

Arguments:

trig

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

div

Number of triggers to count before outputting an impulse.

start

Starting value for the trigger count. This lets you start somewhere in the middle of a count. If start is negative it adds that many counts to the first time the output is triggered.

Inherited class methods

Instance Methods

Inherited instance methods

Examples