Dynamic Midi generation and playback on Android: Possible?

Peterdk picture Peterdk · Apr 12, 2010 · Viewed 8.6k times · Source

Strangely I find no support for Midi in Android. The only thing that comes close is the Jetplayer, but this only takes a existing .jet file.

I want to dynamically generate a midi file with some intervals and play it. I even thought about just manually creating a .jet file with a tone and then transposing it with the jet player, but it limits the transposing to -12, +12. Which is not so good for me.

There also is a ToneGenerator on Android, but it's limited to predefined tones with no way to transpose.

Does someone know how to achieve midi generation and playback on Android?

Answer

Alex Reynolds picture Alex Reynolds · Apr 12, 2010

Perhaps this Pragmatic Programmer thread might be of interest.