JPH0690077B2 - Pitch extractor - Google Patents
Pitch extractorInfo
- Publication number
- JPH0690077B2 JPH0690077B2 JP63103006A JP10300688A JPH0690077B2 JP H0690077 B2 JPH0690077 B2 JP H0690077B2 JP 63103006 A JP63103006 A JP 63103006A JP 10300688 A JP10300688 A JP 10300688A JP H0690077 B2 JPH0690077 B2 JP H0690077B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- signal
- output
- binarizing
- pitch
- 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 - Lifetime
Links
- 238000005259 measurement Methods 0.000 claims description 14
- 230000001186 cumulative effect Effects 0.000 claims description 6
- 238000001514 detection method Methods 0.000 description 10
- 238000000605 extraction Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000005070 sampling Methods 0.000 description 4
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
- Measuring Frequencies, Analyzing Spectra (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明は、各種楽音及び音声等の音響信号のピッチ抽出
装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pitch extraction device for audio signals such as various musical sounds and voices.
従来の技術 近年、デジタル技術の進歩に伴い、各種ピッチ抽出技術
が提案されており、時間波形の自己相関を求める技術や
ケプストラム技術度があるが、演算量の軽減、或いは高
速処理を目的とした技術として極性反転検出によるピッ
チ抽出技術が考えられている。2. Description of the Related Art In recent years, various pitch extraction technologies have been proposed with the progress of digital technology, and there are technologies for obtaining the autocorrelation of time waveforms and cepstrum technology, but the aim was to reduce the amount of calculation or to perform high-speed processing. Pitch extraction technology by polarity inversion detection is considered as a technology.
以下、図面を参照しながら上述のピッチ抽出装置につい
て説明する。Hereinafter, the pitch extraction device described above will be described with reference to the drawings.
第3図は従来のピッチ抽出装置の構成を示すものであ
る。FIG. 3 shows the structure of a conventional pitch extracting device.
第3図において、9は音響信号入力端子、10はハイパス
フィルタ、11はローパスフィルタ、12はアナログの音響
信号をデジタルデータに変換するA/Dコンバータ、13はA
/Dコンバータ12から出力されるデジタルデータの極性反
転を検出して極性反転検出信号を出力する極性反転検出
部、14は極性反転検出部13から出力された極性反転検出
信号に従ってピッチ周期の計時の開始、或いは終了を指
示する計時指示信号を出力する制御部、15は計時指示信
号に従ってデジタルデータのピッチ周期を計時する計時
部、16は出力端子である。In FIG. 3, 9 is an acoustic signal input terminal, 10 is a high-pass filter, 11 is a low-pass filter, 12 is an A / D converter for converting an analog acoustic signal into digital data, and 13 is A.
/ D converter 12 detects the polarity inversion of the digital data output polarity inversion detection unit that outputs a polarity inversion detection signal, 14 is a polarity inversion detection signal output from the polarity inversion detection unit 13 A control unit that outputs a time measurement instruction signal that instructs start or end, 15 is a time measurement unit that measures the pitch period of digital data according to the time measurement instruction signal, and 16 is an output terminal.
以上のように構成されたピッチ抽出装置について、以下
その動作について説明する。The operation of the pitch extracting device configured as described above will be described below.
マイクロホン等から音響信号入力端子9に入力される音
響信号はハイパスフィルタ10によって直流分を除去され
た後に、ローパスフィルタ11を通過することによってサ
ンプリング定理を満足するアンチエイリアジングフィル
タリングが為され、A/Dコンバータ12によって順次アナ
ログデジタル変換されてデジタルデータとなる。The acoustic signal input from the microphone or the like to the acoustic signal input terminal 9 is subjected to antialiasing filtering satisfying the sampling theorem by passing through the lowpass filter 11 after the direct current component is removed by the highpass filter 10 and A / The D converter 12 sequentially performs analog-to-digital conversion to obtain digital data.
次に、極性反転検出部13はA/Dコンバータ12から順次出
力されるデジタルデータの極性反転を検出した後、極性
反転検出信号を制御部14へ出力する。制御部14は、極性
反転検出信号に従ってピッチ周期の計時の開始、或いは
終了を指示する計時指示信号を計時部15に出力する。こ
こで制御部14から計時開始を指示する計時指示信号が出
力されると計時部15はデジタルデータのサンプル個数の
カウント、即ちピッチ周期の計時を開始する。Next, the polarity inversion detection unit 13 detects the polarity inversion of the digital data sequentially output from the A / D converter 12, and then outputs the polarity inversion detection signal to the control unit 14. The control unit 14 outputs to the timing unit 15 a timing instruction signal for instructing the start or end of the timing of the pitch period according to the polarity inversion detection signal. When the control unit 14 outputs a timing instruction signal for instructing to start timing, the timing unit 15 starts counting the number of samples of digital data, that is, timing the pitch period.
更に計時終了を指示する計時指示信号が制御部14から出
力されると計時部15はそれまでのサンプル個数、即ち計
時結果をピッチ周期として制御部14に出力した後、計時
結果をリセットする。以上の操作を極性反転検出部13の
極性反転検出信号に従って繰り返すことによりA/Dコン
バータ12から順次出力されるデジタルデータのピッチ周
期を得ることとなる。Further, when the control section 14 outputs a time measurement instruction signal for instructing the end of time measurement, the time measurement section 15 outputs the number of samples up to that time, that is, the time measurement result to the control section 14 as a pitch cycle, and then resets the time measurement result. By repeating the above operation according to the polarity inversion detection signal of the polarity inversion detection unit 13, the pitch cycle of the digital data sequentially output from the A / D converter 12 is obtained.
尚、ピッチ周期Ni個をいわゆるピッチFi〔Hz〕に変換す
るにはサンプリング周波数Fs〔Hz〕を用いて、 Fi〔Hz〕=Fs/Ni ……(1) として求めることができる。In order to convert the Ni pitch periods into a so-called pitch Fi [Hz], it is possible to obtain Fi [Hz] = Fs / Ni (1) by using the sampling frequency Fs [Hz].
発明が解決しようとする課題 しかしながら、上記のような構成では、(1)式から明
らかなように、サンプリング周波数によって得られるピ
ッチ周期の精度が変わってしまうばかりか、精度を上げ
るためにはサンプリング周波数を高くしなければなら
ず、従って高速な演算処理が必要となり高価な装置にな
るという問題点があった。However, in the above-mentioned configuration, as is clear from the equation (1), not only the accuracy of the pitch period obtained by the sampling frequency is changed, but also the sampling frequency is increased in order to improve the accuracy. Therefore, there is a problem that an expensive device is required because a high-speed arithmetic processing is required.
本発明は上記問題点を鑑みて、高速演算処理を必要とせ
ず、かつ簡単な構成で精度の高いピッチ抽出装置を提供
するものである。In view of the above problems, the present invention provides a pitch extraction device that does not require high-speed arithmetic processing and has a simple structure and high accuracy.
課題を解決するための手段 この目的を達成するために、本発明のピッチ抽出装置
は、音響信号を2値化する2値化手段と、2値化手段で
2値化された音声信号の周期を計時する計時手段と、計
時手段により計時された計時値を順次記憶するととも
に、少なくとも二つ以上の計時値を記憶することができ
る記憶手段と、計時手段により計時された計時値と記憶
手段に記憶した計時値を順次比較し二つの計時値の比が
定められた値の範囲内にある場合一致信号を出力する比
較手段と、比較手段により比較された前記記憶手段に記
憶された計時値を累積加算する加算手段とよりなり、比
較手段からの一致信号により加算手段から計数値の累積
加算結果を得るように構成されている。Means for Solving the Problem In order to achieve this object, a pitch extraction device of the present invention is a binarizing means for binarizing an audio signal, and a cycle of a voice signal binarized by the binarizing means. A time measuring means for measuring the time, a memory means for sequentially storing the time measured values measured by the time measuring means, and a memory means capable of storing at least two or more time measured values, and a time measured value and a memory means clocked by the time measuring means. Comparing the stored time values sequentially, comparing means for outputting a coincidence signal when the ratio of the two time values is within a predetermined value range, and the time value stored in the storage means compared by the comparison means, It is composed of adding means for performing cumulative addition, and is configured to obtain the cumulative addition result of the count value from the adding means by the coincidence signal from the comparing means.
作用 本発明は、上記した構成により、入力の音響信号は2値
化手段によりデジタル信号に変換され、計時手段により
周期を計時される。計時結果である計時値は記憶手段に
記憶されると共に過去の計時結果と比較手段により比較
される。ここで過去の計時結果とほぼ同等の結果が有れ
ば比較の対象となった過去の計時値の累積加算値は入力
の音響信号のピッチ周期に対応した値となっており、こ
れが加算器の出力ラッチにラッチされると共に出力され
る。Operation According to the present invention, the input acoustic signal is converted into a digital signal by the binarizing means and the period is timed by the timekeeping means. The measured value, which is the measured result, is stored in the storage means and is compared with the past measured result by the comparison means. If there is a result that is almost the same as the past time measurement result, the cumulative addition value of the past time measurement values that is the comparison target is the value corresponding to the pitch period of the input acoustic signal, and this is the value of the adder. It is latched by the output latch and is output.
実施例 以下、本発明の一実施例について図面を参照しながら説
明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.
第1図は、本発明の一実施例におけるピッチ抽出装置の
ブロック図を示すものであり、第2図は第1図に示すブ
ロック図の動作波形である。FIG. 1 is a block diagram of a pitch extracting device according to an embodiment of the present invention, and FIG. 2 is operation waveforms of the block diagram shown in FIG.
第1図において、1は音響信号入力端子、2は音響信号
を2値化する2値化手段、3は2値化手段2の出力によ
り制御され出力に出力ラッチ(図示せず)を持つ計時手
段、4は計時手段3の出力である計時値を記憶する記憶
手段、5は計時手段3の出力及び記憶手段4から読み出
された計時値を比較し、両計時値の比が定められた範囲
内であるとき一致信号を出力する比較手段、6は記憶手
段4から読み出される計時値を累積加算する出力ラッチ
付き(図示せず)加算手段、7はクロック信号発生手
段、8は出力端子である。In FIG. 1, 1 is an acoustic signal input terminal, 2 is a binarizing means for binarizing an acoustic signal, 3 is a timing controlled by the output of the binarizing means 2 and has an output latch (not shown) at the output. Means 4, memory means for storing the time value output from the time means 3, 5 compares the output of the time means 3 and the time value read from the memory means 4, the ratio of both time values is determined. When it is within the range, comparison means for outputting a coincidence signal, 6 is addition means with an output latch (not shown) for cumulatively adding the clock values read from the storage means 4, 7 is a clock signal generation means, and 8 is an output terminal. is there.
音響信号入力端子1に第2図(a)に示す音響信号が入
力されると、2値化手段2の出力信号は第2図(b)に
示す波形になる。計時手段3はクロック信号発生手段7
から供給されるクロック信号により計時を行い、2値化
手段2の出力信号の波形の立ち上がりで計時結果である
計時値Tnを出力ラッチにラッチすると共に、計時結果を
リセットし次周期の計時を始める。第2図(c)に計時
手段3の出力ラッチの信号を示す。記憶手段4は2値化
手段2の出力信号の波形の立ち上がりで計時値Tnを記憶
した後、第2図(d)に示すように計時値Tn-1から順次
過去の計時値を読み出す。この過去の計時値Tn-1,Tn-2
……Tn-mは順次比較手段5によって計時値Tnと比較さ
れ、両計時値の比が定められた範囲内であるとき、第2
図(e)に示す一致信号を出力すると共に記憶手段4は
計時値読み出しを停止する。また加算手段6は、第2図
(f)に示すように、記憶手段4から読み出される過去
の計時値Tn-1,Tn-2……Tn-mを累積加算し、比較手段5
の一致信号出力により累積加算結果を出力ラッチにラッ
チする。加算手段6の出力ラッチの出力信号を第2図
(g)に示す。When the acoustic signal shown in FIG. 2 (a) is input to the acoustic signal input terminal 1, the output signal of the binarizing means 2 has the waveform shown in FIG. 2 (b). The clocking means 3 is a clock signal generating means 7
Clocking is performed by the clock signal supplied from, and the timing value Tn, which is the timing result, is latched in the output latch at the rising edge of the waveform of the output signal of the binarizing means 2, and the timing result is reset and the timing of the next cycle is started. . FIG. 2 (c) shows the signal of the output latch of the timing means 3. The storage means 4 stores the time count value Tn at the rising edge of the waveform of the output signal of the binarization means 2, and then sequentially reads the past time count values from the time count value Tn -1 as shown in FIG. 2 (d). This past time value Tn -1 ,, Tn -2
...... Tn - m is sequentially compared with the time value Tn by the comparison means 5, and when the ratio of both time values is within the predetermined range, the second value
The coincidence signal shown in FIG. 7E is output, and the storage means 4 stops reading the measured value. The addition means 6, as shown in FIG. 2 (f), the past time measurement value Tn -1 read out from the storage means 4, Tn -2 ...... Tn - a m cumulatively added, comparing means 5
The cumulative addition result is latched in the output latch by the output of the coincidence signal. The output signal of the output latch of the adding means 6 is shown in FIG.
加算手段6の出力ラッチの出力P0は音響信号のピッチ周
期に対応した信号であり、クロック信号CKとの関係は であり、ピッチ周期を高精度で求めようとするならばク
ロック信号の周波数を高くすればよいことがわかる。The output P 0 of the output latch of the adding means 6 is a signal corresponding to the pitch period of the acoustic signal, and has a relationship with the clock signal CK. Therefore, it is understood that if the pitch period is to be obtained with high accuracy, the frequency of the clock signal should be increased.
また、第2図(a),(b),(g)から、ピッチ周期
はT0+T1,T1+T2,T2+T3……であることから、音響信号
の高調波によるピッチの誤抽出を防止することが出来
る。Further, from FIGS. 2 (a), (b), and (g), since the pitch period is T 0 + T 1 , T 1 + T 2 , T 2 + T 3, ... It is possible to prevent erroneous extraction.
発明の効果 本発明によれば、入力の音響信号は2値化手段によりデ
ジタル信号に変換され、計時手段により周期を計時され
る。計時結果である計時値は記憶手段に記憶されると共
に過去の計時結果と比較手段により比較される。ここで
過去の計時結果とほぼ同等の結果が有れば比較の対象と
なった過去の計時値の累積加算値は入力の音響信号のピ
ッチ周期に対応した値となっており、これが加算器の出
力ラッチにラッチされると共に出力されることから、簡
単な構成で精度の高いピッチ抽出が行えると共に音響信
号の高調波あるいは雑音によるピッチの抽出誤りを防止
することが出来る。EFFECTS OF THE INVENTION According to the present invention, the input acoustic signal is converted into a digital signal by the binarizing means, and the period is clocked by the clocking means. The measured value, which is the measured result, is stored in the storage means and is compared with the past measured result by the comparison means. If there is a result that is almost the same as the past time measurement result, the cumulative addition value of the past time measurement values that is the comparison target is the value corresponding to the pitch period of the input acoustic signal, and this is the value of the adder. Since the data is latched and output by the output latch, it is possible to perform highly accurate pitch extraction with a simple configuration and prevent pitch extraction errors due to harmonics or noise of the acoustic signal.
また、ピッチ抽出精度を上げるため高速に演算処理をす
る必要がなく安価なハードウェアでの実現が可能とな
る。Further, since it is not necessary to perform high-speed arithmetic processing in order to improve the pitch extraction accuracy, it can be realized by inexpensive hardware.
第1図は本発明の一実施例におけるピッチ抽出装置のブ
ロック図、第2図は本発明の一実施例に係る各データの
例示的波形図、第3図は従来のピッチ抽出装置のブロッ
ク図である。 1……音響信号入力端子、2……2値化手段、3……計
時手段、4……記憶手段、5……比較手段、6……加算
手段、7……クロック信号発生手段、8……出力端子、
9……音響信号入力端子、10……ハイパスフィルタ、11
……ローパスフィルタ、12……A/Dコンバータ、13……
極性反転検出部、14……制御部、15……計時部、16……
出力端子。FIG. 1 is a block diagram of a pitch extracting device according to an embodiment of the present invention, FIG. 2 is an exemplary waveform diagram of each data according to an embodiment of the present invention, and FIG. 3 is a block diagram of a conventional pitch extracting device. Is. 1 ... Acoustic signal input terminal, 2 ... Binarizing means, 3 ... Time counting means, 4 ... Storage means, 5 ... Comparison means, 6 ... Addition means, 7 ... Clock signal generation means, 8 ... … Output terminals,
9: Acoustic signal input terminal, 10: High-pass filter, 11
…… Low-pass filter, 12 …… A / D converter, 13 ……
Polarity reversal detector, 14 ... Control, 15 ... Timer, 16 ...
Output terminal.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 森 大輔 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 中西 雅浩 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Daisuke Mori 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (72) Masahiro Nakanishi 1006 Kadoma, Kadoma City, Osaka Matsushita Electric Industrial Co., Ltd.
Claims (1)
2値化手段で2値化された音声信号の周期を計時する計
時手段と、前記計時手段により計時された計時値を順次
記憶するとともに、少なくとも2つ以上の計時値を記憶
することができる記憶手段と、前記計時手段により計時
された計時値と前記記憶手段に記憶した計時値を順次比
較し、2つの計時値の比が定められた値の範囲内にある
場合一致信号を出力する比較手段と、前記比較手段によ
り比較された前記記憶手段に記憶された計時値を累積加
算する加算手段とを具備し、前記比較手段からの一致信
号により加算手段から計数値の累積加算結果を得ること
を特徴とするピッチ抽出装置。1. A binarizing means for binarizing an acoustic signal, a clocking means for clocking a cycle of a voice signal binarized by the binarizing means, and a clocked value clocked by the clocking means. A storage means capable of sequentially storing and storing at least two or more time-measured values, sequentially compares the time-measured values measured by the time-measurement means with the time-measured values stored in the memory means, and compares the two time-measured values with each other. The comparison means includes a comparison means for outputting a coincidence signal when the ratio is within a predetermined value range, and an addition means for cumulatively adding the time count values stored in the storage means, which are compared by the comparison means. A pitch extracting apparatus, wherein the cumulative addition result of the count values is obtained from the adding means by the coincidence signal from the means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63103006A JPH0690077B2 (en) | 1988-04-26 | 1988-04-26 | Pitch extractor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63103006A JPH0690077B2 (en) | 1988-04-26 | 1988-04-26 | Pitch extractor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01272979A JPH01272979A (en) | 1989-10-31 |
| JPH0690077B2 true JPH0690077B2 (en) | 1994-11-14 |
Family
ID=14342574
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63103006A Expired - Lifetime JPH0690077B2 (en) | 1988-04-26 | 1988-04-26 | Pitch extractor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0690077B2 (en) |
-
1988
- 1988-04-26 JP JP63103006A patent/JPH0690077B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01272979A (en) | 1989-10-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0659900U (en) | Electronic song accompaniment score evaluation display device | |
| JPH0695280B2 (en) | Digital frequency information extraction device for musical tone signals | |
| US4053839A (en) | Method and apparatus for the frequency multiplication of composite waves | |
| JPH0690077B2 (en) | Pitch extractor | |
| DE58905114D1 (en) | PROCESS FOR INTERFERENCE SUPPORT IN ULTRASONIC DISTANCE MEASUREMENTS. | |
| JPH0769716B2 (en) | Pitch extractor | |
| JPS624971B2 (en) | ||
| JP3171026B2 (en) | Frequency spectrum analyzer | |
| JPS60175099A (en) | Pitch extractor | |
| JPH0690076B2 (en) | Pitch extractor | |
| JPH0656319B2 (en) | Pitch extractor | |
| JPH0690078B2 (en) | Pitch extractor | |
| JP2626473B2 (en) | Electronic musical instrument input control device | |
| SU1652862A1 (en) | Device for vibrotesting of turbine set | |
| JPH02114300A (en) | Pitch extraction filter and pitch extraction device | |
| SU1672475A1 (en) | Device to determine extremums | |
| SU1141591A1 (en) | Television colour-musical synthesizer | |
| JPH05265490A (en) | Pitch cycle extractor | |
| JPH0798336A (en) | Sampling type measuring device | |
| JPS59218498A (en) | Voice frequency detection circuit | |
| EP0269652A1 (en) | Tuning aid for musical instruments | |
| KR930004739B1 (en) | Voice pitch detecting device | |
| JPH0690640B2 (en) | Pitch extractor | |
| SU1711109A1 (en) | Device for spectral-time analysis of signals | |
| SU999157A1 (en) | Narrow-band signal analogue-digital converter |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071114 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081114 Year of fee payment: 14 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081114 Year of fee payment: 14 |