Stuttering audio on Ubuntu on Asus ROG Strix Z690-F Motherboard

My new computer ‘charm‘ wasn’t playing audio, there was just some incomprehensible and quiet static coming out of the speakers (I was testing with this). I ran this search and found this and ran this:

# apt install libavcodec-dev

Then I edited /etc/modprobe.d/alsa-base.conf and added:

# 2022-03-24 jj5 - SEE:
options snd-hda-intel position_fix=1

And I edited /etc/pulse/ and changed:

# 2022-03-24 jj5 - NEW:
load-module module-udev-detect tsched=1
# 2022-03-24 jj5 - OLD:
#load-module module-udev-detect

And I edited /etc/pulse/daemon.conf and added this at the end:

; 2022-03-24 jj5 - SEE:
default-sample-rate = 48000
default-fragments = 8
default-fragment-size-msec = 10

I also read this and ran this:

# apt install inxi
# inxi -SMA
# apt-get install --reinstall alsa-base pulseaudio
$ mv ~/.config/pulse ~/.config/pulse.bak

Then after a reboot or two (and enabling USB Audio in BIOS) it started working! Probably didn’t need most of that, but I’m happy to have a solution.