Mercurial > hg > svgui
comparison widgets/UnitConverter.h @ 892:af63372e9002
Start connecting up tempo bits
author | Chris Cannam |
---|---|
date | Tue, 09 Dec 2014 13:53:44 +0000 |
parents | 09b2940f483a |
children | 78ae34f388f6 |
comparison
equal
deleted
inserted
replaced
891:09b2940f483a | 892:af63372e9002 |
---|---|
36 void freqChanged(double); | 36 void freqChanged(double); |
37 void midiChanged(int); | 37 void midiChanged(int); |
38 void noteChanged(int); | 38 void noteChanged(int); |
39 void octaveChanged(int); | 39 void octaveChanged(int); |
40 void centsChanged(double); | 40 void centsChanged(double); |
41 void pianoChanged(int); | |
42 | 41 |
42 void samplesChanged(double); | |
43 void periodChanged(double); | |
44 void bpmChanged(double); | |
45 void tempofreqChanged(double); | |
46 void samplerateChanged(QString); | |
47 | |
43 void preferenceChanged(PropertyContainer::PropertyName); | 48 void preferenceChanged(PropertyContainer::PropertyName); |
44 | 49 |
45 private: | 50 private: |
46 QDoubleSpinBox *m_freq; | 51 QDoubleSpinBox *m_freq; |
47 QSpinBox *m_midi; | 52 QSpinBox *m_midi; |
48 QComboBox *m_note; | 53 QComboBox *m_note; |
49 QSpinBox *m_octave; | 54 QSpinBox *m_octave; |
50 QDoubleSpinBox *m_cents; | 55 QDoubleSpinBox *m_cents; |
51 QSpinBox *m_piano; | |
52 QLabel *m_pitchPrefsLabel; | 56 QLabel *m_pitchPrefsLabel; |
53 void updatePitchesFromFreq(); | 57 void updatePitchesFromFreq(); |
54 void updatePitchPrefsLabel(); | 58 void updatePitchPrefsLabel(); |
55 | 59 |
56 QDoubleSpinBox *m_samples; | 60 QDoubleSpinBox *m_samples; |
57 | 61 QDoubleSpinBox *m_period; |
62 QDoubleSpinBox *m_bpm; | |
63 QDoubleSpinBox *m_tempofreq; | |
64 QComboBox *m_samplerate; | |
58 void updateTempiFromSamples(); | 65 void updateTempiFromSamples(); |
66 | |
67 double getSampleRate(); | |
59 }; | 68 }; |
60 | 69 |
61 #endif | 70 #endif |