markup.md 1.35 KB

Text Markup


SSML: Speech Synthesis Markup Language

The following markup tags and attributes are recognised:

  • xml:base (the value is just passed back as a parameter with the UriCallback() function)
  • xml:lang

  • xml:lang
  • name
  • age
  • variant
  • gender

  • rate
  • volume
  • pitch
  • range

  • interpret-as="characters"
  • interpret-as="characters" format="glyphs"
  • interpret-as="tts:key"
  • interpret-as="tts:char"
  • interpret-as="tts:digits"

name

  • xml:lang

  • xml:lang

alias

  • field="punctuation" mode=none,all,some
  • field="capital_letters" mode=no,spelling,icon,pitch

src

  • level

  • 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.

  • The following tags case a paragraph break.


    Text between the following tags is ignored.

    ...