# US 10,958,229 B2 · Metadata for loudness and dynamic range control

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,958,229 B2
- Document ID: US10958229B2
- Status: Granted
- Kind: B2
- Application number: 16/776,297
- Filed: 2020-01-29
- Published: 2020-05-28
- Granted: 2021-03-23
- Earliest claimed: 2013-03-29
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Frank Baumgarte; Eric A. Allamanche; Stefan K. O. Strommer
- Web page: https://patentgrep.com/patent/US10958229B2

## CPC

- H03G 3/20: Automatic control ({H03G3/005 takes precedence;} combined with volume compression or expansion H03G7/00)
- G10L 19/008: Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing
- G10L 21/0316: by changing the amplitude
- H03G 7/007: {of digital or coded signals}
- H03G: CONTROL OF AMPLIFICATION
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

An audio normalization gain value is applied to an audio signal to produce a normalized signal. The normalized signal is processed to compute dynamic range control (DRC) gain values in accordance with a selected one of several pre-defined DRC characteristics. The audio signal is encoded, and the DRC gain values are provided as metadata associated with the encoded audio signal. Several other embodiments are also described and claimed.

## Claims

### Claim 1

A method for decoding audio during playback processing, comprising:
receiving an encoded audio signal;
receiving metadata associated with the encoded audio signal, the metadata including a plurality of dynamic range control (DRC) gain values and an index of a previously selected DRC characteristic in accordance with which the DRC gain values were determined for the encoded audio signal;
decoding the encoded audio signal to produce a decoded audio signal;
selecting a current DRC characteristic, wherein the selected current DRC characteristic is associated with the index;
applying the plurality of DRC gain values from the metadata to the current DRC characteristic to obtain a plurality of input levels; and
applying the plurality of input levels to a target characteristic to produce gain values and applying the gain values to the decoded audio signal to produce an adjusted audio signal during playback processing.

### Claim 2 (depends on 1)

The method of claim 1 wherein the received metadata further includes a plurality of values selected from the group consisting of: program loudness, true peak, loudness range, maximum momentary loudness, and short-term loudness values.

### Claim 3 (depends on 1)

The method of claim 1 wherein applying the plurality of input levels to a target characteristic is based on a playback condition being late night, noisy environment, inside a moving car, walking, running, or speaker dynamic range.

### Claim 4 (depends on 1)

The method of claim 1 wherein applying the plurality of input levels to a target characteristic to produce gain values and applying the gain values to the decoded audio signal comprises
performing DRC compression for downmixing only if playback volume is above a threshold.

### Claim 5 (depends on 4)

The method of claim 4 further comprising
extracting a true peak value of a stereo downmix from the metadata; and
using the true peak value to estimate how much DRC compression is needed.

### Claim 6

A digital audio decoder apparatus, comprising:
a digital media player having a decoder, a processor, the decoder to receive an encoded audio signal and produce a decoded audio signal;
the processor to receive metadata which is associated with the encoded audio signal, wherein the metadata includes a plurality of dynamic range control (DRC) gain values and an index of a previously selected DRC characteristic in accordance with which the DRC gain values were determined for the encoded audio signal, the processor to select a current DRC characteristic that is associated with the index, and apply the plurality of DRC gain values from the metadata to the current DRC characteristic to obtain a plurality of input levels; and
the digital media player to apply the plurality of input levels to a target characteristic to produce gain values and apply the gain values to the decoded audio signal to produce an adjusted audio signal.

### Claim 7 (depends on 6)

The apparatus of claim 6 wherein the digital media player is part of an end user device that further comprises a digital to analog converter (DAC) to convert the adjusted audio signal into analog form during playback of the encoded audio signal.

### Claim 8 (depends on 7)

The apparatus of claim 7 further comprising a downmix processor to perform a downmix conversion upon the adjusted audio signal, prior to conversion into analog form, based on downmix gain values extracted from the metadata.

### Claim 9 (depends on 8)

The apparatus of claim 8 wherein the digital media player is to apply the plurality of input levels to the target characteristic based on a playback condition being one of: playback volume setting; user context including late night, walking, running, or car; DAC dynamic range; or speaker dynamic range.

### Claim 10 (depends on 8)

The apparatus of claim 8 wherein the digital media player is to apply the plurality of input levels to the target characteristic to produce gain values and apply the gain values to the decoded audio signal by
performing DRC compression for downmixing only if playback volume is above a threshold.

### Claim 11 (depends on 10)

The apparatus of claim 10 wherein the processor is to extract from the metadata a true peak value of a stereo downmix of the encoded audio signal, and use the true peak value to estimate how much DRC compression is to be applied to the decoded signal prior to a downmix conversion.

### Claim 12 (depends on 7)

The apparatus of claim 7 wherein the processor is to select the target characteristic from amongst a plurality of stored characteristics based on one or more of the following: playback volume setting; user context including late night, walking, running, or car; DAC dynamic range, speaker dynamic range.

### Claim 13

An audio system comprising:
a processor; and
memory having stored therein instructions that when executed by the processor
receive metadata associated with the encoded audio signal, the metadata including a plurality of dynamic range control (DRC) gain values and an index of a previously selected DRC characteristic in accordance with which the DRC gain values were computed for the encoded audio signal;
decode the encoded audio signal to produce a decoded audio signal,
select a current DRC characteristic, wherein the selected current DRC characteristic is associated with the index in the received metadata,
apply the plurality of DRC gain values from the metadata to the current DRC characteristic to obtain a plurality of input levels, and
apply the plurality of input levels to a target characteristic to produce gain values and apply the gain values to the decoded audio signal to produce an adjusted audio signal.

### Claim 14 (depends on 13)

The audio system of claim 13 wherein the received metadata further includes a plurality of values selected from the group consisting of: program loudness, true peak, loudness range, maximum momentary loudness, and short-term loudness values.

### Claim 15 (depends on 13)

The audio system of claim 13 wherein applying the plurality of input levels to a target characteristic is based on a playback condition being late night, noisy environment, inside a moving car, walking, running, or speaker dynamic range.

### Claim 16 (depends on 13)

The audio system of claim 13 wherein applying the plurality of input levels to the target characteristic to produce gain values and applying the gain values to the decoded audio signal comprises
performing DRC compression for downmixing only if playback volume is above a threshold.

### Claim 17 (depends on 16)

The audio system of claim 16 wherein the memory has further instructions that when executed by the processor
extract a true peak value of a stereo downmix from the metadata, and
use the true peak value to estimate how much DRC compression is needed.
