>ALSA folks, would it be possible to redirect the ALSA sequencer
>output to a serial MIDI device ? If yes what are the right
>steps to do this ?

best way: write a kernel module that sets itself up as a client of the
sequencer. The module is simple: it just forwards the data (post
transformation from sequencer events to actual MIDI) on to the real
serial driver for the serial MIDI interface. Its not obvious how to do
this at first sight, but I recall find examples of other "pseudo
drivers" in the kernel that do such forwarding.

easiest way: write a user-space app that registers as a client of the
sequencer and forwards all data (post-transformation from sequencer
events to actual MIDI) to an open file descriptor that results from
opening the serial MIDI device.

'nuff said ?

--p

Reply via email to