# US 7,613,606 B2 · Speech codecs

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

- Number: US 7,613,606 B2
- Document ID: US7613606B2
- Status: Granted
- Kind: B2
- Application number: 10/676,269
- Filed: 2003-10-02
- Published: 2005-04-07
- Granted: 2009-11-03
- Earliest claimed: 2003-10-02
- Assignees: Nokia Corporation
- Inventors: Jari Makinen
- Web page: https://patentgrep.com/patent/US7613606B2

## CPC

- G10L 19/22: Mode decision, i.e. based on audio signal content versus external parameters
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

A method of encoding a frame in a communication network using multiple codec modes, wherein the frame encoded by each codec mode is represented by multiple parameters. The method includes at least one stage, wherein the stage includes the steps of selecting one group from multiple groups of codec modes, wherein each group includes at least one codec mode and is arranged to have a common parameter characteristic. The method further includes encoding the frame with one of the codec modes from the selected group in dependence on the common parameter characteristic.

## Claims

### Claim 1

A method, comprising:
encoding via at least one stage of a transceiver, said encoding being performed to encode a frame using at least one of a plurality of codec modes, wherein an encoded frame formed by at least one of said codec modes comprises a plurality of parameters,
wherein said at least one stage comprises:
first, calculating values for said plurality of parameters of the encoded frame;
second, selecting one group of codec modes from a plurality of groups of codec modes using said calculated values of said parameters, wherein each of said groups of codec modes comprises at least one speech processing algorithm and comprises a common parameter characteristic, wherein the selection is performed according to at least one of
prior to calculating a linear prediction coding operation,
after calculating a linear prediction coding operation and prior to calculating a long term prediction operation, and
after calculating a linear prediction coding operation and a long term prediction operation; and
third, encoding the frame with at least one of the speech processing algorithms from the selected group of codec modes in dependence on said common parameter characteristic.

### Claim 2 (depends on 1)

A method as claimed in claim 1, comprising a plurality of said stages.

### Claim 3 (depends on 1)

A method as claimed in claim 1, wherein the parameters comprise one or more of: a voice activity detection flag, a long term prediction filtering flag parameter, an immitance spectral pair parameter, a pitch delay parameter, an algebraic codebook parameter, a gain parameter and a high-band energy parameter.

### Claim 4 (depends on 3)

A method as claimed in claim 3, wherein the parameter characteristic is a bit size of the parameter.

### Claim 5 (depends on 1)

A method as claimed in claim 1, wherein the frame is a speech frame.

### Claim 6 (depends on 1)

A method as claimed in claim 1, wherein the selected group consists of one or more of said codec modes.

### Claim 7 (depends on 1)

A method as claimed in claim 1, wherein the selecting said one codec mode group is in dependence on determined parameters determined from the encoding of the frame.

### Claim 8 (depends on 7)

A method as claimed in claim 7, wherein the determined parameters are compared to threshold values.

### Claim 9 (depends on 8)

A method as claimed in claim 8, wherein the one of the codec modes selected to encode the frame is dependent on the comparison of the threshold values.

### Claim 10 (depends on 8)

A method as claimed in claim 8, wherein the threshold values are dependent on a target bit rate.

### Claim 11 (depends on 8)

A method as claimed in claim 8, wherein the threshold values are stored in a tuning table, the tuning table comprising threshold values for each of the parameters corresponding to each of the plurality of codec modes.

### Claim 12 (depends on 1)

A method as claimed in claim 1, wherein each of the plurality of codec modes defines a bit rate for encoding the frame.

### Claim 13 (depends on 1)

A method as claimed in claim 1, wherein said at least one stage being arranged to have a group with a codec mode with a lowest bit rate and another group with remaining codec modes.

### Claim 14 (depends on 13)

A method as claimed in claim 13 comprising at least two stages, wherein said first stage being arranged to have two groups and said second stage being arranged to have at least three groups, wherein at least two of the groups of the second stage are contained in one of the groups of the first stage.

### Claim 15 (depends on 14)

A method as claimed in claim 14 comprising three stages, wherein in said third stage, said frame is encoded by one of said plurality of codec modes.

### Claim 16 (depends on 1)

A method as claimed in claim 1, wherein the plurality of codec modes are codec modes of an adaptive multi rate codec.

### Claim 17

An apparatus, comprising:
an encoder configured to calculate values of a plurality of parameters of a frame, wherein the frame is configured to be encoded using at least one of a plurality of codec modes, wherein an encoded frame formed by at least one of said codec modes comprises said plurality of parameters; and
selecting circuitry configured to select, after said calculation of the frame parameters, one group of codec modes from a plurality of groups of codec modes based on said calculated values of said parameters, wherein each of the groups of codec modes comprises at least one speech processing algorithm and comprises a common parameter characteristic, wherein the selection is performed according to at least one of
prior to calculating a linear prediction coding operation,
after calculating a linear prediction coding operation and prior to calculating a long term prediction operation, and
after calculating a linear prediction coding operation and a long term prediction operation,
and wherein the encoder is further configured to encode, after said selecting of the group of codec modes, the frame with at least one of the speech processing algorithms from the selected group of codec modes in dependence on said common parameter characteristic.

### Claim 18 (depends on 17)

An apparatus as claimed in claim 17, wherein the parameters comprise one or more of: a voice activity detection flag, a long term prediction an filtering flag parameter, an immitance spectral pair parameter, a pitch delay parameter, an algebraic codebook parameter, a gain parameter and a high-band energy parameter.

### Claim 19 (depends on 18)

An apparatus as claimed in claim 18, wherein the parameter characteristic is a bit size of the parameter.

### Claim 20 (depends on 17)

An apparatus as claimed in claim 17, wherein the frame is a speech frame.

### Claim 21

An apparatus, comprising:
processing means for calculating values for a plurality of parameters of a frame, wherein the frame is configured to be encoded using at least one of a plurality of codec modes, wherein an encoded frame formed by at least one of said codec modes comprises said plurality of parameters, which comprise one or more of a voice activity detection flag, a long term prediction filtering flag parameter, an immitance spectral pair parameter, a pitch delay parameter, an algebraic codebook parameter, a gain parameter and a high-band energy parameter;
selecting means for selecting from a plurality of groups of codec modes one group of codec modes based on said calculated values of said parameters, wherein each of said groups of codec modes comprises at least one speech processing algorithm and comprises a common parameter characteristic, wherein the selecting is performed according to at least one of
prior to calculating a linear prediction coding operation,
after calculating a linear prediction coding operation and prior to calculating a long term prediction operation, and
after calculating a linear prediction coding operation and a long term prediction operation; and
encoding means for receiving information identifying said selected group of codec modes and encoding the frame with at least one of the speech processing algorithms from the selected group of codec modes in dependence on said common parameter characteristic.
