HDCD rescue - it's possible, but man...


I spent the better part of today sick, but working on finding a way to decode music I might have that is HDCD encoded.

As a refresher, HDCD was an enhanced CD format. In some ways the predecessor to MQA. HDCD was an engineer's toolbox, allowing the mastering engineer to select a number of features. This would then be decoded by a matching chip on a CD player or DAC. The most famous feature of HDCD was bit-compression. Getting a 24 bit signal encoded in a 16 bit music file.

As an aside, the Pacifics Microsonics AD converters were highly prized by engineers for their sound quality. Anyway, the format got bought by Microsoft and died.

Of the 670 CD's I have ripped only about 11 were HDCD encoded. But man, what a pain. I ripped everything to FLAC, but the HDCD decoder only does WAV. I had to download source, compile it, then write a script to go through every CD and decide if it's HDCD or not. Once found, I have to convert from FLAC (44/16) to WAV, decode the WAV file (now 24 bits) and convert back to FLAC to compress again.

The discovery process was pretty fast.  About 10 minutes to go through them all by cheating. :) More time was spent figuring out how to pass apostrophe's in file names than finding the files.  Nathalie Merchant was one author who consistently used HDCD by the way.
erik_squires

Showing 4 responses by djohnson54

Erik, it's my understanding that the HDCD process squeezes 20 bits into a 16 bit WAV file for CDs.  I use dbPoweramp and it has an HDCD decoder built in.  It's (somewhat incorrectly) listed under the DSP effects section.  I've used it on my HDCD-encoded CDs and it seems to work well (the DAC identifies them as 24/44 files and they sound fine.  There's a check box in the decoder to apply "+6dB Amplification (align 20 bit result in upper 24 bit range)" and if you don't use that the volume comes out way too low (6 dB!).
Dick
@erik_squires Haha.  I should have guessed that when you mentioned downloading source and compiling.  I love Linux for server-side stuff but I'm past the point in my life where I want to figure out stuff like you just did because I don't have access to mainstream programs.  Don't get me wrong, I would love to tell M$ where to go (Comcast too!) but it's all about the applications for me at this point.  There was a time though ...
@bondmanp You're welcome.  It took me a while to discover it too so I have several that also need to be re-ripped.  Actually, I'm surprised at how many I actually have.  Use George's suggestion above to Google a list and compare to your library!
Oppo 103 also has HDCD playback! Who knew??
That's interesting.  It used to be quite expensive to license the HDCD encoder from Pacific Microsonics.  If that's still the case, it's even more impressive that it shows up in a relatively inexpensive piece of equipment.