JP3321933B2 - Pitch detection method - Google Patents

Pitch detection method

Info

Publication number
JP3321933B2
JP3321933B2 JP26059693A JP26059693A JP3321933B2 JP 3321933 B2 JP3321933 B2 JP 3321933B2 JP 26059693 A JP26059693 A JP 26059693A JP 26059693 A JP26059693 A JP 26059693A JP 3321933 B2 JP3321933 B2 JP 3321933B2
Authority
JP
Japan
Prior art keywords
pitch
data
band
voiced
sound
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP26059693A
Other languages
Japanese (ja)
Other versions
JPH07114396A (en
Inventor
淳 松本
正之 西口
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 JP26059693A priority Critical patent/JP3321933B2/en
Publication of JPH07114396A publication Critical patent/JPH07114396A/en
Application granted granted Critical
Publication of JP3321933B2 publication Critical patent/JP3321933B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To synthesize into natural voices even from special voices, such as husky voices and hoarse voices without changing entire band into UV. CONSTITUTION:The powder deviation and peak on the low region side of signal vectors are detected (S21, S22) when the result of judgment (S13) of V(vocal sound)/UV(unvocal sound) of respective bands obtd. by using the pitch obtd. by a pitch search (S11) and amplitude evaluation (S12) on the time base, such as self-correlation, is the entire band UV (S14) in pitch extraction with the voice analyzing synthesis system for executing a frequency analysis. The max. value near this peak is detected (S24) and the pitch P is calculated (S25) in accordance with the respective positions in the peak and max. frequency axes. The V/UV is then judged again (S27).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、入力音声信号をブロッ
ク単位で区分して、区分されたブロックを単位として音
声分析処理を行う際の入力音声信号からピッチを検出す
るピッチ検出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pitch detection method for dividing an input speech signal into blocks and detecting a pitch from the input speech signal when speech analysis processing is performed in units of the divided blocks.

【0002】[0002]

【従来の技術】オーディオ信号(音声信号や音響信号を
含む)の時間領域や周波数領域における統計的性質と人
間の聴感上の特性を利用して信号圧縮を行うような符号
化方法が種々知られている。この符号化方法としては、
大別して時間領域での符号化、周波数領域での符号化、
分析合成符号化等が挙げられる。
2. Description of the Related Art There are known various encoding methods for compressing an audio signal (including a voice signal and an acoustic signal) by utilizing a statistical property in a time domain and a frequency domain and a characteristic of human perception. ing. As this encoding method,
Coding in the time domain, coding in the frequency domain,
Analysis synthesis coding.

【0003】音声信号等の高能率符号化の例として、M
BE(Multiband Excitation: マルチバンド励起)符号
化、SBE(Singleband Excitation:シングルバンド励
起)符号化、ハーモニック(Harmonic)符号化、SBC
(Sub-band Coding:帯域分割符号化)、LPC(Linear
Predictive Coding: 線形予測符号化)、あるいはDC
T(離散コサイン変換)、MDCT(モデファイドDC
T)、FFT(高速フーリエ変換)等において、スペク
トル振幅やそのパラメータ(LSPパラメータ、αパラ
メータ、kパラメータ等)のような各種情報データを量
子化する場合に、従来においてはスカラ量子化を行うこ
とが多い。
[0003] As an example of high-efficiency encoding of a speech signal or the like, M
BE (Multiband Excitation) coding, SBE (Singleband Excitation) coding, Harmonic coding, SBC
(Sub-band Coding: band division coding), LPC (Linear
Predictive Coding: Linear predictive coding) or DC
T (Discrete Cosine Transform), MDCT (Modified DC
Conventionally, when quantizing various information data such as spectrum amplitude and its parameters (LSP parameter, α parameter, k parameter, etc.) in T), FFT (Fast Fourier Transform), scalar quantization is conventionally performed. There are many.

【0004】上記PARCOR法等の音声分析・合成系
では、励振源を切り換えるタイミングは時間軸上のブロ
ック(フレーム)毎であるため、同一フレーム内では有
声音と無声音とを混在させることができず、結果として
高品質な音声は得られなかった。
In the speech analysis / synthesis system such as the PARCOR method, the timing of switching the excitation source is for each block (frame) on the time axis, so that voiced and unvoiced sounds cannot be mixed in the same frame. As a result, high-quality voice was not obtained.

【0005】これに対して、上記MBE符号化において
は、1ブロック(フレーム)内の音声に対して、周波数
スペクトルの各ハーモニクス(高調波)や2〜3ハーモ
ニクスをひとまとめにした各バンド(帯域)毎に、又は
固定の帯域幅(例えば300〜400Hz)で分割された
各バンド毎に、そのバンド中のスペクトル形状に基づい
て有声音/無声音判別(V/UV判別)を行っているた
め、音質の向上が認められる。この各バンド毎のV/U
V判別は、主としてバンド内のスペクトルがいかに強く
ハーモニクス構造を有しているかを見て行っている。
[0005] On the other hand, in the MBE coding, each band (band) in which each harmonic (harmonic) of the frequency spectrum and 2-3 harmonics are grouped together for speech in one block (frame). For each band or for each band divided by a fixed bandwidth (for example, 300 to 400 Hz), voiced / unvoiced sound discrimination (V / UV discrimination) is performed based on the spectral shape in the band, so that sound quality is Improvement is recognized. V / U for each band
The V discrimination is mainly performed by observing how strongly the spectrum in the band has a harmonic structure.

【0006】上記有声音の波形は一般に周期的構造を有
しており、この基本周期をピッチ周期、その逆数をピッ
チ周波数という。このピッチを入力音声信号から検出あ
るいは抽出することは、一般の音声符号化処理、特に音
声を分析し合成する音声分析合成において重要とされ
る。音声分析合成におけるピッチのデータとしては、ピ
ッチ周期をサンプル数で表したいわゆるピッチラグを用
いることが多い。
The waveform of the voiced sound generally has a periodic structure. The basic period is called a pitch period, and the reciprocal thereof is called a pitch frequency. Detecting or extracting this pitch from an input speech signal is important in general speech coding processing, particularly in speech analysis and synthesis for analyzing and synthesizing speech. A so-called pitch lag in which a pitch cycle is represented by the number of samples is often used as pitch data in voice analysis synthesis.

【0007】[0007]

【発明が解決しようとする課題】ところで、一般的に音
声信号のピッチを抽出する場合、その自己相関もしくは
LPC(線形予測符号化)残差信号の自己相関のピーク
を観測することで、かなり正確な推定が行えるが、いわ
ゆるかすれ声やしわがれ声等の特殊な音声においては、
調波構造が乱れており、時間軸上で求めたピッチを有声
音/無声音(V/UV)の判別に用いると、全バンド
(帯域)において無声音(UV)と判別されてしまうこ
とがある。特に上記MBE符号化においては、その利点
としての、同一時刻に有声音/無声音(V/UV)が共
存する、という状態が再現できなくなってしまうことが
ある。
By the way, when the pitch of a speech signal is generally extracted, the peak of the auto-correlation or the auto-correlation of an LPC (linear predictive coding) residual signal is observed, so that it is very accurate. Can be estimated, but in special voices such as so-called faint and wrinkled voices,
The harmonic structure is disturbed, and if the pitch obtained on the time axis is used for discrimination between voiced sound and unvoiced sound (V / UV), it may be judged as unvoiced sound (UV) in all bands (bands). In particular, in the MBE coding described above, the advantage that voiced / unvoiced sounds (V / UV) coexist at the same time may not be reproduced.

【0008】本発明は、このような実情に鑑みてなされ
たものであり、かすれ声やしわがれ声等の特殊な音声に
ついても全てのバンドにおいて無声音(UV)となるこ
とを防止し、自然な音声が合成し得るようなピッチ検出
方法の提供を目的とする。
The present invention has been made in view of the above circumstances, and prevents a special voice such as a faint voice or a wrinkled voice from being unvoiced (UV) in all bands, and has a natural voice. It is an object of the present invention to provide a pitch detection method that can be synthesized.

【0009】[0009]

【課題を解決するための手段】本発明に係るピッチ検出
方法は、入力音声信号を時間軸上でブロック単位で区分
し、この区分された各ブロックの信号毎に音声の基本周
期に相当するピッチを検出するピッチ検出方法におい
て、この区分されたブロック内の信号のスペクトルにつ
いての低域側のパワー偏在及びピークを検出する工程
と、この検出されたピーク近傍の極大値を検出する工程
と、上記検出されたピークの位置と上記極大値の位置と
に基づいてピッチを検出する工程とを有することによ
り、上述した課題を解決する。
According to a pitch detection method of the present invention, an input audio signal is divided into blocks on a time axis, and a pitch corresponding to a basic period of a sound is assigned to each of the divided blocks. In the pitch detection method for detecting the step of detecting the power unevenness and peak on the low frequency side of the spectrum of the signal in the divided block, and the step of detecting a local maximum near the detected peak, The above-described problem is solved by including a step of detecting a pitch based on the position of the detected peak and the position of the maximum value.

【0010】ここで、このようなピッチ検出は、自己相
関等の時間軸上での処理によりピッチが捉えきれないと
きのみ、すなわち、上記区分されたブロックを複数の帯
域に分割し、分割された各帯域毎に有声音か無声音かを
判別して、全帯域が無声音と判別されたときのみ、行う
ようにしてもよい。
[0010] Here, such pitch detection is performed only when the pitch cannot be captured due to processing on the time axis such as autocorrelation, that is, the above-mentioned divided block is divided into a plurality of bands, and the divided blocks are divided. A determination may be made for each band as to whether it is a voiced sound or an unvoiced sound, and only when all the bands are determined to be unvoiced.

【0011】また、本発明に係るピッチ検出方法が適用
される音声高能率符号化方法としては、マルチバンドエ
クサイテイション(MBE)を用いた音声分析/合成方
法が挙げられる。このマルチバンド励起符号化において
は、上記ブロック毎に複数の帯域に分割し、分割された
各帯域毎にV(有声音)/UV(無声音)を判別し、こ
れらの帯域毎に判別されたV/UVに応じて、Vと判別
された部分は正弦波等の合成により有声音を合成し、U
Vと判別された部分はノイズ信号の周波数成分を変形処
理することにより無声音を合成している。
[0011] A high-efficiency voice coding method to which the pitch detection method according to the present invention is applied includes a voice analysis / synthesis method using multi-band excitation (MBE). In this multi-band excitation coding, the block is divided into a plurality of bands for each block, V (voiced sound) / UV (unvoiced sound) is determined for each of the divided bands, and V determined for each of these bands is determined. According to / UV, the portion determined as V synthesizes a voiced sound by synthesizing a sine wave or the like, and U
The portion determined to be V synthesizes an unvoiced sound by transforming the frequency component of the noise signal.

【0012】[0012]

【作用】音声スペクトルの低域側情報を用いてピッチ検
出を行っているため、自己相関等の時間軸上の処理では
ピッチを捕捉できなかった場合でも高精度にピッチ検出
が行える。
Since the pitch is detected using the low-frequency side information of the voice spectrum, the pitch can be detected with high accuracy even if the pitch cannot be acquired by the processing on the time axis such as the autocorrelation.

【0013】[0013]

【実施例】先ず、かすれ声やしわがれ声等の特殊な音声
の場合のピッチ検出について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, pitch detection in the case of a special voice such as a faint voice or a wrinkle voice will be described.

【0014】周波数分析により音声のスペクトルを算出
した場合、有声部(Voiced Part )では、図1に示すよ
うに、ピッチの同期して基本周波数の整数倍の位置にピ
ークが現れ、また全体のエンベロープがフォルマント
(F1 、F2 、F3 )を有する構造を表すようになる。
これに対して無声部(Unvoiced Part )では、図2に示
すように、ピッチ成分は現れず、フォルマント構造も不
明確である。
When a voice spectrum is calculated by frequency analysis, a peak appears in a voiced part (Voiced Part) at an integer multiple of the fundamental frequency in synchronization with a pitch, as shown in FIG. Represents a structure having formants (F 1 , F 2 , F 3 ).
On the other hand, in an unvoiced part, no pitch component appears and the formant structure is unclear, as shown in FIG.

【0015】しかしながら、図3に示すように、フォル
マント構造が明確であるにもかかわらず、ピッチすなわ
ち基本周波数が現れないような音声も存在する。
However, as shown in FIG. 3, there are some voices in which the pitch, that is, the fundamental frequency does not appear even though the formant structure is clear.

【0016】ここで問題となるのは、ピッチ抽出を時間
軸上でより正確に行うためには、フォルマント成分を排
除した上で、例えばLPC分析等により、解析を行うた
め、上記図3のような場合は、ピッチ抽出時には上記図
2の無声部の場合と同じように見えてしまうことであ
る。このような場合には、正確なピッチが得られず、そ
の後のV/UV(有声音/無声音)判断において、全て
のバンド(帯域)についてUV(無声音)と評価されて
しまうことが多い。
The problem here is that, in order to perform the pitch extraction more accurately on the time axis, the formant component is excluded and the analysis is performed by, for example, LPC analysis. In such a case, when the pitch is extracted, it looks the same as in the case of the unvoiced part in FIG. In such a case, an accurate pitch cannot be obtained, and all bands (bands) are often evaluated as UV (unvoiced sound) in the subsequent V / UV (voiced / unvoiced sound) determination.

【0017】しかしながら、上記図3のような場合に
は、局所的にV(有声音)となる部分(例えば図中のA
の部分)が含まれているため、何らかの手段により上記
図2の状態と上記図3の状態とを差を検出し、新たなピ
ッチを再抽出することが必要とされる。
However, in the case of FIG. 3 described above, a portion which is locally V (voiced sound) (for example, A in the figure)
) Is included, it is necessary to detect a difference between the state of FIG. 2 and the state of FIG. 3 by some means and re-extract a new pitch.

