On the sound field generated by a fan in a hard-walled baffled duct with uniform flow