internal microphone in linux distortion noise code example
Example: linux microphone noise reduction
1. sudo nano /etc/pulse/default.pa
2. Add the following line to the file:
load-module module-echo-cancel
3. Reload PulseAudio (pulseaudio -k) or simply restart the computer.