(19)
(11) EP 1 431 962 A2

(12) EUROPEAN PATENT APPLICATION

(43) Date of publication:
23.06.2004 Bulletin 2004/26

(21) Application number: 04100553.9

(22) Date of filing: 22.05.2001
(51) International Patent Classification (IPC)7G10L 19/02, G10L 21/02
(84) Designated Contracting States:
AT BE CH CY DE DK ES FI FR GB GR IE IT LI LU MC NL PT SE TR

(30) Priority: 22.05.2000 US 206156 P

(62) Application number of the earlier application in accordance with Art. 76 EPC:
01000172.5 / 1158495

(71) Applicant: TEXAS INSTRUMENTS INCORPORATED
Dallas, TX 75265 (US)

(72) Inventor:
  • McCree, Alan V
    75248, Dallas (US)

(74) Representative: Holt, Michael et al
Texas Instruments Ltd., PO Box 5069
Northampton, Northamptonshire NN4 7ZE
Northampton, Northamptonshire NN4 7ZE (GB)

 
Remarks:
This application was filed on 12 - 02 - 2004 as a divisional application to the application mentioned under INID code 62.
 


(54) Wideband speech coding system and method


(57) A speech encoder/decoder for wideband speech with a partitioning of wideband into lowband and highband, and convenient coding of the lowband. The narrowband coding may be an LP-based voiceband coder; and the high band coding may include spectral reversal so it can effectively use the voiceband coder's quantizer. The embedded lowband may be extracted for a lower bit rate decoder.




Description

TECHNICAL FIELD OF THE INVENTION



[0001] The present invention relates to electronic devices, and, more particularly, to speech coding, transmission, storage, and decoding/synthesis methods and systems.

BACKGROUND OF THE INVENTION



[0002] The performance of digital speech systems using low bit rates has become increasingly important with current and foreseeable digital communications. Both dedicated channel and packetized-over-network (VoIP) transmission benefit from compression of speech signals. The widely-used linear prediction (LP) digital speech coding compression method models the vocal tract as a time-varying filter and a time-varying excitation of the filter to mimic human speech. Linear prediction analysis determines LP coefficients a(j), j = 1, 2, ..., M, for an input frame of digital speech samples {s(n)} by setting

and minimizing Σr(n)2. Typically, M, the order of the linear prediction filter, is taken to be about 10-12; the sampling rate to form the samples s(n) is typically taken to be 8 kHz (the same as the public switched telephone network (PSTN) sampling for digital transmission); and the number of samples {s(n)} in a frame is often 80 or 160 (10 or 20 ms frames). Various windowing operations may be applied to the samples of the input speech frame. The name "linear prediction" arises from the interpretation of r(n) = s (n) - ΣM≥j≥1 a(j)s(n-j) as the error in predicting s(n) by the linear combination of preceding speech samples ΣM≥j≥1 a(j)s(n-j). Thus minimizing Σr(n)2 yields the {a(j)} which furnish the best linear prediction. The coefficients {a(j)} may be converted to line spectral frequencies (LSFs) for quantization and transmission or storage.

[0003] The {r(n)} form the LP residual for the frame, and ideally LP residual would be the excitation for the synthesis filter 1/A(z) where A(z) is the transfer function of equation (1). Of course, the LP residual is not available at the decoder; thus the task of the encoder is to represent the LP residual so that the decoder can generate an LP excitation from the encoded parameters. Physiologically, for voiced frames the excitation roughly has the form of a series of pulses at the pitch frequency, and for unvoiced frames the excitation roughly has the form of white noise.

[0004] The LP compression approach basically only transmits/stores updates for the (quantized) filter coefficients, the (quantized) residual (waveform or parameters such as pitch), and the (quantized) gain. A receiver regenerates the speech with the same perceptual characteristics as the input speech. Figure 9 shows the blocks in an LP system. Periodic updating of the quantized items requires fewer bits than direct representation of the speech signal, so a reasonable LP coder can operate at bits rates as low as 2-3 kb/s (kilobits per second).

[0005] Indeed, the ITU standard G.729 Annex E with a bit rate of 11.8 kb/s uses LP analysis with codebook excitation (CELP) to compress voiceband speech and has performance comparable to the 64 kb/s PCM used for PSTN digital transmission.

[0006] However, the quality of even the G.729 Annex E standard does not meet the demand for high quality speech systems, and various proposals extend the coding to wideband (e.g., 0-7 kHz) speech without too large an increase in transmission bit rate.

[0007] The direct approach of applying LP coding to the full 0-8 kHz wideband increases the bit rate too much or degrades the quality. One alternative approach simply extrapolates from the (coded) 0-4 kHz lowband to a create a 4-8 kHz highband signal; see Chan et al, Quality Enhancement of Narrowband CELP-Coded Speech via Wideband Harmonic Re-Synthesis, IEEE ICASSP 1997, pp.1187-1190. Another approach uses split-band CELP or MPLPC by coding a 4-8 kHz highband separately from the 0-4 kHz lowband and with fewer bits allocated to the highband; see Drogo de Jacovo et al, Some Experiments of 7 kHz Audio Coding at 16 kbit/s, IEEE ICASSP 1989, pp.192-195. Similarly, Tucker, Low Bit-Rate Frequency Extension Coding, IEE Colloquium on Audio and Music Technology 1998, pp.3/1-3/5, provides standard coding of the lowband 0-4 kHz plus codes the 4-8 kHz highband speech only for unvoiced frames (as determined in the lowband) and uses an LP filter of order 2-4 with noise excitation. However, these approaches suffer from either too high a bit rate or too low a quality.

SUMMARY OF THE INVENTION



[0008] The present invention provides a method of speech coding, comprising: (a) partitioning a frame of digital speech into a lowband and a highband; (b) decimating the sampling rate of both said lowband and said highband; (c) encoding said decimated lowband from step (b) including a first method of quantization; (d) reversing the spectrum of a baseband image of said decimated highband from step (b); and (e) encoding the results of step (d) including said first method of quantization.

[0009] According to second aspect, there is provided a method of decoding speech, comprising: (a) decoding a first portion of an input signal as a lowband speech signal including using a first codebook; (b) decoding a second portion of an input signal as a highband speech signal including using said first codebook; and (c) combining the results of foregoing steps (a) and (b) to form a decoded wideband speech signal.

[0010] According to a third aspect, there is provided a wideband speech encoder, comprising: (a) a lowband filter and a highband filter for digital speech; (b) a first encoder with input from said lowband filter; said first encoder using a first quantizer; (c) a second encoder with input from said highband filter, said second encoder using said first quantizer; and (d) a combiner for said first encoder and said second encoder to output encoded wideband speech.

[0011] According to a fourth aspect of the invention, there is provided a wideband speech decoder, comprising: (a) a first speech decoder with an input for encoded narrowband speech and an LP codebook; (b) a second speech decoder with an input for encoded highband speech, said second decoder using said LP codebook.

[0012] This has advantages including the capturing of the quality of wideband speech at low bit rates and the embedding of the voiceband coding in the wideband coding to allow for decoding bit rate choice.

BRIEF DESCRIPTION OF THE DRAWINGS



[0013] Preferred and exemplary embodiments of the present invention will now be described in further detail, by way of example only, with reference to the figures of the accompanying drawings in which:

Figures 1a-1c show first preferred embodiments.

Figures 2a-2b illustrate frequency domain frames.

Figures 3a-3b show filtering.

Figures 4a-4b are block diagrams of G.729 encoder and decoder.

Figure 5 shows spectrum reversal.

Figures 6-7 are the high portion of a lowband for a voiced frame and the envelope.

Figures 8-9 are block diagrams of systems.


DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS


1. Overview



