Midi player in Android/Desktop

Hi,
I wish to create a mobile(Android) application to play midi files using virtual piano.
I have had a look at ofxmidi,but there is no information given related to playing midi in android.
Can you provide me with some kind of documentation or examples which can help me implement it.

You might not need to use ofxmidi on Android.
Does ofxAndroidSoundPlayer not play midi files? Did you try it?

Hi,
I dont think so as my main aim is to convert midi to wav/pcm and make it play and android media player doesnt support midi inputs. I also need soundfonts to convert midi to wav/pcm

I remember SoundPool can play midi files, that’s why I suggested to try ofxAndroidSoundPlayer.