SynthLab SDK
|
A customized circular buffer for the wave sequencer object. This is identical to the CircularBuffer object in the FX plugin book. More...
#include <sequencer.h>
Public Member Functions | |
JumpTable () | |
empty constructor | |
~JumpTable () | |
empty constructor | |
void | flushBuffer () |
flush jump table by resetting all values to 0.0 | |
void | reset () |
reset the read-index to head of buffer | |
void | createCircularBuffer (unsigned int _bufferLength) |
Create a buffer based on a target maximum in SAMPLES do NOT call from realtime audio thread; do this prior to any processing. | |
void | createCircularBufferPowerOfTwo (unsigned int _bufferLengthPowerOfTwo) |
Create a buffer based on a target maximum in SAMPLESwhere the size is pre-calculated as a power of two. | |
void | writeBuffer (uint32_t index, T input) |
write a value into the buffer; this overwrites the previous oldest value in the buffer | |
T | readBufferCircular () |
read output of delay line | |
T | readBuffer (int index) |
read an arbitrary location that is index samples old | |
A customized circular buffer for the wave sequencer object. This is identical to the CircularBuffer object in the FX plugin book.