[0014] The preferred embodiment systems include preferred embodiment encoders and decoders that process a wideband speech frame as the sum of a lowband signal and a highband signal in which the lowband signal has standalone speech encoding/decoding and the highband signal has encoding/decoding incorporating information from the lowband signal to modulate a noise excitation. This allows for a minimal number of bits to sufficiently encode the highband and yields an embedded coder.

2. First preferred embodiment systems



[0015] Figure 1a shows in functional block format a first preferred embodiment system for wideband speech encoding, transmission (storage), and decoding including first preferred embodiment encoders and decoders. The encoders and decoders use CELP lowband encoding and decoding plus a highband encoding and decoding incorporating information from the (decoded) lowband for modulation of a noise excitation with LP coding.

[0016] As illustrated in Figure 1b, first preferred embodiment encoders proceed as follows. Half-band filter 0-8 kHz wideband (16 kHz sampling rate) speech into a 0-4 kHz lowband signal plus a 4-8 kHz highband signal, and decimate the original sampling rate of 16 kHz by a factor of 2 for both the lowband and the highband to create two baseband signals each with a 8 kHz sampling rate. (Note that the baseband of the decimated highband has a reversed spectrum because the baseband is an aliased image; see Figure 3b.) Next, encode the first baseband (decimated lowband) signal with a (standard) narrowband speech coder. For example, the ITU G.729 standard 8 kb/s uses 18 bits for quantized LP coefficients (three codebooks) per 10 ms (80 samples) frame, 14 bits for pitch delay (adaptive codebook), 34 bits for delayed excitation differential (fixed codebook), and 14 bits for gains. Figures 4a-4b show block diagrams of the encoder and decoder. G.729 Annex E provides higher quality with a higher bit rate (11.8 kb/s).

[0017] Then reverse the spectrum of the second baseband (decimated highband image) as in Figure 5 and encode the signal with LP filter coefficients and noise excitation gain for a (modulated) noise excitation. Some of the first preferred embodiments use pitch-modulated noise excitation with the pitch-modulated noise excitation derived from the lowband through multiplying noise by the (envelope of the) 2.8-3.8 kHz subband of the first baseband signal. In this case the normalized (divided by the 2.8-3.8 kHz subband energy) excitation gain replaces the excitation gain in the code.

[0018] Lastly, combine the lowband and highband codes into a single bitstream which has the lowband code as an embedded substream. The following sections provide more detailed descriptions.

[0019] Decoding reverses the encoding process by separating the highband and lowband code, using information from the decoded lowband to help decode the highband, and adding the decoded highband to the decoded lowband speech to synthesize wideband speech. See Figure 1c. This split-band approach allows most of the code bits to be allocated to the lowband; for example, the lowband may consume 11.8 kb/s and the highband may add 2.2 kb/s for a total of 14 kb/s.

[0020] The independence of the lowband's code from any highband information allows the narrowband coder bits to be embedded in the overall coder bitstream and to be extractable by a lower-bit-rate decoder for separate decoding. This split-band approach also ensures that a narrowband analog input signal, such as from a traditional telephone line (bandlimited to 3.4 kHz) can still be encoded well with the wideband preferred embodiment coding.

3. Coder details



[0021] Figures 2a-2b illustrate the typical magnitudes of voiced and unvoiced speech, respectively, as functions of frequency over the range 0-8 kHz. As Figure 2a shows, the bulk of the energy in voiced speech resides in the 0-3 kHz band. Further, the pitch structure (the fundamental frequency is about 125 Hz in Figure 2a) clearly appears in the range 0-3.5 kHz and persists (although jumbled) at higher frequencies. But the perceptual critical bandwidth at higher frequencies is roughly 10% of a band center frequency, so the individual pitch harmonics become indistinguishable and should require fewer bits for inclusion in a highband code.

[0022] In contrast, Figure 2b shows unvoiced-speech energy peaks in the 3.5-6.5 kHz band. However, the precise character of this highband signal contains little perceptual information.

[0023] Consequently, the higher band (above 4 kHz) should require fewer bits to encode than the lower band (0-4 kHz). This underlies the preferred embodiment methods of partitioning wideband (0-8 kHz) speech into a lowband (0-4 kHz) and a highband (4-8 kHz), recognizing that the lowband may be encoded by any convenient narrowband coder, and separately coding the highband with a relatively small number of bits as described in the following sections.

[0024] Figure 1b illustrates the flow of a first preferred embodiment speech coder which encodes at 14 kb/s with the following steps.

(1) Sample an input wideband speech signal (which is bandlimited to 8 kHz) at 16 kHz to obtain a sequence of wideband samples, wb(n). Partition the digital stream into 160-sample (10 ms) frames.

(2) Lowpass filter wb(n) with a passband of 0-4 kHz to yield lowband signal lb(n) and (later) also highpass filter wb(n) with a passband of 4-8 kHz to yield highband signal hb(n); this is just half-band filtering. Because both lb(n) and hb(n) have bandwidths of 4kHz, the sampling rate of 16 kHz of both lb(n) and hb(n) can be decimated by a factor of 2 to a sampling rate of 8 kHz without loss of information. Thus let lbd(m) denote the baseband (0-4 kHz) version of lb(n) after decimation of the sampling rate by a factor of 2, and similarly let hbdr(m) denote the baseband (0-4 kHz) version of hb(n) after decimation of the sampling rate by a factor of 2. Figures 3a-3b illustrate the formation of lbd(m) and hbdr(m) in the frequency domain for a voiced frame, respectively; note that π on the frequency scale corresponds to one-half the sampling rate. The decimation by 2 creates spectrally reversed images, and the baseband hbdr(m) is reversed compared to hb(n). Of course, lbd(m) corresponds to the traditional 8 kHz sampling of speech for digitizing voiceband (0.3-3.4 kHz) analog telephone signals.

(3) Encode lbd(m) with a narrowband coder, for example the ITU standard 11.8 kb/s G.729 Annex E coder which provides very high speech quality as well as relatively good performance for music signals. This coder may use 80-sample (10 ms at a sampling rate of 8 kHz) frames which correspond to 160-sample (10 ms at a sampling rate of 16 kHz) frames of wb(n). This coder uses linear prediction (LP) coding with both forward and backward modes and encodes a forward mode frame with 18 bits for codebook quantized LP coefficients, 14 bits for codebook quantized gain (7 bits in each of two subframes), 70 bits for codebook quantized differential delayed excitation (35 bits in each subframe), and 16 bits for codebook quantized pitch delay and mode indication to total 118 bits for a 10 ms frame. A backward mode frame is similar except the 18 LP coefficient bits are instead used to increase the excitation codebook bits to 88.

(4) Using lbd(m), prepare a pitch-modulation waveform similar to that which will be used by the highband decoder as follows. First, apply a 2.8-3.8 kHz bandpass filter to the baseband signal lbd(m) to yield its high portion, lbdh(m). Then take the absolute value, |lbdh(m)|; a signal similar to this will be used by the decoder as a multiplier of a white-noise signal to be the excitation for the highband. Decoder step (5) in the following section provides more details.

(5) If not previously performed in step (2), highpass filter wb(n) with a passband of 4-8 kHz to yield highband signal hb(n), and then decimate the sampling rate by 2 to yield hbdr(m). This highband processing may follow the lowband processing (foregoing steps (2)-(4)) in order to reduce memory requirements of a digital signal processing system.

(6) Apply LP analysis to hbdr(m) and determine (highband) LP coefficients aHB(j) for an order M = 10 filter plus estimate the energy of the residual rHB(m). The energy of rHB will scale the pitch-modulated white noise excitation of the filter for synthesis.

