From 0781c17187ea9df37ad9bd981b4cba9ca3bc39ad Mon Sep 17 00:00:00 2001 From: Maiko Date: Wed, 15 May 2024 01:41:23 +0900 Subject: [PATCH] [JA VCV&VCCV] Fix start glottalstop --- OpenUtau.Plugin.Builtin/JapanesePresampPhonemizer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenUtau.Plugin.Builtin/JapanesePresampPhonemizer.cs b/OpenUtau.Plugin.Builtin/JapanesePresampPhonemizer.cs index d0c3545dd..812f2eda0 100644 --- a/OpenUtau.Plugin.Builtin/JapanesePresampPhonemizer.cs +++ b/OpenUtau.Plugin.Builtin/JapanesePresampPhonemizer.cs @@ -90,7 +90,8 @@ public override Result Process(Note[] notes, Note? prev, Note? next, Note? prevN } else if (prevNeighbour == null) { // beginning of phrase preCFlag = true; if (currentLyric.Contains("・")) { - if (checkOtoUntilHit(glottalCVtests, note, out var oto1)) { + var tests = new List { $"-{vcvpad}{vowelUpper}・", $"・{vcpad}{vowelUpper}", $"{vowelUpper}・", $"・{vowelUpper}", $"-{vcvpad}{vowelUpper}", initial, currentLyric }; + if (checkOtoUntilHit(tests, note, out var oto1)) { currentLyric = oto1.Alias; } } else {