Raspberry pi as midi usb host

March 15, 2019
opz op1 organelle bitwig ableton live midi usb raspberry DIY

THE GOAL (ZIDANE)

Synchronize different USB devices to the MIDI protocol. Basically do a little bit of OP-Lab taffing but in DIY (I think there is a way to use the mini-jack output for a CV-Out). It also allows to synchronize MIDI USB and MIDI DIN.

WHAT WE NEED

CONFIGURATION OF THE AUTOMATIC MIDI CONNECTION

apt install git -y
git clone https://github.com/ecutsa/Raspberry-USB-MIDI-Host.git
./Raspberry-USB-MIDI-Host/setup.sh

To test the automatic connection, you can use the command aconnect -l

ACTIVATING READ-ONLY MODE

Once the installation is complete, it is recommended to enable read-only on the raspberry to avoid the possibility of data corruption when disconnecting from the power source.

git clone https://gitlab.com/larsfp/rpi-readonly
sudo ./rpi-readonly/setup.sh

Once your configuration has been tested (try plugging in and out various MIDI devices, and test the connection with the aconnect -l command), you can activate read-only mode with the ro command. You can now safely turn off the unit by disconnecting it from the power source.

To edit files, you can disable read-only mode with the rw command. Don’t forget to turn it back on before you disconnect.

VOILÀ

I was able to test with a Fireface 6i6, an OP-1 and an OP-Z. If you encounter any concerns do not hesitate to submit a issue on the Github.

Sources: