Extend pitch range

This commit is contained in:
Matthias Neeracher 2007-04-21 23:00:38 +00:00
parent 51f60ea09e
commit 920abba112

View File

@ -602,9 +602,11 @@ VLMusicElement sSemi2Accidental[12][12] = {
[fFieldEditor setAction:nil]; [fFieldEditor setAction:nil];
} }
const float kSemiFloor = -3.0f*kLineH; const float kSemiFloor = -5.0f*kLineH;
static int8_t sSemiToPitch[] = { static int8_t sSemiToPitch[] = {
53, // F 47, // B
48, 50, // D
52, 53, // F
55, 57, // A 55, 57, // A
59, 60, // Middle C 59, 60, // Middle C
62, 64, // E 62, 64, // E
@ -614,7 +616,10 @@ static int8_t sSemiToPitch[] = {
76, 77, // F 76, 77, // F
79, 81, // A 79, 81, // A
83, 84, // C 83, 84, // C
86, 88 // E 86, 88, // E
89, 91, // G
93, 95, // B
96, 98 // D
}; };
static int8_t sFlatAcc[] = { static int8_t sFlatAcc[] = {