[go: up one dir, main page]

JP2002372999A - LSP parameter decoding apparatus and method - Google Patents

LSP parameter decoding apparatus and method

Info

Publication number
JP2002372999A
JP2002372999A JP2002110039A JP2002110039A JP2002372999A JP 2002372999 A JP2002372999 A JP 2002372999A JP 2002110039 A JP2002110039 A JP 2002110039A JP 2002110039 A JP2002110039 A JP 2002110039A JP 2002372999 A JP2002372999 A JP 2002372999A
Authority
JP
Japan
Prior art keywords
decoding
quantized
error
frame
parameter
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
JP2002110039A
Other languages
Japanese (ja)
Other versions
JP3557415B2 (en
Inventor
Naoya Tanaka
直也 田中
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002110039A priority Critical patent/JP3557415B2/en
Publication of JP2002372999A publication Critical patent/JP2002372999A/en
Application granted granted Critical
Publication of JP3557415B2 publication Critical patent/JP3557415B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

(57)【要約】 【課題】 LSPパラメータ復号化装置で、入力音声信
号が過渡的な状態でも、高い量子化精度を確保するとと
もに、誤りに対する耐性を高めること。 【解決手段】 フレーム単位で独立にベクトル量子化さ
れたLSPパラメータを復号化する第1の復号化手段
と、第2の復号化手段と、誤り検出手段とを有し、第2
の復号化手段は、フレーム単位で独立にベクトル量子化
されたLSPパラメータを復号化して量子化値を得る第
3の復号化手段と、第3の復号化手段で得られた量子化
値と参照フレームの量子化値から求めた予測値を用いて
フレーム間の相関を利用してベクトル量子化されたLS
Pパラメータを復号化する第4の復号化手段とを備え
た。第2の復号化手段は、誤り検出手段により誤りが検
出されたフレームの次のフレームは、第3の復号化手段
で得られた量子化値のみを出力し、入力音声信号の状態
に関わらず、高い量子化精度を得る。
(57) [PROBLEMS] To provide a LSP parameter decoding device that ensures high quantization accuracy and increases error resistance even when an input speech signal is in a transient state. SOLUTION: It has a first decoding unit, a second decoding unit, and an error detection unit for decoding an LSP parameter which is vector-quantized independently for each frame.
Are decoding means for decoding the LSP parameters, which are vector-quantized independently on a frame basis, to obtain a quantized value, and refer to the quantized value obtained by the third decoding means, Vector quantized LS using the correlation between frames using the predicted value obtained from the quantized value of the frame
And fourth decoding means for decoding the P parameter. The second decoding means outputs only the quantized value obtained by the third decoding means for the next frame after the frame in which the error detection means has detected the error, regardless of the state of the input audio signal. To obtain high quantization accuracy.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、音声信号のスペク
トル情報の特徴パラメータであるLSPパラメータの符
号化復号化装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for encoding and decoding LSP parameters, which are characteristic parameters of spectral information of a speech signal.

【0002】[0002]

【従来の技術】従来、4〜8kbqs程度のビットレー
トの音声符号化装置では、音声信号を分析することによ
ってスペクトル情報と音源情報とに分離して符号化する
方法が主流である。LSPパラメータは、スペクトル情
報を表す特徴パラメータであり、通常、フレームあたり
10次程度必要である。LSPパラメータを符号化する
最も基本的な方法としては、個々の値をスカラーとして
量子化する方法があるが、量子化効果が低いため、複数
のLSPパラメータをまとめて量子化するベクトル量子
化が良く用いられる。また、LSPパラメータは、隣接
するフレーム間に大きな相関があるため、フレーム間の
相関を利用することによって、量子化効率を上げること
ができる。
2. Description of the Related Art Conventionally, in a speech coding apparatus having a bit rate of about 4 to 8 kbqs, a method of analyzing a speech signal to separate and encode spectral information and sound source information has been mainly used. The LSP parameter is a feature parameter representing spectrum information, and usually requires about ten orders per frame. The most basic method of encoding LSP parameters is a method of quantizing individual values as a scalar. However, since the quantization effect is low, vector quantization for collectively quantizing a plurality of LSP parameters is good. Used. In addition, since the LSP parameter has a large correlation between adjacent frames, quantization efficiency can be increased by using the correlation between frames.

【0003】図6は従来のフレーム間の相関を利用する
LSPパラメータ量子化装置の構成を示すブロック図で
あり、600はLSPパラメータ算出手段、601は過
去の量子化値を蓄えておくバッファ、602は過去の量
子化値から現フレームの値を線形に予測する予測手段、
603は予測値と入力値との誤差を最小にする符号を符
号帳から選択する誤差最小化手段、604は符号帳、6
05は出力符号から量子化値を復号する復号化手段であ
る。また、606は入力音声信号、607は現フレーム
のLSPパラメータ、608は出力符号、609は現フ
レームの量子化値、610は過去の量子化値、611は
予測された現フレームのLSPパラメータである。
FIG. 6 is a block diagram showing the configuration of a conventional LSP parameter quantization apparatus utilizing correlation between frames, 600 is an LSP parameter calculation means, 601 is a buffer for storing past quantization values, 602 Is a prediction means for linearly predicting the value of the current frame from past quantization values,
603 is an error minimizing means for selecting a code for minimizing an error between the predicted value and the input value from the codebook; 604 is a codebook;
A decoding unit 05 decodes the quantized value from the output code. Reference numeral 606 denotes an input audio signal, 607 denotes an LSP parameter of the current frame, 608 denotes an output code, 609 denotes a quantization value of the current frame, 610 denotes a past quantization value, and 611 denotes a predicted LSP parameter of the current frame. .

【0004】以上のように、構成された従来のLSPパ
ラメータ量子化装置における処理について説明する。L
SPパラメータ算出手段600は、入力音声信号606
から現フレームのLSPパラメータ607を算出する。
予測手段602はバッファ601に蓄えられた過去の量
子化値610から現フレームのLSPパラメータを線形
に予測する。誤差最小化手段603は、入力音声信号か
ら算出されたLSPパラメータ607と、過去の量子化
値から予測されたLSPパラメータ611の誤差を算出
し、誤差を最小にする符号を符号帳604から選択し、
その符号を出力する。復号手段605は、出力符号60
8から量子化値を復号し、復号された量子化値609
は、バッファ601に格納される。
[0004] The processing in the conventional LSP parameter quantization device configured as described above will be described. L
The SP parameter calculation means 600 calculates the input audio signal 606
, The LSP parameter 607 of the current frame is calculated.
The prediction unit 602 linearly predicts the LSP parameters of the current frame from the past quantization values 610 stored in the buffer 601. The error minimizing means 603 calculates an error between the LSP parameter 607 calculated from the input audio signal and the LSP parameter 611 predicted from the past quantization value, and selects a code that minimizes the error from the codebook 604. ,
Output the sign. The decoding means 605 outputs the output code 60
8 and the decoded quantized value 609
Is stored in the buffer 601.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来の装置では、入力音声信号が定常に近い状態では、高
い予測ゲインが得られ、精度の高い量子化が行なえるも
のの、入力音声信号が過渡的な状態では、予測ゲインが
低下し、量子化の精度も低下する。フレーム長が長くな
ると、隣接フレーム間で過渡的要素が大きくなり、フレ
ーム間相関が小さくなるため、同様に予測ゲインが低下
する。したがって、隣接フレーム間相関を利用して予測
を行なう量子化方法は、入力音声信号が隣接フレーム間
で定常とみなされやすく、フレーム長の短い音声符号化
方法には適するが、フレーム長が長い音声符号化方法に
適用するのは難しかった。
However, in the above-mentioned conventional apparatus, when the input speech signal is almost steady, a high prediction gain can be obtained and high-precision quantization can be performed, but the input speech signal is transient. In such a state, the prediction gain decreases and the accuracy of quantization also decreases. When the frame length increases, the transient factor between adjacent frames increases, and the inter-frame correlation decreases, so that the prediction gain similarly decreases. Therefore, the quantization method of performing prediction using the correlation between adjacent frames is suitable for a speech coding method with a short frame length while the input speech signal is likely to be regarded as stationary between adjacent frames. It was difficult to apply to the encoding method.

【0006】また、過去の量子化値から現在の値を予測
するため、伝送路で生じる符号誤りの影響が、誤りフレ
ームだけではなく以降のフレームに伝搬するため、誤り
に弱いという問題があった。
Further, since the present value is predicted from the past quantized value, the effect of a code error occurring on the transmission path propagates not only to the error frame but also to the subsequent frames, so that there is a problem that it is vulnerable to errors. .

【0007】本発明は、上記従来の問題を解決するもの
であり、入力音声信号が過渡的な状態でも、高い量子化
精度を確保するとともに、誤りに対する耐性を高めるこ
とのできるLSPパラメータ復号化装置及びその方法を
提供することを目的とする。
The present invention solves the above-mentioned conventional problem. An LSP parameter decoding apparatus capable of securing high quantization accuracy and improving error resistance even when an input audio signal is in a transient state. And a method thereof.

【0008】[0008]

【課題を解決するための手段】本発明は、上記目的を達
成するために、ベクトル量子化されたLSPパラメータ
を復号化する第1、第2の復号化手段と、前記LSPパ
ラメータの誤りを検出する誤り検出手段とを有し、前記
第1の復号化手段は、フレーム単位で独立にベクトル量
子化されたLSPパラメータを復号化し、前記第2の復
号化手段は、フレーム単位で独立にベクトル量子化され
たLSPパラメータを復号化して量子化値を得る第3の
復号化手段と、前記第3の復号化手段で得られた量子化
値と参照フレームの量子化値から求めた予測値を用いて
フレーム間の相関を利用してベクトル量子化されたLS
Pパラメータを復号化する第4の復号化手段とを備え、
前記第2の復号化手段は、前記誤り検出手段により誤り
が検出されたフレームの次のフレームは、前記第3の復
号化手段で得られた量子化値のみを出力するようにした
ものである。
To achieve the above object, the present invention provides first and second decoding means for decoding vector-quantized LSP parameters, and detecting an error in the LSP parameters. Error detecting means, wherein the first decoding means decodes the LSP parameters which are independently vector-quantized in frame units, and wherein the second decoding means independently executes vector quantization in frame units. A third decoding means for decoding the converted LSP parameter to obtain a quantized value, and a prediction value obtained from the quantized value obtained by the third decoding means and the quantized value of the reference frame. LS vector-quantized using the correlation between frames
And fourth decoding means for decoding the P parameter.
The second decoding means outputs only a quantization value obtained by the third decoding means for a frame next to a frame in which an error is detected by the error detection means. .

【0009】また本発明は、フレーム単位で独立にベク
トル量子化されたLSPパラメータを復号化して量子化
値を得る第1の復号化手段と、前記第1の復号化手段で
得られた量子化値と参照フレームの量子化値から求めた
予測値を用いてフレーム間の相関を利用してベクトル量
子化されたLSPパラメータを復号化する第2の復号化
手段と、前記LSPパラメータの誤りを検出する誤り検
出手段と、前記誤り検出手段の検出結果が、前記参照フ
レームのLSPパラメータに誤りがあることを示す場合
には、前記第1の復号化手段で得られた量子化値のみを
出力し、誤りがないことを示す場合には、前記第2の復
号化手段で得られた量子化値を出力する選択手段とを備
えたものである。
The present invention also provides a first decoding means for decoding LSP parameters which are vector-quantized independently on a frame-by-frame basis to obtain a quantized value, and a quantization means for obtaining a quantization value by the first decoding means. Second decoding means for decoding a vector-quantized LSP parameter using correlation between frames using a predicted value obtained from the quantization value of the reference frame and an error in the LSP parameter If the detection result of the error detection means and the detection result of the error detection means indicate that there is an error in the LSP parameter of the reference frame, only the quantized value obtained by the first decoding means is output. And selecting means for outputting the quantized value obtained by the second decoding means when it indicates that there is no error.

【0010】また本発明は、ベクトル量子化されたLS
Pパラメータを復号化する第1、第2の復号化手段と、
前記LSPパラメータがフレーム単位で独立にベクトル
量子化されたものであるのか、或いはフレーム間の相関
を利用してベクトル量子化されたものであるのかに対応
して前記第1もしくは第2の復号化手段の出力量子化値
を選択する選択手段と、前記LSPパラメータの誤りを
検出する誤り検出手段とを有し、前記第1の復号化手段
は、フレーム単位で独立にベクトル量子化されたLSP
パラメータを復号化し、前記第2の復号化手段は、フレ
ーム単位で独立にベクトル量子化されたLSPパラメー
タを復号化して量子化値を得る第3の復号化手段と、前
記第3の復号化手段で得られた量子化値と参照フレーム
の量子化値から求めた予測値を用いてフレーム間の相関
を利用してベクトル量子化されたLSPパラメータを復
号化する第4の復号化手段とを備え、前記誤り検出手段
の検出結果が、前記参照フレームのLSPパラメータに
誤りがあることを示す場合には、前記第3の復号化手段
で得られた量子化値のみを出力し、誤りがないことを示
す場合には、前記第4の復号化手段で得られた量子化値
を出力するようにしたものである。
The present invention also provides a vector-quantized LS
First and second decoding means for decoding the P parameter;
The first or second decoding according to whether the LSP parameter is independently vector-quantized for each frame or is vector-quantized using correlation between frames. Means for selecting an output quantization value of the means, and error detecting means for detecting an error of the LSP parameter, wherein the first decoding means comprises an LSP which is independently vector-quantized for each frame.
A second decoding unit that decodes an LSP parameter that is vector-quantized independently on a frame-by-frame basis to obtain a quantized value; and the third decoding unit decodes the parameter. And a fourth decoding means for decoding the vector-quantized LSP parameter using the correlation between frames using the quantization value obtained in the above and the prediction value obtained from the quantization value of the reference frame. If the detection result of the error detecting means indicates that there is an error in the LSP parameter of the reference frame, only the quantized value obtained by the third decoding means is output, and there is no error. Is indicated, the quantized value obtained by the fourth decoding means is output.

【0011】また本発明は、フレーム単位で独立にベク
トル量子化されたLSPパラメータを復号化して量子化
値を得る第1の復号化ステップと、前記第1の復号化ス
テップで得られた量子化値と参照フレームの量子化値か
ら求めた予測値を用いてフレーム間の相関を利用してベ
クトル量子化されたLSPパラメータを復号化する第2
の復号化ステップと、前記LSPパラメータの誤りを検
出する誤り検出ステップと、前記参照フレームのLSP
パラメータに誤りがある場合は、前記第1の復号化ステ
ップで得られた量子化値を出力し、誤りがない場合は、
前記第2の復号化ステップで得られた量子化値を出力す
る選択ステップを有するものである。
Further, the present invention provides a first decoding step of decoding LSP parameters which are vector-quantized independently on a frame basis to obtain a quantized value, and a quantization step obtained in the first decoding step. Decoding the vector-quantized LSP parameter using the correlation between frames using the prediction value obtained from the quantization value of the reference frame and the second value.
Decoding step, an error detecting step of detecting an error of the LSP parameter, and an LSP of the reference frame
If there is an error in the parameter, the quantization value obtained in the first decoding step is output.
A selecting step of outputting the quantized value obtained in the second decoding step.

【0012】また本発明は、音声信号のスペクトル情報
の特徴パラメータであるLSPパラメータを復号化する
方法であって、ベクトル量子化されたLSPパラメータ
を復号化する第1、第2の復号化ステップと、前記LS
Pパラメータがフレーム単位で独立にベクトル量子化さ
れたものであるのか、或いはフレーム間の相関を利用し
てベクトル量子化されたものであるのかに対応して前記
第1もしくは第2の復号化手段の出力量子化値を選択す
る選択ステップと、前記LSPパラメータの誤りを検出
する誤り検出ステップとを有し、前記第1の復号化ステ
ップは、フレーム単位で独立にベクトル量子化されたL
SPパラメータを復号化し、前記第2の復号化ステップ
は、フレーム単位で独立にベクトル量子化されたLSP
パラメータを復号化して量子化値を得る第3の復号化ス
テップと、前記第3の復号化ステップで得られた量子化
値と参照フレームの量子化値から予測値を求め、この予
測値を用いてフレーム間の相関を利用してベクトル量子
化されたLSPパラメータを復号化する第4の復号化ス
テップとを含み、前記参照フレームのLSPパラメータ
に誤りがある場合は、前記第3の復号化ステップで得ら
れた量子化値のみを出力し、誤りがない場合は、前記第
4の復号化ステップで得られた量子化値を出力するよう
にしたものである。
The present invention is also a method for decoding an LSP parameter which is a characteristic parameter of spectrum information of an audio signal, comprising: a first and a second decoding step for decoding a vector-quantized LSP parameter; , The LS
The first or second decoding means depending on whether the P parameter is independently vector-quantized for each frame or is vector-quantized using correlation between frames. And an error detecting step of detecting an error of the LSP parameter. The first decoding step comprises the step of independently performing vector quantization of the LSP parameter on a frame-by-frame basis.
Decoding the SP parameters, and the second decoding step comprises:
A third decoding step of decoding the parameters to obtain a quantized value; and obtaining a predicted value from the quantized value obtained in the third decoding step and the quantized value of the reference frame. Decoding the vector-quantized LSP parameter using the correlation between the frames, and if the LSP parameter of the reference frame contains an error, the third decoding step Is output, and if there is no error, the quantized value obtained in the fourth decoding step is output.

【0013】[0013]

【作用】したがって、本発明によれば、第2の復号化手
段が、誤り検出手段により誤りが検出されたフレームの
次のフレームは、第3の復号化手段で得られた、フレー
ム単位で独立にベクトル量子化されたLSPパラメータ
を復号化した量子化値のみを出力することにより、入力
音声信号の状態に関わらず、高い量子化精度を得ること
ができる。
Therefore, according to the present invention, the second decoding means determines that the next frame following the frame in which the error has been detected by the error detection means is independent of the frame obtained by the third decoding means. By outputting only the quantized value obtained by decoding the LSP parameter subjected to vector quantization, high quantization accuracy can be obtained regardless of the state of the input audio signal.

【0014】また本発明は、参照フレームのLSPパラ
メータに誤りがあることを示す場合には、前記第1の復
号化手段で得られた、フレーム単位で独立に量子化した
量子化値のみを出力し、誤りがないことを示す場合に
は、前記第2の復号化手段で得られた、フレーム相関を
利用して量子化した量子化値を出力することにより、伝
送誤りに対する耐性を高めることができる。
Further, according to the present invention, when an error is found in the LSP parameter of the reference frame, only the quantized value independently quantized in frame units, obtained by the first decoding means, is output. However, when it indicates that there is no error, it is possible to improve the resistance to transmission errors by outputting the quantized value obtained by the second decoding means and quantized using the frame correlation. it can.

【0015】また本発明は、誤り検出手段の検出結果
が、参照フレームのLSPパラメータに誤りがあること
を示す場合には、第3の復号化手段で得られた、フレー
ム単位で独立に量子化した量子化値のみを出力し、誤り
がないことを示す場合には、第4の復号化手段で得られ
た、フレーム相関を利用して量子化した量子化値を出力
するようにすることによって、誤りにより影響の伝搬を
防ぎ、伝送誤りに対する耐性を高めることができる。
Further, according to the present invention, when the detection result of the error detecting means indicates that there is an error in the LSP parameter of the reference frame, the quantization is independently performed on a frame basis by the third decoding means. When only the quantized value is output and it indicates that there is no error, by outputting the quantized value obtained by the fourth decoding means using the frame correlation, In addition, propagation of influence due to errors can be prevented, and resistance to transmission errors can be increased.

【0016】また本発明は、参照フレームのLSPパラ
メータに誤りがある場合は、第1の復号化ステップで得
られた、フレーム単位で独立に量子化した量子化値を出
力し、誤りがない場合は、第2の復号化ステップで得ら
れた、フレーム相関を利用して量子化した量子化値を出
力することによって、誤りによる影響の伝搬を防ぎ、誤
りに対する耐性を高めることができる。
Further, the present invention outputs a quantized value independently quantized in frame units, obtained in the first decoding step, when there is an error in the LSP parameter of the reference frame. By outputting the quantized value obtained by using the frame correlation obtained in the second decoding step, it is possible to prevent the influence of an error from being propagated and to improve the error resistance.

【0017】[0017]

【発明の実施の形態】(実施の形態1)以下、本発明の
実施の形態を図を用いて説明する。図1は本発明の第1
の実施の形態におけるLSPパラメータ符号化装置の構
成を示すブロック図であり、100はLSPパラメータ
算出手段、101はフレーム単位で独立に量子化を行な
う第1の量子化手段、102は隣接フレーム間の相関を
利用して量子化を行なう第2の量子化手段、103、1
04は復号化手段、105は誤差比較手段、106は量
子化手段を切り換えるスイッチである。また、107は
入力音声信号、108は算出したLSPパラメータ、1
09は第1の量子化手段101の出力符号、110は第
2の量子化手段102の出力符号、111は第1の量子
化手段101による量子化値、112は第2の量子化手
段102による量子化値、113はスイッチ106の切
り換えを制御する信号、114は出力符号である。
(Embodiment 1) Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows the first embodiment of the present invention.
FIG. 3 is a block diagram showing a configuration of an LSP parameter encoding apparatus according to the embodiment of the present invention. Second quantization means for performing quantization using correlation, 103, 1
04 is a decoding means, 105 is an error comparison means, and 106 is a switch for switching the quantization means. 107 is an input audio signal, 108 is a calculated LSP parameter, 1
09 is the output code of the first quantization means 101, 110 is the output code of the second quantization means 102, 111 is the quantization value of the first quantization means 101, and 112 is the output value of the second quantization means 102. A quantized value, 113 is a signal for controlling switching of the switch 106, and 114 is an output code.

【0018】次に、上記実施の形態の動作について説明
する。LSPパラメータ算出手段100によって算出し
たLSPパラメータ108は、それぞれ第1の量子化手
段101と、第2の量子化手段102に入力される。第
1の量子化手段101は、フレーム単位で独立に量子化
を行ない、符号109を出力する。同様に、第2の量子
化手段102は、隣接フレーム間の相関を利用して量子
化を行ない、符号110を出力する。復号化手段103
は、符号109から第1の量子化手段101による量子
化値111を復号し、復号化手段104は、符号110
から第2の量子化手段102による量子化値112を復
号する。誤差比較手段105は、量子化値111および
112とLSPパラメータ108との誤差をそれぞれ算
出、比較し、スイッチ106を切り換えることによっ
て、誤差の小さい方の量子化手段を選択し、選択した量
子化手段の出力符号をこの符号化装置の出力符号114
として出力する。
Next, the operation of the above embodiment will be described. The LSP parameters 108 calculated by the LSP parameter calculation means 100 are input to the first quantization means 101 and the second quantization means 102, respectively. The first quantization means 101 performs quantization independently for each frame, and outputs a code 109. Similarly, the second quantization means 102 performs quantization using the correlation between adjacent frames, and outputs a code 110. Decryption means 103
Decodes the quantization value 111 by the first quantization means 101 from the code 109, and the decoding means 104
To decode the quantized value 112 by the second quantizing means 102 from. The error comparison means 105 calculates and compares the errors between the quantized values 111 and 112 and the LSP parameter 108, and switches the switch 106 to select the quantization means with the smaller error, and to select the selected quantization means. Is converted to the output code 114 of this encoder.
Output as

【0019】このように、本実施の形態によれば、入力
音声信号の状態に関わらず安定した量子化精度が期待で
きる第1の量子化手段101と、入力音声信号が定常に
近い状態で高い量子化精度が期待できる第2の量子化手
段102の、2つの異なる量子化方法の量子化手段を切
り換えて使用することにより、入力音声信号の状態に関
わらず、高い安定した量子化精度を得ることができる。
As described above, according to the present embodiment, the first quantization means 101, which can expect stable quantization accuracy regardless of the state of the input audio signal, and the high level when the input audio signal is almost steady. By switching and using the quantization means of the two different quantization methods of the second quantization means 102 which can expect the quantization precision, a high and stable quantization precision is obtained regardless of the state of the input audio signal. be able to.

【0020】また、第2の量子化手段102は、隣接フ
レーム間の相関を利用して量子化を行なうため、伝送誤
りにより影響が次フレーム以降に伝搬するが、第1の量
子化手段101は、フレーム単位で独立に量子化を行な
うため、誤りによる影響は伝搬しない。したがって、誤
りによる影響の伝搬は、第2の量子化手段が連続して選
択されている区間に限られ、第1の量子化手段が選択さ
れたフレーム以降には伝搬しない。第1の量子化手段と
第2の量子化手段とがそれぞれ選択される確率は、入力
音声信号の性質によって大きく変化するが、通常の会話
では1対1から1対2程度であり、どちらかの量子化手
段が長い区間にわたって連続して選択されることは少な
い。したがって、誤りによる影響の伝搬は短い区間に限
定され、誤りによる影響が伝搬し続ける従来例に対し
て、誤りに対する耐性が高い。
Since the second quantization means 102 performs quantization using the correlation between adjacent frames, the influence of the transmission error propagates to the next and subsequent frames, but the first quantization means 101 Since the quantization is performed independently for each frame, the influence of an error does not propagate. Therefore, the propagation of the influence of the error is limited to the section in which the second quantization means is continuously selected, and does not propagate beyond the frame in which the first quantization means is selected. The probability that the first quantization means and the second quantization means are selected varies greatly depending on the properties of the input speech signal, but is about one-to-one or one-to-two in a normal conversation. Is rarely selected continuously over a long interval. Therefore, the propagation of the influence of the error is limited to a short section, and the resistance to the error is higher than the conventional example in which the influence of the error continues to propagate.

【0021】(実施の形態2)図2は本発明の第2の実
施の形態の構成を示すブロック図であり、図1の第2の
量子化手段102の詳細を示すものである。200はL
SPパラメータ算出手段であり、図1のLSPパラメー
タ算出手段100と同じものである。201は第1段目
の誤差最小化手段、202は第1の符号帳、203、2
07は復号化手段、204は過去の量子化値から現フレ
ームの値を線形に予測する予測手段、205は第2段目
の誤差最小化手段、206は第2の符号帳、208は過
去の量子化値を蓄えておくバッファである。また、21
0は入力音声信号、211は算出した現フレームのLS
Pパラメータ、212は第1段階の出力符号、213は
第1段階の量子化値、214は第2段階の出力符号、2
15は現フレームの量子化値、216は過去の量子化
値、217は予測された現フレームのLSPパラメータ
である。
(Embodiment 2) FIG. 2 is a block diagram showing the configuration of a second embodiment of the present invention, and shows the details of the second quantization means 102 in FIG. 200 is L
The SP parameter calculating means is the same as the LSP parameter calculating means 100 in FIG. 201 is a first stage error minimizing means, 202 is a first codebook, 203, 2
07 is a decoding means, 204 is a prediction means for linearly predicting the value of the current frame from past quantization values, 205 is a second-stage error minimization means, 206 is a second codebook, and 208 is a past codebook. This is a buffer for storing the quantization value. Also, 21
0 is the input audio signal, 211 is the calculated LS of the current frame
P parameter, 212 is a first stage output code, 213 is a first stage quantization value, 214 is a second stage output code, 2
Reference numeral 15 denotes a quantization value of the current frame, 216 denotes a past quantization value, and 217 denotes a predicted LSP parameter of the current frame.

【0022】次に上記実施の形態の動作について説明す
る。LSPパラメータ算出手段200は、入力音声信号
210から現フレームのLSPパラメータ211を算出
する。第1段階として、第1段目の誤差最小化手段20
1は、第1の符号帳202からLSPパラメータ211
との誤差が最小となる符号を選択し、出力符号212と
して出力する。第2段階として、予測手段204は、復
号化手段203によって復号された第1段階の量子化値
213と、バッファ208に蓄えられた過去の量子化値
216とから現フレームのLSPパラメータ217を線
形に予測する。第2段目の誤差最小化手段205は、予
測されたLSPパラメータ217と入力音声信号210
とから算出された現フレームのLSPパラメータ211
との誤差が最小となる符号を、第2の符号帳206から
選択し、出力符号214として出力する。復号化手段2
07は、出力符号214とから、現フレームの量子化値
215を復号し、バッファ208に格納する。
Next, the operation of the above embodiment will be described. The LSP parameter calculation means 200 calculates the LSP parameter 211 of the current frame from the input audio signal 210. As a first stage, the first stage error minimizing means 20
1 is the LSP parameter 211 from the first codebook 202
Is selected and the output code 212 is output. As a second stage, the prediction unit 204 linearly converts the LSP parameter 217 of the current frame from the first stage quantization value 213 decoded by the decoding unit 203 and the past quantization value 216 stored in the buffer 208. To predict. The second-stage error minimizing means 205 compares the predicted LSP parameter 217 and the input audio signal 210
LSP parameter 211 of the current frame calculated from
Is selected from the second codebook 206 and output as an output code 214. Decoding means 2
07 decodes the quantization value 215 of the current frame from the output code 214 and stores it in the buffer 208.

【0023】ここで、第2段階の処理を図3を用いて説
明する。図3において、300は前フレームのLSPパ
ラメータの量子化前の値、301は現フレームのLSP
パラメータの量子化前の値、302は前フレームの量子
化値、303は現フレームの第1段階の量子化値、30
4は現フレームの予測値、305は予測値と量子化前の
値との誤差、306は現フレームの量子化値である。
Here, the processing of the second stage will be described with reference to FIG. In FIG. 3, reference numeral 300 denotes a value before quantization of the LSP parameter of the previous frame, and 301 denotes the LSP parameter of the current frame.
Parameters before quantization, 302 is the quantization value of the previous frame, 303 is the quantization value of the first stage of the current frame, 30
4 is the predicted value of the current frame, 305 is the error between the predicted value and the value before quantization, and 306 is the quantized value of the current frame.

【0024】現フレームの予測値304は、前フレーム
の量子化値302と現フレームの第1段階の量子化値3
03を用いて、 pn =αqn-1 +(1−α)υn よって、誤差305は、 dn =cn −pn =cn −{αqn-1 +(1−α)υn } また、現フレームの量子化値306は、 qn =pn +d^n ={αqn-1 +(1−α)υn }+d^n と表される。ここで、αは予測係数、d^n は誤差30
5を近似する符号ベクトルである。第2段目の誤差最小
化手段205は、現フレームのLSPパラメータ301
と現フレームの量子化値306の誤差を最小にする予測
係数αと符号ベクトルd^n の組を第2の符号帳206
から選択し、符号を出力する。
The predicted value 304 of the current frame includes a quantized value 302 of the previous frame and a quantized value 3 of the first stage of the current frame.
03, p n = αq n−1 + (1−α) υ n, so that the error 305 is dn = c n −p n = c n − {αq n−1 + (1−α)}. n} the quantization values 306 of the current frame is expressed as q n = p n + d ^ n = {αq n-1 + (1-α) υ n} + d ^ n. Here, α is a prediction coefficient, and d ^ n is an error 30
5 is a code vector approximating 5. The second-stage error minimizing means 205 outputs the LSP parameter 301 of the current frame.
And a pair of a prediction coefficient α and a code vector d ^ n that minimize the error of the quantization value 306 of the current frame.
And outputs the sign.

【0025】なお、予測係数αを固定とすることによ
り、第2段目の誤差最小化の処理は、誤差305に対し
て誤差が最小となる符号ベクトルを選択するのみとな
り、演算量が削減される。
By fixing the prediction coefficient α, the error minimization process in the second stage only selects a code vector having the minimum error with respect to the error 305, thereby reducing the amount of calculation. You.

【0026】このように、本実施の形態によれば、現フ
レームの予測値を、過去のフレームの情報と現フレーム
の情報とから予測するため、復号化する際に、過去のフ
レームの情報に伝送誤りによる影響があっても、現フレ
ームの予測値に値する影響を低減することができ、伝送
誤りに値する耐性を高めることができる。
As described above, according to the present embodiment, the prediction value of the current frame is predicted from the information of the past frame and the information of the current frame. Even if there is an effect due to a transmission error, it is possible to reduce the effect worth the predicted value of the current frame, and it is possible to increase the tolerance worthy of the transmission error.

【0027】(実施の形態3)図4は本発明の第3の実
施の形態の構成を示すブロック図であり、上記第1およ
び第2の実施の形態の符号化装置に対応する復号化装置
の構成を示すものである。図4において、400は伝送
誤り検出手段、401はスイッチ制御手段、402は第
1の量子化手段による符号ベクトルを格納する符号帳、
403は第2の量子化手段の第1段階による符号ベクト
ルを格納する符号帳、404は第2の量子化手段の第2
段階による符号ベクトルを格納する符号帳、405は予
測手段、406は復号化手段、407、408は復号化
手段を切り換えるスイッチ、409は出力する復号値を
切り換えるスイッチ、410は前フレームの量子化値を
蓄えるバッファである。また、411は伝送符号、41
2は第1の量子化手段による量子化値、413は第2の
量子化手段の第1段階での量子化値、414は現フレー
ムの予測値、415は第2の量子化手段の第2段階での
量子化値、416は復号化装置の出力量子化値である。
(Embodiment 3) FIG. 4 is a block diagram showing a configuration of a third embodiment of the present invention, and a decoding device corresponding to the encoding devices of the first and second embodiments. It shows the configuration of FIG. In FIG. 4, reference numeral 400 denotes a transmission error detecting unit, 401 denotes a switch control unit, 402 denotes a codebook storing a code vector by the first quantization unit,
403 is a codebook for storing the code vector of the first stage of the second quantization means, and 404 is the second book of the second quantization means.
A codebook storing code vectors according to stages, 405 is prediction means, 406 is decoding means, 407 and 408 are switches for switching decoding means, 409 is a switch for switching decoded values to be output, and 410 is the quantization value of the previous frame. Is a buffer that stores 411 is a transmission code, 41
2 is a quantized value of the first quantizing means, 413 is a quantized value of the second quantizing means in the first stage, 414 is a predicted value of the current frame, and 415 is a second quantized value of the second quantizing means. The quantization values 416 at the stages are the output quantization values of the decoding device.

【0028】次に上記実施例の動作について説明する。
伝送符号が前記符号化装置における第1の量子化手段に
よる符号であれば、スイッチ407、408を連動して
a側に、第2の量子化手段による符号であれば、スイッ
チ407、408をb側に切り換えることによって、第
1、第2のそれぞれの量子化手段に対応する復号手段で
量子化値を復号することができる。第2の量子化手段に
よる伝送を復号化する場合において、伝送符号に誤りが
ないフレームでは、スイッチ制御手段401は、スイッ
チ409のA、B、C、D、E、Fの6つの端子のうち
A−B間と、C−D間を接続する。この状態では、各復
号手段からの復号値は正しく復号されて出力される。伝
送誤り検出手段400が伝送誤りを検出したフレームで
は、スイッチ制御手段401は、スイッチ409の端子
のうち、D−E間を接続する。この状態では、伝送符号
411は無視され、バッファ410に蓄えられた前フレ
ームの量子化値が出力される。伝送誤り検出手段400
が誤りを検出したフレームの次フレーム以降、第2の量
子化手段による符号が連続する限り、スイッチ制御手段
401は、スイッチ409の端子のうちAF間を接続す
る。この状態では、第2の量子化手段による符号のう
ち、第1段階の符号のみによって復号された量子化値4
13が出力され、第2段階は無視される。伝送誤り検出
手段400が誤りを検出したフレームの次フレーム以
降、最初に第1の量子化手段による符号が伝送されたフ
レームで、スイッチ制御手段401は、スイッチ409
の端子のうちA−B、C−D間を接続し、誤りを検出す
る前の状態に戻る。
Next, the operation of the above embodiment will be described.
If the transmission code is a code by the first quantization means in the encoding device, the switches 407 and 408 are linked to a side, and if the transmission code is a code by the second quantization means, the switches 407 and 408 are set to b By switching to the side, the quantization value can be decoded by the decoding means corresponding to the first and second quantization means. In the case of decoding the transmission by the second quantization unit, in a frame having no error in the transmission code, the switch control unit 401 determines whether the switch 409 has six terminals A, B, C, D, E, and F. A connection is made between AB and CD. In this state, the decoded value from each decoding means is correctly decoded and output. In the frame in which the transmission error detecting unit 400 has detected the transmission error, the switch control unit 401 connects the terminals D and E of the switch 409. In this state, the transmission code 411 is ignored, and the quantized value of the previous frame stored in the buffer 410 is output. Transmission error detecting means 400
The switch control means 401 connects the AF among the terminals of the switch 409 as long as the code by the second quantization means continues from the frame following the frame in which the error is detected. In this state, among the codes by the second quantizing means, the quantized value 4 decoded by only the code of the first stage is used.
13 is output and the second stage is ignored. After the frame following the frame in which the transmission error detection unit 400 has detected an error, the switch control unit 401 sets the switch 409 in the frame in which the code by the first quantization unit is transmitted first.
Are connected between AB and CD, and return to the state before error detection.

