Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND APPARATUS FOR CODING AN INFORMATION SIGNAL USING PITCH DELAY CONTOUR ADJUSTMENT
Document Type and Number:
WIPO Patent Application WO/2007/018815
Kind Code:
A3
Abstract:
In a speech encoder/decoder (200/300) a pitch delay contour endpoint modifier (208) is employed to shift the endpoints of a pitch delay interpolation curve up or down. Particularly, the endpoints of the pitch delay interpolation curve are shifted based on a variation and/or a standard deviation in pitch delay.

Inventors:
ASHLEY JAMES P (US)
MITTAL UDAR (US)
Application Number:
PCT/US2006/025273
Publication Date:
October 04, 2007
Filing Date:
June 29, 2006
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MOTOROLA INC (US)
ASHLEY JAMES P (US)
MITTAL UDAR (US)
International Classes:
G10L25/90
Foreign References:
US6113653A2000-09-05
US5704003A1997-12-30
US5553191A1996-09-03
Other References:
See also references of EP 1922718A4
Attorney, Agent or Firm:
DAVIS, Valerie, M. et al. (Schaumburg, IL, US)
Download PDF:
Claims:
CLAIMS

1. A method of operating a speech encoder, the method comprising the steps of: estimating a pitch delay based on an input signal; estimating a variation in pitch delay based on the pitch delay estimate; determining an adaptive step size value based on the variation in pitch delay; and generating an encoded pitch parameter based on the adaptive step size.

2. The method of claim 1 wherein the step of estimating the pitch delay based on the input signal comprises the step of estimating the pitch delay based on either a speech or an audio signal.

3. The method of claim 1 wherein the step of estimating the variation in pitch delay comprises the step of estimating a variation and /or standard deviation in pitch delay.

4. The method of claim 1 wherein the step of determining the adaptive step size comprises the step of determining the adaptive step size dim), where δ(nι) may be expressed as:

δ(m) = a(σ τ )l κ '-

and where α(σv) is some function of the variability estimate of pitch delay, and φ?z) is a pitch delay estimate for frame number m.

5. The method of claim 4 wherein a(σ τ ) = min(Aσ r + B, a max )where A and B are predetermined values, σ τ represents the standard deviation in τ, and α m ax is a maximum allowable value of o(σ^).

6. The method of claim 1 wherein the step of generating an encoded pitch parameter based on the adaptive step size comprises the step of determining a delay adjust value δ aιij where

A adJ (i) = (i - M /2) - δ(m\ /e {0, l, ..., M -l} and where M is the number of candidate pitch delay adjustment indices, δ{rn) is the adaptive step-size, and ie {θ, 1, ..., M -l} is the encoded pitch parameter.

7. The method of claim 6 wherein the delay adjust value A adJ is used to shift the endpoints of the pitch delay interpolation curve up or down according to the expression: d'(m , j) = d(m'j) + \ dJ (i) where d(m , j) is a subframe delay interpolation endpoint matrix.

8. The method of claim 1 wherein the step of generating an encoded pitch parameter based on the adaptive step size comprises the step of evaluating a distortion criteria.

9. The method of claim 8 wherein the step of evaluating the distortion criteria comprises the step of evaluating one of the set of the minimization of a mean squared error parameter, the minimization of an accumulated shift parameter, and the maximization of a normalized cross correlation parameter.

10. A method of operating a speech decoder, the method comprising the steps of: receiving a first pitch delay parameter;

estimating a variation in pitch delay based on the first pitch delay parameter; determining an adaptive step size based on the variation in pitch delay; and generating a second pitch delay parameter based on the adaptive step size.

11. The method of claim 10 wherein the step of estimating the variation in pitch delay comprises the step of estimating a variation and /or standard deviation in pitch delay.

12. The method of claim 10 wherein the step of determining the adaptive step size comprises the step of determining the adaptive step size δ(m), where δ(m) may be expressed as:

S(m) = a{σ τ ) ?

