Close Button
PAO Productions - CD Pre-Emphasis and HDCD: A Primer
CD Pre-Emphasis and HDCD: A Primer
If you're like me and have been collecting and appreciating music for a long time, you've probably amassed a sizable collection of albums and singles housed on physical media. And, having said trove of physical media, you're probably interested in making the contents more easily accessible in instances when you're on the go, in your car, or otherwise separated from your discs and physical disc players. Maybe, like me, you've even gone to the trouble of creating hard disk backups or a media server to instantly access your collection when not on the go. Or maybe you've just set up a thumb drive or copied select songs pulled from those physical discs to your cell phone. Whatever actions you've taken, it's practically a given that you've ripped songs from a compact disc at some point, and you naturally expected the rips to sound just as good as the original CDs. But if you have a lot of older discs, particularly ones from the early to mid-1980s, you may have noticed that sometimes those ripped tracks sound "off," like they're unnaturally bright or thin (or even shrill) to the ear. You probably chalked this up to quality control issues - lower quality copies or LP-equalized tapes being used for CD mastering, or maybe to more primitive equipment just being the rule for the era. But the fundamental technology for making compact discs hasn't changed since their introduction, and refinements over the years probably won't account for the disparities between what you're hearing from those ripped audio files and how things "should" sound. The actual issue may stem from a mostly abandoned practice from the early days of CD mastering known as pre-emphasis.

In essence, pre-emphasis was an artifical boosting of certain frequency ranges during the mastering process. A "flag" indicating the application of pre-emphasis ("PE" from this point) was added to the disc's table of contents (TOC) and/or to each affected track on the disc via the subcode. During playback, the disc player would then apply a real-time inverse equalization designed to cancel out the PE. The rationale for this was the need to reduce high frequency artifacts characteristic of early digital-to-analog converters in consumer equipment. The intentions underpinning the application of PE can be better understood by a comparison to the old Dolby noise reduction system used on commercial cassettes tapes through the 1990s. Dolby noise reduction essentially worked by artificially boosting higher frequencies in the original signal during recording. The playback machine would then reduce these boosted frequencies back down to their proper levels, which had the effect of restoring the intended sound of the recording while simultaneously reducing the tape hiss (this explanation is greatly oversimplified, but a full deep dive into the specifics is outside the scope of this primer). The idea behind PE was to apply similar theory to the new compact disc format to alleviate a similar type of problem.

Compact disc demonstration CD
An early demonstration CD which includes some pre-emphasized tracks

Unfortunately, this is where things get a bit dicey when it comes to ripping CDs. While initially more primitive, digital-to-analog converters quickly improved. The need to apply PE to commercial discs became less urgent, and, eventually, entirely superfluous. By the end of the 1980s, pre-emphasized discs were rare; although there are some notable examples of late-era new releases and instances of discs replicated directly from earlier, pre-emphasized runs, the practice has been essentially dead for decades. Applied correctly, the de-emphasizing process is completely transparent to the listener, being handled in the background by the player, and the compact disc format specifications (aka the "Red Book" standard) dictated by Philips and Sony in 1980 ensured that physical CD players would continue to correctly handle affected discs long after the practice of adding PE had ended. But fast forward to the late 1990s/early 2000s when PC optical drives are able to rip songs from these discs, and a major problem arises. The resultant rips sound unnaturally thin and bright when played back. Re-burn those ripped tracks to another CD, and that disc sounds thin and bright, too. But play the original CD in an actual player, and things sound... fine. What's happening here? The explanation is simple: the ripped audio files are being played back exactly as they were recorded onto the original CD - that is to say, with the frequency boost - but the de-emphasis equalization is not being applied during playback. The TOC and/or subcode flags present on the original disc aren't being copied over, aren't being included in the ripped files, and what you're hearing is the actual sound of the audio on the original CD as played back directly, without any PE compensation. And how you correct for this is a problem that's been discussed in audiophile circles for years.

Unfortunately, there's no definitive listing of compact discs whose mastering employed pre-emphasis. Attempts have been made to compile one, but a full accounting of affected discs has yet to appear. These efforts are complicated by the fact that, in many cases, affected albums are only affected on very specific masterings, with other masterings sounding just fine without needing de-emphasis (Tom Petty and the Heartbreakers' Southern Accents is one such example - my personal copy lacks PE, but there are others out there that have it). Even worse, there were instances of discs having their PE flags set incorrectly, either omitting them altogether when PE was actually present, or adding them when it was not, and this can even vary between tracks on the same disc (the bargain-basement Creative Sounds issues of early Black Sabbath albums are infamous for having incorrectly set PE flags). The best means of identifying discs with PE are the use of certain vintage CD players, or simply going by ear if you know how an album "should" sound. The issue with using the ear method is that playback will sound perfectly normal on a physical CD player. It's the ripped audio files that will need to be evaluated. Some audiophile CD players from the 1980s identified emphasized tracks by a special light or other indicator on the display. This is the case for my vintage Denon DCD-810 unit, which displays a notification when PE is detected.

