Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SENSITIVITY WEIGHTED VECTOR QUANTIZATION OF LINE SPECTRAL PAIR FREQUENCIES
Document Type and Number:
WIPO Patent Application WO/1996/004647
Kind Code:
A1
Abstract:
A computationally efficient procedure for determining the set of quantization sensitivities for the line spectral pair (LSP) frequencies is performed by LSP quantizing system (10), which results in a computationally efficient error measure for use in vector quantization of the LSP frequencies. A new set of vectors are computed based upon the LSP values by a P and Q computation element (4). These vectors are then supplied to a bank of polynomial division computation elements (5a-5N) which provide the quotients to sensitivity autocorrelation elements (6a-6N). The sensitivities autocorrelations and a set of autocorrelations are used to generate a set of sensitivity cross-correlations by sensitivity cross-correlators (7a-7N). The computed sensitivity values are then used to quantize the LSP values.

Inventors:
GARDNER WILLIAM R
Application Number:
PCT/US1995/009862
Publication Date:
February 15, 1996
Filing Date:
August 01, 1995
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
QUALCOMM INC (US)
International Classes:
G10L19/06; (IPC1-7): G10L9/14
Domestic Patent References:
WO1993015502A11993-08-05
Foreign References:
GB2131659A1984-06-20
Other References:
PAN ET AL.: "Vector Quantization of Speech LSP Parameters using Trellis Codes and L1-Norm Constraints", INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING 1993, vol. 2, 27 April 1993 (1993-04-27) - 30 April 1993 (1993-04-30), MINNEAPOLIS, MN, US, pages 17 - 20, XP000427714
OMOLOGO: "The Computation and some Spectral Considerations on Line Spectrum Pairs (LSP)", PROCEEDINGS OF THE EUROPEAN CONFERENCE ON SPEECH COMMUNICATION AND TECHNOLOGY 1989, vol. 2, 26 September 1989 (1989-09-26) - 28 September 1989 (1989-09-28), PARIS, FR, pages 352 - 355, XP000210027
BISTRITZ ET AL.: "Immittance Spectral Pairs (ISP) for Speech Encoding", INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING 1993, vol. 2, 27 April 1993 (1993-04-27) - 30 April 1993 (1993-04-30), , MINNEAPOLIS, MN, US, pages 9 - 12, XP000427712
SOONG ET AL.: "Line Spectrum Pair (LSP) and Speech Data Compression", INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING 1984, vol. 1, 19 March 1984 (1984-03-19) - 21 March 1984 (1984-03-21), SAN DIEGO, CA, US, pages 1.10.1 - 1.10.4
SOONG ET AL.: "Optimal Quantization of LSP Parameters", IEEE TRANSACTIONS ON SPEECH AND AUDIO PROCESSING, vol. 1, no. 1, 1 January 1993 (1993-01-01), NEW YORK, NY, US, pages 15 - 24, XP000358436
LAROIA ET AL.: "Robust and Efficient Quantization of Speech LSP Parameters using Structured Vector Quantizers", INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING 1991, vol. 1, 14 May 1991 (1991-05-14) - 17 May 1991 (1991-05-17), TORONTO, CA, pages 641 - 644, XP000245310
Download PDF:
Claims:
CLAIMS
1. An apparatus for determining LSP quantization sensitivities comprising: polynomial division means for receiving a set of line spectral pair (LSP) frequencies and a set of linear prediction coding (LPC) coefficients and for generating a set of quotient coefficients in accordance with a predetermined polynomial division format; and sensitivity cross correlation means for receiving said set of quotient coefficients and a set of speech auto correlation coefficients and for computing a set of LSP sensitivity coefficients in accordance with a weighted crosscorrelation computation format.
2. The apparatus of Claim 1 further comprising a sensitivity autocorrelation means disposed between said polynomial division means and said sensitivity cross correlation means for receiving said set of quotient coefficients and generating a set of sensitivity autocorrelation values for said set of quotient coefficients in accordance with a predetermined autocorrelation computation format.
3. The apparatus of Claim 1 further comprising a vector computation means disposed before said polynomial division means for receiving said set of LPC coefficients and generating a set of vectors in accordance with a predetermined vector generation format.
4. The apparatus of Claim 3 wherein said vector computation means computes two vectors P and Q in said set of vectors in accordance with the equations: P(0) = 1 P(N+1) = 1 P(i) = a(i) a(N+li) 0<i<N+l Q(0) = 1 Q(N+1) = 1 Q(i) = a(i) + a(N+li); 0<i<N+l .
5. The apparatus of Claim 4 wherein said polynomial division means provides said set of quotient coefficients Ji for odd LSP frequencies in accordance with the equation: Ji(N l)xN1 4 Ji(N 2)xN2 ...+Ji(l)x + Ji(0) x2 2 cos(ωi) x + l)p(N + l)xN+1 + P(N)xN + ... + P(l)χ + P(0) where x is the polynomial variable, cι>i is the ith LSP frequency, and N is the number of filter taps.
6. The apparatus of Claim 4 wherein said polynomial division means provides said set of quotient coefficients Ji for even LSP frequencies in accordance with the equation: Ji(N l)xN1 Ji(N 2)xN2+... Ji(l)x + Ji(0) x2 2 cos(ωi) x + l)Q(N + l)xN+1 + Q(N)xN + ... + Q(l)x + Q(0) where x is the polynomial variable, ωi is the ith LSP frequency, and N is the number of filter taps.
7. The apparatus of Claim 1 wherein said sensitivity cross correlation means provides said LSP sensitivity values in accordance with the equation: Si = sin (a>i) R(0) Rji(0) + 2 ∑R(k) Rji(k) k=l ,where ω i is the ith LSP frequency, R(k) is the kth speech autocorrelation coefficient of the set of speech samples and Rji(k) is the kth autocorrelation coefficient of said set of quotient coefficients .
8. An apparatus for quantizing line spectral pair (LSP) frequencies comprising: line spectral pair (LSP) sensitivity generation means for receiving a set of line spectral pair (LSP) frequencies, a set of linear prediction coding (LPC) coefficients, and for computing a set of LSP sensitivity coefficients in accordance with a weighted crosscorrelation computation format; and quantization means for receiving said set of LSP frequencies and said set of LSP sensitivity coefficients and for selecting a set of quantized LSP frequencies in accordance with a sensitivity weighted error computation format.
9. The apparatus of Claim 8 further comprising subtractor means disposed before said quantization means for receiving said set of LSP frequencies and for providing a set of differential LSP frequencies in accordance with a predetermined difference format and wherein said quantization means is for selecting a set of quantized differential LSP frequencies.
10. The apparatus of Claim 8 wherein said quantization means comprises: index generator means for providing an index value; codebook means for receiving said index value and for providing a corresponding quantization vector; and error computation means for receiving said set of sensitivity values, said set of LSP frequencies and said quantization vector and determining a weighted quantization error.
11. The apparatus of Claim 8 wherein said sensitivity weighted error computation format accumulates a quantization error for each LSP frequency of said set of LSP frequencies and weights the resulting error by a corresponding sensitivity of said set of sensitivities.
12. An apparatus of Claim 11 for determining LSP quantization sensitivities comprising: a polynomial divider that receives a set of line spectral pair (LSP) frequencies and a set of linear prediction coding (LPC) coefficients and generates a set of quotient coefficients in accordance with a predetermined polynomial division format; and a sensitivity crosscorrelator that receives said set of quotient coefficients and a set of speech auto correlation coefficients and computes a set of LSP sensitivity coefficients in accordance with a weighted cross correlation computation format.
13. The apparatus of Claim 12 further comprising a sensitivity autocorellator disposed between said polynomial divider and said sensitivity crosscorrelator that receives said set of quotient coefficients and generates a set of sensitivity autocorrelation values for said set of quotient coefficients in accordance with a predetermined autocorrelation computation format.
14. The apparatus of Claim 12 further comprising a vector calculator disposed before said polynomial divider that receives said set of LPC coefficients and generates a set of vectors in accordance with a predetermined vector generation format.
15. The apparatus of Claim 14 wherein said vector calculator calculates two vectors P and Q in said set of vectors in accordance with the equations: P(0) = 1 P(N+1) 1 P(i) = a(i) a(N+li) 0<i<N+l Q(0) = 1 Q(N+1) = 1 Q(i) = a(i) + a(N+li); 0<i<N+l .
16. The apparatus of Claim 15 wherein said polynomial divider provides said set of quotient coefficients Ji for odd LSP frequencies in accordance with the equation: Ji(N l)xNα + Jj(N 2)xN2h..+Jj(l)x + Ji(0) x2 2 cos(ωi) x + l)p(N + l)xN+1 + P(N)xN + ... + P(l)x +P(0) where x is the polynomial variable, ωi is the ith LSP frequency, and N is the number of filter taps.
17. The apparatus of Claim 15 wherein said polynomial division means provides said set of quotient coefficients Ji for even LSP frequencies in accordance with the equation: Ji(N l)xN1 + Ji(N 2)xN2+...rJi(l)x + Ji(0) x2 2 • cos(cύi) • x + I)Q(N + 1)XN+1 + Q(N)xN + ... + Q(l)χ + Q(0) where x is the polynomial variable, ωi is the ith LSP frequency, and N is the number of filter taps.
18. The apparatus of Claim 12 wherein said sensitivity cross correlation means provides said LSP sensitivity values in accordance with the equation: 2 N S = sin (ωi) R(0) Rji(0) + 2 2R(k) Rji(k) k=l ,where ωi is the ith LSP frequency, R(k) is the kth speech autocorrelation coefficient of the set of speech samples and Rji(k) is the kth autocorrelation coefficient of said set of quotient coefficients .
19. An apparatus for quantizing line spectral pair (LSP) frequencies comprising: LSP sensitivity generator that receives a set of line spectral pair (LSP) frequencies, a set of linear prediction coding (LPC) coefficients, and for computing a set of LSP sensitivity coefficients in accordance with a weighted crosscorrelation computation format; and LSP quantizer for receiving said set of LSP frequencies and said set of LSP sensitivity coefficients and for selecting a set of quantized LSP frequencies in accordance with a sensitivity weighted error computation format.
20. The apparatus of Claim 19 further comprising subtractor disposed before said LSP quantizer that receives said set of LSP frequencies and provides a set of differential LSP frequencies in accordance with a predetermined difference format and wherein said LSP quantizer selects a set of quantized differential LSP frequencies.
21. The apparatus of Claim 19 wherein said LSP quantizer compriisseess: an index generator that provides an index value; a codebook that receives said index value and for provides a corresponding quantization vector; and a error computer that receives said set of sensitivity values, said set of LSP frequencies and said quantization vector and determines a weighted quantization error.
22. The apparatus of Claim 19 wherein said sensitivity weighted error computation format accumulates a quantization error for each LSP frequency of said set of LSP frequencies and weights the resulting error by a corresponding sensitivity of said set of sensitivities.
23. A method for determining LSP quantization sensitivities comprising the steps of: receiving a set of line spectral pair (LSP) frequencies and a set of linear prediction coding (LPC) coefficients; generating a set of quotient coefficients in accordance with a predetermined polynomial division format; and computing a set of LSP sensitivity coefficients in accordance with a weighted crosscorrelation computation format.
24. The method of Claim 23 further generating a set of sensitivity autocorrelation values for said set of quotient coefficients in accordance with a predetermined autocorrelation computation format.
25. The method of Claim 22 further comprising generating a set of vectors in accordance with a predetermined vector generation format.
26. The method of Claim 25 wherein said step of vector generation comprises providing a P vector and a Q vector of dimension N defined as: P(0) = 1 P(N+1) = 1 P(i) = a(i) a(N+li) 0<i<N+l Q(0) = 1 Q(N+1) = 1 Q(i) « a(i) + a(N+li); 0<i<N+l.
27. The method of Claim 26 wherein said providing said set of quotient coefficients Ji provides said quotient coefficients for odd LSP frequencies in accordance with the equation: Ji(N l)xN~1 Ji(N 2)xN2+... Ji(l)x f Ji(0) x2 2 cos(ωi) x + l)p(N + l)xN+1 + P(N)xN + ... + P(l)x + P(0) where x is the polynomial variable, ωi is the ith LSP frequency, and N is the number of filter taps.
28. The method of Claim 26 wherein said polynomial division means provides said set of quotient coefficients Ji for even LSP frequency values in accordance with the equation: Ji(Nl)xN1 +Ji(N 2)xN2 ...+Ji(l)x Ji(0) x2 2 • cos(ωj) • x + I)Q(N + 1)XN+1 + Q(N)xN + ... + Q(l)x +Q(0) where x is the polynomial variable, ωi is the ith LSP frequency, and N is the number of filter taps.
29. The method of Claim 23 wherein said step of providing said LSP sensitivity values provides said sensitivity values in accordance with the equation: Si = sin/(ωi) R(0) Rji(0) + 2 ∑R(k) Rji(k) k=l ,where ωi is the ith LSP frequency, R(k) is the kth speech autocorrelation coefficient of the set of speech samples and Rji(k) is the kth autocorrelation coefficient of said set of quotient coefficients .
30. A method for quantizing line spectral pair (LSP) frequencies comprising: polynomial division means for receiving a set of line spectral pair (LSP) frequencies and a set of linear prediction coding (LPC) coefficients and for generating a set of quotient coefficients in accordance with a predetermined polynomial division format; sensitivity cross correlation means a set of line spectral pair (LSP) frequencies, a set of linear prediction coding (LPC) coefficients, and for computing a set of LSP sensitivity coefficients in accordance with a weighted crosscorrelation computation format; and quantization means for receiving said set of LSP frequencies and said set of LSP sensitivity coefficients and for selecting a set of quantized LSP frequencies in accordance with a sensitivity weighted error computation format.
31. The method of Claim 30 providing a set of differential LSP frequencies in accordance with a predetermined difference format.
32. The method of Claim 30 wherein said step of quantizing said LSP coefficients comprises the steps of: providing a quantization vector; and determining a weighted quantization error in accordance with said set of sensitivity values, said set of LSP frequencies and said quantization vector.
33. The method of Claim 30 wherein said step of determining a weighted quantization error accumulates a quantization error for each LSP frequency of said set of LSP frequencies and weights the resulting error by a corresponding sensitivity of said set of sensitivities.
Description:
SENSITIVITY WEIGHTED VECTOR QUANTIZATION OF LINE SPECTRAL PAIR FREQUENCIES

