Hello Alebrije, thank you for your comments. I'd be more than happy to help, although to be honest, I'm not doing anything special when it comes to playing music. I am currently using Beta 12, but have used 107 + several other beta's over the last few months and all seemed to work fine.
The first thing I do is create a global variable;
I then load the music file;
LevelMusic = LoadMusic("Sounds\LevelMusic.wav") // Note; I am using Wav's and not MP3's (I was using MP3's originally but due to licensing I had to remove them)
From here, I simply call the PlayMusic command at the start of my level;
if Music = 1 // Checks to see if Music is 'On' in options
if GetMusicPlaying() = 0 // Ensures music is not already playing
if Level = 10 // Level 10 has different music
PlayMusic(BossMusic, 1, BossMusic, BossMusic) // Boss Music
else
PlayMusic(LevelMusic, 1, LevelMusic, LevelMusic) // You must give a start and end ID and seeing as I want to loop the same song, I just update the same ID in start and end.
endif
endif
endif
I hope this helps you... Let me know if you have any issues.