# US 2016/0254004 A1 · Audio coding method and apparatus

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

- Number: US 2016/0254004 A1
- Document ID: US20160254004A1
- Status: Published application
- Kind: A1
- Application number: 14/440,700
- Filed: 2015-03-13
- Published: 2016-09-01
- Earliest claimed: 2014-03-14
- Assignees: Telefonaktiebolaget L M Ericsson (publ)
- Applicants: Telefonaktiebolaget L M Ericsson (publ)
- Inventors: Erik Norvell; Volodya GRANCHAROV
- Web page: https://patentgrep.com/patent/US20160254004A1

## CPC

- G10L 19/028: Noise substitution, i.e. substituting non-tonal spectral components by noisy source (comfort noise for discontinuous speech transmission G10L19/012)
- G10L 19/0204: {using subband decomposition}
- G10L 19/038: Vector quantisation, e.g. TwinVQ audio
- G10L 25/51: for comparison or discrimination
- G10L 19/002: Dynamic bit allocation (for perceptual audio coders G10L19/032)
- G10L 19/02: using spectral analysis, e.g. transform vocoders or subband vocoders
- G10L 19/18: Vocoders using multiple modes
- G10L 25/06: the extracted parameters being correlation coefficients
- G10L 25/18: the extracted parameters being spectral information of each sub-band
- G10L 25/21: the extracted parameters being power information
- H04L 2012/5632: {Bandwidth allocation}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An audio signal is coded, where a frequency spectrum of the audio signal is divided into first and second regions. Spectral peaks in the first region are encoded by a first coding method. For a segment of the audio signal, a relation between an energy of a band in the second region and an energy estimate of the first region is determined. A relation between the energy of the band in the second region and energy of neighboring bands in the second region is determined. A determination is made whether available bits are sufficient for encoding at least one non-peak segment of the first region and the band in the second region. Further, when the relations fulfill a respective criterion and the bits are sufficient, the band in the second region and the at least one segment of the first region are encoded using a second coding method.

## Claims

### Claim 1

A method for encoding an audio signal, where a frequency spectrum of the audio signal is divided into at least a first and a second region, where at least the second region comprises a number of bands, and where spectral peaks in the first region are encoded by a first coding method, the method comprising:
for a segment of the audio signal:
determining a relation between an energy of a band in the second region and an energy estimate of the first region;
determining a relation between the energy of the band in the second region and an energy of neighboring bands in the second region;
determining whether an available number of bits is sufficient for encoding at least one non-peak segment of the first region and the band in the second region;
and when the relations fulfill a respective predetermined criterion and the number of bits is sufficient:
encoding the band in the second region and the at least one segment of the first region using a second coding method and otherwise:
subjecting the band in the second region to BandWidth Extension BWE or noise fill.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the first coding method is a peak based coding method.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the energy estimate of the first region is based on the energies of the spectral peaks in the first region.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the determination if the number of bits is sufficient applies a priority to encode the perceptually most relevant region.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the determination if the number of bits is sufficient considers the minimum number of bits required to encode at least one coefficient of the band in the second region.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the first region is a lower part of the frequency spectrum than the second region.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the second coding method comprises vector quantization or pyramid vector quantization.

### Claim 8

An encoder for encoding an audio signal, where a frequency spectrum of the audio signal is divided into at least a first and a second region, where at least the second region comprises a number of bands, the encoder being configured to encode spectral peaks in the first region using a first coding method, and the encoder being further configured to:
for a segment of the audio signal:
determine a relation between an energy of a band in the second region and an energy estimate of the first region;
determine a relation between the energy of the band in the second region and an energy of neighboring bands in the second region;
determine whether an available number of bits is sufficient for encoding at least one non-peak segment of the first region and the band in the second region; and to
when the relations fulfill a respective predetermined criterion and the number of bits is sufficient:
encode the band in the second region and the at least one segment of the first region using a second coding method; and
otherwise:
subject the band in the second region to BandWidth Extension BWE or noise fill.

### Claim 9 (depends on 8)

The encoder according to claim 8, wherein the first coding method is a peak based coding method.

### Claim 10 (depends on 8)

The encoder according to claim 8, wherein the energy estimate of the first region is based on the energies of the spectral peaks in the first region.

### Claim 11 (depends on 8)

The encoder according to claim 8, wherein the determination if the number of bits is sufficient applies a priority to encode the perceptually most relevant region.

### Claim 12 (depends on 8)

The encoder according to claim 8, wherein the determination if the number of bits is sufficient considers the minimum number of bits required to encode at least one coefficient of the band in the second region.

### Claim 13 (depends on 8)

The encoder according to claim 8, wherein the first region is a lower part of the frequency spectrum than the second region.

### Claim 14 (depends on 8)

The encoder according to claim 8, wherein the second coding method comprises vector quantization or pyramid vector quantization.

### Claim 15 (depends on 8)

Communication device comprising an encoder according to claim 8.

### Claim 16 (depends on 1)

Computer program product comprising a non-transitory computer readable storage medium storing instructions which, when executed on at least one processor, cause the at least one processor to carry out the method according to claim 1.

### Claim 17

(canceled)
