Synching Music

Hello -
I was wondering, does anybody know of any good tutorials on how to synch graphics to music. I figure I can limit the frame rate of my demo so that it plays at a constant speed (thus maintaining some timing), but I do not know how to start playing an mp3/wav/xm/etc. There must be tutorials out there on this – any ideas?


Many demos use temporal keys or event keys to determine when to start or stop music. A few pc demos I’ve seen take it further and use a low bandpass filtered version of the music as event keys to produce synched visuals.

use the fmod audio library (, it plays all moule types, waves and mp3s and has some commands to sync music (using VUmeters i think)

thx for your help guys. i appreciate it =)