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
Last revisionBoth sides next revision
mixer_settings [2012/02/02 06:02] – [Analog Audio Mixer Path] Voice I2S is NC paulfmixer_settings [2012/04/05 10:40] – added how to save sound settings torwag
Line 24: Line 24:
   * ''DACR2HP Playback Switch''   * ''DACR2HP Playback Switch''
   * ''Int Spk''   * ''Int Spk''
 +  * ''Speaker Playback Switch'' (i.e. unmute ''Speaker'')
 Should be set: Should be set:
   * ''SpeakerOut Mux'' to ''HPOut Mix''   * ''SpeakerOut Mux'' to ''HPOut Mix''
Line 30: Line 31:
  
 Proper mono sound via MONO mixer or Speaker mixer is impossible to produce on unmodified hardware, see [[hw_problems#reversed_polarity_of_one_of_the_integrated_speakers]] for details. Luckily most usage scenarios do not require that anyway. You can swap polarity of connection of one of the speakers but then ''RN/-R'' would need to be used for the stereo output. Proper mono sound via MONO mixer or Speaker mixer is impossible to produce on unmodified hardware, see [[hw_problems#reversed_polarity_of_one_of_the_integrated_speakers]] for details. Luckily most usage scenarios do not require that anyway. You can swap polarity of connection of one of the speakers but then ''RN/-R'' would need to be used for the stereo output.
 +
 +==== Stereo playback on headphones ====
 +Same as stereo playback on integrated speakers but with
 +Enabled:
 +  * ''Headphone Playback Switch'' (i.e. unmute ''Headphone'')
 +Set:
 +  * ''Left Headphone Mux'' to ''HP Left Mix''
 +  * ''Right Headphone Mux'' to ''HP Right Mix''
 +
 +To mute the internal speakers you can disable ''Int Spk'' or mute ''Speaker''.
 +
 +==== 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:
 +  * ''DMIC En Capture Switch''
 +  * ''DMIC PreFilter Capture Switch''
 +  * ''DMICL Mix DMICL2ADC Capture Switch''
 +Set:
 +  * ''I2SOut Mux'' to ''ADC LR''
 +Tweak ''DMIC Boost Volume'' and ''Rec Capture Volume'' to your needs.
 +
 +==== Recording from external microphone ====
 +Selected for capture:
 +  * ''Left Capture Mix MIC12REC_L Capture Switch''
 +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:
 +
 +alsactl store -f <name>
 +
 +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.txt · Last modified: 2012/04/05 10:58 by torwag