where o{σ^ is some function of the variability estimate of pitch delay, and ύitn) is a pitch delay estimate for frame number m.

13. The method of claim 12 wherein a(σ T ) = min(Aσ τ + B, a ^ ) where A and B are predetermined, σ τ represents the standard deviation in τ, and a m∞ . is a maximum allowable value of a(σ^.

14. The method of claim 10 wherein the step of generating the second pitch delay parameter based on the adaptive step size comprises the step of determining a delay adjust value δ nii; where

δ β& (i) = (i -M /2) - 5(m), i s {θ, l, ..., M -l} and where M is the number of candidate pitch delay adjustment indices, and δ(m) is the adaptive step-size.

15. The method of claim 14 wherein the delay adjust value A a(lj is used to shift the endpoints of the pitch delay interpolation curve up or down according to the expression: d'(m'J) = d(m'J) + A adj (i) where d{m , j) is a subframe delay interpolation endpoint matrix, and d\m , f) is the second pitch delay parameter.

16. An apparatus comprising: a variability estimator estimating a variation in pitch delay; a coefficient generator determining an adaptive step size based on the variation in pitch delay; and modification circuitry modifying a pitch parameter based on the adaptive step size.

17. The apparatus of claim 16 wherein the modification circuitry modifies endpoints of a pitch delay interpolation curve up or down based on the adaptive step size.

18. The apparatus of claim 16 wherein the pitch delay is based either a speech or an audio signal.

19. The apparatus of claim 16 wherein the variation in pitch delay comprises a variation and /or standard deviation in pitch delay.

20. The apparatus of claim 16 wherein the adaptive step size is computed as

δ(m) = a(σ τ )\ ^ } - \

and α(σ τ ) is some function of the variability estimate of pitch delay.

Description:

METHOD AND APPARATUS FOR CODING AN INFORMATION SIGNAL USING PITCH DELAY CONTOUR ADJUSTMENT

FIELD OF THE INVENTION

The present invention relates, in general, to communication systems and, more particularly, to coding information signals in such communication systems.

BACKGROUND OF THE INVENTION

Digital speech compression systems typically require estimation of the fundamental frequency of an input signal. The fundamental frequency / is usually estimated in terms of the pitch delay r (otherwise known as "lag"). The two are related by the expression

where the sampling frequency f is commonly 8000 Hz for telephone grade applications.

Since a speech signal is generally non-stationary, it is partitioned into finite length vectors called frames, each of which is presumed to be quasi- stationary. The length of such frames is normally on the order of 10 to 40 milliseconds. The parameters describing the speech signal are then updated at the associated frame length intervals. The original Code Excited Linear Prediction (CELP) algorithms further updates the pitch period (using what is called Long Term Prediction, or LTP) information on shorter sub-frame intervals, thus allowing smoother transitions from frame to frame. It was also noted that although τ could be estimated using open-loop methods, far better performance was achieved using the closed-loop approach. Closed-loop

methods involve a trial-and-error search of different possible values of r (typically integer values from 20 to 147) on a sub-frame basis, and choosing the value that satisfies some minimum error criterion.

An enhancement to this method involves allowing τ to take on integer plus fractional values, as given in US Pat. No. US 5,359,696. An example of a practical implementation of this method can be found in the GSM half rate speech coder, and is shown in FIG. 1 and described in US Pat. No. US 5,253,269. Here, lags within the range of 21 to 22-2/3 are allowed 1/3 sample resolution, lags within the range of 23 to 34-5/6 are allowed 1/6 sample resolution, and so on. In order to keep the search complexity low, a combination of open-loop and closed loop methods is used. The open-loop method involves generating an integer lag candidate list using an autocorrelation peak picking algorithm. The closed-loop method then searches the allowable lags in the neighborhood of the integer lag candidates for the optimal fractional lag value. Furthermore, the lags for sub-frames 2, 3, and 4 are coded based on the difference from the previous sub-frame. This allows the lag information to be coded using fewer bits since there is a high intra-frame correlation of the lag parameter. Even so, the GSM HR codec uses a total of 8 + (3 x 4) = 20 bits every 20 ms (1.0 kbps) to convey the pitch period information.

In an effort to reduce the bit rate of the pitch period information, an interpolation strategy was developed that allows the pitch information to be coded only once per frame (using only 7 bits => 350 bps), rather than with the usual sub-frame resolution. This technique is known as relaxed CELP (or RCELP), and is the basis for the Enhanced Variable Rate Codec (EVRC) standard for Code Division Multiple Access (CDMA) wireless telephone systems. The basic principle is as follows.

The pitch period is estimated for the analysis window centered at the end of the current frame. The lag (pitch delay) contour is then generated, which consists of a linear interpolation of the past frame's lag to the current

frame's lag. The linear prediction (LP) residual signal is then modified by means of sophisticated polyphase filtering and shifting techniques / which is designed to match the residual waveform to the estimated pitch delay contour. The primary reason for this residual modification process is to account for accuracy limitations of the open-loop integer lag estimation process. For example, if the integer lag is estimated to be 32 samples, when in fact the true lag is 32.5 samples, the residual waveform can be in conflict with the estimated lag by as many as 2.5 samples in a single 160 sample frame. This can severely degrade the performance of the LTP. The RCELP algorithm accounts for this by shifting the residual waveform during perceptually insignificant instances in the residual waveform (i.e., low energy) to match the estimated pitch delay contour. By modifying the residual waveform to match the estimated pitch delay contour, the effectiveness of the LTP is preserved, and the coding gain is maintained. In addition, the associated perceptual degradations due to the residual modification are claimed to be insignificant.

A further improvement to processing of the pitch delay contour information has been proposed in US Pat. No. 6,113,653, in which a method of adjusting the pitch delay contour at intervals of less than of equal to one block in length is disclosed. In this method, a small number of bits are used to code an adjustment of the pitch delay contour according to some error minimization criteria. The method describes techniques for pitch delay contour adjustment by minimization of an accumulated shift parameter, or maximization of the cross correlation between the perceptually weighted input speech and the adaptive codebook (ACB) contribution passed through a perceptually weighted synthesis filter. Another well known pitch delay adjustment criterion may also include the minimization of the perceptually weighted error energy between the target speech and the filtered ACB contribution.

While this method utilizes a very efficient technique for estimating and coding pitch delay contour adjustment information, the low bit rate has the

consequence of constraining the resolution and/or dynamic range of the pitch delay adjustment parameters being coded. Therefore a need exists for improving performance of low bit rate long-term predictors by adaptively modifying the dynamic range and resolution of the predictor step-size, such that higher long-term prediction gain is achieved for a given bit-rate, or alternatively, a similar long-term prediction is achieved at a lower bit-rate when compared to the prior art.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a prior-art speech encoder.

FIG. 2 is a block diagram of a speech encoder.

FIG. 3 is a block diagram of a speech decoder.

FIG. 4 illustrates a graphical representation of signals as displayed in the time domain.

FIG. 5 is a flow chart showing operation of the encoder and decoder of FIG. 2 and FIG. 3.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

Stated generally, an open-loop pitch delay contour estimator generates pitch delay information during coding of an information signal. The pitch delay contour (i.e., a linear interpolation of the past frame's lag to the current frame's lag) is adjusted on a sub-frame basis which allows a more precise estimate of the true pitch delay contour. A pitch delay contour reconstruction block uses the pitch delay information in a decoder in reconstructing the information signal between frames. In the preferred embodiment of the present invention adjustment of the pitch delay contour is based on a standard deviation and/or a variance in pitch delay (r).

Stated more specifically, a method for coding an information signal comprises the steps of dividing the information signal into blocks, estimating the pitch delay of the current and previous blocks of information and forming an adjustment in pitch delay based on a past changes (e.g., standard deviation and/or variance) in τ. The method further includes the steps of adjusting the shape of the pitch delay contour at intervals of less than or equal to one block in length and coding the shape of the adjusted pitch delay contour to produce codes suitable for transmission to a destination.

The step of adjusting the shape of the pitch delay contour at intervals of less than or equal to one block in length further comprises the steps of determining the adjusted pitch delay at a point at or between the current and previous pitch delays and forming a linear interpolation between the previous pitch delay point and the adjusted pitch delay point. When determining the adjusted pitch delay point, a change in accumulated shift is minimized. The step of determining the adjusted pitch delay further comprises the step of maximizing the correlation between a target residual signal and the original residual signal. The previous pitch delay point further comprises a previously adjusted pitch delay point. Alternatively, the step of adjusting the shape of the pitch delay contour further comprises the steps of determining a plurality of adjusted pitch delay points at or between the current and previous pitch delays and forming a linear interpolation between the adjusted pitch delay points.

A system for coding an information signal is also disclosed. The system includes an coder which comprises means for dividing the information signal into blocks and means for estimating the pitch delay of the current and previous blocks of information and for adjusting a pitch delay based on a past changes (e.g., standard deviation and/or variance) in τ.

Within the system, the information signal further comprises either a speech or an audio signal and the blocks of information signals further comprise frames of information signals. The pitch delay information further

conaprises a pitch delay adjustment index. The system also includes a decoder for receiving the pitch delay information and for producing an adjusted pitch delay contour τ c (n) for use in reconstructing the information signal.

FIG. 2 generally depicts a speech compression system 200 employing adaptive step-size pitch delay adjustment in accordance with the preferred embodiment of the present invention. As shown in FIG. 2, the input speech signal s(n) is processed by a linear prediction (LP) analysis filter 202 which flattens the short-term spectral envelope of input speech signal s(n). The output of the LP analysis filter is designated as the LP residual ε(n). The LP residual signal ε(n) is then used by the open-loop pitch delay estimator 204 to generate the open-loop pitch delay φn). (Details of this and some other processes in the following discussion are given in TIA-127 EVRC.) The open- loop pitch delay τ(m) is then used by pitch delay interpolation block 206 to produce a subframe delay interpolation endpoint matrix d(m',j) according to the expression:

l ≤ ro' < 3

where φn) is the estimated open-loop pitch delay for the current frame m, which is centered at the end current frame, i(m~l) is the estimated open-loop pitch delay for the previous frame m-1, and f(n) is a set of pitch delay interpolation coefficients, which may be defined as:

f = { 0.0, 0.3313, 0.6625, 1.0 } (3)

These coefficients are given for the example of when the number of sub- frames is three (e.g, 0< m'<3), although a suitable set of coefficients can be derived for a value of sub-frames other than three.

Also using the open-loop pitch delay τ{m) as input is the pitch delay variability estimator 214. In accordance with the current invention, the sample standard deviation of the open-loop pitch delay estimate is defined as:

where the sample mean τ is defined as:

τ =±∑φι-i) (5)

N ,=o

When the number of observations is two (N=2), it can be shown that the above expressions can be simplified to the following:

The variability estimate σ τ and the open-loop pitch delay φn) are then used as inputs to the adaptive step size generator 215, where the adaptive step size δ(m) is calculated as a function of <7 r as:

δ{m) = a(σ τ ) 1 , (7)

where a(σ T ) is some function of the variability estimate of pitch delay. For the preferred embodiment of the present invention, this function is given as:

a(σ r ) = min{Aσ τ + B, aimx ) (8)

where A and B may be constants, σ τ represents the standard deviation in % and <j max may be some maximum allowable value of «(σ τ ).

The adaptive step-size <5(m) is input to the delay adjust coefficient generator 216, where the pitch delay adjust value δ λrf/ (i) may be calculated as a function of the pitch delay adjust index i as:

