mirror of
https://github.com/sshlien/abcmidi.git
synced 2025-12-06 06:55:06 +00:00
2024.02.22
This commit is contained in:
@@ -205,6 +205,18 @@ static int get_clef_octave_offset (char *clef_ending)
|
||||
if (strncmp (clef_ending, "-15", 2) == 0) {
|
||||
return -2;
|
||||
}
|
||||
if (strncmp (clef_ending, "^8", 2) == 0) {
|
||||
return 1;
|
||||
}
|
||||
if (strncmp (clef_ending, "^15", 2) == 0) {
|
||||
return 2;
|
||||
}
|
||||
if (strncmp (clef_ending, "_8", 2) == 0) {
|
||||
return -1;
|
||||
}
|
||||
if (strncmp (clef_ending, "_15", 2) == 0) {
|
||||
return -2;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user