Lyrics files: formats, import and matching
Library, updated
Luma shows lyrics from two sources: a lyrics file of its own, which sits next to the song or that you assign to it, and the lyrics tag inside the music file itself. This page covers which formats Luma understands, which one suits what, how Luma matches a file to the right song and the ways lyrics get into the app. What lyrics look like in the player is described in Show lyrics.
Which formats Luma reads
| Format | File | Follows the music | Good to know |
|---|---|---|---|
| LRC | .lrc | Line by line | The most common format for synced lyrics. Plain text that any editor can open and change. |
| Enhanced LRC | .elrc or .lrc | Word by word | LRC with an extra timestamp before every word. Luma recognizes the word times by the content, the extension doesn't matter. |
| TTML | .ttml | Line or word | An XML format, the one Apple Music uses. Luma converts it to LRC when reading and keeps the word times. |
| Text | .txt | No | The words without times, you scroll yourself. If a .txt actually contains LRC or TTML, the text still follows along. |
| Lyrics tag | Inside the music file | Depends on the content | USLT in MP3, ©lyr in M4A, LYRICS or UNSYNCEDLYRICS in FLAC and Opus, plus a TXXX field named “Lyrics”. If the tag holds LRC text with timestamps, it follows the music. |
Luma does not read the ID3 frame SYLT (synced lyrics in a binary format), subtitle files such as .srt, or lyrics from the internet. Luma never downloads lyrics.
Which format suits what
- LRC is the safe choice. Almost every lyrics tool writes it, you can fix it in a text editor, and Luma lets the lines follow the music and jumps to any spot with a tap. The downside: it is a second file next to the song and gets lost when you copy only the music file.
- Enhanced LRC or TTML with word times looks best in Luma: the line being sung lights up word by word, with a soft edge that sweeps across each word. Such files are rarer and more work to make. TTML is also XML and hard to edit by hand.
- Text without times is enough if you only want to read along. It is the simplest format but doesn't follow the music.
- The lyrics tag has the big advantage that the words live inside the music file and travel with it: when copying, through iCloud, through every import route. Many tagging apps only write plain text there, though. To embed synced lyrics, paste the complete LRC text including its timestamps into the lyrics field, and it will follow the music in Luma.
More about the formats, their history and where to get them is in the blog article Lyrics formats explained.
How an LRC file is built
Every line starts with a timestamp in square brackets: minutes, seconds and hundredths. A line with word times also has a stamp in angle brackets before every word, and optionally one at the end that says when the last word stops.
[ar:Night Swim] [ti:Undertow] [offset:+200] [00:12.40]Under the surface [00:16.10]it pulls me out [00:21.00] [00:24.80]<00:24.80>And <00:25.30>the <00:25.60>water <00:26.40>carries <00:27.10>me<00:28.00> [00:30.50][01:15.20]This is the chorus
- Info lines such as
[ar:…](artist),[ti:…](title) or[by:…](creator) are skipped. Title and artist always come from the music file's tags. [offset:…]shifts every time by milliseconds. A positive value makes the text appear earlier, a negative one later. Use it to fix a file that is consistently a little early or late.- A timestamp without text such as
[00:21.00]marks a break. Luma shows three pulsing dots there until the next line comes. - Several timestamps before one line stand for a chorus that comes back. Luma puts the line in at each of these spots, with its word times.
- Empty lines without a timestamp separate verses and stay as spacing.
- Notations: Luma takes
[01:23.40],[01:23.400],[01:23:40]and[01:23], also with three-digit minutes for very long pieces.
Save lyrics files as UTF-8 if you can. Luma also reads UTF-16 with a byte order mark and older Windows encodings (Windows-1252 and Latin-1), so accented letters from old files come out right. A lyrics file can be up to 512 KB, empty files are ignored.
You don’t have to write an LRC file by hand. With the free LRC generator in your browser you paste the lyrics, tap along for every line or word while the song plays and save the file straight away under the song’s name, as LRC, Enhanced LRC or TTML.
The order Luma looks in
If a song has lyrics from several sources, Luma shows exactly one of them:
- Lyrics the song got in LumaThese are lyrics you chose in the song's editor, or a lyrics file that came along with the import or through Luma Transfer.
- A lyrics file next to the music fileThis applies to Luma for Mac, which plays your music where it is. On iPhone and iPad the file is taken over at import and then counts as step one.
- The music file's lyrics tagIt only applies when there are no lyrics from a file.
So a lyrics file always wins over the tag, even when the tag has timestamps and the file doesn't. The file is the one someone put there on purpose.
If a song has several lyrics files, such as Song.lrc and Song.ttml, Luma takes the most finely timed one: word by word before line by line before plain text. If two are equally fine, the order is TTML, Enhanced LRC, LRC, text. What counts is the content, not the extension: an .lrc with word times beats a .ttml that only has lines.
How Luma matches a file to a song
The surest way is to give the lyrics file the same name as the music file and put it in the same folder:
Night Swim/ 01 Undertow.flac 01 Undertow.lrc 02 Saltwater.flac 02 Saltwater.ttml
If there is a lyrics file with exactly this name, Luma takes only that one and looks no further. If there isn't, Luma compares more loosely, because downloads and tagging apps often name the files differently:
| Rule | Music file | Matching lyrics file |
|---|---|---|
| Case, accents, spaces and punctuation don't count | Café Noir.mp3 | cafe noir.lrc |
| A leading track number may be missing | 01 - Undertow.flac | Undertow.lrc |
| Also with a disc number | 1-01 Undertow.flac | 01 Undertow.lrc |
| “Artist - ” in front on one side only | 05 Undertow.flac | Night Swim - Undertow.lrc |
| The title tag as the name | track05.flac titled “Undertow” | Undertow.lrc |
| Double extension | Undertow.m4a | Undertow.ttml.txt, Undertow.lrc.txt |
| The only song in the folder | Undertow.flac | The only lyrics file with timestamps in the folder, whatever its name |
So nothing ends up with the wrong song, a few limits apply:
- If both carry a track number, it has to be the same.
02 Intro.lrcnever belongs to01 Intro.mp3. - A lyrics file named exactly like another song in the folder belongs only to that song.
- “Artist - Title” on both sides with different artists are different songs.
- The rule for the only song in a folder doesn't apply to
.txt. Next to a single download, a text file is as often a readme as lyrics.
Adding lyrics
There are five ways for lyrics files to reach a song. For single songs the editor is the easiest, for whole albums the folder.
In a song's editor
- Open the editorTouch and hold the song in a list and choose Edit Info. In the player you'll find the same item in the menu with the three dots.
- Choose a lyrics fileIn the Lyrics row, tap the three dots and choose Choose from Files. LRC, Enhanced LRC, TTML and text files are allowed.
- SaveThe row now says Newly chosen. Tap Save and the lyrics belong to the song and show up in the player right away, even if the song is playing.
The row shows where a song's lyrics come from: Set means the song has lyrics from a file. From the music file means they come from the lyrics tag. None means the song has none at all. If the chosen file holds no readable text, Luma tells you right when you pick it: “The file contains no readable lyrics.”
The music file stays unchanged, the lyrics apply only in Luma. Lyrics you chose in the editor are never replaced by a later import or transfer, even if a different lyrics file sits next to the song by then.
When importing a folder
When you import a whole folder from the Files app through Import Music, Luma reads the lyrics files in it as well and matches them by the rules above. The same goes for music you put in the “Luma” folder. If you pick single music files instead, Luma only sees those files and no lyrics next to them.
With Luma Transfer from a Mac
Luma Transfer and Luma for Mac send the lyrics files next to a song along with it, by the same rules. In the list before sending, a speech bubble marks the songs that have lyrics going with them. Hover over it to see the lyrics file's name. A lyrics file that couldn't be matched to any song is listed under Stays on the Mac with the reason “No matching song found”. Give it the music file's name in that case.
If a song is already on the iPhone and has no lyrics from a file there yet, the Mac sends just the words.
Through the browser from a computer
On the page of From a computer via browser, lyrics files come along when they are in the same folder as the song or when you drag them into the page together with the song.
In Luma for Mac
Luma for Mac plays your music from its own folders and reads a lyrics file straight from there, by the same rules. There is nothing to import: put the file next to the song, and the words show up in the player at the latest after you restart Luma. Luma for Mac has no lyrics editor.
Lyrics for songs already in Luma
- On iPhone and iPad, the song's editor is the direct way (see above). It works for every song, however it got into the library.
- From a Mac, just send the song again with Luma Transfer. If it has no lyrics from a file on the iPhone yet, only the words are sent.
- Importing from the Files app again: If you choose the same folder again, Luma skips songs whose music file hasn't changed, without reading them. It won't see a new lyrics file next to them. More in Reimporting songs.
- Embedding: Write the words into the lyrics tag with a tagging app on your computer. On the Mac that applies right away, on the iPhone once the changed file is imported.
Removing or replacing lyrics
In the song's editor, choose Choose from Files in the Lyrics row to take a different file, or Remove Lyrics. Until you tap Save, Discard change undoes the choice.
Removing only affects lyrics from a file. If the music file also has a lyrics tag, the row then says From the music file and the player shows that text. You change the tag itself on your computer. If you don't want to see lyrics at all, you can hide the Lyrics button.
If it doesn't work
- The Lyrics button stays gray: Luma hasn't matched a file to the song. Give the lyrics file exactly the music file's name, or assign it in the editor.
- The words are consistently early or late: Add
[offset:+500]at the top of the LRC file (text appears half a second earlier) or[offset:-500](later) and assign the file again. If it's only off in places, the file probably belongs to another version of the song, such as the radio edit instead of the album version. - Accented letters are garbled: The file is saved in an encoding Luma doesn't recognize. Open it in a text editor and save it as UTF-8.
- The words don't follow the music: The file has no timestamps, or they aren't at the start of the line. Check that every line begins with something like
[01:23.40]. - The wrong lyrics show up: With several lyrics files, the most finely timed one wins (see order). Remove the other files, or assign the right one in the editor.
- The song still has lyrics after removing them: Then they come from the music file's lyrics tag.
Still have a question or found a mistake? Email hello@suenavus.com.