Last reviewed: 3/23/2024 11:16:14 AM

<audio>

The audio element enables the insertion of recorded audio files and the insertion of other audio formats in conjunction with synthesized speech output.

<?xml version="1.0"?>
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
                   http://www.w3.org/TR/speech-synthesis/synthesis.xsd"
         xml:lang="en-US">

  <audio src="prompt.au">What city do you want to fly from?</audio>
  <audio src="welcome.wav"> 
    <emphasis>Welcome</emphasis> to the Voice Portal. 
  </audio>
</speak>

Attributes

src

The URI of the audio source.

Children

<audio>, <break>, <desc>, <emphasis>, <mark>, <p>, <phoneme>, <prosody>, <say-as>, <sub>, <s>, and <voice>.

Parents

<speak>

Source: Speech Synthesis Markup Language (SSML) Version 1.0