VoiceXML 2.1 Development Guide Home  |  Frameset Home

  F: All Things Audio  |  TOC  |  The Voxeo Audio Library  

Audio Formats

The Voxeo platform supports a number of different audio formats for our VoiceXML platforms. When converting your sound files, you may want to keep in mind that ALL audio files eventually get converted when output by the phone to a 8bit, 8Khz format upon playback, so for better performance in your application, it is always best to have your files in this format to begin with. The supported sound formats for the Voxeo VXML platform are as follows:


Alternate Text-To-Speech

One of the features of VoiceXML is that it allows you to nest backup TTS within your audio element which will be played to the caller if the audio resource cannot be found. This is somewhat standard procedure for all commercially deployed VoiceXML applications. The syntax neccessary for implementing backup TTS is:


  <audio src="MyBogusFile.wav"> Here is some backup TTS. </audio>


But if we want to have some fine-grained control over our users bargein, then we can further nest the <audio> within a <prompt>:


  <prompt bargein="false">
  <audio src="MyFile.wav">
  Here is some backup TTS.
</audio>
</prompt>




Audio Terminology