maybe you have a ground loop, which causes a buzzing/humming sound...
what kind of Mac do you have? is the Mac running off the mains, or battery?
what about the keyboard? is it bus-powered or are you using the power adapter?
are the 2 Box, keyboard, and computer plugged into the same mains power socket, or different ones?