There are many reasons why there is a hum noise. I'm going to guess it is due to distortion from outside sources. Both a PC and a Inverter generate electric disturbances around them and that is what distorts the sound. I'm sure you've had a cell phone next to a speaker and it made sounds before. It is the same concept. Try having the speaker wires further from your setup, see if that helps.