Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND ARRANGEMENT FOR PROVIDING COMFORT NOISE IN COMMUNICATIONS SYSTEMS
Document Type and Number:
WIPO Patent Application WO/2000/025301
Kind Code:
A1
Abstract:
A method and arrangement for telecommunication comprises that it is detected (120) whether an incoming signal is speech or background noise, and encoding (100, 110) and transmitting parameters characterising the incoming signal. In or before (103) in the encoding of the background noise, parameters are produced, which represent background noise having increased low frequency components. Thus, the incoming signal can be subjected (103) to a frequency tilting operation. The degree of increasing the low frequency components is determined by the maximum long term correlation of the incoming signal. This method and arrangement provides a better generation of comfort noise, when the input signal comprises low frequency sinusoids, such as engine noise from cars and trams.

Inventors:
MUSTEL PETER
JOHANSSON INGEMAR
Application Number:
PCT/SE1999/001808
Publication Date:
May 04, 2000
Filing Date:
October 08, 1999
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ERICSSON TELEFON AB L M (SE)
International Classes:
G10L19/012; H04B; (IPC1-7): G10L19/00
Domestic Patent References:
WO1997034290A11997-09-18
Foreign References:
EP0786760A21997-07-30
US3989897A1976-11-02
Other References:
WONG D Y ET AL: "Spectral mismatch due to preemphasis in LPC analysis/synthesis", IEEE TRANSACTIONS ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING, APRIL 1980, USA, vol. ASSP-28, no. 2, ISSN 0096-3518, pages 263 - 264, XP002103036
Attorney, Agent or Firm:
ERICSSON RADIO SYSTEMS AB (Patent Support/Ericsson Research Stockholm, SE)
Mildh, Christer (Ericsson Radio Systems AB Ericsson Research/Patent Support Unit Stockholm, SE)
Download PDF:
Claims:
CLAIMS
1. A method for generating at least one coefficient to enable the production of a typical background noise at the receiver end of a transmission line, characterised in that said at least one coefficient is computed dependent on the amount of tonal characteristics of the input signal.
2. A method for computing a spectral tilt factor to be used when computing coefficients representing background noise, characterised in that the tilt factor is computed dependent on an open loop LTP maximum long term correlation.
3. A method for telecommunication comprising the steps of detecting whether the incoming signal is speech or background noise encoding and transmitting the background noise, encoding and transmitting the speech, characterised in that in the encoding of the background noise, parameters are produced, which represent background noise having increased low frequency components.
4. A method according to claim 3, characterised in that before the encoding of the background noise the incoming signal is subjected to a tilting operation in order to inrease the low frequency components.
5. A method according to claim 3 or 4, characterised in that the degree of reducing the low frequency components is determined by the maximum long term correlation of the incoming signal.
6. A filter function according to claim 4, characterised in that the tilting operation implements the function where a is a tilt factor, which is calculated depending on the maximum long term correlation.
7. A method according to claim 6, characterised in that"a"is slowly varying between 0 and1 inclusive.
8. A method according to claim 3, characterised in a long term predictor (LTP) analysis to produce a maximum long term correlation and STPanalysis are made on the incoming signals, for background noise, the parameters obtained in the STP analysis are modified in accordance with the value of the maximum long term correlation.
9. A method according to claim 8, characterised in that a tilt parameter is calculated from the maximum long term correlation and that the STPparameters and the tilt parameters are combined to form a new set of STPparameters using a convolution operation of a filter corresponding to the tilt parameter and a filter corresponding to the STP parameters.
10. A method for computing a spectral tilt factor in a system for generating comfort noise, characterised in that the method comprises the following steps; parameters a and G are computed from a function {a, G} =F (C) a long term predictor (LTP) analysis, or other means for determining the long term correlation, is made on the input signal, a maximum long term correlation (C) is then used for computation of a coefficient a', the a'coefficient is smoothed, the signal is tilted so that low frequencies are amplified when the background contains harmonic noise, and the signal is scaled with a gain G to ensure that the perceived level remains constant despite the tilt operation.
11. A method according to claim 10, characterised in that a'= min (1,7c2; 0,9), a=0,8a +0,2a', G=1 + 0,7a.
12. A method according to claim 10, characterised in that a'=min (l, max (0, C0,3)/0,2) *0,7, a=0,8a +0,2a', G=1 + 0,7a.
13. A method in a system for generating comfort noise from natural background noise, characterised in that the signal spectrum is tilted before the encoding of the background noise.
14. A method of quantizing and transmitting the spectral tilt factor, characterised in that the method comprises the following steps; the open loop LTP maximum long term correlation is calculated in the speech coder, an incoming signal is filtered by a tilt filter in the z domain as given by STPcoefficients are produced from the filtered signal, and the STPcoefficients are transmitted to the receiver.
15. A method according to claim 14, characterised in that the STPcoefficients are quantized before the transmission to the receiver.
16. A method in a system for generating comfort noise, wherein a set of coefficients bl,..., bN for a synthesis filter (H (z)) are calculated, characterised in that a coefficient"a"for a tilt filter (Tz)) is calculated, N+1 coefficients bi,.., b"\+i of a resulting filter are calculated, the resulting filter having the form the order of the resulting filter is reduced to produce N coefficients b 1, b Nt quantising and transmitting the reduced number of coefficients b,'bN'.
17. An arrangement for generating at least one coefficient to enable the production of a typical background noise at the receiver end of a transmission line, characterised by means for computing said at least one coefficient depending on the amount of tonal characteristics of the input signal.
18. An arrangement for computing a spectral tilt factor to be used when computing coefficients representing background noise, characterised by means for computing the spectral tilt factor depending on the open loop LTP maximum long term correlation.
19. An arrangement for telecommunication comprising; detecting means for detecting whether the incoming signal is speech or background noise, encoding and transmitting means for encoding and transmitting the background noise, and means for encoding and transmitting the speech, characterised by means which, in the encoding of the background noise, produces parameters, which represent background noise having inreased low frequency components.
20. An arrangement according to claim 19, characterised by tilting means, which, before the encoding of the background noise, tilts the incoming signal in order to increase the low frequency components.
21. An arrangement according to claim 19 or 20, characterised by determining means which determines the degree of reducing the low frequency components from the maximum long term correlation of the incoming signal.
22. Arrangement according to claim 20, characterised in that the tilting means implements the function where"a"is a tilt factor, which is calculated depending on the maximum long term correlation.
23. A filter according to claim 22, characterised in that"a"is slowly varying between 0 and1 inclusive.
24. An arrangement according to claim 19, characterised by means for performing an LTPanalysis to produce a maximum long term correlation and an STPanalysis on the incoming signals, and means, which, for background noise, modifies the parameters obtained in the STPanalysis in accordance with the value of the maximum long term correlation.
25. An arrangement according to claim 24, characterised by means for calculating a tilt parameter from the maximum long term correlation and by means for combining the STPparameters and the tilt parameters for a new set of STPparameters using a convolution operation of a filter corresponding to the tilt parameter and a filter corresponding to the STPparameters.
26. An arrangement for computing a spectral tilt factor in a system for generating comfort noise, characterised in that the arrangement comprises; means for computing parameters a and G from a function {a, G} =F (C), means for performing a long term predictor (LTP) analysis, or other means for determining the long term correlation on the input signal, means which uses a maximum long term correlation (C) for computation of a coefficient a', means for smoothing the a'coefficient means for tilting the signal so that low frequencies are amplified when the background contains harmonic noise, and means for scaling the signal with a gain G to ensure that the perceived level remains constant despite the tilt operation.
27. An arrangement according to claim 26, characterised in that a'=min (1,7c2; 0,9), a=0,8a +0,2a', G=1 + 0,7a.
28. An arrangement according to claim 26, characterised in that a'=min (l, max (0, C0,3)/0,2) *0,7, a=0,8a +0,2a', G=1 + 0,7a.
29. An arrangement in a system for generating comfort noise from a natural background noise, characterised by means for tilting the signal spectrum before the encoding of the background noise.
30. An arrangement of quantizing and transmitting the spectral tilt factor, characterised by; means for calculating a open loop LTP maximum long term correlation in the speech coder, a tilt filter in the zdomain which is means for determining STP (short term predictor) coefficients of a synthesis filter in the decoder means for transmitting the coefficients blbn to the receiver.
31. An arrangement according to claim 31, characterised by means for quantizing the coefficients blbn before the transmission to the receiver. AMENDED CLAIMS [received by the International Bureau on 18 February 2000 (18.02.00); original claims 131 replaced by new claims 131 (8 pages)] 1. A method for generating at least one coefficient to enable the production of a typical background noise at the receiver end of a transmission line, characterized in that said at least one coefficient is computed dependent on the amount of tonal characteristics of the input signal in order to make possible a distinction between low frequency components of harmonic nature and speech and thereby improving the performance of a comfort noise generator.
32. 2 A method for computing a spectral tilt factor to be used when computing coefficients representing background noise, characterized in that the tilt factor is computed on basis of an open loop LTP maximum long term correlation in order to make possible a distinction between low frequency components of harmonic nature and speech and thereby improving the performance of the comfort noise generator.
33. 3 A method for telecommunication comprising the steps of detecting whether an incoming signal is speech or background noise encoding and transmitting the background noise, encoding and transmitting the speech, characterized in that in the encoding of the background noise, parameters are produced, which represent background noise having increased low frequency components of harmonic nature, wherein said parameters are used to distinguish between low frequency components of harmonic nature and speech in order to improve the performance of a comfort noise generator.
34. 4 A method according to claim 3, characterized in that before the encoding of the background noise the incoming signal is subjected to a tilting operation in order to increase the low frequency components of harmonic nature.
35. 5 A method according to claim 3 or 4, characterized in that the degree of increasing the low frequency components is determined by the maximum long term correlation of the incoming signal.
36. 6 A method according to claim 4, characterized in that the tilting operation implements the function where a is a tilt factor, which is calculated depending on the maximum long term correlation.
37. 7 A method according to claim 6, characterized in that"a"is slowly varying between 0 and1 inclusive.
38. 8 A method according to claim 3, characterized in a long term predictor (LTP) analysis to produce a maximum long term correlation and STPanalysis are made on the incoming signals, for background noise, the parameters obtained in the STP analysis are modified in accordance with the value of the maximum long term correlation.
39. 9 A method according to claim 8, characterized in that a tilt parameter is calculated from the maximum long term correlation and that the STPparameters and the tilt parameters are combined to form a new set of STPparameters using a convolution operation of a filter corresponding to the tilt parameter and a filter corresponding to the STP parameters.
40. 10 A method for computing a spectral tilt factor in a system for generating comfort noise, characterized in that the method comprises the following steps; parameters a and G are computed from a function {a, G} =F (C) a long term predictor (LTP) analysis, or other means for determining the long term correlation, is made on the input signal, a maximum long term correlation (C) is then used for computation of a coefficient a', the a'coefficient is smoothed, the signal is tilted so that low frequencies are amplified when the background contains harmonic noise, and the signal is scaled with a gain G to ensure that the perceived level remains constant despite the tilt operation.
41. 11 A method according to claim 10, characterized in that a =min (1, 7c2; 0,9), a=0,8a +0,2a', G=1 + 0,7a.
42. 12 A method according to claim 10, characterized in that a'=min (l, max (0, C0,3)/0,2) *0,7, a=0,8a +0,2a', G=1 + 0,7a.
43. 13 A method in a system for generating comfort noise from natural background noise, characterized in that the signal spectrum is tilted before the encoding of the background noise in order to make possible a distinction between low frequency components of harmonic nature and speech and thereby improving the performance of a comfort noise generator.
44. 14 A method of quantizing and transmitting the spectral tilt factor, characterized in that the method comprises the following steps; the open loop LTP maximum long term correlation is calculated in the speech coder, an incoming signal is filtered by a tilt filter in the z domain as given by STPcoefficients are produced from the filtered signal, and the STPcoefficients are transmitted to the receiver in order to make possible a distinction between low frequency components of harmonic nature and speech and thereby improving the performance of a comfort noise generator.
45. 15 A method according to claim 14, characterized in that the STPcoefficients are quantized before the transmission to the receiver.
46. 16 A method in a system for generating comfort noise, wherein a set of coefficients bl,..., bN for a synthesis filter (H (z)) are calculated, characterized in that a coefficient"a"for a tilt filter (T (z)) is calculated, N+1 coefficients b l,.., b''N+1 of a resulting filter are calculated, the resulting filter having the form the order of the resulting filter is reduced to produce N coefficients b'1, b'N, quantizing and transmitting the reduced number of coefficients b,'bN'in order to make possible a distinction between low frequency components of harmonic nature and speech and thereby improving the performance of a comfort noise generator.
47. 17 An arrangement for generating at least one coefficient to enable the production of a typical background noise at the receiver end of a transmission line, characterized by means for computing said at least one coefficient depending on the amount of tonal characteristics of the input signal b,'bN' in order to make possible a distinction between low frequency components of harmonic nature and speech and thereby improving the performance at the receiver end of a decoder of a comfort noise generator.
48. 18 An arrangement for computing a spectral tilt factor to be used when computing coefficients representing background noise, characterized by means for computing the spectral tilt factor depending on the open loop LTP maximum long term correlation in order to make possible a distinction between low frequency components of harmonic nature and speech and thereby improving the performance at the receiver end of a decoder of a comfort noise generator.
49. 19 An arrangement for telecommunication comprising; detecting means for detecting whether the incoming signal is speech or background noise, encoding and transmitting means for encoding and transmitting the background noise, and means for encoding and transmitting the speech, characterized by means which, in the encoding of the background noise, produces parameters, which represent background noise having increased low frequency components in order to make possible a distinction between low frequency components of harmonic nature and speech and thereby improving the performance at the receiver end of a decoder of a comfort noise generator.
50. 20 An arrangement according to claim 19, characterized by tilting means, which, before the encoding of the background noise, tilts the incoming signal in order to increase the low frequency components of harmonic nature.
51. 21 An arrangement according to claim 19 or 20, characterized by determining means which determines the degree of increasing the low frequency components from the maximum long term correlation of the incoming signal.
52. Arrangement according to claim 20, characterized in that the tilting means implements the function where"a"is a tilt factor, which is calculated depending on the maximum long term correlation.
53. A filter according to claim 22, characterized in that"a"is slowly varying between 0 and1 inclusive.
54. An arrangement according to claim 19, characterized by means for performing an LTPanalysis to produce a maximum long term correlation and an STPanalysis on the incoming signals, and means, which, for background noise, modifies the parameters obtained in the STPanalysis in accordance with the value of the maximum long term correlation.
55. An arrangement according to claim 24, characterized by means for calculating a tilt parameter from the maximum long term correlation and by means for combining the STPparameters and the tilt parameters for a new set of STPparameters using a convolution operation of a filter corresponding to the tilt parameter and a filter corresponding to the STPparameters.
56. An arrangement for computing a spectral tilt factor in a system for generating comfort noise, characterized in that the arrangement comprises; means for computing parameters a and G from a function {a, G} =F (C), means for performing a long term predictor (LTP) analysis, or other means for determining the long term correlation on the input signal, means which uses a maximum long term correlation (C) for computation of a coefficient a', means for smoothing the a'coefficient means for tilting the signal so that low frequencies are amplified when the background contains harmonic noise, and means for scaling the signal with a gain G to ensure that the perceived level remains constant despite the tilt operation.
57. An arrangement according to claim 26, characterized in that a'=min (1,7 C2; 0,9), a=0,8a +0,2a', G=1 + 0,7a.
58. An arrangement according to claim 26, characterized in that a'=min (l, max (0, C0,3)/0,2) *0,7, a=0,8a +0,2a', G=1 + 0,7a.
59. An arrangement in a system for generating comfort noise from a natural background noise, characterized by means for tilting the signal spectrum before the encoding of the background noise in order to make possible a distinction between low frequency components of harmonic nature and speech and thereby improving the performance at the receiver end of a decoder of a comfort noise generator.
60. An arrangement of quantizing and transmitting the spectral tilt factor, characterized by; means for calculating a open loop LTP maximum long term correlation in the speech coder, a tilt filter in the zdomain which is means for determining STP (short term predictor) coefficients of a synthesis filter in the decoder means for transmitting the coefficients blbn to the receiver, in order to make possible a distinction between low frequency components of harmonic nature and speech and thereby improving the performance at the receiver end of a decoder of a comfort noise generator.
61. An arrangement according to claim 30, characterized by means for quantizing the coefficients blbn before the transmission to the receiver.
Description:
METHOD AND ARRANGEMENT FOR PROVIDING COMFORT NOISE IN COMMUNICATIONS SYSTEMS FIELD OF THE INVENTION The present invention relates to a method and an arrangement for telecommunication, in particular for generating background noise and more particularly for generating at least one coefficient, which enables the provision of a typical background noise in the receiver end of a transmission line.

