tags:

views:

174

answers:

1

The problem is: Android doesn't implement javax.sound.midi.

I need a simple free library that allows me to create simple 1-track midi files. I searched the net for it, but can't really find anything, since everything uses javax.sound.midi .

The license needs to be one where I don't need to opensource my linked app.

Any ideas?

I also looked into the fileformat itself. However, I am totally not familiar with working with bytes, hexidecimal stuff etc.

So, other option is: are there any simple midi implementations that I can use as reference?

A: 

Well, for all you midi needing android devs: check out this Dutch university assignment that contains a very very basic midi file writer. Together with this reference doc you can easily expand it into playing chords, selecting instrument etc.

It worked for me!

I do have opened a feature request for direct streaming access to the synthesizer. If you are interested in streaming midi, please rate, star, comment there.

Peterdk