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

Repeat_v2 Op

Namespace: Ops.Trigger

Op author: pandur

Test Patches: 6 Tests

Triggers all ops below x times (for loop / while)

All ops connected to the Trigger port will be triggered Num times.

this op works like a classic for loop


num is 5

direction forward: the index will go from 0 to 4 0,1,2,3,4

direction backward: the index will go from 4 to 0 4,3,2,1,0


Execute (Trigger)
Repeats (integer /Number)

How often the loop should be executed

Direction index (integer /Number)


Next (Trigger)
index (Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentation 


The repeat op is like a traditional For loop.
It allows you to trigger all the ops underneath a certain amount of times.
Each new trigger has an index number associated with it which allows each repeat cycle to be controlled separately from each other.
In this example the index is used to change the X position of each cube.
This same number is then mapped to a 0-1 range to change the color of the cubes

Youtube Video Tutorial

Patches using Repeat_v2

  • Examples (10)
  • Public
  • My Patches


created op
2019-10-29 - pandur