Function spectrum_analyzer::windows::hann_window[][src]

pub fn hann_window(samples: &[f32]) -> Vec<f32>

Applies a Hann window (https://en.wikipedia.org/wiki/Window_function#Hann_and_Hamming_windows) to an array of samples.

Return value

New vector with Hann window applied to the values.