Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* oss raw midi emulation
@ 2004-11-28 15:14 Carlos Pita
  2004-11-28 15:22 ` Jaroslav Kysela
  2004-11-29 11:24 ` Takashi Iwai
  0 siblings, 2 replies; 5+ messages in thread
From: Carlos Pita @ 2004-11-28 15:14 UTC (permalink / raw)
  To: alsa-devel

Hi!

What should be /dev/midi??   ?
Symlimks to /dev/snd/midiC?D?  ?
Or devices with the correct major/minor numbers specified by the oss manual ?

I'm asking because I need to use snd-virmidi in order to connect pd (which has no support
for alsa midi yet) with muse or vkeybd. So I'm doing:

> modprobe snd-virmidi
> cat /proc/asound/devices
  [...]
  43: [1- 3]: raw midi
  42: [1- 2]: raw midi
  41: [1- 1]: raw midi
  40: [1- 0]: raw midi
> ln -s /dev/snd/midiC1D0 /dev/midi10
> pd -midiindev 11
(with -midiindev N,  pd will open /dev/midiM with M=N-1, just a quirk)
Then I aconnect muse or vkeybd to alsa client VirMIDI 1-0.

It works fine, but is this the right way to do it? For me it was
a matter of trial and error.

Also, debian sarge predefines the following four devices:

crw-rw----  1 root audio 14,  2 2004-10-26 21:40 /dev/midi00
crw-rw----  1 root audio 14, 18 2004-10-26 21:40 /dev/midi01
crw-rw----  1 root audio 14, 34 2004-10-26 21:40 /dev/midi02
crw-rw----  1 root audio 14, 50 2004-10-26 21:40 /dev/midi03

which suggests that /dev/midi?? shouldn't be symlinked as I'm
doing with /dev/midi10.

Thank you.
Regards,
Carlos


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-11-29 11:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-28 15:14 oss raw midi emulation Carlos Pita
2004-11-28 15:22 ` Jaroslav Kysela
2004-11-28 17:34   ` Carlos Pita
2004-11-28 19:57   ` Carlos Pita
2004-11-29 11:24 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox