JPH06131000A - Fundamental period encoding device - Google Patents

Fundamental period encoding device

Info

Publication number
JPH06131000A
JPH06131000A JP4319195A JP31919592A JPH06131000A JP H06131000 A JPH06131000 A JP H06131000A JP 4319195 A JP4319195 A JP 4319195A JP 31919592 A JP31919592 A JP 31919592A JP H06131000 A JPH06131000 A JP H06131000A
Authority
JP
Japan
Prior art keywords
basic
subframe
period
parameter
candidate
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
JP4319195A
Other languages
Japanese (ja)
Other versions
JP2800599B2 (en
Inventor
Shigeru Ono
茂 小野
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4319195A priority Critical patent/JP2800599B2/en
Publication of JPH06131000A publication Critical patent/JPH06131000A/en
Application granted granted Critical
Publication of JP2800599B2 publication Critical patent/JP2800599B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To attain a low bit rate and to attain high performance in the case of differentially encoding a fundamental period parameter. CONSTITUTION:This device is provided with a fundamental period preliminary selection part 40 for outputting the pair of candidate fundamental period corresponding to the respective sub frames of a relevant frame based on an input voice signal, and fundamental period main selection part 60 for deciding a fundamental period by using the input voice signal of the relevant sub frame, the spectrum envelop parameter of the relevant sub frame and parameter representing excitating sound source decided in the past from among adjacent fundamental period parameters in a range previously decided for the fundamental period parameter corresponding to the relevant sub frame in the pair of candidate fundamental period outputted from the fundamental period preliminary selection part 40.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、音声信号の低ビットレ
ート符号化に関し、特に音声の基本周期パラメータの符
号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to low bit rate coding of a speech signal, and more particularly to a coding device for a speech fundamental period parameter.

【0002】[0002]

【従来の技術】音声信号を効率的に符号化する方式とし
て線形予測符号化方式とベクトル量子化を組み合わせた
CELP(Code−Excited Linear
Prediction)符号化方式がある。本方式は、
信号のスペクトル包絡を表す線形予測部と音声の基本周
期を表すコードブック部と励振信号を表す音源コードブ
ック部と振幅制御を行なうゲインコードブック部とから
なる。CELPにおいては、線形予測部は一定間隔で区
切られたフレーム単位で求められ、他の構成要素はフレ
ームを更に分割したサブフレーム毎に決定されるのが普
通である。
2. Description of the Related Art CELP (Code-Excited Linear), which is a combination of a linear predictive coding method and vector quantization, is used as a method for efficiently coding a voice signal.
Prediction) coding method. This method is
It consists of a linear predictor that represents the spectrum envelope of the signal, a codebook that represents the fundamental period of speech, a source codebook that represents the excitation signal, and a gain codebook that performs amplitude control. In CELP, the linear predictor is usually obtained in units of frames divided at regular intervals, and the other components are usually determined for each subframe obtained by further dividing the frame.

【0003】サブフレーム毎に適応コードブック部で定
まる基本周期を低ピットレートで符号化する方法として
は、M.YongとA.Gershoによる文献
(1):“Efficient encoding o
f the long−termpredictor
in vector excitation code
res,”と、Campbellらによる文献
(2):”An Expandabler Error
−Protected 4800 bps CELP
Coder(U.S.Federal Standar
d 48000 bps Voice Coder)が
ある。前者は、サブフレーム毎の基本周期をフレーム全
体に渡る平均周期とその変動分とで符号化するもので、
音質劣化を抑えて低ビットレート化が可能とされてい
る。一方後者は、奇数サブフレームで求める基本周期は
偶数サブフレームからの差分で符号化する方法であり、
基本周期探索に要する演算量を低減する効果も併せ持
つ。一方、適応コードブック部で定まる基本周期ではな
く、入力音声信号の情報のみから基本周期を抽出する方
式においては、基本周期を差分符号化する構成が、例え
ば文献(3):特開平2−216200”音声符号化装
置および音声符号化装置”などで提案されている。
As a method of encoding the basic period determined by the adaptive codebook section for each subframe at a low pit rate, M. Yong and A. Reference (1) by Gersho: "Efficient encoding o"
f the long-termpredictor
in vector excitation code
res, ", and Campbell et al. (2):" An Expander Error
-Protected 4800 bps CELP
Coder (U.S. Federal Standard)
d 48000 bps Voice Coder). The former encodes the basic period for each subframe with the average period over the entire frame and its variation,
It is possible to reduce the sound quality and reduce the bit rate. On the other hand, the latter is a method in which the fundamental period found in odd subframes is encoded by the difference from even subframes.
It also has the effect of reducing the amount of calculation required for basic period search. On the other hand, in the method of extracting the basic cycle only from the information of the input speech signal instead of the basic cycle determined by the adaptive codebook unit, a configuration in which the basic cycle is differentially encoded is disclosed in, for example, Document (3): JP-A-2-216200. It is proposed in "Speech Coding Device and Speech Coding Device".

【0004】[0004]

【発明が解決しようとする課題】まず、基本周期を平均
値とそれからの変動分として符号化する前記文献(1)
の従来方式は、過去のサブフレームで定めた基本周期か
らの差分を符号化する逐次差分方法と比較して効率的で
ないという問題がある。例えば、基本周期がサブフレー
ム毎に{8、10、12、14、16}と変動している
とき、前記文献(1)の従来方法では、平均12を表す
のに4ビット、平均からの変動を表すのに7(=2+1
+1+1+2)ビットで計11ビット要する。しかし、
逐次的に符号化する場合は、7(=3+1+1+1+
1)ビットとなり、より低ビットレート化が図れる。
First, the above-mentioned document (1) in which the fundamental period is encoded as an average value and a variation from the average value.
The conventional method of (1) has a problem that it is not efficient as compared with the successive difference method of encoding the difference from the basic period defined in the past subframe. For example, when the basic period fluctuates {8, 10, 12, 14, 16} for each subframe, in the conventional method of the above-mentioned document (1), the average 12 is represented by 4 bits, and the fluctuation from the average. 7 (= 2 + 1
+ 1 + 1 + 2) bits require a total of 11 bits. But,
When encoding sequentially, 7 (= 3 + 1 + 1 + 1 +
1) It becomes a bit and the bit rate can be further reduced.

【0005】一方、偶数サブフレームと奇数サブフレー
ムとの差分で量子化する前記文献(2)の従来方式で
は、奇数サブフレームの基本周期を求める際に過去の偶
数サブフレームで定めた基本周期を前提する逐次決定を
採用しているため、基本周期を符号化する手段がフレー
ム全体として最適な基本周期の組を定めるようになって
おらず、差分符号化をしない場合と比較して特性が大き
く劣化するという問題がある。また、奇数サブフレーム
に割り当てられるビット数が一定であるため、音声信号
がフレーム内で変動しているような場合にその変化に追
随できないという欠点を持つ。また更に、後者を更に低
ビットレートに適用するには、奇数サブフレームのビッ
ト数を削減しなければならず、特性が劣化するという問
題がある。
On the other hand, in the conventional method of the above-mentioned document (2) in which quantization is performed by the difference between the even subframes and the odd subframes, when the basic period of the odd subframe is obtained, the basic period determined by the past even subframe is set. Since the presupposed sequential decision is adopted, the means for encoding the fundamental period is not designed to determine the optimal set of fundamental periods for the entire frame, and the characteristics are large compared to the case without differential encoding. There is a problem of deterioration. In addition, since the number of bits assigned to odd-numbered subframes is constant, there is a drawback in that when the audio signal varies within the frame, the variation cannot be followed. Furthermore, in order to apply the latter to a lower bit rate, it is necessary to reduce the number of bits in odd subframes, which causes a problem of deterioration in characteristics.

【0006】さらに、文献(3)のような入力音声信号
と再生音声信号との誤差を最小にする基本周期部を持た
ない従来方式における基本周期の差分符号化は、基本周
期パラメータを単なる時系列パラメータとして見たとき
のそれであり、再生音声信号と入力音声信号との距離を
無視しているため、高品質な再生音声信号が得られない
という問題がある。
Further, the differential encoding of the fundamental period in the conventional system which does not have the fundamental period part for minimizing the error between the input voice signal and the reproduced voice signal as in the literature (3) is a simple time series of the fundamental period parameter. This is when viewed as a parameter. Since the distance between the reproduced voice signal and the input voice signal is ignored, there is a problem that a high quality reproduced voice signal cannot be obtained.

【0007】本発明の目的は、フレーム全体で最適とな
るように基本周期を低ビットレートで符号化する基本周
期符号化装置を提供することで、音声符号化式の高品質
化を図ることにある。
It is an object of the present invention to provide a basic period coder that encodes a basic period at a low bit rate so as to be optimal for the entire frame, and to improve the quality of a speech coding formula. is there.

【0008】[0008]

【課題を解決するための手段】第1の発明の基本周期符
号化装置は、離散音声信号をスペクトル包絡を表すパラ
メータと基本周期を表すパラメータと励振音源を表すパ
ラメータと振幅制御を行なうパラメータとで表現する音
声符号化方式で、一定間隔のフレームに分割された離散
音声信号を入力し、前記フレームを複数区間に分散した
サブフレーム毎に基本周期パラメータを符号化する際
に、前記サブフレームの基本周期パラメータの幾つかを
過去に定まるサブフレームの基本周期パラメータとの差
分で符号化する基本周期符号化装置において、前記入力
音声信号をもとに当該フレームの各サブフレームに対応
する候補基本周期の組を出力する基本周期予備選択部
と、前記基本周期予備選択部から出力される候補基本周
期の組の当該サブフレームに対応する基本周期パラメー
タに対する予め定められた範囲にある近傍基本周期パラ
メータから当該サブフレームの入力音声信号と当該サブ
フレームのスペクトル包絡パラメータと過去に定めた励
振音源を表すパラメータとを用いて基本周期を決定する
基本周期本選択部とを有し、前記基本周期予備選択部
が、前記基本周期予備選択部でフレーム全体に渡るサブ
フレームの候補基本周期を求める過程で、前記入力音声
信号を用いて各サブフレーム毎に複数の基本周期パラメ
ータ候補と前記候補に付随する予測ゲインとを定め、前
記定めた基本周期パラメータ候補のそれぞれを基本とし
て隣接するサブフレーム間の基本パラメータの差が予め
定められた範囲内にある基本周期パラメータ組を構成
し、前記構成されたフレーム全体に渡る基本周期パラメ
ータの組からそれらに付随する予測ゲインをもとに候補
基本周期を抽出することを特徴とする。
A fundamental period coder according to a first aspect of the present invention uses a discrete speech signal with a parameter representing a spectrum envelope, a parameter representing a fundamental period, a parameter representing an excitation source, and a parameter for performing amplitude control. In the speech coding method to express, when a discrete speech signal divided into frames at fixed intervals is input and the basic period parameter is coded for each subframe in which the frame is dispersed into a plurality of sections, In a basic period coder that encodes some of the period parameters by the difference with the basic period parameter of the subframe determined in the past, in the candidate basic period corresponding to each subframe of the frame based on the input speech signal. And a basic period preliminary selection unit that outputs a set, and the subframe of the candidate basic period set output from the basic period preliminary selection unit. From the neighboring fundamental period parameter within a predetermined range with respect to the fundamental period parameter corresponding to the frame, using the input speech signal of the subframe, the spectrum envelope parameter of the subframe, and the parameter representing the excitation source defined in the past. A basic period main selecting unit that determines a period, wherein the basic period preliminary selecting unit uses the input speech signal in a process of obtaining a candidate basic period of a subframe over the entire frame in the basic period preliminary selecting unit. A plurality of basic period parameter candidates for each subframe and a prediction gain associated with the candidate are defined, and the difference between the basic parameters between adjacent subframes based on each of the determined basic period parameter candidates is predetermined. A basic period parameter set within the specified range, and And extracting based on the candidate fundamental period prediction gain associated with them from the set of synchronization parameter.

