JPH06230797A - Voice signal processor and telephone system - Google Patents

Voice signal processor and telephone system

Info

Publication number
JPH06230797A
JPH06230797A JP5014305A JP1430593A JPH06230797A JP H06230797 A JPH06230797 A JP H06230797A JP 5014305 A JP5014305 A JP 5014305A JP 1430593 A JP1430593 A JP 1430593A JP H06230797 A JPH06230797 A JP H06230797A
Authority
JP
Japan
Prior art keywords
value
newton
coefficient
solution
approximate
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
JP5014305A
Other languages
Japanese (ja)
Other versions
JP3246029B2 (en
Inventor
Koji Kimura
幸司 木村
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP01430593A priority Critical patent/JP3246029B2/en
Publication of JPH06230797A publication Critical patent/JPH06230797A/en
Application granted granted Critical
Publication of JP3246029B2 publication Critical patent/JP3246029B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To reduce an arithmetic amount and to efficiently provide the approximate value of a desired correct solution without generating malfunction. CONSTITUTION:In the case of performing numerical conversion from a linear predictive coefficient to a line spectrum pair frequency in the case of voice signal encoding at an approximate value calculation part 15 by approximate calculation according to the Newton-Raphson method, the line spectrum pair frequency of a preceding frame from a preceding frame line spectrum pair frequency storage part 19 is applied as an initial value of the approximate calculation by the Newton-Raphson method, and the approximate value of the solution to be provided by the Newton-Raphson method is controlled by using an approximate value difference control part 20, infinite loop avoidance control part 21 and initial value change control part 22.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、音声信号処理装置及び
電話装置に関し、特に、音声符号化の際に線形予測係数
から線スペクトル対周波数への数値変換を簡略化した音
声信号処理装置及び電話装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a voice signal processing device and a telephone device, and more particularly to a voice signal processing device and a telephone device which simplifies the numerical conversion of a linear prediction coefficient into a line spectrum versus frequency during voice encoding. It relates to the device.

【0002】[0002]

【従来の技術】例えば自動車電話やポータブル電話、ポ
ケットタイプ電話等の移動体通信端末においては、周波
数利用効率の向上や消費電力の低減のために、音声信号
の情報を圧縮する音声信号符号化装置や復号化装置が用
いられる。
2. Description of the Related Art In mobile communication terminals such as car telephones, portable telephones and pocket type telephones, for example, a voice signal coding apparatus for compressing voice signal information in order to improve frequency utilization efficiency and reduce power consumption. Or a decryption device is used.

【0003】このような音声信号の符号化の分野におい
てよく用いられる線形予測係数は、音声の短期予測冗長
性を取り除くフォルマント予測フィルタの伝達関数の係
数である。この伝達関数A(z) は、次の(1)式により
与えられる。
The linear prediction coefficient often used in the field of such speech signal coding is a coefficient of a transfer function of a formant prediction filter that removes short-term prediction redundancy of speech. This transfer function A (z) is given by the following equation (1).

【0004】[0004]

【数1】 [Equation 1]

【0005】この(1)式中のai が線形予測係数であ
る。
In the equation (1), a i is a linear prediction coefficient.

【0006】また、音声復号化の際に用いられるフォル
マント合成フィルタの伝達関数は、上記の伝達関数A
(z) の逆数、すなわち次の(2)式で与えられる。
The transfer function of the formant synthesis filter used in speech decoding is the transfer function A described above.
It is given by the reciprocal of (z), that is, the following equation (2).

【0007】[0007]

【数2】 [Equation 2]

【0008】一般的な音声符号化方式では、10次のフ
ォルマントフィルタが使用されることが多い。すなわち
次数P=10である。従って、これ以降の説明では特に
P=10の場合について説明する。
In a general speech coding system, a 10th-order formant filter is often used. That is, the order P = 10. Therefore, in the following description, the case of P = 10 will be described.

【0009】また、一般的な音声符号化方式では、音声
を8kHzでサンプリングして量子化し、それを20ms
毎、すなわち160サンプル毎に区切って1フレームと
し、1フレーム毎にフレーム内の音声の自己相関関数を
計算し、その自己相関関数の値から線形予測係数a1
10を計算している。従って、20ms毎に10個の線形
予測係数を計算していることになる。
Further, in a general speech coding system, speech is sampled at 8 kHz and quantized, and the speech is quantized for 20 ms.
Each frame, that is, every 160 samples, is divided into one frame, the autocorrelation function of the voice in the frame is calculated for each frame, and the linear prediction coefficient a 1 to
a 10 is being calculated. Therefore, 10 linear prediction coefficients are calculated every 20 ms.

【0010】さらに、ある種の音声符号化方式では、符
号化後の必要な情報量を削減するためにフレーム毎の線
形予測係数を更に線スペクトル対周波数に変換する。こ
の線スペクトル対周波数については、例えば、斎藤収
三、中田和男著、「音声情報処理の基礎」、株式会社オ
ーム社、1981年11月30日発行の文献の137頁
〜143頁に開示されている。この線スペクトル対周波
数は、量子化特性が良いとか補間特性が良いとかの利点
を持っているが、これを利用する際の欠点は、線形予測
係数からの変換方法が複雑であるために、処理量が増大
してしまうことである。
Further, in a certain kind of speech coding system, the linear prediction coefficient for each frame is further converted into a line spectrum versus frequency in order to reduce the required amount of information after coding. This line spectrum vs. frequency is disclosed, for example, by Sozo Saito, Kazuo Nakata, "Basics of Speech Information Processing", Ohmsha Co., Ltd., pp. 137 to 143 of the document published on November 30, 1981. There is. This line spectrum vs. frequency has the advantage of good quantization characteristics and good interpolation characteristics, but the drawback of using this is that the conversion method from the linear prediction coefficient is complicated. It means that the quantity will increase.

【0011】ここで、線形予測係数から線スペクトル対
周波数への変換方法の具体例はいくつか知られており、
例えば上記文献「音声情報処理の基礎」の246頁〜2
57頁には計算式及びLSP(線スペクトル対)を求め
るプログラムの一例が開示されている。以下に上記変換
方法の一具体例を説明する。
Here, some specific examples of the conversion method from the linear prediction coefficient to the line spectrum versus frequency are known,
For example, pages 246 to 2 of the above-mentioned document "Basics of Speech Information Processing"
On page 57, an example of a program for obtaining a calculation formula and LSP (pair of line spectra) is disclosed. A specific example of the above conversion method will be described below.

【0012】前提として、フォルマント予測フィルタの
伝達関数A(z) が、以下の(3)式で与えられているも
のとする。 A(z) =1−a1 -1−・・・−a10-10 ・・・(3) この(3)式で、ai (1≦i≦10)は線形予測係数
である。このA(z) を用いて、PA (z) とQB (z) をそ
れぞれ以下のように定義する。
As a premise, it is assumed that the transfer function A (z) of the formant prediction filter is given by the following equation (3). A (z) = 1-a 1 z -1 - ··· -a 10 z -10 ··· (3) In this equation (3), a i (1 ≦ i ≦ 10) is a linear prediction coefficient . Using this A (z), P A (z) and Q B (z) are defined as follows, respectively.

【0013】[0013]

【数3】 [Equation 3]

【0014】ただし、 pi =−ai −a11-i 1≦i≦5 ・・・(6) qi =−ai +a11-i 1≦i≦5 ・・・(7)However, p i = −a i −a 11-i 1 ≦ i ≦ 5 (6) q i = −a i + a 11-i 1 ≦ i ≦ 5 (7)

【0015】上記線スペクトル対周波数は、上の(4)
式、(5)式をそれぞれ変形して得られる以下の2つの
方程式、すなわち(8)式、(9)式において、ω=
0.0とω=0.5との間に存在するそれぞれ5個ずつ
計10個の解で与えられることが分かっている。
The line spectrum vs. frequency is (4) above.
In the following two equations obtained by transforming the equation and the equation (5), that is, in the equations (8) and (9), ω =
It is known that there are a total of 10 solutions, each of which exists between 0.0 and ω = 0.5.

【0016】[0016]

【数4】 [Equation 4]

【0017】ここで、これら(8)式、(9)式中の
p’とq’の値は、上記pとqの値から以下の式で計算
される。 p'0 =q'0 =1 ・・・(10) p'i =pi −p'i-1 ・・・(11) q'i =qi +q'i-1 ・・・(12)
Here, the values of p'and q'in these equations (8) and (9) are calculated by the following equations from the values of p and q. p '0 = q' 0 = 1 ··· (10) p 'i = p i -p' i-1 ··· (11) q 'i = q i + q' i-1 ··· (12)

【0018】上記線スペクトル対周波数の特徴は、もし
上記フォルマント合成フィルタが安定であるならば、2
つの方程式、すなわち上記(8)式、(9)式の解は、
図6に示すように互い違いになるということである。こ
の図6においては、横軸の周波数(角周波数)ωに対し
て、上記P(ω)を表す曲線をAに、上記Q(ω)を表
す曲線をBにそれぞれ示しており、これらの曲線のゼロ
クロス点の周波数値がが解となるわけである。
The line spectrum versus frequency characteristic is 2 if the formant synthesis filter is stable.
The solution of two equations, that is, the above equations (8) and (9), is
This means that they are staggered as shown in FIG. In FIG. 6, with respect to the frequency (angular frequency) ω on the horizontal axis, the curve representing P (ω) above is shown in A, and the curve representing Q (ω) above is shown in B, respectively. The frequency value at the zero-cross point of is the solution.

【0019】すなわち、この図6からも明らかなよう
に、10個の解が、 0.0 <ω1 <ω2 <ω3 <ω4 <ω5 <ω6 <ω7 <ω
8 <ω9 <ω10< 0.5 である場合に、ω1 ,ω3 ,ω5 ,ω7 ,ω9 はP
(ω)=0の解であり、ω2,ω4 ,ω6 ,ω8 ,ω10
はQ(ω)=0の解である。
That is, as is apparent from FIG. 6, 10 solutions are 0.0 <ω 1234567
When 8910 <0.5, ω 1 , ω 3 , ω 5 , ω 7 , and ω 9 are P
It is a solution of (ω) = 0, and ω 2 , ω 4 , ω 6 , ω 8 , ω 10
Is the solution for Q (ω) = 0.

【0020】この方程式は、通常の式の変形により5つ
の解についてそれぞれ解くことは不可能であるので、他
の方法により近似的に解を計算する必要がある。解を近
似的に計算して求める方法としては、ニュートン−ラフ
ソン法が一般的に良く知られている。
Since it is impossible to solve each of the five solutions of this equation by modifying the ordinary formula, it is necessary to calculate the solution approximately by another method. The Newton-Raphson method is generally well known as a method for approximating and obtaining a solution.

【0021】ニュートン−ラフソン法とは、対象となる
区間で連続な方程式の解の適当な第j近似値をxj とす
るとき、xj での関数値f(xj )とその1次微分関数
値であるf'(xj ) とを計算することにより得られる第
j+1近似値xj+1 を、次の(13)式により求めるも
のである。
[0021] Newton - The Raphson method, when the appropriate first j approximation of the solution of continuous equations with x j in the section of interest, the function value f (x j) at x j and its first derivative The j + 1-th approximated value x j + 1 obtained by calculating f ′ (x j ) which is a function value is obtained by the following equation (13).

【0022】[0022]

【数5】 [Equation 5]

【0023】この(13)式において、xj+1 はxj
りも|xj+1 −xj |だけ真の解に近くなり、これを繰
り返して、|xj+1 −xj |が充分に小さくなったとき
に、近似値は解に収束したものとする、というものであ
る。
[0023] In this equation (13), x j + 1 rather than x j | x j + 1 -x j | only closer to the true solution, by repeating this, | x j + 1 -x j | When is sufficiently small, the approximate value is assumed to have converged to the solution.

【0024】このニュートン−ラフソン法を、線形予測
係数から線スペクトル対周波数への変換にあてはめて考
える。xj に相当するのはωであり、f(xj )に相当
するP(ω)及びQ(ω)は上記(8)式及び(9)式
でそれぞれ表されるのであるから、これらをωで微分し
たP'(ω) 及びQ'(ω) は、それぞれ、
The Newton-Raphson method will be applied to the conversion of linear prediction coefficients into line spectrum versus frequency. ω corresponds to x j , and P (ω) and Q (ω) corresponding to f (x j ) are represented by the above equations (8) and (9), respectively. P ′ (ω) and Q ′ (ω) differentiated by ω are respectively

【0025】[0025]

【数6】 [Equation 6]

【0026】となる。これらは上記f'(xj ) に相当す
る。従って、P(ω)及びQ(ω)、P'(ω) 及びQ'
(ω) を計算することにより、新しい近似値を計算する
ことができる。
[0026] These correspond to the above f '(x j ). Therefore, P (ω) and Q (ω), P '(ω) and Q'
A new approximation can be calculated by calculating (ω).

【0027】ここで注意しなければならないことは、P
(ω)及びQ(ω)の方程式のように、対象とする範囲
内に複数の解が存在する場合は、解の近似値の初期値の
設定の仕方を工夫しないと全ての解を効率良く見つけ出
すことが出来ないということである。この方程式の解ω
1 〜ω10を漏れなく計算するために、例えば、図7にフ
ローチャートで手順を示した方法が考えられる。この手
順について、以下に説明する。また、図6のグラフに上
記P(ω)、Q(ω)式の計算の初期値を矢印で記入し
て図7のフローチャートの手順の概念を示す。
The point to be noted here is that P
If there are multiple solutions within the target range, as in the equations of (ω) and Q (ω), all solutions can be efficiently used unless the initial value of the approximate value of the solution is set. It means that you cannot find it. Solution of this equation ω
In order to calculate 1 to ω 10 without omission, for example, a method whose procedure is shown in the flowchart of FIG. 7 can be considered. This procedure will be described below. Further, the concept of the procedure of the flowchart of FIG. 7 is shown by writing the initial values for the calculation of the above P (ω) and Q (ω) expressions in the graph of FIG. 6 with arrows.

【0028】図7のステップS41では、外部装置によ
り計算された上記線型予測係数a1〜a10を入力する。
次のステップS42では、上記(6),(7),(1
0),(11),(12)式に従って上記線形予測係数
1 〜a10から(8),(9)式の係数p'1 〜p'5 及び
q'1 〜q'5 を計算する。次のステップS43で制御変数
iを1に初期設定(i=1)し、ステップS44で周波
数ωを0に初期設定(ω=0)する。
In step S41 of FIG. 7, the linear prediction coefficients a 1 to a 10 calculated by the external device are input.
In the next step S42, (6), (7), (1
0), (11) and (12), the linear prediction coefficients a 1 to a 10 to (8) and the coefficients p ′ 1 to p ′ 5 of the expression (9) and
to calculate the q '1 ~q' 5. In the next step S43, the control variable i is initialized to 1 (i = 1), and in step S44, the frequency ω is initialized to 0 (ω = 0).

【0029】次にステップS45に進み、上記(8)式
によりP(ω)の値を計算し、その正負の符号を保持し
ておく。次のステップS46では、ωをある一定値Δω
STEPだけ増やし、すなわちω=ω+ΔωSTEPとする。次
のステップS47では、上記(8)式によりP(ω)の
値を計算する。ステップS48では、上記ステップS4
7で計算したP(ω)の正負の符号を上記ステップS4
5で計算した値の符号と比較して、符号が反転している
かどうか判定する。反転していない(NO)と判定され
たときにはステップS46へ戻る。反転している(YE
S)と判定されたときには、そのときのωとその直前の
ωとの間に解が存在しており、ステップS49へ進む。
このステップS49では、このときのωの値を用いて上
記(8)式のP(ω)及び(14)式のP'(ω) を計算
し、上記(13)式により新しい解の近似値を求め、そ
れを新しいωとする。この場合の上記(13)式は、 ω=ω−P(ω)/P'(ω) のように表せる。
Next, in step S45, the value of P (ω) is calculated by the above equation (8), and the positive / negative sign thereof is held. In the next step S46, ω is set to a certain constant value Δω
Increase by STEP , that is, ω = ω + Δω STEP . In the next step S47, the value of P (ω) is calculated by the above equation (8). In step S48, the above step S4
The positive / negative sign of P (ω) calculated in step 7 is used in the above step S4.
It is determined whether the sign is inverted by comparing with the sign of the value calculated in 5. When it is determined that they have not been inverted (NO), the process returns to step S46. Inverted (YE
When it is determined to be S), there is a solution between ω at that time and ω immediately before that, and the process proceeds to step S49.
In this step S49, P (ω) in the above equation (8) and P '(ω) in the above equation (14) are calculated using the value of ω at this time, and the approximate value of the new solution is obtained by the above equation (13). And set it as a new ω. In this case, the above equation (13) can be expressed as ω = ω−P (ω) / P ′ (ω).

【0030】次にステップS50では、ステップS49
で求めた近似値が充分に解に収束したかどうかを判定す
る。収束していないならば、ステップS49に戻って、
この近似値を用いて再度上記(13)式の計算を行う。
これを繰り返して、ステップS50で収束したと判断さ
れたならば、ステップS51に進む。ステップS51で
は、i番目の解ωi を求められたω(ωi =ω)とし、
次のステップS52ではiを1増やす(インクリメン
ト、i=i+1)。
Next, in step S50, step S49
It is determined whether or not the approximate value obtained in step 1 has converged to a solution sufficiently. If not, return to step S49,
Using this approximate value, the above equation (13) is calculated again.
By repeating this, if it is determined in step S50 that the convergence is achieved, the process proceeds to step S51. In step S51, the i-th solution ω i is set to the obtained ω (ω i = ω),
In the next step S52, i is incremented by 1 (increment, i = i + 1).

【0031】次に、ステップS53からS60までは、
上記ステップS45からS52までのP(ω)について
の解の計算の代わりに、上記(9)式のQ(ω)につい
ての解を計算する部分である。
Next, in steps S53 to S60,
This is a part for calculating the solution for Q (ω) in the above equation (9) instead of calculating the solution for P (ω) in steps S45 to S52.

【0032】すなわち、ステップS53では上記(9)
式のQ(ω)の値を計算してその正負の符号を保持し、
ステップS54ではωを上記一定値ΔωSTEPだけ増やし
(ω=ω+ΔωSTEP)、ステップS55ではその値ωに
ついてのQ(ω)の値を計算する。次のステップS56
で計算したQ(ω)の正負の符号がステップS53で計
算したものと比較して反転しているかどうか判定し、反
転していなければステップS54へ戻り、反転していた
らそのときのωとその直前のωとの間に解が存在するわ
けであるからステップS57へ進む。ステップS57で
はそのときのωでQ(ω)及びQ'(ω) を計算し、新し
い解の近似値として、 ω=ω−Q(ω)/Q'(ω) を求め、それを新しいωとする。ステップS58で新し
い近似値が充分に解に収束したかどうか判定し、収束し
ていないならばステップS57に戻り、収束したならば
ステップS59に進む。ステップS59でωi =ωと
し、ステップS60でiを1増やした(i=i+1)
後、ステップS61に進む。
That is, in step S53, the above (9)
The value of Q (ω) in the equation is calculated and its positive and negative signs are retained,
In step S54, ω is increased by the constant value Δω STEP (ω = ω + Δω STEP ), and in step S55, the value of Q (ω) for that value ω is calculated. Next step S56
The sign of Q (ω) calculated in step S53 is compared with that calculated in step S53 to determine whether it is inverted, and if not inverted, the process returns to step S54, and if it is inverted, ω at that time and its Since there is a solution with the immediately preceding ω, the process proceeds to step S57. In step S57, Q (ω) and Q '(ω) are calculated with ω at that time, and ω = ω-Q (ω) / Q' (ω) is obtained as an approximate value of the new solution, and the new ω is obtained. And In step S58, it is determined whether or not the new approximate value has sufficiently converged to a solution. If it has not converged, the process returns to step S57, and if it has converged, the process proceeds to step S59. Ω i = ω is set in step S59, and i is incremented by 1 in step S60 (i = i + 1)
Then, it progresses to step S61.

【0033】ステップS61では、求めようとしている
全ての解、この具体例では10個の解が求められたか否
か、すなわちi>10か否かを判別し、NOのときには
上記ステップS45に戻り、YESのときにはステップ
S62に進んで、10個の解ω1 〜ω10の線スペクトル
対周波数の値を出力する。
In step S61, it is determined whether or not all the solutions to be sought, in this example, 10 solutions have been sought, that is, i> 10. If NO, the process returns to step S45. If YES, the process proceeds to step S62, and the values of the line spectrum versus frequency of the 10 solutions ω 1 to ω 10 are output.

【0034】このような方法で線形予測係数から線スペ
クトル対周波数を計算する装置の概略的な構成は、例え
ば図8のようになる。
The schematic configuration of the apparatus for calculating the line spectrum versus frequency from the linear prediction coefficient by such a method is as shown in FIG. 8, for example.

【0035】この図8において、線形予測係数記憶部3
1は、外部装置により計算された線形予測係数a1 〜a
10を入力し、その値を保持する。この線形予測係数記憶
部31に記憶された線形予測係数a1 〜a10は、係数変
換部12に送られる。この係数変換部32では、上記
(6),(7),(10),(11),(12)式に従
って上記線形予測係数a1 〜a10から上記(8),
(9)式の係数p'1 〜p'5 、q'1 〜q'5 を計算する。
In FIG. 8, the linear prediction coefficient storage unit 3
1 is the linear prediction coefficients a 1 to a calculated by the external device.
Enter 10 and keep that value. The linear prediction coefficients a 1 to a 10 stored in the linear prediction coefficient storage unit 31 are sent to the coefficient conversion unit 12. In the coefficient conversion unit 32, from the linear prediction coefficients a 1 to a 10 to the above (8), according to the above equations (6), (7), (10), (11) and (12),
(9) Factor p '1 ~p' 5 of formula, q '1 ~q' 5 is calculated.

【0036】係数変換部32により計算された上記
(8)式の係数p'1 〜p'5 は係数記憶部33に送られて
記憶保持され、上記(9)式の係数q'1 〜q'5 は係数記
憶部34に送られて記憶保持される。(8)式計算部3
5は、周波数記憶部43に保持されている値ωから、係
数記憶部33により与えられる上記係数p'1 〜p'5 を用
いて上記(8)式の計算をし、上記P(ω)の値を求め
る。(9)式計算部36は、周波数記憶部43に保持さ
れている値ωから、係数記憶部33により与えられる上
記係数q'1 〜q'5 を用いて上記(9)式の計算をし、上
記Q(ω)の値を求める。
The coefficient p '1 ~p' 5 of the calculated above by the coefficient conversion unit 32 (8) is stored and held is sent to the coefficient storage unit 33, the coefficient of the equation (9) q '1 to q ' 5 is sent to the coefficient storage unit 34 and stored and held. (8) Formula calculation unit 3
5 calculates the above equation (8) from the value ω held in the frequency storage unit 43 using the coefficients p ′ 1 to p ′ 5 given by the coefficient storage unit 33, and obtains the above P (ω). Find the value of. The formula (9) calculating unit 36 calculates the formula (9) from the value ω held in the frequency storage unit 43 using the coefficients q ′ 1 to q ′ 5 given by the coefficient storage unit 33. , The value of Q (ω) is calculated.

【0037】符号反転検出部37は、上記P(ω)の値
が正負の符号が反転したか否かを判定し検出する。符号
反転検出部38は、上記Q(ω)の値が正負の符号が反
転したか否かを判定し検出する。近似値計算部39は、
周波数記憶部43に保持されている値ωから、係数記憶
部33により与えられる上記係数p'1 〜p'5 を用いて、
上記(8)式、(14)式、(13)式により新しい解
の近似値ωを求める。近似値計算部40は、周波数記憶
部43に保持されている値ωから、係数記憶部34によ
り与えられる上記係数q'1 〜q'5 を用いて、上記(9)
式、(15)式、(13)式により新しい解の近似値ω
を求める。収束判定部41は、近似値計算部39で求め
られた新しい近似値ωが充分に収束したかどうかを判定
する。また収束判定部42は、近似値計算部40で求め
られた新しい近似値ωが充分に収束したかどうかを判定
する。周波数増加部44は、周波数記憶手段43に記憶
されている周波数ωの値をΔωSTEPだけ増加させる。さ
らに、線スペクトル対周波数出力部45は、上述したニ
ュートン−ラフソン法により求められた10個の線スペ
クトル対周波数ω1 〜ω10の値を保持し外部装置へ出力
する。
The sign inversion detection unit 37 determines and detects whether the sign of the value of P (ω) is inverted. The sign inversion detection unit 38 determines and detects whether the positive or negative sign of the value of Q (ω) is inverted. The approximate value calculation unit 39
From the value ω held in the frequency storage unit 43, using the coefficients p ′ 1 to p ′ 5 given by the coefficient storage unit 33,
The approximate value ω of the new solution is obtained by the above equations (8), (14) and (13). The approximate value calculation unit 40 uses the above-mentioned coefficients q ′ 1 to q ′ 5 given from the coefficient storage unit 34 from the value ω held in the frequency storage unit 43 to perform the above (9).
Approximate value ω of the new solution by equations (15) and (13)
Ask for. The convergence determination unit 41 determines whether the new approximate value ω obtained by the approximate value calculation unit 39 has sufficiently converged. The convergence determination unit 42 also determines whether the new approximate value ω obtained by the approximate value calculation unit 40 has sufficiently converged. The frequency increasing unit 44 increases the value of the frequency ω stored in the frequency storage unit 43 by Δω STEP . Further, the line spectrum-to-frequency output unit 45 holds the values of 10 line spectrum-to-frequency ω 1 to ω 10 obtained by the above-mentioned Newton-Raphson method and outputs them to an external device.

【0038】[0038]

【発明が解決しようとする課題】ところでこのような方
法では、周波数ωの値を一定量ΔωSTEPずつ増加させな
がらP(ω)やQ(ω)の符号が反転するωの値を探す
ために演算量の多い cos関数を含むP(ω)及びQ
(ω)の方程式の計算が必要となるため、ニュートン−
ラフソン法に与える初期値を探す段階での処理量が多
く、結果として線形予測係数から線スペクトル対周波数
への数値変換処理全体での処理量が多くなるという欠点
を持つ。
In such a method, in order to find the value of ω at which the signs of P (ω) and Q (ω) are inverted while increasing the value of the frequency ω by a constant amount Δω STEP. P (ω) and Q including the cos function with a large amount of calculation
Since the equation (ω) needs to be calculated, Newton −
There is a drawback that the amount of processing at the stage of searching the initial value given to the Rafson method is large, and as a result, the amount of processing in the whole numerical conversion processing from the linear prediction coefficient to the line spectrum versus frequency is large.

【0039】処理量を減らすための対策として、Δω
STEPの値を大きくすることにより、上記P(ω)及びQ
(ω)の演算回数を減らすことも考えられるが、例えば
ω1 とω3 が接近している場合などには、ω1 の次の初
期値を探す段階でω3 を飛ばしてω5 に収束してしまう
場合もありうるので、ΔωSTEPの値を大きくすることは
誤動作の原因となり、従ってこの対策はよい対策とは言
えない。
As a measure for reducing the processing amount, Δω
By increasing the STEP value, the above P (ω) and Q
Although it is possible to reduce the number of calculations for (ω), for example, when ω 1 and ω 3 are close to each other, ω 3 is skipped and converges to ω 5 when searching for the next initial value of ω 1. However, increasing the value of Δω STEP causes a malfunction, and thus this measure is not a good measure.

【0040】本発明は、上述のような実情に鑑み、誤動
作を起こすことなく線形予測係数から線スペクトル対周
波数への数値変換処理全体での処理量を削減できる音声
信号処理装置及び電話装置の提供を目的とする。
In view of the above situation, the present invention provides a voice signal processing apparatus and a telephone apparatus capable of reducing the processing amount in the whole numerical conversion processing from a linear prediction coefficient to a line spectrum versus frequency without causing a malfunction. With the goal.

【0041】[0041]

【課題を解決するための手段】本発明は、上述した課題
を解決するために、音声信号の符号化に用いられる線形
予測係数から線スペクトル対周波数に変換する処理を行
う音声信号処理装置において、線形予測係数から線スペ
クトル対への変換を示す方程式の係数を線形予測係数か
ら算出する係数変換手段と、この係数変換手段から出力
された係数を保持する係数記憶手段と、時間軸上で1つ
前の音声フレームの線スペクトル対周波数の値を保持す
る周波数記憶手段と、この記憶手段に記憶された線スペ
クトル対周波数の値を解の近似値の初期値として上記方
程式の新しい近似解をニュートン−ラフソン法によって
求める計算手段とを有することを特徴としている。
In order to solve the above-mentioned problems, the present invention provides a speech signal processing apparatus for performing a process of converting a linear prediction coefficient used for coding a speech signal into a line spectrum versus frequency, Coefficient conversion means for calculating the coefficient of the equation showing the conversion from the linear prediction coefficient to the line spectrum pair, the coefficient storage means for holding the coefficient output from this coefficient conversion means, and one on the time axis A frequency storage means for holding the value of the line spectrum versus frequency of the previous speech frame, and a new approximate solution of the above equation using the value of the line spectrum versus frequency stored in this storage means as the initial value of the approximate value of the solution. It is characterized by having a calculating means obtained by the Rafson method.

【0042】また、このような特徴を有する音声信号処
理装置において、上記計算手段により1回のニュートン
−ラフソン法で得られる新しい近似値と元の近似値との
差の絶対値がある一定値以上にならないように新しい近
似値を制限する近似値差制限手段と、上記計算手段によ
り前回のニュートン−ラフソン法で得られた新しい近似
値と元の近似値との差の値と今回のニュートン−ラフソ
ン法で得られた新しい近似値と元の近似値との差の値と
からニュートン−ラフソン法が無限ループに入ることを
検出して無限ループに入ることを回避する無限ループ回
避制御手段と、上記計算手段により得られた近似値が求
めようとしていた解に隣接する解に収束したか否かを判
定しその判定結果に応じてニュートン−ラフソン法の初
期値を変更する初期値変更制御手段とを有することを特
徴としている。
Further, in the speech signal processing device having such characteristics, the absolute value of the difference between the new approximate value obtained by the Newton-Raphson method once and the original approximate value by the calculating means is above a certain value or more. So that the new approximation value is not restricted by the approximation value difference limiting means, and the difference value between the new approximation value obtained by the previous Newton-Raphson method and the original approximation value by the above calculating means and the current Newton-Raphson An infinite loop avoidance control means for detecting that the Newton-Raphson method enters the infinite loop and avoiding the infinite loop from the value of the difference between the new approximate value obtained by the method and the original approximate value; It is first judged whether the approximate value obtained by the calculation means has converged to a solution adjacent to the solution to be obtained, and the initial value of the Newton-Raphson method is changed according to the judgment result. It is characterized by having a value change control means.

【0043】すなわち、音声信号の符号化に用いられる
線形予測係数から線スペクトル対周波数に変換する処理
を行う音声信号処理装置において、例えば図1に示すよ
うに、時間軸上で1つ前の音声フレームの線スペクトル
対周波数の値を保持する記憶手段である前フレーム線ス
ペクトル対周波数記憶部19と、1回のニュートン−ラ
フソン法で得られる新しい近似値と元の近似値との差Δ
ωの絶対値がある一定値ΔωMAX 以上にならないように
新しい近似値を制限する手段である近似値差制限部20
と、前回のニュートン−ラフソン法で得られた新しい近
似値と元の近似値との差Δωの値と今回のニュートン−
ラフソン法で得られた新しい近似値と元の近似値との差
Δωの値とからニュートン−ラフソン法が無限ループに
入ることを検出しその場合に新しい近似値と元の近似値
との差Δωの値を減少させるように新しい近似値ωを変
更することにより無限ループに入ることを回避する制御
手段である無限ループ回避制御部21と、初期値の値が
不適切であることが原因で得られた近似値ωが求めよう
としていた解ωi に隣接する解ωi+2 又はωi-2 に収束
したことを検出しその場合にさらにそれが線スペクトル
対周波数軸上で周波数の高いほうの隣接解ωi+2 である
かそれとも低いほうの隣接解ωi-2 であるかを判定しさ
らにその場合にその判定内容に応じてニュートン−ラフ
ソン法の初期値を変更する制御手段である初期値変更制
御部22とを設けている。
That is, in a voice signal processing device for converting a linear prediction coefficient used for encoding a voice signal into a line spectrum versus frequency, for example, as shown in FIG. The previous frame line spectrum-frequency storage unit 19, which is a storage unit that holds the line spectrum-frequency value of the frame, and the difference Δ between the new approximation value and the original approximation value obtained by one Newton-Raphson method.
Approximate value difference limiting unit 20 which is means for limiting a new approximate value so that the absolute value of ω does not exceed a certain value Δω MAX.
And the value of the difference Δω between the new approximation value obtained by the previous Newton-Raphson method and the original approximation value and the current Newton −
It is detected that the Newton-Raphson method enters an infinite loop from the value of the difference Δω between the new approximate value obtained by the Rafson method and the original approximate value, and in that case the difference between the new approximate value and the original approximate value Δω The infinite loop avoidance control unit 21 which is a control means for avoiding entering the infinite loop by changing the new approximate value ω so as to decrease the value of are approximations detects that omega has converged if the the solution omega i + 2 or omega i-2 adjacent to the have the solution omega i Seek better that case further it high frequency line-spectral pair frequency axis Is a control means for determining whether it is the adjacent solution ω i + 2 or the lower adjacent solution ω i-2 , and in that case, changing the initial value of the Newton-Raphson method according to the determination content. An initial value change control unit 22 is provided.

【0044】また、他の発明に係る電話装置によれば、
入力音声信号を音声信号処理部により符号化した後、送
信用信号に変調する電話装置において、上記音声信号処
理部として、上述したような特徴を有する音声信号処理
装置を用いている。
According to the telephone device of another invention,
In a telephone device that encodes an input voice signal by a voice signal processing unit and then modulates it into a transmission signal, the voice signal processing device having the above-described characteristics is used as the voice signal processing unit.

【0045】[0045]

【作用】上記の構成によれば、従来例のようにωの値を
一定量ΔωSTEPずつ増加させながらP(ω)やQ(ω)
の符号が反転するωの値を探すという処理量の多い手順
を使用することなく、前のフレームの線スペクトル対周
波数の値をそのままニュートン−ラフソン法の近似値の
初期値として利用できるので、はるかに少ない処理量で
線形予測係数から線スペクトル対周波数への変換を完了
することができる。これは、線スペクトル対周波数は、
前のフレームの値との相関が比較的強いことによるもの
で、大抵の場合は前のフレームの値をニュートン−ラフ
ソン法の初期値とすることにより容易に所望の解を得る
ことが出来る。
According to the above construction, P (ω) and Q (ω) are increased while increasing the value of ω by a constant amount Δω STEP as in the conventional example.
The value of the line spectrum versus frequency of the previous frame can be used as it is as the initial value of the approximation value of the Newton-Raphson method without using the complicated procedure of searching for the value of ω at which the sign of is inverted. It is possible to complete the conversion of the linear prediction coefficient to the line spectrum versus frequency with a very small amount of processing. This is the line spectrum vs. frequency
This is because the correlation with the value of the previous frame is relatively strong. In most cases, the desired solution can be easily obtained by setting the value of the previous frame as the initial value of the Newton-Raphson method.

【0046】また、上記近似値差制限手段、無限ループ
回避制御手段、及び初期値変更制御手段を組み合わせる
ことにより、誤動作を起こすことなくしかも従来例に比
べて少ない処理量で線形予測係数から線スペクトル対へ
の数値変換を遂行することが出来る。
Also, by combining the approximate value difference limiting means, the infinite loop avoidance control means, and the initial value change control means, a linear spectrum is obtained from the linear prediction coefficient without causing a malfunction and with a smaller processing amount than the conventional example. You can perform numerical conversions to pairs.

【0047】さらに、電話装置に適用することにより、
線形予測係数から線スペクトル対周波数への変換の演算
量を低減でき、構成の簡略化や低消費電力化が図れる。
Further, by applying to a telephone device,
The amount of calculation for converting the linear prediction coefficient into the line spectrum versus frequency can be reduced, and the configuration can be simplified and power consumption can be reduced.

【0048】[0048]

【実施例】以下、図面を参照しながら、本発明の実施例
について説明する。図1は本発明の一実施例の概略構成
を示す図である。この実施例においては、上記音声の短
期予測冗長性を取り除くフォルマント予測フィルタの伝
達関数の係数である線形予測係数から上記線スペクトル
対周波数へ数値変換するために、上記(6),(7),
(10),(11),(12)式を用いて係数を変換し
た後、上記(8),(9)のP(ω)=0、Q(ω)=
0の解を、上記(13)式に示す近似値計算を繰り返す
ようなニュートン−ラフソン法により求めている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a schematic configuration of an embodiment of the present invention. In this embodiment, in order to perform numerical conversion from the linear prediction coefficient, which is the coefficient of the transfer function of the formant prediction filter for removing the short-term prediction redundancy of the speech, to the line spectrum versus frequency, the above (6), (7),
After converting the coefficients using the equations (10), (11), and (12), P (ω) = 0 and Q (ω) = in the above (8) and (9).
The solution of 0 is obtained by the Newton-Raphson method in which the approximate value calculation shown in the equation (13) is repeated.

【0049】図1において、線形予測係数記憶部11
は、外部装置により計算された線形予測係数a1 〜a10
を入力し、その値を保持する。この線形予測係数記憶部
11に記憶された線形予測係数a1 〜a10は、係数変換
部12に送られる。この係数変換部12では、上記
(6),(7),(10),(11),(12)式に従
って上記線形予測係数a1 〜a10から上記(8),
(9)式の係数p'1 〜p'5 、q'1〜q'5 を計算する。
In FIG. 1, the linear prediction coefficient storage unit 11
Are linear prediction coefficients a 1 to a 10 calculated by an external device.
Enter and keep its value. The linear prediction coefficients a 1 to a 10 stored in the linear prediction coefficient storage unit 11 are sent to the coefficient conversion unit 12. In the coefficient conversion unit 12, the linear prediction coefficients a 1 to a 10 are converted to the above (8), (8), according to the above equations (6), (7), (10), (11) and (12).
(9) Factor p '1 ~p' 5 of formula, q '1 ~q' 5 is calculated.

【0050】係数変換部12により計算された上記
(8)式の係数p'1 〜p'5 は係数記憶部13に送られて
記憶保持され、上記(9)式の係数q'1 〜q'5 は係数記
憶部14に送られて記憶保持される。近似値計算部15
は、線スペクトル対周波数記憶部19に保持されている
前のフレームの線スペクトル対の値に基づき、係数記憶
部13からの上記係数p'1 〜p'5 を用いて、上記(8)
式、(14)式、(13)式により新しい解の近似値ω
を求める。近似値計算部16は、前フレーム線スペクト
ル対周波数記憶部19に保持されている前のフレームの
線スペクトル対の値に基づき、係数記憶部14からの上
記係数q'1 〜q'5 を用いて、上記(9)式、(15)
式、(13)式により新しい解の近似値ωを求める。収
束判定部17は、近似値計算部15で求められた新しい
近似値ωが充分に収束したかどうかを判定する。また収
束判定部18は、近似値計算部16で求められた新しい
近似値ωが充分に収束したかどうかを判定する。
The coefficient p '1 ~p' 5 the calculated equation (8) by the coefficient conversion unit 12 is stored and held is sent to the coefficient storage unit 13, the coefficient of the equation (9) q '1 to q ' 5 is sent to the coefficient storage unit 14 and stored and held. Approximate value calculator 15
Is based on the value of the line spectrum pair of the previous frame held in the line spectrum pair frequency storage unit 19 and uses the coefficients p ′ 1 to p ′ 5 from the coefficient storage unit 13 to perform the above (8).
Approximate value ω of the new solution by equations (14) and (13)
Ask for. The approximate value calculation unit 16 uses the coefficients q ′ 1 to q ′ 5 from the coefficient storage unit 14 based on the value of the line spectrum pair of the previous frame held in the previous frame line spectrum pair frequency storage unit 19. Then, the above equation (9), (15)
The approximate value ω of the new solution is obtained by the equation (13). The convergence determination unit 17 determines whether the new approximate value ω obtained by the approximate value calculation unit 15 has sufficiently converged. The convergence determination unit 18 also determines whether the new approximate value ω obtained by the approximate value calculation unit 16 has sufficiently converged.

【0051】ここで、前フレーム線スペクトル対周波数
記憶部19には、時間軸上で1つ前の音声フレームでの
線スペクトル対の周波数の値が保持されており、この前
フレームの線スペクトル対周波数の値を、上記ニュート
ン−ラフソン法による近似値計算の初期値として用いる
ことにより、演算量を低減して効率を高めることができ
る。
Here, the previous frame line spectrum pair frequency storage unit 19 holds the frequency value of the line spectrum pair in the immediately preceding speech frame on the time axis, and the line spectrum pair of this previous frame is held. By using the value of the frequency as the initial value of the approximate value calculation by the Newton-Raphson method, it is possible to reduce the calculation amount and improve the efficiency.

【0052】これらの近似値計算部15、16により上
述したようなニュートン−ラフソン法による近似値計算
を行う際に、近似値差制限部20、無限ループ回避制御
部21、及び初期値変更制御部22により、解の近似値
を制御して、誤動作を起こすことなく効率的に正しい解
の近似値を得ることを可能としている。
When the approximate value calculation units 15 and 16 perform the approximate value calculation by the Newton-Raphson method as described above, the approximate value difference limiting unit 20, the infinite loop avoidance control unit 21, and the initial value change control unit. 22 makes it possible to control the approximate value of the solution and efficiently obtain the approximate value of the correct solution without causing a malfunction.

【0053】すなわち近似値差制限部20は、近似値計
算部15、16により1回のニュートン−ラフソン法で
得られる新しい近似値と元の近似値との差Δωの絶対値
が、ある一定の最大値ΔωMAX を超えないように、新し
い近似値を制限する。これは、線スペクトル対周波数の
値が前フレームに比べて大幅に変化する場合も確実に存
在するので、例えば前フレームの解を初期値とするだけ
の工夫では所望の解に収束しないような誤動作が生じて
しまうことを考慮したものである。
That is, the approximate value difference limiting unit 20 determines that the absolute value of the difference Δω between the new approximate value obtained by the Newton-Raphson method once and the original approximate value by the approximate value calculating units 15 and 16 is constant. Limit the new approximation so that the maximum value Δω MAX is not exceeded. This certainly exists even when the value of the line spectrum vs. frequency changes significantly compared to the previous frame, so for example, a malfunction that does not converge to the desired solution by just making the solution of the previous frame the initial value Is taken into consideration.

【0054】これの具体的な場合について、図2を参照
しながら説明する。前フレームの線スペクトル周波数の
値ωi (図2のa点)からP(ω)及びP'(ω) (ある
いはQ(ω)及びQ'(ω) 、以下同様)を計算したとき
に、|P'(ω) |の値が小さい、すなわちP(ω)の傾
斜が緩いと、新しい近似値はもはや所望の解には収束で
きない範囲に移動してしまう。図2では、上記ニュート
ン−ラフソン法による上記(13)式の1回目の計算に
より求められた近似値(c点)が、求めようとしている
解(b点)から大きく離れてしまい、2回目の近似値
(d点)、3回目の近似値(e点)とさらに離れてゆ
き、最終的にωの範囲である0.0<ω<0.5の範囲を超えて
しまう場合も存在する。このような事態を防ぐために
は、元の近似値と新しい近似値との差Δωを、ある一定
の最大値ΔωMAX の範囲内に制限することが有効であ
る。このため、近似値差制限部20は、上記近似値の差
Δωの絶対値が上記一定値ΔωMAX を超えないように、
新しい近似値を制限している。
A specific case of this will be described with reference to FIG. When P (ω) and P ′ (ω) (or Q (ω) and Q ′ (ω), and so on) are calculated from the line spectrum frequency value ω i (point a in FIG. 2) of the previous frame, If the value of | P '(ω) | is small, that is, if the slope of P (ω) is small, the new approximation value moves to a range where it can no longer converge to the desired solution. In FIG. 2, the approximate value (point c) obtained by the first calculation of the equation (13) by the Newton-Raphson method is far from the solution (point b) to be obtained, and the second time In some cases, the value further approaches the approximate value (point d) and the third approximate value (point e), and eventually exceeds the range of ω, that is, 0.0 <ω <0.5. In order to prevent such a situation, it is effective to limit the difference Δω between the original approximation value and the new approximation value within the range of a certain maximum value Δω MAX . For this reason, the approximate value difference limiting unit 20 prevents the absolute value of the approximate value difference Δω from exceeding the constant value Δω MAX .
You are limiting the new approximation.

【0055】次に、無限ループ回避制御部21は、前回
のニュートン−ラフソン法で得られた新しい近似値と元
の近似値との差Δωの値と、今回のニュートン−ラフソ
ン法で得られた新しい近似値と元の近似値との差Δωの
値とから、ニュートン−ラフソン法が無限ループに入る
ことを検出し、それが検出された場合に新しい近似値と
元の近似値との差の値Δωを減少させるように新しい近
似値ωを変更することにより、無限ループに入ることを
回避するように制御する。
Next, the infinite loop avoidance control unit 21 obtains the value of the difference Δω between the new approximation value obtained by the previous Newton-Raphson method and the original approximation value and the newton-Raphson method this time. From the value of the difference Δω between the new approximation and the original approximation, it is detected that the Newton-Raphson method enters an infinite loop, and when it is detected, the difference between the new approximation and the original approximation is calculated. By changing the new approximation ω so as to decrease the value Δω, control is performed to avoid entering the infinite loop.

【0056】これは、上記近似値差制限部20のように
元の近似値と新しい近似値の差Δωをある一定値Δω
MAX に制限した場合に、図3に示すように近似値がある
2つの値(a点、b点)を行き来する無限ループの状態
に陥る場合が存在するという問題が生じることを考慮し
たものである。このような無限ループの事態を防ぐため
には、ニュートン−ラフソン法の近似値の変動の履歴を
保持して無限ループに陥る状態を検出する手段を設ける
ことが必要である。それに加えて、無限ループに陥る状
態が検出された場合に、それを回避できるように新しい
近似値の値を制御する手段を設けることも必要となる。
このため、無限ループ回避制御部21で上記無限ループ
に入ることを回避制御している。
This is because the difference Δω between the original approximate value and the new approximate value is set to a certain constant value Δω as in the approximate value difference limiting section 20.
In consideration of the fact that when limiting to MAX , there may be a case where an infinite loop state in which two approximate values (points a and b) come and go as shown in FIG. 3 may occur. is there. In order to prevent such an infinite loop situation, it is necessary to provide a means for holding the history of fluctuations in the approximate value of the Newton-Raphson method and detecting the state of falling into an infinite loop. In addition, it is also necessary to provide means for controlling the value of the new approximation so as to avoid the situation where an infinite loop is detected.
Therefore, the infinite loop avoidance control unit 21 controls to avoid entering the infinite loop.

【0057】これらの近似値差制限部20や無限ループ
回避制御部21を設けることにより、近似値は0.0<ω<
0.5の範囲で確実にいずれかの解に収束する。しかしな
がら、これでもまだ不十分であり、いまだに隣接する解
に収束する可能性が残っている。言い換えると、ω1
求めようとした場合にω3 の解へ近似値が収束する可能
性が残っている。従って、収束した近似値が本当に求め
ようとした解に収束しているのか、それとも隣接する解
に収束してしまったのかを判定する手段と、隣接する解
に収束したことが判明した場合に更にそれが周波数軸上
で高い方向の隣接解であるか低い方向の隣接解であるか
を判定する手段が必要になる。それに加えて、周波数軸
上で高い方向の隣接解に収束したことが判明した場合に
は、前のフレームの線スペクトル対の値をそのまま使用
していた近似値の初期値を適当な大きさに減少させる手
段が必要であり、周波数軸上で低い方向の隣接解に収束
したことが判明した場合には近似値の初期値を適当な大
きさに増加させる手段が必要である。そして、その変化
した近似値の初期値を用いて再度近似値を収束させるこ
とにより、所望する解の近似値を確実に得ることができ
る。
By providing the approximate value difference limiting unit 20 and the infinite loop avoidance control unit 21, the approximate value is 0.0 <ω <
It surely converges to one of the solutions in the range of 0.5. However, this is still insufficient, and there is still the possibility of converging to adjacent solutions. In other words, there is a possibility that the approximate value will converge to the solution of ω 3 when trying to obtain ω 1 . Therefore, a means to determine whether the converged approximate value has really converged to the solution to be obtained, or has converged to the adjacent solution, and if it is found that the converged approximate value has converged to the adjacent solution, A means for determining whether it is a high-direction adjacent solution or a low-direction adjacent solution on the frequency axis is required. In addition, when it is found that the solution converges to the adjacent solution in the high direction on the frequency axis, the value of the line spectrum pair in the previous frame is used as it is, and the initial value of the approximate value is set to an appropriate value. It is necessary to have a means to decrease, and it is necessary to have a means to increase the initial value of the approximate value to an appropriate value when it is found that the solution converges to the adjacent solution in the lower direction on the frequency axis. Then, the approximate value of the desired solution can be reliably obtained by making the approximate value converge again using the changed initial value of the approximate value.

【0058】このような点を考慮し、初期値変更制御部
22は、初期値の値が不適切であることが原因で得られ
た近似値ωが求めようとしていた解ωi に隣接する解ω
i+2又はωi-2 に収束したことを検出し、その場合にさ
らにそれが線スペクトル対周波数軸上で周波数の高いほ
うの隣接解ωi+2 であるかそれとも低いほうの隣接解ω
i-2 であるかを判定し、さらにその場合にその判定内容
に応じてニュートン−ラフソン法の初期値を変更するよ
うに制御する。
In consideration of such a point, the initial value change control unit 22 determines a solution adjacent to the solution ω i for which the approximate value ω obtained due to the improper initial value is to be obtained. ω
It is detected that it has converged to i + 2 or ω i-2 , and in that case it is either the higher adjacent solution ω i + 2 or the lower adjacent solution ω on the line spectrum vs. frequency axis.
It is determined whether i-2 , and in that case, the initial value of the Newton-Raphson method is controlled according to the content of the determination.

【0059】以上説明したような全ての手段、すなわち
前フレーム線スペクトル対周波数記憶部19、近似値差
制限部20、無限ループ回避制御部21、初期値変更制
御部22を組み合わせることにより、誤動作を起こすこ
となくしかも従来例に比べて少ない処理量で線形予測係
数から線スペクトル対への数値変換を遂行することがで
きる。
By combining all the means as described above, that is, the front frame line spectrum-to-frequency storage unit 19, the approximate value difference limiting unit 20, the infinite loop avoidance control unit 21, and the initial value change control unit 22, a malfunction is caused. It is possible to perform the numerical conversion from the linear prediction coefficient to the pair of line spectra without causing the above and with a smaller processing amount as compared with the conventional example.

【0060】なお、図1の構成において、線スペクトル
対周波数出力部23は、以上のような各部構成での動作
により求められた10個の線スペクトル対の値ω1 〜ω
10を記憶保持し、外部装置へ出力するために設けられて
いる。
In the configuration of FIG. 1, the line spectrum pair frequency output unit 23 has ten line spectrum pair values ω 1 to ω obtained by the operation in each of the above configurations.
It is provided for storing and storing 10 and outputting to an external device.

【0061】次に上述した一実施例の動作について、図
4に示すフローチャートを参照しながら説明する。
Next, the operation of the above-described embodiment will be described with reference to the flowchart shown in FIG.

【0062】図4において、最初のステップS11では
上記線形予測係数a1 〜a10を上記図1の線形予測係数
記憶部11に入力し記憶する。ステップS12では上記
係数変換部12により上記線形予測係数a1 〜a10から
上記(8),(9)式の係数p'1 〜p'5 、q'1 〜q'5
計算して求める。次のステップS13では上記(8),
(9)式によりω=0のときの値、すなわちP(0),
Q(0)の値を計算し、保持しておく。次のステップS
14では解の番号を表す変数iを1(i=1)に初期設
定する。
In FIG. 4, in the first step S11, the linear prediction coefficients a 1 to a 10 are input and stored in the linear prediction coefficient storage unit 11 of FIG. Step S12, the from the linear prediction coefficients a 1 ~a 10 by the coefficient conversion section 12 (8), obtained by calculating the coefficients p '1 ~p' 5, q '1 ~q' 5 of (9) . In the next step S13, the above (8),
According to equation (9), the value when ω = 0, that is, P (0),
The value of Q (0) is calculated and held. Next step S
In 14, the variable i representing the solution number is initialized to 1 (i = 1).

【0063】次のステップS15では、上記ニュートン
−ラフソン法の近似値計算の初期値ωとして、上記図1
の前フレーム線スペクトル対周波数記憶部19からの時
間軸上で1フレーム前の音声フレームでの対応するi番
目の解ωi の値を代入する。次のステップS16では、
上記ニュートン−ラフソン法の計算式(上記(13)
式)中のf(x)/f'(x) の項を計算する。すなわ
ち、上記iが奇数か偶数かに応じて、奇数のときΔω=
P(ω)/P'(ω) を計算し、偶数のときΔω=Q
(ω)/Q'(ω) を計算する。次のステップS17で
は、計算されて得られたΔωの絶対値がある一定の上限
値ΔωMAX を超えている(|Δω|>ΔωMAX )か否か
を判定する。YES(超えている)のときにはステップ
S25に進み、NO(超えていない)のときにはステッ
プS18に進んで、新しい近似値ωをω−Δωに置き換
える(ω=ω−Δω)。以上のステップS16及びステ
ップS18での計算が上記(13)式の近似値計算に相
当する。
In the next step S15, the initial value ω of the approximate value calculation of the Newton-Raphson method is used as the initial value ω of FIG.
The value of the corresponding i-th solution ω i in the speech frame preceding by one frame on the time axis from the previous frame line spectrum-to-frequency storage unit 19 is substituted. In the next step S16,
The Newton-Raphson method calculation formula ((13) above)
The term of f (x) / f '(x) in the equation) is calculated. That is, depending on whether i is an odd number or an even number, Δω =
Calculate P (ω) / P '(ω), and when it is even, Δω = Q
Calculate (ω) / Q '(ω). In the next step S17, it is determined whether or not the absolute value of the calculated Δω exceeds a certain upper limit value Δω MAX (| Δω |> Δω MAX ). If YES (exceeds), the process proceeds to step S25, and if NO (does not exceed), the process proceeds to step S18 to replace the new approximate value ω with ω-Δω (ω = ω-Δω). The calculation in the above steps S16 and S18 corresponds to the approximate value calculation of the above equation (13).

【0064】次にステップS19に進んで、新しい近似
値ωが充分に解に収束したかどうかを判定する。収束し
ていない(NO)ならば、上記ステップS16に戻って
上記P(ω)/P'(ω) 又はΔω=Q(ω)/Q'(ω)
を計算する。収束した(YES)ならば、次のステップ
S20に進んで、その収束した近似値ωが本当に求めよ
うとした解ωi に収束しているのか、それとも隣接する
解ωi+2 又はωi-2 に収束してしまったのかを判定す
る。具体的には、上記ステップS13で計算しておいた
P(0)或いはQ(0)の値と、iの値と、上記P'
(ω) 或いはQ'(ω)の値の関係から判定することが出来
る。
Next, in step S19, it is determined whether the new approximate value ω has sufficiently converged to a solution. If not converged (NO), the process returns to the step S16 and the above P (ω) / P '(ω) or Δω = Q (ω) / Q' (ω)
To calculate. If converged (YES), the process proceeds to the next step S20, and whether the converged approximate value ω is actually converged to the solution ω i to be obtained, or the adjacent solution ω i + 2 or ω i- Determine if it has converged to 2 . Specifically, the value of P (0) or Q (0) calculated in step S13, the value of i, and P '
It can be determined from the relationship between the values of (ω) or Q '(ω).

【0065】ステップS20でYESと判別されたと
き、すなわち隣接する上記解ωi+2 又はωi-2 に収束し
ているときにはステップS28に進み、NOのときには
ステップS21に進む。ステップS21ではωi =ωと
し、次のステップS22ではiを1増やす(i=i+
1)。次のステップS23では、このiが10を超えた
か(i>10)否かを判別し、NO(i≦10)のとき
には上記ステップS16に戻る。YES(i>10)の
ときにはステップS24に進んで、求められたω1〜ω
10の線スペクトル対周波数の値を出力して処理を終了す
る。
When YES is determined in the step S20, that is, when the solution converges to the adjacent solution ω i + 2 or ω i-2 , the process proceeds to a step S28, and when NO, the process proceeds to a step S21. In step S21, ω i = ω, and in the next step S22, i is incremented by 1 (i = i +
1). In the next step S23, it is determined whether i exceeds 10 (i> 10). If NO (i ≦ 10), the process returns to step S16. If YES (i> 10), the process proceeds to step S24, and the obtained ω 1 to ω
The line spectrum to frequency value of 10 is output, and the process ends.

【0066】上記ステップS17でYESのとき(上記
Δωの絶対値が所定の上限値ωMAXを超えたとき)に進
むステップS25では、前回のニュートン−ラフソン法
で得られた新しい近似値と元の近似値との差Δωの値
と、今回のニュートン−ラフソン法で得られた新しい近
似値と元の近似値との差Δωの値とから、ニュートン−
ラフソン法による近似値計算が無限ループに入るかどう
かを判定する。このステップS25でNOの(無限ルー
プに入らない)ときには、ステップS26に進んでΔω
の絶対値を上記一定値ΔωMAX に制限(|Δω|=Δω
MAX )した後、上記ステップS18に進む。YESの
(無限ループに入る)ときには、ステップS27に進ん
でΔωの絶対値を上記ΔωMAX の1/2に制限(|Δω
|=ΔωMAX/2)した後、上記ステップS18に進
む。すなわち、無限ループに入らないのなら、新しい近
似値と元の近似値との差Δωの絶対値がΔωMAX になる
ように新しい近似値ωを変更するのに対し、無限ループ
に入ってしまうならば、例えば新しい近似値と元の近似
値との差Δωの絶対値がΔωMAX の半分になるように新
しい近似値ωを変更することにより、無限ループに入る
ことを回避する。
When YES in step S17 (when the absolute value of Δω exceeds the predetermined upper limit value ω MAX ), in step S25, the new approximation value obtained by the previous Newton-Raphson method and the original From the value of the difference Δω with the approximate value and the value of the difference Δω between the new approximate value obtained by the Newton-Raphson method and the original approximate value, Newton-
Determines whether the approximation calculation by the Rafson method enters an infinite loop. If NO in this step S25 (do not enter the infinite loop), the process proceeds to step S26 and Δω
The absolute value of is limited to the above constant value Δω MAX (| Δω | = Δω
MAX ), the process proceeds to step S18. If YES (into the infinite loop), the process proceeds to step S27 and the absolute value of Δω is limited to 1/2 of Δω MAX (| Δω
| = Δω MAX / 2), the process proceeds to step S18. That is, if the loop does not enter the infinite loop, the new approximation ω is changed so that the absolute value of the difference Δω between the new approximation and the original approximation becomes Δω MAX. For example, by changing the new approximation value ω such that the absolute value of the difference Δω between the new approximation value and the original approximation value is half of Δω MAX , it is possible to avoid entering the infinite loop.

【0067】次に、上記ステップS20で隣接解に収束
する(YES)と判別されて進んだステップS28で
は、その解が周波数軸上で高い方の隣接解ωi+2 なの
か、低い方の隣接解ωi-2 なのかを判定する。具体的に
は、既に計算で求められている1つ前の解ωi-1 の値と
大きさを比較することにより、判定することができる。
低いほうの隣接解ωi-2 ならば、ステップS29に進ん
で、近似値の初期値を適当な大きさに増加させ、上記ス
テップS16に戻る。高いほうの隣接解ωi+2 ならば、
ステップS30に進んで、近似値の初期値を適当な大き
さに減少させ、上記ステップS16に戻る。
Next, in step S28, when it is determined that the solution converges to the adjacent solution (YES) in step S20, the solution is either the higher adjacent solution ω i + 2 or the lower one on the frequency axis. Determine if it is an adjacent solution ω i-2 . Specifically, the determination can be made by comparing the value of the previous solution ω i-1 which has already been calculated and the magnitude.
If it is the lower adjacent solution ω i-2 , the process proceeds to step S29, the initial value of the approximate value is increased to an appropriate value, and the process returns to step S16. If the higher adjacent solution ω i + 2 ,
In step S30, the initial value of the approximate value is reduced to an appropriate value, and the process returns to step S16.

【0068】次に、本発明に係る電話装置の一実施例と
して、上述したような音声信号処理装置を適用した電話
装置の一例について、図5を参照しながら説明する。
Next, as an embodiment of the telephone device according to the present invention, an example of a telephone device to which the above-mentioned audio signal processing device is applied will be described with reference to FIG.

【0069】図5に示す電話装置は、いわゆるディジタ
ルセルラー電話等の移動体通信端末として用いられるも
のであり、送話器側のマイクロホン51で音声が電気信
号に変換されて、音声符号化器52に送られる。この音
声符号化器52は、上記図1に示したような線形予測係
数から線スペクトル対周波数への数値変換を行う機能部
を含んでいる。音声符号化器52からの出力信号は、変
調部53に送られて通信に適した高周波信号に変調さ
れ、高周波増幅器54で増幅され、アンテナ55を介し
て送出される。また、電話局や中継装置等から送られて
くる高周波信号をアンテナ55で受信して高周波増幅器
56で増幅し、復調部57に送って復調する。復調部5
7からの信号は、音声復号化器58に送られて、上記音
声符号化器52での符号化処理を元に戻すような復号化
処理が施される。音声復号化器58から得られた音声信
号が受話器側のスピーカ59に送られて、音響的な音声
に変換される。
The telephone device shown in FIG. 5 is used as a mobile communication terminal such as a so-called digital cellular telephone, and the voice is converted into an electric signal by the microphone 51 on the transmitter side, and the voice encoder 52 is used. Sent to. The speech coder 52 includes a functional unit that performs the numerical conversion from the linear prediction coefficient as shown in FIG. 1 to the line spectrum versus frequency. The output signal from the voice encoder 52 is sent to the modulator 53, modulated into a high frequency signal suitable for communication, amplified by the high frequency amplifier 54, and sent out via the antenna 55. Further, a high-frequency signal sent from a telephone station, a relay device, or the like is received by an antenna 55, amplified by a high-frequency amplifier 56, and sent to a demodulation unit 57 for demodulation. Demodulator 5
The signal from 7 is sent to the speech decoder 58, and is subjected to a decoding process that restores the encoding process in the speech encoder 52. The voice signal obtained from the voice decoder 58 is sent to the speaker 59 on the receiver side and converted into an acoustic voice.

【0070】なお、本発明は上述した実施例にのみ限定
されるものではなく、例えば、上記ステップS20、S
28等で、収束した解が周波数軸上で高いほうの隣接解
であると判定された場合に、その値をωi+2 の値として
使用し、i+2の時の計算を省略することにより、より
演算量を減らすことが出来る。また例えば、iを1から
10まで増加させるのではなく、iを10から1まで減
少させるというようにアルゴリズムを変更することもで
きる。この他、本発明の要旨を逸脱しない範囲で種々の
変形が考えられる。
It should be noted that the present invention is not limited to the above-mentioned embodiment, and for example, the steps S20 and S can be performed.
28, etc., when it is determined that the converged solution is the higher adjacent solution on the frequency axis, the value is used as the value of ω i + 2 , and the calculation at the time of i + 2 is omitted. The amount of calculation can be reduced. Also, for example, the algorithm can be modified such that i is decreased from 10 to 1 instead of increasing i from 1 to 10. In addition, various modifications can be considered without departing from the scope of the present invention.

【0071】[0071]

【発明の効果】以上説明したように、本発明によれば、
時間軸上で1つ前の音声フレームの線スペクトル対周波
数の値を保持する周波数記憶手段に記憶された線スペク
トル対周波数の値を、線形予測係数から線スペクトル対
への変換を示す方程式の新しい近似解をニュートン−ラ
フソン法によって求める計算式における解の近似値の初
期値としているため、ニュートン−ラフソン法に与える
解の近似値の初期値を例えばステップ的に探す処理が不
要となり、従来と比べて線形予測係数から線スペクトル
対周波数への数値変換処理全体での処理量を削減するこ
とができる。
As described above, according to the present invention,
On the time axis, the line spectrum-to-frequency value stored in the frequency storage means for holding the line spectrum-to-frequency value of the immediately preceding speech frame is converted into a line spectrum pair from a linear prediction coefficient. Since the approximate solution is the initial value of the approximate value of the solution in the calculation formula obtained by the Newton-Raphson method, the process of searching for the initial value of the approximate value of the solution given to the Newton-Raphson method is not necessary, for example. Thus, it is possible to reduce the processing amount in the whole numerical conversion processing from the linear prediction coefficient to the line spectrum versus frequency.

【0072】また、上記ニュートン−ラフソン法による
近似計算を進める際に、1回のニュートン−ラフソン法
で得られる新しい近似値と元の近似値との差の絶対値が
ある一定値以上にならないように新しい近似値を制限す
る近似値差制限手段と、上記計算手段により前回のニュ
ートン−ラフソン法で得られた新しい近似値と元の近似
値との差の値と今回のニュートン−ラフソン法で得られ
た新しい近似値と元の近似値との差の値とからニュート
ン−ラフソン法が無限ループに入ることを検出して無限
ループに入ることを回避する無限ループ回避制御手段
と、上記計算手段により得られた近似値が求めようとし
ていた解に隣接する解に収束したか否かを判定しその判
定結果に応じてニュートン−ラフソン法の初期値を変更
する初期値変更制御手段とを設けているため、所望の解
に収束しなかったり、無限ループに陥ったり、隣接解に
収束したりするような誤動作を起こすこともない。
When proceeding with the approximation calculation by the Newton-Raphson method, the absolute value of the difference between the new approximation value obtained by one-time Newton-Raphson method and the original approximation value should not exceed a certain value. And the difference value between the new approximation value obtained by the previous Newton-Raphson method and the original approximation value by the above calculation means and the newton-Raphson method obtained this time. The infinite loop avoidance control means for detecting that the Newton-Raphson method enters the infinite loop and avoiding the infinite loop from the value of the difference between the new approximated value and the original approximated value, and the above calculating means. Initial value change control that determines whether the obtained approximate value has converged to a solution adjacent to the solution you were trying to find and changes the initial value of the Newton-Raphson method according to the result of the judgment Because it is provided with the stepped, or not converge to the desired solution, or into an infinite loop, nor malfunction such as or converge to the adjacent solution.

【0073】さらに、電話装置に適用することにより、
高いデータ圧縮効率を保ちながら、演算量を抑え、構成
を簡略化し、電力消費を低減することが可能となる。
Further, by applying to the telephone device,
It is possible to reduce the amount of calculation, simplify the configuration, and reduce power consumption while maintaining high data compression efficiency.

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

【図1】本発明の一実施例となる音声信号処理装置の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an audio signal processing device according to an embodiment of the present invention.

【図2】元の近似値と新しい近似値との差をある一定値
に制限しなければならない理由を説明するための説明図
である。
FIG. 2 is an explanatory diagram for explaining the reason why the difference between the original approximate value and the new approximate value must be limited to a certain constant value.

【図3】無限ループに陥る場合が存在することを説明す
るための説明図である。
FIG. 3 is an explanatory diagram for explaining that there is a case where an infinite loop occurs.

【図4】本発明の一実施例となる音声信号処理装置の動
作を説明するためのフローチャートである。
FIG. 4 is a flowchart for explaining the operation of the audio signal processing device according to the embodiment of the present invention.

【図5】本発明に係る電話装置の一実施例を示すブロッ
ク図である。
FIG. 5 is a block diagram showing an embodiment of a telephone device according to the present invention.

【図6】従来の音声信号処理装置におけるニュートン−
ラフソン法の近似値計算の動作を説明するためのフロー
チャートである。
FIG. 6 shows Newton in a conventional audio signal processing device.
6 is a flowchart for explaining the operation of the approximate value calculation of the Rafson method.

【図7】従来の音声信号処理装置の構成を示すブロック
図である。
FIG. 7 is a block diagram showing a configuration of a conventional audio signal processing device.

【図8】従来の音声信号処理装置におけるニュートン−
ラフソン法の近似値計算の動作を説明するための説明図
である。
FIG. 8 is a Newton in a conventional audio signal processing device.
It is explanatory drawing for demonstrating the operation | movement of the approximate value calculation of the Rafson method.

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

11・・・・・線形予測係数記憶部 15、16・・・・・ニュートン−ラフソン法の近似値
計算部 17、18・・・・・近似値判定部 19・・・・・前フレームの線スペクトル対周波数記憶
部 20・・・・・近似値差制限部 21・・・・・無限ループ回避制御部 22・・・・・初期値変更制御部
11 ... Linear prediction coefficient storage unit 15, 16 ... Newton-Raphson method approximation value calculation unit 17, 18 ... Approximation value determination unit 19 ... Previous frame line Spectrum-to-frequency storage unit 20 ... Approximate value difference limiting unit 21 ... Infinite loop avoidance control unit 22 ... Initial value change control unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 音声信号の符号化に用いられる線形予測
係数から線スペクトル対周波数に変換する処理を行う音
声信号処理装置において、 線形予測係数から線スペクトル対への変換を示す方程式
の係数を線形予測係数から算出する係数変換手段と、 この係数変換手段から出力された係数を保持する係数記
憶手段と、 時間軸上で1つ前の音声フレームの線スペクトル対周波
数の値を保持する周波数記憶手段と、 この記憶手段に記憶された線スペクトル対周波数の値を
解の近似値の初期値として上記方程式の新しい近似解を
ニュートン−ラフソン法によって求める計算手段とを有
することを特徴とする音声信号処理装置。
1. A speech signal processing apparatus for converting a linear prediction coefficient used for coding a speech signal into a line spectrum pair frequency, wherein a coefficient of an equation showing conversion from a linear prediction coefficient to a line spectrum pair is linear. Coefficient conversion means for calculating from the prediction coefficient, coefficient storage means for holding the coefficient output from this coefficient conversion means, and frequency storage means for holding the value of the line spectrum versus frequency of the immediately preceding audio frame on the time axis. And a calculation means for obtaining a new approximate solution of the above equation by the Newton-Raphson method with the value of the line spectrum versus frequency stored in the storage means as the initial value of the approximate value of the solution. apparatus.
【請求項2】 上記計算手段により1回のニュートン−
ラフソン法で得られる新しい近似値と元の近似値との差
の絶対値がある一定値以上にならないように新しい近似
値を制限する近似値差制限手段と、 上記計算手段により前回のニュートン−ラフソン法で得
られた新しい近似値と元の近似値との差の値と今回のニ
ュートン−ラフソン法で得られた新しい近似値と元の近
似値との差の値とからニュートン−ラフソン法が無限ル
ープに入ることを検出して無限ループに入ることを回避
する無限ループ回避制御手段と、 上記計算手段により得られた近似値が求めようとしてい
た解に隣接する解に収束したか否かを判定しその判定結
果に応じてニュートン−ラフソン法の初期値を変更する
初期値変更制御手段とを有することを特徴とする請求項
1記載の音声信号処理装置。
2. One time Newton-by the calculation means
Approximate value difference limiting means for limiting the new approximate value so that the absolute value of the difference between the new approximate value obtained by the Rafson method and the original approximate value does not exceed a certain value, and the previous Newton-Raphson method by the above calculating means. The Newton-Raphson method is infinite based on the difference value between the new approximation value obtained by the method and the original approximation value and the difference value between the new approximation value obtained by the current Newton-Raphson method and the original approximation value. An infinite loop avoidance control means that detects entering a loop and avoids entering an infinite loop, and determines whether or not the approximate value obtained by the above calculating means has converged to a solution adjacent to the solution to be obtained. 2. An audio signal processing apparatus according to claim 1, further comprising an initial value change control means for changing the initial value of the Newton-Raphson method according to the result of the determination.
【請求項3】 音声信号の符号化に用いられる線形予測
係数から線スペクトル対周波数に変換する処理を行う音
声信号処理装置において、 線形予測係数から線スペクトル対への変換を示す方程式
の係数を線形予測係数から算出する係数変換手段と、 この係数変換手段から出力された係数を保持する係数記
憶手段と、 線スペクトル対周波数の計算の初期値を保持する周波数
記憶手段と、 この記憶手段に記憶された線スペクトル対周波数の値を
解の近似値の初期値として上記方程式の新しい近似解を
ニュートン−ラフソン法によって求める計算手段と、 この計算手段により1回のニュートン−ラフソン法で得
られる新しい近似値と元の近似値との差の絶対値がある
一定値以上にならないように新しい近似値を制限する近
似値差制限手段とを有することを特徴とする音声信号処
理装置。
3. A speech signal processing device for converting a linear prediction coefficient used for coding a speech signal into a line spectrum pair frequency, wherein the coefficient of an equation showing conversion from a linear prediction coefficient to a line spectrum pair is linear. Coefficient conversion means for calculating from the prediction coefficient, coefficient storage means for holding the coefficient output from this coefficient conversion means, frequency storage means for holding the initial value of the calculation of the line spectrum vs. frequency, and stored in this storage means. The calculation means for obtaining a new approximate solution of the above equation by the Newton-Raphson method with the value of the line spectrum versus frequency as the initial value of the approximate value of the solution, and the new approximation value obtained by the Newton-Raphson method once by this calculating means. And the approximate difference difference limiting means that limits the new approximate value so that the absolute value of the difference between it and the original approximate value does not exceed a certain value. The audio signal processing apparatus characterized by.
【請求項4】 上記計算手段により前回のニュートン−
ラフソン法で得られた新しい近似値と元の近似値との差
の値と今回のニュートン−ラフソン法で得られた新しい
近似値と元の近似値との差の値とからニュートン−ラフ
ソン法が無限ループに入ることを検出して無限ループに
入ることを回避する無限ループ回避制御手段とを有する
ことを特徴とする請求項3記載の音声信号処理装置。
4. The previous Newton-based on the calculation means.
The Newton-Raphson method is calculated from the difference value between the new approximation value obtained by the Rafson method and the original approximation value and the difference value between the new approximation value obtained by the Newton-Raphson method and the original approximation value. 4. An audio signal processing apparatus according to claim 3, further comprising an infinite loop avoidance control means for detecting an infinite loop and avoiding an infinite loop.
【請求項5】 音声信号の符号化に用いられる線形予測
係数から線スペクトル対周波数に変換する処理を行う音
声信号処理装置において、 線形予測係数から線スペクトル対への変換を示す方程式
の係数を線形予測係数から算出する係数変換手段と、 この係数変換手段から出力された係数を保持する係数記
憶手段と、 線スペクトル対周波数の計算の初期値を保持する周波数
記憶手段と、 この記憶手段に記憶された線スペクトル対周波数の値を
解の近似値の初期値として上記方程式の新しい近似解を
ニュートン−ラフソン法によって求める計算手段と、 この計算手段により得られた近似値が求めようとしてい
た解に隣接する解に収束したか否かを判定しその判定結
果に応じてニュートン−ラフソン法の初期値を変更する
初期値変更制御手段とを有することを特徴とする音声信
号処理装置。
5. In a speech signal processing device for converting a linear prediction coefficient used for coding a speech signal into a line spectrum-to-frequency conversion, a coefficient of an equation showing conversion from a linear prediction coefficient to a line spectrum pair is linear. Coefficient conversion means for calculating from the prediction coefficient, coefficient storage means for holding the coefficient output from this coefficient conversion means, frequency storage means for holding the initial value of the calculation of the line spectrum vs. frequency, and stored in this storage means. The calculation means for obtaining a new approximate solution of the above equation by the Newton-Raphson method by using the value of the line spectrum vs. frequency as the initial value of the approximate value of the solution, and the approximation value obtained by this calculation means is adjacent to the solution to be obtained. And an initial value change control means for changing the initial value of the Newton-Raphson method according to the judgment result. Audio signal processing apparatus characterized by.
【請求項6】 入力音声信号を音声信号処理部により符
号化した後、送信用信号に変調する電話装置において、 上記音声信号処理部は、 線形予測係数から線スペクトル対への変換を示す方程式
の係数を線形予測係数から算出する係数変換手段と、 この係数変換手段から出力された係数を保持する係数記
憶手段と、 時間軸上で1つ前の音声フレームの線スペクトル対周波
数の値を保持する周波数記憶手段と、 この記憶手段に記憶された線スペクトル対周波数の値を
解の近似値の初期値として上記方程式の新しい近似解を
ニュートン−ラフソン法によって求める計算手段と、 この計算手段により1回のニュートン−ラフソン法で得
られる新しい近似値と元の近似値との差の絶対値がある
一定値以上にならないように新しい近似値を制限する近
似値差制限手段と、 上記計算手段により前回のニュートン−ラフソン法で得
られた新しい近似値と元の近似値との差の値と今回のニ
ュートン−ラフソン法で得られた新しい近似値と元の近
似値との差の値とからニュートン−ラフソン法が無限ル
ープに入ることを検出して無限ループに入ることを回避
する無限ループ回避制御手段と、 上記計算手段により得られた近似値が求めようとしてい
た解に隣接する解に収束したか否かを判定しその判定結
果に応じてニュートン−ラフソン法の初期値を変更する
初期値変更制御手段とを有して成ることを特徴とする電
話装置。
6. A telephone device for encoding an input voice signal by a voice signal processing unit and then modulating it into a signal for transmission, wherein the voice signal processing unit comprises an equation showing conversion from a linear prediction coefficient to a line spectrum pair. A coefficient conversion unit that calculates a coefficient from a linear prediction coefficient, a coefficient storage unit that holds the coefficient output from this coefficient conversion unit, and a line spectrum-frequency value of the immediately preceding audio frame on the time axis. Frequency storage means, calculation means for obtaining a new approximate solution of the above equation by the Newton-Raphson method using the value of the line spectrum versus frequency stored in the storage means as an initial value of the approximate value of the solution, and the calculation means once An approximation that limits the new approximation value so that the absolute value of the difference between the new approximation value obtained by the Newton-Raphson method and the original approximation value does not exceed a certain value The value difference limiting means, the difference value between the new approximation value obtained by the previous Newton-Raphson method and the original approximation value by the calculation means, the new approximation value obtained by the newton-Raphson method this time, and the original approximation value. The infinite loop avoidance control means for detecting that the Newton-Raphson method enters the infinite loop and avoiding the infinite loop from the value of the difference from the approximate value, and the approximate value obtained by the above calculating means will be obtained. And a solution for determining whether the solution has converged to a solution adjacent to the solution, and changing the initial value of the Newton-Raphson method according to the result of the determination. .
JP01430593A 1993-01-29 1993-01-29 Audio signal processing device and telephone device Expired - Fee Related JP3246029B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01430593A JP3246029B2 (en) 1993-01-29 1993-01-29 Audio signal processing device and telephone device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01430593A JP3246029B2 (en) 1993-01-29 1993-01-29 Audio signal processing device and telephone device

Publications (2)

Publication Number Publication Date
JPH06230797A true JPH06230797A (en) 1994-08-19
JP3246029B2 JP3246029B2 (en) 2002-01-15

Family

ID=11857395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01430593A Expired - Fee Related JP3246029B2 (en) 1993-01-29 1993-01-29 Audio signal processing device and telephone device

Country Status (1)

Country Link
JP (1) JP3246029B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017513048A (en) * 2014-03-07 2017-05-25 フラウンホーファー−ゲゼルシャフト・ツール・フェルデルング・デル・アンゲヴァンテン・フォルシュング・アインゲトラーゲネル・フェライン Information coding concept

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017513048A (en) * 2014-03-07 2017-05-25 フラウンホーファー−ゲゼルシャフト・ツール・フェルデルング・デル・アンゲヴァンテン・フォルシュング・アインゲトラーゲネル・フェライン Information coding concept
US10403298B2 (en) 2014-03-07 2019-09-03 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Concept for encoding of information
JP2021006922A (en) * 2014-03-07 2021-01-21 フラウンホーファー−ゲゼルシャフト・ツール・フェルデルング・デル・アンゲヴァンテン・フォルシュング・アインゲトラーゲネル・フェライン Information encoding concept
US11062720B2 (en) 2014-03-07 2021-07-13 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Concept for encoding of information
US11640827B2 (en) 2014-03-07 2023-05-02 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Concept for encoding of information

Also Published As

Publication number Publication date
JP3246029B2 (en) 2002-01-15

Similar Documents

Publication Publication Date Title
US8380496B2 (en) Method and system for pitch contour quantization in audio coding
US6202046B1 (en) Background noise/speech classification method
US7986797B2 (en) Signal processing system, signal processing apparatus and method, recording medium, and program
JP3259759B2 (en) Audio signal transmission method and audio code decoding system
KR101693280B1 (en) Method, apparatus, and system for processing audio data
JP2001005474A (en) Device and method for encoding speech, method of deciding input signal, device and method for decoding speech, and medium for providing program
JP2004138756A (en) Voice coding device, voice decoding device, and voice signal transmitting method and program
US20190103129A1 (en) Signal classifying method and device, and audio encoding method and device using same
EP1073039A2 (en) Speech decoder with gain processing
JP3464371B2 (en) Improved method of generating comfort noise during discontinuous transmission
JP3331297B2 (en) Background sound / speech classification method and apparatus, and speech coding method and apparatus
US20060265219A1 (en) Noise level estimation method and device thereof
KR100338606B1 (en) Method and device for emphasizing pitch
JP3246029B2 (en) Audio signal processing device and telephone device
JP2995037B2 (en) Audio encoding / decoding device
JP3417362B2 (en) Audio signal decoding method and audio signal encoding / decoding method
JP3265726B2 (en) Variable rate speech coding device
JP3262652B2 (en) Audio encoding device and audio decoding device
JP3607774B2 (en) Speech encoding device
JPH0669811A (en) Encoding circuit and decoding circuit
JP6061901B2 (en) Sound coding system
JP5964895B2 (en) Sound coding system
JPH05206869A (en) Quantization control circuit
JPH09166999A (en) Speech encoding device and method therefor
JPH10282998A (en) Speech parameter encoding device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011002

LAPS Cancellation because of no payment of annual fees