2024.02.22

This commit is contained in:
sshlien
2024-02-22 21:08:16 -05:00
parent 6a3de68779
commit 6441b47841
6 changed files with 73 additions and 4 deletions

View File

@@ -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;
}