Diffstat (limited to 'noncore/multimedia/tonleiter/tonleiterdatahelper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/tonleiter/tonleiterdatahelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/tonleiter/tonleiterdatahelper.h b/noncore/multimedia/tonleiter/tonleiterdatahelper.h index b79162a..e4153d7 100644 --- a/noncore/multimedia/tonleiter/tonleiterdatahelper.h +++ b/noncore/multimedia/tonleiter/tonleiterdatahelper.h | |||
@@ -1,23 +1,23 @@ | |||
1 | #ifndef TONLEITER_DATA_HELPER_H | 1 | #ifndef TONLEITER_DATA_HELPER_H |
2 | #define TONLEITER_DATA_HELPER_H | 2 | #define TONLEITER_DATA_HELPER_H |
3 | 3 | ||
4 | #include <qstring.h> | 4 | #include <qstring.h> |
5 | #include <qvaluelist.h> | 5 | #include <qvaluelist.h> |
6 | 6 | ||
7 | namespace Data | 7 | namespace Data |
8 | { | 8 | { |
9 | namespace Note | 9 | namespace Note |
10 | { | 10 | { |
11 | const QString notenames[]={"C","C#","D","D#","E","F","F#","G","G#","A","A#","B"}; | 11 | const QString notenames[]={"A","Bb","B","C","C#","D","D#","E","F","F#","G","G#"}; |
12 | 12 | ||
13 | int getOctaveOfNote(int note); | 13 | int getOctaveOfNote(int note); |
14 | QString getNameOfNote(int note); | 14 | QString getNameOfNote(int note); |
15 | int getNoteFromName(QString name,int octave); | 15 | int getNoteFromName(QString name,int octave); |
16 | int octaveOfBaseNote(int base,int note); | 16 | int octaveOfBaseNote(int base,int note); |
17 | }; | 17 | }; |
18 | 18 | ||
19 | class Instrument | 19 | class Instrument |
20 | { | 20 | { |
21 | private: | 21 | private: |
22 | QString name; | 22 | QString name; |
23 | int frets; | 23 | int frets; |