Site Tools


mixer_settings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mixer_settings [2012/02/03 23:03] – Add other usecases paulfmixer_settings [2012/04/05 10:58] (current) torwag
Line 56: Line 56:
   * ''Left Capture Mix MIC12REC_L Capture Switch''   * ''Left Capture Mix MIC12REC_L Capture Switch''
 Tweak ''Mic 1 Boost Volume'', ''Mic1 Capture Volume'' and ''Rec Capture Volume'' to your needs. Tweak ''Mic 1 Boost Volume'', ''Mic1 Capture Volume'' and ''Rec Capture Volume'' to your needs.
 +
 +==== Save and Restore different sound settings  ====
 +Don't frighten you do not need to memorize all the above settings.
 +If you select the settings in alsamixer according to your needs type on the command line:
 +<code>
 +# alsactl store -f <name>
 +</code
 +e.g. 
 +<code>
 +# alsactl store -f headphones.state
 +</code>
 +Now, if you want to switch over to your headphone settings next time simply type
 +<code>
 +alsactl restore -f headphones.state
 +</code>
 +Hence, you can save settings for internal speakers, headphones, mute all, etc.
 +If you do not want to type all the above to restore just create a little shell script (name it e.g. setsound.sh) to do that for you.
 +<code>
 +#!/bin/sh
 +# Set alsa sound to a predefined state
 +# save state via 
 +# alsactl store -f <name>.state
 +# call this this by
 +# ./setsound headphones
 +
 +alsactl restore -f {$1}.state
 +</code>
 +make the file executable 
 +<code>
 +# chmod +x ./setsound.sh
 +</code>
 +now you can set sound settings by simply typing 
 +<code>
 +# ./setsound.sh headphone
 +</code>
 +
 +
 +
 +
mixer_settings.1328306604.txt.gz · Last modified: 2012/02/03 23:03 by paulf