Skip to content

Instantly share code, notes, and snippets.

@mofaruk
Created April 4, 2022 02:36
Show Gist options
  • Save mofaruk/a82e254fe04dede872759db2a440efbe to your computer and use it in GitHub Desktop.
Save mofaruk/a82e254fe04dede872759db2a440efbe to your computer and use it in GitHub Desktop.

This cancels noise using PulseAudio

Step 1:

Add the following lines on /etc/pulse/default.pa if not added

load-module module-filter-heuristics
load-module module-filter-apply
load-module module-echo-cancel aec_args="analog_gain_control=0 digital_gain_control=0"

step 2:

Restart the PC or atleast PulseAudio using following command

pulseaudio -k

New sound input option will be added like echo cacelled with ...., it can be checked from Sound > Input > Device

Step 3: (optional)

For some cases PulseAudio need to started after each reboot, so the restart command can be added in the startup command

source: Youtube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment