Mercurial > hg > qm-dsp
diff dsp/tempotracking/TempoTrackV2.cpp @ 57:d241e7701c0c
* remove some debug output
author | cannam |
---|---|
date | Fri, 27 Feb 2009 13:07:22 +0000 |
parents | a0f987c06bec |
children | c3cdb404f807 |
line wrap: on
line diff
--- a/dsp/tempotracking/TempoTrackV2.cpp Fri Feb 27 10:23:08 2009 +0000 +++ b/dsp/tempotracking/TempoTrackV2.cpp Fri Feb 27 13:07:22 2009 +0000 @@ -329,7 +329,7 @@ lastind = i*step+j; beat_period[lastind] = bestpath[i]; } - std::cerr << "bestpath[" << i << "] = " << bestpath[i] << " (used for beat_periods " << i*step << " to " << i*step+step-1 << ")" << std::endl; +// std::cerr << "bestpath[" << i << "] = " << bestpath[i] << " (used for beat_periods " << i*step << " to " << i*step+step-1 << ")" << std::endl; } //fill in the last values... @@ -442,7 +442,7 @@ cumscore[i] = alpha*vv + (1.-alpha)*localscore[i]; backlink[i] = i+prange_min+xx; - std::cerr << "backlink[" << i << "] <= " << backlink[i] << std::endl; +// std::cerr << "backlink[" << i << "] <= " << backlink[i] << std::endl; } // STARTING POINT, I.E. LAST BEAT.. PICK A STRONG POINT IN cumscore VECTOR @@ -461,10 +461,10 @@ // BACKTRACKING FROM THE END TO THE BEGINNING.. MAKING SURE NOT TO GO BEFORE SAMPLE 0 i_vec_t ibeats; ibeats.push_back(startpoint); - std::cerr << "startpoint = " << startpoint << std::endl; +// std::cerr << "startpoint = " << startpoint << std::endl; while (backlink[ibeats.back()] > 0) { - std::cerr << "backlink[" << ibeats.back() << "] = " << backlink[ibeats.back()] << std::endl; +// std::cerr << "backlink[" << ibeats.back() << "] = " << backlink[ibeats.back()] << std::endl; int b = ibeats.back(); if (backlink[b] == b) break; // shouldn't happen... haha ibeats.push_back(backlink[b]);