CA2176665C - Method of adapting the noise masking level in an analysis-by-synthesis speech coder employing a short-term perceptual weighting filter - Google Patents

Method of adapting the noise masking level in an analysis-by-synthesis speech coder employing a short-term perceptual weighting filter Download PDF

Info

Publication number
CA2176665C
CA2176665C CA002176665A CA2176665A CA2176665C CA 2176665 C CA2176665 C CA 2176665C CA 002176665 A CA002176665 A CA 002176665A CA 2176665 A CA2176665 A CA 2176665A CA 2176665 C CA2176665 C CA 2176665C
Authority
CA
Canada
Prior art keywords
gamma
parameters
short
signal
filter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CA002176665A
Other languages
French (fr)
Other versions
CA2176665A1 (en
Inventor
Stephane Proust
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Orange SA
Original Assignee
France Telecom SA
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by France Telecom SA filed Critical France Telecom SA
Publication of CA2176665A1 publication Critical patent/CA2176665A1/en
Application granted granted Critical
Publication of CA2176665C publication Critical patent/CA2176665C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/08Determination or coding of the excitation function; Determination or coding of the long-term prediction parameters
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/06Determination or coding of the spectral characteristics, e.g. of the short-term prediction coefficients

Abstract

In an analysis-by-synthesis speech coder employing a short-term perceptual weighting filter with transfer function W(z)=A(z/.gamma.1)/A(z/.gamma.2), the values of the spectral expansion coefficients .gamma.1 and .gamma.2 are adapted dynamically on the basis of spectral parameters obtained during short-term linear prediction analysis. The spectral parameters serving in this adaptation may in particular comprise parameters representative of the overall slope of the spectrum of the speech signal, and parameters representative of the resonant character of the short-term synthesis filter.

Description

k i MSTHOD OF ADAPTING THE NOISE MASKING LEVEL IN AN
ANALySIS-By-SYNTHESIS SPEECH CODER EMPLOYING A
SHORT-TERM PERCEPTUAL YiEIGHTING FILTER
The present invention relates to the coding of speech using techniques of analysis by synthesis.
An analysis-by-synthesis speech coding method ordinarily comprises the following steps:
- linear prediction analysis of order p of a speech signal digitized as successive frames in order to determine parameters defining a short-term synthesis filter;
- determination of excitation parameters defining an excitation signal to be applied to the short-term synthesis filter in order to produce a synthetic signal representative of the speech signal, some at least of the excitation parameters being determined by minimizing the energy of an error signal resulting from the filtering of the difference between the speech signal and the synthetic signal by at least one perceptual weighting filter; and - production of quantization values of the parameters defining the short-term synthesis filter and of the excitation parameters.
The parameters of the short-term synthesis filter which are obtained by linear prediction are representative of the transfer function of the vocal tract and characteristic of the spectrum of the input signal.

a There are various ways of modelling the excitation signal to be applied to the short-term synthesis filter which make it possible to distinguish between various classes of analysis-by-synthesis coders. In most current coders, the excitation signal includes a long-term component synthesized by a long-term synthesis filter or by the adaptive codebook technique, which makes it possible to exploit the long-term periodicity of the voiced sounds, such as the vowels, which is due to the vibration of the vocal chords. In CELP coders ("Code Excited Linear Prediction", see M.R. Schroeder and B.S. Atal: "Code-Excited Linear Prediction (CELP): High Quality Speech at Very Low Bit Rates", Proc. ICASSP'85, Tampa, March 1985, pages 937-940), the residual excitation is modelled by a waveform extracted from a stochastic codebook and multiplied by a gain. CELP
coders have made it possible, in the usual telephone band, to reduce the digital bit rate required from 64 kbits/s (conventional PCM coders) to 16 kbits/s (LD-CELP coders) and even down to 8 kbits/s for the most recent coders, without a0 impairing the quality of the speech. These coders are nowadays commonly used in telephone transmissions, but they offer numerous other applications such as storage, wideband telephony or satellite transmissions. Other examples of analysis-by-synthesis coders to which the invention may be a5 applied are in particular MP-LPC coders (Multi-Pulse Linear Predictive Coding, see B.S. Atal and J.R. Remde: "A New Model of LPC Excitation for Producing Natural-Sounding 217b~o5 Speech at Low Bit Rates", Proc. ICASSP'82, Paris, May 1982, Vol. 1, pages 614-617), where the residual excitation is modelled by variable-position pulses with respective gains assigned thereto, and VSELP coders (Vector-Sum Excited Linear Prediction, see I.A. Gerson and M.A. Jasiuk, "Vector Sum Excited Linear Prediction (VSELP) Speech Coding at 8 kbits/s", Proc. ICASSP'90 Albuquerque, April 1990, Vol. 1, pages 461-464), where the excitation is modelled by a linear combination of pulse vectors extracted from respective codebooks.
The coder evaluates the residual excitation in a "closed-loop" process of minimizing the perceptually weighted error between the synthetic signal and the original speech signal. It is known that perceptual weighting substantially improves the subjective perception of synthesized speech, with respect to direct minimization of -the mean square error. Short-term perceptual weighting consists in reducing the importance, within the minimized error criterion, of the regions of the speech spectrum in which the signal level is relatively high. In other words, the noise perceived by the hearer is reduced if its spectrum, a priori flat, is shaped in such a way as to accept more noise within the formant regions than within the inter-formant regions. To achieve this, the short-term perceptual weighting filter frequently has a transfer _ function of the form ~1~~G~~

it~(z)=A (z) /A(z/y) where P
A(z)=1-~8jz-i t=1 the coefficients ai being the linear prediction coefficients obtained in the linear prediction analysis step, and y denotes a spectral expansion coefficient lying between 0 and 1. This form of weighting has been proposed by B.S. Atal and M.R. Schroeder: "Predictive Coding of Speech Signals and Subjective Error Criteria", IEEE Trans. on Acoustics, Speech, and Signal Processing, Vol. ASSP-27, No. 3, June 1979, pages 247-254. For y=1, there is no masking:
minimization of the square error is carried out on the synthesis signal. If y=0, masking is total: minimization is carried out on the residual and the coding noise has the same spectral envelope as the speech signal.
A generalization consists in choosing for the perceptual weighting filter a transfer function W(z) of the form W (z) =A (z/yI ) lA(a/ya) yl and y2 denoting spectral expansion coefficients such that Osy2sy1s1. See J.H. Chen and A. Gersho: "Real-Time Vector APC Speech Coding at 4800 Bps with Adaptive Postfiltering", Proc. ICASSP'87, April 1987, pages 2185-2188. It should be noted that masking is absent when yl=y2 and total when yl=1 2i76~~5 and y2=0. The spectral expansion coefficients yl and y2 determine the desired level of noise masking. Masking which is too weak makes constant granular quantization noise perceptible. Masking which is too strong affects the shape 5 of the formants, the distortion then becoming highly audible.
In the most powerful current coders, the parameters of the long-term predictor, comprising the LTP delay and possibly a phase (fractional delay) or a set of coefficients (multi-tap LTP filter), are also determined for each frame or sub-frame, by a closed-loop procedure involving the perceptual weighting filter.
In certain coders, the perceptual weighting filter w(z), which exploits the short-term modelling of the speech signal and provides for the formant distribution of the noise, is supplemented with a harmonic weighting filter which increases the energy of the noise in the peaks corresponding to the harmonics and diminishes it between these peaks, and/or with a slope correction filter intended to prevent the appearance of unmasked noise at high frequency, especially in wideband applications. The present invention is mainly concerned with the short-term perceptual weighting filter W(z).
The choice of the spectral expansion parameters y, or yl and y2, of the short-term perceptual filter is ordinarily optimized with the aid of subjective tests. This choice is subsequently frozen. However, the applicant has s observed that, according to the spectral characteristics of the input signal, the optimal values of the spectral expansion parameters may undergo a sizeable variation. The choice made therefore constitutes a more or less satisfactory compromise.
A purpose of the present invention is to increase the subjective quality of the coded signal by better characterization of the perceptual weighting filter. Another purpose is to make the performance of the coder more uniform for various types of input signals. Another purpose is for -this improvement not to require significant further complexity.
The present invention thus relates to an analysis-by-synthesis speech coding method of the type indicated at the start, in which the perceptual weighting filter has a transfer function of the general form W(z)=A(z/YZ)/A(z/y2) as indicated earlier, and in which the value of at least one of the spectral expansion coefficients yl, y2 is adapted on the basis of the spectral parameters obtained in the linear prediction analysis step.
Making the coefficients yl and y2 of the perceptual weighting filter adaptive makes it possible to optimize the coding noise masking level for various spectral characteristics of the input signal, which may have sizeable variations depending on the characteristics of the sound pick-up, the various characteristics of the voices or the presence of strong background noise (for example car noise
2~7~~65 in mobile radiotelephony). The perceived subjective quality is increased and the performance of the coder is made more uniform for various types of input.
Preferably, the spectral parameters on the basis of which the value of at least one of the spectral expansion coefficients is adapted comprise at least one parameter representative of the overall slope of the spectrum of the speech signal. A speech spectrum has on average more energy in the low frequencies (around the frequency of the fundamental which ranges from 60 Hz for a deep adult male voice to 500 Hz for a child's voice) and hence a generally downward slope. However, a deep adult male voice will have much more attenuated high frequencies and therefore a spectrum of bigger slope. The prefiltering applied by the sound pick-up system has a big influence on this slope.
Conventional telephone handsets carry out high-pass prefiltering, termed IRS, which considerably attenuates this slope effect. However, a "linear" input made in certain more recent equipment by contrast preserves all of the importance a0 of the low frequencies. Weak masking (a small gap between Y1 and y2) attenuates the slope of the perceptual filter too much as compared with that of the signal. The noise level at high frequency remains large and becomes greater than the signal itself if the latter has little energy at these frequencies. The ear perceives a high-frequency unmasked noise, which is all the more annoying since it often _ possesses a harmonic character. A simple correction of the . , ~17:6~.~~
slope of the filter is not adequate to model this energy difference adequately. Adaptation of the spectral expansion coefficients which takes into account the overall slope of the speech spectrum enables this problem to be handled better.
Preferably, the spectral parameters on the basis of which the value of at least one of the spectral expansion coefficients is adapted furthermore comprise at least one parameter representative of the resonant character of the short-term synthesis filter (LPC). A speech signal possesses up to four or five formants in the telephone band. These "humps" characterizing the outline of the spectrum are generally relatively rounded. However, LPC analysis may lead to filters which are close to instability. The spectrum corresponding to the LPC filter then includes relatively pronounced peaks which have large energy over a small bandwidth. The greater the masking, the closer the spectrum of the noise approaches the LPC spectrum. However, the presence of an energy peak in the noise distribution is very troublesome. This produces a distortion at formant level within a sizeable energy region in which the impairment becomes highly perceptible. The invention then makes it possible to reduce the level of masking as the resonant character of the LPC filter increases.
When the short-term synthesis filter is represented by line spectrum parameters or frequencies (LSP or LSF), the parameter representative of the resonant character of the ~~ ~~~~3~

short-term synthesis filter, on the basis of which the value of y1 and/or y2 is adapted, may be the smallest of the distances between two consecutive line spectrum frequencies.
Other features and advantages of the present invention will emerge in the description below of preferred but non-limiting example embodiments with reference to the attached drawings in which:
- Figures 1 and 2 are schematical layouts of a CELP
decoder and of a CELP coder capable of implementing the _ invention;
- Figure 3 is a flowchart of a procedure for evaluating the perceptual weighting; and - Figure 4 shows a graph of the function log[(1-r)/(1+r)].
The invention is described below in its application to a CELP type speech coder. It will however be understood that it is also applicable to other types of analysis-by-synthesis coders (MP-LPC, VSELP ...).
The speech synthesis process implemented in a CELP
coder and a CELP decoder is illustrated in Figure 1. An excitation generator 10 delivers an excitation code ck belonging to a predetermined codebook in response to an index k. An amplifier 12 multiplies this excitation code by an excitation gain p, and the resulting signal is subjected to a long-term synthesis filter 14. The output signal a from the filter 14 is in turn subjected to a short-term synthesis n filter 16, the output s from which constitutes what is here -21766b5 regarded as the synthesized speech signal. Of course, other filters may also be implemented at decoder level, for example post-filters, as is well known in the field of speech coding.
5 The aforesaid signals are digital signals repre-sented for example by 16-bit words at a sampling rate Fe equal for example to 8 kHz. The synthesis filters 14, 16 are in general purely recursive filters. The long-term synthesis filter 14 typically has a transfer function of the form 10 1/B(z) with B(z)=1-Gz-T. The delay T and the gain G
constitute long-term prediction (LTP) parameters which are determined adaptively by the coder. The LPC parameters of the short-term synthesis filter 16 are determined at the coder by linear prediction of the speech signal. The transfer function of the filter 16 is thus of the form 1/A(z) with P
A(s) =1 ~ ais-i in the case of linear prediction of order p (typically p=10), ai representing the ith linear prediction coefficient.
Here, "excitation signal" designates the signal u(n) applied to the short-term synthesis filter 14. This excitation signal includes an LTP component G.u(n-T) and a residual component, or innovation sequence, (iCk(n). In an analysis-by-synthesis coder, the parameters characterizing . , a the residual component and, optionally, the LTP component are evaluated in closed loop, using a perceptual weighting filter.
Figure 2 shows the layout of a CELP coder. The speech signal s(n) is a digital signal, for example provided by an analogue/digital converter 20 which processes the amplified and filtered output signal of a microphone 22. The signal s(n) is digitized as successive frames of A samples which are themselves divided into sub-frames, or excitation frames, of L samples {for example A=240, L=40).
The LPC, LTP and EXC parameters (index k and excitation gain ~) are obtained at coder level by three respective analysis modules 24, 26, 28. These parameters are next quantized in a known manner with a view to effective digital transmission, then subjected to a multiplexer 30 which forms the output signal from the coder. These parameters are also supplied to a module 32 for calculating initial states of certain filters of the cader. This module 32 essentially comprises a decoding chain such as that represented in Figure 1. Like the decoder, the module 32 operates on the basis of the quantized LPC, LTP and EXC
parameters. If an inter-polation of the LPC parameters is performed at the decoder, as is commonly done, the same interpolation is performed by the module 32. The module 32 affords a knowledge, at coder level, of the earlier states of the synthesis filters 14, 16 of the decoder, which are determined on the basis of the synthesis and excitation ~~~~~~J~
la parameters prior to the sub-frame under consideration.
In a first step of the coding process, the short-term analysis module 24 determines the LPC parameters (coefficients ai of the short-term synthesis filter) by analysing the short-term correlations of the speech signal s(n). This determination is performed for example once per frame of A samples, in such a way as to adapt to the changes in the spectral content of the speech signal. LPC analysis methods are well known in the art. Reference may for example be made to the work "Digital Processing of Speech Signals~
by L.R. Rabiner and R.W. Shafer, Prentice-Hall Int., 1978.
This work describes, in particular, Durbin's algorithm, which includes the following steps:
- evaluation of p autocorrelations R(i) (Osi<p) of the speech signal s(n) over an analysis window embracing the current frame and possibly earlier samples if the length of the frame is small (for example 20 to 30 ms):

R(i) _ ~ a*(a) . s*(n-i) 2 0 n=i with MZA and s* (n)=s(n).f(n), f(n) denoting a window function of length M, for example a rectangular function or a Hamming function;
- recursive evaluation of the coefficients ai:
E(0) = R(0) For i going from 1 to p, do 21~.~~~

i 1 (i-1) ri= ~R(i) - ~ a f .R(i-f)~/E(i-1) f=1 ai (1) ° ri E(i) a (I-ria).E(i-1) For j going from 1 to i-1, do af(i)~ af(i-1) _ ri,ai-f(i-1) The coefficients ai are taken equal to the ai(p) obtained in the latest iteration. The quantity E(p) is the _ energy of the residual prediction error. The coefficients ri, lying between -1 and 1, are termed the reflection coefficients. They are often represented by the log-area-ratios LARi=LAR(ri), the function LAR being defined by LAR(r)= 1og10[(1-r)/(1+r)].
The quantization of the LPC parameters can be performed over the coefficients ai directly, over the reflection coefficients ri or over the log-area-ratios LARi.
Another possibility is to quantize line spectrum parameters (LSP standing for "line spectrum pairs", or LSF standing for "line spectrum frequencies"). The p line spectrum frequen-cies ~ui(lsisp), normalized between 0 and a, are such that the complex numbers 1, exp(jw2), exp(Jt~4),..., exp(jWp), are r , ~ 211665 the roots of the polynomial P(z)=A(z)-z-(p+1)A(z-1) and that the complex numbers exp(jwl), exp(jw3),..., exp(jwp-1), and _ -1 are the roots of the polynomial Q(z)=A(z)+z-(p+1)A(z-1).
The quantization may be performed on the normalized frequencies wi or on their cosines.
The module 24 can perform the LPC analysis according to Durbin's classical algorithm, alluded to above in order to define the quantities ri, LARi and wi which are useful in implementing the invention. Other algorithms providing the same results, developed more recently, may be used advantageously, especially Levinson's split algorithm (see "A new Efficient Algorithm to Compute the LSP Parameters for Speech Coding", by S. Saoudi, J.M. Boucher and A. Le Guyader, Signal Processing, Vol. 28, 1992, pages 201-212), or the use of Chebyshev polynomials (see "The Computation of Line Spectrum Frequencies Using Chebyshev Polynomials", by P. Kabal and R.P. Ramachandran, IEEE Trans.
on Acoustics, Speech, and Signal Processing, Vol. ASSP-34, No. 6, pages 1419-1426, December 1986).
The next step of the coding consists in determining the long-term prediction LTP parameters. These are for example determined once per sub-frame of L samples. A
subtracter 34 subtracts the response of the short-term synthesis filter 16 to a null input signal from the speech signal s(n). This response is determined by a filter 36 with transfer function 1/A(z), the coefficients of which are given by the LPC parameters which were determined by the ~17~~~~
1s module 24, and the initial states s of which are provided by the module 32 in such a way as to correspond to the last p samples of the synthetic signal. The output sional from r_he subtracter 34 is subjected to a perceptual weighting filter 38 whose role is to emphasise the portions of the spectrum in which the errors are most perceptible, i.e. the inter-formant regions.
The transfer function W(z) of the perceptual weighting filter is of the general form:
W(z)=A(z/yl)/A(z/y2), yl and y2 being two spectral expansion coefficients such that Osy2sylsl. The invention proposes to dynamically adapt the values of yl and y2 on the basis of spectral parameters determined by the LPC analysis module 24. This adaptation is carried out by a module 39 for evaluating the perceptual weighting, according to a process described further on.
The perceptual weighting filter may be viewed as the succession in series of an all-pole filter of order p, with transfer function:
ao 1~A~$~ra~ = l d ~ bi$ i ~l~=0 with b0=1 and bi=-aiy21 for 0<isp and of an all-zero filter of order p, with transfer function A~$~yl~ _ ~ ci$-i '~,~ '7 ~, ~ ~ S

with c0=1 and ci=-aiyll for 0<isp. The module 39 thus calculates the coefficients bi and ci for each frame and supplies them to the filter 38.
The closed-loop LTP analysis performed by the module 26 consists, in a conventional manner, in selecting for each sub-frame the delay T which maximizes the normalized correlation:
x~(a) 'yT(n) ~al ~ ~ (3'T(a) ) al a=0 a=0 where x' (n) denotes the output signal from the filter 38 during the relevant sub-frame, and yT(n) denotes the convolution product u(n-T)*h'(n). In the above expression, h'(0), h'(1),...,h'(L-1) denotes the impulse response of the _..
weighted synthesis filter, with transfer function W(z)/A(z).
This impulse response h' is obtained by a module 40 for calculating impulse responses, on the basis of the coefficients bi and ci supplied by the module 39 and the LPC
parameters which were determined for the sub-frame, if need be after quantization and interpolation. The samples u(n-T) are the earlier states of the long-term synthesis filter 14, as provided by the module 32. In respect of the delays T
which are less than the length of a sub-frame, the missing samples u(n-T) are obtained by interpolation on the basis of the earlier samples, or from the speech signal. The delays T, integer or fractional, are selected from a specified ~17~~c~~
m window, ranging for example from 20 to 143 samples. To reduce the closed-loop search range, and hence to reduce the number of convolutions yT(n) to be calculated, it is possible firstly to determine an open-loop delay T' for example once per frame, and then to select the closed-loop delays for each sub-frame in a reduced interval around T'.
The open-loop search consists more simply in determining the delay T' which maximizes the autocorrelation of the speech signal s(n), possibly filtered by the inverse filter with transfer function A(z). Once the delay T has been determined, the long-term prediction gain G is obtained through:
a ~ ~'~~(n) .y~~(a)~ l ~ ~ IYT(a) 1 al a=0 a-_0 In order to search for the CELP excitation relating to a sub-frame, the signal GyT(n), which was calculated by the module 26 in respect of the optimal delay T, is firstly subtracted from the signal x'(n) by the subtracter 42. The resulting signal x(n) is subjected to a backward filter 44 which provides a signal D(n) given by:

D(a) _~ x(i) .h(i-a) i=n where h(0), h(1),...,h(L-1) denotes the impulse response of the compound filter made up of the synthesis 2?76665 .~

filters and of the perceptual weighting filter, this response being calculated by the module 40. In other words, the compound filter has transfer function W(z)/[A(z).B(z)).
In matrix notation, we therefore have:
D = (D(0), D(1),..., D(L-1)) = x.H
with x = (x(0), x(1),..., x(L-1)) h(0) 0 . . . 0 h(1) 8(0) aad g = . . .
b. (L-a) . ~(o) o (L-1) h(Z-a) . . h(1) h(0) The vector D constitutes a target vector for the excitation search module 28. This module 28 determines a codeword from the codebook which maximizes the normalized correlation Pk2/ak2 in which:
Pk = D.ckT
ak2 = ck.HT.H.ckT = ck.U.ckT
The optimal index k having been determined, the excitation gain ~ is taken equal to (i = pk/ak2.
With reference to Figure 1, the CELP decoder comprises a demultiplexer 8 receiving the binary stream output by the coder. The quantized values of the EXC
excitation parameters and of the LTP and LPC synthesis ,, . 2176~~5 parameters are supplied to the generator 10, to the amplifier 12 and to the filters 14, 16 in order to reconstruct the synthetic signal s, which may for example be converted into analogue by the converter 18 before being amplified and then applied to a loudspeaker 19 in order to restore the original speech.
The spectral parameters on the basis of which the coefficients y1 and y2 are adapted comprise on the one hand the first two reflection coefficients r1=R(1)/R(0) and r2=[R(2)-r1R(1)]/((1-r12)R(0)], which are representative of the overall slope of the speech spectrum, and on the other hand the line spectrum frequencies, whose distribution is representative of the resonant character of the short-term synthesis filter. The resonant character of the short-term synthesis filter increases as the smallest distance drain between two line spectrum frequencies decreases. The frequencies wi being obtained in ascending order (0<w1«2<...«up<n), we have:
drain = min (~i+1-~i) lsi<p By stopping at the first iteration of Durbin's algorithm alluded to above, a rough approximation of the speech spectrum is produced through a transfer function 1/(1-rl.z-1). The overall slope (usually negative) of the synthesis filter therefore tends to increase in absolute value as the first reflection coefficient r1 approaches 1.

' 2176665 ao If the analysis is continued to order 2 by adding an iteration, a less rough modelling is achieved, with a filter -of order 2 with transfer function 1/[1-(rl-rlr2).z-1-r2.z-2)J. The low-frequency resonant character of this filter of order 2 increases as its poles approach the unit circle, i.e. as rl tends to 1 and r2 tends to -1. It may therefore be concluded that the speech spectrum has relatively large energy in the low frequencies (or alternatively a relatively big negative overall slope) as rl approaches 1 and r2 approaches -1.
It is known that a formant peak in the speech spectrum leads to the bunching together of several line spectrum frequencies (2 or 3), whereas a flat part of the spectrum corresponds to a uniform distribution of these frequencies.'The resonant character of the LPC filter therefore increases as the distance drain decreases.
In general, greater masking is adopted (a larger gap between yl and y2) as the low-pass character of the synthesis filter increases (rl approaches 1 and r2 a0 approaches -1), and/or as the resonant character of the synthesis filter decreases (drain increases).
Figure 3 shows an examplary flowchart for the operation perfornled at each frame by the module 39 for evaluating the perceptual weighting.
a5 At each frame, the module 39 receives the LPC
parameters ai, ri (or LARi) and wi (lsispj from the module 24. In step 50, the module 39 evaluates the minimum distance dmin between two consecutive line spectrum frequencies by minimizing ~i+1-Wi for 1si<p.
On the basis of the parameters representative of the overall slope of the spectrum over the frame (rl and r2), the module 39 performs a classification of the frame among N classes PQ,P1,....PN-1' In the example of Figure 3, N=2.
Class P1 corresponds to the case in which the speech signal s(n) is relatively energetic at the low frequencies (rl relatively close to 1 and r2 relatively close to -1). Hence, greater masking will generally be adopted in class P1 than in class P0.
To avoid excessively frequent transitions between classes, some hysteresis is introduced on the basis of the values of rl and r2. Provision may thus be made for class P1 to be selected from each frame for which rl is greater than a positive threshold T1 and r2 is less than a negative threshold -T2, and for class P~ to be selected from each frame for which r1 is less than another positive threshold Tl' (with Tl'<Tl) or r2 is greater than another negative threshold -T2' (with T2'<T2). Given the sensitivity of the reflection coefficients around t 1, this hysteresis is easier to visualize in the domain of log-area-ratios LAR
(see Figure 4) in which the thresholds Tl, Tl', -T2, _T2~
correspond to respective thresholds -Sl, -Sl', S2, S2'.
On initialization, the default class is for example that for which masking is least (PD), In step 52, the module 39 examines whether the .. .
2a preceding frame came under class PO or under class Pl. If the preceding frame was class P0, the module 39 tests, at 54, the condition {LAR1<-S1 and LAR2>S2} or, if the module 24 supplies the reflection coefficients r1, r2 instead of the log-area-ratios LARl, LAR2, the equivalent condition {rl>T1 and r2<-T2}. If LARl<-S1 and LAR2>S2, a transition is performed into class Pl (step 56). If the test 54 shows that LARlz-S1 or LAR2sS2, the current frame remains in class PO
(step 58).
If step 52 shows that the preceding frame was class P1, the module 39 tests, at 60, the condition {LARl>-S1' or LAR2<S2'} or, if the module 24 supplies the reflection coefficients rl, r2 instead of the log-area-ratios LARl, LAR2, the equivalent condition {r1<Tl' or r2>-T2'}. If LAR1>-S1' or LAR2<S2', a transition is performed into class PO (step 58). If the test 60 shows that LARls-S1' and LAR22S2', the current frame remains in class P1 (step 56).
In the example illustrated by Figure 3, the larger y1 of the two spectral expansion coefficients has a constant value r0, r1 in each class P0, P1, with rOsrl, and the other _ spectral expansion coefficient y2 is a decreasing affine function of the minimum distance drain between the line spectrum frequencies: y2=-.l0.dmin +u0 in class PO and y2=-'~l~dmin +u1 in class P1, with .l0zt1x0 and u1xu020. The values of y2 can also be bounded so as to avoid excessively abrupt variations: ~min,Osy2s~max,0 in class PO and ~min,lSy2s~max,1 in class P1. Depending on the class picked .~ .".
a3 out for the current frame, the module 39 assigns the values of yl and y2 in step 56 or 58, and then calculates the coefficients bi and ci of the perpetual weighting factor in step 62.
As mentioned previously, the frames of A samples over which the module 24 calculates the LPC parameters are often subdivided into sub-frames of L samples for determination of the excitation signal. In general, an interpolation of the LPC parameters is performed at sub-frame level. In this case, it is advisable to implement the process of Figure 3 for each sub-frame, or excitation frame, with the aid of the interpolated LPC parameters.
The applicant has tested the process for adapting the coefficients yl and y2 in the case of an algebraic codebook CELP coder operating at 8 kbits/s, and for which the LPC
parameters are calculated at each 10 ms frame (A=80). The frames are each divided into two 5 ms sub-frames (L=40) for the search for the excitation signal. The LPC filter obtained for a frame is applied for the second of these sub-a0 frames. For the first sub-frame, an interpolation is performed in the LSF domain between this filter and that obtained for the preceding frame. The procedure for adapting the masking level is applied at the rate of the sub-frames, with an interpolation of the LSF wi and of the reflection a5 coefficients rl, r2 for the first sub-frames. The procedure illustrated by Figure 3 has been used with the numerical values: S1=1.74; S'1=1.52; S2=0.65; S2'=0.43; r0=0.94; ~,0=0;

u0=0.6; rl=0.98; .11=6; ul=1; ~min,l=0.4; ~max,l=0.7, the frequencies wi being normalized between 0 and a.
This adaptation procedure, with negligible extra complexity and no great structural modification of the coder, has made it possible to observe a significant improvement in the subjective quality of coded speech.
The applicant has also obtained favourable results with the processes of Figure 3 applied to a (low delay) LD-CELP coder with variable bit rate of between 8 and 16 kbits/s. The slope classes were the same as in the preceding case, with I'0=0.98; .10=4; u0=1; ~min,0=0~6%
4max,p=0.8; rl=0.98; X11=6; ul=1; 4min,1=0.2; Omax,l=0.7.

Claims (7)

1. Analysis-by-synthesis speech coding method, comprising the following steps:
- linear prediction analysis of order p of a speech signal (s(n)) digitized as successive frames in order to determine parameters (LPC) defining a short-term synthesis filter (16);
- determination of excitation parameters defining an excitation signal to be applied to the short-term synthesis filter (16) in order to produce a synthetic signal representative of the speech signal, at least some of the excitation parameters being determined by minimizing an energy of an error signal resulting from a filtering of a difference between the speech signal and the synthetic signal by at least one perceptual weighting filter whose transfer function is of a form W(z)=A(z/.gamma.1)/A(z/.gamma.2) where coefficients a i are linear prediction coefficients obtained in the linear prediction analysis step, and .gamma.1 and .gamma.2 denoting spectral expansion coefficients such that 0<=.gamma.2<=.gamma.1<=1; and - production of quantization values of the parameters defining the short-term synthesis filter and of the excitation parameters, characterized in that a value of at least one of the spectral expansion coefficients is adapted on a basis of spectral parameters obtained in the linear prediction analysis step.
2. The method according to Claim 1, characterized in that the spectral parameters on the basis of which the value of at least one of the spectral expansion coefficients is adapted comprise at least one parameter (r1,r2) representative of an overall slope of a spectrum of the speech signal and at least one parameter (d min) representative of a resonant character of the short-term synthesis filter (16).
3. The method according to Claim 2, characterized in that the at least one parameter representative of the overall slope of the spectrum comprises first and second reflection coefficients (r1,r2) determined during the linear prediction analysis step.
4. The method according to any one of Claims 2 and 3, characterized in that the at least one parameter representative of the resonant character is a smallest (d min) of distances between two consecutive line spectrum frequencies.
5. The method according to any one of Claims 2 to 4, characterized in that a classification of frames of the speech signal among several classes (P0,P1) is performed on the basis of one of the parameter and of the parameters (r1,r2) representative of the overall slope of the spectrum, and in that, for each class, values of the two spectral expansion coefficients are adopted such that a difference .gamma.1-.gamma.2 thereof decreases as the resonant character of the short-term synthesis filter (16) increases.
6. The method according to any one of claims 3 and 5, characterized in that two classes selected on the basis of the values of the first reflection coefficient r1=R(1)/R(0) and of the second reflection coefficient r2=[R(2)-r1.R(1)]/[(1-r1 2).R(0)] are provided, R(j) denoting an auto-correlation of the speech signal for a delay of j samples, in that a first class (P1) is selected from each frame for which the first reflection coefficient (r1) is greater than a first positive threshold (T1) and the second reflection coefficient (r2) is less than a first negative threshold (-T2) , in that a second class (P0) is selected from each frame for which the first reflection coefficient (r1) is less than a second positive threshold (T1') less than the first positive threshold (T1') and the second reflection coefficient (r2) is greater than a second negative threshold (-T2') less in absolute value than the first negative threshold (-T2).
7. The method according to any one of Claims 4 and 5, characterized in that, in each class (P0, P1), a largest .gamma.1 of the spectral expansion coefficients is fixed and a smallest .gamma.2 of the spectral expansion coefficients is a decreasing affine function of the smallest (d min) of the distances between two consecutive line spectrum frequencies.
CA002176665A 1995-05-17 1996-05-15 Method of adapting the noise masking level in an analysis-by-synthesis speech coder employing a short-term perceptual weighting filter Expired - Lifetime CA2176665C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
FR9505851A FR2734389B1 (en) 1995-05-17 1995-05-17 METHOD FOR ADAPTING THE NOISE MASKING LEVEL IN A SYNTHESIS-ANALYZED SPEECH ENCODER USING A SHORT-TERM PERCEPTUAL WEIGHTING FILTER
FR9505851 1995-05-17

Publications (2)

Publication Number Publication Date
CA2176665A1 CA2176665A1 (en) 1996-11-18
CA2176665C true CA2176665C (en) 2005-05-03

Family

ID=9479077

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002176665A Expired - Lifetime CA2176665C (en) 1995-05-17 1996-05-15 Method of adapting the noise masking level in an analysis-by-synthesis speech coder employing a short-term perceptual weighting filter

Country Status (9)

Country Link
US (1) US5845244A (en)
EP (1) EP0743634B1 (en)
JP (1) JP3481390B2 (en)
KR (1) KR100389692B1 (en)
CN (1) CN1112671C (en)
CA (1) CA2176665C (en)
DE (1) DE69604526T2 (en)
FR (1) FR2734389B1 (en)
HK (1) HK1003735A1 (en)

Families Citing this family (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5621852A (en) * 1993-12-14 1997-04-15 Interdigital Technology Corporation Efficient codebook structure for code excited linear prediction coding
FR2729246A1 (en) * 1995-01-06 1996-07-12 Matra Communication SYNTHETIC ANALYSIS-SPEECH CODING METHOD
TW376611B (en) * 1998-05-26 1999-12-11 Koninkl Philips Electronics Nv Transmission system with improved speech encoder
US6304843B1 (en) * 1999-01-05 2001-10-16 Motorola, Inc. Method and apparatus for reconstructing a linear prediction filter excitation signal
GB2348342B (en) * 1999-03-25 2004-01-21 Roke Manor Research Improvements in or relating to telecommunication systems
USRE43209E1 (en) 1999-11-08 2012-02-21 Mitsubishi Denki Kabushiki Kaisha Speech coding apparatus and speech decoding apparatus
JP3594854B2 (en) * 1999-11-08 2004-12-02 三菱電機株式会社 Audio encoding device and audio decoding device
EP1308927B9 (en) * 2000-08-09 2009-02-25 Sony Corporation Voice data processing device and processing method
US7283961B2 (en) 2000-08-09 2007-10-16 Sony Corporation High-quality speech synthesis device and method by classification and prediction processing of synthesized sound
JP4517262B2 (en) * 2000-11-14 2010-08-04 ソニー株式会社 Audio processing device, audio processing method, learning device, learning method, and recording medium
JP2002062899A (en) * 2000-08-23 2002-02-28 Sony Corp Device and method for data processing, device and method for learning and recording medium
US7010480B2 (en) * 2000-09-15 2006-03-07 Mindspeed Technologies, Inc. Controlling a weighting filter based on the spectral content of a speech signal
US6842733B1 (en) * 2000-09-15 2005-01-11 Mindspeed Technologies, Inc. Signal processing system for filtering spectral content of a signal for speech coding
US6678651B2 (en) * 2000-09-15 2004-01-13 Mindspeed Technologies, Inc. Short-term enhancement in CELP speech coding
US6850884B2 (en) * 2000-09-15 2005-02-01 Mindspeed Technologies, Inc. Selection of coding parameters based on spectral content of a speech signal
US7606703B2 (en) * 2000-11-15 2009-10-20 Texas Instruments Incorporated Layered celp system and method with varying perceptual filter or short-term postfilter strengths
JP4857468B2 (en) * 2001-01-25 2012-01-18 ソニー株式会社 Data processing apparatus, data processing method, program, and recording medium
JP4857467B2 (en) * 2001-01-25 2012-01-18 ソニー株式会社 Data processing apparatus, data processing method, program, and recording medium
DE10121532A1 (en) * 2001-05-03 2002-11-07 Siemens Ag Method and device for automatic differentiation and / or detection of acoustic signals
US6871176B2 (en) * 2001-07-26 2005-03-22 Freescale Semiconductor, Inc. Phase excited linear prediction encoder
EP1557827B8 (en) * 2002-10-31 2015-01-07 Fujitsu Limited Voice intensifier
US7054807B2 (en) * 2002-11-08 2006-05-30 Motorola, Inc. Optimizing encoder for efficiently determining analysis-by-synthesis codebook-related parameters
US20040098255A1 (en) * 2002-11-14 2004-05-20 France Telecom Generalized analysis-by-synthesis speech coding method, and coder implementing such method
US7263481B2 (en) * 2003-01-09 2007-08-28 Dilithium Networks Pty Limited Method and apparatus for improved quality voice transcoding
KR100554164B1 (en) * 2003-07-11 2006-02-22 학교법인연세대학교 Transcoder between two speech codecs having difference CELP type and method thereof
US7792670B2 (en) * 2003-12-19 2010-09-07 Motorola, Inc. Method and apparatus for speech coding
US7668712B2 (en) * 2004-03-31 2010-02-23 Microsoft Corporation Audio encoding and decoding with intra frames and adaptive forward error correction
US7707034B2 (en) * 2005-05-31 2010-04-27 Microsoft Corporation Audio codec post-filter
US7177804B2 (en) 2005-05-31 2007-02-13 Microsoft Corporation Sub-band voice codec with multi-stage codebooks and redundant coding
US7831421B2 (en) * 2005-05-31 2010-11-09 Microsoft Corporation Robust decoder
KR100986957B1 (en) * 2005-12-05 2010-10-12 퀄컴 인코포레이티드 Systems, methods, and apparatus for detection of tonal components
WO2007093726A2 (en) * 2006-02-14 2007-08-23 France Telecom Device for perceptual weighting in audio encoding/decoding
US8688437B2 (en) 2006-12-26 2014-04-01 Huawei Technologies Co., Ltd. Packet loss concealment for speech coding
US8271273B2 (en) * 2007-10-04 2012-09-18 Huawei Technologies Co., Ltd. Adaptive approach to improve G.711 perceptual quality
WO2010084756A1 (en) * 2009-01-22 2010-07-29 パナソニック株式会社 Stereo acoustic signal encoding apparatus, stereo acoustic signal decoding apparatus, and methods for the same
JP5331901B2 (en) * 2009-12-21 2013-10-30 富士通株式会社 Voice control device
US9728200B2 (en) 2013-01-29 2017-08-08 Qualcomm Incorporated Systems, methods, apparatus, and computer-readable media for adaptive formant sharpening in linear prediction coding
EP3079151A1 (en) 2015-04-09 2016-10-12 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Audio encoder and method for encoding an audio signal
US10756755B2 (en) * 2016-05-10 2020-08-25 Immersion Networks, Inc. Adaptive audio codec system, method and article
US20170330575A1 (en) * 2016-05-10 2017-11-16 Immersion Services LLC Adaptive audio codec system, method and article
US10699725B2 (en) * 2016-05-10 2020-06-30 Immersion Networks, Inc. Adaptive audio encoder system, method and article
US10770088B2 (en) * 2016-05-10 2020-09-08 Immersion Networks, Inc. Adaptive audio decoder system, method and article
US11380343B2 (en) 2019-09-12 2022-07-05 Immersion Networks, Inc. Systems and methods for processing high frequency audio signal

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4731846A (en) * 1983-04-13 1988-03-15 Texas Instruments Incorporated Voice messaging system with pitch tracking based on adaptively filtered LPC residual signal
IT1180126B (en) * 1984-11-13 1987-09-23 Cselt Centro Studi Lab Telecom PROCEDURE AND DEVICE FOR CODING AND DECODING THE VOICE SIGNAL BY VECTOR QUANTIZATION TECHNIQUES
NL8500843A (en) * 1985-03-22 1986-10-16 Koninkl Philips Electronics Nv MULTIPULS EXCITATION LINEAR-PREDICTIVE VOICE CODER.
US4969192A (en) * 1987-04-06 1990-11-06 Voicecraft, Inc. Vector adaptive predictive coder for speech and audio
WO1990013112A1 (en) * 1989-04-25 1990-11-01 Kabushiki Kaisha Toshiba Voice encoder
DE68914147T2 (en) * 1989-06-07 1994-10-20 Ibm Low data rate, low delay speech coder.
US5307441A (en) * 1989-11-29 1994-04-26 Comsat Corporation Wear-toll quality 4.8 kbps speech codec
US5293449A (en) * 1990-11-23 1994-03-08 Comsat Corporation Analysis-by-synthesis 2,4 kbps linear predictive speech codec
JPH04284500A (en) * 1991-03-14 1992-10-09 Nippon Telegr & Teleph Corp <Ntt> Low delay code drive type predictive encoding method
US5371853A (en) * 1991-10-28 1994-12-06 University Of Maryland At College Park Method and system for CELP speech coding and codebook for use therewith
US5327520A (en) * 1992-06-04 1994-07-05 At&T Bell Laboratories Method of use of voice message coder/decoder
IT1257065B (en) * 1992-07-31 1996-01-05 Sip LOW DELAY CODER FOR AUDIO SIGNALS, USING SYNTHESIS ANALYSIS TECHNIQUES.
JPH0744196A (en) * 1993-07-29 1995-02-14 Olympus Optical Co Ltd Speech encoding and decoding device
US5574825A (en) * 1994-03-14 1996-11-12 Lucent Technologies Inc. Linear prediction coefficient generation during frame erasure or packet loss
US5615298A (en) * 1994-03-14 1997-03-25 Lucent Technologies Inc. Excitation signal synthesis during frame erasure or packet loss
JP2970407B2 (en) * 1994-06-21 1999-11-02 日本電気株式会社 Speech excitation signal encoding device

Also Published As

Publication number Publication date
KR960042516A (en) 1996-12-21
DE69604526D1 (en) 1999-11-11
EP0743634A1 (en) 1996-11-20
FR2734389B1 (en) 1997-07-18
KR100389692B1 (en) 2003-11-17
EP0743634B1 (en) 1999-10-06
CN1112671C (en) 2003-06-25
CN1138183A (en) 1996-12-18
JP3481390B2 (en) 2003-12-22
CA2176665A1 (en) 1996-11-18
US5845244A (en) 1998-12-01
FR2734389A1 (en) 1996-11-22
HK1003735A1 (en) 1998-11-06
DE69604526T2 (en) 2000-07-20
JPH08328591A (en) 1996-12-13

Similar Documents

Publication Publication Date Title
CA2176665C (en) Method of adapting the noise masking level in an analysis-by-synthesis speech coder employing a short-term perceptual weighting filter
KR100421226B1 (en) Method for linear predictive analysis of an audio-frequency signal, methods for coding and decoding an audiofrequency signal including application thereof
US5307441A (en) Wear-toll quality 4.8 kbps speech codec
Salami et al. Design and description of CS-ACELP: A toll quality 8 kb/s speech coder
CN101180676B (en) Methods and apparatus for quantization of spectral envelope representation
US6104992A (en) Adaptive gain reduction to produce fixed codebook target signal
US6173257B1 (en) Completed fixed codebook for speech encoder
US6757649B1 (en) Codebook tables for multi-rate encoding and decoding with pre-gain and delayed-gain quantization tables
EP1105870B1 (en) Speech encoder adaptively applying pitch preprocessing with continuous warping of the input signal
US6449590B1 (en) Speech encoder using warping in long term preprocessing
US11881228B2 (en) Concept for encoding an audio signal and decoding an audio signal using speech related spectral shaping information
US11798570B2 (en) Concept for encoding an audio signal and decoding an audio signal using deterministic and noise like information
EP0732686A2 (en) Low-delay code-excited linear-predictive coding of wideband speech at 32kbits/sec
KR20010101422A (en) Wide band speech synthesis by means of a mapping matrix
JP2018511086A (en) Audio encoder and method for encoding an audio signal
Koishida et al. A wideband CELP speech coder at 16 kbit/s based on mel-generalized cepstral analysis
Tseng An analysis-by-synthesis linear predictive model for narrowband speech coding
Kumar Low complexity ACELP coding of 7 kHz speech and audio at 16 kbps
Gersho Concepts and paradigms in speech coding
Sohn et al. A codebook shaping method for perceptual quality improvement of CELP coders
Stegmann et al. CELP coding based on signal classification using the dyadic wavelet transform

Legal Events

Date Code Title Description
EEER Examination request
MKEX Expiry

Effective date: 20160516