From: Paul Brossier Date: Thu, 17 Sep 2009 17:30:15 +0000 (+0200) Subject: filterbank.c: use base 10 logarithm X-Git-Tag: bzr2git~341 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=14a299e18e7cf41c27c930350e4f2507b430d8ec;p=aubio.git filterbank.c: use base 10 logarithm --- 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]); } }