Too much noise while recording sound from mic on 14.04 LTS

Type in the terminal alsamixer. It will open the present levels, adjust the microphone level at 75 and set the microphone boss level to 50. Worked for me perfectly and removed the noise from microphone.


I tried this method it didn't work for me. I tried to active noise cancelation and it works perfectly. Here it is:

I found this solution Video , and it worked for me.

Open Terminal and run:

sudo nano /etc/pulse/default.pa

Add these lines at the end of the file:

### Enable Echo/Noise-Cancelation
load-module module-echo-cancel aec_method=webrtc aec_args="analog_gain_control=0 digital_gain_control=1" source_name=echoCancel_source sink_name=echoCancel_sink
set-default-source echoCancel_source
set-default-sink echoCancel_sink

exit from text editor with ctrl+x and save file.

run

 pulseaudio -k
 pulseaudio --start

restart the system.

Done!

From: https://askubuntu.com/a/1222714/864419


I will provide a full answer based on answers given here and elsewhere.

So my recording was a total mess: sounds crackling, popping, with the sound of the processor, or the fan of the laptop.

What I did was to input the following commands:

1/ Restore alsactl

alsactl restore

It improved tremendously the quality but was still bad.

2/ Adjust microphone with Alsa mixer (Rajashekhar Ch's answer)

alsamixer

then

Fn + F4
Right arrow
Bring capture to !30 and microboost to ~50 
ESC

3/ Followed Mohammad's answer: edit /etc/pulse/default.pa by adding at the end:

### Enable Echo/Noise-Cancelation
load-module module-echo-cancel aec_method=webrtc aec_args="analog_gain_control=0 digital_gain_control=1" source_name=echoCancel_source sink_name=echoCancel_sink
set-default-source echoCancel_source
set-default-sink echoCancel_sink

Then

pulseaudio -k
pulseaudio --start

4/ Activate Noise cancellation in OBS:

enter image description here

You have to click on the settings button and then filters as seen on screenshot.

enter image description here

Play with the different ranges to see what works best for you.