XenoGuard Documentation

Audio File

Actions » Windows » Audio » Audio File 

The action Audio File plays an audio file located in a specified directory. It recognizes audio file formats such as Audio Interchange File Format (.aiff), Monkey's Audio (.ape), Free Lossless Audio Codec (.flac), MPEG-1 Audio Layer III (.mp3), MPEG-4 (.mp4), OGG Vorbis (.ogg), Waveform Audio File (.wav) and Windows Media Audio (.wma)

[-] Hide
  1. Open the Windows node in the Workspace Explorer.
  2. In the Audio node, select the Audio File action.


The action has the following input parameters:

name Description
File Path
The path of the audio file.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Type [Variable, Parameter, Enum]
Start Position [ms]
The position where the audio file will start to play.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Allowed Values [Unsigned Number]
Duration [ms]
The length of time of the section to play.

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Allowed Values [Unsigned Number]

Information Accepted audio file format includes AIFF, APE, FLAC, MP3, MP4, OGG, WAV and WMA.
Warning The audio file runs the full length if the value set for the Start Position is more than its length.

Example 1 (Run audio files from a playlist directory):

This example plays audio files from a specified directory and displays the audio's filename via Message Box

See other audio operations:

Beep Sound
Speech Output