changeset 37:e8ecff3a9001

* fix typo
author cannam
date Wed, 20 Sep 2006 14:57:52 +0000
parents 6891b25dca1a
children 7d237da42772
files examples/PercussionOnsetDetector.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/examples/PercussionOnsetDetector.cpp	Wed Sep 20 14:00:09 2006 +0000
+++ b/examples/PercussionOnsetDetector.cpp	Wed Sep 20 14:57:52 2006 +0000
@@ -250,7 +250,7 @@
 
     if (m_dfMinus2 < m_dfMinus1 &&
         m_dfMinus1 >= count &&
-        m_dfMinus1 > (m_sensitivity * m_blockSize) / 200) {
+        m_dfMinus1 > ((100 - m_sensitivity) * m_blockSize) / 200) {
 
         Feature onset;
         onset.hasTimestamp = true;