Page 1 of 1

Wireless MIDI in Linux

Posted: Mon Aug 27, 2018 10:48 pm
by vth
Has anyone successfully used any wireless MIDI transceiver such as the Yamaha MD-BT01 or the Quicco mi.1 in Linux? I have a device I'd like to occasionally sysex, but I'd like to avoid unnecessary cabling if possible.

Re: Wireless MIDI in Linux

Posted: Thu May 30, 2019 8:29 pm
by Todd
I'm also looking for any reports on getting this device to work on Linux. Thanks for any input!

Re: Wireless MIDI in Linux

Posted: Mon Aug 19, 2019 3:09 pm
by Musicmaker
Sill having no luck on Ubuntu (19.04) with bluetooth. The Yamaha devices are detected but MIDi is not found in amidi or jackctrl. In windows (10) it works fine. It looks like the BLE MIDI stack in Linux is still not complete. A few years back the ALSA team mentioned something they did not look into BLE MIDI until it was stable. http://www.bluez.org/ Have not tried Bluz latest build but there wre no updates since 2018. maybe it merged in the kernel... Here is more stuff https://www.raspberrypi.org/forums/view ... p?t=142364 https://github.com/oxesoft/rpi-midi-ble

Re: Wireless MIDI in Linux

Posted: Sun Nov 17, 2019 7:44 pm
by vth
Took a while, but I finally got myself a Yamaha MD-BT01, and while it doesn't work out of the box in Ubuntu 18.04, all that is required to get it working is to recompile bluez with --enable-midi.

Re: Wireless MIDI in Linux

Posted: Mon Nov 18, 2019 1:23 pm
by Linuxmusician01
vth wrote: Took a while, but I finally got myself a Yamaha MD-BT01, and while it doesn't work out of the box in Ubuntu 18.04, all that is required to get it working is to recompile bluez with --enable-midi.
Thank you for that tip. How exactly did you do it? Did you uninstall bluez w/ your package manager first and then compile? I see on the bluez website that the kernel code cannot be downloaded from there. So I take it that you only compiled the user space part of bluez? Were there a lot of additional (dev) packages that you had to install because of dependencies? Or was "build-essential" enough?

Re: Wireless MIDI in Linux

Posted: Mon Nov 18, 2019 4:09 pm
by vth
Linuxmusician01 wrote: How exactly did you do it?
For Ubuntu 18.04, this should work (provided you have source repositories enabled):

Code: Select all

BLUEZ_ORIG=bluez_5.48.orig.tar.xz
BLUEZ_UBUNTU=bluez_5.48-0ubuntu3.2.debian.tar.xz
BLUEZ_PATH=bluez-5.48

sudo apt-get build-dep bluez --yes
sudo apt-get install build-essential libasound2-dev --yes

wget http://archive.ubuntu.com/ubuntu/pool/main/b/bluez/$BLUEZ_ORIG
wget http://archive.ubuntu.com/ubuntu/pool/main/b/bluez/$BLUEZ_UBUNTU

tar xJf $BLUEZ_ORIG
cd $BLUEZ_PATH
tar xJf ../$BLUEZ_UBUNTU
sed -i 's/\(--enable-usb\)/\1 --enable-midi/' debian/rules
dpkg-buildpackage -rfakeroot -b
Then install the resulting bluez_5.48-0ubuntu3.2_amd64.deb and restart the bluetooth service.

Adapted from here.

Re: Wireless MIDI in Linux

Posted: Mon Nov 18, 2019 5:22 pm
by khz
How fast and above all how tight (https://www.innerclocksystems.com/litmus) is MIDI over wireless? Doesn't MIDI have to go through several processes until it comes from A to B, similar to USB through several layers?

Re: Wireless MIDI in Linux

Posted: Tue Nov 19, 2019 12:08 pm
by Linuxmusician01
@vth: thnks for the info. :)

Re: Wireless MIDI in Linux

Posted: Sun Aug 30, 2020 3:01 pm
by theatomicdog
Just fond the thread looking for something else. In Debian Buster I have it working, but latency is way bigger than my iOS iPhone. I'm trying to debug a decent config so I can use it with the same proficiency than in Apple based OSes

Re: Wireless MIDI in Linux

Posted: Thu Apr 01, 2021 12:03 pm
by voland62
So is there a way to check that BT-MIDI works now after recompilation?
Thx.