Skip to main content

Module istft

Module istft 

Source
Expand description

Inverse STFT: resynthesise a time-domain signal from per-frame complex spectra via inverse FFT + weighted overlap-add (WOLA).

Reuses crate::features::fft::ifft_to_real for the per-frame inverse. Reconstruction is normalised by the running sum of the analysis·synthesis window product, so the output is exact wherever frames overlap (the NOLA condition) regardless of whether the window+hop strictly satisfies COLA — the standard robust ISTFT. Zero-heap hot path: every buffer is caller-owned; the spectra are inverse-transformed in place.

Functions§

istft
Inverse STFT of a run of complex spectra into a single time-domain signal.