JPH02230297A - Period detecting method - Google Patents

Period detecting method

Info

Publication number
JPH02230297A
JPH02230297A JP5174289A JP5174289A JPH02230297A JP H02230297 A JPH02230297 A JP H02230297A JP 5174289 A JP5174289 A JP 5174289A JP 5174289 A JP5174289 A JP 5174289A JP H02230297 A JPH02230297 A JP H02230297A
Authority
JP
Japan
Prior art keywords
peak
period
level
point
detected
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.)
Pending
Application number
JP5174289A
Other languages
Japanese (ja)
Inventor
Yukichi Momoshima
百嶋 祐吉
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.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments Inc
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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP5174289A priority Critical patent/JPH02230297A/en
Priority to EP19900302241 priority patent/EP0385799A3/en
Priority to KR1019900002843A priority patent/KR900015473A/en
Publication of JPH02230297A publication Critical patent/JPH02230297A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To securely detect a specific period in a short time by finding a 1st peak within a specific range, detecting a 2nd peak corresponding to the 1st peak by a search from a detection start point corresponding to the level of the 1st peak, and deciding whether or not a period determined based upon the 1st and 2nd peaks is appropriate. CONSTITUTION:The time t0 (when a MAX point is obtained within a specific range and a peak point is obtained is detected. A peak value is detected after a signal level drops below the half of the signal level at the time t0) and rises above the 1/2, and a next peak point WP1 is detected from a level variation state almost based upon the detected peak value, thereby estimating WP1-WP0 as its period temporarily. Another next peak is searched for within a range BW+DELTAB in accordance with the estimated period and the adequacy of the estimated period is checked in accordance with the time intervals of WP0, WP1, and WP2 to decide that the estimated period is correct at the time of (WP1-WP0) (WP2-WP1). Consequently, whether or no there is the periodicity and its period are known speedily and securely.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、音声信号に含まれる周期性を有する信号部分
の周期を検出する方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for detecting the period of a periodic signal portion included in an audio signal.

〔発明の概要〕[Summary of the invention]

本発明は、音声信号波形のある範囲内で第1のピークを
見つけ、該第1のピークのレベルに応じた検出開始点か
らのサーチにより第1のピークに対応する第2のピーク
を検出し、第1及び第2のピークに基づいて定められる
周期が正当か否かをその周期毎に所定のピーク値が得ら
れるか否かにより判定し、もって所定のII!JMを確
実に検出するようにしたものである. 〔従来の技術〕 例えば、音声信号を符号化する理由でその信号の周期性
のある部分について周期を検出する必要が生じる場合が
ある.このような要求に対し、従来では、音声信号の零
クロス点の時刻のデータを得、このデータにより示され
る零クロス点の時間間隔からその周期性のある部分につ
いての周期を見つける方法が用いられている. 〔発明が解決しようとする!II!I)しかし、この従
来方法によると、ある周期内における零クロス点の時間
間隔から規則性を見つけるために、条件判断ステップを
多数含む複雑なプログラムをコンピュータで実行させる
必要が生じ、検出に多大な時間を必嬰とするため、音声
信号の符号化処理をリアルタイムで応答性よく行ないた
い場合等には不向きであるという問題点を有している. 本発明の目的は、したがって、比較的簡単なアルゴリズ
ムにより、音声信号に含まれる周期性のある信号部分の
周期を短時間で確実に検出することができる改善された
周期検出方法を提供することにある. (!!題を解決するための手段〕 上記課題を解決するための本発明の特徴は、音声信号中
の周期性を有する部分の繰り返し周期を検出するための
方法において、所定の範囲内で音声信号のレベルが最大
値で且つ極大値となる時点t.を検出する第1ステップ
と、10、t1、t2におけるピーク値のレベルに応じ
て該ピーク値に対応する次のピーク値を検出するための
レベルチェック開始点を決定する第2ステップと、該開
始点以降における最初のピークを検出する第3ステップ
と、該最初のピークの近傍のレベル変化の様子からこの
最初のピークがt0のピークに対応するピークであるか
否かを判別する第4ステップと、第3及び第4ステップ
を繰り返し実行することにより、t.のピークに対応す
る次のピークの発生時点t,を確定する第5ステップと
、t,−1。の値に基づいて予想される範囲内において
、t0のピークに対応するさらに別のピークの発生時点
1.を少なくとも1つ検出するための第6ステップと、
jet F+ t0、t1、t2に基づいて周期の決定
を行う第7ステップとを備えた点にある. 〔作用J 第1のステップでt。が検出された後、第5ステップで
(。に対応すると考えられるピークがt1において発生
していることが検出されると、t+−toが所定の周期
であると推定される.したがって、t●のピークに対応
する別のピークの発生時点は1.−t0の値に基づいて
ある程度精度よく予想することができる.そこで、上記
考えに基づいてピークの発生時点をある範囲をもって予
想し、その予想されたソーンにおいてピークが検出され
るか否かにより、1. − 1.が所定の周期であるか
どうかの妥当性がチェックされる. 〔実施例〕 以下、本発明の一実施例について詳細に説明す第1図は
、本発明の方法により音声信号の周期性を有する部分の
周期を検出するための信号処理装置1の一実施例を示し
、信号処理装置1は、音声を相応するアナログ信号に変
換するためのマイクロホン2と、マイクロホン2からの
信号を増幅するためのアンブ3とを有し、アンプ3から
の音声信号Sが周期検出器4に入力されている.周期検
出器4は、公知の構成のマイクロコンピュータとして構
成されており、I/O装置5, CPU6.ROM?.
R入M8及びバス9を備えて成っている,ROM?内に
は、周期を検出するための処理プログラムが予めストア
されており、音声信号Sぱこの処理プログラムに従って
処理され、周期の検出が行われる. 第2図には、この処理プログラムを示すフローチャート
が示されている. 以下、第2図に示すフローチャートを参照しながら第3
図に示す音声信号Sの周期を本発明にしたがって検出す
る方法について説明する.ステップ11において、時間
軸上の原点0を検出動作開始点scanとしてセットす
る.次に、ステップ12において、64サンプル巾内に
おける最大ピーク点一POを検出するための第1処理が
実行される.この第1処理の詳細は、第4図の詳細フロ
ーチャートにて示されている.ステップ31では、64
サンプルのデータのうち最大の値を与えるサンプル点(
時刻to)と、そのレベルL0の検出が行われ、レベル
L.が所定のレベルAより大きいか否かの判別が行われ
る.(ステップ31).このレベルAは、音声信号Sの
ピークレベル値の2程度に選ばれるのが好ましく、この
比較により、検出された最大値が低レベルノイズの最大
値である場合は、これを有効に排除することができる. L.≦Aの場合は、ステップ33でフラグFがクリアさ
れて次のステップ13に進むaLe>Aの場合には、ス
テップ34で、時刻t0におけるサンプルデータに連続
する2つのサンプルデータの各レベルがやはりレベルA
より大きいか否かの判別が行われる.このレベルチェッ
クにおいて、時刻t.のサンプルデータがパルス性の大
レベルデータでない場合には3つのサンプルデータのレ
ベルは全てAより大きくなるはずである. このようにして行われるレベルチェックがOKの場合に
はステップ35においてフラグFをセントし、ステップ
13に進む.若しステップ34のレベルチェックがOK
でないと、ステップ33においてフラグFがクリアされ
てからステップl3に進む.フラグFは、最初の64ビ
ットのサンプルデータ内に所定のピーク値データが含ま
れるか否かを示すものであり、F−0の場合にはステッ
プ13の判別結果はNoとなり、ステップ14で検出不
可能である出力信号を周期検出器4から出力する.ステ
ップ12において最初のピーク値が検出されるとF−1
となり、ステップl5に進む.ステップ15では、次の
処理のための検出動作開始点scanを一P O ( 
= to)とし、ループカウンタの値100pnbを0
にセントする.しかる後、WPOに対応する次のピーク
点胛1を検出するための第2処理がステップ16におい
て実行される.第5図を参照して第2処理について詳細
に延べると、先ずステップ41で、音声信号のレベルチ
ェックの範囲が決定される.この実施例では、scan
+16つまりWPO+16のサンプリング点からーPO
+106のサンプリング点までの範囲においてチェック
が実行されることとなる.このチェック開始点の決定は
適宜に行うことができるが、後述するように、そのピー
ク点(今の場合WPO)のレベルに応じて決定されるこ
とにより、効率よく所定のチェックを行うことが可能と
なる. ステップ42では、ピーク点畦0のレベル値<ypo>
の〃のレベルにまで音声信号のレベルが低下するポイン
トをf1認すると共に、更に、ステップ43では再び(
HP O )のAのレベルの点にまでそのレベルが上昇
するポイントを確認する.本発明の方法では、レベル(
HP O ’)に従って定まる上述の範囲、すなわちー
PO点から音声信号のレベルが(WPo)/2に再び達
するまでの間においてはWPO点のピークに相応するピ
ークは生じないとの仮定に基づき、ステップ43での確
認が終了した後に、ステップ44において所定のピーク
検出のための処理が開始される. すなわち、第3図において時刻1,以降における各サン
プリング値のレベルに基づいて次のピークWPIの検出
を行うため、先ず、tl以降においてはじめて生じるピ
ーク点XのレベルLxが検出される.ステップ45では
、このピーク点Xが期待される次のピーク点畦1である
か否かのチェックが実行される.このチェソクは、第6
図に示されるように、ピーク点XのレベルLxに対し、
それに連続する複数(例えば3つ)のサンプリング点P
r, Pt,P,におけるレベルLPI. LP!. 
LPSを検出する.そして、これらのレベルLP+, 
LPx. LPsがいずれもレベルLχより小さければ
、ピーク点Xはは所定の極大点であると判別される.第
6図に示す例では、Lx>LP,であるが、Lx<LP
I,及びLx<LPsであるから、ピーク点Xはピーク
賀POに相応するピーク点ではないと判断されることに
なる. ステップ45におけるピークチェックがOKとなると、
ステップ46に進み、次のピークチェックのための第3
処理で用いる制限値のセットが行われる.この制限値の
セットは、下表に示される通りである. 表 すなわち、WPI−14PoO値、すなわちここで検出
された周期値により、周期検出のための次のピーク値探
しにおいて実行すべき畦1以後のチェック範囲及びWP
Iから数えていくつ目のサンプリング点までを無視すべ
きかを示すステップ範囲が上記表に示すステップ範囲が
上記表に基づいて決定される.もちろん、上記の表に示
されたデータは一例であり、これに限定されず適宜にデ
ータの値を変更することはできるが、tnpi−t+p
oの値に基づいて決定されることが重要である. 次いで、ステップ47において、畦1の検出が行えたか
否かを示すフラグBをセントし、ステンプ17へ進む. ステップ45におけるピークチェ7クの結果がOKでな
ければ、ステップ48に進み、ここでチェックのために
予め定められている終了点(WPO + 106)を越
えているか否かを判別を行い、まだ終了点を越えていな
い場合には、ステップ44に戻り、上述のピーク点検出
のための処理を再び行う.ステップ44. 45を繰り
返し実行しても所定のピーク点の検出に成功しなかった
場合は、ステップ48の判別結果がYESとなり、ステ
ップ41においてフラグBがクリアされ、ステップ17
へ進む.第2図に戻ると、ステップ17においてフラグ
Bがセットされているか否かの判別を行い、B−0の場
合には周期の検出ができなかった旨の判断をステップ1
4において行い、本プログラムの実行が終了する. 一方、B−1の場合には、ステップ18に進み、次の周
期検出、すなわち次の所定のピーク点検出のためのチェ
ックのスタート点がーP1にセントされる。しかる後、
ステップ19に進み、ここで第7図に示されるフローチ
ャートに従って次のピーク点検出のための第3処理が実
行される.第7図のフローチャートについて説明すると
、ステップ51では、次のピーク点畦2を決定するため
のチェックの開始点と終了点とが新たに設定される.こ
こでは、第3図に示すようにWPI−WPOO値をBW
とすると、BWの大きさに応じて設定されるサーチ範囲
±ΔBに基づいて、開始点がBW−ΔB,終了点がBW
+ΔBと決定される.ステップ52では、このようにし
て設定された終了点BW+ΔBが、前述のステップ46
で設定された制限値Uを越えているか否かのチェックが
行われ、BW+ΔBTUであれば終了点をscan +
 Uに変更し(ステップ53) , B W+ΔB≦で
あれば終了点σ変更を行うことなしにステップ54に進
む.ステップ54では、このようにして定められた開始
点と終了点との間における最大レベルのサンプリング点
を検出し、その点を一P2とする.ステップ55では,
WP2のレベルがーP1のレベルA以上であるか否かを
チェックし、その判別結果がNoとなった場合は、この
検出されたー22は偽であると判断し、ステップ56に
おいて所定のピーク検出が行えなかった旨の結果をフラ
グCをクリアすることが表示する. 一方、ステップ55の判別結果がYESの場合には、さ
らにステップ57において、IIP2のレベルがWPI
のレベルの2倍以下か否かの判別が行われる.ステップ
57の判別結果がNoの場合には、WP2はレベル異常
に因り不適又は偽であると判断し、ステップ56に進み
、フラグCをクリアする.ステップ57の判別結果がY
ESとなると、ステップ58に進み、ここで一P2のポ
イントが−PL+V以内のものか否かのチェックが行わ
れる.ステップ58の判別結果がNOの場合には、ステ
ップ56に進み、その判別結果がYESの場合にはーP
2は求めるピークであるとの最終判断がなされ、ステッ
プ59においてフラグCをセントし、一P2が適正に検
出されたことを示す. すなわち、第3処理においては、WPO,WPIのデー
タに基づいて、その間の周期BWとほぼ違わない周期に
おいて、WP2が得られるはずであるとの予想の下に、
ΔBの範囲においてチェック範囲を設定し(ステップ5
1),そこで得られた最大レベルの点が胛2であると仮
定される.この仮定が正しいか否かは、そのレベルが所
定範囲(例えばーP1のレベル2〜2倍の間)にあるか
否かがチェックされ(ステップ55. 57),[’2
のポイントが確定される。
The present invention finds a first peak within a certain range of an audio signal waveform, and detects a second peak corresponding to the first peak by searching from a detection starting point according to the level of the first peak. , it is determined whether the period determined based on the first and second peaks is valid or not based on whether or not a predetermined peak value is obtained for each period, so that the predetermined II! This is designed to reliably detect JM. [Prior Art] For example, in order to encode an audio signal, it may be necessary to detect the period of a periodic part of the signal. In response to such requests, conventional methods have been used to obtain time data of the zero-crossing points of the audio signal and find the period for a periodic part from the time interval of the zero-crossing points indicated by this data. ing. [Invention tries to solve! II! I) However, according to this conventional method, in order to find regularity from the time interval of zero crossing points within a certain period, it is necessary to run a complicated program that includes many conditional judgment steps on a computer, which requires a large amount of time for detection. Since this method is time-consuming, it is not suitable for cases where it is desired to encode audio signals in real time with good responsiveness. Therefore, an object of the present invention is to provide an improved period detection method that can reliably detect the period of a periodic signal portion included in an audio signal using a relatively simple algorithm. be. (Means for Solving the Problem!!) A feature of the present invention for solving the above problem is that in a method for detecting a repetition period of a periodic part in an audio signal, A first step of detecting the time point t. at which the signal level is the maximum value and a local maximum value, and detecting the next peak value corresponding to the peak value according to the level of the peak value at 10, t1, and t2. The second step is to determine the level check starting point of t0, the third step is to detect the first peak after the starting point, and the first peak is determined to be the peak at t0 based on the level change in the vicinity of the first peak. A fourth step of determining whether the peak is a corresponding peak, and a fifth step of determining the time point t when the next peak corresponding to the peak at t. occurs by repeatedly performing the third and fourth steps. and t,−1. A sixth step of detecting at least one occurrence point 1. of another peak corresponding to the peak t0 within a range expected based on the values of t,−1.
jet F+ A seventh step of determining the period based on t0, t1, and t2. [Action J t in the first step. After is detected, in the fifth step, if it is detected that a peak considered to correspond to (. occurs at t1, t+-to is estimated to be a predetermined period. Therefore, t The time of occurrence of another peak corresponding to the peak of can be predicted with a certain degree of accuracy based on the value of 1.-t0.Therefore, based on the above idea, the time of occurrence of the peak can be predicted within a certain range, and the prediction The validity of whether 1. - 1. is a predetermined period is checked depending on whether a peak is detected in the sample. [Example] Hereinafter, an example of the present invention will be explained in detail. FIG. 1 shows an embodiment of a signal processing device 1 for detecting the period of a periodic part of an audio signal according to the method of the present invention. The audio signal S from the amplifier 3 is input to a period detector 4.The period detector 4 has a microphone 2 for converting the signal into It is configured as a microcomputer with a known configuration, and includes an I/O device 5, a CPU 6, and a ROM?.
The ROM consists of an R input M8 and a bus 9. A processing program for detecting the cycle is stored in advance in the internal memory, and the audio signal SP is processed according to the processing program to detect the cycle. FIG. 2 shows a flowchart showing this processing program. Below, while referring to the flowchart shown in Figure 2, the third
A method for detecting the period of the audio signal S shown in the figure according to the present invention will be explained. In step 11, the origin 0 on the time axis is set as the detection operation start point scan. Next, in step 12, a first process for detecting the maximum peak point PO within the 64 sample width is executed. The details of this first process are shown in the detailed flowchart of FIG. In step 31, 64
The sample point that gives the maximum value among the sample data (
time to) and its level L0 are detected, and the level L. A determination is made as to whether or not is greater than a predetermined level A. (Step 31). This level A is preferably selected to be about 2 times the peak level value of the audio signal S, and if the maximum value detected by this comparison is the maximum value of low-level noise, this can be effectively eliminated. Can be done. L. If ≦A, the flag F is cleared in step 33 and the process proceeds to the next step 13. If aLe>A, in step 34, each level of the two sample data following the sample data at time t0 is Level A
A determination is made as to whether the value is greater than or not. In this level check, at time t. If the sample data of is not pulse-like high level data, the levels of all three sample data should be greater than A. If the level check performed in this manner is OK, flag F is set in step 35, and the process proceeds to step 13. If the level check in step 34 is OK
Otherwise, the flag F is cleared in step 33, and then the process proceeds to step l3. The flag F indicates whether predetermined peak value data is included in the first 64 bits of sample data, and in the case of F-0, the determination result in step 13 is No, and it is detected in step 14. An impossible output signal is output from the period detector 4. When the first peak value is detected in step 12, F-1
Then, proceed to step l5. In step 15, the detection operation starting point scan for the next process is set to one P O (
= to) and set the loop counter value 100pnb to 0.
cent to. Thereafter, a second process is performed in step 16 to detect the next peak point 1 corresponding to the WPO. The second process will be described in detail with reference to FIG. 5. First, in step 41, the range of the audio signal level check is determined. In this example, scan
+16, that is, from the sampling point of WPO+16 to -PO
The check will be executed in the range up to the +106 sampling point. This check starting point can be determined as appropriate, but as described later, by determining it according to the level of the peak point (in this case WPO), it is possible to efficiently perform the specified check. becomes. In step 42, the level value of peak point ridge 0 <ypo>
At step 43, the point where the level of the audio signal decreases to the level of f1 is recognized, and furthermore, in step 43, the point where the level of the audio signal decreases to the level of (
Check the point at which the level rises to the level of A of HP O). In the method of the present invention, the level (
Based on the assumption that a peak corresponding to the peak at the WPO point does not occur in the above-mentioned range determined according to HP O'), that is, from the -PO point until the audio signal level reaches (WPo)/2 again, After the confirmation in step 43 is completed, processing for detecting a predetermined peak is started in step 44. That is, in order to detect the next peak WPI based on the level of each sampling value from time 1 onward in FIG. 3, first, the level Lx of the peak point X that occurs for the first time after tl is detected. In step 45, a check is performed to see whether this peak point X is the next expected peak point furrow 1 or not. This chaesok is the 6th
As shown in the figure, for the level Lx of the peak point X,
Multiple (for example, three) consecutive sampling points P
r, Pt, level LPI at P,. LP! ..
Detect LPS. And these levels LP+,
LPx. If all LPs are smaller than the level Lχ, the peak point X is determined to be a predetermined local maximum point. In the example shown in FIG. 6, Lx>LP, but Lx<LP
Since I and Lx<LPs, it is determined that the peak point X is not a peak point corresponding to the peak point PO. When the peak check in step 45 is OK,
Proceed to step 46 and proceed to the third peak check for the next peak check.
The limit values used in the process are set. This set of limit values is shown in the table below. The table shows the check range and WP after ridge 1 that should be performed in searching for the next peak value for period detection based on the WPI-14PoO value, that is, the period value detected here.
The step range showing the number of sampling points counted from I to be ignored is shown in the table above.The step range is determined based on the table above. Of course, the data shown in the table above is just an example, and the data values can be changed as appropriate without being limited to this, but tnpi-t+p
It is important that the decision is made based on the value of o. Next, in step 47, a flag B indicating whether or not the ridge 1 has been detected is set, and the process advances to step 17. If the result of the peak check in step 45 is not OK, the process proceeds to step 48, where it is determined whether or not the predetermined end point (WPO + 106) has been exceeded for the check, and whether or not the peak check has yet to be completed is determined. If the peak point has not been exceeded, the process returns to step 44 and the process for detecting the peak point described above is performed again. Step 44. If the predetermined peak point is not successfully detected even after repeating step 45, the determination result in step 48 becomes YES, flag B is cleared in step 41, and step 17
Proceed to. Returning to FIG. 2, in step 17 it is determined whether or not flag B is set, and in the case of B-0, it is determined in step 1 that the cycle could not be detected.
4, and the execution of this program ends. On the other hand, in the case of B-1, the process proceeds to step 18, and the start point of the check for the next cycle detection, that is, the next predetermined peak point detection, is set at -P1. After that,
Proceeding to step 19, the third process for detecting the next peak point is executed according to the flowchart shown in FIG. To explain the flowchart of FIG. 7, in step 51, the start and end points of the check for determining the next peak point ridge 2 are newly set. Here, as shown in Figure 3, the WPI-WPOO value is
Then, based on the search range ±ΔB set according to the size of BW, the starting point is BW-ΔB and the ending point is BW.
+ΔB is determined. In step 52, the end point BW+ΔB set in this way is
A check is made to see if it exceeds the limit value U set in , and if it is BW+ΔBTU, the end point is scanned +
If BW+ΔB≦, the process proceeds to step 54 without changing the end point σ. In step 54, the sampling point of the maximum level between the start point and end point determined in this way is detected, and that point is set as 1P2. In step 55,
It is checked whether the level of WP2 is equal to or higher than the level A of -P1, and if the determination result is No, it is determined that the detected -22 is false, and in step 56 a predetermined peak is detected. Clearing flag C will display the result that detection could not be performed. On the other hand, if the determination result in step 55 is YES, further in step 57 the level of IIP2 is set to WPI.
A determination is made as to whether the level is less than twice the level of . If the determination result in step 57 is No, it is determined that WP2 is inappropriate or false due to the level abnormality, and the process proceeds to step 56, where flag C is cleared. The determination result in step 57 is Y.
If it becomes ES, the process proceeds to step 58, where it is checked whether the point of 1P2 is within -PL+V. If the determination result in step 58 is NO, proceed to step 56, and if the determination result is YES, -P
A final determination is made that P2 is the desired peak, and flag C is set in step 59 to indicate that P2 has been properly detected. That is, in the third process, based on the data of WPO and WPI, it is assumed that WP2 should be obtained in a period that is almost the same as the period BW between them.
Set the check range within the range of ΔB (step 5
1), it is assumed that the point with the maximum level obtained there is 蛛2. To determine whether this assumption is correct, it is checked whether the level is within a predetermined range (for example, between 2 and 2 times the level of -P1) (steps 55 and 57), and ['2
points are confirmed.

第2図に戻ると、ステップ20では、フラグC−1か否
かのチェックが行われ、C=1であるとステップ21に
おいて次の開始点scanか―P2とされ、ステップ1
9と同様にして、次の所定のピーク点畦3を検出するた
めの処理がステップ22において実行される. ステップ23では、WP3が適正に検出されたか否かの
判別が行われ、WP3が適正に検出された場合には、ス
テップ24においてこれらのピーク値一PO,WPI,
lIP2,WP3に基づいて信号の周期が計算され、そ
の結果を示すデータが出力され、プログラムの実行が終
了する. ステップ19又は22のいずれかにおいて所定のピーク
の検出が不可能であると判断されると、ステップ20又
は23の判別結果がNOとなり、ステ,ブ25に進む. ステ,プ25では、WPIのレベル(簀Pi)を一PO
のレベル(一PO)との大小比較を行い、ステップ26
では(WPI) > (WPO)となった場合にステッ
プ14にプログラムを進め、周期検出不可能とする.一
方、(WPI)≦(WPO)の場合には、ステップ27
に進み、100pnt0の値を1だけ増やし、ステップ
28においてIoopnb= 4か否かの判別を行う.
1oopnb≠4となっている場合にはステップ16に
戻り、ステップ16以下を再度実行する.再度の実行に
より、なおピーク値の検出が行えず、Ioopnb一4
となると、ステップ14に進んで周期検出不可能を宣言
し、プログラムの実行を終了する.上記の検出方法によ
れば、第4図に基づいて説明したように、先ず、所定の
範囲内でMAX点でありピーク値となる時刻to (サ
ンプリング点)を検出する.この時刻t0、t1、t2
における信号のレベルの2を基準とし、更に、信号レベ
ルが2以下となり、そして再びA以上となってからのピ
ーク値の検出を行い、ステップ34のレベルチェックに
よりこの検出されたピークの近傍のレベル変化状態から
、このピークがt0に対応するピークであるか否かの判
別を行う。
Returning to FIG. 2, in step 20, a check is made to see if the flag is C-1, and if C=1, the next starting point is set to scan or -P2 in step 21, and step 1
9, the process for detecting the next predetermined peak point ridge 3 is executed in step 22. In step 23, it is determined whether or not WP3 has been properly detected. If WP3 has been properly detected, in step 24 these peak values - PO, WPI,
The signal period is calculated based on lIP2 and WP3, data indicating the result is output, and the program execution ends. If it is determined in either step 19 or 22 that the predetermined peak cannot be detected, the determination result in step 20 or 23 becomes NO, and the process proceeds to step 25. In Step 25, the level of WPI (Kan Pi) is set to one PO.
A comparison is made with the level of (one PO), and step 26
Now, if (WPI) > (WPO), the program advances to step 14 and it is assumed that the cycle cannot be detected. On the other hand, if (WPI)≦(WPO), step 27
Step 28 increments the value of 100pnt0 by 1, and in step 28 it is determined whether Ioopnb=4.
If 1oopnb≠4, return to step 16 and execute steps 16 and subsequent steps again. When executed again, the peak value could not be detected and Ioopnb-4
If so, proceed to step 14, declare that the period cannot be detected, and terminate the program execution. According to the above detection method, as explained based on FIG. 4, first, the time to (sampling point) which is the MAX point and the peak value is detected within a predetermined range. This time t0, t1, t2
Using the signal level 2 as a reference, the peak value is detected after the signal level becomes 2 or less and then becomes A or more again, and the level in the vicinity of this detected peak is detected by the level check in step 34. Based on the change state, it is determined whether this peak corresponds to t0 or not.

このようにして次のピーク点畦1を検出し、WPI−W
FOをその周期として一応推定する.この推定周期に基
づいてBW+ΔBの範囲内で次の別のピークを探し、W
PO.WPI,WP2の時間間隔によりその推定周期の
正当性をチェックし、もし正当ならば、すなわち(WP
I−WPO) 一(一P2−WPI)ならば、その推定
周期は正しいと判別するものである. このようにして、迅速、確実に周期性の生む及び周期を
知ることができる. 〔発明の効果〕 本発明によれば、上述の如く箇単なアルゴリズムにより
、音声信号中において生じている周期性のある部分を迅
速、確実に検出することができる.
In this way, the next peak point furrow 1 is detected, and WPI-W
Let's estimate FO as its period. Based on this estimated period, search for the next peak within the range of BW + ΔB, and
P.O. The validity of the estimated period is checked by the time interval of WPI, WP2, and if it is valid, that is, (WP
I-WPO) 1 (1P2-WPI), the estimated period is determined to be correct. In this way, you can quickly and reliably know the origin and period of periodicity. [Effects of the Invention] According to the present invention, periodic parts occurring in an audio signal can be detected quickly and reliably using a simple algorithm as described above.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の方法により音声信号における周期検出
を行う装置の一構成例を示すブロック図、第2図は第1
図の装置において実行される周期検出のための本発明に
従う信号処理のためのコンピュータプログラムを示すフ
ローチャート、第3図は周期検出を行うべき信号の波形
図、第4図及び第5図は第2図に示すフローチャートの
一部の詳細フローチャート、第6図は第2処理ステップ
における信号処理の説明のための説明図、第7図は第2
図に示す第3処理ステップの詳細フローチャートである
. 1 ・ ・ ・ ・ 4 ・ ・ ・ ・ S ・ ・ ・ ・ WPO,WPI, scan  噂  Φ  拳 U ・ ・ ・ ・ ・信号処理装置 ・周期検出器 ・音声信号 WP2・・・ピーク点 ・開始点 ・チェック範囲 ■ ・ ・ ・ステップ範囲 以 上
FIG. 1 is a block diagram showing an example of the configuration of an apparatus for detecting a period in an audio signal using the method of the present invention, and FIG.
A flowchart showing a computer program for signal processing according to the present invention for period detection executed in the apparatus shown in the figure, FIG. 3 is a waveform diagram of a signal to be subjected to period detection, and FIGS. 6 is an explanatory diagram for explaining the signal processing in the second processing step, and FIG. 7 is a detailed flowchart of a part of the flowchart shown in the figure.
It is a detailed flowchart of the third processing step shown in the figure. 1 ・ ・ ・ ・ 4 ・ ・ ・ ・ S ・ ・ ・ ・ WPO, WPI, scan Rumor Φ Fist U ・ ・ ・ ・ ・Signal processing device・Period detector・Audio signal WP2...Peak point・Start point・Check Range■ ・ ・ ・More than step range

Claims (1)

【特許請求の範囲】 音声信号中の周期性を有する部分の繰り返し周期を検出
するための方法において、 所定の範囲内で音声信号のレベルの最大値で且つ極大値
となる時点t_0検出する第1ステップと、該時点t_
0におけるピーク値のレベルに応じて該ピーク値に対応
する次のピーク値を検出するためのレベルチェック開始
点を決定する第2ステップと、該開始点以降における最
初のピークを検出する第3ステップと、 該最初のピークの近傍のレベル変化の様子を検出し、こ
の最初のピークがt_0のピークに対応するピークか否
かの判別を行う第4ステップと、前記第3及び第4ステ
ップを繰り返し実行することによりt_0のピークに対
応する次のピークの発生時点t_1の確定する第5ステ
ップと、 t_1−t_0の値に基づいて予想される範囲内におい
てt_0のピークに対応するさらに別のピークの発生時
点t_2を少なくも1つ検出するための第6ステップと
、 時点t_0、t_1、t_2に基づいて周期の決定を行
う第7ステップと、 を備えて成ることを特徴とする音声信号における周期検
出方法。
[Claims] In a method for detecting a repetition period of a periodic part in an audio signal, the first step is to detect a time point t_0 at which the level of the audio signal reaches a maximum value and a local maximum value within a predetermined range. step and the time t_
A second step of determining a level check starting point for detecting the next peak value corresponding to the peak value according to the level of the peak value at 0, and a third step of detecting the first peak after the starting point. and a fourth step of detecting a level change in the vicinity of the first peak and determining whether or not this first peak corresponds to the peak of t_0, and repeating the third and fourth steps. A fifth step of determining the occurrence time t_1 of the next peak corresponding to the peak of t_0 by executing the step; Period detection in an audio signal, comprising: a sixth step for detecting at least one occurrence time t_2; and a seventh step for determining a period based on time points t_0, t_1, and t_2. Method.
JP5174289A 1989-03-02 1989-03-03 Period detecting method Pending JPH02230297A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP5174289A JPH02230297A (en) 1989-03-03 1989-03-03 Period detecting method
EP19900302241 EP0385799A3 (en) 1989-03-02 1990-03-02 Speech signal processing method
KR1019900002843A KR900015473A (en) 1989-03-02 1990-03-02 Coding method of speech signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5174289A JPH02230297A (en) 1989-03-03 1989-03-03 Period detecting method

Publications (1)

Publication Number Publication Date
JPH02230297A true JPH02230297A (en) 1990-09-12

Family

ID=12895370

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5174289A Pending JPH02230297A (en) 1989-03-02 1989-03-03 Period detecting method

Country Status (1)

Country Link
JP (1) JPH02230297A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008077088A (en) * 2006-09-19 2008-04-03 Avaya Technology Llc Efficient voice activity detector for detecting fixed power signal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008077088A (en) * 2006-09-19 2008-04-03 Avaya Technology Llc Efficient voice activity detector for detecting fixed power signal

Similar Documents

Publication Publication Date Title
Meinshausen et al. Estimating the proportion of false null hypotheses among a large number of independently tested hypotheses
KR101951034B1 (en) Method for improving processing speed of OS-CFAR detection
US7934250B2 (en) Method and apparatus for using performance and stress testing on computing devices for device authentication
JPH09305412A (en) Microcomputer having maximum interruption inhibition period mesuring function
JPH02230297A (en) Period detecting method
US5418792A (en) Method for the speedup of test vector generation for digital circuits
JPH02230296A (en) Period detecting method in voice signal
CN111488278A (en) Test method and device
CN110824007A (en) Tubular pile crack detection method and system
CN110619177B (en) Automatic identification method and device for structure operation modal parameters and storage medium
CN113218662A (en) Super knock difference verification method, device, equipment and storage medium
WO2008114932A1 (en) Method and apapratus for sinusoidal audio coding
JP2007520128A (en) Process signal storage method for technical equipment
Chen A statistical approach for performance analysis of uncertain systems
CN110927338A (en) Gas concentration data complementing method and device
JP7362213B2 (en) Buried anchor determination device and buried anchor determination method
CN111121678B (en) Pipeline wall thickness detection method and device
CN112015551B (en) Management method and device of coroutine pool
CN113919172A (en) Passive sonar target resolution parameter level simulation method
Huňady et al. The use of modan 3D in experimental modal analysis
JPH0518951A (en) Data processing device
CN112767212A (en) Rescue resource scheduling method and device, electronic equipment and storage medium
CN114528875A (en) Generator stator slot wedge tightness detection method, device and storage medium
CN115563481A (en) Gravitational wave signal classification and identification method and system based on image domain features
CN115455409A (en) Method and device for detecting abnormal external connection behavior, storage medium and electronic equipment