【0009】第2の発明の基本周期符号化装置は、第1
の発明において、前記基本周期予備選択部が、前記基本
周期予備選択部でフレーム全体に渡るサブフレームの候
補基本周期パラメータを求める過程で、前記入力音声信
号を用いて最大予測ゲインを与えるサブフレームを定
め、前記定まったサブフレーム間において前記入力音声
信号をもとに基本周期パラメータ候補と、前記候補に付
随する予測ゲインとを定め、前記定めた基本周期パラメ
ータ候補のそれぞれを基本として隣接するサブフレーム
の基本パラメータの差が予め定められた範囲内にある基
本周期パラメータ組を構成し、前記構成されたフレーム
全体に渡る基本周期パラメータの組からそれらに付随す
る予測ゲインをもとに候補基本周期を抽出することを特
徴とする。
The basic period coding apparatus of the second invention is the first invention.
In the process of the invention, the basic cycle preliminary selecting unit selects a subframe that gives a maximum prediction gain by using the input speech signal in the process of obtaining a candidate basic cycle parameter of the subframe over the entire frame in the basic cycle preliminary selecting unit. A basic period parameter candidate based on the input speech signal between the determined subframes, and a prediction gain associated with the candidate, and adjacent subframes based on each of the determined basic period parameter candidates. A basic period parameter set in which the difference between the basic parameters is within a predetermined range, and a candidate basic period is set from the set of basic period parameters over the entire configured frame based on the prediction gains associated with them. It is characterized by extracting.

【0010】第3の発明の基本周期符号化装置は、第1
の発明において、前記基本周期本選択部が、過去のサブ
フレームで定まった基本周期から予め定められた範囲内
にある近傍基本周期パラメータの組みを構成し、前記構
成された近傍基本周期パラメータから当該サブフレーム
の入力信号と当該サブフレームのスペクトル包絡パラメ
ータと過去に定めた励振音源を表すパラメータとを用い
て基本周期を決定することを特徴とする。
A basic period coding apparatus according to a third invention is the first invention.
In the invention, the basic cycle main selection unit constitutes a set of neighboring basic cycle parameters within a predetermined range from the basic cycle determined in the past subframe, It is characterized in that the fundamental period is determined by using the input signal of the subframe, the spectrum envelope parameter of the subframe, and the parameter representing the excitation sound source determined in the past.

【0011】第4の発明の基本周期符号化装置は、第1
の発明において、前記基本周期予備選択部が候補基本周
期を複数出力することを特徴とする。
A basic period coding apparatus according to a fourth invention is the first invention.
In the invention, the basic cycle preliminary selecting section outputs a plurality of candidate basic cycles.

【0012】第5の発明の基本周期符号化装置は、第1
の発明において、差分符号化される基本周期に割り当て
られるビット数がサブフレーム毎に異なることを特徴と
する。
According to a fifth aspect of the present invention, there is provided the basic period coding device according to the first aspect.
The invention is characterized in that the number of bits assigned to the basic period to be differentially encoded is different for each subframe.

【0013】第6の発明の基本周期符号化装置は、第1
の発明において、前記入力音声信号から計算される各サ
ブフレーム毎の予測ゲインをもとに当該フレーム或いは
当該サブフレームを予め定められたクラスに分割するモ
ード識別部を備え、前記モード識別部から出力されるク
ラス情報をもとに、差分符号化される基本周期に割り当
てられるビット数をサブフレーム毎に異なるようにする
ことを特徴とする。
According to a sixth aspect of the present invention, there is provided a basic period coding device which comprises:
In the invention, a mode discriminating unit that divides the frame or the subframe into a predetermined class based on a prediction gain for each subframe calculated from the input speech signal is provided, and output from the mode discriminating unit. It is characterized in that the number of bits allocated to the basic period to be differentially encoded is made different for each subframe based on the class information.

【0014】第7の発明の基本周期符号化装置は、第1
の発明において、前記基本周期予備選択部が、隣接する
サブフレーム間の基本パラメータの差が予め定められた
範囲内にあるように構成された複数ラグの組から候補基
本周期を抽出する際に、各ラグに付随する予測ゲインを
用いて前記基本パラメータの組みをより少ない数の組み
に絞り込み、前記絞り込まれた基本パラメータの組みの
中から最も高い基本周期を抽出することを特徴とする。
A basic period encoding apparatus according to a seventh aspect of the invention is the first aspect.
In the invention of, the basic cycle preliminary selection unit, when extracting a candidate basic cycle from a set of a plurality of lags configured so that the difference in basic parameters between adjacent subframes is within a predetermined range, It is characterized in that the set of basic parameters is narrowed down to a smaller number of sets by using a prediction gain associated with each lag, and the highest basic period is extracted from the set of narrowed down basic parameters.

【0015】第8の発明の基本周期符号化装置は、第1
の発明において、前記基本周期予備選択部が、前記基本
周期予備選択部でサブフレームの候補基本周期を構成す
る過程で、前記フレームと当該フレームと更に次フレー
ムの入力音声信号とで定まる予測ゲインをもとに、前フ
レームのサブフレームの一部と当該フレームのサブフレ
ームと更に次フレームのサブフレームの一部という複数
フレーム渡って、隣接するサブフレーム間の基本パラメ
ータの差が予め定められた範囲内にある基本周期パラメ
ータ組を構成し、前記複数フレームに渡って構成された
基本周期パラメータの組から、それらに付随する予測ゲ
インをもとに候補基本周期を抽出することを特徴とす
る。
The basic period coding apparatus according to the eighth invention is the first invention.
In the invention, in the process of the basic cycle preliminary selecting section configuring a candidate basic cycle of a subframe in the basic cycle preliminary selecting section, a prediction gain determined by the frame, the frame, and an input speech signal of the next frame is set. The range of the basic parameter difference between adjacent subframes is a predetermined range over a plurality of frames, that is, a part of the subframe of the previous frame, a subframe of the frame and a part of the subframe of the next frame. And a candidate basic period is extracted from the set of basic period parameters formed over the plurality of frames based on the prediction gains associated with them.

【0016】第9の発明の基本周期符号化装置は、第1
の発明において、前記基本周期予備選択部が、隣接する
サブフレームの基本パラメータ候補から予め定められた
範囲内にある基本周期パラメータのフレーム全体に渡る
組を複数構成し、前記構成された基本周期パラメータの
組から候補基本周期を定める際に、前記構成された基本
パラメータの組み各要素のなかで予め決め閾値を越える
予測ゲインを与える基本周期パラメータを用いて基本周
期を抽出することを特徴とする。
A basic period encoding apparatus according to the ninth invention is the first invention.
In the invention, the basic period preliminary selection unit comprises a plurality of sets of basic period parameters within the predetermined range from the basic parameter candidates of adjacent subframes, and the plurality of sets of basic period parameters are configured. When determining a candidate basic period from the set, the basic period is extracted using a basic period parameter that gives a prediction gain exceeding a predetermined threshold value among the elements of the set of basic parameters.

【0017】[0017]

【作用】いま、第iフレームの入力信号を{s
(n)}、サブフレーム長をLとする。このとき、各
サブフレームnsub=0,・・・,N−1毎に、
Now, the input signal of the i-th frame is {s
i (n)} and the subframe length is L. At this time, for each subframe nsub = 0, ..., N−1,

【0018】 [0018]

【0019】が計算されているものとする。ここでtは
時間ラグ(或いは入力信号の周期)を表す項で、各tに
対する予測ゲインは、
It is assumed that has been calculated. Here, t is a term representing a time lag (or a cycle of the input signal), and the prediction gain for each t is

【0020】 [0020]

【0021】として計算される。尚、Is calculated as still,

【0022】 [0022]

【0023】である。It is

【0024】第1の発明における基本周期予備選択部で
は以下のような作用で処理が実行される。入力音声信号
s(n)を用いて前記第(3)式或いは(4)式を用い
て各サブフレームのラグtnsubに対する予測ゲイン
を定める。次に、各サブフレームにおい
The basic cycle preliminary selection section in the first aspect of the invention executes the processing by the following actions. Using the input speech signal s (n), the prediction gain for the lag t nsub of each sub-frame is determined using the equation (3) or (4). Then in each subframe

【0025】 [0025]

【0026】なる関係を満足する。以下、このような関
係を満足するラグの組{l}を求めるのをトラッキン
グと呼ぶことにする。また、ここで、{l}を求める
のに
The following relationship is satisfied. Hereinafter, obtaining a set of lags {l i } satisfying such a relationship will be referred to as tracking. Also, here, in order to obtain {l i },

【0027】 [0027]

【0028】 未来に位置するサブフレームのラグを繰り返して使って
処理することができる。最後に、上式を満足させる{l
}の内、
[0028] It can be processed by repeatedly using lags of subframes located in the future. Finally, satisfy the above equation {l
i } of

【0029】 [0029]

【0030】或いは、Alternatively,

【0031】 [0031]

