pygame.error: Unknown WAVE format code example
Example: unable to open file pygame.mixer
import os
os.getcwd() # Log this line.
soundObj = pygame.mixer.Sound('beeps.wav')
import os
os.getcwd() # Log this line.
soundObj = pygame.mixer.Sound('beeps.wav')