# Patent

## Title
REW parametric vector quantization and dual-predictive SEW vector quantization for waveform interpolative coding

## Abstract

An enhanced analysis-by-synthesis waveform interpolative speech coder able to operate at 2.8 kbps. Novel features include dual-predictive analysis-by-synthesis quantization of the slowly-evolving waveform, efficient parametrization of the rapidly-evolving waveform magnitude, and analysis-by-synthesis vector quantization of the rapidly evolving waveform parameter. Subjective quality tests indicate that it exceeds G.723.1 at 5.3 kbps, and of G.723.1 at 6.3 kbps.

## Background
CROSS REFERENCE TO RELATED APPLICATION
This application claims the benefit of Provisional Patent Application Ser. No. 60/190,371, filed Mar. 17, 2000 which application is herein incorporated by reference.


BACKGROUND OF THE INVENTION
The present invention relates to vector quantization (VQ) in speech coding systems using waveform interpolation.
In recent years, there has been increasing interest in achieving toll-quality speech coding at rates of 4 kbps and below. Currently, there is an ongoing 4 kbps standardization effort conducted by an international standards body (The International Telecommunications Union-Telecommunication (ITU-T) Standardization Sector). The expanding variety of emerging applications for speech coding, such as third generation wireless networks and Low Earth Orbit (LEO) systems, is motivating increased research efforts. The speech quality produced by waveform coders such as code-excited linear prediction (CELP) coders degrades rapidly at rates below 5 kbps; see B. S. Atal, and M. R. Schroeder, (1984) “Stochastic Coding of Speech at Very Low Bit Rate”, Proc. Int Conf. Comm, Amsterdam, pp. 1610–1613.
On the other hand, parametric coders, such as: the waveform-interpolative (WI) coder, the sinusoidal-transform coder (STC), and the multiband-excitation (MBE) coder, produce good quality at low rates but they do not achieve toll quality; see Y. Shoham, IEEE ICASSP'93, Vol. II, pp. 167–170 (1993); I. S. Burnett, and R. J. Holbeche, (1993), IEEE ICASSP'93, Vol. II, pp. 175–178; W. B. Kleijn, (1993), IEEE Trans. Speech and Audio Processing, Vol. 1, No. 4, pp. 386–399; W. B. Kleijn, and J. Haagen, (1994), IEEE Signal Processing Letters, Vol. 1, No. 9, pp. 136–138; W. B. Kleijn, and J. Haagen, (1995), IEEE ICASSP'95, pp. 508–511; W. B. Kleijn, and J. Haagen, (1995), in Speech Coding Synthesis by W. B. Kleijn and K. K. Paliwal, Elsevier Science B. V., Chapter 5, pp. 175–207; I. S. Burnett, and G. J. Bradley, (1995), IEEE ICASSP'95, pp. 261–263, 1995; I. S. Burnett, and G. J. Bradley, (1995), IEEE Workshop on Speech Coding for Telecommunications, pp. 23–24; I. S. Burnett, and D. H. Pham, (1997), IEEE ICASSP'97, pp. 1567–1570; W. B. Kleijn, Y. Shoham, D. Sen, and R. Haagen, (1996), IEEE ICASSP'96, pp. 212–215; Y. Shoham, (1997), IEEE ICASSP'97, pp. 1599–1602; Y. Shoham, (1999), International Journal of Speech Technology, Kluwer Academic Publishers, pp. 329–341; R. J. McAulay, and T. F. Quatieri, (1995),in Speech Coding Synthesis by W. B. Kleijn and K. K. Paliwal, Elsevier Science B. V., Chapter 4, pp. 121–173; and D. Griffin, and J. S. Lim, (1988), IEEE Trans. ASSP, Vol. 36, No. 8, pp. 1223–1235. This is largely due to the lack of robustness of speech parameter estimation, which is commonly done in open-loop, and to inadequate modeling of non-stationary speech segments.
Commonly in WI coding, the similarity between successive rapidly evolving waveform (REW) magnitudes is exploited by downsampling and interpolation and by constrained bit allocation; see W. B. Kleijn, and J. Haagen, (1995), IEEE ICASSP'95, pp. 508–511. In a previous Enhanced Waveform Interpolative (EWI) coder the REW magnitude was quantized on a waveform by waveform base; see O. Gottesman and A. Gersho, (1999), “Enhanced Waveform Interpolative Coding at 4 kbps”, IEEE Speech Coding Workshop, pp. 90–92, Finland; Finland. O. Gottesman and A. Gersho, (1999), “Enhanced Analysis-by-Synthesis Waveform Interpolative Coding at 4 kbps”, EUROSPEECH'99, pp. 1443–1446, Hungary.
SUMMARY OF THE INVENTION
The present invention describes novel methods that enhance the performance of the WI coder, and allows for better coding efficiency improving on the above 1999 Gottesman and Gersho procedure. The present invention incorporates analysis-by-synthesis (AbS) for parameter estimation, offers higher temporal and spectral resolution for the REW, and more efficient quantization of the slowly-evolving waveform (SEW). In particular, the present invention proposes a novel efficient parametric representation of the REW magnitude, an efficient paradigm for AbS predictive VQ of the REW parameter sequence, and dual-predictive AbS quantization of the SEW.
More particularly, the invention provides a method for interpolative coding input signals, the signals decomposed into or composed of a slowly evolving waveform and a rapidly evolving waveform having a magnitude, the method incorporating at least one various, preferably combinations of the following steps or can include all of the steps:
(a) AbS VQ of the REW;
(b) parametrizing the magnitude of the REW;
(c) incorporating temporal weighting in the AbS VQ of the REW;
(d) incorporating spectral weighting in the AbS VQ of the REW;
(e) applying a filter to a vector quantizer codebook in the analysis-by-synthesis vector-quantization of the rapidly evolving waveform whereby to add self correlation to the codebook vectors; and
(f) using a coder in which a plurality of bits therein are allocated to the rapidly evolving waveform magnitude.
In addition, one can combine AbS quantization of the slowly evolving waveform with any or all of the foregoing parameters.
The new method achieves a substantial reduction in the REW bit rate and the EWI achieves very close to toll quality, at least under clean speech conditions. These and other features, aspects, and advantages of the present invention will become better understood with regard to the following detailed description, appended claims, and accompanying drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a REW Parametric Representation;
FIG. 2 is a REW Parametric VQ;
FIG. 3 is a REW Parametric Representation AbS VQ;
FIG. 4 is a REW Parametric Representation Simplified AbS VQ;
FIG. 5 is a REW Parametric Representation Simplified Weighted AbS VQ;
FIG. 6 is a block diagram of the Dual Predictive AbS SEW vector quantization;
FIG. 7 is a weighted Signal-to-Noise Ratio (SNR) for Dual Predictive AbS SEW VQ;
FIG. 8 is an output Weighted SNR for the 18 codebooks, 9-bit AbS SEW VQ;
FIG. 9 is a mean-removed SEW's Weighted SNR for the 18 codebooks, 9-bit AbS SEW VQ; and
FIG. 10 are predictors for three REW parameter ranges.



DETAILED DESCRIPTION
In very low bit rate WI coding, the relation between the SEW and the REW magnitudes was exploited by computing the magnitude of one as the unity complement of the other; see W. B. Kleijn, and J. Haagen, (1995), “A Speech Coder Based on Decomposition of Characteristic Waveforms”, IEEE ICASSP'95, pp. 508–511; W. B. Kleijn, and J. Haagen, (1995), “Waveform Interpolation for Coding and Synthesis”, in Speech Coding Synthesis by W. B. Kleijn and K. K. Paliwal, Elsevier Science B. V., Chapter 5, pp. 175–207; I. S. Burnett, and G. J. Bradley, (1995), “New Techniques for Multi-Prototype Waveform Coding at 2.84 kb/s”, IEEE ICASSP'95, pp. 261–263, 1995; I. S. Burnett, and G. J. Bradley, (1995), “Low Complexity Decomposition and Coding of Prototype Waveforms”, IEEE Workshop on Speech Coding for Telecommunications, pp. 23–24; I. S. Burnett, and D. H. Pham, (1997), “Multi-Prototype Waveform Coding using Frame-by-Frame Analysis-by-Synthesis”, IEEE ICASSP'97, pp. 1567–1570; W. B. Kleijn, Y. Shoham, D. Sen, and R. Haagen, (1996), “A Low-Complexity Waveform Interpolation Coder”, IEEE ICASSP'96, pp. 212–215; Y. Shoham, (1997), “Very Low Complexity Interpolative Speech Coding at 1.2 to 2.4 kbps”, IEEE ICASSP'97, pp. 1599–1602; Y. Shoham, (1999), “Low-Complexity Speech Coding at 1.2 to 2.4 kbps Based on Waveform Interpolation”, International Journal of Speech Technology, Kluwer Academic Publishers, pp. 329–341.
Also, since the sequence of SEW magnitude evolves slowly, successive SEWs exhibit similarity, offering opportunities for redundancy removal. Additional forms of redundancy that may be exploited for coding efficiency are: (a) for a fixed SEW/REW decomposition filter, the mean SEW magnitude increases with the pitch period and (b) the similarity between successive SEWs, also increases with the pitch period. In this work we introduce a novel “dual-predictive” AbS paradigm for quantizing the SEW magnitude that optimally exploits the information about the current quantized REW, the past quantized SEW, and the pitch, in order to predict the current SEW.
Introduction to REW Quantization
The REW represents the rapidly changing unvoiced attribute of speech. Commonly in WI systems, the REW is quantized on a waveform by waveform base. Hence, for low rate WI systems having long frame size, and a large number of waveforms per frame, the relative bitrate required for the REW becomes significantly excessive. For example, consider a potential 2 kbps system which uses a 240 sample frame, 12 waveforms per frame, and which quantizes the SEW by alternating bit allocation of 3 bit and 1 bit per waveform. The REW bitrate is then 24 bit per frame, or 800 kbps which is 40% of the total bitrate. This example demonstrates the need for a more efficient REW quantization.
Efficient REW quantization can benefit from two observations: (1) the REW magnitude is typically an increasing function of the frequency, which suggests that an efficient parametric representation may be used; (2) one can observe a similarity between successive REW magnitude spectra, which may suggest a potential gain by employing predictive VQ on a group of adjacent REWs. The next two sections propose REW parametric representation, and its respective VQ.
REW Parametric Representation
Direct quantization of the REW magnitude is a variable dimension quantization problem, which may result in spending bits and computational effort on perceptually irrelevant information. A simple and practical way to obtain a reduced, and fixed, dimension representation of the REW is with a linear combination of basis functions, such as orthonormal polynomials; see W. B. Kleijn, Y. Shoham, D. Sen, and R. Haagen, (1996), IEEE ICASSP'96, pp. 212–215; Y. Shoham, (1997), IEEE ICASSP'97, pp. 1599–1602; Y. Shoham, (1999), International Journal of Speech Technology, Kluwer Academic Publishers, pp. 329–341. Such a representation usually produces a smoother REW magnitude, and improves the perceptual quality. Suppose the REW magnitude, R(ω), is represented by a linear combination of orthonormal functions, ψi(ω): 



  
    
      
        
          
            R
            ⁡
            
              (
              ω
              )
            
          
          =
          
            
              ∑
              
                ι
                =
                0
              
              
                I
                -
                1
              
            
            ⁢
            
              
                γ
                ι
              
              ⁢
              
                
                  ψ
                  ι
                
                ⁡
                
                  (
                  ω
                  )
                
              
            
          
        
        ,
        
          0
          ≤
          ω
          ≤
          π
        
      
    
    
      
        (
        1
        )
      
    
  




where ω is the angular frequency, and I is the representation order. The REW magnitude is typically an increasing function of frequency, which, can be coarsely quantized with a low number of bits per waveform without significant perceptual degradation. Therefore, it may be advantageous to represent the REW magnitude in a simple, but perceptually relevant manner. Consequently we model the REW by the following parametric representation, {circumflex over (R)}(ω,ξ): 



  
    
      
        
          
            
              R
              ^
            
            ⁡
            
              (
              
                ω
                ,
                ξ
              
              )
            
          
          =
          
            
              ∑
              
                ι
                =
                0
              
              
                I
                -
                1
              
            
            ⁢
            
              
                
                  
                    γ
                    ^
                  
                  ι
                
                ⁡
                
                  (
                  ξ
                  )
                
              
              ⁢
              
                
                  ψ
                  ι
                
                ⁡
                
                  (
                  ω
                  )
                
              
            
          
        
        ,
        
          
            0
            ≤
            ω
            ≤
            π
          
          ;
          
            0
            ≤
            ξ
            ≤
            1
          
        
      
    
    
      
        (
        2
        )
      
    
  




where {circumflex over (γ)}(ξ)=[{circumflex over (γ)}0(ξ), . . . , {circumflex over (γ)}I-1(ξ)]T is a parametric vector the representation model subspace, and ξ is the “unvoicing” parameter which is zero for a fully voiced spectrum, and one for a fully unvoiced spectrum. Thus {circumflex over (R)}(ω,ξ) defines a two-dimensional surface whose cross sections for each value of ξ give a particular REW magnitude spectrum, which is defined merely by specifying a scalar parameter value.

A simple and practical way for parametric representation of the REW is, for example, by a parametric linear combination of basis functions, such as polynomials with parametric coefficients, namely: 



  
    
      
        
          
            
              R
              ^
            
            ⁡
            
              (
              
                ω
                ,
                ξ
              
              )
            
          
          =
          
            
              ∑
              
                ι
                =
                0
              
              
                I
                -
                1
              
            
            ⁢
            
              
                
                  
                    γ
                    ^
                  
                  ι
                
                ⁡
                
                  (
                  ξ
                  )
                
              
              ⁢
              
                ω
                t
              
            
          
        
        ,
        
          
            0
            ≤
            ω
            ≤
            π
          
          ;
          
            0
            ≤
            ξ
            ≤
            1
          
        
      
    
    
      
        (
        3
        )
      
    
  




For practical considerations assume that the parametric representation is a piecewise linear function of ξ, and may therefore be represented by a set of N uniformly spaced spectra, as illustrated in FIG. 1.

REW Parametric Vector Quantization

One can observe the similarity between successive REW magnitude spectra, which may suggest a potential gain by VQ of a set of successive REWs. FIG. 2 illustrates a simple parametric VQ system for a vector of REW spectra. The input is an M dimensional vector of REW magnitude spectra,

R(ω)=[R1(ω), R2(ω), . . . , RM(ω)]T  (4)

and the VQ output is an index, j, which determines a quantized parameter vector, {circumflex over (ξ)}:

{circumflex over (ξ)}=[{circumflex over (ξ)}1, {circumflex over (ξ)}2, . . . , {circumflex over (ξ)}M]T  (5)

which parametrically determines a vector of quantized spectra:

{circumflex over (R)}(ω)={circumflex over (R)}(ω,{circumflex over (ξ)})=[{circumflex over (R)}(ω,{circumflex over (ξ)}1), {circumflex over (R)}(ω,{circumflex over (ξ)}2), . . . , {circumflex over (R)}(ω,{circumflex over (ξ)}M)]T  (6)

The encoder searches, in the parameter codebook Cq(ξ), for the parameter vector which minimizes the distortion: 



  
    
      
        
          
            
              
                ξ
                ^
              
              =
              
              ⁢
              
                
                  
                    
                    ⁢
                    argmin
                  
                  
                    ξ
                    ⁢
                    
                      
                    
                    ∈
                    
                      
                        C
                        q
                      
                      ⁡
                      
                        (
                        ξ
                        )
                      
                    
                  
                
                ⁢
                
                  {
                  
                    
                      ∑
                      
                        m
                        =
                        1
                      
                      M
                    
                    ⁢
                    
                      D
                      ⁡
                      
                        (
                        
                          
                            R
                            m
                          
                          ,
                          
                            
                              R
                              ^
                            
                            ⁡
                            
                              (
                              
                                ξ
                                m
                              
                              )
                            
                          
                        
                        )
                      
                    
                  
                  }
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  argmin
                  
                    ξ
                    ∈
                    
                      
                        C
                        q
                      
                      ⁡
                      
                        (
                        ξ
                        )
                      
                    
                  
                
                ⁢
                
                  {
                  
                    
                      ∑
                      
                        m
                        =
                        1
                      
                      M
                    
                    ⁢
                    
                      
                        ∫
                        0
                        π
                      
                      ⁢
                      
                        
                          
                            
                            
                              
                                
                                  R
                                  m
                                
                                ⁡
                                
                                  (
                                  ω
                                  )
                                
                              
                              -
                              
                                
                                  R
                                  ^
                                
                                ⁡
                                
                                  (
                                  
                                    ω
                                    ,
                                    
                                      ξ
                                      m
                                    
                                  
                                  )
                                
                              
                            
                            
                          
                          2
                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          d
                          ω
                        
                      
                    
                  
                  }
                
              
            
          
        
      
    
    
      
        (
        7
        )
      
    
  




For example, suppose the input REW magnitude is represented by an I-th dimensional vector of function coefficients, γ, given by:

γ=[γ0, γ1, . . . , γI-1]T  (8)

For a set of M input REWs, each is of which represented by a vector of polynomial coefficients, γm, which form a P×M input coefficient matrix, Γ:

Γ=[γ1, γ2, . . . , γM]  (9)

The inverse VQ output is a vector of M quantized REWs, which form the quantized function coefficient matrix:

{circumflex over (Γ)}({circumflex over (ξ)})=[{circumflex over (γ)}({circumflex over (ξ)}1),{circumflex over (γ)}({circumflex over (ξ)}2), . . . , {circumflex over (γ)}({circumflex over (ε)}M)]  (10)

which is used by the decoder to compute the quantized spectra.

A. Quantization Using Orthonormal Functions
Orthonormal functions, such as polynomials, may be used for efficient quantization of the REW; see W. B. Kleijn, et al., (1996), IEEE ICASSP'96, pp. 212–215; Y. Shoham, (1997), IEEE ICASSP'97, pp. 1599–1602; Y. Shoham, (1999), International Journal of Speech Technology, Kluwer Academic Publishers, pp. 329–341. Consider REW magnitude, R(ω), represented by a linear combination of orthonormal functions, ψi(ω): 



  
    
      
        
          
            R
            ⁡
            
              (
              ω
              )
            
          
          =
          
            
              ∑
              
                ι
                =
                0
              
              
                I
                -
                1
              
            
            ⁢
            
              
                γ
                ι
              
              ⁢
              
                
                  ψ
                  ι
                
                ⁡
                
                  (
                  ω
                  )
                
              
            
          
        
        ,
        
          0
          ≤
          ω
          ≤
          π
        
      
    
    
      
        (
        11
        )
      
    
  




which is modeled using the parametric representation: 



  
    
      
        
          
            
              R
              ^
            
            ⁡
            
              (
              
                ω
                ,
                ξ
              
              )
            
          
          =
          
            
              ∑
              
                ι
                =
                0
              
              
                I
                -
                1
              
            
            ⁢
            
              
                
                  
                    γ
                    ^
                  
                  ι
                
                ⁡
                
                  (
                  ξ
                  )
                
              
              ⁢
              
                
                  ψ
                  ι
                
                ⁡
                
                  (
                  ω
                  )
                
              
            
          
        
        ,
        
          
            0
            ≤
            ω
            ≤
            π
          
          ;
          
            0
            ≤
            ξ
            ≤
            1
          
        
      
    
    
      
        (
        12
        )
      
    
  




The quantized REW parameter is then given by: 



  
    
      
        
          
            
              
                ξ
                ^
              
              =
              
              ⁢
              
                
                  
                    
                    ⁢
                    argmin
                  
                  
                    ξ
                    ⁢
                    
                      
                    
                    ∈
                    
                      
                        C
                        q
                      
                      ⁡
                      
                        (
                        ξ
                        )
                      
                    
                  
                
                ⁢
                
                  {
                  
                    
                      ∫
                      0
                      π
                    
                    ⁢
                    
                      
                        
                          
                          
                            
                              R
                              ⁡
                              
                                (
                                ω
                                )
                              
                            
                            -
                            
                              
                                R
                                ^
                              
                              ⁡
                              
                                (
                                
                                  ω
                                  ,
                                  ξ
                                
                                )
                              
                            
                          
                          
                        
                        2
                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        d
                        ω
                      
                    
                  
                  }
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  argmin
                  
                    ξ
                    ∈
                    
                      
                        C
                        q
                      
                      ⁡
                      
                        (
                        ξ
                        )
                      
                    
                  
                
                ⁢
                
                  {
                  
                    
                      ∑
                      
                        ι
                        =
                        0
                      
                      
                        I
                        -
                        1
                      
                    
                    ⁢
                    
                      
                        (
                        
                          
                            γ
                            ι
                          
                          -
                          
                            
                              
                                γ
                                ^
                              
                              ι
                            
                            ⁡
                            
                              (
                              ξ
                              )
                            
                          
                        
                        )
                      
                      2
                    
                  
                  }
                
              
            
          
        
      
    
    
      
        (
        13
        )
      
    
  




In VQ case, the quantized parameter vector is given by: 



  
    
      
        
          
            
              
                ξ
                ^
              
              =
              
              ⁢
              
                
                  
                    
                    ⁢
                    argmin
                  
                  
                    ξ
                    ⁢
                    
                      
                    
                    ∈
                    
                      
                        C
                        q
                      
                      ⁡
                      
                        (
                        ξ
                        )
                      
                    
                  
                
                ⁢
                
                  {
                  
                    
                      ∑
                      
                        m
                        =
                        1
                      
                      M
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      D
                      ⁡
                      
                        (
                        
                          
                            R
                            m
                          
                          ,
                          
                            
                              R
                              ^
                            
                            ⁡
                            
                              (
                              
                                ξ
                                m
                              
                              )
                            
                          
                        
                        )
                      
                    
                  
                  }
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  argmin
                  
                    ξ
                    ∈
                    
                      
                        C
                        q
                      
                      ⁡
                      
                        (
                        ξ
                        )
                      
                    
                  
                
                ⁢
                
                  {
                  
                    
                      ∑
                      
                        m
                        =
                        1
                      
                      M
                    
                    ⁢
                    
                      
                        
                        
                          
                            γ
                            m
                          
                          -
                          
                            
                              γ
                              ^
                            
                            ⁡
                            
                              (
                              
                                ξ
                                m
                              
                              )
                            
                          
                        
                        
                      
                      2
                    
                  
                  }
                
              
            
          
        
      
    
    
      
        (
        14
        )
      
    
  




B. Piecewise Linear Parametric Representation
In order to have a simple representation that is computationally efficient and avoids excessive memory requirements, we model the two dimensional surface by a piecewise linear parametric representation. Therefore, we introduce a set of N uniformly spaced spectra, {{circumflex over (R)}(ω,{circumflex over (ξ)}n}n=0N-1. Then the parametric surface is defined by linear interpolation according t: 



  
    
      
        
          
            
              
                R
                ^
              
              ⁡
              
                (
                
                  ω
                  ,
                  ξ
                
                )
              
            
            =
            
              
                
                  (
                  
                    1
                    -
                    α
                  
                  )
                
                ⁢
                
                  
                    R
                    ^
                  
                  ⁡
                  
                    (
                    
                      ω
                      ,
                      
                        
                          ξ
                          ^
                        
                        
                          n
                          -
                          1
                        
                      
                    
                    )
                  
                
              
              +
              
                α
                ⁢
                
                  
                
                ⁢
                
                  
                    R
                    ^
                  
                  ⁡
                  
                    (
                    
                      ω
                      ,
                      
                        
                          ξ
                          ^
                        
                        n
                      
                    
                    )
                  
                
              
            
          
          ;
        
        ⁢
        
          

        
        ⁢
        
          
            
              
                ξ
                ^
              
              
                n
                -
                1
              
            
            ≤
            ξ
            ≤
            
              
                ξ
                ^
              
              n
            
          
          ;
          
            α
            =
            
              
                ξ
                -
                
                  
                    ξ
                    ^
                  
                  
                    n
                    -
                    1
                  
                
              
              Δ
            
          
          ;
          
            Δ
            =
            
              
                
                  ξ
                  ^
                
                n
              
              -
              
                
                  ξ
                  ^
                
                
                  n
                  -
                  1
                
              
            
          
        
      
    
    
      
        (
        15
        )
      
    
  




Because this representation is linear, the coefficients of {circumflex over (R)}(ω,ξ) are linear combinations of the coefficients of {circumflex over (R)}(ω,{circumflex over (ξ)}n−1) and {circumflex over (R)}(ω,{circumflex over (ξ)}n). Hence,

{circumflex over (γ)}(ξ)=(1−α){circumflex over (γ)}n−1+α{circumflex over (γ)}n   (16)

where {circumflex over (γ)}n is the coefficient vector of the n-th REW magnitude function representation:

{circumflex over (γ)}n={circumflex over (γ)}({circumflex over (ξ)}n)  (17)

In this case, the distortion may be interpolated by: 



  
    
      
        
          
            
              
                
                  D
                  ⁡
                  
                    (
                    
                      R
                      ,
                      
                        
                          R
                          ^
                        
                        ⁡
                        
                          (
                          ξ
                          )
                        
                      
                    
                    )
                  
                
                )
              
              =
              
              ⁢
              
                
                  ∫
                  0
                  π
                
                ⁢
                
                  
                  
                    
                      R
                      ⁡
                      
                        (
                        ω
                        )
                      
                    
                    -
                    
                      
                        (
                        
                          1
                          -
                          α
                        
                        )
                      
                      ⁢
                      
                        
                          R
                          ^
                        
                        ⁡
                        
                          (
                          
                            ω
                            ,
                            
                              
                                ξ
                                ^
                              
                              
                                n
                                -
                                1
                              
                            
                          
                          )
                        
                      
                    
                    ⁢
                    
                      
                    
                    -
                  
                
              
            
          
        
        
          
            
              
              ⁢
              
                α
                ⁢
                
                  
                
                ⁢
                
                  
                    R
                    ^
                  
                  ⁡
                  
                    (
                    
                      ω
                      ,
                      
                        
                          ξ
                          ^
                        
                        n
                      
                    
                    )
                  
                
                ⁢
                
                  
                    
                    2
                  
                  ⁢
                  
                    d
                    ω
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  
                  
                    γ
                    -
                    
                      
                        (
                        
                          1
                          -
                          α
                        
                        )
                      
                      ⁢
                      
                        
                          γ
                          ^
                        
                        
                          n
                          -
                          1
                        
                      
                    
                    -
                    
                      α
                      ⁢
                      
                        
                          γ
                          ^
                        
                        n
                      
                    
                  
                  
                
                2
              
            
          
        
      
    
    
      
        (
        18
        )
      
    
  




