Main Menu

Synchronize mp3 with strips (images)

Started by Cor, August 14, 2005, 07:14:28 AM

Previous topic - Next topic

Cor

Is it possible to synchronize a sound files with strips (images)
When a certain time of a soundfile elapsed i want to draw an image

Must be timeline based


If this is not possible, anybody who knows software for this?

grCor
Cor de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
http://www.chordplanet.com

kevin

#1
I'm not sure what your trying to do, but if you just want to display images along a fixed time line.  Use the  timer()

Draco9898

#2
Use tick, IF Tick=1, a second has elasped...Use Mtick=1 if you need milliseconds


`This goes before our loop
Global Tick: Global MTick: Global DTick

`This goes inside our loop
HandleTime()

`This goes after our loop
`handle time
Psub HandleTime()
Tick=0: MTick=0: DTick=0
GameTime#=(Timer()-GameBeginTime#)/1000
If GameTime#>1
 GameBeginTime#=Timer()
 Tick=1
EndIf
GameTime2#=(Timer()-GameBeginTime2#)/100
If GameTime2#>1
 GameBeginTime2#=Timer()
 MTick=1
EndIf
GameTime3#=(Timer()-GameBeginTime3#)/100
If GameTime3#>0.1
 GameBeginTime3#=Timer()
 DTick=1
EndIf
EndPsub
DualCore Intel Core 2 processor @ 2.3 ghz, Geforce 8600 GT (latest forceware drivers), 2 gigs of ram, WIN XP home edition sp2, FireFox 2.

"You'll no doubt be horrified to discover that PlayBasic is a Programming Language." -Kevin