Help with engine noise???

Did you lift the hood while the engine was running to tell if the noise was inside the engine?

Or could it possibly be an exhaust gasket leak at the head?