Linear prediction speech coding with high-frequency preemphasis

Abstract: In a speech encoder, high-frequency components of input digital speech samples are emphasized by a preemphasis filter (11). From the preemphasized samples a spectral parameter (a i ) is derived at frame intervals. The input digital samples are weighted by a weighting filter (13) according to a characteristic that is inverse to the characteristic of the preemphasis filter (11) and is a function of the spectral parameter (a i ). A codebook (18, 19) is searched for an optimum fricative value in response to a pitch parameter that is derived by an adaptive codebook (16) from a previous fricative value (v(n)) and a difference between the weighted speech samples and synthesized speech samples which are, in turn, derived from past pitch parameters and optimum fricative values, whereby the difference is reduced to a minimum. Index signals representing the spectral parameter, pitch parameter and optimum fricative value are multiplexed into a single data stream.

Description: The present invention relates generally to speech coding techniques, and more specifically to a speech conversion system using a low-rate linear prediction speech coding/decoding technique. As described in a paper by M. Schroeder and B. Atal, "Code-excited linear prediction: High quality speech at very low bit rates", M. Schroeder and B. Atal (ICASSP Vol. 3, pages 937-940, March 1985), speech samples digitized at 8-kHz sampling rate are converted to digital samples of 4.8 to 8 kbps rates by extracting spectral parameters representing the spectral envelope of the speech samples from frames at 20-ms intervals and deriving pitch parameters representing the long-term correlations of pitch intervals from subframes at 50-ms intervals. Fricative components of speech are stored in a codebook. Using the pitch parameter a search is made through the codebook for an optimum value that minimizes the difference between the input speech samples and speech samples which are synthesized from a sum of the optimum codebook values and the pitch parameters. Signals indicating the spectral parameter, pitch parameter, and codebook value are transmitted or stored as index signals at bit rates in the range between 4.8 and 8 kbps. However, one disadvantage of linear prediction coding is that it requires a large amount of computations for analyzing voiced sounds, an amount that exceeds the capability of the state-of-the-art hardware implementation such as 16-bit fixed point DSP (digital signal processing) LSI packages. With the current technology, LPC analysis is not satisfactory for high-pitched voiced sounds. It is therefore an object of the present invention to provide a speech encoder having reduced computations for LPC analysis to enable hardware implementation with limited computational capability. In a speech encoder of the present invention, high-frequency components of input digital speech samples of an underlying analog speech signal are preemphasized according to a predefined frequency response characteristic. From the preemphasized speech samples a spectral parameter is derived at frame intervals to represent the spectrum envelope of the preemphasized speech samples. The input digital samples are weighted according to a characteristic that is inverse to the preemphasis characteristic and is a function of the spectral parameter. A search is made through a codebook for an optimum fricative value in response to a pitch parameter which is derived by an adaptive codebook from a previous fricative value and a difference between the weighted speech samples and synthesized speech samples which are, in turn, derived from pitch parameters and optimum fricative values. The optimum fricative value is one that reduces the difference to a minimum. Index signals representing the spectral parameter, pitch parameter and optimum fricative value are generated at frame intervals and multiplexed into a single data bit stream at low bit rates for transmission or storage. In a speech decoder, the data bit stream is decomposed into individual index signals. A codebook is accessed with a corresponding index signal to recover the optimum fricative value which is combined with a pitch parameter derived from an adaptive codebook in response to the pitch parameter index signal, thus forming an input signal to a synthesis filter having a characteristic that is a function of the decomposed spectral parameter. The output of the synthesis filter is deemphasized according to a characteristic inverse to the preemphasis characteristic. In a preferred embodiment of the speech encoder, the amount of computations is reduced by converting the spectral parameter to a second spectral parameter according to a prescribed relationship between the second parameter and a combined value of the first spectral parameter and a parameter representing the response of the high-frequency preemphasis. The second spectral parameter is used to weight the digital speech samples and the first spectral parameter is multiplexed with the other index signals. In the speech decoder of the preferred embodiment, the first spectral parameter is converted to the second spectral parameter in the same manner as in the speech encoder. A synthesis filter is provided having a characteristic that is inverse to the preemphasis characteristic and is a function of the second spectral parameter to synthesize speech samples from a sum of the pitch parameter and the optimum fricative value. The present invention will be described in further detail with reference to the accompanying drawings, in which: Fig. I is a block diagram of a speech encoder according to the present Invention; Fig. 2 is a block diagram of a speech decoder according to the present invention; Fig. 3 Is a block diagram of a modified speech encoder of the present invention; and Fig. 4 is a block diagram of a modified speech decoder associated with the speech encoder of Fig. 3. Referring now to Fig. 1, there is shown a speech encoder according to one embodiment of the present invention. An analog speech signal is sampled at 8 kHz, converted to digital form and formatted into frames of 20-ms duration each containing N speech samples. The speech samples of each frame are stored in a buffer memory 10 and applied to a preemphasis high-pass filter 11. Preemphasis filter 11 has a transfer function H(z) of the form: H(z) = 1 - β z -1 where β is a preemphasis filter coefficient (0 < β < 1) and z is a delay operator. The effect of this high frequency emphasis is to make signal processing less difficult for high frequency speech components which are abundant in utterances from women and children. To the output of buffer memory 10 is connected a weighting filter 13 having a weighting function W(z) of the form: where a i represents the spectral envelope of i th speech sample of the frame, or i th order linear predictor, γ is a coefficient (0 < γ < 1), P represents the order of the spectral parameter. The output of LPC analyzer 12 is applied to weighting filter 13 to control its weighting coefficient, so that the N samples x(n) of each frame are scaled by weighting filter 13 according to Equation (2) as a function of the spectral parameter a i . Since the LPC analysis is performed on the high-frequency emphasized speech samples, weighting filter 13 compensates for this emphasis by the inverse filter function represented by a term of Equation (2). The output of weighting filter 13 is applied to a subtractor 14 in which it is combined with the output of a synthesis filter 15 having a filter function given by: Subtractor 14 produces a difference signal indicating the power of error between a current frame and a synthesized frame. The difference signal is applied to a known adaptive codebook 16 to which the output of an adder 17 is also applied. Adaptive codebook 16 divides each frame of the output of subtractor 14 into subframes of 5-ms duration. Between the two input signals of previous subframes the adaptive codebcok 16 provides cross-correlation and auto-correlation and derives at subframe intervals a pitch parameter ε·b(n) representative of the long-term correlation between past and present pitch intervals (where ε indicates the pitch gain and b(n) the pitch interval) and further generates at subframe intervals a signal x(n) - ε·b(n) which is proportional to the residual difference [x(n) - ε·b(n)}w(n), where x(n) represents the output of the weighting filter 13. Adaptive codebook 16 further generates a pitch parameter index signal I a at frame intervals to represent the pitch parameters of each frame and supplies it to a multiplexer 23 for transmission or storage. Details of the adaptive codebook are described in a paper by Kleijin et al., titled "Improved speech quality and efficient vector quantization in SELP", ICASSP, Vol. 1, pages 155-158, 1988. The pitch parameter ε·b(n) is applied to adder 17 and the signal x(n) - ε·b(n) is applied to first and second searching circuits 18 and 19, which are known in the speech coding art, for making a search through first and second codebooks 21 and 22, respectively. The first codebook 21 stores codewords which are obtained by a long-term learning process in a manner as described in a paper by Buzo et al., titled "Speech coding based upon vector quantization" (IEEE Transaction ASSP, Vol. 28, No. 5, pages 562-574, October 1980). The second codebook 22 is generally similar to the first codebook 21. However, it stores codewords of random numbers to make the searching circuit 19 less dependent on the training data. As described in detail below, codebooks 21 and 22 are searched for optimum codewords c 1j (n), c 2k (n) and optimum gains r 1 , r 2 so that an error signal E given below is reduced to a minimum (where j is a variable in the range between 1 and a maximum number of codewords for codewords c 1 and k is a variable in the range between 1 and a maximum number of codewords for codewords c 2 ). The codeword signal indicating the optimum codeword c 1j (n) and its gain r 1 is supplied from searching circuit 18 to a second searching circuit 19 as well as to an adder 20 in which it is summed with a codeword signal representing the optimum codeword c 2k (n) and its gain r 2 from searching circuit 19 to produce a sum v(n) given by: v(n) = r 1 · c 1j (n) + r 2 · c 2k (n) The output of adder 20 is fed to the adder 17 and summed with the pitch parameter ε·b(n). On the other hand, the address signals used by the searching circuits 18 and 19 for accessing the optimum codewords and gain values are supplied as codebook index signals I 1 and I 2 , respectively, to multiplexer 23 at frame intervals. Searching circuits 18 and 19 operate to detect optimum codewords and gain values from codebooks 21 and 22 so that the error E given by the following formula is reduced to a minimum: where s(n) is an impulse response of the filter function 5(z) of synthesis filter 15. More specifically, searching circuit 18 makes a search for data r 1 and c 1j (n) which minimize the following error component E 1 : where, e w (n) is the residual difference {x(n) - ε·b(n)}w(n). By partially differentiating Equation (6) with respect to gain r 1 and equating it to zero, the following Equations hold: r 1 = G j /C j where, G j and C j are given respectively by: Equation (6) can be rewritten as: Since the first term of Equation (8) is a constant, a codeword c 1j (n) is selected from codebook 21 such that it maximizes the second term of Equation (8). The second searching circuit 19 receives the codeword signal from the first searching circuit as well as the residual difference x(n) - ε·b(n) from the adaptive codebook 16 to make a search through the second codebook 22 in a known manner and detects the optimum codeword c 2k (n) and the optimum gain r 2 of the codeword. The output of adder 17 is supplied at subframe intervals to the synthesis filter 15 in which synthesized N speech samples x'(n) are derived from successive frames according to the following known formula: where a i ' is a spectral parameter obtained from interpolations between successive frames and p represents the order of the interpolated spectral parameter, and b(n) is given by: It is seen from Equations (9) and (10) that the synthesized speech samples contain a sequence of data bits representing v(n) and a sequence of binary zeros which appear at alternate frame intervals. The alternate occurrence of zero-bit sequences is to ensure that a current frame of synthesized speech samples is not adversely affected by a previous frame. The synthesis filter 15 proceeds to weight the synthesized speech samples x'(n) with the filter function S(z) of Equation (3) to synthesize weighted speech samples of a previous frame for coupling to the subtractor 14 by which the power of error E is produced, representing the difference between the previous frame and a current frame from weighting filter 13 having the filter function W(z) of Equation (2). The output a i of LPC analyzer 12 and the residual difference x(n) - ε·b(n) are supplied to multiplexer 23 as index signals and multiplexed with the index signals I 1 and I 2 from searching circuits 18, 19 into a single data bit stream at a bit rate in the range of 4.8 kbps and 8 kbps and sent over a transmission line to a site of signal reception or recorded into a suitable storage medium. At the site of signal reception or storage, a speech decoder as shown in Fig. 2 is provided. The speech decoder includes a demultiplexer 30 in which the multiplexed data bit stream is decomposed into the individual components I a , I 1 , I 2 and a i , which are applied respectively to an adaptive codebook 31, a first codebook 32, a second codebook 33 and a synthesis filter 36. Codeword signals r 1 c 1j (n) and r 2 c 2k (n) are respectively recovered by codebcoks 32 and 33 and summed with the output of adaptive codebook 31 and applied via a delay circuit 35 to adaptive codebook 31 so that it reproduces the pitch parameter ε·b(n). As a function of the spectral parameter a i supplied from demultiplexer 30, the synthesis filter 36 transforms the output of adder 34 according to the following transfer function: The output of synthesis filter 36 is coupled to a deemphasis low-pass filter 37 having the following transfer function which is inverse to that of preemphasis filter 11: S 2 (z) = 1/(1-β·z -1 ) Since the combined transfer function of the synthesis filter 36 and deemphasis filter 37 is equal to the transfer function S(z) of the encoders weighting filter 13, a replica of the original digital speech samples x(n) appears at the output of deemphasis low-pass filter 37. A buffer memory 38 is coupled to the output of this deemphasis filter to store the recovered speech samples at frame intervals for conversion to analog form. A modification of the present invention is shown in Fig. 3. This modification differs from the previous embodiment by the provision of a weight filter shown at 41 instead of the filter 13 and a coefficient converter 40 connected between LPC analyzer 12 and weighting filter 41. Coefficient converter 40 transforms the spectral parameter a i to δ i according to the following Equations: δ 1 = a 1 + β δ P = a P + a P-1 ·β δ P+1 = -a P ·β Since the coefficient conversion incorporates the high-frequency preemphasis factor β, the function W'(z) of weighting filter 41 can be expressed as follows: By coupling the output of coefficient converter 40 as a spectral parameter to weighting filter 41, the speech samples x(n) are weighted according to the function W'(z) and supplied to subtractor 14. In this way, the amount of computations which the weighting filter 41 is required to perform can be reduced significantly in comparison with the computations required by the previous embodiment. As shown in Fig. 4, the speech decoder associated with the speech encoder of Fig. 3 differs from the embodiment of Fig. 1 in that it includes a coefficient converter 50 identical to the encoder's coefficient converter 40 and a synthesis filter 51 having the filter function S 3 (z) of the form: This speech decoder further differs from the previous embodiment in that it dispenses with the deemphasis low-pass filter 37 by directly coupling the output of synthesis filter 51 to buffer memory 38. The spectral parameter a i from the demultiplexer 30 is converted by coefficient converter 50 to δ i according to Equations (13a), (13b), (13c) and supplied to synthesis filter 51 as a spectral parameter. The output of adder 34 is weighted with the filter function S 3 (z) by filter 51 as a function of the spectral parameter δ i . As a result of the coefficient conversion, the amount of computations required for the speech decoder of this embodiment is significantly reduced in comparison with the speech decoder of Fig. 2.

