faiz14

noise-removal-with-pulseaudio

Jan 10th, 2019
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.64 KB | None | 0 0
  1. # credit from https://gist.githubusercontent.com/grigio/cb93c3e8710a6f045a3dd9456ec01799/raw/94f07c7d75bcf5dd9b08a9c3034844223ec6fbe1/fix-microphone-background-noise.sh
  2.  
  3. # Microphone Realtime background noise reduction script
  4. # author Luigi Maselli - https://grigio.org licence: AS-IS
  5. # credits: http://askubuntu.com/questions/18958/realtime-noise-removal-with-pulseaudio
  6. # run as: sudo && pulseaudio -k
  7.  
  8. sudo cp /etc/pulse/default.pa /etc/pulse/default.pa.bak
  9. sudo cat <<EOT >> /etc/pulse/default.pa
  10. load-module module-echo-cancel source_name=noechosource sink_name=noechosink
  11. set-default-source noechosource
  12. set-default-sink noechosink
  13. EOT
Advertisement
Add Comment
Please, Sign In to add comment