Hello Araraf
This is what I did for my project:
1st you must prépare the loop of your sound track with a soft like Audacity (free).
Here the tutorial I used to learn loop
http://www.rpgmakervxace.net/topic/3825-make-looping-bgm-part-1-ogg-vorbis/
PS. is a old tutorial, you can skip the "Label" part.
Then, put it in BGM. Test it in the RPGM editor. If it loops, you did it properly.
Go to script editor to Scene_Gameover line 37.
#-------------------------------------------------------------------------- # * Play Music on Game Over Screen #-------------------------------------------------------------------------- def play_gameover_music RPG::BGM.stop RPG::BGS.stop #$data_system.gameover_me.play RPG::BGM.new("Here the exact name of the song", 100, 100).play endPut a # in front of $data_system.gameover_me.play to cancel it without to remove it if you change your mind.
Aply and save your project.
I hope I dident fail to explain. Learning Audacity is realy easy just to loop my favourite OSTs.