comparison vamp/CQVamp.h @ 90:bfc7cf71f2ef

Rearrange classes so the basic ConstantQ produces a complex output, and CQSpectrogram (formerly CQInterpolated) is required if you want a real output
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 09 May 2014 10:05:16 +0100
parents f4fb0ac6120a
children f5325762ff6d
comparison
equal deleted inserted replaced
89:25947630486b 90:bfc7cf71f2ef
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 36
37 #include "cpp-qm-dsp/CQInterpolated.h" 37 #include "cpp-qm-dsp/CQSpectrogram.h"
38 38
39 class ConstantQ; 39 class ConstantQ;
40 40
41 class CQVamp : public Vamp::Plugin 41 class CQVamp : public Vamp::Plugin
42 { 42 {
73 protected: 73 protected:
74 int m_minMIDIPitch; 74 int m_minMIDIPitch;
75 int m_maxMIDIPitch; 75 int m_maxMIDIPitch;
76 float m_tuningFrequency; 76 float m_tuningFrequency;
77 int m_bpo; 77 int m_bpo;
78 CQInterpolated::Interpolation m_interpolation; 78 CQSpectrogram::Interpolation m_interpolation;
79 79
80 CQInterpolated *m_cq; 80 CQSpectrogram *m_cq;
81 float m_maxFrequency; 81 float m_maxFrequency;
82 float m_minFrequency; 82 float m_minFrequency;
83 int m_stepSize; 83 int m_stepSize;
84 int m_blockSize; 84 int m_blockSize;
85 85