CA2022677C - Vector quantization encoder and vector quantization decoder - Google Patents

Vector quantization encoder and vector quantization decoder

Info

Publication number
CA2022677C
CA2022677C CA002022677A CA2022677A CA2022677C CA 2022677 C CA2022677 C CA 2022677C CA 002022677 A CA002022677 A CA 002022677A CA 2022677 A CA2022677 A CA 2022677A CA 2022677 C CA2022677 C CA 2022677C
Authority
CA
Canada
Prior art keywords
code vectors
vector quantization
vector
codebook
indexed
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 - Fee Related
Application number
CA002022677A
Other languages
French (fr)
Other versions
CA2022677A1 (en
Inventor
Yoshinori Tanaka
Tomohiko Taniguchi
Fumio Amano
Yasuji Ohta
Shigeyuki Unagami
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Publication of CA2022677A1 publication Critical patent/CA2022677A1/en
Application granted granted Critical
Publication of CA2022677C publication Critical patent/CA2022677C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/02Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using spectral analysis, e.g. transform vocoders or subband vocoders
    • G10L19/032Quantisation or dequantisation of spectral components
    • G10L19/038Vector quantisation, e.g. TwinVQ audio
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/008Vector quantisation
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/3082Vector coding

Abstract

VECTOR QUANTIZATION ENCODER AND
VECTOR QUANTIZATION DECODER

ABSTRACT OF THE DISCLOSURE
A vector quantization encoder and a vector quantization decoder compresses and decompresses speech signals, etc. The encoder or decoder comprises a plurality of codebooks each controlling a plurality of indexed code vectors of a different frequency band.
Each of the codebooks is provided with a synthesis filter for reproducing a signal wave shape based on a code vector provided by the corresponding codebook.
The encoder or decoder further comprises an adder for computing a sum of signal wave shapes reproduced by the synthesis filters. This arrangement can reduce the memory size of each codebook used for an encoding or a decoding process and an amount of operations of the encoding or decoding process.

Description

2a22677 VECTOR OUAN~I ZATION ENCODER ~ND VEC~OR OUANTI ZATION DECODER
BACXGROUND OF THE INVENTION
1. Field of Inve~tion The present invention relates to a vector quantization encoder and a vector quantization decoder employed for compressing and decompressing speech signals etc., and particularly to a vector quantization encoder and a vector quantization decoder that can reduce the memory size of a code book used for carrying out encoding and decoding processes as well as reducing an amount of operations of the encoding and decoding processes.
2. De~cription of th~ Related Art Generally, in a vector quantization device employed for compressing and decompressing speech signals etc., a vector quantization encoder or a vector quantization decoder has a single codebook containing a plurality of code vectors having indices. According to the indices, encoding and decoding processes are carried out. By increasing the quantity of the code vectors stored in the codebook, the quality of a reproduced speech signal may be improved. The increase of the volume of the codebook, however, increases the amount of encoding or decoding operations as well as the hardware volume, thereby impairing the practicality of the ., .
' system. In designing the vector quantization encoder or decoder, therefore, it is important to maintain the quality of reproduced speech signals while suppressing an increase in the amount of operations or the hardware volume.

.'. ~ . ~

- :~
.,~

' . ~ ' . . : . ' ,. ., . ' . ' . ' ' ', . ' .: ' . ' ' . ' ' , . ' ' ': :' .. . ' " ' :' ' '.

2 2~2267~
Conventional vector quantization encoders employed in a vector quantization device are known and will be described in greater detail hereinafter. Such quantization encoders include only a single codebook storing a plurality of code vectors. To accurately reproduce an encoded signal wave shape with such a conventional vector quantization encoder or decoder, it is necessary to reduce quantization distortion.
To do so, the number of code vectors stored in the codebook must be increased. To increase the number of code vectors, it is necessary to increase the memory size of the codebook.
This may increase the length of each index, thereby increasing transmission quantities and congesting communication lines.
In addition, it increases an amount of operations needed for finding an optimum index as well as a hardware volume.
.~ .
~MNARY OF ~HE INVENTION
To solve the problems of the conventional techniques, a feature of one embodiment of the present invention is to provide a practical vector quantization encoder and a practical vector quantization decoder for a vector quantization device that can reproduce high quality -signals without increasing an amount of operations and a hard -volume.
To achieve the above, a vector quantization encoder of a vector quantization device according to a first aspect of the present invention basically comprises a codeboo~ storing a plurality of indexed .. . .
~ A

.

_ 3 _ 2~22677 code vectors and providing one of the indexed code vectors in res?onse to an inDUt index signal, a sy~thesis filter for reproducing a speech signal based on the code vector provided by the codebook, an addition means for adding a wave shape of the reproduced speech signal provided by the synthesis filter to a wave shape OI an input speech signal to be encoded, and an evaluating portion for selecting a code vector index which minimi~es an error power value between the wave shape of the reproduced speech signal and that-of the input speech signal to be encoded and supplying the selected index to the codebook.
The above codebook includes a plurality of separate codebooks each storing code vectors of a different frequency band. Each of the separate codebooks is provided with the synthesis filter. An addition means is disposed to add reproduced speech signals provided by the synthesis filters to one another and forms a reproduced signal wave shape based on which a minimum error power value is to be found. The evaluating portion includes a means for generating indices for the respective codebooks as well as indices for code vectors of the respective codebooks.
According to a second aspect of the present invention, there is provided a vector quantization decoder of a vector quantization device. The decoder basically comprises a codebook storing a plurality of indexed code vectors, and a synthesis filter for processing a code vector provided by the codebook and reproducing a speech signal. One of the code vectors stored in the codebook is supplied, in response to an input index sisnal indicating the one code vector, to the synthesis filter, which then reproduces a speech signal wave shape based on the one code vector.
The above codebook involves a plurality of separate codebooks each storing code vectors of a different frequency band. Each OI the separate codebooks is , ,A
., - 4 - 2~2677 provided with the synthesis filter. An addition ~eans is disposed to add reproduced speech signals which are provided by the synthesis filters based on code vectors provided by the corresponding codebooks, to each other, thereby decodins and generating a reproduced speech signal.
- Unlike the conventional vector quantization . te-chnique that employs a constant number of vectors which cover full signal spectrum to be encoded and produce quantization noise spectrum irrespective of frequencies, the present invention utilizes a fact that noise in a signal band having a large power component ;, (low-band noise) is generally not perceivable while noise in a signal band having a small power component (high-band noise) is easily perceived. Based on the fact, the present invention reduces the number of code , vectors stored in a codebook for the band of large input . power component to carry out rough quantization for the band, and increases the number of code vectors stored in a codebook for the band of small input power component to carry out fine quantization for the band.
In this way, the present invention employs a plurality of codebooks for quantization, each of whith cover differnt frequency band and changes the numbers of code vectors stored in the codebooks depending on requirements, thereby reducing the memory size of each ~, codebook and an amount of quantizing operations.
According to a further aspect of the present ~ invention, there is provided a vector quantization encoder in j a vector quantization device, comprising:
codebook storing means for storing a plurality of indexed code vectors and for selectively providing code vectors in response to code vector indices and including a plurality of separate codebooks, each storing a portion of the indexed code vectors corresponding to a different frequency band;
' synthesis filters connected to provide respective signal wave shapes based on corresponding one of the code vectors;
addition means for providing a reproduced signal wave shape responsive to signal wave shaped provided by the ; synthesis filters;

.

.,: , - : .,., .. : : :; . . ,, - , : - . -- - 2~22677 error computing means for receiving an input speech signal and for providing an error vector responsive to adding the reproduced signal wave shape to the input speech signal;
error evaluating means for selecting the code vector indices responsive to minimizing a squared norm of the error vector; a~d ` controlling means for selecting combinations of the code vector indices.
In a still further aspect, there is also provided a vector quantization decoder in a vector quantization device, connectable to receive code vector indices, comprising:
codebook storing means for storing a plurality of indexed code vectors and for providing code vectors selected from the indexed code vectors based on the code vector indices and including a plurality of separate codebooks, each storing a portion of the indexed code vectors corresponding to a different frequency band;
gain means for providing gain code vectors responsive to multiplying a gain and the code vectors;
synthesis filters, each connected to receive one of corresponding gain code vectors to reproduce a signal wave shape; and addition means for providing a reproduced speech signal ! responsive to adding signal wave shape reproduced by the synthesis filters.

~ BRIEF DESCRIPTION OF THE DRAWI~GS
i The above object and features of the present j' invention will be more apparent from the following ! description of the preferred embodiments with reference , to the accompanying drawings, wherein:
Fig. 1 is a schematic view showing a principle of ' the present invention;
Fig. 2 is an exp1anatory view showing a difference between the present invention and a conventional technique;

" .

., ~ ' ' .
~' '' .

~ 6 ~ 2~22~77 igure 3 is a schematic view showing a vector quantization encoder according to an embodiment of the present invention;
Figure 4 is a schematic view showing a vector quantization decod2r according to an embodiment of the present . invention; and i Figure 5 is a schematic view showing a conventional technique.
~.
`~ DE8CRIPTION OF THE PREFERRED EMBODIMBNTS
, Prior to describing the present invention, reference .. is made to the conventional VECTOR ENCODER shown in Figure 5.
i xj In this figure, such quantization encoders loo include only a single codebook 1 storing a plurality of code .3 . vectors Cl to Cn that are selectively output according to input indices; a synthesis filter 3 that reproduces '. a speech signal X from a code vector selectively provided by the codebook l; an error computing means 5 } for adding the reproduced speech signal X and a wave .~ shape of an input speech signal to be encoded to each ~ other and computing an error between them; and an error :~ evaluating means 6 for evaluating an error E provided ~ by the error computing means 5.
According to a gain shape vector quantization encoding technique that normalizes energy of each code ~ vector of the codebook 1 and separates an amplification ¦ component and phase component from each other, the encoder 100 further includes a gain means 2 for multiplying a normalized code vector from the codebook ' 1 by a gain (a different gain value being given for each code vector), ' In this conventional vector quantization encoder 100, an squared norm Ek (k = 1 to n) of an error E of one code vector of the codebook 1 computed by the error ;j computing means 5 is expressed as follows:
1~ Ek = S - Xk2 -. The error evaluating means 6 selects an index with which . the above equation provides a minimum value. An index for one of the code vectors of the codebook 1 that ; provides the minimum of the value Ek is selected as a _.
A

G~ - 2 ~ 2 2 6 7 7 code representing a speech signal to be encoded. In the above equation, the followlng relation is established:
Xk = gHCk where S 1s a wave shape of the speech sisnal to be encoded, H is a impulse res~onse matrix of the sy~hesis filter, which H is expressed as ~ X =~ho o ~ -----o ~: hl ho l h2 h, ho ~ , .,. ~ 0 h~ , hn 2 ---' ho in a from of a lower left side triangle matrix where ho,h1,h2, are impulse responses of the synthesis ~ filter is a filtering proces.s, g is a galn, and Ck is .~ one code vector of the codebook 1.
Similarly, a conventional vector quantization decoder includes ~ codebook 1, a gain means 2, and a ~ synthesis filter 3, which are identical with those of :~ the encoder 100. The decoder receives an index encoded by the encoder 100, selects one of code vectors stored in the codebook 1 according to the received index, and reproduces a signal wave shape through the synthesis filter 3.
The conventional vector quantization encoder or q decoder has only one codebook 1. ~-Referring now to the present invention, Figure 1 is a schematic view showing a principle of this invention. In this Figure, a reference mark 10-M (M being an integer equal to or larger than 1) denotes one of a plurality of codebooks of the present invention. Each of the codebooks stores a plurality of indexed code vectors. Each codebook 10-M covers and processes code vectors of a different frequency band. If j required, one of the codebooks for the frequency band having a large input power component may store a smaller number of code vectors compared to the other codebooks.
~ In this way, the vector quantization encoder or ¦ decoder of the present invention employs a plurality of - codebooks (10-1 to 10-M).
., .'~ .

', , - 6B - 2 ~ 2 2 6 7 7 ccording to a f irst aspect of the present invention, a full frequency band of input speech signal spectrum is properly divided into segments, and each of the segments is allocated to one of the codebooks.
According to a second aspect of the present invention, at least one of the codebooks stores a different number of code vectors. When it is required to precisely ~ quantize a particular frequency band of an input speech L signal, or when it is allowed to roughly quantize a particular frequency band of the input speech signal, the arrangement of plural codebooks can help reduce the memory size of the encoder or decoder and a processing time.
According to a third aspect of the present :i ~ .
.i ~, .. . .
~. . , . . .

. --` 2~22677 invention for further materializing the technical idea of the second aspect, the vector quantization encoder 100 and a vector quantization decoder 200 each employs a plurality of codebooks 10-1 to 10-M each having a different size, i.e., the different number (nl, n2, ....
or nM) of code vectors.
As described before, noise in a low frequency band ~! of an input speech signal is not perceivable, so that ~; the low band of the signal may roughly be quantized. On the other hand, noise in a high frequency band of the input speech signal is easily perceived, so that the high band of the signal must finely be quantized.
Accordingly, as shown in Fig. 2(b), the frequency band of an input speech signal is temporarily divided into a low frequency band A, an intermediate frequency band B, and a high frequency band C, and the low frequency band ~, A is covered by the codebook 10-1, the intermediate ~-frequency band B by the codebook 10-2, and the high frequency band C by the codebook 10-3 (M). In this case, the number "nl" of code vectors stored in the codebook 10-1 is the smallest, the number "n3 (M)" of the codebook 10-3 (M) the largest, and the number "n2" of the codebook 10-2 intermediate (nl < n2 < n3(M)).
-~1 According to a fourth aspect of the present invention, the dimensions (1) of code vectors stored in the codebooks may be differed from one another. In Fig.
1, the codebook 10-1 has a dimensional number of 11, the codebook 10-2 having 12, and the codebook 10-M having lM (11 < 12 < lM). Such a combination of dimensional numbers is only an example, and various combinations -~
~ may be possible. Also, there are optional combinations ¦ of the numbers of code vectors (nl to nM) and the dimensional numbers (11 to lM).
,1 In Fig. 1, each codebook 10-M is provided with a synthesis filter 30-M to make a pair. The synthesis filter 30-M reproduces a signal wave shape based on a code vector provided by the corresponding codebook 10-M.
. ,' I .
. , 2~22677 An addition means 40 adds signal wave shapes reproduced by the synthesis filters to one another and provides a sum of them. An error computing means 50 corresponding to the error computing means 5 of Fig. 5 computes an error between a reproduced signal wave shape Y provided by the addîtion means 40 and a wave shape S of a signal to be encoded. An error evaluating means 60 s corresponding to the error evaluating means 6 of Fig. 5 1 selects code vectors for the codebooks so that an !~
; squared norm of error vector computed by the error ~ computing means 50 may be minimized. A controlling '~ means 70 successively selects combinations of code '~ vectors for the codebooks, reads a selected combination of code vectors out of the codebooks, and provides the read code vectors to the synthesis filters.
More precisely, the controlling means 70 and error ~ evaluating means 60 select code vectors among those :~ stored in the codebooks 10-1 to 10-M in a way of minimizing the squared norm of error vector EXI. KZ. -- -- .
KM of the previously described equation. When the selected code vectors are decided to be those with which the squared norm of error vector is minimized, the ~.1 error evaluating means 60 supplies indices of the :~? decided code vectors to the codebooks to reproduce a i speech signal wave shape.
Practically, according to a combination of code vectors selected from the respective codebooks, a value EKI . KZ. ~ KM for the combination is computed.
Thereafter, another combination of code vectors is selected from the respective codebooks, and an squared ~? norm E Kl. X2. ----- ~ XM for the combination is computed.
1, In this way,squared norm of error vector E Kl. ~2. ----- ~
KM are computed for all combinations of the code vectors.
In the vector quantization decoder 200 (Fig. 4)i - the addition means 40 may compute a sum of code vectors provided by the codebooks. In this case, a single synthesis filter 30-M is disposed to reproduce a speech :.~
~ - 8 -.. . ..

2~22677 signal from the sum of the code vectors. When energy of respective code vectors of the codebooks is normalized, a gain means corresponding to the gain means 2 of Fig. 5 is disposed for each codebook 10-M.
In the vector quantization encoder 100 of the present invention, the controlling means 70 instructs the M codebooks 10-1 to 10-M to provide a code vector Cki each. Thereafter, each of the synthesis filters 30-1 to 30-M filters a corresponding code vector CkM to provide a corresponding signal wave shape Xi(Si = H- Ck )where H is a impulse response matrix of the synthesis filter 30-i, which is multiplied by a gain gi if a gain means is disposed)(i = 1~ M). In this way, the synthesis filter 30-i reproduces the signal wave shape Xi based on the corresponding code vector selected from the codebook 10-i. The addition means 40 computes a sum of the signal wave shapes Xi and provides a reproduced signal wave shape. The error computing means 50 computes an error vector between the reproduced signal wave shape and the wave shape of a signal to be encoded. Among errors thus computed, the error evaluating means 60 detects a minimum one and specifies a combination of code vectors of the codebooks that provides the minimum error. A com~ination of indices corresponding to the specified code vectors of the codebooks is encoded into a code to be transmitted.
The vector quantization decoder 200 of the present invention employs codebooks 10-1 to 10-M of the identical number and arrangement as those of the vector quantization encoder 100. When the codebooks of the decoder 200 receive the code representing the combination of the code vector indices, the respective codebooks provide code vectors specified by the received -indices to corresponding synthesis filters 30-i(l = 1 M). In this way, each of the codebooks 10-i provides one code vector Cki. According to the same process as the encoding process, the synthesis filters 30-i filter , '...
., -- 9 -- ' . '.
/, "' . .
the provided code vectors Cki and reproduce corresponding signal wave shapes Xi. An addition means 40 computes a sum of the signal wave shapes Xi, thereby reproducing a wave shape of the signal to be decoded.
The addition means 40 of the vector quantization decoder 200 according to the present invention may compute a sum of code vectors provided by the codebooks 10-i(1 = 1 ~ M). In this case, a single synthesis filter filters the sum of the code vectors, thereby reproducing a wave shape of the signal to be decoded.
As described above, the present invention has a plurality of codebooks 10-1 to 10-M used for encoding or decoding processes. The addition means 40 of the present invention achieves the same controlling function as that provided by one disposed in the conventional single codebook structure. Supposing the conventional codebook controls 210 code vectors, the present invention controls the same code vectors with, for example, two codebooks in which one codeboo~ 10-1 controls, for example, 25 code vectors for law frequency band and the other codebook 10-2 controls the remaining 25 code vectors for high frequency band. Consequently, the number of code vectors stored in each codebook 10-i can remarkably be reduced compared to the conventional single codebook arrangement. This greatly reduces the memory size of the codebook 10-i.
According to the present invention, each codebook 10-i does not cover full input signal spectrum band width but, for example, the codebook lO-1 controls code vectors in a band from 0 KHz to 4 KHz, and the codebook 10-2 controls code vectors in a band from 4 KH~ to 8 KHz. In this way, each codebook covers code vectors of its own band.
As is well known as Shannon's sampling theorem, a continuous signal must be sampled at a frequency two times the maximum frequency of the signal to be sampled.
In encoding a signal having a maximum frequency of 8 .

', KHz, therefore, the conventional single codebook structure for covering whole signal spectrummust store code vectors sampled at 16 KHz. On the other hand, the codebook 10-1 of the present invention(for above exampl case of M = 2) may store code vectors sampled at 8 KHz that is twice 4 KHz, and the codebook 10-2 may store code vectors sampled at 16 KHz that is twice 8 KHz. As is apparent from this example, according to the codebooks 10-i of the present invention,(1 =1 ~ n) the dimensicn(li in Fig. 1) of each code vector can be shortened compared to that of the conventional codebook.
From this point also, the present invention can greatly redue the memory size of each codebook.
~ In addition, the present invention sets the number !, of code vectors stored in one codebook that covers a i band of large input power component to be smaller than those of other codebooks. Generally, noise in a signal ~ band having a large electric power component is not ;'l perceivable compared to noise in a signal band having a small electric power component. By utilizing this fact, the present invention differently sets the numbers of code vectors of respective codebooks. Namely, the number of code vectors stored in a codebook 10-i for a band of large electric power component is reduced.
~ For example, for a speech signal having a low ;~ frequency and large electric power component, the conventional codebook shows constant quantization noise spectrum irrespective of the frequency, as shown in Fig.
2(a). According to the codebooks 10-i(i = 1~ M) of the present invention, however, quantization noise spectrum ; increases as the frequency decreases, as shown in Fig.
~, 2(b). With this arrangement, the total number of code vectors stored in the codebooks 10-i (i = 1~ M) can further be reduced compared to that of the single codebook structure. From this point also, the present invention can reduce the memory size of each codebook.
, As described above, the present invention can greatly ., ~

., .

20~2677 reduce the memory size of each codebook compared to the conventional technique. Accordingly, an operation time necessary for encoding and decoding processes can greatly be reduced.
EXAMPLES
The present invention will be described in detail according to embodiments for encoding speech signals.
Figure 3 shows a vector quantization encoder according to an embodiment of the present invontion. In the figure, a low-frequency-band codebook 10-a controls N pieces of indexed code vectors in a band from 0 KHz to 2 KHz. A high-frequency-band codebook 10-b controls Nb pieces of indexed code vectors in a frequency band from 2 KHz to 4 KHz. For the sake of simplicity of explanation, the codebook 10-a stores the following code vectors CLj (j being an index taking any integer between 1 to Nb) sam~led according to amplitude information at "p" sampling points:
CLj = (ajl, aj2, .... ajp~On the other hand, the codebook 10-b stores the following code vectors CHk (k being an index taking any integer between 1 to M) sampled according to amplitude information at "q"
sampling points:
CHk = (bkl, bk2, ..., bkq) Here, the Shannon's sampling theorem establishes a relation of "q = 2 x p." According to characteristics of speech signals, an long time averaged electric power component of the frequency band from 0 KHz to 2 KHz is larger than that of the frequency band from 2 KHz to 4 KHz. This provides a hearing masking effect so that the frequency band from 0 KHz to 2 KHz may allow larger noise. Taking this effect into consideration, the number Nb of code vectors of the codebook 10-a is set to be smaller than the number M of code vectors stored in the codebook 10-b.
A low-frequency-band gain means 20-a multiplies a code vector CLj of the codebook 10-a by a gain gLj. A

.. , ~ . ~ ..... . . .

2a22677 high-frequency-band gain means 20-b multiplies a code vector CHk of the codebook 10-b by a gain gHk. A low-frequency-band synthesis filter 30-a filters an output of the gain means 20-a and reproduces a signal wave shape based on the code vector provided by the codebook 10-a. A high-frequency-band synthesis filter 30-b filters an output of the gain means 20-b and reproduces a signal wave shape based on the code vector provided by ; the codebook 10-b. A signal wave shape XLj reproduced by the synthesis filter 30-a is expressed as follows:
XLj = gLj x H- CLj A signal wave shape XHk reproduced by the synthesis filter 30-b is expressed as follows:
XHk = gHk x H- CHk) ~ where H is a impalse response matrix of the synthesis i filter.
A low-frequency-band and high-frequency-band addition means 40a adds the two signal wave shapes reproduced by the synthesis filters 30-a and 30-b to , each other. The addition means 40a provides a reproduced signal Yjk expressed as follows:
Yjk = XLj + XHk A speech signal error computing means 50a computes ~`~j an error squared norm Ejk between the reproduced signal Yjk provided by the addition means 40a and a wave shape -S of a speech signal to be encoded. The error squared `
norm Ejk computed by the error computing means 50a is expressed as ~ollows:
j Ejk =11 S - Yj~ZIl d~ A minimum distortion evaluating means 60a corresponding to th error evaluating means 60 of Fig.
1 finds the indices (j, k) and gain values (gLj, gHk) of code vectors that provide a minimum error squared norm Ejk. Numeral 70 denotes a controlling means -corresponding to that of Fig. 1.
An operation of the above vector quantization encoder of the present invention will be explained.

fj' : .; ~ ` ' ' '' ;" .; '` . ~ . ' ~ . . . . ' ' :
''f' ' : ' : ' , . . :;. :'' ' ~. . .
~'! . .. . ... .. . , .. . , , ,; , ,................. . .

2~22677 In a first cycle, the controlling means 70 selects a code vector CL1 from the codebook 10-a and a code vector CH1 from the codebook 10-b and, in the next cycle, the code vector CL1 from the codebook 10-a and a code vector CH2 from the codebook 10-b. In this way, the controlling means 70 successively selects pairs of code vectors (CLj, CHk) from the codebooks 10-a and 10-b.
Namely, it selects "N x Nb" combinations of code vectors.
When a combination of code vectors (CL;, CHk) is selected, the gain means 20-a multiplies the code vector CLj selected from the codebook 10-a by a gain gLj, and the gain means 20-b multiplies the code vector C~k selected from the codebook 10-b by a gain gHk.
Thereafter, the synthesis filter 30-a filters an output of the gain means 20-a and reproduces a signal wave shape XLj corresponding to the code vector CLj of the codebook 10-a. The synthesis filter 30-b filters an output of the gain means 20-b and reproduces a signal wave shape XHk corresponding to the code vector CHk of the codebook 10-b.
The addition means 40a finds a sum of the two reproduced signal wave shapes and provides a reproduced signal Yjk. The speech signal error computing means 50a computes an error squared norm Ejk between the reproduced signal Yjk and a signal wave shape S of a speech signal to be encoded, and provides an error squared norm Ejk to the minimum distortion evaluating means 60a. In this way, the minimum distortion evaluating means 60a successively receives "N x Nb"
error electric power values Ejk.
After receiving each error squared norm Ejk, the minimum distortion evaluating means 60a resolves an equation that zeros a partial differentiation of the error squared norm Ejk with gLj and gHk, thereby finding values of the gains gLj and gHk that minimize the error squared norm Ejk. The error squared norm Ejk -- .

- 1 4 - -~
.: , 2~22677 at this time is also found. The minimum distortion evaluating means 60a specifies the index values and gain values that provide the minimum of "N x Nb" minimum error squared norm Ejk, and encodes the specified 4' values, thereby completing an encoding process of the speech signal to be encoded.
Figure 4 shows a vector quantization decoder 200 according to an embodiment of the present invention. In the figure, the same parts as those of Fig. 3 are ~ represented with like reference marks. An operation of the vector quantization decoder will be explained.
; The vector quantization decoder 200 receives codesi~ (involving index values and gain values) from the vector quantization encoder 100. The decoder reads a code vector CLj from a low-frequency-band codebook 10-a ~ according to the received index, and a code vector CHk ;1 from a high-frequency-band codebook 10-b according to the received index. A received gain gLj is set in a low-frequency-band gain means 20-a, and a received gain 3 gHk is set in a high-frequency-band gain means 20-b.
Thereafter, similar to the vector quantization encoder 100 of Fig. 3, a low-frequency-band synthesis filter 30-a reproduces a signal wave shape XLj from the specified code vector CLj, and a high-frequency-band synthesis filter 30-b reproduces a signal wave shape XHk from the specified code vector CHk. An addition means 40a finds a sum of the two reproduced signal wave shapes and provides a reproduced speech signal Yjk, thereby completing a decoding process of the speech signal.
The vector quantization decoder 200 of the present invention shown in Fig. 4 has two synthesis filters, i.e.
, the synthesis filter 30-a corresponding to the codebook 10-a and the synthesis filter 30-b '~ corresponding to the codebook 10-b. The addition means ~ 40a finds a sum of signal wave shapes reproduced by the! two synthesis filters. As explained before with ~ reference to Fig. 1, only one synthesis filter may be :

, - 1 5 -2~22677 sufficient if the addition means 40a is disposed in front of the synthesis filter.
As described above, the present invention arranges a plurality of codebooks for a vector quantization encoding process or a vector quantization decoding process. In addition, the present invention arranges a means for adding signals reproduced from code vectors of the codebooks to each other. This arrangement can realiæe the same controlling function as that realized :~
by the single codebook arrangement. Consequently, the present invention can greatly reduce the memory size of each codebook.
The present invention is not limited to the preferred embodiments explained with reference to the accompanying drawings. For example, it is allowable not to follow the gain shape vector quantization encoding technique. When this technique is not involved, it is not necessary to encode gain values.
In addition, the present invention is applicable for ;, not only speech signals but also other signals.
Unlike the above embodiments, the sizes of codebooks, i.e., the numbers of code vectors and~or dimensions of the codebooks of the quantization encoder and decoder of the present invention may be set sufficiently large to meet expected maximums. And these numbers may at any time and continuously be changed depending on an instantaneous spectrum distribution of input speech signals and electric power of the input speech signals for respective frequency bands covered by the codebooks.
In Fig. 2(b), the number of code vectors of a lower band codebook is set to be smaller than that of a higher band codebook. If, for example, an input signal level of an intermediate band becomes highest at one instant, the number of code vectors of the intermediate codebook may be increased at the instant depending on an electric power level of the signal. In this way, the ' ' . . .

,, i .. , . .. , .. - . - ., . , ,.;-.. , . " ~ ., , ~ . . .-.. . . .. .

., , . :, sizes of the respective codebooks are flexibly changed.
As described above, the present invention can maintain the quality of reproduced signals while greatly reducing the memory size of each codebook used for encoding and decoding processes, compared with conventional techniques. The present invention can, therefore, reduce an operation time of the encoding and decoding processes, thereby realizing a practical vector quantization encoder and vector quantization decoder.

~, .~ .
~, ,i ~ - 1 7 -.~.. , . . . . . . . . . :, . . . .

Claims (17)

1. A vector quantization encoder in a vector quantization device comprising:
codebook means for storing a plurality of indexed code vectors and for providing one of the indexed code vectors in response to a code vector index signal, synthesis filters for reproducing speech signals based on the indexed code vector provided by said codebook means;
addition means for adding the reproduced speech signals provided by said synthesis filters together to form a reproduced speech signal, error computing means for receiving an input speech signal and for computing a minimum error power valve by determining a difference between the reproduced speech signal and the input speech signal; and evaluating means for selecting the code vector index which minimizes the minimum error power value due to the difference between the reproduced speech signal and the input speech signal to be encoded and for supplying the selected code vector index to said codebook means, wherein:
said codebook means includes a plurality of separate codebooks, each stores indexed code vectors for a different frequency band;
each of said separate codebooks is provided with one of said synthesis filters;
said addition means forms the reproduced speech signal based on which the minimum error power value is to be found; and said evaluating means includes means for selecting indices corresponding to said respective separate codebooks as well as indices for the indexed code vectors of said respective separate codebooks based on the minimum error power value.
2. A vector quantization encoder according to claim 1, wherein at least one of said separate codebooks has a different number of the indexed code vectors from the rest of said separate codebooks.
3. A vector quantization encoder according to claim 2, wherein each of said separate codebooks has a different number of the indexed code vectors.
4. A vector quantization encoder according to claim 1, wherein each of said separate codebooks has indexed code vectors of different dimension.
5. A vector quantization encoder according to claim 1, wherein a number of the indexed code vectors stored in said separate codebooks varies depending on a frequency band of input speech signals.
6. A vector quantization encoder according to claim 1 or 2, wherein a usable number of indexed code vectors of each of the separate codebooks is variable in response to a level of the input speech signal.
7. A vector quantization decoder in a vector quantization device, comprising:
codebook means for storing a plurality of indexed code vectors;
synthesis filters for processing the indexed code vectors provided by said codebook means and for reproducing a speech signal, one of the indexed code vectors stored in said codebook means being supplied to the synthesis filter, which then reproduces the speech signal based on the one of the indexed code vectors, wherein:
said codebook means includes a plurality of separate codebooks, each storing a portion of the indexed code vectors for a different frequency band;
each of said separate codebooks is provided with one of said synthesis filters; and addition means for adding the reproduced speech signals which are provided by said synthesis filters to each other.
8. A vector quantization decoder according to claim 7, wherein at least one of said separate codebooks has a different number of the indexed code vectors from the rest of said separate codebooks.
9. A vector quantization decoder according to claim 8, wherein each of said separate codebooks has a different number of the indexed code vectors.
10. A vector quantization decoder according to claim 7, 8 or 9, wherein a number of the indexed code vectors stored in any one of said separate codebooks varies depending on a frequency band of input speech signals.
11. A vector quantization decoder according to claim 7, 8 or 9, wherein a usable number of the indexed code vectors of each of said separate codebooks is variable in response to a level of the input speech signal to be encoded.
12. A vector quantization decoder according to claim 7 or 9, wherein each of said separate codebooks has code vectors of different dimensions.
13. A vector quantization encoder in a vector quantization device, comprising:
codebook storing means for storing a plurality of indexed code vectors and for selectively providing code vectors in response to code vector indices and including a plurality of separate codebooks, each storing a portion of the indexed code vectors corresponding to a different frequency band;
synthesis filters connected to provide respective signal wave shapes based on corresponding one of the code vectors;
addition means for providing a reproduced signal wave shape responsive to signal wave shaped provided by said synthesis filters;
error computing means for receiving an input speech signal and for providing an error vector responsive to adding the reproduced signal wave shape to the input speech signal;
error evaluating means for selecting the code vector indices responsive to minimizing a squared norm of the error vector; and controlling means for selecting combinations of the code vector indices.
14. A vector quantization encoder according to claim 13, wherein at least one of said separate codebooks has a different number of the indexed code vectors from the rest of said separate codebooks.
15. A vector quantization encoder according to claim 13 or 14, further comprises:
gain means for multiplying each of the code vectors by a gain, and wherein:
said synthesis filters, each reproduces the signal wave shape based on the corresponding one of the code vectors multiplied by said gain means.
16. A vector quantization decoder in a vector quantization device, connectable to receive code vector indices, comprising:
codebook storing means for storing a plurality of indexed code vectors and for providing code vectors selected from the indexed code vectors based on the code vector indices and including a plurality of separate codebooks, each storing a portion of the indexed code vectors corresponding to a different frequency band;
gain means for providing gain code vectors responsive to multiplying a gain and the code vectors;

synthesis filters, each connected to receive one of corresponding gain code vectors to reproduce a signal wave shape;
and addition means for providing a reproduced speech signal responsive to adding signal wave shape reproduced by said synthesis filters.
17. A vector quantization encoder according to claim 16, wherein at least one of said separate codebooks has a different number of the indexed code vectors from the rest of said separate codebooks.
CA002022677A 1989-08-04 1990-08-03 Vector quantization encoder and vector quantization decoder Expired - Fee Related CA2022677C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP01-202418 1989-08-04
JP1202418A JPH0365822A (en) 1989-08-04 1989-08-04 Vector quantization coder and vector quantization decoder

Publications (2)

Publication Number Publication Date
CA2022677A1 CA2022677A1 (en) 1991-02-05
CA2022677C true CA2022677C (en) 1994-05-31

Family

ID=16457181

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002022677A Expired - Fee Related CA2022677C (en) 1989-08-04 1990-08-03 Vector quantization encoder and vector quantization decoder

Country Status (5)

Country Link
US (1) US5151968A (en)
EP (1) EP0411655B1 (en)
JP (1) JPH0365822A (en)
CA (1) CA2022677C (en)
DE (1) DE69023411T2 (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69129329T2 (en) * 1990-09-14 1998-09-24 Fujitsu Ltd VOICE ENCODING SYSTEM
US5271089A (en) * 1990-11-02 1993-12-14 Nec Corporation Speech parameter encoding method capable of transmitting a spectrum parameter at a reduced number of bits
CA2054849C (en) * 1990-11-02 1996-03-12 Kazunori Ozawa Speech parameter encoding method capable of transmitting a spectrum parameter at a reduced number of bits
JP3151874B2 (en) * 1991-02-26 2001-04-03 日本電気株式会社 Voice parameter coding method and apparatus
US5495555A (en) * 1992-06-01 1996-02-27 Hughes Aircraft Company High quality low bit rate celp-based speech codec
US5592227A (en) * 1994-09-15 1997-01-07 Vcom, Inc. Method and apparatus for compressing a digital signal using vector quantization
DE69526017T2 (en) * 1994-09-30 2002-11-21 Toshiba Kawasaki Kk Device for vector quantization
KR100322706B1 (en) * 1995-09-25 2002-06-20 윤종용 Encoding and decoding method of linear predictive coding coefficient
JP3680380B2 (en) * 1995-10-26 2005-08-10 ソニー株式会社 Speech coding method and apparatus
US5889891A (en) * 1995-11-21 1999-03-30 Regents Of The University Of California Universal codebook vector quantization with constrained storage
JP2914305B2 (en) * 1996-07-10 1999-06-28 日本電気株式会社 Vector quantizer
JP3357795B2 (en) * 1996-08-16 2002-12-16 株式会社東芝 Voice coding method and apparatus
US6081781A (en) * 1996-09-11 2000-06-27 Nippon Telegragh And Telephone Corporation Method and apparatus for speech synthesis and program recorded medium
KR100389897B1 (en) * 1996-10-31 2003-10-17 삼성전자주식회사 Method for predictive-linked quantization for split lsf vectors
US6385576B2 (en) * 1997-12-24 2002-05-07 Kabushiki Kaisha Toshiba Speech encoding/decoding method using reduced subframe pulse positions having density related to pitch
SE521225C2 (en) * 1998-09-16 2003-10-14 Ericsson Telefon Ab L M Method and apparatus for CELP encoding / decoding
US6073093A (en) * 1998-10-14 2000-06-06 Lockheed Martin Corp. Combined residual and analysis-by-synthesis pitch-dependent gain estimation for linear predictive coders
GB2368761B (en) * 2000-10-30 2003-07-16 Motorola Inc Speech codec and methods for generating a vector codebook and encoding/decoding speech signals
KR100651712B1 (en) * 2003-07-10 2006-11-30 학교법인연세대학교 Wideband speech coder and method thereof, and Wideband speech decoder and method thereof
JP4009781B2 (en) * 2003-10-27 2007-11-21 カシオ計算機株式会社 Speech processing apparatus and speech coding method
US7587314B2 (en) 2005-08-29 2009-09-08 Nokia Corporation Single-codebook vector quantization for multiple-rate applications
JP5622738B2 (en) 2009-10-14 2014-11-12 川崎重工業株式会社 Engine supercharger
US8323602B2 (en) 2010-07-08 2012-12-04 Air Products And Chemicals, Inc. Treatment of flue gas from an oxyfuel combustion process
JP6042900B2 (en) * 2011-10-24 2016-12-14 エルジー エレクトロニクス インコーポレイティド Method and apparatus for band-selective quantization of speech signal

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3631520A (en) * 1968-08-19 1971-12-28 Bell Telephone Labor Inc Predictive coding of speech signals
US4133976A (en) * 1978-04-07 1979-01-09 Bell Telephone Laboratories, Incorporated Predictive speech signal coding with reduced noise effects
US4220819A (en) * 1979-03-30 1980-09-02 Bell Telephone Laboratories, Incorporated Residual excited predictive speech coding system
US4472832A (en) * 1981-12-01 1984-09-18 At&T Bell Laboratories Digital speech coder
JPH0682280B2 (en) * 1985-08-02 1994-10-19 日本電気株式会社 Speech coding system
US4827517A (en) * 1985-12-26 1989-05-02 American Telephone And Telegraph Company, At&T Bell Laboratories Digital speech processor using arbitrary excitation coding
JPS6387034A (en) * 1986-09-30 1988-04-18 Matsushita Electric Ind Co Ltd Coding device
US4852179A (en) * 1987-10-05 1989-07-25 Motorola, Inc. Variable frame rate, fixed bit rate vocoding method
JPH01191510A (en) * 1988-01-27 1989-08-01 Nec Corp Weighting filter in auditory sense
JPH01243099A (en) * 1988-03-24 1989-09-27 Nec Corp System and device for speech encoding
US4907276A (en) * 1988-04-05 1990-03-06 The Dsp Group (Israel) Ltd. Fast search method for vector quantizer communication and pattern recognition systems
US5023910A (en) * 1988-04-08 1991-06-11 At&T Bell Laboratories Vector quantization in a harmonic speech coding arrangement
US4963034A (en) * 1989-06-01 1990-10-16 Simon Fraser University Low-delay vector backward predictive coding of speech
JPH0332228A (en) * 1989-06-29 1991-02-12 Fujitsu Ltd Gain-shape vector quantization system
US4963030A (en) * 1989-11-29 1990-10-16 California Institute Of Technology Distributed-block vector quantization coder

Also Published As

Publication number Publication date
EP0411655A3 (en) 1992-02-26
DE69023411T2 (en) 1996-05-02
CA2022677A1 (en) 1991-02-05
DE69023411D1 (en) 1995-12-14
US5151968A (en) 1992-09-29
EP0411655B1 (en) 1995-11-08
JPH0365822A (en) 1991-03-20
EP0411655A2 (en) 1991-02-06

Similar Documents

Publication Publication Date Title
CA2022677C (en) Vector quantization encoder and vector quantization decoder
CA2019804C (en) Gain-shape vector quantization apparatus
EP0770989B1 (en) Speech encoding method and apparatus
EP0772186B1 (en) Speech encoding method and apparatus
US5408580A (en) Audio compression system employing multi-rate signal analysis
US4831636A (en) Coding transmission equipment for carrying out coding with adaptive quantization
USRE40281E1 (en) Signal processing utilizing a tree-structured array
US6735339B1 (en) Multi-stage encoding of signal components that are classified according to component value
EP0713295A1 (en) Method and device for encoding information, method and device for decoding information, information transmitting method, and information recording medium
JPH07336232A (en) Method and device for coding information, method and device for decoding information and information recording medium
CA2016042C (en) System for coding wide-bank audio signals
US5263119A (en) Gain-shape vector quantization method and apparatus
US6269332B1 (en) Method of encoding a speech signal
AU717993B2 (en) Adaptive transform coding system, adaptive transform decoding system and adaptive transform coding/decoding system
US5166981A (en) Adaptive predictive coding encoder for compression of quantized digital audio signals
EP0868031B1 (en) Signal coding method and apparatus
US6397178B1 (en) Data organizational scheme for enhanced selection of gain parameters for speech coding
Gersho et al. Fully vector-quantized subband coding with adaptive codebook allocation
JPH04150522A (en) Digital signal processor
CA2019801C (en) System for speech coding and an apparatus for the same
Mensa et al. Comparison between vector and scalar quantization in variable rate subband coders
KR0141238B1 (en) Digital audio data coding method and its apparatus
Taniguchi et al. A high-efficiency speech coding algorithm based on ADPCM with Multi-Quantizer
Iwadare et al. A robust 384 kbit/s stereo hifi audio codec for ISDN applications
KR970005606B1 (en) Audio frequency equalizer using weight values

Legal Events

Date Code Title Description
EEER Examination request
MKLA Lapsed
MKLA Lapsed

Effective date: 20010803