   How to load and play midi files?
  Hello, I want to use midi files in games.I need to know a C/C++ library to load midi files.The license have to be free and allow to use in commercial games.I need to decode the midi file into wave format in memory and play it with a generic audio API.It is important to work on different platforms, such as Windows, Linux, Android, Mac OS X and iphone.I tried SDL Mixer, but it cannot play multiple midi files. It cannot  play and pause a music, play another music and pause it, and resume the  first music from where it was paused.Thanks a lot.   
  Did you try OpenAL? I think it has what you need.   