【0018】先ず、上記図2の状態と上記図3の状態と
を区別するため、パワースペクトルSmの偏在、特に低
域側での偏在を次の式により求める。
First, in order to distinguish between the state shown in FIG. 2 and the state shown in FIG. 3, the uneven distribution of the power spectrum Sm, particularly, the uneven distribution on the low frequency side is obtained by the following equation.

【0019】[0019]

【数1】 (Equation 1)

【0020】ここで、peak(n,xi ) は、データ列xi
i=0〜nの中でピーク値を表す。また、Np は周波数
分析時のポイント数であり、本具体例ではNp =128
/4kHzとしている。Si は、例えば8kHzサンプリン
グデータの256サンプルをFFT等の直交変換して得
られたi番目の(インデックスiの)スペクトルデータ
を示す。8kHzサンプリングのときには4kHzを中心に
対称なスペクトルとなることより、256サンプルを直
交変換して得られた256ポイントのスペクトルデータ
の内の4kHzまでの128ポイントを用いている。
Here, peak (n, x i ) represents a peak value in i = 0 to n of the data sequence x i . Np is the number of points at the time of frequency analysis, and in this specific example, Np = 128
/ 4 kHz. Si represents, for example, the i-th (indexed i) spectrum data obtained by orthogonally transforming 256 samples of 8 kHz sampling data by FFT or the like. At the time of 8 kHz sampling, since the spectrum becomes symmetrical with respect to 4 kHz, 128 points up to 4 kHz are used among the 256 points of spectrum data obtained by orthogonally transforming 256 samples.

【0021】この式により求められたkは、分析対象と
なる全帯域の低域側1/3の範囲でのピークと平均値と
の比を表しており、このkが所定の閾値Thk よりも大
きいとき、例えば、Thk =8.0として、k>8.0
を満たしているときには、有声部が存在すると考えられ
る。
K obtained by this equation represents the ratio of the peak to the average value in the lower 1/3 range of the entire band to be analyzed, and this k is smaller than a predetermined threshold value Th k Is larger, for example, assuming that Th k = 8.0, k> 8.0.
Is satisfied, it is considered that a voiced part exists.

【0022】このとき、ピークを与えるSi のインデッ
クスをjとおく。すなわち、 Sj =peak(Np /3、Si ) ・・・ (2) とおくとき、Si はi=jの近傍で有声音の構造を有し
ている、すなわちピッチが現れていると期待できるた
め、ここから新たなピッチを抽出する。
At this time, the index of Si giving the peak is set to j. That is, Sj = peak (Np / 3, Si) (2) Since Si has a voiced structure near i = j, that is, it can be expected that a pitch appears. Then, a new pitch is extracted from this.

【0023】具体的な方法としては、スペクトルデータ
Si を、i=jを中心に±Mポイントの範囲での極大点
を探し、図4に示すように、+側のインデックスを
+ 、−側をj- とする。
[0023] As a specific method, the spectral data Si, locate the maximum point in the range of ± M points around the i = j, as shown in FIG. 4, the index of the + side j +, - side the j - to.

【0024】ここで、極大点の存在状態により、次のよ
うに新たなピッチPを求める。 (1)j+ 、j- が共に存在する場合。 P=N/min(j+ −j、j−j- ) ・・・ (3) この式で、min(a,b)はa、bの大きくない方を表す。N
は1ブロックのサンプル数であり、本実施例では、サン
プリング周波数fs を8kHzとしており、上記Np =1
28/4kHzであることより、N=256となる。 (2)j+ 、j- のいずれか1つのみが存在する場合。
Here, a new pitch P is obtained according to the state of the maximum point as follows. (1) j +, j - if are both present. P = N / min (j + -j, j-j -) ··· (3) In this equation, min (a, b) represents a person not large a, the b. N
Is the number of samples in one block. In this embodiment, the sampling frequency fs is set to 8 kHz, and the above Np = 1
Since it is 28/4 kHz, N = 256. (2) j +, j - if the only one of present.

【0025】 j+ のみのとき:P=N/(j+ −j) ・・・ (4) j- のみのとき:P=N/(j−j- ) ・・・ (5) (3)いずれも存在しない場合。 この方式によるピッチ修正は行わない。[0025] j + only when: P = N / (j + -j) ··· (4) j - only when: P = N / (j- j -) ··· (5) (3) If neither exists. No pitch correction by this method is performed.

【0026】なお、ピッチPとして、20≦P<148
を仮定しているため、上記Mの値としては、M≦L/2
0を満たす整数であるM=12を用いている。
Note that, as the pitch P, 20 ≦ P <148
Therefore, as the value of M, M ≦ L / 2
M = 12 which is an integer satisfying 0 is used.

【0027】ところで、後述するMBE(Multiband Ex
citation: マルチバンド励起)符号化等において、上述
したピッチを用いる場合は、再度振幅評価とV/UVの
判断とを行う必要があるが、上記ピッチは上記Si のピ
ーク近傍で有効なものであるから、結果として再び全バ
ンドUVとなってしまう可能性が高い。従って、ピッチ
としては上記の値を用い、V/UVの再度の判断(ある
いは修正)には、例えば強制的に有声部拡張を使用する
ことが考えられる。この有声部拡張の具体例としては、
低域側のバンドがV(有声音)とされるときには高域側
も強制的にVとするような手法が挙げられる。
By the way, an MBE (Multiband Ex) described later is used.
citation: multi-band excitation) When the above-mentioned pitch is used in coding or the like, it is necessary to perform amplitude evaluation and V / UV judgment again, but the pitch is effective near the peak of Si. Therefore, there is a high possibility that the entire band UV will result again. Therefore, it is conceivable to use the above value as the pitch, and forcibly use the voiced part extension, for example, for the determination (or correction) of V / UV again. As a specific example of this voiced part expansion,
When the band on the low frequency side is set to V (voiced sound), there is a method of forcibly setting V on the high frequency side.

【0028】ここで、本発明に係るピッチ検出方法をM
BE(Multiband Excitation: マルチバンド励起)を用
いた音声分析合成装置(いわゆるボコーダ)に適用する
場合の具体的な動作の一例について説明する。
Here, the pitch detection method according to the present invention
An example of a specific operation when applied to a speech analysis / synthesis apparatus (so-called vocoder) using BE (Multiband Excitation) will be described.

【0029】このMBEボコーダにおいては、ブロック
毎の信号を周波数軸上に変換し、複数帯域に分割して各
帯域毎にV(有声音)かUV(無声音)かを判別する。
すなわち、例えば、入力された音声信号を一定サンプル
数(例えば256サンプル)毎にブロック化して、FF
T等の直交変換により周波数軸上のスペクトルデータに
変換すると共に、該ブロック内の音声のピッチを抽出
し、このピッチに応じた間隔で周波数軸上のスペクトル
を帯域分割し、分割された各帯域(バンド)についてV
(有声音)/UV(無声音)の判断を行う。このV/U
V情報をスペクトルの振幅データと共に符号化して伝送
する。
In this MBE vocoder, a signal for each block is converted on the frequency axis, divided into a plurality of bands, and it is determined whether each band is V (voiced sound) or UV (unvoiced sound).
That is, for example, the input audio signal is divided into blocks every fixed number of samples (for example, 256 samples), and
T is converted into spectrum data on the frequency axis by orthogonal transformation such as T, and the pitch of the voice in the block is extracted, and the spectrum on the frequency axis is band-divided at intervals corresponding to this pitch. About (band) V
(Voiced sound) / UV (unvoiced sound) is determined. This V / U
The V information is encoded and transmitted together with the spectrum amplitude data.

【0030】このようなMBEボコーダに、本発明に係
るピッチ検出方法の一実施例を適用した場合の要部の動
作の具体例を、図5のフローチャートに示す。この図5
に示す具体例においては、音声分析の際の音声の基本周
期に相当するピッチを抽出する際に、自己相関等の時間
軸上の処理ではピッチを捉えきれなかった場合、周波数
スペクトル情報を用いて精度向上を図っている。すなわ
ち、V(有声音)/UV(無声音)の判断が全帯域にお
いてUV(無声音)とされた場合、これが妥当なもので
あるか否かを判断し、不適当である場合はピッチの値及
びV/UVの判断を再度計算しなおして修正している。
上記全バンドUVとの判断の妥当性確認や上記ピッチの
再抽出には、スペクトル情報を用いている。
FIG. 5 is a flow chart showing a specific example of the operation of the main part when the embodiment of the pitch detecting method according to the present invention is applied to such an MBE vocoder. This figure 5
In the specific example shown in the above, when extracting the pitch corresponding to the basic period of the voice at the time of voice analysis, if the pitch on the time axis such as autocorrelation could not be caught, using the frequency spectrum information Improving accuracy. That is, when the determination of V (voiced sound) / UV (unvoiced sound) is determined to be UV (unvoiced sound) in all bands, it is determined whether or not this is appropriate, and if inappropriate, the pitch value and The V / UV judgment is recalculated and corrected.
Spectral information is used to confirm the validity of the judgment of all bands UV and to re-extract the pitch.

