Sound vs. X: the final battle

Sound vs. X: the final battle

Post by Richard Parr » Sat, 14 Feb 1998 04:00:00



Hey all;

I've got a fairly curly query here.  I've managed to get sound working
under X, with AfterStep as my window manager.

Cool :)

The problem is, the sound is very loud. Something, somewhere along the
line, is setting the volume on the sound board to maximum.

It's possible that this is the factory setting, and something's just
sending a reset code.  Dunno either way.

So, here's what I tried to do:

Install aumix, and run it on startup to try and set the volume for the
board after system initialisation.  Cool - it works under X starts,
which seems to reset the sound to max.

So, I put aumix in my ~/.xsession file, to do the same thing.  No
change - AfterStep seems to set the sound high.

Right, no problem - put aumix in my ~/.steprc file, and all is well.  
Yay!  Problem fixed... No, wait.  About a minute later, all sounds get
set to maximum again.

[twitch twitch]

Any ideas what's going on here?  How can I force a volume control for
this thing, and get it to stick?

Relevant information:

Debian linux, running kernel 2.0.33
AfterStep window manager
Sound Blaster 16 audio card, software configurable
The speakers are external, with no volume control, hence the problem

...xmix seems to work better than aumix in terms of "stickability" -
are their command line options for xmix so I can start it and play it
that way?

The ideal solution would be some kind of configuration I've missed :)

Help?  Thanks a lot!

Richard

 
 
 

Sound vs. X: the final battle

Post by Antony Bower » Sat, 14 Feb 1998 04:00:00



> ...
> The problem is, the sound is very loud. Something, somewhere along the
> line, is setting the volume on the sound board to maximum.
> ...
> Right, no problem - put aumix in my ~/.steprc file, and all is well.
> Yay!  Problem fixed... No, wait.  About a minute later, all sounds get
> set to maximum again.

Are you loading the sound driver as a module, with kerneld? If so,
the autoclean feature unloads the module after it has been unused for
a minute or so. When the module is reloaded, sound card settings such
as volume will be reset.

The kerneld-HOWTO explains how to persuade kerneld to invoke a program
such as aumix to set the volume each time it loads the module.

I use this feature to set the microphone input level to zero, which
cuts out a lot of the noise from my SB16.

Good luck!

   Tony

--
Antony Bowers, Department of Computer Science, University of Bristol,
UK. http://www.cs.bris.ac.uk/~bowers/

 
 
 

Sound vs. X: the final battle

Post by Jeff Kloud » Sat, 14 Feb 1998 04:00:00


There is a Tcl program on the Web called volume.  I think I got it from
sunsite under sound or something.  This will allow you to adjust your
volume level.



> > ...
> > The problem is, the sound is very loud. Something, somewhere along the
> > line, is setting the volume on the sound board to maximum.
> > ...
> > Right, no problem - put aumix in my ~/.steprc file, and all is well.
> > Yay!  Problem fixed... No, wait.  About a minute later, all sounds get
> > set to maximum again.

> Are you loading the sound driver as a module, with kerneld? If so,
> the autoclean feature unloads the module after it has been unused for
> a minute or so. When the module is reloaded, sound card settings such
> as volume will be reset.

> The kerneld-HOWTO explains how to persuade kerneld to invoke a program
> such as aumix to set the volume each time it loads the module.

> I use this feature to set the microphone input level to zero, which
> cuts out a lot of the noise from my SB16.

> Good luck!

>    Tony

> --
> Antony Bowers, Department of Computer Science, University of Bristol,
> UK. http://www.cs.bris.ac.uk/~bowers/

--
Jeff Klouda                         ("`-''-/")...--''"`-.__...
DSET Corporation                     `6_ 6  )   `-.   (    ). `-.__.`)
2201 N. Central Expwy #132            (_Y_.)'  ._   )   `._ `. ``-..-'
Richardson, Texas 75080             _..`--'_..-_/  /--'_.'  ,'
phone:(972) 690-7800               (il),-''    (li),'  ((!.-'
fax:  (972) 234-3600

 
 
 

1. tape battle: tar vs afio vs cpio vs..

 I have a newbie question. I just put in a scsi external 24gb DAT drive
and it works great. I am now putting together the backup scripts and
wanted to know what veterans recommend. Right now it seems afio is winning
the battle because it compresses individual files. Are there any lesser
known programs out there that are gems?

2. Please disregard - Bait!

3. GAME: Final Battle multiplayer space game for X

4. Wiping Windows 98

5. Statnet vs Tkined: Battle for eth0

6. Eliminating `mouse-dropping' X3.1.1/CLDG5428

7. Linux vs OS2 vs NT vs Win95 vs Multics vs PDP11 vs BSD geeks

8. XTI option T_IP_REUSEADDR supported under Solaris 2.6?

9. 2.2.0, 2.2.0-final, patch-2.2.0-final -- what's the diff?

10. "Linux final" sound insight

11. The final word on the Windows vs. Linux war . . .

12. Compilation blues (g77 vs. ld - the final punch-up)

13. Perfomance: tar vs ftp vs rsync vs cp vs ?