mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
espeak_Key(key_name) If key_name is a single character, it speaks the character name. Otherwise it speaks key_name as a text string. This is the same behaviour as <say-as interpret-as="tts:key"> Fix: SAPI5 was restricted to 360 wmp. Now the top speed (390 wpm) is allowed. Fix error in phoneme translation data for mbrola "cr1" Croation voice. *_list files: Allow word groups which have no phoneme translation, so that just attributes can be set. The words are considered as a single hyphenated word. Fix: $textmode in *_list files, allow replacement by a word which is also translated in the *_list file. lang=pl: many additions to pl_rules, pl_list git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@165 d46cf337-b52f-0410-862d-fd96e6ae7743
94 lines
2.1 KiB
HTML
94 lines
2.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
|
|
<head>
|
|
<title>eSpeak</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
</head>
|
|
<body>
|
|
<hr>
|
|
<h2>TEXT MARKUP</h2>
|
|
<hr>
|
|
<h3>SSML: Speech Synthesis Markup Language</h3>
|
|
The following markup tags and attributes are recognised:<p>
|
|
<dl></dl>
|
|
<p><b><speak></b>
|
|
<ul>
|
|
<li>xml:base (the value is just passed back as a parameter with the UriCallback() function)
|
|
<li>xml:lang
|
|
</ul>
|
|
|
|
<p><b><voice></b>
|
|
<ul>
|
|
<li>xml:lang
|
|
<li>name
|
|
<li>age
|
|
<li>variant
|
|
<li>gender
|
|
</ul>
|
|
<p><b><prosody></b>
|
|
<ul>
|
|
<li>rate
|
|
<li>volume
|
|
<li>pitch
|
|
<li>range
|
|
</ul>
|
|
<p><b><say-as></b>
|
|
<ul>
|
|
<li>interpret-as="characters"<p>
|
|
The names of the characters are spoken.
|
|
<li>interpret-as="characters" format="glyphs"<p>
|
|
As "characters", but upper-case letters are prefixed with "Capital".
|
|
<li>interpret-as="tts:key"<p>
|
|
If the text is only one character, the name of the character is spoken, including punctuation characters. If the text is more than one character, it is spoken as words.
|
|
<li>interpret-as="tts:char"<p>
|
|
The name of the character is spoken, including punctuation characters.
|
|
<li>interpret-as="tts:digits"<p>
|
|
The digits are spoken individually.
|
|
</ul>
|
|
<p><b><mark></b> name
|
|
<p><b><s></b>
|
|
<ul>
|
|
<li>xml:lang
|
|
</ul>
|
|
<p><b><p></b>
|
|
<ul>
|
|
<li>xml:lang
|
|
</ul>
|
|
<p><b><sub></b> alias
|
|
<p><b><tts:style></b>
|
|
<ul>
|
|
<li>field="punctuation" mode=none,all,some
|
|
<li>field="capital_letters" mode=no,spelling,icon,pitch
|
|
</ul>
|
|
<p><b><audio></b> src
|
|
<p><b><emphasis></b>
|
|
<ul>
|
|
<li>level
|
|
</ul>
|
|
<p><b><break></b>
|
|
<ul>
|
|
<li>strength
|
|
<li>time
|
|
</ul>
|
|
</dl>
|
|
<hr>
|
|
<h3>HTML</h3>
|
|
eSpeak can speak HTML text directly, or text containing both SSML and HTML markup.<br>
|
|
Any unrecognised tags are ignored.<p>
|
|
The following tags case a sentence break.<br>
|
|
<b><br>
|
|
<li>
|
|
<img>
|
|
<td>
|
|
</b><p>
|
|
The following tags case a paragraph break.<br>
|
|
<b><h1>
|
|
<h2>
|
|
<h3>
|
|
<h4>
|
|
<hr>
|
|
</b><p>
|
|
</body>
|
|
</html>
|