Specify XML text to be spoken using TTS

$tts_file "text" [IsXML|IsSSML|NoXML|SAPI]

This command specifies the text to be spoken as a prompt or message.  The text is converted to WAV on-the-fly as the call proceeds.  For more information see the topic Using Text-to-Speech.

The parameters on this command are used as follows:

text the text to be spoken (up to approximately 8000 characters)
IsXMLa keyword indicating that the text is to be processed as simple XML (if not automatically detected)
IsSSMLa keyword indicating that the file content is to be processed as SMML (if not automatically detected)
NoXMLa keyword indicating that the file content is to be processed as text even if an XML element is found.
SAPIforce the XML elements to be parsed as for SAPI.

The keyword option, if given, overrides the value from the TTS_OPTIONS variable.  If more than one command is used, the text is concatenated.  The options from other than the first command are ignored.

In TTS text (and TTS files), CopiaFacts variables are expanded using the defined e-mail variable-expansion character (default ` accent-grave).

If the text starts with a < and the NoXML keyword is not found, it will be processed as simple XML.  For details of the Microsoft implementation, see the Microsoft Speech documentation at http://msdn.microsoft.com/en-us/library/hh378377(v=office.14).aspx.


; filename 00004000.iif

$type question

$tts_text "Please enter your ZIP code"

$get_var ZIP 5 5 

$next_box 4001

$error_exit 999