Skip to main content

istft

Function istft 

Source
pub fn istft(
    frames: &Array2<Complex<f64>>,
    window: &[f64],
    hop: usize,
) -> Result<Vec<f64>, ErrorsJSL>
Expand description

Inverts stft by weighted overlap-add, x[n] = Σ_t w[n − t·hop] y_t[n − t·hop] / Σ_t w², the least-squares signal for possibly modified frames (Griffin and Lim). Exact for an unmodified STFT wherever Σ w² > 0; samples not covered by any frame are zero.