# US 2021/0343298 A1 · Signal Processing Method and Device

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

- Number: US 2021/0343298 A1
- Document ID: US20210343298A1
- Status: Published application
- Kind: A1
- Application number: 17/376,813
- Filed: 2021-07-15
- Published: 2021-11-04
- Earliest claimed: 2014-04-29
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Bin Wang; Lei Miao; Zexin Liu
- Web page: https://patentgrep.com/patent/US20210343298A1

## CPC

- G10L 19/0204: {using subband decomposition}
- 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: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

A signal processing method and device includes obtaining spectral coefficients of a current frame of an audio signal, in which N sub-bands of the current frame comprises at least one of the spectral coefficients. A total energy of M successive sub-bands of the N sub-bands, a total energy of K successive sub-bands of the N sub-bands, and an energy of a first sub-band are obtained to determine whether to modify original envelope values of the M sub-bands. When the original envelope values of the M sub-bands are modified, encoding bits are allocated to each of the N sub-bands according to the modified envelope values of the M sub-bands.

## Claims

### Claim 1

An audio signal processing method implemented by an audio signal encoder, the audio signal processing method comprising:
obtaining a multi-channel audio signal;
obtaining a single-channel signal from the multi-channel audio signal;
transforming the single-channel signal to a frequency domain audio signal, wherein a current frame of the frequency domain audio signal comprises a plurality of spectral coefficients, wherein each of N sub-bands of the current frame comprises at least one of the spectral coefficients, and wherein N is a positive integer greater than 1;
obtaining a first total energy of M successive sub-bands of the N sub-bands;
obtaining a second total energy of K successive sub-bands of the N sub-bands, wherein the M successive sub-bands and the K successive sub-bands are separate, wherein M and K are positive integers, and wherein N=M+K;
modifying original envelope values of the M successive sub-bands individually to obtain modified envelope values of the M successive sub-bands when the first total energy is greater than the second total energy multiplied by a first factor, when the first total energy is less than the second total energy multiplied by a second factor, and when a first energy of a first sub-band of the N sub-bands multiplied by a third factor and further multiplied by M is greater than the first total energy, wherein the first factor is less than the second factor, wherein the modified envelope values factors for allocating encoding bits to the N sub-bands, and wherein at least one sub-band of the N sub-bands has at least one encoding bit allocated;
quantizing spectral coefficients of each sub-band that has the at least one encoding bit allocated using the at least one encoding bit; and
writing the spectral coefficients into a bitstream in response to quantizing the spectral coefficients.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first factor is ⅙.

### Claim 3 (depends on 2)

The method of claim 2, wherein the third factor is 0.575, and wherein an encoded bandwidth of the frequency domain audio signal is between 0 to 4 kilohertz (kHz).

### Claim 4 (depends on 2)

The method of claim 2, wherein the third factor is 0.5, and wherein an encoded bandwidth of the frequency domain audio signal between 0 to 8 kilohertz (kHz).

### Claim 5 (depends on 1)

The method of claim 1, wherein the second factor is ⅔.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining a modification factor for each of the M successive sub-bands; and
further or modifying the original envelope values using the modification factor to obtain the modified envelope values.

### Claim 7 (depends on 6)

The method of claim 6, wherein the modification factor is based on the first total energy and the first energy.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first energy is based on a bandwidth of the first sub-band and a quantized envelope value of the first sub-band.

### Claim 9

An audio signal encoder, comprising:
a memory configured to store instructions; and
a processor coupled to the memory and configured to execute instructions, which cause the processor to be configured to:
obtain a multi-channel audio signal;
obtain a single-channel signal from the multi-channel audio signal;
transform the single-channel signal to a frequency domain audio signal, wherein a current frame of the frequency domain audio signal comprises a plurality of spectral coefficients, wherein each of N sub-bands of the current frame comprises at least one of the spectral coefficients, and wherein N is a positive integer greater than 1;
obtain a first total energy of M successive sub-bands of the N sub-bands;
obtain a second total energy of K successive sub-bands of the N sub-bands, wherein the M successive sub-bands and the K successive sub-bands are separate and distinct, wherein M and K are positive integers, and wherein N=M+K;
modify original envelope values of the M successive sub-bands individually to obtain modified envelope values of the M successive sub-bands when the first total energy is greater than the second total energy multiplied by a first factor, when the first total energy is less than the second total energy multiplied by a second factor, and when a first energy of a first sub-band of the N sub-bands multiplied by a third factor and further multiplied by M is greater than the first total energy, wherein the first factor is less than the second factor, wherein the modified envelope values are factors for allocating encoding bits to the N sub-bands, and wherein at least one sub-band of the N sub-bands has at least one encoding bit allocated;
quantize spectral coefficients of each sub-band that has the at least one encoding bit allocated using the at least one encoding bit; and
write the spectral coefficients into a bitstream when the spectral coefficients of are quantized.

