Head-Fi: Covering Headphones, Earphones and Portable Audio  

Support Head-Fi by starting your Amazon.com shopping by clicking here

Follow headfi on Twitter!

Follow Rocky Mountain Audiofest (RMAF) on Twitter!

Head-Fi Is Sponsored By:

Featured

Head-Fi's Sponsors
(Premier Sponsors bolded)

Featured

Can Jam '09
(2009 International
Head-Fi Meet)
Impressions,
Reviews, Photos


Can Jam '09 graphic
courtesy of Edwood

Click on the links below
for Can Jam '09 photos,
impressions and reviews:

blubliss 1, 2, 3
dallan 1, 2, 3, 4
santacore 1, 2
nhat_thanh 1, 2
vpivinylspinner 1, 2, 3
amb 1
augustwest 1
eaglejo 1

johnsonad 1
shellylh 1
Jon L 1, 2, 3, 4
Germancub 1
zippy2001 1
IPodPJ 1
bhd812 1
Edwood 1, 2
abellaw 1, 2
minidiscs 1

atothex 1
HighLife 1
achristilaw 1
SiBurning 1, 2, 3, 4
SiBurning 5, 6, 7
LFF 1
Iron_Dreamer 1
doping panda 1
morphsci 1
ironbut 1
shaizada 1
jasper994 1, 2
jp11801 1
Uncle Erik 1
drubrew 1



(More impressions/photos
still being added.)

 


 

Head-Fi Blogs
and Facebook

Check out Head-Fi's new
Blogs section.

Featured Head-Fi Blogs:


Jude's "Take My Word"

 From Japan - by Sasaki

Currawong's Blog

(
Start your own Blog!)

Attention
Facebook Users



Join the official
Head-Fi.org
Facebook Group


Featured

Head-Fi's Sponsors
(Premier Sponsors bolded)

Featured

  #1 (permalink)  
Old 02-28-2007, 06:23 PM
Sir Nobax's Avatar
500+ Head-Fi'er
 
Join Date: Feb 2007
Location: Netherlands
Posts: 622
Thumbs up Lossy Audio Codec's Comparison [HUGE amount of pics] [iTunes UPDATE on p.7]

Since the day i started 'listening' to music instead of 'hearing' it i'm worried about the quality of lossy codecs like MP3, AAC and WMA. Every time i hear a song i wonder if it is really how it has to sound, because of the loss of data in the compression.
Of couse i could A-B every codec but still this is a very uneffective way to hear how much a file suffered from the lossy compression.

Enter The Spectrograph.

A while back i tested every major lossy codec with encoding a complex wave with an enormous amount of sweeps, because i think some of you would like to see how a MP3 compressed file really "looks". I encoded the file several times to different codecs at different bitrate's with dbPowerAmp and i made spectographs of them with an old version of CoolEdit Pro. (i will upload the sample tomorrow)

[WARNING]
All encodings including MP3 Lame (i could be totally wrong but i think it was 3.47) [UPDATE: The Lame codec is version 3.97] are mostly CBR, this was because VBR wouldnt work well with just a 6 second long sample. I cant tell how much the quality is different compared to "real" MP3 Lame encoded files with VBR.



THE ORIGINAL WAVE

Grab it HERE


AAC



HE-AAC at 96kbps Fast setting


LC-AAC at 96kbps Fast setting with PNS


LC-AAC at 96kbps Fast setting without PNS


LC-AAC at 128kbps Fast setting


LC-AAC at 128kbps Good setting (notice that the "Good" quality setting is worse then the "Fast" setting.)


LC-AAC at ~128kbps Fast setting in VBR


LC-AAC at 196kbps Fast setting


LC-AAC at 320kbps Fast setting (99% perfect copy)


MP3 Blade



MP3 Blade at 96kbps


MP3 Blade at 128kbps


MP3 Blade at 192kbps


MP3 Blade at 256kbps


MP3 Blade at 320kbps (almost as good as perfect)


MP3 Lame



MP3 Lame at 96kbps


MP3 Lame at ~128kbps in ABR (average bitrate)


MP3 Lame at 128kbps


MP3 Lame at 192kbps


MP3 Lame at 256kbps


