I am trying to connect my MIDI keyboard to the Sf2 Player, in LMMS. sndio MIDI is set under MIDI interface in the MIDI settings section of the LMMS preferences. DMESG gives me the following when I plug my MIDI keyboard into the computer:

umidi0 at uhub0 port 5 configuration 1 interface 0 "KORG INC. microKEY2" rev 1.10/1.02 addr 3
umidi0: (genuine USB-MIDI)
umidi0: out=1, in=1
midi0 at umidi0: <USB MIDI I/F>

I have read the three bits of LMMS documentation on MIDI, and I am familiar with how to use fluidsynth to connect directly with my MIDI keyboard to the default soundfont:

$ fluidsynth /usr/local/share/generaluser-gs/GeneralUser_GS.sf2
$ midicat -d -q midi/0 -q midithru/0

Unfortunately, none of this seems to work in LMMS. Clicking on the action gear for the Sf2 Player plugin shows MIDI input and output, but does not list my MIDI keyboard (as in Linux or Windows) so that I can bind it to the Sf2 Player. There is very little information about using MIDI instruments in the OpenBSD FAQ, and my knowledge of sdiod and jack are limited.

The only way that I have found that I can get this to work, is if I run $ midicat -d -q midi/0 -q midithru/0 from the command line, before I open LMMS and I then select MIDI input in the Sf2 Player action gear. However, this allows only for one MIDI instrument at a time. If I also want to connect a drumpad like the Akai MPK 218, would I run $ midicat -d -q midi/1 -q midithru/1 and how do I set MIDI input in the Kicker plugin to only get the MIDI signals from the drumpad and not the keyboard? Perhaps LMMS and sndio are only setup for something like the Akai MPK Mini MKIII?

Any help trying to wrap my head around how MIDI, sndio and jack work in this context is appreciated.

Reply via email to