doctorjellybean
Programmer
- May 5, 2003
- 145
There is a clever program called MiniLyrics, and I want to achieve the same effect in my multimedia application.
That is, when it plays a track, it loads the lyrics from a file and display it synchronized to the track. MiniLyrics uses timestamps in its file, e.g.
[00:07.79]Jennifer Juniper lives upon the hill,
[00:15.23]Jennifer Juniper, sitting very still.
[00:23.36]Is she sleeping ? I don't think so.
[00:26.55]Is she breathing ? Yes, very low.
Is it possible to achieve the same object with the TTimer component, and if yes, what is the best way?
Thank you.
That is, when it plays a track, it loads the lyrics from a file and display it synchronized to the track. MiniLyrics uses timestamps in its file, e.g.
[00:07.79]Jennifer Juniper lives upon the hill,
[00:15.23]Jennifer Juniper, sitting very still.
[00:23.36]Is she sleeping ? I don't think so.
[00:26.55]Is she breathing ? Yes, very low.
Is it possible to achieve the same object with the TTimer component, and if yes, what is the best way?
Thank you.