Forked from adrianolsk/fix-microphone-background-noise.sh
Created
June 30, 2019 14:30
-
-
Save agusmakmun/48926ac6dea9c8d18c04d42afd59f6c0 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