LRC (file format)


LRC is a computer file format that synchronizes song lyrics with an audio file, such as MP3, AAC, or MIDI. It allows for compatible media player software to display song lyrics synchronously with a playing song. The lyrics file has the same name as the audio file, just with a different filename extension, and operates as a sidecar file. For example, if a song's main file is song.mp3, its LRC file would be song.lrc.
The LRC format is text-based and similar in form to subtitle files. It can be manually created and written in a text editor but purpose-made software has been made to ease and automate the creation of lyrics files. Various websites operate providing ready-made LRC files for songs to be downloaded. There also exist software that mass-download LRC files from song lyrics databases, automating the process to the user.

File format

Core format

The original LRC format is formed of two types of tags, with one tag per line. Time tags have the format lyric, where mm is minutes, ss is seconds, xx is hundredths of a second, and lyric is the lyric to be played at that time. A basic example with just time tags is below.
Line 1 lyrics
Line 2 lyrics
Repeating lyrics
...
Last lyrics line
ID tags may optionally appear before the lyrics, although some players may not recognize or simply ignore this. The format of an ID tag is , where type is the tag type and value its value. The different possible tag types are tabulated below.
Tag typeTag purpose
tiTitle of the song
arArtist performing the song
alAlbum the song is from
auAuthor of the song
lrLyricist of the song
lengthLength of the song
byAuthor of the LRC file
offsetSpecifies a global offset value for the lyric times, in milliseconds. The value is prefixed with either + or -, with + causing lyrics to appear sooner
re/toolThe player or editor that created the LRC file
veThe version of the program
#Comments

A more comprehensive example with both ID and time tags is given below.





Naku Penda Piya-Naku Taka Piya-Mpenziwe
Some more lyrics...
...

Extensions

Several extensions to the format have been created to introduce new functionality.

Walaoke extension

The Walaoke extension, available only in Walaoke from Walasoft, allows the specification of parts for a male-female duet. This is done through the use of M:, F:, and D: at the start of a line for male, female, and duet lines respectively. This allows them to be displayed in different colours. This is illustrated with an example below.
Line 1 lyrics
F: Line 2 lyrics
M: Line 3 lyrics
Line 4 lyrics
D: Line 5 lyrics
Line 6 lyrics
Using blue for male, red for female, and pink for duet, the lines will have the following colours:
  1. Line 1 will use the default color, as there is no gender specifier;
  2. Line 2 will use red;
  3. Line 3 will use blue;
  4. Line 4 will continue to use blue, as no change has been specified;
  5. Line 5 will use pink; and
  6. Line 6 will continue to use pink.

A2 extension (Enhanced LRC format)

The A2 extension to the LRC format was introduced by the A2 Media Player, and adds the ability to specify the time individual words are sung. These word time tags are identical to the standard line time tags, but use angle brackets instead of square ones. This allows the player to highlight each word when it needs to be sung, for example. An example is given below.





<00:00.04> When <00:00.16> the <00:00.82> truth <00:01.29> is <00:01.63> found <00:03.09> to <00:03.37> be <00:05.92> lies
<00:07.67> And <00:07.94> all <00:08.36> the <00:08.63> joy <00:10.28> within <00:10.53> you <00:13.09> dies
<00:14.32> Don't <00:14.73> you <00:15.14> want <00:15.57> somebody <00:16.09> to <00:16.46> love

Software and support

LRC was first introduced by Taiwan-based Kuo Shiang-shiang's Lyrics Displayer in 1998, with an accompanying plug-in for Winamp. Over the years many devices and software started supporting the LRC format, including:
Below is a table of various LRC software available for PCs or smartphones that may support playing music using LRC, that can create and edit LRC files, and that can search and download LRC data:
SoftwareLyrics DisplayLRC EditorLRC Search and DownloadLRC Database
LRCGET
Foobar2000
Musicolet Music Player for Android
AutoLyric
for Android Devices
Vanilla Music
OSD Lyrics
Kodi / Boxee
MusicBee
Jellyfin
LRC-Lyricist
Lyric Potato
LineSpec displays lyrics in combination with a few media players
YouTube Movie Maker
Lyrimer
Neutron Player for Android Mobile Devices
AIMP
Retro Music Player
Medoly
OneStagePlayer
mpv
Lyrics Jukebox
SubtitleEdit
Poweramp
KMPlayer
lrcShow-X
StepMania
Plex (software)
Winamp
Windows Media Player Legacy