Mercurial > hg > tony
comparison src/Analyser.h @ 145:cdc9d5f7978c
Optional spectrogram (off by default)
author | Chris Cannam |
---|---|
date | Fri, 10 Jan 2014 16:06:07 +0000 |
parents | c21b87a62ce6 |
children | e1a2c175a0e0 |
comparison
equal
deleted
inserted
replaced
144:c21b87a62ce6 | 145:cdc9d5f7978c |
---|---|
44 | 44 |
45 enum Component { | 45 enum Component { |
46 Audio, | 46 Audio, |
47 PitchTrack, | 47 PitchTrack, |
48 Notes, | 48 Notes, |
49 Spectrogram, | |
49 }; | 50 }; |
50 | 51 |
51 bool isVisible(Component c) const; | 52 bool isVisible(Component c) const; |
52 void setVisible(Component c, bool v); | 53 void setVisible(Component c, bool v); |
53 void toggleVisible(Component c) { setVisible(c, !isVisible(c)); } | 54 void toggleVisible(Component c) { setVisible(c, !isVisible(c)); } |