Skip to content

Commit

Permalink
Merge pull request #975 from lottev1991/PresampMustVcOption
Browse files Browse the repository at this point in the history
[Japanese Presamp Phonemizer] Add option for MUSTVC
  • Loading branch information
stakira authored Dec 11, 2023
2 parents 29de291 + 1b324dc commit a444156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenUtau.Plugin.Builtin/JapanesePresampPhonemizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public override Result Process(Note[] notes, Note? prev, Note? next, Note? prevN
// Insert 2nd phoneme (when next doesn't have hint)
if (nextNeighbour != null && string.IsNullOrEmpty(nextNeighbour.Value.phoneticHint)) {
int totalDuration = notes.Sum(n => n.duration);
if (TickToMs(totalDuration) < 100) {
if (TickToMs(totalDuration) < 100 && presamp.MustVC == false) {
return MakeSimpleResult(currentLyric);
}

Expand Down

0 comments on commit a444156

Please sign in to comment.