Electrical noise problem with adaptor

noise

I don't know why, but everytime i or someone on the room next door switch off lamp, there is a loud pop coming from the speaker.

1) is that behaviour are caused by my amplifier (diy)(the line in cable doesn't have shielding,just 3 wire)

2) improper build of electrical installation in the building itself

3) my adaptor is bad? (i think it's just have big cap, resistor and 4 diode and a transfomers,the case is quite transparant though)

And how can i resolve this thing? Because it's quite annoying
the noise is present whether connecting to laptop/phone or not

Best Answer

Could be a defective light switch that is arcing internally, causing a whole heap of noise being introduced to the local circuit.

Otherwise, I would investigate some of the suggestions and answers referenced here. https://diy.stackexchange.com/questions/28049/whats-causing-the-popping-noise-from-my-speakers