-
Notifications
You must be signed in to change notification settings - Fork 83
makeMusic
stevepaget edited this page Feb 16, 2016
·
1 revision
makeMusic(filename)
Where:
filename is a string representing a sound file. MP3 or OGG files are acceptable. Pygame recommends the use of OGG due to known issues on some systems.
Note: The sound does not play until playMusic is called. Only one music stream can be played at a time.
eg.
makeMusic("action.mp3")