什么是“语音调度程序”?


15

我很难从Ubuntu上获得声音。有人建议启用的“语音分派器” /etc/default/speech-dispatcher。它是什么?它有什么作用?有任何想法吗?


1
您遇到什么声音有问题:警报,音乐等?文本到语音当然没有任何声音也不会起作用,但是,如果这不是您要尝试的方法,那么实际上就不需要了。
ubfan1

如果是这样,那将是循环依赖,对吗?也许告诉您的人只是错过了“ required by”一词,以为是相反的说法。我想我们不能排除语音调度员陷入翻唱乐队的地狱的可能性……
John P

Answers:


18

它是程序可以用来输出语音的守护程序,而无需关心该语言所需的实际语音合成软件。

项目主页是http://devel.freebsoft.org/speechd

您可以将其用于spd-say

$ spd-say Hello!

1
注意:Chromium和orca需要使用espeak,它使用此调度程序。这就是为什么我要运行它的原因。
塔玛斯·巴尔塔

1
要获得与spd-say关联的工具speech-dispatcher,您可能需要安装子包,例如speech-dispatcher-utils(Fedora 24)。
dfarrell07'2013/

5

speech-dispatcher手册页:

DESCRIPTION
       speech-dispatcher  is  a  server process that is responsible for trans‐
       forming requests for text-to-speech output into actual speech  hearable
       in the speakers. It arbitrates concurrent speech requests based on mes‐
       sage priorities, and abstracts different  speech  synthesizers.  Client
       programs,  like  screen  readers  or  navigation  software, send speech
       requests to speech-dispatcher using TCP  protocol  (with  the  help  of
       client  libraries).  speech-dispatcher is usually started automatically
       by client libraries (i.e. autospawn), so you only need to run it  manu‐
       ally if testing/debugging, or when in other explicit need for a special
       setup.

除非您已经修改了系统设置,否则spd应该已经自动启动。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.