Loudness adjustment for downmixed audio content

By transmitting dynamic range compression curves and metadata, the audio encoder and decoder collaborate to ensure consistent loudness and intelligibility across diverse playback environments, addressing the challenge of inconsistent loudness levels in media processing devices.

JP7955413B2Active Publication Date: 2026-11-24DOLBY LABORATORIES LICENSING CORP +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2025052789
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2014-02-10
Filing Date
2025-03-27
Publication Date
2026-11-24
Estimated Expiration
2034-09-09

AI Technical Summary

Technical Problem

Media processing devices struggle to maintain consistent loudness and intelligibility across diverse media formats and content types, often reproducing audio content at inappropriate loudness levels for the specific playback environment due to differences between encoding and decoding environments.

Method used

The audio encoder transmits dynamic range compression curves and metadata to the decoder, which uses auditory scene analysis and gain adjustments to customize audio processing based on the playback environment, allowing the decoder to determine and apply appropriate gains for dynamic range control, ensuring consistent loudness levels.

Benefits of technology

This approach enables consistent loudness and intelligibility across various playback environments, maintaining perceptual quality and preventing clipping while accommodating different speaker configurations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007955413000006
    Figure 0007955413000006
  • Figure 0007955413000007
    Figure 0007955413000007
  • Figure 0007955413000008
    Figure 0007955413000008
Patent Text Reader

Abstract

To provide loudness adjustment for downmixed audio content.SOLUTION: Audio content coded for a reference speaker configuration is downmixed to downmix audio content coded for a specific speaker configuration. One or more gain adjustments are performed on individual portions of the downmix audio content coded for the specific speaker configuration. Loudness measurements are then performed on the individual portions of the downmix audio content. An audio signal that comprises the audio content coded for the reference speaker configuration and downmix loudness metadata is generated. The downmix loudness metadata is created on the basis of at least in part the loudness measurements on the individual portions of the downmix audio content.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] Cross-references to related applications This application claims priority to U.S. Provisional Patent Application No. 61 / 877,230 filed on 12 September 2013, U.S. Provisional Patent Application No. 61 / 891,324 filed on 15 October 2013, U.S. Provisional Patent Application No. 61 / 938,043 filed on 10 February 2014, and U.S. Provisional Patent Application No. 61 / 892,313 filed on 17 October 2013. The contents of each application are incorporated herein by reference in their entirety.

[0002] technology The present invention broadly relates to techniques that can be used for processing audio signals, and more specifically, for applying dynamic range control and other types of audio processing operations to audio signals in any of a wide variety of playback environments. [Background technology]

[0003] The growing popularity of media consumer devices has created new opportunities and challenges for creators and distributors of media content for playback on such devices, as well as for designers and manufacturers of such devices. Many consumer devices can play a wide range of media content types and formats, including those related to audio content, often of high quality, high bandwidth, and wide dynamic range, for HDTV, Blu-ray, or DVD. Media processing devices can be used to play this type of audio content on their own internal acoustic transducers or on external transducers such as headphones. However, media processing devices generally cannot play this content with consistent loudness and intelligibility across diverse media formats and content types.

[0004] The approaches described in this section could have been pursued, but are not necessarily previously conceived or pursued. Therefore, unless otherwise noted, none of the approaches described in this section should be assumed to qualify as prior art simply because they are included in this section. Similarly, unless otherwise noted, no problem identified with respect to one or more approaches should be assumed to have been recognized in any prior art based on this section. [Brief explanation of the drawing]

[0005] The present invention is illustrated, not limited to, examples, in the accompanying drawings. In the drawings, similar reference numerals refer to similar elements. [Figure 1A] This is a diagram illustrating an exemplary audio decoder. [Figure 1B] This is a diagram illustrating an exemplary audio encoder. [Figure 2A] This figure shows an example of a dynamic range compression curve. [Figure 2B] This figure shows an example of a dynamic range compression curve. [Figure 3] This figure shows an exemplary processing logic for determining / calculating the combined DRC and limiting gain. [Figure 4] This figure shows an example of gain difference coding. [Figure 5] This figure shows an exemplary codec system having an audio encoder and an audio decoder. [Figure 6A] This is a diagram illustrating an exemplary process flow. [Figure 6B] This is a diagram illustrating an exemplary process flow. [Figure 6C] This is a diagram illustrating an exemplary process flow. [Figure 6D] This is a diagram illustrating an exemplary process flow. [Figure 7]The present paper is a diagram illustrating an exemplary hardware platform on which the computers or computing devices described herein may be implemented. [Detailed Description of the Preferred Embodiments]

[0006] Exemplary embodiments are described herein for applying dynamic range control and other types of audio processing operations to an audio signal in any of a wide variety of playback environments. In the following description, numerous specific details are set forth for purposes of explanation in order to provide a thorough understanding of the present invention. However, it will be apparent that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are not described in exhaustive detail in order to avoid unnecessarily obscuring, blurring, or burying the present invention.

[0007] Exemplary embodiments are described herein according to the following outline. 1. General Overview 2. Dynamic Range Control 3. Audio Decoder 4. Audio Encoder 5. Dynamic Range Compression Curve 6. DRC Gain, Gain Limiting and Gain Smoothing 7. Input Smoothing and Gain Smoothing 8. DRC Across Multiple Frequency Bands 9. Volume Adjustment in Loudness Domain 10. Downmix Loudness Adjustment 11. Gain-Related Additional Operations 12. Specific and Broadband (or Wideband) Loudness Levels 13. Individual Gains for Individual Subsets of Channels 14. Auditory Scene Analysis 15. Loudness Level Transitions 16. Reset 17. Gain Provided by Encoder 18. Exemplary System and Process Flow 19. Implementation Mechanisms - Hardware Overview 20. Equivalents, extensions, substitutes, etc.

[0008] <1. General Overview> This overview provides a basic description of several aspects of embodiments of the present invention. It should be noted that this overview is not a comprehensive or exhaustive summary of the aspects of the embodiments. Furthermore, it should be noted that this overview is not intended to identify any particularly significant aspects or elements of the embodiments, nor to define any scope of the invention, particularly of the embodiments, in general. This overview simply presents some concepts relating to the exemplary embodiments in a condensed and simplified form, and should be understood merely as a conceptual introduction to a more detailed description of the subsequent exemplary embodiments. While separate embodiments are discussed in this paper, it should be noted that any combination of the embodiments and / or partial embodiments discussed here may be combined to form further embodiments.

[0009] In some approaches, the encoder assumes that the audio content is encoded for a specific environment for the purpose of dynamic range control, and determines audio processing parameters such as gain for dynamic range control for that specific environment. The gain determined by the encoder under these approaches is typically smoothed over some time interval with some time constant (e.g., in an exponential decay function). Furthermore, the gain determined by the encoder under these approaches may be incorporated for gain limiting to ensure that the loudness level does not exceed the clipping level for the assumed environment. Thus, the gain encoded in the audio signal along with the audio information by the encoder under these approaches is the result of many different effects and is irreversible. A decoder receiving the gain under these approaches may not be able to distinguish which part of the gain is for dynamic range control, which part is for gain smoothing, and which part is for gain limiting.

[0010] Under the techniques described in this paper, it is not assumed that the audio encoder merely needs to support a specific playback environment in the audio decoder. In one embodiment, the audio encoder transmits an encoded audio signal with audio content from which a correct loudness level (e.g., without clipping) can be determined. The audio encoder may also transmit one or more dynamic range compression curves to the audio decoder. Any of these one or more dynamic range compression curves may be standard-based, proprietary, customized, content provider-specific, etc. A reference loudness level, attack time, release time, etc., may be transmitted by the audio encoder as part of or in relation to the one or more dynamic range compression curves.

[0011] In some embodiments, the audio encoder implements an auditory scene analysis (ASA) technique, uses the ASA technique to detect auditory events in the audio content, and sends one or more ASA parameters describing the detected auditory events to the audio decoder.

[0012] In some embodiments, the audio encoder may also be configured to detect reset events in audio content and send an indicator of such reset event along with the audio content to a downstream device such as an audio decoder in a time-synchronous manner.

[0013] In some embodiments, an audio encoder may be configured to compute one or more sets of gains (e.g., DRC gains) for individual parts of audio content (e.g., audio data blocks, audio data frames, etc.) and encode these sets of gains together with the individual parts of the audio content into the encoded audio signal. In some embodiments, the sets of gains generated by the audio encoder correspond to one or more gain profiles. In some embodiments, Huffman coding, differential coding, etc., may be used to encode the sets of gains into components, subdivisions, etc., of audio data frames, or to read the sets of gains from such components, subdivisions, etc. These components, subdivisions, etc., may be referred to as subframes of audio data frames. Different sets of gains may correspond to different sets of subframes. Each set of gains or each set of subframes may have two or more temporal components (e.g., subframes, etc.). In some embodiments, the bitstream formatter in the audio encoder described herein may, using one or more for loops, write one or more sets of gains together as difference data codes into one or more sets of subframes in an audio data frame. Correspondingly, the bitstream parser in the audio decoder described herein may read any of the one or more sets of gains encoded as difference data codes from the one or more sets of subframes in the audio data frame.

[0014] In some embodiments, the audio encoder determines the dialogue loudness level in the audio content to be encoded in the encoded audio signal and sends the dialogue loudness level along with the audio content to the audio decoder.

[0015] In some embodiments, the audio content is encoded in the encoded audio signal for a reference speaker configuration (e.g., surround sound configuration, 5.1 speaker configuration) that has more audio channels or speakers than when many audio decoders (e.g., mobile phones, tablet computers, etc.) are operating (e.g., a two-channel headset configuration). The loudness level measured in the reference speaker configuration for individual parts of the audio content may differ from the loudness level measured in a particular speaker configuration (e.g., a two-channel configuration) for the same individual parts of the audio content, even if the same gain adjustments are made in both speaker configurations.

[0016] In some embodiments, the audio encoder described herein is configured to provide downmix relation metadata (including, for example, one or more downmix loudness parameters) to a downstream audio decoder. The downmix relation metadata from the audio encoder (150) can be used by the downstream audio decoder to efficiently and consistently perform additional downmix relation gain adjustment operations (e.g., real-time, near real-time, etc.) to generate a relatively accurate target loudness level in the downmixed sound output. Such additional downmix relation gain adjustment operations can be used by the downstream audio decoder to prevent inconsistencies in the measured loudness levels between a reference speaker configuration and a specific speaker configuration of the decoder.

[0017] The techniques described in this paper do not require the audio decoder to be locked in with audio processing (e.g., irreversible) that may have been performed by upstream devices such as audio encoders, assuming a hypothetical playback environment, scenario, etc., in a hypothetical audio decoder. The decoder described in this paper may be configured to customize audio processing behavior based on a specific playback scenario, for example, to distinguish between various loudness levels present in audio content, minimize loss of audio perception quality at or near boundary loudness levels, and maintain spatial balance between channels or subsets of channels.

[0018] An audio decoder that receives an encoded audio signal containing a dynamic range compression curve, reference loudness level, attack time, release time, etc., can determine the specific playback environment being used in the decoder and select a specific compression curve with a corresponding reference loudness level that corresponds to that specific playback environment.

[0019] The decoder can calculate / determine the loudness level in individual parts of audio content extracted from the encoded audio signal (e.g., audio data blocks, audio data frames, etc.), or obtain the loudness level in individual parts of audio content if the audio encoder has calculated and provided the loudness level in the encoded audio signal. Based on one or more of the following: the loudness level in individual parts of audio content, the loudness level in earlier parts of audio content, the loudness level in later parts of audio content if available, the particular compression curve, the particular profile related to the particular playback environment or scenario, the decoder determines audio processing parameters such as gain for dynamic range control (DRC gain), attack time, and release time. The audio processing parameters may also include adjustments to align the dialogue loudness level with a specific reference loudness level for a particular playback environment (which may be user-adjustable).

[0020] The decoder applies audio processing operations, including dynamic range control (e.g., multi-channel, multi-band, etc.) and dialogue level adjustment, using the aforementioned audio processing parameters. The audio processing operations performed by the decoder may further include, but are not limited to, gain smoothing based on attack and release times provided as part of or in connection with a selected dynamic range compression curve, and gain limiting to prevent clipping. Different audio processing operations may be performed with different time constants (e.g., adjustable, threshold-dependent, controllable, etc.). For example, gain limiting to prevent clipping may be applied to individual audio data blocks, individual audio data frames, etc., with a relatively short time constant (e.g., instantaneous, about 5.3 milliseconds, etc.).

[0021] In some embodiments, the decoder can be configured to extract ASA parameters (e.g., the temporal position of the auditory event boundary, the time-dependent value of the event certainty index, etc.) from the metadata in the encoded audio signal, and to control the rate of gain smoothing in the auditory event based on the extracted ASA parameters (e.g., using a short time constant for the attack at the auditory event boundary, or using a long time constant to slow down gain smoothing within the auditory event).

[0022] In some embodiments, the decoder also maintains a histogram of instantaneous loudness levels for a given time interval or window, and uses this histogram to control the rate of gain change during loudness level transitions, such as between programs or between programs and commercials, by, for example, modifying the time constant.

[0023] In some embodiments, the decoder supports two or more speaker configurations (e.g., portable mode with speakers, portable mode with headphones, stereo mode, multi-channel mode, etc.). The decoder may be configured to maintain the same loudness level between two different speaker configurations (e.g., between stereo mode and multi-channel mode, etc.) when playing the same audio content. The audio decoder may use one or more downmix formulas to downmix multi-channel audio content received from an encoded audio signal for a reference speaker configuration to a specific speaker configuration in the audio decoder. The multi-channel audio content is encoded for the reference speaker configuration.

[0024] In some embodiments, automatic gain control (AGC) may be disabled in the audio decoder described in this paper.

[0025] In some embodiments, it forms part of a media processing system, including but not limited to audiovisual devices, flat panel TVs, handheld devices, game consoles, televisions, home theater systems, tablets, mobile devices, laptop computers, netbook computers, cellular wireless telephones, e-book readers, point-of-sale terminals, desktop computers, computer workstations, computer kiosks, various other types of terminals and media processing units.

