1 /* noiseprof.h - Headers for SoX Noise Profiling Effect.
2  *
3  * Written by Ian Turner (vectro@vectro.org)
4  * Copyright 1999 Ian Turner and others
5  *
6  * This library is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation; either version 2.1 of the License, or (at
9  * your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with this library; if not, write to the Free Software Foundation,
18  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19  */
20 
21 #include "sox_i.h"
22 #include <math.h>
23 
24 #define WINDOWSIZE 2048
25 #define HALFWINDOW (WINDOWSIZE / 2)
26 #define FREQCOUNT  (HALFWINDOW + 1)
27