[linux-audio-user] routing oss midi to second alsa midi port
Takashi Iwai
tiwai at suse.de
Fri Oct 25 06:18:01 EDT 2002
At Thu, 24 Oct 2002 19:35:37 +0200,
Olivier wrote:
>
> On Thu, 24 Oct 2002 16:39:47 +0200
> Takashi Iwai <tiwai at suse.de> wrote:
>
> >
> > instead, you can set a module option for snd-rawmidi,
> >
> > options snd-rawmidi midi_map=1 amidi_map=0
> >
> > then /dev/midi00 (usually = /dev/midi) is mapped to the second midi
> > device on the first card (/dev/snd/midiC0D1), and /dev/amidi00 is
> > mapped to the first device of the first card (/dev/snd/midiC0D0).
>
> will that also work if the second device happens to be on the second card?
> /dev/snd/midiC1D0
yes, the options are array for all cards, i.e. the first element
corresponds to the first card, and the second is for the second card.
options snd-rawmidi midi_map=0,1
will map /dev/midi00 -> /dev/midiC0D0 but /dev/midi01 -> /dev/midiC1D1.
ciao,
Takashi
More information about the Linux-audio-user
mailing list