Jump to content
  • Advertisement


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


DMusic help...

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

Ive implemented DirectMusic and Installed the Producer, now I need to create the Bgnd music for my game. My goal is to: 1) create a standard midi file (maybe in producer or imported into producer). 2) Create a DLS in Producer (collection of wavs) 3) Assign tracks of the midi file to the wavs in the DLS. 4) Export the DLS and Sequence files to my game folder. 5) Play the Sequence with the DLS in my game. My problem is, I cant assign the wavs to the imported midi file correctly in my game. What I do is import the midi file, then add a band track and add wav files to the band, then assign the wavs to the tracks. It works ok in producer if I do it this way, but my DMusic routine doesnt play the WAV (DLS), only the sequence file using standard instruments! Ive told DMusic to globally automatically download the DLS but it still does not play the wavs! Ive also tried to add a seperate Band in Producer, then assign the wavs to the tracks in the Segment(midi file), It plays ok, but when I exit Producer and re-enter, the wavs arent assigned anymore! It plays normal instruments. DMusic is very complicated (Those damn MS structs) when compared even to DDraw, and I no nothing about music, so can someone please supply me some source code to do what I need? Basically I need the source to load a DLS and a SGT file, and play it. A sample DLS and SGT file would be a great help too. ;=- Thankx -=;

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!