3

I found a nice library (mido) in Python and would like to use it directly in Android.

I found a way to link Python and Java (py4j). But I don't understand how can I use it on Android.

My expected workflow is as follows. I invoke the Python library (by supplying a MIDI file to it) from Android -> Python library processes the input and returns the output to Android code.

If that is not possible, can anyone suggest a good MIDI parsing library for Android that handles SysEx (System Exclusive) events well? I am using MidiDroid but it doesn't always work well with SysEx events.

I would really prefer running mido on Android because the SysEx events are created and stored in a MIDI file using mido on Python, which I then parse on Android.

androidnoob
  • 345
  • 2
  • 17

0 Answers0