【0032】なる累積予測ゲインを最大化させるラグ組
imaxを選択し、それを基本周期本選択部に送る。
第1の発明における基本周期本選択部では、音声のスペ
クトル包絡を表す線形予測係数{α(i)}と過去の励
振音源{v(n),n=0,...,L−1}とを用
いて、基本予備選択部から出力されるlimaxの当該
サブフレ
The lag set l imax that maximizes the cumulative prediction gain is selected and sent to the basic period main selection unit.
In the basic period main selection unit according to the first aspect of the present invention, the linear prediction coefficient {α (i)} representing the spectrum envelope of the voice and the past excitation sound source {v (n), n = 0 ,. . . , L c −1} and the sub-frame of l imax output from the basic preliminary selection section.

【0033】 [0033]

【0034】 [0034]

【0035】 [0035]

【0036】ここで、Here,

【0037】 [0037]

【0038】 トで差分符号化できる。[0038] Differential encoding.

【0039】なお、上式においては、ラグの値tとして
整数値を仮定しているが、例えばK.Kroon an
d B.S.Atalによる文献(4):“Pitch
Predictiors With High Te
mporal Resolution,”Proc.I
EEE Inc.Conf.on.Acoustic
s,Speech and Signal Proce
ssing,pp.661−664 1990.”で述
べられているような小数値を用いることもできる。この
場合、小数値は整数にインデックスニングされ、差分符
号化はインデックスの差に対して適用される。小数ラグ
を用いる場合一般に演算量が増加するため、基本周期パ
ス候補を計算する際には整数ラグだけを探索し、候補基
本周期抽出をする際に小数ラグを探索する構成を取るこ
とができる。
In the above equation, an integer value is assumed as the lag value t. Kroon an
d B. S. Reference by Atal (4): "Pitch
Predictors With High Te
general Resolution, "Proc.I
EEE Inc. Conf. on. Acoustic
s, Speech and Signal Proce
ssing, pp. 661-664 1990. It is also possible to use fractional values such as those described in "." In this case, the fractional values are indexed to integers and differential encoding is applied to the index difference. Therefore, it is possible to adopt a configuration in which only an integer lag is searched when calculating a basic period path candidate and a decimal lag is searched when extracting a candidate basic period.

【0040】第2の発明における基本周期予備選択部で
は、まず第1の発明と同様に各サブフレームにおいて各
ラグに対する予測ゲインを計算する。次に、サブフレー
ムの
In the basic cycle preliminary selecting section in the second invention, first, similarly to the first invention, the prediction gain for each lag in each subframe is calculated. Then in the subframe

【0041】 [0041]

【0042】なる関係を満足する。そして最後に、上式
を満足させる{l}の内、
The following relation is satisfied. And finally, of {l i } satisfying the above equation,

【0043】 [0043]

【0044】なる累積予測ゲインを最大化させるラグの
組limaxを選択し、それを基本周期本選択部に送
る。第2の発明は、第1の発明と比較して少ない演算量
で、同等の特性を与えるという効果を持つ。
The lag set l imax for maximizing the cumulative prediction gain is selected and sent to the basic cycle main selection section. The second invention has an effect of giving the same characteristics with a smaller amount of calculation as compared with the first invention.

【0045】第3の発明における基本周期本選択部で
は、
In the basic period main selection section in the third invention,

【0046】 [0046]

【0047】 いる。[0047] There is.

【0048】 [0048]

【0049】 できる[0049] it can

【0050】第4の発明は、基本周期本選択部に送るラ
グの組{l}(k>1)を複数出力する基本周期予備
選択部と、前記基本周期予備選択部から出力される複数
ラグの予め定められた範囲の近傍にあるラグに対して上
記(9)式に示した選択を行なう本選択部とを持つもの
で、単一候補に絞られた上記の発明と比較してより最適
に近い基本周期パラメータを求めることがでるという効
果を持つ。
In a fourth aspect of the present invention, a basic cycle preliminary selecting section for outputting a plurality of sets of lags {l k } (k> 1) to be sent to the basic cycle preliminary selecting section, and a plurality of basic cycle preliminary selecting sections for outputting the basic cycle preliminary selecting section. The present invention has a main selection unit that performs the selection shown in the above formula (9) for lags near a predetermined range of lags, and compared with the above invention narrowed down to a single candidate. This has the effect that a near-optimal basic period parameter can be obtained.

【0051】第5の発明は、差分符号化に要するビット
数をサブフレーム毎に異なるようにするもので、前記W
c並びに前記WDはサブフレームの関数となる。例え
ば、基本周期をサブフレーム毎に{8,3,7,3,
3}ビットで符号化する場合、WDはWD(nsub)
={256,8,128,8,8}となり、それに伴い
もW(nsub)={8,8,16,8,8}な
どとなる。また、このWの値を変化させる場合、当該
サブフレームから未来のサブフレームへトラックン とすることができる。
A fifth aspect of the present invention makes the number of bits required for differential encoding different for each subframe.
c and the WD are functions of subframes. For example, the basic cycle is {8, 3, 7, 3, for each subframe.
When encoded with 3} bits, WD is WD (nsub)
= {256,8,128,8,8}, and accordingly W c also becomes W c (nsub) = {8,8,16,8,8}. In addition, when changing the value of W c , the track Can be

【0052】第6の発明は、サブフレーム毎の差分符号
化に要するビット数を、当該フレーム或いは当該サブフ
レームの特性の応じて異なるようにするもので、当該フ
レーム或いは当該サブフレームの特性としてはサブフレ
ーム毎の予測ゲインの幾何平均、或いはサブフレーム毎
のRMSの幾何平均などの情報を用いることができる。
予め定められたようにクラス分けを行ない、そのクラス
の応じて、差分符号のためのビット数並びに前記W
びに前記WDもサブフレームを割り当てるもの 幾何平均
A sixth aspect of the present invention makes the number of bits required for differential encoding for each subframe different according to the characteristics of the frame or the subframe. The characteristics of the frame or the subframe are as follows. Information such as the geometric mean of the prediction gain for each subframe or the geometric mean of the RMS for each subframe can be used.
Classifying is performed in a predetermined manner, and the number of bits for the differential code and the W c and the WD are also assigned subframes according to the class. Geometric mean

【0053】 [0053]

【0054】の値によって当該フレームを次のような予
め定められたクラスに分類する。
The frame is classified into the following predetermined classes according to the value of.

【0055】 0 ≦Pgn<0.25 CLASS0 0.25≦Pgn<0.5 CLASS1 0.5 ≦Pgn<0.75 CLASS2 0.75≦Pgn< CLASS3 この分類にしたがって、差分符号化に割り当てるビット
数を次のように切替える。
0 ≤ Pgn <0.25 CLASS0 0 0.25 ≤ Pgn <0.5 CLASS1 0.5 ≤ Pgn <0.75 CLASS2 0.75 ≤ Pgn <CLASS3 According to this classification, the number of bits allocated to differential encoding Are switched as follows.

【0056】 WD(nsub=0,...,3){0,0,0,0,0} for CLASS0 WD(nsub=0,...,3){8,3,7,3,3} for CLASS1 WD(nsub=0,...,3){8,3,5,4,4} for CLASS2 WD(nsub=0,...,3){8,4,4,4,4} for CLASS3 このビットの割り当てに応じて、W(nsub)も変
化させることも可能である。本発明により当該フレーム
の入力音声の特性に応じた基本周期の符号化が可能とな
る。
WD (nsub = 0, ..., 3) {0,0,0,0,0} for CLASS0 WD (nsub = 0, ..., 3) {8,3,7,3,3 } For CLASS1 WD (nsub = 0, ..., 3) {8,3,5,4,4} for CLASS2 WD (nsub = 0, ..., 3) {8,4,4,4,4 } For CLASS3 It is also possible to change W c (nsub) according to the allocation of this bit. According to the present invention, it becomes possible to encode the basic cycle according to the characteristics of the input voice of the frame.

【0057】第7の発明は、上記第1及び第2の発明で
述べたlimaxを求める際に、予測ゲインの累積誤差
ではなく、累積誤差の最大値PG(imax)から予め
定められた値以内にある累積誤差を与えるラグの組の
内、最小ラグをとるものを基本周期予備選択部として出
力するもの。本発明により倍ピッチを抽出する誤りを防
ぐことができる。
A seventh aspect of the invention is a predetermined value from the maximum cumulative error PG (imax), not the cumulative error of the prediction gain, when obtaining l imax described in the first and second aspects of the invention. Out of the set of lags that give a cumulative error within, the one with the smallest lag is output as the basic period preliminary selection unit. The present invention can prevent an error in extracting a double pitch.

【0058】第8の発明は、上記基本予備選択部の手順
を当該フレームの音声信号に適用するだけでなく、前フ
レームあるいは次フレームのサブフレームの音声信号を
用いてlimaxを求めるものである。例えば、ラグト
ラッキングlを求める式
An eighth aspect of the invention not only applies the procedure of the basic preliminary selection section to the audio signal of the frame, but also obtains l imax using the audio signal of the subframe of the previous frame or the next frame. . For example, an expression for obtaining the lag tracking l i

【0059】 [0059]

【0060】そして、累積を求める式Then, the formula for calculating the accumulation

【0061】 [0061]

【0062】において、nsubの値としてnsub=
{−1,0,1,...,N−1,N}を取るようにす
る。このとき、nsub=−1は前フレームのN−1番
目のサブフレームの予測ゲインを用いることを示し、n
sub=Nは次フレームの0番目のサブフレームの予測
ゲインを用いることを示す。本発明はフレーム間の不連
続を軽減させる効果をもつ。
In, the value of nsub is nsub =
{-1, 0, 1 ,. . . , N-1, N}. At this time, nsub = −1 indicates that the prediction gain of the N−1th subframe of the previous frame is used, and nsub = n
sub = N indicates that the prediction gain of the 0th subframe of the next frame is used. The present invention has the effect of reducing discontinuity between frames.

【0063】第9の発明は、上記第1の発明で述べたl
imaxを求める際に、予め定めておいた予測ゲインの
閾値gnthを越える予測ゲインに対してのみ累積予測
ゲイン累積値を計算するようにする。即ち、
The ninth invention is the same as the first invention described above.
When imax is calculated, the cumulative prediction gain cumulative value is calculated only for the prediction gain exceeding the predetermined prediction gain threshold gn th . That is,

【0064】 [0064]

【0065】本発明により、フレーム内で周期構造が変
化しているような場合、周期性がよりはっきりしている
サブフレームに重みを掛けて候補基本周期が抽出できる
という効果を持つ。
According to the present invention, in the case where the periodic structure is changed in a frame, the subframe having more distinct periodicity can be weighted to extract the candidate basic period.

