Hi, Alexis Huxley hat gesagt: // Alexis Huxley wrote: > Ok, I checked for /dev/snd/pcm00 and it does not exist! /dev/snd does > not exist. Ok, so something must have gone wrong during OS installation > I guess. > > I ran snddevices from the lastest ALSA from their web page, and it > created /dev/snd -> /proc/asound/dev, but /proc/asound/dev/pcm00 > doesn't exist either: > > dione:/dev# ls -l /proc/asound/dev > total 0 > crw-rw---- 1 root audio 116, 0 Jun 14 16:50 controlC0 > crw-rw---- 1 root audio 116, 8 Jun 14 16:50 midiC0D0 > crw-rw---- 1 root audio 116, 24 Jun 14 16:50 pcmC0D0c > crw-rw---- 1 root audio 116, 16 Jun 14 16:50 pcmC0D0p > crw-rw---- 1 root audio 116, 17 Jun 14 16:50 pcmC0D1p > crw-rw---- 1 root audio 116, 1 Jun 14 16:50 seq > crw-rw---- 1 root audio 116, 33 Jun 14 16:50 timer > > (I also tried searching www.debian.org to determine which packages > 'snddevices' and /dev/snd belong to, but they say none, which is > maybe which they were missing from my installation.)
snddevices belongs to the package alsa-base, but it's only an example in the doc-directory. In fact, the process of setting up devices is handled in /etc/init.d/alsa and should work for devfs and the traditional /dev directory. /dev/snd on Debian is a symlink to /proc/asound/dev as you have seen. If I'm right, then you don't need to run snddevices on Debian anymore. Your /proc/asound/dev file looks ok. I don't have pcmC0D0 neither, that's fine. > > To change programs, I have a utility that Frank Barknecht wrote, but it > > requires PD to be installed. Or, you can install muse and change programs > > through it (as well as have a nice midi sequencer). > > I think I don't understand what you mean by 'program' in this context > :-) Progam here is a Midi Program Change Message that tells a synth, which instrument to choose on which channel. Say you use drums on midi channel 10. With the programm change message you can choose, if this drumset should sound for example like acoustical drums or like a TR909 drummachine for example. > Going back to alsaplayer again: having created the /dev/snd symlink > with snddevices, alsaplayer now does something a bit different: > And the same if I use the 'p' pcm device instead of the 'c' one. > [...] > dione$ alsaplayer -d /proc/asound/dev/pcmC0D0p I think, you should supply neither pcmC0D0'p' nor 'pcmC0D0c' nor pcmC0D0 but alsa names like "hw:0" or "default". In fact, I wouldn't try to check alsa's functionality with alsaplayer, but with aplay and arecord instead. These are the tools which definitly should work. For example, I cannot use alsaplayer in ALSA-mode here as well, and I have to use the OSS-mode. I didn't bother checking why, though. So could you try something like "aplay -D default some.wav" and then "aplay -D hw:0 some.wav"? Also if you want to use a virmidi card (which isn't necessary, as Bill wrote), you shouldn't set "snd_cards_limit=1", I think. ciao, -- Frank Barknecht _ ______footils.org__ _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
