beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

TriggerCounterLoop Op

Ops.Trigger.TriggerCounterLoop


TriggerCounterLoop
Namespace: Ops.Trigger

Op author: andro

Increments with each trigger and loops depending on min and max loop values.


summary (oneliner)

Increments with each trigger and loops depending on min and max loop values.
Can also work with negative numbers.
If min is greater than max then it decrements instead of incrementing

Use an op like TriggerLimiter to slow down the count through the loop.
You can also multiply the output by a very small number and use mainloop to create interesting patterns as well.



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

trigger in (Trigger)

Trigger in, increments or decrements the current count


reset (Trigger)

Sets current number to minimum


Loop min (integer /Number)

Minimum value, loop start number


Loop max (integer /Number)

Maximum value, loop end number


Outputs

trigger out (Trigger)

Trigger out


current count (Number)

Current number in loop


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

TriggerCounterLoop example file

Open Example In Editor


Patches using TriggerCounterLoop

Changelog


add current count in extended title
2022-02-03 - stephan