iterArr
yield values from an array on successive calls.
Syntax
Usage
iterArr yields values in sequential order from an array. Each successive evaluation increments an index to return the next value in the array. When the end of the array is reached, the index wraps around to the beginning of the array.
A channel id stores the index of where iterArr is up to. The Channel name can be anything as long as it is unique.
Outputs and arguments
iout -- The output value yielded from this evaluation.
Sid -- A channel name ID. Should be unique.
idirection (optional, default=1) -- The direction of the iteration through the array. idirection can be fractional, where values will be repeated until the index increments to the next slot in the array. idirection can be negative, which will reverse the direction of the index iteration.
ist(optional, default=0) -- The index wrap point for the start of the array. When greater than zero, this effectively slices off the start of the array.
iend(optional, default=array length) -- The index wrap point for the end of the array. This effectively slices off the end of the array. iend can be negative, in which case it counts backwards from the end of the array.
Example
See the example for tempo.orc