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

Missing lyric error encountered when running singing synthesis example #19

Open
instr3 opened this issue Dec 23, 2021 · 1 comment
Open

Comments

@instr3
Copy link

instr3 commented Dec 23, 2021

I try to run this example on the documentation:

doc = ScoreDraft.Document()
seq = [ ("mA", mi(5,24), "mA", re(5,24), mi(5,48)), BL(24)]
seq +=[ ("du",mi(5,24),"ju", so(5,24), "rIm", la(5,24), "Em", mi(5,12),re(5,12), "b3", re(5,72)), BL(24)]
doc.sing(seq, ScoreDraft.TetoEng_UTAU())

I got this error:

TypeError: 'NoneType' object is not subscriptable
missed lyic: rIm

I have downloaded and installed TetoEng voicebank from the English Voicebank (CVVC) Voicebank tab in https://kasaneteto.jp/en-voicebank.html. I cannot find the token rIm in oto.ini manually either. There are similar issues with the token Em, s@n in the example, but other tokens like du, ju are fine.

Are there extra voicebanks I need to install to resolve this? Thanks!

@fynv
Copy link
Owner

fynv commented Dec 25, 2021

There's something wrong with that part of documentation. For CVVC voice banks, a converter need to be set like:

Teto = ScoreDraft.TetoEng_UTAU()
Teto.setLyricConverter(ScoreDraft.TTEnglishConverter)

doc.sing(seq, Teto)

I will fix the documentation later. Thanks for reporting.

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

No branches or pull requests

2 participants