# US 2016/0260438 A1 · Multi-mode audio codec and celp coding adapted therefore

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

- Number: US 2016/0260438 A1
- Document ID: US20160260438A1
- Status: Published application
- Kind: A1
- Application number: 15/153,501
- Filed: 2016-05-12
- Published: 2016-09-08
- Earliest claimed: 2009-10-20
- Assignees: Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
- Applicants: Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
- Inventors: Ralf GEIGER; Guillaume FUCHS; Markus MULTRUS; Bernhard GRILL
- Web page: https://patentgrep.com/patent/US20160260438A1

## CPC

- G10L 19/12: the excitation function being a code excitation, e.g. in code excited linear prediction [CELP] vocoders
- G10L 19/03: Spectral prediction for preventing pre-echo; Temporary noise shaping [TNS], e.g. in MPEG2 or MPEG4
- G10L 19/04: using predictive techniques
- G10L 19/083: the excitation function being an excitation gain (G10L25/90 takes precedence)
- G10L 19/20: using sound class specific coding, hybrid encoders or object based coding
- G10L 2019/0002: {Codebook adaptations}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

In an embodiment, bitstream elements of sub-frames are encoded differentially to a global gain value so that a change of the global gain value results in an adjustment of an output level of the decoded representation of the audio content. Concurrently, the differential coding saves bits. Even further, the differential coding enables the lowering of the burden of globally adjusting the gain of an encoded bitstream. In another embodiment, a global gain control across CELP coded frames and transform coded frames is achieved by co-controlling the gain of the codebook excitation of the CELP codec, along with a level of the transform or inverse transform of the transform coded frames. In another embodiment, the gain value determination in CELP coding is performed in the weighted domain of the excitation signal.

## Claims

### Claim 1

A CELP encoder comprising
a linear prediction analyzer configured to generate linear prediction filter coefficients for a current frame of an audio content and encode the linear prediction filter coefficients into a bitstream;
an excitation generator configured to determine a current excitation of the current frame as a combination of an adaptive codebook excitation and an innovation codebook excitation, which, when filtered by a linear prediction synthesis filter based on the linear prediction filter coefficients, recovers the current frame, by
constructing the adaptive codebook excitation defined by a past excitation and an adaptive codebook index for the current frame and encoding the adaptive codebook index into the bitstream; and
constructing the innovation codebook excitation defined by an innovation codebook index for the current frame and encoding the innovation codebook index into the bitstream; and
an energy determiner configured to determine an energy of a version of the audio content of the current frame filtered a weighting filter, to acquire a global gain value and encoding the global gain value into the bitstream, the weighting filter construed from the linear prediction filter coefficients.

### Claim 2 (depends on 1)

The CELP encoder according to claim 1, wherein the linear prediction analyzer is configured to determine the linear prediction filter coefficients by linear prediction analysis applied onto a windowed and, according to a predetermined pre-emphasis filter, pre-emphasized version of the audio content.

### Claim 3 (depends on 1)

The CELP encoder according to claim 1, wherein the excitation generator is configured to, in constructing the adaptive codebook excitation and the innovation codebook excitation, minimize a perceptual weighted distortion measure relative to the audio content.

### Claim 4 (depends on 1)

The CELP encoder according to claim 1, wherein the excitation generator is configured to, in constructing the adaptive codebook excitation and the innovation codebook excitation, minimize a perceptual weighted distortion measure relative to the audio content using a perceptual weighting filter
W(z)=A(z/γ),
wherein γ is a perceptual weighting factor and A(z) is 1/H(z), wherein H(z) is the linear prediction synthesis filter, and wherein the energy determiner is configured to use the perceptual weighting filter as a weighting filter.

### Claim 5 (depends on 1)

The CELP encoder according to claim 1, wherein the excitation generator is configured to perform an excitation update to acquire a past excitation of a next frame, by
estimating an innovation codebook excitation energy estimate by filtering an innovation codebook vector defined by first information contained within the innovation codebook index with
W
^

(
z
)
A
^

(
z
)

H
emph

(
z
)
,
and determining an energy of the result filtering result, wherein 1/Â(z) is the linear prediction synthesis filter and depends on the linear prediction filter coefficients, Ŵ(z)=Â(z/γ) and γ is a perceptual weighting factor, Hemph=1−αz−1 and α is a high-frequency-emphasis factor;
forming a ratio between the innovation codebook excitation energy estimate and an energy determined by the global gain value in order to achieve a prediction gain;
multiplying the prediction gain with an innovation codebook correction factor contained within the innovation codebook index as a second information thereof, to yield an actual innovation codebook gain; and
actually generating the past excitation for the next frame by combining the adaptive codebook excitation and the innovation codebook excitation with weighting the latter with the actual innovation codebook gain.

### Claim 6

A CELP encoding method comprising
performing linear prediction analysis to generate linear prediction filter coefficients for a current frame of an audio content and encode the linear prediction filter coefficients into a bitstream;
determining a current excitation of the current frame as a combination of an adaptive codebook excitation and an innovation codebook excitation, which, when filtered by a linear prediction synthesis filter based on the linear prediction filter coefficients, recovers the current frame, by
constructing the adaptive codebook excitation defined by a past excitation and an adaptive codebook index for the current frame and encoding the adaptive codebook index into the bitstream; and
constructing the innovation codebook excitation defined by an innovation codebook index for the current frame and encoding the innovation codebook index into the bitstream; and
determining an energy of a version of the audio content of the current frame filtered a weighting filter, to acquire a global gain value and encoding the global gain value into the bitstream, the weighting filter construed from the linear prediction filter coefficients.

### Claim 7 (depends on 6)

A computer program comprising a program code for performing, when running on a computer, a method according to claim 6.
