After reading this previous thread about setting up the microphone on Xavier https://devtalk.nvidia.com/default/topic/1047842/jetson-agx-xavier/xavier-audio-panel-header-j511-connection-to-microphone/, I connected the microphone on Xavier Audio Header panel and was able to capture a sound.
However, it has lots of white noise with a distorted tone.
This is an original mono tone sound I send to microphone.
Here is an audio file I could capture with arecord util.
arecord -r 44100 -f S16_LE -c 2 -d 10 test-mic-s16-le.wav
Could anyone help me how to capture a clean sound from a microphone? Do I need any specific setting I have to configure?