The above can be easily generalized to the parameter VQ case. The optimal interpolation factor that minimizes the distortion between two representation vectors is given by: 



  
    
      
        
          α
          opt
        
        =
        
          
            
              
                (
                
                  
                    
                      γ
                      ^
                    
                    n
                  
                  -
                  
                    
                      γ
                      ^
                    
                    
                      n
                      -
                      1
                    
                  
                
                )
              
              T
            
            ⁢
            
              (
              
                γ
                -
                
                  
                    γ
                    ^
                  
                  
                    n
                    -
                    1
                  
                
              
              )
            
          
          
            
              
              
                
                  
                    γ
                    ^
                  
                  n
                
                -
                
                  
                    γ
                    ^
                  
                  
                    n
                    -
                    1
                  
                
              
              
            
            2
          
        
      
    
    
      
        (
        19
        )
      
    
  




and the respective optimal parameter value, which is a continuous variable between zero and one, is given by:

ξ(γ)=(1−αopt){circumflex over (ξ)}n−1+αopt{circumflex over (ξ)}n  (20)

This result allows a rapid search for the best unvoicing parameter value needed to transform the coefficient vector to a scalar parameter, followed by the corresponding quantization scheme, as described in the section 4.

C. Weighted Distortion Quantization
Commonly in speech coding, the magnitude is quantized using weighted distortion measure. In this case the quantized REW parameter is then given by: 



  
    
      
        
          ξ
          ^
        
        =
        
          
            argmin
            
              ξ
              ∈
              
                
                  C
                  q
                
                ⁡
                
                  (
                  ξ
                  )
                
              
            
          
          ⁢
          
            {
            
              
                ∫
                0
                π
              
              ⁢
              
                
                  
                    
                    
                      
                        R
                        ⁡
                        
                          (
                          ω
                          )
                        
                      
                      -
                      
                        
                          R
                          ^
                        
                        ⁡
                        
                          (
                          
                            ω
                            ,
                            ξ
                          
                          )
                        
                      
                    
                    
                  
                  2
                
                ⁢
                
                  W
                  ⁡
                  
                    (
                    ω
                    )
                  
                
                ⁢
                
                  
                
                ⁢
                
                  d
                  ω
                
              
            
            }
          
        
      
    
    
      
        (
        21
        )
      
    
  




and the orthonormal function simplification, given in equation (13), cannot be used. In this case, the weighted distortion between the input and the parametric representation modeled spectra is equal to: 



  
    
      
        
          
            
              
                
                  D
                  w
                
                ⁡
                
                  (
                  
                    R
                    ,
                    
                      
                        R
                        ^
                      
                      ⁡
                      
                        (
                        ξ
                        )
                      
                    
                  
                  )
                
              
              =
              
              ⁢
              
                
                  ∫
                  0
                  π
                
                ⁢
                
                  
                    
                      
                      
                        
                          R
                          ⁡
                          
                            (
                            ω
                            )
                          
                        
                        -
                        
                          
                            R
                            ^
                          
                          ⁡
                          
                            (
                            
                              ω
                              ,
                              ξ
                            
                            )
                          
                        
                      
                      
                    
                    2
                  
                  ⁢
                  
                    W
                    ⁡
                    
                      (
                      ω
                      )
                    
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    d
                    ω
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  
                    (
                    
                      γ
                      -
                      
                        
                          γ
                          ^
                        
                        ⁡
                        
                          (
                          ξ
                          )
                        
                      
                    
                    )
                  
                  T
                
                ⁢
                
                  Ψ
                  ⁡
                  
                    (
                    
                      W
                      ⁡
                      
                        (
                        ω
                        )
                      
                    
                    )
                  
                
                ⁢
                
                  (
                  
                    γ
                    -
                    
                      
                        γ
                        ^
                      
                      ⁡
                      
                        (
                        ξ
                        )
                      
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        22
        )
      
    
  




where Ψ(W(ω)) is the weighted correlation matrix of the orthonormal functions, its elements are: 



  
    
      
        
          
            
              Ψ
              
                i
                ,
                j
              
            
            ⁡
            
              (
              
                W
                ⁡
                
                  (
                  ω
                  )
                
              
              )
            
          
          =
          
            
              ∫
              0
              π
            
            ⁢
            
              
                W
                ⁡
                
                  (
                  ω
                  )
                
              
              ⁢
              
                
                  ψ
                  ι
                
                ⁡
                
                  (
                  ω
                  )
                
              
              ⁢
              
                
                  ψ
                  j
                
                ⁡
                
                  (
                  ω
                  )
                
              
              ⁢
              
                
              
              ⁢
              
                d
                ω
              
            
          
        
        ,
      
    
    
      
        (
        23
        )
      
    
  




γ is the input coefficient vectors, and {circumflex over (γ)}(ξ) is the modeled parametric coefficient vector. In VQ case, the quantized parameter vector is given by: 



  
    
      
        
          
            
              
                ξ
                ^
              
              =
              
              ⁢
              
                
                  argmin
                  
                    ξ
                    ∈
                    
                      
                        C
                        q
                      
                      ⁡
                      
                        (
                        ξ
                        )
                      
                    
                  
                
                ⁢
                
                  {
                  
                    
                      ∑
                      
                        m
                        =
                        1
                      
                      M
                    
                    ⁢
                    
                      
                        D
                        w
                      
                      ⁡
                      
                        (
                        
                          
                            R
                            m
                          
                          ,
                          
                            
                              R
                              ^
                            
                            ⁡
                            
                              (
                              
                                ξ
                                m
                              
                              )
                            
                          
                        
                        )
                      
                    
                  
                  }
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  argmin
                  
                    ξ
                    ∈
                    
                      
                        C
                        q
                      
                      ⁡
                      
                        (
                        ξ
                        )
                      
                    
                  
                
                ⁢
                
                  {
                  
                    
                      ∑
                      
                        m
                        =
                        1
                      
                      M
                    
                    ⁢
                    
                      
                        
                          (
                          
                            
                              γ
                              m
                            
                            -
                            
                              
                                γ
                                ^
                              
                              ⁡
                              
                                (
                                
                                  ξ
                                  m
                                
                                )
                              
                            
                          
                          )
                        
                        T
                      
                      ⁢
                      
                        Ψ
                        ⁡
                        
                          (
                          
                            
                              W
                              m
                            
                            ⁡
                            
                              (
                              ω
                              )
                            
                          
                          )
                        
                      
                      ⁢
                      
                        (
                        
                          
                            γ
                            m
                          
                          -
                          
                            
                              γ
                              ^
                            
                            ⁡
                            
                              (
                              
                                ξ
                                m
                              
                              )
                            
                          
                        
                        )
                      
                    
                  
                  }
                
              
            
          
        
      
    
    
      
        (
        24
        )
      
    
  




D. Weighted Distortion—Piecewise Linear Parametric Representation
Again, for practical considerations assume that the parametric representation is piecewise linear, and may be represented by a set of N spectra, {{circumflex over (R)}(ω,{circumflex over (ξ)}n)}n=0N−1. For the piecewise linear representation, the interpolated quantized coefficient vector is: 



  
    
      
        
          
            
              γ
              ^
            
            ⁡
            
              (
              ξ
              )
            
          
          -
          
            
              (
              
                1
                -
                α
              
              )
            
            ⁢
            
              
                γ
                ^
              
              
                n
                -
                1
              
            
          
          +
          
            α
            ⁢
            
              
                γ
                ^
              
              n
            
          
        
        ;
        
          
            
              ξ
              ^
            
            
              n
              -
              1
            
          
          ≤
          ξ
          ≤
          
            
              ξ
              ^
            
            n
          
        
        ;
        
          α
          =
          
            
              ξ
              -
              
                
                  ξ
                  ^
                
                
                  n
                  -
                  1
                
              
            
            
              
                
                  ξ
                  ^
                
                n
              
              -
              
                
                  ξ
                  ^
                
                
                  n
                  -
                  1
                
              
            
          
        
      
    
    
      
        (
        25
        )
      
    
  




In the case where parameter VQ is employed, the interpolation allows for a substantial simplification of the search computations. In this case, the distortion can be interpolated:

