• Advertisement

Archived

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

Correct way to play a .MID file?

This topic is 5589 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

Okay, basic question for you experts. I''m writing a game in Delphi6 with DELPHIX. I want to use DXSOUND to play my .WAV files for sound effects but I would like to play a .MID in the background for music. What exactly is the correct way to play a MID? Delphi 6 comes with a MEDIA player type component, should I use that and hide it on my form? (Sorry if I sound like an idiot) Thanks. Matt

Share this post


Link to post
Share on other sites
Advertisement
DelphiX doesn''t have support for MIDI fles, though DirectX does using the DirectMusic api. There''s an article on GameDev here, although it''s in C++.

Share this post


Link to post
Share on other sites

  • Advertisement