FrameBuffer¶
streaming mode | Standard category
Inputs¶
frame
(vector_real) - the input audio frame
Outputs¶
frame
(vector_real) - the buffered audio frame
Parameters¶
bufferSize
(integer ∈ (0, ∞), default = 2048) :the buffer size
zeroPadding
(bool ∈ {true, false}, default = true) :initialize the buffer with zeros (output zero-padded buffer frames if true, otherwise output empty frames until a full buffer is accumulated)
Description¶
This algorithm buffers input non-overlapping audio frames into longer overlapping frames with a hop sizes equal to input frame size.
In standard mode, each compute() call updates and outputs the gathered buffer.
Input frames can be of variate length. Input frames longer than the buffer size will be cropped. Empty input frames will raise an exception.
Source code¶
See also¶
FrameBuffer (standard)