| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | <html> |
| 3 | |
| 4 | <head> |
| 5 | <title>eSpeak</title> |
| 6 | <meta name="GENERATOR" content="Quanta Plus"> |
| 7 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 8 | </head> |
| 9 | <body> |
| 10 | <hr> |
| 11 | <h2>TEXT MARKUP</h2> |
| 12 | <hr> |
| 13 | <h3>SSML: Speech Synthesis Markup Language</h3> |
| 14 | The following markup tags and attributes are recognised:<p> |
| 15 | <dl></dl> |
| 16 | <p><b><speak></b> |
| 17 | <ul> |
| 18 | <li>xml:base (the value is just passed back as a parameter with the UriCallback() function) |
| 19 | <li>xml:lang |
| 20 | </ul> |
| 21 | |
| 22 | <p><b><voice></b> |
| 23 | <ul> |
| 24 | <li>xml:lang |
| 25 | <li>name |
| 26 | <li>age |
| 27 | <li>variant |
| 28 | <li>gender |
| 29 | </ul> |
| 30 | <p><b><prosody></b> |
| 31 | <ul> |
| 32 | <li>rate |
| 33 | <li>volume |
| 34 | <li>pitch |
| 35 | <li>range |
| 36 | </ul> |
| 37 | <p><b><say-as></b> |
| 38 | <ul> |
| 39 | <li>interpret-as="characters" |
| 40 | <li>interpret-as="characters" format="glyphs" |
| 41 | <li>interpret-as="tts:key" |
| 42 | <li>interpret-as="tts:char" |
| 43 | <li>interpret-as="tts:digits" |
| 44 | </ul> |
| 45 | <p><b><mark></b> name |
| 46 | <p><b><s></b> |
| 47 | <ul> |
| 48 | <li>xml:lang |
| 49 | </ul> |
| 50 | <p><b><p></b> |
| 51 | <ul> |
| 52 | <li>xml:lang |
| 53 | </ul> |
| 54 | <p><b><sub></b> alias |
| 55 | <p><b><tts:style></b> |
| 56 | <ul> |
| 57 | <li>field="punctuation" mode=none,all,some |
| 58 | <li>field="capital_letters" mode=no,spelling,icon,pitch |
| 59 | </ul> |
| 60 | <p><b><audio></b> src |
| 61 | <p><b><emphasis></b> |
| 62 | <ul> |
| 63 | <li>level |
| 64 | </ul> |
| 65 | <p><b><break></b> |
| 66 | <ul> |
| 67 | <li>strength |
| 68 | <li>time |
| 69 | </ul> |
| 70 | </dl> |
| 71 | <hr> |
| 72 | <h3>HTML</h3> |
| 73 | eSpeak can speak HTML text directly, or text containing both SSML and HTML markup.<br> |
| 74 | Any unrecognised tags are ignored.<p> |
| 75 | The following tags case a sentence break.<br> |
| 76 | <b><br> |
| 77 | <dd> |
| 78 | <li> |
| 79 | <img> |
| 80 | <td> |
| 81 | </b><p> |
| 82 | The following tags case a paragraph break.<br> |
| 83 | <b><h1> |
| 84 | <h2> |
| 85 | <h3> |
| 86 | <h4> |
| 87 | <hr> |
| 88 | </b><p> |
| 89 | Text between the following tags is ignored.<br> |
| 90 | <b><script> ... </script> <br> |
| 91 | <style> ... </style> <br> |
| 92 | </b><p> |
| 93 | </body> |
| 94 | </html> |