Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 109:12340cb6e6cb
* Add FFT data server class to provide a file cache mapping for each
required set of FFT parameters and source model. Make use of it in
feature extraction plugin transform, though not in other places yet.
* Add zero-pad option to spectrogram layer and remove window shape option
from the property box. To be revised.
author | Chris Cannam |
---|---|
date | Mon, 26 Jun 2006 16:12:11 +0000 |
parents | bf196d6e8998 |
children | f262aa8973e3 |
comparison
equal
deleted
inserted
replaced
108:4772fc75ac7c | 109:12340cb6e6cb |
---|---|
91 int getChannel() const; | 91 int getChannel() const; |
92 | 92 |
93 void setWindowSize(size_t); | 93 void setWindowSize(size_t); |
94 size_t getWindowSize() const; | 94 size_t getWindowSize() const; |
95 | 95 |
96 void setWindowHopLevel(size_t percent); | 96 void setWindowHopLevel(size_t level); |
97 size_t getWindowHopLevel() const; | 97 size_t getWindowHopLevel() const; |
98 | 98 |
99 void setWindowType(WindowType type); | 99 void setWindowType(WindowType type); |
100 WindowType getWindowType() const; | 100 WindowType getWindowType() const; |
101 | |
102 void setZeroPadLevel(size_t level); | |
103 size_t getZeroPadLevel() const; | |
101 | 104 |
102 /** | 105 /** |
103 * Set the gain multiplier for sample values in this view prior to | 106 * Set the gain multiplier for sample values in this view prior to |
104 * FFT calculation. | 107 * FFT calculation. |
105 * | 108 * |
213 | 216 |
214 int m_channel; | 217 int m_channel; |
215 size_t m_windowSize; | 218 size_t m_windowSize; |
216 WindowType m_windowType; | 219 WindowType m_windowType; |
217 size_t m_windowHopLevel; | 220 size_t m_windowHopLevel; |
221 size_t m_zeroPadLevel; | |
218 size_t m_fftSize; | 222 size_t m_fftSize; |
219 float m_gain; | 223 float m_gain; |
220 float m_threshold; | 224 float m_threshold; |
221 int m_colourRotation; | 225 int m_colourRotation; |
222 size_t m_minFrequency; | 226 size_t m_minFrequency; |