Skip to content Skip to sidebar Skip to footer

Can't Load Music Into Pygame

please help if you can. Can't seem to be able to upload music into my game in progress. It comes up with the error of 'can't load'... Would be great if someone got back to me quick

Solution 1:

I guess your problem is due to the following reason:
1)Go go to file > save as (shortcut : Ctrl+Shift+S) and try saving the python file in the same address in which your music is stored.

Suggestion:
Try converting the mp3 to wav.It works better.


Solution 2:

Try to enter the full path of your mp3. For example

    pygame.mixer.music.load('C:/Users/path/to/your/file/sddmusic.mp3')

Post a Comment for "Can't Load Music Into Pygame"