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
| What | Where it lives | How you change it |
|---|---|---|
| The audio, cover images | Files your music server reads | Your file manager |
| Album, artist, title, track number, ReplayGain | Tags in those files | A tag editor |
| Effect, Style, Vocals, your own fields | Lumae, not the files | The phone, a spreadsheet, or the Lumae Analysis page |
| Presets, categories, groups | Lumae | The 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.
| Tag | Needed? | What it does |
|---|---|---|
| Album, album artist | Yes | The same on every track of an album, or the album splits |
| Title, artist | Yes | Shown everywhere, and used to find tracks on import |
| Track number | Yes | Used to find tracks on import, and sets the album's order |
| Genre | Optional | Fills Genre on the album, once |
| BPM | Optional | Fills BPM on the track, once. Leave it off sounds without a beat |
| ReplayGain | Recommended | Evens out the volume (step 3) |
| MusicBrainz ID | Optional | Finds 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:
- In Lumae: Settings → Undertone → Export Undertone file.
- Change the tags and let the server scan.
- 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
- Settings → Undertone → Use Undertone.
- Choose the library, or On another server and enter its address and sign-in. The sign-in stays on this phone.
- 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.
- Settings → Undertone → Spreadsheet template. Share the file to a computer. It lists every album and track, with the values already set.
- Fill in what you care about. One row per album is often enough.
- Save it as CSV UTF-8 and get it onto the phone.
- Settings → Undertone → Import, then check what was found and import. Undo puts everything back.
Blank template CSV
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:
| kind | artist | album | title | track | seconds | id | BPM | Style | Genre | Effect | Vocals | Loops seamlessly | Sound |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| album | Album artist | Album name | Continuous | Nature sounds | Sleep|Mask noise | None | Rain|Thunder |
||||||
| track | Track artist | Album name | Track title | 1 | 1800 | 60 | yes |
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|Serenelets you ask for either or both, and15lets 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
| Column | Kind | Values |
|---|---|---|
| BPM | Number, or a range like 55–65 on albums | |
| Style | Tags | Your own |
| Genre | Tags | Replaces what the server filled in |
| Effect | Tags | Calm, Focus, Sleep, Mask noise, or your own |
| Vocals | One of | None, Wordless, Lyrics |
| Loops seamlessly | Yes or no, tracks only | yes, no |
| Brainwave band | One of, hidden until you turn it on in Fields | Delta, Theta, Alpha, Beta |
| Noise color | One of, tracks only, hidden until you turn it on in Fields | White, 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 find | Do this |
|---|---|
| Tracks with this value | Tap it |
| Tracks with either value | Tap both |
| Tracks with both values (tags) | Tap both, then choose All of these |
| Everything except a value | Tap it twice |
| A value, without another | Tap one once and the other twice: Sound: Rain, not Thunder |
| A span of numbers, like BPM | Enter From, To, or both |
| Long tracks, or short ones | Length, in minutes. It comes from the file, so you don't tag it |
| What still needs tagging | Not 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.jpgin 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.