Encoder, decoder, coding method, decoding method, coding program, decoding program and recording medium
First Claim
1. A decoder comprising:
- circuitry configured to;
execute an indicator decoding processing in which the circuitry decodes an inputted indicator code to obtain an indicator of a degree of periodicity; and
when the indicator is within a predetermined range indicating high periodicity, execute a periodic-combined-envelope generating processing in which the circuitry generates a periodic combined envelope sequence, WM[1], . . . , WM[N], which is a frequency-domain sequence by changing values of samples of a spectral envelope sequence, W[1], . . . , W[N], which is a frequency-domain sequence corresponding to an inputted linear predictive coefficient code based on a frequency-domain period corresponding to an inputted period code, the inputted linear predictive coefficient code being received from an encoder and obtained from an input time-domain audio signal at the encoder, wherein values of samples of the spectral envelope sequence are changed as in the following formula;
WM[n]=W[n]·
(1+δ
·
P[n]),wherein P[n] is a periodic envelope sequence P[1], . . . , P[N], and δ
is a predetermined value or a chosen value from candidates;
wherein when the indicator is within the range indicating high periodicity, execute a variable-length-coding-parameter calculating processing in which the circuitry calculates a variable-length coding parameter dependent on an amplitude value from the periodic combined envelope sequence; and
when the indicator is not within the range indicating high periodicity, execute a second variable-length-coding-parameter calculating processing in which the circuitry calculates a variable-length coding parameter dependent on an amplitude value from the spectral envelope sequence; and
execute a variable-length decoding processing in which the circuitry uses the variable-length coding parameter to perform decoding an inputted variable-length code.
0 Assignments
0 Petitions
Accused Products
Abstract
An encoder and a decoder are provided that are capable of reproducing a frequency-domain envelope sequence that provides high approximation accuracy around peaks caused by the pitch period of an audio signal by using a small amount of code. An encoder of the present invention comprises a periodic-combined-envelope generating part and a variable-length coding part. The periodic-combined-envelope generating part generates a periodic combined envelope sequence which is a frequency-domain sequence based on a spectral envelope sequence which is a frequency-domain sequence corresponding to a linear predictive coefficient code obtained from an input audio signal and on a frequency-domain period. The variable-length coding part encodes a frequency-domain sequence derived from the input audio signal. A decoder of the present invention comprises a periodic-combined-envelope generating part and a variable-length decoding part. The periodic-combined-envelope generating part generates a periodic combined envelope sequence which is a frequency-domain sequence based on a spectral envelope sequence which is a frequency-domain sequence corresponding to a linear predictive coefficient code and on a frequency-domain period. The variable-length decoding part decodes a variable-length code to obtain a frequency-domain sequence.
13 Citations
5 Claims
-
1. A decoder comprising:
-
circuitry configured to; execute an indicator decoding processing in which the circuitry decodes an inputted indicator code to obtain an indicator of a degree of periodicity; and when the indicator is within a predetermined range indicating high periodicity, execute a periodic-combined-envelope generating processing in which the circuitry generates a periodic combined envelope sequence, WM[1], . . . , WM[N], which is a frequency-domain sequence by changing values of samples of a spectral envelope sequence, W[1], . . . , W[N], which is a frequency-domain sequence corresponding to an inputted linear predictive coefficient code based on a frequency-domain period corresponding to an inputted period code, the inputted linear predictive coefficient code being received from an encoder and obtained from an input time-domain audio signal at the encoder, wherein values of samples of the spectral envelope sequence are changed as in the following formula;
WM[n]=W[n]·
(1+δ
·
P[n]),wherein P[n] is a periodic envelope sequence P[1], . . . , P[N], and δ
is a predetermined value or a chosen value from candidates;wherein when the indicator is within the range indicating high periodicity, execute a variable-length-coding-parameter calculating processing in which the circuitry calculates a variable-length coding parameter dependent on an amplitude value from the periodic combined envelope sequence; and
when the indicator is not within the range indicating high periodicity, execute a second variable-length-coding-parameter calculating processing in which the circuitry calculates a variable-length coding parameter dependent on an amplitude value from the spectral envelope sequence; andexecute a variable-length decoding processing in which the circuitry uses the variable-length coding parameter to perform decoding an inputted variable-length code. - View Dependent Claims (5)
-
-
2. A decoder comprising:
-
circuitry configured to; when an inputted indicator of a degree of periodicity is within a predetermined range indicating high periodicity, execute a periodic-combined-envelope generating processing in which the circuitry generates a periodic combined envelope sequence, WM[1], . . . , WM[N], which is a frequency-domain sequence by changing values of samples of a spectral envelope sequence, W[1], . . . , W[N], which is a frequency-domain sequence corresponding to an inputted linear predictive coefficient code based on a frequency-domain period corresponding to an inputted period code, the inputted linear predictive coefficient code being received from an encoder and obtained from an input time-domain audio signal at the encoder, wherein values of samples of the spectral envelope sequence are changed as in the following formula;
WM[n]=W[n]·
(1+δ
·
P[n]),wherein P[n] is a periodic envelope sequence P[1], . . . , P[N], and δ
is a predetermined value or a chosen value from candidates; andwhen the indicator is within the range indicating high periodicity, execute a variable-length decoding processing in which the circuitry decodes an inputted variable-length code to obtain a frequency-domain sequence, on the assumption that the amplitude value of the frequency-domain sequence is greater for a frequency with a greater value of the periodic combined envelope sequence; and when the indicator is not within the range indicating high periodicity, execute a variable-length decoding processing in which the circuitry decodes an inputted variable-length code to obtain a frequency-domain sequence, on the assumption that the amplitude value of the frequency-domain sequence is greater for a frequency with a greater value of the spectral envelope sequence.
-
-
3. A decoding method executing:
-
decoding an inputted indicator code to obtain an indicator of a degree of periodicity; and determining that the indicator is within a predetermined range indicating high periodicity, generating a periodic combined envelope sequence, WM[1], WM[N], which is a frequency-domain sequence by changing values of samples of a spectral envelope sequence, W[1], W[N], which is a frequency-domain sequence corresponding to an inputted linear predictive coefficient code based on a frequency-domain period corresponding to an inputted period code, the inputted linear predictive coefficient code being received from an encoder and obtained from an input time-domain audio signal at the encoder, wherein values of samples of the spectral envelope sequence are changed as in the following formula;
WM[n]=W[n]·
(1+δ
·
P[n])wherein P[n] is a periodic envelope sequence P[1], P[N], and δ
is a predetermined value or a chosen value from candidates;calculating a variable-length coding parameter dependent on an amplitude value from the periodic combined envelope sequence; and using the variable-length coding parameter to perform decoding an inputted variable-length code.
-
-
4. A decoding method executing:
-
determining that an inputted indicator of a degree of periodicity is within a predetermined range indicating high periodicity, generating a periodic combined envelope sequence, WM[1], . . . , WM[N], which is a frequency-domain sequence by changing values of samples of a spectral envelope sequence, W[1], W[N], which is a frequency-domain sequence corresponding to an inputted linear predictive coefficient code based on a frequency-domain period corresponding to an inputted period code, the inputted linear predictive coefficient code being received from an encoder and obtained from an input time-domain audio signal at the encoder, wherein values of samples of the spectral envelope sequence are changed as in the following formula;
WM[n]=W[n]·
(1+δ
·
P[n]),wherein P[n] is a periodic envelope sequence P[1], . . . , P[N], and δ
is a predetermined value or a chosen value from candidates; anddecoding an inputted variable-length code to obtain a frequency-domain sequence, on the assumption that the amplitude value of the frequency-domain sequence is greater for a frequency with a greater value of the periodic combined envelope sequence.
-
Specification