Mercurial > hg > nnls-chroma
diff NNLSChroma.cpp @ 111:96cea9c05046 monophonicness
changed chord.dict for experiment
author | Matthias Mauch <mail@matthiasmauch.net> |
---|---|
date | Tue, 29 Mar 2011 13:56:02 +0100 |
parents | 2c4ee4d8e805 |
children | 9f7ba52207dc |
line wrap: on
line diff
--- a/NNLSChroma.cpp Mon Mar 28 16:04:51 2011 +0100 +++ b/NNLSChroma.cpp Tue Mar 29 13:56:02 2011 +0100 @@ -250,7 +250,7 @@ consonancemean += consonancepattern[i]/nConsonance; } - cerr << "consonancemean = " << consonancemean << endl; + // cerr << "consonancemean = " << consonancemean << endl; for (int i = 0; i< nConsonance; ++i) { consonancepattern[i] -= consonancemean; @@ -474,8 +474,8 @@ // note_sum += note[iPitchClass]; } // float note_monophonicness = 12*note_max/(12*note_max+note_sum); - cerr << note_max << endl; - cerr << note_runnerup << endl << endl; + // cerr << note_max << endl; + // cerr << note_runnerup << endl << endl; float note_monophonicness = 0.5; if (note_max > 0) { note_monophonicness = (note_max / (note_max+note_runnerup) - 0.5) * 2;