1

I'm not sure how many of you play music, but in Windows there are several virtual MIDI loopback software to route MIDI from one program to another. For example, loopMIDI and midiyoke, and LoopBe1. In Mac, I think it is known as IAC drivers.

Is there any virtual MIDI loopback solution for Ubuntu/Linux?

These are my available devices as shown by a Java applet,

Available MIDI Devices:
----------Input----------
[0] "Real Time Sequencer"
----------Output----------
[0] "Gervill"
[1] "Real Time Sequencer"
0

In Linux, applications can create the same kind of MIDI port as drivers, so a MIDI loopback driver is typically not necessary.

If you want to use one anyway, you can use the "Midi Through" port(s) created by the snd-seq-dummy driver, which is loaded automatically.

  • I'm using a Java application which only shows me "Real time Sequencer" and "Gervill" output – whitenoisedb Sep 20 '14 at 18:21
  • Sun's JVM thinks it is a good idea to bypass the ALSA sequencer and access the hardware directly, but you can use the snd-virmidi driver for that. – CL. Sep 20 '14 at 19:58
  • Thanks! I've enabled it with sudo modprobe snd-virmidi and printed like 35 virtual midi devices. Any way to reduce them? – whitenoisedb Sep 20 '14 at 20:33
  • You get 16 entries per port; midi_devs=1 will not help much. – CL. Sep 20 '14 at 21:00
0

I believe that the program which you are looking for is Jack, which cann be used to route midi data from one program to another.

Jack can be fairly complicated to setup, and a good tutorial can be found at https://libremusicproduction.com/articles/demystifying-jack-%E2%80%93-beginners-guide-getting-started-jack

The basics would be to install jack, which can be most easily accomplished by installing one of the jack management tools to start Jack, and to create routes.

sudo apt install qjackctl

will do this for you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.