Why isn't there music playing when I run a show?

Created by Lukas Carls
Keywords:
sound

In the demo file, the line of code for defining the music file is commented out with the pound symbol (#). Make sure it is uncommented before running the script. Also, make sure the file path to the music file is correct. Relative file paths are used in Python, so make sure you're pointing the script to the right location.

In addition, make sure the music file is in a format Pygame can read. Commonly used file types are MP3 and WAV.