From 66a31d55d10a65c7d293a7cfd9e79992dbfb6439 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Wed, 10 Jan 2007 13:16:55 +0000 Subject: Rationalised spectral data format. Added spectral_mean et al --- xtract/xtract_macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtract/xtract_macros.h') diff --git a/xtract/xtract_macros.h b/xtract/xtract_macros.h index ca8d924..9e72a41 100644 --- a/xtract/xtract_macros.h +++ b/xtract/xtract_macros.h @@ -35,7 +35,7 @@ extern "C" { #define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MAX(a, b) ((a) > (b) ? (a) : (b)) #define NEEDS_FFTW printf("LibXtract must be compiled with fftw support to use this function.\n") -#define CHECK_SR if(!sr) sr = 44100.f +#define CHECK_q if(!q) q = 44100.f / N #define VERY_SMALL_NUMBER 1e-20 #define LOG_LIMIT VERY_SMALL_NUMBER -- cgit v1.2.3