diff --git a/Sources/VLPitchTransformer.mm b/Sources/VLPitchTransformer.mm index f09db09..717bfd0 100644 --- a/Sources/VLPitchTransformer.mm +++ b/Sources/VLPitchTransformer.mm @@ -27,8 +27,8 @@ const char * sPitch2Name = "C D EF G A B"; pitch %= 12; if (sPitch2Name[pitch] == ' ') return [NSString stringWithFormat:@"%c%C%d / %c%C%d", - sPitch2Name[pitch-1], kVLSharpChar, octave, - sPitch2Name[pitch+1], kVLFlatChar, octave]; + sPitch2Name[pitch-1], unichar(kVLSharpChar), octave, + sPitch2Name[pitch+1], unichar(kVLFlatChar), octave]; else return [NSString stringWithFormat:@"%c%d", sPitch2Name[pitch], octave];