   problem with sound in game
  i have the weierdest problem....  first off im using direct x 9  and c++.....as of right now i am testing the game.  It is an RPG (final fantasy 7 style ).  When i load into my battle my background music (MIDI) will leave out some of the instruments during different times i load into a battle.for example 1st. battle (all instruments can be heard)2nd battle (all but the base)3rd battle(all but the drums and base)4th battle (all but the drums [ base can now be heard])this example doesn't happen this way everytime, as everytime it is different.  it may go 3 times with perfect bg music then the drums, then the base, the the guitar in diffent orders etc.my first thought was MEMORY leak, but i double checked my code and can't find anything.  has anyone ever had this problem before?  any advice would be greaty apreciated.thank you in advance   
  Without seeing any source code, my only guess would be that your sound card might be old. Consider getting new drivers for it.Some suggestions in debugging, in the order taht you should try:Did you see if the function that plays the music (can't think of it off the top of my head) returns a error or something?Try making a simply program that only plays the song.  Have it load and unload the song as you do in your program, but with less things going on. See if you can reproduce the error for other people to try out at home (versus posting all of your source code.Try upgrading to new versions of sdl and sdl_mixer   ;  I am assuming you are using DirectMusic to play the midi. If so, did you try using the DirectMusic debug library and seeing if it outputs any error messages when channels are missing?   