Best way to Sync music with images

Blitz3D Forums/Blitz3D Beginners Area/Best way to Sync music with images

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I have a slideshow running and also music in the background. I am however trying to sync in the changing of the images to the tempo of the track.

Is there any way to keep this in sync.

Presently to control the timing I am using something like,

timer=0

if timer >0 and <1000
Display pic1
if timer >1000 and >2000
Display pic2

timer=timer+1

Not sure if there is any other way really...