From the ALSA wiki
Revision as of 19:25, 21 March 2008 by Ant
ALSA MIDI patchbays are used to make MIDI connections between different applications or MIDI ports of the computer.
The base application to do so is the command line utility aconnect.
There are also several graphical tools: