Ubuntu 18.04 Audacity Poor Recording and Popping
From TheBeard Science Project Wiki
I installed Ubuntu 18.04.1 on my laptop. In 16.04.1 I had no issues with Audacity, but this time I was experiencing a lot of popping in the recording. The Ubuntu repositories came with Audacity 2.2.1. I was able to fix this issue by installing 2.2.2 from the community repository:
sudo add-apt-repository ppa:ubuntuhandbook1/audacity
sudo apt-get update
sudo apt-get purge audacity
sudo apt-get autoremove
rm -r ~/.audacity-data
sudo apt-get install audacityNow all is well.