eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ssml.html 1.8KB

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