Mercurial > hg > match-vamp
diff src/FeatureExtractor.cpp @ 163:cf1282d1f940 refactors
Add overall cost output to plugin. Looks suspiciously unaffected by tuning frequency.
author | Chris Cannam |
---|---|
date | Thu, 29 Jan 2015 17:38:09 +0000 |
parents | cdbee79699b0 |
children | d23dad16d6f9 |
line wrap: on
line diff
--- a/src/FeatureExtractor.cpp Thu Jan 29 17:22:02 2015 +0000 +++ b/src/FeatureExtractor.cpp Thu Jan 29 17:38:09 2015 +0000 @@ -75,6 +75,8 @@ int crossoverBin = (int)(2 / (pow(2, 1/12.0) - 1)); int crossoverMidi = lrint(log(crossoverBin * binWidth / refFreq)/ log(2.0) * 12 + 69); + + cerr << "FeatureExtractor::makeStandardFrequencyMap: refFreq = " << refFreq << endl; int i = 0; while (i <= crossoverBin) {