Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

AAC vs. OGG vs. MP3

Posted by CmdrTaco on Tue Apr 29, 2003 07:53 AM
from the let-the-battle-begin dept.
asv108 writes "Yesterday, Apple unveiled their new music service claiming that the AAC format "combines sound quality that rivals CD." Here is a little comparison of lossy music codecs, comparing an Apple ripped AAC file with the commonly used MP3 codec and the increasingly popular OGG codec. Spectrum analysis was used to see which format did the best job of maintaining the shape of the original waveform." Wish they had WMAs in there too. And for the spoilage, it looks like OGG comes out on top.
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by Ffynon (599139) * <jake AT jakewalker DOT com> on Tuesday April 29 2003, @07:55AM (#5833033)
    I've got a nice pair of Bose headphones, and I listened to an Apple Store AAC file and an OGG version of the same song. I don't consider myself a real audiophile, but it's damn near impossible to tell the difference between the two; though I can definitely hear the improvement from MP3 to AAC or OGG.
    • by glesga_kiss (596639) on Tuesday April 29 2003, @08:07AM (#5833108)
      To do a true test, you need to encode the files, decode them to PCM wav format, then burn to an audio CD.

      Then, you have to do a blind test with all of them. You also need to use a variety of source material, because different genres of music compress better under some encoders.

    • by treat (84622) on Tuesday April 29 2003, @08:48AM (#5833406)
      I've got a nice pair of Bose headphones, and I listened to an Apple Store AAC file and an OGG version of the same song. I don't consider myself a real audiophile, but it's damn near impossible to tell the difference between the two; though I can definitely hear the improvement from MP3 to AAC or OGG.

      One, your headphones suck. Bose sells overpriced junk. People think it is good because it is well marketed. If you compare Bose speakers with equally priced speakers from any quality manufacturer, the difference is amazing.

      Bose is a scam, and the fact that they are so popular shows how easy it is to run a massive deception against the American people.

      • by MmmmAqua (613624) on Tuesday April 29 2003, @09:57AM (#5834041)
        After spending an hour in the listening room in the Bang & Olufson store in my local mall, I gave up and went to the Bose store. Ten minutes later I walked out with a Lifestyle 25 system.

        For the record, the tiny Bose Acoustimass speakers are able to hit both highs and lows that were unreachable with anything in the Bang & Olufson store. People think Bose is good because Bose is good. No, Bose does not produce the best speakers in the world, but neither do they claim to - they claim to provide clear, room-filling sound with a good range. And they do. Oh, and the Bose Tri-Port headphones suck. They're a cheaper (and lower quality) knockoff of Bose's own QuietComfort noise-cancelling headset, which is a great product.

        [asbestos underwear]
        Don't give me any crap about how the QuietComfort headphones raise the noise floor for listening, either. They are one of the best active noise-cancelling sets on the market, and *no* passive system can beat them. Why? Passive systems can't even *begin* to fight bone conduction. Neither can the Bose, but it can produce limited cancelling frequencies to mute bone conduction. And the headphones sound just *great*. Speaker snobs, flame away...
        [/asbestos underwear]
        • by Zathrus (232140) on Tuesday April 29 2003, @12:28PM (#5835658) Homepage
          After spending an hour in the listening room in the Bang & Olufson store in my local mall, I gave up and went to the Bose store. Ten minutes later I walked out with a Lifestyle 25 system.

          Uh... imagine that. You went from possibly the worst, most highly overpriced speaker/electronics line to the second worst... and it was better!

          Now go try Paradigm, B&W, PSB, NHT, or any other good but reasonably priced speaker line and you'll see why Bose has such a crappy reputation. Be aware of sound levels too -- the most common trick Bose stores pull is demoing the Bose speakers at one sound level and other speakers at another (lower). The louder system will almost always sound better due to psychology.

          Bose isn't inherently shitty... it's just shitty for the price. You can get much better stuff at the same price, or the same quality stuff at about half the price.
  • To be fair... (Score:4, Informative)

    by Gropo (445879) <groopo AT yahoo DOT com> on Tuesday April 29 2003, @07:56AM (#5833038) Homepage Journal
    Don't forget that Apple's AAC's aren't ripped from 48.8 16-bit AIFF's, but re-mastered directly to AAC.
      • by pz (113803) on Tuesday April 29 2003, @09:31AM (#5833782) Journal
        Let's see. Given the task of creating a codec de novo and the financial and political means to have access to the original source material rather than a version sent through a horribly non-linear sampling mechanism out of your control and beyond your specification, which would you choose?

        I'm sure most Slashdot readers will be familiar with the Nyquist limit and understand the complete inability to represent information above the limit, but how many are familiar with the degradations that occur near the Nyquist limit when you have non-infinite signal lengths? This is why oversampling is so important. In general, if you have a signal at frequency f that you want to accurately capture, you should be sampling (by rule of thumb) at 5f or greater. If you sample at lower frequencies, the distortions in phase and amplitude are difficult to predict and statistically analyze as they tend to have uniform rather than Gaussian distributions.

        So again, I re-pose the rhetorical question: given the task of creating a new codec rather than rewriting an old one, wouldn't you want to use the least-filtered signal possible as a source, especially when the extant filtering is non-linear, and be able to select by design which parts to encode and which parts to ignore? I sure would.
  • by Sad Loser (625938) * on Tuesday April 29 2003, @07:57AM (#5833041)
    Some decent quality properly blinded listening tests would be more interesting than a graph though.
    When VHS established dominance of the video market, there were high barriers to change - your player and media were committed to that format.
    There are far less barriers to change in the ripped audio format, although there will still be some inertia, but there is nothing* to stop ogg vorbis becoming the dominant format.

    Where's my ogg pod then?

    * apart from the silly name.
    • by Anonymous Coward on Tuesday April 29 2003, @08:09AM (#5833115)
      Ogg is a container format. I could in theory put an ACC audio file into an Ogg container.

      The audio format you're babbling about is Vorbis. Usually .ogg because it is inside an Ogg container.

      Hell, it's not just a silly name problem, it's an entire naming convention issue.
    • by jc42 (318812) on Tuesday April 29 2003, @08:58AM (#5833490) Homepage Journal
      A few years back, Consumer Reports did an interesting set of listening tests. The usual blinds, of course. But the interesting part was that in addition to random staffers, they had two extra groups: sound engineers and musicians. They reported that these two groups differed radically in their rankings of sound quality. The difference was fairly straightforward: The sound engineers gave a high rank to equipment that produced the sound accurately. The musicians gave a high rank to equipment that made the music clear. These are not at all the same thing. In particular, musicians generally liked "distortions" that removed non-musical information, strengthened the fundamentals, and so on.

      From a musician's viewpoint, one of the real frustrations with just about anything published about sound quality is that it's always written from the engineer's viewpoint. But what I want to know is which gadgets do a good job of reproducing the music. They never seem to tell you that.

        • by jc42 (318812) on Tuesday April 29 2003, @10:57AM (#5834717) Homepage Journal
          musicians are legendary for listening on poor equipment and filling in the rest of the music mentally

          Yes, of course, but there's a different interpretation of this. It's not unusual for musicians to intentionally use low-quality equipment in order to make the music clearer. They aren't overcoming the limitations of the poor equipment; they are using it as a tool.

          As an extreme example, I've known a number of musicians who have recordings of harpsichord music, but don't like the instrument itself. The reason is simple: They have good high-frequency hearing, and a live harpsichord is just a loud high-pitched buzz with barely-audible music in the background. But with a recording, especially on low-quality playback equipment, you can wipe out the high frequencies. This makes the music audible.

          There are a fair number of people who have a similar reaction to violins. Although it's not as bad as a harpsichord, a violin has strong high-frequency harmonics that are often badly out of tune. If you clip off everything above 15 kHz or so, you eliminate this distracting noise and the music comes through.

          I've made a lot of "very live" recordings of dance bands with a room full of dancers. One of the tricks that I've learned is to use fairly cheap mikes that don't hear the low or high frequencies. Then I don't have to do as much processing to get a good sound.

          An interesting thing about this: I've occasionally made two recordings, one with good mikes and one with poor mikes that fall off around 12 or 14 kHz. When I play them for listeners who were there, they inevitably say that the "poor" recording sounds more live than the "good" one. What seems to be going on is that the human brain is fairly good at compensating for the low- and high-frequency noise in such situations. Participants don't hear all the background noise. But in a quiet room with the noise coming from a speaker, people do hear it.

          This is similar to the phenomenon that photographers will tell you about: The human eye/brain system is very good at correcting for color cast. Cameras record the true color (within the bounds of the film type and latitude), so the cast is visible in the photo when it wasn't in the original scene. But photographers learn to see the full color and can't ignore a color cast, just a musicians learn to hear all the sound and can't easily ignore background noise.

          (Similarly, after playing around with a polarizing filter for a few months, I found that I could "see" polarization. And now I can't turn it off. ;-)

          It's all very complicted.
          • by CharlieO (572028) on Tuesday April 29 2003, @12:23PM (#5835615)
            This is similar to the phenomenon that photographers will tell you about: The human eye/brain system is very good at correcting for color cast. Cameras record the true color (within the bounds of the film type and latitude), so the cast is visible in the photo when it wasn't in the original scene. But photographers learn to see the full color and can't ignore a color cast, just a musicians learn to hear all the sound and can't easily ignore background noise

            Well this photographer will tell you differently.

            If you use film stock then a very important part of the printing process is setting the filters to give the correct colour balance - either by hand or by bulk scanning the film and normalizing to 18% grey.

            On a digital camera or video camera you have to set the white balance so the camera electronics know the reference to record the colour signal against.

            Neither film nor CCDs/CMOS sensors have anywhere near the dynamic range of the human eye, so they record a substantially less accurate picture with either the highlights or shadows saturated out.

            The only way of accurately scientifically measuring the scene is with a multispectral scanning radiometer - as used in remote sensing.

            Speaking as a sound engineer I find it difficult to agree with your stance about this odd entity 'the music' - every stage of the process should be as flat as possible unless it is an artistic decision to change it. So if I'm recording a live event I should use the best mics, with the flatest response, use the recording device with the flatest response on most headroom, and then master the recording. Now at this stage I can play around with the EQ on the recording and make an artistic decision on the timbre and tone of the sound - because I have not predisposed myself one way or the other by colouring the sound I recorded. I don't disagree that a doctored sound might sound better, but it is not more accurate.

            In the real world systems aren't perfect, and those that are close cost a lot of money. Now you have to make a decision of what makes the best sense with your budget. Now some mics and recording systems colour the sound in a pleasing and predicateble way - it sounds like the setup you settled on does. A lot of people forget that the post production of a recording or the setup of the PA at live gigs is a very important part of the music creation process, guitars drums and keyboards may be your instruments of choice, but for a sound engineer the instruments of choice are mics gates EQs compressors and sound desks - in producing a recorded work both the musicians and engineers are important - would the Beatles work have been the same if it hadn't been for the creativity of the Abbey Road engineers who broke from the tradition of 'perfect reproduction' and started working with the musicians to create new ways of presenting the sound - probably not.

            In your example the rolloff at high frequency is a common effect with high volume PAs - at high SPLs your ears get tired and the high frequencies are affected first. Most people can relate to that slightly muted feeling to thier hearing after a particularly good gig - so the slightly muted nature of the mic that you use matches people recollection of live gigs. Interestingly popular mics for live work will not be the same as those for live work - even with the same instrument and musical style.
    • A decent, but simplistic article. Unless you're a fussy audiophile, this analysis should be sufficient for you.

      [rant] I wish the author would present his graphs in a more readable way. A screen dump of Photoshop in WinXP is not a professional way to show data. It's ironic that while reviewing lossy audio formats he opts to use a lossy image format (JPEG) for the graphs. I had to double their size on my screen just to make some sense out of them. [/rant]

      It's not difficult to gain better-than-CD quality. CDs have been around since the early 1980s, and their main drawback is that they have a low sample rate, 44.1KHz. This is why many sound engineers prefer vinyl. because it's an analogue format, vinyl has a potentially infinite sample frequency range (although it's obviously limited by the recording and playback equipment, and by the physics of the media itself). Apple has used original masters (not CDs) to create much of its song library, so all they have to do is encode at a higher frequency than 44.1KHz. At a guess, they're probably using 48KHz, which is on par with DAT and MiniDisc.

      I'm not surprised that Apple is using AAC. For one thing, it is clearly better than the decade-old MP3 format in all respects, and the licensing costs are probably the same or better. Technically, it may not be as good as Ogg, but most people don't even know what Ogg is so it doesn't matter. As long as Apple can say "our format is better than MP3 and CD audio" (the two prevailing formats), they will have the attention of consumers. AAC is a more mature format than Ogg (Ogg isn't bad, but AAC is more tried-and-proven), and is probably more compatible with existing DRM technologies. DRM is important to keep the recording companies happy and to ensure that the files will only play on devices that Apple specifies (like on Macs and iPods).

      A major stumbling block for Ogg is that until fairly recently it was necessary to use a floating point processor to play the format. In the arena of portable devices, only PDAs have floating point capability, which is why you can play Ogg files on your Zaurus and not on your iPod. AAC is already supported by many devices, so Apple has a larger potential market (although at present only iPods can play the files).
  • by Fefe (6964) on Tuesday April 29 2003, @07:57AM (#5833045) Homepage
    And it's more efficient than MP3.

    Their encoder is not particularly good, and AAC is covered by a ton of patents, so there probably are other reasons why they chose it.

    For anyone else but Apple I see no reason to use AAC when you can have Ogg Vorbis.

    PS: Shameless plug: I wrote a vorbis patch to add SSE support [www.fefe.de] for enhanced encoder and decoder speed. It also contains some 3dnow! optimization for you K6 users, decoder only.
    • by RoLi (141856) on Tuesday April 29 2003, @09:22AM (#5833706) Homepage
      And it's more efficient than MP3

      At low bitrates, AAC is very weak, at 128kbps it was the worst of all:

      Study [infoanarchy.org]

      I was one of the 3000 participants, btw. And my ranking which I gave (blind, I did not know which sample was which) confirms pretty much the results, at 64kbps, AAC was unbearable, while ogg was not distinguishable (by me anyway) to the original.

      The only test where AAC didn't fail miserably was the "expert test" with only 8 listeners.

      OGG has beaten all other codecs consitently at all bitrates.

  • Hmmm (Score:4, Funny)

    by akpcep (659230) on Tuesday April 29 2003, @07:59AM (#5833056) Journal
    What about if I tell someone I'm off to trade some OGGs with my friends, and they think I'm going to throw little plastic discs about?
  • by borgdows (599861) on Tuesday April 29 2003, @08:00AM (#5833063)
    "the increasingly popular OGG codec."

    sadly, I don't think OGG is *currently* known to anybody except nerds or IT pros.
  • by Jon Abbott (723) on Tuesday April 29 2003, @08:01AM (#5833068) Homepage
    Spectrum analysis was used to see which format did the best job of maintaining the shape of the original waveform.
    Furthermore, "ping analysis" was used to see if the webserver survived the /. effect, and tests conclusively show that this is not the case. :^)
  • Ogg (Score:5, Insightful)

    by 91degrees (207121) on Tuesday April 29 2003, @08:02AM (#5833078) Journal
    Most people who use ogg do not use it for it's quality. All that matters in that respect is that Ogg is comaprable to other formats at similar bitrates.

    The important aspect of it is that it's free. There are no patents (at least as far as we know of) preventing anyone from using it, and it's made quite clear that the code can be included in open and closed source software without royalty payments.
  • by jolyonr (560227) on Tuesday April 29 2003, @08:02AM (#5833079) Homepage
    I agree that Ogg is a better format, better quality sound for similar bitrates to MP3, but until the portable devices I use, in-car CD/MP3 players, etc. accept the Ogg format as readily as they do MP3, then I (like most people) are stuck with the MP3 format. At least nowdays storage is cheap, so I whack everything to MP3 at a high bitrate.
  • by tgd (2822) on Tuesday April 29 2003, @08:09AM (#5833116)
    I spent some time last night playing around with the new Music Store feature in iTunes 4. Besides the fact that iTunes crashed on me twice, and 3 never crashed on me, it seems like a very well put together feature.

    What kept me from buying the dozen or so tracks I found that I thought were worth a buck a pop was the fact that my Rio Receivers need MP3 or, via "upgraded" software, FLAC, etc... Although the AAC->CD->MP3 route is possible, and I intended to buy a track and see how the quality comes out, has anyone seen anything about how the DRM works on the Apple files?

    I'm wondering if there are any libraries out there for decoding them, even within the confines of the DRM... just so I can get them into either a raw data stream or something so I can play them on my Rio Receivers... I'd probably switch to buying all my music (where possible) from them, if thats the case... but if I can't get them into a format I can play using my existing equipment, I'll have to pay the five buck "CD"-tax to get them in a format I can rip to high-bitrate MP3.
    • by s.o.terica (155591) on Tuesday April 29 2003, @08:22AM (#5833199)
      Although the AAC->CD->MP3 route is possible, and I intended to buy a track and see how the quality comes out, has anyone seen anything about how the DRM works on the Apple files?

      Regarding the AAC->CD->MP3, I burned a couple of Music Store tracks to CD, then re-ripped them (using iTunes, no less) using VBR High, and they sounded indistinguishable from the original Music Store files (albeit being significantly higher average bitrates).

      Regarding DRM, it appears that your Music Store file is locked to your Apple ID, and you have to Register up to three computers that you want to be able to play songs associated with your Apple ID. If you sell a computer, you have to unregister it before you can register a replacement computer. This appears to be the only restriction on usage -- you can still burn the songs to as many CDs as you want, copy them to as many iPods as you want, and streamthem to as many other Macs (and TiVo) as you want using Rendezvous.

      • I burned a couple of Music Store tracks to CD, then re-ripped them

        A coworker recorded a few songs to CD last night. This morning, I ripped them to q7 Ogg Vorbis, and downconverted those Ogg files to MP3 (VBR, 160 to 256 kbps).

        Listening to them (on decent speakers, but still computer speakers nonetheless, and also through headphones), they all sound pretty good. I'm listening mostly for "bad artifacts" -- pumping, popping, clicking, phasing/flanging, stereo movement, etc. I can't hear anything of the sort, even on the MP3.

        So, we've got WAV -> 128 AAC -> q7 Ogg -> 160+ MP3, and it's still quite listenable. Certainly, it's not studio quality, but for listening at home, on a typical system with typical speakers, it's pretty good, to my ears.

        I'm still sort of annoyed, philosophically, at not being able to get a full-bandwidth .WAV file. I mean, you're paying for the track, you should get the exact same data as you can when you purchase the CD outright. But as a "best of evils," this is very good. And, truthfully, I'm not convinced that other similar services (like Listen.com's Rhapsody) don't do essentially the same thing.

        Can anyone suggest a good 'test pattern' file? Something with lots of dynamic range, easy-to-identify instruments (especially with lots of layers of detail), variations in note types / waveforms, etc.? Basically, an Indian Head for audio. Because it'd be great to be able to say "download this .wav, and as you decrease the bitrate listen for the flutes at 0:35 to start sounding weird" or somesuch. Just a thought.

        Anyway, I'm satisfied with the quality, at least on the minimal sample set I've heard.

    • by MasterVidBoi (267096) on Tuesday April 29 2003, @08:40AM (#5833318)
      I'm wondering if there are any libraries out there for decoding them, even within the confines of the DRM...

      While I'm not sure, I would say yes.

      I noticed last night that the protected AAC files played both in the Finder's preview pane and in Quicktime 6.2 itself. I assume the actual AAC-Protected decoding is done in quicktime, and no modifications were made to the finder to allow it to explicitly play AAC-Protected files. This implies that any program that can use quicktime can also play protected AAC files.

      I'd be suprised if may of the other mp3 players on the mac didn't already support playing via Quicktime, and by extension, playing AAC-Protected

  • by velouria (34439) on Tuesday April 29 2003, @08:09AM (#5833123) Homepage
    I don't think graphs are all that useful for comparing lossy sound compression.

    Microsoft likes to show how their wma looks better than the other compression methods... it does look beautiful in graphs, but it sounds all tinny and horrible.

    I don't care if the compressed frequency response graph looks nothing like the original frequency graph, as long as my ears are unable to tell the difference between the two.
  • by kriegsman (55737) on Tuesday April 29 2003, @08:15AM (#5833149) Homepage
    My portable HD music jukebox, and my car stereo, and tons of other devices out there ONLY play MP3s.

    But any new music I buy through Apple is AAC encoded, in an m4p "protected" file.

    So here's a purely technical question: What's the shortest path to convert these shiny new "protected" ACC files into plain MP3s so that I can take the music that I've just paid for and listen to it on my Archos MP3 Jukebox? I've already successfully gone from AACs to audio CD, and then re-ripped and re-encoded the album as MP3 but ... ew. There's got to be a better way.

    And yes, I know Apple and Big Music and the RIAA and Homeland Security don't want me to be able to do this (easily, or maybe at all) but at this point I'd like to sidestep the politics and focus on a technological solution that works for me- a legit, paying user.

    So: what's the closest we can get to "acc2mp3", or better yet "m4p2mp3"?

    -Mark
  • by Compact Dick (518888) on Tuesday April 29 2003, @08:25AM (#5833218) Homepage
    Arguably the best resource for audio compression information can be found at Hydrogen Audio [hydrogenaudio.org]. Visit the various forums, check out the excellent Foobar2000 [hydrogenaudio.org] win32 multiformat audio player, and learn.

    I have also written a guide on ripping high-quality MP3s using CDex [iprimus.com.au], aimed towards beginners. If you know people who use Musicmatch, help them switch to a decent, easy-to-use CD ripper [sourceforge.net].

    Cheers,
    CD
  • by Ruri (203996) on Tuesday April 29 2003, @08:28AM (#5833238)
    The Xiph folks have signed up to add Ogg support on the Neuros audio handheld. Its a firmware upgradable handheld which currently supports mp3, but will probably have Ogg support by mid-late summer.

    Check out the highlights.

    http://www.neurosaudio.com/
  • MP3 this, OGG that, AAC somewhere in the middle... Sorry, I don't use any of the above. I encode all of my music into Musepack. At high bitrates, it's the best lossy audio codec, period. For more information on Musepack, see <a href="http://www.saunalahti.fi/%7Ecse/mpc/">Case's Musepack Page</a>, or <a href="http://www.hydrogenaudio.org/index.php?act=S T&f=11&t=1927&">List of Recommended Musepack Settings</a>.

    Musepack encoders and decoders are available for both Windows and Linux, with Winamp plugins available. The only real downside to Musepack is there is currently no hardware support. But having tried each of the codecs mentioned in this article as well as Musepack at the Quality 8 setting, Musepack is music to my ears each time.
  • by prestidigital (341064) on Tuesday April 29 2003, @08:39AM (#5833309) Journal
    Understandably, most of the discussion here is about the pros & cons of various compression formats. But the first thing that jumped out at me when I clicked on the apple.com link was:

    "Preview any song for free, when you find a song you want, buy it for just 99... It's what music lovers have been waiting for: a music store with Apple's legendary ease of use, offering a hassle-free way to preview, buy and download music online quickly and easily."

    FINALLY, a business model for downloading music that makes sense! (Now if only I could afford to switch to Apple products.)
  • Next up... (Score:5, Funny)

    by cygnus (17101) on Tuesday April 29 2003, @08:40AM (#5833322) Homepage
    let's compare video codec image quality by streaming the data thru a hex editor in realtime. :)
  • by JudgeFurious (455868) on Tuesday April 29 2003, @08:58AM (#5833501)
    Last night I downloaded a bunch of tracks off of Apple's Music Store Service. I then played them (along with several tracks I already had in OGG and mp3) through my computers $9.95 speakers while holding my portable cassette recorder very, very close to the speaker (For the technical out there I was holding it close to the LEFT speaker and even turned the TV down some to get the best possible sound) and then replayed them all back on the same portable cassette recorder.

    My conclusion is that all three sound like complete shit.
  • Useless Comparison (Score:5, Insightful)

    by nathanh (1214) on Tuesday April 29 2003, @09:09AM (#5833574) Homepage
    AAC/MP3/OGG are all based on psychoacoustic models. Comparing their decoded spectrums is pointless. The spectrum isn't supposed to be faithfully reproduced. Frequencies that your brain wouldn't fully hear aren't fully stored.

    The only value I can see in a spectrum comparison would be to find obvious errors in the encoder or decoder. Like the 16kHz spike in the Xing encoder. But how likely is that going to be these days?

    The only proper comparison involves a good hi-fi, a sensibly furnished room, and a comfortable chair. It is called "golden ear" testing and it's the ONLY way to compare psychoacoustic models.

    Or at least it's the only way until the research scientists work out how the human brain works.
  • by Compact Dick (518888) on Tuesday April 29 2003, @09:16AM (#5833640) Homepage
    Learn why you shouldn't use spectral analysis to determine lossy codecs' quality [hydrogenaudio.org].

    The most respected technique is double-blind testing using an ABX tool such as PC ABX [pcabx.com], WinABX [arrakis.es] or ABC/HR [ff123.net].

    More info on conducting blind tests can be found at the PC ABX site [pcabx.com].
  • by autopr0n (534291) on Tuesday April 29 2003, @09:19AM (#5833675) Homepage Journal
    Modern compressions schemes are supposed to make sound that sounds as much like the original as possible, not looks like the original on an FFT.

    The only way to test this is to use double-blind listening tests. The spectral analysis stuff is absolutely useless for finding out how good the music actually sounds.
  • from macslash:

    AAC comes with a significantly lower number of b*tching [\.] users than ogg
  • by jmv (93421) on Tuesday April 29 2003, @10:44AM (#5834551) Homepage
    Spectrum analysis was used to see which format did the best job of maintaining the shape of the original waveform

    Will people ever stop doing that. It's complete bullshit and certainly not the way to evaluate a codec. These codecs use perceptual weighting of the noise. That means that the idea is to distort the signal as much as possible in any region of the spectrum where it won't be heard at a certain time. That means that you see a big distortion in the spectrum and think the codec is worse than the others when in fact it's better because it realized that it doesn't matter.

    The only way to correctly evaluate a codec is to listen to it. I write codecs (see sig), so I know a bit what I'm talking about. I use spectral analysis sometimes, but only to identify problems which I've already heard before, not to say that my codec is good.

    As a aside, I'd say it probably wouldn't be hard to write a codec that does better than any other on those spectrum analysis. They would sound like crap because their psycho-acoustic model would be all wrong.
    • by rm -rf /etc/* (20237) on Tuesday April 29 2003, @08:04AM (#5833085) Homepage

      Tubes and transistors are different though. With Ogg vs whatever, it may be more subjective, who knows. But at least with tubes there is a known difference between how they amplify and how transistors amplify. Tubes produce more even order distortion, which to our ears sounds warm and pleasing. Transistors produce more odd order distortion, which tends to sound harsh and stressing.

      Subtle difference? Perhaps, but it's there.
    • by Jon Abbott (723) on Tuesday April 29 2003, @08:17AM (#5833162) Homepage
      According to this [infoanarchy.org] blind listening test conducted by c't [heise.de] magazine, AAC at 128kbps was ranked the lowest of all codecs sampled at that bitrate (WAV, OGG, WMA, RA, MP3Pro and MP3)... One can always hope that the claims of Apple making their AACs directly from the record masters are true, as this would help the situation some.
    • Re:pretty lame! (Score:5, Interesting)

      by trezor (555230) on Tuesday April 29 2003, @08:39AM (#5833307) Homepage

      And as all people who have taken advanced math knows: Sound can be described with equal precision in the time-domain and in the frequency-domain.

      It's called a Fourier-transform.

      And in the frequency-domain you still got phase, in case you wondered. It's covered by the use of imaginary-numbers.

      So analysing the signal in the frequency-domain should uncover the same errors as an analysis in the time-domain, if it's extensive enough, that is.

      I don't bother going into the theorys behind this, but google for Fourier-transforms and wise up :)

    • Re:Two Words (Score:5, Insightful)

      by Lxy (80823) on Tuesday April 29 2003, @08:43AM (#5833357) Journal
      Yes, until someone gets sue happy and starts suing MP3 and AAC users. Maybe it will happen, maybe it won't.

      Look at GIF, JPEG, and PNG. GIF is used for its quality, JPEG is used for its size, PNG is used by geeks. Unisys started suing webmasters, now the patent holder for JPEG is ruffling feathers, PNG is slowly becoming the accepted format. All it takes is some greedy SOB to make Ogg an attractive format.
      • Re:Two Words (Score:5, Insightful)

        by Knobby (71829) on Tuesday April 29 2003, @09:07AM (#5833560)

        Can you point out one player? Because I've never seen them.

        Yep. The 5GB iPod I bought over a year ago plays AAC encoded files (after installing the v1.3 Firmware Update), as do the other 700,000 iPods out there. Combine that with the new Apple music store, and overnight you've got a whole lot of AAC encoded music out there with hardware support.

    • by RobotRunAmok (595286) * on Tuesday April 29 2003, @08:45AM (#5833373)
      ...and I gotta tell you, having played that trumpet and serving as Music Director for the Celestial Choir since the Dawn of Time, I know Audio, and MP3 is the way to go. I've analyzed OGG, WMV, AAC, and this cute l'il analog thing which that wack job Orpheus put together Back in the Day, and I must say, nothing beats MP3, in your or anyone else's universe.

      Of course, I'm logging in here under a pseudonym, so you'll just have to trust me. But hey, would a member of the Heavenly Host lie to you?
    • My favorite part of this discussion is where slashdotters believe that they, the open source community and Ogg in particular are foremost in the minds of people like Steve Jobs as he unveils his new music service.

      Get a clue already. Apple went with AAC because it's great quality, supports the (fairly mild and necessary to get the RIAA onboard) DRM restrictions for the service, and is a subset of the excellent MPEG4 video codec.

      Even if Ogg is better quality at lower bitrate (a point that I am not convinced of, "waveform comparisons" notwithstanding), Apple has legitimate reasons for going AAC that have nothing to do with The Man trying to keep you and the open source community down. Jesus, it's not always about you, mkay?
    • Re:Ok, here goes... (Score:5, Interesting)

      by Anita Coney (648748) on Tuesday April 29 2003, @09:39AM (#5833863)
      Sure he's flamebait, but he's right. When I decided to rip all of my CDs and store them on my computer, I tried various formats. MP3, MP3pro, WMA, and yes OGG. In all honesty I could not hear the difference between any of them whether I played them via headphones or through my Sony STR-DE475.

      Thus the choice was easy because only one factor remained: ubiquitousness.

      Will it work with any portable player I buy, or will my hardware choices be limited?

      Will I be able to share them with friends without having to explain how to play them?

      Will it work with programs such as Nero without decoding the files to a different format first?

      One format fit that criterion and it was MP3. Sure it's proprietary. But so is my car. I'm not going to stop using something that works merely because its proprietary. Computers are tools, not a religion!
    • by norton_I (64015) <hobbes@utrek.dhs.org> on Tuesday April 29 2003, @10:30AM (#5834389)
      Are you sure that the problem isn't in the mastering engineers, not the CD format? Almost all pop music is dynamically compressed within an inch of its life to make it sould louder on cheap equipment. I am told that this is much less of a problem with classical music, but classical music also tends to have a much higher crest factor than pop, and is therefore more sensitive to compression as well.

      The noise floor and dynamic range of a CD with a high quality DAC should be better than almost anybody's ears, if correctly mastered. DVD-Audio should be even better than CD, with multi-channel to boot, and also gives recording engineers a lot of headroom in the ultrasonic to avoid aliasing while using low order filters that are in principle somewhat gentler on the sound. SACD on the other hand is a travesty, superbly wasteful of bandwidth, while having less resolution and more noise in the highest octave of the audio range and much, much more noise in the ultrasonic, which is inaudiable, but can have negative effects on the audible spectrum because of effects in the tweeter.