[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Packaging many small sound files
> Being able to play the ogg directly instead of having
> to decompress would be good. You'd need to be able to
> skip anywhere into the ogg, which sould be possible,
> although I don't know if it's implemented in pygame
> yet.
You can do it. Using mixer.music, you just play the file with a second
offset for when to start. works great. for example, in pyDDR, I:
pygame.mixer.music.play(0, self.startsec)
and life is good.
B
--
* tgz@orotech.net * http://clickass.org * ICQ# 1107012 * AIM/Yahoo:
theGREENzebra * http://mp3.com/thegreenzebra
-----GEEK CODE 3.12-----
GCM/CS/IT/MU d? s: a22 C++++ UL++++ P+ L+++>$ E---- W++ N+ o K- w---$ O- M
V-- PS+ PE Y+ PGP- t++(+++) 5- X R tv(+) b+(-) DI+++ D+ G++ e h++ r+(---) y+
UF*++
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org