News for hackers. Stuff that matters.
Re:24/192 music downloads are silly by ChrisGranger on Wednesday December 03, 2014 @02:20AM (#8692327)
Bit depth affects dynamic range, and that's it. The only thing a 24-bit sample can do better than a 16-bit sample is accurately reproduce the difference between very loud sounds and very quiet ones. That's all. For the vast, vast majority of music listeners, the difference will be insignificant, as they don't listen in an environment where a dynamic range of 144 dB can be used to anywhere near its full effect.
Re:24/192 music downloads are silly by ecocentrik on Wednesday December 03, 2014 @10:21AM (#8694127)
This is slightly incorrect. The combination of bit length and sampling rate determine both dynamic range and frequency fidelity. Although it's common to hear the two values used to represent these two separate physical measurements, it's just another case of explaining new tech (80s CDs) to old technical consumers (70s hi-fi types). You can measure a reduction in dynamic range by reducing either sampling rate or bit length.

You'll frequently find 1-bit A/Ds and D/A at > 5Mhz on high fidelity systems. That 1-bit signal is converted to/from a higher bitrate, lower sampling rate signal without loss of fidelity. If you're interested in looking at alternate bitrate encodings you should just look at the Super Audio CD format https://en.wikipedia.org/wiki/Super_Audio_CD

On your second point, I agree, we live in a noisy world and hearing 144dB of dynamic range would require serious isolation.

What most people should be able to hear with 90Dbs of dynamic range, are the harmonics created by undersampling a high frequency signal. To quickly explain I'll use a 1-bit lower frequency scenario. Lets say we have a 2Khz sine wave and a 1-bit 5Khz sampling rate. The 2Khz signal is going to be represented by a different 2 samples every cycle. The result will be a signal that is no longer a sine wave and closer in frequency to 800Hz (wild approximation) than 2Khz. Low pass filters are used to to keep those harmonics from being too pervasive but they still sneak into the signal near the high frequency range. Transpose this example to our current audio standard and you might realize that in order to accurately represent the high end we need a little more than 16bit 48Khz.

Re:24/192 music downloads are silly by badsock on Wednesday December 03, 2014 @01:11PM (#8695331)
In your last example about the harmonics, I can see that being so in the most simple case, but surely that's a limitation of the playback system, not the storage medium. And isn't that addressed by the oversampling that is used almost universally in DACs now?
Re:24/192 music downloads are silly by ecocentrik on Wednesday December 03, 2014 @01:32PM (#8695471)
It's a limitation of the recording/storage medium and is addressed by oversampling and low pass filters in ADCs in acoustical recording. Most audio recording, processing and mixing is performed in 24 or 32 bit. Once the data is down sampled for distribution in 16bit 44.1Khz you run into the limitation again where you have fewer samples to represent higher frequencies. The only remedy is to attenuate those frequencies before downsampling. I'm unsure of the role oversampling plays in DACs so I can't speak to that.
Re:24/192 music downloads are silly by badsock on Wednesday December 03, 2014 @01:56PM (#8695635)
My understanding is that oversampling is done in DACs so that digital filters can be applied without introducing the effects that you describe at the top end of the frequency range. Basically it interpolates to a higher sample rate so that there's more play in filter selection/application.

In terms of attenuating the high frequencies before downsampling - have I misinterpreted Nyquist? I thought that there was no loss in fidelity, right up to half the sampling rate.

Re:24/192 music downloads are silly by ecocentrik on Wednesday December 03, 2014 @02:16PM (#8695756)
I figured it had something to do with the application of digital filters. There are only two significant samples of a source at half the sampling rate, so it should be able to represent a frequency at exactly half the sampling rate but I can't see how it could accurately represent a frequency at just a few hz below 1/2 the sampling rate. Notice I'm using the word frequency. A sine wave with a frequency of 22,050hz encoded at 16 bit 44Khz is not going to look anything like a sine wave.
Re:24/192 music downloads are silly by badsock on Wednesday December 03, 2014 @02:49PM (#8695940)
Right, 22,050hz looks exactly like a triangle wave on a computer screen. The thing is that a triangle wave is composed of a fundamental sine wave (22kHz), and a series of ascending odd harmonics above it. So after the filters nix everything above 22kHz it looks exactly like a sine wave on a scope.

So you're right that you lose information as you go higher in frequency, but there is also commensurately less need for information to recreate it precisely because the filters remove the detail anyway (and if not the filters, the human ear).

Re:24/192 music downloads are silly by ecocentrik on Wednesday December 03, 2014 @03:41PM (#8696214)
Sure 22,050hz and 11,025hz get smoothed out into perfect sine waves and the human ear can't hear 22Khz anyway. But the Nyquest frequency isn't some magical threshold that you cross and suddenly everything is perfectly preserved. It's a folding frequency that determines where aliasing is going to occur, or rather where it's not going to occur. A 44Khz sampling rate is based roughly on western tuning (440Hz A) and makes no attempt to accurately capture sounds and frequencies that are not tuned to western music. As you move away from the folding frequency, there are frequencies in the human audible range that can not be represented, so they're discarded or attenuated by anti-aliasing filters. As far as I'm concerned CD audio is outdated tech that most of the world just doesn't care enough to drop. It's ridiculous in a world of 5K retina screens that people can't see the value in higher resolution audio.
Re:24/192 music downloads are silly by ChrisGranger on Wednesday December 03, 2014 @04:41PM (#8696485)
>It's ridiculous in a world of 5K retina screens that people can't see the value in higher resolution audio.

Not if they can't hear the value in higher resolution audio. For many people the only difference in HD audio over 16-bit 44.1 Khz is that the files are bigger. If someone can't hear the difference, it's no surprise that they don't care to move to a new format.

The screen analogy isn't perfect as most people can still readily tell the difference between an HD image and a significantly lower resolution one. (Though yeah, we're getting closer to pixel densities surpassing people's ability to resolve pixels as well, provided they're not putting their nose to the screen. It won't be too long now.)

Re:24/192 music downloads are silly by ecocentrik on Thursday December 04, 2014 @10:53AM (#8699814)
There's a difference between not being able to hear and not knowing what to listen for. Listen to the highs on a well tuned hi-fi system and you can hear the difference between CD and SACD. Listen for the sound of a singer taking a breath or the slow ring of a cymbal. If you've never heard these things in person to begin with then you're at a disadvantage trying to hear how badly they are represented in recording technology from the 1980s.

Don't argue from a position of ignorance. Make friends with a recording engineer and have them play you a 32bit mix followed by a 16 bit mixdown.

Re:24/192 music downloads are silly by diroussel on Thursday December 04, 2014 @09:34AM (#8699347)
Yes, and also remeber that as you approach the nyquest frequency, the ability to encode phase is lost. People always talk abou sampling capturing different frequencies but they forget to think about phase.
Re:24/192 music downloads are silly by badsock on Wednesday December 03, 2014 @05:58PM (#8696904)
Which gets back to your original point about both sample rate and bit depth contributing to the dynamic range. I'm very curious: can you give me some search keywords that would get me to the math behind that? Also, I've never heard the claim that the 44.1kHz rate biases toward 440Hz tuning, is there somewhere I can read more about that?
Re:24/192 music downloads are silly by ecocentrik on Thursday December 04, 2014 @10:42AM (#8699754)
pulse code modulation, pulse density modulation...

44.1kHz/100 = 441hz. But that's nonsense in the same way that saying that a signal at the Nyqvist frequency can be accurately encoded. @diroussle pointed out that you lose phase but there's another consideration, sync. If your signal at Nyquist is not in sync with the sampling frequency, then it's going to be represented as a signal offset, an out of phase line.

Re:24/192 music downloads are silly by badsock on Thursday December 04, 2014 @03:12PM (#8701351)
I understand PCM, 1 bit DACs, et al. What I'd love to see are some equations relating the three quantities of bit rate, sampling frequency, and distortion. Turns out to be very hard to Google.

In any case, thanks for your patience, I'm glad to have cause to reconsider my position on this topic.

Re:24/192 music downloads are silly by retrogradeorbit on Wednesday December 03, 2014 @02:41AM (#8692397)
Yes. And 16 bit cannot by itself represent without distortion the full dynamic range of a lot of music. Most samples, most of the time, do not use a full 16 bits. This is why during CD mastering dithering is used.

Take it from me, when you master 24 bit stereo tracks, and you don't dither, huge amounts of low level detail disappear. The detail in the quiets is there in 24 bit, and lost when its truncated to 16 bits. Add the dithering, and you get increased noise, but the detail comes back.

One could suggest that with dithering 16 bits can represent it. But that's with a whole bunch of noise added to the signal. You can argue that noise is not audible, but it is _just_, and when mastering you can audition the different dither spectrums to find which dither least impacts the music.

http://www.digido.com/articles-and-demos12/13-bob-katz/16-di...

Re:24/192 music downloads are silly by ChrisGranger on Wednesday December 03, 2014 @09:13AM (#8693791)
I certainly won't argue that 16-bit is just as good as 24-bit from an objective standpoint, as 24-bit is obviously superior, full stop. I'm just saying that for most listeners (everyone except those who listen at high levels in dedicated, treated listening rooms in very quiet environments) the difference will be inaudible almost all the time. Extremely low level detail doesn't really matter if it's lost in the >20 dB of natural noise in your room.

At that point the issue may become moot as other problems like standing waves, harmonic distortion, inaccurate speaker frequency response and so on creep in and affect music playback to a subjectively larger degree than '16-bit versus 24-bit does', IMO.

All that said, 24-bit is definitely the way to go since we might as well do it right even if only x percent of listeners will notice.

As an aside, thank you for being one of the conscientious 'good guys' in the studio. I collect music and wish I had a nickel for every sloppy recording I've heard.

Re:24/192 music downloads are silly by retrogradeorbit on Wednesday December 03, 2014 @09:54AM (#8693994)
Yes. I completely agree. From my perspective, even if one person in a hundred can hear a difference, then I'm going to pay attention. I don't want to boil everything down to meet the average. I think it's fine to release 16/44. I think well produced music sounds excellent in that format. It's one of the reasons the CD has done so well. It's just hifi enough to capture everything. And it's amazing to think this technology had its début in 1982!

But for so long, for those of us who want a higher quality (hearing it exactly as they would have heard in the studio during the production) there was nothing we could do. Willing to pay more for it, doesn't matter. You just can't get it. It's still that way.

What gripes me is the attitude of many, including this xiph article, that hires versions "make no sense", that "there is no point" and thus everyone should just be happy with what they've got and that anyone protesting is an "audiophool" or believes in magic fairies or something. We all get lumped in with those people buying $3000 IEC power cables. For many people it's all black and white, there is no room for grey. You either think that 128kbps mp3s sound identical to the analogue master tape, or you are a fool spending $20,000 on magical stickers to increase the light speed in your CD player.

All I want is to be able to buy the mix and hear it as the engineer heard it in the studio. That would be nice. I know it's not for everyone, but it doesn't make me crazy.

As food for thought, have a read of what Rupert Neve said about Geoff Emerick's hearing ability (being able to discern a 3dB rise at 54kHz) here: http://poonshead.com/Reading/Articles.aspx

"The danger here is that the more qualified you are, the more you 'know' that something can't be true, so you don't believe it. Or you 'know' a design can't be done, so you don't try it."

Re:24/192 music downloads are silly by ChrisGranger on Wednesday December 03, 2014 @04:32PM (#8696440)
What's the argument in favor of using extremely high sampling rates though? Using 48 kHz instead of 44.1 seems reasonable (as in the Philips digital compact cassette that never really caught on), giving a little bit of headroom for wider frequency response, moving the filters a little higher or whatever, but I've seen D/A convertors that use 384 kHz, and I just can't fathom what the point is... It smacks of the "if some is good, more must be better" mentality.

There's definitely nothing crazy about wanting to hear a recording with as much fidelity to the master as possible. Yeah, I do remember people saying that 128 kbps MP3 was "CD quality" in the early days of the format, and that was a laughable claim indeed. One would have to be pretty tin-eared to think 128 kbps was hi-fi, although I'd say there were valid use cases for it, at least back when portable music players had storage in the megabyte range instead of the gigabytes we have today.

So many of those audiophile tweaks are just outright scams, and a fool and his money are soon parted. I guess education is the only way to combat that.

As for Emerick's ability to hear anything at 54 kHz, much less discern a 3 dB difference there, well, I am really, really skeptical. I'm obviously not in a position to say it's impossible, but it strikes me as an outright superhuman ability that should have been tested scientifically.

Re:24/192 music downloads are silly by retrogradeorbit on Thursday December 04, 2014 @12:28AM (#8697946)
I'm not sure there is a compelling reason to distribute final music pieces in 192kHz.

I can only speak from my own experiences, and I record and mix in 24/96 but for reasons that don't really relate to music distribution. When doing further processing, some plugins sound better with their algorithms taking 96k instead of 44k. Every plugin has been written with compromises. And I find I can push hires audio further in the digital domain before unpleasant artefacts arise.

It's very much like image processing. If you take a picture with a cheap basic 1 mega pixel camera and then play with the curves and sharpness, at a certain point smooth graduated colour becomes "posterised". If you take the shot with a DSLR (with 12 bits of each primary colour) then you can push the image a lot further before the posterisation occurs.

I have found the same occurs for audio. I can manipulate the sound with less artefacts when its hires. The plugins sound more transparent and smoother. I tend not to go above 96kHz because this effect is achieved at 96, and 192 (to my ears) sounds no better and I'd just have bigger files and more CPU load from the plugins processing the extra data.

The bandwidth of 96kHz is just short of 50kHz, so if as an added benefit I satisfy the one in a million Geoff Emerick's, then all the better.

But then once the final mix is rendered and no more processing needs to be done, ie for distribution, then this hires advantage seems moot. Maybe there is still some advantage for people or devices that may post process the sound digitally in some way, like a digital equaliser in your playback device, or something like that. But then again, that device could always upsample before processing.

I tend to use 88kHz if the final destination is intended to be CD, and 96kHz otherwise (so there is less aliasing when sample rate converting to 44kHz).

The reason I harp on about the bit depth is because in my experience that is where we are falling short. If I take my hires sources and convert to 44 or 48 with a high quality SRC I hear no difference at all. But when I change to 16 bit the difference is enormous. There is always a degredation. And it's never a good thing. It seems silly to just be throwing away that bit depth because of a 1982 format that people aren't even listening on anymore.

Also on the topic of SRCs, this site has some interesting comparison. For the record I do my SRC conversion with iZotope RX 64 bit SRC. http://src.infinitewave.ca/

So in conclusion, I want 24 bit tracks. If they're given to me as 44, 96, 192... whatever. As long as they're 24 bit. Enough with the 16 bit! :D