Wednesday, April 13, 2005

Comments, Links

So web services and cobbling them together is all the rage on the Net these days. Here's my idea.

Input: a search term (specifically, the title of a song).

Output: an HTML file, a CSS file, and a little Javascript.

Algorithm:

  1. Scrape a Baidu MP3 Search for the given song title to grab the URL of a recording of the song in MP3 format.
  2. Scrape a Baidu Lyrics Search for the lyrics of the song.
  3. For each line of the lyrics:
    1. Scrape my Chinese Tool to get the pinyin and English for the song lyrics.
    2. Ask Flickr for a picture that relates to the line of lyrics.
  4. Generate an S5 Slide Show: embed an auto-play link to the MP3 file, one line of lyrics with superscript pinyin per slide, each slide with a Flickr image background.

Click as you sing along. Ta-dah, one-stop home karaoke!

3 Comments:

At Apr 13, 2005, 7:59:00 PM, Blogger John said:

Sounds cool! What I don't quite get, though, is how you're supposed to match the lyrics, time-wise, to the music.

 
At Apr 14, 2005, 1:10:00 AM, Blogger Micah said:

The slide show doesn't flip slides automatically, it waits for a user click. So you need somebody to sit at the computer and click at the end of every line. Not too hard.

 
At Apr 14, 2005, 3:21:00 PM, Blogger Matt said:

That sounds totally awesome. Dooo eeet.

I once saw an old movie from the Philippines with subtitles superimposed as it played. There was a woman at the front who had to kept hitting space as each line was spoken. She did a pretty good job, actually, though there were some bizarre mismatches at scene changes and things like that.

 

Post a Comment

Post a Comment

« Home