Abstract:
Speech coding uses a periodic excitation signal source, a non-periodic signal excitation source, a synthesizing unit, a filter, and an error evaluating unit. The synthesizing unit synthesizes a periodic excitation signal and a non-periodic excitation signal output from the above-mentioned sources to generate an excitation sound source signal. The filter regenerates an input speech signal from the excitation sound signal. The error evaluating unit controls the periodic excitation signal source and the non-periodic excitation signal source so that the above-mentioned units output periodic and non-periodic excitation signals which minimize a difference of the regenerated signal from an input speech signal. When the error is minimized, the above-mentioned sound source is supplied to a feedback excitation signal modifying unit. The feedback excitation modifying unit reduces a non-periodic component in the above-mentioned supplied signal so that the non-periodic component is reduced more when the relative amount of the periodic component is greater. The modified signal is fed back to the periodic excitation signal source unit to modify the content thereof.

Description:
This application is a continuation of application Ser. No. 07/838,339, filed Feb. 20, 1992, now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     (1) Field of the Invention 
     The present invention relates to a speech signal coding apparatus for encoding a speech signal to compress and transmit speech data, and a speech signal decoding apparatus for decoding the coded speech data to regenerate the speech signal. 
     (2) Description of the Related Art 
     Recently, speech signal coding systems wherein speech signals are compressed with high efficiency, are required in communication systems and speech signal recording systems, and some techniques are proposed for realizing such a speech signal coding system. Among those proposed systems, in particular, the Code-Excited Linear Prediction Coding (CELP) System is known as a speech signal coding system wherein a speech signal can be compressed with high efficiency and quality of the speech signal is maintained. The CELP system is disclosed, for example, by M. R. Schroeder et al., &#34;Code-Excited Linear Prediction (CELP) High-Quality Speech at Very Low Bit Rates&#34; Proceedings of IEEE International Conference on Acoustics, Speech, and Signal Processing, pp. 937-940, Apr. 1988, N. S. Jayant et al., &#34;Speech Coding with Time-Varying Bit Allocations to Excitation and LPC Parameters&#34;, pp. 65-68, May 1989, and I. A. Gerson et al., &#34;Vector Sum Excited Linear Prediction (VSELP) Speech Coding at 8 kbps&#34;, pp. 461-464, April 1990. 
     In a typical CELP system, a speech signal coding apparatus comprises an adaptive codebook (sound source) outputting a pitch vector having a pitch-periodic characteristic, a stochastic codebook (sound source) outputting a code vector having a non-periodic (random) characteristic, an adder synthesizing the pitch vector and the code vector to generate an excitation sound source signal, and a short-term prediction synthesis filter carrying out short-term predictions such as a linear prediction to regenerate a signal simulating an input speech signal. A difference between the regenerated signal and an input speech signal signal, is obtained as an error. Then, the error signal is perceptually weighted by a perceptual weighting filter, and the perceptually weighted error is evaluated by an error evaluating unit to select an optimum pitch vector in the adaptive codebook and an optimum code vector in the stochastic codebook, to be output therefrom, respectively. The above excitation sound source signal is fed back to the adaptive codebook to make the output of the adaptive codebook adaptively follow the time-varying characteristic of the input speech signal. 
     Since the adaptive codebook is provided for outputting a periodic excitation signal, it is desirable to feedback only a periodic component to the adaptive codebook. However, if only a periodic component is fed back to the adaptive codebook, the content of the adaptive codebook cannot be renewed, and therefore the output of the adaptive codebook cannot follow the characteristic of the input speech signal. In particular, since the content of the adaptive codebook is zero in an initial state, the adaptive codebook cannot output a non-zero output signal without supplying a non-periodic component thereto. Therefore, conventionally, the above excitation sound source signal, which is output from the adder synthesizing the outputs of the adaptive codebook and the stochastic codebook, contains a periodic component and a non-periodic component, and there is a drawback that the above supply of the non-periodic component to the adaptive codebook causes degradation in a regenerated speech signal when regenerating an input speech signal having a strong pitch-periodic characteristic. 
     SUMMARY OF THE INVENTION 
     An object of the present invention is to provide a speech signal coding apparatus comprising an adaptive codebook and a stochastic codebook used for generating an excitation sound source signal, wherein the quality of regenerated speech signal is improved when regenerating an input speech signal having a strong pitch-periodic characteristic. 
     Another object of the present invention is to provide a speech signal decoding apparatus comprising an adaptive codebook and a stochastic codebook used for generating an excitation sound source signal, wherein the quality of a regenerated speech signal is improved when regenerating an input speech signal having a strong pitch-periodic characteristic. 
     According to the first aspect of the present invention, there is provided a speech signal coding apparatus inputting an input speech signal, and coding the input speech signal, comprising: a periodic excitation signal source unit holding a set of a plurality of periodic excitation signals, for outputting one of the plurality of periodic excitation signals in response to a first control signal, where the above set is adaptively modified according to a feedback signal thereto; a non-periodic excitation signal source unit holding a set of a plurality of non-periodic excitation signals, for outputting one of the above plurality of non-periodic excitation signals in response to a second control signal; a synthesizing unit for inputting and synthesizing the above periodic excitation signal output from the periodic excitation signal source unit and the above non-periodic excitation signal output from the non-periodic excitation signal source unit, to generate an excitation sound source signal; a short-term prediction filter unit for inputting the excitation sound source signal, and generating a regenerated signal which simulates the above input speech signal, based on excitation sound source signals recently input thereto preceding the above excitation sound source signal, by short-term prediction; an error obtaining unit for obtaining a difference between the above input speech signal and the above regenerated signal as an error signal; an error evaluating unit for scanning the above first and second control signals while monitoring the error signal, to adjust the first and second control signals so that a power of the error signal is minimized to optimize the excitation sound source signal; and a feedback signal modifying unit for inputting the above optimized excitation sound source signal, modifying the optimized excitation sound source signal by reducing a non-periodic component in the optimized excitation sound source signal according to a relative amount of the non-periodic component in the optimized excitation sound source signal so that the non-periodic component is reduced more when the relative amount of the periodic component is greater, and supplying the modified optimized excitation sound source signal to the above periodic excitation signal source unit as the above feedback signal. 
     According to the second aspect of the present invention, there is provided a speech signal decoding apparatus for inputting and decoding code information to regenerate a speech signal, comprising: a periodic excitation signal source unit holding a set of a plurality of periodic excitation signals, for outputting one of the plurality of periodic excitation signals in response to the above first control signal, where the above set is adaptively modified according to a feedback signal thereto; a non-periodic excitation signal source unit holding a set of a plurality of non-periodic excitation signals, for outputting one of the plurality of non-periodic excitation signals in response to the above second control signal; a synthesizing unit for inputting and synthesizing the above periodic excitation output from the periodic excitation signal source unit and the above non-periodic excitation signal output from the non-periodic excitation signal source unit, to generate an excitation sound source signal; a short-term prediction filter unit for inputting the excitation sound source signal, and generating a regenerated signal which simulates the above input speech signal, based on excitation sound source signals recently input thereto preceding the above excitation sound source signal, by short-term prediction; and a feedback signal modifying unit for inputting the excitation sound source signal, modifying the excitation sound source signal by reducing a non-periodic component in the excitation sound source signal according to a relative amount of the non-periodic component in the excitation sound source signal so that the non-periodic component is reduced more when the relative amount of the periodic component is greater, and supplying the modified excitation sound source signal to the above periodic excitation signal source unit as the above feedback signal. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     In the drawings: 
     FIG. 1 is a diagram illustrating the construction of a conventional speech coding apparatus; 
     FIG. 2 is a diagram illustrating the operations of the construction of FIG. 1; 
     FIG. 3 is a diagram illustrating the basic construction of the speech coding apparatus according to the first aspect of the present invention; 
     FIG. 4 is a diagram illustrating the construction of the speech coding apparatus in the first embodiment of the present invention; 
     FIG. 5 indicates the construction of the feedback amount modifying unit 17 in the construction of FIG. 4; and 
     FIG. 6 is a diagram illustrating the construction of the speech coding apparatus in the second embodiment of the present invention. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Conventional Speech Coding Apparatus (FIGS. 1 and 2) 
     FIG. 1 is a diagram illustrating the construction of a conventional speech coding apparatus. In FIG. 3, reference numeral 11 denotes an adaptive codebook (sound source) outputting a pitch vector P having a pitch-periodic characteristic; 12 denotes a stochastic codebook (sound source) outputting a code vector C having a non-periodic (random) characteristic; 21 denotes an amplifier for amplifying the periodic excitation signal P output from the adaptive codebook 11 with a gain b; 22 denotes an amplifier for amplifying the non-periodic excitation signal C output from the stochastic codebook 12 with a gain g; 13 denotes an adder synthesizing the above amplified pitch vector bP and the above amplified code vector gC to generate an excitation sound source signal bP+gC; 14 denotes a short-term prediction synthesis filter carrying out short-term prediction such as a linear prediction to regenerate a signal bAP+gAC simulating an input speech signal X; 15 denotes a subtracter for obtaining a difference E between an input speech signal AX and the regenerated signal output bAP+gAC from the short-term prediction synthesis filter 14 as an error signal, 16 denotes a weighted error power evaluating unit for selecting a pitch vector P in the adaptive codebook 11 and a code vector C in the stochastic codebook 12, to be output therefrom, respectively, and adjusting the above gains b and g, so that a power of the weighted error signal E is minimized; 18 denotes a frame delay circuit through which the above excitation sound source signal output from the adder 13 is supplied to the adaptive codebook 11; and 19 denotes a perceptual weighting filter for perceptual weighting the error signal E to generate a perceptually weighted error signal WE. 
     The characteristic of the above short-term prediction synthesis filter 14 is expressed as ##EQU1## where ai&#39;s (i=1-p) are and prediction coefficients, and the characteristic of the perceptual weighting filter 19 is expressed as ##EQU2## where λ (0.0≦λ≦1.0) is a coefficient defining the characteristic of the perceptual weighting filter 19. 
     The output of the adder 13 is optimized by minimizing the power of the weighted error signal output from the perceptual weighting filter 19, and the optimized excitation sound source signal boPo+goCo containing the non-periodic component goCo is supplied through the frame delay circuit 18 to the adaptive codebook 11 to modify the content of the adaptive codebook 11. Typical waveforms of the signals in the construction of FIG. 1 are indicated in FIG. 2. In FIG. 2, 21 denotes a human filter by an aural cavity through which the above speech signal AX is generated from an excitation sound signal X generated by a vocal cord. As explained above, the above supply of the non-periodic component goco to the adaptive codebook 11 causes degradation in a regenerated speech signal when regenerating an input speech signal having a strong pitch-periodic characteristic. 
     Basic Operations of the Present Invention (FIG. 3) 
     FIG. 3 is a diagram showing the basic construction of the speech signal coding apparatus according to the first aspect of the present invention. In FIG. 3, reference numeral 1 denotes a periodic excitation signal source unit, 2 denotes a non-periodic excitation signal source unit, 3 denotes a synthesizing unit, 4 denotes a short-term prediction filter unit, 5 denotes an error obtaining unit, 6 denotes an error evaluating unit, and 7 denotes a feedback signal modifying unit. 
     In the construction of FIG. 3, the periodic excitation signal source unit 1 holds a set of a plurality of periodic excitation signals, and outputs one of the plurality of periodic excitation signals in response to a first control signal, which is supplied thereto from the error evaluating unit 6 as explained below. In addition, the content of the periodic excitation signal source unit 1, i.e., the above set is adaptively modified according to a feedback signal supplied thereto from the synthesizing unit 3. The non-periodic excitation signal source unit 2 holds a set of a plurality of non-periodic excitation signals, and outputs one of the above plurality of non-periodic excitation signals in response to a second control signal, which is also supplied thereto from the error evaluating unit 6 as explained below. The synthesizing unit 3 inputs and synthesizes the above periodic excitation signal output from the periodic excitation signal source unit 1 and the above non-periodic excitation signal output from the non-periodic excitation signal source unit 2, to generate an excitation sound source signal, which is optimized by minimizing a power of the error obtained by the error obtaining unit 5 as explained below. The short-term prediction filter unit 4 inputs the excitation sound source signal, and generates a regenerated signal which simulates the above input speech signal, based on excitation sound source signals recently input thereto preceding the above excitation sound source signal, by short-term prediction. The error obtaining unit 5 obtains a difference between the above input speech signal and the above regenerated signal as an error signal, and the error evaluating unit 6 scans the above first and second control signals while monitoring the error signal, to adjust the first and second control signals so that a power of the error signal is minimized and thereby optimizing said excitation sound source signal. According to the present invention, the feedback signal modifying unit 7 inputs the above optimized excitation sound source signal, modifies the excitation sound source signal by reducing a non-periodic component in the excitation sound source signal according to a relative amount of the non-periodic component in the optimized excitation sound source signal so that the non-periodic component is reduced more when the relative amount of the periodic component is greater. The optimized excitation sound source signal modified as above is supplied to the above periodic excitation signal source unit 1 as the above feedback signal. When the input speech signal indicates a stronger pitch-periodic characteristic, the above optimized excitation sound source signal contains a larger amount of the pitch-periodic component. According to the present invention, in this case, the non-periodic component which is supplied to the periodic excitation signal source unit 1 to cause degradation in a regenerated speech signal, is further reduced by the above feedback signal modifying unit 7. Therefore, according to the present invention, the quality of the regenerated signal is improved compared with the conventional speech signal coding apparatus in which the above feedback signal modifying unit is not provided. 
     The second aspect of the present invention provides a speech signal decoding apparatus for inputting and decoding code information to regenerate a speech signal, corresponding to the above speech signal coding apparatus of FIG. 3. The construction constituted by the periodic excitation signal source unit 1, the non-periodic excitation signal source unit 2, the synthesizing unit 3, the short-term prediction filter 4, and the feedback signal modifying unit 7 constitutes a construction of the speech signal decoding apparatus according to the second aspect of the present invention, where the above first and second control signals are supplied to the periodic excitation signal source unit 1 and the non-periodic excitation signal source unit 2, respectively, as a portion of code information which is input to the speech signal decoding apparatus, and which the speech signal decoding apparatus should decode. The operation of the speech signal decoding apparatus is the same as the corresponding portion of the speech signal coding apparatus of FIG. 3 except that the above scanning of the first and second control signals is not carried out corresponding to the absence of the error evaluating unit 6, and the first and second control signals, which always give an optimized excitation sound source signal from the synthesizing unit 3, are supplied to the speech signal decoding apparatus as above. 
     First Embodiment of Speech Signal Decoding Apparatus (FIG. 4) 
     FIG. 4 is a diagram indicating the construction of the speech coding apparatus in the first embodiment of the present invention. In FIG. 4, reference numeral 17 denotes a feedback signal modifying unit, and all the other elements in FIG. 4 are the same as the corresponding elements in FIG. 1. The feedback signal modifying unit 17 corresponds to the feedback component modifying unit 7 in FIG. 3, inputs optimized parameters bo, Po, go, and Co which are determined by the error power evaluation unit 16 to give an optimized excitation sound source signal bo·Po+go·Co in a speech signal frame preceding the speech signal frame most recently input to the speech signal coding apparatus. Then, the feedback signal modifying unit 17 carries out calculations defined by the following pairs of equations (1) and (2), or (1) and (3) to obtain a modified feedback signal bo·Po+go&#39;·Co which is to be supplied through the frame delay circuit 18 to the adaptive codebook 11. ##EQU3## where A denotes an impulse response matrix of the short-term prediction synthesis filter 14. 
     As indicated in the equation (1), the optimized gain go is reduced by being multiplied by a coefficient kc, which is equal to or less than one, to suppress the non-periodic component go·Co in the feedback signal supplied to the adaptive codebook 11. According to the equation (2), the coefficient kc is determined based on the ratio of the power of the non-periodic component go·Co to the sum of the powers of the periodic component bo·Po and the non-periodic component go·Co in the optimized excitation sound source signal bo·Po+go·Co. As understood from the equations (1) and (2), the less the ratio of the power of the non-periodic component go·Co to the sum of the powers of the periodic component bo·Po and the non-periodic component go·Co in the excitation sound source signal bo·Po+go·Co is, the more the non-periodic component go·Co in the feedback signal supplied to the adaptive codebook 11 is suppressed. Namely, the stronger the pitch-periodic characteristic of the input speech signal is, the further the non-periodic component go·Co is suppressed. Thus, the quality of the regenerated speech signal for an input speech signal having a strong pitch-periodic characteristic is improved by the above construction. 
     In addition, when the ratio of the power of the periodic component bo·Po to the sum of the powers of the periodic component bo·Po and the non-periodic component go·Co is small, for example, the adaptive codebook 11 does not follow the pitch period of the input speech signal very well, or the input speech signal represents a voiceless sound, the above coefficient kc becomes large, and therefore the non-periodic component go·Co is not significantly suppressed, and is supplied to the adaptive codebook 11 so that the adaptive codebook 11 can follow the characteristic of the input speech signal. 
     The operation is similar to the above when the equations (1) and (3) are used in the calculation in the feedback signal modifying unit 17, except that the above coefficient kc for suppressing the non-periodic component in the feedback signal is determined based on the ratio of the power of the non-periodic component go·ACo to the sum of the powers of the periodic component bo·APo and the non-periodic component go·ACo in the regenerated signal bo·APo+go·ACo. 
     Feedback Signal Modifying Unit 17 (FIG. 5) 
     FIG. 5 illustrates the construction of the feedback amount modifying unit 17 in the construction of FIG. 4. In FIG. 5, reference numerals 71 and 72 each denote an amplifier, 73, 74, and 78 each denote a multiplier, 75 denotes an adder, 76 denotes a divider, and 77 denotes a square root calculation circuit. The construction of FIG. 5 correspond to the equation (2). Since, in FIG. 5, outputs of the respective elements are indicated, the operation of FIG. 5 is self-explanatory. 
     Second Embodiment of Speech Signal Decoding Apparatus (FIG. 6) 
     FIG. 6 is a diagram indicating the construction of the speech coding apparatus in the second embodiment of the present invention. In FIG. 6, reference numeral 14&#39; denotes a weighted short-term prediction synthesis filter, and 20 denotes a perceptual weighting filter, and all the other elements in FIG. 6 are the same as the corresponding elements in FIG. 4. The perceptual weighting filter 20 perceptual weights an input speech signal AX to generate a perceptually weighted input speech signal A&#39;X which is to be supplied to the subtracter 15. The characteristic of the perceptual weighting filter 20 is the same as the perceptual weighting filter 19 in FIG. 1. 
     Corresponding to the perceptual weighting operation in the above perceptual weighting filter 20, the weighted short-term prediction synthesis filter 14&#39; carries out the same perceptual weighting operation as above simultaneously with the short-term prediction to generate a perceptually weighted regenerated signal bA&#39;P+gA&#39;C which is equivalent to a signal generated by perceptual weighting the regenerated signal bAP+gAC in the first embodiment. The characteristic of the above short-term prediction synthesis filter 14&#39; is expressed as ##EQU4## where A(z) and W(z) are respectively defined by the equations (1) and (2). 
     The subtracter 15 obtains a difference between the above perceptually weighted input speech signal A&#39;X and the perceptually weighted regenerated signal bA&#39;P+gA&#39;C as a perceptually weighted error signal E&#39; which is equivalent to the perceptually weighted error signal WE output from the perceptual weighting filter 19 in the first embodiment. The perceptually weighted error signal E&#39; is supplied to the weighted error power evaluation unit 16. All the other operations in the second embodiment are the same as the first embodiment. 
     Speech Signal Decoding Apparatus (FIG. 4) 
     The speech signal decoding apparatuses corresponding to the above constructions of the first and second embodiments of the present invention are constituted by the adaptive codebook 11, the stochastic codebook 12, the amplifiers 21 and 22, the adder 13, the short-term prediction synthesis filter 14, the subtracter 15, the feedback amount modifying unit 17, and the frame delay circuit 18. The outputs of the speech signal decoding apparatuses corresponding to the above constructions of the first and second embodiments are obtained as the output of the short-term prediction synthesis filter 14.