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



    I ran a test period for a whole week comparing wav, aiff, and flac before I started to rip permanently. I have somewhat of a different system than everyone else since my dac is ethernet based and has a large buffer which makes the decoding issue irrelevant. I frankly could not hear the difference. I ended up settling with flac as the tagging was more robust. My Linn Klimax DS also will scroll on the display the song, artist and album for each song with flac but could not with aiff or wav. In fact I was able to rip and listen to music at the same time with no adverse effect. I am a mac person to the core, but ended up buying a netbook for ripping purposes and used DB poweramp to rip. If I were running a different type of system I would have used aiff. Just thought I would contribute my experience as it is different than everyone else.

    Share this comment


    Link to comment
    Share on other sites

    <cite> Just thought I would contribute my experience as it is different than everyone else.</cite><br />

    Your experience is a very common one.<br />

    I don't expect many to hear the difference between a lossless compressed and uncompressed formats<br />

    If the small overhead needed to decompress has an audible impact, I do think it is a design flaw because it indicates that the quality of the sound card varies with system load. <br />

    <br />

    WAV is a problem as far as tagging is concerned. AIFF likewise as soon as you leave the Apple world.<br />

    I think FLAC is a very good choice.

    Share this comment


    Link to comment
    Share on other sites

    Hi,<br />

    <br />

    there are no technical reasons why using FLAC or ALAC would cause more jitter compared with other audio data formats. Jitter is completely a matter of the DAC process and with proper buffering after the FLAC decompression, you'll get as good results as with any other lossless data format.<br />

    <br />

    Esa

    Share this comment


    Link to comment
    Share on other sites

    “. . . <strong>with proper buffering after the FLAC decompression,</strong> you'll get as good results as with any other lossless data format.”<br />

    <br />

    That's exactly where the problem lies: without dedicated re-buffering between the PC and DAC, on-the-fly decompression during live playback causes subtle degradation in many systems. Certainly it's audible on my MacBook via USB.<br />

    <br />

    The <strong>data format</strong> may be lossless, and therefore fine for archival – but the <strong>playback format</strong> can in fact be lossy.

    Share this comment


    Link to comment
    Share on other sites

    Hi,<br />

    <br />

    if your Mac is loosing data during FLAC decompression, then that is a very bad thing ... I think.<br />

    <br />

    Typically a moden personal computer has GigaBytes of SDRAM for data buffering and FLAC decompression takes just a fraction of a procent of processor power i.e. if data is somehow corrupted, then there is something wrong in the system. <br />

    <br />

    Esa

    Share this comment


    Link to comment
    Share on other sites

    Again, loosing data is the problem. It's not lost, it's just loose! <br />

    <br />

    To reiterate, any lossless data format is lossless: that means the file contains the same zeros and ones. You open it, you play it, you close it: the same binary data in the same order. You might compress that data in order to store it more efficiently (like LZW compression on a TIFF) but nothing gets lost. <br />

    <br />

    When you open a digital photo or a spreadsheet or a Word document, the data spools off the hard drive and arrives in the target application exactly as it was saved. Lossless.<br />

    <br />

    But – and it's a big but – playing music on the PC is still as much a 'live' event as it was spinning vinyl. The timing matters: really unlike a spreadsheet, the gaps between the zeros and ones matters. The playback format does matter. Although the data is the same, when you stop and think about what the PC is actually doing, playing FLACs is much harder work than playing AIFFs.<br />

    <br />

    iTunes plays AIFFs more prettily than ALACs. As I was trying to work out why it would matter, it occurred to me that of course AIFFs are better: the PC is doing less. It doesn't have to recode the file while playing it: it just delivers the data uninterrupted and 'perfectly' timed. You get better results when you don't ask a transformer to power both channels at once, and you get better results when you don't ask the PC to decompress and deliver a bitstream simultaneously. Surely that's common sense?<br />

    <br />

    Whatever the reason, and all this (in the finest research tradition) I've worked out to post-rationalise a real world phenomenon . . . On my MacBook and Mini, ALACs have a slightly smeared quality; everything sounds subtly overamplified and confused; by contrast, AIFFs are quieter, in the sense of being better timed and resolved, cleaner and more 'correct'. Once you've heard the difference, you won't go back to FLAC.<br />

    <br />

    Then again, every combination of hardware and software is different: my MacBook sounds much better than my Mini, and the Linux netbook sounds different again. It may be that a faster CPU, or even swifter memory, may not impose the same performance penalty.

    Share this comment


    Link to comment
    Share on other sites

    I think we agree that lossless is lossless.<br />

    Any format to be played has to be transformed to a format the sound card understands: PCM audio.<br />

    If we assume that electrical activity inside a computer has impact on sound quality then:<br />

    formats like AIFF/WAV hardly requires any processor activity at all but do require a lot of disk access so a lot of head movements (a linear actuator probably PWM driven?).<br />

    A lossless compressed format like FLAC requires more processor power (2-4%?) but approximately only 60% of the disk access.<br />

    What is more harmful, I/O or CPU?<br />

    <br />

    Is it hard work to uncompress FLAC?<br />

    Not as much as uncompressing MP3.<br />

    How much power is needed? Any cell phone or portable can manage it<br />

    <br />

    Timing: all most all I/O inside a computer is buffered, maybe we have to go back to the first generation of sound cards for real time streaming.<br />

    <br />

    My answer: a sound card is a sound device designed to work inside a PC.<br />

    If the quality of its output fluctuates with system load, it is a very bad design.<br />

    Share this comment


    Link to comment
    Share on other sites

    Like I said, I'm theorising post-rationally about what I hear. There is a pretty constant level of HD activity (ie spin speed) regardless of whether the source file is MP3, AIFF or FLAC: surely the difference here between AIFF and FLAC is negligible . . .<br />

    <br />

    But playing FLACs and ALACs invokes an entirely other, relatively processor intensive – and superfluous – process running simultaneously with PCM output. Surely the best we could hope for is that it doesn't get in the way? Surely the simplest, straightest 'signal path' has to be the most accurate in all things?

    Share this comment


    Link to comment
    Share on other sites

    My too.<br />

    But it is one of the many riddles: ALAC/AIFF/FLAC<br />

    Are we talking different codecs (sure), but they all transform to 16/44.1 PCM (sure), Different drivers (FLAC on a MacBook?) Different hardware (Linux netbook)?<br />

    What are you comparing? Different drivers on different hardware?<br />

    Share this comment


    Link to comment
    Share on other sites

    Reading this thread with unbridled enthusiasm - incredibly pertinent to me at the moment; about to commence on a considerable music ripping undertaking (using Vista laptop PC with end interface Media Monkey). MUCH thanks, praise and respect for ALL comments!! :o)<br />

    <br />

    A few points / questions:<br />

    <br />

    (i) Rather than debate (joust) which is best - why not TRY them out [AIFF, WAV, FLAC] on one's OWN system and (personally) decide on which sounds (personally) 'BEST'(!)(?)(!). <br />

    Variables including system, conditions, individual preference, room acoustics, ambience, one's current mood, type of music, one's own ears, auditory health and ability to 'listen', hell, even chaos theory (maybe) all combine to form personal opinion. (etc. etc. etc.)<br />

    I say see (hear) what sounds most pleasing and satisfying, go with it and don't forget to ENJOY it! :o)<br />

    <br />

    That said - that nugget does not for a good discussion make - so PLEASE keep contributing!<br />

    <br />

    (ii) I would like to hear some thoughts / comments on using ExactAudioCopy (eac) http://www.exactaudiocopy.de/en/<br />

    with reference to ripping cd's to computer. Any opinions out there on what constitutes appropriate considerations for accurate ripping? (particularly with regard to eac)<br />

    <br />

    (iii) I have a laptop with internal (albeit hot swappable) cd/dvd/bd combo drive. I am considering purchasing an external usb cd (or cd/dvd) for ripping purposes. Any thoughts or recommendations to this idea?<br />

    <br />

    My Current Thinking: Rip cd using exactaudiocopy (incorporating the 'correct' settings - need to do a bit of homework on this one) into FLAC. Tag and archive within FLAC and then consider converting to WAV / AIFF depending on personal preference and how well it 'plays' with media monkey (re: compatibility whilst maintaining tags etc).<br />

    <br />

    Any and all thoughts and responses appreciated and respected........<br />

    <br />

    polzyb

    Share this comment


    Link to comment
    Share on other sites

    Use dbpoweramp instead. It supports a feature called AccurateRip, which compares each album/track against an online database. It will if and how many other rips matched yours bit for bit using a CRC check. The nice thing is dbpoweramp can be configured to do a quick rip, and if everything matches it just stops. If some tracks don't match then it drops to a more secure mode. EAC on the other hand can be configured to do only secure or non-secure, though it supports Accuraterip it doesn't use it for that sort of logic. What that means practically is that you would spend MANY more hours ripping with EAC, and it would also beat the hell out of your CDROM drive.<br />

    <br />

    EAC might be handy to keep around for badly scratched CDs that dbpoweramp can't get an Accurate or secure rip with - it has the option for a higher level of brute force ripping than dbpoweramp, that might have helped me out for one or two tracks if I recall correctly.<br />

    <br />

    Regarding formats, sound quality is best left up to the individual as you said. Regarding tagging, it would go something like this:<br />

    PC:<br />

    - FLAC is best for tagging<br />

    - If you like uncompressed use WAV, but tags are limited<br />

    <br />

    Mac (itunes)<br />

    - ALAC is best for tagging<br />

    - AIFF if you like uncompressed

    Share this comment


    Link to comment
    Share on other sites

    Forgot to mention about the external drive. Most consumer CDs are not perfectly balanced, and ripping at high speeds in a laptop drive can exacerbate this issue, in some cases damaging the CD. A full size external drive uses a different clamping mechanism, so it's less prone to this problem. Note the slim form factor external drives more commonly available today are just repackaged laptop drives, so one of those won't help much.

    Share this comment


    Link to comment
    Share on other sites

    I am following this post with high interest and tried to have the AIFF format in the windows world, but in the end failed due to not supported well in windows.<br />

    <br />

    For this I opened the below mentioned post, with also some experiences I have made with AIFF, WAVE and FLAC in the windows world.<br />

    <br />

    http://www.computeraudiophile.com/node/1640<br />

    <br />

    This also covers some jitter measurement results, if some one is interested in, together with some hearing experiences.<br />

    <br />

    Have a nice day.<br />

    <br />

    Juergen<br />

    Share this comment


    Link to comment
    Share on other sites

    The raison d'etre of a computer is to shunt data correctly: it's no trouble at all for our PCs to copy a file from one place to another. It will move a spreadsheet from HD to USB stick without changing any of the numbers. It will copy an image from a web site to a HD without changing any of the pixels. And it will just as easily copy an audio file to HD from CD without changing one bit of the music. Simple error-checking maths verifies absolutely that the source and destination files are identical. So any 'bit-perfect' ripping software (and I don't know any that aren't!) will do.<br />

    <br />

    The only thing that matters is whether you ask your app to compress the track. If you specify MP3 or AAC, it will squeeze it hard and destructively. If you specify FLAC or Apple Lossless, it will transfer the file exactly, but store it more efficiently on the hard drive to save space. That means you have to unpack it every time you play it. But if you save as AIFF, no such compression takes place, and no decompression is needed. Which may be why many hear a positive difference.<br />

    <br />

    On the plus side, compressed lossless files are 30-70% smaller (depending on how rowdy your music is), and they can be converted to AIFF and back again without loss. So FLAC and ALAC are great for archival, but not necessarily for playback.

    Share this comment


    Link to comment
    Share on other sites

    Dear hubsand,<br />

    <br />

    Sorry for my bad Énglish, I did not mean loose as you noticed.<br />

    <br />

    All personal computers can decode FLAC files without any problems to SDRAM that is used as a buffer. This all happens without losing any data whatsoever so that the resulting data is exactcly the same as in the case of WAV or the Apple lossless format. There just is no difference there. FLAC decoding is a very simple process.<br />

    <br />

    And I think you are using a USB DAC? The data is transmitted over an unsynchronous USB interface and there is another data buffer in the DAC that should get rid off any jitter problems that your PC might (in your opinion) cause. Jitter characteristics comes from you USB DAC only.<br />

    <br />

    There are just no techncal reasons for your findings. Have you tried blind testing yourself?<br />

    <br />

    Esa<br />

    <br />

    Share this comment


    Link to comment
    Share on other sites

    idolse - Many thanks for your reply - very helpful and informative!<br />

    <br />

    hubsand - it would appear that there are several(!) million users disagree with you on the fact that the rip does not matter - check eac and dbpoweramp forums just for starters.......<br />

    <br />

    And if you are (one is) so concerned about end audio fidelity (and if not then why be here, right?) why not ensure (as much as possible) that every link in the chain is considered and otpimised? Have you actually done any real-world testing and A-B comparisons regarding ripping cd's - using different s/ware / h/ware / setting combinations - in relation to end audio outcome?<br />

    <br />

    As Chris point out - audiophiles will go to lengths to consider 0.1% end diffferences - keep an open mind, respect others opinions and sleep easy in the fact that AIFF is the right baby for YOU!<br />

    <br />

    I mean no harm or offense in this - we all have more or less knowledge in these matters. It is the synergy and synthesis of gathered (like) minds sharing their experiences that prevails and, ultimately, satisfies.<br />

    <br />

    polzyb<br />

    <br />

    Share this comment


    Link to comment
    Share on other sites

    Why should we have to choose among the AIFF, FLAC or WAV formats? All three should work and work well. The burden should be on the manufacturers and vendors to make it work and not on the consumers to choose. You’re never going to get everyone to agree to just one of these formats. We have long past the point of no return, so just accept and embrace all three.<br />

    <br />

    If MediaMonkey and XXHighEnd can play these formats why can’t Apple with all its resources and expertise develop iTunes with the same or greater functionality. When XXHighEnd didn’t support AIFF what did the developer do? He developed support for AIFF. Please don’t tell me that Apple is incapable of providing FLAC functionality within iTunes. Is it that Apple has a good reason for not providing what so many customers want? If anyone has doubts, we can quickly do customer surveys on several of the audio blogs/websites to confirm whether folks want iTunes to provide FLAC support. If tagging is less than perfect, then the consumers want the manufacturers and vendors to work on improving these functions.<br />

    Share this comment


    Link to comment
    Share on other sites

    And don’t forget add the point, that it is far from user friendly, that someone has to close iTunes before playing a different sample rate, than to change the rate and finally reopen iTunes again.

    Share this comment


    Link to comment
    Share on other sites

    Chris, Winamp plays FLAC too, so i dont see why playing FLAC on a pc is a non starter. You reccommend Winamp for ALAC, so im confusesd.

    Share this comment


    Link to comment
    Share on other sites

    I miss-read you, chris. <br />

    Sorry.

    Share this comment


    Link to comment
    Share on other sites

    I am soon to embark on my ripping chore using a mac mini and an NAS with AIFF. It sounds like a separate cd transport is preferred to the internal drive of the mini. Any recommendations as to make and model? Thanks

    Share this comment


    Link to comment
    Share on other sites

    Hi, Kevin...<br />

    I'm using an LG super multi external drive. It was about 80 bucks. Not cheap but it has the advantage of ripping at an average 25x to 40x; almost double the speed of the internal drive on my Imac silver. Enjoy the time saved wisely!<br />

    Lee

    Share this comment


    Link to comment
    Share on other sites

    I know many people who swear by Plextor drives. They are very hard to find in the US but easier in China, Japan, and possibly the EU.

    Share this comment


    Link to comment
    Share on other sites

    Besides the file format, what sample rate should be used when ripping a CD to get the best quality? For example, in iTune, we can choose to use either 44.1kHz or 48kHz sample rate. Any suggestions?

    Share this comment


    Link to comment
    Share on other sites




    Guest
    This is now closed for further comments




×
×
  • Create New...