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!
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?