Denon DCD-810 with pre-emphasis indicator
My Denon DCD-810, with its pre-emphasis indicator active during disc playback

So how do we deal with this? There are several different solutions to the problem, all of which have their drawbacks. Developers of CD ripping software are generally aware of the phenomenon of pre-emphasis, but very few have ever chosen to implement measures to deal with it due to the relative scarcity of affected discs. One program that's known to be able to handle PE is iTunes, and if you are using that to rip your CDs, then you may be in the best possible place. However, audiophile internet forums are divided on just how accurately iTunes restores the intended sound on ripped tracks, with many claiming that it only does a passable job or that it doesn't always correctly identify the PE flags depending on how and where they're set. Old versions of a program called Exact Audio Copy are known to have de-emphasis capability built in, but this capability was removed many years ago and older builds of the program have to be sourced online. Even more discouraging for most users is the fact that EAC is a command-line program, making it largely incomprehensible to the non-technical, and more discouraging still is the fact that it's Windows-only, effectively excluding Mac and Linux users unless they have access to a Windows installation or run virtualization software. SoX is another command-line Windows program capable of de-emphasizing the audio in ripped files, and it may be a viable solution depending on one's level of computer literacy (TNT-Audio has a human-friendly how-to here). What I suspect will be the easiest method for most people, and the one I personally use, is to load ripped WAV files into an audio editor and manually apply a de-emphasis equalization curve. Over the years, multiple people in audiophile circles have constructed such curves based on Red Book specifications, and they can be loaded into Audacity and applied to "fix" PE-affected audio. One that I have used in the past I'm making available for download here, though I can't remember where I originally obtained it. Alternatives are here and here, and an arguably more accurate method of audio restoration using Audacity's "Filter curve" plugin (rather than simple EQ) can be found at this link.

Audacity with de-emphasis equalization curve
A de-emphasis EQ curve loaded into Audacity

Pre-emphasized audio has been a bigger problem than many people realize. Most just assume that the audio deficiencies in ripped audio files are due to inferior technology having been used on early CD releases (which can actually be a problem, albeit a different one). I've even heard of instances of major label artists' songs appearing on streaming and download platforms in an emphasized state, betraying the early compact disc origins of said material (inexcusable ignorance on the part of the labels!)

HDCD-encoded discs

HDCD (High Definition Compatible Digital) was a comparatively short-lived system designed to encode additional data in the audio stream of a compact disc. When played back on compatible equipment, this can result in an expanded dynamic range and arguably higher quality sound. Like pre-emphasis, the HDCD process was intended to improve the fidelity and sound quality of the discs to which it was applied. Unlike pre-emphasis, HDCD-encoded discs are much more common, and decoding them is much more straightforward. Some set-top optical media players do this automatically. Several computer audio players such as Windows Media Player can also decode automatically upon playback, and there are plugins available for some audio editors and librairies including foobar2000 and FFmpeg that can convert HDCD-encoded audio tracks to padded 20 or 24-bit WAV files. I handle the conversion manually using a Windows command-line utility called hdcd.exe. Unfortunately, this requires a Windows machine (and trust in the safety of the downloaded software), but I maintain a Windows installation for my photo editing work. Renowned audio suite dBpoweramp has a graphical front end for hdcd.exe, but I no longer recommend it due to its developers having moved to a subscription model. I don't do subscriptions.
Examples of HDCD-encoded CDs
Examples of HDCD-encoded discs

Determining just how much of a difference HDCD actually makes is complicated. In some instances, the improvement is immediately obvious. In others, the improvement is there but less immediately obvious. And in many cases, it doesn't seem to make any clear difference at all. Windows Media Player is said to reduce the playback volume of non HDCD-encoded discs when the feature is turned on in order to emphasize the supposed benefits. And frustratingly, a large number of discs boasting HDCD-enhanced audio fly completely under the radar because use of the feature is not indicated anywhere on the disc or its packaging. Many CDs that actually stand to benefit from the special encoding don't advertise its presence in the audio stream, one example being the 1997 Columbia/Legacy remaster of the Dave Brubeck Quartet's Time Out (even after decoding, though, it's still not the best sounding version of the album).

As you can see, extracting the best possible audio quality from a compact disc isn't always as straightforward as it may seem. This page aims to provide a easily understandable explanation of some of the unseen factors at play, and to provide additional context for some of the audio comparisons I've undertaken for this website. Happy listening!