Here's a small program that copies MIDI events from a JACK MIDI port and
sends them to an ALSA sequencer port. It is pretty rough, for example it
doesn't care about the timestamp of the incoming events, but it gets the
events through. It uses LASH 0.5 (http://www.nongnu.org/lash/ , works
with the version in today's CVS) so it can be saved and restored as part
of a session, but that can be turned off if you compile it with
Part of the code is based on Sean Bolton's alsaseq2jackmidi.