[0026] Various modifications to the preferred embodiments and general principles and features described herein will be readily apparent to those skilled in the art. Therefore, this disclosure is not intended to be limited to the embodiments shown, but rather to provide the broadest possible scope consistent with the principles and features described herein.

[0027] <2. Dynamic Range Control> Without customized dynamic range control, input audio information (e.g., PCM samples, time-frequency samples in a QMF matrix, etc.) is often reproduced at a loudness level inappropriate for the specific playback environment of the playback device (i.e., including the device's physical and / or mechanical playback limits). This is because the specific playback environment of the playback device may differ from the target playback environment when the encoded audio content was encoded in the encoding device.

[0028] The techniques described in this paper can be used to support dynamic range control of a wide variety of audio content, customized for any of the wide range of playback environments, while maintaining the perceptual quality of the audio content.

[0029] Dynamic Range Control (DRC) refers to time-dependent audio processing operations that change the input dynamic range of loudness levels in audio content to an output dynamic range different from that input dynamic range (e.g., by compressing, cutting, expanding, or boosting). For example, in a dynamic range control scenario, soft sounds may be mapped to higher loudness levels (e.g., boosted), and loud sounds may be mapped to lower loudness values ​​(e.g., cut). As a result, in the loudness domain, in this example, the output range of loudness levels will be smaller than the input range of loudness levels. However, in some embodiments, dynamic range control may be reversible so that the original range is restored. For example, an expansion operation may be performed to restore the original range, as long as the mapped loudness level in the output dynamic range mapped from the original loudness level is below the clipping level, and each unique original loudness level is mapped to a unique output loudness level.

[0030] The DRC technique described in this paper can be used to provide a better listening experience in certain playback environments or situations. For example, soft sounds in a noisy environment may be masked by noise that makes the soft sounds inaudible. Conversely, in some situations, such as with a noisy neighbor, loud sounds may be undesirable. Many devices with loudspeakers that typically have small form factor cannot reproduce sound at high output levels. In some cases, lower signal levels may be reproduced below the human auditory threshold. The DRC technique can perform mapping of input loudness levels to output loudness levels based on DRC gains (e.g., scaling factors, boost ratios, cut ratios, etc. that scale audio amplitude) found using dynamic range compression curves.

[0031] A dynamic range compression curve is a function (such as a lookup table, curve, or multi-segmented line) that maps individual input loudness levels (e.g., sounds other than dialogue) determined from individual audio data frames to individual gains or gains for dynamic range control. Each individual gain indicates the magnitude of the gain to be applied to the corresponding individual input loudness level. The output loudness level after applying the individual gains represents the target loudness level for the audio content in that individual audio data frame in a particular playback environment.

[0032] In addition to specifying a mapping between gain and loudness levels, the dynamic range compression curve may include, or may be provided, specific release and attack times when applying a particular gain. Attack refers to the increase in signal energy (or loudness) between consecutive time samples, while release refers to the decrease in signal energy (or loudness) between consecutive time samples. The attack time (e.g., 10 milliseconds, 20 milliseconds, etc.) is the time constant used to smooth the DRC gain when the corresponding signal is in attack mode. The release time (e.g., 80 milliseconds, 100 milliseconds, etc.) is the time constant used to smooth the DRC gain when the corresponding signal is in release mode. In some embodiments, additionally, optionally, or alternatively, these time constants are used for smoothing the signal energy (loudness) before determining the DRC gain.

[0033] Different playback environments may correspond to different dynamic range compression curves. For example, the dynamic range compression curve for a flat-panel TV playback environment may differ from the dynamic range compression curve for a portable device playback environment. In some embodiments, a playback device may have two or more playback environments. For example, the first dynamic range compression curve for a first playback environment of a portable device using speakers may differ from the second dynamic range compression curve for a second playback environment of the same portable device using a headset.

[0034] <3. Audio Decoder> Figure 1A shows an exemplary audio decoder 100 having a data extractor 104, a dynamic range controller 106, an audio renderer 108, and the like.

[0035] In some embodiments, the data extractor (104) is configured to receive an encoded input signal 102. The encoded input signal described herein may be a bitstream containing encoded (e.g., compressed) input audio data frames and metadata. The data extractor (104) is configured to extract / decode input audio data frames and metadata from the encoded input signal (102). Each input audio data frame has multiple encoded audio data blocks, each representing multiple audio samples. Each frame represents a (e.g., constant) time interval containing a certain number of audio samples. The frame size may vary with the sample rate and the encoded data rate. An audio sample is a quantized audio data element (e.g., an input PCM sample, an input time-frequency sample in a QMF matrix, etc.) that represents spectral content in one, two, or more (audio) frequency bands or frequency ranges. The quantized audio data elements in the input audio data frame may represent pressure waves in the digital (quantized) domain. Quantized audio data elements can cover a finite range of loudness levels below the maximum possible value (e.g., clipping level, maximum loudness level).

[0036] Metadata can be used by a wide variety of receiving decoders for processing input audio data frames. The metadata may include various operation parameters relating to one or more operations to be performed by the decoder (100), normalization parameters relating to the dialogue loudness level represented in the input audio data frame, and so on. Dialogue loudness level can refer to levels (e.g., psychoacoustic, perceptual, etc.) such as dialogue loudness, program loudness, average dialogue loudness, etc., in the entire program (e.g., a film, television program, radio broadcast, etc.), a part of the program, or the dialogue of the program.

[0037] Some or all of the operation and functions of the decoder (100) or its modules (e.g., data extractor 104, dynamic range controller 106, etc.) may be adapted in response to metadata extracted from the encoded input signal (102). For example, metadata—including but not limited to dynamic range compression curves, dialogue loudness levels, etc.—may be used by the decoder (100) to generate digital domain output audio data elements (e.g., output PCM samples, output time-frequency samples in a QMF matrix, etc.). The output data elements can then be used to drive audio channels or speakers to achieve a specified loudness or reference playback level during playback in a particular playback environment.

[0038] In some embodiments, the dynamic range controller (106) is configured to receive some or all of the audio data elements and metadata in the input audio data frame and to perform audio processing operations on the audio data elements in the input audio data frame (e.g., dynamic range control operations, gain smoothing operations, gain limiting operations, etc.) based on metadata extracted from at least partially encoded audio signals (102).

[0039] In some embodiments, the dynamic range controller (106) may include a selector 110, a loudness calculator 112, a DRC gain unit 114, and the like. The selector (110) may be configured to determine a speaker configuration (e.g., flat panel mode, portable device with speakers, portable device with headphones, 5.1 speaker configuration, 7.1 speaker configuration, etc.) related to a particular playback environment in the decoder (100), and to select a specific dynamic range compression curve from various dynamic range compression curves extracted from the encoded input signal (102).

[0040] The loudness calculator (112) may be configured to calculate one or more types of loudness levels represented by the audio data elements in the input audio data frame. Exemplary types of loudness levels include, but are not limited to, individual loudness levels across individual frequency bands in individual channels over individual time intervals; broadband loudness levels over a wide frequency range in individual channels; loudness levels determined from or smoothed across an audio data block or frame; loudness levels determined from or smoothed across two or more audio data blocks or frames; and loudness levels smoothed over one or more time intervals. Zero, one, or more of these loudness levels may be modified by the decoder (100) for dynamic range control.

[0041] To determine the loudness level, the loudness calculator (112) can determine one or more time-dependent physical sound wave attributes, such as the spatial pressure level at a particular audio frequency, which are represented by the audio data elements in the input audio data frame. The loudness calculator (112) can use the one or more time-varying physical wave attributes to derive one or more types of loudness levels based on one or more psychoacoustic functions that model human loudness perception. The psychoacoustic function may be a nonlinear function—constructed based on a model of the human auditory system—that translates a particular spatial pressure level at a particular audio frequency into a specific loudness for that particular audio frequency.

[0042] Loudness levels across multiple (audio frequencies) or multiple frequency bands (e.g., broadband) may be derived through the integral of a specific loudness level across multiple (audio) frequencies or multiple frequency bands. Time-averaged, smoothed, etc., loudness levels over one or more time intervals (e.g., longer than represented by audio data blocks or audio data elements in a frame) may be obtained using one or more smoothing filters implemented as part of the audio processing operation in the decoder (100).

[0043] In one exemplary embodiment, specific loudness levels for different frequency bands may be calculated for each audio data block of a certain number of samples (e.g., 256). A pre-filter may be used to apply frequency weighting (e.g., similar to IEC B weighting) to the specific loudness levels in order to integrate them into a broadband loudness level. The sum of broad loudness levels across two or more channels (e.g., front left, front right, center, left surround, right surround) may be performed to provide an overall loudness level for those two or more channels.

[0044] In some embodiments, the overall loudness level may refer to the broadband loudness level of a channel (e.g., the center) in a speaker configuration. In some embodiments, the overall loudness level may refer to the broadband loudness level of multiple channels. The multiple channels may be all channels in a speaker configuration. Additionally, optionally, or alternatively, the multiple channels may include subsets of channels in a speaker configuration (e.g., a subset of channels including left front, right front, and low-frequency effects (LFE), a subset of channels including left surround, and right surround).

[0045] Loudness levels (e.g., broadband, wideband, overall, specific) may be used as input to find the corresponding DRC gain (e.g., static, unsmoothed, unlimited) from a selected dynamic range compression curve. The loudness levels used as input to find the DRC gain may first be adjusted or normalized with respect to the dialogue loudness level from metadata extracted from the encoded audio signal (102).

[0046] In some embodiments, the DRC gain unit (114) may be configured with a DRC algorithm to generate gain (for example, for dynamic range control, gain limiting, gain smoothing, etc.) and apply the gain to one or more loudness levels in one or more types of loudness levels represented by audio data elements in the input audio data frame to achieve a target loudness level for that particular playback environment. The application of gain (e.g., DRC gain) as described herein may occur in the loudness domain, although this is not mandatory. In some embodiments, the gain may be generated based on a loudness calculation (which may be expressed in terms of compensated SPL for a thorn or simply for example, an unconverted dialogue loudness level), smoothed, and applied directly to the input signal. In some embodiments, the technique described herein may calculate the corresponding gain to be applied to the signal by applying the gain to the signal in the loudness domain, then converting the signal from the loudness domain to the original (linear) SPL domain, and evaluating the signal before and after the gain was applied to the signal in the loudness domain. Then, the ratio (or difference, if expressed in logarithmic dB terms) determines the corresponding gain for that signal.

[0047] In some embodiments, the DRC algorithm operates with multiple DRC parameters. These DRC parameters include a dialogue loudness level, which is already calculated by an upstream encoder (e.g., 150) and embedded in the encoded audio signal (102), and can be retrieved by the decoder (100) from metadata in the encoded audio signal (102). The dialogue loudness level from the upstream encoder represents the average dialogue loudness level (e.g., per program, relative to the energy of a full-scale 1kHz sine wave, relative to the energy of a reference square wave, etc.). In some embodiments, the dialogue loudness level extracted from the encoded audio signal (102) may be used to reduce differences in loudness levels between programs. In some embodiments, the reference dialogue loudness level may be set to the same value between different programs in the same specific playback environment at the decoder (100). Based on the dialogue loudness level from the metadata, the DRC gain unit (114) can apply a dialogue loudness-related gain to each audio data block in the program so that the output dialogue loudness level averaged across multiple audio data blocks of the program is raised or lowered to a reference dialogue loudness level for that program (e.g., a pre-configured, system-default, user-configurable, or profile-dependent level).

[0048] In some embodiments, DRC gain may be used to address differences in loudness levels within a program by boosting or cutting input loudness levels in soft and / or loud sounds according to a selected dynamic range compression curve. One or more of these DRC gains may be calculated / determined by a DRC algorithm based on a selected dynamic range compression curve and loudness levels (such as broadband, wideband, overall, specific, etc.) determined from one or more corresponding audio data blocks, audio data frames, etc.

[0049] The loudness level used to determine the DRC gain (e.g., static, unsmoothed, ungain-limited, etc.) by searching for a selected dynamic range compression curve may be calculated over a short interval (e.g., about 5.3 milliseconds). The integration time of the human auditory system (e.g., about 200 milliseconds) can be much longer. The DRC gain obtained from the selected dynamic range compression curve may be smoothed with a time constant to account for the long integration time of the human auditory system. To implement a fast rate of change (increase or decrease) in the loudness level, a short time constant may be used to cause the change in loudness level over a short time interval corresponding to a short time constant. Conversely, to implement a slow rate of change (increase or decrease) in the loudness level, a long time constant may be used to change the loudness level over a long time interval corresponding to a long time constant.

[0050] The human auditory system may respond to increasing and decreasing loudness levels with different integration times. In some embodiments, different time constants may be used depending on whether the loudness level is increasing or decreasing to smooth the static DRC gain retrieved from a selected dynamic range compression curve. For example, corresponding to the characteristics of the human auditory system, the attack (increase in loudness level) may be smoothed with a relatively short time constant (e.g., attack time), while the release (decrease in loudness level) may be smoothed with a relatively long time constant (e.g., release time).

[0051] The DRC gain for a portion of the audio content (e.g., one or more audio data blocks, audio data frames, etc.) may be calculated using the loudness level determined from the aforementioned portion of the audio content. The loudness level to be used for searching in the selected dynamic range compression curve may first be adjusted with respect to (e.g., in relation to) the dialogue loudness level (e.g., of a program, etc., in which the audio content is part) in the metadata extracted from the encoded audio signal (102).

[0052] Reference dialog loudness level (for example, -31dB in "Line" mode) FS In "RF" mode, -20dB FS (etc.) may be specified or established for a specific playback environment in the decoder (100). Additionally, alternatively, or optionally, in some embodiments, the user may be given control over setting or changing the reference dialog loudness level in the decoder (100).

[0053] The DRC gain unit (114) can be configured to determine the dialogue loudness relation gain for audio content, causing a change from the input dialogue loudness level to a reference dialogue loudness level as the output dialogue loudness level.

[0054] In some embodiments, the DRC gain unit (114) may be configured to handle peak levels in a particular playback environment at the decoder (100) and adjust the DRC gain to prevent clipping. In some embodiments, under the first approach, if the audio content extracted from the encoded audio signal (102) includes audio data elements for a reference multichannel configuration having more channels than the channels of a particular speaker configuration at the decoder, a specific speaker configuration downmix may be performed from the reference multichannel configuration before determining and processing the peak levels to prevent clipping. Additionally, optionally, or alternatively, in some embodiments, under the second approach, if the audio content extracted from the encoded audio signal (102) includes audio data elements for a reference multichannel configuration having more channels than the channels of a particular speaker configuration at the decoder, a downmix formula (e.g., ITU stereo downmix, matrixed-surround compatible downmix, etc.) may be used to obtain the peak levels for a particular speaker configuration at the decoder (100). The peak level may be adjusted to reflect the change from the input dialog loudness level to the reference dialog loudness level as the output dialog loudness level. The maximum allowable gain that does not cause clipping (for example, for a certain audio data block, for a certain audio data frame, etc.) may be determined at least in part based on the reciprocal of the peak level (e.g., multiplied by -1). Thus, the audio decoder under the techniques described in this paper can be configured to accurately determine the peak level and apply clipping prevention specifically for the playback configuration on the decoder side. Neither the audio decoder nor the audio encoder needs to make assumptions about worst-case scenarios in the hypothetical decoder.In particular, the decoder in the first approach described above can accurately determine the peak level and apply clipping prevention after downmixing without using downmix equations, downmix channel gain, etc. (which are used under the second approach as described above).

[0055] In some implementations, a combination of adjustments to the dialogue loudness level and DRC gain prevents peak level clipping, even in the worst-case downmix (e.g., those that produce the maximum peak level after downmixing, or those that produce the maximum downmix channel gain). However, in some other embodiments, the combination of adjustments to the dialogue loudness level and DRC gain may not be sufficient to prevent peak level clipping. In these embodiments, the DRC gain may be replaced (e.g., capped) by the best gain that prevents clipping at the peak level.

[0056] In some embodiments, the DRC gain unit (114) is configured to obtain time constants (e.g., attack time, release time, etc.) from metadata extracted from the encoded audio signal (102). The DRC gain, time constants, maximum allowable gain, etc., may be used by the DRC gain unit (114) to perform DRC, gain smoothing, gain limiting, etc.

[0057] For example, the application of DRC gain may be smoothed by a filter controlled by a certain time constant. Gain limiting operation may be implemented by a min() function that takes the smaller of the gain to be applied and the maximum allowable gain for that gain. Through this function, the gain (e.g., DRC before limiting) may be immediately replaced by the maximum allowable gain over a relatively short time interval, thereby preventing clipping.

[0058] In some embodiments, the audio renderer (108) is configured to apply a gain determined based on DRC, gain limiting, gain smoothing, etc., to the input audio data extracted from the encoded audio signal (102), and then generate channel-specific audio data (116) for that particular speaker configuration (e.g., multi-channel). The channel-specific audio data (118) may be used to drive speakers, headphones, etc., represented in that speaker configuration.

[0059] Additionally and / or optionally, in some embodiments, the decoder (100) may be configured to perform one or more other operations relating to pre-processing, post-processing, rendering, etc., of the input audio data.

[0060] The techniques described in this paper can be used with a variety of speaker configurations to accommodate diverse surround sound configurations (e.g., 2.0, 3.0, 4.0, 4.1, 4.1, 5.1, 6.1, 7.1, 7.2, 10.2, 10-60 speaker configurations, 60+ speaker configurations, etc.) and a variety of different rendering environment configurations (e.g., cinemas, parks, opera houses, concert halls, bars, homes, auditoriums, etc.).

[0061] <4. Audio Encoder> Figure 1B shows an exemplary encoder 150. The encoder (150) may include an audio content interface 152, a dialogue loudness analyzer 154, a DRC reference storage unit 156, an audio signal encoder 158, and the like. The encoder 150 may be part of a broadcasting system, an internet-based content server, an over-the-air network operator system, a film production system, and the like.

[0062] In some embodiments, the audio content interface (152) is configured to receive audio content 160, an audio content control input 162, etc., and to generate an encoded audio signal (e.g., 102) based at least partially on some or all of the audio content (160) and the audio content control input (162). For example, the audio content interface (152) may be used to receive audio content (160) and the audio content control input (162) from a content creator, a content provider, etc.

[0063] Audio content may consist of audio only, or part or all of overall media data including audiovisuals, etc. Audio content (160) may include one or more of the following: parts of a program, a program, several programs, one or more commercials, etc.

[0064] In some embodiments, a dialogue loudness analyzer (154) is configured to determine / establish one or more dialogue loudness levels for one or more portions of audio content (152) (e.g., one or more programs, one or more commercials, etc.). In some embodiments, the audio content is represented by one or more sets of audio tracks. In some embodiments, the dialogue audio content of the audio content resides on a separate audio track. In some embodiments, at least a portion of the audio content resides on an audio track that also contains non-dialogue audio content.

[0065] The audio content control input (162) may include some or all of the following: user control inputs, control inputs provided by external systems / devices to the encoder (150), control inputs from content creators, and control inputs from content providers. For example, a user, such as a mixing engineer, may provide / specify one or more dynamic range compression curve identifiers. These identifiers may be used to retrieve one or more dynamic range compression curves that best fit the audio content (160) from a data storage unit, such as a DRC reference storage unit (156).

[0066] In some embodiments, a DRC reference storage unit (156) is configured to store DRC reference parameter sets, etc. These DRC reference parameter sets may include definition data for one or more dynamic range compression curves, etc. In some embodiments, the encoder (150) may encode two or more dynamic range compression curves into the encoded audio signal (102) (for example, concurrently). Zero, one or more of these dynamic range compression curves may be standard-based, proprietary, customized, or modifiable by the decoder. In one exemplary embodiment, both the dynamic range compression curves of Figures 2A and 2B can be encoded into the encoded audio signal (102) (for example, concurrently).

[0067] In some embodiments, the audio signal encoder (158) may be configured to receive audio content from an audio content interface (152), dialogue loudness levels from a dialogue loudness analyzer (154), etc., retrieve one or more DRC reference parameter sets from a DRC reference storage unit (156), format the audio content into audio data blocks / frames, format the dialogue loudness levels, DRC reference parameter sets, etc. into metadata (e.g., metadata containers, metadata fields, metadata structures, etc.), and encode the audio data blocks / frames and metadata into an encoded audio signal (102).

[0068] The audio content to be encoded in the encoded audio signal as described in this paper may be received in one or more of a variety of source audio formats by one or more of a variety of methods, such as wirelessly, via a wired connection, via a file, or via an internet download.

[0069] The encoded audio signals described in this paper may be part of an overall media data bitstream (for example, for audio broadcasts, audio programs, audiovisual programs, audiovisual broadcasts, etc.). The media data bitstream may be accessed from servers, computers, media storage devices, media databases, media files, etc. The media data bitstream may be broadcast, transmitted, or received over one or more wireless or wired network links. The media data bitstream may be communicated over one or more intermediaries such as network connections, USB connections, wide area networks, local area networks, wireless connections, optical connections, buses, crossbar connections, serial connections, etc.

[0070] Any of the components depicted (for example, in Figures 1A, 1B, etc.) may be implemented as one or more processes and / or one or more IC circuits (e.g., ASICs, FPGAs, etc.) in hardware, software, or a combination of hardware and software.

[0071] <5. Dynamic Range Compression Curve> Figures 2A and 2B show exemplary dynamic range compression curves that can be used by the DRC gain unit (104) in the decoder (100) to derive the DRC gain from the input loudness level. As shown in the figures, the dynamic range compression curve may be centered on a reference loudness level in the program to provide an appropriate overall gain for a particular playback environment. Exemplary definition data for the dynamic range compression curve (e.g., in the metadata of the encoded audio signal 102) (including, but not limited to, boost ratio, cut ratio, attack time, release time, etc.) are shown in the table below. Here, each profile in the multiple profiles (e.g., film standard, film light, music standard, music light, speech, etc.) represents a particular playback environment (e.g., in the decoder 100, etc.).

[0072] [Table 1] Some embodiments SPL or dB FS Loudness level and dB expressed as SPL One or more compression curves described using gain expressed in dB with respect to may be accepted. On the other hand, the DRC gain is dB SPLThe process is performed using a different loudness representation (e.g., Thorne) that has a nonlinear relationship with the loudness level. In this case, the compression curve used in the DRC gain calculation may be transformed so that it is described using the different loudness representation (e.g., Thorne).

[0073] <6. DRC Gain, Gain Limitation, and Gain Smoothing> Figure 3 shows an exemplary processing logic for determining / calculating the combined DRC and limiting gain. The processing logic may be implemented by a decoder (100), an encoder (150), etc. For illustrative purposes only, a DRC gain unit (e.g., 114) in a decoder (e.g., 100) may be used to implement the processing logic.

[0074] The DRC gain for a portion of the audio content (e.g., one or more audio data blocks or audio data frames) may be calculated using the loudness level determined from that portion of the audio content. The loudness level may first be adjusted with respect to (e.g., in relation to) the dialogue loudness level (e.g., of a program to which the audio content is part) in the metadata extracted from the encoded audio signal (102). In the example shown in Figure 3, the difference between the loudness level of the portion of the audio content and the dialogue loudness level ("dialnorm") may be used as input to find the DRC gain from a selected dynamic range compression curve.

[0075] To prevent clipping of output audio data elements in that particular playback environment, the DRC gain unit (114) may be configured to handle peak levels in a specific playback scenario (for example, specific to a particular combination of playback environments in the encoded audio signal 102 and decoder 100). The playback scenario may be one of a variety of possible playback scenarios (e.g., a multi-channel scenario, a downmix scenario, etc.).

[0076] In some embodiments, individual peak levels for individual portions of audio content at a specific temporal resolution (e.g., audio data blocks, several audio data blocks, audio data frames, etc.) may be provided as part of metadata extracted from the encoded audio signal (102).

[0077] In some embodiments, the DRC gain unit (114) may be configured to determine the peak levels in these scenarios and adjust the DRC gain as needed. During the calculation of the DRC gain, parallel processing may be used by the DRC gain unit (114) to determine the peak levels of the audio content. For example, the audio content may be encoded for a reference multi-channel configuration that has more channels than the channels of a particular speaker configuration used by the decoder (100). The audio content for the more channels of the reference multi-channel configuration may be converted to downmixed audio data (e.g., an ITU stereo downmix, a matrixed-surround compatible downmix, etc.) to derive fewer channels for the particular speaker configuration in the decoder (100). In some embodiments, under the first approach, the downmixing from the reference multi-channel configuration to the particular speaker configuration may be performed before determining and processing the peak levels to prevent clipping. Additionally, optionally, or alternatively, in some embodiments, under the second approach, the downmix channel gain related to downmixing audio content may be used as part of the input for adjusting, deriving, calculating, etc., the peak level for that particular speaker configuration. In one exemplary embodiment, the downmix channel gain may be derived at least in part on one or more downmix formulas used to perform a downmix operation from a reference multichannel configuration to a particular speaker configuration in the playback environment at decoder (100).

[0078] Some media applications have a reference dialog loudness level (for example, -31dB in "Line" mode). FS In "RF" mode, -20dB FSetc.) may be specified or assumed for a specific playback environment in the decoder (100). In some embodiments, a user may be given control over setting or changing the reference dialog loudness level in the decoder (100).

[0079] A dialog loudness relative gain may be applied to the audio content to adjust the dialog loudness level (e.g., of the output) to the reference dialog loudness level. To reflect this adjustment, the peak level should be adjusted accordingly. In one example, the (input) dialog loudness level is -23dB FS The reference dialog loudness level is -31dB FS In the "line" mode, the adjustment to the (input) dialog loudness level is -8dB to produce an output dialog loudness level equal to the reference dialog loudness level. In this "line" mode, the adjustment to the peak level is also -8dB, which is the same as the adjustment to the dialog loudness level. The reference dialog loudness level is -20dB FS In the "RF" mode, the adjustment to the (input) dialog loudness level is 3dB to produce an output dialog loudness level equal to the reference dialog loudness level. In this "RF" mode, the adjustment to the peak level is also 3dB, which is the same as the adjustment to the dialog loudness level.

[0080] The sum of the peak level and the difference between the reference dialog loudness level (denoted as "dialref") and the dialog loudness level ("dialnorm") in the metadata from the encoded audio signal (102) may be used as an input to calculate the maximum (e.g., allowable, etc.) gain for DRC gain. The adjusted peak level is (relative to the clipping level of 0dB) FS dB FSSince it is expressed as such, the maximum allowable gain that does not cause clipping (for example, for the current audio data block, for the current audio data frame, etc.) is simply the reciprocal of the adjusted peak level (for example, multiplied by -1, etc.).

[0081] In some embodiments, even if the dynamic range compression curve from which the DRC gain is derived is designed to cut out loud sounds to some extent, the peak level is the clipping level (0dB). FS The level may exceed (represented by ). In some embodiments, the combination of adjusting the dialogue loudness level and DRC gain prevents peak level clipping, even in the worst-case downmix (e.g., one that produces the maximum downmix channel gain). However, in some other embodiments, the combination of adjusting the dialogue loudness level and DRC gain may not be sufficient to prevent peak level clipping. In these embodiments, the DRC gain may be replaced (e.g., capped) by the best gain that prevents clipping at the peak level.

[0082] In some embodiments, the DRC gain unit (114) is configured to obtain time constants (e.g., attack time, release time, etc.) from metadata extracted from the encoded audio signal (102). These time constants may or may not change with one or more of the dialogue loudness levels or current loudness levels of the audio content. The DRC gain, time constants, and maximum gain retrieved from the dynamic range compression curve may be used to perform gain smoothing and limiting operations.

[0083] In some embodiments, the DRC gain, which may be gain-limited, does not exceed the maximum peak loudness level in a particular playback environment. The static DRC gain derived from the loudness level may be smoothed by a filter controlled by a time constant. The limiting operation may be implemented by one or more min() functions. Through this function, the DRC gain (e.g., before limiting) may be immediately replaced by the maximum allowable gain over a relatively short time interval, thereby preventing clipping. The DRC algorithm may be configured to smoothly release from the clipping gain to a lower gain as the peak level of the incoming audio content moves from above the clipping level to below the clipping level.

