WrapSummer:
Filter:
sc3-plugins/Classes (extension) | UGens > Triggers

WrapSummer
ExtensionExtension

Pulse counter with floating point steps

Description

WrapSummer, based on Stepper, but allowing floats as inputs, so that you can increment a sum with each step. WrapSummer differs from Summer in that it wraps around min and max values.

Class Methods

.ar

.kr

Arguments:

trig

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

step

The step size. Can be a Float

min

Minimum value of the counter.

max

Maximum value of the counter.

reset

Resets the counter to resetval when triggered.

resetval

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

Examples