问题描述
使用ubuntu linux版本
Working with ubuntu linux version
使用mbrola声音us1,us2和us3的freetts设置几乎完成了工作,但最终却获得了例外.
Almost done with freetts setting with mbrola voices us1, us2 and us3, but finally getting exceptions.
当我运行以下命令时,我可以听到凯文(Kevin)关于太阳微系统的声音.
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
但是如果我指定mbrola_us1
But if i specify mbrola_us1
$ java -Dmbrola.base="/home/amphisoft4/Downloads/mbrola" -jar bin/FreeTTSHelloWorld.jar mbrola_us1
我要得到
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**
推荐答案
Finlay对我有用的东西
Finlay what worked for me
我正在使用ubuntu创建一个名为mbrola的文件夹
I am using ubuntuCreated a folder called mbrola
- 将下载的用于我的操作系统linux的mbrola-base放入其中
- 将us1,us2,us3提取的文件夹下载到此文件夹中
-
通过命令行在ubuntu中安装mbrola.sudo apt-istist雨伞
- put downloaded mbrola-base for my operating system linux to it
- put downloaded us1, us2, us3 extracted folders to this folder
Install the mbrola in ubuntu by command line.sudo apt-get istall mbrola
在安装后使用此commad来检查您的文件已找到dpkg -L雨伞
After installation use this commad to check where your files has locateddpkg -L mbrola
将/usr/bin/mbrola文件复制到上面的mbrola文件夹
Copied /usr/bin/mbrola file to the above mbrola folder
这篇关于freetts-文本到语音设置mbrola语音com.sun.speech.freetts.ProcessException:处理发言:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!