Cracking in my MacBook Pro 2021 is (almost) gone after updating today to 12.4 (Beta). While listening to a song on Spotify for 2 minutes, I counted 12 cracks. After updating to 12.4 Beta, just one minor crack. It's definitively a software issue. I always had the same problem with Apple Music and Spotify.