From 14a299e18e7cf41c27c930350e4f2507b430d8ec Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 17 Sep 2009 19:30:15 +0200 Subject: [PATCH] filterbank.c: use base 10 logarithm --- src/spectral/filterbank.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spectral/filterbank.c b/src/spectral/filterbank.c index 516b30b7..e97a18ec 100644 --- a/src/spectral/filterbank.c +++ b/src/spectral/filterbank.c @@ -83,7 +83,7 @@ aubio_filterbank_do (aubio_filterbank_t * f, cvec_t * in, fvec_t * out) out->data[i][fn] = MAX (VERY_SMALL_NUMBER, out->data[i][fn]); /* compute logarithm */ - out->data[i][fn] = LOG (out->data[i][fn]); + out->data[i][fn] = LOG10 (out->data[i][fn]); } } -- 2.26.2