Mercurial > hg > silvet
diff src/Silvet.cpp @ 77:4422cf710cf4 timing
Some testing results
author | Chris Cannam |
---|---|
date | Tue, 06 May 2014 11:21:28 +0100 |
parents | f3bf6503e6c6 |
children | 5314d3361dfb |
line wrap: on
line diff
--- a/src/Silvet.cpp Tue May 06 11:17:08 2014 +0100 +++ b/src/Silvet.cpp Tue May 06 11:21:28 2014 +0100 @@ -526,7 +526,7 @@ while (int(active.size()) < polyphony) { --si; if (si->first < threshold) break; -// cerr << si->second << " : " << si->first << endl; + cerr << si->second << " : " << si->first << endl; active[si->second] = si->first; if (si == strengths.begin()) break; } @@ -587,7 +587,7 @@ int velocity = maxStrength * 2; if (velocity > 127) velocity = 127; -// cerr << "Found a genuine note, starting at " << columnDuration * start << " with duration " << columnDuration * duration << endl; + cerr << "Found a genuine note, starting at " << columnDuration * start << " with duration " << columnDuration * duration << endl; Feature nf; nf.hasTimestamp = true;