diff vamp/CQVamp.h @ 75:f4fb0ac6120a

Interpolation for CQ. But this is wrong, it is interpolating between points in the nearest full-height columns even where there is a nearer point in the not-full-height ones
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 04 Apr 2014 11:49:53 +0100
parents 27007f8302f4
children bfc7cf71f2ef
line wrap: on
line diff
--- a/vamp/CQVamp.h	Mon Mar 24 16:30:40 2014 +0000
+++ b/vamp/CQVamp.h	Fri Apr 04 11:49:53 2014 +0100
@@ -34,6 +34,8 @@
 
 #include <vamp-sdk/Plugin.h>
 
+#include "cpp-qm-dsp/CQInterpolated.h"
+
 class ConstantQ;
 
 class CQVamp : public Vamp::Plugin
@@ -73,8 +75,9 @@
     int m_maxMIDIPitch;
     float m_tuningFrequency;
     int m_bpo;
+    CQInterpolated::Interpolation m_interpolation;
 
-    ConstantQ *m_cq;
+    CQInterpolated *m_cq;
     float m_maxFrequency;
     float m_minFrequency;
     int m_stepSize;