2026-06-08 17:33:37 +02:00
2026-06-08 17:33:37 +02:00
2026-06-08 17:20:12 +02:00
2026-06-08 17:20:12 +02:00
2026-06-08 15:51:44 +02:00
2026-06-08 17:20:12 +02:00
2026-06-08 17:33:37 +02:00
2026-06-08 15:51:44 +02:00
2026-06-08 17:20:12 +02:00
2026-06-08 17:20:12 +02:00

audio-library-manager

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:

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.

S
Description
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.
Readme MIT 108 KiB
Languages
Racket 98.8%
Shell 1.1%
Makefile 0.1%