[SLUG] kmix
Martin Webb
martin at webb.lcbroadband.co.uk
Fri May 26 18:07:32 BST 2006
Martin Webb wrote:
> Using KDE as desktop and KMIX to control the sound card (SoundBlaster
> Live!). Frequently need to change from one configuration to another (1:
> sound recording, 2: use of microphone for voip). This means opening
> kmix and changing one or two settings, each time. This is no problem,
> but it would be nice to toggle from one setting profile to the other,
> with one command/click/etc. Is there a way of doing that?
If I may answer my own question, the two executables below, using
'amixer' seem to work, using two short-cuts on the desktop, quickly to
toggle between the two. Someone rings me using VOIP, click, we're
talking. Afterwards, click, and we're back recording. Simple really.
FOR USING THE MICROPHONE, E.G. FOR VOIP
#!/bin/bash
amixer set 'Mic',0 31 cap
amixer set 'Mic Boost (+20dB)',0 unmute
FOR RECORDING SOUND USING, E.G. AUDACITY
#!/bin/bash
amixer set 'Mic',0 0
amixer set 'Mic Boost (+20dB)',0 mute
amixer set 'Mix',0 cap
Hope that might be useful to someone, sometime.
Martin
More information about the Scarborough
mailing list