Slashdot Mirror


Dolby's TrueHD 96K Upsampling To Improve Sound On Blu-Rays

Stowie101 writes in with a story about your Blu-ray audio getting better. "The audio on most Blu-ray discs is sampled at 48kHz. Even the original movie tracks are usually only recorded at 48kHz, so once a movie migrates to disc, there isn't much that can be done. Dolby's new system upsamples that audio signal to 96kHz at the master stage prior to the Dolby TrueHD encoding, so you get lossless audio with fewer digital artifacts. The 'fewer digital artifacts' part comes from a feature of Dolby's upsampling process called de-apodizing, which corrects a prevalent digital artifact known as pre-ringing. Pre-ringing is often introduced in the capture and creation process and adds a digital harshness to the audio. The apodizing filter masks the effect of pre-ringing by placing it behind the source tone — the listener can't hear the pre-ringing because it's behind the more prevalent original signal."

28 of 255 comments (clear)

  1. You cant hear it anyway. by Hatta · · Score: 4, Informative

    44.1khz audio is already transparent to the human ear. Blind studies have been done where a 16 bit 44.1khz ADC-DAC pair was inserted into a high resolution analog audio source. No significant difference was observed.

    Don't waste money on the placebo effect.

    --
    Give me Classic Slashdot or give me death!
    1. Re:You cant hear it anyway. by Anonymous Coward · · Score: 5, Funny

      I guess that experiment failed to use monster cables then

    2. Re:You cant hear it anyway. by Anonymous Coward · · Score: 5, Informative

      The hearing limit is actually about 20kHz. You need more than 40kHz sampling if you want to capture a sine wave at 20kHz.

      The purpose of capturing at higher than 48kHz is to prevent sounds at frequencies above 20kHz being captured at a too-low sampling frequency, and appearing as audible frequencies. These can be removed by analog filtering, but only about one octave above the cutoff frequency. Analog filters are not ideal brick-wall filters, so 96kHz sampling is useful.

      However, once the audio is acquired and digitized, software can provide a true brick-wall digital filter. This is impossible to do in analog hardware. After applying the brick wall filter, it can be sampled down to 48kHz or 44kHz with no loss. So, there is absolutely no reason to put 96kHz on disc.

      The article isn't clear whether it's 96kHz on just the master, or the disc also.

    3. Re:You cant hear it anyway. by aardvarkjoe · · Score: 5, Funny

      That's just because your hardware sucks. If you use the correct equipment, anyone with a discerning ear will be able to hear the difference.

      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    4. Re:You cant hear it anyway. by MightyYar · · Score: 5, Funny

      This might be my favorite review ever on Amazon:

      These cables deliver crisp clear sound and are worth every penny. The sound, in all ranges, is amazing. My panoramic eq has never sounded better. I just have one gripe. My Television sometimes won't turn off ever since I've started using these cables with my stereo surround system. In fact it's on right now despite the fact that it's not even plugged in to the electrical outlet. I'm not sure how but these cables are supplying independent power to my television and stereo receiver. It's really cut down on my electricity bill even though, at times, I've lost the ability to control my TV.

      Another downside is that, occasionally, there will be high pitched shrill sounds through the speakers. Almost as if a young woman is screaming. It doesn't happen all the time though. Usually it's around 3am when the TV turns itself on. I'm not sure why. It always turns on this show called "Hell Beast". Tivo is not set to record it but, without fail, it turns on every night at 3:33 am. I'm not sure what it's about. There's some sort of gargoyle or mutant goat or something. I think it's a monster movie show. Although they never show a movie and the goat monster guy just says "I want you" over and over. I think it's British or something. I don't really understand the humor. I'm usually tending to my newborn daughter who's routinely wakes up crying because of the screaming coming out of the television. It's funny too because that goat character on the show sometimes yells the name Shannon and that's the name of my daughter. LOL...

      Other than those few issues I'm really enjoying the free electricity. It's helped with $$. Especially after all the money I had to drop re-soding my lawn after some teenagers burnt a star into my front lawn. Some stupid neighborhood gang. They're calling themselves 9-9-9.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    5. Re:You cant hear it anyway. by SimonTheSoundMan · · Score: 5, Informative

      I'm a sound engineer and you are totally right.

      Going back in history. 44.1kHz was chosen because it syncs with PAL video frames, 48kHz syncs with NTSC. If you were doing linear editing, you can dub and cut the audio perfectly to the half frame.

      44.1kHz stuck because Umatic, an analogue videotape that you could buy a PCM head as an optional extra, was chosen to create the master copies for CDs to be sent to duplication in to pressed CDs.

    6. Re:You cant hear it anyway. by Anonymous Coward · · Score: 5, Interesting

      Question: Was 44.1 kHz chosen in part because the integer 44100 is highly composite? It's divisible by the following factors up to its square root: 1, 2, 3, 4, 5, 6, 7, 9, 10, 12, 14, 15, 18, 20, 21, 25, 28, 30, 35, 36, 42, 45, 49, 50, 60, 63, 70, 75, 84, 90, 98, 100, 105, 126, 140, 147, 150, 175, 180, 196, 210.

      Especially interesting is that it's divisible by 7.

      Prime factorization of 44100 is 2^2 x 3^2 x 5^2 x 7^2, or (2x3x5x7)^2, or just 210^2. Pretty cool, huh? Coincidence or by design?

    7. Re:You cant hear it anyway. by the+eric+conspiracy · · Score: 3, Informative

      Here is a link to the original paper by Dr. Peter Craven where he mathematically proves that an apodizing filter can make audible improvements in sound reproduction.

      http://www.aes.org/e-lib/browse.cfm?elib=12992

      Unfortunately it's behind a paywall. but take my word for it's a pretty impressive piece of work.

      Most people, whose sensibilities are not trained to the point where they are discriminating enough won't likely notice the difference. However the fact of the matter is the differences are measurable, the principle is based on sound math, and the results are in the perceptible audio spectrum.

      Peter Craven made several important contributions to digital recording. He and Michael Gerzon did a lot to push forward the early development of surround sound technology, and made other significant contributions to the process of digital recording. In particular their work on dithering has had a big impact in improving the quality of CD recordings.

      http://en.wikipedia.org/wiki/Michael_Gerzon

      http://www.aes.org/e-lib/browse.cfm?elib=5872

      http://www.aes.org/e-lib/browse.cfm?elib=6777

      http://www.aes.org/e-lib/browse.cfm?elib=6647

    8. Re:You cant hear it anyway. by dgatwood · · Score: 5, Informative

      Actually, polystyrene caps can make a huge difference over electrolytic or tantalum caps in certain parts of some circuits. For example, in condenser microphones, the coupling capacitor between a microphone element and the first FET stage is a critical part of the circuit in which the signal level is very, very weak. Thus even tiny amounts of noise from cheap capacitors can have a significant effect on the final result. A fair number of cheap Chinese microphones sound dramatically better if you replace the cheap dipped tantalum caps they use with a film cap or poly cap.

      We're not talking about a small difference here, either. We're talking night and day. A deaf person could just about hear the difference. :-) Replacing just the handful of tantalum capacitors in those microphones can make the difference between a muddy sound with a harsh, brittle top end and a fairly clean, accurate representation of what is being recorded... all for about five bucks and a few minutes of soldering. (Even better, the most important one—the FET coupling cap—is usually direct-wired between the capsule mount and the FET's lead, so you don't have to worry about lifting traces....)

      Capacitors within the feedback path of an amplifier circuit can also degrade the sound noticeably. Admittedly, this isn't as much of an issue these days with the rise of modern, chip-based amplifier circuits, but it is still worth keeping in mind, particularly given that most condenser microphones still use transistor-based amplifier circuits.

      Just to be clear, though, it doesn't have to be polystyrene film. The difference between a polystyrene cap and a traditional metal (polyester) film cap is negligible compared with the difference between film caps and electrolytic or (*shiver*) tantalum caps. Tantalum caps simply should not be within a city block of any trace that carries an audio signal.... Okay, slight exaggeration, but you get my point.

      And, of course, it doesn't make sense to replace every capacitor. If it isn't in the signal path, it usually won't make much difference (though the absence of capacitors in the right places on power supply rails can cause some fun problems), and even if it is, it may or may not make much of a difference, depending on where the capacitor is in the signal path.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    9. Re:You cant hear it anyway. by guidryp · · Score: 4, Insightful

      Here is a link to the original paper by Dr. Peter Craven where he mathematically proves that an apodizing filter can make audible improvements in sound reproduction.

      You can't mathematically prove something sounds better. Most adults can't even hear 16KHz, let alone 20 KHz and beyond, or detect subtle variations in those ranges.

      You have to do double blind testing. Double blind testing has shown even real 24/96KHz can't be discerned from 16/44.1KHz by audiophiles and recording pros.

      Anything they are trying to sell beyond this is placebo snake oil.
      http://mixonline.com/recording/mixing/audio_emperors_new_sampling/

    10. Re:You cant hear it anyway. by Anonymous Coward · · Score: 3, Informative

      > NTSC is 59.97Hz, not 60Hz

      *Color* NTSC is 59.97, but black and white NTSC is an even 60Hz.

  2. Worthless gimmick with no audible benefits by sahonen · · Score: 5, Insightful

    Dumb, dumb, dumb. An ideal sample rate upconversion results in something that *is* identical to the source. Mathematically. It's like re-encoding a 64kbps MP3 to 192kbps. If anything you are going to *lose* quality due to inherent errors in the process.

    --
    Make me a friend and I'll mod you up
    1. Re:Worthless gimmick with no audible benefits by PhrostyMcByte · · Score: 4, Insightful

      Mod parent up!

      A lot of people will see a graph of PCM and think up-sampling will help make the stair-stepping be finer, less noticeable, and thus improve quality. Unscrupulous audio companies love to take advantage of this belief with up-sampling tech.

      That belief is, of course, complete bullshit—the stair-stepping of PCM is merely a digital encoding which DACs use this to reproduce a full, fluid signal. There's literally nothing for up-sampling to do that could add any quality! The only thing it will do is introduce even more errors.

      In some cases DACs have even behaved worse at higher sample rates—meaning in that case you'd not only have more errors from upsampling, but also more errors from the DAC.

    2. Re:Worthless gimmick with no audible benefits by Anonymous Coward · · Score: 4, Informative

      The signal is only "stair stepped" because they chose to graph it that way. The audio signal coming out of the DAC does not look like that. Those stair-steps are happening at frequencies more than half the sampling rate -- they are eliminated from the analog output by a low-pass filter. This is essentially performing this "splining" you are talking about.

  3. Lossless + Cinavia == Lossy by Anonymous Coward · · Score: 5, Interesting

    May I be the first to say this- fuck Bluray, and fuck Cinavia.

    I used to buy Bluray disks. Hell, I own a whole shelf full of them (about 80 titles in total). Every single one eventually got ripped to my NAS in two formats- a relatively lossless MKV file containing the original video and audio streams (up to DTS-HD MA), and a lossy x264 version for playing on crappy devices like the PS3 or 360.

    Then Cinavia rolled around, which did two things:
    1) It purposefully corrupts the audio stream in an attempt to encode digital information into it (go read their patents- the harder you try to pry Cinavia into an audio stream, the more damage is done to the original quality)
    2) It prevented me from playing my legally purchased and legally ripped (it's legal in my country to rip disks and things you BUY) disks off my NAS on my PS3

    What pisses me off the most though is that Sony is pushing Cinavia on everyone as hard as they can. AFAIK all new BR players need to be equipped with it, and most of the new BR disks are supposed to have it as well. And they're still advertising the disks as "Lossless", when in fact the audio is NOT lossless- it's lossy, the degradation of which is brought about solely by Cinavia's presence.

    Before anyone yells [citation needed] at me, here's your proof straight from the Wikipedia page (http://en.wikipedia.org/wiki/Cinavia):

    "Cinavia's in-band signaling introduces intentional spread spectrum phase distortion in the frequency domain of each individual audio channel separately, giving a per-channel digital signal that can yield up to 20 kilobits per second—depending on the quantization level available, and the desired trade-off between the required robustness and acceptable levels of psychoacoustic visibility. It is intended to survive analogue distortions such as the wow and flutter and amplitude modulation from magnetic tape sound recording. On playback no additional audio filters are used to cover up the distortions and discontinuities introduced."

    So there you have it. Lossless is no longer lossless, because Sony insists on using this stupid fucking DRM on their stupid fucking format (as usual). Dolby's new gimmicky technology might claim to give you better lossless audio, but none of that matters the moment they drive Cinavia into the stream.

    -AC

    1. Re:Lossless + Cinavia == Lossy by serviscope_minor · · Score: 3

      This is a discussion site, not a peer reviewed journal or research paper.

      --
      SJW n. One who posts facts.
  4. Apodizing Filter by Josuah · · Score: 4, Informative

    The title is misleading if the actual goal of this is to apply an apodizing filter. I suspect the reason it's called "Advanced 96K Upsampling" is because that's much easier to get people to buy into that than a "Apodizing Filter" sticker.

    The article explains how the audible benefit comes from the application of the Meridian apodizing filter, which changes the analog signal reproduced from digital data by reducing the pre-ringing. IIRC the trade-off is that post-ringing increases. The claimed benefit is that since the ringing now occurs after the "real" music of larger amplitude and as a result the ringing is masked or could be considered like an acoustic echo that naturally occurs.

    The 96K upsampling is just a side-effect of wanting the extra samples when you are applying the filter.

    Here's a decent summary of what is supposed to happen to the analog audio signal as a result of the filter application: Technical analysis of the Meridian Apodizing filter.

    That being said, from what I've read over the past few years I think people are kind of mixed on whether or not the filter makes things better, worse, or just different but not better.

    1. Re:Apodizing Filter by slew · · Score: 3, Informative

      A fancy name, but it seems to me that this mostly just a DSP textbook minimum phase filter. A minimum phase filter is just a causal filter which has minimal group delay means it can be made to sound more "analog" (since analog filters are usually mostly causal meaning there is no filter contribution from the "future"). This is of course basically tipping the hat to the sound those vinyl/tube-amp purists claim is the "best" sound (not that vinyl/tube-amp purists would actually like this as it is still an soul-less digital approximation, although perhaps listening through oxygen-free copper speaker wire might help ease them to this "approximation")...

      I guess having "minimum" in the name isn't a good marketing technique thus "apodizing"...

  5. Re:If you want to impress me by Ogi_UnixNut · · Score: 3, Insightful

    I'd prefer if they kept movies with the "100db difference". It is far easier to apply a dynamic compressor plugin than it is to undo studio-mastered dynamic compression. In fact, I hope they do the same with music as well, so that eventually we can apply as much compression as we want for a given environment/situation.

  6. Unsampling ... then re-sampling in 96KHz? by Taco+Cowboy · · Score: 4, Insightful

    Oh, c'mon !!

    This is one thing that simple does NOT make any sense

    If the thing was recorded in 48KHz, it's at 48KHz, and no matter how one can "un-sampling" that shit and then re-recording it in 96KHz (even at 96MHz or 96GHz), it does not boost _anything_ !!

    --
    Muchas Gracias, Señor Edward Snowden !
    1. Re:Unsampling ... then re-sampling in 96KHz? by Austerity+Empowers · · Score: 4, Funny

      Obviously you can't unsample and re-record an audio stream to reduce pre-ringing or de-apodizing all but the smallest apods. All you are doing is essentially taking harsh audio and putting it on qualudes. This simply produces depressed, harsh audio, like Norm Macdonald.

      Time and money would be better spent using gold plated, neon injected, forward biased monster cables, with gallium arsenide softening strips. The justification for using gold plated, neon injected, forward biased monster cables is well known by audiophiles. The gallium arsenide softening strips work by absorbing the harsh pre-ringing frequencies by actually siphoning out the high frequencies. Silicon engineers have long known that gallium arsenide is ideal for conducting the highest frequency signalling. Used in this application it acts as sort of a apod rejection filter, allowing the ringing to be thrown free of the cable, before it can manifest as ringing, or even chirping.

      However it is important to stress that the gallium arsenide softening strips must be calibrated to your eardrums carefully before use. You will need a vector analyzer and a sound meter. It's crucial that you place the softening strips in your mouth, while providing the four port network the VNA requires using both your feet and hands. You must suck on the strips until the sound meter absorbs all the s-parameters in your body, which are being slowly drained by the gallium arsenide strips. You must maintain this until the sound meter gets down to at least 3dB (or 1dB if you have especially sensitive ears). Without this step you may as well be using a walmart SPDIF cable, it will be that bad.

    2. Re:Unsampling ... then re-sampling in 96KHz? by msobkow · · Score: 4, Interesting

      If you treat the incoming 44.1 or 48 KHz stream of incoming signals as points on a curve, and apply Curve Fitting calculations to interpolate the intervening data points, you can mathematically recreate some of the detail.

      However, this isn't necessarily accurate data -- it's just recreated, the same as when you expand a picture. But like a picture, there are different algorithms and techniques for doing the upsampling, and they "colour" the sound much as an upscaled photo may have jaggies or appear a little blurry.

      What I find more interesting is the idea of combining curve approximation with a point mass. You treat the current sample as a point in time, and use acceleration curves to make the "mass" travel a path that intersects all the sample points. If your calculated mass correlates to the actual mass of the drivers in your speakers and the air they move, it should result in a more accurate recreation of the original sound curve.

      In fact, I believe Mobile Fidelity got in some hot water with the USG for using just such an approach to encoding 44.1 audio disks, and had to sign a non-disclosure promising they wouldn't use the algorithms for anything other than audio processing. Apparently the USG developed similar algorithms for cruise missile guidance (missiles have mass), so even though it's an obvious and purely physical phenomena being modelled, it's a "military secret." :D

      --
      I do not fail; I succeed at finding out what does not work.
  7. lol wut by Alex+Belits · · Score: 3, Funny

    pre-ringing

    Really? In an uncompressed audio? And the solution not only involves upsampling as a part of the process but requires the signal to stay upsampled?

    My eyes are rolling at 15krpm.

    --
    Contrary to the popular belief, there indeed is no God.
    1. Re:lol wut by Prune · · Score: 3, Informative

      Preringing is what the linear-phase oversampling filter in the DAC chip in the player creates. Which is also the place to fix it, by putting an apodizing filter there, and some semiconductor manufacturers do exactly that (Wolfson Micro, etc.). Dolby's approach makes no sense--they oversample 2x during mastering (needed or the apodizing filter doesn't work) and then you have to store twice the data. Why? If the DAC is doing it, then you can just feed it the usual 44.1 or 48 k. Moreover, since the DAC's filter usually oversamples by 8x to allow simpler analog filters post-DAC, it can do the apodizing much better anyway. Once again Dolby takes legit technology and implements it poorly into a lousy gimmick to sell. Instead of reading dumb marketing material and even dumber article summary on slashdot, read some peer reviewed papers discussing preringing and apodizing filters, say http://www.aes.org/e-lib/browse.cfm?elib=12992

      --
      "Politicians and diapers must be changed often, and for the same reason."
  8. Re:You can prefectly represent anything up to Fs/2 by Man+On+Pink+Corner · · Score: 4, Informative

    Try a high but more audible frequency.

    It may be less confusing if I put it this way: If you can't hear a sine wave beyond, say, 20 kHz, then you are not going to be able to tell the difference between a sine wave at 7 kHz and a square wave whose fundamental frequency is 7 kHz. That's because the lowest harmonic in the square-wave signal will be at 21 kHz. Your ears will filter it out, just as the antialiasing filter in the recording system would need to do.

    Now, that being said, the argument has been made that intermodulation effects in the human ear can allow us to perceive sounds beyond the usual 20 kHz limit when they mix with each other. To the extent these effects occur when listening to the source material at a given level, you could argue that the ultrasonic parts of a performance should be captured and reproduced along with everything else, and that would require a higher sampling rate.

    The showstopper for this argument is that any desirable sonic content resulting from IMD at ultrasonic frequencies could only be reproduced "properly" at a specific volume level, because distortion products by definition are generated by nonlinear processes.

  9. And Harry Nyquist is rolling around in his grave by Gordo_1 · · Score: 4, Informative

    Not that this whole thing isn't absurd for the reasons already discussed above, but what no one bloody well seems to understand it that an audio stream is not a godamn bitmap picture. You can't improve audio quality of *audible frequencies* by increasing resolution of the horizontal axis (sampling frequency) beyond a rate which surpasses the Nyquist frequency for human hearing. Assuming a high quality anti-aliasing filter is used and excellent quality recording and playback equipment, audio sampled at 48kHz can be unambiguously represented up to about 24kHz. 96kHz is a waste of bits.

    Vertical resolution (# of bits) is the only theoretical way to improve actual audio quality further... and beyond about 16-18 bits, it's also beyond the ability of even the most diehard audiophiles to discern (in properly conducted experiments.)

  10. Re:And Harry Nyquist is rolling around in his grav by dmbasso · · Score: 3, Informative

    That said, doubling the sampling rate isn't going to do anything for a digital signal. At best, the new signal will simply play each of the old signal's samples twice.

    Actually upsampling can be useful when you apply digital filters. There is no such thing as an ideal filter, so if you modify one frequency band (e.g. in a equalizer) you end up modifying all others. The higher is the sample rate the lower is this sideband interference.

    --
    `echo $[0x853204FA81]|tr 0-9 ionbsdeaml`@gmail.com
  11. Re:And Harry Nyquist is rolling around in his grav by poopdeville · · Score: 3, Interesting

    "X. Significance of the results
    Given the existence of musical-instrument energy above 20 kilohertz, it is natural to ask whether the energy matters to human perception or music recording. The common view is that energy above 20 kHz does not matter, but AES preprint 3207 by Oohashi et al. claims that reproduced sound above 26 kHz "induces activation of alpha-EEG (electroencephalogram) rhythms that persist in the absence of high frequency stimulation, and can affect perception of sound quality." [4]
                Oohashi and his colleagues recorded gamelan to a bandwidth of 60 kHz, and played back the recording to listeners through a speaker system with an extra tweeter for the range above 26 kHz. This tweeter was driven by its own amplifier, and the 26 kHz electronic crossover before the amplifier used steep filters. The experimenters found that the listeners' EEGs and their subjective ratings of the sound quality were affected by whether this "ultra-tweeter" was on or off, even though the listeners explicitly denied that the reproduced sound was affected by the ultra-tweeter, and also denied, when presented with the ultrasonics alone, that any sound at all was being played.
                From the fact that changes in subjects' EEGs "persist in the absence of high frequency stimulation," Oohashi and his colleagues infer that in audio comparisons, a substantial silent period is required between successive samples to avoid the second evaluation's being corrupted by "hangover" of reaction to the first.
                The preprint gives photos of EEG results for only three of sixteen subjects. I hope that more will be published.

    In a paper published in Science, Lenhardt et al. report that "bone-conducted ultrasonic hearing has been found capable of supporting frequency discrimination and speech detection in normal, older hearing-impaired, and profoundly deaf human subjects." [5] They speculate that the saccule may be involved, this being "an otolithic organ that responds to acceleration and gravity and may be responsible for transduction of sound after destruction of the cochlea," and they further point out that the saccule has neural cross-connections with the cochlea. [6]

    Even if we assume that air-conducted ultrasound does not affect direct perception of live sound, it might still affect us indirectly through interfering with the recording process. Every recording engineer knows that speech sibilants (Figure 10), jangling key rings (Figure 15), and muted trumpets (Figures 1 to 3) can expose problems in recording equipment. If the problems come from energy below 20 kHz, then the recording engineer simply needs better equipment. But if the problems prove to come from the energy beyond 20 kHz, then what's needed is either filtering, which is difficult to carry out without sonically harmful side effects; or wider bandwidth in the entire recording chain, including the storage medium; or a combination of the two.
                On the other hand, if the assumption of the previous paragraph be wrong â" if it is determined that sound components beyond 20 kHz do matter to human musical perception and pleasure â" then for highest fidelity, the option of filtering would have to be rejected, and recording chains and storage media of wider bandwidth would be needed."

    --
    After all, I am strangely colored.