WO2001029825A1 - Variable bit-rate celp coding of speech with phonetic classification - Google Patents

Variable bit-rate celp coding of speech with phonetic classification Download PDF

Info

Publication number
WO2001029825A1
WO2001029825A1 PCT/US2000/040725 US0040725W WO0129825A1 WO 2001029825 A1 WO2001029825 A1 WO 2001029825A1 US 0040725 W US0040725 W US 0040725W WO 0129825 A1 WO0129825 A1 WO 0129825A1
Authority
WO
WIPO (PCT)
Prior art keywords
speech
subframe
category
parameters
lag
Prior art date
Application number
PCT/US2000/040725
Other languages
French (fr)
Other versions
WO2001029825B1 (en
Inventor
Shihua Wang
Original Assignee
Atmel Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Atmel Corporation filed Critical Atmel Corporation
Priority to EP00969029A priority Critical patent/EP1224662B1/en
Priority to JP2001532535A priority patent/JP2003512654A/en
Priority to CA002382575A priority patent/CA2382575A1/en
Priority to DE60006271T priority patent/DE60006271T2/en
Priority to KR1020027005003A priority patent/KR20020052191A/en
Publication of WO2001029825A1 publication Critical patent/WO2001029825A1/en
Publication of WO2001029825B1 publication Critical patent/WO2001029825B1/en
Priority to NO20021865A priority patent/NO20021865D0/en
Priority to HK03100316.4A priority patent/HK1048187B/en

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/08Determination or coding of the excitation function; Determination or coding of the long-term prediction parameters
    • G10L19/12Determination or coding of the excitation function; Determination or coding of the long-term prediction parameters the excitation function being a code excitation, e.g. in code excited linear prediction [CELP] vocoders
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/93Discriminating between voiced and unvoiced parts of speech signals

Definitions

  • the present invention relates generally to speech analysis and more particularly to an efficient coding scheme for compressing speech.
  • Speech coding technology has advanced tremendously in recent years. Speech coders in wire and wireless telephony standards such as G.729, G.723 and the emerging GSM AMR have demonstrated very good quality at a rate of about 8 kbps and lower. The U.S. Federal Standard coder further shows that good quality synthesized speech can be achieved at rates as low as 2.4 kbps.
  • the speech encoding method of the present invention is based on analysis-by-synthesis and includes sampling a speech input to produce a stream of speech samples.
  • the samples are grouped into a first set of groups (frames) .
  • Linear predictive coding (LPC) coeffi- cients for a speech synthesis filter are computed from an analysis of the frames.
  • the speech samples are further grouped into a second set of groups (subframes) . These subframes are analyzed to produce coded speech.
  • Each subframe is categorized into an unvoiced, voiced or onset category. Based on the category, a certain coding scheme is selected to encode the speech sample comprising the group. Thus, for unvoiced speech a gain/shape encoding scheme is used.
  • a multi-pulse modeling technique is employed. For voiced speech, a further determination is made based on the pitch frequency of such speech. For low pitch frequency voiced speech, encoding is accomplished by the computation of a long term predictor plus a single pulse. For high pitch frequency voiced speech, the encoding is based on a series of pulses spaced apart by a pitch period.
  • Fig. 1 is a high level block diagram of the processing elements in accordance with the invention.
  • Fig. 2 is a flow chart showing the computational steps of the invention.
  • Figs . 3A and 3B show the subframe overlapping for some of the computations shown in Fig. 2.
  • Fig. 4 is a flow chart of the processing steps for LTP analysis.
  • Figs . 5-7 show the various coding schemes of the invention.
  • Fig. 8 is a flow chart of the decoding process.
  • Fig. 9 is a block diagram of the decoding scheme for unvoiced excitation.
  • Fig. 10 is a block diagram of the decoding scheme for onset excitation.
  • a high level conceptual block diagram of the speech encoder 100 of the present invention shows an A/D converter 102 for receiving an input speech signal.
  • the A/D is a 16-bit converter with a sampling rate of 8000 samples per second, thus producing a stream of samples 104.
  • a 32-bit decoder (or a lower resolution decoder) can be used of course, but a 16-bit word size was deemed to provide adequate resolution.
  • the desired resolution will vary depending on cost considerations and desired performance levels.
  • the samples are grouped into frames and further into subframes.
  • Frames of size 256 samples, representing 32 mS of speech feed into a linear predictive coding (LPC) block 122 along path 108, and also feed into a long term prediction (LTP) analysis block 115 along path 107.
  • LPC linear predictive coding
  • LTP long term prediction
  • each frame is divided into four subframes of 64 samples each which feed into a segmentation block 112 along path 106.
  • the encoding scheme of the present invention therefore, occurs on a frame-by- frame basis and at the subframe level .
  • LPC block 122 produces filter coefficients 132 which are quantized 137 and which define the parameters of a speech synthesis filter 136. A set of coefficients is produced for each frame.
  • the LTP analysis block 115 analyzes the pitch value of the input speech and produces pitch pre- diction coefficients which are supplied to the voiced excitation coding scheme block 118.
  • Segmentation block 112 operates on a per subframe basis. Based on an analysis of a subframe, the segmentation block operates selec- tors 162 and 164 to select one of three excitation coding schemes 114 - 118 by which the subframe is coded to produce an excitation signal 134.
  • the three excitation coding schemes MPE (Onset excitation coding) 114, Gain/Shape VQ (unvoiced excitation coding) 116, and voiced excitation coding 118 will be explained in further detail below.
  • the excitation signal feeds into synthesis filter 136 to produce synthesized speech 138.
  • the synthesized speech is combined with the speech samples 104 by a summer 142 to produce an error signal 144.
  • the error signal feeds into a perceptual weighting filter 146 to produce a weighted error signal which then feeds into an error minimization block 148.
  • An output 152 of the error minimization block drives the subsequent adjustment of the excitation signal 134 to minimize the error.
  • the excitation signal is encoded.
  • the filter coefficients 132 and the encoded excitation signal 134 are then combined by a combining circuit 182 into a bitstream.
  • the bitstream can then be stored in memory for later decoding, or sent to a remote decoding unit.
  • Processing begins with an LPC analysis 202 of the sampled input speech 104 on a frame-by-frame basis.
  • LPC analysis 202 is performed on input speech s(n) using an autocorrelation method for each subframe comprising a frame.
  • the analysis window is set at 192 samples (three subframes wide) and is aligned with the center of each subframe. Truncation of the input samples to the desired 192 sample size is accomplished by the known technique of a Hamming window operator. Referring to Fig.
  • processing of the first subframe in a current frame includes the fourth subframe of the preceding frame.
  • processing the fourth subframe of a current frame includes the first subframe of the succeeding frame. This overlap across frames occurs by virtue of the three-subframe width of the processing window.
  • the autocorrelation function is expressed as :
  • the resulting autocorrelation vector is then subjected to bandwidth expansion, which involves multi- plying the autocorrelation vector with a vector of constants .
  • Bandwidth expansion serves to widen the bandwidth of forments and reduces bandwidth under- estimation.
  • a shaped noise correction vector is applied to the autocorrelation vector. This is as opposed to a white-noise correction vector used in other coders (such as G.729) which is equivalent to adding a noise floor at the speech spec- trum.
  • the noise correction vector has a V-shaped envelope and is scaled by the first element of the autocorrelation vector. The operation is shown in Eqn. 2:
  • the noise correction vector corresponds to a rolling off shape spectrum, which means that the spectrum that has a roll-off at higher frequencies.
  • Combining this spectrum with the original speech spectrum in the manner expressed in Eqn. 2 has the desired effect of reducing the spectrum dynamic range of the original speech and has the added benefit of not raising the noise floor at the higher frequencies.
  • the spectra of the troublesome nasal sounds and sine tones can be extracted with greater accuracy, and the resulting coded speech will not contain undesirable audible high frequency noise due to the addition of a noise floor.
  • the prediction coefficients (filter coefficients) for synthesis filter 136 are recursively computed according to the known Durbin recursive algorithm, expressed by Eqn. 3:
  • a set of prediction coefficients which constitute the LPC vector is produced for each subframe in the current frame.
  • reflection coefficients (RC for the fourth subframe are generated, and a value indicating the spectral flatness (sfn) of the frame is produced.
  • the indicator sfn E (Np) / R 0 is the normalized prediction error derived from Eqn. 3.
  • the next step in the process is LPC quantization, step 204, of the LPC vector. This is performed once per frame, on the fourth subframe of each frame. The operation is made on the LPC vector of the fourth subframe in reflection coefficient format. First, the reflection coefficient vector is converted into the log area ratio (LAR) domain.
  • LAR log area ratio
  • the converted vector is then split into first and second subvectors.
  • the components of the first subvector are quantized by a set of non-uniform scalar quantizers.
  • the second subvector is sent to a vector quantizer having a codebook size of 256.
  • the scalar quantizer requires less complexity in terms of computation and ROM requirements, but consumes more bits as compared to vector quantization.
  • the vector quantizer can achieve higher coding efficiency at the price of increased complexity in the hardware.
  • SD average spectral distortion
  • the resulting codebook only requires 1.25 K words of storage.
  • the prediction coefficients are updated only once per frame (every 32 mS) .
  • this update rate is not sufficient to maintain a smooth transition of the LPC spectrum trajec- tory from frame to frame.
  • a linear interpolation of the prediction coefficients, step 206 is applied in the LAR domain to assure stability in synthesis filter 136.
  • the LAR vector is converted back to prediction coefficient format for direct form filtering by the filter, step 208.
  • the next step shown in Fig. 2 is a long term prediction (LTP) analysis for estimating the pitch value of the input speech within two subframes in an open loop fashion, step 210.
  • the analysis is performed twice per frame, once at the first subframe and again at the third subframe using a window size of 256 samples which is four subframes wide.
  • the analysis window is centered at the end of the first subframe and thus includes the fourth subframe of the preceding frame.
  • the analysis window is centered at the end of the third subframe and thus includes the first subframe of the succeeding frame.
  • Figure 4 shows the data flow for the LTP analysis step.
  • Input speech samples are either processed directly or pre-processed through an inverse filter 402, depending on the spectral flatness indicator (sfn) computed in the LPC analysis step.
  • Switch 401 which handles this selection will be discussed below.
  • a cross correlation operation 404 is performed followed by a refinement operation 406 of the cross correlation result.
  • a pitch estimation 408 is made, and pitch prediction coefficients are produced in block 410 for use in the perceptual weighting filter 146.
  • the LPC inverse filter is an FIR filter whose coefficients are the unquantized LPC coefficients computed for the subframe for which the LPC analysis is being performed, namely subframe 1 or subframe 3.
  • An LPC residual signal res (n) is produced by the filter in accordance with Eqn. 4:
  • sltp[] is a buffer containing the sampled speech.
  • the input to the cross correlation block 404 is the LPC residual signal.
  • the LPC prediction gain is quite high. Consequently, the fundamental frequency is almost entirely removed by the LPC inverse filter so that the resulting pitch pulses are very weak or altogether absent in the residual signal.
  • switch 401 feeds either the LPC residual signal or the input speech samples themselves to the cross correlation block 404. The switch is operated based on the value of the spectral flatness indicator (sfn) previously computed in step 202.
  • the threshold value is empirically selected to be 0.017 as shown in Fig. 4.
  • the cross correlation function 404 is defined as :
  • the cross correlation function is refined through an up-sampling filter and a local maximum search procedure, 406.
  • the up-sampling filter is a 5-tap FIR with a 4x increased sampling rate, as defined in Eqn. 6:
  • the local maximum is then selected in each interpolated region around the original integer values to replace the previously computed cross correlation vector:
  • a pitch estimation procedure 408 is performed on the refined cross correlation function to determine the open-loop pitch lag value Lag.
  • the cross correlation function is divided into three regions, each covering pitch lag values 20 - 40 (region 1 corresponding to 400 Hz - 200 Hz), 40 - 80 (region 2, 200 Hz - 100 Hz), and 80 - 126 (region 3, 100 Hz - 63 Hz).
  • a local maximum of each region is determined, and the best pitch candidate among the three local maxima is selected as lag v , with preference given to the smaller lag values. In the case of unvoiced speech, this constitutes the open-loop pitch lag estimate Lag for the subframe.
  • a refinement of the initial pitch lag estimate is made.
  • the refinement in effect smooths the local pitch trajectory relative to the current subframe thus providing the basis for a more accurate estimate of the open-loop pitch lag value.
  • the three local maxima are compared to the pitch lag value (lag p ) determined for the previous subframe, the closest of the maxima being identified as lag h . If lag h is equal to the initial pitch lag estimate then the initial pitch estimate is used. Otherwise, a pitch value which results in a smooth pitch trajectory is determined as the final open-loop pitch estimate based on the pitch lag values lag v , lag h , lag p and their cross correlations.
  • the following C language code fragment summarizes the process. The limits used in the decision points are determined empirically:
  • step 210) is the pitch prediction block 410 which is executed to obtain a 3-tap pitch predictor filter based on the computed open-loop pitch lag value Lag using a covariance computation technique.
  • the following matrix equation is used to compute the pitch prediction coefficients cov[i], i - 0, 1, 2 which will be used in the perceptual weighting step below (step 218) :
  • step 212 the next step is to compute the energy (power) in the subframe, step 212.
  • the equation for the subframe energy (Pn) is:
  • the input speech is then categorized on a subframe basis into an unvoiced, voiced or onset category in the speech segmentation, step 216.
  • the categorization is based on various factors including the subframe power computed in step 212 (Eqn. 9), the power gradient computed in step 214 (Eqn. 10) , a subframe zero crossing rate, the first reflection coefficient (RC ⁇ of the subframe, and the cross correlation function corresponding to the pitch lag value previously computed in step 210.
  • ZC The zero crossing rate
  • the first reflection coefficient (RC1) is the normalized autocorrelation of the input speech at a unit sample delay in the range (1, -1) .
  • This parameter is available from the LPC analysis of step 202. It measures the spectral tilt over the entire pass band. For most voiced sounds, the spectral envelope decreases with frequency and the first reflection coefficient will be close to one, while unvoiced speech tends to have a flat envelope and the first reflection coefficient will be close to or less than zero.
  • the cross correlation function (CCF) corresponding to the computed pitch lag value of step 210 is the main indicator of periodicity of the speech input. When its value is close to one, the speech is very likely to be voiced. A smaller value indicates more randomness in the speech, which is characteristic of unvoiced sound.
  • step 216 the following decision tree is executed to determine the speech category of the subframe, based on the above-comp ted five factors Pn, EG, ZC, RC1 and CCF.
  • the threshold values used in the decision tree were determined heuristically .
  • the decision tree is represented by the following code fragment written in the C programming language:
  • unvoiced category voicing ⁇ - 1 voiced category: voicing ⁇ - 2 onset category: voicing ⁇ - 3
  • the next step is a perceptual weighting to take into account the limitations of human hearing, step 218.
  • the distortions perceived by the human ear are not necessarily correlated to the distortion measured by the mean square error criterion often used in the coding parameter selection.
  • a perceptual weighting is carried out on each subframe using two filters in cascade.
  • the first filter is a spectral weighting filter defined by:
  • a x are the quantized prediction coefficients for the subframe; ⁇ N and ⁇ D are empirically determined scaling factors 0.9 and 0.4 respectively.
  • the second filter is a harmonic weighting filter defined by:
  • a target signal r[n] for subsequent excitation coding is obtained.
  • a zero input response (ZIR) to the cascaded triple filter com- prising synthesis filter 1/A(z), the spectral weighting filter W (z), and the harmonic weighting filter W h (z) is determined.
  • the synthesis filter is defined as: A ( Z) aq ⁇
  • aq 1 is the quantized LPC coefficients for that subframe.
  • the ZIR is then subtracted from a perceptually weighted input speech.
  • Fig. 5 shows a slightly modified version of the conceptual block diagram of Fig. 1, reflecting certain changes imposed by implementation considerations .
  • the perceptual weighting filter 546 is placed further upstream in the processing, prior to summation block 542.
  • the input speech s [n] is filtered through perceptual filter 546 to produce a weighted signal, from which the zero input response 520 is subtracted in summation unit 522 to produce the target signal r[n] .
  • This signal feeds into error minimization block 148.
  • the details of the processing which goes on in the error minimization block will be discussed in connection with each of the coding schemes .
  • the subframe is coded using one of three coding schemes, steps 232, 234 and 236.
  • FIG. 5 shows the configuration in which the coding scheme (116) for unvoiced speech has been selected.
  • the coding scheme is a gain/shape vector quantization scheme.
  • the excitation signal is defined as: g - fcb . [n] Eqn. 15
  • g is the gain value of gain unit 520
  • fcb x is the i th vector selected from a shape codebook 510.
  • the shape codebook 510 consists of sixteen 64-element shape vectors generated from a Gaussian random sequence.
  • the error minimization block 148 selects the best candidate from among the 16 shape vectors in an analysis-by-synthesis procedure by taking each vector from shape codebook 510, scaling it through gain element 520, and filtering it through the synthesis filter 136 and perceptual filter 546 to produce a synthesized speech vector sq[n] .
  • the shape vector which maximizes the following term is se- lected as the excitation vector for the unvoiced subframe :
  • the gain g is computed by:
  • the gain is encoded through a 4-bit scalar quantizer combined with a differential coding scheme using a set of Huffman codes. If the subframe is the first unvoiced subframe encountered, the index of the quantized gain is used directly. Otherwise, a difference between the gain indices for the current subframe and the previous subframe is computed and represented by one of eight Huffman codes.
  • the Huffman code table is: index delta Huffman code
  • the average code length for coding the unvoiced excitation gain is 1.68.
  • onset speech segments During onset, the speech tends to have a sudden energy surge and is weakly correlated with the signal from the previous subframe.
  • Npulse is the number of pulses
  • Amp[i] is the amplitude of the i th pulse
  • n. is the location of the i th pulse.
  • the error minimization block 148 examines only the even-numbered samples of the subframe. The first sample is selected which minimizes: ⁇ [ r [n] -Amp [ 0 ] - h [n- -_] ] Eqn. 18a
  • r[n] is the target signal and h[n] is the impulse response 610 of the cascade filter H(z) .
  • the corresponding amplitude is computed by: r ⁇ h n
  • the synthesized speech signal sq[n] is produced using the excitation signal, which at this point comprises a single pulse of a given amplitude.
  • the synthesized speech is subtracted from the original target signal r[n] to produce a new target signal.
  • the new target signal is subjected to Eqns. 18a and 18b to deter- mine a second pulse. The procedure is repeated until the desired number of pulses is obtained, in this case four. After all the pulses are determined, a Cholesky decomposition method is applied to jointly optimize the amplitudes of the pulses and improve the accuracy of the exci- tation approximation.
  • the location of a pulse in a subframe of 64 samples can be encoded using five bits. However, depending on the speed and space requirements, a trade-off between coding rate and data ROM space for a look-up table may improve coding efficiencies.
  • the pulse amplitudes are sorted in descending order of their absolute values and normalized with respect to the largest of the absolute values and quantized with five bits. A sign bit is associated with each absolute value. Refer now to Fig. 7 for voiced speech.
  • the subframe is considered to be low-pitched sound and selector 730 selects the output of model 710, otherwise the sound is deemed to be high-pitched and the excitation signal 134 is determined based on model 720.
  • a third order predictor 712, 714 is used to predict the current excitation from the previous subframe ' s excitation.
  • a single pulse 716 is then added at the location where a further improvement to the excitation approximation can be achieved.
  • the previous excitation is extracted from an adaptive codebook (ACB) 712.
  • ACB adaptive codebook
  • the excitation signal defined by model 720 consists of a pulse train defined by:
  • the model parameters are determined by one of two analysis-by-synthesis loops, depending on the closed- loop pitch lag value Lag.
  • the closed loop pitch Lag CL for the even-numbered subframes is determined by inspecting the pitch trajectory locally centered about the open-loop Lag computed as part of step 210 (in the range Lag-2 to Lag+2) .
  • the corresponding vector in adaptive codebook 712 is filtered through H(z) .
  • the cross correlation between the filtered vector and target signal r[n] is computed.
  • the lag value which produces the maximum cross correlation value is selected as the closed loop pitch lag Lag CL .
  • the Lag CL value of the previous subframe is selected.
  • the 3-tap pitch prediction coefficients ⁇ ⁇ are computed using Eqn. 8 and Lag CL as the lag value.
  • the computed coefficients are then vector quantized and combined with a vector selected from adap- tive codebook 712 to produce an initial predicted excitation vector.
  • the initial excitation vector is filtered through H(z) and subtracted from input target r[n] to produce a second input target r' [n] .
  • a single pulse n 0 is selected from the even-numbered samples in the subframe, as well as the pulse amplitude Amp.
  • Lag CL parameters for modeling high-pitched voiced segments are computed.
  • the model parameters are the pulse spacing Lag CL , the location n 0 of the first pulse, and the amplitude Amp for the pulse train.
  • Lag CL is determined by searching a small range around the open-loop pitch lag, [Lag-2, Lag+2]. For each possible lag value in this search range, a pulse train is computed with pulse spacings equal to the lag value.
  • Lag CL and n 0 The combination of lag value and initial location which results in a maximum cross correlation between the shifted and filtered version of the pulse train and the target signal r[n] is selected as Lag CL and n 0 .
  • the corresponding normalized cross correlation value is considered as the pulse train amplitude Amp.
  • the 3-tap predictor coefficients ⁇ 1 are vector quantized with six bits, and the single pulse location is coded with five bits.
  • the amplitude value Amp is coded with five bits: one bit for the sign and four bits for its absolute value.
  • the total number of bits used for the excitation coding of low-pitched segments is 20.5.
  • Lag ⁇ 58 Lag CL is coded with seven bits and is updated on every subframe.
  • the initial location of the pulse train is coded with six bits.
  • the amplitude value Amp is coded with five bits: one bit for the sign and four bits for its absolute value.
  • the total number of bits used for the excitation coding of high-pitched segments is 18.
  • the memory of filters 136 (1/A(z)) and 146(W p (z) and W h (z)) are updated, step 222.
  • adaptive codebook 712 is updated with the newly determined excitation signal for processing of the next subframe.
  • the coding parameters are then output to a storage device or transmitted to a remote decoding unit, step 224.
  • Fig. 8 illustrates the decoding process.
  • the LPC coefficients are decoded for the current frame. Then, depending on the voicing information of each subframe, the decoding of excitation for one of the three speech categories is executed. The synthesized speech is finally obtained by filtering the excitation signal through the LPC synthesis filter.
  • step 802 one frame of codewords is read into the decoder, step 804. Then, the LPC coefficients are decoded, step 806.
  • the step of decoding of LPC (in LAR format) coefficients is in two stages. First, the first five LAR parameters from the LPC scalar quantizer codebooks are decoded:
  • LAR[i] LPCSQTable[i] [rxCodewords ⁇ LPC[i]]
  • the LAR is converted back to prediction coefficients, step 808.
  • the LAR can be converted back to prediction coefficients via two steps. First, the LAR parameters are converted back to reflection coefficients as follows:
  • step 812 it is determined for each subframe into which of the three coding schemes is the subframe to be categorized, as the decoding for each coding scheme is different.
  • the unvoiced excitation is decoded, step 814.
  • the gain of the shape vector is decoded 904 according to whether the subframe is the first un- voiced subframe or not. If it is the first unvoiced subframe, the absolute gain value is decoded directly in the unvoiced gain codebook. Otherwise, the absolute gain value is decoded from the corresponding Huffman code. Finally, the sign information is added to the gain value 906 to produce the excitation signal 908. This can be summarized as follows:
  • Gain_code Gain_code_p + ⁇
  • Gain Gain_sign * UVGAINCBTABLE [Gain_code]
  • ACB_gainq[i] ACBGAINCBTable [rxCodewords .
  • the ACB vector is reconstructed from the ACB state in the same fashion as in described with reference to Fig. 7 above.
  • the norm of the amplitudes 930 which is also the first amplitude, is decoded 932 and combined at multiplication block 944 with the decoded 942 of the rest of the amplitudes 940.
  • the combined signal 945 is combined again 934 with the decoded first amplitude signal 933.
  • the resultant signal 935 is multiplied with the sign 920 at multiplication block 950.
  • the resul- tant amplitude signal 952 is combined with the pulse location signal 960 according to the expression:
  • ex ( i ) Amp [j ] ⁇ ( i - Ipulse [j ] ) Eqn . 23 to produce the excitation vector ex(i) 980. If the subframe is an even number, the lag value in the rxCodewords is also extracted for the use of the following voiced subframe.
  • the synthesis filter, step 820 can be in a direct form as an IIR filter, where the synthesized speech can be expressed as:
  • a lattice filter can be used as the synthesis filter and the LPC quantization table can be stored in RC (Reflection Coefficients) format in the decoder.
  • the lattice filter also has an advantage of being less sensitive to finite precision limitations.
  • step 822 the ACB state is updated for every subframe with the newly computed excitation signal ex[n] to maintain a continuous most recent excitation history.
  • step 824 is the post filtering.
  • the purpose of performing post filtering is to utilize the human masking capability to reduce the quantization noise.
  • the post filter used in the decoder is a cascade of a pole-zero filter and a first order FIR filter: .
  • ai is the decoded prediction coefficients for the subframe.
  • step 826 the number (n) of the subframe loop count is increased by one, step 827, to indicate that one subframe loop has been completed.

Abstract

A speech coding method using analysis-by-synthesis includes sampling an input speech and dividing the resulting speech samples into frames and subframes. The frames are analyzed to determine coefficients for the synthesis filter (136). The subframes are categorized into unvoiced (116), voiced (118) and onset (114) categories. Based on the category, a different coding scheme is used. The coded speech is fed into the synthesis filter (136), the output (138) of which is compared to the input speech samples (104) to produce an error signal (144). The coding is then adjusted per the error signal.

Description

Description
VARIABLE BIT-RATE CELP CODING OF SPEECH WITH PHONETIC CLASSIFICATION
TECHNICAL FIELD OF THE INVENTION
The present invention relates generally to speech analysis and more particularly to an efficient coding scheme for compressing speech.
BACKGROUND ART
Speech coding technology has advanced tremendously in recent years. Speech coders in wire and wireless telephony standards such as G.729, G.723 and the emerging GSM AMR have demonstrated very good quality at a rate of about 8 kbps and lower. The U.S. Federal Standard coder further shows that good quality synthesized speech can be achieved at rates as low as 2.4 kbps.
While these coders fulfill the demand in the rapidly growing telecommunication market, consumer electronics applications are still lacking in adequate speech coders. Typical examples include consumer items such as answering machines, dictation devices and voice organizers. In these applications, the speech coder must pro- vide good quality reproduction in order to gain commercial acceptance, and high compression ratios in order to keep storage requirements of the recorded material to a minimum. On the other hand, interoperability with other coders is not a requirement, since these devices are standalone units. Consequently, there is no need to adhere to a fixed bit rate scheme or to coding delay restrictions .
Therefore a need exists for a low bit rate speech coder capable of providing high quality synthe- sized speech. It is desirable to incorporate the loos- ened restrictions of standalone applications to provide a high quality, low cost coding scheme.
SUMMARY OF THE INVENTION The speech encoding method of the present invention is based on analysis-by-synthesis and includes sampling a speech input to produce a stream of speech samples. The samples are grouped into a first set of groups (frames) . Linear predictive coding (LPC) coeffi- cients for a speech synthesis filter are computed from an analysis of the frames. The speech samples are further grouped into a second set of groups (subframes) . These subframes are analyzed to produce coded speech. Each subframe is categorized into an unvoiced, voiced or onset category. Based on the category, a certain coding scheme is selected to encode the speech sample comprising the group. Thus, for unvoiced speech a gain/shape encoding scheme is used. If the speech is onset speech, a multi-pulse modeling technique is employed. For voiced speech, a further determination is made based on the pitch frequency of such speech. For low pitch frequency voiced speech, encoding is accomplished by the computation of a long term predictor plus a single pulse. For high pitch frequency voiced speech, the encoding is based on a series of pulses spaced apart by a pitch period.
BRIEF DESCRIPTION OF THE DRAWINGS
Fig. 1 is a high level block diagram of the processing elements in accordance with the invention. Fig. 2 is a flow chart showing the computational steps of the invention.
Figs . 3A and 3B show the subframe overlapping for some of the computations shown in Fig. 2.
Fig. 4 is a flow chart of the processing steps for LTP analysis. Figs . 5-7 show the various coding schemes of the invention.
Fig. 8 is a flow chart of the decoding process.
Fig. 9 is a block diagram of the decoding scheme for unvoiced excitation.
Fig. 10 is a block diagram of the decoding scheme for onset excitation.
BEST MODE FOR CARRYING OUT THE INVENTION In Fig. 1, a high level conceptual block diagram of the speech encoder 100 of the present invention shows an A/D converter 102 for receiving an input speech signal. Preferably, the A/D is a 16-bit converter with a sampling rate of 8000 samples per second, thus producing a stream of samples 104. A 32-bit decoder (or a lower resolution decoder) can be used of course, but a 16-bit word size was deemed to provide adequate resolution. The desired resolution will vary depending on cost considerations and desired performance levels. The samples are grouped into frames and further into subframes. Frames of size 256 samples, representing 32 mS of speech, feed into a linear predictive coding (LPC) block 122 along path 108, and also feed into a long term prediction (LTP) analysis block 115 along path 107. In addition, each frame is divided into four subframes of 64 samples each which feed into a segmentation block 112 along path 106. The encoding scheme of the present invention, therefore, occurs on a frame-by- frame basis and at the subframe level . As will be explained in further detail below,
LPC block 122 produces filter coefficients 132 which are quantized 137 and which define the parameters of a speech synthesis filter 136. A set of coefficients is produced for each frame. The LTP analysis block 115 analyzes the pitch value of the input speech and produces pitch pre- diction coefficients which are supplied to the voiced excitation coding scheme block 118. Segmentation block 112 operates on a per subframe basis. Based on an analysis of a subframe, the segmentation block operates selec- tors 162 and 164 to select one of three excitation coding schemes 114 - 118 by which the subframe is coded to produce an excitation signal 134. The three excitation coding schemes, MPE (Onset excitation coding) 114, Gain/Shape VQ (unvoiced excitation coding) 116, and voiced excitation coding 118 will be explained in further detail below. The excitation signal feeds into synthesis filter 136 to produce synthesized speech 138.
In general, the synthesized speech is combined with the speech samples 104 by a summer 142 to produce an error signal 144. The error signal feeds into a perceptual weighting filter 146 to produce a weighted error signal which then feeds into an error minimization block 148. An output 152 of the error minimization block drives the subsequent adjustment of the excitation signal 134 to minimize the error.
When the error is adequately minimized in this analysis-by-synthesis loop, the excitation signal is encoded. The filter coefficients 132 and the encoded excitation signal 134 are then combined by a combining circuit 182 into a bitstream. The bitstream can then be stored in memory for later decoding, or sent to a remote decoding unit.
The description will now turn to a discussion of the encoding process in accordance with the preferred mode of the present invention as illustrated by the flow chart of Fig. 2. Processing begins with an LPC analysis 202 of the sampled input speech 104 on a frame-by-frame basis. In the preferred mode, a 10-th order LPC analysis is performed on input speech s(n) using an autocorrelation method for each subframe comprising a frame. The analysis window is set at 192 samples (three subframes wide) and is aligned with the center of each subframe. Truncation of the input samples to the desired 192 sample size is accomplished by the known technique of a Hamming window operator. Referring to Fig. 3A for a moment, it is noted that processing of the first subframe in a current frame includes the fourth subframe of the preceding frame. Likewise, processing the fourth subframe of a current frame includes the first subframe of the succeeding frame. This overlap across frames occurs by virtue of the three-subframe width of the processing window. The autocorrelation function is expressed as :
R { i ) = __, s { n) s ( n + i ) Eqn. 1 i=0 where Na is 192.
The resulting autocorrelation vector is then subjected to bandwidth expansion, which involves multi- plying the autocorrelation vector with a vector of constants . Bandwidth expansion serves to widen the bandwidth of forments and reduces bandwidth under- estimation.
It has been observed that for some speakers certain nasal speech sounds are characterized by a very wide spectral dynamic range. This is true also for some sine tones in DTMF signals. Consequently, the corresponding speech spectrum exhibits large sharp spectral peaks having very narrow bandwidths, producing undesir- able results from the LPC analysis.
To overcome this aberration, a shaped noise correction vector is applied to the autocorrelation vector. This is as opposed to a white-noise correction vector used in other coders (such as G.729) which is equivalent to adding a noise floor at the speech spec- trum. The noise correction vector has a V-shaped envelope and is scaled by the first element of the autocorrelation vector. The operation is shown in Eqn. 2:
a utolpc [ i ] - autolpc [ i ] +autolpc [ 0 ] - Noiseshape [ i ] Eqn.
where i = Np, ..., 0 and Noiseshape [11] =
{ .002, .0015, .001, .0005,0,0,0, .0005, .001, .0015, .002} .
In the frequency domain, the noise correction vector corresponds to a rolling off shape spectrum, which means that the spectrum that has a roll-off at higher frequencies. Combining this spectrum with the original speech spectrum in the manner expressed in Eqn. 2 has the desired effect of reducing the spectrum dynamic range of the original speech and has the added benefit of not raising the noise floor at the higher frequencies. By scaling the autocorrelation vector with the noise correc- tion vector, the spectra of the troublesome nasal sounds and sine tones can be extracted with greater accuracy, and the resulting coded speech will not contain undesirable audible high frequency noise due to the addition of a noise floor. Finally, for the LPC analysis (step 202), the prediction coefficients (filter coefficients) for synthesis filter 136 are recursively computed according to the known Durbin recursive algorithm, expressed by Eqn. 3:
(U) = R ( 0 )
Figure imgf000007_0001
x (i,=^2; a^1] = a^X ) - k .a^X) ; E (1) = ( l -k_) E ^ l≤j ≤ i -1 a J. = a J,(Wp> l≤j -> N p
A set of prediction coefficients which constitute the LPC vector is produced for each subframe in the current frame. In addition, using known techniques, reflection coefficients (RC for the fourth subframe are generated, and a value indicating the spectral flatness (sfn) of the frame is produced. The indicator sfn = E(Np) / R0 is the normalized prediction error derived from Eqn. 3. Continuing with Fig. 2, the next step in the process is LPC quantization, step 204, of the LPC vector. This is performed once per frame, on the fourth subframe of each frame. The operation is made on the LPC vector of the fourth subframe in reflection coefficient format. First, the reflection coefficient vector is converted into the log area ratio (LAR) domain. The converted vector is then split into first and second subvectors. The components of the first subvector are quantized by a set of non-uniform scalar quantizers. The second subvector is sent to a vector quantizer having a codebook size of 256. The scalar quantizer requires less complexity in terms of computation and ROM requirements, but consumes more bits as compared to vector quantization. On the other hand, the vector quantizer can achieve higher coding efficiency at the price of increased complexity in the hardware. By combining both scalar and vector quantization techniques on the two subvectors, the coding efficiency can be traded off for complexity to obtain an average spectral distortion (SD) of 1.35 dB . The resulting codebook only requires 1.25 K words of storage.
To achieve a low coding rate, the prediction coefficients are updated only once per frame (every 32 mS) . However, this update rate is not sufficient to maintain a smooth transition of the LPC spectrum trajec- tory from frame to frame. Thus, using known interpolation techniques, a linear interpolation of the prediction coefficients, step 206, is applied in the LAR domain to assure stability in synthesis filter 136. After the interpolation, the LAR vector is converted back to prediction coefficient format for direct form filtering by the filter, step 208.
The next step shown in Fig. 2 is a long term prediction (LTP) analysis for estimating the pitch value of the input speech within two subframes in an open loop fashion, step 210. The analysis is performed twice per frame, once at the first subframe and again at the third subframe using a window size of 256 samples which is four subframes wide. Referring to Fig. 3B for a moment, it is noted that the analysis window is centered at the end of the first subframe and thus includes the fourth subframe of the preceding frame. Likewise, the analysis window is centered at the end of the third subframe and thus includes the first subframe of the succeeding frame. Figure 4 shows the data flow for the LTP analysis step. Input speech samples are either processed directly or pre-processed through an inverse filter 402, depending on the spectral flatness indicator (sfn) computed in the LPC analysis step. Switch 401 which handles this selection will be discussed below. Continuing then, a cross correlation operation 404 is performed followed by a refinement operation 406 of the cross correlation result. Finally, a pitch estimation 408 is made, and pitch prediction coefficients are produced in block 410 for use in the perceptual weighting filter 146.
Returning to block 402, the LPC inverse filter is an FIR filter whose coefficients are the unquantized LPC coefficients computed for the subframe for which the LPC analysis is being performed, namely subframe 1 or subframe 3. An LPC residual signal res (n) is produced by the filter in accordance with Eqn. 4:
res (n) = sl tp (n) - __ a± sl tp (n-i ) Eqn. i=l
where sltp[] is a buffer containing the sampled speech.
Usually, the input to the cross correlation block 404 is the LPC residual signal. However, for some nasal sounds and nasalized vowels, the LPC prediction gain is quite high. Consequently, the fundamental frequency is almost entirely removed by the LPC inverse filter so that the resulting pitch pulses are very weak or altogether absent in the residual signal. To overcome this problem, switch 401 feeds either the LPC residual signal or the input speech samples themselves to the cross correlation block 404. The switch is operated based on the value of the spectral flatness indicator (sfn) previously computed in step 202.
When the spectral flatness indicator is less than a pre-determined threshold, the input speech is considered to be highly predictable and the pitch pulses tend to be weak in the residual signal . In such a circumstance, it is desirable to extract the pitch information directly from the input signal. In the preferred embodiment, the threshold value is empirically selected to be 0.017 as shown in Fig. 4.
The cross correlation function 404 is defined as :
∑ res [n] -res [n+t] E^n ' 5 cros m - . n= {N'l/2)
∑ res [n] 2 ∑ res [n+i ] : π=(W-f/2) n=(N+{/2) where { = Lmin-2, ...Lmax+2
N = 64
Lmin = 20, minimum pitch lag value
Lmax = 126, maximum pitch lag value
To improve the accuracy of the estimated pitch value, the cross correlation function is refined through an up-sampling filter and a local maximum search procedure, 406. The up-sampling filter is a 5-tap FIR with a 4x increased sampling rate, as defined in Eqn. 6:
Eqn. cros UD [4« + i-l ] - =i 2^ cros [t +j ] IntpTable ( i, j ) 0≤ i≤ 3 J— 2 where
IntpTable(0, j) = [-0.1286, 0.3001, 0.9003, -0.1801, 0.1000] IntpTable ( 1 , j ) = [0,0,1,0,0]
IntpTable(2, j) = [0.1000, -0.1801, 0.9003, 0.3001, -0.1286] IntpTable ( 3, j) = [0.1273, -0.2122, 0.6366, 0.6366, -0.2122]
The local maximum is then selected in each interpolated region around the original integer values to replace the previously computed cross correlation vector:
Eqn . 7 cros [{ ] =max ( cros up [ 4t-l ] , cros up [ At ] , cros up [ At+1 ] . cros up [ At+2 ] )
where Lmn < t ≤ Lraax
Next, a pitch estimation procedure 408 is performed on the refined cross correlation function to determine the open-loop pitch lag value Lag. This involves first performing a preliminary pitch estimation. The cross correlation function is divided into three regions, each covering pitch lag values 20 - 40 (region 1 corresponding to 400 Hz - 200 Hz), 40 - 80 (region 2, 200 Hz - 100 Hz), and 80 - 126 (region 3, 100 Hz - 63 Hz). A local maximum of each region is determined, and the best pitch candidate among the three local maxima is selected as lagv, with preference given to the smaller lag values. In the case of unvoiced speech, this constitutes the open-loop pitch lag estimate Lag for the subframe. For voicing subframes, a refinement of the initial pitch lag estimate is made. The refinement in effect smooths the local pitch trajectory relative to the current subframe thus providing the basis for a more accurate estimate of the open-loop pitch lag value. First, the three local maxima are compared to the pitch lag value (lagp) determined for the previous subframe, the closest of the maxima being identified as lagh. If lagh is equal to the initial pitch lag estimate then the initial pitch estimate is used. Otherwise, a pitch value which results in a smooth pitch trajectory is determined as the final open-loop pitch estimate based on the pitch lag values lagv, lagh, lagp and their cross correlations. The following C language code fragment summarizes the process. The limits used in the decision points are determined empirically:
/* lagv - selected pitch lag value lagp - pitch lag value of previous subframe la_Th ~ closest of local maxima to lagp xmaxv - cross correlation of lagv xmaxp - cross correlation of lag. xmaxh - cross correlation of lagh
*/ diff (lag. - lagh)/lag_ /* choose lagp if lagv and lagh have low cross correlation values
*/ lf ( X_BX_ < 0.35 && xmaxh < 0.35 ) { lagv = lag_; xmax_. = cross_corr (lagp) ; • when lagv is much less than lagh and xmaxh is large, then choose lagh */ else ιf( diff < -0.2 ) { ιf( (xmaxh - xmx > .05 ) { lagv = lagh; xmaxv = xmaxh; } }
/* if lagv and lagh are close, then the one with the larger cross correlation value wins */ else ιf( diff < 0.2 ) { lf ( xmaxh > xmaxv ) { lagv = lagh; xmaxv = xmaxh;
} } /* if lag. is much greater than lagh and their cross correlation is close, choose lagh else if( abs(xmaxh - xmaxv) < 0.1 ){ lagv = lagh; xmax_ = xmaxh; }
The final step in the long term prediction analysis (step 210) is the pitch prediction block 410 which is executed to obtain a 3-tap pitch predictor filter based on the computed open-loop pitch lag value Lag using a covariance computation technique. The following matrix equation is used to compute the pitch prediction coefficients cov[i], i - 0, 1, 2 which will be used in the perceptual weighting step below (step 218) :
SO tS0 S0tSl SO tS2 S0tSl SI tSl SI tS2 S0tS2 SI tS2 S2 tS2
Figure imgf000013_0002
where Eqn. 8 pt_ 2^-
Si <"S5'j7 S(n+i) -S(n+j) i,j=0,lr n=ptl and bi= ∑ S{n+i) -S{n+Lag+1) 1=0,1,2 n=ptl ptl=N-Lag/2-l
Returning to Fig. 2, the next step is to compute the energy (power) in the subframe, step 212. The equation for the subframe energy (Pn) is:
Eqn. 9
Figure imgf000013_0001
where Νpn = N, except in the following special cases:
C 2 -Lag Lag≤40, cros [Lag] >0.35
XPn- Imin (Lag, 2 -N) Lag>40, cros [Lag] >0.35 Next is the computation of the energy gradient (EG) of the subframe, step 214, expressed by Eqn. 10 as:
Figure imgf000014_0001
where Pnp is the previous subframe ' s energy.
The input speech is then categorized on a subframe basis into an unvoiced, voiced or onset category in the speech segmentation, step 216. The categorization is based on various factors including the subframe power computed in step 212 (Eqn. 9), the power gradient computed in step 214 (Eqn. 10) , a subframe zero crossing rate, the first reflection coefficient (RC^ of the subframe, and the cross correlation function corresponding to the pitch lag value previously computed in step 210.
The zero crossing rate (ZC) is determined from Eqn. 11:
ZC= - - £2_/ sgn ( s ( k) ) -sgn ( s ( k-l ) ) Eqn. 11 2Nk=o where sgn(x) is the sign function. For voiced sounds, the signal contains fewer high frequency components as compared to unvoiced sound and thus the zero crossing rate will be low.
The first reflection coefficient (RC1) is the normalized autocorrelation of the input speech at a unit sample delay in the range (1, -1) . This parameter is available from the LPC analysis of step 202. It measures the spectral tilt over the entire pass band. For most voiced sounds, the spectral envelope decreases with frequency and the first reflection coefficient will be close to one, while unvoiced speech tends to have a flat envelope and the first reflection coefficient will be close to or less than zero. The cross correlation function (CCF) corresponding to the computed pitch lag value of step 210 is the main indicator of periodicity of the speech input. When its value is close to one, the speech is very likely to be voiced. A smaller value indicates more randomness in the speech, which is characteristic of unvoiced sound.
CCF= cros [ Lag] Eqn. 12
Continuing with step 216, the following decision tree is executed to determine the speech category of the subframe, based on the above-comp ted five factors Pn, EG, ZC, RC1 and CCF. The threshold values used in the decision tree were determined heuristically . The decision tree is represented by the following code fragment written in the C programming language:
unvoiced category: voicing <- 1 voiced category: voicing <- 2 onset category: voicing <- 3
*/ /* first, detect silence segments */ i ( PN < 0.002 ) { voicing = 1;
/* check for very low energy unvoiced speech segments */ } else ιf( Pn < 0.005 && CCF < 0. ) { voicing = 1;
/* check for low energy unvoiced speech segments */
} else ιf( Pn < 0.02 && ZC > 0.18 S=& CCF < 0.3) { voicing = 1 ;
/* check for low to medium energy unvoiced speech segments */ } else ιf( Pn < 0.03 && ZC > 0.2 && CCF < 0. 5) { voicing = 1 ;
/* check for medium energy unvoiced speech segments */
} else ιf( Pn < 0.06 && ZC > 0.3 && CCF < 0.2 && RC1 < 0.55) { voicing = 1 ; /* check for high energy unvoiced speech segments */
} else ιf( ZC > 0. 5 && RC1 < 0.5 && CCF < 0.4) { voicing = 1;
/* classify the rest as voiced segments */ } else { voicing = 2 ;
} /* now, re-classify the above as an onset segment based on EG */ if ( Pn > 0.01 I I CCF > 0.8) { ιf( voicing == 1 && EG > 0.8) voicing = 3; ιf( voicing == 2 && EG > 0.475 ) voicing = 3 ; }
/* identify the onset segments at voicing transition by considering the previous voicing segment, identified as voιcιng_old if ( voicing == 2 && voιcmg__old < 2 ) { ιf( Pn <= 0.01 ) voicing = 1; else voicing = 3; }
Continuing with Fig. 2, the next step is a perceptual weighting to take into account the limitations of human hearing, step 218. The distortions perceived by the human ear are not necessarily correlated to the distortion measured by the mean square error criterion often used in the coding parameter selection. In the preferred embodiment of the invention, a perceptual weighting is carried out on each subframe using two filters in cascade. The first filter is a spectral weighting filter defined by:
Figure imgf000016_0001
where ax are the quantized prediction coefficients for the subframe; λN and λD are empirically determined scaling factors 0.9 and 0.4 respectively.
The second filter is a harmonic weighting filter defined by:
Wh ( z) = l -__) cov [ i ] X z-<i«g+i-ι> Eqn. 14
2=0 P where the cov[i], i = 0, 1, 2 coefficients were computed in Eqn. 8 and λ_ = 0.4 is a scaling factor. For unvoiced sound, in which the harmonic structure is absent, the harmonic weighting filter is turned off.
Next in step 220, a target signal r[n] for subsequent excitation coding is obtained. First, a zero input response (ZIR) to the cascaded triple filter com- prising synthesis filter 1/A(z), the spectral weighting filter W (z), and the harmonic weighting filter Wh(z) is determined. The synthesis filter is defined as: A ( Z) aq±
2 = 1 where aq1 is the quantized LPC coefficients for that subframe. The ZIR is then subtracted from a perceptually weighted input speech. This is illustrated more clearly in Fig. 5, which shows a slightly modified version of the conceptual block diagram of Fig. 1, reflecting certain changes imposed by implementation considerations . For example, it can be seen that the perceptual weighting filter 546 is placed further upstream in the processing, prior to summation block 542. The input speech s [n] is filtered through perceptual filter 546 to produce a weighted signal, from which the zero input response 520 is subtracted in summation unit 522 to produce the target signal r[n] . This signal feeds into error minimization block 148. The excitation signal 134 is filtered through the triple cascaded filters (H(z) = 1/A(z) x Wp(z) x Wh(z)) to produce synthesized speech sq[n], which feeds into error minimization unit 148. The details of the processing which goes on in the error minimization block will be discussed in connection with each of the coding schemes .
The discussion will now turn to the coding schemes used by the invention. Based on the speech category of each subframe as determined in step 216, the subframe is coded using one of three coding schemes, steps 232, 234 and 236.
Referring to Figs. 1, 2 and 5, consider first the coding scheme for unvoiced speech (voicing = 1) , step
232. Figure 5 shows the configuration in which the coding scheme (116) for unvoiced speech has been selected. The coding scheme is a gain/shape vector quantization scheme. The excitation signal is defined as: g - fcb . [n] Eqn. 15
where g is the gain value of gain unit 520, fcbx is the ith vector selected from a shape codebook 510. The shape codebook 510 consists of sixteen 64-element shape vectors generated from a Gaussian random sequence. The error minimization block 148 selects the best candidate from among the 16 shape vectors in an analysis-by-synthesis procedure by taking each vector from shape codebook 510, scaling it through gain element 520, and filtering it through the synthesis filter 136 and perceptual filter 546 to produce a synthesized speech vector sq[n] . The shape vector which maximizes the following term is se- lected as the excitation vector for the unvoiced subframe :
( r τ sq) Eqn. 16a sq sq This represents the minimum weighted mean square error between the target signal r[n] and the synthesized vector sq[n] .
The gain g is computed by:
g = Eqn. 16b
Figure imgf000018_0001
where Pn is the subframe power computed above, RS is:
NP flS = l i ( l -rc2 2) Eqn . 16c i=l and scale = max ( 0 . 45 , 1 - max (RC1 , 0 ) )
The gain is encoded through a 4-bit scalar quantizer combined with a differential coding scheme using a set of Huffman codes. If the subframe is the first unvoiced subframe encountered, the index of the quantized gain is used directly. Otherwise, a difference between the gain indices for the current subframe and the previous subframe is computed and represented by one of eight Huffman codes. The Huffman code table is: index delta Huffman code
0 0 0
1 1 10
2 -1 110
3 2 1110
4 -2 11110
5 3 111110
6 -3 1111110
7 4 1111111
Using the above codes, the average code length for coding the unvoiced excitation gain is 1.68.
Referring now to Fig. 6, consider the treatment of onset speech segments. During onset, the speech tends to have a sudden energy surge and is weakly correlated with the signal from the previous subframe. The coding scheme (step 236) for subframes categorized as onset speech (voicing = 3) is based on a multipulse excitation modeling technique wherein the excitation signal com- prises a set of pulses derived from the current subframe.
Hence,
Figure imgf000019_0001
where Npulse is the number of pulses, Amp[i] is the amplitude of the ith pulse, and n. is the location of the ith pulse. It has been observed that a proper selection of the location of the pulses allows this technique to capture the sudden energy change in the input signal that characterizes onset speech. An advantage of this coding technique as applied to onset speech is that it exhibits quick adaptation and the number of pulses is much smaller than the subframe size. In the preferred embodiment of the invention, four pulses are used to represent the excitation signal for coding of onset speech.
The following analysis-by-synthesis procedure is followed to determine the pulse locations and the amplitude. In determining the pulses, the error minimization block 148 examines only the even-numbered samples of the subframe. The first sample is selected which minimizes: ∑ [ r [n] -Amp [ 0 ] - h [n- -_] ] Eqn. 18a
where r[n] is the target signal and h[n] is the impulse response 610 of the cascade filter H(z) . The corresponding amplitude is computed by: r τhn
Amp [ 0 ] = - Eqn. 18b h h
Next, the synthesized speech signal sq[n] is produced using the excitation signal, which at this point comprises a single pulse of a given amplitude. The synthesized speech is subtracted from the original target signal r[n] to produce a new target signal. The new target signal is subjected to Eqns. 18a and 18b to deter- mine a second pulse. The procedure is repeated until the desired number of pulses is obtained, in this case four. After all the pulses are determined, a Cholesky decomposition method is applied to jointly optimize the amplitudes of the pulses and improve the accuracy of the exci- tation approximation.
The location of a pulse in a subframe of 64 samples can be encoded using five bits. However, depending on the speed and space requirements, a trade-off between coding rate and data ROM space for a look-up table may improve coding efficiencies. The pulse amplitudes are sorted in descending order of their absolute values and normalized with respect to the largest of the absolute values and quantized with five bits. A sign bit is associated with each absolute value. Refer now to Fig. 7 for voiced speech. The excitation model for voiced segments (voicing = 2, step 234) is divided into two parts 710 and 720, based on the closed-loop pitch lag value LagCL. When the lag value LagCL>= 58, the subframe is considered to be low-pitched sound and selector 730 selects the output of model 710, otherwise the sound is deemed to be high-pitched and the excitation signal 134 is determined based on model 720. Consider first low-pitched voiced segments in which the waveform tends to have a low time domain resolution. A third order predictor 712, 714 is used to predict the current excitation from the previous subframe ' s excitation. A single pulse 716 is then added at the location where a further improvement to the excitation approximation can be achieved. The previous excitation is extracted from an adaptive codebook (ACB) 712. The excitation is expressed as:
Figure imgf000021_0001
The vector PACB[n, j] is selected from code book 712 which is defined as: When LagCL+i-l > = N,
PACB [n, LagCL+ i - l ] = ex [n- ( LagCL+i - l ) ] 0≤ n≤N-l
Otherwise, Eqn. 19b . ,,_ ex[n-(LagCL+i-l)] 0≤n<LagCL
Figure imgf000021_0002
1 χ i )ex [n-2 - ( Lag + i -l ) ] Lag≤n≤N- l
For the high-pitched voiced segments, the excitation signal defined by model 720 consists of a pulse train defined by:
Amp __, δ [ n-nQ-i - LagCL] Eqn. 20
2=0 The model parameters are determined by one of two analysis-by-synthesis loops, depending on the closed- loop pitch lag value Lag. The closed loop pitch LagCL for the even-numbered subframes is determined by inspecting the pitch trajectory locally centered about the open-loop Lag computed as part of step 210 (in the range Lag-2 to Lag+2) . For each lag value in the search range, the corresponding vector in adaptive codebook 712 is filtered through H(z) . The cross correlation between the filtered vector and target signal r[n] is computed. The lag value which produces the maximum cross correlation value is selected as the closed loop pitch lag LagCL. For the odd-numbered subframes, the LagCL value of the previous subframe is selected.
If LagCL >= 58, the 3-tap pitch prediction coefficients β± are computed using Eqn. 8 and LagCL as the lag value. The computed coefficients are then vector quantized and combined with a vector selected from adap- tive codebook 712 to produce an initial predicted excitation vector. The initial excitation vector is filtered through H(z) and subtracted from input target r[n] to produce a second input target r' [n] . Using the technique for multipulse excitation modeling above (Eqns. 18a and 18b) , a single pulse n0 is selected from the even-numbered samples in the subframe, as well as the pulse amplitude Amp.
In the case where Lag < 58, parameters for modeling high-pitched voiced segments are computed. The model parameters are the pulse spacing LagCL, the location n0 of the first pulse, and the amplitude Amp for the pulse train. LagCL is determined by searching a small range around the open-loop pitch lag, [Lag-2, Lag+2]. For each possible lag value in this search range, a pulse train is computed with pulse spacings equal to the lag value.
Then shift the first pulse locations in the subframe and filter the shifted pulse train vector through H(z) to produce synthesized speech sq[n] . The combination of lag value and initial location which results in a maximum cross correlation between the shifted and filtered version of the pulse train and the target signal r[n] is selected as LagCL and n0. The corresponding normalized cross correlation value is considered as the pulse train amplitude Amp. For Lag >= 58, LagCL is coded with seven bits and is only updated once every other subframe. The 3-tap predictor coefficients β1 are vector quantized with six bits, and the single pulse location is coded with five bits. The amplitude value Amp is coded with five bits: one bit for the sign and four bits for its absolute value. The total number of bits used for the excitation coding of low-pitched segments is 20.5. For Lag < 58, LagCL is coded with seven bits and is updated on every subframe. The initial location of the pulse train is coded with six bits. The amplitude value Amp is coded with five bits: one bit for the sign and four bits for its absolute value. The total number of bits used for the excitation coding of high-pitched segments is 18.
When the excitation signal is selected per one of the foregoing techniques, the memory of filters 136 (1/A(z)) and 146(Wp(z) and Wh(z)) are updated, step 222. In addition, adaptive codebook 712 is updated with the newly determined excitation signal for processing of the next subframe. The coding parameters are then output to a storage device or transmitted to a remote decoding unit, step 224. Fig. 8 illustrates the decoding process.
First, the LPC coefficients are decoded for the current frame. Then, depending on the voicing information of each subframe, the decoding of excitation for one of the three speech categories is executed. The synthesized speech is finally obtained by filtering the excitation signal through the LPC synthesis filter.
After the decoder is initialized, step 802, one frame of codewords is read into the decoder, step 804. Then, the LPC coefficients are decoded, step 806. The step of decoding of LPC (in LAR format) coefficients is in two stages. First, the first five LAR parameters from the LPC scalar quantizer codebooks are decoded:
LAR[i] = LPCSQTable[i] [rxCodewords → LPC[i]]
Eqn. 21a
where i = 0, 1, 2, 3, 4. Then, the remaining LAR parameters from LPC Vector quantizer codebook are decoded:
LAR[5,9] = LPCVQTable[0,4] [rxCodewords - LPC [5]] Eqn. 21b
After the decoding of the 10 LAR parameters, an interpolation of the current LPC parameter vector with the previous frame's LPC vector is performed using known interpolation techniques and the LAR is converted back to prediction coefficients, step 808. The LAR can be converted back to prediction coefficients via two steps. First, the LAR parameters are converted back to reflection coefficients as follows:
rc ,[ ι.], 1 - exp—(LAR [—i]—) _Eqn. 22a
1+exp ( LAR [ i ] )
Then, the prediction coefficients are obtained through the following equations:
a 1] = aji~1) -k . aJii-l) l≤j≤ i - 1 Eqn. 22b
a 3. = a 3^p) l≤j -> ≤ N p
After the LAR is converted back to prediction coefficients, the subframe loop count is set to n = 0, step 810. Then, step 812, it is determined for each subframe into which of the three coding schemes is the subframe to be categorized, as the decoding for each coding scheme is different.
If the voicing flag of the current subframe indicates an unvoiced subframe (v = 1), the unvoiced excitation is decoded, step 814. With reference to Fig.
9, first the shape vector is fetched 902 in the fixed codebook FCB with the decoded index: CFCB[i] = FCB[UVshape - code[n]][i] i = 0,...,N
Then, the gain of the shape vector is decoded 904 according to whether the subframe is the first un- voiced subframe or not. If it is the first unvoiced subframe, the absolute gain value is decoded directly in the unvoiced gain codebook. Otherwise, the absolute gain value is decoded from the corresponding Huffman code. Finally, the sign information is added to the gain value 906 to produce the excitation signal 908. This can be summarized as follows:
Gain_code = rxCodewords .Uvgain_code [n] if (previous subframe is unvoided) { Δ = HuffmanDecode [Gain_code]
Gain_code = Gain_code_p + Δ
}
Gain_code_p = Gain_code
Gain = Gain_sign * UVGAINCBTABLE [Gain_code]
Referring back to Fig. 8, when the subframe is a voiced subframe (v = 2), to decode the voiced excitation, step 816, first the lag information is extracted. For even numbered subframes, the lag value is obtained in rxCodewords .ACB_code [n] . For odd numbered subframes, depending on the lag value of the previous subframe, Lag_p, either the current lag value is substituted with Lag_jp if Lag_p >= 58 or the lag value is extracted from rxCodewords .ACB_code [n] if Lag_p < 58. Then, the single pulse is reconstructed from its sign, location, and the absolute amplitude value. If the lag value Lag >= 58, the decoding of the ACB vector continues. First, the ACB gain vector is extracted from ACBGAINTable :
ACB_gainq[i] = ACBGAINCBTable [rxCodewords . ACBGain_index[n] ] [i]
Then, the ACB vector is reconstructed from the ACB state in the same fashion as in described with reference to Fig. 7 above. After the ACB vector is computed, the decoded single pulse is inserted in its defined location. If the lag value Lag < 58, the pulse train is constructed from the decoded single pulse as described above. If the subframe is onset (v = 3) , then the excitation vector is reconstructed from the decoded pulse amplitudes, sign, and location information. With reference to Fig. 10, the norm of the amplitudes 930, which is also the first amplitude, is decoded 932 and combined at multiplication block 944 with the decoded 942 of the rest of the amplitudes 940. The combined signal 945 is combined again 934 with the decoded first amplitude signal 933. The resultant signal 935 is multiplied with the sign 920 at multiplication block 950. Then, the resul- tant amplitude signal 952 is combined with the pulse location signal 960 according to the expression:
ex ( i ) = Amp [j ] δ ( i - Ipulse [j ] ) Eqn . 23 to produce the excitation vector ex(i) 980. If the subframe is an even number, the lag value in the rxCodewords is also extracted for the use of the following voiced subframe.
Referring back to Fig. 8, the synthesis filter, step 820, can be in a direct form as an IIR filter, where the synthesized speech can be expressed as:
y[n] = ex [π] + ∑ α.. » y[n-i ] Eqn . 24 i = l
To avoid computations in converting LAR (Log Area Ratio) parameters into predictor coefficients in the decoder, a lattice filter can be used as the synthesis filter and the LPC quantization table can be stored in RC (Reflection Coefficients) format in the decoder. The lattice filter also has an advantage of being less sensitive to finite precision limitations. Next, step 822, the ACB state is updated for every subframe with the newly computed excitation signal ex[n] to maintain a continuous most recent excitation history. Then, the last step of the decoder processing, step 824, is the post filtering. The purpose of performing post filtering is to utilize the human masking capability to reduce the quantization noise. The post filter used in the decoder is a cascade of a pole-zero filter and a first order FIR filter: .
Hp ( Z) = '(1-γZ"1) Eqn. 25
Figure imgf000027_0001
where ai is the decoded prediction coefficients for the subframe. The scaling factors are γN = 0.5, γD = 0.8, and Y = 0.4.
This results in a synthesized speech output 826. Then, the number (n) of the subframe loop count is increased by one, step 827, to indicate that one subframe loop has been completed. Then, a determination is made, step 828, of whether the number (n) of the subframe loop count is equal to 3, indicating that four loops (n = 0, 1, 2, 3) have been completed. If n is not equal to 3, then the subframe loop is repeated from the step 812 of determining the categorization of the coding scheme. If n is equal to 3, then a determination is made, step 830, whether it is the end of the bitstream. If it is not the end of the bitstream, the entire process begins again with the step 804 of reading in another frame of codewords. If it is the end of the bitstream then the decoding process is finished 832.

Claims

Claims
1. A method for coding speech comprising the steps of: sampling an input speech to produce a plurality of speech samples; determining coefficients for a speech synthesis filter, including grouping said speech samples into a first set of groups and computing LPC coefficients for each such group, whereby said filter coefficients are based on said LPC coefficients; producing excitation signals, including: grouping said speech samples into a second set of groups; categorizing each group in said second group into an unvoiced, voiced or onset category; and for each group in said unvoiced category, producing said excitation signals based on a gain/shape coding scheme; for each group in said voiced category, producing said excitation signal by further categorizing such group into a low-pitch voiced group or a high-pitched voice group; for each group in said onset category, producing said excitation signals by selecting at least two pulses from said group; and encoding said excitation signals.
2. The method of claim 1 further including feeding said excitation signals into said speech synthesis filter to produce a synthesized speech, producing error signals by comparing said input speech with said synthesized speech, and adjusting parameters of said excitation signals based on said error signals.
3. The method of claim 2 wherein said speech synthesis filter includes a perceptual weighting filter, whereby said error signal includes the effects of the perception system of a human listener.
4. The method of claim 1 wherein said step of categorizing each group in said second set of groups is based on said group's computed energy, energy gradient, zero crossing rate, first reflection coefficient, and cross correlation value.
5. The method of claim 1 further including interpolating LPC coefficients between successive groups in said first set of groups.
6. The method of claim 1 wherein for low-pitched voice groups said excitation signals are based on a long term predictor and a single pulse, and for high-pitched voice groups said excitation signals are based on a sequence of pulses which are spaced apart by a pitch period.
7. A method for coding speech comprising the steps of: sampling an input speech signal to produce a plurality of speech samples; dividing said samples into a plurality of frames, each frame including two or more subframes; computing LPC coefficients for a speech synthesis filter for each frame, whereby said filter coefficients are updated on a frame-by-frame basis; categorizing each subframe into an unvoiced, voiced or onset category; computing parameters representing an excitation signal for each subframe on the basis of its category, wherein for said unvoiced category a gain/shape coding scheme is used, wherein for said voiced category said parameters are based on a pitch frequency of said subframe, and wherein for said onset category a multi-pulse excitation model is used; and adjusting said parameters by feeding said excitation signal into said speech synthesis filter to produce a synthesized speech, producing an error signal by comparing said synthesized speech with said speech samples, and updating said parameters on the basis of said error signal.
8. The method of claim 7 wherein said step of computing LPC coefficients includes interpolating successive ones of said LPC coefficients.
9. The method of claim 7 wherein said speech synthesis filter includes a perception weighting filter and said speech samples are filtered through said perception weighting filter.
10. The method of claim 7 wherein computing parameters for voiced category subframes includes determining a pitch frequency, and for low-pitch frequency voiced-category subframes said parameters are based on a long term predictor, and for high-pitch frequency voiced-category subframes said parameters are based on a sequence of pulses which are spaced apart by a pitch period. -so¬
li. The method of claim 7 wherein said step of categorizing is based on said subframe ' s computed energy, energy gradient, zero crossing rate, first reflection coefficient, and cross correlation value.
12. Apparatus for coding speech, comprising: a sampling circuit having an input for sampling an input speech signal and having an output for producing digitized speech samples; a memory coupled to said sampling circuit for storing said samples, said samples being organized into a plurality of frames, each frame being divided into a plurality of subframes; first means having access to said memory for computing a set of LPC coefficients for each frame, each set of coefficients defining a speech synthesis filter; second means having access to said memory for computing parameters of excitation signals for each subframe; third means for combining said LPC coefficients with said parameters to produce synthesized speech; and fourth means operatively coupled to said third means for adjusting said parameters based on comparisons between said digitized speech samples and said synthesized speech; said second means including: fifth means for categorizing each subframe into an unvoiced, voiced or onset category; sixth means for computing said parameters based on a gain/shape coding technique if said subframe is of the unvoiced category; seventh means for computing said parameters based on a pitch frequency of said subframe if it is of the voiced category; and eighth means for computing said parameters based on a multi-pulse excitation model if said subframe is of the onset category.
13. The apparatus of claim 12 wherein said fourth means includes means for computing error signals and means for adjusting said error signals by a perceptual weighting filter, whereby said parameters are adjusted based on weighted error signals.
14. The apparatus of claim 12 wherein said first means includes means for interpolating between successive ones of said LPC coefficients.
PCT/US2000/040725 1999-10-19 2000-08-23 Variable bit-rate celp coding of speech with phonetic classification WO2001029825A1 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
EP00969029A EP1224662B1 (en) 1999-10-19 2000-08-23 Variable bit-rate celp coding of speech with phonetic classification
JP2001532535A JP2003512654A (en) 1999-10-19 2000-08-23 Method and apparatus for variable rate coding of speech
CA002382575A CA2382575A1 (en) 1999-10-19 2000-08-23 Variable bit-rate celp coding of speech with phonetic classification
DE60006271T DE60006271T2 (en) 1999-10-19 2000-08-23 CELP VOICE ENCODING WITH VARIABLE BITRATE BY MEANS OF PHONETIC CLASSIFICATION
KR1020027005003A KR20020052191A (en) 1999-10-19 2000-08-23 Variable bit-rate celp coding of speech with phonetic classification
NO20021865A NO20021865D0 (en) 1999-10-19 2002-04-19 Method and apparatus for variable bit coding of speech
HK03100316.4A HK1048187B (en) 1999-10-19 2003-01-14 Variable bit-rate celp coding of speech with phonetic classification

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/421,435 US6510407B1 (en) 1999-10-19 1999-10-19 Method and apparatus for variable rate coding of speech
US09/421,435 1999-10-19

Publications (2)

Publication Number Publication Date
WO2001029825A1 true WO2001029825A1 (en) 2001-04-26
WO2001029825B1 WO2001029825B1 (en) 2001-11-15

Family

ID=23670498

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2000/040725 WO2001029825A1 (en) 1999-10-19 2000-08-23 Variable bit-rate celp coding of speech with phonetic classification

Country Status (11)

Country Link
US (1) US6510407B1 (en)
EP (1) EP1224662B1 (en)
JP (1) JP2003512654A (en)
KR (1) KR20020052191A (en)
CN (1) CN1158648C (en)
CA (1) CA2382575A1 (en)
DE (1) DE60006271T2 (en)
HK (1) HK1048187B (en)
NO (1) NO20021865D0 (en)
TW (1) TW497335B (en)
WO (1) WO2001029825A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002095734A2 (en) * 2001-05-18 2002-11-28 Siemens Aktiengesellschaft Method for controlling the amplification factor of a predictive voice encoder
WO2003047154A1 (en) * 2001-11-28 2003-06-05 Telefonaktiebolaget L M Ericsson (Publ) Security reconfiguration in a universal mobile telecommunications system
EP1564720A2 (en) * 2004-02-10 2005-08-17 Samsung Electronics Co., Ltd. Apparatus and method for detecting voiced sound and unvoiced sound
CN1312659C (en) * 2001-10-19 2007-04-25 皇家飞利浦电子股份有限公司 Frequency-differential encoding of sinusoidal model parameters

Families Citing this family (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050065786A1 (en) * 2003-09-23 2005-03-24 Jacek Stachurski Hybrid speech coding and system
US8257725B2 (en) * 1997-09-26 2012-09-04 Abbott Laboratories Delivery of highly lipophilic agents via medical devices
US20060240070A1 (en) * 1998-09-24 2006-10-26 Cromack Keith R Delivery of highly lipophilic agents via medical devices
KR100319557B1 (en) * 1999-04-16 2002-01-09 윤종용 Methode Of Removing Block Boundary Noise Components In Block-Coded Images
US6959274B1 (en) * 1999-09-22 2005-10-25 Mindspeed Technologies, Inc. Fixed rate speech compression system and method
US7478042B2 (en) * 2000-11-30 2009-01-13 Panasonic Corporation Speech decoder that detects stationary noise signal regions
JP4857468B2 (en) * 2001-01-25 2012-01-18 ソニー株式会社 Data processing apparatus, data processing method, program, and recording medium
JP3404024B2 (en) * 2001-02-27 2003-05-06 三菱電機株式会社 Audio encoding method and audio encoding device
US6859775B2 (en) * 2001-03-06 2005-02-22 Ntt Docomo, Inc. Joint optimization of excitation and model parameters in parametric speech coders
US20030028386A1 (en) * 2001-04-02 2003-02-06 Zinser Richard L. Compressed domain universal transcoder
DE10121532A1 (en) * 2001-05-03 2002-11-07 Siemens Ag Method and device for automatic differentiation and / or detection of acoustic signals
US6732071B2 (en) * 2001-09-27 2004-05-04 Intel Corporation Method, apparatus, and system for efficient rate control in audio encoding
US20050065787A1 (en) * 2003-09-23 2005-03-24 Jacek Stachurski Hybrid speech coding and system
US6983241B2 (en) * 2003-10-30 2006-01-03 Motorola, Inc. Method and apparatus for performing harmonic noise weighting in digital speech coders
FI118835B (en) * 2004-02-23 2008-03-31 Nokia Corp Select end of a coding model
CN100592389C (en) * 2008-01-18 2010-02-24 华为技术有限公司 State updating method and apparatus of synthetic filter
EP1868663B1 (en) * 2005-03-23 2011-11-16 Abbott Laboratories Delivery of highly lipophilic agents via medical devices
TWI279774B (en) * 2005-04-14 2007-04-21 Ind Tech Res Inst Adaptive pulse allocation mechanism for multi-pulse CELP coder
US7177804B2 (en) * 2005-05-31 2007-02-13 Microsoft Corporation Sub-band voice codec with multi-stage codebooks and redundant coding
US20080215330A1 (en) * 2005-07-21 2008-09-04 Koninklijke Philips Electronics, N.V. Audio Signal Modification
EP2276023A3 (en) * 2005-11-30 2011-10-05 Telefonaktiebolaget LM Ericsson (publ) Efficient speech stream conversion
JPWO2008007616A1 (en) * 2006-07-13 2009-12-10 日本電気株式会社 Non-voice utterance input warning device, method and program
JP4946293B2 (en) * 2006-09-13 2012-06-06 富士通株式会社 Speech enhancement device, speech enhancement program, and speech enhancement method
ES2873254T3 (en) 2006-10-25 2021-11-03 Fraunhofer Ges Forschung Apparatus and procedure for generating complex value audio subband values
JP2008170488A (en) * 2007-01-06 2008-07-24 Yamaha Corp Waveform compressing apparatus, waveform decompressing apparatus, program and method for producing compressed data
KR101261524B1 (en) * 2007-03-14 2013-05-06 삼성전자주식회사 Method and apparatus for encoding/decoding audio signal containing noise using low bitrate
CN101325631B (en) * 2007-06-14 2010-10-20 华为技术有限公司 Method and apparatus for estimating tone cycle
US8990073B2 (en) 2007-06-22 2015-03-24 Voiceage Corporation Method and device for sound activity detection and sound signal classification
CN100578619C (en) * 2007-11-05 2010-01-06 华为技术有限公司 Encoding method and encoder
CN101540612B (en) * 2008-03-19 2012-04-25 华为技术有限公司 System, method and device for coding and decoding
CN101609679B (en) * 2008-06-20 2012-10-17 华为技术有限公司 Embedded coding and decoding method and device
EP2141696A1 (en) * 2008-07-03 2010-01-06 Deutsche Thomson OHG Method for time scaling of a sequence of input signal values
CN101604525B (en) * 2008-12-31 2011-04-06 华为技术有限公司 Pitch gain obtaining method, pitch gain obtaining device, coder and decoder
US8670990B2 (en) * 2009-08-03 2014-03-11 Broadcom Corporation Dynamic time scale modification for reduced bit rate audio coding
US9026434B2 (en) * 2011-04-11 2015-05-05 Samsung Electronic Co., Ltd. Frame erasure concealment for a multi rate speech and audio codec
US8731911B2 (en) * 2011-12-09 2014-05-20 Microsoft Corporation Harmonicity-based single-channel speech quality estimation
CN105551497B (en) * 2013-01-15 2019-03-19 华为技术有限公司 Coding method, coding/decoding method, encoding apparatus and decoding apparatus
TWI566241B (en) * 2015-01-23 2017-01-11 宏碁股份有限公司 Voice signal processing apparatus and voice signal processing method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0751494A1 (en) * 1994-12-21 1997-01-02 Sony Corporation Sound encoding system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4701954A (en) 1984-03-16 1987-10-20 American Telephone And Telegraph Company, At&T Bell Laboratories Multipulse LPC speech processing arrangement
US4910781A (en) 1987-06-26 1990-03-20 At&T Bell Laboratories Code excited linear predictive vocoder using virtual searching
US4817157A (en) 1988-01-07 1989-03-28 Motorola, Inc. Digital speech coder having improved vector excitation source
JPH0332228A (en) 1989-06-29 1991-02-12 Fujitsu Ltd Gain-shape vector quantization system
JP3303580B2 (en) 1995-02-23 2002-07-22 日本電気株式会社 Audio coding device
JPH09152896A (en) 1995-11-30 1997-06-10 Oki Electric Ind Co Ltd Sound path prediction coefficient encoding/decoding circuit, sound path prediction coefficient encoding circuit, sound path prediction coefficient decoding circuit, sound encoding device and sound decoding device
US5799272A (en) 1996-07-01 1998-08-25 Ess Technology, Inc. Switched multiple sequence excitation model for low bit rate speech compression
US6233550B1 (en) * 1997-08-29 2001-05-15 The Regents Of The University Of California Method and apparatus for hybrid coding of speech at 4kbps
US6311154B1 (en) * 1998-12-30 2001-10-30 Nokia Mobile Phones Limited Adaptive windows for analysis-by-synthesis CELP-type speech coding

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0751494A1 (en) * 1994-12-21 1997-01-02 Sony Corporation Sound encoding system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
DERVAUX F ET AL: "PERFORMANCE AND OPTIMIZATION OF A GSM HALF RATE CANDIDATE", US,BOSTON, KLUWER, 1993, pages 93 - 99, XP000470429 *
PAKSOY E ET AL: "VARIABLE RATE SPEECH CODING WITH PHONETIC SEGEMENTATION", PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING (ICASSP),US,NEW YORK, IEEE, vol. -, 27 April 1993 (1993-04-27), pages II - 155-158, XP000427749, ISBN: 0-7803-0946-4 *
TIAN W S ET AL: "Pitch synchronous extended excitation in multimode CELP", IEEE COMMUNICATIONS LETTERS,IEEE SERVICE CENTER, PISCATAWAY,US,US, vol. 3, no. 9, September 1999 (1999-09-01), pages 275 - 276, XP002155579, ISSN: 1089-7798 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002095734A2 (en) * 2001-05-18 2002-11-28 Siemens Aktiengesellschaft Method for controlling the amplification factor of a predictive voice encoder
WO2002095734A3 (en) * 2001-05-18 2003-11-20 Siemens Ag Method for controlling the amplification factor of a predictive voice encoder
CN1312659C (en) * 2001-10-19 2007-04-25 皇家飞利浦电子股份有限公司 Frequency-differential encoding of sinusoidal model parameters
WO2003047154A1 (en) * 2001-11-28 2003-06-05 Telefonaktiebolaget L M Ericsson (Publ) Security reconfiguration in a universal mobile telecommunications system
US7020455B2 (en) 2001-11-28 2006-03-28 Telefonaktiebolaget L M Ericsson (Publ) Security reconfiguration in a universal mobile telecommunications system
EP1564720A2 (en) * 2004-02-10 2005-08-17 Samsung Electronics Co., Ltd. Apparatus and method for detecting voiced sound and unvoiced sound
EP1564720A3 (en) * 2004-02-10 2007-01-24 Samsung Electronics Co., Ltd. Apparatus and method for detecting voiced sound and unvoiced sound
US7809554B2 (en) 2004-02-10 2010-10-05 Samsung Electronics Co., Ltd. Apparatus, method and medium for detecting voiced sound and unvoiced sound

Also Published As

Publication number Publication date
CA2382575A1 (en) 2001-04-26
TW497335B (en) 2002-08-01
NO20021865L (en) 2002-04-19
HK1048187B (en) 2004-12-31
DE60006271D1 (en) 2003-12-04
EP1224662B1 (en) 2003-10-29
EP1224662A1 (en) 2002-07-24
JP2003512654A (en) 2003-04-02
WO2001029825B1 (en) 2001-11-15
NO20021865D0 (en) 2002-04-19
US6510407B1 (en) 2003-01-21
CN1158648C (en) 2004-07-21
CN1379899A (en) 2002-11-13
KR20020052191A (en) 2002-07-02
HK1048187A1 (en) 2003-03-21
DE60006271T2 (en) 2004-07-29

Similar Documents

Publication Publication Date Title
US6510407B1 (en) Method and apparatus for variable rate coding of speech
EP1899962B1 (en) Audio codec post-filter
JP5374418B2 (en) Adaptive codebook gain control for speech coding.
CN100369112C (en) Variable rate speech coding
EP0409239B1 (en) Speech coding/decoding method
US5749065A (en) Speech encoding method, speech decoding method and speech encoding/decoding method
US6714907B2 (en) Codebook structure and search for speech coding
EP1164579A2 (en) Audible signal encoding method
JPH1091194A (en) Method of voice decoding and device therefor
WO2000060576A1 (en) Spectral phase modeling of the prototype waveform components for a frequency domain interpolative speech codec system
KR20020077389A (en) Indexing pulse positions and signs in algebraic codebooks for coding of wideband signals
JP2002202799A (en) Voice code conversion apparatus
EP1313091B1 (en) Methods and computer system for analysis, synthesis and quantization of speech
KR20010093208A (en) Periodic speech coding
US9972325B2 (en) System and method for mixed codebook excitation for speech coding
JP2004517348A (en) High performance low bit rate coding method and apparatus for non-voice speech
JPH10124092A (en) Method and device for encoding speech and method and device for encoding audible signal
AU6125594A (en) Method for generating a spectral noise weighting filter for use in a speech coder
JPH09508479A (en) Burst excitation linear prediction
JP3232701B2 (en) Audio coding method
JPH10232697A (en) Voice coding/decoding method
Biundo et al. Spectral quantization for wideband speech coding
Du Coding of speech LSP parameters using context information

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): CA CN JP KR NO SG

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
AK Designated states

Kind code of ref document: B1

Designated state(s): CA CN JP KR NO SG

AL Designated countries for regional patents

Kind code of ref document: B1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE

B Later publication of amended claims
WWE Wipo information: entry into national phase

Ref document number: 2382575

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 2000969029

Country of ref document: EP

ENP Entry into the national phase

Ref country code: JP

Ref document number: 2001 532535

Kind code of ref document: A

Format of ref document f/p: F

WWE Wipo information: entry into national phase

Ref document number: 008145350

Country of ref document: CN

Ref document number: 1020027005003

Country of ref document: KR

WWP Wipo information: published in national office

Ref document number: 1020027005003

Country of ref document: KR

WWP Wipo information: published in national office

Ref document number: 2000969029

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 2000969029

Country of ref document: EP