diff --git a/OpenUtau.Plugin.Builtin/EnglishVCCVPhonemizer.cs b/OpenUtau.Plugin.Builtin/EnglishVCCVPhonemizer.cs index cc009ff55..3ad330f0d 100644 --- a/OpenUtau.Plugin.Builtin/EnglishVCCVPhonemizer.cs +++ b/OpenUtau.Plugin.Builtin/EnglishVCCVPhonemizer.cs @@ -96,7 +96,7 @@ public class EnglishVCCVPhonemizer : SyllableBasedPhonemizer { //spl, shr, skr, spr, str, thr, skw, thw, sky, spy private readonly string[] ccNoParsing = { "sk", "sm", "sn", "sp", "st", "hhy" }; private readonly string[] stopCs = { "b", "d", "g", "k", "p", "t" }; - private readonly string[] _cvCs = { "r", "l", "w", "y" }; + private readonly string[] ucvCs = { "r", "l", "w", "y" }; @@ -319,7 +319,7 @@ protected override List ProcessSyllable(Syllable syllable) { if (phonemes.Count == 0) { // opera [9 p] + [pr] + [_ru] parsingCC = $"{cc[0]}{cc[1]}"; - if (HasOto(parsingCC, syllable.vowelTone) && lastCPrevWord != 1 && ($"{cc[1]}" == $"_cvCs")) { + if (HasOto(parsingCC, syllable.vowelTone) && lastCPrevWord != 1 && ucvCs.Contains($"{cc[1]}")) { parsingVCC = $"{prevV} {cc[0]}"; basePhoneme = $"_{cc.Last()}{v}";