Intermittent charge on Macbook Pro
If the adapter is making a noise when it is plugged into the wall but not connected to the machine then the adapter is probably faulty.

For fault finding you'd normally have two machines and two adapters and you'd try various combinations to rule out which items are working or not.