Skip to main content

Module overlap_add

Module overlap_add 

Source
Expand description

Overlap-add (OLA) reconstruction: sum a sequence of (already-windowed) frames back into a contiguous signal at a fixed hop.

Zero-heap: the accumulation writes directly into a caller-owned out buffer. Frames are supplied pre-windowed and concatenated (num_frames × frame_size floats); no window is applied here — this is the pure add stage, so it works for any analysis/synthesis window the caller chose. With a COLA-satisfying window+hop (e.g. periodic Hann at hop = frame/2) the interior envelope is flat.

Functions§

overlap_add
Overlap-add frames into out with stride hop.