Good read here on "lossy" files vs. high res files

A cozy place to hang out and discuss all things music.

Moderators: mdc, admin, TAXIstaff

jdhogg
Committed Musician
Committed Musician
Posts: 793
Joined: Thu Jan 17, 2008 8:00 pm
Gender: Male

Re: Good read here on "lossy" files vs. high res files

Post by jdhogg »

It definitely is a case of trained experienced ears being able to detect and specify the difference.
I do wonder if subconsiously some of the enjoyable effects of a recording is lost when sound quality is poor.

I remember being in a studio and asking one of the two engineers how they got the great drum sound, he pressed an eq button in and out and mentioned a few cuts and boosts, the other engineer nodded but I could not actually hear the difference ........ I had green ears then ..... ...I think it helps when you know where exactly you have to listen.

Top end goes with age and too much loud live playing..... :(
User avatar
cardell
Serious Musician
Serious Musician
Posts: 2815
Joined: Sun Mar 11, 2007 6:43 am
Gender: Male
Location: Melbourne, Australia

Re: Good read here on "lossy" files vs. high res files

Post by cardell »

jdhogg wrote:I can hear the difference between wav and mp3 when I bounce them down.

This is wav and AAC.

I blind tested and consistently noticed one was superior!

But that was the AAC :( :o :shock:
Same thing just happened to me... :shock:

Stuart
Last edited by cardell on Fri May 11, 2012 12:06 am, edited 1 time in total.
Cardell Music
Image Image
“When the power of love overcomes the love of power, the world will know peace." - Jimi Hendrix
User avatar
mojobone
King of the World
King of the World
Posts: 11843
Joined: Sat May 17, 2008 11:20 pm
Gender: Male
Location: Up in Indiana, where the tall corn grows

Re: Good read here on "lossy" files vs. high res files

Post by mojobone »

jdhogg wrote:
mojobone wrote:
jdhogg wrote:
So his premise is wrong... the test is a complete waste of time....a complete imbecile...... you cannot sample again and assume no extra quantization error.

Laughable that he calls himself a scientist.....
Except that in this case, upsampling isn't resampling. He's just taking the output of the AAC algorithm and encoding it in the equivalent LPCM format; it's the same thing a DAW does when I drop an MP3 in a track. There is no improvement and no degradation, either. Also, you may have missed the asterisk next to the word, "Scientist" on that blog. I did note however, that the author quoted sources that I've found to be very trustworthy; I often quote them myself. And yes, you're correct in that AAC is a better codec than MP3; it's much harder tell the difference at 198k AAC, and at 320k there's virtually no difference; thing is, almost nobody encodes AAC at 320k, and if they did, some players in some browsers don't support it. For compatibility on the web, MP3's the safer bet, despite the audio downside.
;)
The output of the AAC algorithm has been distorted with reference to the source, the worst of it will be in the high end.
If you now take this AAC encoded output and upsample you are resampling using interpolation and are effectively resampling and creating more errors which will again be most pronounced in the top end.
Except that even if you did resample, linear pulse code modulation, as implemented in the WAV format, (same goes for AIFF) includes error correction. (of course it won't correct the AAC errors, but that's hardly the point; the two files should be identical, or near enough as makes no difference to anyone who's not a dog) My best guess is that any resampling errors at the much higher resolution will be very near, if not below the noise floor, more likely below the threshold of hearing, but a simple null test of those two files (AAC and WAV upsampled from AAC) would give you your answer, vis a vis resampling. But upsampling is not resampling, it's multiplication; none of the samples are being requantized, so there should be no error.
The Straight Stuff; Roots, Rock & Soul

http://twangfu.wordpress.com
http://twitter.com/mojo_bone
jdhogg
Committed Musician
Committed Musician
Posts: 793
Joined: Thu Jan 17, 2008 8:00 pm
Gender: Male

Re: Good read here on "lossy" files vs. high res files

Post by jdhogg »

mojobone wrote: Except that even if you did resample, linear pulse code modulation, as implemented in the WAV format, (same goes for AIFF) includes error correction. (of course it won't correct the AAC errors, but that's hardly the point; the two files should be identical, or near enough as makes no difference to anyone who's not a dog) My best guess is that any resampling errors at the much higher resolution will be very near, if not below the noise floor, more likely below the threshold of hearing, but a simple null test of those two files (AAC and WAV upsampled from AAC) would give you your answer, vis a vis resampling. But upsampling is not resampling, it's multiplication; none of the samples are being requantized, so there should be no error.
:D
Then why is the AAC file so much better than the wav one?....according to you there should be no difference.....
p.s. I am not jddog

Upsampling is effectively resampling using interpolation via multiplication to find new quantization levels.
Is is not always completely lossless.

Anyway this is not pcm to pcm upsampling...its a conversion of format that also includes upsampling.

AAC - The signal is converted from time-domain to frequency-domain using forward modified discrete cosine transform (MDCT)

So the AAC algo has its data points in the frequency domain therefore when he "upsampled" he was actually using the algo in itunes and converting back to the time domain so it could be converted and upsampled into a wav.

Also " One will be a full-resolution 24bit/44.1khz WAV file (an original master with even higher resolution than CD) "
So it is not a master...and its not the original..... it is a wav derived directly from the AAC...so how can it ever sound better....it can at best sound slightly worse.

All it is ....is a test to see how much degradation occurs when you convert from AAC to wav.

I maintain he is an ass....the test is flawed. ;)
User avatar
cardell
Serious Musician
Serious Musician
Posts: 2815
Joined: Sun Mar 11, 2007 6:43 am
Gender: Male
Location: Melbourne, Australia

Re: Good read here on "lossy" files vs. high res files

Post by cardell »

Hang-on, I've read through this thread twice now and I must be mis-understanding something:

Are you telling me that the guy who created this test took a lossy file and created the (non-lossy) Wave file from it? :shock: ... :lol:

The way to make the files the same size would be to leave the Wave file (as is) and up sample the lossy one...right?

Stuart
Cardell Music
Image Image
“When the power of love overcomes the love of power, the world will know peace." - Jimi Hendrix
User avatar
andygabrys
Total Pro
Total Pro
Posts: 5567
Joined: Mon Jan 03, 2011 5:09 am
Gender: Male
Location: Summerland, BC by way of Santa Fe, Chilliwack, Boston, NYC

Re: Good read here on "lossy" files vs. high res files

Post by andygabrys »

that's what I get from this Stuart.

although the re-sampled WAV isn't Lossless, because I bet one could overlay a L-side polarity reversed version on top of the actual real WAV and there would be very slight differences so it wouldn't phase cancel to 0.
User avatar
cardell
Serious Musician
Serious Musician
Posts: 2815
Joined: Sun Mar 11, 2007 6:43 am
Gender: Male
Location: Melbourne, Australia

Re: Good read here on "lossy" files vs. high res files

Post by cardell »

OK, but once the "loss" has occurred, it doesn't come back by converting the sound into a (non-lossy) Wave files version.

I mean: even though the Wave file format is (by definition) a non-lossy format...converting something to a Wave file version does not restore lost information. :lol:

This is either really stupid...or I am...(I honestly can't tell right now)... :?

Stuart
Cardell Music
Image Image
“When the power of love overcomes the love of power, the world will know peace." - Jimi Hendrix
User avatar
andygabrys
Total Pro
Total Pro
Posts: 5567
Joined: Mon Jan 03, 2011 5:09 am
Gender: Male
Location: Summerland, BC by way of Santa Fe, Chilliwack, Boston, NYC

Re: Good read here on "lossy" files vs. high res files

Post by andygabrys »

exactly. its lossless only if you did convert from a lower quality mp3 or aac as I understand it.

I guess by some definition, a 44.1k 16 bit WAV is even a Lossy format if the original session were 88k 24 bit.

I guess the whole thing is kind of silly.

I still can't hear the the difference, so I know where the work for me lies.
Last edited by andygabrys on Fri May 11, 2012 12:43 am, edited 1 time in total.
User avatar
cardell
Serious Musician
Serious Musician
Posts: 2815
Joined: Sun Mar 11, 2007 6:43 am
Gender: Male
Location: Melbourne, Australia

Re: Good read here on "lossy" files vs. high res files

Post by cardell »

andygabrys wrote:exactly. its lossless only if you did convert from a lower quality mp3 or aac. as I understand it. I guess the whole thing is kind of silly.

I still can't hear the the difference, so I know where the work for me lies.
It's lossless if it hasn't lost anything. :)

It's lossless only if you did not convert from a lower quality mp3 or aac.

Are you messing with me now Andy? :lol:

Stuart
Cardell Music
Image Image
“When the power of love overcomes the love of power, the world will know peace." - Jimi Hendrix
User avatar
eeoo
Serious Musician
Serious Musician
Posts: 3883
Joined: Wed Dec 09, 2009 4:26 am
Gender: Male
Location: NorCal

Re: Good read here on "lossy" files vs. high res files

Post by eeoo »

The way I understood the article is that you are listening to two .wav files, one the original master the other a .wav that is upsampled from an aac file, is that correct? In other words we are not listening to an aac file and a .wav file that has been down-sampled from an aac file. So to me, the fact that so many trained ears preferred the sound of the aac file (which is actually a .wav that has been upsampled from an aac file) is surprising.

What am I not getting?

eo
Last edited by eeoo on Fri May 11, 2012 2:33 am, edited 1 time in total.