Could be a punctured hose somewhere. Last time I heard a whistling sound it came from one of the hoses connected to my brake booster. Change the punctured hose and it's all good. I'm driving a E36 btw.
You'll need to listen closely to see which area in your engine bay the whistling sound is coming from first before a proper diagnose can be done.