【0066】尚、ここまでは累積予測ゲインとして第3
式或いは第4式なるものを用いたが、他にもサブフレー
ム毎の予測ゲインの算術平均
Up to this point, the third is the cumulative prediction gain.
The formula or the formula 4 was used, but the arithmetic mean of the prediction gains for each subframe is also used.

【0067】 [0067]

【0068】など、入力音声信号の周期性の程度を表す
ものであれば何でもよい。
Anything can be used as long as it indicates the degree of periodicity of the input audio signal.

【0069】以上で本発明の作用に関する説明を終え
る。
This completes the description of the operation of the present invention.

【0070】[0070]

【実施例】図1は第1の発明の基本周期符号化装置の一
実施例を示すブロック図である。入力端子10より入力
した音声信号はフレームバッファ20に蓄えられる。線
形予測分析部30はフレームバッファ20より当該フレ
ームの入力音声信号を供給し、文献(4):斉藤、中田
著、音声情報処理の基礎、などでよく知られた線形予測
分析により、例えばLSPのような線形予測パラメータ
1z{lsp(i)}を求め、それをLPC量子化部
50とLPCメモリ31とLPC補間部32とに出力す
る。LPC量子化器50はLPC分析部30から供給さ
れるLSPパラメータ{lsp(i)}に対し、同じ
く前記文献(4)で記述されている量子化法を適用して
定められる量子化LSP{qlsp(i)}を求め、
量子化LPC補間部52と量子化LPCメモリ51とに
出力する。また、量子化の際に求めるインデックス情報
は出力端子14へ送られる。LPC補間部32では、L
PCメモリ31にある前フレームのLSP{lsp
k−1(i)}とLPC分析部30とから供給される当
該フレームのLSP{lsp(i)}とを線形補間
し、当該サブフレームnsubの線形予測係数{α
nsub(i)}を求め、それを基本周期予備選択部4
0と基本周期本選択部60と励振音源探索部70とゲイ
ン探索部90とに供給する。量子化LPC補間部52で
は、量子化LPCメモリ51から供給される前フレーム
の量子化LSP{qlspk−1(i)}とLPC量子
化部50とか供給される当該フレームの量子化されたL
SP{qlsp(i).}とを線形補間し当該サブフ
レームnsubの線形予測係数{βns ub(i)}を
基本周期本選択部60と励振音源探索部70とゲイン探
索部90とへ出力する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an embodiment of the basic period coding apparatus of the first invention. The audio signal input from the input terminal 10 is stored in the frame buffer 20. The linear predictive analysis unit 30 supplies the input audio signal of the frame from the frame buffer 20, and performs linear predictive analysis well known in the literature (4): Saito, Nakata, Basics of audio information processing, for example, for LSP. Such a linear prediction parameter 1z {lsp k (i)} is obtained and output to the LPC quantizing unit 50, the LPC memory 31, and the LPC interpolating unit 32. The LPC quantizer 50 applies the quantization method described in the above-mentioned document (4) to the LSP parameter {lsp k (i)} supplied from the LPC analysis unit 30 to determine the quantized LSP { I asked the qlsp k (i)},
It outputs to the quantized LPC interpolation unit 52 and the quantized LPC memory 51. Further, the index information obtained at the time of quantization is sent to the output terminal 14. In the LPC interpolator 32,
LSP of previous frame in PC memory 31 {lsp
k−1 (i)} and the LSP {lsp k (i)} of the frame supplied from the LPC analysis unit 30 are linearly interpolated to obtain the linear prediction coefficient {α of the subframe nsub.
nsub (i)} is obtained, and the basic cycle preliminary selection unit 4
0, the fundamental period main selection unit 60, the excitation source search unit 70, and the gain search unit 90. In the quantized LPC interpolator 52, the quantized LSP {qlsp k−1 (i)} of the previous frame supplied from the quantized LPC memory 51 and the quantized L of the frame supplied by the LPC quantizer 50.
SP {qlsp k (i). } Is linearly interpolated and the linear prediction coefficient {β ns ub (i)} of the subframe nsub is output to the basic period main selection unit 60, the excitation source search unit 70, and the gain search unit 90.

【0071】ここで、基本周期予備選択部40の構成を
図2に基づいて説明する。まず、重みつけ部41では、
フレームバッファ20から供給される入力音声信号をL
PC補間部32から供給される線形予測係数{α
nsub(i)}を用いて次のように変換する。
Here, the structure of the basic cycle preliminary selecting section 40 will be described with reference to FIG. First, in the weighting unit 41,
The input audio signal supplied from the frame buffer 20 is set to L
The linear prediction coefficient {α supplied from the PC interpolation unit 32
nsub (i)} is used for conversion as follows.

【0072】 [0072]

【0073】ここで、v(i)とu(i)は任意の係数
で、例えば、v(i)=0.9、u(i)=0.4
などと選択される。次に、予測ゲイン計算部42で重み
つけされた入力音声信号{s(n)}を{s(n)}
として前記作用で述べた手順により予測ゲインを計算す
る。即ち、
Here, v (i) and u (i) are arbitrary coefficients, for example, v (i) = 0.9 i , u (i) = 0.4 i.
And so on. Next, the input speech signal {s w (n)} weighted by the prediction gain calculation unit 42 is {s (n)}.
The prediction gain is calculated by the procedure described in the above operation. That is,

【0074】 [0074]

【0075】基本周期パス候補構成部43では、まず、
最大値予測ゲインを与える周期tma :”Techniques for improvin
g the performance of CELP
type speech coderes,“Pro
c.IEEE Inc.Conf.on.Acoust
ics,Speech and Signal Pro
cessing,pp.205−2081991.”で
述べられているような、tmaxnsubの約数並びに
倍数から フレームの状態や当該サブフレーム最大予測ゲインの大
きさに応じて変動させることも可能である。例えば、前
フレームの最大予測ゲインが0.3より小さいときT
=0.5,0.3より大きいときはT=0.75とす
ることができ、ま 0.3,T=0.75,otherwizeなどとす
る。このようにして求めた、各サブフレ
In the basic cycle path candidate construction unit 43, first,
Cycle tma that gives the maximum value prediction gain : "Techniques for improvin
g the performance of CELP
type speech coderes, "Pro
c. IEEE Inc. Conf. on. Accoust
ics, Speech and Signal Pro
cessing, pp. 205-2081991. From the divisors and multiples of tmax nsub , as described in It is also possible to change it according to the state of the frame and the magnitude of the subframe maximum prediction gain. For example, when the maximum prediction gain of the previous frame is smaller than 0.3, T h
= 0.5, 0.3, it is possible to set T h = 0.75. 0.3, T h = 0.75, and the like otherwize. Each subframe obtained in this way

【0076】 [0076]

【0077】なる関係を満足するようなラグの組を求め
る。このようにして求まった{l}は候補基本周期抽
出部44へ出力される。候補基本周期抽出部44では、
基本周期パス候補構成部より供給される{l}の内か
ら、次式の累積予測ゲインを最大化されるラグの組l
imaxを選択し、それを基本周期本選択部60へ出力
する。
A set of lags satisfying the relation is obtained. The {l i } thus obtained is output to the candidate basic period extraction unit 44. In the candidate basic cycle extraction unit 44,
From {l i } supplied from the basic period path candidate configuration unit, a set of lags l for maximizing the cumulative prediction gain of the following equation:
imax is selected and output to the basic period main selection unit 60.

【0078】 [0078]

【0079】以上で基本周期予備選択部40の説明を終
える。図1に戻って、基本周期本選択60では、フレー
ムバッファ20から供給される当該サブフレームの入力
音声信号{s(n−nsub×L)}と、過去の励振音
源メモリ80から供給される励振音源信号{v(n)}
と、LPC補間部32から供給される当該サブフレーム
のLPC係数{αnsub(i)}と、量子化LPC補
間部から供給される当該サブフレームの量子化LPC係
数{βnsub(i)}とを用いて、基本周期予備選択
This completes the explanation of the basic cycle preliminary selection section 40. Returning to FIG. 1, in the basic cycle main selection 60, the input audio signal {s (n-nsub × L)} of the subframe supplied from the frame buffer 20 and the excitation supplied from the past excitation sound source memory 80. Sound source signal {v (n)}
And the LPC coefficient {α nsub (i)} of the subframe supplied from the LPC interpolator 32, and the quantized LPC coefficient {β nsub (i)} of the subframe supplied from the quantized LPC interpolator. Basic cycle preselection using

【0080】 [0080]

【0081】 [0081]

【0082】 [0082]

【0083】ここでWhere

【0084】 [0084]

【0085】 源{e(n)}は励振音源探索部70へとゲイン探索部
90とへ出力される。励振音源探索部70は、予め蓄え
られた音源コードブックCにある音源コードベクトルc
(n)から、次式を最小化するものcimax(n)
を選択する。
[0085] The source {e (n)} is output to the excitation sound source searching unit 70 and the gain searching unit 90. The excitation sound source search unit 70 uses the sound source code vector c in the sound source code book C stored in advance.
From i (n), the one that minimizes the following equation c imax (n)
Select.

【0086】 [0086]

【0087】選択された音源コードベクトルはゲイン探
索部90へ、そのインデックスimaxは出力端子12
へ出力される。また、新たに定まった励振音源信号:g
e(n)+gimax(n)は励振音源メモリ8
0へ送られる。ゲイン探索部90は、予め蓄えられてい
るゲインコードブックGからゲインコードベクトル(g
(k),g(k))から次式を最小にするもの(g
(kmax),g(kmax))を選択する。
The selected sound source code vector is sent to the gain search section 90, and its index imax is the output terminal 12
Is output to. Also, the newly determined excitation sound source signal: g
e e (n) + g v c imax (n) is the excitation sound source memory 8
Sent to 0. The gain search unit 90 uses the gain code vector G
From ( e (k), g v (k)), which minimizes the following equation (g
e (kmax), g v (kmax)).

【0088】 [0088]

【0089】求められたゲインコードベクトルは励振音
源メモリ80へ、そのインデックスkmaxは出力端子
13へ出力される。励振音源メモリ80では、g(k
max)e(n)+g(kmax)cimax(n)
を過去の励振音源として蓄える。尚、励振音源メモリ8
0は次のように更新される。
The obtained gain code vector is output to the excitation sound source memory 80, and its index kmax is output to the output terminal 13. In the excitation sound source memory 80, g e (k
max) e (n) + g v (kmax) c imax (n)
Is stored as a past excitation source. The excitation sound source memory 8
0 is updated as follows.

