Docs

ScriptRingBuffer


Class methods

createPath

Creates a path objects scaled to the given bounds and sourceRange

ScriptRingBuffer.createPath(var dstArea, var sourceRange, var normalisedStartValue)



getReadBuffer

Returns a reference to the internal read buffer.

ScriptRingBuffer.getReadBuffer()



getResizedBuffer

Resamples the buffer to a fixed size.

ScriptRingBuffer.getResizedBuffer(int numDestSamples, int resampleMode)



setActive

Enables or disables the ring buffer.

ScriptRingBuffer.setActive(bool shouldBeActive)



setRingBufferProperties

Sets the ring buffer properties from an object (Use the JSON from the Edit Properties popup).

ScriptRingBuffer.setRingBufferProperties(var propertyData)