Function rg3d_sound::dsp::hann_window[][src]

pub fn hann_window(i: usize, sample_count: usize) -> f32
Expand description

Calculates single coefficient of Hann window. https://en.wikipedia.org/wiki/Hann_function