RingBuffer Op
Array of fixed size, index is automatically incremented and restarts after reaching the end
Summary (oneliner)
See also wikipedia.org/wiki/Circular_buffer.
Full Name
- Ops.Array.RingBuffer
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch ringbuffer
INPUT PORTS
Value (Number)
The value to add
Write (Trigger)
Writes the value to the array
Length (Number: integer)
The length of the array
Reset Index (Trigger)
Resets the index, so the next time Write
is triggered it will write to the beginning of the buffer
OUTPUT PORTS
Result (Array)
The output array
Index (Number)
The index of the last element which has been written to the buffer