Slashdot Mirror


FLAC Gets First Update In 6 Years

An anonymous reader writes "The Free Lossless Audio Codec, FLAC, loved by audiophiles for its lossless fidelity has been updated to version 1.3.0. FLAC is an audio format similar to MP3, but 'lossless', meaning that audio compressed in FLAC doesn't suffer any loss in quality. FLAC v1.3.0 is the first update in almost 6 years and it is also the first release from the new Xiph.Org maintainer team." Big new feature: ReplayGain works for sampling rates up to 192kHz so you can finally control the volume of your obsessively ripped LPs.

50 of 197 comments (clear)

  1. No updates in 6 years? by SolitaryMan · · Score: 3, Interesting

    I wonder if that because no one cared or because it was a solid piece of software...

    --
    May Peace Prevail On Earth
    1. Re:No updates in 6 years? by c0d3g33k · · Score: 5, Informative

      The latter.

    2. Re:No updates in 6 years? by timeOday · · Score: 5, Funny

      Clearly the project should be migrated over to the pdf team at Adobe, they know how to put a little excitement back into software that had been just quietly doing its job.

    3. Re:No updates in 6 years? by fuzzyfuzzyfungus · · Score: 3, Funny

      I'm pretty sure that flac doesn't need 3d Flash embedded object support...

    4. Re:No updates in 6 years? by jsdcnet · · Score: 5, Funny

      This is why you are not a product manager at Adobe.

      --
      no longer working for cnet
    5. Re:No updates in 6 years? by Kjella · · Score: 3, Insightful

      Unlike lossy compression where you're always looking for better ways to exploit the bits a lossless compression has a hard limit in that you can't compress it down to less information than it actually contains. FLAC is pretty much as good as it's going to get, you can compare it to for example PNG for lossless pictures that is unchanged for the last 9 years. Sane with ZIP, RAR, 7Z etc. they use many of the same underlying algorithms and change very slowly.

      --
      Live today, because you never know what tomorrow brings
    6. Re:No updates in 6 years? by letherial · · Score: 3, Funny

      Adobe needs to update, install?

      No

      Adobe needs to update, install?

      No

      Adobe needs to update, install?

      Yes

      Adobe needs to update install?

      Shut the fuck up.

      Sorry but adobe doesn't quietly do anything

    7. Re:No updates in 6 years? by LameMonikerGoesHere · · Score: 2

      Good grief. That was all clearly stated in the summary. The comparison is used to describe what FLAC is.

    8. Re:No updates in 6 years? by Trogre · · Score: 5, Informative

      No. Both are methods of compressing audio data for later playback, just with different trade-offs.

      With MP3 of course you are losing fidelity, and with FLAC you are using more disk space and limiting the devices on which your audio data can be played back.

      So while they are both different horses for different courses, but they both have the same goal - storage of audio, with data compression.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    9. Re:No updates in 6 years? by realityimpaired · · Score: 4, Informative

      With MP3 of course you are losing fidelity, and with FLAC you are using more disk space and limiting the devices on which your audio data can be played back.

      My cell phone (which doubles as the portable music player) can play FLAC, as can my computer and my network-connected home theater receiver. I think my smart TV can play it too, but I've never had a reason to check...

      While you're definitely sacrificing disk space, the argument about fewer devices being able to play it is certainly not as true as it used to be. I still carry most of my music around in FLAC format, and just buy a bigger SD card for the phone, and choose some albums I don't want to carry around.

    10. Re:No updates in 6 years? by fustakrakich · · Score: 2

      He does not need to worry. The person doing the sacking has been sacked.

      --
      “He’s not deformed, he’s just drunk!”
    11. Re:No updates in 6 years? by Anonymous Coward · · Score: 5, Funny

      Thatwasthejoke.jpg

      I tried opening that but I get the following error:

      The file is damaged and could not be repaired.

    12. Re:No updates in 6 years? by arielCo · · Score: 4, Funny

      Allow me to explain with a graph: http://i.imgur.com/nSD3ofw.gif

      --
      This post contains no rudeness or derision of any kind. All arguments are friendly. Terms and exclusions may apply.
    13. Re:No updates in 6 years? by wolrahnaes · · Score: 4, Informative

      It's worth noting that mobile devices often decode popular compressed audio and video formats in dedicated hardware. Modern, powerful devices can play audio and sometimes video reliably in software, but they use a lot more battery power to do so in comparison, so sticking with formats natively supported by your hardware is still usually the best idea.

      I think a few chips got Vorbis support and it wouldn't surprise me to find that FLAC made it in to real hardware somewhere, but there's a reason MP3 was basically the only real portable format choice for years.

      --
      I used to get high on life, but I developed a tolerance. Now I need something stronger.
    14. Re:No updates in 6 years? by Misagon · · Score: 3, Informative

      Actually, FLAC is technically similar to MP3 in a sense.
      It consists of an inherently lossy encoding in the frequency domain (like MP3) plus an encoding of the difference between the lossily encoded audio and the original. The first part is a bit more straightforward than MP3 because it does not do any tricks adapted to the human ear.

      --
      "We mustn't be caught by surprise by our own advancing technology" -- Aldous Huxley
    15. Re:No updates in 6 years? by imroy · · Score: 5, Informative

      It consists of an inherently lossy encoding in the frequency domain (like MP3) plus an encoding of the difference between the lossily encoded audio and the original.

      While a few other lossless formats do this (mostly for backward-compatibility), FLAC does not convert the audio into the frequency domain. It either uses a polynomial or linear function: http://xiph.org/flac/documentation_format_overview.html

    16. Re:No updates in 6 years? by Anonymous Coward · · Score: 4, Interesting

      True. However, FLAC is extremely CPU efficient for playback (decoding).
      You can find some comparisons where it performs even better than MP3 in terms of CPU usage
      http://www.hydrogenaudio.org/forums/index.php?showtopic=92235

      It's also more efficient than any other compressed lossless codec (note: WAV/PCM is not compressed):
      http://www.hydrogenaudio.org/forums/index.php?showtopic=98665

    17. Re:No updates in 6 years? by AikonMGB · · Score: 4, Informative

      FLAC is asymmetric; lots of computrons to encode, but not very much to decode. I had an old iPod Video, and the battery lasted longer playing FLAC in Rockbox than it did playing MP3s in the native Apple software (or in Rockbox, for that matter). Despite being done in software, FLAC is just so stupidly easy to decode that it's nearly a moot point.

    18. Re:No updates in 6 years? by bob8766 · · Score: 2

      I don't get it

  2. 24/192 Music Downloads and why they make no sense by Anonymous Coward · · Score: 5, Informative
  3. The only thing I'd ever buy by cen1 · · Score: 5, Insightful

    All the music I ever bough was FLAC, mostly thanks to services like Bandcamp. They require the artists to upload their song in lossless and from there they provide all the formats you'd ever want. That's how all music should be sold.. with no shitty codecs and DRM.

    1. Re:The only thing I'd ever buy by MrEdofCourse · · Score: 4, Informative

      Apple never sold music below 128kbps, nor as MP3. They currently sell music as 256kbps AAC.

    2. Re:The only thing I'd ever buy by Anonymous Coward · · Score: 2, Informative

      I'd look at the spectrals on those "lossless" files you bought. Plenty of music on bandcamp was quite clearly converted to flac from MPs.

    3. Re:The only thing I'd ever buy by Jherek+Carnelian · · Score: 3, Informative

      I'd look at the spectrals on those "lossless" files you bought. Plenty of music on bandcamp was quite clearly converted to flac from MPs.

      Here is software that makes it pretty easy to check:

      http://en.true-audio.com/Tau_Analyzer_-_CD_Authenticity_Detector

  4. Re:24/192 Music Downloads and why they make no sen by Anonymous Coward · · Score: 5, Informative

    While this is mostly accurate, articles like this fail to mention where 192KHz is useful. That is, for certain types of digital post-processing and effects. Doing a digital time or frequency shift (not a re-sample, that's simple and effectively lossless) yields atrociously poor results if using 44.1 or even 48 KHz. With 192KHz, you can't hear the difference, and that is why it is used in the studio. Auto-tune is a decent example of that kind of processing. It works much better at higher bit rates.

    None of this matters to the average listener though, or to the DJ who only cares about a simple speed up or slow down (or re-sample).

  5. FLAC superiority to MP3 by Anonymous Coward · · Score: 5, Informative

    MP3 compresses audio files so that they have the same playback within the range of human auditory sensation. FLAC is superior because it retains full audio fidelity across the entire frequency spectrum. This will be of the utmost importance if you are a dog.

    1. Re:FLAC superiority to MP3 by swalve · · Score: 2

      MP3 is nice in that it really only specifies what a file must look like in order to be played back. The algorithms use to encode the data can vary; it is what decides what information gets removed. I don't know what the current state of the art is, but I'd bet you can very close to lossless at a similar file size to FLAC. Not that you'd bother given that FLAC exists, but the point is that MP3 isn't necessarily inherently bad.

    2. Re:FLAC superiority to MP3 by Anonymous Coward · · Score: 3, Funny

      This is fantastic because I am a dog. Why does everyone overlook this? Does everyone hate dogs?

    3. Re:FLAC superiority to MP3 by caspy7 · · Score: 2

      It's the internet. No one knows you're a dog (except the NSA).

    4. Re:FLAC superiority to MP3 by Anonymous Coward · · Score: 2, Insightful

      FLAC is also superior because it is future-proof. You can convert to any new format that comes along later, without any loss in quality.

      Also, if you invest in good-quality gear you might want to actually play out all frequencies, even if you don't hear them. The barely audible subsonic rumble will create bodily sensations. Likewise for sound so high in frequency that you (barely) hear it.

      If you play your music via $20 laptop speakers hooked to your el cheap Chinese sound card D/A then by all means, you can convert your music collection to 64 kbit mp3 and not hear the difference.

  6. Re:lol, Xiph, like GNU Hurd by Anonymous Coward · · Score: 3, Informative

    Opus is ONLY useful for voice and low-bitrate audio. For high-fi stuff, it's no better than anything else.

    I sure as hell would never use it for music.

  7. Re:I don't see the point by jsdcnet · · Score: 4, Insightful

    Ten years ago, when hard drives were small and NAS systems for home use didn't really exist, I could see the point of all this ripping and converting. But now, with multi-terabyte HDs and the proliferation of NAS appliances, there is a limited need for this or any other 'compressed' music file format.

    I'll give you one: metadata. WAV doesn't really support it in a standard way across applications. AIFF is a little better but it doesn't have a lot of traction on Windows. FLAC has a robust tagging scheme. Since converting to lossless is incredibly fast, and you typically save about 30% of the disk space, why not do it?

    --
    no longer working for cnet
  8. Re:24/192 Music Downloads and why they make no sen by sexconker · · Score: 2

    While this is mostly accurate, articles like this fail to mention where 192KHz is useful. That is, for certain types of digital post-processing and effects. Doing a digital time or frequency shift (not a re-sample, that's simple and effectively lossless) yields atrociously poor results if using 44.1 or even 48 KHz. With 192KHz, you can't hear the difference, and that is why it is used in the studio. Auto-tune is a decent example of that kind of processing. It works much better at higher bit rates.

    None of this matters to the average listener though, or to the DJ who only cares about a simple speed up or slow down (or re-sample).

    Wrong. Article mentions it as being useful for processing. Article uses oversampling for antialiasing / cutoff as an example.
    At no point would the signal have to be stored in a high sampling rate to get this benefit. Article mentions most ADCs/DACs handle this shit transparently.

    "Sampling rates over 48kHz are irrelevant to high fidelity audio data, but they are internally essential to several modern digital audio techniques. Oversampling is the most relevant example [7]."

  9. Re:24/192 Music Downloads and why they make no sen by Anonymous Coward · · Score: 3, Informative

    Oversampling at the ADC level is NOT post-processing. Post means "after", in case you didn't know. If the desire is to use audio for a multitude of uses, say to play back in a sampler frequency shifted or to "correct" some awful notes (as is commonly done), it is still worthwhile to record raw audio at 192kHz. It is never worthwhile to distribute the finished product at high sample rates, unless the finished product IS in fact sample material intended to be used by studio people.

  10. Re:lol, Xiph, like GNU Hurd by ldobehardcore · · Score: 4, Interesting

    ABX at 192kbps and I can't hear the difference, which is good enough for me. Granted I don't have the best ears.
    I don't mean to be overly enthusiastic, it's just nice having a codec that serves basically all purposes.

    I don't use it for music really. That's all in FLAC (storage) and Vorbis (players) already, but I do use it for video nowadays. I usually encode at 48kbps at 44.1kHz and it sounds better to me that AAC-HE-PS while using the same space. And it's a free and open codec too, so I have all the unjustified moral superiority to wave around too.

    --
    Hectice, baby, Mercator says hello to you
  11. Re:Latest and greatest? by Anonymous Coward · · Score: 3, Informative

    Vinyl may have a nostalgical value. The quality is indeed WAY worse than that of a CD, for example.

  12. Re:I don't see the point by Proteus · · Score: 3, Insightful

    But now, with multi-terabyte HDs and the proliferation of NAS appliances, there is a limited need for this or any other 'compressed' music file format.

    Yep, because audio files are never:

    1. Streamed over low-bandwidth data connections (e.g. cellular or crappy public APs)
    2. Stored on small, portable devices with limited storage space, like Phones, solid-state media players, Chromebooks and tablets.
    3. Backed up to remote locations where storage is more expensive

    I can't imagine anyone having a need for those things. *eyeroll*

    --
    We may not imagine how our lives could be more frustrating and complex—but Congress can. – Cullen Hightower
  13. Re: I don't see the point by iluvcapra · · Score: 4, Informative

    I'm a sound designer, I mostly work on feature films; I use FLAC for my remote archives -- uploading to S3 goes a lot faster this way, particularly when the audio media is sparse. A 20 minute FX premix might be 10% the size of an equivalent WAV because of all the silence. The flac(1) tool also has a handy --keep-foreign-metadata option that generally gives byte-for-byte round trip accuracy, even for embedded metadata. I also use Apple Lossless for my local library, mainly because it supports ID3 and Apple clients (like Pro Tools) support it more commonly than FLAC.

    --
    Don't blame me, I voted for Baltar.
  14. Re:I don't see the point by Jherek+Carnelian · · Score: 5, Informative

    FLAC also includes error detection - each frame has as 16-bit crc and the file header includes an md5 hash of raw audio data. Doesn't help with repairing corruption but at least you can detect it and avoid playing the corrupt frames as ear-splitting noise unlike wav.

  15. Re:I don't see the point by Anonymous Coward · · Score: 2, Funny

    Because people swear they can hear the missing bits of data with their SPDIF Monster cable.

  16. Offtopic: to people digitizing rare LPs by TheRealHocusLocus · · Score: 2

    To people digitizing rare LPs and the people posting Youtube videos that show a phonograph record going round.

    Please oh please fill a spray bottle with a solution of water with a tiny bit of liquid soap, and spray the surface of the record before and occasionally during recording. After, rinse and dry with fluffy-towel and lean on edge to dry completely before re-sleeving.

    You will be flabbergasted with the result. Even if you do not flabbergast easily.

    --
    <blink>down the rabbit hole</blink>
  17. Re:24/192 Music Downloads and why they make no sen by ddd0004 · · Score: 3, Funny

    But this sampling rate goes to 11

  18. Re:Latest and greatest? by TheGratefulNet · · Score: 5, Insightful

    good example of the stupidity of the music industry.

    they put the best mix on the worst (physical, playback) medium, vinyl.

    the cd (or file) which can have superior specs, they give the compressed loudness-war mix.

    makes NO SENSE!

    the music industry is fucked up. they just are.

    --

    --
    "It is now safe to switch off your computer."
  19. Give me some FLAC by zoid.com · · Score: 4, Insightful

    It's because FLAC rocks... There has been no need to update it. It's one of the huge open source/open spec success stories.

  20. iDevices and most car stereo's don't by dutchwhizzman · · Score: 2

    So yes, it's rather limited still. However, it's not the codec that's the limiting factor, it's the choice of the hardware vendors, since the codec itself is free to implement.

    --
    I was promised a flying car. Where is my flying car?
  21. Re:Latest and greatest? by sFurbo · · Score: 2

    They would have done the same with vinyl, and did, to a certain extend, but there is a limit to how loud a vinyl can be. It really isn't a matter of choosing where to put the best mix, but a matter of one of the limitations of vinyl ending up making the product better.

    On a side note, "the best mix" isn't constant, but depends on the medium used. I have been told that one of the original problems with CDs was that they used the vinyl mix on early CDs, which isn't ideal (I am sure there is some explanation with the frequency response of the different media).

  22. Re:Compression by SuricouRaven · · Score: 2

    With lossless compression, mathematics is unforgiving.

  23. Re:I don't see the point by Molochi · · Score: 3, Funny

    Audiophilic SPDIF connectors are supposed to use cocobolo wood plugs lined with titanium for a nice "warm" bitstream.

    --
    "The Adobe Updater must update itself before it can check for updates. Would you like to update the Adobe Updater now?"
  24. the crux of it by Onymous+Coward · · Score: 4, Funny

    If the same transducer reproduces ultrasonics along with audible content, any nonlinearity will shift some of the ultrasonic content down into the audible range as an uncontrolled spray of intermodulation distortion products covering the entire audible spectrum.

    My barber was saying this exact thing to me the other day. So I says to him, "Frank, come on, can't you just correct for nonlinearities?" and he laughed at me and gave me a look like he couldn't believe me. I've decided to change barbers.

  25. Not the whole story by clickclickdrone · · Score: 2

    FLAC may be lossless but it's still no guarantee of super HiFi. You've still got the DAC, amp and speakers to worry about. People often assume because it's FLAC, it is the acme of quality even played back on an iPod with Apple headphones. Ain't so.

    --
    I want a list of atrocities done in your name - Recoil