[0084] One or more different implementations (e.g., real-time, two-pass, etc.) may be used to perform the determination / calculation / application of the DRC gain shown in Figure 3. For illustrative purposes only, adjustments to dialogue loudness level, DRC gain (e.g., static), time-dependent gain fluctuations due to smoothing, gain clipping due to limitations, etc., have been described as combined gains from the DRC algorithm described above. However, in various embodiments, other approaches may be used to apply gain to audio content for purposes such as controlling dialogue loudness level (e.g., between different programs), controlling dynamic range (e.g., for different parts of the same program), preventing clipping, gain smoothing, etc. For example, some or all of the adjustments to dialogue loudness level, DRC gain (e.g., static), time-dependent gain fluctuations due to smoothing, gain clipping due to limitations, etc., may be applied partially / individually, in series, in parallel, partially in series and partially in parallel, etc.

[0085] <7. Input Smoothing and Gain Smoothing> In addition to DRC gain smoothing, other smoothing processes under the techniques described herein may be implemented in various embodiments. For example, input smoothing may be used, in which input audio data extracted from the encoded audio signal (102) may be smoothed using, for example, a simple unipolar smoothing filter to obtain a spectrum of a particular loudness level that has better temporal characteristics (e.g., is smoother in time, has fewer spikes in time, etc.) than the spectrum of a particular loudness level without input smoothing.

[0086] In some embodiments, the different smoothing processes described herein may use different time constants (e.g., 1 second, 4 seconds, etc.). In some embodiments, two or more smoothing processes may use the same time constant. In some embodiments, the time constant used in the smoothing processes described herein may be frequency-dependent. In some embodiments, the time constant used in the smoothing processes described herein may be frequency-independent.

[0087] One or more smoothing processes may be connected to a reset process that supports automatic or manual resetting of the one or more smoothing processes. In some embodiments, when a reset occurs in the reset process, the smoothing process may speed up the smoothing operation by switching to or transitioning to a smaller time constant. In some embodiments, when a reset occurs in the reset process, the memory of the smoothing process may be reset to a value. This value may be the last input sample to the smoothing process.

[0088] <8. DRC across multiple frequency bands> In some embodiments, specific loudness levels in specific frequency bands can be used to derive the corresponding DRC gain in those specific frequency bands. However, this can lead to tonal changes, because those specific loudness levels can vary significantly across different bands, and therefore, even if the broadband loudness level across the entire frequency band remains constant, different DRC gains may be incurred.

[0089] In some embodiments, instead of applying DRC gains that vary with each individual frequency band, a DRC gain that does not vary with frequency bands but varies with time is applied. The same time-varying DRC gain is applied across all frequency bands. The time-averaged DRC gain of the time-varying DRC gain may be set to be the same as the static DRC gain derived from the selected dynamic range compression curve based on broadband, wideband, and / or overall loudness levels across a broadband (or wideband) range or multiple frequency bands. As a result, changes in tonal effects that may be caused by applying different DRC gains in different frequency bands in other approaches can be avoided.

[0090] In some embodiments, the DRC gain in individual frequency bands is controlled using a broadband DRC gain determined based on the broadband loudness level. The DRC gain in individual frequency bands may operate around the broadband DRC found in the dynamic range compression curve based on the broadband loudness level. Thus, the DRC gain in individual frequency bands, time-averaged over a time interval (e.g., longer than 5.3 milliseconds, 20 milliseconds, 50 milliseconds, 80 milliseconds, 100 milliseconds, etc.), is the same as the broadband level shown in the dynamic range compression curve. In some embodiments, loudness level fluctuations over shorter time intervals relative to the aforementioned time interval, which deviate from the time-averaged DRC gain, are acceptable between channels and / or frequency bands. This approach ensures the correct application of multi-channel and / or multi-band time-averaged DRC gains shown in the dynamic range compression curve, preventing DRC gains in short time intervals from deviating too much from such time-averaged DRC gains shown in the dynamic range compression curve.

[0091] <9. Volume adjustment in the loudness range> Applying linear processing for volume adjustment to audio excitation signals under other approaches that do not implement the techniques described in this paper may render low audible signal levels inaudible (for example, below the frequency-dependent auditory threshold of the human auditory system).

[0092] Under the techniques described in this paper, volume adjustment of audio content is performed in the physical domain (e.g., dB). SPLIt can be done or implemented in the loudness domain (e.g., with a thone representation) rather than in the volume domain (e.g., with a thone representation). In some embodiments, the loudness levels of all bands are scaled by the same factor in the loudness domain to maintain the perceptual quality and / or integrity of the loudness level relationship between all bands at all volume levels. Volume adjustment based on setting and adjusting gain in the loudness domain as described in this paper may be converted back to and implemented through a nonlinear processing in the physical domain (or in the digital domain representing the physical domain) that applies different scaling factors to audio excitation signals in different frequency bands. The nonlinear processing in the physical domain converted from volume adjustment in the loudness domain under the techniques described in this paper attenuates or increases the loudness level of the audio content with a DRC gain that prevents most or all of the low audible levels in the audio content from becoming inaudible. In some embodiments, the difference in loudness levels between loud and soft sounds within the program is reduced—but not perceptually eliminated—using these DRC gains to keep low audible signal levels above the auditory threshold of the human auditory system. In some embodiments, to maintain similarity such as spectral perception and perceived timbre across a wide range of volume levels, frequencies or frequency bands with excitation signal levels close to the auditory threshold at low volume levels are attenuated less and are therefore perceptually audible.

[0093] The techniques described in this paper may implement conversions (e.g., back-and-forth conversions) between signal levels, gains, etc., in the physical domain (or digital domain representing the physical domain) and loudness levels, gains, etc., in the loudness domain. These conversions may be based on forward and inverse versions of one or more nonlinear functions (e.g., mappings, curves, piecewise linear segments, lookup tables, etc.) constructed based on a model of the human auditory system.

[0094] <10. Downmix / Loudness Adjustment> In some embodiments, the audio content (152) is encoded in the encoded audio signal (102) for a reference speaker configuration (e.g., a surround sound configuration, a 5.1 speaker configuration, etc.) that includes multiple audio channels or speakers.

[0095] A receiving decoder operating with a specific speaker configuration (e.g., a two-channel headset configuration) having fewer audio channels or speakers is expected to downmix the audio content (152) received from the encoded audio signals (102) from the multiple audio channels in the reference speaker configuration to the fewer audio channels in the decoder's specific speaker configuration (e.g., using one or more downmix formulas), thereby generating a downmixed audio output.

[0096] The loudness levels measured in the reference speaker configuration for individual portions of the audio content (152) may differ from the loudness levels measured in the specific speaker configuration, such as a two-channel configuration, for the same individual portions of the audio content (152). For example, if a portion of the audio content (152) before downmixing has a specific channel-dependent sound distribution concentrated in the left front and right front channels of the reference speaker configuration, the loudness level of the same portion of the audio content (152) after downmixing to a two-channel configuration may be higher or louder than the loudness level of the same portion of the audio content (152) in the reference speaker configuration before downmixing. On the other hand, if a portion of the audio content (152) before downmixing has a specific channel-dependent sound distribution concentrated in channels other than the left front and right front channels of the reference speaker configuration, the loudness level of the same portion of the audio content (152) after downmixing to a two-channel configuration may be lower or quieter than the loudness level of the same portion of the audio content (152) in the reference speaker configuration before downmixing.

[0097] In some embodiments, the audio encoder described herein (e.g., 150) is configured to provide downmix relation metadata (e.g., including one or more downmix loudness parameters) to a downstream audio decoder. The downmix relation metadata from the audio encoder (150) can be used by the downstream audio decoder to efficiently and consistently perform downmix relation gain adjustment operations (e.g., in real time, near real time, etc.) to enable the downstream audio decoder to generate a relatively accurate actual target loudness level in the downmixed sound output and to prevent inconsistencies in the measured loudness levels between a reference speaker configuration and a specific speaker configuration of the decoder.

[0098] In some embodiments, the audio encoder (150) determines one or more downmix parameters based at least in part on a reference speaker configuration and audio content (152) encoded for a specific speaker configuration different from the reference speaker configuration (e.g., a two-channel configuration). In some embodiments, the downmix loudness parameters include one or more different sets of downmix loudness parameters for different types of downmix operation. The downmix loudness parameters may constitute a single set of downmix loudness parameters to be used by a downstream audio decoder to perform a specific type of downmix, such as an LtRt downmix or a LoRo downmix. The downmix loudness parameters may constitute two or more sets of downmix loudness parameters to be used by a downstream audio decoder to perform any of two or more specific types of downmix, such as an LtRt downmix or a LoRo downmix. The downmix loudness data generated by the audio encoder (150) may carry downmix loudness parameters for one or more different types of downmix operation. The downmix loudness data may also include preference flags indicating which type of downmix operation is preferred for the audio content to be downmixed. The downmix loudness parameters may be delivered to a downstream decoder as part of metadata delivered in an encoded audio signal (102) containing the encoded audio content (152) for a reference speaker configuration.

[0099] Examples of downmix loudness parameters described in this paper are not limited to those described herein, but may include one or more downmix loudness metadata indicators, one or more downmix loudness data fields, etc. In one exemplary embodiment, a downmix loudness parameter may have an indicator indicating whether downmix loudness offset data exists (e.g., a one-bit data field labeled "dmixloudoffst"), a data field indicating the downmix loudness offset (e.g., a five-bit data field labeled "5-bit_dmixloudoffst"), etc. In some embodiments, one or more instances of these indicators and data fields may be generated by an audio encoder (150) for one or more different types of downmix operations.

[0100] In some embodiments, the “dmixloudoffste” field may be set to 1 only when the encoded audio signal (102) carries audio data (e.g., audio samples) for more than two channels; the “dmixloudoffst” field may be carried when the “dmixloudoffste” field is set to 1. In one example where the encoded audio signal (102) is an AC-3 or E-AC-3 bitstream, the “dmixloudoffste” field may be set to 1 when the audio encoding mode (e.g., “acmode”) for the AC-3 or E-AC-3 bitstream is set to a value greater than 2. Such a value for the audio encoding mode indicates that the reference speaker configuration is a multi-channel speaker configuration containing more than two audio channels or speakers, and not a configuration with only a center speaker (e.g., with a value of 1 for “acmod”) or a configuration with only front left and front right speakers (e.g., with a value of 2 for “acmod”).

[0101] The “dmixloudoffst” field may be used to indicate the difference between the expected loudness of a downmixed audio output from an audio decoder (e.g., an AC-3 decoder, an E-AC-3 decoder, etc.) and the measured loudness of such a downmixed audio output. Some or all of the gain adjustments resulting from dialogue normalization, dynamic range compression, fixed attenuation to protect against downmix overload, etc., are applied before performing the measurement that gives the measured loudness. In some embodiments, the measured loudness includes one or more different sets of downmixed loudness measurements for one or more different types of downmixed audio outputs, each having one or more different sets of gain adjustments. In some embodiments, the audio encoder (150) generates one or more downmixes based on one or more types of downmix operation (e.g., an LtRt downmix operation, an LoRo downmix operation, etc.). For example, the audio encoder (150) can generate one or more downmixes by applying one or more different sets of downmix coefficient / downmix equations (e.g., LtRt downmix coefficient / downmix equation, LoRo downmix coefficient / downmix equation, etc.) to the encoded audio content for a reference speaker configuration (e.g., multichannel). In some embodiments, the audio encoder (150) may apply one or more different sets of gain adjustments to one or more of the downmixes to generate one or more different types of downmix sound outputs for loudness measurement.Examples of gain adjustment sets are not limited to, but include any set of gain adjustments with null gain, a set of gain adjustments including gain adjustments related to dynamic range compression, a set of gain adjustments including gain adjustments related to dialogue normalization, a set of gain adjustments excluding gain adjustments related to dynamic range compression, a set of gain adjustments excluding gain adjustments related to dialogue normalization, and a set of gain adjustments including gain adjustments related to both dynamic range compression and dialogue normalization. After the one or more different types of downmix audio outputs for loudness measurement are generated based on the one or more different sets of gain adjustments and the one or more different combinations of the downmix, the audio encoder (150) can generate the measured loudness by performing one or more different sets of downmix loudness measurements on any one or more different types of the downmix audio output, in part or in whole. The measured loudness may be produced by the audio encoder (150) in any of a variety of loudness measurement standards (e.g., LKFS, LUFS, etc.), methods, tools, etc. For illustrative purposes only, the measured loudness may be expressed by the LKFS value.

[0102] In some embodiments, the audio encoder (150) is assumed to be such that an audio decoder (e.g., 100) described in this paper, which decodes the encoded audio signal (102) having a certain dialogue loudness level (e.g., “dialnorm”), is expected to apply a certain amount of attenuation (e.g., the difference between the reference loudness level and “dialnorm”) during decoding to match / adjust the output dialogue loudness level of the downmixed sound output to a reference loudness level. For example, if the dialogue loudness level “dialnorm” (such as that determined from the encoded audio content (152) for a reference speaker configuration such as a 5.1 speaker configuration) has a value of -24dB FSIf the decoder has a reference loudness level of -31 LKFS for a particular speaker configuration (e.g., the two-channel configuration to which the audio content (152) should be downmixed), the audio decoder (100) is expected to apply a 7 dB attenuation to match / adjust the output dialogue loudness level to the reference loudness level. In some embodiments, the reference loudness level for a particular speaker configuration of the decoder (e.g., -31 LKFS) represents the expected loudness level (e.g., the output of a two-channel downmixed sound).

