Mercurial > hg > nnls-chroma
diff NNLSBase.cpp @ 112:846b552ea3b0 monophonicness
Harte syntax as option in Chordino
author | Matthias Mauch <mail@matthiasmauch.net> |
---|---|
date | Tue, 29 Mar 2011 15:12:19 +0100 |
parents | 9d81703dcf6e |
children | 526250b06fe0 |
line wrap: on
line diff
--- a/NNLSBase.cpp Tue Mar 29 13:56:02 2011 +0100 +++ b/NNLSBase.cpp Tue Mar 29 15:12:19 2011 +0100 @@ -51,6 +51,7 @@ m_rollon(0.0), m_boostN(0.1), m_s(0.7), + m_useHarte(0), sinvalues(0), cosvalues(0) { @@ -260,6 +261,10 @@ return m_useHMM; } + if (identifier == "usehartesyntax") { + return m_useHarte; + } + return 0; } @@ -318,6 +323,10 @@ if (identifier == "rollon") { m_rollon = value; } + + if (identifier == "usehartesyntax") { + m_useHarte = value; + } } NNLSBase::ProgramList