Distorted, very scratchy audio

Ubuntu Version:
Example: 26.04

Desktop Environment (if applicable):
Example: GNOME

Problem Description:
Audio sounds correct when played through headphones, but audio played through the speakers sounds extremely scratchy. It sounds similar to what audio sounds like before the “broken audio fix” needed after installing Ubuntu on a Chromebook, but I’m pretty sure that audio was also broken on headphones, while this isn’t.

I had this issue on 25.10 as well; it occurred after I installed some updates. I made a post about it at that time, but every comment I got on that post was “Update to 26.04”. I did, and it did not fix this issue.

I looked and could not find anything else on this topic; every other issue I’ve found on distorted audio is from recordings, while this is from playback. An example of the broken audio can be found in the link below (turn up the volume to hear it properly).

https://www.reddit.com/r/Ubuntu/comments/1vf1rlz/recently_been_having_distorted_extremely_scratchy/

Relevant System Information:
I am using an Acer Chromebook 515. My computer uses the Intel Alder Lake PCH-P High Definition Audio Controller, which I have seen multiple other threads have problems with, but not the exact same problem. They usually report no audio period.

What I’ve Tried:
I have tinkered around with audio levels, and I have re-run the script that enables audio support for Ubuntu on Chrome devices. I also ran the diagnostic script linked here, but it found no issues. https://knowledgebase.frame.work/ubuntu-audio-issues-Bkw2Wlf2o

Please review https://discourse.ubuntu.com/new-topic?category=support%20and%20help&tags=audio-and-video and ensure that you have provided all the requested information.

The script that enables audio support for Ubuntu on Chrome devices” Can you provide a link to whatever you ran?

If you made some post somewhere about the problem while running 25.10, and it includes any useful information, a link to that may be helpful.

If you run an Ubuntu installer’s “Try Ubuntu” environment, is that audio also distorted the same way?

This is the script in question. GitHub - WeirdTreeThing/chromebook-linux-audio: Script that enables audio support on many Chrome devices running various Linux distros · GitHub

There was no useful information in the 25.10 thread, but here it is anyway. https://www.reddit.com/r/Ubuntu/comments/1vagb5b/corrupted_audio_after_installing_updates_on_2510/

It was impossible to determine whether or not it worked under “Try Ubuntu”. I have to use the script to enable audio, and I cannot use the script under “Try Ubuntu” conditions.

None of that mattered, because after I exited the installer (It was the 25.04 installer because it was already loaded onto my USB stick, if that matters) and went back to 26.10, the audio was fixed. I didn’t think restarting would help, because I had to restart to install 26.10, and it was still broken after that.

That’s great news!

Good job trying the “Try Ubuntu” environment.
It sometimes shakes loose an unexpected fix like you encountered.