changeset 15:6f7fc832cb44 matthiasm-plugin

lowered amplitude threshold
author matthiasm
date Fri, 02 Jul 2010 04:07:18 +0000
parents 75fb80542cd2
children f679cd0e1d62
files NNLSChroma.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/NNLSChroma.cpp	Fri Jul 02 03:55:37 2010 +0000
+++ b/NNLSChroma.cpp	Fri Jul 02 04:07:18 2010 +0000
@@ -948,7 +948,7 @@
 		if (maxmag < magnitude[iBin]) maxmag = magnitude[iBin];
 	}
 	
-	if (maxmag < 12) {
+	if (maxmag < 10) {
 		// cerr << "timestamp " << timestamp << ": very low magnitude, setting magnitude to all zeros" << endl;
 		for (size_t iBin = 0; iBin < m_blockSize/2; iBin++) {
 			magnitude[iBin] = 0;