Method, apparatus and system for linear prediction coding analysis
First Claim
1. A Linear Prediction Coding (LPC) analysis method, wherein an input signal has 80 sample points x[n], n=0,1, . . . ,79, the method comprising:
- obtaining, by a LPC analysis apparatus, an amplitude value |x[0]| of the first sample point and an amplitude value |x[79]| of the last sample point of an input signal;
determining, by the LPC analysis apparatus, whether the amplitude value |x[0]| of the first sample point is greater than or equal to a threshold, and whether the amplitude value |x[79]| of the last sample point is greater than or equal to the threshold;
obtaining, by the LPC analysis apparatus, a windowed signal by applying a window function w(n), n=0,1, . . . ,79 respectively on each of the sample points of the input signal; and
processing, by the LPC analysis apparatus, the windowed signal to obtain an LPC coefficient for linear prediction;
wherein when the amplitude value |x[0]| of the first sample point is greater than or equal to the threshold, the first eight points of the window function are set as
w(n)=0.16+0.84·
cos(2·
π
·
(31−
4·
n)/127), n=0,1, . . . ,7;
orwhen the amplitude value |x[0]| of the first sample point is smaller than the threshold, the first eight points of the window function are set as
w(n)=0.26+0.74·
cos(2·
π
·
(31−
4·
n)/127), n=0,1, . . . ,7;
the 9th to 72nd points of the window function are set as w(n)=1, n=8,9, . . . ,71;
when the amplitude value |x[79]| of the last sample point is greater than or equal to the threshold, the last eight points of the window function are set as
w(n)=0.16+0.84·
cos(2·
π
·
(4·
n−
285)/127), n=72,73, . . . ,79;
orwhen the amplitude value |x[79]| of the last sample point is smaller than the threshold, the last eight points of the window function are set as
w(n)=0.26+0.74·
cos(2·
π
(4·
n−
285)/127), n =72,73, . . . ,79.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention relates to communication technologies and discloses a method, an apparatus and a system for Linear Prediction Coding (LPC) analysis to improve LPC prediction performance and simplify analysis operation. The method includes: obtaining signal feature information of at least one sample point of input signals; comparing and analyzing the signal feature information to obtain an analysis result; selecting a window function according to the analysis result to perform adaptive windowing for the input signals and obtain windowed signals; and processing the windowed signals to obtain an LPC coefficient for linear prediction. The embodiments of the present invention are applicable to LPC.
-
Citations
12 Claims
-
1. A Linear Prediction Coding (LPC) analysis method, wherein an input signal has 80 sample points x[n], n=0,1, . . . ,79, the method comprising:
-
obtaining, by a LPC analysis apparatus, an amplitude value |x[0]| of the first sample point and an amplitude value |x[79]| of the last sample point of an input signal; determining, by the LPC analysis apparatus, whether the amplitude value |x[0]| of the first sample point is greater than or equal to a threshold, and whether the amplitude value |x[79]| of the last sample point is greater than or equal to the threshold; obtaining, by the LPC analysis apparatus, a windowed signal by applying a window function w(n), n=0,1, . . . ,79 respectively on each of the sample points of the input signal; and processing, by the LPC analysis apparatus, the windowed signal to obtain an LPC coefficient for linear prediction; wherein when the amplitude value |x[0]| of the first sample point is greater than or equal to the threshold, the first eight points of the window function are set as
w(n)=0.16+0.84·
cos(2·
π
·
(31−
4·
n)/127), n=0,1, . . . ,7;
orwhen the amplitude value |x[0]| of the first sample point is smaller than the threshold, the first eight points of the window function are set as
w(n)=0.26+0.74·
cos(2·
π
·
(31−
4·
n)/127), n=0,1, . . . ,7;the 9th to 72nd points of the window function are set as w(n)=1, n=8,9, . . . ,71; when the amplitude value |x[79]| of the last sample point is greater than or equal to the threshold, the last eight points of the window function are set as
w(n)=0.16+0.84·
cos(2·
π
·
(4·
n−
285)/127), n=72,73, . . . ,79;
orwhen the amplitude value |x[79]| of the last sample point is smaller than the threshold, the last eight points of the window function are set as
w(n)=0.26+0.74·
cos(2·
π
(4·
n−
285)/127), n =72,73, . . . ,79. - View Dependent Claims (2, 3)
-
-
4. A Linear Prediction Coding (LPC) analysis apparatus for processing an input signal, wherein the input signal has 80 sample points x[n], n=0,1, . . . ,79, the apparatus comprising:
-
an obtaining unit, configured to obtain an amplitude value |x[0]| of the first sample point and an amplitude value |x[79]| of the last sample point of the input signal; a processing unit, configured to determine whether the amplitude value |x[0]| of the first sample point is greater than or equal to a threshold, and whether the amplitude value |x[79]| of the last sample point is greater than or equal to the threshold, obtain a windowed signal by applying a window function w(n), n=0,1, . . . ,79, respectively on each of the sample points of the input signal, and process the windowed signal to obtain an LPC coefficient for linear prediction; wherein when the amplitude value |x[0]| of the first sample point is greater than or equal to the threshold, the first eight points of the window function are set as
w(n)=0.16+0.84·
cos(2·
π
·
(31−
4·
n)/127), n=0,1, . . . ,7;
orwhen the amplitude value |x[0]| of the first sample point is smaller than the threshold, the first eight points of the window function are set as
w(n)=0.26+0.74·
cos(2·
π
·
(31−
4·
n)/127), n=0,1, . . . ,7;the 9th to 72nd points of the window function are set as w(n)=1, n=8,9, . . . ,71; when the amplitude value |x[79]| of the last sample point is greater than or equal to the threshold, the last eight points of the window function are set as
w(n)=0.16+0.84·
cos(2·
π
·
(4·
n−
285)/127), n=72,73, . . . ,79;
orwhen the amplitude value |x[79]| of the last sample point is smaller than the threshold, the last eight points of the window function are set as
w(n)=0.26+0.74·
cos(2·
π
(4·
n=285)/127), n=72,73, . . . ,79. - View Dependent Claims (5, 6)
-
-
7. A Linear Prediction Coding (LPC) system, comprising a LPC analysis apparatus and an encoding apparatus:
-
wherein the LPC analysis apparatus is configured to; obtain an amplitude value |x[0]| of the first sample point and an amplitude value |x[79]| of the last sample point of an input signal, wherein the input signal has 80 sample points x[n], n=0,1, . . . ,79; determine whether the amplitude value |x[0]| of the first sample point is greater than or equal to a threshold, and whether the amplitude value |x[79]| of the last sample point is greater than or equal to the threshold; obtain a windowed signal by applying a window function w(n), n=0 ,1, . . . ,79, respectively on each of the sample points of the input signal; and process the windowed signal to obtain an LPC coefficient for linear prediction; and wherein the encoding apparatus is configured to perform encoding according to the LPC coefficient obtained by the LPC analysis apparatus, wherein when the amplitude value |x[0]| of the first sample point is greater than or equal to the threshold, the first eight points of the window function are set as
w(n)=0.16+0.84·
cos(2·
π
·
(31−
4·
n)/127), n=0,1, . . . ,7;
orwhen the amplitude value |x[0]| of the first sample point is smaller than the threshold, the first eight points of the window function are set as
w(n)=0.26+0.74·
cos(2·
π
·
(31−
4·
n)/127), n=0,1, . . . ,7;the 9th to 72nd points of the window function are set as w(n)=1, n=8,9, . . . ,71; when the amplitude value |x[79]| of the last sample point is greater than or equal to the threshold, the last eight points of the window function are set as
w(n)=0.16+0.84·
cos(2·
π
·
(4·
n−
285)/127), n=72,73, . . . ,79;
orwhen the amplitude value |x[79]| of the last sample point is smaller than the threshold, the last eight points of the window function are set as
w(n)=0.26+0.74·
cos(2·
π
(4·
n−
285)/127), n=72,73, . . . ,79.
-
-
8. A non-transitory computer readable storage medium, storing computer executable program codes that cause a computer processor to execute the following process:
-
obtaining an amplitude value |x[0]| of the first sample point and an amplitude value |x[79]| of the last sample point of an input signal, wherein the input signal has 80 sample points x[n], n=0,1, . . . ,79; determining whether the amplitude value |x[0]| of the first sample point is greater than or equal to a threshold, and whether the amplitude value |x[79]| of the last sample point is greater than or equal to the threshold; obtaining a windowed signal by applying a window function w(n), n=0 ,1, . . . ,79 respectively on each of the sample points of the input signal; and processing the windowed signal to obtain an Linear Prediction Coding (LPC) coefficient for linear prediction; wherein when the amplitude value |x[0]| of the first sample point is greater than or equal to the threshold, the first eight points of the window function are set as
w(n)=0.16+0.84·
cos(2·
π
·
(31−
4·
n)/127), n=0,1, . . . ,7;
orwhen the amplitude value |x[0]| of the first sample point is smaller than the threshold, the first eight points of the window function are set as
w(n)=0.26+0.74·
cos(2·
π
·
(31−
4·
n)/127), n=0,1, . . . ,7;the 9th to 72nd points of the window function are set as w(n)=1, n=8,9, . . . ,71; when the amplitude value |x[79]| of the last sample point is greater than or equal to the threshold, the last eight points of the window function are set as
w(n)=0.16+0.84·
cos(2·
π
·
(4·
n285)/127), n=72,73, . . . ,79;
orwhen the amplitude value |x[79]| of the last sample point is smaller than the threshold, the last eight points of the window function are set as
w(n)=0.26+0.74·
cos(2·
π
(4·
n−
285)/127), n=72,73, . . . ,79.
-
-
9. A method for a Linear Prediction Coding (LPC) analysis apparatus to construct a window function, wherein the LPC analysis apparatus comprises a processor and a memory unit, and wherein the window function has 80 value points w(n), n=0,1, . . . ,79, corresponding to 80 sample points of an input signal x[n], n=0,1, . . . ,79, the method comprising:
-
setting, by the processor of the LPC analysis apparatus, the first eight value points of the window function as w(n)=0.16+0.84·
cos(2·
π
·
(31−
4n)/127), n=0,1, . . . ,7 when an amplitude value |x[0]| of the first sample point of the input signal is greater than or equal to a threshold;
or setting, by the processor of the LPC analysis apparatus, the first eight value points of the window function as w(n)=0.26+0.74·
cos(2·
π
·
(31−
4·
n)/127), n=0,1, . . . ,7 when the amplitude value |x[0]| of the first sample point is smaller than the threshold;setting, by the processor of the LPC analysis apparatus, the 9th to 72nd value points of the window function as w(n)=1, n=8,9, . . . ,71; setting, by the processor of the LPC analysis apparatus, the last eight value points of the window function as w(n)=0.16+0.84·
cos(2·
π
·
(4·
n−
285)/127), n=72,73, . . . ,79 when an amplitude value |x[79]| of the last sample point is greater than or equal to the threshold;
or setting, by the processor of the LPC analysis apparatus, the last eight value points of the window function as w(n)=0.26+0.74·
cos(2·
π
(4·
n−
285)/127), n=72,73, . . . ,79 when the amplitude value |x[79]| of the last sample point is smaller than the threshold; andstoring the constructed window function in the memory unit of the LPC analysis apparatus. - View Dependent Claims (10)
-
-
11. A Linear Prediction Coding (LPC) analysis apparatus for constructing a window function, wherein the window function has 80 value points w(n), n=0,1, . . . ,79, corresponding to 80 sample points of an input signal x[n], n=0,1, . . . ,79, the apparatus comprising:
- a processor and a memory coupled to the processor;
wherein the processor is configured to; when an amplitude value |x[0]| of the first sample point of the input signal is greater than or equal to a threshold, set the first eight value points of the window function as
w(n)=0.16+0.84·
cos(2·
π
·
(31−
4·
n)/127), n=0,1, . . . ,7;
orwhen the amplitude value |x[0]| of the first sample point is smaller than the threshold, set the first eight value points of the window function as
w(n)=0.26+0.74·
cos(2·
π
·
(31−
4·
n)/127), n=0,1, . . . ,7;set the 9th to 72nd value points of the window function as
w(n)=1, n=8,9, . . . ,71;when an amplitude value |x[79]| of the last sample point is greater than or equal to the threshold, set the last eight value points of the window function as
w(n)=0.16+0.84·
cos(2·
π
·
(4·
n−
285)/127), n=72,73, . . . ,79;
orwhen the amplitude value |x[79]| of the last sample point is smaller than the threshold, set the last eight value points of the window function as
w(n)=0.26+0.74·
cos(2·
π
(4·
n−
285)/127), n=72,73, . . . ,79; andthe memory is configured to store the constructed window function. - View Dependent Claims (12)
- a processor and a memory coupled to the processor;
Specification