DESCRIPTION OF RELATED ART In a speech codec for a digital cellular system using source controlled variable bit rates, different bit rates are needed for different input signals. The highest bit rate is needed for speech signals while non-speech signals need a lower bit rate in order to be reproduced well.

Coding of background noise should preferably use as low a bit rate as possible. For spread spectrum systems (e. g. CDMA) a main objective is to reduce the average bit rate and thereby the total system load, and for TDMA systems the objective is a more efficient use of the battery, although system load can also be important.

In digital cellular systems which makes use of DTX (Discon- tinuous Transmission), the switch to and from the DTX mode is controlled by a voice activity algorithm (executed by a VAD, Voice Activity Detector).

According to the G. 729 recommendation of ITU-T, the VAD algorithm makes a voice activity decision every 10 ms in accordance with the frame size of the G. 729 speech coder. A set of difference parameters is extracted and used for an initial decision. The parameters are the full band energy, the zero crossing rate and a spectral measure. The long-term averages of

the parameters during non-active voice segments follow the changing nature of the background noise. A set of differential parameters is obtained at each frame. These are a difference measure between each parameter and its respective long-term average. The initial voice activity decision is obtained using a piecewise linear decision boundary between each pair of differential parameters. A final voice activity decision is obtained by smoothing the initial decision.

The output of the VAD module is either 1 or 0, indicating the presence or absence of voice activity. If the VAD output is 1, the G. 729 speech codec is invoked to code/decode the active voice frames. The G. 729 speech codec has a detector, which enables a SID to be transmitted only if required. On the contrary, a codec according to GSMEFR must transmit SID information at predetermined moments. However, if the VAD output is 0, the DTX/CNG algorithms described herein are used to code/decode the non-active voice frames. Traditional speech coders and decoders use comfort noise to simulate the background noise in the non-active voice frame. If the background noise is not stationary, a mere comfort noise insertion does not provide the naturalness of the original background noise. Therefore it is desirable to intermittently send some information about the background noise in order to obtain a better quality when non-active voice frames are detected. The coding efficiency of the non-active voice frames can be achieved by coding the energy of the frame and its spectrum with as few as fifteen bits. These bits are not automatically transmitted whenever there is a non-active voice detection. Rather, the bits are transmitted only when an appreciable change has been detected with respect to the last transmitted non-active voice frame.

At the decoder side, the received bit stream is decoded. If the VAD output is 1, the G. 729 decoder is invoked to synthesize the

reconstructed active voice frames. If the VAD output is 0, the CNG module is called to reproduce the non-active frames.

When the VAD flags that speech is present the systems works as normal, i. e. the speech coder codes speech and transmits parameters that describe every frame in the speech signal. A frame is often 10ms or 20ms long segments of the speech signal.

