Lumae

Lumae guide · Undertone

Prepare your music for Undertone

For 1.0.0 (38) on Android and (32) on iPhone · Updated November 11, 2026

Undertone plays focus, study and sleep music from one library on a music server, in sessions of its own and off the record. This page takes you from a folder of files to presets. Most of it happens on a computer, once. The short version is in the app: Settings → Undertone → How to prepare your music.

Where everything lives

WhatWhere it livesHow you change it
The audio, cover imagesFiles your music server readsYour file manager
Album, artist, title, track number, ReplayGainTags in those filesA tag editor
Effect, Style, Vocals, your own fieldsLumae, not the filesThe phone, a spreadsheet, or the Lumae Analysis page
Presets, categories, groupsLumaeThe phone, the Undertone file, or the Lumae Analysis page

So you never put “Sleep” or “Rain” into a tag for Undertone to find. Tags say what a track is called; details say what it is for.

1. Set the music aside

Keep the music in one folder, with a folder per album:

undertone-music/
  Sleep Rain/
    cover.jpg
    01 First Rain.flac
    02 Second Rain.flac
  Deep Focus/
    cover.jpg
    01 Long Piece.flac

Undertone reads one library, so everything you want in it goes under one root folder. Mounting two folders side by side counts as one library.

A separate server is the cleanest choice: the music stays out of Lumae's library, Search and mixes, and AudioMuse-AI doesn't analyze it. Navidrome takes a few lines of Docker:

services:
  navidrome:
    image: deluan/navidrome:latest
    restart: unless-stopped
    ports:
      - '4533:4533'
    environment:
      ND_SCANSCHEDULE: 1h
      ND_AUTOIMPORTPLAYLISTS: 'false'
    volumes:
      - ./navidrome-data:/data
      - /path/to/undertone-music:/music:ro

Open port 4533 in a browser, create the admin account, and let the first scan finish. ND_AUTOIMPORTPLAYLISTS keeps stray .m3u files from becoming playlists. Jellyfin 12.0 or later works too, with a music library pointed at the same folder.

A second library on Lumae's own server works, and so does Lumae's own library: Undertone sessions stay off the record either way. Only a separate library or server keeps the tracks out of Lumae's mixes.

2. Check the tags

Your music server builds albums from tags, not folders.

TagNeeded?What it does
Album, album artistYesThe same on every track of an album, or the album splits
Title, artistYesShown everywhere, and used to find tracks on import
Track numberYesUsed to find tracks on import, and sets the album's order
GenreOptionalFills Genre on the album, once
BPMOptionalFills BPM on the track, once. Leave it off sounds without a beat
ReplayGainRecommendedEvens out the volume (step 3)
MusicBrainz IDOptionalFinds a track again if its other tags change

Name each album's image cover.jpg.

Finish the tags before you fill in details. Navidrome builds its IDs from album, album artist, release date, disc, track number and title, so changing them gives tracks new IDs, and your details stay with the old ones. If you have to change them later:

  1. In Lumae: Settings → Undertone → Export Undertone file.
  2. Change the tags and let the server scan.
  3. In Lumae: Read the library again, then Import the file. Lumae finds the music by path and tags.

3. Even out the volume

Undertone reads ReplayGain tags and turns loud tracks down. It never turns a track up, and a track with no tag plays as it is. Sleep and nature recordings can differ by 30 dB or more, so this step matters more than it does for albums of music.

rsgain writes the tags and leaves the audio alone. Its usual target of −18 LUFS only pulls down what's above it. In a library only Undertone uses, a lower target brings the loud tracks down to the quiet ones. Save this as undertone-rsgain.ini:

[Global]
TargetLoudness=-30

Then run it on the folder. Try one album first:

rsgain easy -p undertone-rsgain.ini "/path/to/undertone-music"

Everything plays quieter afterward, so raise the phone's volume. Tracks quieter than −30 LUFS stay quieter than the rest. Don't use a low target on a library Lumae also plays: Lumae and other apps read the same tags.

4. Connect it

  1. Settings → Undertone → Use Undertone.
  2. Choose the library, or On another server and enter its address and sign-in. The sign-in stays on this phone.
  3. Lumae reads the albums and tracks.

After you change files, let the server scan them, then choose Read the library again. Your details stay.

5. Fill in the details

