Some weeks ago I bought a new computer in pieces. I noticed that the computer had 7.1 surround sound, and I though that was cool. But after I plugged in my audio interface, it wasnt so cool anymore. My speakers are connected through a subwoofer to the audio interface, and the speakers were making a static noise that had never been there before. The noise were going louder when I was playing games that are heavy for my computer. I tried to plug the audio interface through different USB ports, but that didnt seem to help. I also reinstalled the lastest drivers for both the audio interface and the motherboard, but that didnt work either. Its now 4 weeks since this happened, and nobody could answar me. So Im posting this here to hopefully get and answar, because i got speakers for nearly 1000 dollars, and its pretty boring that i can't use them. You will be my hero if you can help me! 
One more thing, the audio interface and speakers works just fine with other computers, both laptop and desktop, Mac and PC.
Specefications:
Audio Interface: Focusrite Scarlett 2i2
Motherboard: Gigabyte Z170-Gaming K3
CPU: Intel Core i7-6700k
OS: Windows 10 Home x64
GPU: Gainward Geforce GTX 970 4GB
Type of computer: Desktop
Audio driver: Realtek HD Audio
Front Speakers: KRK Rokit 6 G3
Subwoofer: KRK 10s
Cables: XLR

One more thing, the audio interface and speakers works just fine with other computers, both laptop and desktop, Mac and PC.
Specefications:
Audio Interface: Focusrite Scarlett 2i2
Motherboard: Gigabyte Z170-Gaming K3
CPU: Intel Core i7-6700k
OS: Windows 10 Home x64
GPU: Gainward Geforce GTX 970 4GB
Type of computer: Desktop
Audio driver: Realtek HD Audio
Front Speakers: KRK Rokit 6 G3
Subwoofer: KRK 10s
Cables: XLR