Speech coding apparatus

Abstract: A speech coding apparatus which selects an optimum code from a code book (21), the optimum code giving the minimum magnitude of error signal between the input signal and the reproduced signal obtained by a filter calculation using a linear prediction parameter from a linear predictive analysis unit (10) with respect to the codes of the code data, wherein use is made, as the codes, of a code formed by thinning to 1/M (M being an integer of two or more) the plurality of sampling values constituting the codes. To compensate for the deterioration of the quality of the reproduced signal caused by thinning the sampling values in this way, an additional linear predictive analysis unit (20) is further introduced and use made of an amended linear prediction parameter instead of the linear prediction parameter.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a speech coding apparatus, more particularly to a speech coding apparatus which operates under a high quality speech coding method. By using a speech coding apparatus which operates under a high quality speech coding method, the following three advantages can be obtained in a digital communication system: a) In general, using this method it is possible to band compress a digital speech signal transmitted at 64 kbps to, for example, 8 kbps and possible to transmit the digital speech signal at a very low bit rate. This can be a factor for reducing the so-called line transmission costs. b) It becomes easy to simultaneously transmit speech signals and nonspeech signals (data signals). Therefore, there is a greater economic merit to the communication system and much greater convenience to the user. c) When the transmission line making up the transmission system is a wireless transmission line, the radio frequency can be used much more efficiently and, in a communication system provided with a speech storage memory, a greater amount of speech data can be stored with the same memory capacity of the speech storage memory as before. With the above-mentioned three advantages, the speech coding apparatus of the high quality speech coding method can be expected to be useful for the following systems: 1) Intraoffice digital communication systems, 2) Digital mobile radio communication systems (digital car telephones), 3) Speech data storage and response systems. In this case, in a speech coding apparatus used for the communication systems of the above 1) and 2), it becomes important that, first, real time processing become possible and, second, the apparatus be constructed compactly. 2. Description of the Related Art There are human operators at both the transmission side and reception side of a speech communication system. That is, signals expressing human speech (speech signals) serve as the medium for communication. These speech signals, as is known, include considerable redundancy. Redundancy means that there is a correlation between adjacent speech samples and also between samples apart from some periodic durations. If one takes note of this redundancy, then when transmitting speech signals or when storing speech signals, it becomes possible to reproduce speech signals of a sufficiently good quality even without transmitting or storing completely all the speech signals. Based on this observation, it becomes possible to remove the above-mentioned redundancy from the speech signals and compress the speech signals for greater efficiency. This is what is referred to as the high quality speech coding method. Research is proceeding in different countries on this at the present time. Various forms of this high quality speech coding method have been proposed. One of these is the "code-excited linear prediction" speech coding method (hereinafter referred to as the CELP method). This CELP method is known as a very low bit rate speech coding method. Despite the very low bit rate, it is possible to reproduce speech signals of an extremely good quality. Details of the conventional speech coding apparatus based on the CELP method will be given later, but note that there is a very grave problem involved with it. The problem is the massive amount of digital calculations required for encoding speech. Therefore, it becomes extremely difficult to perform speech communication in real time. Theoretically, 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. This being so, it would be impossible to make a compact (handy type) speech coding apparatus in practice. A device showing the features of the preamble of claim 1 is known from ICASSP 1986 "Complexity Reduction Methods for Vector Excitation Coding" 7th-11th April 1986 Volume 4 p3055-3058. SUMMARY OF THE INVENTION Therefore, the present invention has as its object the realization of a speech coding apparatus able to perform speech communication in real time without enlargement of the circuits. According to the present invention there is provided a speech coding apparatus having: a linear predictive analysis unit which receives an input signal of digitalized speech, performs linear prediction, and extracts a linear prediction parameter; a prediction filter unit which uses the said linear prediction parameter for filter calculations; a code book which successively transmits a plurality of types of codes comprised of white noise series to be applied for the filter calculations in the prediction filter unit; a comparator which receives as input the results of the filter calculations in the prediction filter unit, i.e. the reproduced signal, and the said input signals, compares these signals, and outputs an error signal; an error evaluation unit which successively reads a plurality of codes in said code book and calculates as the optimum code the one of said codes giving the minimum magnitude of error signal; and an output unit which transmits at least the linear prediction parameter and as the coded output signal the address in the code book corresponding to the optimum code; said code book being comprised of a code book which stores codes formed by thinning to 1/M (M being an integer of two or more) the number of the plurality of sampling values inherently possessed by the codes as a code book, characterized by compensating means, comprised of an additional linear predictive analysis unit, said additional linear predictive analysis unit receiving as two inputs the said input signal and the said optimum code obtained based on the said linear prediction parameter extracted by the said linear predictive analysis unit and calculates an amended linear prediction parameter which amends the said linear prediction parameter and said output unit uses said amended linear prediction parameter instead of the said linear prediction parameter so as to transmit said coded output signals. 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 the principle and construction of a conventional speech coding apparatus based on the CELP method; Fig. 2 is a block diagram showing more concretely the constitution of Fig. 1; Fig. 3 is a flow chart of the basic operation of the speech coding apparatus shown in Fig. 2; Fig. 4 is a block diagram of the principle and construction of a speech coding apparatus based on the present invention; Fig. 5 is a view of an example of the state of thinning out of sampling values in a code book; Fig. 6A, 6B, 6C, and 6D are views explaining the effects of introduction of an additional linear predictive analysis unit; Fig. 7 is a block diagram of an embodiment of a speech coding apparatus based on the present invention; Fig. 8 is a flow chart of the basic operation of the speech coding apparatus shown in Fig. 7; Fig. 9A is a view of the construction of the additional linear predictive analysis unit introduced in the present invention; Fig. 9B is a view of the construction of a conventional linear predictive analysis unit; Fig. 10 is a view of the construction of the receiver side which receives coded output signals transmitted from the output unit of Fig. 7; and Fig. 11 is a block diagram of an example of the application of the present invention. DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing the embodiments of the present invention, the related art and the disadvantages therein will be described with reference to the related figures. Figure 1 is a block diagram of the principle and construction of a conventional speech coding apparatus based on the CELP method. In the figure, S in is a digital speech input signal which, on the one hand, is applied to the linear predictive analaysis unit 10 and on the other hand is applied to a comparator 13. The linear predictive analysis unit 10 extracts the linear predictive parameter P l by performing linear prediction on the input signal S in . This linear predictive parameter P₁ is supplied to a prediction filter unit 12. This prediction filter unit 12 uses the linear predictive parameter P l for filtering calculations on a code CD output from the code book 11 and obtains a reproduced signal R₁ in the output. In the code book 11 is stored in a code format a plurality of types of white noise series. The above-mentioned reproduced signal R₁ and the above-mentioned input signal S in are compared by a comparator 13 and the error signal between the two signals is input to an error evaluation unit 14. This error evaluation unit 14 searches in order through all the codes CD in the code book 11, finds the error signal ER (ER₁ , ER₂ , ER₃ , ...) with the input signal S in , and selects the code CD giving the minimum power of the error signal ER therein. The optimum code number CN, the linear predictive parameter P l , etc. are supplied to the output unit 15 and become the coding output signal S out . The output signal S out is transmitted to the opposing reception apparatus through, for example, a wireless transmission line. Figure 2 is a block diagram showing more concretely the constitution of Fig. 1. Note that constitutional elements the same throughout the figures are given the same reference numerals or symbols. First, speech is produced by the flow of air pushed out of the lungs to create a sound source of vocal cord vibration, turbulent noise, etc. This is given various tones by modifying the shape of the speech path. The language content of the speech is mostly the part expressed by the shape of the speech path but the shape of the speech path is reflected in the frequency spectrum of speech, so the phoneme information can be extracted by spectral analysis. One method of such spectral analysis is the linear predictive analysis method, which analysis method is based on the idea that the sampling values of speech signals are approximated by the linear coupling of sampling values of several times before. Therefore, the digital input signal S in is extracted beforehand in a processing frame of a length of, for example, 20 ms, and applied to the linear predictive analaysis and processing unit 10, then the spectral envelope of the processed frame is subjected to predictive analysis and the linear prediction coefficient a i (for example, i = 1, 2, 3 ... 10), the pitch period, and the pitch prediction coefficient are extracted. The linear prediction coefficient a i is applied to a short-term prediction filter 18 and the pitch period and pitch prediction coefficient are applied to a long-term prediction filter 17. Further, a residual signal is obtained by linear predictive analysis, but this residual signal is not used as a drive source in the CELP method. The white noise waveforms are used as a drive source. Further, the short term prediction filter 18 and long-term prediction filter 17 are driven by the input "0" and subtract from the input signal S in so as to remove the effects of the preceding processing frame. On the other hand, in the white noise code book 11 is stored as a code CD the series of white noise waveforms used as the drive source. The level of the white noise waveforms is normalized. Next, the white noise code book 11 formed by the digital memory outputs a white noise waveform corresponding to the input address, that is, the code number CD k . Since this while noise waveform is normalized as mentioned above, it passes through an amplifier 16 having a gain obtained by a predetermined evaluation equation, then the long-term prediction filter 17 performs production of the pitch period and the short-term prediction filter 18 performs prediction between close sampling values, whereby the reproduced signal R₁ is created. This signal R₁ is applied to the comparator 13. The difference of the reproduced signal R₁ from the input signal S in is obtained by the comparator 13 and the resultant error signal (S in -R₁) ER is weighted by the human auditory perception weighting processing unit 19 through matching of the human auditory spectrum to the spectrum of the white noise waveforms. In the error evaluation unit 14, the squared sum of the level of the auditory weighted error signal ER is taken and the error power is evaluated for each later-mentioned subprocessing frame (for example, of 5 ms). This evaluation is performed four time within a single processing frame (20 ms) and is performed similarly for all of the codes in the white noise code book 11, for example, each of 1024 codes. By this evaluation, the single code number CN giving the minimum error power in all the codes CD is selected. This designates the optimum code with respect to the input signal S in being now given. This is the optimum code. As the method for obtaining the optimum code, use is made of the known analysis-by-synthesis (ABS) method. Together with the linear prediction coefficient a i , etc., the code number CN corresponding to the optimum code is supplied to the output unit 15, where the a i , CN, etc. are multiplexed to give the coded output signal S out . The value of the linear prediction coefficient a i does not change within a single processing frame (for example, 20 ms), but the code changes with each of the plurality of processing subprocessing frames (for example, 5 ms) constituting the processing frame. Figure 3 is a flow chart of the basic operation of the speech coding apparatus shown in Fig. 2. At step a, the linear predictive analysis unit 10 performs linear predictive analysis (a i ) and pitch predictive analysis on the digital speech input signal S in . At step b, a "0" input drive is performed on another prediction filter unit 12′ (see Fig. 7) of the same constitution of the prediction filter unit 12 to remove the effects of the immediately preceding processing frame, then in that state the error signal ER for the next processing frame is found by the comparator 13. Explaining this in more detail, the prediction filter unit 12 is constituted by so-called digital filters, in which are serially connected a plurality of delay elements. This being so, the immediately after the CD from the code book 11 is input to the prediction filter unit 12, the internal state of the prediction filter unit 12 does not immediately become 0. The reason why is that there is still code data remaining in the above mentioned plurality of delay elements. This being so, at the time when the coding operation for the next processing frame is started, the code data used in the immediately preceding processing frame still remains in the prediction filter unit 12 and high precision filtering calculations cannot be performed in the next processing frame appearing after the immediately preceding processing frame. Therefore, the above-mentioned other prediction filter unit 12′ is driven by the "0" input and when a comparison is made with the input signal S in in the comparator 13, the output of the other prediction filter unit 12′ is subtracted from the signal S in . At step c, selection is made of the above-mentioned optimum code (code number CN) in the code book 11 able to give a reproduced signal R₁ most approximating the currently given input signal S in . In the above way, to obtain the optimum code, it is necessary to calculate the reproduced signal R₁ for each of the subprocessing frames and, further, for all of the codes, so convolution calculations, that is, ΣH i ·C k / n-i (filter calculations), must be performed between the transfer function H of the prediction filter unit 12 comprised by the short-term prediction filter 18 and the long-term prediction filter 17 and the code CD for each subprocessing frame. Here, if the degree of the above-mentioned transfer function H is N, in a single convolution calculation, N number of accumulating calculations have to be performed. Further, if the size of the white noise code book is K, then K·N number of multiplication operations substantially have to be carried out as the total amount of calculations. Therefore, the previously mentioned problems occur that the required amount of calculations becomes massive and it is difficult to achieve a speech coding apparatus of a small size which can operate in real time. Figure 4 is a block diagram of the principle and construction of a speech coding apparatus based on the present invention. The difference with the conventional speech coding apparatus shown in Fig. 1 is that the code book 11 of Fig. 1 is replaced by a code book 21. The new code book 21 stores in a code thinned out to 1/M the number of the plurality of sampling values which each code should inherently have. By this, the amount of calculations required for the afore-mentioned. convolution calculations is required to 1/M. That is, it becomes possible to have the speech coding processing performed in real time. Further, a one-chip digital signal processor (DSP) is used to realize the speech coding apparatus without use of a supercomputer as mentioned earlier. Since the plurality of sampling values making up the codes in the code book 21 are thinned to 1/M, the quality of the reproduced signal R₁ would seemingly deteriorate. If so, then a high precision speech coded output signal S out cannot be obtained. Therefore, more preferably, a means is introduced for compensating for the deterioration of quality of the reproduced signal made by thinning the above-mentioned sampling values to 1/M. In Fig. 4, an additional linear predictive analyzing and processing unit 20 is used as that compensating means. The additional linear predictive analysis unit 20 receives from the code book 21 the optimum code obtained using the linear prediction parameter P₁ calculated by the linear predictive analysis unit 10 and calculates an amended linear prediction parameter P₂ cleared of the effects of the optimum code. The output unit 15 receives as input the parameter P₂ instead of the conventional linear prediction parameter P₁ and further receives as input the code number CN corresponding to the previously obtained optimum code so as to output the coded output signal S out . The additional linear predictive analysis unit 20 preferably calculates the amended linear prediction parameter P₂ in the following way. That is, the processing unit 20 calculates the linear prediction parameter giving the minimum squared sum of the residual after elimination of the effects of the optimum code from the input signal S in and uses the results of the calculation as the amended linear prediction parameter P₂. In the above way, the present invention stores as codes in a white noise code book 21 the white noise series obtained by thinning to 1/M the white noise series of the codes which should be present in an ordinary code book. Therefore, there is one significant sampling value in M number of sampling values in each code CD. this being so, it is sufficient that the number of accumulating calculations required for a single convolution calculation be N/M (N being the order of the transfer function H mentioned earlier, that is, the number of sampling values of each code) and it is possible to reduce to substantially 1/M the amount of the filter calculations required for obtaining a reproduced signal R₁. However, the quality of the reproduced signal deteriorates the larger the value of M. The plurality of sampling values in the codes are thinned at predetermined intervals. Various thinning methods may be considered such as one out of every two or one out of every three. If one out of every two, the thinning rate is 1/2 (1/M = 1/2) and if one out of every three the thinning rate of 1/3 (1/M = 1/3). Practically, a thinning rate of 1/2 or 1/3 is preferable. with a thinning rate of this extent, it is possible to form the prediction filter unit 12 by a small sized digital signal processor (DSP). If the thinning rate is made larger (1/4, 1/5, ...), the prediction filter unit 12 may be realized by an even simpler processor. To thin to 1/M the N number of sampling values in the codes, only one out of every M number of sampling values is used as significant data and the remaining sampling values are all made the data "0". Figure 5 is a view of an example of the state of thinning out of sampling values in a code book. The top portion of the figure shows part of N number, for example, 40, sampling values which should inherently be present as codes in a code book. The bottom portion of the figure shows the state where the sample values of the top portion are thinned to, for example, 1/3. The small black dots in the figure show the sampling values of data "0". As stated earlier, if the thinning rate 1/M is made larger than 1/2 or 1/3, that is, 1/4, 1/5, etc., the real time characteristic of the speech coding speed can be increasingly easily ensured and the prediction filter unit 12 can be realized by a simpler and smaller sized processor. Conversely, the deterioration of quality of the reproduced signal R₁ becomes larger. Then, the input signal S in and the reproduced signal R₁ are compared by the comparator 13 and the optimum code giving the minimum level of the resultant error signal ER is selected, as in the past, by the error evaluation unit 14, then recalculation is performed by the additional linear predictive analysis unit 20 so as to amend the linear prediction parameter P l (mainly the linear prediction coefficient a i ) according to the present invention and improve the quality of the reproduced signal R₁. The method of improvement will be explained below. Figures 6A, 6B, 6C, and 6D are views explaining the effects of introduction of an additional linear predictive analysis unit. Figure 6A shows the input and output of a prediction inverse filter. The prediction inverse filter in the figure shows the key portions of the linear predictive analysis unit shown in Fig. 1 and extracts the linear prediction coefficient a i forming the main portion of the linear prediction parameter P₁. That is, if the input signal S in of the digitalized speech is made to pass through the prediction inverse filter of Fig. 6A, the linear prediction coefficient a i will be extracted and the residual signal RD will be produced. This residual signal RD is inevitably produced since the correlation of the input signal S in is not perfect. Therefore, if the residual signal RD is used as an input and the prediction inverse filter is driven in the direction of the bold arrow in Fig. 6A, a reproduced signal (R₁) completely equivalent to the input signal S in should be obtained. Nevertheless, in the present invention, in the same way as with the CELP method, the residual signal RD is not used to obtain the reproduced signal, but the optimum code CD op selected from among the plurality of codes CD in the white noise code book 21 is used to obtain the reproduced signal R₁. A portion of an example of the white noise waveform of the optimum code CD op is drawn in Fig. 6A. Further, a portion of an example of the waveform of the residual signal RD is also drawn in the figure. Figure 6B shows the input and output of a prediction filter, which prediction filter is the key portion of the prediction filter unit 12 of Fig. 4. As mentioned above, if the residual signal RD is made to pass through the prediction filter of Fig. 6B, then a reproduced signal (R₁) substantially equivalent to the input signal S in can be obtained, so in actuality an optimum code CD op which is not completely equivalent to the signal RD is pass through the prediction filter of Fig. 6B, so the input of the filter will inherently include a deviation component DV of (RD - CD op ). In Fig. 6B is drawn a portion of an example of the waveform of the deviation component DV. Therefore, the output of the prediction filter (Fig. 6B) includes an error er of the reproduced signal corresponding to the deviation component DV. Here, consideration will be given to the construction of the prediction filters shown in Fig. 6C based on the input and output relationship of the filters explained in Fig. 6A and 6B. The optimum code CD op is made to pass through the first filter (top portion) in Fig. 6C to obtain a first reproduced signal, while the deviation component DV (= RD - CD op ) is made to pass through the second filter (bottom portion) to obtain a second reproduced signal. If these first and second reproduced signals are added, a strict reproduced signal (R₁), that is, a reproduced signal substantially equivalent to the input signal S in , is obtained. This may be easily deduced from the fact that the sum of the input components of the first and second filters is CD op + RD - CD op (= RD). Note that the linear prediction coefficient a i is not set so as to give the minimum reproduced signal from the filter receiving as input the deviation component DV (= RD - CD op ). The linear prediction coefficient a i is set so as to give the minimum squared sum of the levels of the residual signals of the sampling values of the codes, that is, the power. That is, in the present invention, use is made of the code book 21 storing codes made of sampling values thinned to 1/M, so the linear prediction coefficient a i is set to give the minimum residual power overall of the selected sampling value, thus a i is not set to give the minimum deviation component DV (= RD - CD op ). Therefore, to reduce the error er of the reproduced signal, the additional linear predictive analysis unit 20 of Fig. 4 again calculates the amended linear prediction parameter P₂ (mainly the linear prediction coefficient a i ′) considering the optimum code CD op so as to give the minimum power of the residual signal cleared of the effects of the optimum code CD op . This amended linear prediction coefficient a′ i is set to give the minimum deviation component (= RD′ - CD op ) in Fig. 6D. Here, the above-mentioned RD′ is the residual signal obtained when passing the input signal S in through the prediction inverse filter (additional linear predictive analysis unit 20). As mentioned, the above-mentioned coefficient a i ′ is set to give the minimum deviation component (= RD′ - CD op ), so the error er of the reproduced signal becomes smaller than even the case of use of the afore-mentioned deviation component (= RD - CD op ) and the deterioration of the reproduced signal can be improved. Figure 7 is a block diagram of an embodiment of a speech coding apparatus based on the present invention. Figure 8 is a flow chart of the basic operation of the speech coding apparatus shown in Fig. 7. Note that step a, step b, and step c in Fig. 8 are the same as step a, step b, and step c in Fig. 3. The constitutional elements newly shown in Fig. 7 are the human auditory perception weighting processing units 19′ and 19″, the comparator 13′, the short-term prediction filter 18′, and the long-term prediction filter 17′. These constitutional elements, as explained in step c of Fig. 3, function to remove the effects of the immediately preceding processing frame. Further, the output unit 15 is realized by a multiplexer (MUX). The various signals input to the multiplexer (MUX) 15 and multiplexed are an address AD of the code book 21 corresponding to the optimum code (CD op ), the code gain G c used in an amplifier 16, the long term prediction parameter used in the long-term prediction filter 17, and the so-called period gain G p and amended linear prediction parameter P₂ (mainly the linear prediction coefficient a′ i ). Referring to the flow chart of Fig. 8, an explanation will be made of the basic operation of the speech coding apparatus shown in Fig. 7. Further, the white noise code book 21 has sampling values thinned to 1/3, i.e, M = 3, compared with the original code book. First, the input signal S in is applied to the linear predictive analysis unit 10, where predictive analysis and pitch predictive analysis are performed, the linear predictive coefficient a i , the pitch period, and the pitch prediction coefficient are extracted, and the linear predictive coefficient a i is applied to the short-term prediction filters 18 and 18′ and the pitch period and pitch prediction coefficient are applied to the long-term prediction filters 17 and 17′ (see step a in Fig. 8). Further, the short-term prediction filter 18′ and the long-term prediction filter 17′ are driven by an "0" input under the applied extracted parameters, the input signal S in is subtracted from, and the effects of the processing frame immediately before are eliminated (see step b of Fig. 8). Now, the white noise waveform output from the white noise code book 21 thinned to 1/3 passes through the amplifier 16, whereafter the pitch period is predicted by the long-term prediction filter 17, the correlation between the adjacent samplings is predicted by the short-term prediction filter 18 and the reproduced signal R₁ is produced, weighting is applied in the form of matching with the human speech spectrum by the human auditory perception weighting processing unit 19, and the result is applied to the comparator 13. Since the input signal S in , which has passed through the human auditory perception weighting processing unit 19″ through the comparator 13′, is applied to the comparator 13, the error signal ER after removal of various error components is applied to the error evaluation unit 14. In this evaluation unit 14, the squared sum of the error signal ER is taken, whereby the error power in the subprocessing frame is evaluated. The same processing is performed for all the codes CD in the white noise code book 21 for evaluation and selection of the optimum code CD op giving the minimum error power (see step c in Fig. 8). Next, an explanation will be made of step d of Fig. 8. First, auditory perception correction is performed, the effects of the immediately preceding processing frame are removed, and initialization performed in processing. The input signal S in at a time n after this is made S n , the residual signal RD of the same made e n , and the sampling values of the codes CD made v n . Further, the linear prediction coefficient, including the auditory perception amendment filter and gain in the human auditory perception weighting processing unit 19, is made a i (same as previously mentioned a′ i ). v n has a significant value only once every three samplings. As the residual model, the following equation is considered: At this time, the evaluation function is Where, S′ n = S n + V n (n = 3m, m being a positive integer) S′ n = S n (n = 3m + 1, 3m + 2) On the other hand, the a i which gives the minimum error ER (where i = 1 to p) is found from dE n /da k = 0, so is found and by this is obtained. Here, In the end, a i may be found by solving the equation system of Q(k) = a i ·R(i-k) (where, k = 1, 2, ... P) Further, in the linear predictive analysis of step a in Fig. 8, use is made of R(k) instead of the Q(k) at the left side of equation (3) and a i is calculated by the known Le loux method or other known algorithms, but a i may be calculated by the exact same thinking as in equation (3) too. In equation (3), reevaluation is made free from the effects of v n found by the process of steps a and b of Fig. 8, so the quality of the reproduced signal is improved. Above, an explanation was made of the case of M = 3, but same applies to another value of M. Therefore, it is possible to reduce the required amount of filter calculation by a rate substantially proportional to the thinning rate of the content of the original code book 11 and it is possible to realize by relatively small sized hardware the speech coding of real time processing. Figure 9A is a view of the construction of the additional linear predictive analyzing and processing unit introduced in the present invention. Figure 9B is a view of the construction of a conventional linear predictive analysis unit. In the figures, the differences in the hardware and processing between the linear predictive analysis unit 10 (Fig. 9B) used in the same way as the past and the additional linear predictive analysis unit 20 (Fig. 9A) added in the present invention are clearly shown. In particular, in the hardware, a subtraction unit 30 is provided and the following are realized in the above-mentioned equation (2): S′ n = S n + v n (n = 3m) S′ n = S n (n = 3m + 1, 3m + 2) The optimum code (thinned sampling value when n = 3m + 1 and 3m + 2 is 0. S′ n becomes equal to S n . Next, giving a supplementary explanation of the error evaluation unit 14, the error evaluation unit 14 calculates the value of the evaluation function corresponding to all the codes. For example, if the size of the code book 21 is 1024, 1024 ways of E n are calculated. Selection is made, as the optimum code (CD op ) of the code giving minimum value of this E n . Figure 10 is a view of the construction of the receiver side which receives coded output signals transmitted from the output unit of Fig. 7. According to the present invention, as the code book, use is made of the special code book 21 consisting of thinned sampling values of the codes. Also, use is made of an amended linear prediction parameter P₂. Therefore, it is necessary to modify the design of the receiving side which receives the coded output signal S out through a wireless transmission line, for example, compared with the past. At the first stage of the construction of the receiving side, there is an input unit 35 which faces to the output unit 15 of Fig. 7. The input unit 35 is a demultiplexer (DMUX) and demultiplex on the receiving side the signals AD, G c , G p , and P₂ input to the output unit 15 of Fig. 7. The code book 31 used on the receiving side is the same as the code book 21 of Fig. 7. The sampling values of the codes are thinned to 1/M. The optimum code read from the code book 31 passes through an amplifier 36, long-term prediction filter 37, and short-term prediction filter 38 to become the reproduced speech. These constituent elements correspond to the amplifier 16, filter 17, and filter 18 of Fig. 7. Figure 11 is a block diagram of an example of the application of the present invention. The example is shown in the application of the present invention to the transmitting and receiving sides of a digital mobile radio communication system. In the figure, 41 is a speech coding apparatus of the present invention (where the receiving side has the structure of Fig. 10). The coded output signal S out from the apparatus 41 is multiplexed through an error control unit 42 (demultiplexed at the receiving side) and applied to a time division multiple access (TDMA) control unit 44. Further, the carrier wave modulated at a modulator 45 is converted to a predetermined radio frequency by a transmitting unit 46, then amplified in power by a linear amplifier 47 and transmitted through an antenna sharing unit 48 and an antenna AT. The signal received from the other side travels from the antenna AT through the antenna sharing unit 48 to the receiving unit 51 where it becomes an intermediate frequency signal. Note that the receiving unit 51 and transmitting unit 46 are alternately active. Therefore, there is a high speed switching type synthesizer 52. The signal from the receiving unit 51 is demodulated by the demodulator 53 and becomes a base band signal. The speech coding apparatus 41 receives human speech caught by a microphone MC through an A/D converter (not shown) as the already explained input signal S in . On the other hand, the signal received from the receiving unit 51 finally becomes reproduced speech (reproduced speech in Fig. 10) and is transmitted from a speaker SP. As explained above, according to the present invention, it is possible to operate in real time a speech coding apparatus based on the CELP method without use of a large computer, that is, using a small sized digital signal processor (DSP). Reference signs in the claims are intended for better understanding and shall not limit the scope.

Claims: A speech coding apparatus having: a linear predictive analysis unit (10) which receives an input signal of digitalized speech, performs linear prediction, and extracts a linear prediction parameter; a prediction filter unit (12) which uses the said linear prediction parameter for filter calculations; a code book (11) which successively transmits a plurality of types of codes comprised of white noise series to be applied for the filter calculations in the prediction filter unit; a comparator (13) which receives as input the results of the filter calculations in the prediction filter unit, i.e. the reproduced signal, and the said input signals, compares these signals, and outputs an error signal; an error evaluation unit (14) which successively reads a plurality of codes in said code book and calculates as the optimum code the one of said codes giving the minimum magnitude of error signal; and an output unit (15) which transmits at least the linear prediction parameter and as the coded output signal the address in the code book corresponding to the optimum code; said code book being comprised of a code book (21) which stores codes formed by thinning to 1/M (M being an integer of two or more) the number of the plurality of sampling values inherently possessed by the codes as a code book, characterized by compensating means, comprised of an additional linear predictive analysis unit (20), said additional linear predictive analysis unit receiving as two inputs the said input signal and the said optimum code obtained based on the said linear prediction parameter extracted by the said linear predictive analysis unit and calculates an amended linear prediction parameter which amends the said linear prediction parameter and said output unit uses said amended linear prediction parameter instead of the said linear prediction parameter so as to transmit said coded output signals. An apparatus as set forth in claim 1, wherein a plurality of types of codes each comprised of the sampling values thinned at predetermined intervals are stored in the said code book. An apparatus as set forth in claim 2, wherein the said M is 2 or 3. An apparatus as set forth in claim 2, wherein the logic "0" is written in the data of the sampling values thinned. An apparatus as set forth in claim 1, wherein the said prediction filter unit is constructed by a digital signal processor. An apparatus as set forth in claim 1, wherein said additional linear predictive analysis unit calculates the value giving the minimum squared sum of the residual component obtained after removal of the effects of the optimum code from the said input signal and uses the results of the calculation as the said amended linear prediction parameter. An apparatus as set forth in claim 6, wherein the said additional linear predictive analysis unit is provided with a subtraction unit which receives as input the said input signal and receives as input the value obtained by subtracting the said optimum code from the said input signal. An apparatus as set forth in claim 1, wherein a human auditory perception weighting unit is inserted between said prediction filter unit and said comparator and weighting is performed by matching the spectrum of the white noise waveform with the human auditory spectrum. An apparatus as set forth in claim 8, wherein an output of a second comparator (13′) is added to the said comparator, the said second comparator (13′) taking the difference between a first input and second input, said first input being a signal weighted by a second human auditory perception weighting processing unit (19′) with respect to the output from a second prediction filter unit (12′) driven by a "0" input, and said second input is a signal weighted by a third human auditory perception weighting processing unit (19″) with respect to said input signal.

Inventors: AMANO FUMIO, OTA YASUJI, TANAKA YOSHINORI, TANIGUCHI TOMOHIKO, UNAGAMI SHIGEYUKI, AMANO, FUMIO, OTA, YASUJI, TANAKA, YOSHINORI, TANIGUCHI, TOMOHIKO, UNAGAMI, SHIGEYUKI
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1990
Main classification: G10L9
IPC codes: G10L19, H03M7