High-pitched noise with LG dishwasher

My LG Dishwasher (Model: LDF7774ST) had a high-pitched noise during the wash cycle (please see the video link below):

I searched the internet and suspected it was either the circulation pump or the inlet water valve. The circulation pump is a bit expensive so I don’t want to replace if it wasn’t the problem. Any advice or troubleshooting technique is greatly appreciated.

Thank you for your post. Based on the noise being produced, it sounds like it is an electrical frequency being created by the control. If the noise is most prevalent towards the top of the door, the main control would need to be replaced. LG EBR79686304 Main Pcb Power Control Board Assembly (AP5977822) - AppliancePartsPros.com