wood burning stoves 2.0
The moose likes Programming Diversions and the fly likes Music and Lyrics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "Music and Lyrics" Watch "Music and Lyrics" New topic

Music and Lyrics

Monu Tripathi

Joined: Oct 12, 2008
Posts: 1369

I was wondering:

How do Music Players display song lyrics while playing Audio?
This must be non trivial. There is definitely more that just simple lyrics search and writing the contents on an overlay. Besides, players also synchronize audio playback with the words of the songs, marking/highlighting them as it plays them.

Does the song file contain more than just audio information?

Also, there must be some sort of file format for synchronization.

If we have lyrics in a text file, is it possible to mark the words or the lines currently playing? I did a quick search and landed on LRC file format. But what if the MediaPlayer program does not support LRC file format? How would you go about creating an application that plays a song and displays its lyrics from a text file?

Shall we discuss?

[And oh I have zero experience in this area(song recording,track info etc.)]

[List of FAQs] | [Android FAQ] | [Samuh Varta]
Monu Tripathi

Joined: Oct 12, 2008
Posts: 1369

There are at least two file formats designed specifically for Karaoke apps. They include Lyrics in them:
1. MP3+G which uses graphics to overlay lyrics over video.
2. MIDI karaoke file format for playing synchronized lyrics with the tune
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Music and Lyrics
It's not a secret anymore!