From 58ef8e92dd54dd566dd53058ae768785bc56df95 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Mon, 10 Nov 2025 16:14:10 +0530 Subject: [PATCH] gnu: Add libspecbleach. * gnu/packages/audio.scm (libspecbleach): New variable. Change-Id: I039d2a1370c6de3d31c682516625e73ab8a06f83 --- gnu/packages/audio.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 02bd7d460301628f4e25213d2efe268e9bf45082..1d5f70cac591beb546826f7bc64f13f3dd1b0bac 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -6082,6 +6082,34 @@ customized and extended using either the s7 Scheme implementation (included in the Snd sources), Ruby, or Forth.") (license (license:non-copyleft "file://COPYING")))) +(define-public libspecbleach + (package + (name "libspecbleach") + (version "0.1.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lucianodato/libspecbleach") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0czmzhggg5gl833karfrl2c0pr2k3jf7q7jd3y68hyj0cnn6f3jg")))) + (build-system meson-build-system) + (native-inputs + (list pkg-config)) + (inputs + (list fftwf)) + (home-page "https://github.com/lucianodato/libspecbleach") + (synopsis "C library for audio noise reduction and other spectral effects") + (description + "This package provides a C library for audio noise reduction and other +spectral effects. It is based on the algorithms that were used in +@code{noise-repellent}. These were extracted into a this standalone library to +remove the lv2 dependency. It uses the concept of a spectral processor which +itself uses a @acronym{STFT, short time Fourier transform} to process the audio.") + (license license:lgpl2.1+))) + (define-public noise-repellent (package (name "noise-repellent")