I am also affected by sound crackling and sometime distortion since i swapped motherboard for an ASUS X470 prime pro. It is present permanently on microphone but sometimes affects other sources and applications. The workaround above in the comments did not fix it for me.
4.15.0-29-generic Description: Ubuntu 18.04.1 LTS -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1716654 Title: [System Product Name, Realtek ALC1220, Pink Mic, Rear] Underruns, dropouts or crackling sound To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1716654/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs