Bad Sound when i enter a emulator

Hi, I have a Problem with my new Picade 10 inch. When i’m at the retropie menu i have great background music but when i enter a emulator the sound is distorted. i’m using a raspberry Pi 4 8GB. This issue is not on just one emulator it happens at all of them. What can it be?