BACKGROUND OF THE INVENTION

I. Field of the Invention

The present invention relates to speech processing. More particularly, the present invention relates to a novel and improved method and apparatus for quantizing the line spectral pair (LSP) information in a linear prediction based speech coding system.

II. Description of the Related Art Transmission of voice by digital techniques has become widespread, particularly in long distance and digital radio telephone applications. This, in turn, has created interest in devising methods for minimizing the amount of information transmitted over a channel while maintaining the quality of the speech reconstructed from said information. If speech is transmitted by simply sampling and digitizing, a data rate on the order of 64 kilobits per second (kbps) is required to achieve a reconstructed speech quality similar to that of a conventional analog telephone. However, through the use of speech analysis, followed by the appropriate coding, transmission, and resynthesis at the receiver, a significant reduction in the data rate can be achieved.

Devices which employ techniques to compress voiced speech by extracting parameters that relate to a model of human speech generation are typically called vocoders. Such devices are composed of an encoder, which analyzes the incoming speech to extract the relevant parameters, and a decoder, which resynthesizes the speech using the parameters which it receives over the transmission channel. To accurately track the time varying speech signal, the model parameters are updated periodically. The speech is divided into blocks of time, or analysis frames, during which the parameters are calculated and quantized. These quantized parameters are then transmitted over a transmission channel, and the speech is reconstructed from these quantized parameters at the receiver.

