Actually, depends on the digital media. Most of it sounds like unwashed donkey ass...
MP3 accounts for 90% (or more) of downloaded content, particularly pirated material. It's overly compressed and lossy. Most people use (and offer for download) as low a bit rate as possible to fit more music on a given amount of disk space. 64kbps is the most common - and is what is also used in satellite radio, which sounds so bad it hurts my ears. A few people sacrifice disk space and "upgrade" to 128kbps and 256kbs, but even those formats lack definition, low frequency info while sounding compressed and "swishy." Especially when compared to a Compact Disc or clean vinyl recording.
There
are so - called "lossless" compression formats such as ALAC and FLAC which sound a lot closer to compact disc. (assuming that's what the music was sourced from.) And there are specialized high end media players with tons of storage and hi-fi quality pre-amps that are pressing very close to what we expect from CD. Actually if you find an old apple 160 gb ipod classic and use something like the onkyo hifi dock, bypassing the headphone preamps, they sound very good when loaded with apple lossless (ALAC) content.
The audio outputs and headphone pre-amps on most computers and MP3 players are also the shittiest Chinese garbage you can find, which helps make them sound terrible. Matter of fact I'm convinced that the hipster rush back to the "warm" tones of old vinyl records has more to do with shitty MP3 and WMA files than it does compact discs. CDs when actually mastered for the digital realm, and assuming the source recording was of decent quality can sound many times better than vinyl, which had it's dynamic range hobbled by the physical requirement of not having the needle literally jump out of the groove.
I have an iPod classic loaded with lossless files and a couple docks for casual tunes in the garage and vehicle. But when I want to
listen to music, to me nothing beats CDs played through a real CD player and a good set of loudspeakers.