From c2156e81a064e7724d80e309d1a0d61f17059367 Mon Sep 17 00:00:00 2001 From: Lee Collier Date: Wed, 24 Feb 2021 20:53:34 +0000 Subject: [PATCH 1/8] Update README.md --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 6a1d4972..9c249ea4 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,34 @@ Further reading: - Useful detailed info about PulseAudio logic [toadjaune/pulseaudio-config](https://github.com/toadjaune/pulseaudio-config). - The [thread](https://bugs.freedesktop.org/show_bug.cgi?id=101043) which helped me with how to post-process mic output and make it available to applications. +#### Ecasound + +[Ecasound](https://ecasound.seul.org/ecasound/) is a software package designed for multitrack auto processing and makes it easy to chain together processing blocks. Packages are available for most distributions. + +You may need to make sure that the LADSPA plugin is copied to the correct directory for your distribution. Check the plugin has been registered with: + +```echo "ladspa-register" | ecasound -c +``` + +If the noise_suppressor_mono and noise_supressor_stereo plugins are not visible, ensure its directory is in the plugin path: + +```export LADSPA_PATH=$LADSPA_PATH:/path_to_ladspa.so +``` + +To process a file: + +```ecasound -i infile.wav -o outfile.wav -el:noise_suppressor_stereo,n +``` + +Where n is the VAD threshold as described above. + +To process in realtime using the ASLA default input and output devices (e.g. a USB sound card): + +```ecasound -i alsa -o alsa -el:noise_suppressor_stereo,n +``` + +A small device such as a Raspberry Pi model B can easily process a stereo signal in realtime. The plugin can be compiled on the device using the x64 instructions below. + ### MacOS You will need to compile library yourself following steps below. From 19a35faa279f88eaf5213f37d26f800bef76c945 Mon Sep 17 00:00:00 2001 From: Lee Collier Date: Wed, 24 Feb 2021 20:54:26 +0000 Subject: [PATCH 2/8] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9c249ea4..a47d52dd 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,10 @@ You may need to make sure that the LADSPA plugin is copied to the correct direct ```echo "ladspa-register" | ecasound -c ``` +```sh +pacmd load-module module-remap-source source_name=denoised master=mic_denoised_out.monitor channels=1 +``` + If the noise_suppressor_mono and noise_supressor_stereo plugins are not visible, ensure its directory is in the plugin path: ```export LADSPA_PATH=$LADSPA_PATH:/path_to_ladspa.so From f4f0f793c0a8487d31b8cda7a6d3232abdded5a6 Mon Sep 17 00:00:00 2001 From: Lee Collier Date: Wed, 24 Feb 2021 20:54:51 +0000 Subject: [PATCH 3/8] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index a47d52dd..23b640fa 100644 --- a/README.md +++ b/README.md @@ -92,8 +92,7 @@ You may need to make sure that the LADSPA plugin is copied to the correct direct ```echo "ladspa-register" | ecasound -c ``` -```sh -pacmd load-module module-remap-source source_name=denoised master=mic_denoised_out.monitor channels=1 +```echo "ladspa-register" | ecasound -c ``` If the noise_suppressor_mono and noise_supressor_stereo plugins are not visible, ensure its directory is in the plugin path: From 7d9fd11631dd09e333113b22decc4a598d28b64a Mon Sep 17 00:00:00 2001 From: Lee Collier Date: Wed, 24 Feb 2021 20:55:42 +0000 Subject: [PATCH 4/8] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 23b640fa..30abc8c6 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ Further reading: - Useful detailed info about PulseAudio logic [toadjaune/pulseaudio-config](https://github.com/toadjaune/pulseaudio-config). - The [thread](https://bugs.freedesktop.org/show_bug.cgi?id=101043) which helped me with how to post-process mic output and make it available to applications. + #### Ecasound [Ecasound](https://ecasound.seul.org/ecasound/) is a software package designed for multitrack auto processing and makes it easy to chain together processing blocks. Packages are available for most distributions. @@ -114,6 +115,7 @@ To process in realtime using the ASLA default input and output devices (e.g. a U A small device such as a Raspberry Pi model B can easily process a stereo signal in realtime. The plugin can be compiled on the device using the x64 instructions below. + ### MacOS You will need to compile library yourself following steps below. From d7b2d8d0c45d7d17c22d394f745374b18bccd220 Mon Sep 17 00:00:00 2001 From: Lee Collier Date: Wed, 24 Feb 2021 20:56:42 +0000 Subject: [PATCH 5/8] Update README.md --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 30abc8c6..f2c515c2 100644 --- a/README.md +++ b/README.md @@ -90,27 +90,32 @@ Further reading: You may need to make sure that the LADSPA plugin is copied to the correct directory for your distribution. Check the plugin has been registered with: -```echo "ladspa-register" | ecasound -c +```sh +echo "ladspa-register" | ecasound -c ``` -```echo "ladspa-register" | ecasound -c +```sh +echo "ladspa-register" | ecasound -c ``` If the noise_suppressor_mono and noise_supressor_stereo plugins are not visible, ensure its directory is in the plugin path: -```export LADSPA_PATH=$LADSPA_PATH:/path_to_ladspa.so +```sh +export LADSPA_PATH=$LADSPA_PATH:/path_to_ladspa.so ``` To process a file: -```ecasound -i infile.wav -o outfile.wav -el:noise_suppressor_stereo,n +```sh +ecasound -i infile.wav -o outfile.wav -el:noise_suppressor_stereo,n ``` Where n is the VAD threshold as described above. To process in realtime using the ASLA default input and output devices (e.g. a USB sound card): -```ecasound -i alsa -o alsa -el:noise_suppressor_stereo,n +```sh +ecasound -i alsa -o alsa -el:noise_suppressor_stereo,n ``` A small device such as a Raspberry Pi model B can easily process a stereo signal in realtime. The plugin can be compiled on the device using the x64 instructions below. From a46ba21d508f6acb1b7ed07950d1f80e8d93ce9e Mon Sep 17 00:00:00 2001 From: Lee Collier Date: Wed, 24 Feb 2021 21:00:53 +0000 Subject: [PATCH 6/8] Update README.md --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f2c515c2..a2fedb68 100644 --- a/README.md +++ b/README.md @@ -94,14 +94,10 @@ You may need to make sure that the LADSPA plugin is copied to the correct direct echo "ladspa-register" | ecasound -c ``` -```sh -echo "ladspa-register" | ecasound -c -``` - -If the noise_suppressor_mono and noise_supressor_stereo plugins are not visible, ensure its directory is in the plugin path: +If the noise_suppressor_mono and noise_supressor_stereo plugins are not shown, ensure its directory is in the plugin path: ```sh -export LADSPA_PATH=$LADSPA_PATH:/path_to_ladspa.so +export LADSPA_PATH=$LADSPA_PATH:/path_to_librnnoise_ladspa.so ``` To process a file: From 904315efc8c1c5f05fd2ece1ce488e9a1fc1e5f5 Mon Sep 17 00:00:00 2001 From: Lee Collier Date: Wed, 24 Feb 2021 21:20:59 +0000 Subject: [PATCH 7/8] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a2fedb68..b2d34ba3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +# Please note: I have only created this fork from the upstrea version as a place to save my information about creating a realtime hardware device using a Raspberry Pi. Please use the [werman repository](https://github.com/werman/noise-suppression-for-voice) to download your code and report any bugs. + # Real-time Noise Suppression Plugin (VST2, LV2, LADSPA) A real-time noise suppression plugin for voice based on [Xiph's RNNoise](https://github.com/xiph/rnnoise). [More info about the base library](https://people.xiph.org/~jm/demo/rnnoise/). From 7210bd9b0c0757ade63e2a0900e91877a72d9596 Mon Sep 17 00:00:00 2001 From: Lee Collier Date: Wed, 24 Feb 2021 21:21:10 +0000 Subject: [PATCH 8/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b2d34ba3..3fc75743 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Please note: I have only created this fork from the upstrea version as a place to save my information about creating a realtime hardware device using a Raspberry Pi. Please use the [werman repository](https://github.com/werman/noise-suppression-for-voice) to download your code and report any bugs. +# Please note: I have only created this fork from the upstream version as a place to save my information about creating a realtime hardware device using a Raspberry Pi. Please use the [werman repository](https://github.com/werman/noise-suppression-for-voice) to download your code and report any bugs. # Real-time Noise Suppression Plugin (VST2, LV2, LADSPA)