If you have used windows OS before moving into Linux systems, then you should have noticed that there is Background noise cancellation in the Realtek sound manager settings. This setting gives the awesome features of removing static background noise from your low price microphones.

Problem of Linux

If you record audio then this is the must-have features. But in the Linux systems like Ubuntu, Debian, Linux Mint etc this feature is not available. If you want to remove noise, you have to use Audacity software to remove noise.
But this software can remove noise after the recording is over.
So in this post, I will share a trick to enable real-time noise cancellation on any Linux system.

How to enable Noise Cancelling?

Before proceeding further make sure you have the root password of your system.
In the Linux systems, there is an inbuilt noise reduction feature available. But by default, this module is not loaded during boot. So we have to enable this module on every boot.

Open your Terminal

After opening your terminal run the following command.

sudo nano /etc/pulse/default.pa

After that this interface will open. If the password asks to enter, please enter the root user password.

sudo nano /etc/pulse/default.pa

Now move down to any lines and add the following line to enable Noise cancellation module.

load-module module-echo-cancel

Now press Ctrl+O to save the added line & Ctrl+X to exit from the editor.

Restart Pulse Audio

Now run the following commands to restart the Pulse Audio. Alternatively, you can also reboot your system to load the new noise cancellation driver.

pulseaudio -k
pulseaudio --start

Setting Default Device

Now you have to set default input device.
For this you have to click sound icon in the bottom corner of your taskbar.

Remove Background Noise of Microphone on Linux System

Now click on sound settings.
After that, select the Echo cancellation with built in audio device as the default Input device as shown in the picture below.

Remove Background Noise of Microphone on Linux System

Now open any audio recording application and record your voice. You will now notice less static background noise.


Comment Box