Initial import

This commit is contained in:
2026-06-08 17:20:12 +02:00
parent a3c561d2f2
commit 5e860a3d8b
16 changed files with 702 additions and 1 deletions
+20 -1
View File
@@ -1,3 +1,22 @@
# audio-library-manager
If you have a directory with, e.g. /music with a library containing flac music tracks, this will resample the files to at most 48.000Hz (get rid of the 96Khz/192Khz files that one will never hear the difference to 48Khz). Also there's a flac -> opus conversion path (to e.g. /music-opus) to make a portable library. It will keep the information about the files in /music/.music-info.db.
First setup for `flac-48khz-manager.rkt`.
The command keeps a FLAC directory tree at a maximum sample rate of 48 kHz.
Files above the configured threshold are converted in place through a Racket place.
The conversion path uses `racket-audio/audio-encoder` dynamically, so the package can still compile on systems where the native audio libraries are not installed yet.
Default files below the FLAC root:
- `.music-info.db`: keystore state database
- `.flac-48khz-manager.ini`: configuration
- `.flac-48khz-manager.log`: log file
Run:
```sh
racket flac-48khz-manager.rkt /path/to/flac-tree
```
Important configuration keys are created automatically in `.flac-48khz-manager.ini`.
SMTP reports are HTML and only summarize counters and errors.