Mercurial > hg > nnls-chroma
comparison 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 |
comparison
equal
deleted
inserted
replaced
111:96cea9c05046 | 112:846b552ea3b0 |
---|---|
49 m_tuneLocal(0.0), | 49 m_tuneLocal(0.0), |
50 m_doNormalizeChroma(0), | 50 m_doNormalizeChroma(0), |
51 m_rollon(0.0), | 51 m_rollon(0.0), |
52 m_boostN(0.1), | 52 m_boostN(0.1), |
53 m_s(0.7), | 53 m_s(0.7), |
54 m_useHarte(0), | |
54 sinvalues(0), | 55 sinvalues(0), |
55 cosvalues(0) | 56 cosvalues(0) |
56 { | 57 { |
57 if (debug_on) cerr << "--> NNLSBase" << endl; | 58 if (debug_on) cerr << "--> NNLSBase" << endl; |
58 // make the *note* dictionary matrix | 59 // make the *note* dictionary matrix |
258 | 259 |
259 if (identifier == "useHMM") { | 260 if (identifier == "useHMM") { |
260 return m_useHMM; | 261 return m_useHMM; |
261 } | 262 } |
262 | 263 |
264 if (identifier == "usehartesyntax") { | |
265 return m_useHarte; | |
266 } | |
267 | |
263 return 0; | 268 return 0; |
264 | 269 |
265 } | 270 } |
266 | 271 |
267 void | 272 void |
316 } | 321 } |
317 | 322 |
318 if (identifier == "rollon") { | 323 if (identifier == "rollon") { |
319 m_rollon = value; | 324 m_rollon = value; |
320 } | 325 } |
326 | |
327 if (identifier == "usehartesyntax") { | |
328 m_useHarte = value; | |
329 } | |
321 } | 330 } |
322 | 331 |
323 NNLSBase::ProgramList | 332 NNLSBase::ProgramList |
324 NNLSBase::getPrograms() const | 333 NNLSBase::getPrograms() const |
325 { | 334 { |