Distorted and Choppy Audio

Misery, I seem to have found a solution on my system using the same driver (different audio device though)

  1. Open Terminal: gksudo gedit /etc/modprobe.d/alsa-base.conf
  2. Add the following line:

    options snd-hda-intel model=generic
    
  3. Restart System

My audio seems to be working fine now. Full volume, flash content, videos, audio files. Let us know if it helps.


Credit goes to Adityeah


A possible solution is disabling "auto-mute" in alsamixer. It is used when the "switch-to-headphone-and-back-again" bug occurs (in high volumes mainly).

First, open your terminal, or press:

CTRL + ALT + T

Then, type and hit "enter":

$ alsamixer

This screen will show up:

Alsa mixer screen in terminal

Use the right arrow until you select "Auto-Mute"

Next, press the down arrow to set it do "Disable" (see the text above it).

Finally, press Esc to apply and exit

That's it.


Install alsa-tools:

sudo apt install alsa-tools

Create and save a script in /usr/local/bin:

sudo vi /usr/local/bin/sound_fix.sh

Inside the script, write this:

#!/bin/bash
hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x67
hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x3000

Run the script as root in a terminal to immediately fix the problem.

Give permission to run using:

sudo chmod 700 [path_to_script_folder]/sound_fix.sh

Run the script using:

./[path_to_script_folder]/sound_fix.sh

To run the script on startup, use cron with the @reboot command:

sudo crontab -e

and then add line in crontab:

@reboot [full_path_to_script_folder]/sound_fix.sh

To run script on resume from suspend, copy the script to

/lib/systemd/system-sleep

For more technical details regarding this fix, check this link.

Tags:

Alsa

Sound

12.04