pygame.error: Unable to open file '/home/pi/Desktop/output.mp3' 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')