comparison 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
comparison
equal deleted inserted replaced
74:c2e9c91ed3f7 75:f4fb0ac6120a
31 31
32 #ifndef CQVAMP_H 32 #ifndef CQVAMP_H
33 #define CQVAMP_H 33 #define CQVAMP_H
34 34
35 #include <vamp-sdk/Plugin.h> 35 #include <vamp-sdk/Plugin.h>
36
37 #include "cpp-qm-dsp/CQInterpolated.h"
36 38
37 class ConstantQ; 39 class ConstantQ;
38 40
39 class CQVamp : public Vamp::Plugin 41 class CQVamp : public Vamp::Plugin
40 { 42 {
71 protected: 73 protected:
72 int m_minMIDIPitch; 74 int m_minMIDIPitch;
73 int m_maxMIDIPitch; 75 int m_maxMIDIPitch;
74 float m_tuningFrequency; 76 float m_tuningFrequency;
75 int m_bpo; 77 int m_bpo;
78 CQInterpolated::Interpolation m_interpolation;
76 79
77 ConstantQ *m_cq; 80 CQInterpolated *m_cq;
78 float m_maxFrequency; 81 float m_maxFrequency;
79 float m_minFrequency; 82 float m_minFrequency;
80 int m_stepSize; 83 int m_stepSize;
81 int m_blockSize; 84 int m_blockSize;
82 85