pub unsafe extern "C" fn fvec_set_window(
    window: *mut fvec_t,
    window_type: *mut char_t
) -> uint_t
Expand description

set elements of a vector to window coefficients

\param window exsting ::fvec_t to use \param window_type type of the window to create

List of available window types: “rectangle”, “hamming”, “hanning”, “hanningz”, “blackman”, “blackman_harris”, “gaussian”, “welch”, “parzen”, “default”.

“default” is equivalent to “hanningz”.

References:

  • Window function on Wikipedia
  • Amalia de Götzen, Nicolas Bernardini, and Daniel Arfib. Traditional (?) implementations of a phase vocoder: the tricks of the trade. In Proceedings of the International Conference on Digital Audio Effects (DAFx-00), pages 37–44, Uni- versity of Verona, Italy, 2000. ( pdf)