Skip to main content

stft_magnitudes

Function stft_magnitudes 

Source
pub fn stft_magnitudes(spec: &[Vec<[f32; 2]>]) -> Vec<Vec<f32>>
Expand description

Per-frame one-sided magnitude spectrum: the first frame_size/2 + 1 bins (DC … Nyquist) of |X[k]| = sqrt(re² + im²).