Speech coding system

Abstract: A speech coding system operated under a known code-excited linear prediction (CELP) coding method. The CELP coding is achieved by selecting an optimum pitch vector P from an adaptive codebook and the corresponding first gain and, at the same time, selecting an optimum code vector from a sparse-stochastic codebook and the corresponding second gain. The system of the present invention is featured by special code vectors to be loaded in the sparse-stochastic codebook, which code vectors are hexagonal lattice code vectors each consisting of a zero vector with one sample set to +1 and another sample set to -1.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a speech coding system, more particularly to a speech coding system which performs a high quality compression of speech information signals with the using a vector quantization technique. Recently in, for example, intra-company communication systems and digital mobile radio communication systems, a vector quantization method of compressing speech information signal while maintaining the speech quality is employed. According to the vector quantization method, first a reproduced signal is obtained by applying a prediction weighting to each signal vector in a codebook, and then an error power between the reproduced signal and an input speech signal is evaluated to determine a number, i.e., index, of the signal vector which provides a minimum error power. Nevertheless a more advanced vector quantization method is now needed to realize a greater compression of the speech information. 2. Description of the Related Art A well known typical high quality speech coding method is a code-excited linear prediction (CELP) coding method, which uses the aforesaid vector quantization. The conventional CELP coding is known as a sequential optimization CELP coding or a simultaneous optimization CELP coding. These typical CELP codings will be explained in detail hereinafter. As will be understood later, a gain (b) optimization for each vector of an adaptive codebook and a gain (g) optimization for each vector of a stochastic codebook are carried out sequentially and independently under the sequential optimization CELP coding, are carried out simultaneously under the simultaneous optimization CELP coding. The simultaneous optimization CELP is superior to the sequential optimization CELP coding from the view point of the realization of a high quality speech reproduction, but the simultaneous optimization CELP coding has a drawback in that the computation amount becomes larger than that of the sequential optimization CELP coding. Namely, the problem with the CELP coding lies in the massive amount of digital calculations required for encoding speech, which makes it extremely difficult to conduct a speech communication in real time. Theoretically, the realization of such a speech coding apparatus enabling real time speech communication is possible, but a supercomputer would be required for the above digital calculations, and accordingly in practice it would be impossible to obtain compact (handy type) speech coding apparatus. To overcome this problems, has been proposed the use of a sparse-stochastic codebook which stores therein, as white noise, a plurality of thinned out code vectors has been proposed, and this effectively reduces the calculation amount. CELP encoders and CELP decoders using such a stochastic codebook are known e.g. from Advances in Speech Coding (IEEE Workshop on Speech Coding for Telecommunications, Vancouver 5th - 8th September 1989, pages 37 - 46, Kluwer Academic Publishers, Dordrecht, NL, Y. Be'ery et al.: "An efficient variable-bit-rate low-delay CELP (VBR-LD-CELP) coder". This paper discloses a speech coding system under a variable-bit-rate LD-CELP coding algorithm, including a first stochastic codebook and a second lattice codebook, first and second gain amplifiers for applying a first gain and a second gain to the output of the codebooks, and an evaluation unit for selecting optimum vectors and gains, which match the perceptually weighted input speech, wherein said second lattice codebook consists of vectors with +1 and -1 samples. The method presented in this paper is mainly based on extending the existing codebooks by means of a lattice code, which was appropriately modified to match the statistics of the residual speech signal. A vector from this lattice codebook is added as an offset to the best code vectors selected from the LD-CELP stochastic codebook. Due to the lattice-offset structure, the search procedure for the optimum code vector can be performed efficiently and requires a small amount of additional memory. ICASSP'89 (1989 International Conference on Acoustics, Speech and Signal Processing, Glasgow, 23rd - 26th May 1989), vol. 1, pages 61 - 64, IEEE New York, US; C. Lamblin et al.: "Fast CELP coding based on the Barnes-Wall lattice in 16 dimensions" teaches replacing conventional stochastic codebooks containing sequences of random data approximating a white Gaussian process by lattice codebooks containing vectors having well-defined components, which are not at all random. The paper presents new, fast optimum algorithms for finding the best sequence in this Barnes-Wall shell innovation codebook. Also ICASSP'89 (1989 International Conference on Acoustics, Speech and Signal Processing, Glasgow, 23rd - 26th May 1989), vol. 1, pages 57 - 60, IEEE New York, US; M.A. Ireton et al.: "On improving vector excitation coders through the use of spherical lattice codebooks (SLC'S)" discloses a discussion of lattice codebooks, here in particular an iterative search strategy for finding good codewords for a spherical lattice codebook. SUMMARY OF THE INVENTION The object of the present invention is to provide a speech coding system which is operated with an improved sparse-stochastic codebook to reduce the digital calculation amount drastically. This object is solved by a speech coding system according to claim 1. The sparse-stochastic codebook of the invention is loaded with code vectors formed as multi-dimensional polyhedral lattice vectors each consisting of a zero vector with one sample set to +1 and another sample set to -1, wherein the N-dimensional polyhedron lies in a plane perpendicular to a reference vector, defined as e.g. t [1,1,1,...1]. Further advantageous embodiments and improvements of the invention may be taken from the dependent claims 2 to 6. BRIEF DESCRIPTION OF THE DRAWINGS The above object and features of the present invention will be more apparent from the following description of the preferred embodiments with reference to the accompanying drawings, wherein: Fig. 1 is a block diagram of a known sequential optimization CELP coding system; Fig. 2 is a block diagram of known simultaneous optimization CELP coding system; Fig. 3 is a block diagram expressing conceptually an optimization algorithm under the sequential optimization CELP coding method; Fig. 4 is a block diagram expressing conceptually an optimization algorithm under the simultaneous optimization CELP coding method; Fig. 5A is a vector diagram representing the conventional sequential optimization CELP coding; Fig. 5B is a vector diagram representing the conventional simultaneous optimization CELP coding; Fig. 5C is a vector diagram representing a gain optimization CELP coding most preferable for the present invention; Fig. 6 is a block diagram showing a principle of the construction based on the sequential optimization coding, according to the present invention; Fig. 7 is a two-dimensional vector diagram representing hexagonal lattice code vectors according to the basic concept of the present invention; Fig. 8 is a block diagram showing another principle of the construction based on the sequential optimization coding, according to the present invention; Fig. 9 is a block diagram showing a principle of the construction based on the simultaneous optimization coding, according to the present invention; Fig. 10 is a block diagram showing another principle of the construction based on the simultaneous optimization coding, according to the present invention; Fig. 11 is a block diagram showing a principle of the construction based on an orthogonalization transform CELP coding to which the present invention is preferably applied; Fig. 12 is a block diagram showing a principle of the construction based on the orthogonalization transfer CELP coding to which the present invention is applied; Fig. 13 is a block diagram showing a principle of the construction based on another orthogonalization transform CELP coding to which the present invention is applied; Fig. 14 is a block diagram showing a principle of the construction which is an improved version the construction of Fig. 13; Figs. 15A and 15B illustrate first and second examples of the arithmetic processing means shown in Figs. 8, 10, 13 and 14; Figs. 16A to 16D depict an embodiment of the arithmetic processing means shown in Fig. 15A in more detail and from a mathematical viewpoint; Figs. 17A to 17C depict an embodiment of the arithmetic processing means shown in Fig. 15, more specifically and mathematically; Fig. 18 is a block diagram showing a first embodiment based on the structure of Fig. 11 to which the hexagonal lattice codebook is applied; Fig. 19A is a vector diagram representing a Gram-Shmidt orthogonalization transform; Fig. 19B is a vector diagram representing a householder transform for determining an intermediate vector B; Fig. 19C is a vector diagram representing a householder transform for determining a final vector C'; Fig. 20 is a block diagram showing a second embodiment based on the structure of Fig. 11 to which the hexagonal lattice codebook is applied; Fig. 21 is a block diagram showing an embodiment based on the principle of the construction shown in Fig. 14 according to the present invention; and Fig. 22 depicts a graph of a speech quality vs computational complexity. DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing the embodiments of the present invention, the related art and the disadvantages thereof will be described with reference to the related figures. Figure 1 is a block diagram of a known sequential optimization CELP coding system and Figure 2 is a block diagram of a known simultaneous optimization CELP coding system. In Fig. 1, an adaptive codebook 1 stores therein N-dimensional pitch prediction residual vectors corresponding to N samples delayed by a pitch period of one sample. A sparse-stochastic codebook 2 stores therein 2 m -pattern each 1 of which code vectors is created by using N-dimensional white noise corresponding to N samples similar to the above samples. In the figure, the codebook 2 is represented by a sparse-stochastic codebook in which some sample data, in each code vector, having a magnitude lower than a predetermined threshold level, e.g., N/4 samples among N samples is replaced by zero. Therefore, the codebook is called a sparse (thinning)-stochastic codebook. Each code vector is normalized such that a power of the N-dimensional elements becomes constant. First, each pitch prediction residual vector P of the adaptive codebook 1 is perceptually weighted by a perceptual weighting linear prediction synthesis filter 3 indicated as 1/A'(Z), where A'(Z) denotes a perceptual weighting linear prediction analysis filter. The thus produced pitch prediction vector A P is multiplied by a gain b at a gain amplifier 5, to obtain a pitch prediction reproduced signal vector bA P . Thereafter, both the pitch prediction reproduced signal vector bA P and an input speech signal vector A X , which has been perceptually weighted at a perceptual weighting filter 7 indicated as A(Z)/A'(Z) (where, A(Z) denotes a linear prediction analysis filter), are applied to a subtracting unit 8 to find a pitch prediction error signal vector A Y therebetween. An evaluation unit 10 selects an optimum pitch prediction residual vector P from the codebook 1 for every frame such that the power of the pitch prediction error signal vector A Y is at a minimum, according to the following equation (1). The unit 10 also selects the corresponding optimum gain b. AY 2 = AX - bAP 2 Further, each code vector C of the white noise sparse-stochastic codebook 2 is similarly perceptually weighted at a linear prediction reproducing filter 4 to obtain a perceptually weighted code vector A C . The vector A C is multiplied by the gain g at a gain amplifier 6, to obtain a linear prediction reproduced signal vector gA C . Both the linear prediction reproduced signal vector gA C and the above-mentioned pitch prediction error signal vector A Y are applied to a subtracting unit 9, to find an error signal vector E therebetween. An evaluation unit 11 selects an optimum code vector C from the codebook 2 for every frame, such that the power of the error signal vector E is at a minimum, according to the following equation (2). The unit 11 also selects the corresponding optimum gain g. E 2 = AY - gAC 2 The following equation (3) can be obtained by the above-recited equation (1) and (2). E 2 = AX - bAP - gAC 2 Note that the adaptation of the adaptive codebook 1 is performed as follows. First, bA P + gA C is found by an adding unit 12, the thus found value is analyzed to find b P + g C at a perceptual weighting linear prediction analysis filter (A'(Z)) 13, the output from the filter 13 is then delayed by one frame at a delay unit 14, and the thus-delayed frame is stored as a next frame in the adaptive codebook 1, i.e., a pitch prediction codebook. As mentioned above, the gain b and the gain g are controlled separately under the sequential optimization CELP coding system shown in Fig. 1. Contrary, to this, in the simultaneous optimization CELP coding system of Fig. 2, first, bA P and gA C are added at an adding unit 15 to find AX' = bAP + gAC, and the input speech signal perceptually weighted by the filter 7, i.e., A X , and the aforesaid A X ', are applied to the subtracting unit 8 to find a error signal vector E according to the above-recited equation (3). An evaluation unit 16 selects a code vector C from the sparse-stochastic codebook 2, which code vector C can minimize the power of the vector E . The evaluation unit 16 also simultaneously controls the selection of the corresponding optimum gains b and g. Note that the adaptation of the adaptive codebook 1 in the above case is similarly performed with respect to A X ', which corresponds to the output of the adding unit 12 shown in Fig. 1. The gains b and g are depicted conceptionally in Figs. 1 and 2, but actually are optimized in terms of the code vector ( C ) given from the sparse-stochastic codebook 2, as shown in Fig. 3 or Fig. 4. Namely, in the case of Fig. 1, based on the above-recited equation (2), the gain g which minimizes the power of the vector E is found by partially differentiating the equation (2), such that 0 = δ( AY - gAC 2 )/δg = 2 t (-AC)(AY - gAC) and g = t (AC)AY/ t (AC)AC is obtained, where the symbol "t" denotes an operation of a transpose. Figure 3 is a block diagram conceptually expressing an optimization algorithm under the sequential optimization CELP coding method and Figure 4 is a block diagram for conseptually expressing an optimization algorithm under the simultaneous optimization CELP coding method. Referring to Fig. 3, a multiplying unit 41 multiplies the pitch prediction error signal vector A Y and the code vector A C , which is obtained by applying each code vector C of the sparse-codebook 2 to the perceptual weighting linear prediction synthesis filter 4 so that a correlation value t (AC)AY therebetween is generated. Then the perceptually weighted and reproduced code vector A C is applied to a multiplying unit 42 to find the autocorrelation value thereof, i.e., t (AC)AC. Then, the evaluation unit 11, selects both the optimum code vector C and the gain g which can minimize the power of the error signal vector E with respect to the pitch prediction error signal vector A Y according to the above-recited equation (4), by using both of the correlation values t (AC)AY and t (AC)AC. Further, in the case of Fig. 2 and based on the above-recited equation (3), the gain b and the gain g which minimize the power of the vector E are found by partially differentiating the equation (3), such that g = [ t (AP)AP t (AC)AX - t (AC)AP t (AP)AX]/ê b = [ t (AC)AC t (AP)AX - t (AC)AP t (AC)AX]/ê where ê = t (AP)AP t (AC)AC - ( t (AC)AP) 2 stands. Then, in Fig. 4, both the perceptually weighted input speech signal vector A X and the reproduced code vector A C , given by applying each code vector C of the sparce-codebook 2 to the perceptual weighting linear prediction reproducing filter 4, are multiplied at a multiplying unit 51 to generate the correlation value t (AC)AX therebetween. Similarly, both the perceptually weighted pitch prediction vector A P and the reproduced code vector A C are multiplied at a multiplying unit 52 to generate the correlation value t (AC)AP. At the same time, the autocorrelation value t (AC)AC of the reproduced code vector A C is found at the multiplying unit 42. Then the evaluation unit 16 simultaneously selects the optimum code vector C and the optimum gains b and g which can make minimize the error signal vector E with respect to the perceptually weighted input speech signal vector A X , according to the above-recited equation (5), by using the above mentioned correlation values, i.e., t (AC)AX, t (AC)AP and t (AC)AC. Thus, the sequential optimization CELP coding method is superior to the simultaneous optimization CELP coding method, from the view point that the former method requires a lower overall computation amount than that required by the latter method. Nevertheless, the former method is inferior to the latter method, from the view point that the decoded speech quality is poor in the former method. Figure 5A is a vector diagram representing the conventional sequential optimization CELP coding; Figure 5B is a vector diagram representing the conventional simultaneous optimization CELP coding; and Figure 5C is a vector diagram representing a gain optimization CELP coding most preferable to the present invention. These figures represent vector diagrams by taking a two-dimensional vector as an example. In the case of the sequential optimization CELP coding (Fig. 5A), a relatively small computation amount is needed to obtain the optimized vector A X ', i.e., AX' = bAP + gAC. In this case, however an undesirable error Δe is liable to appear between the vector A X ' and the input vector A X , which lowers the quality of the reproduced speech. In the case of the simultaneous optimization CELP coding (Fig. 5B), AX' = AX can stand as shown in Fig. 5B, and consequently, the quality of the reproduced speech becomes better than the case of Fig. 5A. In the case of Fig. 5B, however the computation amount becomes large, as can be understood from the above-recited equation (5). It is known that the CELP coding method, in general, requires a large computation amount, and to overcome this problem, as mentioned previously, the sparce-stochastic codebook is used. Nevertheless, the current reduction of the computation amount is insufficient, and accordingly the present invention provides a special sparse-stochastic codebook. Figure 6 is a block diagram showing a principle of the construction based on the sequential optimization coding according to the present invention. Namely, Fig. 6 is a conceptual depiction of an optimization algorithm for the selection of optimum code vector from a hexagonal lattice code vector stochastic codebook 20 and the selection of the gain b, which is an improvement over the prior art algorithm shown in Fig. 3. The present invention is featured by code vectors to be loaded in the sparse-stochastic codebook. The code vectors are formed as multi-dimensional polyhedral lattice vectors, herein referred to as the hexagonal lattice code vectors, each consisting of a zero vector with one sample set to +1 and another sample set to -1. Figure 7 is a two-dimensional vector diagram representing hexagonal lattice code vectors according to the basic concept of the present invention. The hexagonal lattice code vector stochastic codebook 20 is set up by vectors C 1 , C 2 , and C 3 depicted in Fig. 7. These three vectors are located on a two-dimensional paper which is perpendicular to a three-dimensional reference vector defined as, for example, t [1, 1, 1], where the symbol t denotes a transpose, and the three vectors are set by unit vectors e 1 , e 2 and e 3 extending along the x-axis, y-axis and z-axis, respectively, and located on the planes defined by the x-y axes, y-z axes, and z-x axes, respectively. Accordingly, for example, the code vector C 1 is formed by a composite vector of e 1 + (-e 2 ). Here, assuming that an N-dimensional matrix as I = [e 1 , e 2 , --- e n ] each of the hexagonal lattice code vectors C is expressed as C n, m = [e n - e m ]. Namely, each vector C is constructed by a pair of impulses +1 and -1 and the remaining samples, which are zero vectors. Therefore, the vector A C , which is obtained by multiplying the hexagonal lattice code vector C with the perceptual weighting matrix A, i.e., A = [A 1 , A 2 , --- A N ] at the filter 4, is expressed as follows. AC = Ae n - Ae m = A n - A m As understood from the above equation, the vector A C can be generated merely by picking up both the element n and the element m of the matrix and then subtracting one from the other, and if the thus-generated vector A C is used for performing a correlation operation at multiplying units 41 and 42, the computation amount can be greatly reduced. In this case, it is known that such very sparse codebook does not affect the reproduced speech quality. Figure 8 is a block diagram showing another principle of the construction based on the sequential optimization coding according to the present invention. In this case, the autocorrelation value t (A C )A C to be input to the evaluation unit 11 is calculated, as in Fig. 6, by a combination of both of the filters 4 and 42, and the correlation value t (A C )A Y to be input, to the evaluation unit 11 is generated by first transforming the pitch prediction error signal vector A Y , at an arithmetic processing means 21, into t AA Y , and then applying the code vector C from the hexagonal lattice stochastic codebook 20, as is, to a multiplying unit 22. This enables the related operation to be carried out by making good use of the advantage of the hexagonal lattice codebook 20 as is, and thus the computation amount becomes smaller than in the case of Fig. 6. Similarly, the prior art simultaneous optimization CELP coding of Fig. 4 can be improved by the present invention as shown in Fig. 9. Figure 9 is a block diagram showing a principle of the construction based on the simultaneous optimization coding according to the present invention. The computation amount needed in the case of Fig. 9 can be made smaller than that needed in the case of Fig. 4. The concept of Fig. 8 can be also adopted to the simultaneous optimization CELP coding as shown in Fig. 10. Figure 10 is a block diagram showing another principle of the construction based on the simultaneous optimization coding according to the present invention. By adopting the concept of Fig. 8, the input speech signal vector A X is transformed to t AA X at a first arithmetic processing means 31; the pitch prediction vector A P is transformed to t AA P at a second arithmetic processing means 34; and the thus-transformed vectors are multiplied by the hexagonal lattice code vector C , respectively. Accordingly, the computation amount is limited to only the number of hexagonal lattice vectors. The present invention can be applied to not only the above-mentioned sequential and simultaneous optimization CELP codings, but also to a gain optimization CELP coding as shown in Fig. 7C, but the best results by the present invention are produced when it is applied to the optimization CELP coding shown in Fig. 5C. This will be explained below in detail. Figure 11 is a block diagram showing a principle of the construction based on an orthogonalization transform CELP coding to which the present invention is most preferably applied. Regarding the pitch period, an evaluation and a selection the pitch prediction residual vector P and the gain b are performed in the usual way but, for the code vector C , a weighted orthogonalization transforming unit 60 is mounted in the system. The unit 60 receives each code vector C , from the conventional sparse-code 2, and the received code vector C is transformed into a perceptually reproduced code vector A C ' which is orthogonal to the optimum pitch prediction vector A P among each of the perceptually weighted pitch prediction residual vectors. Namely, the orthogonal vector A C ', not the usual vector A C , is used for the evaluation by the evaluation unit 11. This will be further clarified with reference to Fig. 5C. Note that, under the sequential optimization coding method (Fig. 5A), a quantization error is made larger as depicted by Δe in Fig. 5A, since the code vector A C , which has been taken as the vector C from the codebook 2 and perceptually weighted by A, is not orthogonal relative to the perceptually weighted pitch prediction reproduced signal vector bA P . Based on the above, if the code vector A C is transformed to the code vector A C ' which is orthogonal to the pitch prediction vector A P , by a known transformation method, the quantization error can be minimized, even under the sequential optimization CELP coding method of Fig. 5A, to a quantization error comparable to that obtained by the simultaneous optimization method (Fig. 5B). The gain g is multiplied with the thus-obtained code vector A C ', to generate the linear prediction reproduced signal vector gA C '. The evaluation unit 11 selects the code vector from the codebook 2 and selects the gain g, which can minimize the power of the linear prediction error signal vector E , by using the thus generated gA C ' and the perceptually weighted input speech signal vector A X . Here, the present invention is actually applied to the orthogonalization transform CELP coding system of Fig. 11 based on the algorithm of Fig. 5C. Figure 12 is a block diagram showing a principle of the construction based on the orthogonalization transfer CELP coding to which the present invention is applied. Namely, the conventional sparse-stochastic codebook 2 is replaced by the hexagonal lattice code vector stochastic codebook 20. The orthogonalization transforming unit 60 generates the perceptually weighted reproduced code vector A C ' which is orthogonal to the optimum pitch prediction vector A P among the code vectors C from the hexagonal lattice stochastic codebook 2 which are perceptually weighted by A. In this case, the transforming matrix H for applying the orthogonalization to C ' relative to A P is indicated as C' = HC. Thus, the final vector A C ' can be calculated by very simple equation, as follows. AC' - AHC = HA n - HA m This means that the computation amount needed for the correlation operation t (A C )A X at a multiplying unit 65, and for the autocorrelation operation t (A C ')A C ' at a multiplying unit 66 can be greatly reduced. Figure 13 is a block diagram showing a principle of the construction based on another orthogonalization transform CELP coding to which the present invention is applied. The construction of Fig. 13 is created by taking into account the fact that, in Fig. 12, the operation at the multiplying unit 65 is carried out between the two vectors, i.e., A C ' (= AH C = HA n - HA m ) and A X . For a further reduction in the computation amount, as in the case of Fig. 8 or Fig. 10, the perceptually weighted input speech signal vector AX is applied to an arithmetic processing means 70, to generate a time-reversed perceptually weighted input speech signal vector t AA X . The vector t AA X is then applied to a time-reversed orthogonalization transforming unit 71 to generate a time-reversed perceptually weighted orthogonally transformed input speech signal vector t (AH)A X with respect to the optimum perceptually weighted pitch prediction residual vector A P . Then, both the thus generated time-reversed perceptually weighted orthogonally transformed input speech signal vector t (AH)A X and each code vector C of the hexagonal lattice stochastic codebook 20 are multiplied at the multiplying unit 65, to generate the correlation value t (AH C )A X therebetween. Further, the orthogonalization transforming unit 72 calculates, as in the case of Fig. 12, the perceptually weighted orthogonally transformed code vector AH C relative to the optimum perceptually weighted pitch prediction residual vector A P , which AH C is then sent to the multiplying unit 66 to find the related autocorrelation t (AH C )AH C . Thus, the vector t (AH)A X , obtained by applying the time-reversed perceptual weighting at the arithmetic processing unit 70, is then applied, at the transforming unit 70, with a time-reversed orthogonalization transforming matrix H to, thereby find the correlation value therebetween, i.e., t (AHC)AX = t (AC')AX is obtained only by multiplying the code vector C of the hexagonal lattice codebook 20 as is, at the multiplying unit 65, whereby the computation amount can be reduced. Figure 14 is a block diagram showing a principle of the construction which is an improved version of the construction of Fig. 13. In the figure, the multiplying operation at the multiplying unit 65 is identical to that of Fig. 13, except that an orthogonalization transforming unit 73 is employed in the latter system. At the stage preceding the unit 73, an autocorrelation matrix t (AH)AH, which is renewed at every frame, of the time-reversed transforming matrix t (AH) is produced by the arithmetic processing means 70 and the time-reversed orthogonalization transforming unit 71. Then, from the matrix t (AH)AH, three elements (n, n), (n, m) and (m, m) are taken out, which elements define each code vector C of the hexagonal lattice codebook 20. The elements are used to calculate an autocorrelation value t (A C ')A C ' of the code vector A C ', which is perceptually weighted and orthogonally transformed relative to the optimum perceptually weighted pitch prediction residual vector A P . Namely, the autocorrelation to be found by the orthogonalization transforming unit 73 is equal to an autocorrelation matrix t (AH)AH supplemented with the code vector C , which results in t (AH C )AH C . Since AC = A n - A m stands as explained before, the vector is rewritten as follows. t (AHC)AHC = t H t (A n - A m )H(A n - A m ) = t H t A n A n H - t H t A m A n H - t H t A n A m H + t H t A m A m H = ( t H t AAH) n,n - 2( t H t AAH) n,m + ( t H t AAH) m,m Assuming that the matrix t H t AAH in the above equation is prepared in advance, and is renewed at every frame, the autocorrelation value t (A C ')A C ' of the code vector A C ' can be obtained only by taking out the three elements (n, n), (n, m) and (m, m) from the above matrix, which code vector A C ' is a perceptually weighted and orthogonally transformed code vector relative to the optimum perceptually weighted pitch prediction residual vector A P . As explained above, the present invention is applicable to any type of CELP coding, such as the sequential optimization, the simultaneous optimization and orthogonally transforming CELP codings, and the computation amount can be greatly reduced due to the use of the hexagonal lattice codebook 20. Figure 15A and 15B illustrate first and second examples of the arithmetic processing means shown in Figs. 8, 10, 13 and 14. In Fig. 15A, the arithmetic processing means is comprised of members 21a, 21b and 21c. The member 21a is a time-reversed unit which rearranges the input signal (optimum A P ) inversely along a time axis. The member 21b is an infinite impulse response (IIR) perceptual weighting filter comprised of a matrix A (= 1/A'(Z)). The member 21c is another time-reversed unit which arranges again the output signal from the filter 21b inversely along a time axis, and thus the arithmetic sub-vector V (= t AA P or t AA X , tAA Y ) is generated thereby. Figures 16A to 16D depict an embodiment of the arithmetic processing means shown in Fig. 15A in more detail and from a mathematical viewpoint. Assuming that the perceptually weighted pitch prediction residual vector A P is expressed as shown in Fig. 16A, a vector (A P ) TR becomes as shown in Fig. 16B which is obtained by rearranging the elements of Fig. 16A inversely along a time axis. The vector (A P ) TR of Fig. 16B is applied to the IIR perceptual weighting linear prediction reproducing filter (A) 21b, having a perceptual weighting filter function 1/A'(Z), to generate the A(A P ) TR as shown in Fig. 16C. In this case, the matrix A corresponds to a reversed matrix of a transpose matrix, t A, and therefore, the A(A P ) T R can be returned to its original form by rearranging the elements inversely along a time axis, and thus the vector of Fig. 16D is obtained. The arithmetic processing means may be constructed by using a finite impulse response (FIR) perceptual weighting filter which multiplies the input vector AP with a transpose matrix, i.e., t A. An example thereof is shown in Fig. 15B. Figures 17A to 17C depict an embodiment of the arithmetic processing means shown in Fig. 15B in more detail and from a mathematical viewpoint. In the figures, assuming that the FIR perceptual weighting filter matrix is set as A and the transpose matrix t A of the matrix A is an N-dimensional matrix, as shown in Fig. 7A, corresponding to the number of dimensions N of the codebook, and if the perceptually weighted pitch prediction residual vector A P is formed as shown in Fig. 17B (this corresponds to a time-reversed vector of Fig. 16B), the time-reversed perceptual weighting pitch prediction residual vector t AA P becomes a vector as shown in Fig. 17C, which vector is obtained by multiplying the above-mentioned vector A P with the transpose matrix t A. Note, in Fig. 16C, the symbol * denotes a multiplication symbol, and in this case, the accumulated multiplication number becomes N 2 /s, and thus the result of Fig. 16D and the result of Fig. 17C become the same. Although, in Figs. 16A to 16D, the filter matrix A is formed as the IIR filter, it is also possible to use the FIR filter therefor. If the FIR filter is used, however the overall number of calculations becomes N 2 /2 (plus 2N times shift operations) as in the embodiment of Figs. 17A to 17C. Conversely, if the IIR filter is used, and assuming that a tenth order linear prediction analysis is achieved as an example, just 10N calculations plus 2N shift operations need be used for the related arithmetic processing. Figure 18 is a block diagram showing a first embodiment based on the structure of Fig. 11 to which the hexagonal lattice codebook is applied. The construction is basically the same as that of Fig. 11, except that the conventional sparse-codebook 2 is replaced by the hexagonal lattice vector codebook 20 of the present invention. In the first embodiment, an orthogonalization transforming unit 60 is comprised of: an arithmetic processing means 61 similar to the aforesaid arithmetic processing means 61 of Fig. 15A which receives the optimum perceptually weighted pitch prediction residual vector A P and generates an arithmetic sub-vector V (= t AA P ); a Gram-Schmidt orthogonalization transforming unit 62 which generates a vector C ' from the code vector C of the hexagonal lattice codebook 20 such that the vector C ' becomes orthogonal to the vector V ; and a filter matrix A, which applies the perceptual weighting to the code vector C ' to generate the vector A C '. In the above case, the Gram-Schmidt orthogonalization arithmetic equation is given by C' = C - V( t VC/ t VV) The transformer 62 of Fig. 18 is applied to realize the above algorithm. Note, in the figure, each circle mark represents a vector operation and each triangle mark represents a scalar operation. Figure 19A is a vector diagram for representing a Gram-Schmidt orthogonalization transform; Fig. 19B is a vector diagram representing a householder transform for determining an intermediate vector B ; and Fig. 19C is a vector diagram representing a householder transform for determining a final vector C '. Referring to Fig. 19A, a parallel component of the code vector C relative to the vector V is obtained by multiplying the unit vector ( V / t VV ) of the vector V with the inner product t CV therebetween, and the result becomes t CV(V/ t VV). Consequently, the vector C ' orthogonal to the vector V can be given by the above-recited equation (6). The thus-obtained vector C ' is applied to the perceptual weighting filter 63 to produce the vector A C '. The optimum code vector C and gain g can be selected by applying the above vector A C ' to the sequential optimization CELP coding shown in Fig. 3. Figure 20 is a block diagram showing a second embodiment, based on the structure of Fig. 11, to which the hexagonal lattice codebook is applied. The construction (based on Fig. 12) is basically the same as that of Fig. 18, except that an orthogonalization transformer 64 is employed instead of the orthogonalization transformer 62. The transforming equation performed by the transformer 64 is indicated as follows. C' = C - 2B{( t BC)/( t BB)} The above equation is applied to realize the householder transform. In the equation (8), the vector B is expressed as follows. B = V - |V|D where the vector D is orthogonal to all the code vectors C of the hexagonal lattice code vector stochastic codebook 20. Referring back to Figs. 19B and 19C, the algorithm of the householder transform will be explained. First, the arithmetic sub-vector V is folded, with respect to a folding line, to become the parallel component of the vector D , and thus a vector (| V |/| D |) D is obtained. Here, D /| D | represents a unit vector of the direction D . The thus-created D direction vector is used to create another vector in a direction reverse to the D direction, i.e., - D direction, which vector is expressed as -(|V|/|D|)D as shown in Fig. 19B. This vector is then added to the vector V to obtain a vector B , i.e., B = V - (|V|/|D|)D which becomes orthogonal to the folding line (refer to Fig. 19B). Further, a component of the vector C projected onto the vector B is found as follows, as shown in Fig. 19A. {( t CB)/( t BB)}B The thus found vector is doubled in an opposite direction, i.e., - 2 t CB t BB B, and added to the vector C , and as a result the vector C ' is obtained which is orthogonal to the vector V . Thus, the vector C ' is created and is applied with the perceptual weighting A to obtain the code vector A C ' which is orthogonal to the optimum vector A P . Figure 21 is a block diagram showing an embodiment based on the principle construction shown in Fig. 14 according to the present invention. In Fig. 21, the arithmetic processing means 70 of Fig. 14 can be comprised of the transpose matrix t A, as in the aforesaid arithmetic processing means 21 (Fig. 15B), but in the embodiment of Fig. 21, the arithmetic processing means 70 is comprised of a time-reversing type filter which achieves an inverse operation in time. Further, an orthogonalization transforming unit 73 is comprised of arithmetic processors 73a, 73b, 73c and 73d. The arithmetic processor 32a generates, similar to the arithmetic processing means 70, the arithmetic sub-vector V (= t AA P ) by applying a time-reversing perceptual weighting to the optimum pitch prediction vector A P given as an input signal thereto. The above vector V is transformed, at the arithmetic processor 32b including the perceptual weighting matrix A, into three vectors B , u B and A B by using the vector D , as an input, which is orthogonal to all of the code vectors of the hexagonal lattice sparse-stochastic codebook 20. The vectors B and u B of the above three vectors are sent to a time-reversing orthogonalization transforming unit 71, and the unit 71 applies a time-reversing householder transform to the vector t AA X from the arithmetic processing means 70, to generate t H t AA X (= t (AH)A X ). The time-reversed householder orthogonalization transform, t H, at the unit 71 will be explained below. First, the above-recited equation (8) is rewritten, using u = 2 / t BB , as follows. C' = C - B(u t BC) The equation (9) is then transformed, by using C' = HC, as follows. H = C'C -1 = I - B(u t B) (I is a unit vector) Accordingly, t H = I - (uB) t B = I - B(u t B) is obtained, which is same as H written above. Here, the aforesaid vector t (AH)A X input to the transforming unit 71 is replaced by, e.g., W , and the following equation stands. t HW = W - (WB)(u t B) This is realized by the arithmetic construction as shown in the figure. The above vector t(AH)A X is multiplied, at the multiplier 65, by the hexagonal lattice code vector C from the codebook 20, to obtain a correlation value R XC which is expressed as shown below. R XC = t C t (AH)AX = t (AHC)AX The value R XC is sent to the evaluation unit 11. The arithmetic processor 73C receives the input vectors AB and uB and finds the orthogonalization transform matrix H and the time-reversing orthogonalization transform matrix t H, and further, a FIR and thus perceptual weighting filter matrix A is applied thereto, and thus the autocorrelation matrix t (AH)AH of the time-reversing perceptual weighting orthogonalization transforming matrix AH produced by the arithmetic processing unit 70 and the transforming unit 71, is generated at every frame. The thus-generated autocorrelation matrix t (AH)AH, G, is stored in the arithmetic processor 73d to produce, when the hexagonal lattice code vector C of the codebook 20 is sent thereto, the vector t (AHC)AH C , which is written as follows, as previously shown. t (AHC)AHC = t H t (A n - A m )H(A n - A m ) = t H t A n A n H - t H t A m A n H - t H t A n A m H + t H t A m A m H = ( t H t AAH) n,n - 2( t H t AAH) n,m + ( t H t AAH) m,m Accordingly by only taking out three elements (n, n), (n, m) and (m, m) in the matrix, i.e., t H t AAH= t (AH)AH, from the arithmetic processor 73d and sending same to the evaluation unit 11, the autocorrelation value R CC , expressed as below in the equation (11), of the code vector A C ' can be produced, which vector A C ' is obtained by applying the perceptual weighting and the orthogonalization transform to the optimum perceptually weighted pitch prediction residual vector A P . R CC = t (AHC)AHC = t (AC')AC' The thus-obtained value R CC is sent to the valuation unit 11. Thus the evaluation unit 11 receives two correlation values, and by using same, selects the optimum code vector and the gain. The following table clarifies the multiplication number needed in a variety of CELP coding system. Referring to the above Table, if N = 60, as an example, is set for the N-dimensional sparsed code vectors, 500 to 600 multiplications are required. Assuming here that 1024 code vectors are loaded as standard in the codebook, a computation amount of about 12 million/sec is needed for a search of one code vector in the above case of N = 60. This computation amount is not comparable with that of a usual IC processor. Contrary to the above, the use of the hexagonal lattice codebook according to the present invention can drastically reduce the multiplication number to about 1/200. Figure 22 depicts a graph of speech quality vs computational complexity. As mentioned previously, the hexagonal lattice vector codebook of the present invention is most preferably applied to the orthogonalization transform CELP coding. In the graph, × symbols represent the characteristics under the conventional sequential optimization (OPT) CELP coding and the conventional simultaneous optimization (OPT) CELP coding, and o symbols represent the characteristics under the Gram-Schmidt and householder orthogonalization transform CELP codings. Four symbols are measured with the use of the hexagonal lattice vector codebook 20. In the graph, the abscissa indicates millions of operations per second, where 1 operation - 1 multiply-accumulate = 1 compare = 0.1 division = 0.1 square root stand. Namely, 1 operation is equivalent to 1 multiply-accumulate, one comparison, i.e., < or >, one 0.1 division (÷) (1 division = 10 operations) and one 0.1 square root, i.e., . The ordinate thereof indicates a sequential SNR in computer Simulation (dB). As can be seen in the graph, the computation amount required in the Gram-Schmidt orthogonalization and householder transform CELP coding systems is larger than that required in the sequential optimization CELP coding system, but the former two systems give a better speech reproduction quality than that produced by the latter system. From the viewpoint of the computation amount, the Gram-Schmidt transform is superior to the householder transform, but from the viewpoint of the quality (SNR), the householder transform is the best among the variety of CELP coding methods.

