Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add checks for phoneme definitions in dsdict.yaml #1256

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

yqzhishen
Copy link
Contributor

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
3 checks passed
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