146 points · by thefilmore · 3y ago · 371 comments
- Q: Can you hear the difference between CD-quality lossless audio and anything higher fidelity? A: No, no one even has the biological ability to. 44100khz, 16-bit audio can perfectly reproduce audio as far as we can physically tell. The only reason to store anything higher is for production or archiving (that is, for computers to listen to).
- Q: Can you hear the difference between 320kbps MP3 or the equivalent, and CD-quality lossless? A: Yes, this is _theoretically_ possible. However, many well-controlled listening tests have been performed on this subject that all say no, so it's much more likely that you can't, and the burden is on you to prove otherwise with an abundance of evidence.
e.g.: https://downloads.bbc.co.uk/rd/pubs/whp/whp-pdf-files/WHP384... https://www.researchgate.net/publication/257068576_Subjectiv...
The listening test linked in the article leads nowhere, I would have liked to see their methodology.
We played a range of snippets of music - rock, classical, electronic, pop - at various qualities over what was quite possibly the best sound system in the world.
The audience was a significant number of record label executives, distribution execs and general audio/music industry experts.
We played pairs of the same snippet and asked people to tell us which was higher or lower quality.
One person got them all correct. Turned out he’d mastered one of the early tracks we played so had a good reference and then used that as a baseline for the others.
Everyone else it was completely scattershot.
It wasn’t a controlled experiment but it was definitely interesting.
skeptical though i may be, i'm definitely not here to say that "audiophiles" aren't charlatans or anything like that, for the record. and while i don't totally understand the setup you describe in the sense that i don't get why insider knowledge on one track would tip all the rest of them (were the HQ tracks played either all first or all second, or something?), wouldn't one person's ability to completely discriminate between the two encodings seem to be very strong evidence that it is possible to tell the encodings apart? the kinds of differences between master recording and 16bit 44.1 kHz are exactly the kinds of things that would give away which encoding is higher quality, no?
i feel like there is this moving target thing that goes on sometimes, where the strong argument made loudly is "no human can tell the difference", and then the tests are more like "most people can't tell the difference between things that they have no reason to be attuned to well enough to have any chance of picking up these subtle differences.
forgive me if i misrepresent, or come across like some sort of audio quality chauvinist-- i ask all of this in earnest, and without having a strong opinion one way or the other.
This test didn't measure what you probably wanted it to measure.
And all I can say what I really, really hear the difference.
Because iTunes version is mastered to sound good in iPods so it has a quite noticeable bass boost all over the album, which is extremely noticeable on my 2.0 acoustic which itself has a good bass boost, so this version sounds quite muffled compared to the FLAC version from the CD (CP32-5043).
But on the go, with my CX300-II / CX3.00 there is no noticeable difference.
This matches my own experience well: most of my friends do not care about various levels of compression, nor what headphones they use - that's fine, I'm glad they're enjoying art in their own way - but I, and some others, do in fact stand to benefit from less compressed audio.
I've personally done blind tests on myself using a python script that randomly plays compressed and uncompressed snippets of the same track and mp3@320 was not transparent to me (though opus@256 was).
Can I tell the difference when casually listening? I don't know, but when the cost of lossless is having my music collection take 60gb instead of 20gb on my 512+gb device, I have no reason not to go for lossless.
If you would give high quality audio experience, to a person that has been listening through 80s general store headphones, to low quality radio rips on magnetic tapes, you might be surprised how few people are going to describe one as "better", without prior description of work and technology required to produce each experience.
And one would be even more surprised by how many people choose the cassette tapes because of nostalgia and a long time satisfying experience.
If loudness was artificially boosted, I had a harder time but could still often tell. I think the sound engineering of the music played a big role and a lot of modern music isn't mixed with complexity in mind.
I also go for lossless ;-).
If proper precautions are not taken during the recording/mixing/mastering phases aliasing artifacts can be heard in the recording. This may account for the differences that some people hear when judging whether there are differences between the two. Higher sample rate files are more permissive of aliasing and exhibit less perceptible artifacts. So you're less likely to hear it at a higher sample rate.
The artifacts of aliasing manifest as inharmonic distortion that starts at the top octaves and then folds back into lower frequencies as the effect is intensified. This can be easily perceived by most listeners if it is pointed out to them. It is not a pleasant effect like first-order or second-order distortion. It does not compliment the record at all.
That said, if proper precautions are taken to mitigate latency artifacts during the record-making process then a listener shouldn't perceive any difference between a 44k and an 88k record. The best case scenario is often a record that's recorded, mixed, and mastered, at high sample rates, even if it's ultimately be down-sampled to CD quality (44 kHz).
So the only situation where 44k and 88k can sound wrong is if... the 44k file is different and wrong?
In audio recording, sampling at 88k would be like generating MSAA x2 image, so it can be displayed with higer fidelity, despite the outgut resolution being in lower 44k sampling rate.
Then I learned that DVD was 48 kHz and not 44.1 kHz so the conversion program I used didn't account for this. I went back and used a polyphase filter to adjust the sampling rate. It sounded normal again but there were some audio glitches at various times.
I went back about 10 years ago and ripped it again and converted it to FLAC which supports multiple sampling rates like 44.1, 48, 96, whatever and now everything sounds good.
But 44.1kHz worked better in the lead up to CDs (works for modulating onto video tape in PAL and monochrome NTSC), so it won until DVD audio brought 48kHz to the masses.
I agree on the kHz (as well as on MP3), but I deeply disagree on 16 bits.
Because yes, if you keep your headphone volume at a single reference level and never turn it up, then 16 bits is fine. This is very much proven.
BUT this ignores the fact that people often turn up the volume a ton to hear the quiet part of the classical music, or on that YouTube video where the volume is inexplicably 5% as loud as it should be.
So in practice, 24-bit audio allows you to retain perfect fidelity even when you have to turn the volume up. 16-bit doesn't.
I don't understand why nobody ever talks about this. (Or why you have to install special utilities on your Mac to be able to turn up the volume to 200% or 400% in order to listen to those YouTube videos that are maddeningly recorded at 5% volume.)
Unless you mean that 24-bit allows for representing audio that is stored at an extremely quiet level at the peaks, wasting most of the dynamic range. That would make more sense - but if audio is printed in such a flawed way, I would expect other quality issues to be present as well.
This is consistent with my other comment about badly encoded MP3 being far from transparent.
None of this is relevant to a real, dedicated music playback system that doesn't contain a digital mixer. You can't hear noise at -96dB. Your amplifier will swamp that with it's own internal noise sources. In the 80s the audiophools loved to complain that CDs were too quiet because their beloved LP noise was supposed to be desirable for some whack reason.
A few years ago I did lots of AB testing with some Sony xm1000w3s (Sony LDAC) and Tidal Hifi with some 24bit masters and it was an incredible experience that changed my mind in the whole "640K.. 16bit is enough" argument.
You're better off spending your money on a bog standard DAC/AMP (feel free to opt for tube even, if you insist) combo running through a pair of decent headphones off of 320kbps MP3/AAC (or FLAC, if you insist) source. Even, if we took your subjective insistance that this specialty equipment improved your experience by .00001%, it's probably not worth the 500-1500% increase in expense.
As to your specific example, I can guarantee you that your Bluetooth codec (LDAC or not) introduced far more sound artifacts than the difference between 16 and 24-bit sound.
http://archimago.blogspot.com/2014/06/24-bit-vs-16-bit-audio...
>In a naturalistic survey of 140 respondents using high quality musical samples sourced from high-resolution 24/96 digital audio collected over 2 months, there was no evidence that 24-bit audio could be appreciably differentiated from the same music dithered down to 16-bits using a basic algorithm (Adobe Audition 3, flat triangular dither, 0.5 bits).
>Furthermore, analysis of those utilizing more expensive audio systems ($6,000+) did not show any evidence of the respondents being able to identify the 24-bit audio. Those using headphones likewise did not show any stronger preference for the higher bit-depth sample. No difference was noted in the "older" (51+ years) age group data (not surprising if there is no discernible difference even with potential age-related hearing acuity changes).
In the acoustically prepped monitoring booth of his recording studio, a friend of mine tried to give me an ABX test of 24bit 96 kHz recording and its 16bit 44.1 kHz rendering that was supposedly done right. I heard the difference and easily picked the high-rate one that sounded more life-like. With my best effort, I described it as having a clearer high frequency spectrum, while the other sounded muffled in comparison.
I am left wondering if the 44.1 kHz file wasn't actually rendered correctly with dithering, or if my friend failed to actually get his studio equipment to play it back correctly. I.e. was some overly aggressive low-pass filter done during the conversion or during the playback.
Also, what is xm1000w3s? I can't find any record of this so I'm guessing maybe it is referring to the WH1000XM3 headphones? Given ldac is also mentioned this seems a reasonable guess as it's a bluetooth model. If that's the case I wouldn't call it "good listening equipment", the default frequency response curve of the wh1000xm3 is incredibly bad, it's barely worth listening to classical music on without using AutoEq[1] or something equivalent (I have a pair and it's much worse than my old Ath M50s which were like half the price). The bass heavy curve of the headphones is far more noticeable than any difference between 16/24 bit audio would ever make.
[0] https://people.xiph.org/~xiphmont/demo/neil-young.html#toc_d...
> the effective dynamic range of 16 bit audio reaches 120dB in practice [13], more than fifteen times deeper than the 96dB claim.
> 120dB is greater than the difference between a deserted 'soundproof' room and a sound loud enough to cause hearing damage in seconds.
> 16 bits is enough to store all we can hear, and will be enough forever.
https://people.xiph.org/~xiphmont/demo/neil-young.html#toc_1...
> 120dB is greater than the difference between a deserted 'soundproof' room and a sound loud enough to cause hearing damage in seconds.
> 16 bits is enough to store all we can hear, and will be enough forever.
Correct me if I'm wrong, but isn't 16 bit = 120db about the levels of gradations of sound? Even a 4 bit = 16 levels of sound pressure/SPL could go from 20db, 20+12.5=32.5db, 32.5+12.5db and so on until 120db.
Then, the important question is what's the minimum SPL difference perceptable (at a given spl level). That may well not be 1db.
I checked out the link, and the Sample 2 file does not represent any wave and is not audible, so the article contradicts itself.
"have some anecdotal evidence"
Also totally fair, I shouldn't be hastily writing comments but I am interested in audio and wanted to share my experiences, naively.
I have some 'hires' recordings that I can't tell the difference between a CD at all and do not care for, and some where I hear more details (on very high end), more separation between instruments - and from what I'm reading it seems more like this is a mastering issue. The difference on some of these recordings enable a kind of subjective 'holographic' spatial effect in me (perhaps the cause of my emphatic response) and it seems I have probably falsely attributed this to the higher resolution as the factor.
- Sonos
- Airpods
- Beats
For that price range, Hifiman produces pretty good planar headphones. The edition XS sounds really good.
The question really isn't 'can you tell', it's 'does it matter', and, well, most of the time, no, it does not, even for lower bitrate mp3's.
There are many people, of course, that don't like the idea of lower quality audio, and they can tell at least sometimes, so they 'dislike' mp3 in general. That's all well and good until they start saying silly things like 'mp3's sound bad', which is not true in any sense.
But all in all, that content is relatively rare, and generally transient even in the music they appear in.
128k MP3s, though, fall apart with more complex instrumentation.
I've heard the resonable assertion that the most gifted audio engineers in the world cannot distinguish 192 kHz sample rates from a raw line feed, but some can distinguish 96 kHz. I certainly can't. I used to build audio equipment. There were legendary "golden ears" that people would drive hours to meet, for design feedback. Whatever they heard was reproducible blind with other "golden ears".
How does this square with the logical assertion that there's a sharp cutoff to our biological ability to hear frequencies? Those tests don't account for our ability to sense the presence/absence of overtones.
Now, computers may want better resolution, not to "listen" so much as to better transform in novel ways. Just as "DogTV" recolorizes for its audience, a computer could make the inaudible audible in novel ways. Reconstructing better 3D sound stages. Accurately reconstructing a singer's facial expressions via AI video, rather than simply splatting out something plausible. The whole point of computers are to extend our reach, coevolving in every conceivable way.
Overtones are frequencies. If you filter the higher frequencies you remove the higher overtones. The only way you're going to "hear" ultrasound is if it's very loud and you hear audio-frequency distortion generated in your own ear, e.g. like when bats are squeaking nearby. But this isn't useful musically, because everybody's ears distort differently.
Are people asserting that an ear removed from a cadaver, hooked up to the best available scientific equipment, measures as a perfect biologically derived low pass filter? Or that we even partially understand how neurons work, when there may be quantum effects to be uncovered a century from now?
Intellectual history is a graveyard of models confused with reality.
Compression kills the high end, and learning to recognize tell-tale compression artifacts will forever ruin your ability to appreciate streamed music, low-bandwidth wireless audio systems, or just 320kbps rips of music, certain genres faring worse than others.
I know that in grade school, part of the requirements for joining band, due to the size of my school and overwhelming demand, was passing an audiometry test, where we were evaluated on a few different contexts related to ability to discern detail in audio, such as pitch and volume. I remember being pulled away into the principal's office where some of the test administrators were present, and they accused me of cheating and demanded to know how I did it.
Apparently, I was the only student in the entire state to get a perfect score on that test, at least for that particular year. Unsure if they were implying I was the first ever, but that seems ridiculous to me because passing the test boiled down to just paying close attention.
So I really don't know. Maybe the average person can't hear it, but I know just what to look for in the high-end and usually guess even 320kbps mp3 correctly from my own self-tests wherein I would randomly select between different encodings of a music file. I'm confident I would do well in an administered ABX test if I'm simply being tasked with finding the difference between mp3 lossy encodings and a lossless reference.
It may be that two different people have different results of being able to tell the difference due to physical differences, no matter the "effort" the put into listening, or training.
But most of the time that's intentional, as high frequencies you "can't hear" just waste bits that could be used on something more useful, or even cause noise from aliasing and harmonics, as no actual playback equipment is perfect. And extending the frequency range makes it much harder to design the circuitry. All for something you can't hear :P
It's another reason why high frequency (96khz) playback is kinda useless, or even make things worse, as the extra frequency range that gives cannot be heard by humans anyway, and just gives more opportunity for those higher frequency patterns to cause distortion. It may even be that people can "tell the difference" precisely because of those distortions. But that doesn't mean it's "better", indented, or even get the same result on different playback equipment.
AIUI there are some things that don't go away at any bit-rate, e.g. pre-echo.
However higher bit rates and sample rates are needed for multi track recordings so that during the mixing stage and mastering, the fidelity is preserved when _math_ causes rounding errors and what not. Unless, you are using nondestructive editing.
As for listening to the final product, i.e. store bought CDs and their equivalent MP3 and AAC rips... I can often hear the difference in specific recordings, no matter the bit rate, because the perceptual encoding schemes often butcher certain recordings.
For example, on RUSH's Red Barchetta from Moving Pictures, there is a synth intro that slowly vamps in volume. Every MP3 encoder (that is normally worth it's salt) I've ever tried encoding that with outputs a garbled, distorted, electronic sounding distortion. It clears up immediately once it reaches full volume, but during the crescendo it falls on it's face.
> participants were asked to listen to both versions as many times as needed and to choose the version they preferred in a double blind A/B comparison task
I have trouble finding high quality studies comparing 16-bit to 24-bit audio. This one one is kind of interesting:
https://www.researchgate.net/publication/338989993_Study_on_...
I'm not an expert, but one claim I saw somewhere is that a higher bit width and sample rate is good for people who are mixing and doing audio processing, even where the final result might get downsampled to 44100 hz and 16 bits per sample at the last stage.
That is all intermediate formats and doesn’t really say anything about what is best for consumers like the standard mastered cd quality at 16 bit 44.1 khz.
Bandcamp is a cool market because I can download wavs from albums to store on my phone. You can see what people use as masters and its all over the place. There are many 96khz masters around and 24 bit depth is popular.
I have a usb audio IO that supports 192KHz across 8xin+out. Those file’s just clog up hard drives so I figure 96 is good enough for bat music.
I’ll run youtube rips of dj sets through some light hardware compressors and preamps and it sounds great. You cannot have specs determine quality.
The audible difference can be described as sound stage size, instrument separation and atmosphere.
The problem is making these details audible needs a good system. “Good” doesn’t mean $10K+ here. Two high quality, large-ish two way bookshelf speakers and a good amp with enough punch (50W+ Yamaha or similar will do) plus a good source in a sizable room is enough.
There’ll be people who can’t tell any difference, there’ll be people who can “feel” it, and there’ll be people who can pinpoint differences. This is because the ear training and biological limits of said people.
I have a friend who can pinpoint a half note (natural vs. sharp) mistake in a 90+ people symphony from YouTube recordings, incl. the instrument. His natural ear resolution is around 1/9th of the tone. He always tunes his instruments via ear and verifies with a tuner. So, this is not impossible.
My ears are not that absolute, but I can divide music to layers and pinpoint details, for example.
Lastly, taking a “diff” of CD quality and 320kbps MP3 version of the same track will leave an audible residue.
There are other comments I left over the years here. Search them for more info. I’m on mobile. I have no practical way to link all of them.
Like for example, the fact there is an "audible" diff is meaningless. The threshold of hearing is not linear nor frequency independent. This is called "masking" and it's exploited by lossy codecs to allow for better encoding as well as audio watermarking. You can add a noise that would be perceptible by itself to content that is entirely masked by the content itself. And the reverse is true, you can remove content without it being perceptible.
The idea of lossy codecs is they filter out the things you theoretically don't hear, yes. However, the presumption that you don't hear these when they are present is not completely true. Because they have a secondary order effects in overall sound.
The audible residue you claim that I don't hear when it's in the CD is the part of the sound which adds this instrument separation and soundstage expansion. Same is for higher sampling rates. While you can't pinpoint the difference with words, it shows itself as smoothness and "richer" sound.
Saying that you can't hear that difference is akin to saying "Human eye can't see faster than 30/60/X FPS anyways", which is not true.
When anyone presented with a lossy-encoded audio file produced with a state of the art encoder and not brick-wall mastered, will be impressed, yes. This includes me, too. However whenever you listen to the same file in lossless or, if present, higher resolution formats, with a sufficiently transparent audio system a couple of times, you start to notice the differences.
There are a couple of caveats in all of this audio business. First of all, you need to know how your audio system sounds and behaves to be able to discern differences. This requires time with the same system for a long time, to understand how it responds. In my case, I have the luck of having the same amplifier (An AKAI AM-2850) for ~30 years. I know how that thing responds to any genre of music, and I know how anything should sound at any quality level. Again, as I aforementioned, you need to do these ABX tests a couple of times back to back, esp. if you don't know the track, to be able to decode the details in sufficient manner. Digitalfeed's ABX test (https://abx.digitalfeed.net) understands this and makes you listen to the same thing 5-10 times according to your available time.
See, I'm an ex-orchestra player. I played in concerts, listened master recordings, and YouTube uploads of the concerts I played as well. I have also listened tons of CDs, MP3s of the same albums, etc. Some of the albums I listen have a captivating sound when I listen to them from CDs. MP3 versions of the same albums do not nail me to my chair, yet I can't leave the CD version of the same album to get a cup of tea. Both are ran through a Yamaha CD-S300 CD player with an iPod interface and MP3 playing capability over USB.
I can also write how CD tracking quality affects audio clarity, but this comment is long enough. In short, Yamaha's old CD-Recorder, CRW-F1 really improved sound quality by abusing Red Book standard by lengthening the pits of audio CDs. It reduced to capacity to 68 minutes, but it was worth it, esp. on lower end CD players.
I have tried multiple times to discern flac vs 320 mp3 across genres. Every time I believe I can figure it out and I consistently fail to exceed 50% (pure chance) accuracy.
Makes me wonder what ultra-linear source gear or speakers would highlight the differences in real-world situations, if at all. But for my purposes I’ll happily accept the roughly 80% file size reduction for no audible difference.
A couple of years later I found an ambient track that sounded messy at 320 Kbps, and that converted me to using flac instead. Disk space had got cheaper enough over that period that it made no meaningful difference.
THis was all years ago now (I'm in my 40s...), and I don't worry about it too much any more. Firstly, I still use flac, so it's identical to the original anyway. And secondly, even if I did use mp3, my aged ears probably couldn't tell the difference even if I turned the volume up to unreasonable levels.
Brain is interested in the low hanging fruit, i.e. the music and the melody itself, first. The music needs to became mundane or ordinary to be able to listen it deeper for more details. This is when differences can be heard more easily.
Lastly, you don't need perfect systems to hear differences, but understand how your systems respond to the music you're listening to. i.e., your music system's sound needs to be mundane to your brain too to be able to go from low hanging fruit to minute differences you were not able to hear before.
Imagine encoding a sort of real world dynamic range across 16-bits. This would go from 0db to 100db in volume. This would need more than 16-bits which yields an SNR of about 96db. The dB values are different and not comparable but you can see we don’t capture the full dynamic range of human hearing very well.
While I agree with the premise this also depends massively on the equipment used to reproduce the sound. If you have a good amp and large speakers you are more likely to notice than your cheap headphones or thru your crappy laptop speakers.
On a plane, I’m glad I can pull down a ton of albums on Spotify and listen to them without access to internet connectivity.
For Eno, Steely Dan, Roxy Music and Thomas Dolby produced albums, I’m glad for lossless.
For sitting at home on a Friday evening with a bourbon in my hand and the lights down low, nothing beats my vinyl player.
I could get into the cars side of it too but that’s more a “me” thing than a “relevant to this conversation” thing.
Here you go:
https://web.archive.org/web/20080322114622/https://www.stere...
https://archimago.blogspot.com/search?updated-max=2013-02-24...
Starts about halfway down the webpage.
Computer graphics is pretty good, but how does it compare to walking out into a bright sunny day.
Audiowise, I wonder how listening to live music, then listening to something that went through capture and playback end-to-end.
I'll bet there are differences and I wonder where the "bottlenecks" are.
I find it hard to believe an entire industry exists with high-end audio equipment ($100k+ on speakers/receivers/room treatment) just to play 320kbps MP3s?
It's true that, technically, you'll get better results from the second codec when starting from the uncompressed source. Generally, it's always better to avoid unnecessary generation loss. That doesn't necessarily mean that you'll hear a difference since that depends on the cumulative output quality.
How many encodings does it take before a trained listener using good equipment in an ideal setting can tell?
In the early days of digital audio, and before oversampling was possible, the anti aliasing filters were analog circuitry.
It's very difficult to cheaply implement a 20kHz brick wall filter with a 2kHz sideband.
Doing it in 4kHz yielded better results at the cost of slightly faster ADC designs.
I believe this is why 48kHz designs got the foothold in professional audio circles. The analog parts of those designs were WAY better sounding.
Once oversampling became common and affordable, the anti aliasing filters where implemented much more easily in the digital domain.
Do you think it matters if I play the song on my $10 cheapo earbuds or on $60,000 Sennheiser HE-1 Summit headphones?
There was an even a creepy ad campaign several years ago that took advantage of this. They had a billboard in New York for A&Es new show "Paranormal State" with the tagline "It's not your imagination".
They used an ultrasonic system on the billboard to make audible sounds appear in a small region on the sidewalk but not anywhere else. When people walking along the sidewalk got to that region they would hear a woman whisper "Who's there? Who's there? It's not your imagination".
That system worked by making a single ultrasonic beam that somehow as it dispersed became audible. There are other systems that use multiple ultrasonic beams that produce audible sound via interference where the beams meet.
Many acoustic instruments do produce significant amounts of sound above normal human hearing range. Cymbals for example have nearly 70% of the sound power above 20 kHz. Trumpets with a mute have almost 2% above 20 kHz.
It seems possible then that if you wanted to produce a recording that reproduces the sound you would get if live acoustic instruments were playing in the same environment you might need to include ultrasonics unless you are making a binaural recording.
This does raise the question of what we actually want playback of a recording to achieve. Is a recording of a string quartet when played back in my living room supposed to sound like that string quartet is playing in my living room, or is it supposed to sound like what I'd have heard if I was there when the piece was recorded, or is it supposed to be something else?
(For those who haven't heard of binaural recordings, they are stereo recordings made by placing microphones inside the ears of a model human head so they record the sounds that actually ends up in each ear when something is recorded live for a listener at a specific location in an environment. This page of headphone tests [2] includes a binaural test if you'd like to such a recording).
You're not experiencing these ultrasonics with headphones. You're not going to faithfully recreate some ultrasonic interference pattern in a random room with a pair of tower speakers placed in any arrangement. If anything, you're more likely to just make extra noise that wouldn't have been there originally from those interference patterns happening haphazardly and chaotically, coupled with the fact the vast majority of audio gear isn't designed to reproduce ultrasoincs (they're often specifically made to try and not generate them!)
And even then, by recording in the room with the instrument, you are capturing the resulting ultrasonic interference that you could have experienced if you were there.
As for anything beyond 16 bits amplitude on line level, no, you cannot hear a difference. For such a low-voltage signal the resolution at 16 bits is so fine that it already drowns in all the natural noise and THD in the cables, in the amplifier, in your speakers/headphones etc.
It explains why you’re wrong in easily digestible terms & how a 44kHz sample rate will accurately encode signals right up to the Nyquist limit. The second video is an end to end demo showing the process in action.
Thanks a lot for those videos, they were absolutely excellent. For anyone wondering they're presented by "Monty", the guy behind the ogg container and vorbis codec. I probably understood 10% of what he said but that's still a lot.
This is mathematically false. A 6kHz or 8kHz or 10kHz or 20kHz signal absolutely can be perfectly preserved with a 44.1kHz sample rate. Not just kind of preserved, but perfectly preserved.
This just builds on the xiph video someone else linked but essentially
- sine waves are fine as long as you have points for rising and falling edge (nyquist, 44k guarantees 22k sine wave reproduction)
- bit depth only really affects noise floor, so it depends on your audios dynamic range
2. MP3 has improved a lot over its lifetime. LAME was already used for default by year 2000. When people say MP3 was good enough, they refer to MP3 encoded with LAME. ( Rant: When we people learn the codec, encoder and the encoded results are different things? 2023 and I see this mistakes everywhere still )
3. Even iTunes AAC has seen lots improvement since 2008. Especially in the 256Kbps+ Range.
4. And when AAC is mentioned. That is AAC-LC ( Or AAC Main Profile which isn't all that different ). AAC-LC ( Low Complexity ) has been declared as Patent free by RedHat. There is no reason to use MP3 today.
5. The definition of "CD-quality" alike went from MP3 128Kbps to now AAC 256Kbps. And arguably that is true for consumer market. Even Hydrogen audio has repeated these test multiple times.
6. I still prefer the codec MPC, Musepack (https://www.musepack.net). Sorry I just had to write it out. Sadly it never gained any traction.
7. If we have to be picky about frequency range, may be CD itself isn't good enough and we could use SACD?
8. Lossless is making a come back. Storage and Bandwidth cost continues to fall. ( Arguably not true for NAND, but let's ignore that part for now )
9. It is ironic when Lossless could gain and be used mainstream, Wireless earphones are replacing traditional earphones. Meaning your music will be re-encoded before it is sent to your earphone. And No. Most Android or iPhone dont have AAC pass through. i.e Your AAC encoded files will still be re-encoded before sending it your bluetooth earphone.
It's certainly the convention on HN to put the year in the title for older articles, but it's not one of the guidelines (https://news.ycombinator.com/newsguidelines.html).
(minor point but I can't help it)
Back in the early 2000's when I was getting into ripping my collection I didn't have enough space for FLAC so I surveyed the options and Musepack seemed like the obvious lossy codec winner. I still have that collection of .mpc's somewhere.
Why not then? Because there is a ton of science and empirical evidence that humans cannot hear the difference[1]. Good engineering is about meeting the requirements with minimal cost. If the requirement is that it sounds good to humans, and the cost is number of bits to encode (and thus store and transmit) the signal, then modern codecs like Opus are clearly superior to uncompressed and losslessly compressed signals, much less higher sampling rates.
If your goal is something other than good engineering, for example the aesthetic satisfaction that the bits are the same as what the mastering engineer put on the CD, or for some reason caring how clean spectrum plots of artificial signals look, then the arguments may have some merit. But let's be clear on the goals.
Because it can fully reproduce everything the human ear can hear. Higher bitrates are only useful for production or archival.
You can compress it for listening later, but you can never add information _back into_ the file. Store it in FLAC for archival purposes.
An equivalent would be archiving works of visual art in JPEG and not something lossless.
But not because it sounds better. Simply because 48kHz is what your computer and phone natively clocks its audio codecs at. It's done because that's generally an integer fraction, but the why doesn't matter as much as the fact itself; PC "HD Audio" and phone codecs are 48kHz.
Yes you can resample, and yes you can resample without it being audibly noticeable. But it's an extra step where you're at the mercy of whoever implements it to do it right. Doing it wrong may also include noticeable delay, breaking e.g. A-V / lipsync.
Can you build HiFi systems that support 44.1kHz and maybe dynamically switch their clock source as needed? Sure. But what's the easiest way to build a HiFi system these days? You just stick an off-the-shelf embedded device in it, which likely uses standard PC/phone tech…
So just ship 48kHz.
(Similar argument for video recording in 50Hz countries btw - unless you are recording for TV/broadcast, you should always shoot at 60 / 59.94fps. Because that's what PC and phone screens run at…)
Even if it's the only stream and you could switch the codec to 44.1kHz mode, what do you do if the OS wants to play a random notification sound? Switching between 44.1kHz and 48kHz is not going to be hitless on a significant number of HW (not all, but most I'd guess), so whoever's writing your OS mixer code would reasonably make a call to always mix at 48kHz…
(Yes this argument primarily applies to PCs and phones, hopefully on a HiFi system that just happens to use COTS embedded devices they'd write some code to switch the rate…)
The question is if humans can hear the difference in the lossy waveform and if that harms the listening experience.
I recommend that, for serious listening (for some weird definition of "serious"), go to a music concert. PCM is also a lossy compression due to the quantization step, albeit its effect is much less pronounced for so many reasons that no one even thinks it as a "compression" method. If you can tolerate PCM, you should be also able to accept some good enough lossy codecs---I don't know if that includes MP3 or AAC or Vorbis or Opus or whatever, though.
But for other styles, I don't enjoy concerts for audio quality.
It's usually way too loud, so you have to wear earplugs. I've heard some made for this don't skew audio too much, but they are still a filter.
And then you have to like the balance that's chosen by the audio engineers and they are often not ideal. The voices can sometimes be not loud enough to the point you don't hear the words well, the bass too loud. Frequencies don't all travel the same way, so if you are too far away some things are missing or distorted, etc.
And then there's the noises from other people, the claps, the screams, etc.
And the audio still possibly went through some kind of non-analog equipment.
Not saying that feeling the bass in your whole body and feeling the communicative / excited atmosphere from the crowd can't be enjoyable but for audio quality, I'd rather listen to music in a calm room with some good equipment, at a volume level comfortable to me, when audio engineering didn't have to be live and could be (even) more carefully managed.
> If you can tolerate PCM
Are there people who can't tolerate it? It must not be very convenient.
(Huge caveat to this comment: I listen to music most of my awaken hours, but I'm not an audiophile. I never carefully listen to music, it's usually in the background.)
20 * log10(1.0 / 2**16) == -96db
Much like sampling rate, it produces a range that's most likely outside of the ability for any human to appreciably detect. It's also a constant effect, whereas codecs actually analyze the audio to determine which components of the frequency spectrum it can eliminate.I don't think it's reasonable to compare PCM and lossy codecs this way.
No, it's a lossy encoding step. Losing at least some of the information of a performance when you record it is unavoidable. For PCM to be a lossless, when you play it back it would have to transport you back in time to when the performance was recorded and you should be able to touch the performer. You're being silly.
Wrong, especially today. Modern ADCs use oversampling to push quantization noise into the inaudible range, and then filter it out before decimation to standard PCM.
Because the end result is standard PCM, the quantization can be only worse, not better.
Oversampling ADCs push a much greater quantization noise into the inaudible range, and then, by low-pass filtering, reduce the quantization noise to the level of standard PCM.
Oversampling ADCs are not better, they are much cheaper, because 16-bit or 24-bit quantizers with enough speed and accuracy are extremely expensive.
Oversampling, i.e. sigma-delta modulation, in both ADCs and DACs, allows the use of much cheaper quantizers with low resolution, of only a few bits, or even of only 1 bit, and of much cheaper filters, which do not have to be very steep, without degrading too much the quality in comparison with real PCM conversion done at the Nyquist frequency.
A lot of rock music lives from the imperfection of audio equipment, people spend a considerable amount of time replicating the behavior of vacuum tubes. Even techo producers like Robert Babicz record to analogue tape machine to enhance the final result.
"Lossless compression is benign in its effect on the music. It is akin to LHA or WinZip computer data crunchers in packing the data more efficiently on the disk, but the data you read out are the same as went in."
...but then recommend uncompressed over lossless compression for "serious listening":
"We recommend that, for serious listening, our readers use uncompressed audio file formats, such as WAV or AIF—or, if file size is an issue because of limited hard-drive space, use a lossless format such as FLAC or ALC."
But I doubt these guys are using a Pentium 1 machine to play their audio files so idk. The low end smartphone I had in 2013 could easily play FLAC files, at least in the real time uncompressing and decoding part of the equation. Now if the built in DAC and amplifier could take advantage of that extra data is another thing.
I suppose decoding speed could matter in some situations, but they said "for serious listening", not "if your system is so slow that it fails to decode the file in real time".
Even decoding speed is doubtful, a 486-100 MHz can decode 44.1/16 FLAC in real time with CPU to spare.
Today's standard isn't "CD Quality" anymore. There is literally no audible difference between MP3 320kbps, which covers the complete range of human hearing up to 22kHz and FLAC which covers all the way to 192kHz, which is lossless. At this point digital audio has surpassed what the human ear is capable of hearing, and any advancements to this is superfluous as far as music is concerned.
The only advantage to raw or lossless formats for music is archiving, as FLAC can be converted into other formats without incurring additional quality loss. For listening, it is now more important to have good equipment rather than a lossless format, and for streaming it is generally preferable to keep bandwidth requirements down.
The only reason I can imagine to continue expanding the capabilities of lossless audio is for scientific purposes and machine learning where the limits of human sensory perception isn't a limiting factor.
Although MP3 does have some fundamental limitations that cannot be fixed no matter how much bitrate you throw at them (referring especially to the "Inoptimal window sizes" from https://web.archive.org/web/20120222124415/http://www.mp3-te...). They're not dramatic issues, to be fair, but as long as you go for lossly compression, using a somewhat more modern codec like AAC or Opus would be preferable, unless you absolutely need the maximum compatibility afforded by MP3 (though these days at least AAC support should be pretty widespread, too, plus the patents on regular ["low complexity"] AAC have expired as well).
Communications is the main reason. There's only so much bandwidth in 44.1KHz.
The article's byline has 2008.
A 2023 update could be interesting comparing the streaming providers' choices, and persistence of choices, now that monthly subscriptions, rather than actually owning anything, are so dominant.
The only reason to have "Hi-Res Lossless" is if you're going to do something besides listening with it... and you can't with Apple's streaming.
If we do ABX test you will find out that people can't even make the difference between the original artist and a cover artist let alone lossy vs lossless. Should we just use cover artists at concerts?
The brain adapts quickly to lower quality be it visual, audio, olfaction or gustatory. Does it mean we should ingest the most we can tolerate because we get used to it so we can run on more efficient/cheap resources/content ?
And you would be surprised by the number of radios streaming at 96kbps.
You can absolutely hear the difference between a bad MP3 and the original. I used to amuse myself and friends by quite reliably identifying the difference, blinded, using a rather bad pair of speakers.
Actual CD audio can also work quite differently than any encoding, as at least older CD drives had an entirely separate analog output cable that connected to the sound card and bypassed the ATAPI link entirely. Levels wouldn’t even be matched.
That all said, these days encoders are much better, and there’s no excuse not to go for 320kbps (assuming you have to use MP3).
What I find more interesting is that there was a period where some people who grew up listening to MP3s preferred the artefacting they introduced vs lossless. In much the same way how vinyl enthusiasts like the colouring of the sound that medium introduces. Which just goes to show that as much of this is down to psychology as it is technology.
I mean, the famous mp3 pre-echo was so common in early 90's that I think part of the listeners would prefer listening to it than to a cleaner sound. It is possible that mp3 influenced how music is composed, mastered and mixed.
That being said and adding the fact that people are willing to listen to music using cheap auricular phones in the noisy environment of their cars and recompressed using Bluetooth, I'd say that the 128kbps mp3 is still a very hard to beat format.
People have strong relations with their musics that they are used to while growing up. Nostalgia are powerful memories and they don't want their music unsullied from something that they grew up with.
[1] https://www.soundonsound.com/techniques/what-data-compressio...
[1] https://www.iis.fraunhofer.de/en/ff/amm/consumer-electronics...
Yes, but what about with music?
Yes as several have written, the piece is from 2008 and it doesn't matter any more.
First, once LAME and VBR came about, I've never been able to tell the difference between my 192K MP3 and lossless files, even as a spring-chicken with expensive equipment. Been "good enough" for a very long time.
Second, since storage and bandwidth exploded I've used FLAC exclusively. Why not? But, have found 24/96+ files on the internet occasionally and first thing I downsample them to 16/48khz and do a listening test. I sure as hell can't hear the difference between those. I do leave the last extra 3.9khz... why not? Incredibly cheap and maybe the kids can hear it. Playable on car stereo and more compact, one third the size.
Finally, a big exception. Techies obsess about compression formats, but they don't matter as much as you think at the high-quality end. I've learned the source, i.e. master recording is more important. Example—rip "pristine" FLACs (or WAVs) directly from an iconic 80s CD. Do a listening test. Compare them with a modern remaster encoded with 192K Lame VBR MP3. The MP3 will sound a lot better and preserve the improved high end details. Yes, more noise but you'll struggle to hear it.
(Caveat—this is assuming we're not talking about a shitty 2010-era "loudness war" remaster but a quality-oriented remaster.)
Was mildly surprised by this after insisting on FLAC for almost two decades. A bit too early, in hindsight. Storage is so cheap now though, it again doesn't matter. FLAC it is, Opus from online sources.
ALAC/FLAC files are pretty small, there's few downsides to going lossless. To be fair, there arent that many upsides either, but you at least skip one recompression step when sending the audio over BT.
Gigabytes are cheap.
Yanni Rainmaker Flac -> 40 MB Yanni Rainmaker Mp3 -> 3MB
More than a factor 10 for a single song. For 50 songs that would become 2Gb. I love flac as a format but i would never recommend it as a general format for my grandmother.
If you haven't looked in five years (like myself) I recommend doing that. No one needs to suffer on short disk space any longer. Don't know what "grandma" uses but it is unlikely that audio is a significant burden anymore when people routinely shoot HD+ video.
Also if compressing, Opus sounds better and is smaller.
And I get that the 1TB for $100 is cheaper per gig, but if I never even needed those gigs in the first place my overall cost is still cheaper to get the $3 one.
The last one sadly is from 2014: they tested Opus, AAC and Ogg Vorbis at 96 kbps against a classic MP3 128 kbps, and find out which codec produces the best sound quality.
https://listening-test.coresv.net/results.htm
https://listening-test.coresv.net/bytrack/index.htm
Notice that it is almost 10 years old, and that MP3 was encoded at 128kbps.
Old old OLD argument here. Apart from -rare-, well-trained golden ears, very few humans can distinguish 192K or better, well-encoded MP3s without knowing -exactly- what to listen for. Or will need to 99% of the time.
As dozens of studies have shown over several decades. The rest is either marketing or self-deception.
I certainly don't have golden ears; I'm no audiophile, and I'm getting on in years. 44KHz FLAC is easily good enough for me. But I tire of listening to MP3 music, after a few tens of minutes; it seems to lack the presence and immediacy that keeps me interested.
Not really. I'm not proposing a hypothesis that needs testing; I'm just reporting subjective anecdata. I don't need to test it, because even if I'm deluded it costs me 300GB instead of 100GB. Pfft.
"Lying to yourself" is silly talk; that implies that I'm knowingly telling myself a falsehood, which doesn't make sense. At worst, I'm mistaken.
You are aware of a common fact backed up by mountains of empirical data, a strong physical explanation, and fundamentals of information theory, but tell yourself this lie:
>I'm convinced that we can "hear" frequencies well above the reputed 20KHz limit of human hearing
This is a lie. You tell it to yourself. You must see this.
It's all a painfully fruitless effort when you learn that most masters don't even consider the phasing of instrument microphones and none of it is at all a close approximation of what it would be like to be in a room listening to instruments. It's good enough, yeah, but there are much more important and difficult threads to tug than lowering noise in the signal chain.
If you see such a huge difference across all music the playback software have manipulated the audio.
Assuming you have high quality set on spotify (even in the mobile-streaming setting, if you didn't use wifi).
EQ-ing and mastering could also be different.
Possible, although I didn’t change any default ones.
Feel free to make one or take an existing one like https://abx.funkybits.fr/test/the-eagles-hell-freezes-over-h...
This is why variable bit rate was developed.
A more modern codecs like AAC or Opus, that can e.g. better deal with the cymbals problem you mention.