(7) Reverse the signs of alternate highband LP coefficients: this is equivalent to reversing the spectrum of hbdr(m) to hbd(m) and thereby relocating the higher energy portion of voiced frames into the lower frequencies as illustrated in Figure 5. Energy in the lower frequencies permits effective use of the same LP codebook quantization used by the narrowband coder for lbd(m). In particular, voiced frames have a lowpass characteristic and codebook quantization efficiency for LSFs relies on such characteristic: G.729 uses split vector quantization of LSFs with more bits for the lower coefficients. Thus determine LSFs from the (reversed) LP coefficients ±aHB(j), and quantize with the quantization method of the narrowband coder for lbd(m) in step (4).
Alternatively, first reverse the spectrum of hbdr(m) to yield hbd(m) by modulating with a 4 kHz square wave, and then perform the LP analysis and LSF quantization. Either approach yields the same results.

(8) The excitation for the highband synthesis will be scaled noise modulated (multiplied) by an estimate of |lbdh(m)| where the scaling is set to have the excitation energy equal to the energy of the highband residual rHB(m). Thus normalize the residual energy level by dividing the energy of the highband residual by the energy of |lbdh(m)| which was determined in step (4). Lastly, quantize this normalized energy of the highband residual in place of the (non-normalized) energy of the highband residual which would be used for excitation when the pitch-modulation is omitted. That is, the use of pitch modulation for the highband excitation requires no increase in coding bits because the decoder derives the pitch modulation from the decoded lowband signal, and the energy of the highband residual takes the same number of coding bits whether or not normalization has been applied.

(9) Combine the output bits of the baseband lbd(m) coding of step (4) and the output bits of hbd(m) coding of steps (7-8) into a single bitstream.



[0025] Note that all of the items quantized typically would be differential values in that the preceding frame's values would be used as predictors, and only the differences between the actual and the predicted values would be encoded.

4. Decoder details



[0026] A first preferred embodiment decoding method essentially reverses the encoding steps for a bitstream encoded by the first preferred embodiment method. In particular, for a coded frame in the bitstream:

(1) Extract the lowband code bits from the bitstream and decode (using the G.729 decoder) to synthesize lowband speech lbd'(m), an estimate of lbd(m).

(2) Bandpass filter (2.8-3.8 kHz band) lbd'(m) to yield lbdh';(m) and compute the absolute value |lbdh'(m)| as in the encoding.

(3) Extract the highband code bits, decode the quantized highband LP coefficients (derived from hbd(m)) and the quantized normalized excitation energy level (scale factor). Frequency reverse the LP coefficients (alternate sign reversals) to have the filter coefficients for an estimate of hbdr(m).