Dw(R,{circumflex over (R)}(ξ))=(γ−(1−α){circumflex over (γ)}n−1−α{circumflex over (γ)}n)TΨ(W(ω))(γ−(1−α){circumflex over (γ)}n−1−α{circumflex over (γ)}n)=γTΨγ+(1−α)2{circumflex over (γ)}n−1TΨ{circumflex over (γ)}n−1+α{circumflex over (γ)}nTΨ{circumflex over (γ)}n−2(1−α)γTΨ{circumflex over (γ)}n−1−2αγTΨ{circumflex over (γ)}n+2α(1−α){circumflex over (γ)}n−1Ψ{circumflex over (γ)}n  (26)

Note that no benefit is obtained here by using orthonormal functions, therefore any function representation may be used. The above can be easily generalized to the parameter VQ case. The optimal parameter that minimizes the spectrally weighted distortion between two representation vectors is given by: 



  
    
      
        
          α
          opt
        
        =
        
          
            
              
                (
                
                  
                    
                      γ
                      ^
                    
                    n
                  
                  -
                  
                    
                      γ
                      ^
                    
                    
                      n
                      -
                      1
                    
                  
                
                )
              
              T
            
            ⁢
            
              Ψ
              ⁡
              
                (
                
                  γ
                  -
                  
                    
                      γ
                      ^
                    
                    
                      n
                      -
                      1
                    
                  
                
                )
              
            
          
          
            
              
                (
                
                  
                    
                      γ
                      ^
                    
                    n
                  
                  -
                  
                    
                      γ
                      ^
                    
                    
                      n
                      -
                      1
                    
                  
                
                )
              
              T
            
            ⁢
            
              Ψ
              ⁡
              
                (
                
                  
                    
                      γ
                      ^
                    
                    n
                  
                  -
                  
                    
                      γ
                      ^
                    
                    
                      n
                      -
                      1
                    
                  
                
                )
              
            
          
        
      
    
    
      
        (
        27
        )
      
    
  




and the respective optimal parameter value, which is a continuous variable between zero and one, is given by equation (20). This result allows a rapid search for the best unvoicing parameter value needed to transform the coefficient vector to a scalar parameter, for encoding or for VQ design. Alternatively, in order to eliminate using the matrix ψ, the scalar product may redefined to incorporate the time-varying spectral weighting. The respective orthonormal basis functions then satisfy: 



  
    
      
        
          
            ∫
            0
            π
          
          ⁢
          
            
              W
              ⁡
              
                (
                ω
                )
              
            
            ⁢
            
              
                ψ
                ι
              
              ⁡
              
                (
                ω
                )
              
            
            ⁢
            
              
                ψ
                j
              
              ⁡
              
                (
                ω
                )
              
            
            ⁢
            
              
            
            ⁢
            
              d
              ω
            
          
        
        =
        
          δ
          ⁡
          
            (
            
              i
              -
              j
            
            )
          
        
      
    
    
      
        (
        28
        )
      
    
  




where δ(i−j) denotes Kroneker delta. The respective parameter vector is given by: 



  
    
      
        γ
        =
        
          
            ∫
            0
            π
          
          ⁢
          
            
              W
              ⁡
              
                (
                ω
                )
              
            
            ⁢
            
              R
              ⁡
              
                (
                ω
                )
              
            
            ⁢
            
              ψ
              ⁡
              
                (
                ω
                )
              
            
            ⁢
            
              
            
            ⁢
            
              d
              ω
            
          
        
      
    
    
      
        (
        29
        )
      
    
  




where ψ(ω)=[ψ0, ψ1, . . . , ψI-1]T is an I-th dimensional vector of time-varying orthonormal functions.

REW Parameter Analysis-By-Synthesis VQ

This section presents the AbS VQ paradigm for the REW parameter. The first presentation is a system which quantizes the REW parameter by employing spectral based AbS. Then simplified systems, which apply AbS to the REW parameter, are presented.
A. REW Parameter Quantization by Magnitude AbS VQ
The novel Analysis-by-Synthesis (AbS) REW parameter VQ technique is illustrated in FIG. 3. An excitation vector ĉij(m) (m=1; . . . , M) is selected from the VQ codebook and is fed through a synthesis filter to obtain a parameter vector {circumflex over (ξ)}(m) (synthesized quantized) which is then mapped to quantized a representation coefficient vectors {circumflex over (γ)}({circumflex over (ξ)}(m)). This is compared with a sequence of input representation coefficient vectors γ(m) and each is spectrally weighted. Each spectrally weighted error is then temporally weighted, and a distortion measure is obtained. A search through all candidate excitation vectors determines an optimal choice. The synthesis filter in FIG. 3 can be viewed as a first order predictor in a feedback loop. (While shown here is an auto-regressive synthesis filter, in other arrangements moving-average (MA) synthesis filter may be used.) By allowing the value of the predictor parameter P to change, it becomes a “switched-predictor” scheme. Switched-prediction is introduced to allow for different levels of REW parameter correlation.
The scheme incorporates both spectral weighting and temporal weighting. The spectral weighting is used for the distortion between each pair of input and the quantized spectra. In order to improve SEW/REW mixing, particularly in mixed voiced and unvoiced speech segments, and to increase speech crispness, especially for plosives and onsets, temporal weighting is incorporated in the AbS REW VQ. The temporal weighting is a monotonic function of the temporal gain. Two codebooks are used, and each codebook has an associated predictor coefficient, P1 and P2. The quantization target is an M-dimensional vector of REW spectra. Each REW spectrum is represented by a vector of basis function coefficients denoted by γ(m). The search for the minimal WMSE is performed over all the vectors, ĉij (m), of the two codebooks for i=1, 2. The quantized REW function coefficients vector, {circumflex over (γ)}({circumflex over (ξ)}(m)), is a function of the quantized parameter {circumflex over (ξ)}(m), which is obtained by passing the quantized vector, ĉij(m), through the synthesis filter. The weighted distortion between each pair of input and quantized REW spectra is calculated. The total distortion is a temporally-weighted sum of the M spectrally weighted distortions. Since the predictor coefficients are known, direct VQ can be used to simplify the computations. For a piecewise linear parametric REW representation, a substantial simplification of the search computations may be obtained by interpolating the distortion between the representation spectra set, as explained in sections 3.B. and 3.D.
A sequence of quantized parameter, such as ĉ(k), is formed by concatenating successive quantized vectors, such as {ĉij(m)}m=1M. The quantized parameter is computed recursively by:

{circumflex over (ξ)}(k)=P(k){circumflex over (ξ)}(k−1)+ĉ(k)  (30)

where k is the time index of the coded waveform.

B. Simplified REW Parameter AbS VQ
The above scheme maps each quantized parameter to coefficient vector, which is used to compute the spectral distortion. To reduce complexity, such mapping, and spectral distortion computation, which contribute to the complexity of the scheme, may be eliminated by using the simplified scheme described below. For a high rate, and a smooth representation surface {circumflex over (R)}(ω,ξ), the total distortion is equal to the sum of modeling distortion and quantization distortion: 



  
    
      
        
          
            
              
                
                  ∑
                  
                    m
                    =
                    1
                  
                  M
                
                ⁢
                
                  
                
                ⁢
                
                  
                    D
                    w
                  
                  ⁡
                  
                    (
                    
                      
                        R
                        ⁡
                        
                          (
                          m
                          )
                        
                      
                      ,
                      
                        
                          R
                          ^
                        
                        ⁡
                        
                          (
                          
                            ξ
                            ⁡
                            
                              (
                              m
                              )
                            
                          
                          )
                        
                      
                    
                    )
                  
                
              
              =
              
              ⁢
              
                
                  
                    ∑
                    
                      m
                      =
                      1
                    
                    M
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      D
                      w
                    
                    ⁡
                    
                      (
                      
                        
                          R
                          ⁡
                          
                            (
                            m
                            )
                          
                        
                        ,
                        
                          
                            R
                            ^
                          
                          ⁡
                          
                            (
                            
                              ξ
                              ⁡
                              
                                (
                                m
                                )
                              
                            
                            )
                          
                        
                      
                      )
                    
                  
                
                +
              
            
          
        
        
          
            
              
              ⁢
              
                
                  ∑
                  
                    m
                    =
                    1
                  
                  M
                
                ⁢
                
                  
                
                ⁢
                
                  
                    D
                    w
                  
                  ⁡
                  
                    (
                    
                      
                        
                          R
                          ^
                        
                        ⁡
                        
                          (
                          
                            ξ
                            ⁡
                            
                              (
                              m
                              )
                            
                          
                          )
                        
                      
                      ,
                      
                        
                          R
                          ^
                        
                        ⁡
                        
                          (
                          
                            
                              ξ
                              ^
                            
                            ⁡
                            
                              (
                              m
                              )
                            
                          
                          )
                        
                      
                    
                    )
                  
                
              
            
          
        
      
    
    
      
        (
        31
        )
      
    
  




