Arduino Micro/Leonardo USBMIDI to OTG Android

583 views
Skip to first unread message

Luca

unread,
Mar 17, 2017, 3:24:08 AM3/17/17
to android-midi
Hello,

My project is a music instrument with the Arduino Micro or Leonardo Midi USB Class capacities (it uses MIDIUSB library).
Its connection with a PC has been tested and works well.
I have a Midi keyboard and successfully tested it with both PC and Android tablet.

The problem is that the Arduino Micro or Leonardo seems to be recognised by Android (a pop-up message asks to associate the USB device with the Midi app) but it doesn't produce any sound.

Any idea of the reasons?

Thank you.
Luca

Phil Burk

unread,
Jul 4, 2017, 3:30:47 PM7/4/17
to android-midi
Hello Luca,

Is your Arduino running a synthesizer or is it acting as a keyboard?

Is this an accurate description of the bug?

Plug Arduino Micro into Android device using OTG adapter.
Select the Arduino using some synthesizer. (Which one?)
Generate notes from the Arduino.

Expect sound from Android.
Actually no sound!

What is the Android device?

If that is the case then try using the Android MIDI Scope to see what messages are being sent from your device.


Phil Burk

Luca

unread,
Jul 4, 2017, 5:59:10 PM7/4/17
to android-midi
Hello Phil,

The android app I used is Midi Keyboard, with its plugin Sound Module. The
app acts as a synthetizer and it can play sounds with a master keyboard
connected to the android device.

The description you wrote is accurate. My tablet is an Acer Iconia Tab 10
A3-A40. Midi Scope isn't compatible with the version of android or with the
device.

Luca

Phil Burk

unread,
Jul 4, 2017, 7:23:21 PM7/4/17
to android-midi
Hello Luca,

The Mobileer Midi Keyboard app was released with the MidiScope. I am guessing that you are using a different "Midi Keyboard" app.

What version of Android does your device use?

The official MIDI support was released in 6.0, M, "Marshmallow".  Not all M devices support the MIDI API. THey have to support the MIDI flag and pass the tests. Before M, apps had to directly use the USB driver, which is more difficult to develop for.

Phil Burk

Raphael HP

unread,
Sep 13, 2018, 7:57:52 PM9/13/18
to android-midi
Hello Luca, 

I know it's been a long time you posted, but did you find any solution? I'm facing the same issue. I got the arduino leonardo recognized by PC but not by Android.

Please, let me know!
Thank you.

Luca

unread,
Sep 14, 2018, 7:38:00 AM9/14/18
to android-midi
Hello Raphael,

I didn't find any solution for the moment.

Luca
Reply all
Reply to author
Forward
0 new messages