Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion OpenUtau.Plugin.Builtin/KoreanCVPhonemizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ private Result ConvertForCV(Note[] notes, string[] prevLyric, string[] thisLyric
string thisMidVowelHead;
string thisMidVowelTail;

if (kocvS == null) {
return GenerateResult(FindInOto(notes[0].lyric, notes[0])); // If kocvS is null, return the original lyric's phoneme
}

int totalDuration = notes.Sum(n => n.duration);
Note note = notes[0];
bool isItNeedsFrontCV;
Expand Down Expand Up @@ -415,4 +419,4 @@ public override Result GenerateEndSound(Note[] notes, Note? prev, Note? next, No
return GenerateResult(FindInOto($"{prevMidVowel} {endSound}", note));
}
}
}
}
Loading