I’ve tried to play a .wav in a Python script on a Grove Pi. I’ve set the correct amixer settings: amixer cset numid=3 1. When I start my script, nothing happens. No errors, but also no sound.
My script looks like this:
sound = pygame.mixer.Sound("crazy.wav)
When I play the sound on the command line (sudo aplay crazy.wav) I hear a nice sound.
Who can help me out?