【0031】この図5の最初のステップS11では、自
己相関等の時間軸上の処理によるピッチサーチを行い、
次のステップS12に移行する。このステップS12で
は、後述するような合成による分析法による高精度(フ
ァイン)ピッチサーチを振幅評価しながら行う。次のス
テップS13では、ステップS12で得られたファイン
ピッチ及び振幅データを用いてV/UV(有声音/無声
音)判断が行われ、ステップS14に進んで、全バンド
(帯域)がUVと判断されたかを判別する。NO(少な
くとも1バンドがV)のときには、ステップS15に進
んで、MBEボコーダの通常動作の次のステップに移行
する。
In the first step S11 in FIG. 5, a pitch search is performed by processing on the time axis such as autocorrelation.
Move to the next step S12. In this step S12, a high-precision (fine) pitch search by an analysis method based on synthesis as described later is performed while evaluating the amplitude. In the next step S13, V / UV (voiced sound / unvoiced sound) determination is performed using the fine pitch and amplitude data obtained in step S12, and the process proceeds to step S14, where all bands (bands) are determined to be UV. Is determined. If NO (at least one band is V), the flow advances to step S15 to shift to the next step of the normal operation of the MBE vocoder.

【0032】ステップS14でYES(全バンドUV)
と判別されたときには、ステップS21に進んで上記
(1)式のkの算出が行われ、次のステップS22でこ
のkが所定の閾値Thk (例えば8.0)より大きいか
(k>8.0)否かの判別がなされる。YESのときに
はステップS23に進んで、ピークSjの位置(インデ
ックスi=j)の近傍での極大値を検索し、ステップS
24で+側、−側の各インデックスj+ 、j- の少なく
とも1つが存在するか否かの判別を行う。このステップ
S24でもYESのときに、ステップS25に進んで上
記(3)〜(5)式よりピッチPを算出し、ステップS
26で上記ステップS12と同様な振幅評価を行い、ス
テップS27で再度のV/UV判断を行った後、上記ス
テップS15に進んでいる。
YES at step S14 (all bands UV)
When it is judged from, proceeds to step S21 above (1) Calculation of k of equation is performed, the threshold value Th k (e.g. 8.0) This k is given in the next step S22 is greater than or (k> 8 .0) is determined. If YES, the process proceeds to step S23, in which a local maximum value near the position of the peak Sj (index i = j) is searched, and step S23 is performed.
24 + side, - each index j + side, j - of whether at least one is present the discrimination performed. When the answer to this step S24 is also YES, the process proceeds to step S25, where the pitch P is calculated from the above equations (3) to (5).
In step 26, the same amplitude evaluation as in step S12 is performed. In step S27, V / UV determination is performed again, and the process proceeds to step S15.

【0033】ここで、ステップS27でのV/UVの再
計算(あるいは修正)には、V(有声音)バンドを拡張
する方法、例えば低域側(500〜700Hz以下)がV
(有声音)と判別されたときその判別結果を高域側へ拡
張し、3300Hzまでを強制的にV(有声音)とする方
法を用いている。なお、上記ステップS22やS24で
NOと判別されたときには、いずれも上記ステップS1
5に進んで、通常のMBEボコーダの動作におけるV/
UV判断の次のステップに移行している。
Here, the recalculation (or correction) of V / UV in step S27 is performed by a method of expanding the V (voiced sound) band, for example, when the V (UV) is lower than 500 to 700 Hz.
When a voiced sound is determined, the result of the determination is extended to the high frequency side, and V (voiced sound) is forcibly set to 3300 Hz. When it is determined NO in steps S22 and S24, both steps S1 and S24 are performed.
5 to V / V in normal MBE vocoder operation.
The process proceeds to the next step of the UV judgment.

【0034】次に、本発明に係るピッチ検出方法が適用
される音声高能率符号化装置の一具体例としてのMBE
ボコーダについて、図面を参照しながら説明する。
Next, an MBE as a specific example of a speech efficient coding apparatus to which the pitch detection method according to the present invention is applied.
The vocoder will be described with reference to the drawings.

【0035】以下に説明するMBEボコーダは、D.W. G
riffin and J.S. Lim, "MultibandExcitation Vocode
r," IEEE Trans.Acoustics,Speech,and Signal Process
ing,vol.36, No.8, pp.1223-1235, Aug. 1988 に開示さ
れているものであり、従来のPARCOR(PARtial au
to-CORrelation: 偏自己相関)ボコーダ等では、音声の
モデル化の際に有声音区間と無声音区間とをブロックあ
るいはフレーム毎に切り換えていたのに対し、MBEボ
コーダでは、同時刻(同じブロックあるいはフレーム
内)の周波数軸領域に有声音(Voiced)区間と無声音
(Unvoiced)区間とが存在するという仮定でモデル化し
ている。
The MBE vocoder described below uses a DW G
riffin and JS Lim, "MultibandExcitation Vocode
r, "IEEE Trans. Acoustics, Speech, and Signal Process
ing, vol. 36, No. 8, pp. 1223-1235, Aug. 1988, and a conventional PARCOR (PARtial au).
To-CORrelation: a vocoder or the like switches between a voiced section and an unvoiced section for each block or frame during speech modeling, whereas the MBE vocoder uses the same time (the same block or frame). Modeling is based on the assumption that a voiced section (Voiced) section and an unvoiced section (Unvoiced) section exist in the frequency axis region of (in).

【0036】このMBEボコーダのような音声分析合成
系を想定する場合、入力される時間軸上の音声信号に対
するサンプリング周波数fs は、通常8kHzで、全帯域
幅は3.4kHz(ただし有効帯域は200〜3400H
z)であり、女声の高い方から男声の低い方までのピッ
チラグ(ピッチ周期に相当するサンプル数)は、20〜
147程度である。従って、ピッチ周波数は、8000/147
≒54(Hz)から 8000/20=400(Hz)程度までの間
で変動することになる。従って、周波数軸上で上記3.
4kHzまでの間に約8〜63本のピッチパルス(ハーモ
ニックス)が立つことになる。
When assuming a speech analysis / synthesis system such as the MBE vocoder, the sampling frequency fs for an inputted speech signal on the time axis is usually 8 kHz, and the total bandwidth is 3.4 kHz (however, the effective band is 200 kHz). ~ 3400H
z), and the pitch lag (the number of samples corresponding to the pitch period) from the higher female voice to the lower male voice is 20 to
It is about 147. Therefore, the pitch frequency is 8000/147
It will vary from $ 54 (Hz) to about 8000/20 = 400 (Hz). Therefore, the above 3 ..
About 8 to 63 pitch pulses (harmonics) stand up to 4 kHz.

【0037】図6は、上記MBEボコーダの全体の概略
構成を示すブロック図である。この図6において、入力
端子11には音声信号が供給されるようになっており、
この入力音声信号は、HPF(ハイパスフィルタ)等の
フィルタ12に送られて、いわゆるDC(直流)オフセ
ット分の除去や帯域制限(例えば200〜3400Hzに
制限)のための少なくとも低域成分(200Hz以下)の
除去が行われる。このフィルタ12を介して得られた信
号は、ピッチ抽出部13及び窓かけ処理部14にそれぞ
れ送られる。ピッチ抽出部(ピッチ検出部)13では、
入力音声信号データが所定サンプル数N(例えばN=2
56)単位でブロック分割され(あるいは方形窓による
切り出しが行われ)、このブロック内の音声信号につい
てのピッチ抽出が行われる。このような切り出しブロッ
ク(256サンプル)を、例えば図7のAに示すように
Lサンプル(例えばL=160)のフレーム間隔で時間
軸方向に移動させており、各ブロック間のオーバラップ
はN−Lサンプル(例えば96サンプル)となってい
る。また、窓かけ処理部14では、1ブロックNサンプ
ルに対して所定の窓関数、例えばハミング窓をかけ、こ
の窓かけブロックを1フレームLサンプルの間隔で時間
軸方向に順次移動させている。
FIG. 6 is a block diagram showing a schematic configuration of the entire MBE vocoder. In FIG. 6, an audio signal is supplied to the input terminal 11.
This input audio signal is sent to a filter 12 such as an HPF (high-pass filter), and at least a low-frequency component (200 Hz or less) for removing a so-called DC (direct current) offset or band limitation (for example, limited to 200 to 3400 Hz). ) Is performed. The signal obtained through the filter 12 is sent to the pitch extraction unit 13 and the windowing processing unit 14, respectively. In the pitch extraction unit (pitch detection unit) 13,
The input audio signal data has a predetermined number of samples N (for example, N = 2
56) The block is divided into units (or cutout is performed by a rectangular window), and pitch extraction is performed on the audio signal in this block. Such a cut-out block (256 samples) is moved in the time axis direction at a frame interval of L samples (for example, L = 160) as shown in FIG. 7A, and the overlap between the blocks is N-. There are L samples (for example, 96 samples). The windowing processing unit 14 applies a predetermined window function, for example, a Hamming window, to one block N samples, and sequentially moves the windowed blocks in the time axis direction at intervals of one frame L samples.

【0038】このような窓かけ処理を数式で表すと、 xw (k,q) =x(q) w(kL-q) ・・・(6) となる。この(6)式において、kはブロック番号を、
qはデータの時間インデックス(サンプル番号)を表
し、処理前の入力信号のq番目のデータx(q) に対して
第kブロックの窓(ウィンドウ)関数w(kL-q)により窓
かけ処理されることによりデータxw (k,q) が得られる
ことを示している。ピッチ抽出部13での図7のAに示
すような方形窓の場合の窓関数wr (r) は、 wr (r) =1 0≦r<N ・・・(7) =0 r<0,N≦r また、上記窓かけ処理部14での図7のBに示すような
ハミング窓の場合の窓関数wh (r) は、 wh (r) = 0.54 − 0.46 cos(2πr/(N-1)) 0≦r<N ・・・(8) =0 r<0,N≦r である。このような窓関数wr (r) あるいはwh (r) を
用いるときの上記(6)式の窓関数w(r) (=w(kL-
q))の否零区間は、 0≦kL−q<N これを変形して、 kL−N<q≦kL 従って例えば上記方形窓の場合に窓関数wr (kL-q)=1
となるのは、図8に示すように、kL−N<q≦kLの
ときとなる。また、上記(6)〜(8)式は、長さN
(=256)サンプルの窓が、L(=160)サンプル
ずつ前進してゆくことを示している。以下、上記(7)
式、(8)式の各窓関数で切り出された各N点(0≦r
<N)の否零サンプル列を、それぞれxwr(k,r) 、xwh
(k,r) と表すことにする。
When such a windowing process is expressed by a mathematical formula, xw (k, q) = x (q) w (kL-q) (6) In the equation (6), k is a block number,
q represents a time index (sample number) of the data. The q-th data x (q) of the input signal before processing is windowed by a window function w (kL-q) of the k-th block. This shows that data x w (k, q) can be obtained. The window function w r (r) in the case of a square window as shown in FIG. 7A in the pitch extraction unit 13 is expressed as: w r (r) = 1 0 ≦ r <N (7) = 0 r < 0, N ≦ r Further, the window function w h (r) in the case of the Hamming window as shown in FIG. 7B in the windowing processing unit 14 is represented by w h (r) = 0.54−0.46 cos (2πr / (N-1)) 0 ≦ r <N (8) = 0 r <0, N ≦ r When such a window function w r (r) or w h (r) is used, the window function w (r) (= w (kL−
zero data interval q)) is deformed this 0 ≦ kL-q <N, kL-N < window function in the case of q ≦ kL Thus for example the rectangular window w r (kL-q) = 1
Is when kL−N <q ≦ kL, as shown in FIG. Further, the above equations (6) to (8) indicate that the length N
(= 256) indicates that the sample window advances by L (= 160) samples. Hereinafter, the above (7)
Each N point (0 ≦ r) extracted by each window function of the equation (8)
<N) are represented by x wr (k, r) and x wh , respectively.
(k, r).

