mysterious gadget That makes whinnying sound. help identifying circuit board plz
Often, components in power supplies will vibrate causing an audible hum. Sometimes, this is avoided by covering them with a thick epoxy or other potting compound.

If it is a power supply, great care should be taken when opening it.