Mercurial > hg > qm-vamp-plugins
diff plugins/SimilarityPlugin.cpp @ 53:3f8b9ae44f92
* remove some debug output
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Wed, 30 Jan 2008 14:33:44 +0000 |
parents | 4fe04e706839 |
children | ee9d180a5ad6 |
line wrap: on
line diff
--- a/plugins/SimilarityPlugin.cpp Wed Jan 30 13:33:23 2008 +0000 +++ b/plugins/SimilarityPlugin.cpp Wed Jan 30 14:33:44 2008 +0000 @@ -168,7 +168,7 @@ m_fftSize = m_mfcc->getfftlength(); m_rhythmClipFrameSize = m_fftSize / 4; - std::cerr << "MFCC FS = " << config.FS << ", FFT size = " << m_fftSize<< std::endl; +// std::cerr << "MFCC FS = " << config.FS << ", FFT size = " << m_fftSize<< std::endl; } else if (m_type == TypeChroma) { @@ -186,13 +186,13 @@ m_chromagram = new Chromagram(config); m_fftSize = m_chromagram->getFrameSize(); - std::cerr << "fftsize = " << m_fftSize << std::endl; +// std::cerr << "fftsize = " << m_fftSize << std::endl; m_rhythmClipFrameSize = m_fftSize / 16; while (m_rhythmClipFrameSize < 512) m_rhythmClipFrameSize *= 2; - std::cerr << "m_rhythmClipFrameSize = " << m_rhythmClipFrameSize << std::endl; +// std::cerr << "m_rhythmClipFrameSize = " << m_rhythmClipFrameSize << std::endl; - std::cerr << "min = "<< config.min << ", max = " << config.max << std::endl; +// std::cerr << "min = "<< config.min << ", max = " << config.max << std::endl; } else { @@ -580,9 +580,9 @@ m_rhythmValues[c].pop_front(); } - if (needRhythmFrame) { - std::cerr << "at current = " <<current << " (frame = " << m_frameNo << "), have " << m_rhythmValues[c].size() << ", need rhythm = " << needRhythmFrame << std::endl; - } +// if (needRhythmFrame) { +// std::cerr << "at current = " <<current << " (frame = " << m_frameNo << "), have " << m_rhythmValues[c].size() << ", need rhythm = " << needRhythmFrame << std::endl; +// } } @@ -606,7 +606,7 @@ } if (!needTimbre() && !someRhythmFrameNeeded && ((m_frameNo % 2) == 0)) { - std::cerr << "done!" << std::endl; +// std::cerr << "done!" << std::endl; m_done = true; }