M50x is a very bright, sibilant headphone with treble that’s more grainy than a Kansas wheat field. The pads also are uncomfortable as hell.
Sorry to piss in your punch bowl, but that’s the sound signature of those cans, which I think are among the most overrated in the marketplace.
Don’t bother with EQ or other tricks. That’s a Band-Aid on an ax wound. Return or sell the M50x. You can do so much better for the money.
Start with the AKG K361 or K371. I bet you’ll like those a lot better, for a similar or lower price. Don’t bother with the M40x. They’re not as bassy as the M50x but just as sibilant and grainy in the treble.
I owned both the M40x and M50x after coming from consumer-oriented headphones – a journey just like yours. I soon learned the vaunted Audio-Technica Mx series weren’t nearly as good as touted. Live and learn!
Good luck, man.