【0039】窓かけ処理部14では、図9に示すよう
に、上記(8)式のハミング窓がかけられた1ブロック
256サンプルのサンプル列xwh(k,r) に対して179
2サンプル分の0データが付加されて(いわゆる0詰め
されて)2048サンプルとされ、この2048サンプ
ルの時間軸データ列に対して、直交変換部15により例
えばFFT(高速フーリエ変換)等の直交変換処理が施
される。あるいは、0詰めなしで256点のままでFF
Tを施して処理量を減らす方法もある。
As shown in FIG. 9, the windowing processing unit 14 applies 179 to the sample sequence x wh (k, r) of 256 samples per block to which the Hamming window of the above equation (8) has been applied.
Two samples of 0 data are added (so-called zero padding) to make 2048 samples, and the orthogonal transform unit 15 performs orthogonal transform such as FFT (fast Fourier transform) on the time axis data sequence of 2048 samples. Processing is performed. Or FF with 256 points without zero padding
There is also a method of applying T to reduce the processing amount.

【0040】ピッチ抽出部(ピッチ検出部)13では、
上記xwr(k,r) のサンプル列(1ブロックNサンプル)
に基づいてピッチ抽出が行われる。このピッチ抽出法に
は、時間波形の周期性や、スペクトルの周期的周波数構
造や、自己相関関数を用いるもの等が知られているが、
本実施例では、センタクリップ波形の自己相関法を採用
している。このときのブロック内でのセンタクリップレ
ベルについては、1ブロックにつき1つのクリップレベ
ルを設定してもよいが、ブロックを細分割した各部(各
サブブロック)の信号のピークレベル等を検出し、これ
らの各サブブロックのピークレベル等の差が大きいとき
に、ブロック内でクリップレベルを段階的にあるいは連
続的に変化させるようにしている。このセンタクリップ
波形の自己相関データのピーク位置に基づいてピッチ周
期を決めている。このとき、現在フレームに属する自己
相関データ(自己相関は1ブロックNサンプルのデータ
を対象として求められる)から複数のピークを求めてお
き、これらの複数のピークの内の最大ピークが所定の閾
値以上のときには該最大ピーク位置をピッチ周期とし、
それ以外のときには、現在フレーム以外のフレーム、例
えば前後のフレームで求められたピッチに対して所定の
関係を満たすピッチ範囲内、例えば前フレームのピッチ
を中心として±20%の範囲内にあるピークを求め、こ
のピーク位置に基づいて現在フレームのピッチを決定す
るようにしている。このピッチ抽出部13ではオープン
ループによる比較的ラフなピッチのサーチが行われ、抽
出されたピッチデータは高精度(ファイン)ピッチサー
チ部16に送られて、クローズドループによる高精度の
ピッチサーチ(ピッチのファインサーチ)が行われる。
なお、センタクリップ波形ではなく、入力波形をLPC
分析した残差波形の自己相関からピッチを求める方法を
用いてもよい。
The pitch extracting section (pitch detecting section) 13
Sample sequence of x wr (k, r) above (1 block N samples)
Is performed based on the pitch. As the pitch extraction method, those using a periodicity of a time waveform, a periodic frequency structure of a spectrum, an autocorrelation function, and the like are known.
In the present embodiment, the autocorrelation method of the center clip waveform is adopted. As for the center clip level in the block at this time, one clip level may be set for each block, but the peak level of the signal of each part (each sub-block) obtained by subdividing the block is detected, and these are detected. When the difference between the peak levels of each sub-block is large, the clip level in the block is changed stepwise or continuously. The pitch period is determined based on the peak position of the autocorrelation data of the center clip waveform. At this time, a plurality of peaks are obtained from the autocorrelation data belonging to the current frame (the autocorrelation is obtained from data of one block N samples), and the maximum peak among the plurality of peaks is equal to or larger than a predetermined threshold. When the maximum peak position is the pitch period,
In other cases, a peak within a pitch range that satisfies a predetermined relationship with respect to a pitch obtained in a frame other than the current frame, for example, the preceding and following frames, for example, within a range of ± 20% around the pitch of the previous frame, Then, the pitch of the current frame is determined based on the peak position. In the pitch extraction unit 13, a relatively rough pitch search is performed by an open loop, and the extracted pitch data is sent to a high-precision (fine) pitch search unit 16, and a high-precision pitch search (pitch) by a closed loop is performed. Fine search) is performed.
Note that the input waveform, not the center clip waveform, is
A method of obtaining a pitch from the autocorrelation of the analyzed residual waveform may be used.

【0041】高精度(ファイン)ピッチサーチ部16に
は、ピッチ抽出部13で抽出された整数(インテジャ
ー)値の粗(ラフ)ピッチデータと、直交変換部15に
より例えばFFTされた周波数軸上のデータとが供給さ
れている。この高精度ピッチサーチ部16では、上記粗
ピッチデータ値を中心に、0.2〜0.5きざみで±数サン
プルずつ振って、最適な小数点付き(フローティング)
のファインピッチデータの値へ追い込む。このときのフ
ァインサーチの手法として、いわゆる合成による分析
(Analysis by Synthesis)法を用い、合成されたパワー
スペクトルが原音のパワースペクトルに最も近くなるよ
うにピッチを選んでいる。
The high-precision (fine) pitch search unit 16 stores the coarse (rough) pitch data of the integer value extracted by the pitch extraction unit 13 on the frequency axis subjected to, for example, FFT by the orthogonal transformation unit 15. Data is supplied. In this high-precision pitch search section 16, an optimum decimal point (floating) is obtained by swinging ± several samples at intervals of 0.2 to 0.5 around the coarse pitch data value.
To the value of fine pitch data. As a method of fine search at this time, analysis by so-called synthesis
Using the (Analysis by Synthesis) method, the pitch is selected so that the synthesized power spectrum is closest to the power spectrum of the original sound.

【0042】このピッチのファインサーチについて説明
する。先ず、上記MBEボコーダにおいては、上記FF
T等により直交変換された周波数軸上のスペクトルデー
タとしてのS(j) を S(j) =H(j) |E(j) | 0<j<J ・・・(9) と表現するようなモデルを想定している。ここで、Jは
ωs /4π=fs /2に対応し、サンプリング周波数f
s =ωs /2πが例えば8kHzのときには4kHzに対応
する。上記(9)式中において、周波数軸上のスペクト
ルデータS(j) が図10のAに示すような波形のとき、
H(j) は、図10のBに示すように、元のスペクトルデ
ータS(j) のスペクトル包絡線(エンベロープ)を示
し、E(j) は、図10のCに示すような等レベルで周期
的な励起信号(エクサイテイション)のスペクトルを示
している。すなわち、FFTスペクトルS(j) は、スペ
クトルエンベロープH(j) と励起信号のパワースペクト
ル|E(j) |との積としてモデル化される。
The fine search of the pitch will be described. First, in the MBE vocoder, the FF
S (j) as spectrum data on the frequency axis orthogonally transformed by T or the like is expressed as S (j) = H (j) | E (j) | 0 <j <J (9) Model is assumed. Here, J corresponds to ω s / 4π = f s / 2, the sampling frequency f
s = when ω s / 2π is, for example, 8kHz corresponding to 4kHz. In the above equation (9), when the spectrum data S (j) on the frequency axis has a waveform as shown in FIG.
H (j) indicates a spectrum envelope (envelope) of the original spectrum data S (j) as shown in FIG. 10B, and E (j) indicates an equivalent level as shown in FIG. 3 shows a spectrum of a periodic excitation signal (excitation). That is, the FFT spectrum S (j) is modeled as a product of the spectrum envelope H (j) and the power spectrum | E (j) | of the excitation signal.

【0043】上記励起信号のパワースペクトル|E(j)
|は、上記ピッチに応じて決定される周波数軸上の波形
の周期性(ピッチ構造)を考慮して、1つの帯域(バン
ド)の波形に相当するスペクトル波形を周波数軸上の各
バンド毎に繰り返すように配列することにより形成され
る。この1バンド分の波形は、例えば上記図9に示すよ
うな256サンプルのハミング窓関数に1792サンプ
ル分の0データを付加(0詰め)した波形を時間軸信号
と見なしてFFTし、得られた周波数軸上のある帯域幅
を持つインパルス波形を上記ピッチに応じて切り出すこ
とにより形成することができる。
The power spectrum of the above excitation signal | E (j)
| Takes into account the periodicity (pitch structure) of the waveform on the frequency axis determined according to the pitch, and converts the spectrum waveform corresponding to the waveform of one band (band) for each band on the frequency axis. It is formed by arranging it repeatedly. The waveform for one band was obtained by performing a FFT on a waveform obtained by adding (filling to zero) 0 data for 1792 samples to a Hamming window function of 256 samples as shown in FIG. 9 as a time axis signal. It can be formed by cutting out an impulse waveform having a certain bandwidth on the frequency axis according to the pitch.

【0044】次に、上記ピッチに応じて分割された各バ
ンド毎に、上記H(j) を代表させるような(各バンド毎
のエラーを最小化するような)値(一種の振幅)|Am
|を求める。ここで、例えば第mバンド(第m高調波の
帯域)の下限、上限の点をそれぞれam 、bm とすると
き、この第mバンドのエラーεm は、
Next, for each band divided according to the pitch, a value (a kind of amplitude) | A representative of the above H (j) (to minimize the error for each band) m
| Here, for example, when the lower and upper points of the m-th band (band of the m-th harmonic) are a m and b m , respectively, the error ε m of the m-th band is

【0045】[0045]

【数2】 で表せる。このエラーεm を最小化するような|Am
は、
(Equation 2) Can be represented by | A m | that minimizes this error ε m
Is

【0046】[0046]

【数3】 となり、この(11)式の|Am |のとき、エラーεm
最小化する。
(Equation 3) When | A m | in equation (11), the error ε m is minimized.

【0047】このような振幅|Am |を各バンド毎に求
め、得られた各振幅|Am |を用いて上記(10)式で定
義された各バンド毎のエラーεm を求める。次に、この
ような各バンド毎のエラーεm の全バンドの総和値Σε
m を求める。さらに、このような全バンドのエラー総和
値Σεm を、いくつかの微小に異なるピッチについて求
め、エラー総和値Σεm が最小となるようなピッチを求
める。
The amplitude | A m | is obtained for each band, and the error ε m for each band defined by the above equation (10) is obtained using the obtained amplitude | A m |. Then, the sum value of all such bands error epsilon m of band-Σε
Find m . Further, the error sum Shigumaipushiron m of all such bands, calculated for different pitches to some small, obtaining the pitch as an error sum Shigumaipushiron m is minimized.

【0048】すなわち、上記ピッチ抽出部13で求めら
れたラフピッチを中心として、例えば 0.25 きざみで上
下に数種類ずつ用意する。これらの複数種類の微小に異
なるピッチの各ピッチに対してそれぞれ上記エラー総和
値Σεm を求める。この場合、ピッチが定まるとバンド
幅が決まり、上記(11)式より、周波数軸上データのパ
ワースペクトル|S(j) |と励起信号スペクトル|E
(j) |とを用いて上記(10)式のエラーεm を求め、そ
の全バンドの総和値Σεm を求めることができる。この
エラー総和値Σεm を各ピッチ毎に求め、最小となるエ
ラー総和値に対応するピッチを最適のピッチとして決定
するわけである。以上のようにして高精度ピッチサーチ
部で最適のファイン(例えば 0.25 きざみ)ピッチが求
められ、この最適ピッチに対応する振幅|Am |が決定
される。このときの振幅値の計算は、有声音の振幅評価
部18Vにおいて行われる。
That is, several types are prepared vertically, for example, in increments of 0.25 with the rough pitch obtained by the pitch extracting unit 13 as the center. Each respective pitches of different pitches to these plurality of types of fine finding the error sum Σε m. In this case, when the pitch is determined, the bandwidth is determined. From the above equation (11), the power spectrum | S (j) | of the data on the frequency axis and the excitation signal spectrum | E
(j) | seek error epsilon m of equation (10) using a, can be obtained sum Shigumaipushiron m of all the bands. Obtains the error sum Shigumaipushiron m for each pitch, is not to determine the pitch corresponding to error sum total value which is the smallest as the optimal pitch. As described above, the optimum fine (for example, in increments of 0.25) pitch is obtained by the high-precision pitch search unit, and the amplitude | A m | corresponding to the optimum pitch is determined. The calculation of the amplitude value at this time is performed in the voiced sound amplitude evaluation unit 18V.

