summaryrefslogtreecommitdiffstats
path: root/setup-noise-suppression
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2022-09-09 17:47:39 +0200
committerFlorian Pritz <bluewind@xinu.at>2022-09-09 17:47:39 +0200
commit7817eb8057a8ae1f6e792fad970e1decdd2b5911 (patch)
treefdaffe9ea04dfaa233a219899cfb239fe81f4480 /setup-noise-suppression
parent4eda86e49897b5ee5784f621ab7a1d8ce7736d08 (diff)
downloadbin-7817eb8057a8ae1f6e792fad970e1decdd2b5911.tar.gz
bin-7817eb8057a8ae1f6e792fad970e1decdd2b5911.tar.xz
setup-noise-suppression: Support plugin v1.01
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'setup-noise-suppression')
-rwxr-xr-xsetup-noise-suppression2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-noise-suppression b/setup-noise-suppression
index 699ca42..dd0e9ce 100755
--- a/setup-noise-suppression
+++ b/setup-noise-suppression
@@ -14,7 +14,7 @@ channels="${3:-2}"
pacmd unload-module module-null-sink
pacmd load-module module-null-sink sink_name=mic_denoised_out rate=48000 format=s16le
-pacmd load-module module-ladspa-sink sink_name=mic_raw_in sink_master=mic_denoised_out label=noise_suppressor_mono plugin=/usr/lib/ladspa/librnnoise_ladspa.so control="$control"
+pacmd load-module module-ladspa-sink sink_name=mic_raw_in sink_master=mic_denoised_out label=noise_suppressor_mono plugin=/usr/lib/ladspa/librnnoise_ladspa.so control="$control",20,0,0,0
pacmd load-module module-loopback source="$source" sink=mic_raw_in channels="$channels" source_dont_move=true sink_dont_move=true latency_msec=1
# remap to regular source for chromium