Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 71:72fa239a4880
* Modify to use Vamp SDK for proper feature extraction plugins.
Requires that the vamp-plugin-sdk directory tree be present below
plugin/ (it's separate in Subversion).
author | Chris Cannam |
---|---|
date | Fri, 31 Mar 2006 15:56:35 +0000 |
parents | 705f05ab42e3 |
children | fd348f36c0d3 |
comparison
equal
deleted
inserted
replaced
70:bf306158803d | 71:72fa239a4880 |
---|---|
16 #ifndef _SPECTROGRAM_LAYER_H_ | 16 #ifndef _SPECTROGRAM_LAYER_H_ |
17 #define _SPECTROGRAM_LAYER_H_ | 17 #define _SPECTROGRAM_LAYER_H_ |
18 | 18 |
19 #include "base/Layer.h" | 19 #include "base/Layer.h" |
20 #include "base/Window.h" | 20 #include "base/Window.h" |
21 #include "base/RealTime.h" | |
21 #include "model/PowerOfSqrtTwoZoomConstraint.h" | 22 #include "model/PowerOfSqrtTwoZoomConstraint.h" |
22 #include "model/DenseTimeValueModel.h" | 23 #include "model/DenseTimeValueModel.h" |
23 | 24 |
24 #include <QThread> | 25 #include <QThread> |
25 #include <QMutex> | 26 #include <QMutex> |
32 class View; | 33 class View; |
33 class QPainter; | 34 class QPainter; |
34 class QImage; | 35 class QImage; |
35 class QPixmap; | 36 class QPixmap; |
36 class QTimer; | 37 class QTimer; |
37 class RealTime; | |
38 | 38 |
39 /** | 39 /** |
40 * SpectrogramLayer represents waveform data (obtained from a | 40 * SpectrogramLayer represents waveform data (obtained from a |
41 * DenseTimeValueModel) in spectrogram form. | 41 * DenseTimeValueModel) in spectrogram form. |
42 */ | 42 */ |
156 | 156 |
157 void setNormalizeColumns(bool n); | 157 void setNormalizeColumns(bool n); |
158 bool getNormalizeColumns() const; | 158 bool getNormalizeColumns() const; |
159 | 159 |
160 enum ColourScheme { DefaultColours, WhiteOnBlack, BlackOnWhite, | 160 enum ColourScheme { DefaultColours, WhiteOnBlack, BlackOnWhite, |
161 RedOnBlue, YellowOnBlack, Rainbow }; | 161 RedOnBlue, YellowOnBlack, BlueOnBlack, Rainbow }; |
162 | 162 |
163 void setColourScheme(ColourScheme scheme); | 163 void setColourScheme(ColourScheme scheme); |
164 ColourScheme getColourScheme() const; | 164 ColourScheme getColourScheme() const; |
165 | 165 |
166 /** | 166 /** |