| |||||||||||
PyWeek - pygame.mixer playback issueI have an issue. It's a sound issue. I can't find a way to play mp3 or ogg files directly through pygame mixer. I've had people suggest pymedia, but that's a no go for us because it doesn't have macintosh support. As our sound guy uses a mac exclusively, it'd kinda suck for him not to be able to enjoy the fruits of his labour. So I ask your help and I seek suggestions.What can I do? The big thing is size. A 1.6 MB mp3 vs an 11 MB wav is a huge difference. I can't seem for the life of me to find any 'pure' python mp3 or ogg decoders. They all seem to rely on some external recompiled binary. So what can I do? How do you all deal with these restrictions? Check out our intro theme here. — Jay on 2006/03/29 04:03 of Salt and Vinegar Comments: (log in to comment) |
Last Challenge
September 2008 [entries, ratings] Previous March 2008 [entries, ratings] September 2007 [entries, ratings] April 2007 [entries, ratings] September 2006 [entries, ratings] > March 2006 [entries, ratings] (June 2006) August 2005 [entries, ratings] Not logged in Login | ||||||||||
By TenjouUtena on 2006/03/29 05:59:
Well, pygame out of the box will not do mp3s. and the extention on the ogg must be .ogg for pygame to call it an ogg and not an PCM WAV file.By Jay on 2006/03/29 06:05:
Awesome! Thanks a tonne! We found an ogg and tested it and it works dandy. Goodbye huge ass wave files!