-
Notifications
You must be signed in to change notification settings - Fork 0
/
keysignature.rs
37 lines (36 loc) · 1.27 KB
/
keysignature.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
use super::LilypondNoteError;
make_lily_str_map!(
/// List of possible musical key signatures
LilyKeySignature;
LilypondNoteError::InvalidKeyString;
CFlatMajor, "cesM" ; // 7 flats
GFlatMajor, "gesM" ; // 6 flats
DFlatMajor, "desM" ; // 5 flats
AFlatMajor, "aesM" ; // 4 flats
EFlatMajor, "eesM" ; // 3 flats
BFlatMajor, "besM" ; // 2 flats
FMajor, "fM" ; // 1 flat
CMajor, "cM" ; // 0 flats/sharps
GMajor, "gM" ; // 1 sharp
DMajor, "dM" ; // 2 sharps
AMajor, "aM" ; // 3 sharps
EMajor, "eM" ; // 4 sharps
BMajor, "bM" ; // 5 sharps
FSharpMajor, "fisM" ; // 6 sharps
CSharpMajor, "cisM" ; // 7 sharps
AFlatMinor, "aesm" ; // 7 flats
EFlatMinor, "eesm" ; // 6 flats
BFlatMinor, "besm" ; // 5 flats
FMinor, "fm" ; // 4 flats
CMinor, "cm" ; // 3 flats
GMinor, "gm" ; // 2 flats
DMinor, "dm" ; // 1 flat
AMinor, "am" ; // 0 flats/sharps
EMinor, "em" ; // 1 sharp
BMinor, "bm" ; // 2 sharps
FSharpMinor, "fism" ; // 3 sharps
CSharpMinor, "cism" ; // 4 sharps
GSharpMinor, "gism" ; // 5 sharps
DSharpMinor, "dism" ; // 6 sharps
ASharpMinor, "aism" ; // 7 sharps
);