TwoSuns (1) [Avatar] Offline
Hi everybody,

i program my own midi karaoke player. My player shows a textrow and indicates the actual syllable with a underlying line. The underlying line is updated every 40 millisec (25 fps). I calculate the line length in this way:
(actual time - syllable start time) / (syllable end time - syllable start time) * syllable length in pixel
I use start time of next syllable as actuale syllable end time. But if there is a pause in singing the next start time is a long time ahead. In this case the line grows very slow so i have to use an other end time but i dont know where i can get syllable end time. Any hints?

Thank you very much for your help.