Speakers make high pitched sound with keyboard plugged in

oNope

Estimable
Aug 6, 2014
1
0
4,510
I'm getting a high pitched sound from my speakers that increases as I turn up the volume and turns off when the speakers are not turned on. The speakers I have are Durabrand UC-280 speakers, and I've somewhat been able to figure out the problem. I noticed after plugging them into a different computer that they did not produce the high pitched sound on that machine. So after unplugging things one at a time from my computer with the speakers turned on, I found that the noise stops when my keyboard is not plugged in. I have the Corsair Vengeance K70. Any ideas on why this happens and/or how to fix it?