Adds Step to a running count on every beat, or each time Trigger fires. Min, Max, and Limit decide what happens at the ends: keep going, hold, loop back, or turn around.
Inputs
Port
Type
Default
Range
Description
Trigger
Scalar
0.0
0–1
With Count On set to Trigger, each rise through 0.5 counts one Step
Reset
Scalar
0.0
0–1
While at or above 0.5, holds the count at Min, or at Max when Step is negative. Counting resumes once it falls
Step
Scalar
1.0
any
Added on each count. Make it negative to count down
Min
Scalar
0.0
any
Lowest count. The count starts here, or at Max when Step is negative
Max
Scalar
7.0
any
Highest count
Outputs
Port
Type
Description
Count
Scalar
The current count
Controls
Count On: Beat (the default) counts once on every beat of the global BPM clock. Trigger counts each time Trigger rises through 0.5, whether it's wired or set by MIDI, OSC, or a macro.
Limit: what happens at Min and Max. Defaults to Loop.
Off: keeps counting past them.
Clamp: holds at Min or Max.
Loop: jumps back to the other end.
Zigzag: turns around and counts the other way.
Ideas
Wire Count into a Polygon's Sides with Min 3 and Max 8 for a shape that gains a side on every beat.
Feed a Duplicator's Amount with Min 1 and Limit on Clamp so copies build up beat by beat, then pulse Reset from a MIDI pad to start over.
Set Step to 0.25, Min to 0, and Max to 0.75 for four evenly spaced values, for example quarter turns into From Polar's Phase.
Switch Limit to Zigzag for a value that climbs, then steps back down.
Set Count On to Trigger and fire it from a MIDI pad to advance one step per hit.
Tips
The count starts at Min (Max when Step is negative). It starts over when the clip is triggered again, for example by a new cue, or when the timeline jumps back.
Reset holds rather than fires once. A short pulse starts the count over; keep it high to park the count at its start, and counting picks up on the first beat or Trigger after it drops.
A MIDI note arrives as its velocity scaled to 0–1, so notes softer than half velocity need scaling up to count.
Related
Map Range: same Limit modes, and remaps the count to any range