Mercurial > hg > qm-dsp
diff dsp/signalconditioning/DFProcess.cpp @ 80:a5eae96a357c
* Fix idiotic bug that causes onset detector not to work as well as it did
author | cannam |
---|---|
date | Thu, 15 Oct 2009 16:09:13 +0000 |
parents | 769da847732b |
children | e5907ae6de17 |
line wrap: on
line diff
--- a/dsp/signalconditioning/DFProcess.cpp Mon Sep 14 13:01:44 2009 +0000 +++ b/dsp/signalconditioning/DFProcess.cpp Thu Oct 15 16:09:13 2009 +0000 @@ -92,7 +92,7 @@ double* scratch = new double[ m_length ]; - for( i = 0; i < m_winPre && index; i++) + for( i = 0; i < m_winPre; i++) { if (index >= m_length) break;