Skip to content

Commit

Permalink
Fix semivowels for mixed VCs too
Browse files Browse the repository at this point in the history
  • Loading branch information
lottev1991 committed Oct 14, 2023
1 parent e70506f commit 651f0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KoreanCVVCPlusPhonemizer/KoreanCVVCPlusPhonemizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ public override Result Process(Note[] notes, Note? prev, Note? next, Note? prevN
} else {
vcLength = MsToTick(oto.Preutter);
}
} else if (nextExist && nextHangeul && TNLconsonant != "" && singer.TryGetMappedOto(nextCV, nextNeighbour.Value.tone + attr0.toneShift, attr0.voiceColor, out var oto0)) {
} else if (nextExist && nextHangeul && (TNLconsonant != "" || TNLconsonantCVVC != "" || (TNLconsonant == "" || TNLconsonantCVVC != "") && (TNLsemivowel == 1 || TNLsemivowel == 2)) && singer.TryGetMappedOto(nextCV, nextNeighbour.Value.tone + attr0.toneShift, attr0.voiceColor, out var oto0)) {
if (oto0.Overlap < 0) {
vcLength = MsToTick(oto0.Preutter - oto0.Overlap);
} else {
Expand Down

0 comments on commit 651f0cc

Please sign in to comment.