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



    [Edit: I just noticed that this is a very old thread, please understand that I wrote it thinking that Chris had written it today!] :-)<br />

    <br />

    Hey Chris.<br />

    <br />

    I have to take issue with your statement "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?"<br />

    <br />

    I believe this statement to be FUD, though I don't believe that you intend it as such. I offer this only to further the conversation.<br />

    <br />

    The problem is that discussion of file type reside entirely in the digital realm. I understand and have demonstrated to my own satisfaction that digital transmission variables have a disturbing-to-a-digital-guy affect upon sound quality. I state it that way because it took me a LONG time to observe this for myself because I simply couldn't believe that digital world concerns could have an analog effect beyond transcription errors, i.e. bitperfectness.<br />

    <br />

    Why? Let me put it this way: it's been decades since anything in the digital world has behaved this way! Digital transmission has matured through parallel, serial, modems, wired ethernet, wireless ethernet, Firewire, USB, and Thunderbolt. And since somewhere in the modem range, protocols have handled error detection and correction invisibly. In short, it's been decades since there's been a question as to whether what you put in one side comes out the other end.<br />

    <br />

    Given that, I find it incredibly unfortunate that it's taken the audio industry so long to arrive at this same point. I suppose it's related to the fact that pre-digital, the goal of an audio manufacturer was to pass the signal along as perfectly as possible. From that perspective, it's easy to see why it would seem reasonable to do things like take clocking information from the incoming bitstream.<br />

    <br />

    But from the digital perspective, doing so is unthinkable! Why? Because in the digital world, "bits are bits." And the purpose of cables are to move bits between components where they are processed.<br />

    <br />

    And it's that processing part that appears to me to have been missing in digital audio components. The processing is where the music needs to happen. Music is all about timing! That being the case, why in the world would anyone design an audio component in a way that was doomed to failure?<br />

    <br />

    I believe that we can state with 100% certainty that it's IMPOSSIBLE for there to be "unforeseen issues" with losslessly compressed audio files.<br />

    <br />

    Why? Because bits ARE bits and bits have only two possible states: a bit can be described as on or off, yes or know, true or false, etc. But a bit CANNOT be one of those AND early or late.<br />

    <br />

    Now someone might say "I can see it on an oscilloscope!", or "I can hear the deleterious effects of jitter!", and perhaps more to the point "I can hear the difference between WAV/AIFF/FLAC/ALAC!" And, unfortunately, I now find myself forced into agreement.<br />

    <br />

    These things DO make a difference!<br />

    <br />

    And that's where we've gone wrong, because that should never be true, damnit! :-(<br />

    <br />

    Why? Because if ANYTHING (jitter, file format, disk type, cable) short of a transcription error (failing to be bit perfect) in the digital transmission chain can affect the audio quality of a DAC, then the DAC has, I believe fundamentally failed its intended task!<br />

    <br />

    A DACs job is to turn bits into music. Since a bit can only have two states, they should NEVER be asked to carry timing information as well. Doing so fundamentally violates information theory! :-(<br />

    <br />

    The fact that bits are bits, when coupled with the fact that uncompressed files can be converted to losslessly compressed files and then converted back to identical uncompressed files mathematically proves that there can be no "unforeseen issues!"<br />

    <br />

    A = uncompressed file<br />

    B = compressed version of A<br />

    C = uncompressed version of B<br />

    <br />

    Transitive theory states:<br />

    <br />

    If A = B and B = C then A = C<br />

    <br />

    And that is why I have a problem with your statement.<br />

    <br />

    Can't we agree it's an entirely personal decision? To say anything else is, I believe, spreading misinformation.<br />

    <br />

    If all audio programs not only buffered the file into memory, but also uncompressed it while doing so before playback began, then it's unthinkable that file format could change the sound!<br />

    <br />

    I ask the authors of playback software to comment. For those apps that decompress-in-advance, do you or your users hear a difference between file formats? Surely the answer must be no!<br />

    <br />

    Finally, a request to the authors of applications that don't decompress-in-advance: please make this available as an option so the rest of us can judge for ourselves. :-)<br />

    Share this comment


    Link to comment
    Share on other sites

    Small disclaimer, and I am sorry for it : I only read a few lines of your post. This jumped out :<br />

    <br />

    <cite>I ask the authors of playback software to comment. For those apps that decompress-in-advance, do you or your users hear a difference between file formats? Surely the answer must be no!</cite><br />

    <br />

    But the answer is yes. It even goes as far as while I (XXHighEnd) do my stinkin' best to prepare all in advance - let it rest - and to next let start Playback after any rest time to the wish of the user - it still makes a difference when ...<br />

    <br />

    The uncompressed files are copied to a RAMDisk for real playback from there<br />

    <br />

    vs<br />

    <br />

    The user copies those themselves to there.<br />

    <br />

    Mind you ... And this is pure memory playback.<br />

    <br />

    I myself do not say I perceive these kind of differences - I actually don't want to know. All I do know is that these things should be solved, which is what I effortlessly try (on behalf of users whom I highly trust - which is just everyone).<br />

    <br />

    I know what this is about (I think) but it is way hard to solve.<br />

    <br />

    Peter

    Share this comment


    Link to comment
    Share on other sites

    Peter, when you say that the decompressed file is stored in a RAMDisk, in what format is the file?<br />

    <br />

    If you input a WAVE, AIFF, FLAC and ALAC containing identical audio, will the files in your RAMDisk be byte-for-byte identical?<br />

    <br />

    If so, please clarify: will the only difference between the files be the physical location of the memory cells holding the bits?<br />

    Share this comment


    Link to comment
    Share on other sites

    <i>"I ask the authors of playback software to comment. For those apps that decompress-in-advance, do you or your users hear a difference between file formats? Surely the answer must be no!"</i><br />

    <br />

    You don't need to ask authors. :)<br />

    There are posts in these forums where users are adamant that they hear differences in format when using an app that decodes, and decompresses where necessary, a complete file in advance of starting to play it. WAVE, AIFF, FLAC and ALAC are decoded to an identical Core Audio data buffer before play by Audirvana. I'm tempted to delete this post; the ground has been covered several times. I share your opinion of "no", but people hear what they hear and you'll struggle to convince them that they could be mistaken.<br />

    <br />

    <br />

    Share this comment


    Link to comment
    Share on other sites

    <cite>Peter, when you say that the decompressed file is stored in a RAMDisk, in what format is the file?</cite><br />

    <br />

    Always WAV.<br />

    <br />

    <cite>If you input a WAVE, AIFF, FLAC and ALAC containing identical audio, will the files in your RAMDisk be byte-for-byte identical?</cite><br />

    <br />

    100%.<br />

    <br />

    <cite>If so, please clarify: will the only difference between the files be the physical location of the memory cells holding the bits?</cite><br />

    <br />

    Even that won't be different. Imagine a Dos Copy command, but now performed from code. This is not 100% so (it could, but I don't do it like that). Still there are many differences (impact on the OS) and it is about that.<br />

    <br />

    Btw and FYI :<br />

    Since the program vs manual action in my view can be 100% mimiced towards the manual action (because of how XXHighEnd is setup) by letting the program perpare things - reboot - and then play, and *then* in my view no differences *can* be there, I suggested a couple of times to try this.<br />

    I never received an answer to that, so or people never tried it, or were not able to perceive the difference anymore. And, as how we people tend to work, if we are not sure we better say nothing. Well, when it were about real valued comments.<br />

    I must also say that around the time of these findings, the RAMDisk was shoveled out (because it really isn't better in the far end).<br />

    <br />

    Regards,<br />

    Peter<br />

    <br />

    Share this comment


    Link to comment
    Share on other sites

    Peter, please comment on my interpretation of your account of RAMDisk playback...<br />

    <br />

    The input files of various formats containing identical audio samples were decoded to identical bits in identical memory cells of RAM in advance of play. In spite of that, the specific decoding process for a particular file format had an effect on the system which was propagated to, and was audibly manifest in, the following (in other words, not concurrent) play process.<br />

    <br />

    You suspect that the only way to negate this propagated effect on sound quality may be to reboot the system between the decode process and the play process, but you have no test results to verify that.<br />

    <br />

    Share this comment


    Link to comment
    Share on other sites

    "But the answer is yes."<br />

    <br />

    But, it really shouldn't be.<br />

    <br />

    I find this very, very disturbing.

    Share this comment


    Link to comment
    Share on other sites

    Sorry that I had not noticed these other references.<br />

    <br />

    I have to say that I find this absolutely impossible from a technical standpoint.

    Share this comment


    Link to comment
    Share on other sites

    Your universe is not crumbling. There is no evidence for this propagation effect. There's only the anecdotes of a tiny subset of audiophiles. They may be right. They may be wrong. Nothing to lose sleep over.<br />

    <br />

    Share this comment


    Link to comment
    Share on other sites

    We're dealing with people's perceptions in the absence of controlled trials; anything can be imagined and anything can be possible.<br />

    Share this comment


    Link to comment
    Share on other sites

    <i>"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?"</i><br />

    <br />

    <br />

    Hi tmornini - Thanks for your well thought out comments and for recognizing this article wasn't written today :~)<br />

    <br />

    Here's my reasoning for saying what I said. <br />

    1. I see no reason to take a chance, no matter how minute, if one doesn't have to.<br />

    2. When talking about unforeseen issues I am not specifically saying anything about the ability of a lossless file to be converted back and forth without losing bits. We've all done the comparisons converting files and checking the MD5 hash etc... There is no difference. My thinking is more about issues with lossless codecs. Apple Lossless is proprietary and has gone through several versions. The user is not notified about new versions or what the differences are. Third party developers must reverse engineer the conversion from ALAC to something else and to playback ALAC. I have already seen issues related to converting 24 bit ALAC files in third party apps. For the life of me I wish I could find the thread but I cannot at the moment. I'll continue my search. To me it's all about minimizing risk. I now my reasoning is not perfect and not for everybody. I'm simply explaining why I do what I do. I've also been using uncompressed FLAC a lot lately. I've been extremely happy and impressed with uncompressed FLAC and the support of FLAC in software and hardware from everyone except Apple.<br />

    <br />

    As I like to say, nobody is saving babies or killing puppies here. There are much larger fish to fry when it comes to impacting computer based audio. This article was written in response to many inquiries about file formats. I followed this article up with my ripping article that discusses some of this as well.<br />

    <br />

    http://www.computeraudiophile.com/content/Computer-Audiophile-CD-Ripping-Strategy-and-Methodology<br />

    <br />

    Share this comment


    Link to comment
    Share on other sites

    Thanks for your thoughts on the matter.<br />

    <br />

    I think we're going to need to agree to disagree. :-)<br />

    <br />

    Again, not with your decision, but with your reasoning.<br />

    <br />

    I do agree that an open codec is ideal, but I think it's absolutely unfair to suggest that the reason for choosing it to avoid future problems.<br />

    <br />

    I know for a fact, first hand, that open formats are no prophylactic from future problems. Remember what happened to GIF?<br />

    <br />

    My point here is that I agree that FLAC is the ideal format for archive, but it's not for technical reasons, but instead philosophical grounds. :-)<br />

    <br />

    I'm glad if we can agreed that there is zero risk *beyond the effort to convert to something else* in choosing a lossless compressed format. No chance of loss, no chance of irreversible quality issues; just(!) the irrefutable fact of ALAC's lack of transparency, which is enough, but doesn't qualify as a technical risk.<br />

    <br />

    With respect to CODEC quality issues, I think what you've written above qualifies as FUD as well. There is Apple's CODEC which is HIGHLY LIKELY to be well maintained (it's the basis for AirPlay which is looking increasingly like the de-facto standard for networked audio transmission) and an open source implementation available here:<br />

    <br />

    http://craz.net/programs/itunes/alac.html<br />

    <br />

    Note: I consider the fact that they added 24 bit support 2 years ago, and haven't updated it since to be a good sign that the code base is highly stable and bug free.<br />

    <br />

    I just cannot see a way to support the idea that ALAC will have quality issues in the future that are more significant than FLAC. Both are fixed formats that have little chance of change in the future. Both are ancient. Both have near universal support in player applications and perhaps most important, both have shown very few interoperability issues over the years.<br />

    <br />

    In any case, long live FLAC as the audiophile archival format of the present! :-)<br />

    Share this comment


    Link to comment
    Share on other sites

    I get the concept that uncompressed (eg. AIFF) if nothing else, avoids any issues associated in playback associated with decompressing the file.<br />

    <br />

    I also get why people would choose to use FLAC uncompressed to get tagging advantages.<br />

    <br />

    What I don't get is even if the FLAC file is uncompressed, doesn't the software process the file? After all, when presented with the file the software will recognize it as FLAC and initiate whatever the standard FLAC processing is; no?<br />

    <br />

    If so, do you really avoid the processing step if it is in FLAC format?

    Share this comment


    Link to comment
    Share on other sites

    Hi tmornini - I'm not trying to beat a dead horse with this one rather I'm pointing to some evidence as to why I don't like ALAC and why I think future problems are inevitable with such proprietary codecs. <br />

    <br />

    Please see this post -> http://www.computeraudiophile.com/content/New-ALAC-problem-not-affecting-playback-iTunes-Decibel-Fidelia-and-Audirvana<br />

    <br />

    Share this comment


    Link to comment
    Share on other sites




    Guest
    This is now closed for further comments




×
×
  • Create New...