# HG changeset patch # User Chris Cannam # Date 1418300006 0 # Node ID 3f32a88ee15af7235cd2492f97fcaad63fb7b7ab # Parent 2ed42b7616c5747a463a1b6d9471577ecce08b15 Comment diff -r 2ed42b7616c5 -r 3f32a88ee15a test/TestFeatureExtractor.cpp --- 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