Mercurial > hg > silvet
changeset 163:6e9ddd07dc3c
Minor tidy
author | Chris Cannam |
---|---|
date | Tue, 20 May 2014 15:56:57 +0100 |
parents | 03ba9b25e0d0 |
children | 629c9525b815 |
files | src/Silvet.cpp |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Silvet.cpp Tue May 20 15:37:03 2014 +0100 +++ b/src/Silvet.cpp Tue May 20 15:56:57 2014 +0100 @@ -364,8 +364,6 @@ sum += filtered.at(i).at(j); } -// cerr << "sum: " << sum << endl; - if (sum < 1e-5) continue; EM em(&m_instruments[m_instrument], m_hqMode); @@ -376,8 +374,6 @@ const float *pitches = em.getPitchDistribution(); - //!!! note: check the CQ output (and most immediately, the sum values here) against the MATLAB implementation - for (int j = 0; j < processingNotes; ++j) { pitchMatrix[i][j] = pitches[j] * sum; }