【0090】 v(n−L)=v(n),n=L,...,L−1 (43) v(L−L+n)=g(kmax)e(n)+g(kmax)cim ax (n),n=0,...,L−1 (4 4) 図3は第2の発明の基本周期符号化装置における基本周
期予備選択部の実施例の一つである。本実施例における
基本予備選択部は次のように動作する。予測ゲイン計算
部42では前記実施例で説明したのと同様な手順で各サ
ブフレームの予 計算部42から供給される予測ゲインの内最大予測ゲイ
ンを与えるサブフレーム 力する。基本周期パス候補構成部243では、まず、最
大予測ゲイン抽出部24
V (n−L) = v (n), n = L ,. . . , L c −1 (43) v (L c −L + n) = g e (kmax) e (n) + g v (kmax) c im ax (n), n = 0 ,. . . , L-1 (44) FIG. 3 is one of the embodiments of the basic period preliminary selection section in the basic period encoding device of the second invention. The basic preliminary selection section in this embodiment operates as follows. The prediction gain calculation unit 42 uses the same procedure as described in the above embodiment to predict each subframe. Subframe giving the maximum prediction gain of the prediction gains supplied from the calculation unit 42 Force In the basic cycle path candidate configuration unit 243, first, the maximum prediction gain extraction unit 24

【0091】 [0091]

【0092】 る。このように定めた{l}は候補基本周期抽出部4
4へ出力される。候補基本周期抽出部44では、基本周
期パス候補構成部より供給される{l}の内から、次
式の累積予測ゲインを最大化させるラグの組limax
を選択し、それを基本周期本選択部60へ出力する。
[0092] It The {l i } determined in this way is the candidate basic period extraction unit 4
4 is output. In the candidate basic cycle extraction unit 44, from among {l i } supplied from the basic cycle path candidate configuration unit, a set of lags l imax that maximizes the cumulative prediction gain of the following equation.
Is output to the basic period main selection unit 60.

【0093】 [0093]

【0094】図4は第3の発明における基本周期本選択
部の一実施例である。まず、第1サブフレームにおける
動作を説明する。候補ラグ構成部362では、図1の基
本周期予備選択部40から供給されるトラッキングl
imaxから第1サブフレームに対
FIG. 4 shows an embodiment of the basic period main selection section in the third invention. First, the operation in the first subframe will be described. In the candidate lag constructing unit 362, the tracking l supplied from the basic cycle preliminary selecting unit 40 of FIG.
Pair from imax to the first subframe

【0095】 [0095]

【0096】 られる。距離計算部361では候補ラグ構成部362か
ら供給されるラグ集合
[0096] To be In the distance calculation unit 361, the lag set supplied from the candidate lag configuration unit 362

【0097】 [0097]

【0098】計算されたD(o)は基本周期ラグ選択部
363へ送られる。基本周期ラグ選択部では前記{D
(o)}の中からその最大値を与えるomaxを求め、
候補ラグ 図1の出力端子11とへ出力される。励振音源構成部3
64では基本周期ラグ選 とから、
The calculated D (o) is sent to the basic period lag selector 363. In the basic period lag selector, the above {D
From (o)}, find omax that gives the maximum value,
Candidate lag It is output to the output terminal 11 of FIG. Excitation sound source configuration unit 3
In 64, basic cycle lag selection And from

【0099】 [0099]

【0100】を構成し、{ge(n)}を図1の励振
音源探索部70へ出力する。次に、第2サブフレーム以
降の動作を説明する。第1サブフレームと本質的に異な
るのは候補ラグ構成部362の処理だけである。候補ラ
グ構成部362では、基本周期 近傍
And outputs {g e e (n)} to the excitation source search unit 70 of FIG. Next, the operation after the second subframe will be described. Only the processing of the candidate lag constructing unit 362 is essentially different from the first subframe. In the candidate lag configuration unit 362, the basic cycle Neighborhood

【0101】 [0101]

【0102】 }並びにそれに対応する{e(n),n=0,...,
L×N−1}が決定されて行く。
[0102] } And the corresponding {e (n), n = 0 ,. . . ,
L × N−1} is decided.

【0103】図5(a)(b)は第4の発明における基
本周期予備選択部と基本周期本選択部の一実施例であ
る。本実施例のおける基本周期抽出部440の候補周期
抽出部444では、基本パス候補構成部43から供給さ
れるラグの組{l}から、累積予測ゲイン
FIGS. 5A and 5B show an embodiment of the basic cycle preliminary selecting section and the basic cycle main selecting section in the fourth invention. In the candidate cycle extraction unit 444 of the basic cycle extraction unit 440 in this embodiment, the cumulative prediction gain is calculated from the set of lags {l i } supplied from the basic path candidate configuration unit 43.

【0104】 [0104]

【0105】 M−1}を選択し基本周期本選択部460へ出力する。
基本周期本選択部460の候補ラグ構成部462では、
基本周期予備選択部440から供給される複数ラ
[0105] M-1} is selected and output to the basic period main selection unit 460.
In the candidate lag configuration unit 462 of the basic cycle main selection unit 460,
A plurality of rasters supplied from the basic cycle preliminary selection unit 440

【0106】 [0106]

【0107】 部462から供給[0107] Supplied from part 462

【0108】 [0108]

【0109】 振音源構成部364とへ出力される。[0109] It is output to the vibration source configuration unit 364.

