diff NNLSBase.cpp @ 115:526250b06fe0 monophonicness

some comments, some variable renamings
author Matthias Mauch <mail@matthiasmauch.net>
date Thu, 31 Mar 2011 14:26:53 +0100
parents 846b552ea3b0
children 7a8956e903e1
line wrap: on
line diff
--- a/NNLSBase.cpp	Thu Mar 31 13:51:45 2011 +0100
+++ b/NNLSBase.cpp	Thu Mar 31 14:26:53 2011 +0100
@@ -51,7 +51,7 @@
     m_rollon(0.0),
     m_boostN(0.1),
 	m_s(0.7),
-	m_useHarte(0),
+	m_harte_syntax(0),
 	sinvalues(0),
 	cosvalues(0)
 {
@@ -153,8 +153,8 @@
 
     ParameterDescriptor d0;
     d0.identifier = "rollon";
-    d0.name = "spectral roll-on";
-    d0.description = "Consider the cumulative energy spectrum (from low to high frequencies). All bins below the first bin whose cumulative energy exceeds the quantile [spectral roll on] x [total energy] will be set to 0. A value of 0 means that no bins will be changed.";
+    d0.name = "bass noise threshold";
+    d0.description = "Consider the cumulative energy spectrum (from low to high frequencies). All bins below the first bin whose cumulative energy exceeds the quantile [bass noise threshold] x [total energy] will be set to 0. A threshold value of 0 means that no bins will be changed.";
     d0.unit = "%";
     d0.minValue = 0;
     d0.maxValue = 5;
@@ -262,7 +262,7 @@
     }
     
 	if (identifier == "usehartesyntax") {
-		return m_useHarte;
+		return m_harte_syntax;
 	}
 
     return 0;
@@ -325,7 +325,7 @@
     }
 
 	if (identifier == "usehartesyntax") {
-		m_useHarte = value;
+		m_harte_syntax = value;
 	}
 }