Same Problem here, i have an expensive audio interface connected and always my imac is crackling around when im playing some music from daw or even itunes!
macbooks and ios is working propertly,
@apple please FIX THIS: CATALINA: 10.15.6 (19G73)
iMac (27-inch, Late 2012), 3,2 GHz Quad-Core Intel Core i5