Adding midis to a game

Is there an easy way to add a looping midi to a project? I’ve searched around and haven’t found much. could someone help me out?

fmod is a sound library.
It support midi ,I think.
Check it out.

Hope it helps.


You can use DirectX.There is a function who will play the midi for you.Or you can use OpenAL -> <- which is a good sound library.