Mercurial > hg > vamp-plugin-sdk
diff examples/SpectralCentroid.cpp @ 255:88ef5ffdbe8d
* docs
author | cannam |
---|---|
date | Wed, 12 Nov 2008 14:11:01 +0000 |
parents | 3cf5bd155e5b |
children | 91574fc544db |
line wrap: on
line diff
--- a/examples/SpectralCentroid.cpp Wed Nov 12 10:39:05 2008 +0000 +++ b/examples/SpectralCentroid.cpp Wed Nov 12 14:11:01 2008 +0000 @@ -137,8 +137,6 @@ return list; } -//static int scount = 0; - SpectralCentroid::FeatureSet SpectralCentroid::process(const float *const *inputBuffers, Vamp::RealTime timestamp) { @@ -149,8 +147,6 @@ return FeatureSet(); } -// std::cerr << "SpectralCentroid::process: count = " << scount++ << ", timestamp = " << timestamp << ", total power = "; - double numLin = 0.0, numLog = 0.0, denom = 0.0; for (size_t i = 1; i <= m_blockSize/2; ++i) { @@ -163,8 +159,6 @@ denom += scalemag; } -// std::cerr << denom << std::endl; - FeatureSet returnFeatures; if (denom != 0.0) {