CA2218223C - Reduced complexity signal transmission system - Google Patents
Reduced complexity signal transmission system Download PDFInfo
- Publication number
- CA2218223C CA2218223C CA002218223A CA2218223A CA2218223C CA 2218223 C CA2218223 C CA 2218223C CA 002218223 A CA002218223 A CA 002218223A CA 2218223 A CA2218223 A CA 2218223A CA 2218223 C CA2218223 C CA 2218223C
- Authority
- CA
- Canada
- Prior art keywords
- excitation
- sequence
- signal
- sequences
- selection means
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
In a CELP coder a comparison between a target signal and a plurality of synthetic signals is made. The synthetic signal is derived by filtering a plurality of excitation sequences by a synthesis filter having parameters derived from the target signal. The excitation signal which results in a minimum error between the target signal and the synthetic signal is selected. The search for the best excitation signal requires a substantial computational complexity. To reduce the complexity a preselection of a small number of excitation sequences is made by selecting a small number of excitation sequences resembling the most a backward filtered target signal. With this small number of excitation sequences a full complexity search is made. Due to the reduced number of excitation sequences involved in the final selection the required computational complexity is reduced.
Description
Reduced complexity signal transmission system The invention is related to a transmission system comprising a transmitter ' for transmitting an input signal to a receiver via a transmission channel, the transmitter comprising an encoder with an excitation sequence generator for generating a plurality of excitation sequences, selection means for selecting an excitation sequence from a plurality of excitation signals resulting in a minimum error between a synthetic signal derived from said excitation sequence, and a target signal derived from the input signal, the transmitter being arranged for transmitting a signal representing the selected excitation sequence to the receiver, the receiver comprises'a decoder with an excitation sequence generator for deriving the selected excitation sequence from the signal representing the selected excitation sequence, and a synthesis filter for deriving a synthetic signal from the excitation sequence.
The present invention is also related to a transmitter, an encoder, a trans-mission method and an encoding method.
A transmission system according to the preamble is known-from the paper "Codebook searching for 4.8 kbps CELP speech coder" by W. Grieder et. al. in Communications, Computers and Power in the Modern Environment Conference proceeding, Saskatoon, Canada, 17-18 May 1993, pp. 397-406, IEEE Wescanex 1993.
Such transmission systems can be used for transmission of speech signals via a transmission medium such as a radio channel, a coaxial cable or an optical fibre. Such transmission systems can also be used for recording of speech signals on a recording medium such as a magnetic tape or disc. Possible applications are automatic answering machines or dictating machines.
In modern speech transmission systems, the speech signals to be transmitted are often coded using the analysis by synthesis technique. In this technique, a synthetic signal is generated by means of a synthesis filter which is excited by a plurality of excitation sequences. The synthetic speech signal is determined for a plurality of excitation sequences, and an error signal representing the error between the synthetic signal, and a target signal derived from the input signal is determined. The excitation sequence resulting in the smallest error is selected and transmitted in coded form to the receiver.
In the receiver, the excitation sequence is recovered, and a synthetic signal is generated by applying the excitation sequence to a synthesis filter.
This synthetic WO 97/30525 PCT/>B97/00069
The present invention is also related to a transmitter, an encoder, a trans-mission method and an encoding method.
A transmission system according to the preamble is known-from the paper "Codebook searching for 4.8 kbps CELP speech coder" by W. Grieder et. al. in Communications, Computers and Power in the Modern Environment Conference proceeding, Saskatoon, Canada, 17-18 May 1993, pp. 397-406, IEEE Wescanex 1993.
Such transmission systems can be used for transmission of speech signals via a transmission medium such as a radio channel, a coaxial cable or an optical fibre. Such transmission systems can also be used for recording of speech signals on a recording medium such as a magnetic tape or disc. Possible applications are automatic answering machines or dictating machines.
In modern speech transmission systems, the speech signals to be transmitted are often coded using the analysis by synthesis technique. In this technique, a synthetic signal is generated by means of a synthesis filter which is excited by a plurality of excitation sequences. The synthetic speech signal is determined for a plurality of excitation sequences, and an error signal representing the error between the synthetic signal, and a target signal derived from the input signal is determined. The excitation sequence resulting in the smallest error is selected and transmitted in coded form to the receiver.
In the receiver, the excitation sequence is recovered, and a synthetic signal is generated by applying the excitation sequence to a synthesis filter.
This synthetic WO 97/30525 PCT/>B97/00069
2 signal is a replica of the input signa.I of the transmitter.
In order to obtain a good quality of signal transmission a large number (e.g. 1024) of excitation sequences are involved with the selection. In the case of speech coding an excitation sequence is in general a segment with a duration of 2-5 ms. In the case of a sample frequency of 16 kHz, this means 32-80 samples. The parameters of the synthesis filter are in general derived from analysis parameters which represent characteristic __1 I. _ _.L __3-___. ..t__ _~_t___:_ _ ....1 ~ wl-_ -properties of tile input signal. in speech coamg me analysis paraIlleterJ uJCa llloJlly are su called prediction parameters. The number of prediction parameters can vary from 10 to 50, and consequently the order of the synthesis filter.
IO Having to compute the synthetic speech signal for all excitation sequences results in a substantial computational burden.
The object of the present invention is to provide a transmission system according to the preamble in which the computational burden is substantially reduced.
Therefore the transmission system according to the invention is IS characterised in that the encoder comprises an analysis filter for deriving from the input signal a residual sequence, in that the encoder comprising excitation sequence selection means for selecting from a larger set of excitation sequences the plurality of excitation sequences having the largest resemblance with the residual sequence.
The invention is based on the recognition that the complexity of the trans-20 mission system can be substantially reduced by performing a preselection of the possible excitation sequences using a fltered target signal or residual signal. The excitation sequences selected are those that most resemble the filtered target signal (or residual signal).
Experiments have shown that it is possible to reduce the complexity of the coder with a factor varying from 20 to I80 without affecting the quality of the selection procedure.
25 It is observed that the article "Binary pulse excitation: a novel approach to low complexity CELP coding" by R.A. Salami in the book "Advances in Speech Coding"
edited by B. Atal, V. Cupermann and A. Gersho, pp. 145-156, I~luwer Academic Publishers, ISBN 0-7923-9091-1 discloses the construction of a local codebook from a larger codebook. However in this document it is not disclosed that the excitation sequences are 30 selected in view of their resemblance to the residual signal, but they are derived from one selected excitation sequence which is regarded as nearly optimal.
An embodiment of the invention is characterised in that the excitation sequences comprise non zero sample values being separated by a predetermined number of zero sample values, and in that the excitation sequence selecting means are arranged for
In order to obtain a good quality of signal transmission a large number (e.g. 1024) of excitation sequences are involved with the selection. In the case of speech coding an excitation sequence is in general a segment with a duration of 2-5 ms. In the case of a sample frequency of 16 kHz, this means 32-80 samples. The parameters of the synthesis filter are in general derived from analysis parameters which represent characteristic __1 I. _ _.L __3-___. ..t__ _~_t___:_ _ ....1 ~ wl-_ -properties of tile input signal. in speech coamg me analysis paraIlleterJ uJCa llloJlly are su called prediction parameters. The number of prediction parameters can vary from 10 to 50, and consequently the order of the synthesis filter.
IO Having to compute the synthetic speech signal for all excitation sequences results in a substantial computational burden.
The object of the present invention is to provide a transmission system according to the preamble in which the computational burden is substantially reduced.
Therefore the transmission system according to the invention is IS characterised in that the encoder comprises an analysis filter for deriving from the input signal a residual sequence, in that the encoder comprising excitation sequence selection means for selecting from a larger set of excitation sequences the plurality of excitation sequences having the largest resemblance with the residual sequence.
The invention is based on the recognition that the complexity of the trans-20 mission system can be substantially reduced by performing a preselection of the possible excitation sequences using a fltered target signal or residual signal. The excitation sequences selected are those that most resemble the filtered target signal (or residual signal).
Experiments have shown that it is possible to reduce the complexity of the coder with a factor varying from 20 to I80 without affecting the quality of the selection procedure.
25 It is observed that the article "Binary pulse excitation: a novel approach to low complexity CELP coding" by R.A. Salami in the book "Advances in Speech Coding"
edited by B. Atal, V. Cupermann and A. Gersho, pp. 145-156, I~luwer Academic Publishers, ISBN 0-7923-9091-1 discloses the construction of a local codebook from a larger codebook. However in this document it is not disclosed that the excitation sequences are 30 selected in view of their resemblance to the residual signal, but they are derived from one selected excitation sequence which is regarded as nearly optimal.
An embodiment of the invention is characterised in that the excitation sequences comprise non zero sample values being separated by a predetermined number of zero sample values, and in that the excitation sequence selecting means are arranged for
3 determining from the residual signal the position of the non zero sample values in the plurality of excitation sequences.
Using equidistant pulses separated with a predetermined number of zero values results in a reduced computational complexity for filtering the excitation sequences. By first selecting the position of the non zero samples in the excitation sequences to be considered for further selection, the number of excitation sequences involved in the further selection, is reduced substantially.
This leads to a substantial decrease of the required computational complexity.
A further embodiment of the invention is characterised in that the excitation sequences comprises ternary excitation samples, in that the excitation sequence selecting means are arranged for selecting the excitation sequences of which the sign of the signal samples does not differ from the sign of the corresponding samples in the residual sequence.
Using ternary sample values results in a low computational complexity, because the multiplications used in the filtering of a ternary signal involve only multiplications with +l, 0 or -1, which can easily be performed.
The invention may be summarized as a transmission system comprising a. a transmitter for transmitting an input signal to a receiver via a transmission channel, the transmitter comprising an encoder with I. sequence selection means having i. an analysis filter for deriving, from a target signal derived from the input signal, a residual sequence, ii. an excitation sequence generator for generating a plurality of excitation sequences comprising 3a non zero sample values being separated by a predetermined number of zero sample values, the generator including a phase selector for determining from the residual sequence the position of the non-zero sample values in the plurality of excitation sequences, iii. a second selector for preselecting, from the plurality of excitation sequences, a second plurality of excitation sequences having the largest resemblance with the residual sequence, and II. selection means for selecting a selected excitation sequence from the second plurality of excitation sequences, the selected excitation sequence resulting in a minimum error between A.
a synthetic signal derived from said selected excitation sequence and B, the target signal derived from the input signal, the transmitter being arranged for transmitting a signal representing the selected excitation sequence to the receiver, and b. the receiver comprising i. decoder with an excitation sequence generator for deriving the selected excitation sequence from the signal representing the selected excitation sequence ii. a synthesis filter for deriving an output signal from the excitation sequence.
According to another aspect the invention provides a transmitter for transmitting an input signal, the transmitter comprising an encoder with I. sequence selection means having a. an analysis filter for deriving, from a target signal derived from the input signal, a residual sequence, b. an excitation sequence generator for generating a plurality of excitation sequences comprising non zero sample values being separated by a predetermined number of zero sample values, the generator including a phase selector for determining from the residual sequence the position of the non-zero sample values in the plurality of excitation sequences, c. a second selector for preselecting, from the plurality of excitation sequences, a second plurality of 3b excitation sequences having the largest resemblance with the residual sequence, and II. selection means for selecting a selected excitation sequence from the second plurality of excitation sequences, the selected excitation sequence resulting in a minimum error between i. a synthetic signal derived from said selected excitation sequence and ii. the target signal derived from the input signal, the transmitter being arranged for transmitting a signal representing the selected excitation sequence.
According to yet another aspect the invention provides an encoder comprising I, sequence selection means having a. an analysis filter for deriving, from a target signal derived from an input signal, a residual sequence, b.
an excitation sequence generator for generating a first plurality of excitation sequences comprising non zero sample values being separated by a predetermined number of zero sample values, the generator including a phase selector for determining from the residual sequence the position of the non-zero sample values in the plurality of excitation sequences, c. a second selector for preselecting, from the first plurality of excitation sequences, a second plurality of excitation sequences having the largest resemblance with the residual sequence, and II. selection means for selecting a selected excitation sequence from the second plurality of excitation sequences, the selected excitation sequence resulting in a minimum error between i. a synthetic signal derived from said selected excitation sequences and ii. the target signal derived from the input signal, the encoder being arranged for outputting a signal representing the selected excitation sequence.
According to still another aspect the invention provides a method for transmitting an input signal, the method comprising a. deriving, from a target signal derived 3c from the input signal, a residual sequence according to an analysis filter operation, b. generating a first plurality of excitation sequences comprising non zero sample values being separated by a predetermined number of zero sample values, the generating including determining from the residual sequence the position of the non-zero sample values in the plurality of excitation sequences according to a phase selector operation, c. selecting, from the first plurality of excitation sequences, a second plurality of excitation sequences having the largest resemblance with the residual sequence, d. selecting a selected excitation sequence from the second plurality of excitation sequences, the selected excitation sequence resulting in a minimum error between i. a synthetic signal derived from said selected excitation sequence, and ii. the target signal derived from the input signal, and e. transmitting a signal representing the selected excitation sequence.
The invention will now be explained with reference to the drawings.
Herein shows Fig. 1, a transmission system in which the invention can be applied;
Fig. 2, an encoder according to the invention;
Fig. 3, a part of the adaptive codebook selection means for preselecting a plurality of excitation sequences from the main sequence;
Fig. 4, a part of the selection means for selecting the at least one further excitation sequence;
Fig. 5, excitation sequence selection means according to the invention;
3d Fig. 6, fixed codebook selection means according to the invention;
Fig. 7, a decoder to be used in the transmission system according to Fig. 1.
In the transmission system according to Fig. 1, the input signal is applied to a transmitter 2. In the transmitter 2, the input signal is encoded using an encoder according to the invention. The output signal of the encoder 4 is applied to an input of transmitting means 6 for transmitting the output signal of the encoder 4 via the transmission
Using equidistant pulses separated with a predetermined number of zero values results in a reduced computational complexity for filtering the excitation sequences. By first selecting the position of the non zero samples in the excitation sequences to be considered for further selection, the number of excitation sequences involved in the further selection, is reduced substantially.
This leads to a substantial decrease of the required computational complexity.
A further embodiment of the invention is characterised in that the excitation sequences comprises ternary excitation samples, in that the excitation sequence selecting means are arranged for selecting the excitation sequences of which the sign of the signal samples does not differ from the sign of the corresponding samples in the residual sequence.
Using ternary sample values results in a low computational complexity, because the multiplications used in the filtering of a ternary signal involve only multiplications with +l, 0 or -1, which can easily be performed.
The invention may be summarized as a transmission system comprising a. a transmitter for transmitting an input signal to a receiver via a transmission channel, the transmitter comprising an encoder with I. sequence selection means having i. an analysis filter for deriving, from a target signal derived from the input signal, a residual sequence, ii. an excitation sequence generator for generating a plurality of excitation sequences comprising 3a non zero sample values being separated by a predetermined number of zero sample values, the generator including a phase selector for determining from the residual sequence the position of the non-zero sample values in the plurality of excitation sequences, iii. a second selector for preselecting, from the plurality of excitation sequences, a second plurality of excitation sequences having the largest resemblance with the residual sequence, and II. selection means for selecting a selected excitation sequence from the second plurality of excitation sequences, the selected excitation sequence resulting in a minimum error between A.
a synthetic signal derived from said selected excitation sequence and B, the target signal derived from the input signal, the transmitter being arranged for transmitting a signal representing the selected excitation sequence to the receiver, and b. the receiver comprising i. decoder with an excitation sequence generator for deriving the selected excitation sequence from the signal representing the selected excitation sequence ii. a synthesis filter for deriving an output signal from the excitation sequence.
According to another aspect the invention provides a transmitter for transmitting an input signal, the transmitter comprising an encoder with I. sequence selection means having a. an analysis filter for deriving, from a target signal derived from the input signal, a residual sequence, b. an excitation sequence generator for generating a plurality of excitation sequences comprising non zero sample values being separated by a predetermined number of zero sample values, the generator including a phase selector for determining from the residual sequence the position of the non-zero sample values in the plurality of excitation sequences, c. a second selector for preselecting, from the plurality of excitation sequences, a second plurality of 3b excitation sequences having the largest resemblance with the residual sequence, and II. selection means for selecting a selected excitation sequence from the second plurality of excitation sequences, the selected excitation sequence resulting in a minimum error between i. a synthetic signal derived from said selected excitation sequence and ii. the target signal derived from the input signal, the transmitter being arranged for transmitting a signal representing the selected excitation sequence.
According to yet another aspect the invention provides an encoder comprising I, sequence selection means having a. an analysis filter for deriving, from a target signal derived from an input signal, a residual sequence, b.
an excitation sequence generator for generating a first plurality of excitation sequences comprising non zero sample values being separated by a predetermined number of zero sample values, the generator including a phase selector for determining from the residual sequence the position of the non-zero sample values in the plurality of excitation sequences, c. a second selector for preselecting, from the first plurality of excitation sequences, a second plurality of excitation sequences having the largest resemblance with the residual sequence, and II. selection means for selecting a selected excitation sequence from the second plurality of excitation sequences, the selected excitation sequence resulting in a minimum error between i. a synthetic signal derived from said selected excitation sequences and ii. the target signal derived from the input signal, the encoder being arranged for outputting a signal representing the selected excitation sequence.
According to still another aspect the invention provides a method for transmitting an input signal, the method comprising a. deriving, from a target signal derived 3c from the input signal, a residual sequence according to an analysis filter operation, b. generating a first plurality of excitation sequences comprising non zero sample values being separated by a predetermined number of zero sample values, the generating including determining from the residual sequence the position of the non-zero sample values in the plurality of excitation sequences according to a phase selector operation, c. selecting, from the first plurality of excitation sequences, a second plurality of excitation sequences having the largest resemblance with the residual sequence, d. selecting a selected excitation sequence from the second plurality of excitation sequences, the selected excitation sequence resulting in a minimum error between i. a synthetic signal derived from said selected excitation sequence, and ii. the target signal derived from the input signal, and e. transmitting a signal representing the selected excitation sequence.
The invention will now be explained with reference to the drawings.
Herein shows Fig. 1, a transmission system in which the invention can be applied;
Fig. 2, an encoder according to the invention;
Fig. 3, a part of the adaptive codebook selection means for preselecting a plurality of excitation sequences from the main sequence;
Fig. 4, a part of the selection means for selecting the at least one further excitation sequence;
Fig. 5, excitation sequence selection means according to the invention;
3d Fig. 6, fixed codebook selection means according to the invention;
Fig. 7, a decoder to be used in the transmission system according to Fig. 1.
In the transmission system according to Fig. 1, the input signal is applied to a transmitter 2. In the transmitter 2, the input signal is encoded using an encoder according to the invention. The output signal of the encoder 4 is applied to an input of transmitting means 6 for transmitting the output signal of the encoder 4 via the transmission
4 medium 8 to a receiver 10. The operation of the transmitting means can include modulation of the (binary) signals from the encoder, possibly in binary form on a carrier signal suitable for the transmission medium 8. In the receiver 10, the signal received is converted to a signal suitable for the decoder 14 by a frontend 12. The operation of the frontend I2 can , S include filtering, demodulation and detection of binary symbols. The decoder 14 derives a reconstructed input signal from the output signal from the frontend 12.
In the encoder according to Fig. 2, the input of the encoder 4 carrying samples i[n] of the digitised input signal is connected to an input of framing means 20. The output of the framing means, carrying an output signal x[n], is connected to a high pass filter 22. The output of the high pass filter 22, carrying an output signal s[n], is connected to a perceptual weighting filter 32, and to an input of a LPC analyzer 24. A first output of the LPC analyzer 24, carrying output signal r[k] is connected to a quantiser 26. A
second output of the LPC analyzer carries a filter coefficient of for the reduced complexity synthesis filter.
The output of the quantiser 26, carrying the output signal C[k], is connected to an input of an interpolator 28, and to a first input of a multiplexer 59. The output of the interpolator 28, carrying the signal aq[k][s] is connected to a second input of the perceptual weighting filter 32, to an input of a zero input response filter 34, and to an input of an impulse response calculator 36. The output of the perceptual weighting filter 32, carrying the signal w[n], is connected to a first input of a subtracter 38.
The output of the zero input response filter 34, carrying output signal z[n] is connected to a second input of the subtracter 38.
The output of the subtracter 38, carrying a target signal t[n] is connected to an input of adaptive codebook selection means 40, adaptive codebook preselection means 42, and to an input of a subtracter 41. The output of the impulse response calculator 36, carrying output signal h[n] is connected to an input of the adaptive codebook selection means 40, an input of the adaptive codebook preselection means 42, an input of fixed codebook selection means 44 and an input of excitation signal selection means further to be referred to as fixed codebook preselection means 46. An output of the adaptive codebook preselection means 42, carrying output signal is[k] is connected to an input of the adaptive codebook selection means 40. The combination of the adaptive codebook preselection means 42, the adaptive codebook selection means 40, the fixed codebook preselection means 46 and the fixed codebook selection means 44 form the selection means 45.
A first output of the adaptive codebook selection means, carrying output ~'VO 97!30525 PCTlIB97/00069 signal Ga, is connected to a second input of the multiplexes 59, and to a first input of a multiplier 52. A second output of the adaptive codebook selection means, carrying output signal Ia, is connected to a third input of the multiplexes .59 and to an input of an adaptive codebook 48. A third output of the adaptive codebook selection means 40, carrying output
In the encoder according to Fig. 2, the input of the encoder 4 carrying samples i[n] of the digitised input signal is connected to an input of framing means 20. The output of the framing means, carrying an output signal x[n], is connected to a high pass filter 22. The output of the high pass filter 22, carrying an output signal s[n], is connected to a perceptual weighting filter 32, and to an input of a LPC analyzer 24. A first output of the LPC analyzer 24, carrying output signal r[k] is connected to a quantiser 26. A
second output of the LPC analyzer carries a filter coefficient of for the reduced complexity synthesis filter.
The output of the quantiser 26, carrying the output signal C[k], is connected to an input of an interpolator 28, and to a first input of a multiplexer 59. The output of the interpolator 28, carrying the signal aq[k][s] is connected to a second input of the perceptual weighting filter 32, to an input of a zero input response filter 34, and to an input of an impulse response calculator 36. The output of the perceptual weighting filter 32, carrying the signal w[n], is connected to a first input of a subtracter 38.
The output of the zero input response filter 34, carrying output signal z[n] is connected to a second input of the subtracter 38.
The output of the subtracter 38, carrying a target signal t[n] is connected to an input of adaptive codebook selection means 40, adaptive codebook preselection means 42, and to an input of a subtracter 41. The output of the impulse response calculator 36, carrying output signal h[n] is connected to an input of the adaptive codebook selection means 40, an input of the adaptive codebook preselection means 42, an input of fixed codebook selection means 44 and an input of excitation signal selection means further to be referred to as fixed codebook preselection means 46. An output of the adaptive codebook preselection means 42, carrying output signal is[k] is connected to an input of the adaptive codebook selection means 40. The combination of the adaptive codebook preselection means 42, the adaptive codebook selection means 40, the fixed codebook preselection means 46 and the fixed codebook selection means 44 form the selection means 45.
A first output of the adaptive codebook selection means, carrying output ~'VO 97!30525 PCTlIB97/00069 signal Ga, is connected to a second input of the multiplexes 59, and to a first input of a multiplier 52. A second output of the adaptive codebook selection means, carrying output signal Ia, is connected to a third input of the multiplexes .59 and to an input of an adaptive codebook 48. A third output of the adaptive codebook selection means 40, carrying output
5 signal p[n], is connected a second input of the subtracter 41.
The output of the subtracter 42 carrying output signal a[n], is connected to a second input of the fixed codebook selection means 44 and to a second input of fixed codebook preselection means 46. An output of the fixed codebook preselection means 46, carrying output signal if[k], is connected to a third input of the fixed codebook selection means 44. A first output of the fixed codebook selection means, carrying output signal Gf, is connected to a first input of a multiplier 54 and to a fourth input of the multiplexes 59. A
second output of the fixed codebbok selection means 44, carrying output signal P, is connected to a first input of an excitation generator 50 and to a fifth input of the multiplexes 59. A third output of the fixed codebook selection means 44, carrying output signal L[k], is connected to a second input of the excitation generator 50 and to a sixth input of the muitiplexer 59. An output of the excitation generator 50, carrying output signal yf[n], is connected to a second input of the multiplier 54. An output of the adaptive codebook 48, carrying output signal ya[n] is connected to a second input of the multiplier 52. An output of the multiplier 52 is connected to a first input of an adder 56. An output of the multiplier 54 is connected to a second input of the adder 56. An output of the adder 56, carrying output signal yaf[n] is connected to a memory update unit 58, the latter being coupled to the adaptive codebook 48.
An output of the multiplexes 59 constitutes the output of the encoder 59.
The embodiment of the encoder according to Fig. 2 is explained under the assumption that the input signal is a wide band speech signal with a frequency range from 0 7 kHz. A sampling rate of 16 kHz is assumed. However it is observed that the present invention is not limited to such type of signals.
In the framing means 20 the speech signal i[n] is divided into sequences of N signal samples x[n], also called frames. The duration of such a frame is typically 10-30 mS. By means of the high pass filter 22 the DC content of the framed signal is removed such that a DC free signal is available at the output of the high pass filter 22. By means of the linear predictive analyzer 24, K linear prediction coefficients a[k] are determined. K is typically between 8 and 12 for narrow band speech and between 16 to 20 for wideband
The output of the subtracter 42 carrying output signal a[n], is connected to a second input of the fixed codebook selection means 44 and to a second input of fixed codebook preselection means 46. An output of the fixed codebook preselection means 46, carrying output signal if[k], is connected to a third input of the fixed codebook selection means 44. A first output of the fixed codebook selection means, carrying output signal Gf, is connected to a first input of a multiplier 54 and to a fourth input of the multiplexes 59. A
second output of the fixed codebbok selection means 44, carrying output signal P, is connected to a first input of an excitation generator 50 and to a fifth input of the multiplexes 59. A third output of the fixed codebook selection means 44, carrying output signal L[k], is connected to a second input of the excitation generator 50 and to a sixth input of the muitiplexer 59. An output of the excitation generator 50, carrying output signal yf[n], is connected to a second input of the multiplier 54. An output of the adaptive codebook 48, carrying output signal ya[n] is connected to a second input of the multiplier 52. An output of the multiplier 52 is connected to a first input of an adder 56. An output of the multiplier 54 is connected to a second input of the adder 56. An output of the adder 56, carrying output signal yaf[n] is connected to a memory update unit 58, the latter being coupled to the adaptive codebook 48.
An output of the multiplexes 59 constitutes the output of the encoder 59.
The embodiment of the encoder according to Fig. 2 is explained under the assumption that the input signal is a wide band speech signal with a frequency range from 0 7 kHz. A sampling rate of 16 kHz is assumed. However it is observed that the present invention is not limited to such type of signals.
In the framing means 20 the speech signal i[n] is divided into sequences of N signal samples x[n], also called frames. The duration of such a frame is typically 10-30 mS. By means of the high pass filter 22 the DC content of the framed signal is removed such that a DC free signal is available at the output of the high pass filter 22. By means of the linear predictive analyzer 24, K linear prediction coefficients a[k] are determined. K is typically between 8 and 12 for narrow band speech and between 16 to 20 for wideband
6 speech, however exceptions to this typical value are possible. The linear predictive coefficients are used in the synthesis filter to be explained later.
For the calculation of the prediction coefficients a[k] first the signal sjn]
is weighted with a Hamming window to obtain the weighted signal sw[n]. The prediction , coefficients ajn] are derived from the signal sw[n] by first calculating autocorrelation coefficients and subsequently performing the Levinson-Durbin algorithm for recursively determining the values a[k]. The result of the first recursion step is stored as of for use in the reduced complexity synthesis filter. Alternatively it is possible to store the results afl and aft of the second recursion step as parameters for the reduced complexity synthesis filter. It is observed that if a second order reduced complexity synthesis filter is used, it may be possible to perform only the preselection. A selection using a full complexity synthesis filter can then be dispensed with. To eliminate extremely sharp peaks in the spectral envelope represented by the prediction parameters a[k], a bandwidth expansion operation is performed by multiplying each coefficient a[k] with a value y~'. The modified prediction coefficients ab[k]
are transformed into log area ratios r[k].
The quantiser 26 quantises the log area ratios in a non-uniform way in order to reduce the number of bits to be used for transmitting the log area ratios to the receiver. The quantiser 26 generates a signal C[k] indicating the quantisation level of the log area ratios.
For the selection of the optimum excitation sequence for the synthesis filter the frames s[n] are subdivided in S subframes. In order to achieve smooth filter transitions the interpolator 28 performs linear interpolation between the current indices Cjk]
and the previous ones Cp[k] for each sub frame, and converts the corresponding log area ratios back into prediction parameters aq[k][s]. s is equal to the index of the current sub frame.
In an analysis by synthesis encoder, a frame (or sub frame) of the speech signal is compared with a plurality of synthetic speech frames each corresponding to a different excitation sequence filtered by a synthesis filter. The transfer function of the synthesis filter is equal to 1 /A(z) with A(z) being equal to ' A(z) = 1- ~ aq[k] ISI 'Z k 1 (1) k=0 In (1) P is the prediction order, k is a running index, and z-I is the unity delay operator.
In order to deal with the perceptual properties of the human auditory WO 97/30525 PCTlIB97/00069
For the calculation of the prediction coefficients a[k] first the signal sjn]
is weighted with a Hamming window to obtain the weighted signal sw[n]. The prediction , coefficients ajn] are derived from the signal sw[n] by first calculating autocorrelation coefficients and subsequently performing the Levinson-Durbin algorithm for recursively determining the values a[k]. The result of the first recursion step is stored as of for use in the reduced complexity synthesis filter. Alternatively it is possible to store the results afl and aft of the second recursion step as parameters for the reduced complexity synthesis filter. It is observed that if a second order reduced complexity synthesis filter is used, it may be possible to perform only the preselection. A selection using a full complexity synthesis filter can then be dispensed with. To eliminate extremely sharp peaks in the spectral envelope represented by the prediction parameters a[k], a bandwidth expansion operation is performed by multiplying each coefficient a[k] with a value y~'. The modified prediction coefficients ab[k]
are transformed into log area ratios r[k].
The quantiser 26 quantises the log area ratios in a non-uniform way in order to reduce the number of bits to be used for transmitting the log area ratios to the receiver. The quantiser 26 generates a signal C[k] indicating the quantisation level of the log area ratios.
For the selection of the optimum excitation sequence for the synthesis filter the frames s[n] are subdivided in S subframes. In order to achieve smooth filter transitions the interpolator 28 performs linear interpolation between the current indices Cjk]
and the previous ones Cp[k] for each sub frame, and converts the corresponding log area ratios back into prediction parameters aq[k][s]. s is equal to the index of the current sub frame.
In an analysis by synthesis encoder, a frame (or sub frame) of the speech signal is compared with a plurality of synthetic speech frames each corresponding to a different excitation sequence filtered by a synthesis filter. The transfer function of the synthesis filter is equal to 1 /A(z) with A(z) being equal to ' A(z) = 1- ~ aq[k] ISI 'Z k 1 (1) k=0 In (1) P is the prediction order, k is a running index, and z-I is the unity delay operator.
In order to deal with the perceptual properties of the human auditory WO 97/30525 PCTlIB97/00069
7 system the difference between the speech frame and the synthetic speech frame is filtered by a perceptual weighting filter with transfer function A(z)lA(zly). y is a 'constant normally having a value around 0.8 .The optimum excitation signal selected is the excitation signal that results in a minimum power of the output signal of the perceptual weighting filter.
' In the most speech coders the perceptual weighting filtering operation is performed before the comparison operation. This means that the speech signal has to be filtered by a filter with transfer function A(z)lA(zl y) and that the synthesis filter has to be replaced by a modified synthesis filter with transfer function 1 /A(zly). It is observed that also other types of perceptually weighting filters are in use, such as the one with transfer function i0 A(zlyr)lA(zly2) The perceptual weighting filter 32 performs the filtering of the speech signal according to the transfer function A(z)lA(zly) as discussed above. The parameters of the perceptual weighting filter 32 are updated each subframe with the interpolated prediction parameters aq[k][s]. It is observed that the scope of the present invention includes all variants of the transfer function of the perceptual weighting filter and all positions of the perceptual IS weighting filter.
The output signal of the modified synthesis filter is also dependent on the selected excitation sequences from previous subframes. The parts of the synthetic speech signal dependent on the current excitation sequence and the previous excitation sequences can be separated. Because the output signal of the zero input filter is independent on the current 20 excitation sequence, it can be moved to the speech signal path as is done with the filter 34 in Fig. 2.
Because the output signal of the modified synthesis filter is subtracted from the perceptually weighted speech signal, the signal of the zero input response filter 34 has also to be subtracted from the perceptually weighted speech signal. This subtraction is 25 performed by the subtracter 38. At the output of the subtracter 38 the target signal t[n] is available.
The encoder 4 comprises a local decoder 30. The local decoder 30 comprises an adaptive codebook 48 which stores subsequently a plurality of previously selected excitation sequences. The adaptive codebook 48 is addressed with the adaptive code-30 book index Ia. The output signal ya[n] of the adaptive codebook 48 is scaled with a gain factor Ga by the multiplier 52. The local decoder 30 comprises also an excitation generator 50 which is arranged for generating a plurality of predetermined excitation sequences. The excitation sequence y, f [n] is a so-called regular pulse excitation sequence.
It comprises a WO 97/30525 PCTlIB97/00069
' In the most speech coders the perceptual weighting filtering operation is performed before the comparison operation. This means that the speech signal has to be filtered by a filter with transfer function A(z)lA(zl y) and that the synthesis filter has to be replaced by a modified synthesis filter with transfer function 1 /A(zly). It is observed that also other types of perceptually weighting filters are in use, such as the one with transfer function i0 A(zlyr)lA(zly2) The perceptual weighting filter 32 performs the filtering of the speech signal according to the transfer function A(z)lA(zly) as discussed above. The parameters of the perceptual weighting filter 32 are updated each subframe with the interpolated prediction parameters aq[k][s]. It is observed that the scope of the present invention includes all variants of the transfer function of the perceptual weighting filter and all positions of the perceptual IS weighting filter.
The output signal of the modified synthesis filter is also dependent on the selected excitation sequences from previous subframes. The parts of the synthetic speech signal dependent on the current excitation sequence and the previous excitation sequences can be separated. Because the output signal of the zero input filter is independent on the current 20 excitation sequence, it can be moved to the speech signal path as is done with the filter 34 in Fig. 2.
Because the output signal of the modified synthesis filter is subtracted from the perceptually weighted speech signal, the signal of the zero input response filter 34 has also to be subtracted from the perceptually weighted speech signal. This subtraction is 25 performed by the subtracter 38. At the output of the subtracter 38 the target signal t[n] is available.
The encoder 4 comprises a local decoder 30. The local decoder 30 comprises an adaptive codebook 48 which stores subsequently a plurality of previously selected excitation sequences. The adaptive codebook 48 is addressed with the adaptive code-30 book index Ia. The output signal ya[n] of the adaptive codebook 48 is scaled with a gain factor Ga by the multiplier 52. The local decoder 30 comprises also an excitation generator 50 which is arranged for generating a plurality of predetermined excitation sequences. The excitation sequence y, f [n] is a so-called regular pulse excitation sequence.
It comprises a WO 97/30525 PCTlIB97/00069
8 plurality of excitation samples separated by a number of samples with zero value. The position of the excitation samples is indicated by the parameter PH (phase).
The excitation samples can have one of the values -I,0 and +1. The values of the excitation samples is given by the variable L[k]. The output signal yf~n] of the excitation generator 50 is scaled with a gain factor Gf by the multiplier 54. The output signals of the multipliers 52 and 54 are added by the adder 56 to an excitation signal yaf[n]. This signal ya,~n] is stored in the adaptive codebook 48 for use in the next subframe.
In the adaptive codebook preselection means 42 a reduced set of excitation sequences is determined. The indices is[kJ of these sequences is passed to the adaptive IO codebook selection means 40. In the adaptive codebook preselection means 42 a first order reduced complexity synthesis filter is used according to the invention.
Further not all possible excitation sequences are taken into account, but a reduced number of excitation sequences having a mutual displacement of at /east two positions. A good choice is a displacement in the range from 2 to 5. The reduction of the complexity of the synthesis filter used and the reduction of the number of excitation sequences taken into account gives a substantial reduction of the complexity of the encoder.
The adaptive codebook selection means 40 are arranged for deriving from the preselected excitation sequences the best excitation sequence. In this selection a full complexity synthesis filter is used, and a small number of excitation sequences in the vicinity of the preselected excitation sequences is tried. The displacement between the tried excitation sequences is smaller than the displacement used in the preselection. A
displacement of one is used in an encoder according to the invention. Due to the small number of excitation sequences involved, the additional complexity of the final selection is low.
The adaptive codebook selection means generate also a signal p[n] which is a synthetic signal obtained by filtering the stored excitation sequences by the weighted synthesis filter and by multiplying the synthetic signal with the value Ga.
The subtracter 41 subtracts the signal p[n] from the target signal t[n] to derive the difference signal a[n]. In the fixed codebook preselection means 46 a backward filtered target signal tf[n] is derived from the signal a[n]. From the possible excitation sequences, the excitation sequences resembling the most the filtered target signal are preselected, and their indices if[k] are passed to the fixed codebook selection means 46. The fixed codebook selection means 44 perform a search of the optimal excitation signal from those preselected by the fixed codebook preselection means 46. In this search a full WO 97!30525 PCT/IB97/00069
The excitation samples can have one of the values -I,0 and +1. The values of the excitation samples is given by the variable L[k]. The output signal yf~n] of the excitation generator 50 is scaled with a gain factor Gf by the multiplier 54. The output signals of the multipliers 52 and 54 are added by the adder 56 to an excitation signal yaf[n]. This signal ya,~n] is stored in the adaptive codebook 48 for use in the next subframe.
In the adaptive codebook preselection means 42 a reduced set of excitation sequences is determined. The indices is[kJ of these sequences is passed to the adaptive IO codebook selection means 40. In the adaptive codebook preselection means 42 a first order reduced complexity synthesis filter is used according to the invention.
Further not all possible excitation sequences are taken into account, but a reduced number of excitation sequences having a mutual displacement of at /east two positions. A good choice is a displacement in the range from 2 to 5. The reduction of the complexity of the synthesis filter used and the reduction of the number of excitation sequences taken into account gives a substantial reduction of the complexity of the encoder.
The adaptive codebook selection means 40 are arranged for deriving from the preselected excitation sequences the best excitation sequence. In this selection a full complexity synthesis filter is used, and a small number of excitation sequences in the vicinity of the preselected excitation sequences is tried. The displacement between the tried excitation sequences is smaller than the displacement used in the preselection. A
displacement of one is used in an encoder according to the invention. Due to the small number of excitation sequences involved, the additional complexity of the final selection is low.
The adaptive codebook selection means generate also a signal p[n] which is a synthetic signal obtained by filtering the stored excitation sequences by the weighted synthesis filter and by multiplying the synthetic signal with the value Ga.
The subtracter 41 subtracts the signal p[n] from the target signal t[n] to derive the difference signal a[n]. In the fixed codebook preselection means 46 a backward filtered target signal tf[n] is derived from the signal a[n]. From the possible excitation sequences, the excitation sequences resembling the most the filtered target signal are preselected, and their indices if[k] are passed to the fixed codebook selection means 46. The fixed codebook selection means 44 perform a search of the optimal excitation signal from those preselected by the fixed codebook preselection means 46. In this search a full WO 97!30525 PCT/IB97/00069
9 complexity synthesis filter is used. The signals C[k], Ga, Ia, Gf, PH and L[k]
are multiplexed to a single output stream by the multiplexer 59.
The impulse response values h[n] are calculated by the impulse response calculator 36 from the prediction parameters aq[k][s] according to the recursion:
h[n] = 0 ; n<0 h [n] = 1 ; n= 0 h [n] - ~ h [n-1-i ] - aq [ i] [ s] ~y'+1 ; l sn<Nm i=o (2) In (2) Nm is the required length of the impulse response. In the present system this length is equal to the number of samples in a subframe.
In the adaptive codebook preselection means 42 according to Fig. 3, the target signal i[n] is applied to an input of a time reverser 50. The output of the time reverser 50 is connected to an input of a zero state filter 52. The output of the zero state filter 52 is connected to an input of a time reverser 54. The output of the time reverser 54 is connected to a first input of a cross correlator 56. An output of the cross correlator 56 is connected to a first input of a divider 64.
An output of the adaptive codebook 48 is connected to a second input of the cross correlator 56 and, via a selection switch 49, to an input of a reduced complexity zero state synthesis filter 60. A further terminal of the selection switch is also connected to an output of the memory update unit 58. The output of the reduced complexity synthesis filter 60 is connected to an input of an energy estimator 62. An output of the energy estimator 62 is connected to an input of an energy table 63. An output of the energy table 63 is connected to a second input of the divider 64. The output of the divider 64 is connected to a_r~~nput ofapeak detector 65,and theoutpui ofthe peak detector65isconnected to an input of a selector 66. A first output of the selector 66 is connected to an input of the adaptive codebook 48 for selecting different excitation sequences. A second output of the selector 66 carrying a signal indicating the preselected excitation sequence from the adaptive codebook is connected to a selection input of the adaptive codebook 48 and to a selection input of the energy table 63.
The adaptive codebook preselection means 42 are arranged for selecting the excitation sequence from the adaptive codebook and the corresponding gain factor ga.
This operation can be written as minimising the error signal being equal to:
Nm-I
. (t [nl -Ja~Ytl1 Inl )2 (3) n =0 In (3) Nm is the number of samples in a subframe, y[LJ[n~ is the response of the zero-state synthesis filter on the excitation sequence ca[l][n]. By differentiating (3) with respect to ga and stating the derivative equal to zero for the optimal value of ga can be found: , Nm-1 ~ tn1 -yt1 l tn1 cJ.'a = n-Nm-I (4) Y2 f17 tn1 n=0 Substituting (4) into (3) gives for Nm-1 t2 fn1 - Nm-I ( 5 ) n=0 Y2 t1l fnl n=0 5 Minimising corresponds to maximising the second term,f[Z] in (5) over 1.
f[l] can also be written as: .
m-I 2 m-I Nm-1 t tnl -Ytl1 tnl ~ t fnl - ( ~ ca t11 tit -h fn-il ) f f 1 1 - n=0 - n=0 i=0 6 ) Nm-I Nm-I
y2 t11 tnl y2 t1] tn1 n=0 n=0 In (6) h[n] is the impulse response of the filter 52 in Fig. 3, as calculated according to (2).
(6) can also be written as:
m-I Nm-I 2 m-I
cafll fit - ( ~ t: fnl -hfn-i1 ) ~ cafll fil -t:afil f f 11 _ i=0 n=0 _ i=0 Nm-I Nm-1 y2 f11 fnl y2 f11 fnl ' n=0 n=0 m-I
t fnl ~Ytll fnl n=0 (7) is used in the preselection of the adaptive codebook. The advantage of using ('n is that for determining the numerator of (~ only one filter operation is required for ail codebook entries. Using (6) would require one filter operation for each codebook entry involved in the preselection. For determining the denominator of ('n, whose calculation still requires filtering all codebook entries, a reduced complexity synthesis filter is used.
The denominator Ea of f[LJ is the energy of the excitation sequences ' involved filtered with the reduced complexity synthesis filter 60.
Experiments have shown that the single filter coefficient varies rather slowly, so it has to be updated only once per frame. It is also possible to calculate the energy of the excitation sequences only once per frame, but this requires a slightly modified selection procedure. For preselecting the excitation sequences from the adaptive codebook the measure rap[i -Lm+l]
derived from ('n is calculated according to:
m-1 ca[Lenin+i-.Lm+1-Sa-n] -to[n] (g1 rap[i-Lm+L] = n=o Ea[i-Lm+2 In (S) i and L are running parameters, ~ Lenin is the minimum possible pitch period of the speech signal being considered, Nm is the number of samples per subframe, Sa is the displacement between subsequent excitation sequences, and Lm is a constant defining the number of energy values stored per subframe, which is equal to I+ ~(Nm-1)lSa . The search according to (8) is performed for 0 _< l < Lm and 0 _< i < S.
The search is arranged to include always the first codebook entry corresponding to the beginning of an excitation sequence previously written in the adaptive codebook 48. This allows the reuse of previously calculated energy values Ea stored in the energy table 63.
At the instance for updating the adaptive codebook 48, the selected excitation signal yaf[n] of the previous subframe is present in the memory update unit 58.
The selection switch 49 is in the position 0, and the newly available excitation sequences are filtered by the reduced complexity synthesis filter 60. The energy values of the new filtered excitation sequences are stored in Lm memory positions. The energy values already present in the memory 63 are shifted downward. The oldest Lm energy values are shifted out from the memory 63, because the corresponding excitation sequences are not present any more in the adaptive codebook. The target signal to[n] is calculated by the combination of the time reverser 50 the filter 52 and the time reverser 54. The correlator 56 calculates the numerator of (8), and the divider 64 performs the division from the numerator of (8) by the denominator of (8). The peak detector 65 determines the indices of the codebook indices giving the Pa largest values of {8). The selector 66 adds the indices of the neighbouring excitation sequences of the Pa sequences found by the peak selector 56 and passes all these indices to the adaptive codebook selector 40.
In the middle of the frame (after S/2 subframes have passed) the value of of is updated. Subsequently the selection switch is put in position 1 and all energy values corresponding to the excitation sequences involved with the adaptive codebook preselections are recalculated and stored in the memory 63.
In the adaptive codebook selector 40 according to Fig. 4, an output of the adaptive codebook 48 is connected to an output of the (full complexity) zero state synthesis filter 70. The synthesis filter 70 receives its impulse response parameter from the calculator 36. The output of the synthesis filter 70 is connected to an input of a correlator 72 and to an input of an energy estimator 74. The target signal t[n] is applied to a second input of the correlator 72. An output of the correlator 72 is connected to a first input of a divider 76. An IS output of the energy estimator 74 is connected to a second input of the divider 76. The output of the divider 76 is connected to a first input of a selector 78. The indices is[k] of the preselected excitation sequences are applied to a second input of the selector 78. A first output of the selector is connected to a selection input of the adaptive codebook 48. Two further outputs of the selector 78 provide the output signals Ga and la.
The selection of the optimum excitation sequence corresponds to maximising the term ra[r]. Said term ra[r] is equal to:
m-1 t [nJ 'Y[rl [nl ra[rj - n=0 (9) Nm-1 y2 [rl [n~
n =0 (9) corresponds to the term ,f[LJ in {5). The signal y[r][n] is derived from the excitation sequences by the filter 70. The initial states of the filter 70 are set to zero each time before an excitation sequence is filtered. It is assumed that the variable is[r]
contains the indices of the preselected excitation sequences and their neighbours in increasing index order. This means that za[r] contains Pa subsequent groups of indices, each of these groups comprising Sa consecutive indices of the adaptive codebook. For the codebook entry with the first index WO 97130525 PCT/IB9?/00069 of a group, y[r-Sa][nJ is calculated according to:
n y[r-SaJ [nJ =~ h[n-.Z ] -ca[.ia[r-SaJ -1 J ; Osn<Nm (lfl) t=o Because the same excitation samples but one are involved with the calculation of y[r-Sa+I][nJ, the value y[r-Sa+I][n) can be determined recursively from y[r-Sa][n]. This recursion can be applied for all excitation sequences having an index in one group. For the recursion can be written in general:
y[r- Sa+i+1J [nJ =y[r-Sa+iJ [n-1J +h [n] - ca [ia [r-Sa+i+lJ l (11) The correlator 72 determines the numerator of (9) from the output signal of the filter 70 and the target signal t[nJ. The energy estimator 74 determines the denominator of (9). At the output of the divider the value of (9) is available. The selector 78 causes (9) to be calculated for all preselected indices and stores the optimum index Ia of the adaptive codebook 48.
Subsequently the selector calculates the gain value g according to:
Nm-1 t:[n) .y[n]
n Nm-1 ( 12 ) Y2 [nJ
n=0 In (12) y is the response of the filter 70 to the selected excitation sequence with index Ia.
The gain factor g is quantised by a non uniform quantisation operation to the quantised gain factor Ga which is presented at the output of the selector 78. The selector 78 also outputs the contribution p[n] of the adaptive codebook to the synthetic signal according to:
p[nJ =Ga-y[nJ (13) In the fixed codebook preselection means according to Fig. 5, the signal a[n] is applied to an input of a backward filter 80. The output of the backward filter 80 is r connected to a first input of a correlator 86 and to an input of a phase selector 82. The output of the phase selector is connected to an input of an amplitude selector 84. The output of the amplitude selector 84 is connected to a second input of the correlator 86 and to an input of a reduced complexity synthesis filter 88. The output of the reduced complexity synthesis filter 88 is connected to an input of an energy estimator 90.
WO 97!30525 PCT/IB97/00069 The output of the correlator 86 is connected to a first input of divider 92.
The output of the energy estimator 90. is connected to a second input of the divider 92. The output of the divider 92 is connected to an input of a selector 94. At the output of the selector the indices i, f [k] of the preselected excitation sequences of the fixed codebook are available.
The backward filter 80 calculates from the signal a[n] a backward filtered signal tf[n]. The operation of the backward filter is the same as that described in relation to the backward filtering operation in the adaptive codebook preselection means 42 according to Fig. 3. The fixed codebook is arranged as a so called ternary RPE codebook (Regular Pulse Excitation}
i.e, a codebook comprising a plurality of equidistant pulses separated with a predetermined number of zero values. The ternary RPE codebook has Nm pulses of which Np pulses may have~an amplitude of +1, 0 or -1. These Np pulses are positioned on a regular grid defined by the phase PH and the pulse spacing D with 0 KPH < D. The grid positions pos are given by PH+D - l, with 0 <_ l < Np. The leaving Nm-Np pulses are zero. The ternary RPE
codebook as defined above has D - (3Np-1 ) entries. To reduce complexity a local RPE
codebook containing a subset of Nf entries is generated for each subframe. All excitation sequences of this local RPE codebook have the same phase PH which is determined by the phase selector 82 by searching over the interval 0 <_ PH < D the value of PH
which maximises the expression:
Np-1 t: f L Pfi+i7 ' 1 l ~ ( 14 ) 1=0 In the amplitude selector 84 two arrays are filled. The first array, amp contains the variables amp[L] being equal to sign(tf[PH+D -lj) in which sign is the signum function.
The second array, pos[L] contains a flag indicating the Nz largest values of ( tf[PH+D -L] ~ . For these values the excitation pulses are not allowed to have a zero value.
Subsequently a two dimensional array cf[k][n] is filled with Nf excitation sequences having phase PH and having sample values which fulfil the requirements imposed by the content of the arrays amp and pos respectively. These excitation sequences are the excitation sequences having the largest s resemblance to the residual sequence, being here represented by the backward filtered signal tf[n].
The selection of the candidate excitation sequence is based on the same principle as is used in the adaptive codebook preselection means 42. The correlator 86 calculated the correlation value between the backward filtered signal tf[n]
and the preselected WO 97!30525 PCTljB97/00069 excitation sequences. The (reduced complexity) synthesis filter 88 is arranged for filtering the excitation sequences, and the energy estimator 90 calculates the energy of the filtered excitation sequences. The divider divides the correlation value by the energy corresponding to the excitation sequence. The selector 94 selects the excitation sequences corresponding to 5 the Pf largest values of the output signal of the divider 92, and stores the corresponding ' indices of the candidate excitation sequences in an array y[k].
in the fixed codebook selection means 44 according to Fig. 6, an output of the reduced codebook 94 is connected to an input of a synthesis filter 96.
The output of the synthesis filter 96 is connected to a first input of a correiator 98 and to an input of an
are multiplexed to a single output stream by the multiplexer 59.
The impulse response values h[n] are calculated by the impulse response calculator 36 from the prediction parameters aq[k][s] according to the recursion:
h[n] = 0 ; n<0 h [n] = 1 ; n= 0 h [n] - ~ h [n-1-i ] - aq [ i] [ s] ~y'+1 ; l sn<Nm i=o (2) In (2) Nm is the required length of the impulse response. In the present system this length is equal to the number of samples in a subframe.
In the adaptive codebook preselection means 42 according to Fig. 3, the target signal i[n] is applied to an input of a time reverser 50. The output of the time reverser 50 is connected to an input of a zero state filter 52. The output of the zero state filter 52 is connected to an input of a time reverser 54. The output of the time reverser 54 is connected to a first input of a cross correlator 56. An output of the cross correlator 56 is connected to a first input of a divider 64.
An output of the adaptive codebook 48 is connected to a second input of the cross correlator 56 and, via a selection switch 49, to an input of a reduced complexity zero state synthesis filter 60. A further terminal of the selection switch is also connected to an output of the memory update unit 58. The output of the reduced complexity synthesis filter 60 is connected to an input of an energy estimator 62. An output of the energy estimator 62 is connected to an input of an energy table 63. An output of the energy table 63 is connected to a second input of the divider 64. The output of the divider 64 is connected to a_r~~nput ofapeak detector 65,and theoutpui ofthe peak detector65isconnected to an input of a selector 66. A first output of the selector 66 is connected to an input of the adaptive codebook 48 for selecting different excitation sequences. A second output of the selector 66 carrying a signal indicating the preselected excitation sequence from the adaptive codebook is connected to a selection input of the adaptive codebook 48 and to a selection input of the energy table 63.
The adaptive codebook preselection means 42 are arranged for selecting the excitation sequence from the adaptive codebook and the corresponding gain factor ga.
This operation can be written as minimising the error signal being equal to:
Nm-I
. (t [nl -Ja~Ytl1 Inl )2 (3) n =0 In (3) Nm is the number of samples in a subframe, y[LJ[n~ is the response of the zero-state synthesis filter on the excitation sequence ca[l][n]. By differentiating (3) with respect to ga and stating the derivative equal to zero for the optimal value of ga can be found: , Nm-1 ~ tn1 -yt1 l tn1 cJ.'a = n-Nm-I (4) Y2 f17 tn1 n=0 Substituting (4) into (3) gives for Nm-1 t2 fn1 - Nm-I ( 5 ) n=0 Y2 t1l fnl n=0 5 Minimising corresponds to maximising the second term,f[Z] in (5) over 1.
f[l] can also be written as: .
m-I 2 m-I Nm-1 t tnl -Ytl1 tnl ~ t fnl - ( ~ ca t11 tit -h fn-il ) f f 1 1 - n=0 - n=0 i=0 6 ) Nm-I Nm-I
y2 t11 tnl y2 t1] tn1 n=0 n=0 In (6) h[n] is the impulse response of the filter 52 in Fig. 3, as calculated according to (2).
(6) can also be written as:
m-I Nm-I 2 m-I
cafll fit - ( ~ t: fnl -hfn-i1 ) ~ cafll fil -t:afil f f 11 _ i=0 n=0 _ i=0 Nm-I Nm-1 y2 f11 fnl y2 f11 fnl ' n=0 n=0 m-I
t fnl ~Ytll fnl n=0 (7) is used in the preselection of the adaptive codebook. The advantage of using ('n is that for determining the numerator of (~ only one filter operation is required for ail codebook entries. Using (6) would require one filter operation for each codebook entry involved in the preselection. For determining the denominator of ('n, whose calculation still requires filtering all codebook entries, a reduced complexity synthesis filter is used.
The denominator Ea of f[LJ is the energy of the excitation sequences ' involved filtered with the reduced complexity synthesis filter 60.
Experiments have shown that the single filter coefficient varies rather slowly, so it has to be updated only once per frame. It is also possible to calculate the energy of the excitation sequences only once per frame, but this requires a slightly modified selection procedure. For preselecting the excitation sequences from the adaptive codebook the measure rap[i -Lm+l]
derived from ('n is calculated according to:
m-1 ca[Lenin+i-.Lm+1-Sa-n] -to[n] (g1 rap[i-Lm+L] = n=o Ea[i-Lm+2 In (S) i and L are running parameters, ~ Lenin is the minimum possible pitch period of the speech signal being considered, Nm is the number of samples per subframe, Sa is the displacement between subsequent excitation sequences, and Lm is a constant defining the number of energy values stored per subframe, which is equal to I+ ~(Nm-1)lSa . The search according to (8) is performed for 0 _< l < Lm and 0 _< i < S.
The search is arranged to include always the first codebook entry corresponding to the beginning of an excitation sequence previously written in the adaptive codebook 48. This allows the reuse of previously calculated energy values Ea stored in the energy table 63.
At the instance for updating the adaptive codebook 48, the selected excitation signal yaf[n] of the previous subframe is present in the memory update unit 58.
The selection switch 49 is in the position 0, and the newly available excitation sequences are filtered by the reduced complexity synthesis filter 60. The energy values of the new filtered excitation sequences are stored in Lm memory positions. The energy values already present in the memory 63 are shifted downward. The oldest Lm energy values are shifted out from the memory 63, because the corresponding excitation sequences are not present any more in the adaptive codebook. The target signal to[n] is calculated by the combination of the time reverser 50 the filter 52 and the time reverser 54. The correlator 56 calculates the numerator of (8), and the divider 64 performs the division from the numerator of (8) by the denominator of (8). The peak detector 65 determines the indices of the codebook indices giving the Pa largest values of {8). The selector 66 adds the indices of the neighbouring excitation sequences of the Pa sequences found by the peak selector 56 and passes all these indices to the adaptive codebook selector 40.
In the middle of the frame (after S/2 subframes have passed) the value of of is updated. Subsequently the selection switch is put in position 1 and all energy values corresponding to the excitation sequences involved with the adaptive codebook preselections are recalculated and stored in the memory 63.
In the adaptive codebook selector 40 according to Fig. 4, an output of the adaptive codebook 48 is connected to an output of the (full complexity) zero state synthesis filter 70. The synthesis filter 70 receives its impulse response parameter from the calculator 36. The output of the synthesis filter 70 is connected to an input of a correlator 72 and to an input of an energy estimator 74. The target signal t[n] is applied to a second input of the correlator 72. An output of the correlator 72 is connected to a first input of a divider 76. An IS output of the energy estimator 74 is connected to a second input of the divider 76. The output of the divider 76 is connected to a first input of a selector 78. The indices is[k] of the preselected excitation sequences are applied to a second input of the selector 78. A first output of the selector is connected to a selection input of the adaptive codebook 48. Two further outputs of the selector 78 provide the output signals Ga and la.
The selection of the optimum excitation sequence corresponds to maximising the term ra[r]. Said term ra[r] is equal to:
m-1 t [nJ 'Y[rl [nl ra[rj - n=0 (9) Nm-1 y2 [rl [n~
n =0 (9) corresponds to the term ,f[LJ in {5). The signal y[r][n] is derived from the excitation sequences by the filter 70. The initial states of the filter 70 are set to zero each time before an excitation sequence is filtered. It is assumed that the variable is[r]
contains the indices of the preselected excitation sequences and their neighbours in increasing index order. This means that za[r] contains Pa subsequent groups of indices, each of these groups comprising Sa consecutive indices of the adaptive codebook. For the codebook entry with the first index WO 97130525 PCT/IB9?/00069 of a group, y[r-Sa][nJ is calculated according to:
n y[r-SaJ [nJ =~ h[n-.Z ] -ca[.ia[r-SaJ -1 J ; Osn<Nm (lfl) t=o Because the same excitation samples but one are involved with the calculation of y[r-Sa+I][nJ, the value y[r-Sa+I][n) can be determined recursively from y[r-Sa][n]. This recursion can be applied for all excitation sequences having an index in one group. For the recursion can be written in general:
y[r- Sa+i+1J [nJ =y[r-Sa+iJ [n-1J +h [n] - ca [ia [r-Sa+i+lJ l (11) The correlator 72 determines the numerator of (9) from the output signal of the filter 70 and the target signal t[nJ. The energy estimator 74 determines the denominator of (9). At the output of the divider the value of (9) is available. The selector 78 causes (9) to be calculated for all preselected indices and stores the optimum index Ia of the adaptive codebook 48.
Subsequently the selector calculates the gain value g according to:
Nm-1 t:[n) .y[n]
n Nm-1 ( 12 ) Y2 [nJ
n=0 In (12) y is the response of the filter 70 to the selected excitation sequence with index Ia.
The gain factor g is quantised by a non uniform quantisation operation to the quantised gain factor Ga which is presented at the output of the selector 78. The selector 78 also outputs the contribution p[n] of the adaptive codebook to the synthetic signal according to:
p[nJ =Ga-y[nJ (13) In the fixed codebook preselection means according to Fig. 5, the signal a[n] is applied to an input of a backward filter 80. The output of the backward filter 80 is r connected to a first input of a correlator 86 and to an input of a phase selector 82. The output of the phase selector is connected to an input of an amplitude selector 84. The output of the amplitude selector 84 is connected to a second input of the correlator 86 and to an input of a reduced complexity synthesis filter 88. The output of the reduced complexity synthesis filter 88 is connected to an input of an energy estimator 90.
WO 97!30525 PCT/IB97/00069 The output of the correlator 86 is connected to a first input of divider 92.
The output of the energy estimator 90. is connected to a second input of the divider 92. The output of the divider 92 is connected to an input of a selector 94. At the output of the selector the indices i, f [k] of the preselected excitation sequences of the fixed codebook are available.
The backward filter 80 calculates from the signal a[n] a backward filtered signal tf[n]. The operation of the backward filter is the same as that described in relation to the backward filtering operation in the adaptive codebook preselection means 42 according to Fig. 3. The fixed codebook is arranged as a so called ternary RPE codebook (Regular Pulse Excitation}
i.e, a codebook comprising a plurality of equidistant pulses separated with a predetermined number of zero values. The ternary RPE codebook has Nm pulses of which Np pulses may have~an amplitude of +1, 0 or -1. These Np pulses are positioned on a regular grid defined by the phase PH and the pulse spacing D with 0 KPH < D. The grid positions pos are given by PH+D - l, with 0 <_ l < Np. The leaving Nm-Np pulses are zero. The ternary RPE
codebook as defined above has D - (3Np-1 ) entries. To reduce complexity a local RPE
codebook containing a subset of Nf entries is generated for each subframe. All excitation sequences of this local RPE codebook have the same phase PH which is determined by the phase selector 82 by searching over the interval 0 <_ PH < D the value of PH
which maximises the expression:
Np-1 t: f L Pfi+i7 ' 1 l ~ ( 14 ) 1=0 In the amplitude selector 84 two arrays are filled. The first array, amp contains the variables amp[L] being equal to sign(tf[PH+D -lj) in which sign is the signum function.
The second array, pos[L] contains a flag indicating the Nz largest values of ( tf[PH+D -L] ~ . For these values the excitation pulses are not allowed to have a zero value.
Subsequently a two dimensional array cf[k][n] is filled with Nf excitation sequences having phase PH and having sample values which fulfil the requirements imposed by the content of the arrays amp and pos respectively. These excitation sequences are the excitation sequences having the largest s resemblance to the residual sequence, being here represented by the backward filtered signal tf[n].
The selection of the candidate excitation sequence is based on the same principle as is used in the adaptive codebook preselection means 42. The correlator 86 calculated the correlation value between the backward filtered signal tf[n]
and the preselected WO 97!30525 PCTljB97/00069 excitation sequences. The (reduced complexity) synthesis filter 88 is arranged for filtering the excitation sequences, and the energy estimator 90 calculates the energy of the filtered excitation sequences. The divider divides the correlation value by the energy corresponding to the excitation sequence. The selector 94 selects the excitation sequences corresponding to 5 the Pf largest values of the output signal of the divider 92, and stores the corresponding ' indices of the candidate excitation sequences in an array y[k].
in the fixed codebook selection means 44 according to Fig. 6, an output of the reduced codebook 94 is connected to an input of a synthesis filter 96.
The output of the synthesis filter 96 is connected to a first input of a correiator 98 and to an input of an
10 energy estimator 100. The signal a[n] is applied to a second input of the correlator 98. The output of the correlator 98 is connected to a first input of a multiplier 108 and to a first input of a divider 102. The output of the energy estimator 100 is connected to a second input of the divider I02 and to an input of a multiplier 112. The output of the divider 102 is connected to an input of a quantiser 104. The output of the quantiser 104 is connected to an 15 input of a multiplier 105 and a squarer l I0.
The output of the multiplier 105 is connected to a second input of the multiplier 108. The output of the squarer 110 is connected to a second input of the multiplier 112. The output of the multiplier 108 is connected to a first input of a subtracter 114, and the output of the multiplier 112 is connected to a second input of the subtracter 114. The output of the subtracter 114 is connected to an input of a selector 116. A
first output of the selector I 16 is connected to a selection input of the reduced codebook 94.
Three outputs of the selector 116 with output signals P, L[k] and Gf present the final results of the fixed codebook search.
In the fixed codebook selection means 42 a closed loop search for the optimal excitation sequence is performed. The search involves determining the index r for which the expression r,~[rj is maximai. r,~[r] is equal to:
Nm-1 Nm-1 - rf [rJ =2~Gf~ ~ a[n] ~y[r] [n] - Gf2~ ~ y2[ri [n] (15) n=Q n=0 In (IS) y[rJ[n] is the filtered excitation sequence and Gf is the quantised version of the optimal gain factor g being equal to Nm-1 a fnJ ~Y[rJ [nJ
Nm-1 ( 16 ) Y2 [rl (nJ
n=0 (15) is obtained by expanding the expression for ~ deleting the terms not depending on r and replacing the optimal gain g by the quantised gain Gf. The signal y[r][n]
can be calculated according to:
n y[r] (n] _ ~ h [n-j ] - cf [if [r] [ j ] ; 0 sn<Nm j=o Because c~ji, f [r]j [~'] can only have non-zero values for j =P+D - l (0 <_ l < Np) (1'n can be simplified to:
_n-P
(18) y(r] [n) _ ~ h [n-P-D-1 ] - cf [r] [P+D-1 ]
1=0 The determination of (18) is performed by the filter 96. The numerator of (15) is determined by the correlator 98 and the denominator of (15) is calculated by the energy estimator I00.
The value of g is available at the output of the divider 102. The value of g is quantised to Gf by the quantiser 104. At the output of the multiplier 108 the first term of (15) is available, and at the output of the multiplier 112 the second term of (15) is available.
The expression rf[r] is available at the output of the subtracter l I4. The selector I16 selects the value of r maximising (1S), and presents at its outputs the gain Gf, the amplitude L[kj of the non-zero excitation pulses, and the optimal phase PH of the excitation sequence.
The input signal of the decoder 14 according to Fig. 7, is applied to an input of a demultiplexer 118. A first output of the demultiplexer 118 carrying the signal C[k]
is connected to an input of an interpc .r 130. A second output of the demultiplexer 118 carrying the signal la is connected to ..:~ input of an adaptive codebook 120.
An output of the adaptive codebook 120 is connected to a first input of a multiplier 124. A
third output of the demultiplexer 118 carrying the signal Ga is connected to a second input of the multiplier 124. A fourth output of the demultiplexer 1 I8 carrying the signal Gf is connected to. a first input of a multiplier 126. A fifth output of the demultiplexer l I8 carrying the signal PH is connected to a first input of an excitation generator 122. A sixth output of the demultiplexer WO 97130525 PCT/~97/00069 118 carrying the signal L[k] is connected to a second input of the excitation generator 122.
An output of the excitation generator is connected to a second input of the multiplier 126. An output of the multiplier 124 is connected to' a first input of an adder 128, and the output of the multiplier 126 is connected to a second input of the adder 128.
The output of the adder 128 is connected to a first input of a synthesis filter 132. An output of the synthesis filter is connected to a first input of a post filter 134.
An output of the interpolator 130 is connected to a second input of the synthesis filter 132 and to a second input of the post filter 134. The decoded output signal is available at the output of the post filter 134.
The adaptive codebook 120, generates an excitation sequence according to index Ia for each subframe. Said excitation signal is scaled with the gain factor Ga by the multiplier 124. The excitation generator 122 generates an excitation sequence according to the phase PH and the amplitude values L[k] for each subframe. The excitation signal from the excitation generator 122 is scaled with the gain factor Gf by the multiplier 126. The output signals of the multipliers 124 and 126 are added by the adder 128 to obtain the complete excitation signal. This excitation signal is fed back to the adaptive codebook 120 for adapting the content of it. The synthesis filter 132 derives a synthetic speech signal from the excitation signal at the output of the adder 128 under control of the interpolated prediction parameters aq[k][s] which are updated each subframe. The interpolated prediction parameters aq[k][s] are derived by interpolation of the parameters C[k] and conversion of the interpolated C[k] parameters to prediction parameters. The post filter 134 is used to enhance the perceptual quality of the speech signal. It has a transfer function equal to:
1-~ 0.651+1-aq[.il ts1 -z-(1+1) F(z) =G[sl - p ~ - (1-0.3-z-1) (39) 1-~ 0 . 751+1 , aqli] (s] - z-(1+1) 1=0 In (19) G[s] is a gain factor for compensating the varying attenuation of the filter function of the post filter 134.
The output of the multiplier 105 is connected to a second input of the multiplier 108. The output of the squarer 110 is connected to a second input of the multiplier 112. The output of the multiplier 108 is connected to a first input of a subtracter 114, and the output of the multiplier 112 is connected to a second input of the subtracter 114. The output of the subtracter 114 is connected to an input of a selector 116. A
first output of the selector I 16 is connected to a selection input of the reduced codebook 94.
Three outputs of the selector 116 with output signals P, L[k] and Gf present the final results of the fixed codebook search.
In the fixed codebook selection means 42 a closed loop search for the optimal excitation sequence is performed. The search involves determining the index r for which the expression r,~[rj is maximai. r,~[r] is equal to:
Nm-1 Nm-1 - rf [rJ =2~Gf~ ~ a[n] ~y[r] [n] - Gf2~ ~ y2[ri [n] (15) n=Q n=0 In (IS) y[rJ[n] is the filtered excitation sequence and Gf is the quantised version of the optimal gain factor g being equal to Nm-1 a fnJ ~Y[rJ [nJ
Nm-1 ( 16 ) Y2 [rl (nJ
n=0 (15) is obtained by expanding the expression for ~ deleting the terms not depending on r and replacing the optimal gain g by the quantised gain Gf. The signal y[r][n]
can be calculated according to:
n y[r] (n] _ ~ h [n-j ] - cf [if [r] [ j ] ; 0 sn<Nm j=o Because c~ji, f [r]j [~'] can only have non-zero values for j =P+D - l (0 <_ l < Np) (1'n can be simplified to:
_n-P
(18) y(r] [n) _ ~ h [n-P-D-1 ] - cf [r] [P+D-1 ]
1=0 The determination of (18) is performed by the filter 96. The numerator of (15) is determined by the correlator 98 and the denominator of (15) is calculated by the energy estimator I00.
The value of g is available at the output of the divider 102. The value of g is quantised to Gf by the quantiser 104. At the output of the multiplier 108 the first term of (15) is available, and at the output of the multiplier 112 the second term of (15) is available.
The expression rf[r] is available at the output of the subtracter l I4. The selector I16 selects the value of r maximising (1S), and presents at its outputs the gain Gf, the amplitude L[kj of the non-zero excitation pulses, and the optimal phase PH of the excitation sequence.
The input signal of the decoder 14 according to Fig. 7, is applied to an input of a demultiplexer 118. A first output of the demultiplexer 118 carrying the signal C[k]
is connected to an input of an interpc .r 130. A second output of the demultiplexer 118 carrying the signal la is connected to ..:~ input of an adaptive codebook 120.
An output of the adaptive codebook 120 is connected to a first input of a multiplier 124. A
third output of the demultiplexer 118 carrying the signal Ga is connected to a second input of the multiplier 124. A fourth output of the demultiplexer 1 I8 carrying the signal Gf is connected to. a first input of a multiplier 126. A fifth output of the demultiplexer l I8 carrying the signal PH is connected to a first input of an excitation generator 122. A sixth output of the demultiplexer WO 97130525 PCT/~97/00069 118 carrying the signal L[k] is connected to a second input of the excitation generator 122.
An output of the excitation generator is connected to a second input of the multiplier 126. An output of the multiplier 124 is connected to' a first input of an adder 128, and the output of the multiplier 126 is connected to a second input of the adder 128.
The output of the adder 128 is connected to a first input of a synthesis filter 132. An output of the synthesis filter is connected to a first input of a post filter 134.
An output of the interpolator 130 is connected to a second input of the synthesis filter 132 and to a second input of the post filter 134. The decoded output signal is available at the output of the post filter 134.
The adaptive codebook 120, generates an excitation sequence according to index Ia for each subframe. Said excitation signal is scaled with the gain factor Ga by the multiplier 124. The excitation generator 122 generates an excitation sequence according to the phase PH and the amplitude values L[k] for each subframe. The excitation signal from the excitation generator 122 is scaled with the gain factor Gf by the multiplier 126. The output signals of the multipliers 124 and 126 are added by the adder 128 to obtain the complete excitation signal. This excitation signal is fed back to the adaptive codebook 120 for adapting the content of it. The synthesis filter 132 derives a synthetic speech signal from the excitation signal at the output of the adder 128 under control of the interpolated prediction parameters aq[k][s] which are updated each subframe. The interpolated prediction parameters aq[k][s] are derived by interpolation of the parameters C[k] and conversion of the interpolated C[k] parameters to prediction parameters. The post filter 134 is used to enhance the perceptual quality of the speech signal. It has a transfer function equal to:
1-~ 0.651+1-aq[.il ts1 -z-(1+1) F(z) =G[sl - p ~ - (1-0.3-z-1) (39) 1-~ 0 . 751+1 , aqli] (s] - z-(1+1) 1=0 In (19) G[s] is a gain factor for compensating the varying attenuation of the filter function of the post filter 134.
Claims (9)
1. A transmission system comprising a. a transmitter for transmitting an input signal to a receiver via a transmission channel, the transmitter comprising an encoder with I. sequence selection means having i. an analysis filter for deriving, from a target signal derived from the input signal, a residual sequence, ii. an excitation sequence generator for generating a plurality of excitation sequences comprising non zero sample values being separated by a predetermined number of zero sample values, the generator including a phase selector for determining from the residual sequence the position of the non-zero sample values in the plurality of excitation sequences, iii. a second selector for preselecting, from the plurality of excitation sequences, a second plurality of excitation sequences having the largest resemblance with the residual sequence, and II. selection means for selecting a selected excitation sequence from the second plurality of excitation sequences, the selected excitation sequence resulting in a minimum error between A. a synthetic signal derived from said selected excitation sequence and B. the target signal derived from the input signal, the transmitter being arranged for transmitting a signal representing the selected excitation sequence to the receiver, and b. the receiver comprising i. decoder with an excitation sequence generator for deriving the selected excitation sequence from the signal representing the selected excitation sequence ii. a synthesis filter for deriving an output signal from the excitation sequence.
2. The transmission system according to claim 1, characterised in that the excitation sequences comprises ternary excitation samples, in that the selected means are arranged for selecting the excitation sequences of which the sign of the signal samples does not differ from the sign of the corresponding samples in the residual sequence.
3. The transmission system according to claim 1, characterised in that the excitation sequences comprises ternary excitation samples, and in that selection means are arranged for selecting the excitation sequences of which the sign of the signal samples correspond to the sign of the N
largest samples from the residual sequence, in which N is a positive integer.
largest samples from the residual sequence, in which N is a positive integer.
4. The system of claim 1, wherein the encoder includes both an adaptive codebook selection means and a fixed codebook selection means and the residual sequence is derived as a backward filtered signal obtained by the fixed codebook selection means from the adaptive codebook selection means.
5. A transmitter for transmitting an input signal, the transmitter comprising an encoder with I. sequence selection means having a. an analysis filter for deriving, from a target signal derived from the input signal, a residual sequence, b. an excitation sequence generator for generating a plurality of excitation sequences comprising non zero sample values being separated by a predetermined number of zero sample values, the generator including a phase selector for determining from the residual sequence the position of the non-zero sample values in the plurality of excitation sequences, c. a second selector for preselecting, from the plurality of excitation sequences, a second plurality of excitation sequences having the largest resemblance with the residual sequence, and II. selection means for selecting a selected excitation sequence from the second plurality of excitation sequences, the selected excitation sequence resulting in a minimum error between i. a synthetic signal derived from said selected excitation sequence and ii. the target signal derived from the input signal, the transmitter being arranged for transmitting a signal representing the selected excitation sequence.
6. The transmitter of claim 5, wherein the encoder includes both an adaptive codebook selection means and a fixed codebook selection means and the residual sequence is derived as a backward filtered signal obtained by the fixed codebook selection means from the adaptive codebook selection means.
7. An encoder comprising I. sequence selection means having a. an analysis filter for deriving, from a target signal derived from an input signal, a residual sequence, b. an excitation sequence generator for generating a first plurality of excitation sequences comprising non zero sample values being separated by a predetermined number of zero sample values, the generator including a phase selector for determining from the residual sequence the position of the non-zero sample values in the plurality of excitation sequences, c. a second selector for preselecting, from the first plurality of excitation sequences, a second plurality of excitation sequences having the largest resemblance with the residual sequence, and II. selection means for selecting a selected excitation sequence from the second plurality of excitation sequences, the selected excitation sequence resulting in a minimum error between i. a synthetic signal derived from said selected excitation sequences and ii. the target signal derived from the input signal, the encoder being arranged for outputting a signal representing the selected excitation sequence.
8. The encoder of claim 7, wherein the encoder includes both an adaptive codebook selection means and a fixed codebook selection means and the residual sequence is derived as a backward filtered signal obtained by the fixed codebook selection means from the adaptive codebook selection means.
9. A method for transmitting an input signal, the method comprising a. deriving, from a target signal derived from the input signal, a residual sequence according to an analysis filter operation, b. generating a first plurality of excitation sequences comprising non zero sample values being separated by a predetermined number of zero sample values, the generating including determining from the residual sequence the position of the non-zero sample values in the plurality of excitation sequences according to a phase selector operation, c. selecting, from the first plurality of excitation sequences, a second plurality of excitation sequences having the largest resemblance with the residual sequence, d. selecting a selected excitation sequence from the second plurality of excitation sequences, the selected excitation sequence resulting in a minimum error between i. a synthetic signal derived from said selected excitation sequence, and ii. the target signal derived from the input signal, and e. transmitting a signal representing the selected excitation sequence.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP96200371 | 1996-02-15 | ||
EP96200371.1 | 1996-02-15 | ||
PCT/IB1997/000069 WO1997030525A1 (en) | 1996-02-15 | 1997-01-31 | Reduced complexity signal transmission system |
Publications (2)
Publication Number | Publication Date |
---|---|
CA2218223A1 CA2218223A1 (en) | 1997-08-21 |
CA2218223C true CA2218223C (en) | 2006-03-28 |
Family
ID=36123370
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA002218223A Expired - Lifetime CA2218223C (en) | 1996-02-15 | 1997-01-31 | Reduced complexity signal transmission system |
Country Status (1)
Country | Link |
---|---|
CA (1) | CA2218223C (en) |
-
1997
- 1997-01-31 CA CA002218223A patent/CA2218223C/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
CA2218223A1 (en) | 1997-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0821849B1 (en) | Reduced complexity encoder for signal transmission system | |
US4980916A (en) | Method for improving speech quality in code excited linear predictive speech coding | |
US5127053A (en) | Low-complexity method for improving the performance of autocorrelation-based pitch detectors | |
CN101120398B (en) | Method for concatenating frames in communication system | |
US5138661A (en) | Linear predictive codeword excited speech synthesizer | |
US6014619A (en) | Reduced complexity signal transmission system | |
CA2218217C (en) | Reduced complexity signal transmission system | |
WO1992016930A1 (en) | Speech coder and method having spectral interpolation and fast codebook search | |
KR100275429B1 (en) | Speech codec | |
EP0578436B1 (en) | Selective application of speech coding techniques | |
US5692101A (en) | Speech coding method and apparatus using mean squared error modifier for selected speech coder parameters using VSELP techniques | |
CA2218223C (en) | Reduced complexity signal transmission system | |
US5809456A (en) | Voiced speech coding and decoding using phase-adapted single excitation | |
CA2124713C (en) | Long term predictor | |
CA2218244C (en) | Reduced complexity signal transmission system | |
CA2127483C (en) | Speech signal encoding system capable of transmitting a speech signal at a low bit rate without carrying out a large volume of calculation | |
AU617993B2 (en) | Multi-pulse type coding system | |
KR960011132B1 (en) | Pitch detection method of celp vocoder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EEER | Examination request | ||
MKEX | Expiry |
Effective date: 20170131 |