The quantization distortion is related to the quantized parameter by: 



  
    
      
        
          
            ∑
            
              m
              =
              1
            
            M
          
          ⁢
          
            
          
          ⁢
          
            
              D
              w
            
            ⁡
            
              (
              
                
                  
                    R
                    ^
                  
                  ⁡
                  
                    (
                    
                      ξ
                      ⁡
                      
                        (
                        m
                        )
                      
                    
                    )
                  
                
                ,
                
                  
                    R
                    ^
                  
                  ⁡
                  
                    (
                    
                      
                        ξ
                        ^
                      
                      ⁡
                      
                        (
                        m
                        )
                      
                    
                    )
                  
                
              
              )
            
          
        
        =
        
          
            ∑
            
              m
              =
              1
            
            M
          
          ⁢
          
            
          
          ⁢
          
            
              
                (
                
                  
                    
                      γ
                      ^
                    
                    ⁡
                    
                      (
                      
                        
                          ξ
                          ^
                        
                        ⁡
                        
                          (
                          m
                          )
                        
                      
                      )
                    
                  
                  -
                  
                    
                      γ
                      ^
                    
                    ⁡
                    
                      (
                      
                        ξ
                        ⁡
                        
                          (
                          m
                          )
                        
                      
                      )
                    
                  
                
                )
              
              T
            
            ⁢
            
              Ψ
              ⁡
              
                (
                
                  W
                  ⁡
                  
                    (
                    m
                    )
                  
                
                )
              
            
            ⁢
            
              (
              
                
                  
                    γ
                    ^
                  
                  ⁡
                  
                    (
                    
                      ξ
                      ⁡
                      
                        (
                        m
                        )
                      
                    
                    )
                  
                
                -
                
                  
                    γ
                    ^
                  
                  ⁡
                  
                    (
                    
                      
                        ξ
                        ^
                      
                      ⁡
                      
                        (
                        m
                        )
                      
                    
                    )
                  
                
              
              )
            
          
        
      
    
    
      
        (
        32
        )
      
    
  




which, for the piecewise linear representation case, is equal to 



  
    
      
        
          
            ∑
            
              m
              =
              1
            
            M
          
          ⁢
          
            
          
          ⁢
          
            
              D
              w
            
            ⁡
            
              (
              
                
                  
                    R
                    ^
                  
                  ⁡
                  
                    (
                    
                      ξ
                      ⁡
                      
                        (
                        m
                        )
                      
                    
                    )
                  
                
                ,
                
                  
                    R
                    ^
                  
                  ⁡
                  
                    (
                    
                      
                        ξ
                        ^
                      
                      ⁡
                      
                        (
                        m
                        )
                      
                    
                    )
                  
                
              
              )
            
          
        
        =
        
          
            1
            
              
                Δ
                2
              
              ⁢
              
                
              
            
          
          ⁢
          
            
              ∑
              
                m
                =
                1
              
              M
            
            ⁢
            
              
                
                  (
                  
                    
                      
                        
                          γ
                          ^
                        
                        n
                      
                      ⁡
                      
                        (
                        
                          ξ
                          ⁡
                          
                            (
                            m
                            )
                          
                        
                        )
                      
                    
                    -
                    
                      
                        
                          γ
                          ^
                        
                        
                          n
                          -
                          1
                        
                      
                      ⁡
                      
                        (
                        
                          ξ
                          ⁡
                          
                            (
                            m
                            )
                          
                        
                        )
                      
                    
                  
                  )
                
                T
              
              ⁢
              
                Ψ
                ⁡
                
                  (
                  
                    W
                    ⁡
                    
                      (
                      m
                      )
                    
                  
                  )
                
              
              ⁢
              
                
              
              ⁢
              
                (
                
                  
                    
                      
                        γ
                        ^
                      
                      n
                    
                    ⁡
                    
                      (
                      
                        ξ
                        ⁡
                        
                          (
                          m
                          )
                        
                      
                      )
                    
                  
                  -
                  
                    
                  
                  ⁢
                  
                    

                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      
                        γ
                        ^
                      
                      
                        n
                        -
                        1
                      
                    
                    ⁡
                    
                      (
                      
                        ξ
                        ⁡
                        
                          (
                          m
                          )
                        
                      
                      )
                    
                  
                
                )
              
              ⁢
              
                
                  (
                  
                    
                      ξ
                      ⁡
                      
                        (
                        m
                        )
                      
                    
                    -
                    
                      
                        ξ
                        ^
                      
                      ⁡
                      
                        (
                        m
                        )
                      
                    
                  
                  )
                
                2
              
            
          
        
      
    
    
      
        (
        33
        )
      
    
  




which is linearly related to the REW parameter squared quantization error, (ξ(m)−{circumflex over (ξ)}(m))2 and, therefore, justifies direct VQ of the REW parameter.

B.1. Simplified REW Parameter AbS VQ—Non Weighted Distortion
FIG. 4 illustrates a simplified AbS VQ for the REW parametric representation. The encoder maps the REW magnitude to an unvoicing REW parameter, and then quantizes the parameter by AbS VQ. Initially, the magnitudes of the M REWs in the frame are mapped to coefficient vectors, {γ(m)}m=1M. Then, for each coefficient vector, a search is performed to find the optimal representation parameter, ξ(γ), using equation (20), to form an M-dimensional parameter vector for the current frame, {ξ(γ(m))}m=1M. Finally, the parameter vector is encoded by AbS VQ. The decoded spectra, {{circumflex over (R)}(ω,{circumflex over (ξ)}(m))}m=1M, are obtained from the quantized parameter vector, {{circumflex over (ξ)}(m)}m=1M, using equation (15). This scheme allows for higher temporal, as well as spectral REW resolution, compared to the common method described in W. B. Kleijn, et al, IEEE ICASSP'95, pp. 508–511 (1995), since no downsampling is performed, and the continuous parameter is vector quantized in AbS.
B.2. Simplified REW Parameter AbS VQ—Weighted Distortion
The simplified quantization scheme is improved to incorporate spectral and temporal weightings, as illustrated in FIG. 5. The REW parameter vector is first mapped to REW parameter by minimizing a distortion, which is weighted by the coefficient spectral weighting matrix Ψ, as described in section 3.D. Then, the resulted REW parameter is used to compute a weighting, ws(ξ(m)), which we choose to be the spectral sensitivity to the REW parameter squared quantization error, (ξ(m)−{circumflex over (ξ)}(m))2, given by: 



  
    
      
        
          
            w
            s
          
          ⁡
          
            (
            
              ξ
              ⁡
              
                (
                m
                )
              
            
            )
          
        
        =
        
          
            
              (
              
                
                  ∂
                  
                    γ
                    ^
                  
                
                
                  ∂
                  ξ
                
              
              )
            
            T
          
          ⁢
          
            
              Ψ
              ⁡
              
                (
                
                  
                    ∂
                    
                      γ
                      ^
                    
                  
                  
                    ∂
                    ξ
                  
                
                )
              
            
            
              
              
                ξ
                ⁡
                
                  (
                  m
                  )
                
              
            
          
        
      
    
    
      
        (
        34
        )
      
    
  




For the piecewise linear representation case, using equation (33), the following equation is obtained: 



  
    
      
        
          
            
              
                
                  w
                  s
                
                ⁡
                
                  (
                  
                    ξ
                    ⁡
                    
                      (
                      m
                      )
                    
                  
                  )
                
              
              =
              
              ⁢
              
                
                  
                    (
                    
                      
                        ∂
                        
                          γ
                          ^
                        
                      
                      
                        ∂
                        ξ
                      
                    
                    )
                  
                  T
                
                ⁢
                
                  
                    Ψ
                    ⁡
                    
                      (
                      
                        
                          ∂
                          
                            γ
                            ^
                          
                        
                        
                          ∂
                          ξ
                        
                      
                      )
                    
                  
                  
                    
                    
                      ξ
                      ⁡
                      
                        (
                        m
                        )
                      
                    
                  
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  1
                  
                    Δ
                    2
                  
                
                ⁢
                
                  
                    (
                    
                      
                        
                          
                            γ
                            ^
                          
                          n
                        
                        ⁡
                        
                          (
                          
                            ξ
                            ⁡
                            
                              (
                              m
                              )
                            
                          
                          )
                        
                      
                      -
                      
                        
                          
                            γ
                            ^
                          
                          
                            n
                            -
                            1
                          
                        
                        ⁡
                        
                          (
                          
                            ξ
                            ⁡
                            
                              (
                              m
                              )
                            
                          
                          )
                        
                      
                    
                    )
                  
                  T
                
                ⁢
                Ψ
                ⁢
                
                  
                
                ⁢
                
                  (
                  
                    W
                    ⁡
                    
                      (
                      m
                      )
                    
                  
                  )
                
                ⁢
                
                  (
                  
                    
                      
                        
                          γ
                          ^
                        
                        n
                      
                      ⁡
                      
                        (
                        
                          ξ
                          ⁡
                          
                            (
                            m
                            )
                          
                        
                        )
                      
                    
                    -
                  
                
              
            
          
        
        
          
            
              
              ⁢
              
                
                  
                    
                      γ
                      ^
                    
                    
                      n
                      -
                      1
                    
                  
                  ⁡
                  
                    (
                    
                      ξ
                      ⁡
                      
                        (
                        m
                        )
                      
                    
                    )
                  
                
                )
              
            
          
        
      
    
    
      
        (
        35
        )
      
    
  




