HIGH FREQUENCY ENHANCEMENT LAYER CODING IN WIDE BAND SPEECH CODEC

Abstract: A speech coding method and device for encoding and decoding an input signal (100) and providing synthesized speech (110), wherein the higher frequency components (160) of the synthesized speech (110) are achieved by high-pass filtering and coloring an artificial signal (150) to provide a processed artificial signal (154). The processed artificial signal (154) is scaled (530, 540) by a first scaling factor (114, 144) during the active speech periods of the input signal (100) and a second scaling factor (114 and 115, 144 and 145) during the non-active speech periods, wherein the first scaling factor (114, 144) is characteristic of the higher frequency band of the input signal (100) and the second scaling factor (114 and 115, 144 and 145) is characteristic of the lower frequency band of the input signal (100). In particular, the second scaling factor (114 and 115, 144 and 145) is estimated based on the lower frequency components of the synthesized speech (110) and the coloring of the artificial signal (150) is based on the linear predictive coding coefficients (104) characteristic of the lower frequency of the input signal (100).

Description: HIGH FREQUENCY ENHANCEMENT LAYER CODING IN WIDE BAND SPEECH CODEC FIELD OF THE INVENTION The present invention generally relates to the field of coding and decoding synthesized speech and, more particularly, to an adaptive multi-rate wideband speech codec. BACKGROUND OF THE INVENTION Many methods of coding speech today are based upon linear predictive (LP) coding, which extracts perceptually significant features of a speech signal directly from a time waveform rather than from a frequency spectra of the speech signal (as does what is called a channel vocoder or what is called a formant vocoder). In LP coding, a speech waveform is first analyzed (LP analysis) to determine a time- varying model of the vocal tract excitation that caused the speech signal, and also a transfer function. A decoder (in a receiving terminal in case the coded speech signal is telecommunicated) then recreates the original speech using a synthesizer (for performing LP synthesis) that passes the excitation through a parameterized system that models the vocal tract. The parameters of the vocal tract model and the excitation of the model are both periodically updated to adapt to corresponding changes that occurred in the speaker as the speaker produced the speech signal. Between updates, i.e. during any specification interval, however, the excitation and parameters of the system are held constant, and so the process executed by the model is a linear time-invariant process. The overall coding and decoding (distributed) system is called a codec. In a codec using LP coding to generate speech, the decoder needs the coder to provide three inputs: a pitch period if the excitation is voiced, a gain factor and predictor coefficients. (In some codecs, the nature of the excitation, i.e. whether it is voiced or unvoiced, is also provided, but is not normally needed in case of an Algebraic Code Excited Linear Predictive (ACELP) codec, for example. LP coding is predictive in that it uses prediction parameters based on the actual input segments of the speech waveform (during a specification interval) to which the parameters are applied, in a process of forward estimation. Basic LP coding and decoding can be used to digitally communicate speech with a relatively low data rate, but it produces synthetic sounding speech because of its using a very simple system of excitation. A so-called Code Excited Linear Predictive (CELP) codec is an enhanced excitation codec. It is based on "residual" encoding. The modeling of the vocal tract is in terms of digital filters whose parameters are encoded in the compressed speech. These filters are driven, i.e. "excited," by a signal that represents the vibration of the original speaker's vocal cords. A residual of an audio speech signal is the (original) audio speech signal less the digitally filtered audio speech signal. A CELP codec encodes the residual and uses it as a basis for excitation, in what is known as "residual pulse excitation." However, instead of encoding the residual waveforms on a sample-by-sample basis, CELP uses a waveform template selected from a predetermined set of waveform templates in order to represent a block of residual samples. A codeword is determined by the coder and provided to the decoder, which then uses the codeword to select a residual sequence to represent the original residual samples. According to the Nyquist theorem, a speech signal with a sampling rate Fs can represent a f equency band from 0 to 0.5F S . Nowadays, most speech codecs (coders- decoders) use a sampling rate of 8 kHz. If the sampling rate is increased from 8 kHz, naturalness of speech improves because higher frequencies can be represented. Today, the sampling rate of the speech signal is usually 8 kHz, but mobile telephone stations are being developed that will use a sampling rate of 16 kHz. According to the Nyquist theorem, a sampling rate of 16 kHz can represent speech in the frequency band 0-8 kHz. The sampled speech is then coded for communication by a transmitter, and then decoded by a receiver. Speech coding of speech sampled using a sampling rate of 16 kHz is called wideband speech coding. When the sampling rate of speech is increased, coding complexity also increases. With some algorithms, as the sampling rate increases, coding complexity can even increase exponentially. Therefore, coding complexity is often a limiting factor in determining an algorithm for wideband speech coding. This is especially true, for example, with mobile telephone stations where power consumption, available processing power, and memory requirements critically affect the applicability of algorithms. In the prior-art wideband codec, as shown in Figure 1, a pre-processing stage is used to low-pass filter and down-sample the input speech signal from the original sampling frequency of 16 kHz to 12.8kHz. The down-sampled signal is then decimated so that the number of samples of 320 within a 20ms period are reduced to 256. The down-sampled and decimated signal, with an effective frequency bandwidth of 0 to 6.4 kHz, is encoded using an Analysis-by-Synthesis (A-b-S) loop to extract LPC, pitch and excitation parameters, which are quantized into an encoded bit stream to be transmitted to the receiving end for decoding. In the A-b-S loop, a locally synthesized signal is ftirther up sampled and interpolated to meet the original sample frequency. After the encoding process, the frequency band of 6.4 kHz to 8.0 kHz is empty. The wideband codec generates random noise on this empty frequency range and colors the random noise with LPC parameters by synthesis filtering as described below. The random noise is first scaled according to e S cai d = sqrt[{exc (τι) exc(n)}/{β (n) e(n)}Je(n) (1) where e(n) represents the random noise and exc(n) denotes the LPC excitation. The superscript T denotes the transpose of a vector. The scaled random noise is filtered using the coloring LPC synthesis filter and a 6.0 - 7.0 kHz band pass filter. This colored, high- frequency component is further scaled using the information about the spectral tilt of the synthesized signal. The spectral tilt is estimated by calculating the first autocorrelation coefficient, r, using the following equation: {s τ (i) s(i-l)}/{s τ (i) s(i)} (2) where s(i) is the synthesized speech signal. Accordingly, the estimated gain f es t is determined from with the limitation 0.2< f es t < 1.0. At the receiving end, after the core decoding process, the synthesized signal is further post-processed to generate the actual output by up-sampling the signal to meet the input signal sampling frequency. Because the high frequency noise level is estimated based on the LPC parameters obtained from the lower frequency band and the spectral tilt of the synthesized signal, the scaling and coloring of the random noise can be carried out in the encoder end or the decoder end. In the prior-art codec, the high frequency noise level is estimated based on the base layer signal level and spectral tilt. As such, the high frequency components in the 5 synthesized signal are filtered away. Hence, the noise level does not correspond to the actual input signal characteristics in the 6.4-8.0 kHz frequency range. Thus, the prior-art codec does not provide a high quality synthesized signal. It is advantageous and desirable to provide a method and a system capable of providing a high quality synthesized signal taking into consideration the actual input 0 signal characteristics in the high frequency range. Summary of the Invention It is a primary objective of the present invention to improve the quality of synthesized speech in a distributed speech processing system. This objective can be 5 achieved by using the input signal characteristics of the high frequency components in the original speech signal in the 6.0 to 7.0 kHz frequency range, for example, to determine the scaling factor of a colored, high-pass filtered artificial signal in synthesizing the higher frequency components of the synthesized speech during active speech periods. During non-active speech periods, the scaling factor can be determined by the lower frequency o components of the synthesized speech signal. Accordingly, the first aspect of the present invention is a method of speech coding for encoding and decoding an input signal having active speech periods and non-active speech periods, and for providing a synthesized speech signal having higher frequency components and lower frequency components, wherein the input signal is divided into a 5 higher frequency band and lower frequency band in encoding and speech synthesizing processes and wherein speech related parameters characteristic of the lower frequency band are used to process an artificial signal for providing the higher frequency components of the synthesized speech signal. The method comprises the steps of: scaling the processed artificial signal with a first scaling factor during the active o speech periods, and scaling the processed artificial signal with a second scaling factor during the non- active speech periods, wherein the first scaling factor is characteristic of the higher frequency band of the input signal, and the second scaling factor is characteristic of the lower frequency components of the synthesized speech. Preferably, the input signal is high-pass filtered for providing a filtered signal in a frequency range characteristic of the higher frequency components of the synthesized 5 speech, wherein the first scaling factor is estimated from the filtered signal, and wherein when the non-active speech periods include speech hangover periods and comfort noise periods, the second scaling factor for scaling the processed artificial signal in the speech hangover periods is estimated from the filtered signal. Preferably, the second scaling factor for scaling the processed artificial signal 0 during the speech hangover periods is also estimated from the lower frequency components of the synthesized speech, and the second scaling factor for scaling the processed artificial signal during the comfort noise periods is estimated from the lower frequency components of the synthesized speech signal. Preferably, the first scaling factor is encoded and transmitted within the encoded 5 bit stream to a receiving end and the second scaling factor for the speech hangover periods is also included in the encoded bit stream. It is possible that the second scaling factor for speech hangover periods is deteπnined in the receiving end. Preferably, the second scaling factor is also estimated from a spectral tilt factor o determined from the lower frequency components of the synthesized speech. Preferably, the first scaling factor is further estimated from the processed artificial signal. The second aspect of the present invention is a speech signal transmitter and receiver system for encoding and decoding an input signal having active speech periods 5 and non-active speech periods and for providing a synthesized speech signal having higher frequency components and lower frequency components, wherein the input signal is divided into a higher frequency band and a lower frequency band in the encoding and speech synthesizing processes, wherein speech related parameters characteristic of the lower frequency band of the input signal are used to process an artificial signal in the o receiver for providing the higher frequency components of the synthesized speech. The system comprises: a decoder in the receiver for receiving an encoded bit stream from the transmitter, wherein the encoded bit stream contains the speech related parameters; a first module in the transmitter, responsive to the input signal, for providing a first scaling factor for scaling the processed artificial signal during the active periods, and a second module in the receiver, responsive to the encoded bit stream, for 5 providing a second scaling factor for scaling the processed artificial signal during the non- active periods, wherein the first scaling factor is characteristic of the higher frequency band of the input signal and the second scaling factor is characteristic of the lower frequency components of the synthesized speech. Preferably, the first module includes a filter for high pass filtering the input signal 0 and providing a filtered input signal having a frequency range corresponding to the higher frequency components of the synthesized speech so as to allow the first scaling factor to be estimated from the filtered input signal. Preferably, a third module in the transmitter is used for providing a colored, high- pass filtered random noise in the frequency range corresponding to the higher frequency 5 components of the synthesized signal so that the first scaling factor can be modified based on the colored, high-pass filtered random noise. The third aspect of the present invention is an encoder for encoding an input signal having active speech periods and non-active speech periods, and the input signal is divided into a higher frequency band and a lower frequency band, and for providing an o encoded bit stream containing speech related parameters characteristic of the lower frequency band of the input signal so as to allow a decoder to reconstruct the lower frequency components of synthesized speech based on the speech related parameters and to process an artificial signal based on the speech related parameters for providing high frequency components of the synthesized speech, and wherein a scaling factor based on 5 the lower frequency components of the synthesized speech is used to scale the processed artificial signal during the non-active speech periods. The encoder comprises: a filter, responsive to the input signal, for high-pass filtering the input signal in a frequency range corresponding to the higher frequency components of the synthesized speech, and providing a first signal indicative of the high-pass filtered input signal; o means, responsive to the first signal, for providing a further scaling factor based on the high-pass filtered input signal and the lower frequency components of the synthesized speech and for providing a second signal indicative of the further scaling factor; and a quantization module, responsive to the second signal, for providing an encoded signal indicative of the further scaling factor in the encoded bit stream, so as to allow the decoder to scale the processed artificial signal during the active-speech periods based on 5 the further scaling factor. The fourth aspect of the present invention is a mobile station, which is arranged to transmit an encoded bit stream to a decoder for providing synthesized speech having higher frequency components and lower frequency components, wherein the encoded bit stream includes speech data indicative of an input signal having active speech periods and 0 non-active periods, and the input signal is divided into a higher frequency band and lower frequency band, wherein the speech data includes speech related parameters characteristic of the lower frequency band of the input signal so as to allow the decoder to provide the lower frequency components of the synthesized speech based on the speech related parameters, and to color an artificial signal based on the speech related parameters and 5 scale the colored artificial signal with a scaling factor based on the lower frequency components of the synthesized speech for providing the high frequency components of the synthesized speech during the non-active speech periods. The mobile station comprises: a filter, responsive to the input signal, for high-pass filtering the input signal in a frequency range corresponding to the higher frequency components of the synthesized o speech, and for providing a further scaling factor based on the high-pass filtered input signal; and a quantization module, responsive to the scaling factor and the further scaling factor, for providing an encoded signal indicative of the further scaling factor in the encoded bit stream, so as to allow the decoder to scale the colored artificial signal during 5 the active-speech period based on the further scaling factor. The fifth aspect of the present invention is an element of a telecommunication network, which is arranged to receive an encoded bit stream containing speech data indicative of an input signal from a mobile station for providing synthesized speech having higher frequency components and lower frequency components, wherein the input o signal, having active speech periods and non-active periods, is divided into a higher frequency band and lower frequency band, and the speech data includes speech related parameters characteristic of the lower frequency band of the input signal and gain parameters characteristic of the higher frequency band of the input signal, and wherein the lower frequency components of the synthesized speech are provided based on the speech related parameters, said element comprising: a first mechanism, responsive to the gain parameters, for providing a first scaling factor; a second mechanism, responsive to the speech related parameters, for synthesis and high pass filtering an artificial signal for providing a synthesis and high pass filtered artificial signal; a third mechanism, responsive to the first scaling factor and the speech data, for providing a combined scaling factor including the first scaling factor characteristic of the higher frequency band of the input signal, and a second scaling factor based on the first scaling factor and a further speech related parameter characteristic of the lower frequency components of the synthesized speech; and a fourth mechanism, responsive to the synthesis and high-pass filtered artificial signal and the combined scaling factor, for scaling the synthesis and high-pass filtered artificial signal with the first and second scaling factors during active speech periods and non-active speech periods, respectively. The present invention will become apparent upon reading the description taken in conjunction with Figures 2 to 8. Brief Description of the Drawings Figure 1 is a block diagram illustrating a prior-art wideband speech codec. Figure 2 is a block diagram illustrating the wideband speech codec, according to the present invention. Figure 3 is a block diagram illustrating the post-processing functionality of the wideband speech encoder of the present invention. Figure 4 is a block diagram illustrating the structure of the wideband speech decoder of the present invention. Figure 5 is a block diagram illustrating the post-processing functionality of the wideband speech decoder. Figure 6 is a block diagram illustrating a mobile station, according to the present invention. Figure 7 is a block diagram illustrating a telecommunication network, according to the present invention. Figure 8 is a flow-chart illustrating the method of speech coding, according to the present invention. Best Mode For Carrying Out The Invention As shown in Figure 2, the wideband speech codec 1, according to the present invention, includes a pre-processing block 2 for pre-processing the input signal 100. Similar to the prior-art codec, as described in the background section, the pre-processing block 2 down-samples and decimates the input signal 100 to become a speech signal 102 with an effective bandwidth of 0 - 6.4 kHz. The processed speech signal 102 is encoded by the Analysis-by-Synthesis encoding block 4 using the conventional ACELP technology in order to extract a set of Linear Predictive Coding (LPC) pitch and excitation parameters or coefficients 104. The same coding parameters can be used, along with a high-pass filtering module to process an artificial signal, or pseudo-random noise, into a colored, high-pass filtered random noise (134, Figure 3; 154, Figure 5). The encoding block 4 also provides locally synthesized signal 106 to a post-processing block 6. In contrast to the prior-art wideband codec, the post-processing function of the post-processing block 6 is modified to incorporate the gain scaling and gain quantization 108 corresponding to input signal characteristics of the high frequency components of the original speech signal 100. More particularly, the high-frequency components of the original speech signal 100 can be used, along with the colored, high-pass filtered random noise 134, 154, to determine a high-band signal scaling factor, as shown in Equation 4, described in conjunction with the speech encoder, as shown in Figure 3. The output of the post-processing block 6 is the post-processed speech signal 110. Figure 3 illustrates the detailed structure of the post-processing functionality in the speech encoder 10, according to the present invention. As shown, a random noise generator 20 is used to provide a 16 kHz artificial signal 130. The random noise 130 is colored by an LPC synthesis filter 22 using the LPC parameters 104 provided in the encoded bit stream from the Analysis-by-Synthesis encoding block 4 (Figure 2) based on the characteristics of the lower band of the speech signal 100. From the colored random noise 132, a high-pass filter 24 extracts the colored, high frequency components 134 in a frequency range of 6.0 - 7.0 kHz. The high frequency components 112 in the frequency range of 6.0 - 7.0 kHz in the original speech sample 100 are also extracted by a high pass filter 12. The energy of the high frequency components 112 and 134 is used to determine 5 a high-band signal scaling factor gscaied by a gain equalization block 14, according to: T T gscaied = Sqrt {(Shp Shp)/(ehp βhp)} (4) where sh P is the 6.0-7.0 kHz band-pass filtered original speech signal 112, and eι t is the o LPC synthesis (colored) and band-pass filtered random noise 134. The scaling factor gscaied, as denoted by reference numeral 114 can be quantized by a gain quantization module 18 and transmitted within the encoded bit stream so that the receiving end can use the scaling factor to scale the random noise for the reconstruction of the speech signal. In current GSM speech codecs, the radio transmission during non-speech periods 5 is suspended by a Discontinuous Transmission (DTX) function. The DTX helps to reduce interference between different cells and to increase capacity of the communication system. The DTX function relies on a Voice Activity Detection (VAD) algorithm to determine whether the input signal 100 represents speech or noise, preventing the transmitter from being turned off during the active speech periods. The VAD algorithm is denoted by o reference numeral 98. Furthermore, when the transmitter is turned off during the non- active speech periods, a minimum amount of background noise called "comfort noise" (CN) is provided by the receiver in order to eliminates the impression that the connection is dead. The VAD algorithm is designed such that a certain period of time, known as the hangover or holdover time, is allowed after a non-active speech period is detected. 5 Accordingly to the present invention, the scaling factor gscaied during active speech can be estimated in accordance with Equation 4. However, after the transition from active speech to non-active speech, this gain parameter cannot be transmitted within the comfort noise bit stream because of the bit rate limitation and the transmitting system. Thus, in the non-active speech, the scaling factor is determined in the receiving end without using o the original speech signal, as carried out in the prior-art wideband codec. Thus, gain is implicitly estimated from the base layer signal during non-active speech. In contrast, explicit gain quantization is used during speech period based on the signal in the high frequency enhancement layers. During the transition from active speech to non-active speech, the switching between the different scaling factors may cause audible transients in the synthesized signal. In order to reduce these audible transients, it is possible to used a 5 gain adaptation module 16 to change the scaling factor. According to the present invention, the adaptation of starts when the hangover period of the voice activity determination (VAD) algorithm begins. For that purpose, a signal 190 representing a VAD decision is provided to the gain adaption module 16. Furthermore, the hangover period of discontinuous transmission (DTX) is also used for the gain adaptation. After 0 the hangover period of the DTX, the scaling factor determined without the original speech signal can be used. The overall gain adaptation to adjust the scaling factor can be carried out according to the following equation: gtotal = α gscaied + (1 -0 - θ) f est (5) 5 where fest is determined by Equation 3 and denoted by reference numeral 115. and α is an adaptation parameter, given by: α = (DTX hangover count)/7 (6) 0 Thus, during active speech, α is equal to 1.0 because the DTX hangover count is equal to 7. During a transient from active to non-active speech, the DTX hangover count drops from 7 to 0. Thus, during the transient, 0< α<l .0. During non-active speech or after receiving the first comfort noise parameters, α = 0. 5 In that respect, the enhancement layer encoding, driven by the voice activity detection and the source coding bit rate, is scalable depending on the different periods of input signal. During active speech, gain quantization is explicitly determined from the enhancement layer, which includes random noise gain parameter determination and adaptation. During the transient period, the explicitly determined gain is adapted towards o the implicitly estimated value. During non-active speech, gain is implicitly estimated from the base layer signal. Thus, high frequency enhancement layer parameters are not transmitted to the receiving end during non-active speech. The benefit of gain adaptation is the smoother transient of the high frequency component scaling from active to non-active speech processing. The adapted scaling gain gtotai, as determined by the gain adaptation module 1 and denoted by reference numeral 116, is quantized by the gain quantization module 18 as a set of quantized gain parameters 118. This set of gain parameters 118 can be incorporated into the encoded bit stream, to be transmitted to a receiving end for decoding. It should be noted that the quantized gain parameters 118 can be stored as a look-up table so that they can be accessed by an gain index (not shown). With the adapted scaling gain gtotai , the high frequency random noise in the decoding process can be scaled in order to reduce the transients in the synthesized signal during the transition from active speech to non-active speech. Finally, the synthesized high frequency components are added to the up-sampled and interpolated signal received from the A-b-S loop in the encoder. The post processing with energy scaling is carried out independently in each 5 ms sub frame. With 4-bit codebooks being used to quantize the high frequency random component gain, the overall bit rate is 0.8 kbit/s. The gain adaptation between the explicitly determined gain (from the high frequency enhancement layers) and the implicitly estimated gain (from the base layer, or lower band, signal only) can be carried out in the encoder before the gain quantization, as shown in Figure 3. hi that case, the gain parameters to be encoded and transmitted to the receiving end is gtotai, according to Equation 5. Alternatively, gain adaptation can be carried out only in the decoder during the DTX hangover period after the VAD flag indicating the beginning of non-speech signal. In that case, the quantization of the gain parameters is carried out in the encoder and the gain adaptation is carried in the decoder, and the gain parameters transmitted to the receiving end can simply be gscaied, according to Equation 4. The estimated gain f es t can be determined in the decoder using the synthesized speech signal. It is also possible that gain adaptation is carried out in the decoder at the beginning of the comfort noise period before the first silence description (SID first) is received by the decoder. As with the previous case, gscaied is quantized in the encoder and transmitted within the encoded bit stream. A diagrammatic representation of the decoder 30 of the present invention is shown in Figure 4. As shown, the decoder 30 is used to synthesize a speech signal 110 from the encoded parameters 140, which includes the LPC, pitch and excitation parameters 104 and the gain parameters 118 (see Figure 3). From the encoded parameters 140, a decoding module 32 provides a set of dequantized LPC parameters 142. From the received LPC, pitch and excitation parameters 142 of the lower band components of the speech signal, the post processing module 34 produces a synthesized lower band speech 5 signal, as in a prior art decoder. From a locally generated random noise, the post processing module 34 produces the synthesized high-frequency components, based on the gain parameters which includes the input signal characteristics of the high frequency components in speech. A generalized, post-processing structure of the decoder 30 is shown in Figure 5. 0 As shown in Figure 5, the gain parameters 118 are dequantized by a gain dequantization block 38. If gain adaptation is already carried out in the encoder, as shown in Figure 3, then the relevant gain adaptation functionality in the decoder is to switch the dequantized gain 144 (g totab wim α=l- and α=0.5) to the estimated scaling gamf est (α=0) at the beginning of the comfort noise period, without the need of the VAD decision signal 190. 5 However, if gain adaptation is carried out only in the decoder during the DTX hangover period after the VAD flag provided in the signal 190 indicating the beginning of non- speech signal, then the gain adaptation block 40 determines the scaling factor gtotai according to Equation 5. Thus, in the beginning of the discontinuous transmission, the gain adaptation block 40 smooths out the transient using the estimated scaling gύn f es t, as o denoted by reference numeral 145, when it does not receive the gain parameters 118. Accordingly, the scaling factor 146, as provided by the gain adaptation module 40 is determined according to Equation 5. The coloring and high-pass filtering of the random noise component in the post processing unit 34, as shown in Figure 4, is similar to the post processing of the encoder 5 10, as shown in Figure 3. As shown, a random noise generator 50 is used to provide an artificial signal 150, which is colored by an LPC synthesis filter 52 based on the received LPC parameters 104. The colored artificial signal 152 is filtered by a high-pass filter 54. However, the purpose of providing the colored, high-pass filtered random noise 134 in the encoder 10 (Figure 3) is to produce e np (Equation 4). In the post processing module 34, o the colored, high-pass filtered artificial signal 154 is used to produce the synthesized high frequency signal 160 after being scaled by a gain adjustment module 56 based on the adapted high band scaling factor 146 provided by the gain adaptation module 40. Finally, the output 160 of the high frequency enhancement layer is added to the 16kHz synthesized signal received from the base decoder (not shown). The 16kHz synthesized signal is well known in the art. It should be noted that the synthesized signal from the decoder is available for spectral tilt estimation. The decoder post-processing unit may be used to estimate the parameter f es t using Equations 2 and 3. h the case when the decoder or the transmission channel ignores the high-band gain parameters for various reasons, such as channel bandwidth limitations, and the high band gain is not received by the decoder, it is possible to scale the colored, high-pass filtered random noise for providing the high frequency components of the synthesized speech. In summary, the post-processing step for carrying out the high frequency enhancement layer coding in a wideband speech codec can be performed in the encoder or the decoder. When this post-processing step is performed in the encoder, a high band signal scaling factor gscaied is obtained from the high frequency components in the frequency range of 6.0-7.0 kHz of the original speech sample and the LPC-colored and band-pass filtered random noise. Furthermore, an estimated gain factor f es t is obtained from the spectral tilt of the lower band synthesized signal in the encoder. A VAD decision signal is used to indicate whether the input signal is in an active speech period or in a non-active speech period. The overall scaling factor gtotai for the different speech periods is computed from the scaling factor gscaied and the estimated gain factor f es The scalable high-band signal scaling factors are quantized and transmitted within the encoded bit stream. In the receiving end, the overall scaling factor gtotai is extracted from the received encoded bit stream (encoded parameters). This overall scaling factor is used to scale the colored and high-pass filtered random noise generated in the decoder. When the post-processing step is performed in the decoder, the estimated gain factor/^-, can be obtained from the lower-band synthesized speech in the decoder. This estimated gain factor can be used to scale the colored and high-pass filtered random noise in the decoder during active speech. Figure 6 shows a block diagram of a mobile station 200 according to one exemplary embodiment of the invention. The mobile station comprises parts typical of the device, such as a microphone 201, keypad 207, display 206, earphone 214, transmit/receive switch 208, antenna 209 and control unit 205. In addition, the figure shows transmit and receive blocks 204, 211 typical of a mobile station. The transmission block 204 comprises a coder 221 for coding the speech signal. The coder 221 includes 5 the post-processing functionality of the encoder 10, as shown in Figure 3. The transmission block 204 also comprises operations required for channel coding, deciphering and modulation as well as RF functions, which have not been drawn in Figure 5 for clarity. The receive block 211 also comprises a decoding block 220 according to the invention. Decoding block 220 includes a post-processing unit 222 like the decoder 34 0 shown in Figure 5. The signal coming from the microphone 201, amplified at the amplification stage 202 and digitized in the A/D converter, is taken to the transmit block 204, typically to the speech coding device comprised by the transmit block. The transmission, signal processed, modulated and amplified by the transmit block, is taken via the transmit/receive switch 208 to the antenna 209. The signal to be received is taken 5 from the antenna via the transmit/receive switch 208 to the receiver block 211, which demodulates the received signal and decodes the deciphering and the channel coding. The resulting speech signal is taken via the D/A converter 212 to an amplifier 213 and further to an earphone 214. The control unit 205 controls the operation of the mobile station 200, reads the control commands given by the user from the keypad 207 and gives messages to o the user by means of the display 206. The post processing functionality of the encoder 10, as shown in Figure 3, and the decoder 34, as shown in Figure 5, according to the invention, can also be used in a telecommunication network 300, such as an ordinary telephone network or a mobile station network, such as the GSM network. Figure 7 shows an example of a block 5 diagram of such a telecommunication network. For example, the telecommunication network 300 can comprise telephone exchanges or corresponding switching systems 360, to which ordinary telephones 370, base stations 340, base station controllers 350 and other central devices 355 of telecommunication networks are coupled. Mobile stations 330 can establish connection to the telecommunication network via the base stations 340. A o decoding block 320, which includes a post-processing unit 322 similar to that shown in Figure 5, can be particularly advantageously placed in the base station 340, for example. However, the decoding block 320 can also be placed in the base station controller 350 or other central or switching device 355, for example. If the mobile station system uses separate transcoders, e.g., between the base stations and the base station controllers, for transforming the coded signal taken over the radio channel into a typical 64 kbit/s signal transferred in a telecommunication system and vice versa, the decoding block 320 can also be placed in such a transcoder. In general the decoding block 320, including the post processing unit 322, can be placed in any element of the telecommunication network 300, which transforms the coded data stream into an uncoded data stream. The decoding block 320 decodes and filters the coded speech signal coming from the mobile station 330, whereafter the speech signal can be transferred in the usual manner as uncompressed forward in the telecommunication network 300. Figure 8 is a flow-chart illustrating the method 500 of speech coding, according to the present invention. As shown, as the input speech signal 100 is received at step 510, the Voice Activity Detector algorithm 98 is used at step 520 to determine whether the input signal 110 in the current period represents speech or noise. During the speech period, the processed artificial noise 152 is scaled with a first scaling factor 114 at step 530. During the noise or non-speech period, the processed artificial signal 152 is scaled with a second scaling factor at step 540. The process is repeated at step 520 for the next period. In order to provide the higher frequency components of the synthesized speech, the artificial signal or random noise is filtered in a frequency range of 6.0-7.0 kHz. However, the filtered frequency range can be different depending on the sample rate of the codec, for example. Although the invention has been described with respect to a preferred embodiment thereof, it will be understood by those skilled in the art that the foregoing and various other changes, omissions and deviations in the form and detail thereof may be made without departing from the spirit and scope of this invention.

Claims: What is claimed is: 1. A method of speech coding (500) for encoding and decoding an input signal (100) having active speech periods and non-active speech periods, and for providing a 5 synthesized speech signal (110) having higher frequency components and lower frequency components, wherein the input signal is divided into a higher frequency band and lower frequency band in encoding and speech synthesizing processes, and wherein speech related parameters (104) characteristic of the lower frequency band are used to process an artificial signal (150) for providing a processed artificial signal (152) for further providing 0 the higher frequency components (160) of the synthesized speech, said method comprising the steps of: scaling (530) the processed artificial signal (152) with a first scaling factor (114, 144) during the active speech periods, and scaling (540) the processed artificial signal (152) with a second scaling factor 5 (114&115, 144&145) during the non-active speech periods, wherein the first scaling factor is characteristic of the higher frequency band of the input signal, and the second scaling factor is characteristic of the lower frequency band of the input signal. 2. The method of claim 1, wherein the processed artificial signal (152) is high-pass o filtered for providing a filtered signal (154) in a frequency range characteristic of the higher frequency components of the synthesized speech. 3. The method of claim 2, wherein the frequency range is in the 6.4-8.0 kHz range. 5 4. The method of claim 1, wherein the input signal (100) is high-pass filtered for providing a filtered signal (112) in a frequency range characteristic of the higher frequency components of the synthesized speech, and wherein the first scaling factor (114, 144) is estimated from the filtered signal (112). 0 5. The method of claim 4, wherein the non-active speech periods include speech hangover periods and comfort noise periods, wherein the second scaling factor (114&115, 144&145) for scaling the processed artificial signal (152) in the speech hangover periods is estimated from the filtered signal (112). 6. The method of claim 5, wherein the lower frequency components of the synthesized speech are reconstructed from the encoded lower frequency band (106) of the 5 input signal (100), and wherein the second scaling factor (114&115, 144&145) for scaling the processed artificial signal (152) in the speech hangover periods is also estimated from the lower frequency components of the synthesized speech. 7. The method of claim 6, wherein the second scaling factor (114&115, 144&145) 0 for scaling the processed artificial signal (152) in the comfort noise periods is estimated from the lower frequency components of the synthesized speech. 8. The method of claim 6, further comprising the step of transmitting an encoded bit stream to a receiving end for decoding, wherein the encoded bit stream includes data 5 (118) indicative of the first scaling factor (114, 144). 9. The method of claim 8, wherein the encoded bit stream includes data (118) indicative of the second scaling factor (114&115) for scaling the processed artificial signal (152) in the speech hangover periods. 0 10. The method of claim 8, wherein the second scaling factor (114&115, 144&145) for scaling the processed artificial signal is provided in the receiving end (34). 11. The method of claim 6, wherein the second scaling factor (114&115, 144&145) is 5 indicative of a spectral tilt factor determined from the lower frequency components of the synthesized speech. 12. The method of claim 7, wherein the second scaling factor (114&115, 144&145) for scaling the processed artificial signal in the comfort noise periods is indicative of a o spectral tilt factor determined from the lower frequency components of the synthesized speech. 13. The method of claim 4, wherein the first scaling factor (114, 144) is further estimated from the processed artificial signal (152). 14. The method of claim 1, further comprising the step of providing voice activity 5 information (190) based on the input signal (100) for monitoring the active-speech periods and the non-active speech periods. 15. The method of claim 1 , wherein the speech related parameters include linear predictive coding coefficients characteristic of the lower frequency band of the input o signal. 16. A speech signal transmitter and receiver system for encoding and decoding an input signal (100) having active speech periods and non-active speech periods and for providing a synthesized speech signal (110) having higher frequency components and 5 lower frequency components, wherein the input signal is divided into a higher frequency band and a lower frequency band in the encoding and speech synthesizing processes, wherein speech related parameters (118, 104, 140, 145) characteristic of the lower frequency band of the input signal are used to process an artificial signal (150) in the receiver (30) for providing the higher frequency components (160) of the synthesized o speech, said system comprising: a first means (12, 14) in the transmitter, responsive to the input signal (100), for providing a first scaling factor (114, 144) characteristic of the higher frequency band of the input signal; a decoder (34) in the receiver for receiving an encoded bit stream from the 5 transmitter, wherein the encoded bit stream contains the speech related parameters including data (118) indicative of the first scaling factor (114, 144); and a second means (40, 56) in the receiver, responsive to speech related parameters (118, 145), for providing a second scaling factor (144&145) and for scaling the processed artificial signal (152) with the second scaling factor (144&145) during the non-active o speech periods and scaling the processed artificial signal (152) with the first scaling factor (114, 144) during the active speech periods, wherein the first scaling factor is characteristic of the higher frequency band of the input signal and the second scaling factor is characteristic of the lower frequency band of the input signal. 17. The system of claim 16, wherein the first means comprises a filtering means (12) for high pass filtering the input signal and providing a filtered input signal (112) having a 5 frequency range corresponding to the higher frequency components of the synthesized speech, and wherein the first scaling factor (114, 144) is estimated from the filtered input signal (112). 18. The system of claim 17, wherein the frequency range is in the 6.4 - 8.0 kHz range. 0 19. The system of claim 17, further comprising a third means (16, 24) in the transmitter for providing a high-pass filtered random noise (134) in the frequency range corresponding to the higher frequency components of the synthesized signal and for modifying the first scaling factor (114, 144) based on the high-pass filtered random noise. 5 20. The system of claim 16, further comprising means (98), responsive to the input signal (100), for monitoring the active and non-active speech periods. 21. The system of claim 16, further comprising means (18), responsive to the first o scaling factor (114, 144), for providing an encoded first scaling factor (118) and for included data indicative of the encoded first scaling factor into the encoded bit stream for transmitting. 22. The system of claim 19, further comprising means (18), responsive to the first 5 scaling factor (114, 144), for providing an encoded first scaling factor (118) and for included data indicative of the encoded first scaling factor into the encoded bit stream for transmitting. 23. An encoder (10) for encoding an input signal (100) having active speech periods o and non-active speech periods and the input signal is divided into a higher frequency band and a lower frequency band, and for providing an encoded bit stream containing speech related parameters (104) characteristic of the lower frequency band of the input signal so as to allow a decoder (34) to use the speech related parameters to process an artificial signal (150) for providing the higher frequency components (160) of the synthesized speech, and wherein a scaling factor (144&115,144&145) based on the lower frequency band of the input signal is used to scale the processed artificial signal (152) during the non-active speech periods, said encoder comprising: means (12), responsive to the input signal (100), for high-pass filtering the input signal (100) for providing a high-pass filtered signal (112) in a frequency range corresponding to the higher frequency components of the synthesized speech (110) , and for further providing a further scaling factor (114, 144) based on the high-pass filtered signal (112); and means (18), responsive to the further scaling factor (114, 144), for providing an encoded signal (118) indicative of the further scaling factor (114, 144) into the encoded bit stream, so as to allow the decoder (34) to receive the encoded signal and use the further scaling factor (114, 144) to scale the processed artificial signal (152) during the active-speech periods. 24. A mobile station (200), which is arranged to transmit an encoded bit stream to a decoder (34, 220) for providing synthesized speech (110) having higher frequency components and lower frequency components, wherein the encoded bit stream includes speech data indicative of an input signal (100), the input signal having active speech periods and non-active periods and divided into a higher frequency band and lower frequency band, wherein the speech data includes speech related parameters (104) characteristic of the lower frequency band of the input signal so as to allow the decoder (34) to provide the lower frequency components of the synthesized speech based on the speech related parameters, and to color an artificial signal (150) based on the speech related parameters (104) and to scale the colored artificial signal (154) with a scaling factor (144&145), based on the lower frequency components of the synthesized speech, for providing the higher frequency components (160) of the synthesized speech during the non-active speech periods, said mobile station comprising: a filter (12), responsive to the input signal (100), for high-pass filtering the input signal in a frequency range corresponding to the higher frequency components of the synthesized speech, and for providing a further scaling factor (114, 144) based on the high-pass filtered input signal (112); and a quantization module (18), responsive to the further scaling factor (114, 144), for providing an encoded signal (118) indicative of the further scaling factor (114, 144) in the encoded bit stream, so as to allow the decoder (34) to scale the colored artificial signal 5 (154) during the active-speech periods based on the further scaling factor (114, 144). 25. An element (34, 320) of a telecommunication network (300), which is arranged to receive an encoded bit stream containing speech data indicative of an input signal from a mobile station (330) for providing synthesized speech having higher frequency 0 components and lower frequency components, wherein the input signal has active speech periods and non-active periods, and the input signal is divided into a higher frequency band and lower frequency band, wherein the speech data (104, 118, 145, 190) includes speech related parameters (104) characteristic of the lower frequency band of the input signal and gain parameters (118) characteristic of the higher frequency band of the input 5 signal, and wherein the lower frequency components of the synthesized speech are provided based on the speech related parameters (104), said element comprising: a first mechanism (38), responsive to the gain parameters (118), for providing a first scaling factor (144); a second mechanism (52, 54), responsive to the speech related parameters (104), o for synthesis and high pass filtering an artificial signal (150) for providing a synthesis and high pass filtered artificial signal (154); a third mechanism (40), responsive to the first scaling factor (144) and the speech data (145, 190), for providing a combined scaling factor (146) including the first scaling factor (144) characteristic of the higher frequency band of the input signal, and a second 5 scaling factor (144 & 145) based on the first scaling factor (144) and a further speech related parameter (145) characteristic of the lower frequency components of the synthesized speech; and a fourth mechanism (56), responsive to the synthesis and high-pass filtered artificial signal (154) and the combined scaling factor (146), for scaling the synthesis and o high-pass filtered artificial signal (154) with the first (144) and second (144&145) scaling factors during active speech periods and non-active speech periods, respectively.

Inventors: MIKKOLA HANNU, OJALA PASI, ROTOLA-PUKKILA JANI, VAINIO JANNE, MIKKOLA, HANNU, OJALA, PASI, ROTOLA-PUKKILA, JANI, VAINIO, JANNE
Applicants: NOKIA CORP, NOKIA INC, NOKIA CORPORATION, NOKIA INC.
Application year: 2001
Main classification: G10L21
IPC codes: G10L11, G10L19, G10L21