MP3 Lame at 320kbps (in CBR at 320kbps Lame is worse then Blade, i'm sure that a ~320kbps VBR Lame encoded MP3 would be an near-perfect copy though


MP3Pro



MP3Pro at 64kbps (notice the funny methode to compress tones above 6khz, it causes a lot of jittering and ringing but sounds better then a normal 64kbps MP3 encoding.)


MP3Pro at 96kbps (this encoding is very bad, still the same amount of jittering and ringing as 64kbps, HE- and LC-AAC sounds way better at this bitrate)

.. 30 pic limit reached ...
__________________
Current music making thingy's:

Big Rig
Creative Professional, ΞE-MU 0404 USB -> beyerdynamic)))) DT550 -> :)

Portable Rig
Creative Zen: Vision ->
Creative Zen Aurvana's
Creative EP630
Creative HQ-1700

PHILIPS SBC HN110
Sony MDR-EX71
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #2 (permalink)  
Old 02-28-2007, 06:24 PM
hYdrociTy
Guest
 
Posts: n/a
Default

i love you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #3 (permalink)  
Old 02-28-2007, 06:24 PM
Sir Nobax's Avatar
500+ Head-Fi'er
 
Join Date: Feb 2007
Location: Netherlands
Posts: 622
Default

More Pics

OGG Vorbis



OGG at 96kbps (some strange thing happens everytime i encode a OGG file, especially high bitrate ones, the bitrate is WAY lower then others, i sounds fine but the graphs shows its still flawed, probably OGG is forcing VBR)


OGG at 128kbps



OGG at 192kbps



OGG at 256kbps



OGG at 350kbps



OGG at 500kbps (with this file you can see that this can never be 500kbps, the filesize was 170KB, the 320kbps AAC was 190KB, confirming that OGG forces VBR)


WMA 9.1



WMA 9.1 at 96kbps


WMA 9.1 at 128kbps



WMA 9.1 at 256kbps


WMA 9.2



WMA 9.2 at 96kbps


WMA 9.2 at 128kbps


WMA 9.2 at 192kbps


WMA 9.2 at 256kbps


WMA 9.2 at 320kbps (compare this to any other 320kbps file, except OGG, and you'll see that this is really bad)


WMA 10 Pro



WMA 10 Pro at 96kbps, the best 96kbps file


WMA 10 Pro at 128kbps, nothing special


WMA 10 Pro at 192kbps


WMA 10 Pro at 256kbps, this just amazed me, near perfect at 256kbps, trully amazing.



Well this is it so far, i hope you guys enjoy watching the spectographs and get an impression of the quality between the codecs.

And again i think it is a shame that LAME could'nt be encoded this way. Maybe i'll try it again with the newer versions.

If anyone wich to request an codec, just ask.
__________________
Current music making thingy's:

Big Rig
Creative Professional, ΞE-MU 0404 USB -> beyerdynamic)))) DT550 -> :)

Portable Rig
Creative Zen: Vision ->
Creative Zen Aurvana's
Creative EP630
Creative HQ-1700

PHILIPS SBC HN110
Sony MDR-EX71
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #4 (permalink)  
Old 02-28-2007, 06:31 PM
hYdrociTy
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Sir Nobax View Post
If anyone wich to request an codec, just ask.
Thank you so much for your time Actually I have one request. AAC-LC @224 with CBR and VBR, since that seems to be the limit before the ipod buffer overfills and there is hard disk interaction.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #5 (permalink)  
Old 02-28-2007, 06:40 PM
*645-k701's Avatar
500+ Head-Fi'er
 
Join Date: Oct 2006
Location: Helsinki
Posts: 541
Default

Thats friggin AWSOME..
massive thanks for doing this..
It's neat,explanitory.. you've outdone yourself..

2 (tup's)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #6 (permalink)  
Old 02-28-2007, 06:49 PM
Sir Nobax's Avatar
500+ Head-Fi'er
 
Join Date: Feb 2007
Location: Netherlands
Posts: 622
Default

Quote:
Originally Posted by hYdrociTy View Post
i love you
OMG, that just made me feel all warm and fuzzy inside.



I'm going to reinstall all my stuff and i'll post the results for the AAC-LC @ 224 with CBR and VBR file.
__________________
Current music making thingy's:

Big Rig
Creative Professional, ΞE-MU 0404 USB -> beyerdynamic)))) DT550 -> :)

Portable Rig
Creative Zen: Vision ->
Creative Zen Aurvana's
Creative EP630
Creative HQ-1700