The above derivative can be easily computed off line. Additionally, a temporal weighting, in form of monotonic function of the gain, denoted by wt(g(m)), is used to give relatively large weight to waveforms with larger gain values. The AbS REW parameter quantization is computed by minimizing the combined spectrally and temporally weighted distortion: 



  
    
      
        
          D
          ⁡
          
            (
            
              
                
                  {
                  
                    ξ
                    ⁡
                    
                      (
                      m
                      )
                    
                  
                  }
                
                
                  m
                  =
                  1
                
                M
              
              ,
              
                
                  {
                  
                    
                      ξ
                      ^
                    
                    ⁡
                    
                      (
                      m
                      )
                    
                  
                  }
                
                
                  m
                  =
                  1
                
                M
              
            
            )
          
        
        =
        
          
            ∑
            
              m
              =
              1
            
            M
          
          ⁢
          
            
              
                w
                t
              
              ⁡
              
                (
                
                  g
                  ⁡
                  
                    (
                    m
                    )
                  
                
                )
              
            
            ⁢
            
              
                w
                s
              
              ⁡
              
                (
                
                  ξ
                  ⁡
                  
                    (
                    m
                    )
                  
                
                )
              
            
            ⁢
            
              
                (
                
                  
                    ξ
                    ⁡
                    
                      (
                      m
                      )
                    
                  
                  -
                  
                    
                      ξ
                      ^
                    
                    ⁡
                    
                      (
                      m
                      )
                    
                  
                
                )
              
              2
            
          
        
      
    
    
      
        (
        36
        )
      
    
  




The weighted distortion scheme improves the reconstructed speech quality, most notably in mixed voiced and unvoiced speech segments. This may be explained by an improvement in REW/SEW mixing.

Dual Predictive AbS SEW Quantization

FIG. 6 illustrates a Dual Predictive SEW AbS VQ scheme which uses two observables, (a) the quantized REW, and (b) the past quantized SEW, to jointly predict the current SEW. Although we refer to the operator on each observable as a “predictor”, in fact both are components of a single optimized estimator. The SEW and the REW are complex random vectors, and their sum is a residual vector having elements whose magnitudes have a mean value of unity. In low bit-rate WI coding, the relation between the SEW and the REW magnitudes was approximated by computing the magnitude of one as the unity complement of the other. Suppose |{circumflex over (r)}M| denotes the spectral magnitude vector of the last quantized REW in the current frame. An “implied” SEW vector, is calculated by:

|ŜM,implied|=1−|{circumflex over (r)}M|  (37)

and from which the mean vector is removed. Vectors whose means are removed are denoted with an apostrophe. Then, a (mean-removed) estimated “implied” SEW magnitude vector, |{tilde over (s)}′M,implied|, is computed using a diagonal estimation matrix PREW,

|{tilde over (s)}′M,implied|=PREW|ŝ′M,implied|  (38)

Additionally, a “self-predicted” SEW vector is computed by multiplying the delayed quantized SEW vector, |ŝ′0|, by a diagonal prediction matrix PSEW. The predicted (mean-removed) SEW vector, |{tilde over (s)}′M|, is given by:

|{tilde over (S)}′M|=PREW|ŝ′M,implied|+PSEW|ŝ′0|  (39)

The quantized vector, ĉM, is determined by an AbS search according to:

ĉMargmin{(|s′M|−|{tilde over (s)}′M|−c1)TWM(|s′M|−|{tilde over (s)}′M|−ci)}  (40)

where WM is the diagonal spectral weighting matrix; see O. Gottesman, (1999), IEEE ICASSP'99, vol. 1:269–272; O. Gottesman and A. Gersho, (1999), IEEE Speech Coding Workshop, pp. 90–92, Finland; O. Gottesman and A. Gersho,(1999), EUROSPEECH'99, pp. 1443–1446, Hungary. The (mean-removed) quantized SEW magnitude, |ŝ′M|, is the sum of the predicted SEW vector, |{tilde over (s)}′M|, and the codevector ĉM:

|ŝ′M|=|{tilde over (s)}′M|+ĉM  (41)

In order to exploit the information about the pitch and voicing level, the possible pitch range was partitioned into six subintervals, and the REW parameter range into three. Also, eighteen codebooks were generated, one for each pair of pitch range and unvoicing range. Each codebook has associated two mean vectors, and two diagonal prediction matrices. To improve the coder robustness and the synthesis smoothness, the cluster used for the training of each codebook overlaps with those of the codebooks for neighboring ranges. Since each quantized target vector may have a different value of the removed mean, the quantized mean is added temporarily to the filter memory after the state update, and the next quantized vector's mean is subtracted from it before filtering is performed.
The output weighted SNR, and the mean-removed weighted SNR, of the scheme are illustrated in FIG. 7. Evidently, a very high SNR is achieved with a relatively small number of bits. The weighted SNR of each codebook, for the 9-bit case, is illustrated in FIG. 8. The differences in SNR between three REW parameter ranges is dominated by the different means. The respective mean-removed weighted SNR of each codebook is illustrated in FIG. 9. Within each voicing range the differences in SNR between each pitch range are mainly due to the number of bit per vector sample, which decreases as the number of harmonics increases, and to the prediction gain.
Examples for the two predictors for three REW parameter ranges are illustrated in FIG. 10. For voiced segment the SEW predictor is dominant, whereas the REW predictor is less important since its input variations in this range are very small. As the voicing decreases, the SEW predictor decreases, and the REW predictor becomes more dominant at the lower part of the spectrum. Both predictors decrease as the voicing decreases from the intermediate range to the unvoiced range.
Bit Allocation
The bit allocation for the 2.8 kbps EWI coder is given in Table 1. The frame length is 20 ms, and ten waveforms are extracted per frame. The line spectral frequencies (LSFs) are coded using predictive MSVQ, having two stages of 10 bit each, a 2-bit increase compared to the past version of our code; see O. Gottesman and A. Gersho, (1999), IEEE Speech Coding Workshop, pp. 90–92, Finland; O. Gottesman and A. Gersho,(1999), EUROSPEECH'99, pp. 1443–1446, Hungary. The 10-th dimensional log-gain vector is quantized using 9 bit AbS VQ; The pitch is coded twice per frame. A fixed SEW phase was trained for each one of the eighteen pitch-voicing ranges; see O. Gottesman, (1999), IEEE ICASSP'99, vol. 1:269–272.











TABLE 1







Parameter
Bits/Frame
Bits/second









LPC
20 
1000 



Pitch
2 × 6 = 12
600



Gain
9
450



SEW magnitude
8
400



REW magnitude
7
350



Total
56 
2800 










Subjective Results

A subjective A/B test was conducted to compare the 2.8 kbps EWI coder of this invention to G.723.1. The test data included 24 modified intermediate reference system (M-IRS) filtered speech sentences, 12 of which are of female speakers, and 12 of male speakers; see ITU-T, (1996),“Recommendation P.830, Subjective Performance Assessment of Telephone Band and Wideband Digital Codecs”, Annex D, ITU, Geneva. Twelve listeners participated in the test. The test results, listed in Table 2 and Table 3, indicate that the subjective quality of the 2.8 kbps EWI exceeds that of G.723.1 at 5.3 kbps, and it is slightly better than that of G.723. 1 at 6.3 kbps. The EWI preference is higher for male than for female speakers.












TABLE 2








2.8 kbps
5.3 kbps
No



Test
WI
G.723.1
Preference









Female
40.28%
33.33%
26.39%



Male
48.61%
24.31%
27.08%



Total
44.44%
28.82%
26.74%










Table 2 shows the results of subjective A/B test for comparison between the 2.8 kbps EWI coder to 5.3 kbps G.723.1. With 95% certainty the result lies within +/−5.53%.













TABLE 3








2.8 kbps
6.3 kbps
No



Test
WI
G.723.1
Preference









Female
38.19%
36.81%
25.00%



Male
43.06%
31.94%
25.00%



Total
40.63%
34.38%
25.00%










Table 3 shows the results of subjective A/B test for comparison between the 2.8 kbps EWI coder to 6.3 kbps G.723.1. With 95% certainty the result lies within +/−5.59%.

