So, I'm attempting to set up my midi controller/keyboard. Since this
is not itself a synthesizer, I need to hook it up to a software
synthesizer via my computer. Thus far I've failed to get it working.
My keyboard appears to be detected by kernel:
umidi0 at uhub3 port 2 configuration 1 interface 1 "Arturia Arturia MiniLab
mkII" rev 2.00/1.00 addr 6
umidi0: (genuine USB-MIDI)
umidi0: out=1, in=1
midi0 at umidi0: <USB MIDI I/F>
ugen3 at uhub3 port 2 configuration 1 "Arturia Arturia MiniLab mkII" rev
2.00/1.00 addr 6
It appears that I'm recieving MIDI commands from the keyboard:
$ hexdump -e '1/1 "%02x\n"' < /dev/rmidi0
90
3c
40
80
3c
00
I Can play MIDI files through synthesizer:
$ fluidsynth -vs /usr/local/share/generaluser-gs/GeneralUser_GS.sf2
$ midiplay -vf midithru/0 Downloads/MIDI_sample.mid
Playing Downloads/MIDI_sample.mid (8444 bytes) ...
^C
I don't even know if this makes sense, but attempting to "play" the
midi device doesn't seem to do anything when I play the keyboard:
$ midiplay -vf midithru/0 /dev/rmidi0
^C
I've installd midish, and attempted to configure it to take my keyboard
input send it to the synthesizer.
midish config:
# Device 0: Arturia MKII
dnew 0 "rmidi/0" ro
# Device 1: fluidsynth
dnew 1 "midithru/0" wo
# Connect mkii to fluidsynth
fnew fluidsynth
fmap {any 0} {any 1}
However, after starting midish and fluidsynth...:
$ fluidsynth -v -s -i -g 2 /usr/local/share/generaluser-gs/GeneralUser_GS.sf2
FluidSynth version 1.1.6
Copyright (C) 2000-2012 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of E-mu Systems, Inc.
fluidsynth: prog 0 0 0
fluidsynth: prog 1 0 0
fluidsynth: prog 2 0 0
fluidsynth: prog 3 0 0
fluidsynth: prog 4 0 0
fluidsynth: prog 5 0 0
fluidsynth: prog 6 0 0
fluidsynth: prog 7 0 0
fluidsynth: prog 8 0 0
fluidsynth: prog 9 128 0
fluidsynth: prog 10 0 0
fluidsynth: prog 11 0 0
fluidsynth: prog 12 0 0
fluidsynth: prog 13 0 0
fluidsynth: prog 14 0 0
fluidsynth: prog 15 0 0
$ midish -v
> +pos 0 0 0
[0000:00]> +ready
and connecting my keyboard...no sound is produced when I press the keys.
I'm sure I'm just missing something obvious, but I'm stumped. I've just
very recently switched to OpenBSD from Linux, where I had it working
just fine. So it seems unlikely to me that the device itself is at fault.
I'm not sure how to debug this or what else to try.
Any suggestions?
-davidc