Of the various classes of speech coders, the Code Excited Linear Predictive Coding (CELP), Stochastic Coding, or Vector Excited Speech Coding coders are of one class. An example of a coding algorithm of this particular class is described in the paper "A 4.8 kbps Code Excited Linear

Predictive Coder" by Thomas E. Tremain et al., Proceedings of the Mohilp Satellite Conference. 1988. An example of a particularly efficient vocoder of this type is detailed in copending patent application Serial No. 08/004,484, filed January 14, 1993, entitled "Variable Rate Vocoder" and assigned to the assignee of the present invention and is incorporated by reference herein. The vocoder of the aforementioned patent application describes a CELP coder that provides a variable data rate speech coding.

Many speech compression algorithms use a filter to model the spectral magnitude of the speech signal. The coefficients of the filter are computed for each frame of speech using linear prediction based techniques, and thus the filter is referred to as the Linear Predictive Coding (LPC) filter. Once the filter coefficients have been determined, the filter coefficients must be quantized into a finite number of bits. Efficient methods for quantizing the LPC filter coefficients can result in a decrease in the bit rate required to compress the speech signal.

One method for quantizing LPC parameters involves transforming the LPC parameters to Line Spectral Pair (LSP) parameters. LSP parameters statistically have better quantization properties than LPC parameters. Thus, LSP parameters are typically used for quantization of the LPC filter. For a particular set of LSP parameters, quantization error in one parameter may result in a larger perceptual effect than a similar quantization error in another LSP parameter. The perceptual effect of quantization can be minimized by allowing more quantization error in LSP parameters which are less sensitive to quantization error. To determine the optimal distribution of quantization error, the individual sensitivity of each LSP parameter must be determined.

