Playing a Midi

AngryPanda

New member
Joined
Jan 18, 2006
Messages
1
Programming Experience
Beginner
This must be simple, but does anyone have a snippet of code of how to get a midi to play? I'm making a countdown clock where every X minutes (user specified) there is a midi file that should be played. I've looked at approximately 4.1 billion tutorials on this, none of which work (in my project). Their examples work fine in their own project, but I absolutely cannot get it to work in my project. Some use Microsoft.DirectShow.SoundPlayer or some such thing, but when I try to imports that, I get the blue squiggly. Others use winmm.dll, but my copied and pasted code don't work in my app. Can anyone help me out here?
 
Back
Top