projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afc584d
)
filterbank.c: use base 10 logarithm
author
Paul Brossier
<piem@piem.org>
Thu, 17 Sep 2009 17:30:15 +0000
(19:30 +0200)
committer
Paul Brossier
<piem@piem.org>
Thu, 17 Sep 2009 17:30:15 +0000
(19:30 +0200)
src/spectral/filterbank.c
patch
|
blob
|
history
diff --git
a/src/spectral/filterbank.c
b/src/spectral/filterbank.c
index 516b30b75505196e19e121f35cec1a03d7b9403a..e97a18ecb51c208512c3a1352a15267098cde26a 100644
(file)
--- 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] = LOG
10
(out->data[i][fn]);
}
}