![]() |
| jit.cycle | Cycle messages through outputs |
| Attributes: |
| Name | Type | Description |
| hi | int | Outlet high limit (default = rightmost outlet) Outlets with indices higher than the value of the hi attribute are ignored during routing. Outlet indices begin numbering at 0. |
| index | int | The current outlet |
| lo | int | Outlet low limit (default = 0 (leftmost outlet)) Outlets with indices lower than the value of the lo attribute are ignored during routing. Outlet indices begin numbering at 0. |
| mode | int |
Cycle mode (default = 0 (left to right)) 0 = left to right (from lo to hi) 1 = right to left (from hi to lo) 2 = pendulum mode, starting from lo, passing sequentially to hi, and then back to lo |
| Messages: |
| anything |
| Any message sent to the jit.cycle object is sent out the next outlet in sequence. |
| bang |
| Any bang message sent to the jit.cycle object is sent out the next outlet in sequence. |
| float |
| Any float sent to the jit.cycle object is sent out the next outlet in sequence. |
| int |
| Any int sent to the jit.cycle object is sent out the next outlet in sequence. |
| list |
| Any list sent to the jit.cycle object is sent out the next outlet in sequence. |
| reset |
| Causes the index to jump to either the lo or hi value, depending on the current cycle mode setting (mode). |
| Example: |

| See Also: |
| cycle, jit.reverse, router |