Mercurial > hg > svcore
comparison data/model/FFTModel.h @ 1270:bac86d3fc6c9 bqfft
Branch to use bqfft code and remove FFTapi
author | Chris Cannam |
---|---|
date | Mon, 21 Nov 2016 15:05:57 +0000 |
parents | 825d0d7641ba |
children | 54af1e21705c |
comparison
equal
deleted
inserted
replaced
1269:f50c0bbe9096 | 1270:bac86d3fc6c9 |
---|---|
19 #include "DenseThreeDimensionalModel.h" | 19 #include "DenseThreeDimensionalModel.h" |
20 #include "DenseTimeValueModel.h" | 20 #include "DenseTimeValueModel.h" |
21 | 21 |
22 #include "base/Window.h" | 22 #include "base/Window.h" |
23 | 23 |
24 #include "data/fft/FFTapi.h" | 24 #include <bqfft/FFT.h> |
25 | 25 |
26 #include <set> | 26 #include <set> |
27 #include <vector> | 27 #include <vector> |
28 #include <complex> | 28 #include <complex> |
29 #include <deque> | 29 #include <deque> |
151 WindowType m_windowType; | 151 WindowType m_windowType; |
152 int m_windowSize; | 152 int m_windowSize; |
153 int m_windowIncrement; | 153 int m_windowIncrement; |
154 int m_fftSize; | 154 int m_fftSize; |
155 Window<float> m_windower; | 155 Window<float> m_windower; |
156 FFTForward m_fft; | 156 mutable breakfastquay::FFT m_fft; |
157 | 157 |
158 int getPeakPickWindowSize(PeakPickType type, sv_samplerate_t sampleRate, | 158 int getPeakPickWindowSize(PeakPickType type, sv_samplerate_t sampleRate, |
159 int bin, float &percentile) const; | 159 int bin, float &percentile) const; |
160 | 160 |
161 std::pair<sv_frame_t, sv_frame_t> getSourceSampleRange(int column) const { | 161 std::pair<sv_frame_t, sv_frame_t> getSourceSampleRange(int column) const { |