Skip to content

Commit

Permalink
Merge pull request #1143 from maiko3tattun/240515_JaPresamp
Browse files Browse the repository at this point in the history
[JA VCV&CVVC] Fix start glottalstop
  • Loading branch information
stakira authored Jun 9, 2024
2 parents 447ec87 + 0781c17 commit 2db4d03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OpenUtau.Plugin.Builtin/JapanesePresampPhonemizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> { $"-{vcvpad}{vowelUpper}・", $"・{vcpad}{vowelUpper}", $"{vowelUpper}・", $"・{vowelUpper}", $"-{vcvpad}{vowelUpper}", initial, currentLyric };
if (checkOtoUntilHit(tests, note, out var oto1)) {
currentLyric = oto1.Alias;
}
} else {
Expand Down

0 comments on commit 2db4d03

Please sign in to comment.