Hi, well, I can give you an extremely hot tip, just this once!
In my case, the exact humming sound was produced by the EGR control valve, which is conveniently located on the injection nozzle housing, next to the coolant reservoir.
This valve is a 3/2-way solenoid valve that controls the vacuum air supply to the AGR membrane sensor.
If it's defective, the internal component (the control valve) starts to vibrate, rapidly switching the vacuum air on and off to the diaphragm chamber (creating a harmonica or reed pipe effect?). This only happens when the engine control unit, according to the EGR map, closes the EGR system under higher engine load. (see technical article on exhaust gas recirculation!).
A solution is to carefully seal the vacuum hose connecting the engine to the control valve. The best way to do this is to glue a plastic part (a dowel or something similar) inside the hose using a two-component adhesive. Then, discreetly drill a hole in the hose leading to the diaphragm chamber, ensuring that no vacuum can build up.
If you want to keep the AGR (Abgasrückführung system) to operate the vehicle on public roads, the above tip is only a temporary solution, and you will need to obtain a new valve.
Regards,
Holger.
EDIT: Oops, your car doesn't really have much in common with mine. Maybe it's something else entirely. In any case, I would still follow that tip. Locate the mentioned valve and first disconnect and seal the hose (coming from the engine side), then take a test drive.