MBROLA is a speech synthesizer for a large number of languages. It
converts a list of phonemes to a wave file, so you need some other
tool to convert the text into a list of phonemes. The license of
MBROLA allows to use and MBROLA free of charge for non-commercial,
non-military applications.
For our example we will use Hadifax in order to convert German texts
into a list of phonemes suitable for MBROLA. We will assume that
Hadifax and MBROLA are installed to
/usr/local/hadifax/ and
/usr/local/mbrola/ .
Unfortunately Hadifax tends to swallow the last character of the text,
so we may want to add an additional character to the text. The complete
command is therefore more complex than the previous examples:
(cat - ; echo " " ) | /usr/local/hadifax/txt2pho -f
| /usr/local/mbrola/mbrola -e
/usr/local/mbrola/de1/de1 - /tmp/tmp.wav ;
artsplay /tmp/tmp.wav ; rm /tmp/tmp.wav
All parts of this command need to be written into one line. The option
Send the data as standard input must be enabled.
|
Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team