# PLAY EFFECT

Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 Picomite CMM2

Syntax:
PLAY EFFECT file$ [,interrupt]

Description:
This will play the WAV file ' file$' at the same time as a MOD file is playing.
If a previous EFFECT file is playing this command will immediately terminate it and commence playing the new file.
The file is played in the background, 'interrupt' is optional and is the name of a subroutine that will be called when the file has finished playing.
Note: wav files played using PLAY EFFECT during mod file playback must have the same sample rate as the modfile output.
Files can be mono or stereo.

Last edited: 30 September, 2020