Mercurial > hg > beatroot-vamp
diff BeatRootProcessor.h @ 12:59520cd6abac
Debug output, and some actual debugging... getting there.
author | Chris Cannam |
---|---|
date | Thu, 06 Oct 2011 15:21:03 +0100 |
parents | 1c1e98cd1b2e |
children | f1252b6a7cf5 |
line wrap: on
line diff
--- a/BeatRootProcessor.h Fri Sep 30 23:11:14 2011 +0100 +++ b/BeatRootProcessor.h Thu Oct 06 15:21:03 2011 +0100 @@ -23,6 +23,10 @@ #include <vector> #include <cmath> +#ifdef DEBUG_BEATROOT +#include <iostream> +#endif + using std::vector; class BeatRootProcessor @@ -143,6 +147,10 @@ onsetList.push_back(e); } +#ifdef DEBUG_BEATROOT + std::cerr << "Onsets: " << onsetList.size() << std::endl; +#endif + return BeatTracker::beatTrack(onsetList); } // processFile()