• Advertisement

Archived

This topic is now archived and is closed to further replies.

Midi with DirectMusic

This topic is 5993 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Can anyone help me find the source code to play midi files *.mid in directmusic cos i''m having trouble.

Share this post


Link to post
Share on other sites
Advertisement
Take a look at the PlayAudio sample which comes with the SDK. This is a good simple introduction to DirectMusic and contains the special case code which is needed for MIDI files.

The file dmutil.cpp contains all the DirectMusic code and so it is a good idea to breakpoint the functions to give you an idea how and when they are called. This should give you a good idea how DirectMusic works, and perhaps be a good starting point for your own implementation.

Cheers,
John

Share this post


Link to post
Share on other sites

  • Advertisement