<ActionTemplates>
   <Action>
      <Name>Audio.GetCurrentPos</Name>
      <Description>Retrieves the current time position of an audio channel, in seconds.</Description>
      <ReturnValueType>number</ReturnValueType>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to get the current time of.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.GetLength</Name>
      <Description>Retrieves the length (in seconds) of the audio track in a channel.</Description>
      <ReturnValueType>number</ReturnValueType>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel whose track you want the length of.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.GetFilename</Name>
      <Description>Returns the path to the file that is loaded in an audio channel.</Description>
      <ReturnValueType>string</ReturnValueType>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to get the filename of.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.GetOggTags</Name>
      <Description>Returns a table containing the standard tag information of the specified Ogg Vorbis file.</Description>
      <ReturnValueType>table</ReturnValueType>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to inspect.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.GetVolume</Name>
      <Description>Retrieves the current volume of an audio channel. The volume is represented as a number between 0 and 255.</Description>
      <ReturnValueType>number</ReturnValueType>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to get the volume of.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.IsLooping</Name>
      <Description>Returns true if an audio channel is set to loop when it reaches the end.</Description>
      <ReturnValueType>boolean</ReturnValueType>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to inspect.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.Load</Name>
      <Description>Loads an audio file into an audio channel.</Description>
      <ReturnValueType/>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to load the file into.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4</Constraints>
            </EasyMode>
         </Arg>
         <Arg>
            <Name>Filename</Name>
            <Description>The path to the audio file. Click the browse button to select a file.</Description>
            <Type>string</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>"AutoPlay\\Audio\\Play.wav"</Default>
               <DataType>fileedit</DataType>
               <Constraints>Audio</Constraints>
            </EasyMode>
         </Arg>
         <Arg>
            <Name>PlayAutomatic</Name>
            <Description>Whether to automatically start playing the audio file after it loads.</Description>
            <Type>boolean</Type>
            <Default>false</Default>
            <Required>0</Required>
            <EasyMode>
               <Default>false</Default>
               <DataType>boolean</DataType>
               <Constraints/>
            </EasyMode>
         </Arg>
         <Arg>
            <Name>Loop</Name>
            <Description>Whether to make the audio file loop when it reaches the end.</Description>
            <Type>boolean</Type>
            <Default>false</Default>
            <Required>0</Required>
            <EasyMode>
               <Default>false</Default>
               <DataType>boolean</DataType>
               <Constraints/>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.Pause</Name>
      <Description>Pauses an audio channel's playback.</Description>
      <ReturnValueType/>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to pause.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4,CHANNEL_ALL</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.Play</Name>
      <Description>Plays the audio currently loaded in the channel.</Description>
      <ReturnValueType/>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to play.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_BACKGROUND</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4,CHANNEL_ALL</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.Seek</Name>
      <Description>Seeks to a time position in an audio file.</Description>
      <ReturnValueType/>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to seek in.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4</Constraints>
            </EasyMode>
         </Arg>
         <Arg>
            <Name>SeekType</Name>
            <Description>The seek type to use.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>SEEK_BEGINNING</Default>
               <DataType>combo</DataType>
               <Constraints>SEEK_BEGINNING,SEEK_END,SEEK_FORWARD,SEEK_BACKWARD,SEEK_SPECIFIC</Constraints>
            </EasyMode>
         </Arg>
         <Arg>
            <Name>SeekTime</Name>
            <Description>The time in seconds to seek to (or seek by). Defaults to 0.</Description>
            <Type>number</Type>
            <Default>0</Default>
            <Required>0</Required>
            <EasyMode>
               <Default>0</Default>
               <DataType>number</DataType>
               <Constraints>*,*</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.SetVolume</Name>
      <Description>Sets the volume level of an audio channel.</Description>
      <ReturnValueType/>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to set the volume for.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4,CHANNEL_ALL</Constraints>
            </EasyMode>
         </Arg>
         <Arg>
            <Name>Volume</Name>
            <Description>The volume level represented by a number between 0 and 255. The value 255 is the loudest.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>0</Default>
               <DataType>number</DataType>
               <Constraints>0,255</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.SetLooping</Name>
      <Description>Turns looping on or off for an audio channel.</Description>
      <ReturnValueType/>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to change.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4,CHANNEL_ALL</Constraints>
            </EasyMode>
         </Arg>
         <Arg>
            <Name>Looping</Name>
            <Description>Whether to make the audio file loop when it reaches the end.</Description>
            <Type>boolean</Type>
            <Default>true</Default>
            <Required>0</Required>
            <EasyMode>
               <Default>true</Default>
               <DataType>boolean</DataType>
               <Constraints>none</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.Stop</Name>
      <Description>Stops playing an audio channel.</Description>
      <ReturnValueType/>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to stop.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4,CHANNEL_ALL</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.ToggleMute</Name>
      <Description>Toggles the sound on or off for the specified audio channels.</Description>
      <ReturnValueType/>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to toggle.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4,CHANNEL_ALL</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
   <Action>
      <Name>Audio.TogglePlay</Name>
      <Description>Toggles an audio channel's playback between playing and paused.</Description>
      <ReturnValueType/>
      <Arguments>
         <Arg>
            <Name>Channel</Name>
            <Description>The audio channel to play or pause.</Description>
            <Type>number</Type>
            <Default/>
            <Required>1</Required>
            <EasyMode>
               <Default>CHANNEL_NARRATION</Default>
               <DataType>combo</DataType>
               <Constraints>CHANNEL_BACKGROUND,CHANNEL_EFFECTS,CHANNEL_NARRATION,CHANNEL_USER1,CHANNEL_USER2,CHANNEL_USER3,CHANNEL_USER4,CHANNEL_ALL</Constraints>
            </EasyMode>
         </Arg>
      </Arguments>
   </Action>
</ActionTemplates>
