mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-30 22:23:05 +00:00
Fix and update the ssml.md documentation as markup.md.
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
# Text Markup
|
||||
|
||||
- [SSML: Speech Synthesis Markup Language](#ssml-speech-synthesis-markup-language)
|
||||
- [HTML](#html)
|
||||
|
||||
-----
|
||||
|
||||
## SSML: Speech Synthesis Markup Language
|
||||
|
||||
The following markup tags and attributes are recognised:
|
||||
|
||||
**\<speak\>**
|
||||
|
||||
* xml:base (the value is just passed back as a parameter with the UriCallback() function)
|
||||
* xml:lang
|
||||
|
||||
**\<voice\>**
|
||||
|
||||
* xml:lang
|
||||
* name
|
||||
* age
|
||||
* variant
|
||||
* gender
|
||||
|
||||
**\<prosody\>**
|
||||
|
||||
* rate
|
||||
* volume
|
||||
* pitch
|
||||
* range
|
||||
|
||||
**\<say-as\>**
|
||||
|
||||
* interpret-as="characters"
|
||||
* interpret-as="characters" format="glyphs"
|
||||
* interpret-as="tts:key"
|
||||
* interpret-as="tts:char"
|
||||
* interpret-as="tts:digits"
|
||||
|
||||
**\<mark\>** name
|
||||
|
||||
**\<s\>**
|
||||
|
||||
* xml:lang
|
||||
|
||||
**\<p\>**
|
||||
|
||||
* xml:lang
|
||||
|
||||
**\<sub\>** alias
|
||||
|
||||
**\<tts:style\>**
|
||||
|
||||
* field="punctuation" mode=none,all,some
|
||||
* field="capital\_letters" mode=no,spelling,icon,pitch
|
||||
|
||||
**\<audio\>** src
|
||||
|
||||
**\<emphasis\>**
|
||||
|
||||
* level
|
||||
|
||||
**\<break\>**
|
||||
|
||||
* strength
|
||||
* time
|
||||
|
||||
## HTML
|
||||
|
||||
eSpeak can speak HTML text directly, or text containing both SSML and HTML markup.
|
||||
Any unrecognised tags are ignored.
|
||||
|
||||
The following tags case a sentence break.
|
||||
**\<br\> \<dd\> \<li\> \<img\> \<td\>**
|
||||
|
||||
The following tags case a paragraph break.
|
||||
**\<h1\> \<h2\> \<h3\> \<h4\> \<hr\>**
|
||||
|
||||
Text between the following tags is ignored.
|
||||
**\<script\> ... \</script\>**
|
||||
**\<style\> ... \</style\>**
|
||||
Reference in New Issue
Block a user