2021-01-31, 04:32 AM
(This post was last modified: 2021-01-31, 04:04 PM by pipefan413.)
Before I start, this is not about the home video version of DTS, which is actually called DCA (for DTS Coherent Acoustics). It's specifically about the DTS cinema codec, which is APTX-100 (or APT-X100, depending on where you look). Just in case anybody gets confused by them both being "DTS".
I'm writing this mostly to solidify some stuff that I only even thought about thanks to @schorman noticing that the levels of the surround and subwoofer channels from the output from the foobar2000 APTX-100 plugin did not match those from an actual DTS-6AD cinema processor that he has fairly recently tested. A huge amount of credit therefore has to go to him here, since I wouldn't even be looking at it otherwise, and the information gleaned from testing the DTS-6AD was instrumental to a lot of what I'm about to say, including the actual numbers for the foobar2000 plugin (which I just verified after he worked them out, rather than realising them on my own). I'm just compiling the info here in case anybody else might benefit from it.
This will be a very long post (surprise surprise). In case you don't really care about ther "why" and just want to know the "how", I'll give you the TL;DR up front.
The foobar2000 APTX-100 plugin does not calibrate the relative levels of its output in accordance with the DTS cinema standards. To correct for this, you need to reduce the gain of the surround channels by 3 dB, and increase the gain of the subwoofer channel by either 3 dB or 6 dB depending on the original release date of the particular film you're decoding. Films released on or after the 1st of January 1999 need the subwoofer level increased by 6 dB, and films released before then only need it increased by 3 dB.
If you're using the current version of the plugin, you can correct the subwoofer level natively inside foobar2000 (but not the surrounds). Go to File\Preferences\Advanced\Tools and you'll see the settings for the APTX-100 plugin. Change "LFE level" to your 3 dB or 6 dB, depending on the film's release date.
For the surrounds, you could do this one of two ways. The first way would be to reduce the surrounds directly by applying a manual gain adjustment of -3 dB to each of them and dithering appropriately, which in my opinion should always involve auto-blanking so you don't dither silence (this is particularly important if you're going to encode to DTS-HD MA for delivery because it won't decode properly if the file doesn't have clean silence at the start of all channels). The other way would be to just have your encoder reduce the surrounds by 3 dB, which you can do in the DTS Suite and probably many other encoders very easily by just flipping a switch!
That said, I'll move onto the "why", for the curious...
APTX-100 does not actually store every channel at the "correct" level per se, but rather in accordance with a set of guidelines for calibrating them to your particular theatre. This is not really taken into account by the APTX-100 Winamp or foobar2000 decoder plugins, which (by default at least) just decode it as it is, leaving the levels as they're stored. This is not necessarily inherently "wrong" as such, but for things like fan projects that utilise cinema DTS audio, you're not quite reproducing the sound as it was meant to be reproduced if you don't correct for this calibration at delivery. All I'm going to explain here is how a cinema screening room is calibrated for DTS and how this relates to decoding it for alternative purposes, but it's important to note that a living room is not going to be kitted out the same way as a cinema (generally speaking), nor is it likely to be the same size, so these calibrations won't necessarily produce "appropriate" results for home use. They are, however, correct to how it was done in the cinema.
Basically everything I'm about to say from this point onward comes from either the November 1999 version of the DTS post production guide (http://www.film-tech.com/warehouse/manua...STPROD.pdf) or the operation manual for the DTS-6AD cinema processor (http://www.film-tech.com/warehouse/manuals/DTS6AD.pdf). I'll quote both, but you might find other things in there interesting as well.
First off, here are the guidelines for correctly calibrating a cinema for 6-track DTS from 1999 onwards:
The orange text is me adding emphasis, but all other emphasis (bold, italics) are as they appear in the original document. I'll explain why I've highlighted the bits I have in a moment.
What's essentially happening here is that the front channels - L, C, and R - are being adjusted until they all measure at the same SPL (sound pressure level), and the surrounds and subwoofer are being adjusted to comparatively different levels. The correct calibration for L/C/R is to use pink noise to set them to 85 dBC SPL, then the surrounds are set 3 dB quieter at 82 dBC, and the subwoofer 6 dB higher at 91 dBC. Note that I'm saying "subwoofer" here because it's not necessarily the same as "LFE". See, APTX-100 doesn't actually have a dedicated LFE-only channel: it stores the low-end audio intended for the subwoofer(s) in the surround channels, then pulls it back out at playback, similar to 70 mm Todd-AO/Dolby. Here's some info about this from the manual for the DTS-6AD cinema processor:
Anyway, that's what calibration looked like in 1999. For anything before that, you need to be aware of the following change that happened that year:
So for anything released before 1999, the right level for the subwoofer channel is 88 dBC SPF, putting it (in terms of pink noise calibration) 3 dB, rather than 6 dB, louder than L/C/R. This will result in the actual film audio (for anything pre-1999) playing the subwoofer channel at the correct level relative to the other channels.
One thing that's probably worth highlighting here, as it's likely to cause confusion, I think (it's certainly confused the hell out of me):
Here's the calibration section from the manual, which expands slightly upon that discrepancy between internal (generated by the DTS-6AD) and external (played off a disc) pink noise:
For some reason I haven't yet worked out for sure, the internal pink noise generator of the DTS-6AD appears to produce pink noise for the subwoofer channel that's quieter than the pink noise that the DTS Setup Disc (or an empirical disc) would generate for that channel. I think I'm going to post separately underneath this to expand upon this a bit; I can't decide if there's actually a good reason for it or if it's just incidental or a necessity of how the DTS-6AD generates pink noise. There does seem to be some key piece of information that I'm not yet finding, because I found reference to the exact same discrepancy between internal and non-internal pink noise measurements in a home theatre context (saying that you should set the subwoofer level to the same as the full-band speakers if using internal pink noise, but if you were using non-internal pink noise, you should set it to +10 dB above them). But in any case, if you don't use the internal pink noise generator on the DTS-6AD, the calibration of the DTS-6AD is exactly the same as the DTS-6D and DTS-6 before it: 91 dBC SPL.
EDIT: I think I might have just confirmed my "I think this is to do with the subwoofer being band limited" hypothesis (detailed in the next post) after all. I finally found some good info on this in a hilariously exasperated forum post: https://www.head-fi.org/threads/testing-...t-14579987
In other words, the reason for the difference is that one way is comparing only the "in-band" level that's available to the subwoofer (most likely 20-120 Hz, I assume, although DTS actually has the sub range end at 80 Hz in practice) and the other way is comparing the band-limited subwoofer output against the full-range (20-20000 Hz) output of the centre channel, a non-equivalence which means you need to boost the sub more to compensate for the lack of higher frequencies in its output. The internal pink noise must be comparing band-limited sub to band-limited centre, or doing it the other way around and sending full band pink noise to both (which wouldn't be possible with pink noise from a disc since it's cutting the subwoofer at 80 Hz), hence both measuring the same at proper calibration, but the DTS Setup Disc and Empirical Disc output full bandwidth L/C/R and band-limited sub so it's not directly comparable. That's more or less what I thought but given some clarity compared to how I tried to explain it! Although the numbers would at face value appear to suggest full band pink noise being sent to both C and sub, I'd be surprised if a cinema sub was expected to play full band properly for measurement purposes (as I mentioned previously), so maybe it instead uses pink noise that's band-limited for all channels but at a higher gain than the setup discs to compensate, meaning that it's now 85 dBC of 20-80 Hz (or possibly 20-120 Hz) on all channels instead of 85 dBC of 20-20000 Hz or whatever that's presumably on the setup discs. Regardless, that explains the discrepancy!
I'm writing this mostly to solidify some stuff that I only even thought about thanks to @schorman noticing that the levels of the surround and subwoofer channels from the output from the foobar2000 APTX-100 plugin did not match those from an actual DTS-6AD cinema processor that he has fairly recently tested. A huge amount of credit therefore has to go to him here, since I wouldn't even be looking at it otherwise, and the information gleaned from testing the DTS-6AD was instrumental to a lot of what I'm about to say, including the actual numbers for the foobar2000 plugin (which I just verified after he worked them out, rather than realising them on my own). I'm just compiling the info here in case anybody else might benefit from it.
This will be a very long post (surprise surprise). In case you don't really care about ther "why" and just want to know the "how", I'll give you the TL;DR up front.
The foobar2000 APTX-100 plugin does not calibrate the relative levels of its output in accordance with the DTS cinema standards. To correct for this, you need to reduce the gain of the surround channels by 3 dB, and increase the gain of the subwoofer channel by either 3 dB or 6 dB depending on the original release date of the particular film you're decoding. Films released on or after the 1st of January 1999 need the subwoofer level increased by 6 dB, and films released before then only need it increased by 3 dB.
If you're using the current version of the plugin, you can correct the subwoofer level natively inside foobar2000 (but not the surrounds). Go to File\Preferences\Advanced\Tools and you'll see the settings for the APTX-100 plugin. Change "LFE level" to your 3 dB or 6 dB, depending on the film's release date.
For the surrounds, you could do this one of two ways. The first way would be to reduce the surrounds directly by applying a manual gain adjustment of -3 dB to each of them and dithering appropriately, which in my opinion should always involve auto-blanking so you don't dither silence (this is particularly important if you're going to encode to DTS-HD MA for delivery because it won't decode properly if the file doesn't have clean silence at the start of all channels). The other way would be to just have your encoder reduce the surrounds by 3 dB, which you can do in the DTS Suite and probably many other encoders very easily by just flipping a switch!
That said, I'll move onto the "why", for the curious...
APTX-100 does not actually store every channel at the "correct" level per se, but rather in accordance with a set of guidelines for calibrating them to your particular theatre. This is not really taken into account by the APTX-100 Winamp or foobar2000 decoder plugins, which (by default at least) just decode it as it is, leaving the levels as they're stored. This is not necessarily inherently "wrong" as such, but for things like fan projects that utilise cinema DTS audio, you're not quite reproducing the sound as it was meant to be reproduced if you don't correct for this calibration at delivery. All I'm going to explain here is how a cinema screening room is calibrated for DTS and how this relates to decoding it for alternative purposes, but it's important to note that a living room is not going to be kitted out the same way as a cinema (generally speaking), nor is it likely to be the same size, so these calibrations won't necessarily produce "appropriate" results for home use. They are, however, correct to how it was done in the cinema.
Basically everything I'm about to say from this point onward comes from either the November 1999 version of the DTS post production guide (http://www.film-tech.com/warehouse/manua...STPROD.pdf) or the operation manual for the DTS-6AD cinema processor (http://www.film-tech.com/warehouse/manuals/DTS6AD.pdf). I'll quote both, but you might find other things in there interesting as well.
First off, here are the guidelines for correctly calibrating a cinema for 6-track DTS from 1999 onwards:
DTS-6AD CINEMA PROCESSOR Installation and Operation Manual (March 1 2000) Wrote:5.3.1 SPL ADJUSTMENT
(...)(...)
- Repeat procedure for all channels, set to the following SPLs:
Left, Center, Right 85 dBC
Left & Right Surrounds: 82 dBC
Subwoofer: * 85 dBC
* NOTE: The above levels are for use with the internal pink noise generator. When playing back a DTS Set-up or Empirical Disc, the subwoofer level should be 91 dBC. This setting conforms the subwoofer level to the SMPTE RP200 standard of having +10dB in-band gain in relation to the screen channels.
5.3.4. DTS SUBWOOFER LEVEL
(...)
- If a RTA is not available, the DTS subwoofer can be measured using a SPL meter. The SPLmeter must be set for “C” weighting and “slow.” It should read about 91 dBC when the (DTS Setup Disc) subwoofer pink noise is playing in theater. Take measurements in different areas ofthe auditorium to prevent subwoofer from being adjusted too loud.
The orange text is me adding emphasis, but all other emphasis (bold, italics) are as they appear in the original document. I'll explain why I've highlighted the bits I have in a moment.
What's essentially happening here is that the front channels - L, C, and R - are being adjusted until they all measure at the same SPL (sound pressure level), and the surrounds and subwoofer are being adjusted to comparatively different levels. The correct calibration for L/C/R is to use pink noise to set them to 85 dBC SPL, then the surrounds are set 3 dB quieter at 82 dBC, and the subwoofer 6 dB higher at 91 dBC. Note that I'm saying "subwoofer" here because it's not necessarily the same as "LFE". See, APTX-100 doesn't actually have a dedicated LFE-only channel: it stores the low-end audio intended for the subwoofer(s) in the surround channels, then pulls it back out at playback, similar to 70 mm Todd-AO/Dolby. Here's some info about this from the manual for the DTS-6AD cinema processor:
DTS-6AD CINEMA PROCESSOR Installation and Operation Manual (March 1 2000) Wrote:5.3.3. DTS DIGITAL SURROUND SIGNALS
With the RTA connected, notice a dramatic roll-off at 80Hz. DTS derives the digital subwoofer by filtering out the surround signals from 80Hz and below. This is normal when in the DTS digital format and surround pink noise is playing in the theater.
Anyway, that's what calibration looked like in 1999. For anything before that, you need to be aware of the following change that happened that year:
DTS POST PRODUCTION GUIDE TM-E229 (19 November 1999) Wrote:Subject: SMPTE RP200 changes DTS subwoofer level (REVISED), August 1999
At a SMPTE meeting held in late 1998, all three digital sound companies agreed to comply with the recommended practice for subwoofer level, SMPTE RP200. The subwoofer level has changed to enable the use of one master recording when transferring to all three digital sound processes and to provide playback consistency in theaters. As of January 1, 1999, the recorded subwoofer level on 6-track masters has been lowered to the SMPTE recommended level of 10dB in-band gain (as compared to the screen channels).
To comply with this new standard, all DTS films released in North America after January 1, 1999 have been transferred into the DTS digital process with subwoofer at 10dB in-band gain. The SMPTE RP200 logo is clearly visible on the discs of these films.
Because the recorded subwoofer level has been lowered, the DTS theater subwoofer playback should be increased. Increasing the DTS subwoofer level compensates for the new lowered recording level, resulting in the same playback as before the change. To maintain the integrity of the cinema sound equipment, DTS discs of pre 1999 films should be played only after the subwoofer playback level has been restored to the previous 88 dBC level.
Technicians should follow these steps
Equipment needed: DTS Setup Disc, DS1 or Rev. C
1. Verify the cinema processor is correctly calibrated. Follow the manufacturer’s recommendations for proper playback levels (when using a DTS-6AD, see 4. Below).
2. Using the DTS Setup Disc, adjust the DTS output levels as normal: L, C, R to 85dB SPL and surround(s) to 82 dB SPL* in the theater.
3. Adjust the DTS-6 or DTS-6D subwoofer to 91dBC SPL in the theater.
4. When adjusting the output of the DTS-6AD Cinema Processor using the internal pink noise generator, adjust the DTS subwoofer to 85dBC SPL in the theater.
NOTE
* It is recommended that the subwoofer amplifier be turned off during the surround level adjustments. Turn the subwoofer amp back on after the surround levels have been set.
So for anything released before 1999, the right level for the subwoofer channel is 88 dBC SPF, putting it (in terms of pink noise calibration) 3 dB, rather than 6 dB, louder than L/C/R. This will result in the actual film audio (for anything pre-1999) playing the subwoofer channel at the correct level relative to the other channels.
One thing that's probably worth highlighting here, as it's likely to cause confusion, I think (it's certainly confused the hell out of me):
DTS POST PRODUCTION GUIDE TM-E229 (19 November 1999) Wrote:4. When adjusting the output of the DTS-6AD Cinema Processor using the internal pink noise generator, adjust the DTS subwoofer to 85dBC SPL in the theater.
Here's the calibration section from the manual, which expands slightly upon that discrepancy between internal (generated by the DTS-6AD) and external (played off a disc) pink noise:
DTS-6AD CINEMA PROCESSOR Installation and Operation Manual (March 1 2000) Wrote:5.3.1 SPL ADJUSTMENT
(...)(...)
- Repeat procedure for all channels, set to the following SPLs:
Left, Center, Right 85 dBC
Left & Right Surrounds: 82 dBC
Subwoofer: * 85 dBC
* NOTE: The above levels are for use with the internal pink noise generator. When playing back a DTS Set-up or Empirical Disc, the subwoofer level should be 91 dBC. This setting conforms the subwoofer level to the SMPTE RP200 standard of having +10dB in-band gain in relation to the screen channels.
5.3.4. DTS SUBWOOFER LEVEL
(...)
- If a RTA is not available, the DTS subwoofer can be measured using a SPL meter. The SPLmeter must be set for “C” weighting and “slow.” It should read about 91 dBC when the (DTS Setup Disc) subwoofer pink noise is playing in theater. Take measurements in different areas ofthe auditorium to prevent subwoofer from being adjusted too loud.
For some reason I haven't yet worked out for sure, the internal pink noise generator of the DTS-6AD appears to produce pink noise for the subwoofer channel that's quieter than the pink noise that the DTS Setup Disc (or an empirical disc) would generate for that channel. I think I'm going to post separately underneath this to expand upon this a bit; I can't decide if there's actually a good reason for it or if it's just incidental or a necessity of how the DTS-6AD generates pink noise. There does seem to be some key piece of information that I'm not yet finding, because I found reference to the exact same discrepancy between internal and non-internal pink noise measurements in a home theatre context (saying that you should set the subwoofer level to the same as the full-band speakers if using internal pink noise, but if you were using non-internal pink noise, you should set it to +10 dB above them). But in any case, if you don't use the internal pink noise generator on the DTS-6AD, the calibration of the DTS-6AD is exactly the same as the DTS-6D and DTS-6 before it: 91 dBC SPL.
EDIT: I think I might have just confirmed my "I think this is to do with the subwoofer being band limited" hypothesis (detailed in the next post) after all. I finally found some good info on this in a hilariously exasperated forum post: https://www.head-fi.org/threads/testing-...t-14579987
gregorio Wrote:85dBC is the level measured with an SPL meter with the main/screen speaker outputting 20Hz-20kHz pink noise (at -20dBFS). Our LFE is level calibrated to +10dB
in-band gain relative to our main/screen speaker. The "In-band" part means that our LFE/Sub should be outputting 10dB more 20Hz-120Hz than the amount of 20-120Hz our main speaker is outputting. The issue should hopefully now be obvious, our main speaker is not outputting 85dBC of 20Hz-120Hz, it's outputting 85dBC of 20Hz-20kHz. If we remove the 121Hz-20kHz output of our main speaker (so that it's only outputting our required 20Hz-120Hz), it's output level will obviously be lower, it will be approx 81dBSPL and our sub is then calibrated 10dB higher, which is about 91dB. In practice, we wouldn't try and "remove the 121-20kHz", we'd just use an RTA to measure the 20Hz-120Hz portion of the main speaker's output. In other words, your equation should read: "85dBC - (the 121Hz -20kHz band) +10dB = 91dB".
In other words, the reason for the difference is that one way is comparing only the "in-band" level that's available to the subwoofer (most likely 20-120 Hz, I assume, although DTS actually has the sub range end at 80 Hz in practice) and the other way is comparing the band-limited subwoofer output against the full-range (20-20000 Hz) output of the centre channel, a non-equivalence which means you need to boost the sub more to compensate for the lack of higher frequencies in its output. The internal pink noise must be comparing band-limited sub to band-limited centre, or doing it the other way around and sending full band pink noise to both (which wouldn't be possible with pink noise from a disc since it's cutting the subwoofer at 80 Hz), hence both measuring the same at proper calibration, but the DTS Setup Disc and Empirical Disc output full bandwidth L/C/R and band-limited sub so it's not directly comparable. That's more or less what I thought but given some clarity compared to how I tried to explain it! Although the numbers would at face value appear to suggest full band pink noise being sent to both C and sub, I'd be surprised if a cinema sub was expected to play full band properly for measurement purposes (as I mentioned previously), so maybe it instead uses pink noise that's band-limited for all channels but at a higher gain than the setup discs to compensate, meaning that it's now 85 dBC of 20-80 Hz (or possibly 20-120 Hz) on all channels instead of 85 dBC of 20-20000 Hz or whatever that's presumably on the setup discs. Regardless, that explains the discrepancy!