e_speech-ock

SSML and HTML Support


SSML (Speech Synthesis Markup Language)

SSML consists of XML-like tags, for example: Did you mean the <emphasis level="strong"><prosody pitch="75">green</prosody></emphasis> beans?

The following markup tags and attributes are recognised:

speak

voice

prosody

say-as

mark

s

p

sub

tts:style

audio

emphasis

break

HTML

eSpeak can speak HTML text directly, or text containing both SSML and HTML markup.
Any unrecognised tags are ignored.

The following tags cause a sentence break:

The following tags cause a paragraph break:

Text between the following tags is ignored:

References

SSML

  1. Speech Synthesis Markup Language (SSML) Version 1.0. W3C Recommendation, 3 March 2009. W3C.
  2. Speech Synthesis Markup Language (SSML) Version 1.1. W3C Recommendation, 7 September 2010. W3C.
  3. SSML 1.0 say-as attribute values. W3C NOTE, 26 May 2005. W3C.

HTML

  1. HTML 5.2. W3C Recommendation, 14 December 2017. W3C.
  2. HTML Living Standard. Continually updated. WHATWG.