# HG changeset patch # User cannam # Date 1158764272 0 # Node ID e8ecff3a900185e78bb6385d37949239c8e31f37 # Parent 6891b25dca1a4e4f7c863f126512f2e1dc2f5ae0 * fix typo diff -r 6891b25dca1a -r e8ecff3a9001 examples/PercussionOnsetDetector.cpp --- 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;