GNU bug report logs - #42583
[PATCH 1/2] gnu: Add rnnoise.

Previous Next

Package: guix-patches;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Tue, 28 Jul 2020 14:46:02 UTC

Severity: normal

Tags: patch

Done: Pierre Neidhardt <mail <at> ambrevar.xyz>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42583 in the body.
You can then email your comments to 42583 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#42583; Package guix-patches. (Tue, 28 Jul 2020 14:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Neidhardt <mail <at> ambrevar.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 28 Jul 2020 14:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: guix-patches <at> gnu.org
Subject: [PATCH 1/2] gnu: Add rnnoise.
Date: Tue, 28 Jul 2020 16:45:24 +0200
* gnu/packages/pulseaudio.scm (rnnoise): New variable.
---
 gnu/packages/pulseaudio.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index 58c7e5bd7d..e411cfa46c 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2019 Alex Griffin <a <at> ajgrf.com>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe <at> gmail.com>
 ;;; Copyright © 2020 Amin Bandali <bandali <at> gnu.org>
+;;; Copyright © 2020 Pierre Neidhardt <mail <at> ambrevar.xyz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -33,6 +34,7 @@
   #:use-module (guix git-download)
   #:use-module (guix utils)
   #:use-module ((guix licenses) #:prefix l:)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
@@ -468,3 +470,36 @@ volume levels of the sinks (get, set, decrease, increase, toggle mute, etc).")
 PulseAudio server settings from the X11 system tray.  See the project
 README.md for a detailed list of features.")
     (license l:lgpl2.1+)))
+
+(define-public rnnoise
+  (package
+    (name "rnnoise")
+    (version "0.9")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/werman/noise-suppression-for-voice")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "18bq5b50xw3d4r1ildinafpg3isb9y216430h4mm9wr3ir7h76a7"))))
+    (build-system cmake-build-system)
+    (arguments
+     ;; No tests.
+     '(#:tests? #f))
+    (inputs
+     `(;; TODO: Add VST to build the plugin.
+       ("pulseaudio" ,pulseaudio)))
+    (home-page "https://github.com/werman/noise-suppression-for-voice")
+    (synopsis "Real-time Noise suppression plugin based on Xiph's RNNoise")
+    (description "The plugin is meant to suppress a wide range of noise
+origins: computer fans, office, crowd, airplane, car, train, construction.
+
+Mild background noise is always suppressed, loud sounds, like
+clicking of mechanical keyboard, are suppressed while there is no voice
+however they are only reduced in volume when voice is present.
+
+The plugin is made to work with 1 or 2 channels (ladspa plugin),
+16 bit, 48000 Hz audio input.")
+    (license l:gpl3)))

base-commit: f2dc025edab09b2f1c6cdce521635d0f518134ee
-- 
2.26.2





Information forwarded to guix-patches <at> gnu.org:
bug#42583; Package guix-patches. (Sat, 01 Aug 2020 07:16:02 GMT) Full text and rfc822 format available.

Message #8 received at 42583 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 42583 <at> debbugs.gnu.org
Subject: Re: [bug#42583] [PATCH 1/2] gnu: Add rnnoise.
Date: Sat, 01 Aug 2020 09:15:26 +0200
Hey Pierre,

> * gnu/packages/pulseaudio.scm (rnnoise): New variable.

This patch is marked 1/2, is there a second part?

Otherwise this looks fine!

Thanks,

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#42583; Package guix-patches. (Sat, 01 Aug 2020 09:28:02 GMT) Full text and rfc822 format available.

Message #11 received at 42583 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 42583 <at> debbugs.gnu.org
Subject: Re: [bug#42583] [PATCH 1/2] gnu: Add rnnoise.
Date: Sat, 01 Aug 2020 11:27:05 +0200
[Message part 1 (text/plain, inline)]
Hi Mathieu,

Mathieu Othacehe <othacehe <at> gnu.org> writes:

> Hey Pierre,
>
>> * gnu/packages/pulseaudio.scm (rnnoise): New variable.
>
> This patch is marked 1/2, is there a second part?

Part 2 got swallowed bit git send-email again :(
I'm attaching it here.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]
[0002-gnu-Add-noisetorch.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#42583; Package guix-patches. (Thu, 06 Aug 2020 13:55:02 GMT) Full text and rfc822 format available.

Message #14 received at 42583 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 42583 <at> debbugs.gnu.org
Subject: Re: [bug#42583] [PATCH 1/2] gnu: Add rnnoise.
Date: Thu, 06 Aug 2020 15:54:19 +0200
Hey Pierre,

> +    (version "0.5.3-beta")

Looks like a 0.6.1-beta is out there.

Otherwise, looks fine!

Thanks,

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#42583; Package guix-patches. (Thu, 06 Aug 2020 16:55:01 GMT) Full text and rfc822 format available.

Message #17 received at 42583 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 42583 <at> debbugs.gnu.org
Subject: Re: [bug#42583] [PATCH 1/2] gnu: Add rnnoise.
Date: Thu, 06 Aug 2020 18:54:32 +0200
[Message part 1 (text/plain, inline)]
Merged with 59b8daf2d2ec693467f299c06cb7f689a984a1d9.
Thanks for reviewing!

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 42583 <at> debbugs.gnu.org and Pierre Neidhardt <mail <at> ambrevar.xyz> Request was from Pierre Neidhardt <mail <at> ambrevar.xyz> to control <at> debbugs.gnu.org. (Thu, 06 Aug 2020 16:55:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 04 Sep 2020 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.