Files
TonUninoNator/README.md
T
2026-11-24 12:18:33 +01:00

2.2 KiB
Raw Blame History

TonUinoNator

English | Deutsch

A small macOS app (SwiftUI) that prepares audio-play and music folders for TonUINO / DFPlayer SD cards: it writes the required folder and file numbering, checks a card, normalises loudness and edits MP3 tags.

Features

  • Convert: writes the TonUINO folder structure. The MP3 files of an episode are either merged into 001.mp3 or exported separately as 001.mp3, 002.mp3, …
  • SD card: checks a TonUINO SD card and runs dot_clean
  • MP3Gain: applies MP3Gain recursively (track/album mode, clipping protection, dB offset)
  • ID3 tags: shows, removes or rewrites MP3 tags recursively; search by title, album and artist

Requirements

  • macOS 13 or later, Swift 5.9 or later (Xcode or Command Line Tools)
  • Optional: mp3gain for the MP3Gain tool, e.g. brew install mp3gain (searched in /opt/homebrew/bin, /usr/local/bin, /usr/bin)

Installation

git clone <repository-url> TonUinoNator
cd TonUinoNator
swift run                 # start directly
bash build_app.sh         # or build dist/TonUinoNator.app with icon

Usage

Expected input: one sub-folder per episode, files are sorted naturally (Part 2 before Part 10):

Input/                     Output/ (merge)      Output/ (separate)
  Episode 1/                 01/                  01/
    part 1.mp3                 001.mp3              001.mp3
    part 2.mp3               02/                    002.mp3
  Episode 2/                   001.mp3            02/
    01.mp3                                          001.mp3

Only MP3 files are exported; other audio formats are reported in the preview and not converted. Optionally the export writes a report (TonUinoNator-Report.txt), runs dot_clean and checks the result.

The SD card check verifies folders 01–99, files 001.mp3–255.mp3, the special folders mp3 and advert (0001.mp3–9999.mp3), macOS metadata (.DS_Store, ._*) and unexpected files.

MP3Gain options: -r track gain, -a album gain, -k avoid clipping, -d <n> additional dB offset.

License

MIT, see LICENSE.