Andruino Andruino - 1 year ago 90
Android Question

Android. MIDI. Playing first N notes

I'm writing an app, that plays MIDI files. Is there any chance to play only N first notes (say 5) of MIDI file?

Thanks in advance!

Code example snippets would be great!

Answer Source

Of course it's possible. It'd be a lot easier to find a library to do it though, try something like this:

If that doesn't do it, google midi file manipulation library java or something like that, you'll find something.

Edit: Take a look at this, it's newer and more relevant Android 6.0 (Marshmallow): How to play midi notes?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download