[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Sound related questions
Gareth Noyce wrote:
> I'd like to use MOD format music in my little game project, but I note
> that despite SDL mixer being based on MikMod, I would only have volume
> controls, and start, stop controls? Can I not say "play from this
> pattern onward" or have any more fine grain control over my mod playing?
ok, i've recently noticed SDL_mixer does have support for "seeking
samples" for MOD tracks. it can also seek in seconds for mp3 music, and
i just added a patch that supports OGG too.
actually the recent SDL_mixer that came out added many features, like
sound panning and good stuff. high on my todo list is a big update of
the pygame.mixer module to catch up with SDL_mixer. (although i'm kind
of trying to hold out for the next release, which makes a couple more
changes).
still, with all the enhancements to SDL_mixer, i don't think it's going
support the level of features you want. i'd wager if you added the
functions to SDL_mixer, they'd quickly get accepted into the next
release. :]
perhaps with the added seek function, and frequent polling of the
playback position, you could get the features you need (more or less).
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org