Mercurial > hg > sonic-visualiser
comparison main/PreferencesDialog.h @ 115:c9930ec7a3f9
* Add fuzzy interpolation option as an alternative to zero padding in
spectrogram (looks terrible though)
* Make spectrogram appear more quickly by having the FFT server notify of
updates more often near the start of its run
author | Chris Cannam |
---|---|
date | Mon, 05 Mar 2007 15:32:55 +0000 |
parents | e3b32dc5180b |
children | 652b22dcd4ed |
comparison
equal
deleted
inserted
replaced
114:a46d68ae3c3e | 115:c9930ec7a3f9 |
---|---|
31 PreferencesDialog(QWidget *parent = 0, Qt::WFlags flags = 0); | 31 PreferencesDialog(QWidget *parent = 0, Qt::WFlags flags = 0); |
32 virtual ~PreferencesDialog(); | 32 virtual ~PreferencesDialog(); |
33 | 33 |
34 protected slots: | 34 protected slots: |
35 void windowTypeChanged(WindowType type); | 35 void windowTypeChanged(WindowType type); |
36 void smoothSpectrogramChanged(int state); | 36 void spectrogramSmoothingChanged(int state); |
37 void propertyLayoutChanged(int layout); | 37 void propertyLayoutChanged(int layout); |
38 void tuningFrequencyChanged(double freq); | 38 void tuningFrequencyChanged(double freq); |
39 void resampleQualityChanged(int quality); | 39 void resampleQualityChanged(int quality); |
40 | 40 |
41 void okClicked(); | 41 void okClicked(); |
45 protected: | 45 protected: |
46 WindowTypeSelector *m_windowTypeSelector; | 46 WindowTypeSelector *m_windowTypeSelector; |
47 QPushButton *m_applyButton; | 47 QPushButton *m_applyButton; |
48 | 48 |
49 WindowType m_windowType; | 49 WindowType m_windowType; |
50 bool m_smoothSpectrogram; | 50 int m_spectrogramSmoothing; |
51 int m_propertyLayout; | 51 int m_propertyLayout; |
52 float m_tuningFrequency; | 52 float m_tuningFrequency; |
53 int m_resampleQuality; | 53 int m_resampleQuality; |
54 }; | 54 }; |
55 | 55 |