[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Some way to pickle or otherwise save a pygame.mixer.Sound object?



Alec Bennett wrote:
since it needs to load each of the 20 sounds on startup it takes about 30 seconds to load. I'm running it on a Raspberry Pi, which doesn't help of course.

How big are the sound files? Unless they're really enormous,
that sounds excessive, even for an R. Pi.

What format are they in? If they're in some kimd of compressed
format, try saving them as .wav files. That might be faster
to load even though the file is bigger.

--
Greg