1

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!

Andruino
  • 23
  • 4

1 Answers1

0

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

https://code.google.com/p/android-midi-lib/

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?

Community
  • 1
  • 1
NathanTempelman
  • 1,301
  • 9
  • 34