feat: per-track loudness normalization and server audio info
- measure downloads with ffmpeg's EBU R128 filter and store gain/LUFS - backfill the existing library one file at a time - expose gain on songs and a /info endpoint for source quality - chart knobs LOUDNESS_ENABLED and LOUDNESS_TARGET_LUFS
This commit is contained in:
1 parent
6763a83b03
commit
91312faa1c
15 files changed
+387
-9
No files matched your search
@@ -0,0 +1,8 @@
|
||||
-- Per-track loudness, measured once per file with ffmpeg's EBU R128 filter.
|
||||
--
|
||||
-- `loudness_lufs` is the integrated loudness; `gain_db` is the attenuation or
|
||||
-- boost the clients apply so tracks from Deezer and YouTube sound equally loud.
|
||||
-- Both stay NULL for files that have not been analyzed yet; the backfill worker
|
||||
-- picks those up without blocking downloads.
|
||||
ALTER TABLE songs ADD COLUMN loudness_lufs REAL;
|
||||
ALTER TABLE songs ADD COLUMN gain_db REAL;
|
||||
Reference in new issue
Block a user