Stepper:
Filter:
Classes | UGens > Triggers

Stepper : UGen : AbstractFunction : Object

Pulse counter.
Source: Trig.sc

Description

Each trigger increments a counter which is output as a signal. The counter wraps between min and max .

Class Methods

Stepper.ar(trig: 0, reset: 0, min: 0, max: 7, step: 1, resetval)

Stepper.kr(trig: 0, reset: 0, min: 0, max: 7, step: 1, resetval)

Arguments:

trig

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

reset

Resets the counter to resetval when triggered.

min

Minimum value of the counter.

max

Maximum value of the counter.

step

Step value each trigger. May be negative.

resetval

Value to which the counter is reset when it receives a reset trigger. If nil, then this is patched to

min .

Inherited class methods

Instance Methods

Inherited instance methods

Examples