Skip to content

Conversation

@yqzhishen
Copy link
Collaborator

Some inputs of DiffSinger depend on whether the phones are vowels. However, G2pDictionary.IsVowel() returns false if the phoneme symbol is not found in the dictionary (mostly dsdict.yaml). The rendering continues because the phoneme exists in the phoneme list (mostly phonemes.txt), but produces wrong results because the types of the phonemes are misconfigured. Many people missed some phonemes in their dictionary and had trouble debugging.

This PR adds some checks so that all phonemes should be defined in dictionary if the inputs depend on the phoneme types. If not, OpenUTAU shows an explicit error message.

@stakira stakira merged commit 8aeeca4 into stakira:master Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants