Programming Reference

To play an audio file, insert the filename of the audio file in the program where you would like it to play.
Audio files can be played multiple times in a row by placing n* in front of the filename, where n is 2 to 15.

Code Example



Play the audio file sound_effect1.wav


Play the audio file sound_effect2.wav three times in a row


Play and repeat the audio file sound_effect.wav indefinitely. Can be stopped with the stop_r command.

Audio files must be in .wav format.
Any audio file used in the program must be declared in the [files] section of the program.
See Preparing Your Audio to learn more about editing, processing, and sample rates.