Difference between revisions of "Problem with audio clipping"

From ThinkWiki
Jump to: navigation, search
m (Model-specific observations)
m
 
(8 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
This is caused by a hardware flaw: excessive internal amplification saturates the audio channels, resulting in [http://en.wikipedia.org/wiki/Clipping_(audio) clipping].
 
This is caused by a hardware flaw: excessive internal amplification saturates the audio channels, resulting in [http://en.wikipedia.org/wiki/Clipping_(audio) clipping].
  
Solution: reduce the volume on the responsible mixer channel(s).
+
'''Solution:''' Reduce the volume on the responsible mixer channel(s).
e.g. in the console ''alsamixer'' with control via arrows: up/down left/right.
+
e.g. in the console ''alsamixer'' with control via arrows: {{ibmkey|↑|#494949}} / {{ibmkey|↓|#494949}} and {{ibmkey|←|#494949}} / {{ibmkey|→|#494949}}.
  
 
===Model-specific observations===
 
===Model-specific observations===
* ThinkPad {{T43}} ([[AD1981B]] audio controller): PCM channel volume higher than 70% may result in clipping, regardless of the Master channel.
+
(you can use alsamixer panel to find out if setting to 100% amplifies anything)
* ThinkPad {{R40}}  (Intel 82801DB/DBL/DBM audio controller (AC97)): PCM volume needs to be set under 80%, higher values cause clipping. Same with the Master channel as on T43.
+
 
* Thinkpad {{Z61e}} (Intel High Definition with AD1981): Just turn down the PCM channel volume to around 77% and you should be happy. If that doesn't help, load the snd-hda-intel with model=thinkpad and position_fix=1.
+
* {{T43}} ([[AD1981B]] audio controller): PCM channel volume higher than 70% may result in clipping, regardless of the Master channel.
 +
* {{R40}}  (Intel 82801DB/DBL/DBM audio controller (AC97)): PCM volume needs to be set under 80%, higher values cause clipping. Same with the Master channel as on T43.
 +
* {{R51e}} ([[AD1981B]] audio controller): PCM channel volume higher than 84% may result in clipping, regardless of the Master channel.
 +
* {{Z61e}} (Intel High Definition with AD1981): Just turn down the PCM channel volume to at least 77% and you should be happy (in some combination with external speakers, 65% was needed), the Master Channel can be kept at 100%. If that doesn't help, loading snd-hda-intel with model=thinkpad and position_fix=1 might also improve a bit.
 +
* ([[AD1981A]]) {{X30}}, ([[AD1981B]]) {{X31}}, {{X32}}, {{X41_Tablet}}: volume gain from alsamixer (gain for Master Mono and Headphone is identical as Master, gain for Line, CD, Mic, Phone, and Aux is identical as PCM)
 +
** Master 100% == 0dB
 +
** PCM 74% == 0dB
 +
** PCM 100% == +12dB
 +
That is, anything higher than 0dB gain is amplification which can result in clipping.

Latest revision as of 11:15, 22 November 2013

One some models, certain audio mixer settings may result in very "harsh" and distorted sound both on the internal speakers and on headphones plug. This is especially evident when the played audio has high volume (i.e., full dynamic range).

This is caused by a hardware flaw: excessive internal amplification saturates the audio channels, resulting in clipping.

Solution: Reduce the volume on the responsible mixer channel(s). e.g. in the console alsamixer with control via arrows: / and / .

Model-specific observations

(you can use alsamixer panel to find out if setting to 100% amplifies anything)

  • T43 (AD1981B audio controller): PCM channel volume higher than 70% may result in clipping, regardless of the Master channel.
  • R40 (Intel 82801DB/DBL/DBM audio controller (AC97)): PCM volume needs to be set under 80%, higher values cause clipping. Same with the Master channel as on T43.
  • R51e (AD1981B audio controller): PCM channel volume higher than 84% may result in clipping, regardless of the Master channel.
  • Z61e (Intel High Definition with AD1981): Just turn down the PCM channel volume to at least 77% and you should be happy (in some combination with external speakers, 65% was needed), the Master Channel can be kept at 100%. If that doesn't help, loading snd-hda-intel with model=thinkpad and position_fix=1 might also improve a bit.
  • (AD1981A) X30, (AD1981B) X31, X32, X41 Tablet: volume gain from alsamixer (gain for Master Mono and Headphone is identical as Master, gain for Line, CD, Mic, Phone, and Aux is identical as PCM)
    • Master 100% == 0dB
    • PCM 74% == 0dB
    • PCM 100% == +12dB

That is, anything higher than 0dB gain is amplification which can result in clipping.