Here client 65 is the actual MIDI synthesizer. Assuming the soundcard is [[SB Live! Midi|set up]] properly, you should be able to '''route''' the output of the keyboard to the MIDI synthesizer. Assuming ''out'' is the output client number (65 in our example) and ''in'' is the input client number (72 in our example), type <code>aconnect ''out'' ''in''</code>. Now you can play your keyboard via the MIDI output of your sound card.

+

Here client 65 is the actual MIDI synthesizer. Assuming the soundcard is [[SB Live! Midi|set up]] properly, you should be able to '''route''' the output of the keyboard to the MIDI synthesizer. Assuming ''out'' is the output client number (65 in our example) and ''in'' is the input client number (72 in our example), type <code>aconnect ''in'' ''out''</code>. Now you can play your keyboard via the MIDI output of your sound card.

Revision as of 11:22, 21 December 2013

Contents

USB Midi Keyboards

This how-to assumes that you are using a 2.6 kernel and ALSA. Known to work using this how-to is the Evolution MK-631 USB midi keyboard with SB Live! Value card. Execute these instructions as an unprivileged user unless otherwise noted.

Preliminary Testing

USB

First let us make sure that USB is working properly. When you type lsmod you should see some modules such as ehci, uhci or such. Also, when you type lsusb you should see something like:

This list might contain some USB devices if you have them plugged in or more or less items, depending on how many USB ports you have.

ALSA

You should have ALSA set-up properly (alsa-lib and alsa-utils packages). When you type lsmod | grep snd you should see a bunch of various snd drivers.

Try typing aseqdump. If you get an error stating that "aseqdump cannot find /dev/snd/seq" or similar, you might not have the snd-seq module loaded. To rectify that, type (as root) modprobe snd-seq. You might also want to add (again as root) snd-seq to your /etc/rc.conf file in the modules list. If the module is succesfully loaded, typing aseqdump should show something like:

Here client 65 is the actual MIDI synthesizer. Assuming the soundcard is set up properly, you should be able to route the output of the keyboard to the MIDI synthesizer. Assuming out is the output client number (65 in our example) and in is the input client number (72 in our example), type aconnect inout. Now you can play your keyboard via the MIDI output of your sound card.