Forked from adrianolsk/fix-microphone-background-noise.sh
Created
December 4, 2020 08:50
-
-
Save dbrw/da872d52c3b2c798cb9158edc932128a to your computer and use it in GitHub Desktop.
FIx linux microfone background noise
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Microphone Realtime background noise reduction script | |
| # author Luigi Maselli - https://grigio.org licence: AS-IS | |
| # credits: http://askubuntu.com/questions/18958/realtime-noise-removal-with-pulseaudio | |
| # run as: sudo && pulseaudio -k | |
| # wget -qO - https://gist.github.com/adrianolsk/bfa32f3227dc674eff72a2008f6c0316 | sudo bash && 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 | |
| EOT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment