scripts/audio/noise-cancel.sh

13 lines
474 B
Bash
Raw Normal View History

2020-09-11 15:00:39 +00:00
# Microphone Realtime background noise reduction script
# author Luigi Maselli - https://grigio.org licence: AS-IS
2020-11-23 09:35:26 +00:00
# credits:
# http://askubuntu.com/questions/18958/realtime-noise-removal-with-pulseaudio
2020-09-11 15:00:39 +00:00
# run as: sudo && pulseaudio -k
sudo cp /etc/pulse/default.pa /etc/pulse/default.pa.bak
sudo cat <<EOT >> /etc/pulse/default.pa
load-module module-echo-cancel source_name=noechosource sink_name=noechosink
set-default-source noechosource
set-default-sink noechosink
2020-11-23 09:35:26 +00:00
EOT