From dc7ef476811728321480d100eb6cc71b22ab38b1 Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Thu, 4 Jun 2026 12:35:22 +0200 Subject: [PATCH] sunken-ship: add numpy to mulbo-server env For FFT-based spectral-rolloff analysis (quality.py) used by the chromaprint-dupe winner picker. Effective bitrate alone can't tell a real lossless file from a re-encoded-128kbps-MP3-saved-as-WAV; spectral rolloff catches the upsampled fakes (rolloff < 17kHz = came from lossy source). Co-Authored-By: Claude Opus 4.7 (1M context) --- nixos/hosts/sunken-ship.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/hosts/sunken-ship.nix b/nixos/hosts/sunken-ship.nix index 768a0df..f7b99b3 100644 --- a/nixos/hosts/sunken-ship.nix +++ b/nixos/hosts/sunken-ship.nix @@ -323,6 +323,8 @@ python-multipart mutagen # tag writeback (enrich.write_tags); needed by the # /enrich/revert endpoint which reuses enrich.py. + numpy # FFT for spectral-rolloff analysis (quality.py); used + # by chromaprint-dupe winner picker in --spectral mode. ]); in { description = "Mulbo companion service (uploads, dedup, folders)";