PHILIPS SBC HN110
Sony MDR-EX71
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #7 (permalink)  
Old 02-28-2007, 07:03 PM
jinp6301's Avatar
Headphoneus Supremus
 
Join Date: Oct 2006
Location: Binghamton, NY/Bayside, NY
Posts: 3,508
Default

Quote:
Originally Posted by Sir Nobax View Post
OMG, that just made me feel all warm and fuzzy inside.



I'm going to reinstall all my stuff and i'll post the results for the AAC-LC @ 224 with CBR and VBR file.
wow, just wow

thank you so much for dong this
__________________
Team Super Minimal!
Home: Asus eeepc 701 -> bantam cable dac -> XP Portable Amp -> Grado HF-2
Portable: ipod 80gb 6G -> Koss Portapro/Altec Lansing im716 (modded)

LastFM
Feedback
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #8 (permalink)  
Old 02-28-2007, 07:20 PM
100+ Head-Fi'er
 
Join Date: May 2006
Location: Singapore (for now)
Posts: 426
Default

If only we could do a similar test for headphones - e.g. feed in a reference signal and then record the output with a mic. Even on the best cans, I bet the graphs would be pretty bad with lots of holes.

Such a test would be hard though - even the microphone would create imperfections in the graph of it's own?

Ps. the graphs are good for technicals. But the reason compression works is because the human ear isn't sensitive to the missing black holes in certain places. A graph full of black holes doesn't mean it will sound bad.
__________________
Rig 1: Marantz CD6000 KI » IXOS XHA203 » HeadFive #300 » AKG K701
Rig 2: iPod Shuffle » Zu Pivot » LDM+ » Etymotic ER-6i
Rig 3: Lenovo S10 netbook » Audio Technica ATH-ESW10JPN
Photoblog: http://duane.shutterchance.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #9 (permalink)  
Old 02-28-2007, 07:23 PM
Febs's Avatar
Headphoneus Supremus
 
Join Date: Mar 2005
Location: Philadelphia, PA, USA
Posts: 2,786
Default

Quote:
Originally Posted by Sir Nobax View Post
Of couse i could A-B every codec but still this is a very uneffective way to hear how much a file suffered from the lossy compression.
Actually, that is the most effective way to hear how much a file suffered from lossy compression.

These spectrographs are interesting to look at, but as I mentioned in the other thread where you brought this up, they really don't give you any useful information about how the lossy codec sounds.

I think that it is a mistake to look at a spectrograph, see that a codec leaves out significant amount of data, and decide from that spectrograph that the codec sounds bad. I would expect the opposite to be true. All other things being equal, wouldn't the best codec be the one that leaves out that most data and still sounds indistinguishable from the original?
__________________
Team Rockbox
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #10 (permalink)  
Old 02-28-2007, 07:29 PM
100+ Head-Fi'er
 
Join Date: Oct 2006
Location: Singapore,Indonesia(Surabaya)
Posts: 140
Default

ncie graphic done there
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #11 (permalink)  
Old 02-28-2007, 08:28 PM
1000+ Head-Fi'er
 
Join Date: Apr 2005
Posts: 1,166
Default

Quote:
Originally Posted by Febs View Post
Actually, that is the most effective way to hear how much a file suffered from lossy compression.

These spectrographs are interesting to look at, but as I mentioned in the other thread where you brought this up, they really don't give you any useful information about how the lossy codec sounds.

I think that it is a mistake to look at a spectrograph, see that a codec leaves out significant amount of data, and decide from that spectrograph that the codec sounds bad. I would expect the opposite to be true. All other things being equal, wouldn't the best codec be the one that leaves out that most data and still sounds indistinguishable from the original?
my thoughts exactly. how is looking at pictures more effective than listening when you are trying to judge the quality of an audio reproduction? now, if you would ABX and then explain your findings with visual representations, that would be useful. but simply attempting to judge based on the images is illogical. this line points out the flaw in your method
Quote:
(notice the funny methode to compress tones above 6khz, it causes a lot of jittering and ringing but sounds better then a normal 64kbps MP3 encoding.)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #12 (permalink)  
Old 02-28-2007, 09:15 PM
Gurra1980's Avatar
1000+ Head-Fi'er
 
Join Date: Dec 2006
Location: Gothenburg, Sweden
Posts: 1,109
Default

Quote:
Originally Posted by Febs View Post
Actually, that is the most effective way to hear how much a file suffered from lossy compression.

