I am creating some simple games that require some kind of music or audio sync with text (at some specific ponits in the audio timeline, some text must be displayed). Until now i am playing with a music track, next a numeric variable, with the "do every X secs" event, adding 1 to the variable every sec and checking every tick if the counter reached 20 secs, 45 secs, etc... Although this almost work, it is not reliable on all browers/mobile platforms, and loses sync or starts sooner/later than I want. (I hope i explained it well, my english is not so good <img src="smileys/smiley2.gif" border="0" align="middle"> )
Do you think it would be possible to add a new event "do at audio playback time X" or something similar? It would be really great.
I think it may be possible to do, reading about the audio tag property "currenttime":
Thank you!!!! <img src="smileys/smiley4.gif" border="0" align="middle">