(4) Generate white noise and scale by the scale factor. The scale factor may be interpolated (using the adjacent frame's scale factor) every 20-sample subframe to yield a smoother scale factor.

(5) Modulate (multiply) the scaled white noise from (4) by waveform |lbdh'(m)| from (2) to form the highband excitation. Figure 6 illustrates an exemplary lbdh'(m) for a voiced frame. In the case of unvoiced speech, the periodicity would generally be missing and lbdh'(m) would be more uniform and not significantly modulate the white-noise excitation.
The periodicity of lbdh'(m) roughly reflects the vestigial periodicity apparent in the highband portion of Figure 2a and missing in Figure 2b. This pitch modulation will compensate for a perceived noisiness of speech synthesized from a pure noise excitation for hbd(m) in strongly-voiced frames. The estimate uses the periodicity in the 2.8-3.8 kHz band of lbd'(m) because strongly-voiced frames with some periodicity in the highband tend to have periodicity in the upper frequencies of the lowband.

(6) Synthesize highband signal hbdr'(m) by using the frequency-reversed highband LP coefficients from (3) together with the modulated scaled noise from (5) as the excitation. The LP coefficients may be interpolated every 20 samples in the LSP domain to reduce switching artifacts.

(7) Upsample (interpolation by 2) synthesized (decoded) lowband signal lbd'(m) to a 16 kHz sampling rate, and lowpass filter (0-4 kHz band) to form lb'(n). Note that interpolation by 2 forms a spectrally reversed image of lbd'(m) in the 4-8 kHz band, and the lowpass filtering removes this image.

(8) Upsample (interpolation by 2) synthesized (decoded) highband signal hbdr' (m) to a 16 kHz sampling rate, and highpass filter (4-8 kHz band) to form hb'(n) which reverses the spectrum back to the original. The highpass filter removes the 0-4 kHz image.

(9) Add the two upsampled signals to form the synthesized (decoded) wideband speech signal: wb'(n) = lb'(n) + hb'(n).


5. System preferred embodiments



[0027] Figures 8-9 show in functional block form preferred embodiment systems that use the preferred embodiment encoding and decoding. The encoding and decoding can be performed with digital signal processors (DSPs) or general purpose programmable processors or application specific circuitry or systems on a chip such as both a DSP and RISC processor on the same chip with the RISC processor controlling. Codebooks would be stored in memory at both the encoder and decoder, and a stored program in an onboard ROM or external flash EEPROM for a DSP or programmable processor could perform the signal processing. Analog-to-digital converters and digital-to-analog converters provide coupling to the real world, and modulators and demodulators (plus antennas for air interfaces) provide coupling for transmission waveforms. The encoded speech can be packetized and transmitted over networks such as the Internet.

6. Second preferred embodiments



[0028] Second preferred embodiment coders and decoders follow the first preferred embodiment coders and decoders and partition the sampled input into a lowband and a highband, downsample, and apply a narrowband coder to the lowband. However, the second preferred embodiments vary the encoding of the highband with modulated noise-excited LP by deriving the modulation from the envelope of lbdh(m) rather than its absolute value. In particular, find the envelope en(m) of lbdh(m) by lowpass (0-1 kHz) filtering the absolute value |lbdh(m)| plus notch filtering to remove dc. Figure 7 illustrates en(m) for the voiced speech of Figure 6 in the time domain.

7. Modifications



[0029] The preferred embodiments may be modified in various ways while retaining the features of separately coding a lowband from a wideband signal and using information from the lowband to help encode the highband (remainder of the wideband) and/or using spectrum reversal for decimated highband LP coefficient quantization in order to obtain efficiency comparable to that for the lowband LP coefficient quantization.

[0030] For example, the upper (2.8-3.8 kHz) portion of the lowband (0-4 kHz) could be replaced by some other portion(s) of the lowband for use as a modulation for the highband excitation.

[0031] Further, the highband encoder/decoder may have its own LP analysis and quantization, so the spectral reversal would not be required; the wideband may be partitioned into a lowband plus two or more highbands; the lowband coder could be a parametric or even non-LP coder and a highband coder could be a waveform coder; and so forth.


Claims

1. A method of speech coding, comprising:

(a) partitioning a frame of digital speech into a lowband and a highband;

(b) decimating the sampling rate of both said lowband and said highband;

(c) encoding said decimated lowband from step (b) including a first method of quantization;

(d) reversing the spectrum of a baseband image of said decimated highband from step (b); and

(e) encoding the results of step (d) including said first method of quantization.


 
2. A method of decoding speech, comprising:

(a) decoding a first portion of an input signal as a lowband speech signal including using a first codebook;

(b) decoding a second portion of an input signal as a highband speech signal including using said first codebook; and

(c) combining the results of foregoing steps (a) and (b) to form a decoded wideband speech signal.


 
3. A wideband speech encoder, comprising:

(a) a lowband filter and a highband filter for digital speech;

(b) a first encoder with input from said lowband filter; said first encoder using a first quantizer;

(c) a second encoder with input from said highband filter, said second encoder using said first quantizer; and

(d) a combiner for said first encoder and said second encoder to output encoded wideband speech.


 
4. A wideband speech decoder, comprising:

(a) a first speech decoder with an input for encoded narrowband speech and an LP codebook;

(b) a second speech decoder with an input for encoded highband speech, said second decoder using said LP codebook.


 




Drawing