> But with good recordings and mastering
That's the issue here. The loudness war made any CD mastering a race to make the most compressed track, just to sound louder than the competition.
Technically, digital should sound better. The technology is better. Sound engineers are making sure this is not the case.