Skip to main content

Module window

Module window 

Source
Expand description

Window functions (periodic / DFT-even convention) and application.

Each generator fills a caller-supplied &mut [f32] of the desired length; apply_window multiplies a sample frame by a window in place.

Re-exports§

pub use apply::apply_window;
pub use blackman::blackman_window;
pub use blackman_harris::blackman_harris_window;
pub use hamming::hamming_window;
pub use hann::hann_window;

Modules§

apply
Elementwise window application (length-checked, in place).
blackman
Blackman window (periodic / DFT-even convention).
blackman_harris
4-term Blackman–Harris window (periodic / DFT-even convention).
hamming
Hamming window (periodic / DFT-even convention).
hann
Hann window (periodic / DFT-even convention).