These spectrographs are interesting to look at, but as I mentioned in the other thread where you brought this up, they really don't give you any useful information about how the lossy codec sounds.

I think that it is a mistake to look at a spectrograph, see that a codec leaves out significant amount of data, and decide from that spectrograph that the codec sounds bad. I would expect the opposite to be true. All other things being equal, wouldn't the best codec be the one that leaves out that most data and still sounds indistinguishable from the original?


Even if AAC leaves a lot more of data at 128Kbps than Mp3 at 128Kbps the AAC is not a bigger file, I guess this test is about the best codec takes away the most unhearable sounds in music or just not messes up the signal.

One thing that i didn't understand was that WMA9.2 was worse than AAC I can hear the difference from AAC and lossless at much higher bitrates than WMA9.2.

What program did you use to encode with? Did you use WMP11? no you could not have done that because it can't encode higher than 192kbps.

Try to do it with WMP11.
__________________
Home Rig: Xindak Muse Deluxe 1.0 07 Edition with Reflektor 6H23N-EB tubes - Rotel RA-06 - DENON AH-D2000

Portable/transportable: Creative Zen - Koss Ksc-75, Sennheiser PX-100, Denon AH-D2000

Review Hd-650, D2000: http://www.head-fi.org/forums/f4/com...-d2000-245011/


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #13 (permalink)  
Old 02-28-2007, 09:43 PM
mofonyx's Avatar
500+ Head-Fi'er
 
Join Date: Dec 2006
Location: Bristol, UK
Posts: 975
Default

Could we do one with .flac just for the sake of comparison?

This is cool stuff, I like. And I wonder how people can actually distinguish 320kbps with lossless, or not.. (placebo.~)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #14 (permalink)  
Old 02-28-2007, 09:43 PM
Headphoneus Supremus
 
Join Date: Jun 2005
Posts: 2,378
Default

Quote:
Originally Posted by Sir Nobax
Of couse i could A-B every codec but still this is a very uneffective way to hear how much a file suffered from the lossy compression.
Based on this statement, it seems as though you don't understand the nature of lossy encoding. It's not designed to be lossy in a perceptual sense; merely in a quantitative sense. That's the whole point of psychoacoustic modeling and its application in the form of so-called 'lossy' encoding. What your charts show is the impact of each codec's psy model quantitatively, but the charts don't show the qualitative impact on their own, and only arguably do so in concert with a working understanding of psychoacoustics and ability to analyze this data through that knowledge and framework.

When you set the bitrate of any of these codecs, you have a determined, finite bandwidth with which the data is represented. Analyzing the data in this manner (a particular frequency-domain analysis) only even gives you part of the quantitative story, let alone qualitative. A great example of the fallacy demonstrated here was old analyses of VQF (a vector quantization based codec developed by NTT and Yamaha) where 96kbps VQF was claimed to exceed the quality of MP3 at 128kbps and beyond (sometimes going so far as claiming better than 192+kbps), and then data was supplied via a spectrogram. I tried VQF, and the qualitative performance of it was relatively poor, even against MP3 at that time (which was in a substantially less refined state compared to today). I suspect there was a substantial amount of quantization noise, based on the overall sound, and it also seemed to lose a lot of positional information...perhaps due to lousy VQ.

The charts are interesting, but I do not recommend choosing a codec based on their superficial appearance. Blade MP3, unless it has been substantially updated and improved in a manner I'm completely unaware of (as far as I know, development was halted in 2002), is not of the refinement of the LAME mp3 encoder and I would not use it in place of LAME even at 320kbps.
__________________
Quote:
Quote:
This isn't about collector's value, Shorty! It's about sound! Now run the other way, and don't stop until you're above ground! RUN, SHORTY!
Mercuttio Jones turns on his heel, and runs back towards the sound of Alu screaming. With tears in his eyes, Short Thaddy sprints towards the surface.
Team Psychoacoustics Team DIY Team Engineering
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
  #15 (permalink)  
Old 02-28-2007, 09:53 PM
Headphoneus Supremus
 
Join Date: Apr 2005
Location: The Emerald Isle
Posts: 2,116
Default

Another vote for FLAC and how about ATRAC 256/292/352 and lossless.

I'm not entirely sure what I'm looking at in these pictures. Anyone care to explain one of these images?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 10:09 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2
Head-Fi.org