Linux中有哪些语音库?

时间:2023-02-04 16:57:57

When it comes to TTS (text-to-speech) libraries in Linux, what choices do developers have?

谈到Linux中的TTS(文本到语音)库,开发人员有哪些选择?

What libraries ship with the majority of distros?

哪些图书馆附带大多数发行版?

Are there minimal libraries? What functionality does each library offer?

有最小的图书馆吗?每个图书馆提供哪些功能?

I'm approaching this primarily from a C++ point of view, although Python would suit me too.

我主要是从C ++的角度来看待这个问题,尽管Python也适合我。

2 个解决方案

#1


1  

Use Flite as your speech library, and then use voices from festival or festvox.

使用Flite作为您的语音库,然后使用来自festival或festvox的声音。

#2


5  

Ubuntu comes with eSpeak, which is quite simple to use. From the console, simply enter:

Ubuntu附带eSpeak,使用起来非常简单。从控制台,只需输入:

espeak "Hello World"

Other options include Festival and Flite. Festival is the most sophisticated one I've used so far, and I've successfully installed new, less artificial-sounding voices (for Ubuntu, see http://ubuntuforums.org/showthread.php?t=677277). Flite is very simple but doesn't have the same level of customizability as Festival.

其他选择包括Festival和Flite。 Festival是迄今为止我用过的最复杂的节日,我已经成功地安装了新的,不那么人为的声音(对于Ubuntu,请参阅http://ubuntuforums.org/showthread.php?t=677277)。 Flite非常简单,但与Festival不具备相同的可定制性。

If you want, for example, a Python program that synthesizes speech, there is a somewhat inactive project called PyFestival that's quite easy to use (http://code.google.com/p/pyfestival/).

例如,如果你想要一个合成语音的Python程序,那么有一个名为PyFestival的非活动项目很容易使用(http://code.google.com/p/pyfestival/)。

#1


1  

Use Flite as your speech library, and then use voices from festival or festvox.

使用Flite作为您的语音库,然后使用来自festival或festvox的声音。

#2


5  

Ubuntu comes with eSpeak, which is quite simple to use. From the console, simply enter:

Ubuntu附带eSpeak,使用起来非常简单。从控制台,只需输入:

espeak "Hello World"

Other options include Festival and Flite. Festival is the most sophisticated one I've used so far, and I've successfully installed new, less artificial-sounding voices (for Ubuntu, see http://ubuntuforums.org/showthread.php?t=677277). Flite is very simple but doesn't have the same level of customizability as Festival.

其他选择包括Festival和Flite。 Festival是迄今为止我用过的最复杂的节日,我已经成功地安装了新的,不那么人为的声音(对于Ubuntu,请参阅http://ubuntuforums.org/showthread.php?t=677277)。 Flite非常简单,但与Festival不具备相同的可定制性。

If you want, for example, a Python program that synthesizes speech, there is a somewhat inactive project called PyFestival that's quite easy to use (http://code.google.com/p/pyfestival/).

例如,如果你想要一个合成语音的Python程序,那么有一个名为PyFestival的非活动项目很容易使用(http://code.google.com/p/pyfestival/)。