Tuesday, 10 September 2013

Crossfade Between Two Music Tracks in Pygame

Crossfade Between Two Music Tracks in Pygame

My intention is two have two music tracks, which are similar in nature,
fade between each other at various times. When such a fade occurs, one
music track should fade from full volume to muted in a short period of
time, and, simultaneously, the other track should fade from 0 to 100 and
continue playing from there. This might be plausible by either using
volume manipulation or by starting and stopping the music (however, it
appears that only a "fadeout" option exists, and there is a lack of a
"fadein" option). How can I do this? What is the best method, if any, that
exists?

No comments:

Post a Comment