mixer_settings
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mixer_settings [2012/02/02 06:02] – [Analog Audio Mixer Path] Voice I2S is NC paulf | mixer_settings [2012/04/05 10:58] (current) – torwag | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| + | * '' | ||
| Should be set: | Should be set: | ||
| * '' | * '' | ||
| Line 30: | Line 31: | ||
| Proper mono sound via MONO mixer or Speaker mixer is impossible to produce on unmodified hardware, see [[hw_problems# | Proper mono sound via MONO mixer or Speaker mixer is impossible to produce on unmodified hardware, see [[hw_problems# | ||
| + | |||
| + | ==== Stereo playback on headphones ==== | ||
| + | Same as stereo playback on integrated speakers but with | ||
| + | Enabled: | ||
| + | * '' | ||
| + | Set: | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | To mute the internal speakers you can disable '' | ||
| + | |||
| + | ==== Recording sound from integrated DMIC ==== | ||
| + | This can be used to record sound from the digital microphone integrated in the webcam module, useful for e.g. VoIP | ||
| + | Selected for capture: | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | Set: | ||
| + | * '' | ||
| + | Tweak '' | ||
| + | |||
| + | ==== Recording from external microphone ==== | ||
| + | Selected for capture: | ||
| + | * '' | ||
| + | Tweak '' | ||
| + | |||
| + | ==== 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: | ||
| + | < | ||
| + | # alsactl store -f < | ||
| + | </code | ||
| + | e.g. | ||
| + | < | ||
| + | # alsactl store -f headphones.state | ||
| + | </ | ||
| + | Now, if you want to switch over to your headphone settings next time simply type | ||
| + | < | ||
| + | alsactl restore -f headphones.state | ||
| + | </ | ||
| + | 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. | ||
| + | < | ||
| + | #!/bin/sh | ||
| + | # Set alsa sound to a predefined state | ||
| + | # save state via | ||
| + | # alsactl store -f < | ||
| + | # call this this by | ||
| + | # ./setsound headphones | ||
| + | |||
| + | alsactl restore -f {$1}.state | ||
| + | </ | ||
| + | make the file executable | ||
| + | < | ||
| + | # chmod +x ./ | ||
| + | </ | ||
| + | now you can set sound settings by simply typing | ||
| + | < | ||
| + | # ./ | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||
mixer_settings.1328158953.txt.gz · Last modified: by paulf
