3 This file is part of a program that implements a Software-Defined Radio.
5 Copyright (C) 2004 by Frank Brickle, AB2KT and Bob McGwier, N4HY
6 Implemented from code by Bill Schottstaedt of Snd Editor at CCRMA
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 The authors can be reached by email at
30 The DTTS Microwave Society
44 /* #define RECTANGULAR_WINDOW 1
45 #define HANNING_WINDOW 2
46 #define WELCH_WINDOW 3
47 #define PARZEN_WINDOW 4
48 #define BARTLETT_WINDOW 5
49 #define HAMMING_WINDOW 6
50 #define BLACKMAN2_WINDOW 7
51 #define BLACKMAN3_WINDOW 8
52 #define BLACKMAN4_WINDOW 9
53 #define EXPONENTIAL_WINDOW 10
54 #define RIEMANN_WINDOW 11 */
56 typedef enum _windowtype {
68 BLACKMANHARRIS_WINDOW,
71 extern double *makewindow(Windowtype type, int size, double *window);
72 //extern char *window_name(int n);
73 extern double sqr(double x);