Linux Sound subsystem development
 help / color / mirror / Atom feed
* Re: [alsa-devel] Re: midi controllers + laptop
@ 2000-05-01  0:46 Paul Barton-Davis
  2000-05-01  0:48 ` Paul Barton-Davis
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Barton-Davis @ 2000-05-01  0:46 UTC (permalink / raw)
  To: linux-sound

>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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-05-01  0:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-01  0:46 [alsa-devel] Re: midi controllers + laptop Paul Barton-Davis
2000-05-01  0:48 ` Paul Barton-Davis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox