actualy, most MIDI is done through an interface such as USB or serial rather than the sound card. MIDI is just a digital representation of the music you're wanting to play. It doesn't actualy store sound, it stores data that your MIDI "instrument" plays.
Unfortunately I'm not sure where to...