Slashdot Mirror


Which Lossless Audio Codec, and Why?

deadsquid puts forth a worthy follow up question to last week's query on audio codecs: "I'm about to re-rip my entire CD collection for the fourth time. I don't want to do it again, so have decided to invest in a small(ish) array and use a lossless codec to create a reference set of my music. From the reference, I plan on transcoding to a variety of bitrates (depending on where the final product will end up) and whichever format of the week suits the device(s) the transcoded content will ultimately sit on. I don't particularly care about encoding time, but would like something that transcodes nicely to MP3, WMA, OGG, and other formats in a reasonable length of time. I would like to ensure that track metadata is maintained in the reference, and is easily transferable when transcoded. I also want something that's not proprietary to an individual's or small group's whims. I'm thinking FLAC, but was wondering if other people had better experiences with other codecs. If you were to use a lossless encoding format, which would you use, and why?"

131 comments

  1. Again? by BrookHarty · · Score: 3, Interesting

    I'm about to re-rip my entire CD collection for the fourth time.

    Thought I saw this story already this week, wierd.. But one question, why for the 4th time? I've been ripping to MP3 since my Amiga days. ;)

    And my Car stereo plays MP3s, I dont see me going to a different codec for awhile. A long while.

    1. Re:Again? by jsimon12 · · Score: 0, Flamebait

      Yeah I gotta say, 4 times seems excessive. I have been doing 128k MP3 since the 90's and it is good enough (and those CD's have been in boxes collecting dust for years now. But then again I am not a audiophilem, just like my toons.

    2. Re:Again? by gl4ss · · Score: 3, Insightful

      too much time on his hands. or maybe the music will just sound better then.

      in answer to the question though, flac is perfectly usable for that and will remain free and there will be tools that understand it.

      --
      world was created 5 seconds before this post as it is.
    3. Re:Again? by OmniVector · · Score: 3, Insightful

      i know.. seriously people. mp3 is going to be around for a very long long time. why are you even bothering with any other format? every single device plays mp3s (except for sony's piece of shit first try at a digital music player). every OS plays mp3s. they're more than good enough for all but the most anal retentive of audiophiles. if you're really overly concerned about quality even in that case, just use VBR mp3s.

      --
      - tristan
    4. Re:Again? by Nasarius · · Score: 2, Informative

      128kbps MP3s? Ouch. I guess you just don't have decent audio equipment? A ~$90 pair of Sennheiser headphones is more than enough to tell the difference between 128 and 192 if you appreciate the music at all.

      --
      LOAD "SIG",8,1
    5. Re:Again? by BovineSpirit · · Score: 1

      Because Ogg Vorbis and AAC sound better while taking up the same amount of space. Also you can't be sure that mp3's will last forever. It would be nice to play CD quality tracks off a HD through my stereo. I can sometimes hear compression, even if others can't. I'd to like to put AAC tracks on my laptop, and ogg onto my Rio Karma, so burning to a lossless format then converting to whatever makes sense for me.

    6. Re:Again? by p2sam · · Score: 1

      A $90 pair of headphones cost too much for most people's budget for music appreciation.

    7. Re:Again? by mellon · · Score: 4, Informative

      You can't edit mp3s. Well, you can, but the results aren't good. You have to decompress the mp3, do your editing, and recompress, and chances are that you're going to get artifacts when you do this. So if you ever intend to use an audio file for any kind of editing, you really want it stored losslessly.

      At Diamond Mountain University, we typically record all our classes, at 16bit 44khz mono, which consumes a substantial amount of disk space. When people record directly to MP3 it's a huge hassle because I can't take the audio and do dynamic range compression on it without creating artifacts, which means that you can't listen to it on your car stereo unless you have a luxo-mobile with really good sound baffling.

      Right now I store all this stuff as AIFF files, but the idea of converting them to FLAC files is definitely attractive.

    8. Re:Again? by KDan · · Score: 1, Insightful

      Those people's music appreciation is hardly worth mentioning, let's face it.

      Daniel

      --
      Carpe Diem
    9. Re:Again? by dubl-u · · Score: 1

      seriously people. mp3 is going to be around for a very long long time. why are you even bothering with any other format?

      Aside from the good reasons others have mentioned, it's because there isn't just one MP3 format. Sure, anything can play most any MP3s, but there are many options for bit rate, and lots of different encoders with different encoding characteristics.

      A friend of mine does exactly this (giant array with all CDs losslessly compressed), and then encoding what he needs when he needs it. That way when he's DJing or putting together a mix, he gets high quality. When he wants to squeeze a bunch of stuff on his iPod, he optimizes for space. And when the latest encoders improve things, he just writes a batch job and lets the box chug away for a couple of weeks.

    10. Re:Again? by op00to · · Score: 2, Insightful

      You know, I run a state-of-the-art cable conditioning service. All very high technology. I'd like to talk to you about the cables you use for your audiophile setup. With our SPECIAL TECHNOLOGY, we can make your music sound 50% better! Or something...

      Ever hear the old joke "What's the mating call of a Sorority Girl? I'm SOOOOO drunk!" That's sort of like the mating call for an idiot who is easily parted with his money: "I'm an audiophile!"

    11. Re:Again? by orangesquid · · Score: 4, Interesting

      Actually, if you get into signal processing and transmission line theory, you will see that cables make a difference, for the same reasons that you wouldn't use CAT3 wiring for gigabit networking or indoor extension cords outdoors in a thunderstorm. Of course, paying $50-$200 for a pair of headphones to use in a professional recording studio isn't unreasonable. Paying $2,000 for a pair of headphones to wear while jogging, on the other hand, is quite unreasonable. Sanity has a sliding scale.

      But, yeah, there is a point at which you can't justify the extra cost, and you're just throwing away your money. It's like Joe Sixpack buying vintage wine when he can't tell the difference between it and the cheap stuff.

      But, back on topic:

      My experience with flac is that it is VERY quick to encode and decode. Compression isn't an order of magnitude like MP3, of course, but you might be able to shrink files by a significant quantity (not quite a clearance rack or going-out-of-business sale, but definitely like black Friday). Since it's so damn fast, it's trivial to re-encode flac to other formats.

      --
      --TheOrangeSquid Is it any wonder things seem so awry? We swim in a sea of confusion and don't have to think to survive
    12. Re:Again? by ABaumann · · Score: 2, Funny

      If a $90 pair of headphones makes your audio sound worse then you really need to reconsider your purchases.

    13. Re:Again? by Sancho · · Score: 1

      My favorite portable audio player doesn't play mp3s by default. You have to pay. It plays oggs by default. For free.

      Also, some people want to use other formats for the same reason some people want to use Linux--to get away from proprietary/patent-encumbered software.

    14. Re:Again? by bluephone · · Score: 2, Insightful

      Actually, your 128's will simultaneously sound better _and_ worse. The freq response will be better, clearer, but you also will be able to notice compression artifacts more. Enough so that when you switch to 192, you'll be able to hear much improvement, moreso than if you just went to 192 with the five dollar Sony headphones that came with your Discman.

      --
      jX [ Make everything as simple as possible, but no simpler. - Einstein ]
    15. Re:Again? by Yohahn · · Score: 1

      Rather than moving to mp3 at the end, you might look into speex. I used this for putting church sermons on the net and got a good size/quality trade off.

      I'm suprized for lectures, speex isn't used more often.

      http://www.speex.org
      (they're part of that whole xiph/vorbis bit)

      The folk over here make it work under windows/media-player as well!

    16. Re:Again? by Nasarius · · Score: 1
      There's a lot of dumb crap going on in the consumer audio industry, but how exactly does spending $90 on a good pair of closed-back headphones make one an "idiot"? Do you really think that the $10 ones that don't even fit your ears properly are just as good? Now, $1,000 (with replacement cables that cost $200) is pushing it...

      $90 is peanuts compared to what people will spend on crappy 5.1 computer speakers, and I get better audio quality. If you really can't tell the difference, put on a CD of "Dark Side of the Moon" and crank it up.

      --
      LOAD "SIG",8,1
    17. Re:Again? by Matthew+Weigel · · Score: 1

      Uh... the difference is obvious on my $20 Sony headphones. 128kbps just sucks.

      --
      --Matthew
    18. Re:Again? by Echnin · · Score: 1

      I just got a new pair of headphones (Sennheiser HD 555) and am considering lossless audio codecs... And a new sound card... But yeah, with cheap equipment it goes without saying that you won't notice the difference between an MP3 and a CD. Some of us do appreciate the extra quality, though, without being "audiophiles" or anything.

      --
      Lalala
    19. Re:Again? by zoeblade · · Score: 1

      sony's piece of shit first try at a digital music player

      I hate to break it to you, but CDs, MiniDisc and DATs are all digital formats, and Sony make players for all three. They've all been around a lot longer than mp3s have, too.

    20. Re:Again? by HawkingMattress · · Score: 1

      Sorry, but no.
      mp3s really have issues when you listen to them on good quality speakers/amplifier, especially in the high frequencies (charlestons, cymbals etc). It's not a total crap either, but you can clearly tell the difference between the mp3 and the cd. The cd will sound much more precise in those frequencies, and it really makes a difference.
      Yes, you probably can't tell the difference if you have a basic stock hifi system because higher frequencies are literally not rendered at all by the speakers.

      For now I still encode my music as mp3s, because it would cost me too much to store everything in lossless. But i know i'll feel silly in say 5 or 10 years, when the space taken by lossless won't be an issue any more.

    21. Re:Again? by HawkingMattress · · Score: 1

      A troll ?? Insightful , maybe ? Even on $3 headphones you could tell the difference between 128 and 192. 192 is the bare minimum at 128 all cymbals sounds like if the drummer was playing under water or something.
      Parent is right, most people don't really listen to music, they use it as something to fill silence and don't give a flying pig about how it sounds. They don't hear the difference because they're not paying attention at all. So they mod you down because you sound elitist, seesh... train your ears, just a little, maybe ?

    22. Re:Again? by X0563511 · · Score: 1

      I can tell the difference between 192kbps and 256kbps, over the crappy $5 headphones that came with the player.

      But then again, I can also hear dog whistles, so I take it my ears don't have the average range. (even though I have a 6db loss in one ear and a 37db loss in the other).

      MP3 is tolerable for me, but lossless is better. OGG does it a little better than MP3, but thats more likely because it tossess different information that I can't hear - and nothing out there plays ogg, and can't (because hardware is integer based, ogg uses floats)

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    23. Re:Again? by harrkev · · Score: 1

      Audio 20,000 Hz.
      Gigabit ethernet = 1,000,000,000 Hz.

      ** WAVELENGTH **
      NOTE: I assume that the speed of a signal in a wire is 0.8 times the speed of light.
      Gigabit ethernet = aprox 9 inches (length of one bit)
      Audio = approx 7 1/2 miles (wavelength of highest audible frequency).

      So, what you say is true, but it only matters if the length of the cable is comparable to the wavelength of the signal or longer.

      If anybody has speaker cables longer than 4 miles, then they should definately spring for some controlled-impedance cable.

      --
      "-1 Troll" is the apparently the same as "-1 I disagree with you."
    24. Re:Again? by harrkev · · Score: 1

      Really?

      128K MP3 = approximately 10X compression.
      FLAC = approximately 2X compression.

      Fo FLAC takes up 5X hard drive space as 128K MP3. If you are a true audio nut, I doubt that you encode most of your stuff at a mere 128K. So FLAC files actually start to seem attractive with todays hard drives.

      For that matter, $50 after rebate would get you over 150 albums of hard drive space -- stored as .WAVs!!!

      Back with hard drives were 2BG, this was a big deal. Now, a common hard drive is in the 200GB range. Storing as a .WAV is actually practical now.

      --
      "-1 Troll" is the apparently the same as "-1 I disagree with you."
    25. Re:Again? by afidel · · Score: 1

      I really doubt it for 99.99+% of listeners, systems, and tracks. I've done blind ABC testing between source, LAME VBR mp3 with extreme settings, OOG, and some other codecs and I can't pick out the LAME MP3's vs source for almost all tracks. I have Sennheiser HD555 headphones and tested perfectly on my hearing test at my last work physical.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    26. Re:Again? by spagetti_code · · Score: 1
      You are missing the point of MP3s - a compressed storage that sounds great, plays anywhere and will be around for a long long time. Its the format best matching these conditions.

      If any of these reasons doesn't work for you, choose another format:

      • If you want perfect reproducability from your CD original (or recordings), use AIFF, FLAC or WAV.
      • If you want more compression while keeping good sound, and dont mind if it wont play anywhere, try OGG or WMA.
      • If you want to edit, use AIFF or FLAC.
      • ... and so on...
    27. Re:Again? by ekuns · · Score: 1

      I have an iRiver H340 which plays ogg vorbis very well. There are also integer based ogg vorbis methods available. I don't know if the iRiver players use floating or integer codecs for ogg, but I do know that I can listen to my ogg files with no problem.

    28. Re:Again? by Andy+Mitchell · · Score: 1

      Speaking as someone with a degree in electronics I can honestly say that the marketing of high end speaker cable is one of the biggest piles of male bovine excrement out there. Both theory and blind listening tests have shown that twin core mains cable actually makes decent speaker cable. The reason is simple, at the frequencies we are talking about the critical parameter is resistance.

      There are far too many myths in the area of speaker cables, e.g. silly ideas like its directional. In practice the least linear and most imperfect part of the hifi setup is normally the speakers (or headphones). The frequency response of speaker cable and decent modern amplifiers are very flat.

    29. Re:Again? by MikeBabcock · · Score: 1

      I can't stand anything less than 224 produced by bladeenc if I'm using MP3s on most of my CDs.

      Just my preference -- I know people who think their 96's sound perfect. Personally, they're deaf.

      --
      - Michael T. Babcock (Yes, I blog)
    30. Re:Again? by mellon · · Score: 1

      I use MP3s for audio delivery, just not for archival storage. Dunno where I said in there that you shouldn't use MP3s for anything; just that if you want something that's archival, MP3s aren't the way to go.

    31. Re:Again? by mellon · · Score: 1

      The trouble with stuff like this is that you need it to be usable on an iPod or there's no point in it. Speex doesn't claim to be available on the iPod. I'm not kidding, by the way - half the people who listen to the stuff I produce do so on an iPod, so it has to be MP3 or AAC. I use MP3 because AAC only works on iPod. Sigh.

    32. Re:Again? by rudolfel · · Score: 0

      every OS plays mp3s. they're more than good enough for all but the most anal retentive of audiophiles. if you're really overly concerned about quality even in that case, just use VBR mp3s

      That's pure bullshit. Mp3 not only fuck's up the spectrum of the sond but also the dinamics range of the sound. There are songs which I cannot listen on mp3 even at 320kbps. MPC format is in this respect a little bit better than mp3 but the filesize is much bigger. I prefer lossless encoding. In mp3 a 90dB dinamic range becomes a 20 dB dinamic range.

      --
      -- Segmentation fault. Core dumped
  2. Flac for sure by LiENUS · · Score: 2, Informative

    Flac would probably be the best to use for one reason. It's open source, no fuss no mess just open source. Plus I believe there are now portable music players that support flac.

    1. Re:Flac for sure by bersl2 · · Score: 1
    2. Re:Flac for sure by lambent · · Score: 1


      I 2nd the motion for FLAC. It has the added benefit of wicked fast encoding times, and light processor usage.

      In my very unscientific tests on my own machine, it has performed the best by any measure, when comapred to comparably sized and qualitied files. (compared to MP3, AAC, WMA, etc.)

    3. Re:Flac for sure by eggoeater · · Score: 1, Insightful
      use a lossless codec to create a reference set of my music I don't particularly care about encoding time something that transcodes nicely to MP3, WMA, OGG, and other formats in a reasonable length of time I also want something that's not proprietary
      uh...why not create wave files and then compress the hell out of it with a separate data compression program. It won't be as small as MP3, but no loss-less compression will. It doesn't get any more non-proprietary or loss-less than that.
    4. Re:Flac for sure by Anonymous Coward · · Score: 0

      Flac at max compression will be smaller than a wave with max zipped compression. (Based on tests of some of my audio CDs).

      Also, in a zip compressed wave it isn't as seekable as a flac file. Flac files also can still be played if part of the file is inaccessable.

    5. Re:Flac for sure by Anonymous Coward · · Score: 0

      Size. The flac file will be smaller than a zipped wave file.

      Sample tests (Using track 7, Superheroes, from Daft Punk's Discovery CD) - about 4 minutes long.

      (du -a /tmp/w | sort -g for how I got this)
      (command to generate the "hi.wav" file was " flac -d -o hi.wav 07.Superheroes.flac" )

      Base file, "flac --best"
      29388 /tmp/w/07.Superheroes.flac
      "flac --best --ogg" - flac file in ogg transport
      29688 /tmp/w/hi.flac.wav.ogg
      bzip2 -9
      37904 /tmp/w/hi.bz2.wav.9.bz2
      bzip2 -1
      38564 /tmp/w/hi.bz2.wav.bz2
      gzip -9
      38800 /tmp/w/hi.gz.wav.gz
      zip -9
      38800 /tmp/w/hi.wav.zip
      Plain, uncompressed wave file
      41012 /tmp/w/hi.wav

    6. Re:Flac for sure by booch · · Score: 3, Informative
      uh...why not create wave files and then compress the hell out of it with a separate data compression program
      That's pretty much what FLAC is -- it's a specialized data compression program. To a "normal" data compression program (ZIP, gzip, etc.), audio data looks pretty random, so it wouldn't do a very good job. The important lesson here: knowing more about your data allows you to compress it better.
      --
      Software sucks. Open Source sucks less.
    7. Re:Flac for sure by maxume · · Score: 1

      This still leaves the problem of storing the metainfo with the data. I'm not sure about FLAC, but standard wav files don't really have any provisions for this...

      --
      Nerd rage is the funniest rage.
    8. Re:Flac for sure by anti-trojan · · Score: 1

      IIRC RAR has a special audio compression mode that compresses nearly as much as FLAC. It may be worth a try.

    9. Re:Flac for sure by Yer+Mom · · Score: 1

      Yeah, FLAC stores metadata, using Vorbis comments. There's various tagging programs that'll happily deal with FLACs, such as mp3tag for Windows or Media Rage for Macs. Finding Linux/BSD software to do it shouldn't be a problem, of course :)

      --
      Never mind Spamassassin. When's Spammerassassin coming out?
  3. Definitely FLAC by Punboy · · Score: 3, Informative

    I would definitely go with FLAC. No patent/IP worries, no licensing... its opensource... and it transcodes very nicely. I use it personally for my entire collection except what I switch over to my iPod, which is when I transcode it to 192Kbps AAC. Don't use Apple's Lossless, it has licensing issues and Linux decoders are buggy at best. Don't use RAW or WAV cause um... they're too big.

    --
    If you like what I've said here, and want to read more, go to http://www.krillrblog.com
  4. The best sound format: by Randolpho · · Score: 3, Funny

    .MIDI 'nuff said.

    *ducks*

    --
    "Times have not become more violent. They have just become more televised."
    -Marilyn Manson
    1. Re:The best sound format: by zoeblade · · Score: 3, Funny

      MIDI

      Saying that MIDI sounds bad is like saying that ASCII has a bad font.

      My full rant's on E2 if you'd like more detail on the matter.

    2. Re:The best sound format: by Drooling+Iguana · · Score: 1

      MODs pwn MIDIs.

      --
      ... I'm addicted to placebos
    3. Re:The best sound format: by Randolpho · · Score: 1

      Hey, now, I never said MIDI sounded bad. *THAT* depends on your sound system and how good a composer you are.

      But it *is* a lossless format, so I stayed topical. Not quite good for ripping CDs, though, which is why I ducked. :)

      --
      "Times have not become more violent. They have just become more televised."
      -Marilyn Manson
    4. Re:The best sound format: by MikeBabcock · · Score: 1

      Realizing that the parent wasn't really saying anything bad about MIDI, I have a similar rant I use on people who tell me they're greatful for mp3 soundtracks in games because MIDI sounded terrible in the old days. I guess I was one of the few with a good Yamaha MIDI chip ... and a friend of mine had his sound card hooked up to his professional grade MIDI keyboard for output through concert speakers. Even Lemmings sounded good ;-)

      --
      - Michael T. Babcock (Yes, I blog)
  5. It's only Math by digitalchinky · · Score: 1

    So long as you follow Mr Nyquists theorem, all will be well with your endeavour.

    1. Re:It's only Math by LSD-OBS · · Score: 2, Informative

      Considering he wants to back up his music in lossless form from a digital media source, Nyquist's theorem has nothing to do with it unless he's having to resample the CD through his audio card's input (an extra ADC->DAC step), which I would strongly advise against.

      All he wants is a lossless audio codec which will take 44100Hz 16bit stereo as input, and encode it that way. FLAC sounds perfect for the job.

      --
      Today's weirdness is tomorrow's reason why. -- Hunter S. Thompson
  6. FLAC works nicely by obrienb · · Score: 1

    I've been ripping and encoding my CD's (~700) and I've used FLAC so that I won't have to do it again. I'm getting anywhere from 50% to 70% compression...so you will need a LOT of disk space. At the same time, I've also been encoding into Ogg Vorbis so I can stream them using a tool that acts as an encoder but calls other encoders (the name of which escapes me at the moment:-). I must say that the RIP takes a lot longer than either encoding step.

  7. Use Flac by JFitzsimmons · · Score: 2, Informative

    Flac: Opensource, nonproprietary, cross platform, and has very good integration with ogg/vorbis.

    As for metadata retention, that depends entirely on your encoder. I highly doubt you will ever find a WMA encoder that can retain the tags from a FLAC file, or mp3 for that matter. Oggenc (the vorbis encoder) does it by default:

    $ oggenc -q7 *.flac

    This will create ogg/vorbis files with the same filenames and will retain all FLAC tags.

    I have no idea about mp3 encoders, becuase I almost never use them. I can say that I would doubt that they can directly open a FLAC file, and I would also doubt they can retain the tags - to achieve this you would probably need some sort of intermediary script or program to handle the FLAC -> WAV -> MP3, as well as tag transiton. That being said, most of the good mp3 encoders are open source, so it could be possible that FLAC support could be hacked into them.

    Another solution would be to rip to every format at once. abcde (a better cd encoder) has support for several types of output, while only ripping the CD once. In fact, I would reccomend abcde regardless of what you choose, because it is great for batch rips.

    Just as a last note, why in hell would you want to use WMA? I can understand vorbis and I can understand MP3, but why WMA?

    --
    Beware he who would deny you access to information, for in his heart he dreams himself your master. -Anonymous
    1. Re:Use Flac by afidel · · Score: 1

      Here is a Perl script to batch convert flac to mp3 including preservation of id3v2 tags. As to why use WMA, well if you have a WMA player which doesn't support mp3.....

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    2. Re:Use Flac by TiggsPanther · · Score: 1

      Cool. I'll be trying that next time I need to transcode some FLAC files to Ogg Vorbis. I did this recently but didn't know that oggenc could directly handle FLAC files (or maybe the binary I had wasn't compiled with the right flags or sommat), so I had to pipe it with the FLAC decoder and then manually re-tag the files.

      Not a problem for one album but it is the reason I don't do more things via FLAC first, 'cos for several albums at a time that would be a bind.

      --
      Tiggs
      "120 chars should be enough for everyone..."
    3. Re:Use Flac by JFitzsimmons · · Score: 1

      That's awesome :) *bookmarks*

      --
      Beware he who would deny you access to information, for in his heart he dreams himself your master. -Anonymous
  8. comparisons of lossless compression by belmolis · · Score: 5, Informative

    I made some comparisons of lossless compression techniques a while back. This web page contains the results of my own tests (for speech data) and links to the tests I found (for music). I use FLAC.

  9. Stay Tuned for Next Week's "Ask Slashdot" by Anonymous Coward · · Score: 5, Funny

    excerpt:
    "I'm ripping my entire audio collection to lossless audio files and I need a cheap large-volume storage solution...."

    1. Re:Stay Tuned for Next Week's "Ask Slashdot" by dubl-u · · Score: 1

      "I'm ripping my entire audio collection to lossless audio files and I need a cheap large-volume storage solution...."

      I'll be on vacation next week, so let me add one valuable reminder now.

      As a habit now, any box I build has two drives in a RAID-1 mirror set; compared with the pain of recovering from a failure, the cost of the extra drive was good insurance. And I thought RAID-1 was fine; how likely was it that two drives would fail at the same time?

      It turns out that if you buy the same model of drive at the same time, drive failures are much more correlated than random chance. Out of four drives I had bought at the same time, three of them failed within a two week period. (They were the now-infamous IBM Deskstars.) It made me very sad.

      Now I'm inclined to mix drives from different manufacturers, and I like to keep a spare drive at hand, so that I can keep the high-risk period as small as possible. Or for RAID-5, I'm a big fan of the hot spare.

  10. Consider longevity of the codec by rubinson · · Score: 3, Insightful

    Almost certainly FLAC will be what most people recommend. And it very well may be the correct choice for your situation. But I'd also take into account longevity of the codec. The fact that FLAC is open source, patent-less, etc is only a buffer against obsolescence, not a guarantee. WAV's, for example, have been around forever and are so entrenched that you can be certain that support for them isn't going anywhere. FLAC, on the other hand, has only been around for about 4 or 5 years.

    1. Re:Consider longevity of the codec by mellon · · Score: 1

      The nice thing about an open source codec is that you can keep a copy of the source code alongside the audio files. So at least in theory the codec will last as long as the audio does. For really long-term archiving I'd be tempted to put a minimal implementation of the decompressor at the beginning of each compressed file...

    2. Re:Consider longevity of the codec by Vaevictis666 · · Score: 2, Informative
      This isn't really an issue - the reason WAV has been around for so long is that it's just doing a direct read of the bits on the audio CD, and dumping them to a file.

      FLAC is a free method to losslessly compress those WAV files, so should be as good as any, really. The point behind ripping lossless is so that you can just transcode when something new comes along - if someone comes up with a lossless encoder that makes 10% smaller files than FLAC, then it's a simple job to write up a script that traverses the drive array, re-encodes lossless to lossless, and deletes the old flac file.

      All in all, I would suggest that the longevity of the codec is a pointless metric to use - it's useful until something else comes along, but that New Thing will probably invalidate any other contender as well. The big question is how well supported FLAC is as an input source for transcoding from, which from what I understand is pretty good as far as linux commandline tools go.

    3. Re:Consider longevity of the codec by belmolis · · Score: 5, Informative
      the reason WAV has been around for so long is that it's just doing a direct read of the bits on the audio CD, and dumping them to a file.

      Not exactly. WAV is a FILE format, not an audio representation format. The audio data can be in any of dozens of formats, many of them involving lossy compression. One of the registered audio data formats (with ID 1) is straight PCM data, that is, uncompressed audio in the usual format. WAV files often contain straight PCM data, but they don't have to. (I've got some lecture notes on audio data and file formats here.)

    4. Re:Consider longevity of the codec by man_ls · · Score: 2, Interesting

      Agreed...back in the day I had some kind of program that wouldn't export to MP3 unless you paid extra for it.

      So, I exported as WAVs, with MP3 as the compression scheme...then renamed to .MP3, it worked fine.

    5. Re:Consider longevity of the codec by DaveCar · · Score: 1

      Which spong marked the parent as "Insightful"?

      I've been having to do this for work and flac produces a file which can be decompressed to the _exact_ original file (MD5/SHA1 sums match).

      If something better comes along, just reverse the flac and re-encode.

      Just write yourself a wrapper which hashes the original, encodes, decodes, hases the decode and compares the hashes before deleting the original.

    6. Re:Consider longevity of the codec by The+Dark+Rabbit · · Score: 1

      Also, to my knowledge .Wav files don't support tagging, whereas most of the lossless formats do. Sure, you can put a lot of that info in the filename, but if you like details then that filename could get quite long.

      e.g. 05-Bob Dylan-Blood On The Tracks-You're Gonna Make Me Lonesome When You Go-Folk-1974.wav

      And then, if you want to carry that info across in a transcode, you've got to write a script that can extract it from the filename, or use tagging software after the fact. Every time you transcode.

      Tagging is a good thing.

    7. Re:Consider longevity of the codec by jabuzz · · Score: 1

      Then you would be utterly wrong. The .wav file format supports all sorts of ways of saving extra metadata to them in the INFO stream. How many programs are able to manipulate this data is another question, but it is most certainly possible.

  11. We Need a Listening Test by Doug+Dante · · Score: 5, Funny

    Sorry, but I'm an avid audiophile, and just because all lossless audio codecs generate digital output streams identical to their digital input streams does not mean that they sound the same! We must verify that those bits still sound the same via our one way gold plated speaker cables!

    --
    The world will not get better through technology. We must seek to be better people.
    1. Re:We Need a Listening Test by doofusclam · · Score: 1
      We must verify that those bits still sound the same via our one way gold plated speaker cables!


      I can't believe your obviously joke post has been modded +4 Insightful :)

      *bangs head on desk*
    2. Re:We Need a Listening Test by Anonymous Coward · · Score: 0

      And don't forget to use a $2000 power line conditioner or the results of your test will be invalid!

    3. Re:We Need a Listening Test by chudgoo · · Score: 1

      How on earth did something so damned funny get modded as insightful?! I'm confused...I'm gonna go apply a fresh coat of green ink to my CD player's lens...

    4. Re:We Need a Listening Test by Anonymous Coward · · Score: 1, Informative

      Remember that "Funny" doesn't give you karma. Being that only one guy modded him "Insightful", that guy probrably felt that he deserved karma, even though he was being funny.

    5. Re:We Need a Listening Test by chudgoo · · Score: 1

      Ah...makes sense. That's cool that you were that thoughtful!

    6. Re:We Need a Listening Test by TheGratefulNet · · Score: 1

      hope slash doesn't mangle this url:

      special fiber optic cables, audiophile grade

      have fun...

      --

      --
      "It is now safe to switch off your computer."
    7. Re:We Need a Listening Test by AndrewRUK · · Score: 1

      Why link to April Fools jokes, when the real thing is so rediculous? They're mad, I tells ya, mad!

    8. Re:We Need a Listening Test by Anonymous Coward · · Score: 0

      the insight is that 'audiophiles are stupid'

  12. General slash response... by sethadam1 · · Score: 4, Funny

    Let me sum up this entire thread so far and everything that will eventually be added for you:

    FLAC blah blah blah. Blah blah Monkey's Audio. Blah blah FLAC blah. Blah blah SHN! Blah. WAV. Blah blah OptimFROG blah blah blah. Blah blah. WMA. WMA?! Blah! Monkey's Audio blah. Blah blah FLAC.

    There you go: FLAC.

    1. Re:General slash response... by ABaumann · · Score: 1

      I think your keyboard codec is broken. I was getting a lot of pops and noise.

  13. Aye by numbski · · Score: 3, Funny

    But I have to say this:

    The audiophile with the biggest flamethrower is going to win out on this article. ;)

    --

    Karma: Chameleon (mostly due to the fact that you come and go).

  14. standard response by YrWrstNtmr · · Score: 0

    Write one yourself.

  15. I just started doing this again myself... by Malor · · Score: 3, Interesting

    I invested in a good-sized array (5 250g drives in a RAID-5), and I'm in the middle of reripping my entire collection.

    The format I am using is BIN/CUE... I'm trying to take a perfect copy of the actual CD, so that I can recreate it when I wish. My original goal was to copy every bit on the CD.

    From what I have found, however, none of the CD image utilities out there make a bit-perfect copy of audio CDs. I have tried Alchohol, Blindwrite, and something else, and NONE of them result in bit-perfect rips with EAC from the image afterward.

    The only way I found I could get bit-perfect copies of the music was to use EAC with its AccurateRip database. EAC won't copy anything but sound, so I'm losing the 'extra' content that comes on some CDs. However, what I really care about is the music, so if I have a bit-perfect copy of that, I'm happy.

    There are two major ways to make BIN/CUES... separate wav files, or a single wav file. Both require a CUE sheet to reassemble into a CD image. I chose the single-wav format, because this makes tagging when I actually extract the data into whatever I want to use easier. The separate wav file approach would allow you to more easily access the individual files with a script. I suspect this may be a technically superior approach. But I'm using single WAVs anyway, even though it takes more work.

    My actual rip process:

    Buy a really good CD drive to rip with. I'm using a Plextor Premium.
    Install CYGWIN or find some other way to script a quick 'diff'. (I'll put my tiny script at the end).
    Install Daemon Tools to mount images.
    Run EAC (I have installed the AccurateRip database as well)
    Set EAC to rip to Track%N.wav when extracting.
    Rip CD to individual WAVS on the C drive, ensure that everything is either bit perfect or the CD is unknown. AccurateRip only understands individual tracks, so this is the only way I've found to verify that my original CD is perfect.
    Have EAC create a separate-files CUE sheet 'with leftout gaps'.
    Edit CUE sheet to remove anything but INDEX 00 lines. Remove all PREGAP and INDEX 01 lines. (This was the only way I could get bit-perfect second-generation rips.)
    Mount CD image. Rip again to a single-file BIN/CUE image. (this is very fast, 30 seconds to 1 minute on my system) (this will be what you keep)
    Mount new image. Rip AGAIN to individual files in a separate directory. (again very fast)
    Run a 'diff' between the first generation rips and the final generation. If they're exact copies, then you have a bit-perfect BIN/CUE.
    Copy BIN/CUE to server.
    Delete everything and start on the next CD.

    It would be perfectly possible to skip the second and third-generation rips, since you know you got a good copy the first time, but I prefer the single-file approach... I don't want to work with the wav files directly because I don't have tag info for them in that format. And it doesn't take very long to create the single-file image, so I go ahead and do it that way.

    Then the next step is to mount the images and rip with whatever software you want to use. I'm using iTunes. I just mount the images with Daemon Tools off the server and rip with iTunes, which always seems to recognize the CDs. I also found that if I bump iTunes' priority down to Below Normal, my rips go ENORMOUSLY faster... they jump from about 8x (dismal) to about 45x. I assume Daemon Tools isn't running at very high priority and iTunes interferes with it... by bumping iTunes down, it doesn't interfere as much and rips faster.

    Oh, iTunes also didn't like the 'Generic' label that Daemon Tools uses by default, it seems to be coded to explicitly not recognize a drive with that label. I changed mine to be a 'Pioneer' 'DVR-1X' during the Daemon Tools install, and then iTunes used it fine.

    Once you're done ripping, then script something on your server to compress your WAVs with whatever compressor you want. You won't be able to mount them without uncompressing them again, but you'll save a lot

    1. Re:I just started doing this again myself... by smallfries · · Score: 1

      Maybe I'm missing something here but what's wrong with doing: dd if=/dev/cdrom of=myrip.bin

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    2. Re:I just started doing this again myself... by Punboy · · Score: 1

      eeeerrrrr....... "dd if=/dev/cdrom of=cd.img"

      --
      If you like what I've said here, and want to read more, go to http://www.krillrblog.com
    3. Re:I just started doing this again myself... by balamw · · Score: 1

      Personally I use EAC or PlexTools Pro to rip to FLAC and embed the cuesheet and then have been using Nero ImageDrive to mount the image as a virtual drive and rip into iTunes, so I get all the tags in the usual way.

      I ran into the same issue you reported with iTunes not recognizing the virtual drive until I did some digging and found the following file: "C:\Program Files\iTunes\CD Configuration\gcdroem.cfg". In there you'll find a section like

      [VIRTUAL DRIVE]{RecorderType:VIRTUAL}<gcdrmmc.dll>
      VOBID InstantDrive CD
      CopystarFANTOM DVDROM
      NERO IMAGEDRIVE2
      OBVIOUS DVD-ROM MAGIC 62
      Generic DVD-ROM
      Remove or edit the offending entry and you're off to the races.

      B

    4. Re:I just started doing this again myself... by Malor · · Score: 3, Interesting

      Truly accurate CD ripping is fairly hard, at least when the CD isn't factory fresh and totally perfect. A simple dd will indeed copy the image, but it's really designed for data, not audio. If your CD has any scratches, it is highly, highly likely that your copy will be imperfect. Audio CDs, unlike data discs, don't have much in the way of redundancy, and it's easy for errors to be missed by the OS.

      EAC, on a good drive, will see problems that dd just doesn't catch. It knows how to talk to the better drives, like the Plextors, that will report C2 error information. When it finds a problem, it will retry numerous times at different speeds, trying like mad to get a solid copy. It's surprising just how good a job it does, even on rather questionable CDs. dd offers none of this. It's not an audio ripper, it's just a data copier.

      EAC, combined with the AccurateRip database, is a way to be CERTAIN you got a perfect rip, or at least the exact same results that other people have gotten. You simply have no way to know if you extracted properly with dd.

      And don't think that just because your CDs are unscratched that they will extract perfectly. I have a couple of CDs that report errors even though their surfaces are apparently perfect. My copy of the old Lost Boys soundtrack is particularly bad. I've run it through several polishing sessions, and there are no visible scratches of any kind, but EAC has a heck of a time with it. I assume that it must be a poor-quality pressing. A couple of tracks on the disk are damaged past EAC's ability to compensate, and I need to find new copies. Had I been using dd, I wouldn't have known.

      Remember, I'm trying to archive here. I'm trying to get it PERFECT, so that I never, ever have to do it again. If you just want a casual rip to toss in your iPod, that's a rather different goal.

    5. Re:I just started doing this again myself... by Anonymous Coward · · Score: 0

      Dude, if you can claim that nothing gives you a bit perfect rip except EAC's Accurate Rip and that you can tell a difference, I have to admit that I'm surprised you are even using audio CDs. If you're that picky, I would have figured you'd be one of those guys with a $20,000 turnable because guys as picky as you usually believe that ONLY vinyl gives a true reproduction of the sound and CDs aren't accurate because some of the sound (above the range of normal hearing) is lost as part of the sampling process.

    6. Re:I just started doing this again myself... by Malor · · Score: 1

      It doesn't MATTER whether or not I can tell the difference. I'm trying to get the archive EXACTLY right so that I don't ever have to do it again. If I'm going to put all the effort in, I might as well do it perfectly, no? I want to make sure that my electronic archive is 100% as good as my physical CDs. Among other things, this will let me recreate the CDs someday, should I need to.

      Also, being sure that I get a perfect rip means I won't have any clicks or pops in any of the music. CDs interpolate fairly well, but some damage is quite audible, and I don't have time to manually listen to every second of every track with perfect, unflagging attention. I do, however, have time to inspect 12 or 15 lines per CD rip that tell me I got everything correct.

      Other ripping methods may give a bit-perfect rip. On a good cd with a good drive, dd might work just fine. But only with EAC and AccurateRip, in my experience, can I KNOW whether or not it was correct. The other methods may give me the same actual rip quality, but I have no way to be certain.

      And as far as your other audiophile comments go... an awful lot of stuff in the audio world is snake oil. That said, computer people in general know *very* little about what good sound is or how to reproduce it. I have only recently been coming to realize just how ignorant I am, in fact. A ritzy computer sound setup is a $400 5.1 set of speakers. In the audio world, that's complete crap. It doesn't even qualify as mid-fi. (Mid-fi is where the value is, and it is head and shoulders above 99% of computer-reproduced sound.)

      Just getting a bit-perfect reproduction of a WAV file can be really tough sometimes. Try downloading one of the DTS .wav files from a site like Swedish Radio and see whether or not your player can pipe it successfully to an outboard DTS decoder through either coax or fiber. Chances are quite good that you won't be able to do this. Windows, by default, remixes all .wav files to 48khz and completely screws them up. On a GOOD sound system, this will sound like shit. I spent months thinking that my expensive speakers weren't very good when, in fact, it was Windows and/or my Audigy 2 NX ruining the sound. Now that I have perfect lossless streams hitting my receiver, I'm much better able to appreciate how good those expensive speakers are.

      If you're coming from the computer world into the audio world, the single most important thing to do is to drop the assumption of competence. If all you know is computer sound, then your ear and brain will both need a lot of training. Almost certainly, you will be completely incompetent without knowing it, which is the worst possible outcome. I've made the transition to KNOWING I'm an idiot, at least.

    7. Re:I just started doing this again myself... by bani · · Score: 1

      Err... you can't use dd to read audio CDs.

    8. Re:I just started doing this again myself... by evilviper · · Score: 1
      From what I have found, however, none of the CD image utilities out there make a bit-perfect copy of audio CDs. I have tried Alchohol, Blindwrite, and something else, and NONE of them result in bit-perfect rips with EAC from the image afterward.

      I would suggest "cdrdao". Using it's "read-cd" option, you can make an exact copy of any CD, even with copy protection.

      I appreciate the "read-cddb" option myself, though it might not be something you want to use given your stated goals. If your CD didn't come with CD-TEXT info, you can look it up with CDDB, and it will be inserted into the CUE file. Really great option for anyone who has a CD player with CD-TEXT features.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  16. my own Ask Slashdot: car stereo with flash slot? by Tumbleweed · · Score: 1

    Okay, while we're on the audio topic - does anyone know of any car stereos that have a CompactFlash slot, or some other type of flash memory slot? I think Sony made some with MemoryStick slots, but I'm not sure they're doing that, anymore. It's hard to tell since they've ceded their car stereo section to Crutchfield's website (no kidding).

  17. Monkey's Audio (APE) by fmaxwell · · Score: 2, Informative

    Monkey's Audio (APE) is open-source and multi-platform. It compresses better than FLAC or Shorten (SHN). Easy choice.

    1. Re:Monkey's Audio (APE) by MacJedi · · Score: 1
      True, APE does compress a bit better than FLAC, however it's important to note the following:
      1. FLAC is streamable (APE is not.)
      2. FLAC has native support for several hardware players (APE supports none, to my knowledge.)
      3. FLAC is asymmetric with a bias towards faster decoding (APE is symmetric with respect to encode and decode speeds.)
      4. FLAC is licensed under the OSI approved Xiph modification to the BSD license with supporting reference code licensed under the GPL (APE code is generally available but the license is apparently non-standard enough that several Linux distributions are unwilling to package it.
      --
      2^5
    2. Re:Monkey's Audio (APE) by fmaxwell · · Score: 1

      True, APE does compress a bit better than FLAC, however it's important to note the following:

      1. FLAC is streamable (APE is not.)


      A valid point, but I have no need for streaming. I need to store lots of music on my hard drive.

      2. FLAC has native support for several hardware players (APE supports none, to my knowledge.)

      For portable players, I'll stick with high-quality VBR MP3 files. There's just not enough storage for lossless audio on them yet. When there is, I can easily transcode from APE to whatever format they support.

      3. FLAC is asymmetric with a bias towards faster decoding (APE is symmetric with respect to encode and decode speeds.)

      True. And APE is fairly CPU-intensive during both encoding and decoding. Not a problem for me on my computer, though. And it will only get easier over time.

      4. FLAC is licensed under the OSI approved Xiph modification to the BSD license with supporting reference code licensed under the GPL (APE code is generally available but the license is apparently non-standard enough that several Linux distributions are unwilling to package it.

      APE's license provides for unrestricted non-commercial use, which is good enough for me. I don't blame the author if he wants his slice of the pie when a for-profit corporation distributes his software as part of a commercial Linux distro. Nor do I blame him if he wants to refuse permission for commercial use by organizations whose views, labor practices, or ethics he finds offensive. If he doesn't want the RIAA and his ex-employer to use the package, he should be able to deny such use.

    3. Re:Monkey's Audio (APE) by MacJedi · · Score: 1
      2. FLAC has native support for several hardware players (APE supports none, to my knowledge.)
      For portable players, I'll stick with high-quality VBR MP3 files. There's just not enough storage for lossless audio on them yet. When there is, I can easily transcode from APE to whatever format they support.

      That's a good point, but I was thinking more along the lines of hardware for in-house playing of music. I have my music ripped to a lossless format in a central location in my residence and I'd like to be able to play music in my living room stereo or any of the N computers in various room. Streaming + hardware devices for playback to stereo systems (think: airTunes) makes this fairly painless. One the fly transcoding is certainly the other option, but why do it if you don't have to?

      APE's license provides for unrestricted non-commercial use, which is good enough for me. I don't blame the author if he wants his slice of the pie when a for-profit corporation distributes his software as part of a commercial Linux distro.
      I don't either, and I wish him the best and biggest slice of the pie possible. But the reality is that for many people, myself included, restrictivly licensed software is simply less attractive, and when that and all the various technical merits of the various lossless formats are taken together, at least for me, FLAC comes out on top.
      --
      2^5
    4. Re:Monkey's Audio (APE) by fmaxwell · · Score: 1

      That's a good point, but I was thinking more along the lines of hardware for in-house playing of music. I have my music ripped to a lossless format in a central location in my residence and I'd like to be able to play music in my living room stereo or any of the N computers in various room. Streaming + hardware devices for playback to stereo systems (think: airTunes) makes this fairly painless. One the fly transcoding is certainly the other option, but why do it if you don't have to?

      I tend to prefer the simpler alternative of small form factor PCs that directly access the files on the network drives. Then I can install the codec and player software of choice.

      I don't either, and I wish him the best and biggest slice of the pie possible. But the reality is that for many people, myself included, restrictivly licensed software is simply less attractive, and when that and all the various technical merits of the various lossless formats are taken together, at least for me, FLAC comes out on top.

      FLAC is a good format. I respect your views on restrictive software licenses, but I'm hoping that the dual-licensing (non-commercial vs. commercial use) becomes more commonplace. I believe that many more developers will enter the open-source fray if they know that their software will not be resold by others. They may want to contribute to the common good without contributing to the coffers of SCO, IBM, RedHat, and every other corporation who chooses to use and sell open-source software written by others. To each his own...

  18. Nice DUPE by Anonymous Coward · · Score: 0
    I have to hand it to the "editors" this time. At least they waited a few months to reproduce this story rather than a matter of days (or hours).

    Too bad /.'s search function sucks ass, or I'd be able to find that previous story...

  19. recommendations by Anonymous Coward · · Score: 0

    If you have the space, use raw PCM, otherwise known as .WAV (WAV's just a meta-format, but it usually means PCM). You can recode that to anything you want. FLAC is the current champion, but if something new comes along, it'll damn sure read .WAV as well.

  20. Flame-baiting answer by billcopc · · Score: 1

    Just rip it to whatever the format-of-the-moment is, and keep your originals somewhere safe. There is no sense in keeping terabytes of lossless-compressed music if it only serves as an intermediate format.

    I rip my music to MP3, `Lame --preset extreme` and it's fantastic ~230 kbps. Sounds great on my home system, sounds great in the car, and yes I have some pretty respectable sound in both places. If we ever invent a new format that compresses even better while retaining the same/better quality, AND is playable in a car deck, then I'll reencode.. I figure it'll be 2016 before that sort of thing comes about, so until then my discs are safe in a big brown box in the closet.

    Sell off that encoding cluster and go buy some more albums :)

    --
    -Billco, Fnarg.com
  21. I use .wav files. by jonadab · · Score: 0, Redundant

    I just use grip with the "rip only" option (no encoding). Metadata are stored
    at the filesystem level: the author's name as a directory, and within that
    the album title as a directory, and within that the track name as a filename,
    with .wav postpended. Works for me. One nice thing about WAV is that it's
    lossless. Another is that it's supported by, you know, absolutely everything.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  22. What you mean by XO · · Score: 0, Redundant

    What the hell do you mean CODEC and LOSSLESS?

    You guys make everything way too complex.

    --
    "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
    1. Re:What you mean by DA-MAN · · Score: 4, Insightful

      What the hell do you mean CODEC and LOSSLESS?

      You guys make everything way too complex.


      There are two methods for compressing data:

      1) Lossless compression: Think zip/rar/sit/tar.gz etc. These output the source file bit for bit when decompressed.

      2) Lossy compression: Think JPEG/MPEG/MP3 etc. These output with a lot of data stripped off, the best lossy compression attempts to remove as much as possible without affecting quality too much.

      Just because something is compressed doesn't mean anything is lost.

      --
      Can I get an eye poke?
      Dog House Forum
  23. Whaddever happened to .shn? by renehollan · · Score: 1
    Seriously, when I found, to my dismay, that I was off by about a factor of two in space to rip my CDs to disk, I stumbled upon the SHORTEN format and nice .wav to .shn transcoders. Whee!

    I hadn't heard of it since.

    I suppose it's time to re-rip to .flac.

    It goes without saying that I am only interested in lossless codecs.

    --
    You could've hired me.
    1. Re:Whaddever happened to .shn? by pyite · · Score: 1

      The whole reason SHN ever became popular at all was because of Etree. At some point, FLAC became real good and all of us Etree people started using it instead of SHN. Shorten has really no benefits over FLAC. If Shorten was truly free (and not just open source), I have a feeling it would have done better.

      --

      "Nature doesn't care how smart you are. You can still be wrong." - Richard Feynman

  24. Certainly FLAC... by AvantLegion · · Score: 2, Funny
    ... if for no other reason than the fact that it's so close to "AFLAC!!"

  25. Howabout by mugnyte · · Score: 2, Funny


    PCM? Then you could store it all on CD!

  26. It's not so much the codec as how you use it by zymurgy_cat · · Score: 1

    Face it, when talking about lossless codecs, they all do the same thing: enable you to recreate the music without any loss. There's nothing to compare in terms of sound performance. You could compare encoding/decoding speed, file size, etc., but I personally think it's a wash. For me, compression or speed doesn't matter when I'm storing my entire collection and converting only an album here or there.

    Your concern, then, should be how you want to manage and convert your music. If you use a Mac and like iTunes, use Apple's lossless codec. If you want to run on just about anything and do not want to be tied down to any OS or standard, use something like FLAC. If you think Monkey's Audio sounds cool, use that. If you like some other lossless program, use that.

    I put everything into FLAC and wrote a script to process m3u files to turn the FLAC files into MP3s. I did this mainly because my music resides on a FreeBSD machine (on a RAID system). I can automatically convert all 3400+ songs into MP3, OV, whatever. Then, if a better lossy codec ever comes along, I can convert my entire library by editing one script. Sure, it will take a while, but it can run over the weekend.

    --
    -- Fugacity: Confusing chemists since 1908
  27. wavepack? by jacksonscottsly · · Score: 1

    While I haven't had too much experience with the format yet, wavepack might suit you dandy. (http://www.wavpack.com/). It's open, transcodable, and better yet, essentially has it's own immediate-conversion to the lossy-wavepack format (Because it's made up of two parts, a lossy "file" and a correction "file", and you can just splice off the lossy version, as far as I understand it).

    --
    [ you and I are ugly ]
    1. Re:wavepack? by jacksonscottsly · · Score: 1

      I should also mention that wavpack support on linux is thusfar limited to only a few small, experimental media players as far as I know... namely xmms2 (support is currently broken) and lamip (takes a bit of work to install, and it doesn't install properly for me yet)...so perhaps it's not the greatest solution if you're a linux dude...at least not yet.

      --
      [ you and I are ugly ]
  28. And what transcode FLAC? by neves · · Score: 1

    Ok, Flac is the guy answer, but what would he use to transcode FLAC without loosing his metadata?

  29. And linux? by neves · · Score: 1

    How does EAC compare with Linux tools like cdparanoia?

    1. Re:And linux? by Malor · · Score: 1

      Well, they're not gonna have the AccurateRip database, which I personally find very useful, even though it's still a fairly 'young' project. It's a collection of md5sums for extracted tracks, and will tell you whether or not you got the rip right. I've found this to be extremely useful, even though it doesn't yet know some of my CDs.

      cdparanoia et al may be just as good at extracting the bits, and you might possibly be able to hack the AR database to work with those.... if you could do that, your end result could well be just as good. I haven't used cdparanoia in a long, long time, so I can't guarantee that.

  30. Semi-free software is, ironically, OSI's shame. by jbn-o · · Score: 1

    It would be shameful if Monkey's Audio's license became an OSI-approved license. It would point to a profound irony as well. Consider the situation from a business perspective and don't forget that the open source movement's chief audience is businesses.

    According to the Monkey's Audio developer site: "If you're trying to make money, in any way, talk to me first.". This is a restatement of section 2 of the Monkey's Audio license ("2. The use of Monkey's Audio or the Monkey's Audio source code for any commercial purposes including, but not limited to, implementation in shareware packages is strictly prohibited without first obtaining written permission from the author.").

    This means that you need additional permission beyond the license to do something you deserve the right to do--distribute modified or verbatim copies of the covered work for a fee; something you would have the right to do if Monkey's Audio license qualified as a free software license, which it clearly does not. The copyright holder could deny your business permission ad hoc. Choosing to deal with licensors like this means that you are choosing to build your business on sand (metaphorically speaking).

    I can hardly believe I need to tell open source proponents about the value of paying attention to all computer users, including those in business. Semi-free software is insufficient. We should not exclude profit-minded users from free software. We should insist that everyone can enjoy the freedoms of free software.

    So why is Monkey's Audio and so many of their users describing the software as "open source"? Because of a different shame, a failed attempt to supplant the free software movement by substituting a weaker definition tied to a different term that the OSI thought would address the ambiguity of the English word "free". Just like the FSF describes, "open source" here is probably being taken to mean the ability to view the source code. Anyone who has read the open source definition knows that merely seeing source code is explicitly not what the term "open source" means, yet this is the misunderstanding many come away with. So, now we have two movements: the older free software movement using an English word with multiple meanings provoking initial misunderstanding (which non-English speakers have no problem understanding to mean freedom not price). Free software is tied to the rights computer users need. The open source movement offers a misunderstood term (which remains misunderstood around the world), and which is tied to watered-down rights primarily aimed at benefitting businesses.

    FLAC remains the easy choice primarily because it is free software. It might not compress best (but it compresses better than Shorten), but it works well enough and its inherent freedom offers a compelling case for long-term archiving.

    1. Re:Semi-free software is, ironically, OSI's shame. by fmaxwell · · Score: 0

      According to the Monkey's Audio developer site: "If you're trying to make money, in any way, talk to me first.". This is a restatement of section 2 of the Monkey's Audio license ("2. The use of Monkey's Audio or the Monkey's Audio source code for any commercial purposes including, but not limited to, implementation in shareware packages is strictly prohibited without first obtaining written permission from the author.").

      This means that you need additional permission beyond the license to do something you deserve the right to do--distribute modified or verbatim copies of the covered work for a fee; something you would have the right to do if Monkey's Audio license qualified as a free software license, which it clearly does not. The copyright holder could deny your business permission ad hoc. Choosing to deal with licensors like this means that you are choosing to build your business on sand (metaphorically speaking).


      Why do you "deserve the right" to build a business around the hard work of the author(s) of Monkey's audio without getting their permission or giving them compensation? That's like me saying that I "deserve the right" to write and sell Harry Potter books without the permission of the author and without compensating her.

      It's that absolutist, Stallman-like thinking that is harming open-source movement. Many authors would be happy to write open-source software for the good of the community, but they don't want some organization, maybe one that layed them off or that represents views they find reprehensible, using their software in a commercial venture. Still others do not want some large corporation like RedHat or IBM profiting from their work while paying them nothing.

      I can hardly believe I need to tell open source proponents about the value of paying attention to all computer users, including those in business.

      You should learn the difference between "need" and "want" -- something your parents should have taught you the first time you said that you 'needed' some toy you saw on TV. Nike may want to use my software (without paying me), but they don't need to use it -- and if I find their labor practices of employing children for pennies a day in third world countries to be abhorrent, then I should be able to deny them permission to use software that I created.

      FLAC remains the easy choice primarily because it is free software. It might not compress best (but it compresses better than Shorten), but it works well enough and its inherent freedom offers a compelling case for long-term archiving.

      The fact that NAMBLA, the RIAA, the KKK, and SCO are all permitted to use and resell FLAC does not make it my compression software of choice. I'll stick with the software which works the best -- especially when I can get the source code.

    2. Re:Semi-free software is, ironically, OSI's shame. by LuSiDe · · Score: 1
      FLAC remains the easy choice primarily because it is free software. It might not compress best (but it compresses better than Shorten), but it works well enough and its inherent freedom offers a compelling case for long-term archiving.
      Any data on this? I mean. Lots of posts here. People who argue for FLAC mostly. Some who sth like i quote from you here, but: where is the actual data? I'd love to read an authentic benchmark. Not only for size, but also encoding and decoding time.
      --
      WE DON'T NEED NO BLOG CONTROL.
  31. FLAC by Louis+Guerin · · Score: 1

    There's just no alternative.

    It's free. It's cross-platform. It's under active development and maintenance. It's technically sound - seeking, metadata, sane encoder/decoder applications. It's supported by at least one player manufacturer (rio). It's much smaller than uncompressed audio.

    There really is no alternative; FLAC is the shit.

    L

  32. I drink 10 dollar wine too by jsimon12 · · Score: 1

    I drink 10 dollar wine too and you know what, there are a lot of good wines out there between 10 and 20 bucks. I am sure a wine snob would say different and I have had some very nice more expensive bottles of wine (mmmm Lewis Ethan). But frankly it is nicer to have a decent bottle of wine regularly than an expensive one occasionally. I think the same thing applies to music, it is nicer to have more variety then a small quantity.

    1. Re:I drink 10 dollar wine too by MikeBabcock · · Score: 1

      Its purely personal and psychological. I heard a great radio poll the other day actually (stolen from a book whose name I've since forgotten); would you rather attend two concerts in your lifetime, each the most incredible experiences of music ever produced by all mankind but never listen to music other than those two occasions, or listen to music your whole life, but never hear anything better than mediocre at best?

      Many people answered each way.

      --
      - Michael T. Babcock (Yes, I blog)
  33. Car stereo with USB acceptable? by KlaymenDK · · Score: 1

    I haven't seen any flash/SC stereos, but I know there are a couple of them that have a USB port. Haven't actually tried them, though.

    Good luck.

  34. Why again: audio info/structure by KlaymenDK · · Score: 1

    Well, one of the reasons why I have restarted a couple of times is that in The Beginning I would just rip 'em as they were; later, I would use CDDB to insert useful info; still later I started to use CDDB/FreeDB purely as a template, editing the info to ensure consistency and correctness. Then I decided to alter my "consistency default"...
    Seems to me that once you've gotten the data off the disc, altering the data info in a structured, batchy way is nigh-on impossible.

    Compared to choosing an audio format, it's at least as difficult to choose a "media library manager" that's smart about that additional info, instead of just a player that thinks of music as individual files.

    I've found SnackAmp to be useful but (not very pretty), and JuK) to be prettier but not as useful. Comments?

  35. if you're using windows... by RMH101 · · Score: 1

    then http://www.dbpoweramp.com/ is what you want. rip to lossless FLAC with this or any other tool, and store on a big, cheap-ass IDE disk.
    then use dbpoweramp to batch-convert (maintaining folder structure etc) to format of your choice for playback on whatever device you're using.
    the advantage of this is that you rip once, and then batchconvert periodically overnight - so when you're using a small capacity MP3 player you can use 128 MP3s, and when you get an ipod you can rip to higher bit rates. all you need is a spare bit of IDE storage for your temporary lossy data.

  36. Comparison of lossless codecs by Compact+Dick · · Score: 2, Informative

    Refer to the lossless codecs comparison on Hydrogen Audio.

    Personally, I'd go for Wavpack due to its excellent compression, non cpu-intensive decoding, cross-platform support, active development and open license. If the Rockbox project succeeds, I'll be able to play them on my iRiver.

  37. Amiga days? by edsonmedina · · Score: 1

    I've been ripping to MP3 since my Amiga days. ;)

    You must be a die-hard amiga zealot. MP3 came up long after the amiga was gone.

  38. OK, so everyone says FLAC by phorm · · Score: 1

    Now what are good tools to encode large libraries of FLAC files. For windows, for linux?

    1. Re:OK, so everyone says FLAC by Jules+Labrie · · Score: 1

      My Gentoo has a package media-libs/flac, which is an encoder and a plugin for xmms.
      After that, it's just a question of writing a little script...

  39. Re:my own Ask Slashdot: car stereo with flash slot by eu4ik · · Score: 1

    JVC Arsenal KD-AR960, KD-AR5500, KD-AR7500 all claim to support SD cards.

  40. Take you pick! by den68 · · Score: 1

    The answer to this is simple. It has nothing to do with what is proprietry, what is open source etc. Pick APE, Wavpack, Flac, ALAC, Optifrog, whatever as long as it is lossless. Why? Simple. Say you pick Wavpack (which rocks) and then find that you are going to switch to another OS that may not support it. You simply reencode it to Flac. You later find that Wavpack suddenly gets portable support. You simply reencode back into Wavpack. All at no loss as they are lossless. And without having to rerip from CDs. Besides, it's good to exercise your CPU from time to time anyway!

  41. I do it myself. by jbn-o · · Score: 1

    In short, I do it myself. I have downloaded Shorten files (and, if possible, their WAV equivalents so I don't have to run the non-free shorten program) and then recompressed the uncompressed data with FLAC. archive.org carries a lot of Shorten files you can use for testing.

    Every time I test this, I see that FLAC compresses more tightly than Shorten. But I'm told there are other lossless audio compressors out there that do a better job than FLAC. I've seen the results of some of them, but I don't know where to point you to to test this except to try making your own tests and compare file sizes and compression/decompression times.

    It's not difficult to write a shell script to do this for you.

  42. Free software encourages a cooperative society. by jbn-o · · Score: 1

    Much of your post is flamebait, but I'll note that Stallman has nothing to do with the open source movement. He has taken time to explain the differences between the movements. Stallman started the GNU Project to make the freedoms of free software real, and the rights free software confers upon the user are infectious--one can easily see how sharing and modifying software is critical to preserving freedom of speech, critical for restoring competition in the marketplace, and democratizing software development.

    As for trying to use a license to prevent Nike from running a program because you object to their labor practices, you desire the kind of power over licensees that the Hacktivismo Enhanced-Source Software License Agreement tries to leverage. The FSF has explained why this license is a non-free license.

    Unlike you writing and selling Harry Potter books (which, actually, I wouldn't object to you doing but given your writing sample here, I doubt you could match what fans of that series are used to reading), I need my computer to express myself politically in the way I choose to do and I use a computer to cooperate with other people in the way people in ethical societies should do. This includes distributing software for a fee, if I choose. Distribution is key to spreading copies of programs that help people, or spreading copies of improved programs. Distributing copies of a program for a fee is a great way to justify writing more free software. To maintain that I shouldn't be able to do these things is to advocate for a power we don't grant readers of books or other published works--I can buy and sell copies of other copyrighted works by leveraging my rights under the first sale doctrine. Ultimately, free software sets a better standard against which we can compare other software and see if the rights we have with free software are also granted to us. I'm not willing to give up these rights, so I place them high on my priority list when evaluating a program.

    1. Re:Free software encourages a cooperative society. by fmaxwell · · Score: 1

      Much of your post is flamebait,

      No, it is not. But from that opening salvo, I gather that's where you're trying to steer this discussion.

      The FSF has explained why this license is a non-free license.

      No, they have explained how it fails to meet their restrictive definition of a free software license. Others would disagree with that definition.

      Unlike you writing and selling Harry Potter books (which, actually, I wouldn't object to you doing but given your writing sample here, I doubt you could match what fans of that series are used to reading), I need my computer to express myself politically in the way I choose to do and I use a computer to cooperate with other people in the way people in ethical societies should do.

      I have been published in several major magazines and served as a consultant to Time-Life Books. Given that practically incomprehensible run-on-sentence quoted above, your criticism of my writing is ironic.

      To answer the non-flamebait portion of your run-on sentence, just who are you to decide how "people in ethical societies should" behave?

      This includes distributing software for a fee, if I choose.

      You are free to distribute any software that you write for a fee, but you do not have a right, God-given, moral, or otherwise, to distribute, for a fee, software that others write unless they specifically permit such distribution. In you previous post, you stated that you "deserve the right to... distribute modified or verbatim copies of the covered work for a fee." Again, I ask you why you "deserve" to be able to do that. There is a difference between wanting to do something and deserving the right to do it.

      Distribution is key to spreading copies of programs that help people, or spreading copies of improved programs. Distributing copies of a program for a fee is a great way to justify writing more free software.

      Again, you can distribute your original works in whatever way you see fit. But your desire to make money by distributing works of others doesn't encourage most people to write free software. They don't think "I'm so happy that Jeff Nicholson-Owens was able to profit from my countless man-hours of coding. I'll have to write more free software so that he can further profit from my efforts."

      To maintain that I shouldn't be able to do these things is to advocate for a power we don't grant readers of books or other published works--I can buy and sell copies of other copyrighted works by leveraging my rights under the first sale doctrine.

      That is blatantly untrue. The First Sale Doctrine does not give you the right to offer derivative works for sale. Nor does it allow you to sell copies of a copyrighted work you purchased. That's what you want to do with software, though.

      Ultimately, free software sets a better standard against which we can compare other software and see if the rights we have with free software are also granted to us.

      No, it sets a standard, not a "better standard." That it fits in with your world view does not make it superior.

      I'm not willing to give up these rights, so I place them high on my priority list when evaluating a program.

      You're welcome to do that, but it is egotistical of you to assume that your value system should be shared by everyone else. Many people want to assure that their software, and derivative works, are always distributed at no charge. They don't want large corporations reselling their work. Others want to prevent their software from being used by organizations whose views or labor practices they find reprehensible. You think that the purity of the free software movement is so important that authors should not prohibit their software from being used by companies producing snuff kiddie porn. Others would disagree. And just as those people have no right to unilaterally decide what is a "better standard," neither do you.

      I'll stick by my "Stallman-like" comment. Like Stallman, you remain convinced that anyone who disagrees with you is wrong.