[linux-audio-user] on ALSA's virmidi module

Frank Barknecht fbar at footils.org
Mon Oct 20 06:17:14 EDT 2003


Hallo,
Clemens Ladisch hat gesagt: // Clemens Ladisch wrote:

> Frank Barknecht wrote:
> > Dave Phillips hat gesagt: // Dave Phillips wrote:
> > >        export ALSA_RAWMIDI_DEVICE=hw:1,0
> >
> > Cool. But I find it a bit strange, that Keyit uses the PCM definition
> > for midi access.
> 
> This isn't a PCM definition, it's a RawMIDI definition (which happens
> to have the same name). All ALSA devices implemented in the kernel are
> accessed by a plugin named "hw". See /usr/share/alsa/conf/alsa.conf
> for the various definitions (pcm, ctl, rawmidi, seq, hwdep, timer).
> 
> It's possible to give some rawmidi port its own name, just like pcms:
> 
> 	rawmidi.my_virtual {
> 		type hw
> 		card 1
> 		device 0
> 	}
> 
> then you could use my_virtual instead of hw:1,0.


Oh, cool, I didn't know that (obviously...) ^_^ 
Thanks for explaining. 

ciao
-- 
 Frank Barknecht                               _ ______footils.org__



More information about the Linux-audio-user mailing list