# HG changeset patch # User Chris Cannam # Date 1400597817 -3600 # Node ID 6e9ddd07dc3c748434dc51c11aed31e8d46ce6e8 # Parent 03ba9b25e0d07c13cd02b2c5843c0140783819d9 Minor tidy diff -r 03ba9b25e0d0 -r 6e9ddd07dc3c src/Silvet.cpp --- 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; }