δ flrf ,(O = (ϊ - M /2) - £(m), ie {0, l, ..., M -l} (9)

where M is the number of candidate pitch delay adjustment indices. From the equations above, it can be seen that the pitch delay adjust value δ ad fi) may take on integral multiples of the step-size δ[m), where δ(m) is a function of not only the average (mean) value of the pitch delay (as in the prior at), but also the variability estimate σ r of the pitch delay value φri). The various pitch delay adjust values may then be evaluated according to some distortion metric, and as a result, the optimal value of the pitch delay adjust value may be used throughout the remainder of the coding process. In the preferred embodiment, the distortion metric is the perceptually weighted mean squared error between the z ' -th filtered adaptive codebook contribution λ(i,ri), and the weighted target signal s w (n). This process is given in pitch delay adjust index search 218 and can be expressed as:

where i* is the optimal pitch delay adjust index corresponding to the maximum value obtained from the bracketed expression.

In order to obtain the signals used in Eq. 10, the pitch delay contour endpoint modifier 208 is employed to shift the endpoints of the pitch delay interpolation curve up or down according to the expression:

d'(m', j) = d(m',j) + A adJ (i) (11)

From this expression, a candidate pitch delay contour τ c (n) is computed 210, and an adaptive codebook contribution E(n) is obtained 212 and filtered 220 to obtain the filtered adaptive codebook contribution λ(n) as in the prior art. During operation standard variables such as the fixed codebook indices, the FCB and ACB gain index, etc. are transmitted by transmitter 200. Along with these values, a delay adjust index (z) for each subframe is transmitted along with a code for the pitch delay value for the current frame φri). The pitch delay from the previously transmitted frame τ(m-l) is also used. The decoder will utilize i, τ{m), and φn-1) to produce an interpolation curve between successive pitch delay values. More particularly, the receiver will compute δ λd H) as a function of the pitch delay adjust index i as discussed above, and apply δ λd; (i) to shift the endpoints of the pitch delay interpolation curve up or down according to equation 11. FIG. 3 is a block diagram of receiver 300. As shown, pitch delay parameter indexes are received by delay decoder 304 to produce φn). More particularly, decoder 304 receives indices or "codes" representing φn), and decodes them to produceτ(rø) and φn-ϊ). Pitch delay values are output to pitch delay variability estimator 214 where the variation in pitch delay is determined and output to adaptive step size generator 215. A value for *(m) is computed by the generator 215. The adaptive step-size is output to delay adjust coefficient generator 216. A value for δ ad] (ϊ) is computed by generator216 as a function of the pitch delay adjust index i as discussed above, and output to endpoint modification circuitry 308. As with transmitter 200, pitch delay φn) is output to delay interpolation block 307 and used to produce a subframe delay interpolation endpoint matrix d(m',j) according to equation 2. Delay contour endpoint modification circuitry 308 takes the endpoint matrix and shifts the endpoints of the pitch delay interpolation curve up or down according to

d'(m , j) = d(m',j) + A aιlj (i) . The shifted endpoints are then used by computation circuitry 310 to produce the adjusted delay contour τ c (n), which is subsequently used to fetch samples from the ACB 312 (as in the prior art). The ACB contribution is then scaled and combined with the scaled fixed codebook contribution to produce a combined excitation signal, which is used as input to synthesis filter 302 to produce an output speech signal. The combined excitation signal is also used a feedback in order to update the ACB for the next subframe (as in the prior art).

