about summary refs log tree commit diff
path: root/third_party/nsfv
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-06-25T02·26+0100
committertazjin <mail@tazj.in>2020-06-25T02·27+0000
commit0e0e8d8ff4bc8b947ce0908e0e1e79b23db66754 (patch)
tree009d0a707b498841a0bf5acf7fc42867fbd612f7 /third_party/nsfv
parent9d6f5865336866590114560284be684cc4f9e453 (diff)
feat(3p/nsfv): Add derivation for NSFV r/1079
This is a real-time noise suppression plugin for pulseaudio. I want to
cancel other people's noise with this.

Change-Id: Ia3031435e0db35eb80b626ab60d7a62b892d295d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/576
Reviewed-by: Kane York <rikingcoding@gmail.com>
Diffstat (limited to 'third_party/nsfv')
-rw-r--r--third_party/nsfv/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/third_party/nsfv/default.nix b/third_party/nsfv/default.nix
new file mode 100644
index 000000000000..26d5488c42ca
--- /dev/null
+++ b/third_party/nsfv/default.nix
@@ -0,0 +1,23 @@
+# Real-time Noise Suppression Plugin (for PulseAudio).
+#
+# This should be invoked as a "ladspa" plugin for pulseaudio.
+#
+# https://github.com/werman/noise-suppression-for-voice
+{ pkgs, lib, ... }:
+
+pkgs.stdenv.mkDerivation {
+  name = "noise-suppression-for-voice";
+
+  nativeBuildInputs = [ pkgs.cmake ];
+  src = pkgs.fetchFromGitHub {
+    owner = "werman";
+    repo = "noise-suppression-for-voice";
+    rev = "cd5c79378ab9819cd85f4fd108f3c77a40fd66ac";
+    sha256 = "10zh1al1bys60sjdd4p72qbp9jfb5wq1zaw33b595psgwmqpbckq";
+  };
+
+  meta = with lib; {
+    description = "Real-time noise suppression LADSPA plugin";
+    license = licenses.gpl3;
+  };
+}