Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
405 views
in Technique[技术] by (71.8m points)

java - freetts - text to speech setting mbrola voice com.sun.speech.freetts.ProcessException: Processing Utterance:

Working with ubuntu linux version

Almost done with freetts setting with mbrola voices us1, us2 and us3, but finally getting exceptions.

When i run the below command, i could hear kevin's voice of sun microsystems.

    $ java -Dmbrola.base="/home/amphisoft4/Downloads/mbrola" -jar bin/FreeTTSHelloWorld.jar 

    All voices available:
    alan (time domain)
    kevin (general domain)
    kevin16 (general domain)
    mbrola_us1 (general domain)
    mbrola_us2 (general domain)
    mbrola_us3 (general domain

But if i specify mbrola_us1

    $ java -Dmbrola.base="/home/amphisoft4/Downloads/mbrola" -jar bin/FreeTTSHelloWorld.jar mbrola_us1

Im getting

All voices available:
    alan (time domain)
    kevin (general domain)
    kevin16 (general domain)
    mbrola_us1 (general domain)
    mbrola_us2 (general domain)
    mbrola_us3 (general domain)

    Using voice: mbrola_us1

    **Processing Utterance: com.sun.speech.freetts.ProcessException: Cannot start mbrola program: [Ljava.lang.String;@62ce0a
    Processing Utterance: com.sun.speech.freetts.ProcessException: Cannot start mbrola program: [Ljava.lang.String;@62ce0a**
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Does /home/amphisoft4/Downloads/mbrola/mbrola exist? If you enter:

/home/amphisoft4/Downloads/mbrola/mbrola -h 

does it work? Documentation has a note about creating this name from the distro binary. Did you build the binary and if not it may not be a binary compatable with your Ubuntu release.

hope that give you a clue.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...