I don’t understand how a extension cord is different than running romax off of a junction box.
The only thing that seemed to help was running an extension cord to the same outlet everything else was plugged into.
hum is as simple as this: Any time you have different paths to ground you risk getting hum.Got it?
Your extension cord eliminated the hum because then everything had just the one path to ground.
This one simple rule comes in real handy. Like you would never run multiple dedicated lines you would run one. What you have done is, in a sense, build a system with multiple dedicated lines. Only they aren't dedicated. Just different.