【0029】このように、本実施の形態によれば、誤り
が生じたフレームの次フレーム以降で、過去の誤りの影
響を伝搬する第2の量子化手段の第2段階をパスするこ
とにより、誤りによる影響が次フレーム以降に伝搬する
ことを防ぎ、誤りによる影響を最小限に抑えることがで
きる。
As described above, according to the present embodiment, the second stage of the second quantization means that propagates the influence of the past error is passed after the next frame of the frame in which the error has occurred. It is possible to prevent the influence of the error from propagating to the next frame and thereafter, and to minimize the influence of the error.

【0030】(参考例)次に、上記各実施例1乃至3を
適用した符号化復号化装置を参考例として示す。図5は
本発明の参考例の構成を示すブロック図であり、上記第
1および第2の実施例の符号化装置と第3の実施例の復
号化装置とを組み合わせたものである。図5の符号化側
において、500は第1の量子化手段、501は第2の
量子化手段、502は量子化手段500、501を切り
換えるスイッチ、508は出力符号であり、これら以外
の詳細な構成は上記第1および第2の実施例と同じであ
る。復号化側において、503は伝送誤り検出手段、5
04は誤り頻度判定手段、505は第1の復号化手段、
506は第2の復号化手段、507は復号化手段50
5、506を切り換えるスイッチ、509は復号化側の
入力符号であり、これら以外の詳細な構成は上記第3の
実施例と同じである。
Reference Example Next, an encoding / decoding apparatus to which each of the first to third embodiments is applied will be described as a reference example. FIG. 5 is a block diagram showing the configuration of the reference example of the present invention, which is a combination of the encoding apparatuses of the first and second embodiments and the decoding apparatus of the third embodiment. On the encoding side in FIG. 5, reference numeral 500 denotes a first quantization unit, 501 denotes a second quantization unit, 502 denotes a switch for switching between the quantization units 500 and 501, and 508 denotes an output code. The configuration is the same as in the first and second embodiments. On the decoding side, 503 is a transmission error detecting means, 5
04 is an error frequency determination means, 505 is a first decoding means,
506 is the second decoding means, and 507 is the decoding means 50
A switch for switching between 5, 506 and 509 is an input code on the decoding side, and the other detailed configuration is the same as that of the third embodiment.

【0031】次に、上記参考例の動作について説明す
る。復号化側の誤り検出手段503は、伝送されてきた
入力符号509の伝送誤りを検出する。誤り頻度判定手
段504は、検出された伝送誤りの頻度を定められたし
きい値と比較し、誤り頻度がしきい値未満であれば、第
1の量子化手段500と第2の量子化手段501のう
ち、量子化誤差が小さい方の量子化手段をスイッチ50
2により選択し、誤り頻度がしきい値以上であれば、ス
イッチ502を第1の量子化手段500側に固定する。
復号化側の動作は、上記第3の実施例と同じである。
Next, the operation of the above reference example will be described. The error detection means 503 on the decoding side detects a transmission error of the input code 509 transmitted. The error frequency determination means 504 compares the frequency of the detected transmission error with a predetermined threshold, and if the error frequency is less than the threshold, the first quantization means 500 and the second quantization means The quantization means having the smaller quantization error among the 501
When the error frequency is equal to or larger than the threshold value, the switch 502 is fixed to the first quantization means 500 side.
The operation on the decoding side is the same as in the third embodiment.

【0032】伝送誤りの頻度が高くなると、復号化にお
いて第2の量子化手段501の第2段階がパスされる割
合が増加し、復号した量子化値の精度が低下する。した
がって、本参考例のように、誤りの頻度を監視し、頻度
が高い場合には、相手の符号化側のスイッチを第1の量
子化手段500に固定することにより、復号化側で復号
した量子化値の精度の低下を少なくすることができる。
また、双方向の伝送路では、復号化側が受信した入力符
号509の誤り頻度から、符号化側が送信する出力符号
508の相手側受信時の誤り頻度が推定できるので、本
参考例のように、復号化側での誤り頻度による自分の符
号化側の量子化手段を切り換えスイッチ502の制御を
双方で行なえば、付加情報を付け加えることなく、伝送
誤りに対する耐性を高めることができる。
When the frequency of transmission errors increases, the rate at which the second stage of the second quantization means 501 is passed in decoding increases, and the accuracy of the decoded quantization value decreases. Therefore, as in the present reference example, the frequency of error is monitored, and if the frequency is high, decoding is performed on the decoding side by fixing the switch on the encoding side of the other party to the first quantization means 500. A decrease in the accuracy of the quantization value can be reduced.
On the other hand, in the bidirectional transmission path, the error frequency of the output code 508 transmitted by the encoding side at the time of reception by the other side can be estimated from the error frequency of the input code 509 received by the decoding side. By controlling both the switch 502 and the quantization means on the encoding side based on the error frequency on the decoding side, the resistance to transmission errors can be increased without adding additional information.

【0033】[0033]

【発明の効果】以上のように、本発明は、第2の復号化
手段が、誤り検出手段により誤りが検出されたフレーム
の次のフレームは、第3の復号化手段で得られた、フレ
ーム単位で独立にベクトル量子化されたLSPパラメー
タを復号化した量子化値のみを出力することにより、入
力音声信号の状態に関わらず、高い量子化精度が得られ
る効果がある。
As described above, according to the present invention, the second decoding means determines that the next frame following the frame in which the error is detected by the error detection means is the frame obtained by the third decoding means. By outputting only the quantized value obtained by decoding the LSP parameter that has been independently vector-quantized in units, high quantization accuracy can be obtained regardless of the state of the input audio signal.

【0034】また、本発明は、参照フレームのLSPパ
ラメータに誤りがあることを示す場合には、前記第1の
復号化手段で得られた、フレーム単位で独立に量子化し
た量子化値のみを出力し、誤りがないことを示す場合に
は、前記第2の復号化手段で得られた、フレーム相関を
利用して量子化した量子化値を出力することにより、伝
送誤りに対する耐性を高める効果がある。
Further, according to the present invention, when it is indicated that there is an error in the LSP parameter of the reference frame, only the quantized value independently quantized in frame units obtained by the first decoding means is used. When the output indicates that there is no error, by outputting the quantized value obtained by the second decoding means using the frame correlation, the effect of increasing the resistance to transmission errors is provided. There is.

【0035】また、本発明は、誤り検出手段の検出結果
が、参照フレームのLSPパラメータに誤りがあること
を示す場合には、第3の復号化手段で得られた、フレー
ム単位で独立に量子化した量子化値のみを出力し、誤り
がないことを示す場合には、第4の復号化手段で得られ
た、フレーム相関を利用して量子化した量子化値を出力
するようにすることによって、誤りにより影響の伝搬を
防ぎ、伝送誤りに対する耐性を高める効果がある。
Also, according to the present invention, when the detection result of the error detecting means indicates that there is an error in the LSP parameter of the reference frame, the quantization is independently performed on a frame basis by the third decoding means. When only the quantized value is output and it indicates that there is no error, the quantized value obtained by using the frame correlation and obtained by the fourth decoding means is output. This has the effect of preventing propagation of influence due to errors and increasing resistance to transmission errors.

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

【図1】本発明の第1の実施の形態におけるLSPパラ
メータ符号化装置の構成を示すブロック図
FIG. 1 is a block diagram illustrating a configuration of an LSP parameter encoding device according to a first embodiment of the present invention.

【図2】本発明の第2の実施の形態の構成として、図1
中の第2の量子化手段の詳細を示すブロック図
FIG. 2 shows a configuration according to a second embodiment of the present invention;
Block diagram showing details of the second quantizing means in FIG.

【図3】本発明の第2の実施の形態の第2の量子化手段
における第2段階の処理を示す模式図
FIG. 3 is a schematic diagram showing a second-stage process in a second quantization unit according to the second embodiment of the present invention;

【図4】本発明の第3の実施の形態の構成として、第1
および第2の実施の形態の符号化装置に対応する復号化
装置の構成を示すブロック図
FIG. 4 shows a configuration of a third embodiment of the present invention,
And a block diagram showing a configuration of a decoding device corresponding to the encoding device of the second embodiment.

【図5】本発明の参考例として、第1および第2の実施
の形態の符号化装置と第3の実施の形態の復号化装置と
を組み合わせた符号復号化装置の構成を示すブロック図
FIG. 5 is a block diagram showing, as a reference example of the present invention, the configuration of an encoding / decoding device in which the encoding devices of the first and second embodiments and the decoding device of the third embodiment are combined;

【図6】従来例のフレーム間の相関を利用するLSPパ
ラメータ量子化装置の構成を示すブロック図
FIG. 6 is a block diagram showing a configuration of a conventional LSP parameter quantization device using correlation between frames.

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

100 LSPパラメータ 101 フレーム単位で独立に量子化を行なう第1の量
子化手段 102 隣接フレーム間の相関を利用して量子化を行な
う第2の量子化手段 103、104 復号化手段 105 誤差比較手段 106 量子化手段を切り換えるスイッチ 107 入力音声信号 108 算出したLSPパラメータ 109 第1の量子化手段101の出力符号 110 第2の量子化手段102の出力符号 111 第1の量子化手段101による量子化値 112 第2の量子化手段102による量子化値 113 スイッチ106の切り換えを制御する信号 114 出力符号 200 LSPパラメータ算出手段 201 第1段目の誤差最小化手段 202 第1の符号帳 203、207 復号化手段 204 過去の量子化値から現フレームの値を線形に予
測する予測手段 205 第2段目の誤差最小化手段 206 第2の符号帳 208 過去の量子化値を蓄えておくバッファ 210 入力音声信号 211 現フレームのLSPパラメータ 212 第1段階の出力符号 213 第1段階の量子化値 214 第2段階の出力符号 215 現フレームの量子化値 216 過去の量子化値 217 予測された現フレームのLSPパラメータ 300 前フレームのLSPパラメータの量子化前の値 301 現フレームのLSPパラメータの量子化前の値 302 前フレームの量子化値 303 現フレームの第1段階の量子化値 304 現フレームの予測値 305 予測値と量子化前の値との誤差 306 現フレームの量子化値 400 伝送誤り検出手段 401 スイッチ制御手段 402 第1の量子化手段による符号ベクトルを格納す
る符号帳 403 第2の量子化手段の第1段階による符号ベクト
ルを格納する符号帳 404 第2の量子化手段の第2段階による符号ベクト
ルを格納する符号帳 405 予測手段 406 復号化手段 407、408 復号化手段を切り換えるスイッチ 409 出力する復号値を切り換えるスイッチ 410 前フレームの量子化値を蓄えるバッファ 412 第1の量子化手段による量子化値 413 第2の量子化手段の第1段階による量子化値 414 現フレームの予測値 415 第2の量子化手段の第2段階による量子化値 416 復号化手段の出力量子化値 500 第1の量子化手段 501 第2の量子化手段 502 量子化手段を切り換えるスイッチ 503 誤り検出手段 504 誤り頻度判定手段 505 第1の復号化手段 506 第2の復号化手段 507 スイッチ 508 符号化側の出力符号 509 復号化側の入力符号 600 LSPパラメータ 601 過去の量子化値を蓄えておくバッファ 602 過去の量子化値から現フレームの値を線形に予
測する予測手段 603 予測値と入力値との誤差を最小にする符号を符
号帳から選択する誤差最小化手段 604 符号帳 605 出力符号から量子化値を復号する復号化手段 606 入力音声信号 607 現フレームのLSPパラメータ 608 出力符号 609 現フレームの量子化値 610 過去の量子化値 611 予測された現フレームのLSPパラメータ
100 LSP parameters 101 First quantization means for performing quantization independently on a frame basis 102 Second quantization means 103, 104 for performing quantization using correlation between adjacent frames Decoding means 105 Error comparison means 106 Switch for switching quantization means 107 Input audio signal 108 Calculated LSP parameters 109 Output code of first quantization means 101 110 Output code of second quantization means 102 111 Quantized value of first quantization means 101 Quantized value by second quantizing means 102 Quantized value 113 Signal for controlling switching of switch 106 114 Output code 200 LSP parameter calculating means 201 First-stage error minimizing means 202 First codebook 203, 207 Decoding means 204 Linearly predict the value of the current frame from the past quantization value Prediction means 205 second-stage error minimization means 206 second codebook 208 buffer for storing past quantized values 210 input audio signal 211 LSP parameters of current frame 212 first-stage output code 213 first Stage quantization value 214 Second stage output code 215 Quantization value of current frame 216 Past quantization value 217 Predicted LSP parameter of current frame 300 Value before quantization of LSP parameter of previous frame 301 Current frame LSP parameter value before quantization 302 Quantization value of previous frame 303 Quantization value of first stage of current frame 304 Predicted value of current frame 305 Error between predicted value and value before quantization 306 Quantization of current frame Value 400 transmission error detection means 401 switch control means 402 code vector by first quantization means Codebook to be stored 403 Codebook to store the code vector of the first stage of the second quantization means 404 Codebook to store the code vector of the second stage of the second quantization means 405 Prediction means 406 Decoding means 407 , 408, a switch for switching the decoding means 409, a switch for switching the decoded value to be output 410, a buffer for storing the quantization value of the previous frame 412, a quantization value by the first quantization means 413, a quantization by the first stage of the second quantization means Quantized value 414 Predicted value of current frame 415 Quantized value in second stage of second quantizing means 416 Output quantized value of decoding means 500 First quantizing means 501 Second quantizing means 502 Quantizing means 503 Error detecting means 504 Error frequency determining means 505 First decoding means 506 Second decoding Encoding means 507 Switch 508 Output code on the encoding side 509 Input code on the decoding side 600 LSP parameter 601 Buffer for storing past quantized values 602 Prediction for linearly predicting the value of the current frame from past quantized values Means 603 Error minimizing means for selecting a code for minimizing an error between a predicted value and an input value from a codebook 604 Codebook 605 Decoding means for decoding a quantized value from an output code 606 Input audio signal 607 LSP of the current frame Parameter 608 Output code 609 Quantized value of current frame 610 Past quantized value 611 LSP parameter of predicted current frame

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 音声信号のスペクトル情報の特徴パラメ
ータであるLSPパラメータを復号化する装置であっ
て、ベクトル量子化されたLSPパラメータを復号化す
る第1、第2の復号化手段と、前記LSPパラメータの
誤りを検出する誤り検出手段とを有し、前記第1の復号
化手段は、フレーム単位で独立にベクトル量子化された
LSPパラメータを復号化し、前記第2の復号化手段
は、フレーム単位で独立にベクトル量子化されたLSP
パラメータを復号化して量子化値を得る第3の復号化手
段と、前記第3の復号化手段で得られた量子化値と参照
フレームの量子化値から求めた予測値を用いてフレーム
間の相関を利用してベクトル量子化されたLSPパラメ
ータを復号化する第4の復号化手段とを備え、前記第2
の復号化手段は、前記誤り検出手段により誤りが検出さ
れたフレームの次のフレームは、前記第3の復号化手段
で得られた量子化値のみを出力するLSPパラメータ復
号化装置。
1. An apparatus for decoding an LSP parameter which is a characteristic parameter of spectrum information of an audio signal, comprising: first and second decoding means for decoding a vector-quantized LSP parameter; Error detecting means for detecting an error of the parameter, wherein the first decoding means decodes the LSP parameters which have been independently vector-quantized in frame units, and wherein the second decoding means comprises LSP independently vector-quantized by
Third decoding means for decoding the parameters to obtain a quantized value, and inter-frame coding using a predicted value obtained from the quantized value obtained by the third decoding means and the quantized value of the reference frame. A fourth decoding means for decoding the vector-quantized LSP parameter using the correlation;
An LSP parameter decoding device for outputting only a quantized value obtained by the third decoding means for a frame next to a frame in which an error is detected by the error detection means.
【請求項2】 音声信号のスペクトル情報の特徴パラメ
ータであるLSPパラメータを復号化する復号化装置で
あって、フレーム単位で独立にベクトル量子化されたL
SPパラメータを復号化して量子化値を得る第1の復号
化手段と、前記第1の復号化手段で得られた量子化値と
参照フレームの量子化値から求めた予測値を用いてフレ
ーム間の相関を利用してベクトル量子化されたLSPパ
ラメータを復号化する第2の復号化手段と、前記LSP
パラメータの誤りを検出する誤り検出手段と、前記誤り
検出手段の検出結果が、前記参照フレームのLSPパラ
メータに誤りがあることを示す場合には、前記第1の復
号化手段で得られた量子化値のみを出力し、誤りがない
ことを示す場合には、前記第2の復号化手段で得られた
量子化値を出力する選択手段と、を備えたLSPパラメ
ータ復号化装置。
2. A decoding apparatus for decoding an LSP parameter, which is a characteristic parameter of spectral information of an audio signal, wherein L is independently vector-quantized for each frame.
A first decoding means for decoding the SP parameter to obtain a quantized value; and an inter-frame using a predicted value obtained from the quantized value obtained by the first decoding means and the quantized value of the reference frame. Second decoding means for decoding the vector-quantized LSP parameter using the correlation of
An error detecting means for detecting an error in the parameter, and if the detection result of the error detecting means indicates that the LSP parameter of the reference frame contains an error, the quantization obtained by the first decoding means is performed. An LSP parameter decoding device comprising: a selector that outputs only a value and, when it indicates that there is no error, a selector that outputs a quantized value obtained by the second decoder.
【請求項3】 音声信号のスペクトル情報の特徴パラメ
ータであるLSPパラメータを復号化する装置であっ
て、ベクトル量子化されたLSPパラメータを復号化す
る第1、第2の復号化手段と、前記LSPパラメータが
フレーム単位で独立にベクトル量子化されたものである
のか、或いはフレーム間の相関を利用してベクトル量子
化されたものであるのかに対応して前記第1もしくは第
2の復号化手段の出力量子化値を選択する選択手段と、
前記LSPパラメータの誤りを検出する誤り検出手段と
を有し、前記第1の復号化手段は、フレーム単位で独立
にベクトル量子化されたLSPパラメータを復号化し、
前記第2の復号化手段は、フレーム単位で独立にベクト
ル量子化されたLSPパラメータを復号化して量子化値
を得る第3の復号化手段と、前記第3の復号化手段で得
られた量子化値と参照フレームの量子化値から求めた予
測値を用いてフレーム間の相関を利用してベクトル量子
化されたLSPパラメータを復号化する第4の復号化手
段とを備え、前記誤り検出手段の検出結果が、前記参照
フレームのLSPパラメータに誤りがあることを示す場
合には、前記第3の復号化手段で得られた量子化値のみ
を出力し、誤りがないことを示す場合には、前記第4の
復号化手段で得られた量子化値を出力するLSPパラメ
ータ復号化装置。
3. An apparatus for decoding an LSP parameter, which is a characteristic parameter of spectrum information of an audio signal, comprising: first and second decoding means for decoding a vector-quantized LSP parameter; Depending on whether the parameter is independently vector-quantized in frame units or vector-quantized using the correlation between frames, the first or second decoding means Selecting means for selecting an output quantization value;
Error detecting means for detecting an error of the LSP parameter, wherein the first decoding means decodes the LSP parameter which has been independently vector-quantized for each frame,
The second decoding means decodes LSP parameters which are vector-quantized independently on a frame-by-frame basis to obtain a quantized value, and the quantum information obtained by the third decoding means. Decoding means for decoding LSP parameters which are vector-quantized using correlation between frames by using a predicted value obtained from a quantized value and a quantized value of a reference frame, the error detecting means comprising: If the detection result indicates that there is an error in the LSP parameter of the reference frame, only the quantization value obtained by the third decoding means is output. If the detection result indicates that there is no error, An LSP parameter decoding device for outputting the quantized value obtained by the fourth decoding means.
【請求項4】 音声信号のスペクトル情報の特徴パラメ
ータであるLSPパラメータを復号化する方法であっ
て、フレーム単位で独立にベクトル量子化されたLSP
パラメータを復号化して量子化値を得る第1の復号化ス
テップと、前記第1の復号化ステップで得られた量子化
値と参照フレームの量子化値から求めた予測値を用いて
フレーム間の相関を利用してベクトル量子化されたLS
Pパラメータを復号化する第2の復号化ステップと、前
記LSPパラメータの誤りを検出する誤り検出ステップ
と、前記参照フレームのLSPパラメータに誤りがある
場合は、前記第1の復号化ステップで得られた量子化値
を出力し、誤りがない場合は、前記第2の復号化ステッ
プで得られた量子化値を出力する選択ステップを有する
LSPパラメータ復号化方法。
4. A method for decoding an LSP parameter, which is a feature parameter of spectrum information of an audio signal, wherein the LSP parameter is vector-quantized independently for each frame.
A first decoding step of decoding a parameter to obtain a quantized value, and a frame-to-frame using a quantized value obtained in the first decoding step and a predicted value obtained from a quantized value of a reference frame. LS vector quantized using correlation
A second decoding step of decoding the P parameter; an error detection step of detecting an error of the LSP parameter; and an error in the LSP parameter of the reference frame, which is obtained in the first decoding step. An LSP parameter decoding method, comprising the step of outputting the quantized value obtained in the second decoding step and outputting the quantized value obtained in the second decoding step when there is no error.
【請求項5】 音声信号のスペクトル情報の特徴パラメ
ータであるLSPパラメータを復号化する方法であっ
て、ベクトル量子化されたLSPパラメータを復号化す
る第1、第2の復号化ステップと、前記LSPパラメー
タがフレーム単位で独立にベクトル量子化されたもので
あるのか、或いはフレーム間の相関を利用してベクトル
量子化されたものであるのかに対応して前記第1もしく
は第2の復号化手段の出力量子化値を選択する選択ステ
ップと、前記LSPパラメータの誤りを検出する誤り検
出ステップとを有し、前記第1の復号化ステップは、フ
レーム単位で独立にベクトル量子化されたLSPパラメ
ータを復号化し、前記第2の復号化ステップは、フレー
ム単位で独立にベクトル量子化されたLSPパラメータ
を復号化して量子化値を得る第3の復号化ステップと、
前記第3の復号化ステップで得られた量子化値と参照フ
レームの量子化値から予測値を求め、この予測値を用い
てフレーム間の相関を利用してベクトル量子化されたL
SPパラメータを復号化する第4の復号化ステップとを
含み、前記参照フレームのLSPパラメータに誤りがあ
る場合は、前記第3の復号化ステップで得られた量子化
値のみを出力し、誤りがない場合は、前記第4の復号化
ステップで得られた量子化値を出力するLSPパラメー
タ復号化方法。
5. A method for decoding an LSP parameter which is a characteristic parameter of spectrum information of an audio signal, comprising: first and second decoding steps for decoding a vector quantized LSP parameter; Depending on whether the parameter is independently vector-quantized in frame units or vector-quantized using the correlation between frames, the first or second decoding means A selecting step of selecting an output quantization value; and an error detecting step of detecting an error of the LSP parameter, wherein the first decoding step decodes the LSP parameter which is independently vector-quantized in frame units. And the second decoding step decodes LSP parameters that have been independently vector-quantized for each frame, and A third decoding step to obtain
A predictive value is obtained from the quantized value obtained in the third decoding step and the quantized value of the reference frame, and the vector quantized L is calculated using the predicted value and the correlation between frames.
And a fourth decoding step of decoding the SP parameter. If there is an error in the LSP parameter of the reference frame, only the quantized value obtained in the third decoding step is output. If not, an LSP parameter decoding method for outputting the quantized value obtained in the fourth decoding step.
JP2002110039A 2002-04-12 2002-04-12 LSP parameter decoding apparatus and method Expired - Lifetime JP3557415B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002110039A JP3557415B2 (en) 2002-04-12 2002-04-12 LSP parameter decoding apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002110039A JP3557415B2 (en) 2002-04-12 2002-04-12 LSP parameter decoding apparatus and method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP25201194A Division JP3557255B2 (en) 1994-10-18 1994-10-18 LSP parameter decoding apparatus and decoding method

Publications (2)

Publication Number Publication Date
JP2002372999A true JP2002372999A (en) 2002-12-26
JP3557415B2 JP3557415B2 (en) 2004-08-25

Family

ID=19193886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002110039A Expired - Lifetime JP3557415B2 (en) 2002-04-12 2002-04-12 LSP parameter decoding apparatus and method

Country Status (1)

Country Link
JP (1) JP3557415B2 (en)

Also Published As

Publication number Publication date
JP3557415B2 (en) 2004-08-25

Similar Documents

Publication Publication Date Title
JP3557255B2 (en) LSP parameter decoding apparatus and decoding method
US8909521B2 (en) Coding method, coding apparatus, coding program, and recording medium therefor
JP5337235B2 (en) Encoding method, decoding method, encoding device, decoding device, program, and recording medium
CN104781876B (en) Audio encoding device, audio encoding method, audio decoding device, and audio decoding method
US5659659A (en) Speech compressor using trellis encoding and linear prediction
US8473284B2 (en) Apparatus and method of encoding/decoding voice for selecting quantization/dequantization using characteristics of synthesized voice
KR20120096541A (en) Method, system, and apparatus for compression or decompression of digital signals
JP2002268696A (en) Acoustic signal encoding method, decoding method and apparatus, program and recording medium
US7813922B2 (en) Audio quantization
EP1202252B1 (en) Apparatus for bandwidth expansion of speech signals
Zarrinkoub et al. Switched prediction and quantization of LSP frequencies
KR100629997B1 (en) Encoding Method of Audio Signal
US8078457B2 (en) Method for adapting for an interoperability between short-term correlation models of digital signals
JPH1022937A (en) Error compensation device and recording medium
JP3557413B2 (en) LSP parameter decoding apparatus and decoding method
JP3557416B2 (en) LSP parameter encoding / decoding apparatus and method
JP3557414B2 (en) LSP parameter encoding apparatus and encoding method
US20070143118A1 (en) Apparatus and method for lossless audio signal compression/decompression through entropy coding
JP4091506B2 (en) Two-stage audio image encoding method, apparatus and program thereof, and recording medium recording the program
JP3557415B2 (en) LSP parameter decoding apparatus and method
JP2655063B2 (en) Audio coding device
JP2982637B2 (en) Speech signal transmission system using spectrum parameters, and speech parameter encoding device and decoding device used therefor
JP3218630B2 (en) High efficiency coding apparatus and high efficiency code decoding apparatus
JP2853824B2 (en) Speech parameter information coding method
JPH0263333A (en) Voice coding/decoding device

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040511

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040517

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090521

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100521

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110521

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110521

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120521

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120521

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130521

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130521

Year of fee payment: 9

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term