A "cheat" that's worked well for me...
Take a fat pen (say, 5/8" thick) or a dowel rod the same size.
Wind one end of the speaker leads (both wires) around the core six times. This is easiest if you are actually running new speaker leads, of course - and works best if you can do it right before the speaker.
Use tape or silicone to "fix" the coil in place, and remove the core.
Repeat for other speakers.
It also helps to leave a few free inches not in the coil - you may need to add or subtract a turn or two. I started doing this when guys would want cheap radios to not have alternator hum.
What happens, in effect, is that you form a "choke" in the line, which uses the "steadily-oscillating" magnetic field caused by the power hum to cancel itself out. The choke will allow the AF sounds (the part you want to hear) to go through unaltered. (I'm guessing - I've forgotten exactly why it works, but it works.)
If/when you have to run new speaker leads, take the time to make sure where the main front-to-back harness runs - it's usually on the driver's side of the vehicle. Put your power leads there, and run your speaker leads down the other side (which is usually empty under the doorsills.)
A small capacitor can also work - there's a formula for it, but I don't remember what it is.
There are several easy ways to get rid of noises like this, but I've found it most effective to eliminate it as close to the speakers as possible. A good amplifier kit will have a shielded set of RCA cables, and there should be a chassis ground screw by the RCA jacks on both the head unit and the amp - so anything picked up by the shield will be "drained" to earth.
An alternative solution would be to "choke" the power leads as described above (right before the device) - and I seem to want to recall using a 1" core for those coils (but I could be mistaken.)
There are also "noise filters" which are little more than condensers which go on the back of the alternator (this noise is usually "ripple" that makes it past the diode trios in the back of the alternator,) but they tend to be for lower-output alternators, and may not tolerate anything over, say, 80A output well...
5-90