Forked from adrianolsk/fix-microphone-background-noise.sh
Created
February 4, 2022 14:28
-
-
Save dannluciano/84c25e82317bb431b4c61e915782c65c to your computer and use it in GitHub Desktop.
FIx linux microfone background noise
This file contains 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