When the VAD flags that speech is not present then any of the three scenarios below are possible.

1) TDMA system: The transmitter is switched off and is only allowed to transmit a silence descriptor (SID) frame, say once every 20th frame that describes the characteristics of the backround noise.

2) CDMA system: The transmit power of the transmitter is decreased very much and, as a consequence, the possible bit rate is decreased in order to meet the demand for a low bit rate imposed by the power reduction, as the comfort noise parameter must be encoded with very few bits.

3) Internet based telephony & Voice storage systems: neither of the previous two. The number of transmitted packets is reduced in order to reduce the load on the network or in the case of voice storage, to reduce the storage need on e. g. a storage medium.

Often the signal spectrum and energy are averaged over several frames. However this approach seldom gives any information of the kind of environment in which the other speaker is located when having a conversation as the signal spectrum is averaged.

Another approach is not to average the signal spectrum and energy in order to avoid smearing the signal spectrum and

increase the update rate at the cost of fewer bits per update in order to maintain a low average bit rate.

The two estimates are transmitted to the decoder, sometimes at regular intervals or when e. g. the signal spectrum has changed.

The important issue is to consume not too many bits. In the decoder the spectrum and the energy estimates are interpolated in order to try to ensure smooth transmissions. As an excitation source to the STP filter, which normally models the signal spectrum, either white noise is used or randomised versions of fixed and adaptive codebooks are used. The term STP means Short Term Predictor, which is a model of the acoustic characteristics of the oral cavity.

