Jump to content
  • The Computer Audiophile
    The Computer Audiophile

    In What Format Should I Rip My Music?

    oneandzeros.jpgThere are endless file formats to consider before ripping CDs. Some of the popular formats are WAV and AIFF (uncompressed), and FLAC, WMA, ALAC, APE, and WavPack (lossless compression). The decision about what format to use can be made by considering disk space and interoperability.[PRBREAK][/PRBREAK]

     

     

     

     

     

    Please note: I am certainly not the Minister of Information and these statements should be considered my opinion based upon my own knowledge, research, and experience.

     

     

     

     

    The quickest path to determine the correct format for your situation is this:

     

    1. Can you afford the disk space required to use uncompressed formats?

    a. If yes, my answer is AIFF.

    b. If no, proceed to number two.

     

    2. What operating system(s) are you gong to use?

    a. If Windows only my answer is FLAC.

    b. If Mac OS X only my answer is ALAC.

    c. If Windows and Mac OS X my answer is ALAC.

     

     

     

     

     

     

     

    <b>Why These Formats?</b>

     

    <b>1. Uncompressed AIFF</b>

     

    <b>Uncompressed</b> - Question number one is all about compressed versus uncompressed formats. If you can afford the disk space I see no reason to use a compressed format. Right now one terabyte is literally one-hundred dollars at NewEgg. Even with the current economic recession (Jan, 2009) this is reasonable. There is currently much debate about whether or not there is an audible difference between compressed and uncompressed formats. This fact alone is reason enough to avoid any type of compression. As with all other audiophile "dilemmas" this one is likely to go on for the foreseeable future. The whole issue can be avoided by selecting an uncompressed file format. In my opinion using compression means one has to rule out the possibility that compressed formats might later be found to have unforeseen issues that uncompressed formats do not have. Is it likely to happen? Absolutely not, but why take a chance you don't have to take even if it is minute?

     

    Almost everyone agrees that lossless compression is lossless. But what exactly does that mean? To many it means that lossless compressed files are exactly the same as uncompressed files from the time they are ripped to the time they hit the DAC during playback. In my opinion lossless files are lossless in terms of compressing them as a method of storage and transport. One can convert an uncompressed file to a lossless file and back again all day and night without any loss of data. The <u>potential</u> issue arises when compressed files must be uncompressed in real time during playback. In my opinion there is no reason to compress a file that must be uncompressed to be played back. One often used comparison is between data files being compressed with WinZip and audio files being compressed with a lossless codec. I think this is a good comparison, but it leads me to a different conclusion than many people who use the analogy. I too agree that a word document compressed with WinZip will be the same word document whether I zip it and unzip it one or one-hundred times. After all lossless is lossless. Here is where my opinion differs and it involves real time uncompressing of data/music. If you were to losslessly compress 20,000 word documents & spreadsheets (roughly the same as compressing 2000 albums with 10 tracks each). It is very likely you would experience some hiccups upon opening the files every once in a while. The data certainly won't change without some kind of corruption, but it's very likely your computer will "stutter" a few times opening thousands of zipped documents and spreadsheets. Unzipping a document is one of the easiest tasks a computer is capable of doing. This is similar to playing music as it too is rather simple for a computer to handle. I look at it this way. Audiophiles often spend thousands of dollars for an extra .01% improvement in their system. So, I see know reason to use any compression at all. It's all about managing risk. Uncompressed AIFF and WAV eliminate the risk of decompression errors in real-time. Granted the chances of hearing something wrong with a compressed file are minuscule or arguably nonexistent, but audiophiles are into reducing minuscule risks.

     

    Format longevity is another reason I elect to avoid compression. Uncompressed formats have been around for decades and I'm betting they'll be supported for the foreseeable future. WAV was developed for Windows 3.1 around 1991 by IBM and Microsoft. AIFF was developed for the most part by Apple in 1988. Compressed formats haven't been used for nearly as long. FLAC was first used byXiphophorus in 2003 while Apple Lossless was first introduced on April 28, 2004. The comparative youthfulness of compressed formats is certainly no indication of their validity or performance. Rather "newer" technologies tend to have many competitors that lead to format wars. This can lead to one, two, or many formats eventually winning out. In the music server world this means that since applications only support a limited number of formats there will be certain compression schemes dropped or added by applications sometime in the near future. Another argument can be made against uncompressed formats because they are getting long in the tooth. This is certainly a concern, but not one I lose sleep over. Dropping AIFF and/or WAV support by any application doesn't seem likely. Supporting these uncompressed formats has been done "forever" and does not require a company to reinvent the wheel to continue supporting them.

     

    <b>AIFF</b> - The two popular uncompressed formats are WAV and AIFF. I use AIFF because it natively supports embedded meta-data tagging and album art. WAV files in general don't have embedded meta-data or album art. In addition WAV files can be limited in size to between two and four GB. This may not seem like a real world limitation but 24/192 music can easily reach this limitation. Sonically I've never heard of anyone identifying differences between WAV and AIFF.

     

     

     

     

     

     

     

    <b>2. Lossless Compressed FLAC and ALAC</b>

     

     

     

    <b>Windows - Lossless Compressed FLAC</b>

     

    For Windows users who either cannot afford enough disk space or elect not to purchase enough disk space for uncompressed music I recommend FLAC. Free Lossless Audio Codec is the best lossless compression option on the Windows platform for a few reasons. FLAC supports excellent meta-data tagging and album art. I recommend FLAC over Windows Media Lossless (WMA) because FLAC is open source and the most widely supported lossless codec. FLAC can be used with MediaMonkey or other popular players that allow bypassing the dreaded Windows KMixer. Windows Media Player does not have native support for FLAC, but I don't consider Windows Media Player to be a true audiophile application.

     

     

     

    <b>Mac OS X - Apple Lossless Audio Codec (ALAC)</b>

     

    iTunes is the gold standard playback application on Mac OS X. Unfortunately iTunes does not support FLAC natively and the enabling plugins / applications like Fluke are less than flawless. I personally don't use Fluke as I find it a bigger headache than it's worth. Thus ALAC is my recommended lossless compression scheme for OS X. Full meta-data tagging support and album art. Since it was developed by Apple themselves there are very few issues with ALAC. File sizes are reduced between 40% and 60%. This also helps people synchronizing iPods with little available space. Whenever the Apple Airport Express is used to stream music all files are actually converted to ALAC in the process. So, starting with ALAC may be a good thing in this situation.

     

     

     

    <b>Windows and Mac OS X Interoperability</b>

     

    Audiophiles that require interoperability between Mac OS X and Windows platforms have more options by selecting ALAC. As I said earlier playing FLAC on Mac is a non-starter for me. Playing ALAC on a PC is much easier. Applications such as JRiver and WinAmp support ALAC. While the files will play on these Windows applications there are issues with meta-data tagging. Cross platform interoperability without issues is still very elusive. Even cross application interoperability is currently less than good.

     

     

     

     

     

     

    <b>Closing Words</b>

     

    As I made clear in this article I am definitely not proposing the one and only file format, but my preference is for uncompressed AIFF files. This is my recommendation for many reasons, among them avoidance of ambiguity, reduction of risk, and format longevity. In addition, this whole discussion may be moot when multi-terabyte drives are twenty-five dollars. When disk space is no longer a concern data compression is no longer a concern in my opinion. If I had my wish I would select a file format somewhere between AIFF and FLAC. Uncompressed AIFF as open source as FLAC would be pretty nice. Even though lossless compression is not my favorite thing I clearly understand that it works fabulous for a large percentage of music lovers. Whatever works for you is OK with me. There is no right or wrong answer. If you're on the fence over what format to select you're in luck. Trying AIFF, FLAC, and ALAC is totally free and allows you to decide for yourself. In an industry where one can't walk into retail store without dropping a couple grand there is something to be said about a free exercise involving high-end audio anything.

     

     

     

     




    User Feedback

    Recommended Comments



    You never should "resample". In other words : a digital carrier like a CD just *has* a sample rate. For a CD this is 44100, and you should just leave it be hence "copy".<br />

    <br />

    Things *can* be gained by resampling, but or this is done real time during playback, or it is done off line by good resampler software. iTunes for sure is not that.<br />

    <br />

    So, don't worry, and just use the sample rate as it is on the medium.<br />

    Btw, for DVD this is 48KHz (might you come to ripping those).<br />

    <br />

    HTH<br />

    Peter<br />

    Share this comment


    Link to comment
    Share on other sites

    I have read several threads that discuss "resampling"/ "upsampling" and it is always a very techie. o/i kind of rap. So a friendly challenge to our fine, astute techie brethren, would be for someone with some patience, and a desire to reach a larger audience, please give us music lovers/semi techies a layman's walk through the world of o/i's in regard to this topic. eternal thanks. or links to non techie articles elsewhere would also suffice.

    Share this comment


    Link to comment
    Share on other sites

    Whatever anyone or theory says, implementation is everything. I know the Benchmark Media website has some technical discussion as to why they resample to approximately 110kHz. It is largely based on finding the optimum and sweet spot for their approach, design and chips that they use.<br />

    <br />

    Similarly you will find discussions elsewhere as to why the more mature 24/96 designs are superior to the higher spec, but less mature 24/192 DACs. You will also find discussions as to why non-oversampling DACs is the way to go.<br />

    <br />

    Where the resampling or upsampling occurs is also important. And whether the DAC manufacturer will detail where this occurs in his DAC can also be a mystery or proprietary secret.<br />

    <br />

    Generalizations can often lead one to erroneous conclusions and decisions. I was reading one of the high rez debates and I decided to play a recently purchased Telarc DSD SACD and an Eloquence Redbook CD. The Eloquence CD was excellent while the Telarc was ho-hum. That said, some of my other excellent albums are Telarc DSD SACDs.<br />

    <br />

    As much as I enjoy the high rez offerings from Reference Recordings or Kent Poon, the lower rez albums of the same material are still pretty good. So if your quest is to find the best DAC, make a short list of whatever you’re willing to spend and evaluate by listening to them.<br />

    <br />

    Technical discussions, debates and hype often make interesting reading. But when it comes to computer audio, we are just in its infancy with much room for growth and many barriers and theories to be shattered.<br />

    Share this comment


    Link to comment
    Share on other sites

    I originally chose AIFF since my original plan was to use my MacBook Pro laptop. iTunes on a Mac is easy to use, flexible and works so well.<br />

    <br />

    I have since added two XP dedicated music servers and one Vista 64 part-time music server. Why? Because the CA “Audiophile Reference Music Server For A Song” was too cheap to resist (first XP music server). Then in my quest to evaluate audio players I found XXHighEnd that requires Vista to sound its best (Vista music server). Finally I stumbled onto cMP/cPlay that originally I thought too difficult but later realized that it wasn’t that bad (second XP music server).<br />

    <br />

    I have tried the gamut of players (either full version or demo) including iTunes, Play, Cog, MediaMonkey, JRiver, foobar, Wave Editor, Wavelab, Peak Pro, XXHighEnd, Amarra and cMP/cPlay.<br />

    <br />

    I have come to the conclusion that for me the WAV format is the best since it’s universal and everything seems to work with it. My FLAC files that I downloaded from Linn Records had to be converted to AIFF using Max since Mac computers do not support FLAC files without an unfamiliar third party plug-in. Likewise some of the Windows players do not support AIFF. But everything seems to work with WAV files.<br />

    <br />

    So now I use dBPoweramp to rip my CDs to WAV files and get my album artwork. I use CPlayListEditor to create cue sheets that can contain all the information that anyone could want.<br />

    Share this comment


    Link to comment
    Share on other sites

    Thanks for the info Zorro. It's pretty cool you've tried all these combinations and came to your own conclusion on what works best for you. Very cool.

    Share this comment


    Link to comment
    Share on other sites

    I remain skeptical about the claims made on behalf of (never by the creators of, you'll notice) dedicated ripping tools. <br />

    <br />

    Let's consider what can go wrong with a rip: clearly, at the scales and tolerances we're working to pull zeros and ones from more or less reflective pits in a CD's surface, read errors will occur. Better quality drives will have a better hit rate, naturally, but nothing's perfect. Hence error correction. EFM, C1 and C2 checks are implemented on almost all machines to ensure your spreadsheets don't mysteriously reprogram themselves when you de-archive them from optical media. EAC and dbpoweramp simply add Secure Mode error checking and (optionally) post-rip verification to double check - and no doubt, sometimes, improve on the accuracy of the rip.<br />

    <br />

    Consider what happens with you 'rip' (open) a photo stored on CD in Photoshop. Data is read, checksums calculate, and you end up with a perfect facsimile of the TIFF in memory. If the disc is damaged, or insurmountable read errors occur, there might be problems. But what problems, exactly? If the header file is scrambled, the whole image may be rendered unreadable. If an error occurs in the main data section, you might conceivably get a pixel that randomly switches colour. I've never seen (or perhaps been aware of?)) this happen in many years (terabytes) of digital photography.<br />

    <br />

    The point is that these are binary changes. What is implied by some users (going far beyond the claims made by EAC or dbpoweramp) is that somehow the ripping process globally alters the characteristics of the file - systematically. An exact analogue in photography terms would be that a TIFF read from CD looked less sharp, or intangibly less evocative - or 'real' - than one read from the HD. Unless you fail to save the colour profile with an image, it's just not possible for a non-random 'purposeful' change like this to take place.<br />

    <br />

    What is possible, and what I can hear clearly, auditioning back six or seven years or rips made using all sorts of hardware and software in all kinds of formats coralled by iTunes, are occasional discrete errors: dropouts, clicks and glitches. No surprises: they sound like a CD skipping! Sometimes these imperfections are extremely transient; others are more audible; no doubt some are undetectable: too brief, or hidden in silence. Perhaps EAC or dbpoweramp would have reconstructed the data better than iTunes; perhaps not. <br />

    <br />

    The second point here is that if you're serious about your music, you're not going to be using some Mickey Mouse tool to do such an important job, and iTunes, EAC and dbpoweramp all have 'better than firmware' error correction aimed at minimising glitches. They will not impart some magical lustre that other rippers won't.<br />

    <br />

    However, what really, really DOES matter is playback. When it comes to audible characteristics, operating systems differ, playback software differs, methods of volume control differ, drivers differ, PCs differ, and formats differ. I'm not convinced that the storage medium matters per se, but it could impact acoustically in certain setups.<br />

    <br />

    In order to provide the most level playing field for tests we've been running over the last six months, we've standardised on a high quality USB DAC (Burson op-amps, dedicated off-board PSU) and auditioned just about every file format, operating system, playback utility and driver we can lay hands on using very revealing amps/speakers (currently Adam P11A + Sub 8 studio equipment). And we've used four different hardware platforms. No resampling or upsampling; just straight dope 16/44.1. <br />

    <br />

    The bottom line is that the most informative, neutral and across-the-board truthful setup we've heard on a realistic budget (Amarra not tested!) is Single Core Intel Atom + Linux Ubuntu + ALSA + Songbird + AIFF. Anything else sounds worse.<br />

    <br />

    With a USB DAC, nothing under Windows XP or Vista is as sweet or detailed at the top end (ASIO, WASAPI, DirectSound 2, Fubar, (all versions), MediaMonkey, etc). iTunes has a boomy lower mid-range and is slightly forward, however you set it up. MacBooks sound better than Mac Minis running OS-X. But the streamlined nature of Linux, and the super-efficient, cool running Atom (no fans, please), combined with the inherently jitter-free nature of AIFF compared to 'code-on-the-fly' FLACs and ALACs is close to perfect. Why Songbird sounds so nice compared, for instance, to Banshee, is a mystery to me, but months of auditioning for us has all ended up pointing in one direction: less is best. Start with a small processor, use the leanest OS, and don't mess with the file while you're playing it. QED.<br />

    <br />

    And if you haven't got glitches, your rip is almost certainly perfect, however you acquired it. I use EAC, incidentally!

    Share this comment


    Link to comment
    Share on other sites

    After finding hi res (24/96) music downloads (FLAC from Linn) I needed a way to listen to them on my Mac. No app allowed me to do so. So I tried a conversion to ALAC with XLD.app. And hey: There is a conversion setting in XLD to use the original file's sampling rate. And the ALAC files I got are played perfectly fine in iTunes and sound absolutely great.<br />

    <br />

    As I have no idea about the background of this all, I wonder if both iTunes and my iMac's hardware support 24/96 at all - and if there are any losses between the Mac and my preamp. A chain is only as strong as its weakest link. But at least I have managed to listen to hi def audio files. :-)<br />

    <br />

    Peter<br />

    <br />

    http://tmkk.hp.infoseek.co.jp/xld/index_e.html<br />

    http://www.linnrecords.com/<br />

    http://www.hdtracks.com/

    Share this comment


    Link to comment
    Share on other sites

    Hi phunge,<br />

    <br />

    can I get a copy of your media player.<br />

    Can it buffer an entire album in wav format to ram, or at least an entire track in wav format.<br />

    <br />

    <br />

    Regards

    Share this comment


    Link to comment
    Share on other sites

    Hi phunge,<br />

    <br />

    can I get a copy of your media player.<br />

    Can it buffer an entire album in wav format to ram, or at least an entire track in wav format.<br />

    <br />

    <br />

    Regards

    Share this comment


    Link to comment
    Share on other sites

    Hi Chris and everyone else in this thread,<br />

    <br />

    I just found this site like an hour ago and already gained a lot of knowledge, best of all this knowledge seems to come without the usual (or so it seems) "audiophile attitude" that I seem to bump into on other sites. I'm only sorry I didn't find you before. Right now I only wanted to express my gratitude and go on reading the rest of this site. I'm sure I'm going to ask questions later, but first let's find out if they're already answered.<br />

    <br />

    cheers,<br />

    Ruud.

    Share this comment


    Link to comment
    Share on other sites

    Hi Rudd - Welcome to Computer Audiophile. Glad you like what you've read so far. CA is a laid back site where you shouldn't have to worry too much about getting attitude when you contribute. We all enjoy this wonderful hobby and would like to keep it that way :~)

    Share this comment


    Link to comment
    Share on other sites

    That was a great explanation of our options in the music ripping world Chris. I took your advice and am using dbPowerAmp to rip and convert. I will be using this app to do my ripping in AIFF. It's simple and quick. I have one question: when choosing bit depth and sample rate, which setting do you recommend? For example, I have been setting the bit depth at 24 bit and the sample rate at 96 kHz. I have been using these settings for the ripping of CD's into my hard drive. I will be running these AIFF files through a Music Hall DAC25.2 via a Kimber USB and on to my 2 channel stereo system. Thanks again for your help.

    Share this comment


    Link to comment
    Share on other sites

    Dave, is this the case with Media Monkey? I have not been able to play AIFF files through this app. Unless I'm missing something here? Thanks for your advice in advance.

    Share this comment


    Link to comment
    Share on other sites

    Hi Renerator - I will be posting a follow-up to this article in the near future. Anyway, when ripping CDs I highly recommend only ripping at the exact bit depth and sample rate as the CD. This will be 16/44.1 if it conforms to the Compact Disc standard. Personally I would never rip a CD at anything other than this. <br />

    <br />

    As far as playing AIFF with MediaMonkey you will need to download the plug-in from the MediaMonkey website. I wish it came standard, but oh well. It works well once installed.<br />

    <br />

    By the way, is that your dog in the picture? It looks like a MinPin.

    Share this comment


    Link to comment
    Share on other sites

    I gather from the many discussions above that when ripping a CD one should leave the bit and sample rate at its original rate. That being 16 and 44.1. Is this correct? Thanks

    Share this comment


    Link to comment
    Share on other sites

    Hi Chris and all, <br />

    <br />

    can AIFF files be converted to WAV as I downloaded the Jazz Pologue III tracks, played them through foobar and they sound great yet would love to hear if this greatness gets better still through CMP/cplay.<br />

    (here's the link to Kent's site for JP III samples:<br />

    <br />

    http://www.designwsound.com/dwsblog/?page_id=318<br />

    <br />

    Chris has provided more detail on these recordings and a direct link elsewhere on this site, thanks Chris<br />

    <br />

    highly recommend the 2L site also:<br />

    http://www.2l.no/hires/index.html<br />

    <br />

    I have only downloaded one track by Ola Gjeilo,(96k Flac), yet it really illustrated the difference in musicality and enjoyment between foobar and cplay/cmp, I much preferred cmp/cplay...like removing a towel or blanket from in front of the microphone. (Yet I still enjoy Foobar, I think it's the yellow screen [display choice I've chosen for foobar], anybody who can create these players deserves some serious respect as do you Chris for creating and sharing such a wonderful site).<br />

    <br />

    Cmp/cplay will only work with cue sheets derived from FLAC or WAV files as far as I know, please enlighten me If I know not what I say,<br />

    <br />

    thanks for your help in advance<br />

    *man<br />

    <br />

    <br />

    Share this comment


    Link to comment
    Share on other sites

    I personally find no difference playing FLAC vs uncompressed, but have no argument with those that do. <br />

    <br />

    I use FLAC for tagging purposes and also because I find it extremely tedious whenever I have to copy a large number of files - the compressed ones just move through the system that much faster.<br />

    <br />

    But isn't there another option? In dbpoweramp you can make an uncompressed FLAC file, i.e. an uncompressed file in a FLAC "shell".<br />

    <br />

    You then have the advantage of the tagging compatibility of FLAC, and don't have the disadvantage - if you see it that way - of using your PC to uncompress the file upon playback. If you aren't concerned with file size, that method would seem to give the best of both the worlds of lossless compression and of WAV/AIFF.<br />

    <br />

    Share this comment


    Link to comment
    Share on other sites

    Uncompressed FLAC is a great format that wasn't an option when I wrote this article. I've been using it for a little while and live it. Thanks for bringing it up firedog. <br />

    <br />

    No longer is FLAC synonymous with compression. <br />

    <br />

    Share this comment


    Link to comment
    Share on other sites

    Why don't you conisder WMP to be a serious audiophile application?

    Share this comment


    Link to comment
    Share on other sites

    Hi Al - WMP doesn't allow selection of different output modes such as WASAPI, ASIO, WASAPI - Event Style, or Kernel Streaming. These are a must for the best sound quality.<br />

    <br />

    Share this comment


    Link to comment
    Share on other sites

    If you consider yourself an audiophile, one fact we can all agree upon is that you must not use codecs are are lossy!<br />

    <br />

    I'd guess the community is pretty much in universal agreement on this issue.

    Share this comment


    Link to comment
    Share on other sites

    ... and Mac OS X and iTunes both support all the way up to 192/24 and, no doubt, beyond that as well.<br />

    <br />

    There are some important considerations when playing music back with iTunes itself. Are you familiar with the "Audio/Midi Setup" utility and how it affects the interactions of iTunes and Core Audio?<br />

    Share this comment


    Link to comment
    Share on other sites




    Guest
    This is now closed for further comments




×
×
  • Create New...