Lemme see... this is how I remember it:
The first five WC music (plus WC3) was in MIDI format, and they had this trick to make each track for certain condition and situation (like flying, dogfighting, ejecting, killing an enemy), and they had this way to put the music not simply in the middle, but in the end of a certain segment of a song, to produce a certain continuity...
You can neglect WC Armada a bit, because the music is verrry limited.
Anybody understanding what I'm saying?
Now, in WC4, the music was made in digital audio streaming... and I don't know how they tweaked in that game, as well in KS or WCP.
Anyway, I saw this program this other day which can actually select music tracks for default from WCP during the game without using the 'dynomite' cheat, but it doesn't extract any audio...
-RVN