Is your wall-wart linear (regulated?) or switched-mode? First thing: check that the hum is not due to your device requiring more current than the wall-wart can deliver - causing a periodic voltage drop. Best, Olivier