GetVocal Voice Portal Technologies

[1.0 to 2.0][Tags][Attributes][Variables][Events][Properties]

VoiceXML Tag
 <prompt>

Speak text using TTS.

Parent Tags
<block> <catch> <error> <field> <filled> <help> <if> <initial> <menu> <noinput> <nomatch> <object> <record> <subdialog> <transfer>

Content Syntax
The value may be empty, or may contain one or more elements, where an element is either parsed text or one of the following tags.

<audio> <break> <emphasis> <enumerate> <mark> <p> <paragraph> <phoneme> <prosody> <s> <say-as> <sentence> <value> <voice>

Attributes
Name Req/opt Default Valid values
bargein Optional "false" "true"
cond Optional Text
count Optional Text
timeout Optional Text
xml:lang Optional Text

Compatibility
VoiceXML 1.0 Yes, 2.0 Yes.

Description
The <prompt> tag speaks its value (the text enclosed within the tag) using speech synthesis.

The cond attribute may be used to give an expression which must evaluate to true for the prompt to be played.

The count attribute may be used to select which prompt within a item will be played based on the prompt counter (the number of times the user has been prompted in that item).

The timeout attribute specifies how long to wait for input after this prompt has been played.

The xml:lang attribute specifies the language of the enclosed text. If the browser does not support this language, it will throw an error event.

The bargein attribute specifies whether user input will interrupt the prompt and be recognized. A VoiceXML browser is not obligated to support bargein.

©  GetVocal, inc. All Rights Reserved.