US-A-5630016 discloses a noise generating method during voice inactivity intervals. Said method provides background noise for discontinuous transceiver system during periods of voice inactivity. Said method also alleviates annoyance and discomfort to a listener caused by on and off switching artifacts between intermittent periods of voice activity during conversation. The method according to US-A-5630016 does not describe the problem associated with background noise with tonal characteristics. By tonal characteristics is meant the amount of low frequency sinusoids in the input signal. One example of tonal characteristic is engine noise. A way of measuring the tonal characteristics is the maximum long term correlation.

EP-A-0843301 discloses a method for comfort noise generation for digital mobile terminal modifying random excitation by a spectral control filter so that the frequency content of comfort noise and background noise become similar, or causing the transmitter to replace non-noise speech coding parameters with median value parameters. This method provides audio signals having natural sound at the receiver but does not take

into consideration the specific problems related to engine noise.

EP-A-0786760 discloses a method for providing comfort noise between speech bursts, which is more pleasing to a listener than without such, but does not take into account the specific problems related with engine noise from e. g. cars and trams.

US-A-5487087 discloses an output fluctuation signal quantiser for digital encoding of e. g. speech, which models both the input signal and its time variation and modifies an error to include a term corresponding to the difference between current and previous input signals, forcing the quantiser to match the input signal fluctuation. It reduces noise e. g. the swirling effect and can be combined with insertion of comfort noise.

