As an alternative could I cat rmidi0 to midithru0? I will look into patching lmms as well.
Sent from my iPad > On Nov 4, 2018, at 9:22 AM, Alexandre Ratchov <[email protected]> wrote: > >> On Sat, Nov 03, 2018 at 02:26:59PM -0400, Ken M wrote: >> So I am sure I am missing something stupid. Just the first time I have tried >> a >> midi controller with openbsd. >> >> So the device shows in the dmesg >> a hexdump shows I am receiving sounds >> but in lmms even with a device set to receive midi, nothing happens. >> >> And yes sound is coming from lmms. >> >> I am guessing there is something obvious I am missing. lmms is set to >> sndio-midi >> in the preferences. >> > > IIRC, the lmms sndio-midi backend lacks the "device chooser dialog", > so it uses "default" as midi device, which translates > "midithru/0". Your controller is probably "rmidi/0", so lmms doesn't > use it. > > You could workaround this by redefining the "default" midi port, > starting lmms as follows: > > MIDIDEVICE=rmidi/0 lmms > > assuming "rmidi/0" is your midi controller. Patching the sndio-midi > code to implement the "device chooser" seems to be the nicer option.