[0103] In some embodiments, the “dmixloudoffst” field may be used by the audio encoder (150) to indicate any loudness deviation between (1) the expected loudness level of the two-channel downmix audio output and (2) the measured loudness level of the two-channel downmix audio output measured after some or all of the gain adjustments resulting from dialogue normalization, dynamic range compression, fixed attenuation to protect against downmix overload, etc. The “dmixloudoffst” field may include one or more instances for one or more different types of downmixes after the application of one or more different sets of gain adjustments, etc. The loudness deviation indicated by the “dmixloudoffst” field may include, but is not limited to, loudness level differences caused by downmixing audio content from a reference speaker configuration to a specific speaker configuration such as a two-channel configuration. The loudness deviation corresponds to the loudness offset that should be applied by a decoder with a specific speaker configuration to which the audio content (152) should be downmixed, in order to generate a reference loudness level in the downmixed audio output (or, for example, its inverse).

[0104] In one exemplary implementation, the “dmixloudoffst” field (for example, an instance thereof) may be set to a value in the range of values ​​from 0 to 30 (for example, an integer) corresponding to a loudness offset range from -7.5 LKFS to +7.5 LKFS in 0.5 LKFS increments. Additionally, optionally, or alternatively, the value 31 for the “dmixloudoffst” field may be specified as a reserved value, which, if present, may be interpreted as a downmix loudness offset of 0 LKFS.

[0105] In some embodiments, a positive LKFS value for the "dmixloudoffst" field (e.g., values ​​of 16, 17, ..., 30 for the "dmixloudoffst" field) indicates that the measured loudness level of the downmix output is louder than the expected loudness level of the downmix output by the magnitude of the indicated LKFS value. A negative LKFS value for the "dmixloudoffst" field (e.g., values ​​of 0, 1, ..., 15 for the "dmixloudoffst" field) indicates that the measured loudness level of the downmix output is quieter or not louder than the expected downmix loudness by the magnitude of the indicated LKFS value.

[0106] Some or all of the downmix loudness parameters may be used (e.g., additionally, optionally, alternatively, etc.) by an audio decoder (e.g., 100, etc.) having a speaker configuration like the aforementioned specific speaker configuration to control one or more audio processing operations, algorithms, etc. that act on the audio content (152) in the encoded audio signal (102) in order to compensate for loudness level differences of individual parts of the audio content (152) in the encoded audio signal (102) caused by downmixing the audio content (152) from a reference speaker configuration to a specific speaker configuration.

[0107] In some embodiments, the audio decoder described herein (e.g., 100) is configured to decode audio content (e.g., multi-channel) from an encoded audio signal (102) and to extract a dialogue loudness level (e.g., "dialnorm") from loudness metadata delivered with the audio content. The audio decoder (100) may operate with a particular speaker configuration (e.g., a two-channel configuration) in which the audio content has fewer audio channels than the corresponding reference speaker configuration.

[0108] In some embodiments, the audio decoder (100) uses one or more downmix formulas to downmix the multichannel audio content, which is received from an encoded audio signal (102) for a reference speaker configuration for which the multichannel audio content is encoded, to a specific speaker configuration in the audio decoder, and performs one or more audio processing operations, algorithms, etc. on the downmixed audio content to generate a downmixed sound output. The audio decoder (100) may have the capability to perform one or more different types of downmix operations. The audio decoder (100) can be configured to determine and perform a specific type of downmix operation (e.g., LtRt downmix, LoRo downmix, etc.) based on one or more factors. These factors may include, but are not limited to, one or more of the following: an input specifying a preference for a particular user-selected type of downmix operation; a user input specifying a preference for a system-selected type of downmix operation; the capabilities of the particular speaker configuration and / or audio decoder (100); the availability of downmix loudness metadata for the particular type of downmix operation; and some encoder-generated preference flags for a certain type of downmix operation. In some embodiments, to determine a particular type of downmix operation when these factors conflict with each other, the audio decoder (100) may implement one or more priority rules and may prompt for further user input.

[0109] The one or more audio processing operations, algorithms, etc. described above include, but are not limited to, a loudness attenuation operation that applies a certain amount of attenuation (e.g., the difference between the reference loudness level and "dialnorm") to match / adjust the output dialogue loudness level of the downmixed sound output to a reference loudness level, at least in part, based on the dialogue loudness level (e.g., "dialnorm") and a reference loudness level (e.g., -31LKFS). In some embodiments, the audio decoder (100) further performs some or all of the gain adjustments resulting from dialogue normalization, dynamic range compression, fixed attenuation to protect against downmix overload, etc. In some embodiments, these gain adjustments may correspond to those performed by the audio encoder (150) in determining the measured loudness levels described above—for example, they may be the same or substantially the same. One or more of these gain adjustments may be specific to the type of downmix operation performed by the audio encoder (100) (e.g., LtRt downmix, LoRo downmix, etc.).

[0110] Additionally, optionally, or alternatively, in some embodiments, the audio decoder (100) is configured to extract downmix loudness metadata (e.g., a “dmixloudoffste” field, a “dmixloudoffst” field, etc.) from the encoded audio signal (102) as part of the metadata delivered with the audio content. In some embodiments, the downmix loudness parameters in the extracted downmix loudness metadata include one or more different sets of downmix loudness parameters for different types of downmix operations indicated by one or more flags carried in the downmix loudness metadata to be present. In response to determining that the one or more sets of downmix loudness parameters are present, the audio decoder (100) may determine / select a set of downmix loudness parameters from the one or more different sets of downmix loudness parameters that corresponds to a particular type of downmix operation performed by the audio decoder (100) (e.g., an LtRt downmix, a LoRo downmix, etc.). The audio decoder (100) determines whether downmix loudness offset data exists for that particular set of downmix loudness parameters (for example, based on whether the "dmixloudoffste" field has a value of 1 or 0).In response to determining that downmix loudness offset data exists in that particular set of downmix loudness parameters (for example, based on whether the “dmixloudoffst” field has a value of 1), the audio decoder (100) performs a loudness adjustment operation based on the downmix loudness offset in the downmix loudness metadata (for example, the “dmixloudoffst” field in the same set of downmix loudness parameters) extracted from the encoded audio signal (102) along with the audio content. The downmix loudness metadata may include the “dmixloudoffst” field, which has one or more instances for one or more different types of downmixes after applying one or more different sets of gain adjustments. Based on the actual downmix operation and the actual set of gain adjustments performed by the audio decoder (100) (for example, no gain adjustment, gain adjustment excluding those related to DRC, gain adjustment including those related to DRC, gain adjustment excluding those related to dialogue normalization, gain adjustment including those related to dialogue normalization, gain adjustment including those related to both dialogue normalization and DRC), the audio decoder (100) can determine / select a particular instance of one or more of the aforementioned instances of the "dmixloudoffst" field in the downmix loudness metadata.

[0111] In response to determining that the “dmixloudoffst” field indicates a positive LKFS value (for example, a value of 16, 17, ..., 30 for the “dmixloudoffst” field) (which means that the loudness level of the downmix audio output (measured by an upstream audio encoder such as 150) after applying some or all of the gain adjustments resulting from dialogue normalization, dynamic range compression, fixed attenuation to protect against downmix overload, etc., is louder than the expected loudness level of the downmix audio output by the magnitude of the indicated LKFS value), the audio decoder (100) performs further gain adjustments with a negative gain value of the magnitude of the indicated LKFS value. This reduces or adjusts the loudness level of the downmix audio output to the expected loudness (for example, a reference loudness level).

[0112] In response to determining that the “dmixloudoffst” field indicates a negative LKFS value (for example, a value of 1, 2, ..., 15 for the “dmixloudoffst” field) (which means that the loudness level of the downmix audio output (measured by an upstream audio encoder such as 150) after applying some or all of the gain adjustments resulting from dialogue normalization, dynamic range compression, fixed attenuation to protect against downmix overload, etc., is quieter or less loud than the expected loudness level of the downmix audio output by the magnitude of the indicated LKFS value), the audio decoder (100) performs further gain adjustments with a negative gain value of the magnitude of the indicated LKFS value. This raises or adjusts the loudness level of the downmix audio output to the expected loudness (for example, a reference loudness level).

[0113] The LKFS value in the "dmixloudoffst" field (for example, values ​​of 1, 2, ..., 15 for the "dmixloudoffst" field) indicates that the measured loudness level of the downmix audio output is quieter or less loud than the expected downmix loudness by the magnitude of the indicated LKFS value. In some embodiments, if a negative LKFS value is indicated / signaled to the receiving decoder in the encoded audio signal (102), the receiving decoder (e.g., 150) may take measures to ensure that any positive gain applied to the two-channel downmix audio output to compensate for the negative LKFS value does not introduce loudness level clipping in the two-channel downmix audio output.

[0114] The further gain adjustment based on the loudness offset indicated in the downmix loudness metadata may be specific to the type of downmix operation performed by the audio decoder (100), but is not limited to this.

[0115] <11. Additional actions related to gain> Under the techniques described in this paper, other processes such as dynamic equalization and noise compensation can also be performed in the loudness domain (e.g., the perceptual domain) rather than the physical domain (or the digital domain representing the physical domain).

[0116] In some embodiments, the gains from some or all of the various processes, such as DRC, equalization noise compensation, clipping prevention, and gain smoothing, may be combined with and / or applied in parallel to the same gain in the loudness domain. In some other embodiments, the gains from some or all of the various processes, such as DRC, equalization noise compensation, clipping prevention, and gain smoothing, may be separate gains in the loudness domain and / or applied at least partially in series. In some other embodiments, the gains from some or all of the various processes, such as DRC, equalization noise compensation, clipping prevention, and gain smoothing, may be applied sequentially.

[0117] <12. Specific and broadband (or wideband) loudness levels> One or more audio processing elements, units, or components, such as transmission filters, auditory filter banks, composite filter banks, or short-time Fourier transforms, may be used by an encoder or decoder to perform the audio processing operations described in this paper.

[0118] In some embodiments, one or more transfer filters that model the filtering of the outer and middle ear of the human auditory system may be used to filter the incoming audio signal (e.g., encoded audio signal 102, audio content from a content provider, etc.). In some embodiments, an auditory filter bank may be used to model the frequency selectivity and frequency spread of the human auditory system. Excitation signal levels from some or all of these filters may be determined / calculated with frequency-dependent time constants that become shorter at higher frequencies to model the integration of energy in the human auditory system, and then smoothed. A nonlinear function (e.g., relationship, curve, etc.) between the excitation signal and a specific loudness level may then be used to obtain a frequency-dependent profile of the specific loudness level. Broadband loudness levels can be obtained by integrating the specific loudness across various frequency bands.

[0119] A straightforward summation / integral of specific loudness levels (e.g., using equal weighting across all frequency bands) may work well for broadband signals. However, such an approach may underestimate the loudness level (e.g., perceptual loudness) for narrowband signals. In some embodiments, specific loudness levels at different frequencies or across different frequency bands are given different weights.

[0120] In some embodiments, the auditory filter bank and / or transfer filters described above may be replaced by one or more short-time Fourier transforms (STFTs). The responses of the transfer filters and auditory filter bank may be applied in the fast Fourier transform (FFT) domain. In some embodiments, one or more inverse transfer filters are used when, for example, one or more (e.g., forward) transfer filters are used in or before a conversion from the physical domain (or a digital domain representing the physical domain) to the loudness domain. In some embodiments, when, for example, an STFT is used instead of the auditory filter bank and / or transfer filters, the inverse transfer filters are not used. In some embodiments, the auditory filter bank is omitted; instead, one or more quadrature mirror filters (QMFs) are used. In these embodiments, the basilar membrane diffusion effect in the model of the human auditory system may be omitted without significantly affecting the audio processing operations described herein.

[0121] Under the techniques described in this paper, different numbers of frequency bands (e.g., 20 frequency bands, 40 frequency bands, etc.) may be used in various embodiments. Additionally, optionally, or alternatively, different bandwidths may be used in various embodiments.

[0122] <13. Individual gains for individual subsets of a channel> In some embodiments, when a particular speaker configuration is a multi-channel configuration, the overall loudness level may be obtained by first adding up the excitation signals of all channels before converting from the physical domain (or the digital domain representing the physical domain) to the loudness domain. However, applying the same gain to all channels in a particular speaker configuration may not preserve the spatial balance between the different channels of that particular speaker configuration (such as the balance in terms of relative loudness levels between different channels).

[0123] In some embodiments, the respective loudness levels and the corresponding gains obtained based on those loudness levels may be determined or calculated on a channel-by-channel basis to preserve spatial balance so that the relative perceived loudness levels between different channels can be optimally or correctly maintained. In some embodiments, the corresponding gains obtained based on each loudness level are not equal to the same overall gain. For example, each of the partial or complete corresponding gains may be equal to the overall gain with a small correction (e.g., channel-specific) applied.

[0124] In some embodiments, to preserve spatial balance, each loudness level and the corresponding gain obtained based on each loudness level may be determined or calculated for each subset of channels. In some embodiments, the corresponding gains obtained based on each loudness level are not equal to the same overall gain. For example, each of the partial or complete corresponding gains may be equal to the overall gain with a small correction (e.g., channel-specific). In some embodiments, a subset of channels may include two or more channels that constitute a true subset of all channels in that particular speaker configuration (e.g., a subset of channels containing left front, right front, and low-frequency effects (LFE), a subset of channels containing left surround, and right surround). The audio content for a subset of channels may constitute a submix of the overall mix carried in the encoded audio signal (102). The channels within the submix may be given the same gain.

[0125] In some embodiments, in order to generate actual loudness (e.g., actually perceived loudness) from a particular speaker configuration, the signal level in the digital domain is converted to the corresponding physical level in the physical domain represented by the digital domain (e.g., dB). SPL One or more calibration parameters may be used to relate to spatial pressure levels (such as those caused by the environment). These one or more calibration parameters may be given values ​​specific to the physical sound equipment in a particular speaker configuration.

[0126] <14. Auditory Scene Analysis> In some embodiments, the encoders described herein may implement computer-based auditory scene analysis (ASA) to detect auditory event boundaries in audio content (e.g., encoded in an encoded audio signal 102), generate one or more ASA parameters, and format the one or more ASA parameters as part of the encoded audio signal (e.g., 102) to be delivered to a downstream device (e.g., a decoder 100). The ASA parameters may include, but are not limited to, the location of an auditory event boundary, a value for an auditory event certainty index (described further below), and the like.

[0127] In some implementations, the (e.g., temporal) location of an auditory event boundary may be indicated in metadata encoded within the encoded audio signal (102). Additionally, optionally, or alternatively, the (e.g., temporal) location of an auditory event boundary may be indicated (e.g., using flags, data fields, etc.) in the audio data block and / or frame where the location of the auditory event boundary is detected.

[0128] In the context of this paper, an auditory event boundary refers to the point where a preceding auditory event ends and / or a subsequent auditory event begins. Each auditory event occurs between two consecutive auditory event boundaries.

[0129] In some embodiments, the encoder (150) is configured to detect auditory event boundaries by the difference in a specific loudness spectrum between two consecutive audio data frames (e.g., temporally). Each specific loudness spectrum may include an unsmoothed loudness spectrum calculated from the corresponding audio data frame among those consecutive audio data frames.

[0130] In some embodiments, the specific loudness spectrum N[b,t] is the normalized specific loudness spectrum N, as shown in the following equation. NORM It may be normalized to obtain [b,t].

[0131] N NORM [b,t]=N[b,t] / max b {N[b,t]} (1) Here, b represents bandwidth, t represents time or audio frame index, and max b {N[b,t]} is the maximum specific loudness level across all frequency bands.

[0132] The normalized specific loudness spectra are subtracted from each other, as shown in the following equation, and used to derive the sum of the absolute differences D[t].

[0133] D[t]=Σ b |N NORM [b,t]-N NORM [b,t-1]| (2) The sum of absolute differences is mapped to an auditory event certainty index with a value range of 0 to 1, as follows:

[0134]

number

[0135] In some embodiments, the encoder (150) is such that D[t] is D (for example, at a particular t). min The system is configured to detect auditory event boundaries (for example, at a specific t) when they exceed a certain threshold.

[0136] In some embodiments, the decoder described herein (e.g., 100) extracts ASA parameters from an encoded audio signal (e.g., 102) and uses these ASA parameters to prevent unintended boosting of soft sounds and / or unintended cutting of loud sounds that would cause perceptual distortion of the auditory event.

[0137] The decoder (100) may be configured to reduce or prevent unintended distortion of auditory events by ensuring that the gain is more constant within the auditory event and by confining most gain changes to the vicinity of the auditory event boundary. For example, the decoder (100) may be configured to use a relatively small time constant (e.g., one that is comparable to or shorter than the minimum duration of the auditory events) in response to gain changes at the attack (e.g., loudness level increase) at the auditory event boundary. Thus, gain changes at the attack can be implemented relatively quickly by the decoder (100). On the other hand, the decoder (100) may be configured to use a relatively long time constant relative to the duration of the auditory event in response to gain changes at the release (e.g., loudness level decrease) in the auditory event. Thus, gain changes at the release can be implemented relatively slowly by the decoder (100), thereby preventing auditory or perceptual disturbance of sounds that should feel constant or gradually decay. The rapid response at the attack of an auditory event boundary and the slow response at the release of an auditory event allow for the rapid perception of the arrival of the auditory event while preserving the perceptual quality and / or integrity between auditory events such as piano chords—which include loud and soft sounds linked by specific loudness level relationships and / or specific temporal relationships.

[0138] In some embodiments, auditory events and auditory event boundaries indicated by ASA parameters are used by the decoder (100) to control gain changes in one, two, some, or all channels in a particular speaker configuration in the decoder (100).

[0139] <15. Loudness Level Transitions> Loudness level transitions can occur, for example, between two programs, or between a program and a loud commercial. In some embodiments, the decoder (100) is configured to maintain a histogram of instantaneous loudness levels based on past audio content (for example, received from an encoded audio signal 102 over the past 4 seconds). Over the time interval from before the loudness level transition to after the loudness level transition, two regions with increased probabilities may be recorded in the histogram. One of these regions is centered on the previous loudness level, while the other is centered on the new loudness level.

[0140] The decoder (100) may dynamically determine a smoothed loudness level as the audio content is processed and determine a corresponding bin in the histogram (e.g., a bin for the instantaneous loudness level that contains the same value as the smoothed loudness level) based on the smoothed loudness level. The decoder (100) may further be configured to compare the probability in the corresponding bin with a threshold (e.g., 6%, 7%, 7.5%, etc.), where the total area of ​​the histogram curve (e.g., the sum of all bins) represents a probability of 100%. The decoder may be configured to detect the occurrence of a loudness level transition by determining the probability that the corresponding bin falls below the threshold. In response, the decoder (100) may be configured to select a relatively small time constant in order to adapt to the new loudness level relatively quickly. As a result, the duration of the loud (or soft) beginning within the loudness level transition may be shortened.

[0141] In some embodiments, the decoder (100) uses a silence / noise gate to prevent low instantaneous loudness levels from entering the histogram and becoming high-probability bins in the histogram. Additionally, optionally, or alternatively, the decoder (100) may be configured to use the ASA parameters to detect auditory events that should be included in the histogram. In some embodiments, the decoder (100) uses the time-dependent values ​​of the time-averaged auditory event certainty index.

number

number

number

[0142] In some embodiments, loudness levels that are permitted to be included in the histogram (e.g., instantaneous, for example) (e.g., the value of the corresponding A[t] with - is above the histogram inclusion threshold) are assigned weights such that they are the same as, or proportional to, the time-averaged auditory event certainty index [A[t] with -] at the same time. As a result, loudness levels close to the auditory event boundary have more influence on the histogram than other loudness levels not close to the auditory event boundary (e.g., A[t] with - has a relatively large value).

[0143] <16. Reset> In some embodiments, the encoders described herein (e.g., 150) are configured to detect reset events and include an indicator of such reset events in an encoded audio signal (e.g., 102). In the first example, the encoder (150) detects a reset event in response to determining that a continuous period of relative silence occurs (e.g., 250 milliseconds, configurable by the system and / or user). In the second example, the encoder (150) detects a reset event in response to determining that a large instantaneous drop in excitation levels occurs across all frequency bands. In the third example, the encoder is given input (e.g., user input, system-controlled metadata, etc.) where a content transition (e.g., program start / end, scene change, etc.) occurs that requests a reset.

[0144] In some embodiments, the decoders described herein (e.g., 100) implement a reset mechanism that can be used to instantaneously speed up gain smoothing. This reset mechanism is useful and may be invoked when switching between channels and audiovisual inputs occurs.

[0145] In some embodiments, the decoder (100) may be configured to determine whether a reset event occurs by determining whether a continuous period of relative silence occurs (e.g., 250 milliseconds, which can be configured by the system and / or user), whether a large instantaneous drop in excitation levels occurs across all frequency bands, and so on.

[0146] In some embodiments, the decoder (100) is configured to determine that a reset event has occurred in response to receiving an indicator (such as a reset event) provided in the encoded audio signal (102) by an upstream encoder (such as 150).

[0147] The reset mechanism may be configured to trigger a reset when the decoder (100) determines that a reset event has occurred. In some embodiments, the reset mechanism is configured to use a more aggressive cut behavior of the DRC compression curve to prevent hard starts (such as loud programs / channels / audiovisual sources). Additionally, optionally, or alternatively, the decoder (100) may be configured to implement safeguards to gracefully recover when the decoder (100) detects that a reset has been triggered in error.

[0148] <17. Gain provided by the encoder> In some embodiments, an audio decoder can be configured to compute one or more sets of gains (e.g., DRC gains) for individual parts of the audio content to be encoded in the encoded audio signal (e.g., audio data blocks, audio data frames, etc.). These sets of gains generated by the audio encoder may include: a first set of gains containing a single broadband (or wideband) gain for all channels (e.g., front left, front right, low-pass effect or LFE, center, left surround, right surround, etc.); a second set of gains containing individual broadband (or wideband) gains for individual subsets of channels; a third set of gains containing individual broadband (or wideband) gains for individual subsets of channels and for each of a first number (e.g., two) individual bands (e.g., two bands in each channel); a fourth set of gains containing individual broadband (or wideband) gains for individual subsets of channels and for each of a second number (e.g., four) individual bands (e.g., four bands in each channel); and so on. The channel subsets described herein may include any subset containing the left front, right front, and LFE channels, a subset containing the center channel, a subset containing the left surround and right surround channels, and so on.

[0149] In some embodiments, an audio encoder is configured to transmit one or more portions of audio content (e.g., audio data blocks, audio data frames, etc.) and one or more sets of gains calculated for the one or more portions of the audio content in a time-synchronous manner. An audio decoder receiving the one or more portions of the audio content can select and apply a gainy set from the one or more sets of gains with little or no delay. In some embodiments, the audio encoder can implement a subframing technique in which the one or more sets of gains are carried in one or more subframes (e.g., using differential coding) as shown in Figure 4. In one example, the subframes may be encoded within the audio data blocks or audio data frames in which their gains are calculated. In another example, the subframes may be encoded within audio data blocks or audio data frames preceding the audio data blocks or audio data frames in which their gains are calculated. In another, less limiting example, subframes may be encoded within a series of audio data blocks or audio data frames within a time period from the audio data blocks or audio data frames whose gains are calculated. In some embodiments, Huffman and differential coding may be used to place data into subframes carrying those sets of gains and / or to compress the subframes.

[0150] <18. Exemplary System and Process Flows> Figure 5 shows an exemplary codec system in an exemplary embodiment that is not limited to this example. A content creator, which may be a processing unit within an audio encoder such as the 150, is configured to provide audio content ("Audio") to an encoder unit ("NGC Encoder"). The encoder unit formats the audio content into audio data blocks and / or frames and encodes the audio data blocks and / or frames into an encoded audio signal. The content creator is also configured to establish / generate one or more dialogue loudness levels ("dialnorm") and one or more dynamic range compression curve identifiers ("compression curve IDs") in the audio content, such as one or more programs, commercials, etc. The content creator may determine the dialogue loudness levels from one or more dialogue audio tracks in the audio content. The dynamic range compression curve identifiers may be selected at least in part based on user input, system configuration setting parameters, etc. A content creator may also be a person (such as an artist or audio engineer) who uses tools to generate audio content and dialnorm.

[0151] Based on a dynamic range compression curve identifier, the encoder (150) generates one or more DRC parameter sets, including but not limited to corresponding reference dialog loudness levels ("reference levels") for multiple playback environments supported by the one or more dynamic range compression curves. These DRC parameter sets may be encoded in the metadata of the encoded audio signal, such as in-band with the audio content or out-of-band with the audio content. Operations such as compression and format multiplexing ("MUX") may be performed as part of generating an encoded audio signal that can be delivered to an audio decoder, such as 100. The encoded audio signal may be encoded with a syntax that supports the carrying of audio data elements, DRC parameter sets, reference loudness levels, dynamic range compression curves, functions, lookup tables, Huffman codes used in compression, subframes, etc. In some embodiments, the syntax allows upstream devices (e.g., encoders, decoders, transcoders, etc.) to transmit gain to downstream devices (e.g., decoders, transcoders, etc.). In some embodiments, the syntax used to encode data into an encoded audio signal and / or decode data from an encoded audio signal is configured to support backward compatibility so that devices that rely on gain calculated by an upstream device may optionally continue to do so.

[0152] In some embodiments, the encoder (150) calculates two or more sets of gains for the audio content (e.g., gain smoothing with appropriate reference dialogue loudness levels, DRC gain, etc.). These sets of gains may provide the one or more dynamic range compression curves in metadata encoded in the audio signal encoded with the audio content. The first set of gains may correspond to broadband gain for all channels in a speaker configuration or profile (e.g., default). The second set of gains may correspond to broadband gain for each of the channels in the speaker configuration or profile. The third set of gains may correspond to broadband gain for each of the two bands in each of the channels in the speaker configuration or profile. The fourth set of gains may correspond to broadband gain for each of the four bands in each of the channels in the speaker configuration or profile. In some embodiments, the set of gains calculated for a speaker configuration may be transmitted in the metadata together with a dynamic range compression curve (e.g., parameterized) for that speaker configuration. In some embodiments, a set of gains calculated for a speaker configuration may replace a dynamic range compression curve (e.g., parameterized) for that speaker configuration in the metadata. Additional speaker configurations or profiles may be supported under the techniques described herein.

[0153] The decoder (100) is configured to extract audio data blocks and / or frames and metadata from the encoded audio signal through operations such as decompression, deformatting, and multiplexing ("DEMUX"). The extracted audio data blocks and / or frames may be decoded into audio data elements or samples by a decoder unit ("NGC decoder"). The decoder (100) is further configured to determine a profile for a particular playback environment in which the audio content is rendered and to select a dynamic range compression curve from the metadata extracted from the encoded audio signal. The digital audio processing unit ("DAP") is configured to apply DRC or other operations to the audio data elements or samples for the purpose of generating audio signals that drive audio channels in a particular playback environment. The decoder (100) can calculate and apply DRC gain and the selected dynamic range compression curve based on the audio data blocks or frames. The decoder (100) can also adjust the output dialogue loudness level based on a reference dialogue loudness level associated with a selected dynamic range compression curve and the dialogue loudness level in the metadata extracted from the encoded audio signal. The decoder (100) can then apply a gain limiter specific to the playback scenario relating to the audio content and the particular playback environment. In this way, the decoder (100) can render / play back the audio content as adjusted to the playback scenario.

[0154] Figures 6A to 6D show exemplary process flows. In some embodiments, one or more computing devices or units in a media processing system may perform this process flow.

[0155] Figure 6A shows an exemplary process flow that may be implemented by the audio decoder described in this paper. In block 602 of Figure 6A, a first device (e.g., audio decoder 100 in Figure 1A) receives an audio signal containing audio content and definition data for one or more dynamic range compression curves.

[0156] In block 604, the first device identifies a specific playback environment.

[0157] In block 606, the first device establishes a specific dynamic range compression curve for its particular playback environment based on the definition data for one or more dynamic range compression curves extracted from the audio signal.

[0158] In block 608, the first device performs one or more dynamic range control (DRC) operations on one or more portions of audio content extracted from the audio signal. The one or more DRC operations are based at least in part on one or more DRC gains obtained from a particular dynamic range compression curve.

