# US 2009/0157395 A1 · Adaptive codebook gain control for speech coding

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

- Number: US 2009/0157395 A1
- Document ID: US20090157395A1
- Status: Published application
- Kind: A1
- Application number: 12/321,934
- Filed: 2009-01-26
- Published: 2009-06-18
- Earliest claimed: 1998-09-18
- Assignees: Minspeed Technologies, Inc.; Conexant Systems, Inc.
- Inventors: Huan-Yu Su; Yang Gao
- Web page: https://patentgrep.com/patent/US20090157395A1

## CPC

- G10L 19/12: the excitation function being a code excitation, e.g. in code excited linear prediction [CELP] vocoders
- G10L 19/0204: {using subband decomposition}
- G10L 19/09: Long term prediction, i.e. removing periodical redundancies, e.g. by using adaptive codebook or pitch predictor
- G10L 19/18: Vocoders using multiple modes
- G10L 19/20: using sound class specific coding, hybrid encoders or object based coding
- G10L 25/90: Pitch determination of speech signals
- G10L 2019/0002: {Codebook adaptations}
- G10L 2019/0016: {Codebook for LPC parameters}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

In accordance with one aspect of the invention, a selector supports the selection of a first encoding scheme or the second encoding scheme based upon the detection or absence of the triggering characteristic in the interval of the input speech signal. The first encoding scheme has a pitch pre-processing procedure for processing the input speech signal to form a revised speech signal biased toward an ideal voiced and stationary characteristic. The pre-processing procedure allows the encoder to fully capture the benefits of a bandwidth-efficient, long-term predictive procedure for a greater amount of speech components of an input speech signal than would otherwise be possible. In accordance with another aspect of the invention, the second encoding scheme entails a long-term prediction mode for encoding the pitch on a sub-frame by sub-frame basis. The long-term prediction mode is tailored to where the generally periodic component of the speech is generally not stationary or less than completely periodic and requires greater frequency of updates from the adaptive codebook to achieve a desired perceptual quality of the reproduced speech under a long-term predictive procedure.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method of encoding an input speech signal, the method comprising:
applying a high-pass filter to the input speech signal to generate a high-pass filtered speech signal;
applying a perceptual weighting filter to the high-pass filtered speech signal to generate a first target signal;
identifying an adaptive codebook vector from an adaptive codebook using the first target signal;
filtering the adaptive codebook vector to generate a filtered adaptive codebook vector;
calculating an adaptive codebook gain for the adaptive codebook vector;
selectively reducing the adaptive codebook gain based on a correlation between the first target signal and the filtered adaptive codebook vector to generate a reduced adaptive codebook gain;
generating a second target signal based on the first target signal, the filtered adaptive codebook vector and the reduced adaptive codebook gain; and
converting the input speech signal into an encoded speech based on the second target signal.

### Claim 22 (depends on 21)

The method of claim 21, wherein the selectively reducing the adaptive codebook gain is further based on an encoding bit rate used for the converting of the input speech signal to the encoded speech.

### Claim 23

A speech encoding device for encoding an input speech signal, the device comprising:
an adaptive codebook; and
a processing circuitry configured to:
apply a high-pass filter to the input speech signal to generate a high-pass filtered speech signal;
apply a perceptual weighting filter to the high-pass filtered speech signal to generate a first target signal;
identify an adaptive codebook vector from the adaptive codebook using the first target signal;
filter the adaptive codebook vector to generate a filtered adaptive codebook vector;
calculate an adaptive codebook gain for the adaptive codebook vector;
selectively reduce the adaptive codebook gain based on a correlation between the first target signal and the filtered adaptive codebook vector to generate a reduced adaptive codebook gain;
generate a second target signal based on the first target signal, the filtered adaptive codebook vector and the reduced adaptive codebook gain; and
convert the input speech signal into an encoded speech based on the second target signal.

### Claim 24 (depends on 23)

The speech encoding device of claim 23, wherein the processing circuitry is further configured to selectively reduce the adaptive codebook gain based on an encoding bit rate used to convert the input speech signal to the encoded speech.

### Claim 25

A method of encoding an input speech signal, the method comprising:
applying a high-pass filter to the input speech signal to generate a high-pass filtered speech signal;
applying a perceptual weighting filter to the high-pass filtered speech signal to generate a first target signal;
identifying an adaptive codebook vector from an adaptive codebook using the first target signal;
calculating an adaptive codebook gain for the adaptive codebook vector;
calculating a gain factor based on a long term prediction gain;
selectively reducing the adaptive codebook gain using the gain factor to generate a reduced adaptive codebook gain;
filtering the adaptive codebook vector to generate a filtered adaptive codebook vector;
applying the reduced adaptive codebook gain to the filtered adaptive codebook vector to generate an adaptive codebook contribution;
generating a second target signal as a difference of the first target signal and the adaptive codebook contribution; and
converting the input speech signal into an encoded speech based on the second target signal.

### Claim 26 (depends on 25)

The method of claim 25, wherein the selectively reducing the adaptive codebook gain is further based on an encoding bit rate used for the converting of the input speech signal to the encoded speech.

### Claim 27

A speech encoding device for encoding an input speech signal, the device comprising:
an adaptive codebook; and
a processing circuitry configured to:
apply a high-pass filter to the input speech signal to generate a high-pass filtered speech signal;
apply a perceptual weighting filter to the high-pass filtered speech signal to generate a first target signal;
identify an adaptive codebook vector from the adaptive codebook using the first target signal;
calculate an adaptive codebook gain for the adaptive codebook vector;
calculate a gain factor based on a long term prediction gain;
selectively reduce the adaptive codebook gain using the gain factor to generate a reduced adaptive codebook gain;
filter the adaptive codebook vector to generate a filtered adaptive codebook vector;
apply the reduced adaptive codebook gain to the filtered adaptive codebook vector to generate an adaptive codebook contribution;
generate a second target signal as a difference of the first target signal and the adaptive codebook contribution; and
convert the input speech signal into an encoded speech based on the second target signal.

### Claim 28 (depends on 27)

The speech encoding device of claim 27, wherein the processing circuitry is further configured to selectively reduce the adaptive codebook gain based on an encoding bit rate used to convert the input speech signal to the encoded speech.
