I have stumbled upon something I found weird. When I setup rhasspy on a new satellite (rpi4) with a respeaker 2 mic for both input and output. Same setup i have on 2 other satellites, except they are rpi3B. I noticed the little beep when the speaker wakes up and the little beep when its done listening, both sounded crackly. So I started to troubleshoot and see if I set up something wrong.
I copied the beep_hi.wav out of my docker container and started testing some aplay commands to see if I can get it to sound right. No matter what I did, it sounded crackly. I was starting to think I had a hardware problem. That was until I for some reason stopped the docker container rhasspy was running in and then tested the beep again and it sounded clear, just like I was originally expecting.
I started the container again, tested the beep and it was crackly again. So I removed the docker container and installed the debain package. Started up rhasspy and tested the beep. It sounded crackly. I stopped rhasspy and the beep was clear again. I tried switching to a 64 bit version of raspian bullseye just to see if that would help. Problem was the same. So I went back to 32 bit and problem still existed. I am very confused why rhasspy in a docker container would effect to output quality of a wav file that is not in the docker container.
So for my actual question. Is rhasspy somehow effecting audio output for the whole system when rhasspy is running? whether its a docker container or not. And if it is, how do I get rhasspy to output the audio at a better quality?