Although the sensitivities of the LSP parameters have been described previously (for example, in "Optimal Quantization of LSP Parameters," by F.K. Soong and B.H. Juang in Proceedings of IEEE Conference on Acoustics. Speech, and Signal Processing. 1988), there have been no closed form expressions for determining the sensitivities described in the prior art, and only computationally expensive techniques have been previously described.

SUMMARY OF THE INVENTION

The present invention is a novel and improved method and apparatus for quantizing the LPC filter coefficients. The present invention transforms the LPC filter coefficients into a set of line spectral pair (LSP) frequencies. The sensitivity of each LSP frequency is then computed using a

novel and efficient method. The present invention describes a computationally efficient method for computing these sensitivities without the use of numerical integration techniques, greatly reducing the complexity required. Once the sensitivities are computed, the differences between the LSP frequencies are computed and partitioned into subsets, or subvectors. Each subvector of LSP frequency differences is then quantized by determining which codevector of LSP frequency differences selected from a codebook of LSP frequency difference vectors minimizes the sensitivity weighted error between the codevector and the original subvector. Improved performance is achieved by vector quantizing the subvectors of LSP frequency differences, and through the use of the sensitivity weighted error measure.

BRIEF DESCRIPTION OF THE DRAWINGS

The features, objects, and advantages of the present invention will become more apparent from the detailed description set forth below when taken in conjunction with the drawings in which like reference characters identify correspondingly throughout and wherein: Figure 1 is a block diagram illustrating the efficient computation of the sensitivities of the LSP frequencies.

