<viz>.addAudio

Adds an audio file

 

<viz>.addAudio(
    filename    

)

 

filename

Filename of an audio file that is supported by your system.


Remarks

Vizard supports any audio type that is supported by your system through a DirectShow filter. Most systems will support wav, wma, and mp3 files by default.

Return Value

<multimedia:av> object.

Example

audio = viz.addAudio('someFile.wav')

See also

<viz>.addVideo