I assume the MacBook charger is a SMPS which are known to be very noisy.Unplug the charger, use the internal battery of the MacBook Pro play some music and see if you can hear a different.
Maybe a LPS?
https://www.computeraudiophile.com/forums/topic/17840-linear-power-supply-for-a-macbookpro/