Figure 2 is a block diagram illustrating the overall quantization mechanism.

DETAILED DESCRIPTION OF THE PREFERRED

EMBODIMENTS

Figure 1 illustrates the apparatus of the present invention for determining the LPC coefficients (a(l),a(2),...,a(N)), the LSP frequencies (ω(l),ω (2),...,ω(N)), and the quantization sensitivities of the LSP frequencies (SI,S2,.-»,SN)- is the number of filter taps in the formant filter for which the LPC coefficients are being derived. Speech autocorrelation element 1 computes a set of autocorrelation values, R(0) to R(N), from the frame of speech samples, s(n) in accordance with equation 1 below:

L+l-n R(n) = X s(k)-s(k + n) (1) k=l

,where L is the number of speech samples in the frame over which the LPC coefficients are being calculated.

In the exemplary embodiment, the number of samples in a frame is 160, L=160. In the exemplary embodiment, the LPC filter has ten taps, N=10.

Linear prediction coefficient (LPC) computation element 2 computes the LPC coefficients, a(l) to a(N), from the set of autocorrelation values, R(0) to R(N). The LPC coefficients may be obtained by the autocorrelation method using Durbin's recursion as discussed in Digital Processing of Speech Signals. Rabiner & Schafer, Prentice-Hall, Inc., 1978. This technique is an efficient computational method for obtaining the LPC coefficients. The algorithm can be stated in equations 2-7 below:

E ( 0) = * R(0), i = l; (2)

«, ,) - (4)

(i-1) (i-1) αtt ij ■ » - O°jj -- k k iiO« j i.-jj for 1 <= j <= i-i ; (5)

