Cannot connect patchbox to iPad Pro Bluetooth

I’m running Patchbox headless using RealVNC Viewer. I can connect via BT to a MacBook Pro but not to the iPad Pro, even though it shows in the Bluetooth list as paired, albeit with a red x-mark. Connecting returns No Usable Services error. Connecting via bluetoothctl returns org.bluez.Error.Failed.

I’ve tried everything in this blog post:
https://www.lukinotes.com/2018/10/raspberry-pi-bluetooth-connection.html

I want to route the MIDI output of iPad apps to and from Patchbox.

I do not see anything about Bluetooth MIDI in the linked page. That is just for establishing a Bluetooth connection. In my experience, Bluetooth MIDI requires more than just the Bluetooth connection. I do not think the Raspberry Pi or Linux typically listens or broadcasts BT MIDI. I can offer a couple other options that have worked well for me:

McLaren Labs RTP (Wifi) Midi ($5)
https://mclarenlabs.com/#rtpmidi
This application let’s you connect to other RTP devices (e.g. your Mac, or your iOS devices) over WIFI. You may need another iOS app on your iPad to establish the connection, like Midi Network, but you could also establish the connection from the Pi RTPMidi utility. This is ‘Network Midi’ from the iOS perspective. I’ve had great success with this RTP Midi. There is a free RaveloxMIDI option out there, but it was fiddly for me - once I switched to McLaren’s option I have never had to tinker with it to make it work.

CME Widi Bud Pro ($69)
https://www.cme-pro.com/widi-bud-pro/
I have used CME’s (Bluetooth 5) Widi Master and the previous (USB) Widi Bud successfully. If you get a single USB ‘Widi Bud’ for the Pi, you will be able to see it from your iOS devices that use Bluetooth Midi. It will not auto connect (that’s where multiple Widi devices shine, in addition to supporting grouping of Widi devices together).

Recompile BlueZ - ($0)
On the McLaren Labs site there is a post about setting up a Pi 4 for bluetooth Midi:
https://mclarenlabs.com/blog/2020/03/22/update-korg-microkey-air-37-bluetooth-midi-keyboard-with-raspberry-pi4-and-buster/

I have not tried this, but with some patience (and backup Pi images), it might provide a solution.

That said, I’m glad you posted - I had never actually tried connecting to my Pi via Bluetooth MIDI. If there is a (free) way to set it up, I look forward to learning about it in this thread.

1 Like

Thanks, @rtmusic Very helpful! :slightly_smiling_face: I’ve purchased rtpmidi and it’s working in Patchbox on a Pi4; at least, both my MacBook Pro and iPad Pro appear Connected (green) in a couple of seconds in rtpmidi, with a host of MIDI ports available. I’ll play around with it more.

I had already ordered a couple of WIDI Buds but they aren’t shipping just yet.

1 Like

Recompiling BlueZ is no longer necessary - the packaged version in Raspberry Pi’s APT has MIDI support enabled. So RPi can connect to BT MIDI peripherals out of the box, but the RPi has to be configured as one for other devices like iPads to see it as a BT MIDI device. It’s a bit of a mess, this could have been designed way better. :slight_smile: Also, there’s no standard and ready to go BT MIDI service to enable such functionality on Linux yet, but it can be set up, see my short guide here:

1 Like