【0049】以上ピッチのファインサーチの説明におい
ては、説明を簡略化するために、全バンドが有声音(Vo
iced)の場合を想定しているが、上述したようにMBE
ボコーダにおいては、同時刻の周波数軸上に無声音(Un
voiced)領域が存在するというモデルを採用しているこ
とから、上記各バンド毎に有声音/無声音の判別を行う
ことが必要とされる。
In the above description of the pitch fine search, in order to simplify the description, all bands are voiced (Vo
iced), but the MBE
In a vocoder, an unvoiced sound (Un
Since the model in which a voiced) region exists is used, it is necessary to discriminate voiced / unvoiced sounds for each band.

【0050】上記高精度ピッチサーチ部16からの最適
ピッチ及び振幅評価部(有声音)18Vからの振幅|A
m |のデータは、有声音/無声音判別部17に送られ、
上記各バンド毎に有声音/無声音の判別が行われる。こ
の判別のためにNSR(ノイズtoシグナル比)を利用
する。すなわち、第mバンドのNSRであるNSR
mは、
The optimum pitch from the high-precision pitch search section 16 and the amplitude | A from the amplitude evaluation section (voiced sound) 18V | A
m | is sent to the voiced / unvoiced sound discriminating unit 17,
The voiced sound / unvoiced sound is determined for each band. NSR (noise-to-signal ratio) is used for this determination. That is, NSR which is the NSR of the m-th band
m is

【0051】[0051]

【数4】 と表せ、このNSRm が所定の閾値Th1 (例えばTh
1 =0.2)より大のとき(すなわちエラーが大きいと
き)には、そのバンドでの|Am ||E(j) |による|
S(j) |の近似が良くない(上記励起信号|E(j) |が
基底として不適当である)と判断でき、当該バンドをU
V(Unvoiced、無声音)と判別する。これ以外のとき
は、近似がある程度良好に行われていると判断でき、そ
のバンドをV(Voiced、有声音)と判別する。
(Equation 4) This NSR m is equal to a predetermined threshold Th 1 (for example, Th
1 = 0.2) (that is, when the error is large), | A m || E (j) |
It can be determined that the approximation of S (j) | is not good (the excitation signal | E (j) | is inappropriate as a basis),
V (Unvoiced). In other cases, it can be determined that the approximation has been performed to some extent, and the band is determined to be V (Voiced, voiced sound).

【0052】ところで、上述したように基本ピッチ周波
数で分割されたバンドの数(ハーモニックスの数)は、
声の高低(ピッチの大小)によって約8〜63程度の範
囲で変動するため、各バンド毎のV/UVフラグの個数
も同様に変動してしまう。
As described above, the number of bands (the number of harmonics) divided by the basic pitch frequency is as follows.
The number of V / UV flags for each band also fluctuates in the same manner because it fluctuates in a range of about 8 to 63 depending on the pitch of the voice (the magnitude of the pitch).

【0053】そこで、本実施例においては、固定的な周
波数帯域で分割した一定個数のバンド毎にV/UV判別
結果をまとめる(あるいは縮退させる)ようにしてい
る。具体的には、音声帯域を含む所定帯域(例えば0〜
4000Hz)をNB 個(例えば12個)のバンドに分割
し、各バンド内の上記NSR値に従って、例えば重み付
き平均値を所定の閾値Th2 (例えばTh2 =0.2)で
弁別して、当該バンドのV/UVを判断している。
Therefore, in this embodiment, the V / UV discrimination results are grouped (or degenerated) for each of a fixed number of bands divided by a fixed frequency band. Specifically, a predetermined band including an audio band (for example, 0 to 0)
4000 Hz) is divided into N B (for example, 12) bands, and a weighted average value is discriminated by a predetermined threshold value Th 2 (for example, Th 2 = 0.2) in accordance with the NSR value in each band, The V / UV of the band is determined.

【0054】この有声音/無声音(V/UV)判別部1
7において、全バンドがUV(無声音)と判別された場
合には、上述したように、周波数スペクトル情報を用い
て、V/UV判断の妥当性評価や妥当でないときのピッ
チの再抽出を行っている。
This voiced / unvoiced (V / UV) discriminating section 1
In 7, when all bands are determined to be UV (unvoiced sound), as described above, the validity evaluation of the V / UV determination and the re-extraction of the pitch when it is not appropriate are performed using the frequency spectrum information. I have.

【0055】具体的には、パワー偏在・ピーク検出部2
4において、V/UV判別部17が全バンドUVと判別
したとき、直交変換(FFT)部15からのスペクトル
データを用いて、低域側1/3の領域でのパワー偏在を
上記(1)式のkを算出することにより検出し、このと
きピークも同時に検出する。ピッチ算出部25は、この
ピーク位置(周波数軸上での位置、あるいはスペクトル
データのインデックスj)及び該ピーク近傍の前後の極
大点の位置(上記j+ 、j- )に基づいて、上記(3)
式や(4)式又は(5)式により新たなピッチPを求め
る。この新たなピッチPを上記高精度ピッチサーチ部1
6に送って上述したようなピッチのファインサーチを行
い、得られたファインピッチに基づいて再び振幅評価や
V/UV判別等を行う。
Specifically, the power eccentricity / peak detection unit 2
4, when the V / UV discriminating unit 17 discriminates that all bands are UV, using the spectral data from the orthogonal transform (FFT) unit 15, the power unevenness in the lower 1/3 region is determined by the above (1). The detection is performed by calculating k in the equation, and the peak is also detected at this time. The pitch calculation unit 25 calculates the (3) based on the peak position (the position on the frequency axis or the index j of the spectrum data) and the positions of the local maxima before and after the peak (the above j + , j ). )
A new pitch P is obtained by the equation, the equation (4) or the equation (5). The new pitch P is stored in the high-precision pitch search unit 1 described above.
6 to perform fine search of the pitch as described above, and based on the obtained fine pitch, perform amplitude evaluation, V / UV discrimination, and the like again.

【0056】この新たなピッチを用いるV/UV判別の
際には、強制的に有声部の拡張を行っている。この有声
部拡張の具体例として、低域側がV(有声音)とされた
場合の高域側への拡張処理について説明する。
At the time of V / UV discrimination using the new pitch, the voiced portion is forcibly expanded. As a specific example of the voiced portion expansion, a description will be given of a process of expanding to the high frequency side when the low frequency side is V (voiced sound).

【0057】この具体例においては、低域側の第1の周
波数以下の所定数バンドのV/UV判別結果がV(有声
音)のとき、所定の条件、例えば入力信号レベルが所定
の閾値ThS より大きく、入力信号のゼロクロスレート
が所定の閾値ThZ より小さい条件の下で、高域側の第
2の周波数までの所定バンドまでをVとするような拡張
を行っている。この拡張は、音声のスペクトル構造の
内、低域部分の構造(ピッチ構造の強弱)が全体的な構
造を代表している傾向にある、という観測に基づいてい
る。
In this specific example, when the V / UV discrimination result of a predetermined number of bands below the first frequency on the low frequency side is V (voiced sound), a predetermined condition, for example, when the input signal level is a predetermined threshold Th greater than S, zero cross rate of the input signal is under a predetermined threshold value Th Z less condition, and a to a predetermined band up to a second frequency of the high frequency side performs expansion as the V. This extension is based on the observation that the structure of the low-frequency part (the strength of the pitch structure) in the speech spectral structure tends to represent the overall structure.

【0058】上記低域側の第1の周波数としては、例え
ば500〜700Hzとすることが考えられ、上記高域側
の第2の周波数としては、例えば3300Hzとすること
が考えられる。これは、通常の音声帯域200〜340
0Hzを含む帯域、例えば4000Hzまでの帯域を、所定
バンド数、例えば12バンドで分割するとき、上記低域
側の第1の周波数以下のバンドである例えば低域側2バ
ンドのV/UV判別結果がV(有声音)のとき、所定の
条件の下で、高域側の第2の周波数までの所定バンドと
しての、高域側から2バンドを除く部分のバンドまでを
Vとするような拡張を行うことに相当する。
It is conceivable that the first frequency on the low frequency side is, for example, 500 to 700 Hz, and the second frequency on the high frequency side is, for example, 3300 Hz. This is the normal voice band 200-340
When a band including 0 Hz, for example, a band up to 4000 Hz is divided by a predetermined number of bands, for example, 12 bands, a V / UV discrimination result of, for example, two bands on the low band side, which is a band below the first frequency on the low band side. Is V (voiced sound), a predetermined band up to the second frequency on the high frequency side is extended under a predetermined condition so that V up to a band excluding two bands from the high frequency side. Is equivalent to performing

【0059】次に、無声音の振幅評価部18Uには、直
交変換部15からの周波数軸上データ、ピッチサーチ部
16からのファインピッチデータ、有声音振幅評価部1
8Vからの振幅|Am |のデータ、及び上記有声音/無
声音判別部17からのV/UV(有声音/無声音)判別
データが供給されている。この振幅評価部(無声音)1
8Uでは、有声音/無声音判別部17において無声音
(UV)と判別されたバンドに関して、再度振幅を求め
て(振幅再評価を行って)いる。このUVのバンドにつ
いての振幅|Am UVは、
Next, the unvoiced sound amplitude evaluation unit 18U includes the on-frequency data from the orthogonal transformation unit 15, the fine pitch data from the pitch search unit 16, and the voiced sound amplitude evaluation unit 1
Data of amplitude | A m | from 8V and V / UV (voiced / unvoiced) discrimination data from the voiced / unvoiced discrimination unit 17 are supplied. This amplitude evaluation unit (unvoiced sound) 1
In 8U, the amplitude of the band determined to be unvoiced (UV) by the voiced / unvoiced sound discriminating unit 17 is obtained again (amplitude re-evaluation is performed). The amplitude | A m | UV for this UV band is

【0060】[0060]

【数5】 にて求められる。(Equation 5) Is required.

