User Tools

Site Tools


remove_microphone_background_noise

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
remove_microphone_background_noise [2021/02/20 23:46] – external edit 127.0.0.1remove_microphone_background_noise [2021/05/14 16:00] dino
Line 1: Line 1:
-<code>sudo nano /etc/pulse/default.pa</code>+# 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 \\
  
-Add this line at the end:  +sudo cp /etc/pulse/default.pa /etc/pulse/default.pa.bak \\ 
- +sudo cat <<EOT >> /etc/pulse/default.pa \\ 
-load-module module-echo-cancel +load-module module-echo-cancel source_name=noechosource sink_name=noechosink \\ 
- +set-default-source noechosource \\ 
-<code>pulseaudio -k </code> +set-default-sink noechosink \\ 
- +EOT \\
- +
-**Set input as default** +
- +
-If you wish to set as default the echo cancel device simply turn the above line into: +
- +
-load-module module-echo-cancel source_name=NameOfYourDevice +
- +
-and then at the bottom of the file add +
- +
-set-default-source NameOfYourDevice +
- +
- +
-In this case I named the source logitechsource, but you can name it whatever you want and simply either restart pulseaudio. +
- +
-**Rename device** +
- +
-Lastly, if you do not want a super long name on the Sound Settings (When you want to select an input/output device). My suggestion is renaming the input device like this: +
- +
-load-module module-echo-cancel source_name=logitechsource source_properties=device.description=LogitechHD +
- +
-// +
-Source: https://askubuntu.com/questions/18958/realtime-noise-removal-with-pulseaudio//+
remove_microphone_background_noise.txt · Last modified: 2024/03/12 21:23 by 127.0.0.1