1 /*=============================================================================
3 // This software has been released under the terms of the GNU General Public
4 // license. See http://www.gnu.org/copyleft/gpl.html for details.
6 // Copyright 2001 Anders Johansson ajh@atri.curtin.edu.au
8 //=============================================================================
11 /* Calculates a number of window functions. The following window
12 functions are currently implemented: Boxcar, Triang, Hanning,
13 Hamming, Blackman, Flattop and Kaiser. In the function call n is
14 the number of filter taps and w the buffer in which the filter
15 coefficients will be stored.
19 # error "Never use <window.h> directly; include <dsp.h> instead"
25 extern void af_window_boxcar(int n
, _ftype_t
* w
);
26 extern void af_window_triang(int n
, _ftype_t
* w
);
27 extern void af_window_hanning(int n
, _ftype_t
* w
);
28 extern void af_window_hamming(int n
,_ftype_t
* w
);
29 extern void af_window_blackman(int n
,_ftype_t
* w
);
30 extern void af_window_flattop(int n
,_ftype_t
* w
);
31 extern void af_window_kaiser(int n
, _ftype_t
* w
,_ftype_t b
);