[0159] In one embodiment, the definition data for one or more dynamic range compression curves includes an attack time, a release time, or a reference loudness level related to at least one of the one or more dynamic range compression curves.

[0160] In one embodiment, the first apparatus is further configured to perform the following steps: calculating one or more loudness levels for one or more portions of audio content; determining one or more DRC gains based on the specific dynamic range compression curve and the one or more loudness levels for one or more portions of audio content.

[0161] In one embodiment, at least one of the loudness levels calculated for one or more portions of the audio content is one or more of the following: a specific loudness level relating to one or more frequency bands, a broadband loudness level spanning a broadband range, a broadband loudness level spanning a wideband range, a broadband loudness level spanning multiple frequency bands, or a broadband loudness level spanning multiple frequency bands.

[0162] In one embodiment, at least one of the loudness levels calculated for one or more portions of the audio content is either an instantaneous loudness level or one or more loudness levels smoothed over one or more time intervals.

[0163] In one embodiment, the one or more operations relate to adjusting the dialogue loudness level, gain smoothing, gain limiting, dynamic equalization, noise compensation, and one or more other functions.

[0164] In one embodiment, the first device is further configured to perform: the steps of: extracting one or more dialogue loudness levels from an encoded audio signal; adjusting the one or more dialogue loudness levels to one or more reference dialogue loudness levels; and so on.

[0165] In one embodiment, the first apparatus is further configured to: extract one or more auditory scene analysis (ASA) parameters from an encoded audio signal; vary one or more time constants used in smoothing the gain applied to the audio content, wherein the gain is related to one or more of the one or more DRC gains; and perform gain smoothing or gain limiting, etc.

[0166] In one embodiment, the first apparatus is configured to further: determine that a reset event occurs in one or more parts of the audio content based on an indicator of a reset event, wherein the indicator of the reset is extracted from the encoded audio signal; and, in response to determining that the reset event occurs in one or more parts of the audio content, perform one or more actions on one or more gain smoothing operations being performed in the one or more parts of the audio content at the time of determining that the reset event occurs in the one or more parts of the audio content; and so on.

[0167] In one embodiment, the first device is further configured to perform: a step of maintaining a histogram of instantaneous loudness levels, the histogram containing instantaneous loudness levels calculated from a certain time interval in the audio content; a step of determining whether a particular loudness level is above a threshold in the high-probability region of the histogram, the particular loudness level being calculated from a portion of the audio content; a step of determining, in response to determining that the particular loudness level is above the threshold in the high-probability region of the histogram, that a loudness transition is occurring and shortening the time constant used in gain smoothing to speed up the loudness transition, etc.

[0168] Figure 6B shows an exemplary process flow that may be implemented by the audio encoder described in this paper. In block 652 of Figure 6B, a second device (such as the audio encoder 150 in Figure 1B) receives audio content in the source audio format.

[0169] In block 654, the second device acquires definition data for one or more dynamic range compression curves.

[0170] In block 656, the second device generates an audio signal comprising the audio content and the definition data for one or more dynamic range compression curves.

[0171] In one embodiment, the second device is further configured to perform the steps of: determining one or more identifiers for the one or more dynamic range compression curves; retrieving the definition data for the one or more dynamic range compression curves from a reference data storage unit based on the one or more identifiers; and so on.

[0172] In one embodiment, the second device is further configured to perform: the steps of: calculating one or more dialogue loudness levels for one or more portions of the audio content; encoding the one or more dialogue loudness levels together with the one or more portions of the audio content in the encoded audio signal; and so on.

[0173] In one embodiment, the second device is configured to perform: the steps of: running an auditory event scene (ASA) on the one or more parts of the audio content; generating one or more ASA parameters based on the results of the ASA on the one or more parts of the audio content; encoding the one or more ASA parameters together with the one or more parts of the audio content into the encoded audio signal; and so on.

[0174] In one embodiment, the second device is further configured to perform: the steps of: determining that one or more reset events occur in one or more portions of the audio content; encoding one or more indicators of the one or more reset events together with the one or more portions of the audio content in the encoded audio signal; and so on.

[0175] In one embodiment, the second device is further configured to encode one or more portions of the audio content into one or more audio data frames or audio data blocks.

[0176] In one embodiment, the first DRC gain of the one or more DRC gains applies to each channel in a first proper subset of the set of all channels in a particular speaker configuration corresponding to that particular playback environment, while the second different DRC gain of the one or more DRC gains applies to each channel in a second proper subset of the set of all channels in the particular speaker configuration corresponding to that particular playback environment.

[0177] In one embodiment, the first DRC gain of the one or more DRC gains corresponds to a first frequency band, and the second different DRC gain of the one or more DRC gains corresponds to a second different frequency band.

[0178] In one embodiment, the one or more portions of the audio content include one or more audio data frames or audio data blocks. In one embodiment, the encoded audio signal is part of an audiovisual signal.

[0179] In one embodiment, the one or more DRC gains are defined in the loudness domain.

[0180] Figure 6C shows an exemplary process flow that may be implemented by the audio encoder described in this paper. In block 662 of Figure 6C, a third device (e.g., audio encoder 150 in Figure 1B) generates encoded audio content for a reference speaker configuration.

[0181] In block 664, the second device downmixes the audio content encoded for the reference speaker configuration into downmixed audio content encoded for a specific speaker configuration.

[0182] In block 666, the second device performs one or more gain adjustments on individual portions of the downmixed audio content encoded for the particular speaker configuration.

[0183] In block 668, the second device performs loudness measurements on individual parts of the downmixed audio content.

[0184] In block 670, the second device generates an audio signal that includes encoded audio content for a reference speaker configuration and downmix loudness metadata generated at least in part based on loudness measurements for individual parts of the downmix audio content.

[0185] In some embodiments, loudness measurements for individual portions of the downmixed audio content are performed after the one or more gain adjustments described above have been applied to the individual portions of the downmixed audio content. In some embodiments, the loudness measurement is based on the Loudness-K-weighted-Full-Scale (LKFS) standard. In some other embodiments, the loudness measurement is based on a loudness standard other than the Loudness-K-weighted-Full-Scale (LKFS) standard.

[0186] In one embodiment, audio content encoded for a reference speaker configuration is downmixed to downmixed audio content encoded for a specific speaker configuration based on one or more types of downmix operations: loudness measurements for individual portions of the downmixed audio content include loudness measurements for individual portions of the downmixed audio content relating to each of the one or more types of downmix operations.

[0187] In one embodiment, the third device is configured to prevent downmixed audio content for the particular speaker configuration from being encoded in the audio signal.

[0188] Figure 6D shows an exemplary process flow that may be implemented by the audio decoder described in this paper. In block 682 of Figure 6D, a fourth device (e.g., audio decoder 100 in Figure 1A) operating with a specific speaker configuration receives an audio signal containing encoded audio content and downmixed loudness metadata for the reference speaker configuration.

[0189] In block 684, the first device downmixes the audio content encoded for a reference speaker configuration into downmixed audio content encoded for a specific speaker configuration.

[0190] In block 686, the first device performs one or more gain adjustments on individual portions of downmix audio content encoded for a specific speaker configuration. The one or more gain adjustments correspond to one or more gain adjustments performed by the upstream audio encoder before the upstream audio encoder generates the downmix loudness metadata, rather than being based on the downmix loudness metadata.

[0191] In block 688, the first device performs one or more additional gain adjustments on individual portions of downmix audio content encoded for a specific speaker configuration. These one or more additional gain adjustments are based on downmix loudness metadata.

[0192] In one embodiment, the first apparatus is further configured to: determine a particular type of downmix operation based on one or more selection factors; apply the particular type of downmix operation in downmixing audio content encoded for the reference speaker configuration to downmixed audio content encoded for the particular speaker configuration; determine a particular set of downmix loudness parameters from one or more sets of downmix loudness parameters in the downmix loudness metadata to which the particular type of downmix operation corresponds; and perform the one or more additional gain adjustments on individual portions of the downmixed audio content encoded for the particular speaker configuration, at least in part based on the particular set of downmix loudness parameters.

[0193] In one embodiment, the one or more gain adjustments do not produce the expected loudness in the downmix audio output for at least one of the one or more individual parts of the downmix audio content, and the one or more additional gain adjustments are performed to produce the expected loudness in the downmix audio output for at least one of the one or more individual parts of the downmix audio content.

[0194] In one embodiment, the reference speaker configuration is a surround speaker configuration, and the specific speaker configuration is a two-channel configuration.

[0195] In one embodiment, the audio content encoded for the reference speaker configuration is downmixed to downmixed audio content encoded for the particular speaker configuration based on one or more downmix formulas.

[0196] In one embodiment, the downmix loudness metadata includes one or more sets of downmix loudness parameters, each set of the one or more sets of downmix loudness parameters corresponds to a particular type of downmix operation among one or more types of downmix operations to which the one or more sets of downmix loudness parameters correspond.

[0197] In one embodiment, the one or more types of downmix operation include at least one of LtRt downmix operation or LoRo downmix operation.

[0198] In one embodiment, the one or more gain adjustments include at least one gain adjustment related to one or more of the following: dialogue normalization, dynamic range compression, or fixed attenuation for protection against downmix overload.

[0199] In one embodiment, the one or more gain adjustments use different gain adjustment parameter values ​​for at least two of the individual parts of the audio content.

[0200] In one embodiment, the downmix loudness metadata represents a portion of the overall audio metadata encoded in the audio signal. In another embodiment, the downmix loudness metadata has a data field indicating the downmix loudness offset. In yet another embodiment, the encoded audio signal is a portion of the audiovisual signal.

[0201] In one embodiment, a device having a processor and configured to perform any of the methods described herein.

[0202] In one embodiment, a non-temporary computer-readable storage medium containing software instructions that, when executed by one or more processors, cause the execution of any of the methods described herein. Although several distinct embodiments are discussed herein, it should be noted that any combination of the embodiments and / or partial embodiments discussed herein may be combined to form further embodiments.

[0203] <19. Implementation Mechanisms - Hardware Overview> In one embodiment, the technique described herein is implemented by one or more special-purpose computing devices. The special-purpose computing device may be fixedly configured to perform the technique, or it may include one or more digital electronic devices persistently programmed to perform the technique, such as one or more application-specific integrated circuits (ASICs) or field-programmable gate arrays (FPGAs), or it may include one or more general-purpose hardware processors programmed to perform the technique according to program instructions in firmware, memory, or other storage or combination. Such a special-purpose computing device may achieve the technique by combining custom fixed-configuration logic, ASICs, or FPGAs with custom programming. The special-purpose computing device may be a desktop computer system, a portable computer system, a handheld device, a networking device, or any other device incorporating fixed configuration and / or programmed logic to implement the technique.

[0204] For example, Figure 7 is a block diagram showing a computer system 700 in which one embodiment of the present invention may be implemented. The computer system 700 includes a bus 702 or other communication mechanism for communicating information and a hardware processor 704 coupled to the bus 702 for processing information. The hardware processor 704 may be, for example, a general-purpose microprocessor.

[0205] The computer system 700 also includes main memory 706 coupled to bus 702 for storing information and instructions to be executed by processor 704, such as random access memory (RAM) or other dynamic storage devices. Main memory 706 may also be used to store temporary variables or other intermediate information during the execution of instructions to be executed by processor 704. When such instructions are stored in a non-temporary storage medium accessible to processor 704, the computer system 700 becomes a device-specific special-purpose machine to perform the processing specified in the instructions.

[0206] The computer system 700 further includes read-only memory (ROM) 708 or other static storage device coupled to bus 702 for storing static information and instructions for processor 704. A storage device 710, such as a magnetic disk or optical disk, is provided and coupled to bus 702 for storing information and instructions.

[0207] The computer system 700 may be coupled via a bus 702 to a display 712, such as a liquid crystal display (LCD), for displaying information to the computer user. An input device 714, including alphanumeric and other keys, is coupled to the bus 702 to transmit information and command selections to the processor 704. Another type of user input device is a cursor control 716, such as a mouse, trackball, or cursor directional keys, for transmitting directional information and command selections to the processor 704 and controlling cursor movement on the display 712. This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), so that the device can specify a position in a plane.

[0208] The computer system 700 may use device-specific fixed-configuration logic, one or more ASICs or FPGAs, firmware and / or program logic that, in combination with the computer system, make or program the computer system 700 a special-purpose machine. According to one embodiment, the technique described herein is executed by the computer system 700 in response to the processor 704 executing one or more sequences of one or more instructions contained in main memory 706. Such instructions may be read into main memory 706 from another storage medium, such as a storage device 710. By executing the sequence of instructions contained in main memory 706, the processor 704 performs the process steps described herein. In alternative embodiments, fixed-configuration circuitry may be used instead of or in combination with software instructions.

[0209] As used in this paper, the term “storage medium” refers to any non-temporary medium that stores data and / or instructions that cause a machine to operate in a particular manner. Such storage mediums may include non-volatile and / or volatile media. Non-volatile media include, for example, optical or magnetic disks such as storage device 710. Volatile media include dynamic memory such as main memory 706. Common forms of storage media include, for example, floppy disks, flexible disks, hard disks, semiconductor drives, magnetic tapes or any other magnetic data storage media, CD-ROMs, any other optical data storage media, any physical media with a pattern of holes, RAM, PROMs and EPROMs, flash EPROMs, NVRAMs, and any other memory chips or cartridges.

[0210] A storage medium is distinct from a transmission medium, but may be used in conjunction with a transmission medium. A transmission medium participates in transferring information between storage mediums. For example, a transmission medium includes coaxial cables, copper wires, and optical fibers, and includes wires forming a bus 702. A transmission medium may also take the form of acoustic or optical waves, such as those generated during radio and infrared data communications.

[0211] Various forms of media may be involved in transporting one or more sequences of one or more instructions to the processor 704 for execution. For example, the instructions may initially be carried on a magnetic disk or semiconductor drive of a remote computer. The remote computer can load the instructions into its dynamic memory and send them over a telephone line using a modem. A modem local to computer system 700 can receive data over the telephone line and convert that data into an infrared signal using an infrared transmitter. An infrared detector can receive the data carried in the infrared signal, and appropriate circuitry can place that data onto bus 702. Bus 702 transports the data to main memory 706, from which the processor 704 retrieves and executes the instructions. Instructions received by main memory 706 may optionally be stored on storage device 710 before or after execution by processor 704.

