diff plugins/ChromagramPlugin.h @ 7:641ce27165bd

* Make chromagram take input in frequency domain. This means we can avoid any bother with zero-padding at the front and end, etc, and misalignments because the host provides fft windows properly centred in the first place.
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 15 May 2006 15:08:17 +0000
parents 991d0fe8bb27
children 99dadc93042e
line wrap: on
line diff
--- a/plugins/ChromagramPlugin.h	Mon May 15 12:07:44 2006 +0000
+++ b/plugins/ChromagramPlugin.h	Mon May 15 15:08:17 2006 +0000
@@ -24,7 +24,7 @@
     bool initialise(size_t channels, size_t stepSize, size_t blockSize);
     void reset();
 
-    InputDomain getInputDomain() const { return TimeDomain; }
+    InputDomain getInputDomain() const { return FrequencyDomain; }
 
     std::string getName() const;
     std::string getDescription() const;
@@ -58,8 +58,6 @@
     Chromagram *m_chromagram;
     mutable size_t m_step;
     mutable size_t m_block;
-    size_t m_stepDelay;
-    std::queue<Feature> m_pending;
 
     Feature normalize(const Feature &);
 };