The following command will connect a USB MIDI device:

$ midicat -d -q midi/0 -q midithru/0 &

A second device can be connected as follows:

$ midicat -d -q midi/1 -q midithru/1 &

Both output MIDI code in the terminal. (Note that redirecting both MIDI devices to midithru/0 doesn’t seem to pipe both devices through, but rather only midi/0.) Adding the following command provides a way to convert MIDI code to sound using Fluidsynth:

$ fluidsynth /usr/local/share/generaluser-gs/GeneralUser_GS.sf2

However, this only works for midi/0. The same is the case when using LMMS with SF2 Player and Kicker. I can get sound with SF2 Player or Kicker, but there again appears no way to connect the second device to the second plugin. Connecting two MIDI devices (or one device with keys and pads on two channels) is not an unusual use case scenario, so I am assuming that there is a solution without having to resort to midish.

I am using a Keith McMillen K-Board and a KORG nanoPAD2, as they are both class compliant, however any class compliant devices at hand should work...

Cheers,

Brian

Reply via email to