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?
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.
http://kevinboone.net/javamidi.html
I've recently uploaded a MIDI library written in Java to Google Code:
http://code.google.com/p/android-midi-lib/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With