>Hi,
>
>My ALSA sound driver uses an MPU401 for MIDI support,
>and the OSS emulation module snd-seq-oss works well
>with the snd-mpu401-uart module. However, there are no
>native ALSA sequencer devices:
>
>[root@wittsend src]# cat /proc/asound/seq/clients
>Client info
>  cur  clients : 3
>  peak clients : 3
>  max  clients : 192

you've just demonstrated the existence of the ALSA sequencer.

>Client   0 : "System" [Kernel]
>  Port   0 : "Timer" (Rwe-)
>  Port   1 : "Announce" (R-e-)
>    Connecting To: 63:0
>Client  63 : "OSS sequencer" [Kernel]
>  Port   0 : "Receiver" (-we-)
>    Connected From: 0:1
>  Output pool :
>    Pool size          : 1024
>    Cells in use       : 0
>    Peak cells in use  : 1024
>    Alloc success      : 12370
>    Alloc failures     : 0
>Client  64 : "External MIDI 0" [Kernel]
>  Port   0 : "MIDI 0-0" (RWeX)
>

there is no "ALSA Sequencer" as a specific client. each client listed
is a client of the ALSA sequencer. client 63 is a special client that
handles OSS sequencer data.

>Since the OSS layer plays music, it seems logical to
>assume that all the hardware bit-twiddling has been
>done already. I am therefore assuming that I just need
>to register some native ALSA sequencer device. Could
>someone point me towards a simple example somewhere,
>please? I have tried looking at the opl3_seq.c file
>but it seems to be doing a LOT more than just
>registering a device.

what is it that you want to do? if you want to send midi out of the
MPU401 external midi port, just connect up a program like pmidi to
client 64, port 0.

--p


_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to