Skip to content Skip to sidebar Skip to footer

Playing Music In Pygame Causes An Assertion Failure Message

I'm having trouble playing music in Pygame. I type: pygame.mixer.music.load('Maid with the Flaxen Hair.mp3') pygame.mixer.music.play(-1, 0.0) but I get this message: Assertion fa

Solution 1:

Just to update, I had the same error but I tried playing different mp3s and got success with one. I downloaded a sample mp3 from here

So, it seems not all mp3 files are playable.

Hope it helps :)

Post a Comment for "Playing Music In Pygame Causes An Assertion Failure Message"