Showing posts with label dff/sacd. Show all posts
Showing posts with label dff/sacd. Show all posts

Tuesday, February 11, 2014

Playing and Ripping SACDs with your PC

Note: I started writing this post back in August of 2012. I just never got around to publishing it at the time. I start by providing a little background information and end with what I think is the latest and best method. However, I haven't checked for newer versions or methods for well over a year, so there might be better methods out there. Please leave a comment if you know if there's a better method.

I've wanted to rip and play SACDs with my computer for a long time. Since I didn't own a dedicated SACD or even universal CD/DVD/SACD player, I hadn't been able to play a SACD disc until recently. As far as I know, the sound quality from a SACD is very similar to DVD-Audio, but there seems to be a lot more content available on SACD, so the ability to play the tracks from a SACD disc became one of my goals. Since I store my music on my media server and stream it via several PCs attached to my home network, I prefer to rip all my content off the discs. I don't want to purchase another piece of hardware and add to the chain of equipment to play another format. Maybe this is another sign that I'm getting old. When I was a teen, I thought having a rack of hardware with lots of flashing LEDs was pretty cool, not so much now. Besides, I think more components added to a very good audio system can compromise the overall sound quality.

A few years ago (I don't know the exact time frame or dates) some very technically savvy people started working on ripping SACDs. Unlike ripping normal DVDs and CDs, this seemed impossible. You couldn't purchase a SACD drive for your PC and even though it turns out a SACD drive is really a DVD drive with different firmware that allows it to read the DSD data format, you couldn't just replace the DVD's firmware to make it work with SACDs. The best you could do was record the analog audio output from a SACD player into your computer using a soundcard with analog inputs. With a high quality professional soundcard or audio interface, you could get pretty good results. So someone with a multichannel device with decent ADCs (analog-to-digital converter) could connect the analog inputs of their multichannel interface to the analog outputs of their SACD player. The resulting 24-bit/96KHz or higher resolution tracks sounded pretty good. In my opinion, these were a step above a meticulously ripped vinyl recording. However, they still needed an analog-to-digital conversion step. And depending on your SACD player, they might already have gone through another conversion step from DSD to PCM. If they used a mediocre SACD player, the results were not so great, so you also needed a pretty high end player.

Maybe I should back up a bit and try to explain the difference between DSD and PCM. Forget it... that's not important here. If you want to know more about this, just read the Wikipedia article. This article also includes links to Sony technical documents and other FAQs.

Even though the analog rips of the SACD were pretty good, these technically savvy folks continued working on ways to digitally rip their SACDs. Their goal was to generate a track without going through the analog-to-digital step. Sometime around the middle to end of 2009, a person with the pseudonym "HiResOrNothing" explained how they developed their new "standard" for SACD ripping:

"We can now capture a pure 24-bit PCM digital signal which is converted directly from the pure DSD stream from the disc - and this is achieved by using a special "modified" SACD player. These modified players have been around ever since the SACD format has, but they have always been extremely expensive (like, try a $2000 Denon player which you have to order from Switzerland). But things have progressed and a few companies are offering a modified version of the famous Oppo DV-980H player, which is well known for its affordability yet uncompromised quality - especially with regards to digital SACD output!"
"I have purchased such a player. The Oppo offers pure DSD output over HDMI 1.2 and  it also gives the option for PCM output. The Oppo internally converts the DSD to PCM at 24-bit/88.2kHz and the "mod" captures this PCM signal and outputs it through three stereo S/PDIF (coaxial) jacks. To capture this glorious digital signal, I am using three M-Audio Delta 1010LT sound cards simultaneously. They each have a single stereo coaxial input, so in order to record all six channels simultaneously, three cards must be used. I'm using Adobe Audition 1.5 in multitrack mode to simultaneously record the 6 channels in real time, then I map the channels with Audition's "multichannel encoder", and export the individual mono wav channels. After that I split the album into the tracks and encode it to MLP with surcode, and author it to DVD-A with Discwelder Chrome. No editing of the audio signal is made in Adobe Audition, this is a straight digital capture of the signal and as close as you can get to copying a SACD disc-to-disc at the present time."
So if you come across a SACD rip and find it offered as 24-bit/96KHz tracks, there's a good chance it's an analog rip. If you find 24-bit/88.2KHz tracks, it's probably a digital rip. Maybe some of the commercial high resolution download sites, like HDTracks, are using a similar digital rip technique for some of their 24-bit/88.2KHz offerings. I think I've seen some 88.2KHz tracks there.

The next goal was to figure out a way to rip and play back the DSD format files. This would be the ideal method for listening to your SACD generated files on your computer or home network. However, to get the full benefits, you'd need a DSD capable DAC and a software player that can handle the DSD format. Most DACs (and as mentioned earlier in this post, many universal/SACD players), mine included, that say they are DSD capable actually convert the DSD to PCM internally before outputting the analog signal. Some, like the ESS Sabre32 DACs, I believe can convert to analog without the intermediate PCM step. When you listen to one of these DACs, you're listening to the DSD format. I personally don't have very much experience with this because I don't have a ESS Sabre32 DAC, so I don't know how different the pure DSD sounds compared to the sound of PCM after converted from DSD. Here's a post with an opinion on this subject. Fortunately, my favorite software player, J.River Media Center, can handle the DSD format, so I'm all set there.

Moving forward, early 2012, someone finally figured out how to rip and save the DSD formated file from a SACD and published "Ted's SACD Ripping (and PCM Conversion - optional) Primer - Version 2.0.4." I think the latest version of this primer is 2.3.2, but I can't find it anywhere. Maybe ask Ted, whoever he is. This method describes basically a two step process. First, you use a Sony PS3 to save a disc copy of the SACD to an ISO file. Second, after copying the ISO file to your computer, you use a program to extract the DSD from the ISO and save each track as DSF files.

The first part only works with a Sony PS3 that can play SACD discs. Before you can do anything, the firmware has to be hacked to support ripping. This will only work if the PS3 player has the firmware 3.55 or older. Apparently, there are only 4 PS3 models with this capability. If you can find one of these (good luck), then you have to hack the player. Hacking the firmware involves installing a revised version of the firmware. Once the new revised firmware is running, you can install the SACD ripping software. Once you have a hacked PS3 with the SACD ripping software installed, you can start ripping your SACD collection. Older versions of the ripping program could extract individual files or an ISO disc image. Because of slow ripping speeds and to avoid wear and tear on the PS3's optical drive, they recommend extracting the full ISO image and thus newer versions of the ripping software only supports ISO extraction. To rip a SACD disc, you use your game controller to navigate to the games section of your PS3 menu, then pick "Unknown" and then "SACD-ripper". Next, you insert your SACD into the PS3's optical drive and a USB thumb drive, with enough storage space, into one of the USB ports. After picking "OK" ("X" button), it will start ripping and eventually store the ISO file on your thumb drive. Personally, I've never done this, because I don't own a PS3 player. However, I was lucky to find a friend who owned one and was willing to run the hack. Now I buy the SACD discs and send them to him and he creates the ISO files for me. For ISO files smaller than 2 GB, he can transfer them over the Internet using a service called We Transfer. If it's larger, which it usually is, he'll burn it to a DVD-R disc and send it in the mail. I wish I could find a compatible PS3 player, but they are almost impossible to find. Maybe more will show up on eBay now that the PS4 is shipping.

The second part involves running another SACD extraction program on your PC. First, you have to install 'sacd_extract.exe' on your computer. Here are the steps I follow to extract the DSF files for each track:

  1. Copy the ISO from my thumb drive (or DVD-R) to the same folder where sacd_extract.exe is located on my PC, which I'll call the rip folder.
  2.  navigate to the rip folder and SHIFT-right click on the folder and select "open command window here."
  3. at the command prompt, type "sacd_extract" (without the quotes), followed by the arguments you want to apply to the output files. 
The command format is: sacd_extract [options] [sourcefile]. I always generate DSF files and depending on the SACD, I can generate stereo and/or multichannel surround files, if they exist. For example, I have Bob Dylan's 'Blood on the Tracks' SACD, which has both stereo and multichannel surround tracks. Assume the ISO from the PS3 rip is 'BloodontheTracks.iso'. To extract the stereo tracks, I typed:

sacd_extract -2 -s -c -i"BloodontheTracks.iso"

if I want the multichannel surround tracks, I type:

sacd_extract -m -s -c -i"BloodontheTracks.iso"

These will create a new folder named 'Bob Dylan - Blood On The Tracks' with each individual track in the format 'tracknumber - trackname.dsf' (for the first track, this would be "01 - Tangled Up in Blue.dsf"). It will create exactly the same names for both the stereo and multichannel, so if I want both, I will rename the folder to something else to avoid overwriting the stereo with the multichannel tracks. Then I move the folders to my networked server and add it to my music library using JRMC v19 (J.River Media Center). I chose DSF files because they can be tagged with metadata. So when I add them to my library, I make sure all the tags are correct.


That's it!! Now I can enjoy listening to my SACDs using my computers and my media server. Again, I don't have a DSD capable DAC, so even though JRMC19 can handle the DSF file format, it automatically converts to PCM before it is sent to my DAC. So I'm still not listening to the pure DSD format, but it still sounds really good. And when or if I ever get a DSD capable DAC, I have these in the correct format and I'll be able to listen to them without the PCM conversion.

Friday, January 22, 2010

Wheatus - Pop, Songs & Death, Vol. 1: The Lightning EP

I hope this is becoming a trend. Wheatus, an alternative rock band founded by singer/songwriter Brendan B. Brown, is letting listeners download their next EP for whatever price they are willing to pay. This is similar to what Radiohead did back in the Fall of 2007.

The cool thing about this offer is not only are they letting people choose their own price, but they are also offering the new album in a variety of formats including MP3, lossless WMA, Apple lossless, FLAC and DSD. The WMA lossless is CD quality 16-bit/44.1kHz. The FLAC is basically DVD-A quality at 24-bit/88.2kHz and the DSD (or direct stream digital) is SACD quality.

The interesting thing about the DSF files using DSD encoding, is that they can be burned to a DVD disc and played back on a Sony PS3. Someone please correct me if I am wrong, but I believe the DSF files are the stereo tracks and the DFF files are the multichannel surround tracks used in a SACD. Lately, I discovered that people are able to digitally extract the audio from SACD and convert to PCM. This is probably what they've done to provide the 24bit/88.2kHz FLAC files. There's also a DFF foobar2000 plugin that will let you play DFF/DSF files in foobar. I haven't tried it so I don't know how well it works, but I assume it is a decoder that converts the DSD steam to PCM. If that's the case, then you are avoiding the DSD-PCM decoding step if you download Wheatus' FLAC version. It will probably sound the same.

I made a donation and downloaded the EP and a couple bonus tracks in FLAC format. Without going into an in-depth review, I think it sounds pretty good, both technically and artistically. It was the first time I'd heard anything from Wheatus so I had no idea what to expect. The first track kind of reminded me of something like The Eels, but with a little more range. There's even some interesting Zappa-esk elements to their music. Check them out.

Update (5/31/12): While researching methods for extracting audio tracks from SACDs, I've learned that DSF files are not limited to stereo. Sure, that's what seems to be the consensus when you search for information about the file format, but I can assure you that there are multichannel DSF files. I still don't have any definitive source of information on this, but I think the DSF file is easier to tag than the DFF file. They include exactly the same audio data, but have different information in the header. I believe you can convert between DSF and DFF by editing the header section. Anyhow, I was told the DSF format is easier to tag and the DFF format is more useful for mastering and editing the audio.
Powered By Blogger