Distortions and hissing sound while using microphone

I have been facing issues while recording audio.
When I record audio using my laptop’s inbuilt microphone, the recording has horrible noise & distortions in it. And when I try using my earphone’s mic to record audio, it has a constant whistling/hissing sound in the background.
I also believe that my earphone does work properly as when I record audio using my phone it works perfect.

I tried to troubleshoot the issue by reading this archwiki article.
I followed the steps in this section, and accordingly set my sampling rate to 48000. But it didn’t fix the issue.
So I also followed the steps in this section too, but the issue still persists.

Relevant commands and their outputs:-

$ arecord --list-devices

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ arecord -f dat -r 60000 -D hw:0,0 -d 5 test.wav

Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 60000 Hz, Stereo
Warning: rate is not accurate (requested = 60000Hz, got = 48000Hz)
         please, try the plug plugin
$ pacmd list-sources | grep 'name:.*input'

name: <alsa_input.pci-0000_00_1f.3.analog-stereo>

Here are some recordings using the “arecord -f dat -r 60000 -D hw:0,0 -d 5 test.wav” command. One is using my laptops inbuilt microphone and the second one is using my earphone.

I am using a Lenovo Thinkpad L480 20LSS0N800 with manjaro gnome stable.

Any help would be appreciated :slight_smile:

Hi, I read this on a website and it works well

sudo nano /etc/pulse/default.pa
search this:

Modules to allow autoloading of filters (such as echo cancellation)

on demand. module-filter-heuristics tries to determine what filters

make sense, and module-filter-apply does the heavy-lifting of

loading modules and rerouting streams.

load-module module-filter-heuristics
load-module module-filter-apply
load-module module-echo-cancel source name=noiseless

Make some devices default

#set-default-sink output
#set-default-source input
set-default-source noiseless

add 2 bold lines, the press CTRL+X


pulseaudio -k

the noise is gone, that’s works for me.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.