什么是“语音调度员”?

什么是“语音调度员”?

我无法从 Ubuntu 中获取声音。有些文章建议启用“语音调度程序” /etc/default/speech-dispatcher。它是什么?它有什么用?有什么想法吗?

答案1

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

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

您可以将其与以下产品一起使用spd-say

$ spd-say Hello!

答案2

来自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 应该已经自动启动。

相关内容