[0212] The computer system 700 also includes a communication interface 718 coupled to bus 702. The communication interface 718 provides bidirectional data communication coupling to a network link 720 connected to a local network 722. For example, the communication interface 718 may be an Integrated Services Digital Network (ISDN) card, a cable modem, a satellite modem, or a modem for providing data communication connectivity to a corresponding type of telephone line. Another example is that the communication interface 718 may be a local area network (LAN) card for providing data communication connectivity to a compatible LAN. A wireless link may also be implemented. In any such implementation, the communication interface 718 transmits and receives electrical, electromagnetic, or optical signals carrying digital data streams representing various types of information.

[0213] Network link 720 typically provides data communication to other data devices through one or more networks. For example, network link 720 may provide connection to a data facility operated by a host computer 724 or an Internet service provider (ISP) 726 through a local network 722. ISP 726 provides data communication services through a global packet data network now commonly referred to as the “Internet” 728. Both the local network 722 and the Internet 728 use electrical, electromagnetic, or optical signals that carry digital data streams. Signals across various networks and signals on network link 720 and through communication interface 718 that carry digital data to and from computer system 700 are exemplary forms of transmission media.

[0214] The computer system 700 can send messages and receive data, including program code, through a network(s), network link 720, and communication interface 718. In the example of the internet, server 730 may send requested code for an application program through the internet 728, ISP 726, local network 722, and communication interface 718.

[0215] The received code may be executed by the processor 704 upon receipt, and / or stored in the memory device 710 or other non-volatile memory for later execution.

[0216] <20. Equivalents, extensions, substitutions, etc.> In this specification, exemplary embodiments of the present invention have been described with reference to numerous specific details that may vary depending on the implementation. Thus, the sole and exclusive indicator of what constitutes the present invention, and what the applicant intends to constitute the present invention, is the specific form in which such claims are patented, including any subsequent amendments to the patent granted for this application. If any definitions of terms included in such claims are explicitly stated in this paper, those definitions govern the meaning of such terms as used in the claims. Therefore, no limitations, elements, attributes, features, advantages, or characteristics not explicitly stated in the claims should in any way limit the scope of such claims. Accordingly, the specification and drawings should be considered illustrative and not restrictive.

[0217] Several aspects are described below. [Aspect 1] The steps include generating encoded audio content for the reference speaker configuration; The steps include: downmixing the audio content encoded for the aforementioned reference speaker configuration into downmixed audio content encoded for a specific speaker configuration; The steps include: performing one or more gain adjustments on individual portions of the downmix audio content encoded for the aforementioned specific speaker configuration; The steps include: performing loudness measurements on the individual parts of the downmixed audio content; The process includes generating an audio signal that includes the audio content encoded for the reference speaker configuration and downmix loudness metadata generated at least in part based on the loudness measurements for the individual parts of the downmix audio content. A method performed by one or more computing devices. [Aspect 2] The method according to embodiment 1, wherein the reference speaker configuration is a surround speaker configuration, and the specific speaker configuration is a two-channel configuration. [Aspect 3] The method according to embodiment 1 or 2, wherein the audio content encoded for the reference speaker configuration is downmixed to the downmixed audio content encoded for the particular speaker configuration based on one or more downmix formulas. [Aspect 4] The method according to any one of embodiments 1 to 3, wherein the downmix loudness metadata includes one or more sets of downmix loudness parameters, each set of the one or more sets of downmix loudness parameters corresponds to a particular type of downmix operation among one or more types of downmix operations to which the one or more sets of downmix loudness parameters correspond. [Aspect 5] The method according to embodiment 4, wherein the one or more types of downmix operations include at least one of LtRt downmix operations or LoRo downmix operations. [Aspect 6] Downmixing the audio content encoded for the aforementioned reference speaker configuration to downmixed audio content encoded for a specific speaker configuration is based on one or more types of downmix operations. The method according to any one of embodiments 1 to 5, wherein performing loudness measurements on the individual portions of the downmixed audio content includes performing loudness measurements on the individual portions of the downmixed audio content relating to each of the one or more types of downmix operations. [Aspect 7] The method according to any one of embodiments 1 to 6, wherein the one or more gain adjustments include at least one gain adjustment related to one or more of dialogue normalization, dynamic range compression, or fixed attenuation for protection against downmix overload. [Aspect 8] The method according to any one of embodiments 1 to 7, wherein the loudness measurement for the individual portions of the downmixed audio content is performed after the one or more gain adjustments have been applied to the individual portions of the downmixed audio content. [Aspect 9] The method according to any one of embodiments 1 to 8, wherein the one or more gain adjustments use different gain adjustment parameter values ​​for at least two of the individual parts of the audio content. [Aspect 10] The method according to aspect 9, wherein at least two of the individual parts of the audio content represent audio content parts at at least two different times. [Aspect 11] The method according to any one of embodiments 1 to 10, further comprising ensuring that the downmixed audio content for the particular speaker configuration is not encoded in the audio signal. [Aspect 12] The loudness measurement is performed using the method described in any one of embodiments 1 to 11, based on the Loudness-K weighted full-scale (LKFS) standard. [Aspect 13] The loudness measurement is based on a loudness standard other than the Loudness-K weighted full-scale (LKFS) standard, as described in any one of embodiments 1 to 11. [Aspect 14] The method according to any one of embodiments 1 to 13, wherein the downmix loudness metadata represents a portion of the overall audio metadata encoded in the audio signal. [Aspect 15] The method according to any one of embodiments 1 to 14, wherein the downmix loudness metadata has a data field indicating a downmix loudness offset. [Aspect 16] The method according to any one of embodiments 1 to 15, wherein the encoded audio signal is part of an audiovisual signal. [Aspect 17] The process involves an audio decoder operating with a specific speaker configuration receiving an audio signal containing encoded audio content and downmixed loudness metadata for a reference speaker configuration; The steps include: downmixing the audio content encoded for the reference speaker configuration to downmixed audio content encoded for the specific speaker configuration; A step of performing one or more gain adjustments on individual portions of the downmix audio content encoded for the specific speaker configuration, wherein the one or more gain adjustments are not based on downmix loudness metadata; A step of performing one or more additional gain adjustments on the individual portions of the downmix audio content encoded for the particular speaker configuration, wherein the one or more additional gain adjustments include a step of based on the downmix loudness metadata, A method performed by one or more computing devices. [Aspect 18] The method according to embodiment 17, wherein the reference speaker configuration is a surround speaker configuration, and the specific speaker configuration is a two-channel configuration. [Aspect 19] A step of determining a specific type of downmix operation based on one or more selection factors; The steps include: applying the particular type of downmix operation in downmixing the audio content encoded for the reference speaker configuration to the downmixed audio content encoded for the particular speaker configuration; The steps include determining a specific set of downmix loudness parameters from one or more sets of downmix loudness parameters in the downmix loudness metadata that corresponds to a particular type of downmix operation; The further step includes, at least in part, performing the one or more additional gain adjustments on the individual portions of the downmix audio content encoded for the particular speaker configuration, based on the particular set of downmix loudness parameters. The method described in aspect 17 or 18. [Aspect 20] The method according to any one of embodiments 17 to 19, wherein the audio content encoded for the reference speaker configuration is downmixed to the downmixed audio content encoded for the particular speaker configuration based on one or more downmix formulas, the one or more downmix formulas being the same downmix formulas used by the audio encoder that generates the audio signal. [Aspect 21] The method according to any one of embodiments 17 to 20, wherein one or more gain adjustments include at least one gain adjustment related to one or more of dialogue normalization, dynamic range compression, or fixed attenuation for protection against downmix overload. [Aspect 22] The method according to any one of embodiments 17 to 21, wherein the one or more gain adjustments represent a specific set of gain adjustments determined from one or more of the following: a set of null gains, a set of gain adjustments including gain adjustments related to dynamic range compression (DRC), a set of gain adjustments excluding gain adjustments related to DRC, a set of gain adjustments including gain adjustments related to dialogue normalization, a set of gain adjustments excluding gain adjustments related to dialogue normalization, or a set of gain adjustments including gain adjustments related to both DRC and dialogue normalization. [Aspect 23] The method according to any one of embodiments 17 to 22, wherein the one or more gain adjustments use different gain adjustment parameter values ​​for at least two of the individual parts of the audio content. [Aspect 24] The method according to any one of embodiments 17 to 23, wherein the downmix loudness metadata represents a portion of the overall audio metadata encoded in the audio signal. [Aspect 25] The method according to embodiment 17, wherein the downmix loudness metadata has a data field indicating a downmix loudness offset, and the one or more additional gain adjustments are made at least in part based on the downmix loudness offset. [Aspect 26] The method according to any one of embodiments 17 to 25, wherein the one or more gain adjustments do not produce the expected loudness in the downmixed sound output for at least one of the one or more individual parts of the downmixed audio content, and the one or more additional gain adjustments are performed to produce the expected loudness in the downmixed sound output for at least one of the one or more individual parts of the downmixed audio content. [Aspect 27] The method according to any one of embodiments 17 to 26, wherein the encoded audio signal is part of an audiovisual signal. [Aspect 28] A media processing system configured to perform any of the methods described in any one of the embodiments 1 to 27. [Aspect 29] A device having a processor, configured to perform any of the methods described in any one of embodiments 1 to 27. [Aspect 30] A non-temporary computer-readable storage medium containing software instructions that, when executed by one or more processors, cause the execution of the method described in any one of embodiments 1 to 27.

Claims

1. A method for adjusting the gain of an audio signal based on loudness metadata generated by an encoder, which includes: A step of receiving an audio signal for a reference channel configuration by an audio decoder operating in a playback channel configuration different from the reference channel configuration, wherein the audio signal includes audio sample data for each channel of the reference channel configuration and loudness metadata generated by the encoder, and the loudness metadata generated by the encoder includes loudness metadata for a plurality of channel configurations, including the playback channel configuration and the reference channel configuration; The steps include: selecting loudness metadata for the playback channel configuration from the loudness metadata for the multiple channel configurations; The steps include: downmixing the aforementioned audio sample data to obtain downmixed audio sample data for the audio channels of the playback channel configuration; The steps include: determining the loudness adjustment gain from the loudness metadata for the aforementioned playback channel configuration; The process includes the step of applying the loudness adjustment gain as part of the overall gain applied to the downmixed audio sample data to generate output audio sample data for each channel of the playback channel configuration, The loudness adjustment gain depends on the loudness level indicated by the loudness metadata for the playback channel configuration and the reference loudness level. The playback channel configuration has a different number of audio channels than the reference channel configuration. method.

2. The method according to claim 1, wherein the overall gain includes one or more of the following: gain related to downmixing, gain related to restoring the original dynamic range from which the input dynamic range of the audio sample data was converted, gain related to gain limiting, gain related to gain smoothing, or gain related to dialogue loudness normalization.

3. The method according to claim 1, wherein the overall gain includes gains applied partially / individually, applied in series, applied in parallel, or applied partially in series and partially in parallel.

4. The method according to claim 1, wherein the overall gain includes gain applied to a subset of channels in the regenerated channel configuration.

5. The method according to claim 1, wherein the playback channel configuration is a 2-channel configuration.

6. The method according to claim 1, wherein the loudness adjustment gain depends on the difference between the loudness level indicated by the loudness metadata for the playback channel configuration and the reference loudness level.

7. The method according to claim 1, wherein the audio decoder sets the reference loudness level.

8. A non-temporary computer-readable storage medium storing software instructions, wherein the software instructions are executed by one or more processors: A step of receiving an audio signal for a reference channel configuration by an audio decoder operating in a playback channel configuration different from the reference channel configuration, wherein the audio signal includes audio sample data and loudness metadata generated by an encoder for each channel of the reference channel configuration, and the loudness metadata generated by the encoder includes loudness metadata for a plurality of channel configurations, including the playback channel configuration and the reference channel configuration; The steps include: selecting loudness metadata for the playback channel configuration from the loudness metadata for the multiple channel configurations; The steps include: downmixing the aforementioned audio sample data to obtain downmixed audio sample data for the audio channels of the playback channel configuration; The steps include: determining the loudness adjustment gain from the loudness metadata for the aforementioned playback channel configuration; The process involves applying the loudness adjustment gain as part of the overall gain applied to the downmixed audio sample data to generate output audio sample data for each channel of the playback channel configuration. The loudness adjustment gain depends on the loudness level indicated by the loudness metadata for the playback channel configuration and the reference loudness level. The playback channel configuration has a different number of audio channels than the reference channel configuration. Medium.

9. An audio signal processing device for adjusting the gain of an audio signal based on loudness metadata generated by an encoder, wherein the audio signal processing device includes: A step of receiving an audio signal for a reference channel configuration by an audio decoder operating in a playback channel configuration different from the reference channel configuration, wherein the audio signal includes audio sample data for each channel of the reference channel configuration and loudness metadata generated by the encoder, and the loudness metadata generated by the encoder includes loudness metadata for a plurality of channel configurations, including the playback channel configuration and the reference channel configuration; The steps include: selecting loudness metadata for the playback channel configuration from the loudness metadata for the multiple channel configurations; The steps include: downmixing the aforementioned audio sample data to obtain downmixed audio sample data for the audio channels of the playback channel configuration; The steps include: determining the loudness adjustment gain from the loudness metadata for the aforementioned playback channel configuration; The steps include applying the loudness adjustment gain as part of the overall gain applied to the downmixed audio sample data to generate output audio sample data for each channel of the playback channel configuration, The loudness adjustment gain depends on the loudness level indicated by the loudness metadata for the playback channel configuration and the reference loudness level. The playback channel configuration has a different number of audio channels than the reference channel configuration. Audio signal processing unit.

Citation Information

Patent Citations

  • Sound signal conversion device and sound signal conversion program

    JP2012034295A

  • Audio metadata transcoding

    JP2012504260A

  • System and method for non-destructively normalizing the loudness of audio signals in portable devices

    JP2013519918A