However the document does not take into consideration the specific problems related to engine noise.

EP-A-0668007 discloses an acoustic signal processing installation for car telephones which determines auto and cross correlation functions for a Wiener filter in order to reduce the noise content in a microphone signal so that the speech quality of output signal is improved. However, this document does not disclose the generation of comfort noise.

SE-B-451938 discloses a speech detector filter for vehicle mobile telephones which works with loudspeaker type units, and has an attenuation which is reduced at frequencies up to 300 Hz and is increased at those over 3400Hz. This filter may be used for speech detectors working in accordance with the semi-duplex principle in conjunction with vehicular mobile telephones, so that they react to speech signals but not to interference noise signals. However, this document does not disclose the generation of comfort noise.

US-A-5235669 discloses code excited linear predictive techniques, which are adapted to wide band speech communication with an overall tilt of a weighting filter response decoupled from the response determined at particular formant frequencies.

However the use of a tilt filter in conjunction with the generation of comfort noise is not described.

The documents US-A-5630016, EP-A-0843301, EP-A-786760, US-A- 5487087 cited above disclose different methods for generating comfort noise. The deficiency with these documents is that they do not take into consideration the specific problems related to engine noise.

EP-A-0668007 and SE-B-451938 disclose arrangements for reducing noise from vehicle, but not in conjunction with the generation of comfort noise.

SUMMARY OF THE INVENTION The Problems discussed in the present disclosure are the following: When speaking in a telephone in an environment with engine noise from e. g. cars and trams, the generation of a background noise according to the state of the art methods is of insufficient quality. The reason is that these sounds incorporate a low frequency component, which is of harmonic nature and thus will not be regarded as noise. Often these problems are heard as a fluttering noise at the decoder end.

Also the comfort noise is often perceived as being too bright in its appearance compared to the appearance of the signal encoded in higher bit rates.

One means of reducing the fluttering effect is to average both the signal spectrum and energy at the encoder end before quantizing, the drawback is however that e. g. babble noise

(background noise of the conversation at e. g. a cocktail party) is badly reproduced. This also does not help the situation of the too bright sound very much.

In order to model low frequency harmonic noise either the STP order (i. e. the amount of coefficients in the syntesis filter) has to be very high or some kind of transform coding scheme has to be utilised. However such schemes generally require many bits to be encoded.

The inventive solution of the problem relies on the fact that we know well when generation of the comfort noise will sound too bright. This is when the long term correlation is high, which is the case for engine noise. Thus we can utilise this knowledge and tilt the spectrum of the signal before the encoding procedure in order to alleviate the bright sound appearance of the generated comfort noise.

More specifically the problems are solved by a method and arrangement for telecommunication comprising the steps of detecting whether the incoming signal is speech or background noise, and encoding and transmitting the background noise. In the encoding of the background noise, parameters are produced, which represent background noise having increased low frequency components. Before the encoding of the background noise the incoming signal is subjected to a tilting operation in order to increase the low frequency components. The degree of increasing the low frequency components is determined by the maximum long term correlation of the incoming signal. One reason why this method provides a more natural reproduction of background noise is that the ear perceives tones as stronger than noise, even when the level is the same. Therefore it is possible to"cheat" the ear to hear better, if the spectrum is tilted a bit more at comfort noise.

An object of the invention is to improve the naturalness of background noise.

A further object of the invention is to improve the quality of regenerated background noise at no cost in additional bit rate and at a low increase of complexity of coding.

A further object of the invention is to make switching from activity to inactivity mode in a speech codec implementation more seamless and therefore more acceptable for the human auditory system.

The aforesaid objects are generally achieved by tilting the spectrum of the signal before the encoding procedure in order to enhance the generation of comfort noise.

An advantage of the invention is that the naturalness of background noise is improved.

A further advantage of the invention is that the quality of regenerated background noise is improved at no cost in additional bit rate and at a low increase of complexity of coding.

A further advantage of the invention is that switching from activity to inactivity mode in a speech codec implementation is made more seamless and therefore more acceptable for the human auditory system.

Further scope of applicability of the present invention will become apparent from the detailed description given herein- after. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description.

BRIEF DESCRIPTION OF THE DRAWINGS The invention will now be described in more detail with reference to preferred exemplifying embodiments thereof and also with reference to the accompanying drawings, in which: Fig. la shows a speech communication system with VAD.