It should, of course, be noted that while the present invention has been described in terms of an illustrative embodiment, other arrangements will be apparent to those of ordinary skills in the art. For example;

1. While in the disclosed embodiment in FIG. 3 have described auto-regressive (AR) synthesis filter, in other arrangements moving-average (MA) filter may be used.
2. While in the disclosed embodiment was related to waveform interpolative speech coding, in other arrangements it may be used in other coding schemes.
3. While in the disclosed embodiment temporal weighting, and/or spectral weighting are described, they are optional, and in other arrangements any or both of them may not be used.
4. While in the disclosed embodiment switch prediction having two predictors is described, in other arrangements no switch, or more than two predictor choice may be used.
5. While in the disclosed embodiment illustrated in FIG. 6 mean vectors are subtracted from the vector, this may be viewed as optional, and in other arrangements any or all of such mean vectors may not be used.
6. While in the disclosed embodiment the pitch range and/or the voicing parameter values were partitioned into subranges, and codebooks were used for each subrange, this may be viewed as optional, and in other arrangements any or all of such subranges may not be used, or other number or type of subranges may be used.
7. While in the disclosed embodiment describes prediction matrices were diagonal, in other arrangements non diagonal prediction matrices may be used.
The following references are each incorporated herein by reference: B. S. Atal, and M. R. Schroeder, “Stochastic Coding of Speech at Very Low Bit Rate”, Proc. Int. Conf. Comm, Amsterdam, pp. 1610–1613,1984; I. S. Burnett, and D. H. Pham, “Multi-Prototype Waveform Coding using Frame-by-Frame Analysis-by-Synthesis”, IEEE ICASSP'97, pp. 1567–1570, 1997; I. S. Burnett, and G. J. Bradley, “New Techniques for Multi-Prototype Waveform Coding at 2.84 kb/s”, IEEE ICASSP'95, pp. 261–263, 1995; I. S. Burnett, and G. J. Bradley, “Low Complexity Decomposition and Coding of Prototype Waveforms”, IEEE Workshop on Speech Coding for Telecommunications, pp. 23–24, 1995; I. S. Burnett, and R. J. Holbeche, “A Mixed Prototype Waveform/Celp Coder for Sub 3 kb/s”, IEEE ICASSP'93, Vol. II, pp. 175–178,1993; O. Gottesman, “Enhanced Waveform Interpolative Coder”, Patent Cooperation Treaty—International Application—Request, U.S. Ser. Nos. 60/110,522 and 60/110,641, UC Case No.: 98–312–3, 2000; O. Gottesman, “Dispersion Phase Vector Quantization for Enhancement of Waveform Interpolative Coder”, IEEE ICASSP'99, vol. 1, pp. 269–272, 1999; O. Gottesman and A. Gersho, “Enhanced Analysis-by-Synthesis Waveform Interpolative Coding at 4 kbps”, EUROSPEECH'99, pp. 1443–1446, 1999, Hungary; O. Gottesman and A. Gersho, “Enhanced Waveform Interpolative Coding at 4 kbps”, IEEE Speech Coding Workshop, pp. 90–92, 1999, Finland; O. Gottesman and A. Gersho, “High Quality Enhanced Waveform Interpolative Coding at 2.8 kbps”, submitted to IEEE ICASSP'2000, Istanbul, Turkey, June 2000; D. Griffin, and J. S. Lim, “Multiband Excitation Vocoder”, IEEE Trans. ASSP, Vol. 36, No. 8, pp. 1223–1235, August 1988; ITU-T, “Recommendation P.830, Subjective Performance Assessment of Telephone Band and Wideband Digital Codecs”, Annex D, ITU, Geneva, February 1996; W. B. Kleijn, Y. Shoham, D. Sen, and R. Haagen, “A Low-Complexity Waveform Interpolation Coder”, IEEE ICASSP'96, pp. 212–215,1996; W. B. Kleijn, and J. Haagen, “A Speech Coder Based on Decomposition of Characteristic Waveforms”, IEEE ICASSP'95, pp. 508–511, 1995; W. B. Kleijn, and J. Haagen, “Waveform Interpolation for Coding and Synthesis”, in Speech Coding Synthesis by W. B. Klein and K. K. Paliwal, Elsevier Science B. V., Chapter 5, pp. 175–207,1995; W. B. Kleijn, and J. Haagen, “Transformation and Decomposition of The Speech Signal for Coding”, IEEE Signal Processing Letters, Vol. 1, No. 9, pp. 136–138, 1994; W. B. Kleijn, “Encoding Speech Using Prototype Waveforms”, IEEE Trans. Speech and Audio Processing, Vol. 1, No. 4, pp. 386–399, October 1993; W. B. Kleijn, “Continuous Representations in Linear Predictive Coding”, IEEE ICASSP'91, pp. 201–203,1991; R. J. McAulay, and T. F. Quatieri, “Sinusoidal Coding”, in Speech Coding Synthesis by W B. Kleijn and K. K. Paliwal, Elsevier Science B. V., Chapter 4, pp. 121–173, 1995; Y. Shoham, “Very Low Complexity Interpolative Speech Coding at 1.2 to 2.4 kbps”, IEEE ICASSP'97, pp. 1599–1602, 1997; Y. Shoham, “Low-Complexity Speech Coding at 1.2 to 2.4 kbps Based on Waveform Interpolation”, International Journal of Speech Technology, Kluwer Academic Publishers, pp. 329–341, May 1999; and Y. Shoham, “High Quality Speech Coding at 2.4 to 4.0 kbps Based on Time-Frequency-lnterpolation”, IEEE ICASSP'93, Vol. 11, pp. 167–170, 1993.

## Claims

1. A method for interpolative coding input signals, said signals decomposed into or composed of a slowly evolving waveform and a rapidly evolving waveform having a magnitude, the method incorporating at least one of the following steps:
(a) analysis-by-synthesis vector quantization of the rapidly evolving waveform parameter;
(b) parametrizing the magnitude of the rapidly evolving waveform;
(c) incorporating temporal weighting in the AbS VQ of the REW; or
(d) incorporating spectral weighting in the AbS VQ of the REW;
the method either (1) applying a filter to a vector quantizer codebook in the analysis-by-synthesis vector-quantization of the rapidly evolving waveform whereby to add self correlation to the codebook vectors or (2) using a coder in which a plurality of bits therein are allocated to the rapidly evolving waveform magnitude.

2. The method of claim 1 further comprising analysis-by-synthesis vector quantization of the slowly evolving waveform.

3. The method of claim 1 wherein said signal is speech.

4. The method of claim 1 wherein said method incorporates each of steps (a) through (c).

5. A method for interpolative coding input signals, said signals decomposed into or composed of a slowly evolving waveform and a rapidly evolving waveform having a magnitude, comprising:
(a) analysis-by-synthesis vector quantization of the rapidly evolving waveform parameter;
(b) analysis-by-synthesis quantization of the slowly evolving waveform;
(c) parametrizing the magnitude of the rapidly evolving waveform;
(d) incorporating temporal weighting in the analysis-by-synthesis vector quantization of the rapidly evolving waveform; and
(e) incorporating spectral weighting in the analysis-by-synthesis vector quantization of the rapidly evolving waveform
the method either (1) applying a filter to a vector guantizer codebook in the analysis-by-synthesis vector-quantization of the rapidly evolving waveform whereby to add self correlation to the codebook vectors or (2) using a coder in which a plurality of bits therein are allocated to the rapidly evolving waveform magnitude.

6. The method of claim 5 in which in the step of analysis-by-synthesis of a first vector-quantization of the slowly evolving waveform is predicted based on the vector quantization of the rapidly evolving waveform and a second vector quantization of the slowly evolving waveform.

7. A method for interpolative coding input signals, said signals decomposed into or composed of a rapidly evolving waveform, comprising incorporating analysis-by-synthesis vector quantization of the rapidly evolving waveform parameter, the method either (1) applying a filter to a vector guantizer codebook in the analysis-by-synthesis vector-quantization of the rapidly evolving waveform whereby to add self correlation to the codebook vectors or (2) using a coder in which a plurality of bits therein are allocated to the rapidly evolving waveform magnitude.

8. A speech coding system using waveform interpolation comprising at least one of the following steps:
(a) analysis-by-synthesis vector quantization of a rapidly evolving waveform parameter;
(b) parametrizing a magnitude of a rapidly evolving waveform;
(c) incorporating temporal weighting in the AbS VQ of the REW; or
(d) incorporating spectral weighting in the AbS VQ of the REW;
the method either (1) applying a filter to a vector quantizer codebook in the analysis-by-synthesis vector-quantization of the rapidly evolving waveform whereby to add self correlation to the codebook vectors or (2) using a coder in which a plurality of bits therein are allocated to the rapidly evolving waveform magnitude.