formats: clarify setting of reverse_bytes
[sox.git] / src / noisered.h
blob5d1ec11eb77439f3f6751e9b9b6f5ca610776f9c
1 /* noiseprof.h - Headers for SoX Noise Profiling Effect.
3 * Written by Ian Turner (vectro@vectro.org)
4 * Copyright 1999 Ian Turner and others
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.
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.
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
21 #include "sox_i.h"
22 #include <math.h>
24 #define WINDOWSIZE 2048
25 #define HALFWINDOW (WINDOWSIZE / 2)
26 #define FREQCOUNT (HALFWINDOW + 1)