Hard to say what is the issue. Many systems back in 2012 had OK audio, not great and nothing like most systems today. Between better materials using in the speaker construction as well as the better Digital to Analog conversion and the subsequent amplification.
In this generation of systems a common issue was the speaker membrane tend to breakdown when pushed to hard and the Amp's range would break down at the higher volumes. Replacing the speakers is about al, you can do.
There is just not much you can do natively within the Analog space. I'm not sure if the Retina version of the 2012 systems offered digital audio or not, my 2015 15" sadly doesn't.
For the sake of argument connecting to a better Amp via optical connection would be the way to go and using better speakers like Bose which is something I had toyed with with my 2012 Unibody system which had a digital out and in was quite good to my ear. Even still I wasn't raising the volume that high as I really didn't want my windows to get blown out or become deaf at that level.
As far as the headphone quality of the sound a have a nice Sony set which I find quite good both with my older 2012 Unibody as well as my current 2015 15" Retina system. So I can't explain your issue from that perspective.
I enjoy good music and I do think I have a good ear, but like most things what I find good maybe different than you.
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
1