olabufferMiscellaneousolabufferolabuffer
Sum overlapping frames of audio as k-rate arrays and read as an audio signal
DescriptionPlugin opcode in framebuffer.olabuffer This opcode takes 1 dimensional k-rate arrays that contain sequential frames of audio and sums them based on an overlap factor resulting in an audio signal output. This is useful for frame based audio processing such as spectral analysis/synthesis.
Syntaxaout olabuffer kin, ioverlapInitializationioverlap -- The amount of overlaps per k-array input frame sample size. For example for an input window size of 1024, and a hop size of 256 the overlap factor would be 4. The overlap factor must be larger than or equal to ksmps and must also be an integer multiple of the input k-rate array sample count.
Performanceaout -- The resulting audio signal from the added input frames.
kin -- A k-rate array containing sequential frames of audio.
Examples
Here is a simple example of the olabuffer opcode. It uses the file framebuffer.csd.
Example of the olabuffer opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See AlsoArray-based spectral opcodesCreditsAuthor: Edward Costello;NUIM, 2015New in version 6.06