Random audio issues

My new laptop’s onboard speakers have been randomly cutting in and out.

The events happen with relative frequency, and make listening to anything with the speakers impossible. Wired headphones are unaffected.

This seems to be a software issue, not a hardware one, as yes xyz | aplay renders a contiguous auditory experience. I’ve tried switching from pulse to pipewire, but the issue persisted without change.

Any idea what’s going on?

Thanks.

What software does the problem occur with? Could the system be overloaded?

How long does the sound cut out for and how frequently?

Command plays a low bitrate mono sine wave with minimal information in terminal

Playing raw data ‘stdin’ : Unsigned 8 bit, Rate 8000 Hz, Mono

I suggest using speaker-test to get more information about audio system

speaker-test -c2 -l3 -twav