There are (at least) three methods to get music via Sound Blaster:
- Using the DAC to stream out the music (like most modern games). It was rarely used (if it was used at all) in DOS games. I think Command & Conquer used this method.
- Using it as a sampler (a software sampler, it's really MOD music). The music is composed of samples that are played in different tones. Pinball Dreams, Crusader: No remorse and others used this method.
- Using the OPLs. The instruments are programmed on the card and then the notes are played. Every OPL / FM game use this method.
If the game use the first method, you won't be able to convert it to MIDI. No, that's not really true. It's the same problem than converting a mp3 to MIDI... some programs claim that they can do it, but the results are disappointing (at best).
If the game use the second method (MOD music), you'll had to hack the game to extract the notes that are played.
The last method is the easiest, because DOSBox can capture the FM music and you can extract the notes played.
That was about the notes. Now, let's talk about instruments. If you capture FM music, there is a chance that you could get a table that matches OPL parameters with instruments; if the game used MOD music you won't have that chance. But keep in mind that you'll find some games that have non-MIDI instruments. Two examples: the table "Party Land" from Pinball Fantasies has a duck (but I don't remeber if it is used as F/X or into the music), while Knights of Xentar uses a meow on the music of certain town.
I have traveled across the universe and through the years to find Her.
Sometimes going all the way is just a start...
I'm selling some stuff!