### Claim 10 (depends on 9)

The audio signal encoder of claim 9, wherein the first factor is ⅙.

### Claim 11 (depends on 9)

The audio signal encoder of claim 9, wherein the second factor is ⅔.

### Claim 12 (depends on 9)

The audio signal encoder of claim 9, wherein the third factor is 0.575, and wherein an encoded bandwidth of the frequency domain audio signal is between 0 to 4 Kilohertz (KHz).

### Claim 13 (depends on 9)

The audio signal encoder of claim 9, wherein the third factor is 0.5, and wherein an encoded bandwidth of the frequency domain audio signal is between 0 to 8 Kilohertz (KHz).

### Claim 14 (depends on 9)

The audio signal encoder of claim 9, wherein the instructions further cause processor to be configured to:
determine a modification factor for each of the M successive sub-bands; and
further modify the original envelope values using the modification factor to obtain the modified envelope values.

### Claim 15 (depends on 14)

The audio signal encoder of claim 14, wherein the modification factor is based on the first total energy and the first energy.

### Claim 16 (depends on 9)

The audio signal encoder of claim 9, wherein the first energy is based on a bandwidth of the first sub-band and a quantized envelope value of the first sub-band.

### Claim 17

A computer program product comprising instructions that are stored on a computer-relatable medium and that, when executed by a professor, cause an audio signal encoder to:
obtain a multi-channel audio signal;
obtain a single-channel signal from the multi-channel audio signal;
transform a single-channel signal to a frequency domain audio signal, wherein a current frame of the frequency domain audio signal comprises a plurality of spectral coefficients, wherein each of N sub-bands of the current frame comprises at least one of the spectral coefficients, and wherein N is a positive integer greater than 1;
obtain a first total energy of M successive sub-bands of the N sub-bands;
obtain a second total energy of K successive sub-bands of the N sub-bands, wherein the M successive sub-bands and the K successive sub-bands are separate and distinct, wherein M and K are positive integers, and wherein N=M+K;
modify original envelope values of the M successive sub-bands individually to obtain modified envelope values of the M successive sub-bands when the first total energy is greater than the second total energy multiplied by a first factor, when the first total energy is less than the second total energy multiplied by a second factor, and when a first energy of a first sub-band of the N sub-bands multiplied by a third factor and further multiplied by M is greater than the first total energy, wherein the first factor is less than the second factor, wherein the modified envelope values are factors for allocating encoding bits to the N sub-bands, and wherein at least one sub-band of the N sub-bands has at least one encoding bit allocated;
quantize spectral coefficients of each sub-band that has the at least one encoding bit allocated using the at least one encoding bit; and
write the spectral coefficients into a bitstream for sending when the spectral coefficients are quantized.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the first factor is ⅙, wherein the second factor is ⅔, and wherein the third factor is 0.575 when an encoded bandwidth of the audio signal is between 0 to 4 Kilohertz (KHz).

### Claim 19 (depends on 17)

The computer program product of claim 17, wherein the first factor is ⅙, wherein the second factor is ⅔, and wherein the third factor is 0.5 when an encoded bandwidth of the audio signal is between 0 to 8 Kilohertz (KHz).

### Claim 20 (depends on 17)

The computer program product of claim 17, wherein the instructions further cause the audio signal encoder to:
determine a modification factor for each of the M successive sub-bands based on the first total energy and the first energy; and
modify the original envelope values using the modification factor to obtain the modified envelope values.
