<break>

<break>

The <break> tag instructs the TTS engine to insert a pause in the synthesized text.

Attributes

NameData typeDescription

size

String

Can be one of four possible settings: “none”, “small”, “medium”, or “large”.

time

String

A duration of time specified with the appropriate measurement (e.g., 300ms for three hundred milliseconds).

Notes

Without attributes, a <break> tag will insert a default-length brief break in the text.

Example

<?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.

Child Tags

None

Parent Tags

<audio>, <emphasis>, <enumerate>, <foreach>, <paragraph>, <prompt>, <prosody>, <sentence>, <speak>, <voice>

Last updated