ScoreDraft icon indicating copy to clipboard operation
ScoreDraft copied to clipboard

Missing lyric error encountered when running singing synthesis example

Open instr3 opened this issue 4 years ago • 1 comments

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!

instr3 avatar Dec 23 '21 01:12 instr3

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.

fynv avatar Dec 25 '21 15:12 fynv