mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 03:04:00 +00:00
Clarify unicode type
This commit is contained in:
parent
139c67d6cd
commit
ab4a7d4378
|
@ -27,8 +27,8 @@ const char * sPitch2Name = "C D EF G A B";
|
||||||
pitch %= 12;
|
pitch %= 12;
|
||||||
if (sPitch2Name[pitch] == ' ')
|
if (sPitch2Name[pitch] == ' ')
|
||||||
return [NSString stringWithFormat:@"%c%C%d / %c%C%d",
|
return [NSString stringWithFormat:@"%c%C%d / %c%C%d",
|
||||||
sPitch2Name[pitch-1], kVLSharpChar, octave,
|
sPitch2Name[pitch-1], unichar(kVLSharpChar), octave,
|
||||||
sPitch2Name[pitch+1], kVLFlatChar, octave];
|
sPitch2Name[pitch+1], unichar(kVLFlatChar), octave];
|
||||||
else
|
else
|
||||||
return [NSString stringWithFormat:@"%c%d",
|
return [NSString stringWithFormat:@"%c%d",
|
||||||
sPitch2Name[pitch], octave];
|
sPitch2Name[pitch], octave];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user