changeset 128:3f32a88ee15a refactors

Comment
author Chris Cannam
date Thu, 11 Dec 2014 12:13:26 +0000
parents 2ed42b7616c5
children dad9fdc32a6a
files test/TestFeatureExtractor.cpp
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/TestFeatureExtractor.cpp	Thu Dec 11 11:58:46 2014 +0000
+++ b/test/TestFeatureExtractor.cpp	Thu Dec 11 12:13:26 2014 +0000
@@ -72,7 +72,9 @@
 	// bins are distinct but their output chroma are not
 	//
 	// * one bin of value 450 (= 15^2 + 15^2), if the input bins
-	// are not distinct
+	// are not distinct (the feature extractor sums energies
+	// rather than magnitudes so as to integrate energy for a
+	// partial in the face of spectral leakage)
 	// 
 	// The bin corresponding to each input frequency is that of
 	// its semitone value (with C=0), except that input bin
@@ -140,7 +142,9 @@
 	// bins are distinct but their output bins are not
 	//
 	// * one bin of value 450 (= 15^2 + 15^2), if the input bins
-	// are not distinct
+	// are not distinct (the feature extractor sums energies
+	// rather than magnitudes so as to integrate energy for a
+	// partial in the face of spectral leakage)
 	//
 	// The first 34 input bins (i.e. up to and including bin 33,
 	// 733Hz, MIDI pitch 77.something) are mapped linearly, those