IP Library › Granted Patent US 11,074,919
Granted Patent B2
US 11,074,919 · App. 16/687,176 · Granted Jul 27, 2021

Encoding method, decoding method, encoder, decoder, program, and recording medium

Inventors: Takehiro Moriya (Kanagawa, JP); Noboru Harada (Kanagawa, JP); Yutaka Kamamoto (Kanagawa, JP); Yusuke Hiwasaki (Tokyo, JP); Masahiro Fukui (Tokyo, JP)
Assignee: Nippon Telegraph and Telephone Corporation
G10L19/005G10L19/008G10L19/032G10L19/167G10L19/24G10L21/038G10L19/0017G10L19/0212G10L19/035G10L19/038
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,074,919
App. No.
16/687,176
Granted
Jul 27, 2021
Kind
B2
Abstract

In encoding, a frequency-domain sample sequence derived from an acoustic signal is divided by a weighted envelope and is then divided by a gain, the result obtained is quantized, and each sample is variable-length encoded. The error between the sample before quantization and the sample after quantization is quantized with information saved in this variable-length encoding. This quantization is performed under a rule that specifies, according to the number of saved bits, samples whose errors are to be quantized. In decoding, variable-length codes in an input sequence of codes are decoded to obtain a frequency-domain sample sequence; an error signal is further decoded under a rule that depends on the number of bits of the variable-length codes; and from the obtained sample sequence, the original sample sequence is obtained according to supplementary information.

Claims (20)

1. A decoding method for decoding an input code formed of a predetermined number of bits, the decoding method comprising:

a decoding step of decoding a variable-length code included in the input code to generate a sequence of integers;

an error decoding step of decoding an error code included in the input code, the error code being formed of a number of surplus bits obtained by subtracting a number of bits of the variable-length code from the predetermined number of bits, to generate a sequence of error values;

a gain decoding step of decoding a gain information included in the input code, to generate a gain;

an adding step of adding each sample value in the sequence of integers to each of the error values and multiplying by the gain to generate a frequency-domain sample sequence used to obtain a speech or acoustic signal,

wherein, an error code corresponding to error samples which are among error samples constituting the sequence of error values and whose corresponding integers are not 0 are decoded with priority to obtain the error values in the error decoding step, and

each of the error values is a value obtained by adding a positive or negative sign determined by one-bit information in the error code, to an absolute value of a reconstructed value in the error decoding step.

2. The decoding method according to claim 1 , wherein, when there is another piece of one-bit information corresponding to each of the samples constituting the sequence of integers, the each of the error values is a value obtained by adding the value obtained by adding the positive or negative sign, to a value obtained by reflecting the positive or negative sign determined by the another piece of one-bit information to half of the absolute value of the reconstructed value in the error decoding step.

3. The decoding method according to claim 1 or 2 , wherein a first absolute value of a first reconstructed value obtained when a first integer is not 0 is larger than a second absolute value of a second reconstructed value obtained when a second integer is 0.

4. A decoder configured to decode an input code formed of a predetermined number of bits, the decoder comprising:

processing circuitry configured to

perform a decoding step of decoding a variable-length code included in the input code to generate a sequence of integers;

perform an error decoding step of decoding an error code included in the input code, the error code being formed of a number of surplus bits obtained by subtracting a number of bits of the variable-length code from the predetermined number of bits, to generate a sequence of error values;

perform a gain decoding step of decoding a gain information included in the input code, to generate a gain;

perform an adding step of adding each sample value in the sequence of integers to each of the error values and multiplying by the gain to generate a frequency-domain sample sequence used to obtain a speech or acoustic signal,

wherein, an error code corresponding to error samples which are among error samples constituting the sequence of error values and whose corresponding integers are not 0 are decoded with priority to obtain the error values in the error decoding step, and

each of the error values is a value obtained by adding a positive or negative sign determined by one-bit information in the error code, to an absolute value of a reconstructed value in the error decoding step.

5. The decoder according to claim 4 , wherein, when there is another piece of one-bit information corresponding to each of the samples constituting the sequence of integers, the each of the error values is a value obtained by adding the value obtained by adding the positive or negative sign, to a value obtained by reflecting the positive or negative sign determined by the another piece of one-bit information to half of the absolute value of the reconstructed value in the error decoding step.

6. The decoder according to claim 4 or 5 , wherein a first absolute value of a first reconstructed value obtained when a first integer is not 0 is larger than a second absolute value of a second reconstructed value obtained when a second integer is 0.

7. A non-transitory computer-readable recording medium having stored thereon a program for causing a computer to execute the steps of the method according to claim 1 or 2 .

Priority Claims (1)
JP 2011-083740 · Apr 5, 2011 · national
Continuity (2)
Continuation 14007844
Related Publication 20200090665A1 · Mar 19, 2020