kshoji / BLE-MIDI-for-Android

MIDI over Bluetooth LE driver for Android 4.3 or later
Apache License 2.0
123 stars 41 forks source link

MIDI messages not received on Yosemite when using the sample app from the Play Market #13

Open ovicin opened 8 years ago

ovicin commented 8 years ago

I tried the sample app from the Google Play market on an Android 4.4.3 phone and I was not able to receive MIDI messages on Yosemite, the devices are connecting but I don´t receive any note when sendig them from the phone.

I also used the PacketLogger from Hardware IO Tools for Xcode 7 beta 5 to debug the connection and I can see the initial negotiation packets and after no packets with the note, when connecting to Yosemite with an IOS device though I can receive the MIDI notes.

Any hints on what could be the problem? Are there any updates related to this that are not included in the version from the Market? I didn´t tried to compile the code from github.

Thanks

talaviram commented 8 years ago

Can reproduce similar behavior as BLE Device advertising from Nexus 5X to MacBook Air 2013.

Connection successful and I see the MIDI I/O with Ableton Live for example but no MIDI messages are being received.

update: today while trying to debug this I've noticed it eventually worked. I think there is something with the timestamp but it's really weird. next gonna try build for LG G Watch...

robclouth commented 7 years ago

@talaviram did you manage to get this working? My bluetooth midi controller is connecting but the sample app isn't receiving any MIDI. Could it be that the bluetooth device is expecting a keycode or something?

talaviram commented 7 years ago

@robclouth I don't know to be honest. Midi over Bluetooth is RFC as far as I know. I've currently started experimenting with Android's own MIDI API. the downside is you'll limit yourself to > API 23. However from my initial test(s) it's working better pretty well with my Macbook 12" 2015.

It also might be buggish on Apple's side. I'm now using Sierra while the original issue was reported with Yosemite.

Also might be interesting to diff with AOSP implementation.