iMac Pro Audio Issues
I too have had issues (weird popping/cracking on audio - especially YouTube videos, and other audio, iTunes, etc.) since the purchase of my iMac Pro in May of 2018. This must be fixed by Apple!
Two things that I have heard, and not sure if they are effective or not, are as follows:
1.) Turn off "Set Date and Time Automatically" update (preferences/Date & Time)
2.) Turn off "Set Timezone Automatically Using Current Location" update (preferences/Date & Time)
I just set the 2nd one today. These may have some benefit, but apparently not a complete fix and in a short time (hours) the issues re-surface.
Also, I will re-direct audio output to the Homepod I have and that seems also to fix things, at least temporarily.
My issue seems to somewhat resolve when I do a reboot. But this fix is short-lived (usually only hours). Within hours I have the glitchy audio back. Apple today, when I spoke with a support rep, indicated they didn't have anything in their database about this - how can this be? This has been reported now for over a year.
I spent an ungodly amount of money on this computer. Crazy me, I expect audio to work right.
I have 128 GB Ram, and 18 core processor.