festvox / festival

Festival Speech Synthesis System
Other
391 stars 58 forks source link

Error with Italian voices #31

Open aquaresima opened 4 years ago

aquaresima commented 4 years ago

Hi, I am running mnajaro and installed festival from the arch repo. I then installed mbrola-italian with the AUR packages. when (voice_pc_diphone) (SayText "porcoddio")

I get SIOD ERROR: wrong type of argument to get_c_utt

Then I said, 'maybe these MBROLA don't work' or the package is broken, and I installed manually the Piero voice again, and again, but I always get: SIOD ERROR: wrong type of argument to get_c_utt

(SayText "thank you a lot!")

festvox commented 4 years ago

That's pretty old code from multiple sites, so I'm not sure where the error could be. Can you type

(set_backtrace t)

then call the voice, and call SayText and tell me what output it gives

aquaresima commented 4 years ago

Thanks for answering, here you go:

BACKTRACE:
   0: (utt.relation.first utt (quote Word))
   1: (set! w (utt.relation.first utt (quote Word)))
   2: (Function_Word
    (Token_punct (Token (Token_POS (Text (Initialize utt))))))
   3: (POS
    (Function_Word
     (Token_punct (Token (Token_POS (Text (Initialize utt)))))))
   4: (Phrasify
    (POS
     (...)))
   5: (Phrase_Type
    (Phrasify
     (...)))
   6: (Word
    (Phrase_Type
     (...)))
   7: (Word_dopo_num
    (Word
     (...)))
   8: (Word_split_pos
    (Word_dopo_num
     (...)))
   9: (Pauses
    (Word_split_pos
     (...)))
  10: (Intonation
    (Pauses
     (...)))
  11: (Position_FW
    (Intonation
     (...)))
  12: (PostLex
    (Position_FW
     (...)))
  13: (Duration
    (PostLex
     (...)))
  14: (Int_Targets
    (Duration
     (...)))
  15: (MAP_segments
    (Int_Targets
     (...)))
  16: (body uttr)
  17: (let-internal
    (definition)
    ((assoc type UttTypes))
    ...)
  18: (utt.synth (eval (list (quote Utterance) (quote Text) text)))
  19: (SayText "porcoddio")
zeehio commented 4 years ago

We got reports in Debian of this same issue. In Debian, was fixed in the Italian scripts.

Here is a link to the diff that addresses the issue:

https://salsa.debian.org/tts-team/festival-it/-/blob/master/debian/patches/03_fix_return_utt_synth_types.patch

grigio commented 1 year ago

festival 2.5 from archlinux/manjaro still have this issue :(

zeehio commented 1 year ago

festival 2.5 from archlinux/manjaro still have this issue :(

You should contact the festival-italian package maintainers in arch/manjaro. The issue is in the festival-italian module, not in the festival software itself.

https://aur.archlinux.org/packages/festival-italian

The festival-italian package maintainer may copy the Debian fix linked above. There's not much that can be done from here.