【0110】図6は、第5の発明における基本周期予備
選択部と基本周期本選択部の実施例を示す。基本周期予
備選択部540の基本周期パス候補構成部543では、
候補範囲テーブル501から、サブフレーム毎のトラッ
キング探索範囲{W(ns
FIG. 6 shows an embodiment of the basic cycle preliminary selecting section and the basic cycle main selecting section in the fifth invention. In the basic cycle path candidate configuration unit 543 of the basic cycle preliminary selection unit 540,
From the candidate range table 501, the tracking search range {W c (ns

【0111】 [0111]

【0112】なる関係を満足する。このようにしてトラ
ッキングされたラグの組lは候補基本周期抽出部44
へ出力される。候補基本周期抽出部44では前記
{l}の中から、次式の累積予測ゲインを最大化させ
るラグの組limaxを選択し、それを基本周期本選択
部560の候補ラグ構成部562へ出力する。
The following relation is satisfied. The lag set l i tracked in this way is stored in the candidate basic period extraction unit 44.
Is output to. The candidate basic cycle extraction unit 44 selects a lag set l imax that maximizes the cumulative prediction gain of the following expression from the {l i } and sends it to the candidate lag configuration unit 562 of the basic cycle main selection unit 560. Output.

【0113】 [0113]

【0114】 成する際に、候補範囲テーブル501からサブフレーム
毎の範囲{WD(nsub)}を入力して、
[0114] At the time of generation, the range {WD (nsub)} for each subframe is input from the candidate range table 501,

【0115】 [0115]

【0116】が満足されるようにする。距離計算部36
1は候補ラグ構成部562から供給さ
[0116] is satisfied. Distance calculator 36
1 is supplied from the candidate lag component 562

【0117】 [0117]

【0118】を計算する。他の処理はこれまでの実施例
で述べたものと同じである。
Calculate Other processes are the same as those described in the above embodiments.

【0119】図7は第6の発明における基本周期予備選
択部と基本周期本選択部の実施例を示す。フレームモー
ド識別部601においては、まず、基本周期予備選択部
640の予測ゲイン計算部42から出力される予測ゲイ
ンから各サブフレームの最大
FIG. 7 shows an embodiment of the basic cycle preliminary selecting section and the basic cycle main selecting section in the sixth invention. In the frame mode identification unit 601, first, from the prediction gain output from the prediction gain calculation unit 42 of the basic cycle preliminary selection unit 640, the maximum of each subframe is calculated.

【0120】 [0120]

【0121】或いは、算術平均Alternatively, the arithmetic mean

【0122】 [0122]

【0123】を計算し、最後にその値によって当該フレ
ームのクラスを判定する。クラスの分類には、例えば次
の表のようなものが採用される。
Is calculated, and finally the class of the frame is judged by the value. For example, the following table is used for class classification.

【0124】 0 ≦Pgn<0.25 CLASS0 0.25≦Pgn<0.5 CLASS1 0.5 ≦Pgn<0.75 CLASS2 0.75≦Pgn< CLASS3 尚、上記分類においては、各サブフレームにおけるrm
s値も併用することができ、 (0 ≦Pgn<0.25)∩(0≦rms<500) CLASS0 (0.25≦Pgn<0.5 )∩(500≦rms<900) CLASS1 (0.5 ≦Pgn<0.75)∩(800≦rms<1200) CLASS2 (0.75≦Pgn) ∩(1000≦rms) CLASS3 のようにすることもできる。クラスインデックスcld
exは出力端子602と基本周期予備選択部640の基
本周期パス候補構成部643と基本周期本選択部660
の候補ラグ構成部662とへ出力される。基本周期パス
候補構成部643では、予測ゲイン計算部42から供給
される各サブフレームの予測ゲインと、前記フレームモ
ード識別部から供給されるクラスインデックスで決まる
当該サブフレームにおけるトラッキンゲ箭囲W(ns
ub)とをもとにトラッキング{l}を出力する。こ
こで、トラッキングの探索範囲Wは、次のように定ま
っているとする。
0 ≦ Pgn <0.25 CLASS0 0.25 ≦ Pgn <0.5 CLASS1 0.5 ≦ Pgn <0.75 CLASS2 0.75 ≦ Pgn <CLASS3 In the above classification, rm in each subframe.
The s value can be used together, and (0 ≤ Pgn <0.25) ∩ (0 ≤ rms <500) CLASS0 (0.25 ≤ Pgn <0.5) ∩ (500 ≤ rms <900) CLASS1 (0. 5 ≤ Pgn <0.75) ∩ (800 ≤ rms <1200) CLASS2 (0.75 ≤ Pgn) ∩ (1000 ≤ rms) CLASS3. Class index cld
ex is an output terminal 602, a basic cycle path candidate configuration unit 643 of the basic cycle preliminary selection unit 640, and a basic cycle main selection unit 660.
Is output to the candidate lag constructing unit 662. In the basic cycle path candidate configuration unit 643, the tracking gain range W c (ns) in the subframe determined by the prediction gain of each subframe supplied from the prediction gain calculation unit 42 and the class index supplied from the frame mode identification unit.
ub) and tracking {l i } are output. Here, it is assumed that the tracking search range W c is determined as follows.

【0125】 W(nsub=0,,,,3){0,0,0,0,0} for CLASS0 W(nsub=0,,,,3){256,8,128,8,8} for CLASS1 W(nsub=0,,,,3){256,8,32,8,8} for CLASS2 W(nsub=0,,,,3){256,16,16,16,16} for CLASS3 W c (nsub = 0 ,,,, 3) {0,0,0,0,0} for CLASS0 W c (nsub = 0 ,,,, 3) {256,8,128,8,8 } For CLASS1 W c (nsub = 0 ,,,, 3) {256,8,32,8,8} for CLASS2 W c (nsub = 0 ,,,, 3) {256,16,16,16,16 } For CLASS3

【0126】 [0126]

【0127】なる関係を満足することになる。このよう
にして定まったトラッキングの組lは候補基本周期抽
出部44へ出力される。候補基本周期抽出部44は、前
記{l}の中から、次式の累積予測ゲイン
The following relationship is satisfied. The tracking set l i determined in this way is output to the candidate basic period extraction unit 44. The candidate basic cycle extraction unit 44 calculates the cumulative prediction gain of the following expression from among {l i }

【0128】 [0128]

【0129】を最も大きくするlimaxを求め、基本
周期本選択部660の候補ラグ構成部662へ出力す
る。候補ラグ構成部662では、距離計算部361へ出
力するラグの レームのクラスインデックスを参照して、例えば、 WD(nsub=0,...,3){0,0,0,0,0} for CLASS0 WD(nsub=0,...,3){128,4,64,4,4} for CLASS1 WD(nsub=0,...,3){128,4,16,4,4} for CLASS2 WD(nsub=0,...,3){128,8,8,8,8} for CLASS3 なるテーブルで決まる{WD(nsub)}と、前記基
本周期予備選択部640
The value l imax that maximizes is obtained and output to the candidate lag constructing unit 662 of the basic period main selecting unit 660. The candidate lag constructing unit 662 selects the lag to be output to the distance calculating unit 361. For example, WD (nsub = 0, ..., 3) {0,0,0,0,0} for CLASS0 WD (nsub = 0, ..., 3) {128 , 4,64,4,4} for CLASS1 WD (nsub = 0, ..., 3) {128,4,16,4,4} for CLASS2 WD (nsub = 0, ..., 3) {128 , WD (nsub)} determined by a table for FOR CLASS3 and the basic cycle preliminary selecting section 640.

【0130】 [0130]

【0131】 [0131]

【0132】 [0132]

【0133】を計算する。その他の処理はこれまでの実
施例で述べたものと同じである。
Calculate Other processes are the same as those described in the above embodiments.

【0134】図8は第7の発明における基本周期予備選
択部の実施例である。基本周期予備選択部740の候補
基本周期抽出部744では、まず、基本周波パス候補構
成部 それぞれに対して次式の累積予測ゲイン
FIG. 8 shows an embodiment of the basic cycle preliminary selecting section in the seventh invention. In the candidate basic cycle extraction unit 744 of the basic cycle preliminary selection unit 740, first, the fundamental frequency path candidate configuration unit Cumulative prediction gain of

【0135】 [0135]

【0136】を計算し、次にその最大値PGmaxから
予め定められた範囲内にあるラグの組
Is calculated and then a set of lags within a predetermined range from its maximum value PG max.

【0137】 [0137]

【0138】 を基本周期本選択部60へ出力する。尚、上式でTth
は任意の閾値で例えば0.9などと取れる。
[0138] Is output to the basic period main selection unit 60. In the above equation, T th
Is an arbitrary threshold and can be taken as 0.9, for example.

【0139】図9は第8における基本周期予備選択部の
実施例を示す。本実施例では、入力端子10から供給さ
れる入力信号{s(n)}は2フレームバッファ820
へ蓄えられる。2フレームバッファ820から当該フレ
ームの入力音声信号はLPC分析部30へ、当該フレー
ムと次フレームの2フレーム分の入力音声信号は基本周
期予備選択部840の重み付け部841へ供給される。
重み付け部841では、2フレームバッファ820から
供給される(1+1/N)フレーム分の入力音声信号を
LPC補間部32から供給される線形予測係数{α
nsub(i)}を用いて次のように変換する。
FIG. 9 shows an eighth embodiment of the basic cycle preliminary selecting section. In this embodiment, the input signal {s (n)} supplied from the input terminal 10 is the 2-frame buffer 820.
Is stored in. The input audio signal of the frame is supplied from the 2-frame buffer 820 to the LPC analysis section 30, and the input audio signals of the two frames of the frame and the next frame are supplied to the weighting section 841 of the basic cycle preliminary selection section 840.
In the weighting unit 841, the linear prediction coefficient {α supplied from the LPC interpolation unit 32 is applied to the input audio signal of (1 + 1 / N) frames supplied from the two-frame buffer 820.
nsub (i)} is used for conversion as follows.

【0140】 [0140]

【0141】上式、nsub=N−1とnsub=Nの
線形予測係数は同一として計算する。予測ゲイン計算部
842では、重み付け部841から供給される{s
(n)}から、(N+1)サブフレーム分の予測ゲイ
The linear prediction coefficients of nsub = N-1 and nsub = N in the above equation are calculated as the same. In the prediction gain calculation unit 842, {s supplied from the weighting unit 841
Prediction gain for (N + 1) subframes from w (n)}

【0142】 [0142]

【0143】を前記作用で説明した第3式或は第4式に
基づいて計算する。基本周期パス候補構成部843で
は、まず、nsub={0,...,N}の各サブフレ
ームに対 本周期メモリ845から供給される、候補基本周期抽出
部で定まった前フレーム 出力される。候補基本周期抽出部844は、基本周期パ
ス候補構成部より供給される{l}の内から、次式の
累積予測ゲインを最大化させるラグの組limaxを選
択し、それを基本周期本選択部60へ、第N−1サブフ
レームに対応するラグ
Is calculated based on the third or fourth equation described in the above operation. In the basic cycle path candidate configuration unit 843, first, nsub = {0 ,. . . , N} for each subframe Previous frame supplied from the cycle memory 845 and determined by the candidate basic cycle extraction unit Is output. The candidate basic cycle extraction unit 844 selects a lag set l imax that maximizes the cumulative prediction gain of the following expression from {l i } supplied from the basic cycle path candidate configuration unit, and selects it as a basic cycle book. To the selection unit 60, the lag corresponding to the (N-1) th sub-frame

【0144】 [0144]

【0145】 なので削除してある。[0145] So I deleted it.

【0146】図10は第9の発明における基本周期予備
選択部の実施例の一つである。基本周期予備選択部94
0の基本周期抽出部944では、基本周期パス候補構成
部43から入力される{l}の内から累積予測ゲイン
を計算して所望のラグの組みを選択する際、閾値メモリ
945から予測ゲインの閾値gnthを入力し、その閾
値を越える予測ゲインに対してのみ累積値を計算するよ
うになっている。即ち、
FIG. 10 shows one embodiment of the basic cycle preliminary selecting section in the ninth invention. Basic cycle preliminary selection unit 94
The basic cycle extraction unit 944 of 0 calculates the cumulative prediction gain from {l i } input from the basic cycle path candidate configuration unit 43, and selects a desired lag set from the threshold memory 945. The threshold value gn th is input and the cumulative value is calculated only for the prediction gain exceeding the threshold value. That is,

【0147】 [0147]

【0148】基本周期本選択部60へ出力されるラグの
組みlimaxは上式を最大化するものである。
The set of lags l imax output to the basic period main selection unit 60 maximizes the above equation.

【0149】図11は第9発明の基本周期予備選択部の
他の実施例を示すブロック図である。本実施例の整数ラ
グ予測ゲイン計算部1042では、これまで述べた予測
ゲイン
FIG. 11 is a block diagram showing another embodiment of the basic cycle preliminary selecting section of the ninth invention. In the integer lag prediction gain calculation unit 1042 of this embodiment, the prediction gains described so far are described.

【0150】 [0150]

【0151】の計算において、ラグtを整数値に限定し
ている。基本周期パス候補構成部1043では、整数予
測ゲイン計算部1042で計算された整数ラグの予測ゲ
インをもとに、例えば、まず最大予測ゲインを与える周
期tmaxnsubとその最大値
In the calculation of, the lag t is limited to an integer value. Based on the prediction gain of the integer lag calculated by the integer prediction gain calculation unit 1042, the basic cycle path candidate configuration unit 1043, for example, first gives a cycle tmax nsub that gives the maximum prediction gain and its maximum value.

【0152】 [0152]

【0153】なる関係を満足するようなラグの組を求め
る。このようにして求まった{l}は小数ラグ予測ゲ
イン計算部1045と候補基本周期抽出部1044とへ
出力される。小数ラグ予測ゲイン計算部では、基本周期
パス候補構成部1043から供給されるラグの組
{l}の予め定められた近傍の小数ラグの予測ゲイン
を計算する。小数ラグtfracに対応する予測ゲイン
は、例えばtfrax=t+t/D(Dは整数値)
のときは、次のように計算できる。
A set of lags that satisfies the following relationship is obtained. The {l i } thus obtained is output to the decimal lag prediction gain calculation unit 1045 and the candidate basic period extraction unit 1044. The fractional lag prediction gain calculation unit calculates a prediction gain of a fractional lag in the vicinity of a predetermined lag set {l i } supplied from the basic cycle path candidate configuration unit 1043. The prediction gain corresponding to the decimal lag t frac is, for example, t frax = t i + t f / D (D is an integer value)
In case of, it can be calculated as follows.

【0154】 [0154]

【0155】ここでh()は文献4にあるポリフェイズ
フィルタのインパルス応答である。候補基本周期抽出部
1044では、基本周期パス候補構成部から供給される
{l}と、小数ラグ予測ゲイン計算部1045から供
給される{l}の近傍の小数ラグ予測ゲインとをもと
に、{l}の近傍から次式の累積予測ゲインを最大
Here, h () is the impulse response of the polyphase filter described in Reference 4. In the candidate basic cycle extraction unit 1044, based on {l i } supplied from the basic cycle path candidate configuration unit and the decimal lag prediction gain near {l i } supplied from the decimal lag prediction gain calculation unit 1045. The maximum cumulative prediction gain of the following equation from the neighborhood of {l i }

【0156】 [0156]

【0157】ここでWはあらかじめ定められた定数で
ある。
Here, W b is a predetermined constant.

【0158】尚、これまでの実施例においては、全サブ
フレームを差分符号化する構成を説明したが、サブフレ
ームを幾つかの紐に分割し、その組ごとに差分符号化す
る構成を取ることもできる。この構成は、フレーム内の
入力音声信号の基本周期が大きく変動している場合に効
果を出す。
In the above embodiments, the configuration in which all subframes are differentially encoded has been described. However, a configuration in which the subframes are divided into several strings and the differential encoding is performed for each set is adopted. You can also This configuration is effective when the fundamental period of the input audio signal in the frame is largely changed.

【0159】[0159]

【発明の効果】以上説明したように、本発明では、基本
周期を差分符号化する構成において、基本周期予備選択
部でフレーム全体に渡る歪みを評価した最適トラッキン
グを行ない、基本周期本選択部では前記基本周期予備選
択部から供給される候補基本周期の近傍から基本周期を
求め差分符号化を行なうことにより、フレーム全体で最
適な基本周期を低ビットレートで符号化できる基本周期
符号化装置を提供できるという効果がある。
As described above, according to the present invention, in the configuration in which the basic period is differentially encoded, the basic period preliminary selection unit performs the optimum tracking by evaluating the distortion over the entire frame, and the basic period main selection unit performs the tracking. Provided is a basic cycle coding device capable of coding an optimum basic cycle for a whole frame at a low bit rate by obtaining a basic cycle from the vicinity of a candidate basic cycle supplied from the basic cycle preliminary selection unit and performing differential coding. The effect is that you can do it.

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

【図1】本発明の一実施例を含む音声符号化装置のブロ
ック図である。
FIG. 1 is a block diagram of a speech coding apparatus including an embodiment of the present invention.

【図2】第1の発明における基本周期予備選択部のブロ
ック図である。
FIG. 2 is a block diagram of a basic cycle preliminary selection unit in the first invention.

【図3】第2の発明における基本周期予備選択部のブロ
ック図である。
FIG. 3 is a block diagram of a basic cycle preliminary selection unit in the second invention.

【図4】第3の発明における基本周期本選択部のブロッ
ク図である。
FIG. 4 is a block diagram of a basic period main selection unit in a third invention.

【図5】第4の発明における基本周期予備選択部と基本
周期本選択部のブロック図である。
FIG. 5 is a block diagram of a basic cycle preliminary selection section and a basic cycle main selection section in a fourth invention.

【図6】第5の発明における基本周期予備選択部と基本
周期本選択部のブロック図である。
FIG. 6 is a block diagram of a basic cycle preliminary selection section and a basic cycle main selection section in a fifth invention.

【図7】第6の発明における基本周期予備選択部と基本
周期本選択部のブロック図である。
FIG. 7 is a block diagram of a basic period preliminary selection unit and a basic period main selection unit according to a sixth aspect of the present invention.

【図8】第7の発明における基本周期予備選択部のブロ
ック図である。
FIG. 8 is a block diagram of a basic cycle preliminary selection unit in a seventh invention.

【図9】第8の発明における基本周期予備選択部のブロ
ック図である。
FIG. 9 is a block diagram of a basic cycle preliminary selection unit in an eighth invention.

【図10】第9の発明における基本周期予備選択部のブ
ロック図である。
FIG. 10 is a block diagram of a basic cycle preliminary selection unit in a ninth invention.

【図11】第9の発明における基本周期予備選択部のブ
ロック図である。
FIG. 11 is a block diagram of a basic cycle preliminary selection unit in the ninth invention.

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

10 入力端子 11 基本周期出力端子 12 音源コードブックインデックス出力端子 13 ゲインコードブックインデックス出力端子 14 量子化LPCインデックス出力端子 20 フレームバッファ 30 LPC分析部 31 LPCメモリ 32 LPC補間部 40、440、540、640、740、840、94
0、1040 基本周期予備選択部 41、841 重み付け部 42、842 予測ゲイン計算部 43、243、543、643、843、1043 基
本周期パス候補構成部 44、744、844、944、1044 候補基本周
期抽出部 50 LPC量子化部 51 量子化LPCメモリ 52 量子化LPC補間部 60、460、560、660 基本周期本選択部 70 励振音源探索部 80 励振音源メモリ 90 ゲイン探索部 242 最大予測ゲイン抽出部 361 距離計算部 362、462、562、662 候補ラグ構成部 363 基本周期ラグ選択部 364 励振音源構成部 365 基本周期ラグメモリ 501 候補範囲テーブル 601 フレームモード識別部 601 クラスインデックス出力端子 820 2フレームバッファ 845 候補基本周期メモリ 945 閾値メモリ 1042 整数ラグ予測ゲイン計算部 1045 小数ラグ予測ゲイン計算部
10 Input Terminal 11 Basic Period Output Terminal 12 Sound Source Codebook Index Output Terminal 13 Gain Codebook Index Output Terminal 14 Quantization LPC Index Output Terminal 20 Frame Buffer 30 LPC Analysis Section 31 LPC Memory 32 LPC Interpolation Section 40, 440, 540, 640 , 740, 840, 94
0, 1040 Basic cycle preliminary selection section 41, 841 Weighting section 42, 842 Prediction gain calculation section 43, 243, 543, 643, 843, 1043 Basic cycle path candidate configuration section 44, 744, 844, 944, 1044 Candidate basic cycle extraction Part 50 LPC quantizer 51 Quantized LPC memory 52 Quantized LPC interpolator 60, 460, 560, 660 Basic period main selection unit 70 Excited sound source search unit 80 Excited sound source memory 90 Gain search unit 242 Maximum predicted gain extraction unit 361 Distance Calculation unit 362, 462, 562, 662 Candidate lag configuration unit 363 Basic period lag selection unit 364 Excitation sound source configuration unit 365 Basic period lag memory 501 Candidate range table 601 Frame mode identification unit 601 Class index output terminal 820 2 Frame buffer 845 Candidate basic circumference Memory 945 threshold memory 1042 integer lag prediction gain calculator 1045 fractional lag prediction gain calculator

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 離散音声信号をスペクトル包絡を表すパ
ラメータと基本周期を表すパラメータと励振音源を表す
パラメータと振幅制御を行なうパラメータとで表現する
音声符号化方式で、一定間隔のフレームに分割された離
散音声信号を入力し、前記フレームを複数区間に分割し
たサブフレーム毎に基本周期パラメータを符号化する際
に、前記サブフレームの基本周期パラメータの幾つかを
過去に定まるサブフレームの基本周期パラメータとの差
分で符号化する基本周期符号化装置において、前記入力
音声信号をもとに当該フレームの各サブフレームに対応
する候補基本周期の組を出力する基本周期予備選択部
と、前記基本周期予備選択部から出力される候補基本周
期の組の当該サブフレームに対応する基本周期パラメー
タに対する予め定められた範囲にある近傍基本周期パラ
メータから当該サブフレームの入力音声信号と当該サブ
フレームのスペクトル句絡パラメータと過去に定めた励
振音源を表すパラメータとを用いて基本周期を決定する
基本周期本選択部とを有し、前記基本周期予備選択部
が、前記基本周期予備選択部でフレーム全体に渡るサブ
フレームの候補基本周期を求める過程で、前記入力音声
信号を用いて各サブフレーム毎に複数の基本周期パラメ
ータ候補と前記候補に付随する予測ゲインとを定め、前
記定めた基本周期パラメータ候補のそれぞれを基本とし
て隣接するサブフレーム間の基本パラメータの差が予め
定められた範囲内にある基本周期パラメータ組を構成
し、前記構成されたフレーム全体に渡る基本周期パラメ
ータの組からそれらに付随する予測ゲインをもとに候補
基本周期を抽出することを特徴とする基本周期符号化装
置。
1. A speech coding method in which a discrete speech signal is represented by a parameter representing a spectrum envelope, a parameter representing a fundamental period, a parameter representing an excitation source, and a parameter for performing amplitude control, and divided into frames at regular intervals. When a discrete speech signal is input and the basic period parameter is encoded for each subframe obtained by dividing the frame into a plurality of sections, some of the basic period parameters of the subframe are set as basic period parameters of the subframe determined in the past. In the basic cycle coding apparatus for coding with the difference of, a basic cycle preliminary selecting section that outputs a set of candidate basic cycles corresponding to each subframe of the frame based on the input speech signal, and the basic cycle preliminary selection Of the set of candidate basic periods output from the sub-frame Basic cycle main selection unit that determines a basic cycle from the input basic speech signal of the subframe, the spectral phrase parameter of the subframe, and the parameter representing the excitation sound source determined in the past from the neighboring basic cycle parameters in the range In the process in which the basic period preliminary selection unit obtains a candidate basic period of a subframe over the entire frame by the basic period preliminary selection unit, a plurality of basic units for each subframe are obtained using the input audio signal. A period parameter candidate and a prediction gain associated with the candidate are defined, and a difference in the basic parameter between adjacent subframes based on each of the defined basic period parameter candidates is within a predetermined range. , And the prediction gains associated with them from the set of fundamental period parameters over the constructed frame. Basic cycle encoding apparatus and extracts the candidate base period and.
【請求項2】 前記基本周期予備選択部が、前記基本周
期予備選択部でフレーム全体に渡るサブフレームの候補
基本周期パラメータを求める過程で、前記入力音声信号
を用いて最大予測ゲインを与えるサブフレームを定め、
前記定まったサブフレームにおいて前記入力音声信号を
もとに基本周期パラメータ候補と前記候補に付随する予
測ゲインとを定め、前記定めた基本周期パラメータ候補
のそれぞれを基本として隣接するサブフレーム間の基本
パラメータの差が予め定められた範囲内にある基本周期
パラメータ組を構成し、前記構成されたフレーム全体に
渡る基本周期パラメータの組からそれらに付随する予測
ゲインをもとに候補基本周期を抽出することを特徴とす
る請求項1記載の基本周期符号化装置。
2. A subframe that gives a maximum prediction gain using the input speech signal in the process of the basic period preliminary selection unit obtaining candidate basic period parameters of a subframe over the entire frame in the basic period preliminary selection unit. And
In the fixed subframe, a basic period parameter candidate and a prediction gain associated with the candidate are determined based on the input speech signal, and a basic parameter between adjacent subframes based on each of the determined basic period parameter candidates. A basic period parameter set whose difference is within a predetermined range, and extracting a candidate basic period from the set of basic period parameters over the configured frame based on prediction gains associated with them. The basic period coder according to claim 1, wherein:
【請求項3】 前記基本周期本選択部が、過去のサブフ
レームで定まった基本周期から予め定められた範囲内に
ある近傍基本周期パラメータの組みを構成し、前記構成
された近傍基本周期パラメータから当該サブフレームの
入力信号と当該サブフレームのスペクトル包絡パラメー
タと過去に定めた励振音源を表すパラメータとを用いて
基本周期を決定することを特徴とする請求項1記載の基
本周期符号化装置。
3. The basic cycle main selection unit configures a set of neighboring basic cycle parameters within a predetermined range from a basic cycle determined in a past subframe, and selects from the configured neighboring basic cycle parameters. The basic period coding apparatus according to claim 1, wherein the basic period is determined using an input signal of the subframe, a spectrum envelope parameter of the subframe, and a parameter representing an excitation source determined in the past.
【請求項4】 前記基本周期予備選択部が候補基本周期
を複数出力することを特徴とする基本周期符号化装置。
4. The basic period coding apparatus, wherein the basic period preliminary selecting section outputs a plurality of candidate basic periods.
【請求項5】 差分符号化される基本周期に割り当てら
れるピット数がサブフレーム毎に異なることを特徴とす
る請求項1記載の基本周期符号化装置。
5. The basic period encoding apparatus according to claim 1, wherein the number of pits assigned to the basic period to be differentially encoded is different for each subframe.
【請求項6】 前記入力音声信号から計算される各サブ
フレーム毎の予測ゲインをもとに当該フレーム或いは当
該サブフレームを予め定められたクラスに分割するモー
ド識別部を備え、前記モード識別部から出力されるクラ
ス情報をもとに、差分符号化される基本周期に割り当て
られるピット数をサブフレーム毎に異なるようにするこ
とを特徴とする請求項1記載の基本周期符号化装置。
6. A mode identifying section for dividing the frame or the subframe into predetermined classes based on a prediction gain for each subframe calculated from the input speech signal. 2. The basic period coding apparatus according to claim 1, wherein the number of pits assigned to the basic period to be differentially encoded is made different for each subframe based on the output class information.
【請求項7】 前記基本周期予備選択部が、隣接するサ
ブフレーム間の基本パラメータの差が予め定められた範
囲内にあるように構成された複数ラグの組から候補基本
周期を抽出する際に、各ラグに付随する予測ゲインを用
いて前記基本パラメータの組みをより少ない数の組みに
絞り込み、前記絞り込まれた基本パラメータの組みの中
から最も高い基本周期を抽出することを特徴とする請求
項1記載の基本周期符号化装置。
7. The basic cycle preliminary selecting unit extracts a candidate basic cycle from a set of a plurality of lags configured such that a difference in basic parameter between adjacent subframes is within a predetermined range. , The prediction gain associated with each lag is used to narrow down the set of basic parameters into a smaller number of sets, and the highest basic period is extracted from the set of narrowed down basic parameters. 1. The basic period coder according to 1.
【請求項8】 前記基本周期予備選択部が、前記基本周
期予備選択部でサブフレームの候補基本周期を構成する
過程で、前フレームと当該フレームと更に次フレームの
入力音声信号とで定まる予測ゲインをもとに、前フレー
ムのサブフレームの一部と当該フレームのサブフレーム
と更に次フレームのサブフレームの一部という複数フレ
ーム渡って、隣接するサブフレーム間の基本パラメータ
の差が予め定められた範囲内にある基本周期パラメータ
組を構成し、前記複数フレームに渡って構成された基本
周期パラメータの組から、それらに付随する予測ゲイン
をもとに候補基本周期を抽出することを特徴とする請求
項1記載の基本周期符号化装置。
8. A predictive gain determined by a preceding frame, an input speech signal of the next frame, and an input speech signal of a next frame in a process in which the basic cycle preliminary selecting section configures a candidate basic cycle of a subframe by the basic cycle preliminary selecting section Based on the above, the difference in the basic parameter between adjacent subframes is predetermined over a plurality of frames including a part of the subframe of the previous frame, a subframe of the frame and a part of the subframe of the next frame. A basic period parameter set within a range is formed, and a candidate basic period is extracted from a set of basic period parameters formed over the plurality of frames, based on prediction gains associated with them. Item 1. The basic period encoding device according to item 1.
【請求項9】 前記基本周期予備選択部が、隣接するサ
ブフレームの基本パラメータ候補から予め定められた範
囲内にある基本周期パラメータのフレーム全体に渡る組
を複数構成し、前記構成された基本周期パラメータの組
から候補基本周期を定める際に、前記構成された基本パ
ラメータの組みの各要素のなかで予め決め閾値を越える
予測ゲインを与える基本周期パラメータを用いて基本周
期を抽出することを特徴とする請求項1記載の基本周期
符号化装置。
9. The basic cycle preliminary selection unit configures a plurality of sets of basic cycle parameters within a predetermined range from basic parameter candidates of adjacent subframes, and sets the configured basic cycle. When determining a candidate basic cycle from a set of parameters, the basic cycle is extracted using a basic cycle parameter that gives a prediction gain exceeding a predetermined threshold value among the elements of the set of basic parameters configured as described above. The basic period encoding device according to claim 1.
JP4319195A 1992-10-15 1992-10-15 Basic period encoder Expired - Fee Related JP2800599B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4319195A JP2800599B2 (en) 1992-10-15 1992-10-15 Basic period encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4319195A JP2800599B2 (en) 1992-10-15 1992-10-15 Basic period encoder

Publications (2)

Publication Number Publication Date
JPH06131000A true JPH06131000A (en) 1994-05-13
JP2800599B2 JP2800599B2 (en) 1998-09-21

Family

ID=18107478

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4319195A Expired - Fee Related JP2800599B2 (en) 1992-10-15 1992-10-15 Basic period encoder

Country Status (1)

Country Link
JP (1) JP2800599B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0844398A (en) * 1994-08-02 1996-02-16 Nec Corp Voice encoding device
WO2000025302A1 (en) * 1998-10-27 2000-05-04 Matsushita Electric Industrial Co., Ltd. Celp voice encoder
WO2001052241A1 (en) * 2000-01-11 2001-07-19 Matsushita Electric Industrial Co., Ltd. Multi-mode voice encoding device and decoding device
WO2002059876A1 (en) * 2001-01-25 2002-08-01 Sony Corporation Data processing apparatus
WO2002059877A1 (en) * 2001-01-25 2002-08-01 Sony Corporation Data processing device
WO2012102149A1 (en) * 2011-01-25 2012-08-02 日本電信電話株式会社 Encoding method, encoding device, periodic feature amount determination method, periodic feature amount determination device, program and recording medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04115300A (en) * 1990-09-05 1992-04-16 Nippon Telegr & Teleph Corp <Ntt> Pitch predicting and encoding method for voice
JPH04271399A (en) * 1991-02-27 1992-09-28 Sharp Corp Voice pitch prediction device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04115300A (en) * 1990-09-05 1992-04-16 Nippon Telegr & Teleph Corp <Ntt> Pitch predicting and encoding method for voice
JPH04271399A (en) * 1991-02-27 1992-09-28 Sharp Corp Voice pitch prediction device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0844398A (en) * 1994-08-02 1996-02-16 Nec Corp Voice encoding device
US6804639B1 (en) 1998-10-27 2004-10-12 Matsushita Electric Industrial Co., Ltd Celp voice encoder
WO2000025302A1 (en) * 1998-10-27 2000-05-04 Matsushita Electric Industrial Co., Ltd. Celp voice encoder
US7577567B2 (en) 2000-01-11 2009-08-18 Panasonic Corporation Multimode speech coding apparatus and decoding apparatus
US7167828B2 (en) 2000-01-11 2007-01-23 Matsushita Electric Industrial Co., Ltd. Multimode speech coding apparatus and decoding apparatus
WO2001052241A1 (en) * 2000-01-11 2001-07-19 Matsushita Electric Industrial Co., Ltd. Multi-mode voice encoding device and decoding device
WO2002059877A1 (en) * 2001-01-25 2002-08-01 Sony Corporation Data processing device
WO2002059876A1 (en) * 2001-01-25 2002-08-01 Sony Corporation Data processing apparatus
US7269559B2 (en) 2001-01-25 2007-09-11 Sony Corporation Speech decoding apparatus and method using prediction and class taps
US7467083B2 (en) 2001-01-25 2008-12-16 Sony Corporation Data processing apparatus
WO2012102149A1 (en) * 2011-01-25 2012-08-02 日本電信電話株式会社 Encoding method, encoding device, periodic feature amount determination method, periodic feature amount determination device, program and recording medium
CN103329199A (en) * 2011-01-25 2013-09-25 日本电信电话株式会社 Encoding method, encoding device, periodic feature amount determination method, periodic feature amount determination device, program and recording medium
JP5596800B2 (en) * 2011-01-25 2014-09-24 日本電信電話株式会社 Coding method, periodic feature value determination method, periodic feature value determination device, program

Also Published As

Publication number Publication date
JP2800599B2 (en) 1998-09-21

Similar Documents

Publication Publication Date Title
US5778334A (en) Speech coders with speech-mode dependent pitch lag code allocation patterns minimizing pitch predictive distortion
JP3196595B2 (en) Audio coding device
US6385576B2 (en) Speech encoding/decoding method using reduced subframe pulse positions having density related to pitch
JPH06222797A (en) Voice encoding system
JPH09281998A (en) Voice coding device
JPH056199A (en) Voice parameter coding system
US6768978B2 (en) Speech coding/decoding method and apparatus
JP2000163096A (en) Speech coding method and speech coding device
JP4550176B2 (en) Speech coding method
JP2002268686A (en) Voice coder and voice decoder
JP2800599B2 (en) Basic period encoder
JP3353852B2 (en) Audio encoding method
JP3435310B2 (en) Voice coding method and apparatus
JP2538450B2 (en) Speech excitation signal encoding / decoding method
JPH0764600A (en) Pitch encoding device for voice
JP3153075B2 (en) Audio coding device
JP3299099B2 (en) Audio coding device
JP3144284B2 (en) Audio coding device
JPH08185199A (en) Voice coding device
JP3471889B2 (en) Audio encoding method and apparatus
JP3471542B2 (en) Audio coding device
JP2001142499A (en) Speech encoding device and speech decoding device
JP3192051B2 (en) Audio coding device
JPH08320700A (en) Sound coding device
JP3229784B2 (en) Audio encoding / decoding device and audio decoding 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: 19980609

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

Free format text: PAYMENT UNTIL: 20070710

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080710

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090710

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees