JPH0527799A - Method and device for vector quantization - Google Patents

Method and device for vector quantization

Info

Publication number
JPH0527799A
JPH0527799A JP3179211A JP17921191A JPH0527799A JP H0527799 A JPH0527799 A JP H0527799A JP 3179211 A JP3179211 A JP 3179211A JP 17921191 A JP17921191 A JP 17921191A JP H0527799 A JPH0527799 A JP H0527799A
Authority
JP
Japan
Prior art keywords
vector
code
codebook
spectrum
signal
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.)
Granted
Application number
JP3179211A
Other languages
Japanese (ja)
Other versions
JP3094522B2 (en
Inventor
Hiroaki Kokubo
浩明 小窪
Yoshiaki Asakawa
吉章 淺川
Hiroshi Ichikawa
熹 市川
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP03179211A priority Critical patent/JP3094522B2/en
Publication of JPH0527799A publication Critical patent/JPH0527799A/en
Application granted granted Critical
Publication of JP3094522B2 publication Critical patent/JP3094522B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To suppress the generation of an abnormal sound by suppressing the discontinuity of a spectrum between frames. CONSTITUTION:The logarithmic power spectrum regeneration part of a vector encoding system reception-side system consists of a spectrum conversion part 501 which composes a logarithmic spectrum of a code spectrum 114, a power comparison part 502 which switches subsequent processes by comparison with the power of a last frame, a frequency distribution part 503 which discriminates between the common component 504 and other component 505 of the logarithmic spectrum, a weighted mean part 506 which averages the common part 504 with the frequency component 508 of the last frame, a frequency mixing part 510 which mixes the weighted mean component 509 with the other discriminated frequency component 505 again, and a level regeneration part 512 which adds level information 105'.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は音声の高能率符号化装置
に係り、特に高品質な再生音声を高い情報圧縮率で得る
ことに好適なベクトル量子化方法及びその装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-efficiency speech coding apparatus, and more particularly to a vector quantization method and apparatus suitable for obtaining high-quality reproduced speech at a high information compression rate.

【0002】[0002]

【従来の技術】従来音声効能率符号化方式には、様々な
方式が提案されてきた。例えば、中田和男著「ディジタ
ル情報圧縮」(廣済堂産報出版、電子科学シリーズ10
0)には、様々な方式がわかりやすく解説されており、
波形符号化方式や情報源符号化方式(パラメータ符号化
方式)に関する多数の方式が示されている。
2. Description of the Related Art Conventionally, various systems have been proposed as a voice efficiency coding system. For example, Kazuo Nakata "Digital Information Compression" (Kosaido Kogyo Publishing, Electronic Science Series 10
In 0), various methods are explained in an easy-to-understand manner.
A number of schemes relating to waveform coding schemes and information source coding schemes (parameter coding schemes) are shown.

【0003】[0003]

【発明が解決しようとする課題】これらの諸方式のう
ち、波形符号化方式は音質が良好なものの、情報圧縮効
率を上げることが困難であり、パラメータ符号化方式
は、情報圧縮効率は高いものの、逆に情報量を増しても
音質に上限が生じ、十分な品質が得られないという欠点
がある。特に両者の得意な帯域の中間の情報圧縮(10
kbps付近)は谷間の帯域になっている。これに対し、両
方式の長所を組み合わせたハイブリッド方式として、マ
ルチパルス方式(例えば、B.S.Atal et al. “A new mo
del of LPCexcitation for producing natural-soundin
g speech at low bit rates”Proc.ICASSP 82,S−
5,10,(1982)など)や、TOR方式(A.Ichi
kawaet al.,“A speech coding method using thinned-
out residual”Proc.ICASSP85,25.7(198
5))等が近年提案され、各種の検討がなされている
が、音質の点から見ても、処理に要するコストの面から
見ても不十分な状況にある。一般に、各種高能率符号化
方式は、音声の情報の存在が偏っている点に注目し、情
報の存在している部分に符号の割当てを厚くすることに
より実現している。この点をさらに積極的に推し進め、
複数のパラメータの組合せとしての情報の偏りに注目
し、パラメータの組合せセット(ベクトルと呼ぶ)に対
し、音声情報の存在している部分に符号の割当てを厚く
する方式(ベクトル量子化と呼ぶ)(例えば、S.Roucos
et al.,“Segment quantization for very-low-rate s
peechcoding”Proc.ICASSP 82,p.1563(19
82))が注目されている。
Among these various methods, the waveform coding method has good sound quality, but it is difficult to increase the information compression efficiency, and the parameter coding method has high information compression efficiency. On the contrary, even if the amount of information is increased, the sound quality has an upper limit, and there is a drawback that sufficient quality cannot be obtained. In particular, information compression in the middle of the band that both parties are good at (10
Near kbps) is a valley band. On the other hand, as a hybrid method combining the advantages of both methods, a multi-pulse method (for example, BSAtal et al. “A new mo
del of LPCexcitation for producing natural-soundin
g speech at low bit rates ”Proc.ICASSP 82, S-
5, 10, (1982), etc., and the TOR method (A.Ichi
kawaet al., “A speech coding method using thinned-
out residual "Proc.ICASSP85, 25.7 (198
Although 5)) and the like have been proposed in recent years and various studies have been made, they are inadequate in terms of sound quality and cost of processing. In general, various high-efficiency coding schemes are realized by paying attention to the fact that the existence of voice information is biased and thickening the allocation of codes to the parts where the information exists. We will further promote this point,
Paying attention to the bias of information as a combination of a plurality of parameters, the method of thickening the code allocation to the part where the speech information exists for the combination set of parameters (called a vector) (called vector quantization) ( For example, S. Roucos
et al., “Segment quantization for very-low-rate s
peechcoding "Proc.ICASSP 82, p. 1563 (19)
82)) is drawing attention.

【0004】ベクトル量子化では、コードベクトル(パ
ラメータ,代表ベクトル、またはコードワードともい
う)をコード(指標,インデックスともいう)に対応付
けて格納するコードブックを用いる。ベクトル量子化は
入力ベクトルを有限個のコードベクトルに写像すると言
う意味で量子化過程であるが、指標の情報量が元のベク
トルよりも少なくできるので、情報圧縮に用いられる。
音声の予測残差に対してベクトル量子化を適用するCE
LP方式(例えば、B.S.Atal et al.,“Stochastic cod
ing of speech signals at very low bit rates”Proc.
ICC84,pp.1610−1613(1984))やそ
の改良方式であるVSELP方式(例えば、I.A.Gerson
et al.,”Vector sum excited linear prediction(VSE
LP)”Proc.IEEE workshop on speech coding for telec
ommunications,pp.66−68(1989))などが提
案されている。これらの方式では合成音声と原音声の誤
差をフィードバックループを用いて最小化するような方
法を採っている。そのため合成音声の品質は良好だが、
処理量が多いこと、また、4.8kbps以下への適用が困
難という問題がある。高品質の音声符号化を実現するた
めには、事前に良質のコードブックを作っておく必要が
ある。量子化特性の向上には量子化歪を小さくすること
が基本であるが、量子化歪はコードブックを大きくする
程小さくなる。また、有限個のサイズのコードブックを
用いてベクトル量子化を行うことにより生ずる問題点の
一つとして、隣合った音声フレーム間で特性に不連続の
大きな成分があると再生音声に異音が生じることがあ
る。フレーム間の特性の不連続を小さくするには、コー
ドブックに含まれるコードベクトルを増やしそれぞれの
コードベクトル間の距離を小さくする必要があるが、そ
のためにはかなり大きなサイズのコードブックを設定が
必要となる。しかし、大規模のコードブックの作成には
極めて大量の音声データを用いなければならず、かつ膨
大な処理量を要する。また、メモリ容量や探索処理量と
いった制約から、コードブックのサイズには限界があ
る。
In vector quantization, a codebook that stores a code vector (also called parameter, representative vector, or codeword) in association with a code (also called index or index) is used. Vector quantization is a quantization process in the sense that an input vector is mapped to a finite number of code vectors, but since the amount of information of the index can be made smaller than the original vector, it is used for information compression.
CE applying vector quantization to prediction residual of speech
LP method (eg BSAtal et al., “Stochastic cod
ing of speech signals at very low bit rates ”Proc.
ICC84, pp. 1610-1613 (1984)) and its improved VSELP method (for example, IAGerson).
et al., ”Vector sum excited linear prediction (VSE
LP) ”Proc.IEEE workshop on speech coding for telec
ommunications, pp. 66-68 (1989)) and the like. These methods employ a method that minimizes the error between the synthetic speech and the original speech by using a feedback loop. Therefore, the quality of synthetic speech is good,
There is a problem that the processing amount is large and that it is difficult to apply to 4.8 kbps or less. In order to realize high quality speech coding, it is necessary to create a good quality codebook in advance. It is fundamental to reduce the quantization distortion to improve the quantization characteristics, but the quantization distortion becomes smaller as the codebook becomes larger. Also, as one of the problems caused by performing vector quantization using a codebook of a finite number of sizes, if there is a large component of discontinuity in the characteristics between adjacent speech frames, there will be abnormal noise in the reproduced speech. May occur. In order to reduce the discontinuity of characteristics between frames, it is necessary to increase the code vectors included in the codebook and reduce the distance between each code vector, but this requires setting a codebook of a considerably large size. Becomes However, in order to create a large-scale codebook, an extremely large amount of voice data must be used, and a huge amount of processing is required. Further, the size of the codebook is limited due to restrictions such as memory capacity and search processing amount.

【0005】本発明の目的はベクトル量子化方法及びそ
の装置において、連続する2つのフレーム間におけるス
ペクトルの変化をある程度以内に抑えることにより、フ
レーム間でスペクトルの特性が大幅に変化することによ
って生ずる異音の発生を抑え、再生音声の音質を改善す
ることである。
It is an object of the present invention to suppress a change in spectrum between two consecutive frames within a certain degree in a vector quantization method and its apparatus, and thereby cause a difference caused by a drastic change in spectrum characteristics between frames. It is to suppress the generation of sound and improve the quality of reproduced voice.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、ベクトル量子化方法及びその装置において、パワの
変化が急峻ではない連続する2つのフレーム間における
スペクトルの変化の度合いの著しい帯域が入力音声の特
徴をあまり反映していないことに着目し、その帯域内の
スペクトルに対し前フレームのスペクトルとの間で重み
付きの平均化を行うことにより、スペクトルをある程度
共通なものとし、フレーム間の変化をある程度以内に抑
えるように構成したものである。
In order to achieve the above object, in a vector quantization method and its apparatus, a band in which the degree of change in spectrum is remarkable between two consecutive frames in which the change in power is not steep is input. Focusing on the fact that the characteristics of speech are not reflected so much, the spectrum in that band is averaged with the spectrum of the previous frame with weighted averaging to make the spectrum common to some extent, and It is configured to suppress the change within a certain amount.

【0007】[0007]

【作用】本発明には種々の変形が考えられるが、その中
で代表的な手段について、その作用を説明する。
Various modifications of the present invention are conceivable, and the operation of typical means will be described below.

【0008】伝送したい音声が入力されると、分析部に
於て特徴ベクトルが抽出され、順次コードブック中のコ
ードベクトルと比較され、最も近いベクトルが選択され
る。この時、前フレームで選択されたコードベクトルと
現フレームで選択されたコードベクトルとの間の距離
は、2つのフレームで同一のコードベクトルが選択され
ない限りコードブックのサイズが小さいほど大きくなっ
てしまう。
When the voice to be transmitted is input, the feature vector is extracted in the analysis unit and sequentially compared with the code vector in the codebook, and the closest vector is selected. At this time, the distance between the code vector selected in the previous frame and the code vector selected in the current frame increases as the size of the codebook decreases unless the same code vector is selected in two frames. .

【0009】そこでまず、フレーム間でパワの急変して
いない部分に対して、前フレームでのスペクトルの情報
を記憶しておく。次に現フレームで選択されたコードベ
クトルについてスペクトルに復元した後、スペクトルの
不連続が大きく異音の発生が著しい周波数領域に対して
記憶しておいた上記スペクトルとの間で重み付きの平均
化を行う。
Therefore, first, the spectrum information in the previous frame is stored for the portion where the power does not change suddenly between frames. Next, after restoring the spectrum for the code vector selected in the current frame, weighted averaging is performed with respect to the above-mentioned spectrum stored for the frequency region where the spectrum discontinuity is large and abnormal noise is remarkable. I do.

【0010】平均化処理を行うパワの急変していないよ
うな部分では、音声が本来持っている特徴は連続してい
るフレームの間でそれほどかけ離れるということはほと
んど無く、また本手法では選択されたコードベクトルに
対して異音の発生の著しい周波数帯域に対してのみスペ
クトルの平均化を行い、それ以外の帯域では何等の加工
も行ってはいないため、本手法によるスペクトルの変形
を行っても再生音声の明瞭性等が損なわれるようなこと
はほとんど無い。また本手法の処理は全て受信側のみで
行われるため、送信側より送信される情報は従来のまま
であり伝送量の増加はない。
In the part where the power for performing the averaging process does not change suddenly, the characteristic originally possessed by the voice is hardly separated so much between consecutive frames, and it is selected by this method. Since the spectrum is averaged only in the frequency band where abnormal noise is generated with respect to the code vector and no processing is performed in other bands, even if the spectrum is modified by this method. There is almost no loss of clarity of the reproduced voice. Further, since the processing of this method is entirely performed only on the receiving side, the information transmitted from the transmitting side remains the same as before and the transmission amount does not increase.

【0011】[0011]

【実施例】以下、本発明の実施例を図面を用いて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1は本発明の一実施例を説明するための
ブロック図である。送信側と受信側を対にした一方向の
みを示しており、逆方向への通信路は、図が複雑になる
ため省略してある。
FIG. 1 is a block diagram for explaining an embodiment of the present invention. Only one direction in which the transmitting side and the receiving side are paired is shown, and the communication path in the opposite direction is omitted because the figure becomes complicated.

【0013】図1において、入力音声101はアナログ
・ディジタル(A/D)変換器102を経て、2面構成の
バッファメモリ103に入力される。このメモリは以下
の処理の時間調整と、入力音声の中断を防止するために
設けられている。バッファメモリ103からの音声は分
析部104に入力され、レベル情報105,スペクトル
情報106,ピッチ情報107、が求められる。スペク
トル情報106はベクトル量子化部108に加えられ、
ベクトルコード109を得る。ベクトルコード109,
ピッチ情報107,レベル情報105は送信部110,
伝送路111を経て受信部112に送られる。受信側で
は受信部112で受けたベクトルコード109′,ピッ
チ情報107′,レベル情報105′はベクトル逆量子
化部113に加えられ、スペクトル情報114が復元さ
れ、ピッチ情報107′、レベル情報105′と共に合
成部115に加えられる。合成部115では音声波形に
復号され、出力用の2面バッファメモリ116を経て、
ディジタル・アナログ(D/A)変換器117によりア
ナログ信号に変換され、出力音声118として再生され
る。
In FIG. 1, an input voice 101 is input to a two-sided buffer memory 103 via an analog / digital (A / D) converter 102. This memory is provided to adjust the time of the following processing and prevent interruption of the input voice. The voice from the buffer memory 103 is input to the analysis unit 104, and the level information 105, the spectrum information 106, and the pitch information 107 are obtained. The spectral information 106 is added to the vector quantizer 108,
Obtain the vector code 109. Vector code 109,
The pitch information 107 and the level information 105 are transmitted by the transmitter 110,
It is sent to the receiving unit 112 via the transmission path 111. On the receiving side, the vector code 109 ', the pitch information 107', and the level information 105 'received by the receiving unit 112 are added to the vector dequantization unit 113, the spectrum information 114 is restored, and the pitch information 107' and the level information 105 '. It is added to the combining unit 115 together with. The synthesizing unit 115 decodes it into a voice waveform, passes through the output two-sided buffer memory 116,
A digital-to-analog (D / A) converter 117 converts the analog signal and reproduces it as an output sound 118.

【0014】以下、各部分を詳細に説明する。Each part will be described in detail below.

【0015】図2は分析部104を説明するための図で
ある。本実施例では、分析部はパワスペクトル包絡(P
SE)分析法による。PSE分析法は、中島等の論文
“パワースペクトル包絡(PSE)音声分析・合成
系”、日本音響学会誌44巻11号(昭63−11)に
詳細に述べられている。ここではその概要を述べる。
FIG. 2 is a diagram for explaining the analysis unit 104. In the present embodiment, the analysis unit uses the power spectrum envelope (P
SE) Analytical method. The PSE analysis method is described in detail in Nakashima et al.'S paper "Power Spectrum Envelope (PSE) Speech Analysis / Synthesis System", Journal of Acoustical Society of Japan, Vol. 44, No. 11 (Sho 63-11). The outline is given here.

【0016】図2において、ピッチ抽出部201は入力
音声のピッチ情報(ピッチ周波数またはピッチ周期)を
抽出する。ピッチ抽出の方法は、相関法やAMDF法な
ど公知の方法を用いれば良い。波形切り出し部202は
入力音声からスペクトル情報を分析するための波形区間
を切り出すものであり、20〜60ms程度の区間を切
り出す。固定長の区間とすることが多いが、ピッチ周期
に依存し、その3倍程度の可変長にすることもある。切
り出された波形は、フーリエ変換部203に送られ、フ
ーリエ級数に変換される。このとき、切り出された波形
にハミング窓等、通常用いられる窓関数を掛けた後、前
後に零データを埋め込み、2048点のデータとし、高
速フーリエ変換(FFT)を用いることで、高速かつ周
波数分解能の高いデータが得られる。フーリエ係数を絶
対値で表示したものが切り出し波形の周波数成分、すな
わちスペクトルとなる。切り出し波形が周期構造を有す
る場合は、スペクトルはピッチの高調波による線スペク
トル構造を有する。
In FIG. 2, a pitch extraction unit 201 extracts pitch information (pitch frequency or pitch period) of input speech. A known method such as the correlation method or the AMDF method may be used as the pitch extraction method. The waveform cutout unit 202 cuts out a waveform section for analyzing spectrum information from the input voice, and cuts out a section of about 20 to 60 ms. It is often a fixed-length section, but it may be a variable length that is about three times as long as it depends on the pitch period. The cut out waveform is sent to the Fourier transform unit 203 and converted into a Fourier series. At this time, after multiplying the cut-out waveform by a window function that is normally used, such as a Hamming window, embedding zero data before and after to obtain 2048-point data, and using fast Fourier transform (FFT), high speed and frequency resolution High data is obtained. The Fourier coefficient displayed as an absolute value is the frequency component of the cut-out waveform, that is, the spectrum. When the cutout waveform has a periodic structure, the spectrum has a line spectral structure due to pitch harmonics.

【0017】ピッチ再標本化部204では、FFTによ
り得られたスペクトル情報の中から、ピッチ周波数の高
調波成分(線スペクトル成分)のみを取り出す。このよ
うにして取り出したデータは、後述の余弦級数展開時の
周期πに対応付けて、以下考える。
The pitch resampling unit 204 extracts only the harmonic component (line spectrum component) of the pitch frequency from the spectrum information obtained by the FFT. The data thus extracted will be considered below in association with the period π when the cosine series is expanded, which will be described later.

【0018】パワスペクトル化部205は、スペクトル
の各成分を自乗し、パワスペクトルに変換する。さら
に、対数化部206は、各成分を対数化し、対数パワス
ペクトルを得る。
The power spectrum conversion section 205 squares each component of the spectrum and converts it into a power spectrum. Further, the logarithmic unit 206 logarithmizes each component to obtain a logarithmic power spectrum.

【0019】レベル正規化部207は入力音声の大きさ
に基づくレベル変動を吸収するものであるが、次の余弦
変換部208において、まとめて抽出しても良い。
The level normalization unit 207 absorbs level fluctuations based on the volume of the input voice, but may be collectively extracted in the next cosine transform unit 208.

【0020】余弦変換部208は対数パワスペクトルを
再標本化したデータを用いて、有限項の余弦級数で近似
的に表現するものである。項数mは、通常25程度に設
定する。パワスペクトル包絡を次のように表現する。
The cosine transform section 208 uses data obtained by re-sampling the logarithmic power spectrum to approximately express it as a finite term cosine series. The number of terms m is usually set to about 25. The power spectrum envelope is expressed as follows.

【0021】[0021]

【数1】 Y=A0+A0・A1・cosλ+A0・A2・cos2λ+…+A0・Am・cos mλ 係数Aは、再標本化されたパワスペクトルデータと、数
1によるYとの2乗誤差が最小となるように求められ
る。係数の第0項A0は入力のレベルを表わしているの
でレベル情報105として、A1,…,Amをスペクト
ル情報106として出力する。
[Equation 1] Y = A0 + A0 · A1 · cosλ + A0 · A2 · cos2λ + ... + A0 · Am · cos mλ The coefficient A is such that the square error between the resampled power spectrum data and Y according to Equation 1 is minimized. Required to. Since the 0th term A0 of the coefficient represents the input level, the level information 105 and A1, ..., Am are output as the spectrum information 106.

【0022】次に図3を用いてベクトル量子化部を説明
する。図3において、コードブック301にはコードベ
クトルの要素の値とそのコードが記憶されている。照合
部302において、スペクトル情報(入力ベクトル)1
06が入力されると、コードブック301から各コード
ベクトルが読みだされ、入力ベクトル106との距離が
計算される。ここで距離尺度は、ベクトルの各要素に重
み付けしたユークリッド距離であるが、他の適当な尺度
を用いても良いことは言うまでもない。全数探索の場合
はコードブック中の全てのコードベクトルに対して距離
値が計算され、距離値が最小となるコードベクトル(最
近傍ベクトル)のコード109を出力する。なお、ピッ
チ情報107などを利用して、照合の対象とするコード
ベクトルの範囲を限定することも可能である。また、ベ
クトル量子化手法として相補型ベクトル量子化(特願平
3−75700号)などの手法を採用する事も可能である。
Next, the vector quantizer will be described with reference to FIG. In FIG. 3, a codebook 301 stores values of code vector elements and their codes. In the matching unit 302, the spectrum information (input vector) 1
When 06 is input, each code vector is read from the code book 301 and the distance from the input vector 106 is calculated. Here, the distance measure is the Euclidean distance in which each element of the vector is weighted, but it goes without saying that another suitable measure may be used. In the case of exhaustive search, distance values are calculated for all code vectors in the codebook, and the code 109 of the code vector (nearest neighbor vector) that minimizes the distance value is output. Note that it is possible to limit the range of code vectors to be matched by using the pitch information 107 and the like. As a vector quantization method, complementary vector quantization (Japanese Patent Application No.
It is also possible to adopt a method such as 3-75700).

【0023】ここで、コードブック301について説明
する。学習データを図1の分析部までと同様な処理をし
てトレーニングベクトルを得、信号の特徴空間に分布す
る複数個のトレーニングベクトルをトレーニングベクト
ルの数よりも少ない複数個のクラスタに分類し、それぞ
れのクラスタから代表ベクトルを作成しコードブックに
登録する。代表ベクトルの作成法としては、まず各クラ
スタにおいて重心を求め、各クラスタ内に分布するトレ
ーニングベクトルに対し重心との距離が最小のトレーニ
ングベクトルをそのクラスタの代表ベクトルとする。ま
たは、クラスタの重心からの距離が予め定めた範囲内に
含まれる複数個のトレーニングベクトルを用いて求めた
重心を代表ベクトルとするなどの方法がある。本実施例
では約5000個のトレーニングベクトルを用い、10
24のサイズのコードブックを作成した。
The codebook 301 will be described below. The training data is processed in the same way as in the analysis unit of FIG. 1 to obtain a training vector, and a plurality of training vectors distributed in the signal feature space are classified into a plurality of clusters smaller than the number of training vectors. Create a representative vector from the cluster and register it in the codebook. As a method of creating the representative vector, first, the center of gravity is obtained in each cluster, and the training vector having the smallest distance from the center of gravity of the training vector distributed in each cluster is used as the representative vector of the cluster. Alternatively, there is a method in which the center of gravity obtained by using a plurality of training vectors whose distance from the center of gravity of the cluster is included in a predetermined range is used as the representative vector. In this embodiment, about 5000 training vectors are used and 10
A codebook of 24 sizes was created.

【0024】次に復号側(受信側)について説明する。Next, the decoding side (reception side) will be described.

【0025】図1においてベクトル逆量子化部113で
はベクトルコード109′が受信されると、コードブッ
クから対応するコードベクトルが読みだされる。なお、
受信側のコードブックは送信側のコードブック301と
同一の内容であることは言うまでもない。再生コードベ
クトルy′={A1′,A2′,…,Am′}はスペク
トル情報114として合成部115に送られる。
In FIG. 1, when the vector dequantization unit 113 receives the vector code 109 ', the corresponding code vector is read from the codebook. In addition,
It goes without saying that the codebook on the receiving side has the same contents as the codebook 301 on the transmitting side. The reproduction code vector y ′ = {A1 ′, A2 ′, ..., Am ′} is sent to the synthesizing unit 115 as spectrum information 114.

【0026】次に、合成部115について図4を用いて
説明する。同図において、対数パワスペクトル再生部4
01についての説明は図5を用いて行う。スペクトル変
換部501では、伝送された再生ベクトル(スペクトル
情報114)の各要素A1′,A2′,…,Am′を用
いて対数パワスペクトルY′を次式にしたがって得る。
Next, the synthesizing unit 115 will be described with reference to FIG. In the figure, a logarithmic power spectrum reproducing unit 4
01 will be described with reference to FIG. The spectrum conversion unit 501 obtains a logarithmic power spectrum Y'by using the elements A1 ', A2', ..., Am 'of the transmitted reproduction vector (spectral information 114) according to the following equation.

【0027】[0027]

【数2】 Y′=1+A1′cosλ+A2′cos2λ+…+Am′cos mλ 次にパワ比較部502において前フレームとのパワを比
較し、破裂音などパワが急変しているフレームに対して
はレベル再生部512に出力を出し、パワの急変してい
ないフレームでは周波数弁別部503に出力を切り替え
る。周波数弁別部503では入力された対数パワスペク
トル502をスペクトルの共通化を行う周波数成分Fn
504とそれ以外の成分505とに分離する。なお本実
施例では2kHz以上の周波数帯域に対して共通化を行
っている。重み付き平均化部506では、予めデータ格
納部507に格納してある前フレームのスペクトルの共
通化成分Fn−1 508を取り出し、入力スペクトル
の共通化する成分Fn′504との間で数3に従って重
み付きの平均化を行う。
## EQU2 ## Y '= 1 + A1'cosλ + A2'cos2λ + ... + Am'cos mλ Next, the power comparing section 502 compares the power with the previous frame, and the level reproducing section is applied to a frame in which power is suddenly changed such as a burst sound. The output is output to 512, and the output is switched to the frequency discriminating unit 503 in the frame where the power does not suddenly change. In the frequency discriminating unit 503, the input logarithmic power spectrum 502 is frequency component Fn for commonizing the spectrum.
504 and the other components 505 are separated. In this embodiment, the frequency band of 2 kHz or higher is shared. The weighted averaging unit 506 takes out the common component Fn-1 508 of the spectrum of the previous frame stored in the data storage unit 507 in advance, and calculates it with the common component Fn ′ 504 of the input spectrum according to Formula 3. Performs weighted averaging.

【0028】[0028]

【数3】 Fn=(W1・Fn′+W2・Fn−1)/(W1+W2) なお、それぞれの重みW1,W2は周波数によって変化
させることも出来る。重み付き平均化部506の出力5
09はデータ格納部507のデータを更新すると共に、
周波数弁別部503から出力された残りの周波数成分5
05と周波数混合部510において再び混合される。周
波数混合部510から出力されたスペクトル511は、
レベル再生部512においてレベル情報A0 105′
を用いることにより入力音声の大きさに基づくレベル情
報が付与される。
## EQU00003 ## Fn = (W1.Fn '+ W2.Fn-1) / (W1 + W2) The respective weights W1 and W2 can be changed depending on the frequency. Output 5 of weighted averaging unit 506
09 updates the data in the data storage unit 507 and
Remaining frequency component 5 output from the frequency discriminating unit 503
05 is mixed again with the frequency mixing unit 510. The spectrum 511 output from the frequency mixing unit 510 is
Level information A0 105 'in the level reproduction unit 512
Is used, level information based on the volume of the input voice is added.

【0029】再び図4に戻ると、再生された対数パワス
ペクトル402は指数変換部403で指数変換を行い、
零位相化スペクトル404を得、逆フーリエ変換部40
5へ送られる。逆フーリエ変換部405では高速フーリ
エ逆変換(IFFT)により音声素片406が得られ
る。音声素片406は波形合成部407でピッチ情報1
07′にしたがって順次ピッチ間隔だけずらしながら加
え合わせられ、再生音声408として出力される。
Returning again to FIG. 4, the reproduced logarithmic power spectrum 402 undergoes exponential conversion in the exponential conversion unit 403,
The zero-phased spectrum 404 is obtained, and the inverse Fourier transform unit 40 is obtained.
Sent to 5. The inverse Fourier transform unit 405 obtains the speech unit 406 by inverse fast Fourier transform (IFFT). The speech unit 406 uses the waveform synthesizer 407 to generate pitch information 1
According to 07 ', they are sequentially added while being shifted by a pitch interval, and output as reproduced voice 408.

【0030】実施例における発明の効果は2kHz以上
の周波数のスペクトルを前フレームのスペクトルで重み
付きの平均化を行っているため合成音声のスペクトルの
時間的不連続に起因する異音の発生が抑えられ、一方2
kHz以下の周波数に対しては何等の処理も加えていな
いため、明瞭性を損なわれずに音質の向上が得られた。
なお、情報の伝送量についても、送信側では従来のベク
トル量子化システムをそのまま用いているため伝送量は
従来のままである。
The effect of the invention in the embodiment is that the generation of abnormal noise due to the temporal discontinuity of the spectrum of the synthesized voice is suppressed because the spectrum of the frequency of 2 kHz or more is weighted and averaged with the spectrum of the previous frame. On the other hand, 2
Since no processing was applied to frequencies below kHz, the sound quality was improved without impairing the clarity.
Regarding the amount of information transmitted, the amount of information transmitted is the same as before because the transmitting side uses the conventional vector quantization system as it is.

【0031】[0031]

【発明の効果】本発明によれば、同一のコードブックを
用いた場合、従来のベクトル量子化よりも明瞭性を損な
うことなしに、合成音声のスペクトルの時間的不連続起
因する異音の発生が抑えられることによる音質の向上が
計ることができる。
According to the present invention, when the same codebook is used, the generation of abnormal noise due to the temporal discontinuity of the spectrum of the synthesized speech without deteriorating the clarity as compared with the conventional vector quantization. It is possible to improve the sound quality by suppressing the noise.

【0032】なお、本発明の説明では、対象は全て音声
を例にしているが、類似の構造をもつものにも利用でき
ることは言うまでもない。
In the description of the present invention, all the objects are voices, but it goes without saying that they can be applied to those having a similar structure.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例のシステム構成を説明する図
である。
FIG. 1 is a diagram illustrating a system configuration of an embodiment of the present invention.

【図2】分析部を説明する図である。FIG. 2 is a diagram illustrating an analysis unit.

【図3】ベクトル量子化部を説明する図である。FIG. 3 is a diagram illustrating a vector quantization unit.

【図4】合成部を説明する図である。FIG. 4 is a diagram illustrating a combining unit.

【図5】対数パワスペクトル再生部を説明する図であ
る。
FIG. 5 is a diagram illustrating a logarithmic power spectrum reproducing unit.

【符号の説明】[Explanation of symbols]

101…入力音声、103,116…バッファメモリ、
104…分析部、106,114…スペクトル情報、10
7,107′…ピッチ情報、108…ベクトル量子化
部、109,109′…ベクトルコード、113…ベク
トル逆量子化部、115…合成部、119…出力音声。
101 ... Input voice, 103, 116 ... Buffer memory,
104 ... Analysis unit, 106, 114 ... Spectral information, 10
7, 107 '... Pitch information, 108 ... Vector quantizer, 109, 109' ... Vector code, 113 ... Vector dequantizer, 115 ... Synthesizer, 119 ... Output speech.

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】復号側において相異なるコードと該コード
に対応した信号の特徴空間を代表するコードベクトルを
記憶したコードブックを有し、符号化側からフレーム毎
に伝送された前記コードにより、該コードに対応するコ
ードベクトルを選択し、前記選択されたコードベクトル
を信号のスペクトルなどの特徴量に復元する際に、前記
特徴量の中で、信号の特徴を反映していない部分に対し
前フレームで用いた前記部分との間で共通化を行うこと
により、前記特徴量を変形することを特徴とするベクト
ル量子化方法。
1. A decoding side has a codebook in which different codes and a code vector representing a feature space of a signal corresponding to the code are stored, and by the code transmitted from the encoding side for each frame, When a code vector corresponding to a code is selected and the selected code vector is restored to a characteristic amount such as a spectrum of a signal, the previous frame is applied to a portion of the characteristic amount that does not reflect the signal characteristic. The vector quantization method, characterized in that the feature quantity is modified by performing commonization with the portion used in (1).
【請求項2】前記復号側において、前記符号化側から伝
送されたパワ情報を用い、前記フレーム間の前記パワ情
報の変化の少ない前記フレームに対してのみ、前記特徴
量の変形を行うことを特徴とする請求項1のベクトル量
子化方法。
2. The decoding side uses the power information transmitted from the encoding side, and modifies the feature amount only for the frames in which the change in the power information between the frames is small. The vector quantization method according to claim 1, characterized in that
【請求項3】前記特徴量を変形するにあたり、前記コー
ドブックより復元されたスペクトル成分に対し、前記前
フレームで使用したスペクトルとの間で重み付きの平均
化を行うことを特徴とする請求項1のベクトル量子化方
法。
3. When transforming the feature quantity, weighted averaging is performed on the spectrum component restored from the codebook with the spectrum used in the previous frame. 1 vector quantization method.
【請求項4】前記スペクトル間の重み付き平均化を行う
にあたり、前記重み付き平均化を行うスペクトル成分を
予め定めた周波数領域に限定して平均化を行うことを特
徴とする請求項3のベクトル量子化方法。
4. The vector according to claim 3, wherein, when performing weighted averaging between the spectra, the spectrum component for which the weighted averaging is performed is limited to a predetermined frequency region and the averaging is performed. Quantization method.
【請求項5】前記スペクトル間の重み付き平均化を行う
にあたり、前記重み付き平均化を行う際の重みを周波数
成分ごとに変化させることを特徴とする請求項3のベク
トル量子化方法。
5. The vector quantization method according to claim 3, wherein in performing the weighted averaging between the spectra, the weight used in the weighted averaging is changed for each frequency component.
【請求項6】前記コードブックの作成にあたり、前記信
号の特徴空間を信号の特徴空間に分布する複数個のトレ
ーニングベクトルのクラスタリングによって、前記トレ
ーニングベクトルの数よりも少ない複数個のクラスタに
分け、前記トレーニングベクトルの中で前記各クラスタ
の重心との距離が最小のトレーニングベクトルを前記代
表ベクトルとして採用することを特徴とする請求項1の
ベクトル量子化方法。
6. When creating the codebook, the feature space of the signal is divided into a plurality of clusters smaller than the number of training vectors by clustering a plurality of training vectors distributed in the feature space of the signal. The vector quantization method according to claim 1, wherein a training vector having a minimum distance from the center of gravity of each cluster is adopted as the representative vector among the training vectors.
【請求項7】前記コードブックの作成にあたり、前記信
号の特徴空間を信号の特徴空間に分布する複数個のトレ
ーニングベクトルのクラスタリングによって、前記トレ
ーニングベクトルの数よりも少ない複数個のクラスタに
分け、前記トレーニングベクトルの中で前記各クラスタ
の重心との距離が予め定めた範囲以内に含まれる複数個
のトレーニングベクトルを用いて代表ベクトルを作成す
ることを特徴とする請求項1のベクトル量子化方法。
7. When creating the codebook, the feature space of the signal is divided into a plurality of clusters smaller than the number of training vectors by clustering a plurality of training vectors distributed in the feature space of the signal, The vector quantization method according to claim 1, wherein a representative vector is created using a plurality of training vectors whose distances from the center of gravity of each cluster are within a predetermined range among the training vectors.
【請求項8】復号側において相異なるコードと該コード
に対応した信号の特徴空間を代表するコードベクトルを
記憶するコードブックを作成するコードブック作成方法
において、前記信号の特徴空間を信号の特徴空間に分布
する複数個のトレーニングベクトルのクラスタリングに
よって、前記トレーニングベクトルの数よりも少ない複
数個のクラスタに分け、前記トレーニングベクトルの中
で前記各クラスタの重心との距離が最小のトレーニング
ベクトルを前記代表ベクトルとして採用することを特徴
とするコードブック作成方法。
8. A codebook creating method for creating a codebook that stores different codes and a code vector representing a feature space of a signal corresponding to the code on the decoding side, wherein the feature space of the signal is the feature space of the signal. Is divided into a plurality of clusters smaller than the number of the training vectors by clustering the plurality of training vectors distributed in the, and the training vector having the smallest distance from the center of gravity of each cluster among the training vectors is the representative vector. A codebook creation method characterized by being adopted as.
【請求項9】復号側において相異なるコードと該コード
に対応した信号の特徴空間を代表するコードベクトルを
記憶するコードブックを作成するコードブック作成方法
において、前記信号の特徴空間を信号の特徴空間に分布
する複数個のトレーニングベクトルのクラスタリングに
よって、前記トレーニングベクトルの数よりも少ない複
数個のクラスタに分け、前記トレーニングベクトルの中
で前記各クラスタの重心との距離が予め定めた範囲以内
に含まれる複数個のトレーニングベクトルを用いて代表
ベクトルを作成することを特徴とするコードブック作成
方法。
9. A codebook creating method for creating a codebook for storing different codes and a code vector representing a feature space of a signal corresponding to the code on the decoding side, wherein the feature space of the signal is the feature space of the signal. Are divided into a plurality of clusters smaller than the number of the training vectors by clustering a plurality of training vectors distributed in the above, and the distance from the center of gravity of each cluster in the training vectors is included within a predetermined range. A codebook creating method characterized in that a representative vector is created using a plurality of training vectors.
【請求項10】復号側において相異なるコードと該コー
ドに対応した信号の特徴空間を代表するコードベクトル
を記憶するコードブックを有し、符号化側からフレーム
毎に伝送された前記コードにより、該コードに対応する
コードベクトルを選択する手段と、前記選択されたコー
ドベクトルを信号のスペクトルなどの特徴量に復元する
際に、前記特徴量の中で、信号の特徴を反映していない
部分に対し前フレームで用いた前記部分との間で共通化
を行うことにより、前記特徴量を変形する手段を有する
ことを特徴とするベクトル量子化装置。
10. The decoding side has a codebook for storing different codes and a code vector representing a feature space of a signal corresponding to the code, and the codebook is transmitted by the coding side for each frame. Means for selecting a code vector corresponding to a code, and in restoring the selected code vector to a characteristic amount such as a spectrum of a signal, for a portion of the characteristic amount that does not reflect the characteristic of the signal A vector quantizer having a means for transforming the feature quantity by performing commonization with the portion used in the previous frame.
【請求項11】前記復号側において、前記符号化側から
伝送されたパワ情報を用い、前記フレーム間の前記パワ
情報の変化の少ない前記フレームに対してのみ、前記特
徴量の変形を行うことを特徴とする請求項10のベクト
ル量子化装置。
11. The decoding side uses the power information transmitted from the encoding side, and modifies the feature amount only for the frames in which the change in the power information between the frames is small. 11. The vector quantizer of claim 10, wherein the vector quantizer is a quantizer.
【請求項12】前記特徴量変形手段は、前記コードブッ
クより復元されたスペクトル成分に対し、前記前フレー
ムで使用したスペクトルとの間で重み付きの平均化を行
う手段を有することを特徴とする請求項10のベクトル
量子化装置。
12. The feature amount transforming means includes means for performing weighted averaging on the spectrum component restored from the codebook with the spectrum used in the previous frame. The vector quantization device according to claim 10.
【請求項13】前記スペクトル間の重み付き平均化手段
は、前記重み付き平均化を行うスペクトル成分を予め定
めた周波数領域に限定して平均化を行うことを特徴とす
る請求項12のベクトル量子化装置。
13. The vector quantum according to claim 12, wherein the weighted averaging means between the spectra performs averaging by limiting the spectrum component for which the weighted averaging is performed to a predetermined frequency domain. Device.
【請求項14】前記スペクトル間の重み付き平均化手段
は、前記重み付き平均化を行う際の重みを周波数成分ご
とに変化させることを特徴とする請求項12のベクトル
量子化装置。
14. The vector quantization device according to claim 12, wherein the weighted averaging means between the spectra changes a weight for performing the weighted averaging for each frequency component.
JP03179211A 1991-07-19 1991-07-19 Vector quantization method and apparatus Expired - Fee Related JP3094522B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03179211A JP3094522B2 (en) 1991-07-19 1991-07-19 Vector quantization method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03179211A JP3094522B2 (en) 1991-07-19 1991-07-19 Vector quantization method and apparatus

