Hi,

At Tue, 23 Apr 2002 17:51:47 +0300,
Juha Erkkila wrote:
> 
> so i've got debian woody, linux 2.4.18-4 with alsa 0.5.12a-2, pmidi
> 1.4.1-2.1, timidity 2.10.4-2.2 and the following problem:
> 
> i can do
> 
> $ timidity -iA -B 2,8 -Os & pmidi -p 128:0 Cavatina.mid &
> [1] 1487
> [2] 1488
> TiMidity starting in ALSA server mode
>         set SCHED_FIFO
> Opening sequencer port: 128:0 128:1
> 
> $
> 
> and get sound from my speakers.  but
> 
> $ timidity -iA -B 2,8 -Os & pmidi -p 72:0 Cavatina.mid & aconnect 72:0 128:0
> [1] 1522
> [2] 1523
> TiMidity starting in ALSA server mode
> set SCHED_FIFO
> Opening sequencer port: 128:0 128:1
> $
> 
> won't work (no sound at all).  here's what /proc/asound/seq/clients
> might look like during this:

virmidi converts from ALSA sequencer packets to MIDI byte stream or
vice versa.  that is, virmidi enables you to read/write /dev/midiXX
to access to alsa sequencer.

what you wanted to do is a "routing" of sequencer ports, and that
slightly differs from virmidi.
for such a purpose, you can use a dummy sequencer client.
(or, you can write such a user-space program in a minute :)
just load snd-seq-dummy module, which will take the port 62:0.
this port simply passes the incoming events to the outport port(s).

please note that without duplex option it behaves as simplex.
there is no distinction of in/out ports.


Takashi

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

Reply via email to