Page 1 of 1

Android M MIDI support

Posted: Thu May 28, 2015 7:01 pm
by TomVal
Google finally woke up and made steps to make Android actually usable for musicians. Yep, I know many apps suported MIDI devices by themselves, but now I'm looking forward for patch editors and various GM2/XG controller surfaces making possible to shape sounds even on cheap personal keyboards. Are you guys exited as much as I am?

Re: Android M MIDI support

Posted: Fri May 29, 2015 7:32 am
by planet-h
Sounds great so far. We'll see if it can hold what it promises.

Here's a link for completion:

Re: Android M MIDI support

Posted: Sun May 31, 2015 8:33 am
by planet-h
I gave it a quick check this morning with the Android M developer preview on the Nexus 6, but didn't notice any improvement for midi. Timing and Latency are exactly the same (at least with a regular micro usb connector).

After a closer look to the api docs, it appears to be a new system service, the "MIDI_SERVICE", which will actually deliver the complete MIDI connectivity and integration.

The API features include:
Enumeration of currently available devices. Information includes name, vendor, capabilities, etc.
Provide notification when MIDI devices are plugged in or unplugged.
Support efficient transmission of single or multiple short 1-3 byte MIDI messages.
Support transmission of arbitrary length data for SysEx, etc.
Timestamps to avoid jitter.
Support direction connection or “patching” of devices for lower latency.

It'll support sending messages from and to external devices as well as between apps.

That sounds indeed like an excellent and long awaited addition.

So far so good, but back to reality:
Since even Android 5 is by far not rolled out to all devices (at the moment around 20%, 45% still running on kitkat), it may take a very long time until these improvements become reality. I'll of course integrate it in the G-Stomper MIDI driver, ... as soon as the official API is available.