[software development] Deepin 的 TTS 引擎怎么弄?
Tofloor
poster avatar
177******70
deepin
2023-09-27 23:14
Author

Qt5、Qt6 都有一个 QTextToSpeech 类,实现 TTS 功能,就是文本转语音。

该功能 Win、Android 都正常,但是 Deepin 失效,提示缺乏 tts 引擎。

萌新,咋办?

错误输出:Error loading text-to-speech plug-in "speechd"

Reply Favorite View the author
All Replies
fax928
deepin
2023-09-27 23:23
#1

试试呢。
image.png

Reply View the author
fax928
deepin
2023-09-27 23:53
#2

还问了下ai。scream

在Linux下,使用Qt的texttospeech模块需要安装Festival包。 Festival是一个开源的文本到语音合成系统,可以在Linux下进行安装和使用。

不行的话试试再装下这个包。

命令:sudo apt install festival。

Reply View the author
177******70
deepin
2023-09-28 21:14
#3
fax928

还问了下ai。scream

在Linux下,使用Qt的texttospeech模块需要安装Festival包。 Festival是一个开源的文本到语音合成系统,可以在Linux下进行安装和使用。

不行的话试试再装下这个包。

命令:sudo apt install festival。

安装后还是识别不到,希望未来 deepin 能内置 tts 引擎吧,这样或许能省去很多配置的不确定性。

Reply View the author
fax928
deepin
2023-09-28 21:24
#4

再试试sudo apt install festival-dev呢?

我有记录:使用以下命令安装Qt Multimedia模块:sudo apt-get install qtmultimedia5-dev

可能是dev包。scream

Reply View the author