E ( ' ) = (l-ki2) Eθ-1); and (6)

If i<N then goto equation (3) with i = i+1. (7)

(N) The N LPC coefficients are labeled α , for 1 <= j <= N. The operations of both element 1 and 2 are well known. In the exemplary embodiment, the formant filter is a tenth order filter, meaning that 11 autocorrelation values, R(0) to R(10), are computed by element 1, and 10 LPC coefficients, a(l) to a(10), are computed by element 2.

LSP computation element 3 converts the set of LPC coefficients into a set of LSP frequencies of values ωi to ω - The operation of element 3 is well known and is described in detail in the aforementioned U.S. Patent Application Serial No. 08/004,484. In order to efficiently encode each of the LPC coefficients in a small number of bits, the coefficients are transformed into Line Spectrum Pair frequencies as described in the article "Line Spectrum Pair (LSP) and Speech Data Compression", by Soong and Juang,

ICASSP '84. The computation of the LSP parameters is shown below in equations (8) and (9) along with Table I.

The LSP frequencies are the N roots which exist between 0 and π of the following equations:

p /(ω Λ) = cos — N ω + ρ χ cos (8)

q /(ω N) = cos — N ω + q 2 cos (y - l)- ωj + . . . + q N/2 cos ω + -^ (9)

,where the p n and q n values for n = 1, 2, ... N/2 are defined recursively in

Table I.

TABLE I

Pl = -(a(l) + a(N)) - 1 q χ = -(a(l) -a(N)) + 1 p 2 = -(a(2) +a(N-l)) - Pl q 2 = -(a(2) -a(N-l)) + p 3 = -(a(3) +a(N-2)) - p 2 q3 = -(a(3) -a(N-2)) + q 2

In Table I, the a(l), ... , a(N) values are the scaled coefficients resulting from the LPC analysis. The N roots of equations (8) and (9) are scaled to between 0 and 0.5 for simplicity. A property of the LSP frequencies is that, if the LPC filter is stable, the roots of the two functions alternate; i.e. the lowest root, ωi, is the lowest root of p(ω), the next lowest root, cι)2, is the lowest root of q(ω), and so on. Of the N frequencies, the odd frequencies are the roots of the p(ω), and the even frequencies are the roots of the q(ω).

P & Q computation element 4 computes two new vectors of values, P and Q, from the LPC coefficients, using the following equations 10-15:

P(0) = 1 (10)

P(N+1) = 1 (11)

P(i) = -a(i) - a(N+l-i) 0<i<N+l (12)

Q(0) = 1 (13)

Q(N+1) = -1 (14)

Q(i) = -a(i) + a(N+l-i); 0<i<N+l (15)

Polynomial division elements 5a-5N perform polynomial division to provide the sets of values Ji, composed of Ji(l) to Ji(N), where i is the index of the LSP frequency of interest. For the LSP frequencies with odd index (ωi, (1)3, etc.), the long division is performed as:

Ji(N -l)x N - 1 + J i (N - 2)x N - 2 +...+Ji(l)x + J i (0) - 2 • cos(ωι) • x + l)p(N + l)x N+1 + P(N)x N + ... + P(l)x + P(0) (16)

and for the LSP frequencies with even index (cι)2, 04, etc.), the long division is performed as

Ji(N - l)x N - 1 + Ji(N - 2)x N - 2 +...+J i (l)x + J i (0) c 2 - 2- cos(ωi)- x + l Q(N + l)x N+1 + Q(N)x N + ... + Q(l)x +Q(0) (17)

If i is odd, Ji(k) = Ji(N+l-k), and because of this symmetry only half of the division needs to be performed to determine the entire set of N Ji values. Similarly, if i is even, Ji(k) = -J (N+l-k), and because of this anti-symmetry only half of the division needs to be performed.

Sensitivity autocorrelation elements 6a-6N compute the autocorrelations of the sets Ji, using the following equation:

N-n-1 R Ji(n) = ∑ Ji(k) Ji(k + n). (18) k=0

Sensitivity cross-correlation elements 7a-7N compute the sensitivities for the LSP frequencies by cross correlating the Rji sets of values with the autocorrelation values from the speech, R, and weighting the results by sin2(o)i). This operation is performed in accordance with equation 18 below:

N

Sj = sin (cuj)' R(0) Rji(0) + 2 - ∑R(k)-Rji(k) (19) k=l

Figure 2 illustrates the apparatus of the present invention for the quantization of the set of LSP frequencies. The present invention can be implemented in a digital signal processor (DSP) or in an application specific integrated circuit (ASIC). Elements 11, 12, 13, and 14 operate as described

above for blocks 1, 2, 3 and 10 of Figure 1. Once the set of LSP frequencies, ώ, and the set of sensitivities, S, are computed, the quantization of the LSP frequencies begins. A first subvector of LSP differences, comprising Δωi , Δθ)2, ... Δθ)N(i), is computed by subtractor elements 15a as:

