Mercurial > hg > match-vamp
diff Matcher.cpp @ 4:ca29b0ef78ce
* minor build stuff
author | cannam |
---|---|
date | Tue, 02 Dec 2008 13:03:44 +0000 |
parents | de792b8c2801 |
children | a02321c31884 |
line wrap: on
line diff
--- a/Matcher.cpp Mon Dec 01 21:30:46 2008 +0000 +++ b/Matcher.cpp Tue Dec 02 13:03:44 2008 +0000 @@ -19,6 +19,8 @@ #include <iostream> +#include <cstdlib> + bool Matcher::silent = true; Matcher::Matcher(float rate, Matcher *p) @@ -119,6 +121,8 @@ { if (initialised) return; + std::cerr << "Matcher::init() - initialising" << std::endl; + initialised = true; makeFreqMap(fftSize, sampleRate); @@ -260,7 +264,7 @@ // distance[frameCount-blockSize] to its first len elements. // Same for bestPathCost. /* - std::cerr << "moving " << distYSizes[frameCount - blockSize] << " from " << frameCount - blockSize << " to " + std::cerr << "Matcher(" << this << "): moving " << distYSizes[frameCount - blockSize] << " from " << frameCount - blockSize << " to " << frameCount << ", allocating " << len << " for " << frameCount - blockSize << std::endl; */