CA2229240C - Lsp prediction coding utilizing a predetermined best prediction matrix based upon past frame information - Google Patents
Lsp prediction coding utilizing a predetermined best prediction matrix based upon past frame information Download PDFInfo
- Publication number
- CA2229240C CA2229240C CA002229240A CA2229240A CA2229240C CA 2229240 C CA2229240 C CA 2229240C CA 002229240 A CA002229240 A CA 002229240A CA 2229240 A CA2229240 A CA 2229240A CA 2229240 C CA2229240 C CA 2229240C
- Authority
- CA
- Canada
- Prior art keywords
- present frame
- vector
- prediction
- accumulated
- control signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L19/00—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
- G10L19/04—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
- G10L19/06—Determination or coding of the spectral characteristics, e.g. of the short-term prediction coefficients
- G10L19/07—Line spectrum pair [LSP] vocoders
Abstract
An input vector is supplied from an input terminal. A first memory accumulates a codevector from a quantizer. An adder adds together the codevector and predicted vector from a predictor and provides an output vector thus obtained to an output terminal. A second memory accumulates the output vector. A prediction coefficient calculator calculates and provides a prediction coefficient matrix having the best evaluation value from codevectors of a plurality of frames and the output vector. The predictor receives codevectors of a plurality of selected past frames and the prediction coefficient matrix, and provides a predicted vector. A subtracter provides a difference vector between the input vector and the predicted vector. The quantizer obtains and provides a codevector by quantizing the difference vector.
Description
LSP PREDICTION CODING UTILIZING A PREDETERMINED BEST
PREDICTION MATRIX BASED UPON PAST FRAME INFORMATION
The present invention relates to a line spectrum pair (LSP) prediction coding method and apparatus and, more particularly, to an LSP
prediction coder used for a speech coding and decoding system.
Medium and low bit rate and high efficiency speech signal coding has been generally executed by separating a linear filter representing spectrum envelope components and an excitation signal based on linear prediction analysis of speech. A typical method in the art is CELP (Code Excited Linear Prediction). For CELP, M. Schroeder, "Code Excited Linear Prediction: High Quality Speech at Very Low Bit Rate", Proc. ICASSP, pp. 937-940 1985 (hereinafter referred to as Literature 1) may be referred to.
In the CELP, speech signal is divided into blocks (or frames) of a short time period (for instance 10 cosec.) for frame-by-frame coding. In the coding of linear prediction coefficients repre-senting spectrum envelope components, the linear prediction coefficients are converted into line spectrum pairs (LSP). For conversion of line spec-trum coefficients into LSP, Sugamura et al, "Speech Data Compression by Line Spectrum Pair (LSP) Speech Analysis Synthesis Process, Transactions of IECE of Japan A, J64-A, No. 8, pp. 599-606, 1981 (hereinafter referred to as Literature 2) may be referred to.
In the prior art LSP prediction coders, efficient coding utiliz~.ng LSP inter-frame correlation is realized by linear prediction of input LSP (or input vector) of the present frame using quantizer output (i.e.,codevectors) of past frames and quantizing the difference between the predicted vector obtained by Mlle prediction and the input vector. For LSP prediction coders, Ohmuro et a1, "Vector Quantization of LSP Parameters using moving means .inter-frame prediction", Transactions of IECE of Japan, J77-h, No. 3, pp. 303-312, 1994 (hereinafter referred to as Literature 3) may be referred to .
Prediction coder output vector q (n) of the n-th frame is given as:
9(n) ' ~(n) t z(n) Al Y (n) ~ ~ ~'.; (n)r(n - t) where c(n) is n-th frame codevector supplied from the quantizer, x-(n) is n-th frame predicted vector, A:(n) (i=1,...,M) is the n-th frame prediction coefficient matr:i.x, and M is the degree of prediction. The symbol "-" in x-(n) is .formally provided atop r. a.n ~;he formulas, but in the specifica~:ion it is expressed as in x-.
Denoting the degree o.f LSP by P, q(n), c(n) and x-(n) are P-th degree vectors, and A:(n) is a (PxP) matrix.
The prediction coefficient ma~;rix A1(n) (i=1,...,M) is obtained in advance in a manner, as will be described later, such that predicted error energy E given by following formula (3) is minimized.
A!
1: ° ~ Ilx(n) _ ~~~~c(n-i)II~
".
where x(n) is the n-th frame input vector, and fn; x fn) Esat is an aggregation of frames, in which the input vector x(n) is contained in aggregation iZ. The aggregation S2 is a vector aggregation obtained from a number of speech signals.
Ai(n) (i=1,...,M) is expressed as:
a~.i,' . .a~.tr . ~ (a) n',rl. . . p.,rr and (P'P'M) -th degree vector a is defined in the following formula ( 5 ) by using e).emeni;s a~, j,~
(i=1,...,M, j, k=1,.._,P).
PREDICTION MATRIX BASED UPON PAST FRAME INFORMATION
The present invention relates to a line spectrum pair (LSP) prediction coding method and apparatus and, more particularly, to an LSP
prediction coder used for a speech coding and decoding system.
Medium and low bit rate and high efficiency speech signal coding has been generally executed by separating a linear filter representing spectrum envelope components and an excitation signal based on linear prediction analysis of speech. A typical method in the art is CELP (Code Excited Linear Prediction). For CELP, M. Schroeder, "Code Excited Linear Prediction: High Quality Speech at Very Low Bit Rate", Proc. ICASSP, pp. 937-940 1985 (hereinafter referred to as Literature 1) may be referred to.
In the CELP, speech signal is divided into blocks (or frames) of a short time period (for instance 10 cosec.) for frame-by-frame coding. In the coding of linear prediction coefficients repre-senting spectrum envelope components, the linear prediction coefficients are converted into line spectrum pairs (LSP). For conversion of line spec-trum coefficients into LSP, Sugamura et al, "Speech Data Compression by Line Spectrum Pair (LSP) Speech Analysis Synthesis Process, Transactions of IECE of Japan A, J64-A, No. 8, pp. 599-606, 1981 (hereinafter referred to as Literature 2) may be referred to.
In the prior art LSP prediction coders, efficient coding utiliz~.ng LSP inter-frame correlation is realized by linear prediction of input LSP (or input vector) of the present frame using quantizer output (i.e.,codevectors) of past frames and quantizing the difference between the predicted vector obtained by Mlle prediction and the input vector. For LSP prediction coders, Ohmuro et a1, "Vector Quantization of LSP Parameters using moving means .inter-frame prediction", Transactions of IECE of Japan, J77-h, No. 3, pp. 303-312, 1994 (hereinafter referred to as Literature 3) may be referred to .
Prediction coder output vector q (n) of the n-th frame is given as:
9(n) ' ~(n) t z(n) Al Y (n) ~ ~ ~'.; (n)r(n - t) where c(n) is n-th frame codevector supplied from the quantizer, x-(n) is n-th frame predicted vector, A:(n) (i=1,...,M) is the n-th frame prediction coefficient matr:i.x, and M is the degree of prediction. The symbol "-" in x-(n) is .formally provided atop r. a.n ~;he formulas, but in the specifica~:ion it is expressed as in x-.
Denoting the degree o.f LSP by P, q(n), c(n) and x-(n) are P-th degree vectors, and A:(n) is a (PxP) matrix.
The prediction coefficient ma~;rix A1(n) (i=1,...,M) is obtained in advance in a manner, as will be described later, such that predicted error energy E given by following formula (3) is minimized.
A!
1: ° ~ Ilx(n) _ ~~~~c(n-i)II~
".
where x(n) is the n-th frame input vector, and fn; x fn) Esat is an aggregation of frames, in which the input vector x(n) is contained in aggregation iZ. The aggregation S2 is a vector aggregation obtained from a number of speech signals.
Ai(n) (i=1,...,M) is expressed as:
a~.i,' . .a~.tr . ~ (a) n',rl. . . p.,rr and (P'P'M) -th degree vector a is defined in the following formula ( 5 ) by using e).emeni;s a~, j,~
(i=1,...,M, j, k=1,.._,P).
_ ~al.ll, . . , al.lP, . . . , al.Pl, . . , al.PP~
T
. . , aM, 11 r . . , aM, 1P r . . , aM. Pl , . . , aM, PP
(5) (P'P'M) x P matrix V(n) is defined by formula (6).
V(n) - ~Fl(n)Fz(n)...FM(n)~ ( where (P~P)xP submatrix Fi(n) (i=1,...,M) is expressed by the following formula (7) by using elements cj(n) of the codevector c(n).
F; (n ) ~o(n _ i)...~pm(n -i) 0 .. . 0 0 ... 0 0 ... 0 ~o(n_t)...~Pm(n-i) 0 ... 0 0 ~-~ 0 0 ~~- 0 0 ~~- 0 _ . . . . . . . (~) ~ .
0 ... 0 0 ... 0 ~o(n_~) ...gyp-~(n-t) The n-th frame prediction vector x-(n) is expressed by the following formula (8) by using the matrix V(n) and vector M
x(n)= ~A~~(n-~) ,_, = V (n)~. (~) The predicted error energy E given by the formula (3) thus can be expressed by the following formula (9).
E = ~x(n)-V(n)~,I2 (n;x(n Since the partial derivative of the pre-dieted error energy E with respect to A is zero, ill: l ~)~, = O
simultaneous linear equations given by the following formulas (10) can be obtained.
( ~ V(~~)Ty(n))~ _._ ~V~ (n)x(n) (10) I,~;FI"~e:l I~:~(~~:1 By solving the equations (10) for the vector .1, it is possible to obtain prediction coeflici.ent matrix A; (i=1,...,M) which minimises the predicted error energy E giver by the formula (3) from the relations of the above formulas (4) and (5)-It is also possible to obtain performance improvement by switching the prediction coefficient matrix A1 (a.=1,...,M) in dependence on the character of the input speech signal.
A prior art LSP prediction coder will nova be described with reference to Fig. 7. The Figure is a block diagram showing the prior art LSP prediction coder_ Referring to the fig. 7, the n-th frame input vector x(n) is supplied from an input terminal 10.
2J A memory 113 receives and accumulates codevector c(n) supplied from a quantizer 110.
A predictor 111 receives codevectoxs c(n-i), (i=1,...,M) f.or past M frames and prediction coefficient matrix Ai(n) (i=1,...,M) which has been obtained in the manner as described above and stored in a prediction coefficient codebook 112, and calculates and provides predicted vector x (n) given by the formula (2).
A subtracter 120 receives the input vector x(n) and the predicted vector x-(n), and provides difference vector e(n) - x(n) - x'(n) representing the difference bEtween the input vector x(n) and the predicted vector x-(n).
The quantizer 110 receives and quantizes difference vector e(n), and thus obtains and provides codevector c(n). The quantization may be performed by vector quantization . For I~SP
vector quantization, K, Paliwal et al, "Efficient Vector Quantization of LSP Parameters at 24 Bits/Frame", IEEE transactions on Speech and Audio Processing, Vol. 1, No. 1, Jan. 1993 (hereinafter referred to as Literature 4) may be referred to.
An adder 130 receives the codevector c(n) and the predicted vector x-(n), and obtains and provides output vector q(n) bY adding together the codevector c(n) and the predicted vector x-(n) to an output terminal 17..
The above prior art prediction coder concerns moving mean prediction.. Autoregressi.ve prediction may be realized by substituting the following formula ( 11 ) for the formula ( 2 ) .
T
. . , aM, 11 r . . , aM, 1P r . . , aM. Pl , . . , aM, PP
(5) (P'P'M) x P matrix V(n) is defined by formula (6).
V(n) - ~Fl(n)Fz(n)...FM(n)~ ( where (P~P)xP submatrix Fi(n) (i=1,...,M) is expressed by the following formula (7) by using elements cj(n) of the codevector c(n).
F; (n ) ~o(n _ i)...~pm(n -i) 0 .. . 0 0 ... 0 0 ... 0 ~o(n_t)...~Pm(n-i) 0 ... 0 0 ~-~ 0 0 ~~- 0 0 ~~- 0 _ . . . . . . . (~) ~ .
0 ... 0 0 ... 0 ~o(n_~) ...gyp-~(n-t) The n-th frame prediction vector x-(n) is expressed by the following formula (8) by using the matrix V(n) and vector M
x(n)= ~A~~(n-~) ,_, = V (n)~. (~) The predicted error energy E given by the formula (3) thus can be expressed by the following formula (9).
E = ~x(n)-V(n)~,I2 (n;x(n Since the partial derivative of the pre-dieted error energy E with respect to A is zero, ill: l ~)~, = O
simultaneous linear equations given by the following formulas (10) can be obtained.
( ~ V(~~)Ty(n))~ _._ ~V~ (n)x(n) (10) I,~;FI"~e:l I~:~(~~:1 By solving the equations (10) for the vector .1, it is possible to obtain prediction coeflici.ent matrix A; (i=1,...,M) which minimises the predicted error energy E giver by the formula (3) from the relations of the above formulas (4) and (5)-It is also possible to obtain performance improvement by switching the prediction coefficient matrix A1 (a.=1,...,M) in dependence on the character of the input speech signal.
A prior art LSP prediction coder will nova be described with reference to Fig. 7. The Figure is a block diagram showing the prior art LSP prediction coder_ Referring to the fig. 7, the n-th frame input vector x(n) is supplied from an input terminal 10.
2J A memory 113 receives and accumulates codevector c(n) supplied from a quantizer 110.
A predictor 111 receives codevectoxs c(n-i), (i=1,...,M) f.or past M frames and prediction coefficient matrix Ai(n) (i=1,...,M) which has been obtained in the manner as described above and stored in a prediction coefficient codebook 112, and calculates and provides predicted vector x (n) given by the formula (2).
A subtracter 120 receives the input vector x(n) and the predicted vector x-(n), and provides difference vector e(n) - x(n) - x'(n) representing the difference bEtween the input vector x(n) and the predicted vector x-(n).
The quantizer 110 receives and quantizes difference vector e(n), and thus obtains and provides codevector c(n). The quantization may be performed by vector quantization . For I~SP
vector quantization, K, Paliwal et al, "Efficient Vector Quantization of LSP Parameters at 24 Bits/Frame", IEEE transactions on Speech and Audio Processing, Vol. 1, No. 1, Jan. 1993 (hereinafter referred to as Literature 4) may be referred to.
An adder 130 receives the codevector c(n) and the predicted vector x-(n), and obtains and provides output vector q(n) bY adding together the codevector c(n) and the predicted vector x-(n) to an output terminal 17..
The above prior art prediction coder concerns moving mean prediction.. Autoregressi.ve prediction may be realized by substituting the following formula ( 11 ) for the formula ( 2 ) .
bl x(n) _ ~A~(n)9U -i) (11) ,_, The LSP prediction coder as described above, has a problem that the prediction performance may be unsatisfactory depending on input LSP (i.e., input vector) supplied thereto.
This is so because the prediction is performed for infinite kinds of input vectors that exist by using a prediction coefficient matrix obtained in advance.
The present invention was made in view of the above problem, and its object is to provide an LSP prediction coder capable of solving the problem and ensures satisfactory prediction performance irrespective of the input vector.
The present invention is summarized with reference to numerals in the drawings which are to be described later.
According to an aspect of the present invention there is provided an LSP prediction coding method comprising the steps of calculating a prediction vector for predicting an input vector of a present frame from codevectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame; selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector; calculating and accumulating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame; and calculating a pre-diction coefficient matrix of the present frame having the best evaluation value calculated from accumulated codevectors of a plurality of past frames and accumulated output vectors of a plurality of past frames.
In a first preferred embodiment of the present invention, the best prediction coefficient matrix is calculated in each frame.
More specifically, the first preferred embodiment of the present invention comprises means (111 in Fig. 1) for calculating predicted vector from codevectors of a plurality of selected past frames and a prediction coefficient matrix, first memory means (213 in Fig. 1) for 7a accumulating a codevector obtained by quantizing the difference between the predicted vector and the input vector, second memory means (214 in Fig. 1) for accumulating an output vector as the sum of the predicted vector and the codevector, and means (212 in Fig. 1) for calculating a predicted coefficient matrix having the best evaluation value from accumulated codevectors of a plurality of frames and accumulated output vectors of a plurality of frames.
In a second preferred embodiment of the present invention, the numbers of frames of codevectors and the output vectors used for calculation of the evaluation value are switched in dependence on the character of input speech signal.
More specifically, the second preferred embodiment of the present invention comprises means (111 in Fig_ 2) for calculating the predicted vector from codevectors of a plurality of selected past frames and a prediction coefficient matrix, first memory means (213 in Fig. 2) for accumulating a codevector obtained by auantizing the difference between the predicted vector and input vector, second memory means (214 in Fig. 2) for accumulating an 2~ output vector as the sum of the predicted vector and the codevec~:or, third memory me2ns (313 in Fig. 2) for accumulating an input speech signal, means (314 in Fig. 2) for P calculating pitch predicted gain from the input speech signal, means (315 in Fig. 2) for determining a control signal from the pitch predicted gain, means (316 in Fig. 2) for determining an integration interval from the control signal, and means (312 in Fig. 2) for calculating Q
prediction coefficient matrix having the best evaluation value from codevectors of a plurality of frames determined by the integration interval and output vectors of a plurality of frames determined by the integration interval.
In a third preferred embodiment of the present invention, predicted coefficient matrix of the present frame is used without prediction coefficient matrix calculation when the input speech signal is readily predictable in a plurality of continuous frames thereby reducing computational effort.
More specifically, the third preferred embodiment of the present invention comprises means ( 111 in Fig. 3 ) for calcu7.ating a predicted vector from codevector of a plurality of selected past frames and a prediction coefficient matrix, first memory means (213 in Fig. 3) for accumulating codevectors obtained by quantizing the difference between the predicted vector and an input vector, second memory means (214 in Fig. 3) for accumulating the input vector as the sum of the predicted vector and the codevector, third memory means (313 in Fig. 3) for accumulating an input speech signal, means (314 in Fig. 3) for a calculating pitch predicted gain from the input speech signal, means (315 in Fig. 3) for determining a control signal from the pitch predicted gain, means (413 in Fig. 3) for accumu-lating the control signal, means (412 in Fig.3) for calculating, when the control signal does not take values no less than a predetermined threshold value in a plurality of continuous frames, a prediction coefficient matrix having the best evaluation value from accumulated codevectors of a plurality of frames and outpu~~ vectors of a plurality of frames, means (415 in Fig. 3) for calculating, when the control signal does not take values no less than a predetermined threshold value in a plurality of continuous frames, a prediction coefficient matrix corresponding to the best evaluation value calculated from accumulated codevectors of a plurality of frames and output vectors of a plurality of frames, and means (415 in Fig. 3) for substituting, when the control signal does take values no less than the threshold value in a plurality of continuous frames, predict~.on coefficient matrix of the immediately preceding frame for prediction coefficient matrix. of the present frame, and selecting and providing, cahen the control signal does not take values no less than the threshold value in a plurality of continuous frames, prediction coefficient matrix calculated in the present frame, and means (414 in Fig. 3) for holding predetermined coefficient matrix.
In a fourth preferred embodiment of the present invention, prediction coefficient matrix of the immediately preceding frame is used without making prediction coefficient matrix calculation when the input speech signal can be readily predicted in a plurality of continuous frames, thus reducing computational effort, and no prediction is performed in a frame in which it is difficult to predict the input speech signal.
More specifically, the fourth preferred embodiment of the present invention comprises means ( 111 in Fig . 4 ) for calculating a predicted vector from codevectors of a plurality of selected pas~~
frames and prediction coefficient matrix, first memory means (213 in Fig. ~1) .for accumulating codevectors obtained by quantizing the difference between the predicted vector and input vector, second memory means (21~ in Fig. 4) for accumulating input vector as the sum of the predicted vector and the codevector, third memory means (313 in Fig. 4) for accumulating input speech signal, means (314 in Fig_ 9) for calculating pitch predicted gain from the input speech signal, means (315 in Fig. 4) for determining control signal from the pitch predicted gain, means (413 in Fig. 4) fox accumulating the control signal, means (412 in Fig. 4) for calculating, when the cowl:rol signal does not take values no less than a predetermined threshold value in a plurality of continuous frames, prediction coefficient matrix corresponding to l:he best calculation value calculated from accumulated codevectors of a plurality of frames and output lp vectors of a plurality of frames, means (515 in Fig.
4) for sub stituting for and providing prediction coefficient matrix of the immediately preceding frame for prediction coefficient matrix of the present frame when the control signal does take values no less than the first threshold value, selecting and providing prediction coefficient matrix calculated in the present frame when the control signal does not take values no less than the first threshold value for a plurality of continuous frames and does take a value no less than the second threshold value, and setting prediction coefficient matrix to be the zero matrix when the control signal does take a value less than the second threshold value, means (414 in Fig. 4) for holding prediction 2!~ coefficient matrix, and quanti.zing means (510 in Fig . 4 ) f ox' switching codevector 'tables in dependence on the magnitude rela~Cion between the value of the control signal and the second threshold value.
In a fifth preferred embodiment of the present invention, in the third preferred embodiment of the present invention the numbers of frames of the codevectors and the output vectors used for calculation of the best evaluation value are switched in dependence on the character of the input speech signal.
More specifically, the fifth preferred embodiment of the present invention comprises means (316 in Fig. 5) for determining an interval from the control signal, and means (612 in Fig. 5) for calculating, when the control signal does not take values less 'than the threshold value for a plural ity of continuous frames, prediction coefficient matrix having the best evalua~Lion value from codevectors of a plurality of frames determined by the integration interval and output vectors of a plurality of frames determined by the integration interval_ In a sixth preferred embodiment of the present invention, in the fourth preferred embodiment of the present invention the numbers of frames of the codevectors and the output vectors used for calculation of the best evaluation value are sw itched in dependence on Lhe character of the input speech signal_ More specifically, the sixth preferred embodiment of the present invention comprises means (316 in Fig. 6) For determining integration interval from the control signal, and means (612 in I"ig. 6) for calculating, when the Control signal does not take values no less than threshold value in a plurality of. continuous frames, prediction.
coefficient matrix having 'the best evaluation value from codevectors of a plurality of. frames determined by the integration interval and ou'l;put vectors of a plurality of frames determined by the integration interval_ In the preferred embodiments of tile present invention as mentioned above, the output vector in each frame is predicted from codevectors selected in a plurality of past frames on the basis of the above formula (2), and the resultant error is defined as the predicted error. In each frame, the prediction coefficient matrix of the present frame is calculated, which minimizes the average predicted error in a plurality of immediately preceding frames. The above vector prediction is performed by using the prediction coefficient matrix calculated in each frame.
This means that the prediction coefficient matrix is varied adaptively according to the input 2~; LSP (or input vector). It is thus possible to obtain satisfactory prediction performance for various input vectors.
In usual vector prediction, the input vectox' noted above is made to be desired vector.
According to the present invention, the above output vector is made to be desired vector instead of the input vector under an assumption that the error between the output and input vectors is sufficiently small.
According to the present invention, as des-cribed above, the prediction coefficient matrix is obtained by using decoded signal. This means that prediction coefficient matrix calculation may be made on the receiving side in the same process as that on the transmitting side. Thus, no prediction coefficient matrix data need be transmitted.
According to the present invention, the processes of the LSP prediction coding method in the first to sixth preferred embodiments of the present invention may be realized by program execution on a data processor.
A first advantage of the present invention is that satisfactory prediction performance can be obtained irrespective of input vector supplied to the prediction coder since the adaptive variation of prediction coefficient matrix according to the input vector.
A second advantage of the present invention is that no prediction coefficient matrix data need be transmitted. This is so because the prediction coefficient matrix can be calculated on the receiving side by the same process as in the transmitting side.
Other objects and features will be clarified from the following description with reference to attached drawings.
Fig. 1 is a block diagram showing a first embodiment of the present invention;
Fig. 2 is a block diagram showing a second embodiment of the present invention;
Fig. 3 is a block diagram showing a third embodiment of the present invention;
Fig. 4 is a block diagram showing a fourth 15a embodiment of the present invention;
Fig. 5 is a block diagram showing a fifth embodiment of the present invention;
Fig. 6 is a block diagram showing a sixth embodiment of the present invention; and Fig. 7 is a block diagram showing the prior art LSP prediction coder.
The above preferred embodiments of the present invention will now be described in greater details in conjunction with embodiments of the present invention with reference to the accompanying drawings.
Fig. 1 is a block diagram showing a first embodiment of the present invention. Referring to the Figure, n-th frame input vector x(n) is supplied from an input terminal 10. First memory 213 receives and accumulates n-th frame codevector c(n) supplied from a quantizer 110. Adder 130 receives the codevector c(n) and n-th frame prediction vector x-(n) supplied from a predictor 111, and obtains and provides to an output terminal 11 output vector q(n) by adding together the codevector c(n) and the predicted vector x-(n) .
A second memory 214 receives and accumulates the output vector q(n). A prediction coefficient calculator 212 receives codevectors c(n-j) (j=2, . . . ,N) of past (N+M-1) frames from the first memory 213 and also output vectors q(n-j) (j=1,...,N) from the second. memory 214, and calculates and provides prediction coefficient matrix Ai(n) (i = 1, ..., M) which minimizes n-th frame prediction error energy E(n) given by the following formula (12).
N M
E(n)=~ q(n- j)-~A;(n)~c(n- j-i) (12) ~-t ~-t The prediction coefficient matrix Ai(n) (i=1,...,M) is expressed by the following formula (13).
a;.tt (n)' . . a~,tP (n ) A;(n) _ ~ ~ (13) aa.Pt(n)' . .a~,PP (n) (P'P'M)-th vector ~.(n) is defined by the following formula (14) by using prediction coefficient matrix elements ai,~k(n) (i=1,...,M, j, k=
1,...,P).
'~(n) - Lat.tt(n)~ ~ ~ ~ at.tP(n), ..., a~.pOn)~
a~.PP(n), ~ ~, aM.tt(n)~ ~ ~,ar,.~P(n), ..,aM.Pt(n), ~ ~, ar,.PP(n)]T
... (14) (P'P'M) x P Matrix V(n) is defined by the formula (6), i.e., defined as:
V(n) - [Ft(n) FZ(n) .. . FM(n)~
(P'P) x P submatrix F;(n) (i=1,...,M) is expressed by the formula (7) by using elements c~(n) (j=0,...,P-1) of the codevector c(n), i_e., expressed by the following formula (14).
~n(n -1)' . .~~~,.~(» ' l) C) . .. C) p . .. C) () ... 0 ~o(n-~) ...~1_~(yj_i)() ... (]
. , t~ () . . . () 0 1; (n) _ . . . . . . . (14) C~ . .. () U ... tl ~u(» - j)...~~_v(n -~) The n-th ,f..rame prediction vecaor x~( n ) is expressed by the following formula (15) by using matrix (V(n) and vector ~.(n).
is z(n) _-. ~A;(n)c(n-i) ,:, =V (n)~(n) (15) The prediction error energy E(n) given by the formula ( 1.2 ) is 'thus expressed by the following formula (16).
l; n = hI n -V n J~ n ~Z 1G
'( ) ~IIN( 'J) ( -J) ( )f ( ) ~_t ~Ih(~t) l ~)~(n) = U
Simultaneous linear equations of the following formulas (17) are l:hus obtained.
N N
(~~'(n - J)' 1~(n - .l))~(n) _ ~,vT.(n - J)9(n - .l ) (17) By solving the equation (17) for the vector (n), prediction coefficient matrix A,(n) (i=1,...,M) which minimizes the predicted error energy E(n) given by the formula (12) can be obta:lned on the basis of the relationship between the above formulas (13) and (14).
The predictor 111 receives codevectors c(n-i), (i=1,...,M) of past M frames and also the prediction coefficient matrix A,(n) (i=1,...,M), and calculates and supplies the predicted vector ~-(n) given by the formula (2).
A subtracter 120 receives the input vector x(n) and the predicted veCror x-(n), and supplies difference vector e(n) - x(n) - x-(n) representing the difference between the input vector x.(n) and the predicted vec~lor :;-( n ) .
The quanti.zer 110 receives and quantizes the difference vector e(n), and obtains and provides codevector c(n).
This embodiment concerns moving mean prediction, but autoregressive prediction may be realized by substituting the formula (11) for the formula (2). In this case, the formula (12) is substituted by the following formula (18).
N m h(n)_ ~~~(n- j)-~~,(n)'9(n~ t "~)I
Fig. 2 is a block diagram showing a second embodiment of the present invention. Referring to the Figure, n-th frame input speech vector s(n) is supplied from an input terminal 30. A third memory 313 receives and accumulates the input speech vector s(n). Assuming that the frame length is constituted by L samples, the input speech vector s(n) is L-th degree vector given by the following formula (19).
In the formula (19), T represents transposing.
S(n) - fsa(n), ~..~ SL_u(n)lT ... (19) A pitch predicted gain calculator 314 receives the n-th frame input speech vector s(n) and input speech vectors s(n-j) (j=1,....,m+1) of past (m+1) frames, and calculates and provides n-th frame pitch predicted gain gPrd(n) given by the following formula (20).
gp.~(n) = max{ L L i(n)s' d~n)-},d = Ldm~~,...~Ldd",a,~-.. (20) ~,eo S~-d (n) where max {a} expresses selection of the maximum value of a, and s';_a(n) is element of vector s'(n), which is given by the following formula (21).
s' (n) = [s-~ (n)~ . . .~ s_~-~ (n)~ s_,~c (n), . . .~ s_~m-~~L-~ (n)~ . . .{T
_ [sc_~,_",~~ (n - (m + 1)), . . .~ sL-1 (~t - (m + 1)), so (n - m), . . .~ sL-~ (n _ m)~ . . .~T
l = Ld m~~ , ~ . ~~ Ld max ~ m = 0,1, 2, . . . (21) A checker 315 receives the pitch predicted gain gPra(n), and determines and provides n-th frame control signal Vflg(n) as in the following formula (22).
0 f P~ (n) < vrh.o Vth.~ 5 gPcri (n) < Vth~l vf~g(n) - .
(22) Nrh - 2 U~ Nrh-3 5 gp~d (») < V~.Nrh-2 Nd~ - I vrh Nth-2 5 gprd. ln) An integration interval determiner 316 receives the control signal Vfig(n), and determines n-th frame integration interval N~z~(n) given by the following formula (23).
No v f,g (n) = 0 N(z>(n) - (23) NNr~-~ v f ~g (n ) = Nrh w 1 A prediction coefficient calculator 312 receives the integration interval N~z~(n), codevectors c( n-j ) ( j =2, . . . , :H~Z~ ( n ) ) for past N~2~ ( n ) frames from the first memory 213 and output vectors q(n-j ) (J=1, ...,N~z~(n) ) for past N~z~(n) frames from the second memory 214, and calculates and provides prediction coefficient matrix Ai(n) (i=1,...,M) which minimizes n-th frame predicted error energy E«~(n) given by the following formula (24).
N 2 n) M
q(n - J) - ~ AOn)' ~(n - J - ~) (24) ,.
The prediction coefficient matrix Ai(n) (i=1,...,M) can be obtained in a manner similar to that in the first embodiment. Input terminal 10, first memory 213, adder 130, second memory 214, predictor 111, subtracter 120, quantizer 110 and output terminal 11 are like those in the first embodiment, and are not described.
This embodiment concerns moving mean prediction. Autoregressive prediction can be realized by substituting the formula (11) for the formula (2). In this case, the formula (24) is substituted by the formula (25).
N 2 n) M
R'(n - J) - ~ ~ (n)' q(~ - J - i) (25) ~=t ~-t Fig. 3 is a block diagram showing a third embodiment of the present invention. In the Figure, elements like or equivalent to those in Fig. 2 are designated by like referencE: numerals and symbols.
Mainly the difference of this embodiment from the embodiment shown in Fig. 2 will now be described.
Referring to Fig. 3, a fourth memory 413 receives and accumulates control signal Vftg(n). A
prediction coefficient calculator 412 receives n-th frame control signal Vflg(n) and control signals Vflg(n-j ) ( j=1, . . .,M) of past K frames. When the control signal Vflg(n) does not satisfy the following formula (26).
(v f ~g (n) z N~h ) n (v f n (n -1) a .N~ ) (~
...n(vf~g(n_K)aN~,) (26) the prediction coefficient calculator 412 receives codevectors c(n-j) (j=2,...,N+M) of past (N+M-1) frames from the first memory 213 and also output vectors q(n-j) (j=1,...,N) of past N frames from the second memory 214, and calculates and provides prediction coefficient matrix Ai(n) (i=1,...,M) which minimizes the predicted error energy E(n) given by the formula (12). Expression A fl B means that both the conditional formulas are true.
The prediction coefficient matrix Ai(n) (i=1,...,M) can be obtained in a manner similar to that in the first embodiment.
A selector 415 receives n-th frame control signal Vflg( n ) and control signal Vflg( n-j ) (j=1,...,K). When the control signal vfl9(n) satisfies the formula (26), the selector 415 receives prediction coefficient matrix Ai(n-i) (i=1, ...,M) selected in the preceding frame from a fifth memory 414, and provides the same as:
Ai(n) - Ai(n-1), (i=1, ". M) ... (27) When the control signal Vfl9(n) does not satisfy the formula (26), the selector 415 receives and provides prediction coefficient matrix Ai(n) (i=1,...,M) from a prediction coefficient calculator 412.
The fifth memory 414 receives and holds prediction coefficient matrix Ai(n) (i=1,...,M) selected in n-th frame.
Input terminal 10, first memory 213, adder 130, second memory 214, predictor 111, subtracter 120, quantizer 110, output terminal 11, input terminal 30, third memory 313, pitch predicted gain calculator 314 and checker 315 are like those in the second embodiment in the construction and function, and are not described.
This embodiment concerns moving mean prediction. Autoregressive prediction can be obtained by substituting the formula (11) for the formula (2). In this case, the formula (12) is substituted by the formula (18).
Fig. 4 is a block diagram showing a fourth embodiment of the present invention. Referring to the Figure, a prediction coefficient calculator 512 receives n-th frame control signal Vflg(n) and control signals vflg( n-j ) ( j =1, . . . , M ) for past K
frames. When the control signal Vflg(n) satisfies neither the formula (26) nor the following formula (28), vflg ( n ) < Nth" ( Nth' ) ( 28 ) the prediction coefficient calCUla~l;or 512 receives Code vectors c ( n- j ) ( j =2, . . . , N+M ) for past ( N~~:~I-1 ) frames from the first memory 213 and also output vectors q(n-j) (j=1,.._,N) for past N frames from the second memory 214, and calculates and provides prediction coef f icient matrix A; ( n ) ( i=1, . . . , b1 ) cahich minimizes the predicted error energy E(n) given by the formu7.a (12).
The prediction coefficient formula A1(n) (i=1,...;i~1) can be obtained in a manner similar to that in the first embodiment.
A selector 515 receives the n-th frame control signal vilg(n) and control signals vfl~(n-j) (j=1,...,K) for past K frames. When the control signal vlly( n ) satisfies the formula ( 26 ) , the selector 515 receives and provides prediction coefficient matrix A,~(n) (i.=l, ...,M) given as A1(n) - A1(n-1), (i=1,~..,hl) (29) which has been selected in the fifth memory 414 in the preceding frame_ When the control signal vllg satisfies neither. of the formulas (26) and (28), the selector 515 receives and provides the. prediction coefficient matrix A;,(n) (i = 1, .. , M) from the prediction coefficient calculator 512_ When the conl;rol signal vflg( n ) does not satisfy the formula (26) but satisfies the formula (28), the selector 515 receives the zero matrix 0 via a terminal 50, and from this zero matrix it provides Ai(n) _ 0 (i-1,...,M) (30).
The quantizer 510 receives the difference vector e(n) and the control signal vflg(n), and quantizes the difference vector e(n) by switching the tabl..e (or codebook} of the codevec~:or c(n) in dependence on whether the cony rol signal vfl9(n) does satisfy the formula (28) (i.e., when making no prediction) or does noU; (i.P., when making a prediction).
Input l;erminal 10, firs'L memory 213, adder 130, second memory 214, predictor 111, subtracter 120, output terminal 11, input terminal 30, third memory 313, pitch predicted gain calculator 314, checker 315, and fourth and fifth memories 413 and 414, are like those in the third embodiment, and ar.e not described.
This embodiment concerns moving mean prediction. Autoregressive prediction can be realized by Substituting the formula (11) for the formula (2). In this case, the formula (12) is substituted for by the formula (18).
Fig. 5 is a block diagram showing a fifth embodimen'~ of the present invention. lleferring to the Figure, a prediction coefficient calculator 612 receives integration interval N~'-'(n) fron the integration interval determiner 316, n-th f.rame control sianal vpl9(n) and control signals vr~y(n-j ) (j=1,...,K) for past K f.rames_ When the control signal vflg(n) does not satisfy the formula (26), the prediction coefficient calculator 612 receives codevectors c(n-j) (j=2,...,N~z~(n)+M) for past (N~2~(n)+M-1) frames from the first memory 213 and also output vectors q(n-j) (j=1,...,N~2~(n)) for past N~z~(n) frames, and calculates and provides prediction coefficient matrix Ai(n) (i=1,...,M) which minimizes the predicted error energy E~2~(n) given by the formula (24). The predicted error matrix Ai(n) (i=1,...,M) can be obtained in a manner similar to that in the first embodiment.
Input terminal 10, first memory 213, adder 130, second memory 214, predictor 111, subtracter 120, quantizer 110, output terminal 11, input terminal 30, third memory 313, pitch predicted gain calculator 314, checker 315, fourth memory 413, selector 415, fifth memory 414 and integration interval determiner 316 are like those in the third embodiment, and are not described.
The above embodiment concern moving mean prediction. Autoregressive prediction can be realized by substituting the formula (2) for the formula (11). In this case, the formula (24) is substituted for by the formula (25).
Fig. 6 is a block diagram showing a sixth embodiment of the present invention. Referring to Fig. 6, this embodiment is obtained by adding integration interval determiner 316 to the fourth embodiment shown in Fig. 4. Input terminal 10, first memory 213, adder 130, second memory 214, predictor 111, subtracter 120, quantizer 510, output terminal 11, input terminal 30, third memory 313, pitch predicted gain calculator 314, checker 315, fourth memory 413, selector 515 and fifth memory 414 are like those in the fourth embodiment; and integration interval determiner 316 and prediction coefficient calculator 612 are like those in the fifth embodiment.
This embodiment concerns moving mean prediction. Autoregressive prediction can be realized by substituting the formula (2) for the formula (11) . In this case, the formula (24) is substituted for by the formula (25) .
As has been described in the foregoing, according to the present invention the following advantages are obtainable.
Changes in construction will occur to those skilled in the art and various apparently different modifications and embodiments may be made without departing from the scope of the present invention. The matter set forth a.n the foregoing description and accompanying drawings is offered by way of illustration only. It is therefore intended that the foregoing description be regarded as illustrative rather than limiting.
This is so because the prediction is performed for infinite kinds of input vectors that exist by using a prediction coefficient matrix obtained in advance.
The present invention was made in view of the above problem, and its object is to provide an LSP prediction coder capable of solving the problem and ensures satisfactory prediction performance irrespective of the input vector.
The present invention is summarized with reference to numerals in the drawings which are to be described later.
According to an aspect of the present invention there is provided an LSP prediction coding method comprising the steps of calculating a prediction vector for predicting an input vector of a present frame from codevectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame; selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector; calculating and accumulating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame; and calculating a pre-diction coefficient matrix of the present frame having the best evaluation value calculated from accumulated codevectors of a plurality of past frames and accumulated output vectors of a plurality of past frames.
In a first preferred embodiment of the present invention, the best prediction coefficient matrix is calculated in each frame.
More specifically, the first preferred embodiment of the present invention comprises means (111 in Fig. 1) for calculating predicted vector from codevectors of a plurality of selected past frames and a prediction coefficient matrix, first memory means (213 in Fig. 1) for 7a accumulating a codevector obtained by quantizing the difference between the predicted vector and the input vector, second memory means (214 in Fig. 1) for accumulating an output vector as the sum of the predicted vector and the codevector, and means (212 in Fig. 1) for calculating a predicted coefficient matrix having the best evaluation value from accumulated codevectors of a plurality of frames and accumulated output vectors of a plurality of frames.
In a second preferred embodiment of the present invention, the numbers of frames of codevectors and the output vectors used for calculation of the evaluation value are switched in dependence on the character of input speech signal.
More specifically, the second preferred embodiment of the present invention comprises means (111 in Fig_ 2) for calculating the predicted vector from codevectors of a plurality of selected past frames and a prediction coefficient matrix, first memory means (213 in Fig. 2) for accumulating a codevector obtained by auantizing the difference between the predicted vector and input vector, second memory means (214 in Fig. 2) for accumulating an 2~ output vector as the sum of the predicted vector and the codevec~:or, third memory me2ns (313 in Fig. 2) for accumulating an input speech signal, means (314 in Fig. 2) for P calculating pitch predicted gain from the input speech signal, means (315 in Fig. 2) for determining a control signal from the pitch predicted gain, means (316 in Fig. 2) for determining an integration interval from the control signal, and means (312 in Fig. 2) for calculating Q
prediction coefficient matrix having the best evaluation value from codevectors of a plurality of frames determined by the integration interval and output vectors of a plurality of frames determined by the integration interval.
In a third preferred embodiment of the present invention, predicted coefficient matrix of the present frame is used without prediction coefficient matrix calculation when the input speech signal is readily predictable in a plurality of continuous frames thereby reducing computational effort.
More specifically, the third preferred embodiment of the present invention comprises means ( 111 in Fig. 3 ) for calcu7.ating a predicted vector from codevector of a plurality of selected past frames and a prediction coefficient matrix, first memory means (213 in Fig. 3) for accumulating codevectors obtained by quantizing the difference between the predicted vector and an input vector, second memory means (214 in Fig. 3) for accumulating the input vector as the sum of the predicted vector and the codevector, third memory means (313 in Fig. 3) for accumulating an input speech signal, means (314 in Fig. 3) for a calculating pitch predicted gain from the input speech signal, means (315 in Fig. 3) for determining a control signal from the pitch predicted gain, means (413 in Fig. 3) for accumu-lating the control signal, means (412 in Fig.3) for calculating, when the control signal does not take values no less than a predetermined threshold value in a plurality of continuous frames, a prediction coefficient matrix having the best evaluation value from accumulated codevectors of a plurality of frames and outpu~~ vectors of a plurality of frames, means (415 in Fig. 3) for calculating, when the control signal does not take values no less than a predetermined threshold value in a plurality of continuous frames, a prediction coefficient matrix corresponding to the best evaluation value calculated from accumulated codevectors of a plurality of frames and output vectors of a plurality of frames, and means (415 in Fig. 3) for substituting, when the control signal does take values no less than the threshold value in a plurality of continuous frames, predict~.on coefficient matrix of the immediately preceding frame for prediction coefficient matrix. of the present frame, and selecting and providing, cahen the control signal does not take values no less than the threshold value in a plurality of continuous frames, prediction coefficient matrix calculated in the present frame, and means (414 in Fig. 3) for holding predetermined coefficient matrix.
In a fourth preferred embodiment of the present invention, prediction coefficient matrix of the immediately preceding frame is used without making prediction coefficient matrix calculation when the input speech signal can be readily predicted in a plurality of continuous frames, thus reducing computational effort, and no prediction is performed in a frame in which it is difficult to predict the input speech signal.
More specifically, the fourth preferred embodiment of the present invention comprises means ( 111 in Fig . 4 ) for calculating a predicted vector from codevectors of a plurality of selected pas~~
frames and prediction coefficient matrix, first memory means (213 in Fig. ~1) .for accumulating codevectors obtained by quantizing the difference between the predicted vector and input vector, second memory means (21~ in Fig. 4) for accumulating input vector as the sum of the predicted vector and the codevector, third memory means (313 in Fig. 4) for accumulating input speech signal, means (314 in Fig_ 9) for calculating pitch predicted gain from the input speech signal, means (315 in Fig. 4) for determining control signal from the pitch predicted gain, means (413 in Fig. 4) fox accumulating the control signal, means (412 in Fig. 4) for calculating, when the cowl:rol signal does not take values no less than a predetermined threshold value in a plurality of continuous frames, prediction coefficient matrix corresponding to l:he best calculation value calculated from accumulated codevectors of a plurality of frames and output lp vectors of a plurality of frames, means (515 in Fig.
4) for sub stituting for and providing prediction coefficient matrix of the immediately preceding frame for prediction coefficient matrix of the present frame when the control signal does take values no less than the first threshold value, selecting and providing prediction coefficient matrix calculated in the present frame when the control signal does not take values no less than the first threshold value for a plurality of continuous frames and does take a value no less than the second threshold value, and setting prediction coefficient matrix to be the zero matrix when the control signal does take a value less than the second threshold value, means (414 in Fig. 4) for holding prediction 2!~ coefficient matrix, and quanti.zing means (510 in Fig . 4 ) f ox' switching codevector 'tables in dependence on the magnitude rela~Cion between the value of the control signal and the second threshold value.
In a fifth preferred embodiment of the present invention, in the third preferred embodiment of the present invention the numbers of frames of the codevectors and the output vectors used for calculation of the best evaluation value are switched in dependence on the character of the input speech signal.
More specifically, the fifth preferred embodiment of the present invention comprises means (316 in Fig. 5) for determining an interval from the control signal, and means (612 in Fig. 5) for calculating, when the control signal does not take values less 'than the threshold value for a plural ity of continuous frames, prediction coefficient matrix having the best evalua~Lion value from codevectors of a plurality of frames determined by the integration interval and output vectors of a plurality of frames determined by the integration interval_ In a sixth preferred embodiment of the present invention, in the fourth preferred embodiment of the present invention the numbers of frames of the codevectors and the output vectors used for calculation of the best evaluation value are sw itched in dependence on Lhe character of the input speech signal_ More specifically, the sixth preferred embodiment of the present invention comprises means (316 in Fig. 6) For determining integration interval from the control signal, and means (612 in I"ig. 6) for calculating, when the Control signal does not take values no less than threshold value in a plurality of. continuous frames, prediction.
coefficient matrix having 'the best evaluation value from codevectors of a plurality of. frames determined by the integration interval and ou'l;put vectors of a plurality of frames determined by the integration interval_ In the preferred embodiments of tile present invention as mentioned above, the output vector in each frame is predicted from codevectors selected in a plurality of past frames on the basis of the above formula (2), and the resultant error is defined as the predicted error. In each frame, the prediction coefficient matrix of the present frame is calculated, which minimizes the average predicted error in a plurality of immediately preceding frames. The above vector prediction is performed by using the prediction coefficient matrix calculated in each frame.
This means that the prediction coefficient matrix is varied adaptively according to the input 2~; LSP (or input vector). It is thus possible to obtain satisfactory prediction performance for various input vectors.
In usual vector prediction, the input vectox' noted above is made to be desired vector.
According to the present invention, the above output vector is made to be desired vector instead of the input vector under an assumption that the error between the output and input vectors is sufficiently small.
According to the present invention, as des-cribed above, the prediction coefficient matrix is obtained by using decoded signal. This means that prediction coefficient matrix calculation may be made on the receiving side in the same process as that on the transmitting side. Thus, no prediction coefficient matrix data need be transmitted.
According to the present invention, the processes of the LSP prediction coding method in the first to sixth preferred embodiments of the present invention may be realized by program execution on a data processor.
A first advantage of the present invention is that satisfactory prediction performance can be obtained irrespective of input vector supplied to the prediction coder since the adaptive variation of prediction coefficient matrix according to the input vector.
A second advantage of the present invention is that no prediction coefficient matrix data need be transmitted. This is so because the prediction coefficient matrix can be calculated on the receiving side by the same process as in the transmitting side.
Other objects and features will be clarified from the following description with reference to attached drawings.
Fig. 1 is a block diagram showing a first embodiment of the present invention;
Fig. 2 is a block diagram showing a second embodiment of the present invention;
Fig. 3 is a block diagram showing a third embodiment of the present invention;
Fig. 4 is a block diagram showing a fourth 15a embodiment of the present invention;
Fig. 5 is a block diagram showing a fifth embodiment of the present invention;
Fig. 6 is a block diagram showing a sixth embodiment of the present invention; and Fig. 7 is a block diagram showing the prior art LSP prediction coder.
The above preferred embodiments of the present invention will now be described in greater details in conjunction with embodiments of the present invention with reference to the accompanying drawings.
Fig. 1 is a block diagram showing a first embodiment of the present invention. Referring to the Figure, n-th frame input vector x(n) is supplied from an input terminal 10. First memory 213 receives and accumulates n-th frame codevector c(n) supplied from a quantizer 110. Adder 130 receives the codevector c(n) and n-th frame prediction vector x-(n) supplied from a predictor 111, and obtains and provides to an output terminal 11 output vector q(n) by adding together the codevector c(n) and the predicted vector x-(n) .
A second memory 214 receives and accumulates the output vector q(n). A prediction coefficient calculator 212 receives codevectors c(n-j) (j=2, . . . ,N) of past (N+M-1) frames from the first memory 213 and also output vectors q(n-j) (j=1,...,N) from the second. memory 214, and calculates and provides prediction coefficient matrix Ai(n) (i = 1, ..., M) which minimizes n-th frame prediction error energy E(n) given by the following formula (12).
N M
E(n)=~ q(n- j)-~A;(n)~c(n- j-i) (12) ~-t ~-t The prediction coefficient matrix Ai(n) (i=1,...,M) is expressed by the following formula (13).
a;.tt (n)' . . a~,tP (n ) A;(n) _ ~ ~ (13) aa.Pt(n)' . .a~,PP (n) (P'P'M)-th vector ~.(n) is defined by the following formula (14) by using prediction coefficient matrix elements ai,~k(n) (i=1,...,M, j, k=
1,...,P).
'~(n) - Lat.tt(n)~ ~ ~ ~ at.tP(n), ..., a~.pOn)~
a~.PP(n), ~ ~, aM.tt(n)~ ~ ~,ar,.~P(n), ..,aM.Pt(n), ~ ~, ar,.PP(n)]T
... (14) (P'P'M) x P Matrix V(n) is defined by the formula (6), i.e., defined as:
V(n) - [Ft(n) FZ(n) .. . FM(n)~
(P'P) x P submatrix F;(n) (i=1,...,M) is expressed by the formula (7) by using elements c~(n) (j=0,...,P-1) of the codevector c(n), i_e., expressed by the following formula (14).
~n(n -1)' . .~~~,.~(» ' l) C) . .. C) p . .. C) () ... 0 ~o(n-~) ...~1_~(yj_i)() ... (]
. , t~ () . . . () 0 1; (n) _ . . . . . . . (14) C~ . .. () U ... tl ~u(» - j)...~~_v(n -~) The n-th ,f..rame prediction vecaor x~( n ) is expressed by the following formula (15) by using matrix (V(n) and vector ~.(n).
is z(n) _-. ~A;(n)c(n-i) ,:, =V (n)~(n) (15) The prediction error energy E(n) given by the formula ( 1.2 ) is 'thus expressed by the following formula (16).
l; n = hI n -V n J~ n ~Z 1G
'( ) ~IIN( 'J) ( -J) ( )f ( ) ~_t ~Ih(~t) l ~)~(n) = U
Simultaneous linear equations of the following formulas (17) are l:hus obtained.
N N
(~~'(n - J)' 1~(n - .l))~(n) _ ~,vT.(n - J)9(n - .l ) (17) By solving the equation (17) for the vector (n), prediction coefficient matrix A,(n) (i=1,...,M) which minimizes the predicted error energy E(n) given by the formula (12) can be obta:lned on the basis of the relationship between the above formulas (13) and (14).
The predictor 111 receives codevectors c(n-i), (i=1,...,M) of past M frames and also the prediction coefficient matrix A,(n) (i=1,...,M), and calculates and supplies the predicted vector ~-(n) given by the formula (2).
A subtracter 120 receives the input vector x(n) and the predicted veCror x-(n), and supplies difference vector e(n) - x(n) - x-(n) representing the difference between the input vector x.(n) and the predicted vec~lor :;-( n ) .
The quanti.zer 110 receives and quantizes the difference vector e(n), and obtains and provides codevector c(n).
This embodiment concerns moving mean prediction, but autoregressive prediction may be realized by substituting the formula (11) for the formula (2). In this case, the formula (12) is substituted by the following formula (18).
N m h(n)_ ~~~(n- j)-~~,(n)'9(n~ t "~)I
Fig. 2 is a block diagram showing a second embodiment of the present invention. Referring to the Figure, n-th frame input speech vector s(n) is supplied from an input terminal 30. A third memory 313 receives and accumulates the input speech vector s(n). Assuming that the frame length is constituted by L samples, the input speech vector s(n) is L-th degree vector given by the following formula (19).
In the formula (19), T represents transposing.
S(n) - fsa(n), ~..~ SL_u(n)lT ... (19) A pitch predicted gain calculator 314 receives the n-th frame input speech vector s(n) and input speech vectors s(n-j) (j=1,....,m+1) of past (m+1) frames, and calculates and provides n-th frame pitch predicted gain gPrd(n) given by the following formula (20).
gp.~(n) = max{ L L i(n)s' d~n)-},d = Ldm~~,...~Ldd",a,~-.. (20) ~,eo S~-d (n) where max {a} expresses selection of the maximum value of a, and s';_a(n) is element of vector s'(n), which is given by the following formula (21).
s' (n) = [s-~ (n)~ . . .~ s_~-~ (n)~ s_,~c (n), . . .~ s_~m-~~L-~ (n)~ . . .{T
_ [sc_~,_",~~ (n - (m + 1)), . . .~ sL-1 (~t - (m + 1)), so (n - m), . . .~ sL-~ (n _ m)~ . . .~T
l = Ld m~~ , ~ . ~~ Ld max ~ m = 0,1, 2, . . . (21) A checker 315 receives the pitch predicted gain gPra(n), and determines and provides n-th frame control signal Vflg(n) as in the following formula (22).
0 f P~ (n) < vrh.o Vth.~ 5 gPcri (n) < Vth~l vf~g(n) - .
(22) Nrh - 2 U~ Nrh-3 5 gp~d (») < V~.Nrh-2 Nd~ - I vrh Nth-2 5 gprd. ln) An integration interval determiner 316 receives the control signal Vfig(n), and determines n-th frame integration interval N~z~(n) given by the following formula (23).
No v f,g (n) = 0 N(z>(n) - (23) NNr~-~ v f ~g (n ) = Nrh w 1 A prediction coefficient calculator 312 receives the integration interval N~z~(n), codevectors c( n-j ) ( j =2, . . . , :H~Z~ ( n ) ) for past N~2~ ( n ) frames from the first memory 213 and output vectors q(n-j ) (J=1, ...,N~z~(n) ) for past N~z~(n) frames from the second memory 214, and calculates and provides prediction coefficient matrix Ai(n) (i=1,...,M) which minimizes n-th frame predicted error energy E«~(n) given by the following formula (24).
N 2 n) M
q(n - J) - ~ AOn)' ~(n - J - ~) (24) ,.
The prediction coefficient matrix Ai(n) (i=1,...,M) can be obtained in a manner similar to that in the first embodiment. Input terminal 10, first memory 213, adder 130, second memory 214, predictor 111, subtracter 120, quantizer 110 and output terminal 11 are like those in the first embodiment, and are not described.
This embodiment concerns moving mean prediction. Autoregressive prediction can be realized by substituting the formula (11) for the formula (2). In this case, the formula (24) is substituted by the formula (25).
N 2 n) M
R'(n - J) - ~ ~ (n)' q(~ - J - i) (25) ~=t ~-t Fig. 3 is a block diagram showing a third embodiment of the present invention. In the Figure, elements like or equivalent to those in Fig. 2 are designated by like referencE: numerals and symbols.
Mainly the difference of this embodiment from the embodiment shown in Fig. 2 will now be described.
Referring to Fig. 3, a fourth memory 413 receives and accumulates control signal Vftg(n). A
prediction coefficient calculator 412 receives n-th frame control signal Vflg(n) and control signals Vflg(n-j ) ( j=1, . . .,M) of past K frames. When the control signal Vflg(n) does not satisfy the following formula (26).
(v f ~g (n) z N~h ) n (v f n (n -1) a .N~ ) (~
...n(vf~g(n_K)aN~,) (26) the prediction coefficient calculator 412 receives codevectors c(n-j) (j=2,...,N+M) of past (N+M-1) frames from the first memory 213 and also output vectors q(n-j) (j=1,...,N) of past N frames from the second memory 214, and calculates and provides prediction coefficient matrix Ai(n) (i=1,...,M) which minimizes the predicted error energy E(n) given by the formula (12). Expression A fl B means that both the conditional formulas are true.
The prediction coefficient matrix Ai(n) (i=1,...,M) can be obtained in a manner similar to that in the first embodiment.
A selector 415 receives n-th frame control signal Vflg( n ) and control signal Vflg( n-j ) (j=1,...,K). When the control signal vfl9(n) satisfies the formula (26), the selector 415 receives prediction coefficient matrix Ai(n-i) (i=1, ...,M) selected in the preceding frame from a fifth memory 414, and provides the same as:
Ai(n) - Ai(n-1), (i=1, ". M) ... (27) When the control signal Vfl9(n) does not satisfy the formula (26), the selector 415 receives and provides prediction coefficient matrix Ai(n) (i=1,...,M) from a prediction coefficient calculator 412.
The fifth memory 414 receives and holds prediction coefficient matrix Ai(n) (i=1,...,M) selected in n-th frame.
Input terminal 10, first memory 213, adder 130, second memory 214, predictor 111, subtracter 120, quantizer 110, output terminal 11, input terminal 30, third memory 313, pitch predicted gain calculator 314 and checker 315 are like those in the second embodiment in the construction and function, and are not described.
This embodiment concerns moving mean prediction. Autoregressive prediction can be obtained by substituting the formula (11) for the formula (2). In this case, the formula (12) is substituted by the formula (18).
Fig. 4 is a block diagram showing a fourth embodiment of the present invention. Referring to the Figure, a prediction coefficient calculator 512 receives n-th frame control signal Vflg(n) and control signals vflg( n-j ) ( j =1, . . . , M ) for past K
frames. When the control signal Vflg(n) satisfies neither the formula (26) nor the following formula (28), vflg ( n ) < Nth" ( Nth' ) ( 28 ) the prediction coefficient calCUla~l;or 512 receives Code vectors c ( n- j ) ( j =2, . . . , N+M ) for past ( N~~:~I-1 ) frames from the first memory 213 and also output vectors q(n-j) (j=1,.._,N) for past N frames from the second memory 214, and calculates and provides prediction coef f icient matrix A; ( n ) ( i=1, . . . , b1 ) cahich minimizes the predicted error energy E(n) given by the formu7.a (12).
The prediction coefficient formula A1(n) (i=1,...;i~1) can be obtained in a manner similar to that in the first embodiment.
A selector 515 receives the n-th frame control signal vilg(n) and control signals vfl~(n-j) (j=1,...,K) for past K frames. When the control signal vlly( n ) satisfies the formula ( 26 ) , the selector 515 receives and provides prediction coefficient matrix A,~(n) (i.=l, ...,M) given as A1(n) - A1(n-1), (i=1,~..,hl) (29) which has been selected in the fifth memory 414 in the preceding frame_ When the control signal vllg satisfies neither. of the formulas (26) and (28), the selector 515 receives and provides the. prediction coefficient matrix A;,(n) (i = 1, .. , M) from the prediction coefficient calculator 512_ When the conl;rol signal vflg( n ) does not satisfy the formula (26) but satisfies the formula (28), the selector 515 receives the zero matrix 0 via a terminal 50, and from this zero matrix it provides Ai(n) _ 0 (i-1,...,M) (30).
The quantizer 510 receives the difference vector e(n) and the control signal vflg(n), and quantizes the difference vector e(n) by switching the tabl..e (or codebook} of the codevec~:or c(n) in dependence on whether the cony rol signal vfl9(n) does satisfy the formula (28) (i.e., when making no prediction) or does noU; (i.P., when making a prediction).
Input l;erminal 10, firs'L memory 213, adder 130, second memory 214, predictor 111, subtracter 120, output terminal 11, input terminal 30, third memory 313, pitch predicted gain calculator 314, checker 315, and fourth and fifth memories 413 and 414, are like those in the third embodiment, and ar.e not described.
This embodiment concerns moving mean prediction. Autoregressive prediction can be realized by Substituting the formula (11) for the formula (2). In this case, the formula (12) is substituted for by the formula (18).
Fig. 5 is a block diagram showing a fifth embodimen'~ of the present invention. lleferring to the Figure, a prediction coefficient calculator 612 receives integration interval N~'-'(n) fron the integration interval determiner 316, n-th f.rame control sianal vpl9(n) and control signals vr~y(n-j ) (j=1,...,K) for past K f.rames_ When the control signal vflg(n) does not satisfy the formula (26), the prediction coefficient calculator 612 receives codevectors c(n-j) (j=2,...,N~z~(n)+M) for past (N~2~(n)+M-1) frames from the first memory 213 and also output vectors q(n-j) (j=1,...,N~2~(n)) for past N~z~(n) frames, and calculates and provides prediction coefficient matrix Ai(n) (i=1,...,M) which minimizes the predicted error energy E~2~(n) given by the formula (24). The predicted error matrix Ai(n) (i=1,...,M) can be obtained in a manner similar to that in the first embodiment.
Input terminal 10, first memory 213, adder 130, second memory 214, predictor 111, subtracter 120, quantizer 110, output terminal 11, input terminal 30, third memory 313, pitch predicted gain calculator 314, checker 315, fourth memory 413, selector 415, fifth memory 414 and integration interval determiner 316 are like those in the third embodiment, and are not described.
The above embodiment concern moving mean prediction. Autoregressive prediction can be realized by substituting the formula (2) for the formula (11). In this case, the formula (24) is substituted for by the formula (25).
Fig. 6 is a block diagram showing a sixth embodiment of the present invention. Referring to Fig. 6, this embodiment is obtained by adding integration interval determiner 316 to the fourth embodiment shown in Fig. 4. Input terminal 10, first memory 213, adder 130, second memory 214, predictor 111, subtracter 120, quantizer 510, output terminal 11, input terminal 30, third memory 313, pitch predicted gain calculator 314, checker 315, fourth memory 413, selector 515 and fifth memory 414 are like those in the fourth embodiment; and integration interval determiner 316 and prediction coefficient calculator 612 are like those in the fifth embodiment.
This embodiment concerns moving mean prediction. Autoregressive prediction can be realized by substituting the formula (2) for the formula (11) . In this case, the formula (24) is substituted for by the formula (25) .
As has been described in the foregoing, according to the present invention the following advantages are obtainable.
Changes in construction will occur to those skilled in the art and various apparently different modifications and embodiments may be made without departing from the scope of the present invention. The matter set forth a.n the foregoing description and accompanying drawings is offered by way of illustration only. It is therefore intended that the foregoing description be regarded as illustrative rather than limiting.
Claims (36)
1. An LSP prediction coding method comprising the steps of:
calculating a prediction vector for predicting an input vector of a present frame from code-vectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame;
selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector;
calculating and accumulating an output vector of the present frame by adding together the pre-diction vector and the codevector of the present frame; and calculating a prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated codevectors of a plurality of past frames and accumulated output vectors of a plurality of past frames.
calculating a prediction vector for predicting an input vector of a present frame from code-vectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame;
selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector;
calculating and accumulating an output vector of the present frame by adding together the pre-diction vector and the codevector of the present frame; and calculating a prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated codevectors of a plurality of past frames and accumulated output vectors of a plurality of past frames.
2. An LSP prediction coding method comprising the steps of:
calculating a prediction vector for predicting an input vector of a present frame from code-vectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame;
selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector;
calculating and accumulating an output vector of the present frame by adding together the pre-diction vector and the codevector of the present frame;
accumulating an input speech signal of the present frame and calculating a pitch predicted gain from the input speech signal of the present frame and accumulated input speech signals of a plurality of past frames;
determining a control signal of the present frame from the calculated pitch predicted gain; and calculating a prediction coefficient matrix of the present frame having the best evaluation value from accumulated codevectors of a plurality of past frames determined by the control signal and accumulated output vectors of a plurality of past frames determined by the control signal.
calculating a prediction vector for predicting an input vector of a present frame from code-vectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame;
selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector;
calculating and accumulating an output vector of the present frame by adding together the pre-diction vector and the codevector of the present frame;
accumulating an input speech signal of the present frame and calculating a pitch predicted gain from the input speech signal of the present frame and accumulated input speech signals of a plurality of past frames;
determining a control signal of the present frame from the calculated pitch predicted gain; and calculating a prediction coefficient matrix of the present frame having the best evaluation value from accumulated codevectors of a plurality of past frames determined by the control signal and accumulated output vectors of a plurality of past frames determined by the control signal.
3. An LSP prediction coding method comprising the steps of:
calculating a prediction vector for predicting an input vector of a present frame from code-vectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame;
selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector;
calculating and accumulating an output vector of the present frame by adding together the pre-diction vector and the codevector of the present frame;
accumulating an input speech signal of the present frame and calculating a pitch predicted gain from the input speech signal of the present frame and accumulated input speech signals of a plurality of past frames;
determining a control signal of the present frame from the pitch predicted gain and accumu-lating the control signal;
substituting, when the control signal does take values no less than a predetermined threshold value in a plurality of continuous frames, a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame; and calculating, when the control signal does not take values no less than the threshold value in a plurality of continuous frames, a prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated codevectors of a plurality of past frames and accumulated output vectors of a plurality of past frames.
calculating a prediction vector for predicting an input vector of a present frame from code-vectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame;
selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector;
calculating and accumulating an output vector of the present frame by adding together the pre-diction vector and the codevector of the present frame;
accumulating an input speech signal of the present frame and calculating a pitch predicted gain from the input speech signal of the present frame and accumulated input speech signals of a plurality of past frames;
determining a control signal of the present frame from the pitch predicted gain and accumu-lating the control signal;
substituting, when the control signal does take values no less than a predetermined threshold value in a plurality of continuous frames, a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame; and calculating, when the control signal does not take values no less than the threshold value in a plurality of continuous frames, a prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated codevectors of a plurality of past frames and accumulated output vectors of a plurality of past frames.
4. An LSP prediction coding method comprising the steps of:
calculating a prediction vector for predicting input vector of a present frame from codevectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame;
selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector;
calculating and accumulating an output vector of the present frame by adding together the pre-diction vector and the codevector of the present frame;
accumulating an input speech signal of the present frame and calculating a pitch predicted gain from the input speech signal of the present frame and accumulated input speech signals of a plurality of past frames;
determining a control signal of the present frame from the pitch predicted gain and accumulating the control signal;
substituting, when the control signal does take values no less than a predetermined first threshold value in a plurality of continuous frames, a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame;
calculating, when the control signal does not take values no less than the first threshold value in a plurality of continuous frames and does take a value no less than a predetermined second threshold value in the present frame, a prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated codevectors of a plurality of past frames and accumulated output vectors of a plurality of past frames;
making the prediction coefficient matrix of the present frame to be zero matrix when the control signal does not take values no less than the first threshold value in a plurality of continuous frames and does take a value less than the second threshold value in the present frame; and switching codevector tables in quantizing means in dependence on the magnitude relation between the value of the control signal of the present frame and the second threshold value.
calculating a prediction vector for predicting input vector of a present frame from codevectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame;
selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector;
calculating and accumulating an output vector of the present frame by adding together the pre-diction vector and the codevector of the present frame;
accumulating an input speech signal of the present frame and calculating a pitch predicted gain from the input speech signal of the present frame and accumulated input speech signals of a plurality of past frames;
determining a control signal of the present frame from the pitch predicted gain and accumulating the control signal;
substituting, when the control signal does take values no less than a predetermined first threshold value in a plurality of continuous frames, a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame;
calculating, when the control signal does not take values no less than the first threshold value in a plurality of continuous frames and does take a value no less than a predetermined second threshold value in the present frame, a prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated codevectors of a plurality of past frames and accumulated output vectors of a plurality of past frames;
making the prediction coefficient matrix of the present frame to be zero matrix when the control signal does not take values no less than the first threshold value in a plurality of continuous frames and does take a value less than the second threshold value in the present frame; and switching codevector tables in quantizing means in dependence on the magnitude relation between the value of the control signal of the present frame and the second threshold value.
5. An LSP prediction coding method comprising the steps of:
calculating a prediction vector for predicting an input vector of a present frame from code-vectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame;
selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector;
calculating and accumulating an output vector of the present frame by adding together the pre-diction vector and the codevector of the present frame;
accumulating an input speech signal of the present frame, calculating a pitch predicted gain from the input signal of the present frame and accumulated input signals of a plurality of past frames, determining a control signal of the present frame from the pitch predicted gain and accumulating the control signal;
substituting, when the control signal does take values no less than a predetermined threshold value in a plurality of continuous frames, a pre-determined coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame; and calculating, when the control signal does not take values no less than the predetermined threshold values in a plurality of continuous frames, a prediction coefficient matrix of the present frame having the best evaluation value from accumulated codevectors of a plurality of past frames determined by the control signal and accumulated output vectors of a plurality of past frames determined by the control signal.
calculating a prediction vector for predicting an input vector of a present frame from code-vectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame;
selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector;
calculating and accumulating an output vector of the present frame by adding together the pre-diction vector and the codevector of the present frame;
accumulating an input speech signal of the present frame, calculating a pitch predicted gain from the input signal of the present frame and accumulated input signals of a plurality of past frames, determining a control signal of the present frame from the pitch predicted gain and accumulating the control signal;
substituting, when the control signal does take values no less than a predetermined threshold value in a plurality of continuous frames, a pre-determined coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame; and calculating, when the control signal does not take values no less than the predetermined threshold values in a plurality of continuous frames, a prediction coefficient matrix of the present frame having the best evaluation value from accumulated codevectors of a plurality of past frames determined by the control signal and accumulated output vectors of a plurality of past frames determined by the control signal.
6. An LSP prediction coding method comprising the steps of:
calculating a prediction vector for predicting an input vector of a present frame from code-vectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame;
selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector;
calculating and accumulating an output vector of the present frame by adding together the pre-diction vector and the codevector of the present frame;
accumulating an input speech signal of the present frame and calculating a pitch predicted gain from the input speech signal of the present frame and accumulated input speech signals of a plurality of past frames;
determining a control signal of the present frame from the pitch predicted gain and accumulating the control signal;
substituting, when the control signal does take values no less than a predetermined first threshold value in a plurality of continuous frames, a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame;
calculating, when the control signal does not take values no less than the first threshold value in a plurality of continuous frames and does take a value no less than a predetermined second threshold value in the present frame, a prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated codevectors of a plurality of past frames determined by the control signal and accumulated output vectors of a plurality of past frames determined by the control signal;
making the prediction coefficient matrix of the present frame to be zero matrix when the control signal does not take values no less than the first threshold value in a plurality of continuous frames and does take a value less than the second value in the present frame; and switching codevector tables in quantizing means in dependence on the magnitude relation between the value of the control signal of the present frame and the second threshold value.
calculating a prediction vector for predicting an input vector of a present frame from code-vectors of a plurality of selected past frames and a calculated prediction coefficient matrix of the present frame;
selecting and accumulating a codevector of the present frame by quantizing the difference between the prediction vector and the input vector;
calculating and accumulating an output vector of the present frame by adding together the pre-diction vector and the codevector of the present frame;
accumulating an input speech signal of the present frame and calculating a pitch predicted gain from the input speech signal of the present frame and accumulated input speech signals of a plurality of past frames;
determining a control signal of the present frame from the pitch predicted gain and accumulating the control signal;
substituting, when the control signal does take values no less than a predetermined first threshold value in a plurality of continuous frames, a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame;
calculating, when the control signal does not take values no less than the first threshold value in a plurality of continuous frames and does take a value no less than a predetermined second threshold value in the present frame, a prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated codevectors of a plurality of past frames determined by the control signal and accumulated output vectors of a plurality of past frames determined by the control signal;
making the prediction coefficient matrix of the present frame to be zero matrix when the control signal does not take values no less than the first threshold value in a plurality of continuous frames and does take a value less than the second value in the present frame; and switching codevector tables in quantizing means in dependence on the magnitude relation between the value of the control signal of the present frame and the second threshold value.
7. The LSP prediction coding method according to claim 1, comprising the steps of:
calculating prediction vector for predicting input vector of present frame from output vectors of a plurality of past frames and a calculated prediction coefficient matrix of the present frame;
and calculating prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated output vectors of a plurality of past frames.
calculating prediction vector for predicting input vector of present frame from output vectors of a plurality of past frames and a calculated prediction coefficient matrix of the present frame;
and calculating prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated output vectors of a plurality of past frames.
8. The LSP prediction coding method according to claim 2, comprising the steps of:
calculating prediction vector for predicting input vector of present frame from output vectors of a plurality of past frames and a calculated prediction coefficient matrix of the present frame;
and calculating prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated output vectors of a plurality of past frames determined by the control signal.
calculating prediction vector for predicting input vector of present frame from output vectors of a plurality of past frames and a calculated prediction coefficient matrix of the present frame;
and calculating prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated output vectors of a plurality of past frames determined by the control signal.
9. The LSP prediction coding method according to claim 3, comprising the steps of:
calculating prediction vector for predicting input vector of present frame from output vectors of a plurality of past frames and a calculated prediction coefficient matrix of the present frame;
and calculating, when the control signal does not take values no less than the predetermined threshold values in a plurality of continuous frames, prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated output vectors of a plurality of past frames.
calculating prediction vector for predicting input vector of present frame from output vectors of a plurality of past frames and a calculated prediction coefficient matrix of the present frame;
and calculating, when the control signal does not take values no less than the predetermined threshold values in a plurality of continuous frames, prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated output vectors of a plurality of past frames.
10. The LSP prediction coding method according to claim 4, comprising the steps of:
calculating prediction vector for predicting input vector of present frame from output vectors of a plurality of past frames and a calculated prediction coefficient matrix of the present frame;
and calculating, when the control signal does not take values no less than the first threshold value in a plurality of continuous frames and does not take a value no less than a predetermined second threshold value in the present frame, prediction coefficient matrix of the present frame having the best evaluation value from accumulated output vectors of a plurality of past frames.
calculating prediction vector for predicting input vector of present frame from output vectors of a plurality of past frames and a calculated prediction coefficient matrix of the present frame;
and calculating, when the control signal does not take values no less than the first threshold value in a plurality of continuous frames and does not take a value no less than a predetermined second threshold value in the present frame, prediction coefficient matrix of the present frame having the best evaluation value from accumulated output vectors of a plurality of past frames.
11. The LSP prediction coding method according to claim 5, comprising the steps of:
calculating prediction vector for predicting input vector of present frame from output vectors of a plurality of past frames and a calculated prediction coefficient matrix of the present frame;
and calculating, when the control signal does not take values no less than the threshold value in a plurality of continuous frames, prediction coefficient matrix of the present frame having the best evaluation value from accumulated output vectors of a plurality of past frames determined by the control signal.
calculating prediction vector for predicting input vector of present frame from output vectors of a plurality of past frames and a calculated prediction coefficient matrix of the present frame;
and calculating, when the control signal does not take values no less than the threshold value in a plurality of continuous frames, prediction coefficient matrix of the present frame having the best evaluation value from accumulated output vectors of a plurality of past frames determined by the control signal.
12. The LSP prediction coding method according to claim 6, comprising the steps of:
calculating prediction vector for predicting input vector of present frame from output vectors of a plurality of past frames and a calculated prediction coefficient matrix of the present frame;
and calculating, when the control signal does not take values no less than the first threshold value in a plurality of continuous frames and does take a value no less than a predetermined second threshold value in the present frame, prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated output vectors of a plurality of past frames determined by the control signal.
calculating prediction vector for predicting input vector of present frame from output vectors of a plurality of past frames and a calculated prediction coefficient matrix of the present frame;
and calculating, when the control signal does not take values no less than the first threshold value in a plurality of continuous frames and does take a value no less than a predetermined second threshold value in the present frame, prediction coefficient matrix of the present frame having the best evaluation value calculated from accumulated output vectors of a plurality of past frames determined by the control signal.
13. An LSP prediction coding apparatus comprising:
means for calculating a predicted vector from codevectors of a plurality of selected past frames and a prediction coefficient matrix;
first memory means for accumulating a code-vector obtained by quantizing the difference between the predicted vector and an input vector;
second memory means for accumulating an output vector as the sum of the predicted vector and the codevector; and means for calculating a predicted coefficient matrix having the best evaluation value calculated from accumulated codevectors of a plurality of frames and accumulated output vectors of a plurality of frames.
means for calculating a predicted vector from codevectors of a plurality of selected past frames and a prediction coefficient matrix;
first memory means for accumulating a code-vector obtained by quantizing the difference between the predicted vector and an input vector;
second memory means for accumulating an output vector as the sum of the predicted vector and the codevector; and means for calculating a predicted coefficient matrix having the best evaluation value calculated from accumulated codevectors of a plurality of frames and accumulated output vectors of a plurality of frames.
14. An LSP prediction coding apparatus comprising:
means for calculating a predicted vector from codevectors of a plurality of selected past frames and a prediction coefficient matrix;
first memory means for accumulating a codevector obtained by quantizing the difference between the predicted vector and an input vector;
second memory means for accumulating an output vector as the sum of the predicted vector and the codevector;
third memory means for accumulating an input speech signal;
means for calculating a pitch predicted gain from the input speech signal;
means for determining a control signal from the pitch predicted gain;
means for determining an integration interval from the control signal; and means for calculating a prediction coefficient matrix having the best evaluation value from codevectors of a plurality of frames determined by the integration interval and output vectors of a plurality of frames determined by the integration interval;
the numbers of frames of the codevectors and the output vectors used for calculation of the best evaluation value being switched in dependence on the character of the input speech signal.
means for calculating a predicted vector from codevectors of a plurality of selected past frames and a prediction coefficient matrix;
first memory means for accumulating a codevector obtained by quantizing the difference between the predicted vector and an input vector;
second memory means for accumulating an output vector as the sum of the predicted vector and the codevector;
third memory means for accumulating an input speech signal;
means for calculating a pitch predicted gain from the input speech signal;
means for determining a control signal from the pitch predicted gain;
means for determining an integration interval from the control signal; and means for calculating a prediction coefficient matrix having the best evaluation value from codevectors of a plurality of frames determined by the integration interval and output vectors of a plurality of frames determined by the integration interval;
the numbers of frames of the codevectors and the output vectors used for calculation of the best evaluation value being switched in dependence on the character of the input speech signal.
15. An LSP prediction coding apparatus comprising:
means for calculating a predicted vector from codevectors of a plurality of selected past frames and a prediction coefficient matrix;
first memory means for accumulating a codevector obtained by quantizing the difference between the predicted vector and an input vector;
second memory means for accumulating an output vector as the sum of the predicted vector and the codevector;
third memory means for accumulating an input speech signal;
means for calculating a pitch predicted gain from the input speech signal;
means for determining a control signal from the pitch predicted gain;
means for accumulating the control signal;
means for calculating, when the control signal does not take values no less than a predetermined threshold value in a plurality of continuous frames, a prediction coefficient matrix having the best evaluation value calculated from accumulated codevectors of a plurality of frames and output vectors of a plurality of frames;
means for substituting, when the control signal does take values no less than the threshold value in a plurality of continuous frames, a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame, and selecting and providing, when the control signal does not take values no less than the threshold value in a plurality of continuous frames, the prediction coefficient matrix calculated in the present frame; and means for holding the prediction coefficient matrix;
the prediction coefficient matrix of the present frame being used without making prediction coefficient matrix calculation when the input speech signal is readily predictable in a plurality of continuous frames, thereby reducing computational effort.
means for calculating a predicted vector from codevectors of a plurality of selected past frames and a prediction coefficient matrix;
first memory means for accumulating a codevector obtained by quantizing the difference between the predicted vector and an input vector;
second memory means for accumulating an output vector as the sum of the predicted vector and the codevector;
third memory means for accumulating an input speech signal;
means for calculating a pitch predicted gain from the input speech signal;
means for determining a control signal from the pitch predicted gain;
means for accumulating the control signal;
means for calculating, when the control signal does not take values no less than a predetermined threshold value in a plurality of continuous frames, a prediction coefficient matrix having the best evaluation value calculated from accumulated codevectors of a plurality of frames and output vectors of a plurality of frames;
means for substituting, when the control signal does take values no less than the threshold value in a plurality of continuous frames, a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame, and selecting and providing, when the control signal does not take values no less than the threshold value in a plurality of continuous frames, the prediction coefficient matrix calculated in the present frame; and means for holding the prediction coefficient matrix;
the prediction coefficient matrix of the present frame being used without making prediction coefficient matrix calculation when the input speech signal is readily predictable in a plurality of continuous frames, thereby reducing computational effort.
16. An LSP prediction coding apparatus comprising:
means for calculating a predicted vector from codevectors of a plurality of selected past frames and a prediction coefficient matrix;
first memory means for accumulating a code-vector obtained by quantizing the difference between the predicted vector and an input vector;
second memory means for accumulating an output vector as the sum of the predicted vector and the codevector;
third memory means for accumulating an input speech signal;
means for calculating a pitch predicted gain from the input speech signal;
means for determining a control signal from the pitch predicted gain;
means for accumulating the control signal;
means for calculating, when the control signal does not take values no less than a predetermined first threshold value in a plurality of continuous frames and does take a value no less than a predetermined second threshold value, a prediction coefficient matrix having the best evaluation value calculated from accumulated codevectors of a plurality of frames and accumulated output vectors of a plurality of frames;
means for substituting for and providing a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame when the control signal does take values no less than the first threshold value, selecting and providing the prediction coefficient matrix calculated in the present frame when the control signal does not take values no less than the first threshold value for a plurality of continuous frames and does take a value no less than the second threshold value, and making the prediction coefficient matrix to be zero matrix when the control signal does take a value less than the second threshold value;
means for holding the prediction coefficient matrix;
quantizing means for switching codevector tables in dependence on the magnitude relation between the value of the control signal and the second threshold value;
the.prediction coefficient matrix of the immediately preceding frame being used without making prediction coefficient matrix calculation when the input speech signal can be readily predicted in a plurality of continuous frames, thus reducing computational effort, and no prediction being done in a frame in which it is difficult to predict the input speech signal.
means for calculating a predicted vector from codevectors of a plurality of selected past frames and a prediction coefficient matrix;
first memory means for accumulating a code-vector obtained by quantizing the difference between the predicted vector and an input vector;
second memory means for accumulating an output vector as the sum of the predicted vector and the codevector;
third memory means for accumulating an input speech signal;
means for calculating a pitch predicted gain from the input speech signal;
means for determining a control signal from the pitch predicted gain;
means for accumulating the control signal;
means for calculating, when the control signal does not take values no less than a predetermined first threshold value in a plurality of continuous frames and does take a value no less than a predetermined second threshold value, a prediction coefficient matrix having the best evaluation value calculated from accumulated codevectors of a plurality of frames and accumulated output vectors of a plurality of frames;
means for substituting for and providing a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame when the control signal does take values no less than the first threshold value, selecting and providing the prediction coefficient matrix calculated in the present frame when the control signal does not take values no less than the first threshold value for a plurality of continuous frames and does take a value no less than the second threshold value, and making the prediction coefficient matrix to be zero matrix when the control signal does take a value less than the second threshold value;
means for holding the prediction coefficient matrix;
quantizing means for switching codevector tables in dependence on the magnitude relation between the value of the control signal and the second threshold value;
the.prediction coefficient matrix of the immediately preceding frame being used without making prediction coefficient matrix calculation when the input speech signal can be readily predicted in a plurality of continuous frames, thus reducing computational effort, and no prediction being done in a frame in which it is difficult to predict the input speech signal.
17. The LSP prediction coding apparatus according to claim 15, comprising:
means for determining integration interval from the control signal; and means for calculating, when the control signal does not take values less than the threshold value for a plurality of continuous frames, prediction coefficient matrix having the best evaluation value calculated from codevectors of a plurality of frames determined by the integration interval and output vectors of a plurality of frames determined by the integration interval.
means for determining integration interval from the control signal; and means for calculating, when the control signal does not take values less than the threshold value for a plurality of continuous frames, prediction coefficient matrix having the best evaluation value calculated from codevectors of a plurality of frames determined by the integration interval and output vectors of a plurality of frames determined by the integration interval.
18. The LSP prediction coding apparatus according to claim 16, comprising:
means for determining integration interval from the control signal; and means for calculating, when the control signal does not take values no less than a threshold value in a plurality of continuous frames, prediction coefficient matrix having the best evaluation value calculated from codevectors of a plurality of frames determined by the integration interval and output vectors of a plurality of frames determined by the integration interval.
means for determining integration interval from the control signal; and means for calculating, when the control signal does not take values no less than a threshold value in a plurality of continuous frames, prediction coefficient matrix having the best evaluation value calculated from codevectors of a plurality of frames determined by the integration interval and output vectors of a plurality of frames determined by the integration interval.
19. A method for coding an input vector of a present frame using LSP prediction coding, the method comprising the acts of:
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame, the prediction vector being used to predict the input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
and calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame.
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame, the prediction vector being used to predict the input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
and calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame.
20. A method for coding, an input vector of a present frame using LSP prediction coding the method comprising the acts of:
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated codevectors and from the calculated prediction coefficient matrix of the present frame, the prediction vector being used to predict the input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signals for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame ;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and from the accumulated input speech signals; and determining a control signal for the present frame from the pitch predicted gain of the present frame.
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated codevectors and from the calculated prediction coefficient matrix of the present frame, the prediction vector being used to predict the input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signals for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame ;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and from the accumulated input speech signals; and determining a control signal for the present frame from the pitch predicted gain of the present frame.
21. A method for coding an input vector of a present frame using LSP prediction coding, the method comprising the acts of:
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame, the prediction vector being used to predict the input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signals from frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and from the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals, the control signals being determined from the pitch predicted gain of a respective frame, each control signal having a control signal value;
determining a control signal for the present frame from the pitch predicted gain of the present frame and the accumulated control signals;
substituting a prediction coefficient matrix of the frame immediately preceding the present frame for the prediction coefficient matrix of the present frame when all of the control signal values of the accumulated control signals, are not less than a predetermined threshold value.
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame, the prediction vector being used to predict the input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signals from frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and from the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals, the control signals being determined from the pitch predicted gain of a respective frame, each control signal having a control signal value;
determining a control signal for the present frame from the pitch predicted gain of the present frame and the accumulated control signals;
substituting a prediction coefficient matrix of the frame immediately preceding the present frame for the prediction coefficient matrix of the present frame when all of the control signal values of the accumulated control signals, are not less than a predetermined threshold value.
22. A method for coding an input vector of a present frame using LSP prediction coding, the method comprising the acts of:
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame, the prediction vector being used to predict an input vector of the present frame;
accumulating input speech signals for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame ;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals, the control signals being determined from the pitch predicted gain of a respective frame;
determining a control signal for the present frame from the pitch predicted gain of the present frame and the accumulated control signals;
each control signal having a control signal value;
substituting a prediction coefficient matrix of the frame immediately preceding the present frame for the prediction coefficient matrix of the present frame, when all of the control signal values of the accumulated signals are not less than a predetermined first threshold value;
using the prediction coefficient matrix of the present frame, when a control signal value of any of the accumulated control signals is less than the first threshold value and the control signal value in the present frame is not less than a pre-determined second threshold value;
setting the value of the prediction coefficient matrix of the present frame to be a zero matrix when any of the control signal values in the accumulated control signals is less than the first threshold value and the control signal value in the present frame is less than the second threshold value; and switching from among a plurality of codevector tables used in calculating the codevector for the present frame when the control signal value in the present frame is less than the second threshold value.
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame, the prediction vector being used to predict an input vector of the present frame;
accumulating input speech signals for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame ;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals, the control signals being determined from the pitch predicted gain of a respective frame;
determining a control signal for the present frame from the pitch predicted gain of the present frame and the accumulated control signals;
each control signal having a control signal value;
substituting a prediction coefficient matrix of the frame immediately preceding the present frame for the prediction coefficient matrix of the present frame, when all of the control signal values of the accumulated signals are not less than a predetermined first threshold value;
using the prediction coefficient matrix of the present frame, when a control signal value of any of the accumulated control signals is less than the first threshold value and the control signal value in the present frame is not less than a pre-determined second threshold value;
setting the value of the prediction coefficient matrix of the present frame to be a zero matrix when any of the control signal values in the accumulated control signals is less than the first threshold value and the control signal value in the present frame is less than the second threshold value; and switching from among a plurality of codevector tables used in calculating the codevector for the present frame when the control signal value in the present frame is less than the second threshold value.
23. A method for coding an input vector of a present frame using LSP prediction coding, the method comprising the acts of:
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame, the prediction vector being used to predict an input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signal for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame;
calculating a pitch predicted gain for the present frame from the input signal of the present frame and from the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals;
determining a control signal for the present frame from the pitch predicted gain for the present frame and the accumulated control signals, each control signal having a control signal value;
substituting a predetermined coefficient matrix of the frame immediately preceding the present frame for the prediction coefficient matrix of the present frame, when all of the control signal values of the accumulated control signals are not less than a predetermined threshold value; and using the prediction coefficient matrix of the present frame when a control signal value of any of the accumulated control signals is less than the predetermined threshold value.
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame, the prediction vector being used to predict an input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signal for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame;
calculating a pitch predicted gain for the present frame from the input signal of the present frame and from the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals;
determining a control signal for the present frame from the pitch predicted gain for the present frame and the accumulated control signals, each control signal having a control signal value;
substituting a predetermined coefficient matrix of the frame immediately preceding the present frame for the prediction coefficient matrix of the present frame, when all of the control signal values of the accumulated control signals are not less than a predetermined threshold value; and using the prediction coefficient matrix of the present frame when a control signal value of any of the accumulated control signals is less than the predetermined threshold value.
24. A method for coding an input vector of a present frame using LSP prediction coding, the method comprising the acts of:
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame, said prediction vector used to predict an input vector of a present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signals for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame ;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and from the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals;
determining a control signal for the present frame from the pitch predicted gain of the present frame and the accumulated control signals each control signal having a control signal value;
substituting a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame, when all of the control signal values of the accumulated control signals are not less than a predetermined first threshold value;
using the prediction coefficient matrix of the present frame, when a control signal value of any of the accumulated control signals is less than the first threshold value and the control signal value in the present frame is not less than a predetermined second threshold value;
setting the value of the prediction coefficient matrix of the present frame to be a zero matrix when any of the control signal values in the accumulated control signals is less than the first threshold value and the control signal value in the present frame is less than the second threshold value; and switching from among a plurality of codevector tables used in calculating the codevector for the present frame when the control signal value in the present frame is less than the second threshold value.
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame, said prediction vector used to predict an input vector of a present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signals for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame ;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and from the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals;
determining a control signal for the present frame from the pitch predicted gain of the present frame and the accumulated control signals each control signal having a control signal value;
substituting a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame, when all of the control signal values of the accumulated control signals are not less than a predetermined first threshold value;
using the prediction coefficient matrix of the present frame, when a control signal value of any of the accumulated control signals is less than the first threshold value and the control signal value in the present frame is not less than a predetermined second threshold value;
setting the value of the prediction coefficient matrix of the present frame to be a zero matrix when any of the control signal values in the accumulated control signals is less than the first threshold value and the control signal value in the present frame is less than the second threshold value; and switching from among a plurality of codevector tables used in calculating the codevector for the present frame when the control signal value in the present frame is less than the second threshold value.
25. A method for coding an input vector of a present frame using LSP prediction coding, the method comprising the acts of:
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by quantizing the difference between a prediction vector and a codevector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated output vectors and from the prediction coefficient matrix of the present frame, the prediction vector being used to predict the input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
and calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame.
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by quantizing the difference between a prediction vector and a codevector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated output vectors and from the prediction coefficient matrix of the present frame, the prediction vector being used to predict the input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
and calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame.
26. A method for coding an input vector of a present frame using LSP prediction coding, the method comprising the acts of:
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and the codevector for a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated output vectors and from the calculated prediction coefficient matrix of the present frame, the prediction vector being used to predict the input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signals for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frames ;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and from the accumulated input speech signals; and determining a control signal for the present frame from the pitch predicted gain of the present frame.
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and the codevector for a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated output vectors and from the calculated prediction coefficient matrix of the present frame, the prediction vector being used to predict the input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signals for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frames ;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and from the accumulated input speech signals; and determining a control signal for the present frame from the pitch predicted gain of the present frame.
27. A method for coding an input vector of a present frame using LSP prediction coding, the method comprising the acts of:
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated output vectors and from the prediction coefficient matrix of the present frame, the prediction vector being used to predict the input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signals from frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and from the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals, the control signals being determined from the pitch predicted gain of a respective frame, each control signal having a control signal value;
determining a control signal for the present frame from the pitch predicted gain of the present frame and the accumulated control signals;
substituting a prediction coefficient matrix of the frame immediately preceding the present frame for the prediction coefficient matrix of the present frame when all of the control signal values of the accumulated control signals, are not less than a predetermined threshold value.
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated output vectors and from the prediction coefficient matrix of the present frame, the prediction vector being used to predict the input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signals from frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and from the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals, the control signals being determined from the pitch predicted gain of a respective frame, each control signal having a control signal value;
determining a control signal for the present frame from the pitch predicted gain of the present frame and the accumulated control signals;
substituting a prediction coefficient matrix of the frame immediately preceding the present frame for the prediction coefficient matrix of the present frame when all of the control signal values of the accumulated control signals, are not less than a predetermined threshold value.
28. A method for coding an input vector of a present frame using LSP prediction coding, the method comprising the acts of:
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated output vectors and from the prediction coefficient matrix of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame, the prediction vector being used to predict an input vector of the present frame;
accumulating input speech signals for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals, the control signals being determined from the pitch predicted gain of a respective frame;
determining a control signal for the present frame from the pitch predicted gain of the present frame and the accumulated control signals;
each control signal having a control signal value;
substituting a prediction coefficient matrix of the frame immediately preceding the present frame for the prediction coefficient matrix of the present frame, when all of the control signal values of the accumulated signals are not less than a predetermined first threshold value;
using the prediction coefficient matrix of the present frame, when a control signal value of any of the accumulated control signals is less than the first threshold value and the control signal value in the present frame is not less than a pre-determined second threshold value;
setting the value of the prediction coefficient matrix of the present frame to be a zero matrix when any of the control signal values in the accumulated control signals is less than the first threshold value and the control signal value in the present frame is less than the second threshold value; and switching from among a plurality of codevector tables used in calculating the codevector for the present frame when the control signal value in the present frame is less than the second threshold value.
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated output vectors and from the prediction coefficient matrix of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame, the prediction vector being used to predict an input vector of the present frame;
accumulating input speech signals for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals, the control signals being determined from the pitch predicted gain of a respective frame;
determining a control signal for the present frame from the pitch predicted gain of the present frame and the accumulated control signals;
each control signal having a control signal value;
substituting a prediction coefficient matrix of the frame immediately preceding the present frame for the prediction coefficient matrix of the present frame, when all of the control signal values of the accumulated signals are not less than a predetermined first threshold value;
using the prediction coefficient matrix of the present frame, when a control signal value of any of the accumulated control signals is less than the first threshold value and the control signal value in the present frame is not less than a pre-determined second threshold value;
setting the value of the prediction coefficient matrix of the present frame to be a zero matrix when any of the control signal values in the accumulated control signals is less than the first threshold value and the control signal value in the present frame is less than the second threshold value; and switching from among a plurality of codevector tables used in calculating the codevector for the present frame when the control signal value in the present frame is less than the second threshold value.
29. A method for coding an input vector of a present frame using LSP prediction coding, the method comprising the acts of:
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated output vectors and from the prediction coefficient matrix of the present frame, the prediction vector being used to predict an input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signal for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame;
calculating a pitch predicted gain for the present frame from the input signal of the present frame and from the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals;
determining a control signal for the present frame from the pitch predicted gain for the present frame and the accumulated control signals, each control signal having a control signal value;
substituting, a predetermined coefficient matrix of the frame immediately preceding the present frame for the prediction coefficient matrix of the present frame, when all of the control signal values of the accumulated signals are not less than a predetermined threshold value; and using the prediction coefficient matrix of the present frame when a control signal value of any of the accumulated control signals is less than the predetermined threshold value.
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated output vectors and from the prediction coefficient matrix of the present frame, the prediction vector being used to predict an input vector of the present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signal for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame;
calculating a pitch predicted gain for the present frame from the input signal of the present frame and from the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals;
determining a control signal for the present frame from the pitch predicted gain for the present frame and the accumulated control signals, each control signal having a control signal value;
substituting, a predetermined coefficient matrix of the frame immediately preceding the present frame for the prediction coefficient matrix of the present frame, when all of the control signal values of the accumulated signals are not less than a predetermined threshold value; and using the prediction coefficient matrix of the present frame when a control signal value of any of the accumulated control signals is less than the predetermined threshold value.
30. A method for coding an input vector of a present frame using LSP prediction coding, the method comprising the acts of:
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated output vectors and from the prediction coefficient matrix of the present frame, said prediction vector used to predict an input vector of a present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signals for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and from the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals;
determining a control signal for the present frame from the pitch predicted gain of the present frame and the accumulated control signals;
each control signal having a control signal value;
substituting a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame, when all of the control signal values of the accumulated signals are not less than a predetermined first threshold value;
using the prediction coefficient matrix of the present frame, when a control signal value of any of the accumulated control signals is less than the first threshold value and the control signal value in the present frame is not less than a predetermined second threshold value;
setting the value of the prediction coefficient matrix of the present frame to be a zero matrix when any of the control signal values in said plurality of continuous frames are the accumulated control signals is less than the first threshold value and the control signal value in the present frame is less than the second threshold value; and switching from among a plurality of codevector tables used in calculating the codevector for the present frame when the control signal value in the present frame is less than the second threshold value.
accumulating codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
accumulating output vectors for frames previous to the present frame to produce accumulated output vectors each output vector being produced by adding the prediction vector and the codevector of a respective frame;
calculating a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
calculating the prediction vector for the present frame from the accumulated output vectors and from the prediction coefficient matrix of the present frame, said prediction vector used to predict an input vector of a present frame;
calculating the codevector of the present frame by quantizing the difference between the prediction vector and the input vector of the present frame;
calculating an output vector of the present frame by adding together the prediction vector and the codevector of the present frame;
accumulating input speech signals for frames previous to the present frame to produce accumulated input speech signals;
receiving an input speech signal of the present frame;
calculating a pitch predicted gain for the present frame from the input speech signal of the present frame and from the accumulated input speech signals;
accumulating control signals for frames previous to the present frame to produce accumulated control signals;
determining a control signal for the present frame from the pitch predicted gain of the present frame and the accumulated control signals;
each control signal having a control signal value;
substituting a prediction coefficient matrix of the immediately preceding frame for the prediction coefficient matrix of the present frame, when all of the control signal values of the accumulated signals are not less than a predetermined first threshold value;
using the prediction coefficient matrix of the present frame, when a control signal value of any of the accumulated control signals is less than the first threshold value and the control signal value in the present frame is not less than a predetermined second threshold value;
setting the value of the prediction coefficient matrix of the present frame to be a zero matrix when any of the control signal values in said plurality of continuous frames are the accumulated control signals is less than the first threshold value and the control signal value in the present frame is less than the second threshold value; and switching from among a plurality of codevector tables used in calculating the codevector for the present frame when the control signal value in the present frame is less than the second threshold value.
31. An LSP prediction coding apparatus for coding an input vector of a present frame, said coding apparatus comprising:
a first memory which stores codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
a second memory which stores output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
a prediction coefficient calculator which calculates a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
a predictor which calculates a predicted vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame;
a quantizer which produces the codevector for the present frame by quantizing the difference between the predicted vector and the input vector of the present frame; and an adder which adds together the prediction vector and the codevector of the present frame to produce an output vector of the present frame.
a first memory which stores codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
a second memory which stores output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
a prediction coefficient calculator which calculates a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
a predictor which calculates a predicted vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame;
a quantizer which produces the codevector for the present frame by quantizing the difference between the predicted vector and the input vector of the present frame; and an adder which adds together the prediction vector and the codevector of the present frame to produce an output vector of the present frame.
32. An LSP prediction coding apparatus for coding an input vector of a present frame, said coding apparatus comprising:
a first memory which stores codevectors for frames previous to the present frame to produce accumulated codevectors each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
a second memory which stores output vectors for frames previous to the present frame to produce accumulated output vectors each output vector being produced by adding the prediction vector and the codevector of a respective frame;
a prediction coefficient calculator which calculates a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
a predictor which calculates a predicted vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame;
a third memory which stores input speech signals for frames previous to the present frame to produce accumulated speech signals;
a quantizer which produces the codevector for the present frame by quantizing the difference between the predicted vector and an input vector of the present frame;
a processor which calculates a pitch predicted gain from an input speech signal of the present frame and from the accumulated input speech signals, the processor further determines a control signal from the pitch predicted gain;
an integration interval determiner which determines an integration interval from the control signal; and an adder which adds together the prediction vector and the codevector of the present frame to produce an output vector of the present frame;
wherein the quantizer switches among a plurality of codevector tables used in calculating the codevector for the present frame when the control signal is less than a threshold value.
a first memory which stores codevectors for frames previous to the present frame to produce accumulated codevectors each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
a second memory which stores output vectors for frames previous to the present frame to produce accumulated output vectors each output vector being produced by adding the prediction vector and the codevector of a respective frame;
a prediction coefficient calculator which calculates a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
a predictor which calculates a predicted vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame;
a third memory which stores input speech signals for frames previous to the present frame to produce accumulated speech signals;
a quantizer which produces the codevector for the present frame by quantizing the difference between the predicted vector and an input vector of the present frame;
a processor which calculates a pitch predicted gain from an input speech signal of the present frame and from the accumulated input speech signals, the processor further determines a control signal from the pitch predicted gain;
an integration interval determiner which determines an integration interval from the control signal; and an adder which adds together the prediction vector and the codevector of the present frame to produce an output vector of the present frame;
wherein the quantizer switches among a plurality of codevector tables used in calculating the codevector for the present frame when the control signal is less than a threshold value.
33. An LSP prediction coding apparatus for coding an input vector of a present frame, said coding apparatus comprising:
a first memory which stores codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
a second memory which stores output vectors for frames previous to the present frame to produce accumulated output vectors each output vector being produced by adding the prediction vector and the codevector of a respective frame;
a prediction coefficient calculator which calculates a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
a predictor which calculates a predicted vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame;
a quantizer which produces the codevector for the present frame by quantizing the difference between the predicted vector and an input vector of the present frame;
a third memory which stores input speech signals for frames previous to the present frame to produce accumulated speech signals;
a processor which calculates a pitch predicted gain for the present frame from an input speech signal of the present frame and from the accumulated speech signals;
a fourth memory which stores control signals for frames previous to the present frame to produce accumulated control signals, the control signals being determined from the pitch predicted gain of a respective frame;
the processor further determines a control signal for the present frame from the pitch predicted gain of the present frame and from the accumulated control signals;
each control signal having a control signal value; and an adder which adds together the prediction vector and the codevector of the present frame to produce an output vector of the present frame;
wherein the coefficient matrix calculator uses the prediction coefficient matrix of the present frame when any one of the accumulated control signal values is less than a predetermined threshold value, and wherein the coefficient matrix calculator substitutes a prediction coefficient matrix of a frame immediately preceding the present frame for the prediction coefficient matrix of the present frame when all of the control signal values of the accumulated control signals are not less than the threshold value.
a first memory which stores codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
a second memory which stores output vectors for frames previous to the present frame to produce accumulated output vectors each output vector being produced by adding the prediction vector and the codevector of a respective frame;
a prediction coefficient calculator which calculates a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
a predictor which calculates a predicted vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame;
a quantizer which produces the codevector for the present frame by quantizing the difference between the predicted vector and an input vector of the present frame;
a third memory which stores input speech signals for frames previous to the present frame to produce accumulated speech signals;
a processor which calculates a pitch predicted gain for the present frame from an input speech signal of the present frame and from the accumulated speech signals;
a fourth memory which stores control signals for frames previous to the present frame to produce accumulated control signals, the control signals being determined from the pitch predicted gain of a respective frame;
the processor further determines a control signal for the present frame from the pitch predicted gain of the present frame and from the accumulated control signals;
each control signal having a control signal value; and an adder which adds together the prediction vector and the codevector of the present frame to produce an output vector of the present frame;
wherein the coefficient matrix calculator uses the prediction coefficient matrix of the present frame when any one of the accumulated control signal values is less than a predetermined threshold value, and wherein the coefficient matrix calculator substitutes a prediction coefficient matrix of a frame immediately preceding the present frame for the prediction coefficient matrix of the present frame when all of the control signal values of the accumulated control signals are not less than the threshold value.
34. The LSP prediction coding apparatus according to claim 33, further comprising:
an integration interval determiner which determines an integration interval from the control signal of the present frame; and wherein the accumulated codevectors and output vectors are determined by the integration interval.
an integration interval determiner which determines an integration interval from the control signal of the present frame; and wherein the accumulated codevectors and output vectors are determined by the integration interval.
35. An LSP prediction coding apparatus for coding an input vector of a present frame, said coding apparatus comprising:
a first memory which stores codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
a second memory which stores output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
a prediction coefficient calculator which calculates a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
a predictor which calculates a predicted vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame;
a third memory which stores input speech signals for frames previous to the present frame to produce accumulated speech signals;
a quantizer which produces the codevector for the present frame by quantizing the difference between the predicted vector and an input vector of the present frame;
a processor which calculates a pitch predicted gain for the present frame from an input speech signal of the present frame and from the accumulated input speech signals;
a fourth memory which stores control signals for frames previous to the present frame to produce accumulated control signals, the control signals being determined from the pitch predicted gain of a respective frame;
the processor further determines a control signal for the present frame from the pitch predicted gain of the present frame and from the accumulated control signals;
each control signal having a control signal value; and an adder which adds together the prediction vector and the codevector of the present frame to produce an output vector of the present frame;
wherein the coefficient matrix calculator uses the prediction coefficient matrix of the present frame when any one of the accumulated control signal values is less than a predetermined first threshold value and the control signal value in the present frame is not less than a predetermined second threshold value, wherein the coefficient matrix calculator substitutes a prediction coefficient matrix of a frame immediately preceding the present frame for the prediction coefficient matrix of the present frame when all of the accumulated control signal values are not less than the first threshold value and wherein the coefficient matrix calculator sets the value of the prediction coefficient matrix to be a zero matrix when any of the control signal values of the accumulated signals is less than the first threshold value and the control signal value in the present frame is less than the second threshold value; and wherein the quantizer switches among a plurality of codevector tables when the control signal value in the present frame is less than the second threshold value.
a first memory which stores codevectors for frames previous to the present frame to produce accumulated codevectors, each codevector being produced by quantizing the difference between a prediction vector and an input vector of a respective frame;
a second memory which stores output vectors for frames previous to the present frame to produce accumulated output vectors, each output vector being produced by adding the prediction vector and the codevector of a respective frame;
a prediction coefficient calculator which calculates a prediction coefficient matrix for the present frame from the accumulated codevectors and the accumulated output vectors;
a predictor which calculates a predicted vector for the present frame from the accumulated codevectors and from the prediction coefficient matrix of the present frame;
a third memory which stores input speech signals for frames previous to the present frame to produce accumulated speech signals;
a quantizer which produces the codevector for the present frame by quantizing the difference between the predicted vector and an input vector of the present frame;
a processor which calculates a pitch predicted gain for the present frame from an input speech signal of the present frame and from the accumulated input speech signals;
a fourth memory which stores control signals for frames previous to the present frame to produce accumulated control signals, the control signals being determined from the pitch predicted gain of a respective frame;
the processor further determines a control signal for the present frame from the pitch predicted gain of the present frame and from the accumulated control signals;
each control signal having a control signal value; and an adder which adds together the prediction vector and the codevector of the present frame to produce an output vector of the present frame;
wherein the coefficient matrix calculator uses the prediction coefficient matrix of the present frame when any one of the accumulated control signal values is less than a predetermined first threshold value and the control signal value in the present frame is not less than a predetermined second threshold value, wherein the coefficient matrix calculator substitutes a prediction coefficient matrix of a frame immediately preceding the present frame for the prediction coefficient matrix of the present frame when all of the accumulated control signal values are not less than the first threshold value and wherein the coefficient matrix calculator sets the value of the prediction coefficient matrix to be a zero matrix when any of the control signal values of the accumulated signals is less than the first threshold value and the control signal value in the present frame is less than the second threshold value; and wherein the quantizer switches among a plurality of codevector tables when the control signal value in the present frame is less than the second threshold value.
36. The LSP prediction coding apparatus according to claim 35, further comprising:
an integration interval determiner which determines an integration interval from the control signal of the present frame; and wherein the accumulated codevectors and output vectors are determined by the integration interval.
an integration interval determiner which determines an integration interval from the control signal of the present frame; and wherein the accumulated codevectors and output vectors are determined by the integration interval.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP044730/1997 | 1997-02-13 | ||
JP9044730A JP3067676B2 (en) | 1997-02-13 | 1997-02-13 | Apparatus and method for predictive encoding of LSP |
Publications (2)
Publication Number | Publication Date |
---|---|
CA2229240A1 CA2229240A1 (en) | 1998-08-13 |
CA2229240C true CA2229240C (en) | 2001-11-13 |
Family
ID=12699570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA002229240A Expired - Fee Related CA2229240C (en) | 1997-02-13 | 1998-02-11 | Lsp prediction coding utilizing a predetermined best prediction matrix based upon past frame information |
Country Status (4)
Country | Link |
---|---|
US (1) | US6088667A (en) |
EP (1) | EP0859354A3 (en) |
JP (1) | JP3067676B2 (en) |
CA (1) | CA2229240C (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2354609B (en) * | 1999-09-25 | 2003-07-16 | Ibm | Method and system for predicting transactions |
KR100324204B1 (en) * | 1999-12-24 | 2002-02-16 | 오길록 | A fast search method for LSP Quantization in Predictive Split VQ or Predictive Split MQ |
KR100316304B1 (en) * | 2000-01-14 | 2001-12-12 | 대표이사 서승모 | High speed search method for LSP codebook of voice coder |
JP3523827B2 (en) * | 2000-05-18 | 2004-04-26 | 沖電気工業株式会社 | Audio data recording and playback device |
CA2415105A1 (en) * | 2002-12-24 | 2004-06-24 | Voiceage Corporation | A method and device for robust predictive vector quantization of linear prediction parameters in variable bit rate speech coding |
PL3139383T3 (en) * | 2014-05-01 | 2020-03-31 | Nippon Telegraph And Telephone Corporation | Coding and decoding of a sound signal |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5307441A (en) * | 1989-11-29 | 1994-04-26 | Comsat Corporation | Wear-toll quality 4.8 kbps speech codec |
JP3151874B2 (en) * | 1991-02-26 | 2001-04-03 | 日本電気株式会社 | Voice parameter coding method and apparatus |
ES2166355T3 (en) * | 1991-06-11 | 2002-04-16 | Qualcomm Inc | VARIABLE SPEED VOCODIFIER. |
US5255339A (en) * | 1991-07-19 | 1993-10-19 | Motorola, Inc. | Low bit rate vocoder means and method |
US5233660A (en) * | 1991-09-10 | 1993-08-03 | At&T Bell Laboratories | Method and apparatus for low-delay celp speech coding and decoding |
US5598504A (en) * | 1993-03-15 | 1997-01-28 | Nec Corporation | Speech coding system to reduce distortion through signal overlap |
JP2626492B2 (en) * | 1993-09-13 | 1997-07-02 | 日本電気株式会社 | Vector quantizer |
JPH08506434A (en) * | 1993-11-30 | 1996-07-09 | エイ・ティ・アンド・ティ・コーポレーション | Transmission noise reduction in communication systems |
JP3557255B2 (en) * | 1994-10-18 | 2004-08-25 | 松下電器産業株式会社 | LSP parameter decoding apparatus and decoding method |
DE69615870T2 (en) * | 1995-01-17 | 2002-04-04 | Nec Corp | Speech encoder with features extracted from current and previous frames |
JP3303580B2 (en) * | 1995-02-23 | 2002-07-22 | 日本電気株式会社 | Audio coding device |
JP2842276B2 (en) | 1995-02-24 | 1998-12-24 | 日本電気株式会社 | Wideband signal encoding device |
US5664053A (en) * | 1995-04-03 | 1997-09-02 | Universite De Sherbrooke | Predictive split-matrix quantization of spectral parameters for efficient coding of speech |
US5664055A (en) * | 1995-06-07 | 1997-09-02 | Lucent Technologies Inc. | CS-ACELP speech compression system with adaptive pitch prediction filter gain based on a measure of periodicity |
US5774839A (en) * | 1995-09-29 | 1998-06-30 | Rockwell International Corporation | Delayed decision switched prediction multi-stage LSF vector quantization |
US5924062A (en) * | 1997-07-01 | 1999-07-13 | Nokia Mobile Phones | ACLEP codec with modified autocorrelation matrix storage and search |
-
1997
- 1997-02-13 JP JP9044730A patent/JP3067676B2/en not_active Expired - Fee Related
-
1998
- 1998-02-11 CA CA002229240A patent/CA2229240C/en not_active Expired - Fee Related
- 1998-02-12 EP EP98102435A patent/EP0859354A3/en not_active Withdrawn
- 1998-02-13 US US09/023,642 patent/US6088667A/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH10228297A (en) | 1998-08-25 |
EP0859354A3 (en) | 1999-03-17 |
CA2229240A1 (en) | 1998-08-13 |
US6088667A (en) | 2000-07-11 |
JP3067676B2 (en) | 2000-07-17 |
EP0859354A2 (en) | 1998-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0966793B1 (en) | Audio coding method and apparatus | |
CA2202825C (en) | Speech coder | |
JP3392412B2 (en) | Voice coding apparatus and voice encoding method | |
EP1093116A1 (en) | Autocorrelation based search loop for CELP speech coder | |
US5659659A (en) | Speech compressor using trellis encoding and linear prediction | |
US5926785A (en) | Speech encoding method and apparatus including a codebook storing a plurality of code vectors for encoding a speech signal | |
EP1096476A2 (en) | Speech decoding gain control for noisy signals | |
CA2229240C (en) | Lsp prediction coding utilizing a predetermined best prediction matrix based upon past frame information | |
US6330531B1 (en) | Comb codebook structure | |
EP0869477B1 (en) | Multiple stage audio decoding | |
US7680669B2 (en) | Sound encoding apparatus and method, and sound decoding apparatus and method | |
CA2090205C (en) | Speech coding system | |
EP0867862A2 (en) | Coding and decoding system for speech and musical sound | |
US5956672A (en) | Wide-band speech spectral quantizer | |
CA2239672C (en) | Speech coder for high quality at low bit rates | |
US7076424B2 (en) | Speech coder/decoder | |
EP0866443B1 (en) | Speech signal coder | |
EP0855699B1 (en) | Multipulse-excited speech coder/decoder | |
US5978758A (en) | Vector quantizer with first quantization using input and base vectors and second quantization using input vector and first quantization output | |
JP2774003B2 (en) | Code excitation linear predictive encoder | |
JP3099876B2 (en) | Multi-channel audio signal encoding method and decoding method thereof, and encoding apparatus and decoding apparatus using the same | |
Nagarajan et al. | Efficient implementation of linear predictive coding algorithms | |
JPH0612097A (en) | Method and device for predictively encoding voice | |
JP2000020099A (en) | Linear prediction analyzer, code excitation linear prediction encoder and code excitation linear prediction decoder | |
JPH0749700A (en) | Celp type voice decoder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EEER | Examination request | ||
MKLA | Lapsed |