Any child of the 70s or 80s will remember the joy of recording the Radio 1 Top 40 rundown to audio cassette. That the results were invariably fuzzy didn't matter that much - having all those glorious singles to listen to at your leisure was enough.

These days we demand rather better musical fidelity. The CD introduced us to crisper, cleaner audio - but even this wasn't enough for some people. The music industry began work on SuperAudio CD (SA-CD), but few were produced by the time a spunky new contender changed everything.

The MP3 seemed to come from nowhere. Its proponents had no truck with finesse and artistic craftsmanship; it was all about getting the music out there, sharing the tunes and not paying a penny for them. But the trade-off was a reduction in audio quality.

Now that we're paying for our copy-protected digital downloads, however, we expect their quality to match - or nearly match - the CD albums that music-download sites have largely replaced.

With iPod docks and MP3-based stereos replacing hi-fis, we're far more likely to hear our digital tunes through decent speakers - which makes it harder to ignore the shortcomings of compressed files. And most of us have lots more storage these days, which means compressing them is less of a priority.

MP3 is a lossy format; it discards the top and bottom notes to keep music files small. Lossy codecs such as MP3 and AAC have bitrates that max out at 256kbps (kilobits per second), so you can cram hundreds of songs on a portable player, regardless of audio fidelity.

But there are also lossless audio formats. If you start with a CD-quality source, you can enjoy a complete album at top quality by recording to one of these rather than MP3.

The best-known lossless formats are Ogg Vorbis and Flac. Both deliver bit-by-bit accurate copies of your music. They're also free to use. So there's no excuse for defaulting to MP3, when you could easily have faithful digital copies of your CDs.

Follow our step-by-step guide to creating lossless digital audio files.

Rip CD-quality audio with dBpoweramp

Step 1: You'll need to install a suitable ripping tool. We're using dBpoweramp. It supports a wide range of audio file types, including Flac. It's free to use for 21 days, after which you must register and pay $39 (about £26). Click the Codec Central tab for a full list of supported codecs.

Rip lossless audio: Step 1

Step 2: Next you need to configure dBpoweramp. Opt to install any or all the additional apps on offer, then click the Codecs tab to access a choice of codecs that will read and write audio tracks. Press the Install button next to Flac to download the software. Double-click the resulting .exe file to launch the installation.

Rip lossless audio: Step 2