Most soundblaster cards have a recording mode called "What U Hear" which allows you to digitally record what is coming out of your speakers. If you have a soundblaster card, select this recording source, play the midi file, and record the output with a wav recording program at the same time.