Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 107:bf196d6e8998
* Separate out window and FFT size variables. Not necessarily correct
for frequency estimation code.
author | Chris Cannam |
---|---|
date | Mon, 19 Jun 2006 16:14:16 +0000 |
parents | 1348818e7be7 |
children | 12340cb6e6cb |
comparison
equal
deleted
inserted
replaced
106:551d7ae05526 | 107:bf196d6e8998 |
---|---|
213 | 213 |
214 int m_channel; | 214 int m_channel; |
215 size_t m_windowSize; | 215 size_t m_windowSize; |
216 WindowType m_windowType; | 216 WindowType m_windowType; |
217 size_t m_windowHopLevel; | 217 size_t m_windowHopLevel; |
218 size_t m_fftSize; | |
218 float m_gain; | 219 float m_gain; |
219 float m_threshold; | 220 float m_threshold; |
220 int m_colourRotation; | 221 int m_colourRotation; |
221 size_t m_minFrequency; | 222 size_t m_minFrequency; |
222 size_t m_maxFrequency; | 223 size_t m_maxFrequency; |
295 void fillCacheColumn(int column, | 296 void fillCacheColumn(int column, |
296 fftsample *inputBuffer, | 297 fftsample *inputBuffer, |
297 fftwf_complex *outputBuffer, | 298 fftwf_complex *outputBuffer, |
298 fftwf_plan plan, | 299 fftwf_plan plan, |
299 size_t windowSize, | 300 size_t windowSize, |
301 size_t fftSize, | |
300 size_t windowIncrement, | 302 size_t windowIncrement, |
301 float *workbuffer, | 303 float *workbuffer, |
302 const Window<fftsample> &windower) | 304 const Window<fftsample> &windower) |
303 const; | 305 const; |
304 | 306 |