Any wild <snip> ideas as to how I could start to approach this?

In two steps. User1 types the lyrics into an editor and presses a button which starts a player and then a clock as soon as that player produces "now producing audio" output. User1 then then hits the spacebar throughout the song.

Later, User2 with the same audio, a similar enough player, and User1's data gets a scrolling line of text as the song plays.

As for the program? At first it might just read a line from the lyric file and produce a "$milliseconds: o/~ I put my trust in you o/~" line. Later the user interface might change and the program might produce "$milliseconds: o/~ I put my trust in you o/~\n$milliseconds+1: o/` I o/`\n$milliseconds+1200: o/` put o/`". Later you might find that the best solution makes use of something visual with floating text and random-access audio play.

Most of your hard work may be making things easier for user1. But you can still do much with a tedious first pass.


In reply to Re: what about singalong prog by ayrnieu
in thread what about singalong prog by stabu

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.