Mercurial > hg > svgui
diff 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 |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h Mon Jun 19 16:02:41 2006 +0000 +++ b/layer/SpectrogramLayer.h Mon Jun 19 16:14:16 2006 +0000 @@ -215,6 +215,7 @@ size_t m_windowSize; WindowType m_windowType; size_t m_windowHopLevel; + size_t m_fftSize; float m_gain; float m_threshold; int m_colourRotation; @@ -297,6 +298,7 @@ fftwf_complex *outputBuffer, fftwf_plan plan, size_t windowSize, + size_t fftSize, size_t windowIncrement, float *workbuffer, const Window<fftsample> &windower)