Fig. 1b shows a decoder using a CELP-method.

Fig. 2 shows a preferred embodiment of the invention.

Fig. 3a shows a cascade coupling of a tilt filter and a synthesis filter.

Fig. 3b shows a filter where the coefficients of T (z) and H (z) are convolved to form the coefficients of the filter H''(z).

Fig. 3c shows a filter H' (z) where the number of coefficients is reduced to N in order to enable quantisation with an existing quantiser.

Fig. 4 shows a block diagram of the convultional procedure.

Fig. 5a shows an encoder according to a preferred embodiment according to the invention.

Fig. 5b shows a decoder according to a preferred embodiment according to the invention.

DESCRIPTION OF PREFERRED EMBODIMENTS In fig. la is depicted a speech communication system using a VAD. At the speech decoder side is situated a VAD 120, which senses the incoming speech. The VAD controls through a switch the incoming speech to the Active Voice Encoder 110, when the incoming signal is speech, and to the Non-Active Voice Encoder 10Q, when the incoming signal is background noise. The output from the Non-Active Voice Encoder 100 is a Non active Voice Bit

Stream and the output from the Active Voice Encoder 110 is an Active Voice Bit Stream. Said Bitstreams are gated to a Communication Channel 130 according to the VAD decision. The output from the Communication Channel 130 is gated to the Non-Active Voice Decoder 140 or to the Active Voice Decoder 150, respectively, according to the VAD decision. The arrangement implementing the method according to the invention is situated in or at the Non-Active Voice Encoder 100. The method according to the embodiment of fig. 2 is thus performed in block 103.

The invention relies on the fact that we know well when generation of the comfort noise will sound too bright. This is when the long term correlation is high, which is the fact for e. g engine noise. Thus we can utilize this knowledge and tilt the spectrum of the signal prior to the encoding procedure, as illustrated by the block diagram of fig. 2. In this way the low frequency components are increased.

In block 210, fig. 2, an open loop LTP-analysis the long term correlation representing the amount of low frequency harmonic components of the input signal or any other means for determining the long term correlation, is made on the input signal. The LTP-analysis is well known to anyone familiar with the topic of speech coding. LTP means Long Term Predictor and is a model of the vocal cords. LTP-analysis is performed in a CELP-coder, which is a kind of coder. CELP means Codebook Excited Linear Predictive and constitutes the generic term for e. g. the recommendations G. 729 and GSMEFR. Said coders are more fully disclosed below. Said recommendations disclose the function of an open loop LTP. The maximum long term correlation C is also calculated in block 210. In block 220, the maximum long term correlation C is used for computation of a coefficient a'. (The parameter C can e. g. be squared just to ensure that a'is close to zero when the maximum long term correlation C is low). a'is a non-smoothed tilt factor. In

block 230, the a'coefficient is smoothed in order to alleviate the risk of a too fast changing tilt factor and thus a smoothed tilt factor is produced. In block 230 a gain factor G is calculated. The parameters a and G are generally computed from a function {a, G} =F (C) or even {a, G} =F (C2), the squaring of the maximum long term correlation C ensuring that a'will be close to zero for a low long term correlation. F (C) is an arbitrary function of C which returns the values of a and G. In block 240, the signal is tilted such that low frequencies are amplified when the background contains harmonic noise, i. e. where C is high. The signal is in block 250 scaled with the calculated gain G to ensure that the perceived level remains constant despite the tilt operation. The method according to fig. 2 is, as already been mentioned, performed in block 103, see fig. la.

An example formula of the function used in the blocks 220 and 230 in fig. 2 is e. g: a'--min (1. 7 C'2, 0. 9) (1) a = 0.8 a + 0.2 a' (2) G = 1 + 0.7 a (3) where the start value for a is selected in a suitable way, such as a = 0.

A second example formula is a'-min (1. 0, max (O, (4) a = 0.8 a + 0.2 a' (5) G = 1 + 0.7 a (6) where the start value for a is selected in a suitable way, such as a = 0.

When using the second formula the a'value will ramp from zero up to-0.7 as C increases from 0.3 to 0.5, for values of C below 0.3 the a'value is zero and for values of C above 0.5 the a'value is-0.7.