【0061】この振幅評価部(無声音)18Uからのデ
ータは、データ数変換(一種のサンプリングレート変
換)部19に送られる。このデータ数変換部19は、上
記ピッチに応じて周波数軸上での分割帯域数が異なり、
データ数(特に振幅データの数)が異なることを考慮し
て、一定の個数にするためのものである。すなわち、例
えば有効帯域を3400kHzまでとすると、この有効帯
域が上記ピッチに応じて、8バンド〜63バンドに分割
されることになり、これらの各バンド毎に得られる上記
振幅|Am |(UVバンドの振幅|Am UVも含む)デ
ータの個数mMX+1も8〜63と変化することになる。
このためデータ数変換部19では、この可変個数mMX
1の振幅データを一定個数M(例えば44個)のデータ
に変換している。
The data from the amplitude evaluation unit (unvoiced sound) 18U is sent to a data number conversion (a kind of sampling rate conversion) unit 19. The number-of-data converter 19 has a different number of divided bands on the frequency axis depending on the pitch.
This is to make the number constant considering the difference in the number of data (particularly the number of amplitude data). That is, for example, if the effective band is up to 3400 kHz, this effective band is divided into 8 to 63 bands according to the pitch, and the amplitude | A m | (UV The number m MX +1 of bands (including the amplitude | A m | UV ) also changes from 8 to 63.
For this reason, the data number converter 19 calculates the variable number m MX +
One amplitude data is converted into a fixed number M (for example, 44) data.

【0062】ここで本実施例においては、例えば、周波
数軸上の有効帯域1ブロック分の振幅データに対して、
ブロック内の最後のデータからブロック内の最初のデー
タまでの値を補間するようなダミーデータを付加してデ
ータ個数をNF 個に拡大した後、帯域制限型のOS
(例えば8倍)のオーバーサンプリングを施すことによ
りOS 倍の個数の振幅データを求め、このOS 倍の個数
((mMX+1)×OS 個)の振幅データを直線補間して
さらに多くのNM 個(例えば2048個)に拡張し、こ
のNM 個のデータを間引いて上記一定個数M(例えば4
4個)のデータに変換している。
In this embodiment, for example, for the amplitude data of one effective band on the frequency axis,
After enlarging the first data number by adding dummy data as to interpolate a value from the data in the block from the last data in a block in the N F, O S times the band-limited (e.g., 8 times) obtain an amplitude data of O S times the number by performing oversampling, more N M pieces of amplitude data is linearly interpolated in the O S times the number ((m MX +1) × O S pieces) ( The number is expanded to 2048, for example, and the N M pieces of data are decimated and the fixed number M (for example, 4
4 data).

【0063】このデータ数変換部19からのデータ(上
記一定個数M個の振幅データ)がベクトル量子化部20
に送られて、所定個数のデータ毎にまとめられてベクト
ルとされ、ベクトル量子化が施される。ベクトル量子化
部20からの量子化出力データ(の主要部)は、上記高
精度のピッチサーチ部16からの高精度(ファイン)ピ
ッチデータ及び上記有声音/無声音判別部17からの有
声音/無声音(V/UV)判別データと共に、符号化部
21に送られて符号化される。
The data (the fixed number M of amplitude data) from the data number conversion unit 19 is
, And are grouped into a vector for each of a predetermined number of data, and subjected to vector quantization. The (quantized part of) the quantized output data from the vector quantizing unit 20 includes the high-precision (fine) pitch data from the high-precision pitch search unit 16 and the voiced / unvoiced sound from the voiced / unvoiced sound discriminating unit 17. The data is sent to the encoding unit 21 together with the (V / UV) discrimination data and encoded.

【0064】なお、これらの各データは、上記Nサンプ
ル(例えば256サンプル)のブロック内のデータに対
して処理を施すことにより得られるものであるが、ブロ
ックは時間軸上を上記Lサンプルのフレームを単位とし
て前進することから、伝送するデータは上記フレーム単
位で得られる。すなわち、上記フレーム周期でピッチデ
ータ、V/UV判別データ、振幅データが更新されるこ
とになる。また、上記有声音/無声音判別部17からの
V/UV判別データについては、上述したように、必要
に応じて12バンド程度に低減(縮退)してもよく、全
バンド中で1箇所以下の有声音(V)領域と無声音(U
V)領域との区分位置を表すデータである。また、上記
ピッチを再度検出した場合や所定条件を満足する場合
に、低域側のV(有声音)が高域側にまで拡張されたV
/UV判別データパターンを表すものである。
Each of these data is obtained by processing the data in the block of N samples (for example, 256 samples), and the block is represented on the time axis by the frame of L samples. , The data to be transmitted is obtained in the frame unit. That is, the pitch data, V / UV discrimination data, and amplitude data are updated in the frame cycle. As described above, the V / UV discrimination data from the voiced / unvoiced discrimination unit 17 may be reduced (reduced) to about 12 bands as needed, and one or less bands in all the bands may be used. Voiced (V) region and unvoiced sound (U
V) Data indicating the position of division from the area. Further, when the above-mentioned pitch is detected again or when a predetermined condition is satisfied, V (voiced sound) on the low frequency side is extended to the high frequency side.
/ UV discrimination data pattern.

【0065】上記符号化部21においては、例えばCR
C付加及びレート1/2畳み込み符号付加処理が施され
る。すなわち、上記ピッチデータ、上記有声音/無声音
(V/UV)判別データ、及び上記量子化出力データの
内の重要なデータについてはCRC誤り訂正符号化が施
された後、畳み込み符号化が施される。符号化部21か
らの符号化出力データは、フレームインターリーブ部2
2に送られ、ベクトル量子化部20からの一部(例えば
重要度の低い)データと共にインターリーブ処理され
て、出力端子23から取り出され、合成側(デコード
側)に伝送(あるいは記録再生)される。
In the encoding unit 21, for example, CR
C addition and rate 1/2 convolutional code addition processing are performed. That is, important data among the pitch data, the voiced / unvoiced sound (V / UV) discrimination data, and the quantized output data are subjected to CRC error correction coding and then to convolutional coding. You. The encoded output data from the encoding unit 21 is transmitted to the frame interleave unit 2
2 and are interleaved together with a part (for example, low importance) data from the vector quantization unit 20, taken out from the output terminal 23, and transmitted (or recorded / reproduced) to the combining side (decoding side). .

【0066】次に、伝送されて(あるいは記録再生され
て)得られた上記各データに基づき音声信号を合成する
ための合成側(デコード側)の概略構成について、図1
1を参照しながら説明する。
Next, a schematic configuration of a synthesizing side (decoding side) for synthesizing an audio signal based on the above-described respective data transmitted (or recorded and reproduced) is shown in FIG.
1 will be described.

【0067】この図11において、入力端子31には、
上記図6に示すエンコーダ側の出力端子23から取り出
されたデータ信号に略々等しい(伝送や記録再生による
信号劣化を無視して)データ信号が供給される。この入
力端子31からのデータは、フレームデインターリーブ
部32に送られて、上記図6のインターリーブ処理の逆
処理となるデインターリーブ処理が施され、主要部(エ
ンコーダ側でCRC及び畳み込み符号化された部分で、
一般に重要度の高いデータ部分)は復号化部33で復号
化処理されてバッドフレームマスク処理部34に、残部
(符号化処理の施されていない重要度の低いもの)はそ
のままバッドフレームマスク処理部34に、それぞれ送
られる。復号化部33においては、例えばいわゆるビタ
ビ復号化処理やCRCチェックコードを用いたエラー検
出処理が施される。バッドフレームマスク処理部34
は、エラーの多いフレームのパラメータを補間で求める
ような処理を行うと共に、上記ピッチデータ、有声音/
無声音(V/UV)データ、及びベクトル量子化された
振幅データを分離して取り出す。
In FIG. 11, the input terminal 31 has
A data signal substantially equal to the data signal extracted from the output terminal 23 on the encoder side shown in FIG. 6 (ignoring signal deterioration due to transmission and recording / reproduction) is supplied. The data from the input terminal 31 is sent to the frame deinterleave unit 32, where the data is subjected to deinterleave processing which is the reverse of the interleave processing of FIG. 6 described above, and the main part (CRC and convolutional coded on the encoder side) In part,
Generally, a data portion having a high degree of importance is decoded by the decoding section 33 and sent to the bad frame mask processing section 34, and the remaining part (a part having a low degree of importance not subjected to encoding processing) is sent to the bad frame mask processing section 34 as it is. , Each sent. In the decoding unit 33, for example, a so-called Viterbi decoding process or an error detection process using a CRC check code is performed. Bad frame mask processing unit 34
Performs a process of obtaining the parameters of a frame with many errors by interpolation, and performs the above-described pitch data, voiced sound /
Unvoiced sound (V / UV) data and vector-quantized amplitude data are separated and extracted.

【0068】バッドフレームマスク処理部34からの上
記ベクトル量子化された振幅データは、逆ベクトル量子
化部35に送られて逆量子化され、データ数逆変換部3
6に送られて逆変換される。このデータ数逆変換部36
では、上述した図1のデータ数変換部19と対照的な逆
変換が行われ、得られた振幅データが有声音合成部37
及び無声音合成部38に送られる。マスク処理部34か
らの上記ピッチデータは、有声音合成部37及び無声音
合成部38に送られる。またマスク処理部34からの上
記V/UV判別データも、有声音合成部37及び無声音
合成部38に送られる。
The vector-quantized amplitude data from the bad frame mask processing unit 34 is sent to an inverse vector quantization unit 35 and inversely quantized, and the data number inverse transform unit 3
6 to be inversely transformed. This data number inverse conversion unit 36
Then, the inverse conversion is performed in contrast to the data number conversion unit 19 in FIG. 1 described above, and the obtained amplitude data is converted to the voiced sound synthesis unit 37.
And sent to the unvoiced sound synthesizer 38. The pitch data from the mask processing unit 34 is sent to the voiced sound synthesis unit 37 and the unvoiced sound synthesis unit 38. The V / UV discrimination data from the mask processing unit 34 is also sent to the voiced sound synthesis unit 37 and the unvoiced sound synthesis unit 38.

【0069】有声音合成部37では例えば余弦(cosine)
波合成により時間軸上の有声音波形を合成し、無声音合
成部38では例えばホワイトノイズをバンドパスフィル
タでフィルタリングして時間軸上の無声音波形を合成
し、これらの各有声音合成波形と無声音合成波形とを加
算部41で加算合成して、出力端子42より取り出すよ
うにしている。この場合、上記振幅データ、ピッチデー
タ及びV/UV判別データは、上記分析時の1フレーム
(Lサンプル、例えば160サンプル)毎に更新されて
与えられるが、フレーム間の連続性を高める(円滑化す
る)ために、上記振幅データやピッチデータの各値を1
フレーム中の例えば中心位置における各データ値とし、
次のフレームの中心位置までの間(合成時の1フレー
ム)の各データ値を補間により求める。すなわち、合成
時の1フレーム(例えば上記分析フレームの中心から次
の分析フレームの中心まで)において、先端サンプル点
での各データ値と終端(次の合成フレームの先端)サン
プル点での各データ値とが与えられ、これらのサンプル
点間の各データ値を補間により求めるようにしている。
In the voiced sound synthesizer 37, for example, a cosine
A voiced sound waveform on the time axis is synthesized by wave synthesis, and the unvoiced sound synthesizer 38 synthesizes an unvoiced sound waveform on the time axis by filtering, for example, white noise with a band-pass filter. The adder 41 adds and synthesizes the waveform and the waveform, and extracts the resultant from the output terminal 42. In this case, the amplitude data, the pitch data, and the V / UV discrimination data are updated and provided every frame (L samples, for example, 160 samples) at the time of the analysis, but the continuity between the frames is improved (smoothness). ), Each value of the amplitude data and the pitch data is set to 1
For example, each data value at the center position in the frame,
Each data value up to the center position of the next frame (one frame at the time of synthesis) is obtained by interpolation. That is, in one frame (for example, from the center of the above-described analysis frame to the center of the next analysis frame) at the time of synthesis, each data value at the leading sample point and each data value at the end (front of the next synthesized frame) sample point are obtained. And each data value between these sample points is obtained by interpolation.

【0070】また、V/UV判別データに応じて全バン
ドを1箇所の区分位置で有声音(V)領域と無声音(U
V)領域とに区分することができ、この区分に応じて、
各バンド毎のV/UV判別データを得ることができる。
この区分位置については、上述したように、低域側のV
が高域側に拡張されていることがある。ここで、分析側
(エンコーダ側)で一定数(例えば12程度)のバンド
に低減(縮退)されている場合には、これを解いて(復
元して)、元のピッチに応じた間隔で可変個数のバンド
とすることは勿論である。
Further, according to the V / UV discrimination data, all the bands are divided into a voiced (V) area and an unvoiced sound (U
V) area, and according to this division,
V / UV discrimination data for each band can be obtained.
As described above, regarding this division position, the V
May be extended to the high frequency side. If the analysis side (encoder side) has reduced (reduced) to a certain number (for example, about 12) bands on the analysis side (encoder side), this is resolved (restored) and changed at intervals according to the original pitch. Needless to say, the number of bands is set.

【0071】以下、有声音合成部37における合成処理
を詳細に説明する。上記V(有声音)と判別された第m
バンド(第m高調波の帯域)における時間軸上の上記1
合成フレーム(Lサンプル、例えば160サンプル)分
の有声音をVm (n) とするとき、この合成フレーム内の
時間インデックス(サンプル番号)nを用いて、 Vm (n) =Am (n) cos(θm (n)) 0≦n<L ・・・(14) と表すことができる。全バンドの内のV(有声音)と判
別された全てのバンドの有声音を加算(ΣVm (n) )し
て最終的な有声音V(n) を合成する。
Hereinafter, the synthesizing process in the voiced sound synthesizing section 37 will be described in detail. The m-th discriminated as V (voiced sound)
1 on the time axis in the band (band of the m-th harmonic)
Synthetic frame (L samples, e.g., 160 samples) when the amount of the voiced and V m (n), using a time index (sample number) n in the synthetic frame, V m (n) = A m (n ) cos (θ m (n)) 0 ≦ n <L (14) The final voiced sound V (n) is synthesized by adding (ΣV m (n)) the voiced sounds of all the bands determined as V (voiced sound) in all the bands.

【0072】この(14)式中のAm (n) は、上記合成フ
レームの先端から終端までの間で補間された第m高調波
の振幅である。最も簡単には、フレーム単位で更新され
る振幅データの第m高調波の値を直線補間すればよい。
すなわち、上記合成フレームの先端(n=0)での第m
高調波の振幅値をA0m、該合成フレームの終端(n=
L:次の合成フレームの先端)での第m高調波の振幅値
をALmとするとき、 Am (n) = (L-n)A0m/L+nALm/L ・・・(15) の式によりAm (n) を計算すればよい。
A m (n) in the equation (14) is the amplitude of the m-th harmonic interpolated from the top to the end of the synthesized frame. In the simplest case, the value of the m-th harmonic of the amplitude data updated for each frame may be linearly interpolated.
That is, the m-th position at the end (n = 0) of the composite frame
The amplitude value of the harmonic is A 0m , and the end of the synthesized frame (n =
L: When the m-th harmonic amplitude value at the tip) of the next synthesized frame is A Lm, the formula A m (n) = (Ln ) A 0m / L + nA Lm / L ··· (15) A m (n) may be calculated.

【0073】次に、上記(14)式中の位相θm (n) は、 θm (n) =mωO1n+n2 m(ωL1−ω01)/2L+φ0m+Δωn ・・・(16) により求めることができる。この(16)式中で、φ0m
上記合成フレームの先端(n=0)での第m高調波の位
相(フレーム初期位相)を示し、ω01は合成フレーム先
端(n=0)での基本角周波数、ωL1は該合成フレーム
の終端(n=L:次の合成フレーム先端)での基本角周
波数をそれぞれ示している。上記(16)式中のΔωは、
n=Lにおける位相φLmがθm (L) に等しくなるような
最小のΔωを設定する。
Next, the (14) the phase theta m (n) in the expression by θ m (n) = mω O1 n + n 2 m (ω L1 -ω 01) / 2L + φ 0m + Δωn ··· (16) You can ask. In the equation (16), φ 0m indicates the phase of the m-th harmonic (frame initial phase) at the front end (n = 0) of the composite frame, and ω 01 indicates the phase at the front end (n = 0) of the composite frame. The fundamental angular frequency ω L1 indicates the fundamental angular frequency at the end of the combined frame (n = L: the leading end of the next combined frame). Δω in the above equation (16) is
The minimum Δω is set so that the phase φ Lm at n = L becomes equal to θ m (L).

【0074】以下、任意の第mバンドにおいて、それぞ
れn=0、n=LのときのV/UV判別結果に応じた上
記振幅Am (n) 、位相θm (n) の求め方を説明する。
The method of obtaining the amplitude A m (n) and the phase θ m (n) according to the V / UV discrimination result when n = 0 and n = L in an arbitrary m-th band will be described below. I do.

【0075】第mバンドが、n=0、n=Lのいずれも
V(有声音)とされる場合に、振幅Am (n) は、上述し
た(15)式により、伝送された振幅値A0m、ALmを直線
補間して振幅Am (n) を算出すればよい。位相θm (n)
は、n=0でθm (0) =φ0mからn=Lでθm (L) がφ
LmとなるようにΔωを設定する。
When the m-th band is V (voiced sound) for both n = 0 and n = L, the amplitude A m (n) is calculated by the above equation (15). The amplitude A m (n) may be calculated by linearly interpolating A 0m and A Lm . Phase θ m (n)
Is a n = 0 θ m (0) = φ from 0m at n = L θ m (L) is phi
Δω is set to be Lm .

【0076】次に、n=0のときV(有声音)で、n=
LのときUV(無声音)とされる場合に、振幅Am (n)
は、Am (0) の伝送振幅値A0mからAm (L) で0となる
ように直線補間する。n=Lでの伝送振幅値ALmは無声
音の振幅値であり、後述する無声音合成の際に用いられ
る。位相θm (n) は、θm (0) =φ0mとし、かつΔω=
0とする。
Next, when n = 0, V (voiced sound) and n =
If L (unvoiced sound) at L, the amplitude A m (n)
Is linearly interpolated so that 0 A m (L) from the transmission amplitude value A 0 m of A m (0). The transmission amplitude value A Lm at n = L is the amplitude value of the unvoiced sound, and is used in unvoiced sound synthesis described later. Phase θ m (n) is set to θ m (0) = φ 0m , and [Delta] [omega =
Set to 0.

【0077】さらに、n=0のときUV(無声音)で、
n=LのときV(有声音)とされる場合には、振幅Am
(n) は、n=0での振幅Am (0) を0とし、n=Lで伝
送された振幅値ALmとなるように直線補間する。位相θ
m (n) については、n=0での位相θm (0) として、フ
レーム終端での位相値φLmを用いて、 θm (0) =φLm−m(ωO1+ωL1)L/2 ・・・(17) とし、かつΔω=0とする。
Further, when n = 0, UV (unvoiced sound)
If V = voiced sound when n = L, the amplitude Am
(n) sets the amplitude A m (0) at n = 0 to 0 and performs linear interpolation so that the transmitted amplitude value A Lm at n = L. Phase θ
The m (n), the phase theta m as (0) at n = 0, by using the phase value phi Lm at the frame end, θ m (0) = φ Lm -m (ω O1 + ω L1) L / 2 (17) and Δω = 0.

【0078】上記n=0、n=LのいずれもV(有声
音)とされる場合に、θm (L) がφLmとなるようにΔω
を設定する手法について説明する。上記(16)式で、n
=Lと置くことにより、 θm (L) =mωO1L+L2 m(ωL1−ω01)/2L+φ
0m+ΔωL =m(ωO1+ωL1)L/2+φ0m+ΔωL =φLm となり、これを整理すると、Δωは、 Δω=(mod2π((φLm−φ0m) − mL(ωO1+ωL1)/2)/L ・・・(18) となる。この(18)式でmod2π(x) とは、xの主値を−
π〜+πの間の値で返す関数である。例えば、x=1.3
πのときmod2π(x) =−0.7π、x=2.3πのときmod2
π(x) =0.3π、x=−1.3πのときmod2π(x) =0.7
π、等である。
When both n = 0 and n = L are set to V (voiced sound), Δω is set so that θ m (L) becomes φ Lm.
The method for setting is described. In the above equation (16), n
= L, θ m (L) = mω O1 L + L 2 m (ω L1 −ω 01 ) / 2L + φ
0m + ΔωL = m (ω O1 + ω L1) L / 2 + φ 0m + ΔωL = φ Lm becomes, and rearranging this, [Delta] [omega is, Δω = (mod2π ((φ Lm -φ 0m) - mL (ω O1 + ω L1) / 2 ) / L (18) In this equation (18), mod2π (x) means that the main value of x is −
This function returns a value between π and + π. For example, x = 1.3
mod2π (x) = -0.7π when π, mod2 when x = 2.3π
When π (x) = 0.3π, x = -1.3π, mod2π (x) = 0.7
π, and so on.

【0079】以下、無声音合成部38における無声音合
成処理を説明する。ホワイトノイズ発生部43からの時
間軸上のホワイトノイズ信号波形を窓かけ処理部44に
送って、所定の長さ(例えば256サンプル)で適当な
窓関数(例えばハミング窓)により窓かけをし、STF
T処理部45によりSTFT(ショートタームフーリエ
変換)処理を施すことにより、ホワイトノイズの周波数
軸上のパワースペクトルを得る。このSTFT処理部4
5からのパワースペクトルをバンド振幅処理部46に送
り、上記UV(無声音)とされたバンドについて上記振
幅|Am UVを乗算し、他のV(有声音)とされたバン
ドの振幅を0にする。このバンド振幅処理部46には上
記振幅データ、ピッチデータ、V/UV判別データが供
給されている。
Hereinafter, the unvoiced sound synthesizing process in the unvoiced sound synthesizing section 38 will be described. The white noise signal waveform on the time axis from the white noise generation unit 43 is sent to the windowing processing unit 44, and windowing is performed with a predetermined length (for example, 256 samples) and an appropriate window function (for example, a Hamming window). STF
The power spectrum on the frequency axis of white noise is obtained by performing STFT (Short Term Fourier Transform) processing by the T processing unit 45. This STFT processing unit 4
5 is sent to the band amplitude processing unit 46, and the above-mentioned UV (unvoiced sound) band is multiplied by the above-mentioned amplitude | A m | UV, and the amplitude of the other V (voiced sound) band is set to 0. To The band amplitude processing section 46 is supplied with the amplitude data, the pitch data, and the V / UV discrimination data.

【0080】バンド振幅処理部46からの出力は、IS
TFT処理部47に送られ、位相は元のホワイトノイズ
の位相を用いて逆STFT処理を施すことにより時間軸
上の信号に変換する。ISTFT処理部47からの出力
は、オーバーラップ加算部48に送られ、時間軸上で適
当な(元の連続的なノイズ波形を復元できるように)重
み付けをしながらオーバーラップ及び加算を繰り返し、
連続的な時間軸波形を合成する。このオーバーラップ加
算部48からの出力信号が上記加算部41に送られる。
The output from the band amplitude processing section 46 is IS
The phase is sent to the TFT processing unit 47, and the phase is converted to a signal on the time axis by performing inverse STFT processing using the phase of the original white noise. The output from the ISTFT processing unit 47 is sent to an overlap addition unit 48, which repeats overlap and addition while weighting appropriately (to restore the original continuous noise waveform) on the time axis.
Synthesize a continuous time axis waveform. The output signal from the overlap adder 48 is sent to the adder 41.

【0081】このように、各合成部37、38において
合成されて時間軸上に戻された有声音部及び無声音部の
各信号は、加算部41により適当な固定の混合比で加算
して、出力端子42より再生された音声信号を取り出
す。
As described above, the respective signals of the voiced sound portion and the unvoiced sound portion that have been synthesized in the synthesis portions 37 and 38 and returned on the time axis are added by the addition portion 41 at an appropriate fixed mixing ratio. The reproduced audio signal is extracted from the output terminal 42.

【0082】なお、本発明は上記実施例のみに限定され
るものではなく、例えば、上記スペクトル情報を用いた
ピッチ検出は、自己相関等の時間軸上の処理ではピッチ
を捉えきれない場合や、全バンドがUV(無声音)との
判断が妥当しない場合に行うようにしているが、最初か
らスペクトル情報を用いたピッチ検出を行うようにして
もよい。また、上記図6の音声分析側(エンコード側)
の構成や図11の音声合成側(デコード側)の構成につ
いては、各部をハードウェア的に記載しているが、いわ
ゆるDSP(ディジタル信号プロセッサ)等を用いてソ
フトウェアプログラムにより実現することも可能であ
る。また、上記高調波(ハーモニクス)毎のバンドをま
とめて(縮退させて)一定個数のバンドにすることは、
必要に応じて行えばよく、縮退バンド数も12バンドに
限定されない。また、全バンドを1箇所以下の区分位置
で低域側V領域と高域側UV領域とに分割する処理も必
要に応じて行えばよく、行わなくともよい。さらに、本
発明が適用されるものは上記マルチバンド励起音声分析
/合成方法に限定されず、サイン波合成を用いる種々の
音声分析/合成方法に容易に適用でき、また、用途とし
ても、信号の伝送や記録再生のみならず、ピッチ変換
や、スピード変換や、雑音抑制等の種々の用途に応用で
きるものである。
The present invention is not limited to the above embodiment. For example, the pitch detection using the above-mentioned spectrum information may be performed when the pitch cannot be completely captured by processing on the time axis such as autocorrelation. Although the determination is made when the determination of UV (unvoiced sound) is not appropriate for all bands, pitch detection using spectral information may be performed from the beginning. Also, the voice analysis side (encode side) in FIG.
Although the respective components are described in terms of hardware with respect to the configuration of FIG. 11 and the configuration of the speech synthesis side (decoding side) in FIG. 11, they can be realized by a software program using a so-called DSP (digital signal processor) or the like. is there. In addition, to combine (degenerate) the bands for each of the harmonics (harmonics) into a fixed number of bands,
This may be performed as needed, and the number of degenerate bands is not limited to 12 bands. Further, the process of dividing the entire band into the low-frequency side V region and the high-frequency side UV region at one or less division positions may be performed as necessary, and may not be performed. Furthermore, the present invention is not limited to the above-described multi-band excitation speech analysis / synthesis method, but can be easily applied to various speech analysis / synthesis methods using sine wave synthesis. The present invention can be applied not only to transmission and recording / reproduction, but also to various uses such as pitch conversion, speed conversion, and noise suppression.

【0083】[0083]

【発明の効果】以上の説明から明らかなように、本発明
に係るピッチ検出方法によれば、入力音声信号を時間軸
上でブロック単位で区分して各ブロックの信号毎に音声
の基本周期に相当するピッチを検出するピッチ検出方法
において、この区分されたブロック内の信号のスペクト
ルについての低域側のパワー偏在及びピークを検出し、
この検出されたピーク近傍の極大値を検出し、上記ピー
クの位置と上記極大値の位置とに基づいてピッチを検出
しているため、自己相関等の時間軸上の処理ではピッチ
を捕捉できなかった場合でも高精度にピッチ検出が行え
る。
As is apparent from the above description, according to the pitch detection method of the present invention, the input audio signal is divided into blocks on the time axis, and the signal of each block is divided into the basic period of the audio. In a pitch detection method of detecting a corresponding pitch, by detecting the power unevenness and peak on the low band side of the spectrum of the signal in this divided block,
Since the maximum value near the detected peak is detected, and the pitch is detected based on the position of the peak and the position of the maximum value, the pitch cannot be captured by processing on the time axis such as autocorrelation. Pitch detection can be performed with high accuracy.

【0084】また、このようなピッチ検出を、自己相関
等の時間軸上での処理によりピッチが捉えきれないと
き、例えば、上記区分されたブロックを複数の帯域に分
割した各帯域毎に有声音か無声音かを判別して、全帯域
が無声音と判別されたときのみ行うようにしているた
め、特に、かすれ声やしわがれ声等の特殊な音声につい
ても、全バンドにおいてUV(無声音)となることはな
く、自然な音声が合成できる。
When the pitch cannot be detected due to the processing on the time axis such as the autocorrelation, for example, the voice detection is performed for each band obtained by dividing the divided block into a plurality of bands. Or unvoiced sound, so that it is performed only when the entire band is determined to be unvoiced. In particular, special voices such as faint or wrinkled voices also become UV (unvoiced) in all bands. No, natural speech can be synthesized.

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

【図1】有声音信号のスペクトル構造の一例を示す図で
ある。
FIG. 1 is a diagram illustrating an example of a spectral structure of a voiced sound signal.

【図2】無声音信号のスペクトル構造の一例を示す図で
ある。
FIG. 2 is a diagram illustrating an example of a spectral structure of an unvoiced sound signal.

【図3】フォルマント構造が明確でもピッチ(基本周波
数)が現れないような信号のスペクトル構造の一例を示
す図である。
FIG. 3 is a diagram showing an example of a signal spectrum structure in which a pitch (fundamental frequency) does not appear even if the formant structure is clear.

【図4】ピーク近傍のスペクトル構造の一例を示す図で
ある。
FIG. 4 is a diagram illustrating an example of a spectrum structure near a peak.

【図5】本発明の一実施例としてのピッチ検出方法の動
作を説明するためのフローチャートである。
FIG. 5 is a flowchart for explaining the operation of the pitch detection method as one embodiment of the present invention.

【図6】本発明に係るピッチ検出方法が適用される装置
の具体例としての音声信号の分析/合成符号化装置の分
析側(エンコード側)の概略構成を示す機能ブロック図
である。
FIG. 6 is a functional block diagram showing a schematic configuration of an analyzing side (encoding side) of an audio signal analyzing / synthesizing encoding apparatus as a specific example of an apparatus to which the pitch detecting method according to the present invention is applied.

【図7】窓かけ処理を説明するための図である。FIG. 7 is a diagram for explaining windowing processing.

【図8】窓かけ処理と窓関数との関係を説明するための
図である。
FIG. 8 is a diagram for explaining a relationship between a windowing process and a window function.

【図9】直交変換(FFT)処理対象としての時間軸デ
ータを示す図である。
FIG. 9 is a diagram showing time axis data as an object of orthogonal transform (FFT) processing.

【図10】周波数軸上のスペクトルデータ、スペクトル
包絡線(エンベロープ)及び励起信号のパワースペクト
ルを示す図である。
FIG. 10 is a diagram showing spectrum data on a frequency axis, a spectrum envelope (envelope), and a power spectrum of an excitation signal.

【図11】本発明に係る高能率符号化方法が適用される
装置の具体例としての音声信号の分析/合成符号化装置
の合成側(デコード側)の概略構成を示す機能ブロック
図である。
FIG. 11 is a functional block diagram showing a schematic configuration of a synthesis side (decode side) of an audio signal analysis / synthesis encoding apparatus as a specific example of an apparatus to which the high-efficiency encoding method according to the present invention is applied.

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

13・・・・・ピッチ抽出部 14・・・・・窓かけ処理部 15・・・・・直交変換(FFT)部 16・・・・・高精度(ファイン)ピッチサーチ部 17・・・・・有声音/無声音(V/UV)判別部 18V・・・・・有声音の振幅評価部 18U・・・・・無声音の振幅評価部 24・・・・・パワー偏在・ピーク検出部 25・・・・・ピッチ算出部 37・・・・・有声音合成部 38・・・・・無声音合成部 13 Pitch extraction unit 14 Window processing unit 15 Orthogonal transformation (FFT) unit 16 High-precision (fine) pitch search unit 17 Voiced / unvoiced (V / UV) discriminating unit 18V... Voiced sound amplitude evaluating unit 18U... Unvoiced sound amplitude evaluating unit 24. ... Pitch calculation unit 37 ... Voiced sound synthesis unit 38 ... Unvoiced sound synthesis unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G10L 11/04 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G10L 11/04

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力音声信号を時間軸上でブロック単位
で区分し、この区分された各ブロックの信号毎に音声の
基本周期に相当するピッチを検出するピッチ検出方法に
おいて、 この区分されたブロック内の信号のスペクトルの低域側
のパワー偏在及びピークを検出する工程と、 この検出されたピーク近傍の極大値を検出する工程と、 上記検出されたピークの位置と上記極大値の位置とに基
づいてピッチを検出する工程とを有することを特徴とす
るピッチ検出方法。
1. A pitch detection method for dividing an input audio signal into blocks on a time axis and detecting a pitch corresponding to a basic period of audio for each signal of each of the divided blocks. Detecting the power unevenness and peak on the low frequency side of the spectrum of the signal within, detecting the local maximum value in the vicinity of the detected peak, and detecting the position of the detected peak and the position of the local maximum value. Detecting a pitch based on the pitch.
【請求項2】 上記区分されたブロックを複数の帯域に
分割し、分割された各帯域毎に有声音か無声音かを判別
して、全帯域が無声音と判別されたとき、 上記パワー偏在及びピークを検出し、該ピーク近傍の極
大値を検出し、これらのピーク位置と極大値の位置とに
基づいてピッチを検出することを特徴とする請求項1記
載のピッチ検出方法。
2. The method according to claim 1, wherein the divided block is divided into a plurality of bands, and whether each of the divided bands is voiced or unvoiced is determined. 2. The pitch detection method according to claim 1, further comprising: detecting a maximum value near the peak, and detecting a pitch based on the peak position and the position of the maximum value.
JP26059693A 1993-10-19 1993-10-19 Pitch detection method Expired - Fee Related JP3321933B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26059693A JP3321933B2 (en) 1993-10-19 1993-10-19 Pitch detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26059693A JP3321933B2 (en) 1993-10-19 1993-10-19 Pitch detection method

Publications (2)

Publication Number Publication Date
JPH07114396A JPH07114396A (en) 1995-05-02
JP3321933B2 true JP3321933B2 (en) 2002-09-09

Family

ID=17350152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26059693A Expired - Fee Related JP3321933B2 (en) 1993-10-19 1993-10-19 Pitch detection method

Country Status (1)

Country Link
JP (1) JP3321933B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI113903B (en) * 1997-05-07 2004-06-30 Nokia Corp Speech coding
ES2533358T3 (en) * 2007-06-22 2015-04-09 Voiceage Corporation Procedure and device to estimate the tone of a sound signal
JP6988601B2 (en) * 2018-03-15 2022-01-05 富士通株式会社 Information processing programs, information processing methods and information processing equipment

Also Published As

Publication number Publication date
JPH07114396A (en) 1995-05-02

Similar Documents

Publication Publication Date Title
JP3475446B2 (en) Encoding method
JP3277398B2 (en) Voiced sound discrimination method
JP4641620B2 (en) Pitch detection refinement
JP3680374B2 (en) Speech synthesis method
JPH01221800A (en) Acoustic waveform coding system
JP3297751B2 (en) Data number conversion method, encoding device and decoding device
JP3297749B2 (en) Encoding method
JP3404350B2 (en) Speech coding parameter acquisition method, speech decoding method and apparatus
US6115685A (en) Phase detection apparatus and method, and audio coding apparatus and method
JP3218679B2 (en) High efficiency coding method
JP3321933B2 (en) Pitch detection method
JP3362471B2 (en) Audio signal encoding method and decoding method
JP2000514207A (en) Speech synthesis system
JP3271193B2 (en) Audio coding method
JP3398968B2 (en) Speech analysis and synthesis method
JP3218681B2 (en) Background noise detection method and high efficiency coding method
JP3223564B2 (en) Pitch extraction method
JP3297750B2 (en) Encoding method
JP3218680B2 (en) Voiced sound synthesis method
JP3440500B2 (en) decoder
JP2003216189A (en) Encoder and decoder
JP3221050B2 (en) Voiced sound discrimination method
JPH06202695A (en) Speech signal processor
JPH07104777A (en) Pitch detecting method and speech analyzing and synthesizing method
JPH07104793A (en) Encoding device and decoding device for voice

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: 20020528

LAPS Cancellation because of no payment of annual fees