[LAD] handling midi input in a jack app?

David Robillard d at drobilla.net
Wed Dec 28 19:34:57 UTC 2011


On Wed, 2011-12-28 at 10:46 -0800, Iain Duncan wrote:
> Hey folks, what is the easiest way to deal with midi input in a jack
> app? I'm confused by the difference in jack midi and alsa midi,
> because I have two midi inputs, one is a usb input, so it appears at a
> low level as an alsa device, but the other is the midi input on a
> firewire unit, and it appears as a jack midi device. I'd like to make
> sure that whatever I do is easy to port to other systems. Does it make
> sense to use portmidi or rtmidi to get input or should I stick to the
> jack api entirely?

Alsa ports will show up in jack if you use the -X option to the alsa
driver, or the separate application a2jmidid.

I recommend using the Jack API entirely.

-dr






More information about the Linux-audio-dev mailing list