A decoder for speech or voice frames based on the Code-Excited Linear-Prediction (CELP) coding model is shown in fig. lb. The corresponding coder operates on speech frames of 10 ms corresponding to 80 samples at a sampling rate of 8000 samples per second. For every 10ms frame, at the sending side, the speech signal is analysed to extract the parameters of the CELP model (linear-prediction filter coefficients, adaptive and fixed-codebook indices and gains). These parameters are encoded and transmitted. At the decoder, the coder parameters are used to retrieve the excitation and synthesis filter parameters, in block 1. The speech is reconstructed by filtering this excitation throught the short-term synthesis filter 3. The short-term synthesis filter 3 is based on a 10th order Linear Prediction (LP) filter. The long-term, or pitch synthesis filter 2 is implemented using the so-called adaptive-codebook approach. After computing the reconstructed speech, it is further enhanced by a postfilter 4. The corresponding decoder for background noise is simular to the coder depicted in fig. lb, but deprived of blocks 2 and 4.

Although the above solution works well, it is not very handy to use in a DSP implementation (DSP: Digital Signal Processor).

The reasons are among others: 1) Additional open loop LTP analysis has to be done besides the LTP analysis that is already done in the speech coder. This costs a lot both in terms of memory and computational complexity.

2) Both the original speech signal and the tilted speech signal occupy memory as the original speech signal is required for normal speech operation and the tilted

speech signal is required for the computation of comfort noise parameters.

An encoder according to the preferred solution is shown in fig.

5a, and a decoder according to the preferred solution is shown in fig. 5b. The preferred solution is to make use of the existing STP (Short Term Predictor) parameters and the maximum long term correlation of the open loop LTP. In CELP coders an open loop LTP search is often done as a processing step before the closed loop LTP search. In this case the calculation of the open loop LTP maximum long term correlation is already performed in the speech coder, as in most standards for CELP- coding. First, at the encoder side, in block 505, an analysis common for both active and non-active mode is performed. In block 520, the VAD senses whether the incoming signal is background noise or speech. If the incoming signal is background noise the signal is transmitted to block 515, where an analysis for the non-active mode encoder is performed, and thereafter the signal is transmitted to the communication channel. If the incoming signal is speech, the signal is transmitted to block 525, where an analysis for the active mode encoder is performed, and thereafter the signal is transmitted to the communication channel. At the decoder side, the signal is transmitted to the non-active voice decoder 540, if the signal is background noise, or to the active voice decoder, if the signal is speech 555. The output signal from the decoder is reconstructed speech and background noise.

The formulation of the tilt filter in the z-domain corresponding to blocks 240 and 250, is The existing STP coefficients from the encoder of speech are the coefficients of a synthesis filter in the decoder of the form and are derived in the common analysis block 505 of fig. 5a.

The synthesis is performed in the decoder from the parameters which are received, e. g. the parameters (bl... bN). The coefficients bu-bon are normally quantized and are then transmitted to the receiver. In this disclosure the term"to quantize"means"to coarse". The order N is normally 10. Such a synthesis can also be done for the coefficient a, which will then require about 3 bits.

One may also, instead of quantizing the a coefficient, compute a new set of coefficients b'l-b'N. This is possible if one observes that the tilt filter T (z) and the synthesis filter H (z) will actually be in cascade in the decoder, se fig. 3, b.

Thus one can convolve the filter coefficients of the filters 1+az-' (9) and The convolution operation is assumed to be well known to anyone familiar with the subject of signal processing. Equation (9) is the same as l/T (z), apart from the term G. Equation 10 equals 1/H (z). The goal is to unite, when there are two cascaded filters according to fig. 3a, said filters using a convolution

operation on the filter coefficients in order to produce a filter according to fig. 3b. The filter in fig. 3b will be of an higher order, i. e. with more coefficients than H (z). The resulting filter has N+1 coefficients and is of the form and could thus be incorporated in block 515 for non-active mode in fig. 5a.

In order to alleviate the quantisation of the coefficients with existing quantisation tables, which are built on a fixed number of N coefficients, the number of coefficients in equation (11) must be reduced, to give a reduced filter H' (z), see fig. 3c, with the order N, where The procedure of reducing the filter order is well known to anyone familiar with the subject of signal processing and speech coding and is performed in block 515 of fig. 5. The resulting coefficients of the cascaded filter of order N (bl'... bN') are then quantized together with an energy parameter and transmitted. The ordinary amount of parameters has thus been maintained for the tilt filter. The G value does not have to be quantized either, as the frame energy is taken care of by the dedicated energy parameter. At the receiver, the energy parameter decides the level of a noise signal, which is obtained from the filter H' (z), the coefficients of which are bl'... bN'. The output signal is then fed to a loudspeaker.

The invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the following claims.