MP3 files sometimes carry two more kinds of tag, both before the ID3v1 tag at the end of the file. They are read by the explorer; a player can ignore them.
Lyrics3
Lyrics3 stores lyrics between the audio and the ID3v1 tag. Version 1 is a plain block of
text, between LYRICSBEGIN and LYRICSEND, at most 5,100
characters.
Version 2 ends in a six-digit length and LYRICS200. After
LYRICSBEGIN come fields, each a three-letter ID, a five-digit decimal
length and the data, until the six-digit size field, which counts the bytes from
LYRICSBEGIN up to that field. The IDs:
| Field | Meaning | Largest size |
|---|---|---|
IND | indications: three characters, each 1 or 0: a lyrics field is present; the lyrics contain timestamps; the track is inhibited from random selection | 3 |
LYR | the lyrics, several lines; timestamps [mm:ss] may appear anywhere, in any order | 99,999 |
INF | additional information, several lines | 99,999 |
AUT | lyrics or music author | 250 |
EAL | extended album name | 250 |
EAR | extended artist name | 250 |
ETT | extended track title | 250 |
IMG | links to image files (BMP or JPEG), one a line, lines ending in CR LF; each line is filename||description||[mm:ss], with |||| when there is a timestamp but no description | 99,999 |
The extended fields EAL, EAR and ETT must begin with
exactly the 30 characters of the matching ID3v1 field; if they do not, a player shows the
ID3v1 value instead. The tag must be followed by an ID3v1 tag. The explorer interprets the
indications, counts the timestamps, splits the image lines and reports fields over their
size.
Enhanced TAG
Enhanced TAG is a 227-byte block starting TAG+, placed immediately before
an ID3v1 tag, giving the fields more room. Its layout:
| Offset | Size | Field |
|---|---|---|
| 0 | 4 | Identifier, TAG+ |
| 4 | 60 | Title |
| 64 | 60 | Artist |
| 124 | 60 | Album |
| 184 | 1 | Speed: 0 unset, 1 slow, 2 medium, 3 fast, 4 hardcore |
| 185 | 30 | Genre, as free text |
| 215 | 6 | Start time, mmm:ss |
| 221 | 6 | End time, mmm:ss |
MusicMatch tag
MusicMatch Jukebox wrote its own tag between the audio and the ID3v1 tag. It has no
public specification. The layout here is the one the open-source id3lib reads
(tag_parse_musicmatch.cpp), so it is inferred from that reader and has not
been checked against a real file. The tag is found from its last 48 bytes.
| Part | Size | Content |
|---|---|---|
| Header (optional) | 256 | starts with the digits 18273645; the rest is not understood |
| Section 0 | 4 | the picture's file extension, padded with spaces |
| Section 1 | 4 + n | a little-endian 32-bit size, then the picture; zero means none |
| Section 2 | varies | not read by id3lib |
| Section 3 | varies | not read by id3lib; after version 3.00 it starts with 18273645 exactly 256 bytes before the metadata |
| Metadata | 7868 up to version 3.00, otherwise 8132, 8004 or 7936 | the text fields below |
| Offsets | 20 | five little-endian 32-bit positions; their differences give the sizes of sections 0 to 3 |
| Footer | 48 | Brava Software Inc. padded with spaces to 32 bytes, a version such as 3.00, and 12 bytes that are not understood |
The metadata is a run of fields, each a little-endian 16-bit length and that many
bytes of text: title, album, artist, genre, tempo, mood, situation, preference, song
length (m:ss). Then 12 bytes: a creation date as a 64-bit floating-point
number (its epoch is not documented) and a 32-bit play count. Then path, serial, a
16-bit track number, notes, biography, lyrics, artist URL, commercial URL and artist
e-mail. The rest of the block is unused.
Not covered
For the MusicMatch tag: the 256-byte header and sections 2 and 3, the 12 footer bytes and the date's epoch are not understood, because no reader or document describes them.