Difference between revisions of "Mbrola"

From ArchWiki
Jump to: navigation, search
(Change AUR link to a search containing mbrola voices.)
Line 4: Line 4:
==Step 1: Installation==
==Step 1: Installation==
A package is available in [https://aur.archlinux.org/packages.php?ID=2027 AUR]
A package is available in AUR: {{AUR|mbrola}}
==Step 2: Add voices==
==Step 2: Add voices==

Revision as of 19:32, 26 December 2014

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Mbrola#)

mbrola is a non-free phonemes-to-audio program.

Step 1: Installation

A package is available in AUR: mbrolaAUR

Step 2: Add voices

Packages named mbrola-voices-xxx are available in AUR

Note: these packages have been built by a script so if something is wrong leave a comment and I'll try to fix.

Step 3: Testing

Once you have installed the wanted voice(s) go to the directory of the installed language:

$ cd /usr/share/mbrola/us1/

then list the test files:

$ ls TEST/

If there are no test files for this language skip this test and go to step 3 or try with an other language.

Else choose a test file (files with .pho extension) and try:

$ mbrola ./us1 ./TEST/mbrola.pho ~/test.wav; aplay ~/test.wav; rm ~/test.wav

If you hear a voice it works, if not, check that you did everything good and if it still do not work go ask for help on forums.

Note that we didn't give a text file to mbrola but a phoneme file so we do not have a text-to-speech system yet, lets see the next step.

Step 4: Install a text-to-phonemes program

To obtain a full TTS system we need a text-to-phonemes program compatible with mbrola: List of TTS programs compatible with mbrola.


LLiaPhon is a TTS program which uses mbrola.

See the detailed article: lliaphon