Audio

Audio

in

The audio element retrieves and plays the specified audio file. If the audio file is unavailable, any enclosed text is sent to the TTS engine for speech synthesis instead. The attributes of the audio element are as follows: Src is the URI of the audio prompt. Expr is the expression attribute, and it may be either a reference to audio previously recorded with the item or evaluate to the URI of an audio resource to fetch. Stream is the URI of a Shoutcast MP3 audio stream to play. Any queued audio is immediately cleared if an MP3 audio stream is opened. The fetchtimeout attribute indicates the timeout for fetches. This attribute must be specified with the appropriate time units. The maxage tells the platform the maximum acceptable age, in seconds, of cached audio resources. Maxstale tells the platform the maximum acceptable staleness, in seconds, of expired cached audio resources. Maxtime is the maximum number of seconds the audio prompt can take to play. Starttime is the number of seconds in the references audio prompt at which to begin playback. Within this element, the setting for the “src” attribute has priority over the setting for the expr attribute.

Related links

Related terms

for "Audio"

Search Glossary

Term of the Day

The maxspeechtimeout property indicates the maximum duration of users speech input.
See also: Property, Tag, VoiceXML