This commit is contained in:
2026-06-10 08:45:11 +02:00
parent 930903fb42
commit 3b61e358dc
10 changed files with 190 additions and 63 deletions
+5 -3
View File
@@ -24,9 +24,10 @@ so it can share the same database with the 48 kHz manager.
@section{FLAC 48 kHz manager}
The tool @filepath{flac-48khz-manager.rkt} keeps a FLAC tree at a maximum sample
rate of 48 kHz. Files with a higher sample rate are converted synchronously by the batch process. The conversion path uses
@racketmodname[racket-audio/audio-encoder] dynamically, so the manager module can
still be compiled on systems where the native audio libraries are not available.
rate of 48 kHz. Files with a higher sample rate are converted in place by a
direct call to @racketmodname[racket-audio/audio-encoder]. The batch conversion
path is deliberately synchronous; it does not use places, channels or a worker
protocol.
Run the manager as:
@@ -60,6 +61,7 @@ Metadata is copied through @racketmodname[racket-audio/taglib] and
@racketmodname[racket-audio/audio-encoder]. TagLib properties and embedded
pictures are transferred to the Opus file. The manager also writes a
@tt{FLAC2OPUS} comment indicating that the file was converted by the manager.
The conversion function is a normal synchronous function call.
When a source file disappears, the corresponding target file is removed on the
next run. The manager does not mirror its own root-level administration files.