PLAYMUSIC file$, bLoop%
Plays a music file in the background. All music file formats with installed codecs are supported. (midi, wav, mp3...)
To stop the music call STOPMUSIC.
The parameter bLoop% indicates, whether the music should be looped (TRUE) or not (FALSE).
With ISMUSICPLAYING() you can test whether the music is currently playing or not.
PLAYMUSIC "Music.mp3", TRUE
PRINT "Music!", 100, 100
STOPMUSIC // GLBasic does this automatically when ending