Macbook pro speakers crackle intermittently
Hello community, my MacBook Pro speakers have recently started to intermittently 'crackle' - on all software I use, from Safari to Music & FaceTime. When I connect my bluetooth headphones, there's no problem. Is there a hardware diagnostic tool I can run to check if this could be a hardware or software issue?
MacBook Pro 15″, macOS 12.7