Δωi = ωi (20)

Δωi = (Oi - ωi-i; 1 < i <N(1) +1 (21)

The set of values N(l), N(2), etc, defines the partitioning of the LSP vector into subvectors. In the exemplary embodiment with N=10, the LSP vector is partitioned into 5 subvectors of 2 elements each, such that N(l)=2, N(2)=4, N(3)=6, N(4)=8, and N(5)=10. V is defined as the number of subvectors, so in the exemplary embodiment V=5.

In alternate embodiments, the LSP vector can be partitioned into different numbers of subvectors of differing dimension. For example, a partitioning into 3 subvectors with 3 elements in the first subvector, 3 elements in the second subvector, and 4 elements in the third subvector would result in N(l)=3, N(2)=6, and N(3)=10. In this alternative embodiment V=3. After the first subvector of LSP differences is computed in subtractor 15a, it is quantized by elements 16a, 17a, 18a, and 19a. Element 18a is a codebook of LSP difference vectors. In the exemplary embodiment there are 64 such vectors. The codebook of LSP difference vectors can be determined using well known vector quantization training algorithms. Index generator 1, element 17a, provides a codebook index, m, to codebook element 18a. Codebook element 18a in response to index m provides the mth codevector, made up of elements Δωι(m),...,

Error compuation and minimization element 16a computes the sensitivity weighted error, E(m), which represents the approximate spectral distortion which would be incurred by quantizing the original subvector of LSP differences to this mth codevector of LSP differences. E(m) is computed using the following loop structure:

err=0; (22) E(m)=0; (23) for k= 1 to N(l) (24) err = err+ Δωk - Δωk(m) (25)

E(m) = E(m) + S err 2 (26) end loop (27)

The procedure for determining the sensitivity weighted error, illustrated in equations 22-27, accumulates the quantization error in each LSP frequency and weights that error by the sensitivity. Once E(m) has been computed for all codevectors in the codebook, error computation and minimization (ERROR COMP. AND MINI.) element 16a selects the index m, which minimizes E(m). This value of m is the selected index to codebook 1, and is referred to as Ii. The quantized values of Δα>ι,...,ΔωN(l) are denoted by Δωι...ΔωN( ) , and are set equal to Δωι(Iι),...,Δα>N(l)(Il).

In summer element 19a, the quantized LSP frequencies in the first subvector are computed as:

i ω i = ∑ Δω i . (28) k=l

The quantized LSP frequency ωjsj computed in block 19a, and the ω[ for i from N(l)+1 to N(2) are used to compute the second subvector of LSP differences, comprising Δα>N(l)+l, Δα>N(l)+2. — ΔωN(2) as follows:

Δωi = ω N (i)+i - ω N (i) (29)

Δωi = ωi - ωi-i; N(l) < i <N(2) +1 ( 3 n)

The operation for selecting the second index value 12 is performed in the same way as described above for selecting Iχ. The remaining subvectors are quantized sequentially in a similar manner. The operation for all of the subvectors is essentially the same and for instance the last subvector, the Vth subvector, is quantized after all of the subvectors from 1 to V-l have been quantized. The Vth subvector of LSP differences is computed by an element 15V as

Δω N ( γ-l)+l = CON( V-l)+l ~ ω N(V-l) (31)

Δωi = Δωi - Δωi-i; N(V-l) < i <N(V) +1 (32)

The Vth subvector is quantized by finding the codevector in the Vth codebook which minii izes E(m), which is computed by the following loop:

err=0; (33)

E(m)=0; (34) for k= N(V-1)+1 to N(V) (35) err = err+ Δωk - Δωk(m) (36)

E(m) = E(m) + Sk err 2 (37) end loop (38)

Once the best codevector for the Vth subvector is determined, the quantized LSP differences and the quantized LSP frequencies for that subvector are computed as described above. This procedure is repeated sequentially until all of the subvectors are quantized.

In Figures 1 and 2, the blocks may be implemented as structural blocks to perform the designated functions or the blocks may represent functions performed in programming of a digital signal processor (DSP) or an application specific integrated circuit ASIC. The description of the functionality of the present invention would enable one of ordinary skill to implement the present invention in a DSP or an ASIC without undue experimentation.

The previous description of the preferred embodiments is provided to enable any person skilled in the art to make or use the present invention. The various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without the use of the inventive faculty. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.