Playing MIDI file in C# from memory
See the question and my original answer on StackOverflowYou can use the SoundPlayer class:
using (Stream midi = Resources.ResourceManager.GetStream("myMidi"))
{
using (SoundPlayer player = new SoundPlayer(midi))
{
player.Play();
}
}