Difference between revisions of "Mbrola"

From ArchWiki
Jump to: navigation, search
(removed stub flag)
(Change AUR link to a search containing mbrola voices.)
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
=Introduction=
+
[[Category:Accessibility]]
 +
{{stub}}
 
[http://tcts.fpms.ac.be/synthesis/mbrola.html mbrola] is a '''non-free''' phonemes-to-audio program.
 
[http://tcts.fpms.ac.be/synthesis/mbrola.html mbrola] is a '''non-free''' phonemes-to-audio program.
  
=Step 1: Installation=
+
==Step 1: Installation==
A package is available in [[AUR]].
+
A package is available in [https://aur.archlinux.org/packages.php?ID=2027 AUR]
  
=Step 2: Add voices=
+
==Step 2: Add voices==
Packages named ''mbrola-voices-xxx'' are available in [[AUR]].
+
Packages named ''mbrola-voices-xxx'' are available in [https://aur.archlinux.org/packages.php?K=mbrola-voices AUR]
  
 
'''Note:''' these packages have been built by a script so if something is wrong leave a comment and I'll try to fix.
 
'''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=
+
==Step 3: Testing==
 +
 
 
Once you have installed the wanted voice(s) go to the directory of the installed language:
 
Once you have installed the wanted voice(s) go to the directory of the installed language:
  $ cd /usr/share/voices/us1/
+
  $ cd /usr/share/mbrola/us1/
 
then list the test files:
 
then list the test files:
 
  $ ls TEST/
 
  $ 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.
 
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:
 
Else choose a test file (files with .pho extension) and try:
 
  $ mbrola ./us1 ./TEST/mbrola.pho ~/test.wav; aplay ~/test.wav; rm ~/test.wav
 
  $ 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 don't work go ask for help on forums.
+
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 don't have a text-to-speech system yet, lets see the next step.
+
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=
+
==Step 4: Install a text-to-phonemes program==
 
To obtain a full TTS system we need a text-to-phonemes program compatible with mbrola: [http://tcts.fpms.ac.be/synthesis/mbrola.html List of TTS programs compatible with mbrola].
 
To obtain a full TTS system we need a text-to-phonemes program compatible with mbrola: [http://tcts.fpms.ac.be/synthesis/mbrola.html List of TTS programs compatible with mbrola].
  
==lliaphon==
+
===lliaphon===
 
[http://gna.org/projects/lliaphon LLiaPhon] is a TTS program which uses mbrola.
 
[http://gna.org/projects/lliaphon LLiaPhon] is a TTS program which uses mbrola.
  
 
''See the detailed article: [[lliaphon]]''
 
''See the detailed article: [[lliaphon]]''

Revision as of 20:58, 31 October 2012

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

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

LLiaPhon is a TTS program which uses mbrola.

See the detailed article: lliaphon