Sound gets completely borked and distorted when CPU usage is high, but not consistenly

Recently my sound has come out completely distorted when my CPU usage gets high, but not consistenly. I first noticed this a week ago when I was playing Bloons TD6. After a while my sound comes out like this, regardless of it being on laptop speakers or on headphones.

I have never had any issue like this before, not even when compiling packages which brought CPU usage up to 100%. I also have no idea how to troubleshoot this. I have not touched the pipewire packages, and the only change I’ve done that is sound related is changing Audacity’s default input to be on JACK. I cannot imagine this being relevant for this issue, as it (1) shouldn’t be and (2) it’s a very long time since I did so.

I’m running EndeavourOS’s i3 flavour.

System information

[runarcn@endeavour ~]$ pacman -Q | grep pipewire
gst-plugin-pipewire 1:0.3.73-1
kpipewire 5.27.6-1
libpipewire 1:0.3.73-1
pipewire 1:0.3.73-1
pipewire-alsa 1:0.3.73-1
pipewire-audio 1:0.3.73-1
pipewire-jack 1:0.3.73-1
pipewire-pulse 1:0.3.73-1
[runarcn@endeavour ~]$ neofetch
                     ./o.                  runarcn@endeavour 
                   ./sssso-                ----------------- 
                 `:osssssss+-              OS: EndeavourOS Linux x86_64 
               `:+sssssssssso/.            Host: 20X2S0DL00 ThinkPad L14 Gen 2 
             `-/ossssssssssssso/.          Kernel: 6.4.1-arch2-1 
           `-/+sssssssssssssssso+:`        Uptime: 28 mins 
         `-:/+sssssssssssssssssso+/.       Packages: 1419 (pacman), 13 (flatpak) 
       `.://osssssssssssssssssssso++-      Shell: bash 5.1.16 
      .://+ssssssssssssssssssssssso++:     Resolution: 1920x1080 
    .:///ossssssssssssssssssssssssso++:    WM: i3 
  `:////ssssssssssssssssssssssssssso+++.   Theme: Adwaita [GTK2], Arc-Darker [GTK3] 
`-////+ssssssssssssssssssssssssssso++++-   Icons: Adwaita [GTK2], Qogir [GTK3] 
 `..-+oosssssssssssssssssssssssso+++++/`   Terminal: xfce4-terminal 
   ./++++++++++++++++++++++++++++++/:.     Terminal Font: Source Code Pro 10 
  `:::::::::::::::::::::::::------``       CPU: 11th Gen Intel i3-1115G4 (4) @ 4.100GHz 
                                           GPU: Intel Tiger Lake-LP GT2 [UHD Graphics G4] 
                                           Memory: 2633MiB / 7602MiB 


[runarcn@endeavour ~]$ 

this is killing me gah