Anyone have a pointer to sample code to play a midi file? I used to use playMIDIFile but can't seem to get it to work any longer...
Thanks
Anyone have a pointer to sample code to play a midi file? I used to use playMIDIFile but can't seem to get it to work any longer...
Thanks
On a Windows sytstem??? There might be some information on this page. A few years ago, I used the info from that site to write program that played a few MIDI notes, but I didn't try to play an existing MIDI file. (The sample code on that page uses C, but of course you can use the functions in C++ too.)
(Assuming Windows) there is also a good reference at MSDN There are also lots of DirectX MIDI functions, but you might need to dig-around MSDN a bit more.