Claims: A speech coding system based on a vector quantization technique using a code-excited linear prediction (CELP) coding algorithm, including: a) an adaptive codebook (1) storing therein a plurality of pitch prediction residual vectors (P); b) a sparse-stochastic codebook (2,20) storing therein a plurality of stochastic code vectors (C); c) first and second perceptual weighting linear prediction synthesis filters (3,4) for perceptually weighting a pitch prediction residual vector (P) and a stochastic code vector (C), respectively output from said adaptive codebook (1) and said sparse-stochastic codebook (2); and d) first and second gain amplifiers (5,6) for applying a first gain (b) and a second gain (g) to a respective weighted pitch prediction residual vector (AP) and a weighted stochastic code vector (AC) output from said first and second filters (3,4) respectively; e) a third perceptual weighting filter (7) for perceptually weighting an input speech signal; f) an evaluation unit (10,11,16) for selecting optimum vectors (P,C) and optimum gains (b,g), for which an error signal (E) between said perceptually weighted input speech signal (AX) and said amplified perceptually weighted pitch prediction residual vector (bAP) and said amplified perceptually weighted code vector (gAC) is minimal; and g) said sparse-stochastic codebook (2,20,fig. 7) comprising code vectors (c 1 ,-c 1 ;c 2 ,-c 2 ;c 3 ,-c 3 ) arranged in an N-dimensional space spanned by a number N of orthogonal unit vectors (e 1 , e 2 , e 3 ... e n , e m , ... e N ), with said code vectors (c 1 ,-c 1 ;c 2 ,-c 2 ;c 3 ,-c 3 ) being respectively defined as the difference between two unit vectors (e n -e m ), such that said code vectors are constituted by a zero vector with one sample set to +1 and another sample set to -1, wherein said code vectors (c) describe an N-dimensional polyhedron, which lies in a plane perpendicular to a reference vector. A speech coding system according to claim 1, wherein said sparse-stochastic codebook (20) is incorporated into said coding system operated under a sequential optimization CELP coding algorithm, where h1) said evaluation means (10,11,16) is constituted by a first evaluation unit (10,fig. 1) which selects an optimum pitch prediction residual vector (P) from said adaptive codebook (1) and selects a corresponding optimum first gain (b), such that an optimum pitch prediction residual vector (P) can minimize the power of the pitch prediction error signal vector (AY), which is an error vector between the perceptually weighted input speech signal vector (AX) and a pitch prediction reproduced signal (bAP) obtained by applying the perceptual weighting (A) and said gain (b) to each said pitch prediction residual vector (P) of said adaptive codebook (1); and where said system further comprises h2) a second evaluation unit (11,fig, 1) which selects the optimum stochastic code vector (C) from said sparse-stochastic codebook (20) and selects the corresponding optimum second gain (g) such that the optimum stochastic code vector (C) can minimize the power of an error signal vector (E) between said pitch prediction error signal vector (AY) and a linear prediction reproduced signal (gAC) obtained by applying the perceptual weighting (A) and said gain (g) to each said stochastic code vector (C) of said stochastic codebook (20); and i1) an arithmetic processing means (21,fig. 8) for calculating a time-reversed perceptually weighted pitch prediction error signal vector ( t AAY) from said pitch prediction error signal vector (AY); i2) a multiplying unit (22,fig. 8) which multiplies said time-reversed perceptually weighted pitch prediction error signal vector ( t AAY) with each stochastic code vector (C) of said stochastic codebook (20) to produce a correlation value ( t (AC)AY) between the above two vectors; and i3) a filter operation unit (23,fig. 8) which finds an autocorrelation value ( t (AC)AC) of the reproduced code vector (AC) obtained by applying the perceptual weighting to each said stochastic code vector (C) of said stochastic codebook (20); i4) whereby the evaluation unit (11) selects the optimum code vector (C) and the corresponding optimum gain (g) such that the optimum code vector can minimize the power of the error signal vector (E), based on the above two correlation values, with respect to said pitch prediction error signal vector (AY). A speech coding system according to claim 1, wherein h) said sparse-stochastic codebook (20) is incorporated into said coding system operated under a simultaneous optimization CELP coding algorithm, where h1) said evaluation unit (10,11,16) is constituted by an evaluation unit (16,fig. 2) which selects the optimum code vector (C) from the stochastic codebook (20) and selects the corresponding optimum first and second gains (b,g) such that the optimum code vector (C) can minimize the power of an error signal vector (E) between the perceptually weighted input speech signal vector (AX) and a reproduced signal vector (AX') which is a sum of a pitch prediction reproduced signal vector (bAP) and a linear prediction signal vector (gAC), where the vector (bAP) is obtained by applying the perceptual weighting (A) and the gain (b) to each said pitch prediction residual vector (P) of said adaptive codebook (1), and the vector (gAC) is obtained by applying the perceptual weighting (A) and the gain (g) to each stochastic code vector (C) of said stochastic codebook (20); and where the system further comprises: i1) a first arithmetic processing means (31,fig. 10) for calculating a time-reversed perceptually weighted input speech signal vector ( t AAX) from said perceptually weighted input speech signal vector (AX); i2) a second arithmetic processing means (32,fig. 10) for calculating a time-reversed perceptually weighted pitch prediction vector ( t AAP) from the perceptually weighted pitch prediction vector (AP) which corresponds to said pitch prediction reproduced signal (bAP) but is not multiplied by the gain (b) ; i3) a first multiplying unit (33,fig. 10) which generates a correlation value ( t (AC)AX) between two vectors by multiplying one of the two vectors, i.e., said time-reversed perceptually weighted input speech signal vector ( t AAX) with the other, i.e., each said stochastic code vector (C) of said stochastic codebook (20); i4) a second multiplying unit (34,fig. 10) which generates a correlation value ( t (AC)AP) between two vectors by multiplying one of the two vectors, i.e., said time-reversed perceptually weighted pitch prediction vector ( t AAP) with the other, i.e., each said stochastic code vector (C) of said stochastic codebook (20); and i5) a filter operation unit (23,fig. 10) which finds an autocorrelation value ( t (AC)AC) of the reproduced stochastic code vector (AC) obtained by applying the perceptual weighting to each said stochastic code vector (C) of said stochastic codebook (20); i6) whereby the evaluation unit (16,fig. 10) selects the optimum stochastic code vector (C) and the corresponding optimum gains (b, g) such that the optimum code vector can minimize the power of the error signal vector based on all of the above correlation values. A speech coding system according to claim 1, wherein h) said stochastic codebook (20) is incorporated into said coding system operated under an orthogonalization transform CELP coding algorithm, where h1) said evaluation unit is constituted by a first evaluation unit (10,fig. 11) which selects the optimum pitch prediction residual vector (P) from said adaptive codebook (1) and selects the corresponding optimum first gain (b) such that the optimum pitch prediction residual vector can (P) can minimize the power of the pitch prediction error signal vector (AY) which is an error vector between the perceptually weighted input speech signal vector (AX) and a pitch prediction reproduced signal (bAP) obtained by applying the perceptual weighting (A) and said gain (b) to each said pitch prediction residual vector (P) of said adaptive codebook (1); and where the system further comprises: h2) a weighted orthogonalization transforming unit (60,fig. 11) which transforms each said stochastic code vector (C) of said stochastic codebook (20) into an orthogonal perceptually weighted reproduced code vector (AC') which is made orthogonal to the said optimum perceptually weighted pitch prediction vector (AP) ; and h3) a second evaluation unit (11,fig, 11) which selects the optimum stochastic code vector (C) from the stochastic codebook (20) and selects the corresponding optimum second gain (g) such that the optimum stochastic code vector (C) can minimize the power of a linear prediction error signal vector (E) between the perceptually weighted input speech signal vector (AX) and a linear prediction reproduced signal (gAC') which is generated by multiplying said gain (g) by said orthogonal perceptually weighted reproduced code vector (AC'); and i1) an arithmetic processing means (70,fig. 13) for calculating a time-reversed perceptually weighted input speech signal vector ( t AAX) from said perceptually weighted input speech signal vector (AX); i2) a time-reversed orthogonalization transforming unit (71,fig. 13) which produces a time-reversed perceptually weighted orthogonally transformed input speech signal vector ( t (AH)AX) with respect to the optimum perceptually weighted pitch prediction vector (AP); i3) a multiplying unit (65,fig. 13) which generates a correlation value ( t (AHC)AX) between two vectors by multiplying one of the two vectors, i.e., said time-reversed perceptually weighted orthogonally transformed input speech signal vector ( t (AH)AX) with the other, i.e., each said stochastic code vector (C) of said stochastic codebook (20); i4) an orthogonalization transforming unit (72,fig. 13) which calculates a perceptually weighted orthogonally transformed stochastic code vector (AHC) relative to the optimum pitch prediction residual vector (AP); and i5) a multiplying unit (66,fig. 13) which finds an autocorrelation value ( t (AHC)AHC) of said perceptually weighted orthogonally transformed stochastic code vector (AHC); i6) whereby said evaluation unit (11,fig. 13) selects the optimum code vector (C) and the corresponding optimum gain (g) such that the optimum stochastic code vector (C) can minimize the power of the error signal vector (E), based on the above two correlation values, with respect to the perceptually weighted input speech signal vector (AX). A speech coding system according to claim 4, including: an orthogonalization transforming unit (73,fig. 14) which receives an autocorrelation matrix ( t (AH)AH), which is renewed at every frame, of the time-reversed transforming matrix ( t (AH)) produced by said arithmetic processing means (70) and said time-reversed orthogonalization transforming unit (71), takes out three elements (n,n), (n,m) and (m,m), which elements define each said stochastic code vector (C) of said stochastic codebook (20), from said matrix ( t (AH)AH), and calculates an autocorrelation value ( t (AC')AC') of the stochastic code vector (AC') which is perceptually weighted and orthogonally transformed relative to the optimum perceptually weighted pitch prediction vector (AP). A speech coding system according to claim 1, characterized in that said reference vector is defined as t [1,1,1,...1] in the unit vector space.

Inventors: JOHNSON MARK, TANIGUCHI TOMOHIKO, JOHNSON, MARK, TANIGUCHI, TOMOHIKO
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1991
Main classification: G10L9
IPC codes: G10L19, H03M7