qualia_audio/features/framing/mod.rs
1//! Framing / overlap-add / ISTFT resynthesis (CPU reference path).
2//!
3//! - [`frame_count`] / [`cut_frame`] — explicit framing geometry and a
4//! caller-buffered frame cutter.
5//! - [`mod@overlap_add`] — sum pre-windowed frames back at a fixed hop (COLA).
6//! - [`mod@istft`] — inverse STFT via IFFT + weighted overlap-add (WOLA), normalised
7//! by the analysis·synthesis window envelope for exact reconstruction.
8//! - [`mod@griffin_lim`] — magnitude-only reconstruction by alternating projection.
9//!
10//! All hot paths are caller-buffered and zero-heap; the FFT and window primitives
11//! are reused from [`crate::features::fft`] and [`crate::features::window`].
12
13pub mod frame_cutter;
14pub mod griffin_lim;
15pub mod istft;
16pub mod overlap_add;
17
18pub use frame_cutter::{cut_frame, frame_count};
19pub use griffin_lim::griffin_lim;
20pub use istft::istft;
21pub use overlap_add::overlap_add;