How do you control console and X sound apps?

Forum: LinuxTotal Replies: 3
Author Content
tqk

Dec 31, 2006
2:43 PM EDT
I'm not a noob, but at the moment I feel like one. I've ignored MM on PCs for a long time, so I'm pretty ignorant of the present state of the art of sound in Free Software; in my case Debian Sarge. Then someone sent me an mp3 ... Sound works fine (snd_intel8x0) in both Xmms and .wav files via *play. However, the volume at which the two present sound wildly differs. BTW, the CD I mention is a legitimate commercial CD purchased by me (no "did you burn it correctly?" issues involved). I've verified that other CDs display the same behaviour.

Linux heretic 2.6.8-3-686 #1 Tue Dec 5 21:26:38 UTC 2006 i686 GNU/Linux

2.6 kernel means oss sound drivers are ALSA, yes? When I do "lsmod | grep snd" I *should* see "oss", yes?

(0) heretic /home/keeling_ lsmod | grep snd snd_intel8x0 36460 2 snd_ac97_codec 69988 1 snd_intel8x0 snd_pcm_oss 55080 0 snd_mixer_oss 20096 3 snd_pcm_oss snd_pcm 98728 2 snd_intel8x0,snd_pcm_oss snd_timer 25732 1 snd_pcm snd_page_alloc 11752 2 snd_intel8x0,snd_pcm gameport 4704 1 snd_intel8x0 snd_mpu401_uart 7968 1 snd_intel8x0 snd_rawmidi 25124 1 snd_mpu401_uart snd_seq_device 8200 1 snd_rawmidi snd 57156 9 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device soundcore 10272 3 snd

That's alsa, and it's oss? I'm very confused about all of this.

I'm playing a CD with Xmms at moderate volume. Then, from a command line, I:

aplay /usr/lib/openoffice/share/gallery/sounds/sparcle.wav

LOUD! Ouch.

Gkrellm volume plugin works. Aumix volume control works. How do I line the two up? I have no esd or artsd running. Xfce4 wm started with startx.

Lots of fun, but confusing. This is a Compaq PIII-733 with onboard $damn_near_everything, 0.5 Gb RAM. On board video automatically disabled by insertion of an old PCI 16 Mb Matrox MGA 2164W [Millennium II].

How is console vs. X sound controlled? What have I missed?
jimf

Dec 31, 2006
3:11 PM EDT
I don't know what's controlling in xfice, but you're probably running oss unless you set up alsa.

Run 'alsaconf' in a terminal.

The alsaconf utility is a part of the alsa-utils package.
tqk

Dec 31, 2006
3:23 PM EDT
I have run alsaconf. Sound works.
jimf

Dec 31, 2006
3:30 PM EDT
I don't know if it's pertinent, but the 'play' command is sox. Usually just used for background noises.

Looks like the xfce volume control should control the alsa overall volume. http://www-test.xfce.org/projects/xfce4-mixer

You cannot post until you login.