This is an old revision of the document!
The <break> tag instructs the TTS engine to insert a pause in the synthesized text.
|size||Can be one of four possible settings: “none”, “small”, “medium”, or “large”.|
|time||A duration of time specified with the appropriate measurement (e.g., 300ms for three hundred milliseconds).|
Without attributes, a <break/> tag will insert a default-length brief break in the text.
<?xml version="1.0"?> <vxml version="2.0"> <form> <block> <prompt> Let's have a moment of silence. <break time="5s"/> Okay. All done. </prompt> </block> </form> </vxml>
The output of the above script would be:
Computer: Let's have a moment of silence.
Computer: (5 seconds of silence)
Computer: Okay. All done.