Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2022-05-22 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (80 votes). Check out past polls.

    Notices?