Specify XML text to be spoken using TTS
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)|
|IsXML||a keyword indicating that the text is to be processed as simple XML (if not automatically detected)|
|IsSSML||a keyword indicating that the file content is to be processed as SMML (if not automatically detected)|
|NoXML||a keyword indicating that the file content is to be processed as text even if an XML element is found.|
|SAPI||force 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
$tts_text "Please enter your ZIP code"
$get_var ZIP 5 5