mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-26 21:14:27 +00:00
[1.44.02]
Fix: crash with very long numbers. Very long nubers ( > 14 digits) now spoken as individual digits. Fix: bracket was interfering with recognizing last-word in a clause. Lang=el fix: all words were spoken as individual letters. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@252 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+12
-17
@@ -49,32 +49,27 @@ directory) into
|
||||
</ol>
|
||||
<h3>Linux Installation</h3>
|
||||
|
||||
I don't think there's a Linux shared library version of Mbrola (equivalent to mbrola.dll), so eSpeak has to pipe phoneme data to the command-line Mbrola.
|
||||
From eSpeak version 1.44 onwards, eSpeak calls the mbrola program directly, rather than passing phoneme data to it using a pipe.
|
||||
<ol>
|
||||
<li>To install the Linux Mbrola binary, download:
|
||||
<a href="http://www.tcts.fpms.ac.be/synthesis/mbrola/bin/pclinux/mbr301h.zip"> http://www.tcts.fpms.ac.be/synthesis/mbrola/bin/pclinux/mbr301h.zip</a>.
|
||||
Unpack the archive, and copy and rename the file: <code>mbrola-linux-i386</code> to
|
||||
Unpack the archive, and copy and rename the file from: <code>mbrola-linux-i386</code> to
|
||||
<code>mbrola</code> somewhere in your executable path (eg. <code>/usr/bin/mbrola</code> ).
|
||||
<p>
|
||||
<li>Get the en1 voice from:
|
||||
<a href="http://www.tcts.fpms.ac.be/synthesis/mbrola/mbrcopybin.html"> http://www.tcts.fpms.ac.be/synthesis/mbrola/mbrcopybin.html</a>.
|
||||
Unpack the archive, and copy the "<b>en1</b>" data file (not the whole "en1"
|
||||
directory) somewhere convenient (eg. <code>/usr/share/mbrola/en1</code> ).
|
||||
directory) to <code>/usr/share/mbrola/en1</code>.<p>eSpeak will look for mbrola voices firstly in <code>espeak-data/mbrola</code> and then in <code>/usr/share/mbrola</code>
|
||||
<p>
|
||||
<li>If you use the eSpeak voice "<b>mb-en1</b>" then eSpeak will generate
|
||||
Mbrola phoneme data on its stdout. You can pipe this into Mbrola.
|
||||
<p>
|
||||
<code>espeak -v mb-en1 -f textfile | mbrola -e /usr/share/mbrola/en1 -
|
||||
test.wav</code>
|
||||
<p>
|
||||
will put the Mbrola speech output into a WAV file. Or you can pipe the output from Mbrola through aplay:
|
||||
<p>
|
||||
<code>espeak -v mb-en1 -f textfile | mbrola -e /usr/share/mbrola/en1 - - | aplay -r16000 -fS16</code>
|
||||
<p>
|
||||
The -e option prevents Mbrola from stopping if it finds a combination
|
||||
of phonemes which it doesn't recognise.
|
||||
<p>
|
||||
Some mbrola voices (de5, de6) use a sample rate of 22050 Hz. These need -r22050 rather than -r16000.
|
||||
<li>If you use the eSpeak voice such as "<b>mb-en1</b>" then eSpeak will use the mbrola "en1" voice, eg:<br>
|
||||
<code>espeak -v mb-en1 "Hello world"
|
||||
</code>
|
||||
<p><p>
|
||||
To generate mbrola phoneme data (.pho file) you can use:<br>
|
||||
<code>espeak -v mb-en1 -q --pho "Hello world"</code>
|
||||
<br>or<br>
|
||||
<code>espeak -v mb-en1 -q --pho --phonout=out.pho "Hello world"</code>
|
||||
|
||||
</ol>
|
||||
<h3>Mbrola Voice Files</h3>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user