mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-16 18:22:37 +00:00
[1.42.02]
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@231 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+16
-9
@@ -58,7 +58,9 @@ or<br>
|
||||
Or just type<br>
|
||||
<strong>espeak</strong><br>
|
||||
followed by text on subsequent lines. Each line is spoken when
|
||||
RETURN is pressed.<br>Use <strong>espeak -x</strong> to see the corresponding phoneme codes.
|
||||
RETURN is pressed.
|
||||
<p>
|
||||
Use <strong>espeak -x</strong> to see the corresponding phoneme codes.
|
||||
<p> <hr>
|
||||
<h3>2.2.2 The Command Line Options</h3>
|
||||
<dl>
|
||||
@@ -88,11 +90,15 @@ If neither -f nor --stdin is given, then the text input is taken from "text word
|
||||
<dt>
|
||||
<strong>-s <integer></strong><br>
|
||||
<dd>Sets the speed in words-per-minute (approximate values for the default English voice, others may differ slightly). The default value is 170. I generally use a faster speed
|
||||
of 190. Range 80 to 390.
|
||||
of 190. Range 80 to 390. Larger value are rounded down to the maximum.
|
||||
<p>
|
||||
<dt>
|
||||
<strong>-b</strong><br>
|
||||
<dd>Indicates that the input text is not UTF-8, but the 8-bit character set which corresponds to the language (eg. Latin-2 for Polish). Without this option, eSpeak assumes text is UTF8, but will automatically switch to the 8-bit character set if it finds an illegal UTF8 sequence. That may give wrong results if some 8-bit character sequences look like valid UFT8 multibyte characters.
|
||||
<strong>-b <integer></strong><br>
|
||||
<dd>Input text character format.<p>
|
||||
1 UTF-8. This is the default.<p>
|
||||
2 The 8-bit character set which corresponds to the language (eg. Latin-2 for Polish).<p>
|
||||
4 16 bit Unicode.<p>
|
||||
Without this option, eSpeak assumes text is UTF-8, but will automatically switch to the 8-bit character set if it finds an illegal UTF-8 sequence.
|
||||
<p>
|
||||
<dt>
|
||||
<strong>-g <integer></strong><br>
|
||||
@@ -130,7 +136,7 @@ Quiet. No sound is generated. This may be useful with the -x option.
|
||||
<pre> espeak -vaf</pre>
|
||||
To use the Afrikaans voice. A modifier after the voice name can be used to vary the tone of the voice, eg:
|
||||
<pre> espeak -vaf+3</pre>
|
||||
The variants are <code> +m1 +m2 +m3 +m4 +m5 +m6 </code> for male voices and <code> +f1 +f2 +f3 +f4 </code> which simulate female voices by using higher pitches. Other variants are <code>+croak</code> and <code>+whisper</code>.
|
||||
The variants are <code> +m1 +m2 +m3 +m4 +m5 +m6 +m7</code> for male voices and <code> +f1 +f2 +f3 +f4 </code> which simulate female voices by using higher pitches. Other variants include <code>+croak</code> and <code>+whisper</code>.
|
||||
<p>
|
||||
<voice filename> is a file within the <code>espeak-data/voices</code> directory.<br>
|
||||
<variant> is a file within the <code>espeak-data/voices/!v</code> directory.<p>
|
||||
@@ -188,7 +194,7 @@ Used with <strong>-w</strong>, it starts a new WAV file every <code><minutes&
|
||||
<strong>--voices [=<language code>]</strong><br>
|
||||
<dd>Lists the available voices.<br>
|
||||
If =<language code> is present then only those voices which are suitable for that language are listed.<br>
|
||||
<code>--voices=mbrola</code> lists the voices which use mbrola diphone voices. These are not included in the <code>--voices</code> list<br>
|
||||
<code>--voices=mbrola</code> lists the voices which use mbrola diphone voices. These are not included in the default <code>--voices</code> list<br>
|
||||
<code>--voices=variant</code> lists the voice variants (voice modifiers).<br>
|
||||
|
||||
</dl>
|
||||
@@ -205,7 +211,8 @@ As well as plain text, phoneme mnemonics can be used in the text input to <stron
|
||||
eg: <code> espeak -v en "[[D,Is Iz sVm f@n'EtIk t'Ekst 'InpUt]]" </code><p>
|
||||
This command will speak: "This is some phonetic text input".
|
||||
</dl>
|
||||
|
||||
<hr>
|
||||
<a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=159649&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a>
|
||||
|
||||
</body>
|
||||
</b>
|
||||
|
||||
|
||||
|
||||
+13
-6
@@ -88,13 +88,13 @@ The rules are organized in groups, each starting with a ".group" line:
|
||||
A group for each letter or character.
|
||||
<p>
|
||||
<dt><strong>.group <2 characters></strong><br><dd>
|
||||
Optional groups for some common 2 letter combinations. This is only needed, for efficiency, in cases where there are many rules for a particular letter. They would not be needed for a language which has regular spelling rules.
|
||||
Optional groups for some common 2 letter combinations. This is only needed, for efficiency, in cases where there are many rules for a particular letter. They would not be needed for a language which has regular spelling rules. The first character can only be an ascii character (less than 0x80).
|
||||
<p>
|
||||
<dt><strong>.group</strong><br><dd>
|
||||
A group for other characters which don't have their own group.
|
||||
<p>
|
||||
<dt><strong>.L<nn></strong><br><dd>
|
||||
Defines a group of letter sequences, any of which can match with <strong>Lnn</strong> in a <strong>post</strong> rule (see below). <strong>nn</strong> is a 2 digit decimal number in the range 01 to 25. eg:<p>
|
||||
Defines a group of letter sequences, any of which can match with <strong>Lnn</strong> in a <strong>pre</strong> or <strong>post</strong> rule (see below). <strong>nn</strong> is a 2 digit decimal number in the range 01 to 25. eg:<p>
|
||||
<code>.L01 b bl br pl pr</code>
|
||||
<p>
|
||||
<dt><strong>.replace</strong><br><dd>
|
||||
@@ -159,7 +159,11 @@ indicates that a word which ends in "th" is translated using the English transla
|
||||
<td><strong>B H F G Y </strong></td>
|
||||
<td>These may indicate other sets of characters (defined for a particular language).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td><strong>L<nn></strong></td>
|
||||
<td>Any of the sequence of characters defined as a letter group (see 4.3.1 above).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>D</strong></td>
|
||||
<td>Any digit.</td>
|
||||
</tr>
|
||||
@@ -480,6 +484,10 @@ A word (or group of words) may be given one or more flags, either instead of, or
|
||||
<td>$dot</td>
|
||||
<td>Ignore a . after this word even when followed by a capital letter (eg. Mr. Dr. ).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>$hasdot</td>
|
||||
<td>Use this pronunciation if the word is followed by a dot. (This attribute also implies $dot).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>$abbrev</td>
|
||||
<td>This has two meanings.<br> 1. If there is no phoneme string: Speak the word as individual letters, even if it contains a vowel (eg. "abc" should be spoken as "a" "b" "c").<br>2. If there is a phoneme string: This word is capitalized because it is an abbreviation and capitalization does indicate emphasis (if the "emphasize all-caps" is on).</td>
|
||||
@@ -587,13 +595,12 @@ _0 to _9
|
||||
<td>The numbers 0 to 9
|
||||
</tr>
|
||||
<tr>
|
||||
<td>_13<td>etc. Any pronunciations which are needed for specific numbers in the range _11 to _99
|
||||
<td>_13<td>etc. Any pronunciations which are needed for specific numbers in the range _10 to _99
|
||||
</tr>
|
||||
<tr>
|
||||
<td>_2X _3X<td>Twenty, thirty, etc., used to make numbers 10 to 99
|
||||
</tr>
|
||||
<tr>
|
||||
<td>_nn<td>Any two digit numbers with a special pronunciation (eg. _15 "fifteen").
|
||||
</tr>
|
||||
<tr><TD>_0C<td>The word for "hundred"</td>
|
||||
<tr><TD>_1C _2C<td>Special pronunciation for one hundred, two hundred, etc., if needed.</tr>
|
||||
@@ -601,7 +608,7 @@ _0 to _9
|
||||
<tr><TD>_0M1<td>The word for "thousand"</tr>
|
||||
<tr><TD>_0M2<td>The word for "million"</tr>
|
||||
<tr><TD>_0M3<td>The word for 1000000000</tr>
|
||||
<tr><TD>_1M1 _2M1<td>Special pronunciation for one thousand, two thousand, tc, if needed</td>
|
||||
<tr><TD>_1M1 _2M1<td>Special pronunciation for one thousand, two thousand, etc, if needed</td>
|
||||
<tr><TD>_0and<td>Word for "and" when speaking numbers (eg. "two hundred and twenty").</tr>
|
||||
<tr><TD>_dpt<td>Word spoken for the decimnal point/comma</tr>
|
||||
<tr><TD>_dpt2<td>Word spoken (if any) at the end of all the digits after a decimal point.</tr>
|
||||
|
||||
+27
-19
@@ -17,8 +17,12 @@
|
||||
<div align="center">
|
||||
(email) jonsd at users dot sourceforge.net<br>
|
||||
<a href="http://espeak.sf.net/download.html"><strong>Download</strong></a>
|
||||
<a href="http://sourceforge.net/forum/?group_id=159649"><strong>Forum</strong></a>
|
||||
<a href="http://sourceforge.net/projects/espeak/"><strong>eSpeak Sourceforge page</a>
|
||||
|
||||
<a href="http://sourceforge.net/projects/espeak/"><strong>eSpeak Sourceforge page</a>
|
||||
|
||||
<a href="http://sourceforge.net/forum/?group_id=159649"><strong>Forum</strong></a>
|
||||
|
||||
<a href="http://sourceforge.net/mail/?group_id=159649"><strong>Mailing list</strong></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -40,32 +44,36 @@
|
||||
eSpeak is a compact open source software speech synthesizer for English and other languages, for Linux and Windows.
|
||||
<a href="http://espeak.sourceforge.net/"><strong>http://espeak.sourceforge.net</strong></a>
|
||||
<p>
|
||||
eSpeak produces good quality English speech. It uses a different synthesis method from other open source TTS engines, and sounds quite different. It's perhaps not as natural or "smooth", but I find the articulation clearer and easier to listen to for long periods.
|
||||
eSpeak uses a "formant synthesis" method. This allows many languages to be provided in a small size. The speech is clear, and can be used at high speeds, but is not as natural or smooth as larger synthesizers which are based on human speech recordings.
|
||||
<p>
|
||||
It can run as a command line program to speak text from a file or from stdin. A shared library version is also available.
|
||||
|
||||
eSpeak is available as:
|
||||
<ul>
|
||||
<li>A command line program (Linux and Windows) to speak text from a file or from stdin.
|
||||
<li>A shared library version for use by other programs. (On Windows this is a DLL).
|
||||
<li>A SAPI5 version for Windows, so it can be used with screen-readers and other programs that support the Windows SAPI5 interface.
|
||||
<li>eSpeak has been ported to other platforms, including Solaris and Mac OSX.
|
||||
</ul>
|
||||
Features.
|
||||
<ul>
|
||||
<li>Includes different Voices, whose characteristics can be altered.
|
||||
<li>Can produce speech output as a WAV file.
|
||||
<li>SSML (Speech Synthesis Markup Language) is supported (not complete), and also HTML.
|
||||
<li>Compact size. The program and its data, including many languages, totals about 1 Mbytes.
|
||||
<li>Can translate text to phoneme codes, so it could be adapted as a front end for another speech synthesis engine.
|
||||
<li>Potential for other languages. Several are included in varying stages of progress. Help from native speakers for these or other languages is welcomed.
|
||||
<li>Development tools available for producing and tuning phoneme data.
|
||||
<li>Written in C++.
|
||||
<li>Compact size. The program and its data, including many languages, totals about 1.4 Mbytes.
|
||||
<li>Can be used as a front-end to MBROLA diphone voices, see <a href="mbrola.html">mbrola.html</a>. eSpeak converts text to phonemes with pitch and length information.
|
||||
<li>Can translate text into phoneme codes, so it could be adapted as a front end for another speech synthesis engine.
|
||||
<li>Potential for other languages. Several are included in varying stages of progress. Help from native speakers for these or other languages is welcome.
|
||||
<li>Development tools are available for producing and tuning phoneme data.
|
||||
<li>Written in C.
|
||||
</ul>
|
||||
<p>
|
||||
It works well as a "Talker" with the KDE text to speech system (KTTS), as an alternative to Festival for example. As such, it can speak text which has been selected into the clipboard, or directly from the Konqueror browser or the Kate editor. A Gnome Speech driver is now available.
|
||||
<p>
|
||||
I regularly use it to listen to blogs and news sites. I prefer the sound through a domestic stereo system rather than my small computer speakers.
|
||||
<hr>
|
||||
<strong>Windows Version</strong>. There are Windows SAPI5 and command-line versions of eSpeak. The SAPI5 version can be used with screen readers such as NVDA, JAWS, Supernova, and Window-Eyes.<br>
|
||||
They are available as a Windows installer package from the <a href="download.html"><strong>eSpeak Download</strong></a> page.<p>
|
||||
A Windows version of the espeakedit program is also available.
|
||||
I regularly use eSpeak to listen to blogs and news sites. I prefer the sound through a domestic stereo system rather than small computer speakers, which can sound rather harsh.
|
||||
|
||||
<hr>
|
||||
<strong>Languages</strong>. The eSpeak speech synthesizer supports several languages, however in most cases these are initial drafts and need more work to improve them. Assistance from native speakers is welcome for these, or other new languages. Please contact me if you want to help.<p>
|
||||
eSpeak does text to speech synthesis for the following languages, some better than others. Afrikaans, Albanian, Armenian, Cantonese, Catalan, Croatian, Czech, Dutch, English, Esperanto, Finnish, French, German, Greek, Hindi, Hungarian, Icelandic, Indonesian, Italian, Kurdish, Latvian, Lojban, Macedonian, Mandarin, Norwegian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Spanish, Swahili, Swedish, Tamil, Vietnamese, Welsh. See <a href="languages.html">Languages</a>.
|
||||
<strong>Languages</strong>. The eSpeak speech synthesizer supports several languages, however in many cases these are initial drafts and need more work to improve them. Assistance from native speakers is welcome for these, or other new languages. Please contact me if you want to help.<p>
|
||||
eSpeak does text to speech synthesis for the following languages, some better than others. Afrikaans, Albanian, Armenian, Cantonese, Catalan, Croatian, Czech, Danish, Dutch, English, Esperanto, Finnish, French, German, Greek, Hindi, Hungarian, Icelandic, Indonesian, Italian, Kurdish, Latvian, Lojban, Macedonian, Mandarin, Norwegian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Spanish, Swahili, Swedish, Tamil, Turkish, Vietnamese, Welsh.
|
||||
<hr>
|
||||
The latest <strong>development version</strong> is at:
|
||||
<a href="http://espeak.sf.net/test/latest.html">espeak.sf.net/test/latest.html</a>.
|
||||
<hr>
|
||||
<strong>espeakedit</strong> is a GUI program used to prepare and compile phoneme data. It is now available for download. Documentation is currently sparse, but if you want to use it to add or improve language support, let me know.
|
||||
<hr>
|
||||
|
||||
Reference in New Issue
Block a user