Variable-Based Music?

Okay, I've got another problem...


So I want it when you battle, say, a random guy, it plays the normal music.


But when you do a "boss battle", it plays much epic-er music. (I have that covered).


Problem is, I don't know how to have multiple types of music play depending on a variable. (The variable being the enemy.)


Thanks!


EDIT: I found a similar problem on Steam: http://steamcommunity.com/app/220700/discussions/0/540744937136002023/
You could use two variables, one that determines the type of battle (normal, boss, others) and another one that sets the BGM.
1) At the start of the battle, roll a random number with the type of battle variable.
2) Set a conditional branch so that if type of battle=normal or boss.
3) Roll again a random number, this time, with the BGM variable, and set another conditional branch so that BGM=1, play BGM: Battle 1 and so on.
4) In the other hand, if type of battle=boss, repeat 3 and 4 until necessary.

Original thread: https://forums.rpgmakerweb.com/threads/variable-based-music.62702/