Publications (2)

Publication Number Publication Date
JPH0527799A true JPH0527799A (en) 1993-02-05
JP3094522B2 JP3094522B2 (en) 2000-10-03

Family

ID=16061876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03179211A Expired - Fee Related JP3094522B2 (en) 1991-07-19 1991-07-19 Vector quantization method and apparatus

Country Status (1)

Country Link
JP (1) JP3094522B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010033072A (en) * 1997-12-08 2010-02-12 Mitsubishi Electric Corp Sound signal processing method and sound signal processing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010033072A (en) * 1997-12-08 2010-02-12 Mitsubishi Electric Corp Sound signal processing method and sound signal processing device
JP4567803B2 (en) * 1997-12-08 2010-10-20 三菱電機株式会社 Sound signal processing method

Also Published As

Publication number Publication date
JP3094522B2 (en) 2000-10-03

Similar Documents

Publication Publication Date Title
KR100427753B1 (en) Method and apparatus for reproducing voice signal, method and apparatus for voice decoding, method and apparatus for voice synthesis and portable wireless terminal apparatus
US6081776A (en) Speech coding system and method including adaptive finite impulse response filter
US6078880A (en) Speech coding system and method including voicing cut off frequency analyzer
US6098036A (en) Speech coding system and method including spectral formant enhancer
JP5343098B2 (en) LPC harmonic vocoder with super frame structure
US6067511A (en) LPC speech synthesis using harmonic excitation generator with phase modulator for voiced speech
US5630012A (en) Speech efficient coding method
US6119082A (en) Speech coding system and method including harmonic generator having an adaptive phase off-setter
US6138092A (en) CELP speech synthesizer with epoch-adaptive harmonic generator for pitch harmonics below voicing cutoff frequency
KR100882771B1 (en) Perceptually Improved Enhancement of Encoded Acoustic Signals
US7599833B2 (en) Apparatus and method for coding residual signals of audio signals into a frequency domain and apparatus and method for decoding the same
JP4777918B2 (en) Audio processing apparatus and audio processing method
US6094629A (en) Speech coding system and method including spectral quantizer
CN101568959B (en) Method, medium, and apparatus with bandwidth extension encoding and/or decoding
JP3317470B2 (en) Audio signal encoding method and audio signal decoding method
US6678655B2 (en) Method and system for low bit rate speech coding with speech recognition features and pitch providing reconstruction of the spectral envelope
JP2003529787A (en) Efficient spectral envelope coding using variable time / frequency resolution and time / frequency switching
KR19990077753A (en) Audio signal coding apparatus, audio signal decoding apparatus, and audio signal coding and decoding apparatus
JPS58207099A (en) Coding of voice
KR100309727B1 (en) Audio signal encoder, audio signal decoder, and method for encoding and decoding audio signal
US20090210219A1 (en) Apparatus and method for coding and decoding residual signal
JP3237178B2 (en) Encoding method and decoding method
US5799271A (en) Method for reducing pitch search time for vocoder
JPH0527799A (en) Method and device for vector quantization
JP3916934B2 (en) Acoustic parameter encoding, decoding method, apparatus and program, acoustic signal encoding, decoding method, apparatus and program, acoustic signal transmitting apparatus, acoustic signal receiving apparatus

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees