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.
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
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.
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.
Original Ruby Script: http://m635j520.blogspot.com/2017/01/using-raspberry-pi-as-midi-usb5-pin.html
Full Tuto (bluetooth + OLED): https://neuma.studio/rpi-as-midi-host.html