Your overall listening experience when dealing with digital music is a combination of three main variables:
- [Source] - Audio format, sampling frequency, and bitrate used in the original digital audio recordings.
- [Processing] - Quality of D/A converters in any dedicated hardware in your sound system (soundcard, MP3 player, etc.)
- [Output] - Quality of your speakers, or headphones etc.
The same is true in reverse, if you have a low quality recording (i.e. - a lossy format such as MP3 at a low frequency and bitrate), and use hi-spec hardware and speakers then the audio will sound very grainy indeed.
The rule to remember when dealing with digital audio that is to be played through different devices, is to identify the weakest link in your system, and improve on it. For example, if you have analog speakers that are picking up interference from various electrical items in your house, then consider investing in some quality shielded cables to eliminate this weak spot. If you want to upgrade your speakers then you could always go for a set of digital speakers that are immune from electrical interference.
Whatever setup you've got, the biggest impact is the quality of your digital audio files - always get the highest quality you can and use the best hardware you can afford.