Claims: A speech encoder comprising: a pre-emphasis circuit (11) for receiving input digital speech samples of an underlying analog speech signal and emphasizing higher frequency components of the speech samples according to a predefined frequency response characteristic to produce pre-emphasized speech samples; a linear prediction analyzer (12) for deriving, at frame intervals, from the pre-emphasized speech samples a first spectral parameter (a i ) representing the spectrum envelope of the pre-emphasized speech samples; a weighting filter (41) for weighting the input digital speech samples; a subtractor (14) for detecting a difference between the weighted speech samples and synthesized speech samples; codebook means (21, 22) storing codewords representing fricatives; correlation means (16) for providing, at subframe intervals, cross-correlation and auto-correlation on successive output signals from said subtractor (14) to produce pitch parameters (εb(n)) and residual differences representative of the differences between the weighted speech samples (x(n)) and the pitch parameters (εb(n)), and generating, at frame intervals, pitch parameter index signals (I a ) representing said pitch parameter; codebook search means (18, 19, 20) responsive to the residual difference for detecting optimum codewords (c 1 , c 2 ) from the codebook means (21, 22) and determining optimum gains (r 1 , r 2 ), and generating, at frame intervals, codebook index signals (I 1 , I 2 ) identifying said optimum codewords; speech synthesis means (15) for deriving the synthesized speech samples from the pitch parameters (εb(n)), the optimum codewords (c 1 , c 2 ) and the optimum gains (r 1 , r 2 ) and applying the synthesized speech samples to said subtractat (14); and a multiplexer (23) for multiplexing the first spectral parameters (a i ), the pitch parameter index signals (I a ) and the codebook index signals (I 1 , I 2 ) into a single data stream, characterized in that : a parameter converter (40) is provided for converting the first spectral parameter (a i ) to a second spectral parameter (δ i ) according to a prescribed relationship between said second spectral parameter (δ i ) and a combined value of the first spectral parameter (a i ) and a parameter representing the frequency response of said pre-emphasis circuit (11), and in that said weighting filter (41) is arranged to weight the input digital speech samples according to a characteristic inverse to the characteristic of the pre-emphasis circuit (11) using said second spectral parameter (δ i ) to produce said weighted speech samples (x(n)). A speech conversion system comprising, at a transmit site, a pre-emphasis circuit (11) for receiving input digital speech samples of an underlying analog speech signal and emphasizing higher frequency components of the speech samples according to a predefined frequency response characteristic to produce pre-emphasized speech samples; a linear prediction analyzer (12) for deriving, at frame intervals, from the pre-emphasized speech samples a first spectral parameter (a i ) representing the spectrum envelope of the pre-emphasized speech samples; a weighting filter (41) for weighting the input digital speech samples; a subtractor (14) for detecting a difference between the weighted speech samples and synthesized speech samples; codebook means (21, 22) storing codewords representing fricatives; adaptive codebook means (16) for providing, at subframe intervals, cross-correlation and auto-correlation on successive output signals from said subtractor (14) to produce pitch parameters (εb(n)) and residual differences representative of the differences between the weighted speech samples (x(n)) and the pitch parameters (εb(n)), and generating, at frame intervals, pitch parameter index signals (I a ) representing said pitch parameter; codebook search means (18, 19, 20) responsive to the residual differences for detecting optimum codewords (c 1 , c 2 ) from the codebook means (21, 22) and determining optimum gains (r 1 , r 2 ), and generating, at frame intervals, codebook index signals (I 1 , I 2 ) identifying said optimum codewords; speech synthesis means (15) for deriving the synthesized speech samples from the pitch parameters (εb(n)), the optimum codewords (c 1 , c 2 ) and the optimum gains (r 1 , r 2 ) and applying the synthesized speech samples to said subtractor (14); and a multiplexer (23) for multiplexing the first spectral parameters (a i ), the pitch parameter index signals (I a ) and the codebook index signals (I 1 , I 2 ) into a single data stream, and, at a receive site, a demultiplexer (30) for receiving and demultiplexing said data stream into said first spectral parameters (a i ), the pitch parameter index signals (I a ) and the codebook index signals (I 1 , I 2 ); codebook means (32, 33) for storing codewords and reading stored codewords in response to the demultiplexed codebook index signals (I 1 , I 2 ); adaptive codebook means (31, 35) for providing, at subframe intervals, cross-correlation and auto-correlation on the demultiplexed pitch parameter index signals (I a ) and a sum of the codeword read from said codebook means (31) and an output of the adaptive codebook means (31), and speech synthesis means (51) having a characteristic that is inverse to the characteristic of said preemphasis circuit (11) for deriving synthesized speech samples from said sum of the codeword and the output of the adaptive codebook means (31), characterized in that : a parameter converter (40) is provided, at said transmit site, for converting the first spectral parameter (a i ) to a second spectral parameter (δ i ) according to a prescribed relationship between said second spectral parameter (δ i ) and a combined value of the first spectral parameter (a i ) and a parameter representing the frequency response of said pre-emphasis circuit (11), in that said weighting filter (41) is arranged to weight the input digital speech samples according to a characteristic inverse to the characteristic of the pre-emphasis circuit (11) using said second spectral parameter (δ i ) to produce said weighted speech samples (x(n)), at said receive site, a parameter converter (50) is provided for converting the demultiplexed first spectral parameter (a i ) to said second spectral parameter (δ i ) according to said prescribed relationship, and in that said speech synthesis means (51) is arranged to vary said characteristic in accordance with said second spectral parameter (δ 1 ) from the parameter converter (50).

Inventors: NAKAMURA MAKIO, UNNO YOSHIHIRO, NAKAMURA, MAKIO, UNNO, YOSHIHIRO, Nakamura, Makio, c/o NEC Corporation, UNNO, YOSHIHIRO, C/O NEC CORPORATION
Applicants: NIPPON ELECTRIC CO, NEC CORPORATION
Application year: 1991
Main classification: G10L19
IPC codes: G10L19