PlayAudio


PlayAudio channel, filename${,StartPaused}

This command plays an audio file on the specified channel. Channel may be 1 to 10. Up to 10 audio files may be playing concurrently. The optional StartPaused flag may be 0 (start playing immediately - default) or 1 (Start paused). When an audio file is StartPaused, audio will not start playing until a ResumeAudio command is executed.


Example:


PlayAudio 1, "audio/myaudio.mp3"

Wait


If you download audio files from the Forum, they will be stored in Mintoris.Basic/Data/Audio. The audio directory is only a suggested place to store audio files. Audio files may be stored anywhere relative to the current working directory.





GetAudioDuration()


GetAudioPosition()


SetAudioPosition


PauseAudio


ResumeAudio


StopAudio