summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2021-03-15 16:18:04 +0100
committerAndreas Schneider <asn@cryptomilk.org>2021-03-15 16:19:03 +0100
commitc95ef5c04f4b886e4e0e0b5500f46d39599a4bb7 (patch)
treed7bafaa3c4f6154761bc750f09f1270d9f91dd85
parentc633ec16db1f5f2f7c4a564e62abb1c5e095c568 (diff)
downloaddotfiles-c95ef5c04f4b886e4e0e0b5500f46d39599a4bb7.tar.gz
dotfiles-c95ef5c04f4b886e4e0e0b5500f46d39599a4bb7.tar.xz
dotfiles-c95ef5c04f4b886e4e0e0b5500f46d39599a4bb7.zip
magrathea: Add denoised microphone
-rw-r--r--magrathea/.config/pulse/default.pa14
1 files changed, 14 insertions, 0 deletions
diff --git a/magrathea/.config/pulse/default.pa b/magrathea/.config/pulse/default.pa
new file mode 100644
index 0000000..2919c9a
--- /dev/null
+++ b/magrathea/.config/pulse/default.pa
@@ -0,0 +1,14 @@
+.include /etc/pulse/default.pa
+
+#
+# https://github.com/werman/noise-suppression-for-voice
+#
+# pacmd list sources short
+#
+# zypper ar obs://home:darix:playground
+# zypper in ladspa-rnnoise
+
+load-module module-null-sink sink_name=Denoise_Rode_NT_USB_Mini rate=48000 sink_properties=device.description=Deniose-RĂ˜DE-NT-USB-Mini
+load-module module-ladspa-sink sink_name=raw_sink_in sink_master=Denoise_Rode_NT_USB_Mini label=noise_suppressor_stereo plugin=/usr/lib64/ladspa/librnnoise_ladspa.so control=50 sink_properties=device.description=Ladspa_Denoising_Rode
+load-module module-loopback source=alsa_input.usb-R__DE_Microphones_R__DE_NT-USB_Mini_26BF1635-00.multichannel-input sink=raw_sink_in channels=2 source_dont_move=true sink_dont_move=true source_output_properties=device.description=Mapped_Rode
+load-module module-remap-source source_name=Denoise_Rode_NT_USB_Mini master=Denoise_Rode_NT_USB_Mini.monitor channels=2 source_properties=device.description=Ladspa_Denoising_Rode