comparison plugins/XTractPlugin.h @ 34:d080b51953ba

Update to current libxtract (float -> double, etc)
author Chris Cannam
date Mon, 01 Jul 2013 15:06:08 +0100
parents 0dd75140d034
children
comparison
equal deleted inserted replaced
33:42ecbf0d152c 34:d080b51953ba
61 bool needRolloffThreshold() const; 61 bool needRolloffThreshold() const;
62 62
63 mutable OutputList m_outputDescriptors; 63 mutable OutputList m_outputDescriptors;
64 void setupOutputDescriptors() const; 64 void setupOutputDescriptors() const;
65 65
66 bool processSPF0(const float *data); 66 bool processSPF0(const double *data);
67 67
68 const unsigned int m_xtFeature; 68 const unsigned int m_xtFeature;
69 size_t m_channels; 69 size_t m_channels;
70 size_t m_stepSize; 70 size_t m_stepSize;
71 size_t m_blockSize; 71 size_t m_blockSize;
72 72
73 float *m_resultBuffer; 73 double *m_resultBuffer;
74 74
75 float m_peakThreshold; 75 double m_peakThreshold;
76 float m_rolloffThreshold; 76 double m_rolloffThreshold;
77 float m_harmonicThreshold; 77 double m_harmonicThreshold;
78 78
79 float m_minFreq; 79 double m_minFreq;
80 float m_maxFreq; 80 double m_maxFreq;
81 81
82 int m_coeffCount; 82 int m_coeffCount;
83 int m_highestCoef; 83 int m_highestCoef;
84 int m_lowestCoef; 84 int m_lowestCoef;
85 float **m_mfccFilters; 85 double **m_mfccFilters;
86 int m_mfccStyle; 86 int m_mfccStyle;
87 87
88 int m_spectrumType; 88 int m_spectrumType;
89 int m_dc; 89 int m_dc;
90 int m_normalise; 90 int m_normalise;