From a2eb282f0e3e9563bc54b17eb70daa928fba844b Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sat, 3 Feb 2018 19:45:21 +0000 Subject: [PATCH] New port: audio/noise-repellent-lv2: LV2 plugin for broadband noise reduction The LV2 plugin to denoise audio signals: https://github.com/lucianodato/noise-repellent Submitted by: myself Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D14182 --- audio/Makefile | 1 + audio/noise-repellent-lv2/Makefile | 26 ++++++++++++++++++++++++++ audio/noise-repellent-lv2/distinfo | 3 +++ audio/noise-repellent-lv2/pkg-descr | 20 ++++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 audio/noise-repellent-lv2/Makefile create mode 100644 audio/noise-repellent-lv2/distinfo create mode 100644 audio/noise-repellent-lv2/pkg-descr diff --git a/audio/Makefile b/audio/Makefile index c287841da2ca..c621e35abc79 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -560,6 +560,7 @@ SUBDIR += ncmpc SUBDIR += ncmpcpp SUBDIR += nekobee + SUBDIR += noise-repellent-lv2 SUBDIR += normalize SUBDIR += nosefart SUBDIR += nspmod diff --git a/audio/noise-repellent-lv2/Makefile b/audio/noise-repellent-lv2/Makefile new file mode 100644 index 000000000000..bbd3f8552158 --- /dev/null +++ b/audio/noise-repellent-lv2/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= noise-repellent +DISTVERSION= 0.1.4 +CATEGORIES= audio +PKGNAMESUFFIX= -lv2 + +MAINTAINER= yuri@FreeBSD.org +COMMENT= LV2 plugin for broadband noise reduction + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= lv2>0:audio/lv2 \ + ${LOCALBASE}/include/fftw3.h:math/fftw3 +LIB_DEPENDS= libfftw3f.so:math/fftw3-float + +USES= gmake pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= lucianodato + +PLIST_FILES= lib/lv2/nrepel.lv2/manifest.ttl \ + lib/lv2/nrepel.lv2/nrepel.so \ + lib/lv2/nrepel.lv2/nrepel.ttl + +.include diff --git a/audio/noise-repellent-lv2/distinfo b/audio/noise-repellent-lv2/distinfo new file mode 100644 index 000000000000..5f461407dec1 --- /dev/null +++ b/audio/noise-repellent-lv2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1517623764 +SHA256 (lucianodato-noise-repellent-0.1.4_GH0.tar.gz) = 19a2a899b740dd81775f09e03bc09b010725b3366219296f488425beb632c243 +SIZE (lucianodato-noise-repellent-0.1.4_GH0.tar.gz) = 31263 diff --git a/audio/noise-repellent-lv2/pkg-descr b/audio/noise-repellent-lv2/pkg-descr new file mode 100644 index 000000000000..1f7419ef30b2 --- /dev/null +++ b/audio/noise-repellent-lv2/pkg-descr @@ -0,0 +1,20 @@ +Features: +* Spectral gating and spectral subtraction suppression rule +* Adaptive and manual noise thresholds estimation +* Adjustable noise floor +* Adjustable offset of thresholds to perform over-subtraction +* Time smoothing and a masking estimation to reduce artifacts +* Basic onset detector to avoid transients suppression +* Whitening of the noise floor to mask artifacts and to recover + higher frequencies +* Option to listen to the residual signal +* Soft bypass +* Noise profile saved with the session + +Limitations: +* The plug-in will introduce latency so it's not appropriate to be used + while recording (23 ms for 44.1 kHz) +* It was developed to be used with Ardour however it is known to work + with other hosts + +WWW: https://github.com/lucianodato/noise-repellent