Details go in through the app: Settings → Undertone → Import takes a spreadsheet or an Undertone file. You don't need Lumae Analysis. With sync on, its Undertone page edits the same details in a table, and it imports and exports the Undertone file, not the spreadsheet.

  1. Settings → Undertone → Spreadsheet template. Share the file to a computer. It lists every album and track, with the values already set.
  2. Fill in what you care about. One row per album is often enough.
  3. Save it as CSV UTF-8 and get it onto the phone.
  4. Settings → Undertone → Import, then check what was found and import. Undo puts everything back.

Blank template CSV

The columns and two example rows, to see the format before you start

Download template

Replace its two example rows, or better, start from the app's Spreadsheet template, which already holds your music. The blank one looks like this:

kindartistalbumtitle tracksecondsidBPM StyleGenreEffectVocals Loops seamlesslySound
albumAlbum artistAlbum name ContinuousNature soundsSleep|Mask noiseNone Rain|Thunder
trackTrack artistAlbum nameTrack title11800 60yes

The rules:

  • An album's values reach its tracks until a track has its own. A track's value replaces the album's for that field; it doesn't add to it.
  • An empty cell changes nothing. A spreadsheet can't clear a value; do that on the phone.
  • | separates several values: Sleep|Mask noise.
  • A new column becomes a new field, and every field can filter. It's a tags field if any cell in the column holds a |, a number field if every filled cell is a number (15, 12.5), and text otherwise. Number fields filter by range; the others by value. Choose a column's kind by how you'll want to filter it: Calm|Serene lets you ask for either or both, and 15 lets you ask for 10 to 30. The template's Sound column is one of these.
  • Keep the first columns as they are (kind, artist, album, title, track, seconds, id). They're how Lumae finds the music: album rows by album and artist; track rows by artist, album, title and track number, with the length within 2 seconds.
  • Not found isn't lost. Rows Lumae can't find are kept and tried again after each library read.
  • Comma, semicolon and tab separators all work.

Ready-made fields

ColumnKindValues
BPMNumber, or a range like 55–65 on albums
StyleTagsYour own
GenreTagsReplaces what the server filled in
EffectTagsCalm, Focus, Sleep, Mask noise, or your own
VocalsOne ofNone, Wordless, Lyrics
Loops seamlesslyYes or no, tracks onlyyes, no
Brainwave bandOne of, hidden until you turn it on in FieldsDelta, Theta, Alpha, Beta
Noise colorOne of, tracks only, hidden until you turn it on in FieldsWhite, Pink, Brown

What a filter can do

In Undertone's library, Tracks → Filter shows every field with the values in it, and how many tracks each one would find. Choices that would find nothing stay out of the way.

To findDo this
Tracks with this valueTap it
Tracks with either valueTap both
Tracks with both values (tags)Tap both, then choose All of these
Everything except a valueTap it twice
A value, without anotherTap one once and the other twice: Sound: Rain, not Thunder
A span of numbers, like BPMEnter From, To, or both
Long tracks, or short onesLength, in minutes. It comes from the file, so you don't tag it
What still needs taggingNot set

Different fields narrow each other: Effect: Sleep and Vocals: None finds tracks with both. A filter can't ask for one field or another (Effect: Sleep or Vocals: None); make a tag for that if you want it. Play what matches, or save it as a preset, and change a preset's filter from the preset.

Don't go by titles. Sleep and nature albums are often titled for search. Tracks called “Loop for 8 hours” can be two-minute clips that fade out, and a track called “Wind” can be music. Listen before you set Loops seamlessly.

6. Make your presets

Open Undertone and make a preset from an album, a track, a group or a filter.

  • Gapless suits long pieces and music made to run together. Between clips that cut off, you hear the jump.
  • Fade overlaps tracks by 6 seconds. Short clips often fade in and out on their own, and Fade fills most of those dips. It also avoids the short gap Gapless can leave when sample rates change.
  • Timer: fade out over 30 seconds to 15 minutes, or finish the track.
  • Filter presets pick up new music on their own, at the start of each round.

Export the Undertone file now and then. It keeps your details and presets if you change phones or servers.

Checklist

  • One root folder, a folder per album, cover.jpg in each
  • Album, album artist, title and track number on every track
  • ReplayGain tags written
  • Library on your music server, or a separate server, scanned
  • Undertone on, library read
  • Template filled in, saved as CSV UTF-8, imported
  • Presets made, Undertone file exported

Back to the Lumae guide, which covers turning Undertone on, the timer and alarms.