FIG. 4 shows a graphical representation of the signals of the previous section as displayed in the time domain. These signals are sampled based on a wideband speech coder configuration with a sampling frequency of 14 kHz. Therefore, signal 402 (the weighted speech signal s w (n)) comprises a one half second sample (7000 samples). For this example, the frame size is 280 samples, and the sub-frame size is 70. Signals 404-410 are displayed using one sample per sub-frame. From the input signal, the open-loop pitch delay τ(nϊ) 404 is estimated.

As can be seen, the open-loop pitch delay estimate is fairly smooth for highly periodic speech (samples 0-2000 and 4000-6500), and in contrast is fairly erratic during non-voiced speech and transitions (samples 2000-4000 and 6500-7000). In accordance with the present invention, the step-size ftiri) 406 is shown. As can be seen, the step-size is relatively small when the variability of the pitch delay estimate is small, and conversely, the step-size is relatively large when the variability of the pitch delay estimate is large. The effects of the adaptive step-size can be seen further in the optimal pitch delay adjust value δ adj (i) 408. Here, the optimal pitch delay adjustment value is based on only four candidates (2 bits per sub-frame). During the highly periodic regions, the variation is small and resolution is emphasized to allow fine tuning of the pitch delay estimate. During non-voiced and transition regions, pitch delay variation is large and subsequently a wide dynamic range is emphasized to account for a high uncertainty in the pitch delay estimate. Finally, the pitch delay adjusted endpoint d\m',l) 410 is shown to

demonstrate the final composite estimate of the pitch delay contour in accordance with the present invention. When compared to the open-loop pitch delay 404, it is easy to see the overall effect of the invention.

FIG. 5 is a flow chart showing operation of the encoder and decoder of FIG. 2 and FIG. 3, respectively. In particular, the generation of the pitch delay adjustment value δ Jrf/ by encoder 200 and decoder 300 is described. The logic flow begins at step 501 a pitch delay is estimated by delay estimation circuitry 204, or delay decoder 304 based on an input signal. In the preferred embodiment of the present invention the input signal is preferably speech, however other audio input signals are envisioned. At step 503 pitch delay variability estimator 214 estimates the variation and /or standard deviation in pitch delay (τ) based on the pitch delay estimate to produce an adaptive step- size value •(m). More particularly, past values of rare analyzed to determine σ τ , *(m) is computed from σ τ per equation (7). . At step 505 pitch delay adjust coefficient generator 216 uses •{m) and determines a value for an adjustment value (A, rf; )- As discussed above,

A adj (i) = (i - M / 2) - δ(m), * e {0, l, ..., M - l}, with

o sv(m . - T P1 he va ilue f j-or δ 4 nrf; i ■s t L ihen used J i by mod J i-f JT i-cat L i-on circuitry 208 to generate a second pitch delay parameter, an in particular an encoded pitch parameter (step 507). In the preferred embodiment of the present invention the encoded pitch parameter comprise the endpoints of the pitch delay interpolation curve which are shifted up or down based on the adjustment value, and in particular according to the expression j) - d(m , j) + A adJ (i) , where i* is the optimal pitch delay adjust index corresponding to the maximum value obtained from equation 10.

While the invention has been particularly shown and described with reference to a particular embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention. For example, while in

the preferred embodiment of the present invention endpoints of a pitch delay- interpolation curve are shifted based on the adaptive step size, one of ordinary skill in the art will recognize that any encoded pitch parameter may be generated based on the adaptive step size. More specifically, the present invention may be applied toward traditional closed loop pitch delay and pitch search methods (e.g., US Pat. No. 5,253,269) by allowing the search range and/or resolution (i.e., the step size) to be based on a function of the pitch delay variability. Such methods are currently limited to predetermined resolutions based solely on absolute range of the current pitch value being searched.

Use of the present invention in prior art decoding processes is also viewed to be obvious by one skilled in the art. For example, while in the preferred embodiment of the present invention endpoints of a pitch delay interpolation curve are shifted up or down based on the adaptive step size, one of ordinary skill in the art will recognize that any pitch delay parameter may be generated based on the adaptive step size. As in the previous discussion, a speech decoder such as the GSM PIR may use an adaptive step size, based on the variation in pitch delay obtained from any first pitch delay parameter, to determine a range and resolution of the delta coded lag information (i.e., a second pitch delay parameter). Therefore, the second pitch delay parameter may be based on the adaptive step size.

In addition, an alternate distortion metric may be used, such as the minimization of an accumulated shift parameter or the maximization of a normalized cross correlation parameter (as described in US Pat. No. 6,113,653) to achieve pitch delay contour adjustment in accordance with the present invention. It is obvious to one skilled in the art that the present invention is independent of the distortion metric being applied, and that any method may be used without departing from the spirit and scope of the present invention.

What we claim is: