Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

SPVACTIONS

SPVACTIONS specifies the action that should be taken by the TTS engine for the text fragment with which it is associated.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>typedef enum SPVACTIONS { SPVA_Speak,</strong> <strong>SPVA_Silence, SPVA_Pronounce, SPVA_Bookmark, SPVA_SpellOut, SPVA_Section, SPVA_ParseUnknownTag } SPVACTIONS;</strong> </pre>

Elements

  • SPVA_Speak
    The default value - the associated text fragment should be processed and spoken.
  • SPVA_Silence
    There is no associated text string - the associated fragment was the result of a Speech Synthesis Markup Language (SSML) break element, and a silence (of length specified in the associated SPVSTATE) should be inserted into the output stream.
  • SPVA_Pronounce
    The associated text (possibly empty) is associated with an SSML phoneme XML element, and should be pronounced as specified in the associated SPVSTATE.
  • SPVA_Bookmark
    The associated text fragment is the contents of a bookmark.
  • SPVA_SpellOut
    Each character, other than white space, of the associated text fragment should be expanded as a word (for example, "word!" would become "w o r d exclamation point").  
  • SPVA_Section
    Reserved for future use.
  • SPVA_ParseUnknownTag
    The associated text fragment is an unknown XML tag that may be interpreted (or ignored) by the engine.