Re: [linux-audio-user] routing oss midi to second alsa midi port

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] routing oss midi to second alsa midi port
From: Takashi Iwai (tiwai_AT_suse.de)
Date: Fri Oct 25 2002 - 13:14:02 EEST


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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Oct 25 2002 - 13:15:13 EEST