JPH0446400A - Pitch extracting circuit - Google Patents
Pitch extracting circuitInfo
- Publication number
- JPH0446400A JPH0446400A JP15386890A JP15386890A JPH0446400A JP H0446400 A JPH0446400 A JP H0446400A JP 15386890 A JP15386890 A JP 15386890A JP 15386890 A JP15386890 A JP 15386890A JP H0446400 A JPH0446400 A JP H0446400A
- Authority
- JP
- Japan
- Prior art keywords
- audio data
- correlation
- pieces
- input
- data
- 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
Links
Landscapes
- Signal Processing Not Specific To The Method Of Recording And Reproducing (AREA)
Abstract
Description
【発明の詳細な説明】
〔概要〕
音声信号中のピッチ周期を抽出する回路に関し、ピッチ
抽出に必要なデータの蓄積用メモリ量を削減し、データ
出力までの遅延時間を短縮できるピッチ抽出回路を提供
することを目的とし、2P(Pは検出可能な最大ピッチ
周期)周期ごとにリセットされて、音声データの入力ご
とにカウントアツプするカウンタと、カウンタのカウン
ト値をアドレスとして入力音声データを蓄積する記憶手
段と、記憶手段において音声データがP個蓄積される時
点を検出してP+1個の音声データ入力時から記憶手段
内における入力音声データを含むそれ以前のP個の音声
データを順次読み出すP検出回路と、記憶手段内におい
て最初に蓄積されたP個の音声データを基準値として読
み出された各音声データとの相関係数の計算を行う相関
計算回路と、相関値が最大値となる入力音声データと基
準値の音声データとの間隔から音声信号のピッチ周期を
検出する相関最大値検出回路とを備えることによって構
成する。[Detailed Description of the Invention] [Summary] Regarding a circuit for extracting a pitch cycle in an audio signal, a pitch extraction circuit is provided that can reduce the amount of memory for storing data required for pitch extraction and shorten the delay time until data output. A counter that is reset every 2P (P is the maximum detectable pitch period) period and counts up each time audio data is input, and a counter that stores input audio data using the count value of the counter as an address. P detection for detecting the point in time when P pieces of audio data are stored in the storage means and sequentially reading out P pieces of audio data before that including the input audio data in the storage means from the time when P+1 pieces of audio data are input. a correlation calculation circuit that calculates a correlation coefficient between the circuit and each audio data read out using the P audio data first accumulated in the storage means as a reference value; and an input for which the correlation value is a maximum value. The present invention includes a correlation maximum value detection circuit that detects the pitch period of the audio signal from the interval between the audio data and the reference value audio data.
本発明は音声信号中のピッチ周期を抽出する回路に係り
、特に音声データ圧縮伝送における時間軸圧伸符号化等
において、検出可能最大ピッチ幅のデータ入力後に抽出
を開始するピッチ抽出回路に関するものである。The present invention relates to a circuit for extracting a pitch period in an audio signal, and in particular to a pitch extraction circuit that starts extraction after inputting data of the maximum detectable pitch width in time-base companding coding in audio data compression transmission. be.
時間軸圧伸符号化法(TDH3)においては、音声信号
をサンプリングし、音声のピッチ周期ごとの周期性を利
用して、その2〜3周期分を1周期に圧縮して符号化し
て伝送することによって、音声情報を圧縮して、伝送路
の効率的利用を図るようにしている。In the time-domain companding coding method (TDH3), an audio signal is sampled, and using the periodicity of each pitch period of the audio, 2 to 3 periods are compressed into one period, encoded, and transmitted. By doing so, the audio information is compressed and the transmission path is used efficiently.
従ってこのような場合、音声信号入力からそのピッチ周
期を抽出するピッチ抽出回路が必要となる。Therefore, in such a case, a pitch extraction circuit is required to extract the pitch period from the audio signal input.
ピッチ抽出回路は、ピッチ抽出に用いるバッファメモリ
数が少なくてすむとともに、ピッチ抽出完了までの時間
が短く、従って時間軸圧伸符号化法に適用した場合、圧
縮データを得るまでの遅延時間が短いものであることが
要望される。The pitch extraction circuit requires less buffer memory for pitch extraction and takes less time to complete pitch extraction, so when applied to time-based companding encoding, the delay time until compressed data is obtained is shorter. It is requested that it be a thing.
〔従来の技術]
ピッチ抽出方式としては種々の方式が知られているが、
以下においては、ピッチ抽出範囲、すなわち抽出する最
大のピッチ幅Pに相当する時間長だけ取り込んだ音声信
号波形との間における入力音声データの相関を計算して
、相関が最大値となるときのこの音声信号波形と入力音
声データとのずれ幅をピッチ周期として決定する方式に
ついて説明する。[Prior Art] Various pitch extraction methods are known, but
In the following, the correlation between the input audio data and the audio signal waveform captured for a time length corresponding to the pitch extraction range, that is, the maximum pitch width P to be extracted, is calculated, and this audio when the correlation reaches the maximum value is calculated. A method for determining the deviation width between a signal waveform and input audio data as a pitch period will be described.
この場合における波形の相関は、評価関数によって求め
られる。音声は所定のサンプリング周期でサンプリング
され、ディジタル値に変換されているものとする。以下
、入力音声データをA (i)(i−1,2,3,・・
・・)で表す。The waveform correlation in this case is determined by an evaluation function. It is assumed that audio is sampled at a predetermined sampling period and converted into digital values. Below, input audio data is A (i) (i-1, 2, 3,...
...).
従来のピッチ抽出方式においては、データがA(1)か
ら入力を開始するならば、A(2*P)まで入力を完了
した時点で、A(P+1)からA(2*P)のデータを
基準値として、波形相関の算出を開始するようにしてい
た。In the conventional pitch extraction method, if data starts to be input from A(1), the data from A(P+1) to A(2*P) is extracted when inputting up to A(2*P) is completed. The calculation of waveform correlation was started as a reference value.
第5図は従来のピッチ抽出回路を示したものであって、
11はアドレスをカウントするカウンタ、12はデュア
ル・ポート・メモリ、13はカウンタ値2Pを検出する
2P検出回路、14は相関の計算を行う相関計算回路、
15は相関の最大値を検出する相関最大値検出回路であ
る。FIG. 5 shows a conventional pitch extraction circuit,
11 is a counter that counts addresses; 12 is a dual port memory; 13 is a 2P detection circuit that detects the counter value 2P; 14 is a correlation calculation circuit that calculates correlation;
15 is a correlation maximum value detection circuit that detects the maximum value of correlation.
音声入力は、一定周期でサンプリングされ、ディジタル
データに変換されて入力される。カウンタ11はデータ
の入力ごとにカウントアツプすることによって、デュア
ル・ポート・メモリ12に対する書き込みアドレス(W
−ADR)を発生し、これによって音声データがデュア
ル・ポート・メモリ12に書き込まれる。Audio input is sampled at regular intervals, converted to digital data, and input. The counter 11 increments the write address (W) for the dual port memory 12 by counting up each time data is input.
-ADR), thereby writing the audio data to the dual port memory 12.
一方、2P検出回路13は、カウンタ値が2Pになった
ことを検出して読み出しアドレス(R−ADR)を発生
して、それまでにデュアル・ポート・メモリ12に蓄積
された、連続するP個のデータを基準値として読み出す
。On the other hand, the 2P detection circuit 13 detects that the counter value has become 2P, generates a read address (R-ADR), and reads the consecutive P data accumulated in the dual port memory 12 up to that point. Read out the data as the reference value.
以後、データ入力ごとに読み出しアドレス(R−ADR
)を発生して、デュアル・ポート・メモリ12から、最
初に入力されたデータから順次1個ずつずれた、連続す
るP個ずつのデータを比較値として読み出して、相関計
算回路14に入力する。From then on, the read address (R-ADR
), and P pieces of consecutive data, which are sequentially shifted by one from the first input data, are read out from the dual port memory 12 as comparison values and input to the correlation calculation circuit 14.
これと同時に2P検出回路13から相関計算回路14に
指示が与えられることによって、相関計算回路14では
、読み出された基準値と比較値とによって相関の計算を
開始する。At the same time, an instruction is given from the 2P detection circuit 13 to the correlation calculation circuit 14, so that the correlation calculation circuit 14 starts calculating the correlation using the read reference value and comparison value.
相関計算回路14における相関の計算が終了すると、相
関最大値検出回路工5は、波形相関が最大となる比較値
の位置を検出し、これと基準値とのずれからピッチ幅り
を抽出する。When the correlation calculation circuit 14 finishes calculating the correlation, the maximum correlation value detection circuit 5 detects the position of the comparison value where the waveform correlation is maximum, and extracts the pitch width from the deviation between this and the reference value.
このような処理が2P周期ごとに繰り返して行われ、処
理終了時、カウンタ11はリセットされて、最初から処
理を開始する。Such processing is repeated every 2P period, and when the processing ends, the counter 11 is reset and the processing starts from the beginning.
第6図は、従来方式におけるピッチの抽出を説明するも
のである。FIG. 6 explains pitch extraction in the conventional method.
図中、↓はデータの入力を示し、■は波形相関計算開始
と相関関数F (B、C,)の計算、■は相関関数F
(B、C,)の計算、■は相関関数F(B、c、)の計
算、■は相関関数F (B、 Ci)の計算、■は相
関関数F (B、 CP−z)の計算、■は相関関数
F CB、 CP−1)の計算、■は相間関数F (
B、C,)の計算とピッチ抽出を示している。In the figure, ↓ indicates data input, ■ indicates the start of waveform correlation calculation and calculation of correlation function F (B, C,), and ■ indicates correlation function F
Calculation of (B, C,), ■ Calculation of correlation function F (B, c,), ■ Calculation of correlation function F (B, Ci), ■ Calculation of correlation function F (B, CP-z) , ■ is the calculation of the correlation function F CB, CP-1), ■ is the calculation of the correlation function F (
B, C,) calculation and pitch extraction are shown.
第6図に示すように、Bで示す音声データ群A(P+1
)
z、’−’−’、 C3
A(1)
A (2)
〜A(2*P)を基準値とし、C,、CCいで示す各音
声データ群
〜A (P)
〜A(P+1)
A(i)〜A(i+P−1)
A (P)〜A (2*P+1)
を比較値として、音声データ群Bと音声データ群Cr
(i=1,2. ・・・、p)とによって波形相関
をとる。そして、音声データ群Bと音声データ群C正と
の波形相関関数をF (B、C,) としたとき、相関
間数F (B、C,)が最大値をとるiをピッチ周期と
して抽出する。As shown in FIG. 6, audio data group A (P+1
) z, '-'-', C3 A(1) A (2) ~A(2*P) is the reference value, and each audio data group indicated by C,, CC ~A (P) ~A(P+1) Using A(i) to A(i+P-1) A (P) to A (2*P+1) as comparison values, audio data group B and audio data group Cr
(i=1, 2. . . , p) to obtain waveform correlation. Then, when the waveform correlation function between audio data group B and audio data group C positive is F (B, C,), i, where the correlation number F (B, C,) has the maximum value, is extracted as the pitch period. do.
ここで波形相関関数F (B、C,)は、F (B、
Ci )
とする。Here, the waveform correlation function F (B, C,) is F (B,
Ci).
従来のピッチ抽出回路では、例えば1つの評価関数の計
算に1サンプリング周期の時間を要するとすると、全評
価値の計算完了までには、P個のデータ入力のバッファ
リングが必要となる。In a conventional pitch extraction circuit, for example, if one sampling period is required to calculate one evaluation function, buffering of P data inputs is required until calculation of all evaluation values is completed.
従って、第6図に示されるように、最初のデータ入力(
A(1))から、ピッチ抽出までには、(3*P)個の
データ入力の時間が必要となり、それだけのデータを蓄
積するためのバッファも必要であった。Therefore, as shown in FIG.
A(1)) until pitch extraction requires (3*P) data input time, and a buffer is also required to store that much data.
本発明はこのような従来技術の課題を解決しようとする
ものであって、ピンチ抽出回路において、ピッチ抽出に
必要なデータを蓄積するためのメモリ量を削減し、デー
タ出力までの遅延時間を短縮することができるピッチ抽
出回路を提供することを目的としている。The present invention aims to solve the problems of the conventional technology, and aims to reduce the amount of memory needed to store data necessary for pitch extraction in a pinch extraction circuit, and shorten the delay time until data output. The purpose of this invention is to provide a pitch extraction circuit that can perform the following steps.
本発明は第1図にその原理的構成を示すように、2P(
Pは検出可能な最大ピッチ周期)周期ごとにリセットさ
れるカウンタ1によって、音声データの入力ごとにカウ
ントアツプし、記憶手段2によって、カウンタIのカラ
ントイ直をアドレスとして人力音声データを蓄積し、P
検出回路3によって、記憶手段2において音声データが
8個蓄積される時点を検出してP+1個の音声データ入
力時から記憶手段2内における入力音声データを含むそ
れ以前のP個の音声データを順次読み出し、相関計算回
路4によって、記憶手段2内において最初に蓄積された
P個の音声データを基準値として読み出された各音声デ
ータとの相関係数の計算を行い、相関最大値検出回路5
によって、相関値が最大値となる入力音声データと基準
値の音声データとの間隔から音声信号のピッチ周期を検
出するものである。The present invention has a 2P (
P is the maximum pitch period that can be detected) A counter 1, which is reset every cycle, counts up each time voice data is input, and a storage means 2 stores human voice data using the column address of the counter I as an address.
The detection circuit 3 detects the point in time when 8 pieces of audio data are stored in the storage means 2, and sequentially records P pieces of audio data including the input audio data in the storage means 2 from the time when P+1 pieces of audio data are input. The reading and correlation calculation circuit 4 calculates the correlation coefficient with each read audio data using the P audio data initially accumulated in the storage means 2 as a reference value, and the correlation maximum value detection circuit 5
Accordingly, the pitch period of the audio signal is detected from the interval between the input audio data with the maximum correlation value and the audio data of the reference value.
さらに本発明は、この場合、記憶手段2が、音声データ
の書き込みと読み出しを同時に行い得るデュアル・ポー
ト・メモリ6からなるものである。Furthermore, the present invention is such that in this case, the storage means 2 comprises a dual port memory 6 in which audio data can be written and read simultaneously.
また本発明は、記憶手段2が、シングル・ポート・メモ
リ7と、P+1個の音声入力時から音声データの入力ご
とにシングル・ポート・メモリ7に対する音声データの
書き込みと読み出しとを交互に行うセレクタ8とからな
るものである。Further, the present invention provides that the storage means 2 includes a single port memory 7 and a selector that alternately writes and reads audio data to and from the single port memory 7 every time audio data is input from the time of P+1 audio inputs. It consists of 8.
2P周期ごとにリセットされるカウンタを音声データの
入力ごとにカウントアツプし、このカウント値をアドレ
スとして入力音声データを記憶手段に蓄積し、記憶手段
において音声データがP個蓄積される時点を検出してP
+1個の音声データ入力時から記憶手段内における入力
音声データを含むそれ以前のP個の音声データを比較値
として順次読み出し、記憶手段内において最初に蓄積さ
れたP個の音声データを基準値として比較値の各音声デ
ータとの相関係数の計算を行い、相関値が最大値となる
比較値の入力音声データと基準値の音声データとの間隔
から音声信号のピッチ周期を検出する。A counter that is reset every 2P cycle is counted up every time audio data is input, the input audio data is stored in the storage means using this count value as an address, and the point in time when P pieces of audio data are stored in the storage means is detected. TeP
From the time when +1 audio data is input, the previous P audio data including the input audio data in the storage means are sequentially read out as comparison values, and the P audio data stored first in the storage means is used as a reference value. A correlation coefficient with each audio data of the comparison value is calculated, and the pitch period of the audio signal is detected from the interval between the input audio data of the comparison value and the audio data of the reference value at which the correlation value becomes the maximum value.
この場合、記憶手段は、音声データの書き込みと読み出
しを同時に行い得るデュアル・ポート・メモリであって
もよい。In this case, the storage means may be a dual port memory that can simultaneously write and read audio data.
また記憶手段は、シングル・ポート・メモリと、P+1
個の音声入力時から音声データの入力ごとにシングル・
ポート・メモリに対する音声データの書き込みと読み出
しとを交互に行うセレクタとからなるものであってもよ
い。Also, the storage means is single port memory and P+1
single voice input for each voice data input.
It may also include a selector that alternately writes and reads audio data to and from the port memory.
第2図は本発明の詳細な説明するものである。FIG. 2 provides a detailed explanation of the invention.
図中、↓はデータの入力を示し、■は波形相関計算開始
と相関関数F(b、ci)の計算、■は相関関数F(b
、c、)の計算、■は相関関数F(b、ci−+)の計
算、■は相間関数F(b、c2−1)の計算、■は相関
関数F(b、cm2)の計算、■は相関関数F (b、
Ca−1)の計算、■は相関関数F (b、cい)
の計算とピッチ抽出を示している。In the figure, ↓ indicates data input, ■ indicates the start of waveform correlation calculation and calculation of correlation function F(b, ci), and ■ indicates correlation function F(b, ci).
, c, ), ■ is the calculation of the correlation function F (b, ci-+), ■ is the calculation of the correlation function F (b, c2-1), ■ is the calculation of the correlation function F (b, cm2), ■ is the correlation function F (b,
Calculation of Ca-1), ■ is the correlation function F (b, c)
calculation and pitch extraction.
第2図に示すように、bで示す音声データ群A(1)〜
A(P)を基準値とし、CI、C2,’−’+ C4
+ ’−”+ CDで示す各音声データ群A(2)〜
A (p+1)
A(3)〜A (P+2)
A(i−1)〜A(P+1)
A(P+1)〜A(2*P)
を比較値として、音声データ群すと音声データ群Ci
(i=1.2. ・・・、p)とによって波形相関
をとる。そして、音声データ群すと音声データ群C8と
の波形相関関数をF(b、c、)としたとき、相関間数
F (b、c、)が最大値をとるiをピッチ周期として
抽出する。As shown in FIG. 2, audio data group A(1)--shown by b
With A(P) as the reference value, CI, C2, '-' + C4
+ '-''+ Each audio data group A(2) ~ shown on CD
Using A (p+1) A(3) to A (P+2) A(i-1) to A(P+1) A(P+1) to A(2*P) as comparison values, the audio data group becomes the audio data group Ci.
(i=1.2. . . , p) to obtain the waveform correlation. Then, when the waveform correlation function between the voice data group and the voice data group C8 is F (b, c,), i, where the correlation number F (b, c,) has the maximum value, is extracted as the pitch period. .
本発明のピッチ抽出回路では、最初A(1)〜A (P
)のデータを入力したのち、A(P+1)〜A(2*P
)のデータ入力時に、最初入力されたデータを基準値と
して、1データ入力ごとに波形相関を1つずつ計算する
ようにして、データA(2*P)の入力が完了したとき
、ピンチが抽出されるようにしている。In the pitch extraction circuit of the present invention, first A(1) to A(P
), then input the data from A(P+1) to A(2*P
), the first input data is used as the reference value, and the waveform correlation is calculated one by one for each data input, and when the input of data A (2 * P) is completed, the pinch is extracted. I'm trying to make it happen.
従って、ピンチ抽出に必要な時間が(2*P)時間に短
縮されるとともに、使用するバッファ量も削減される。Therefore, the time required for pinch extraction is shortened to (2*P) time, and the amount of buffer used is also reduced.
第3図は本発明の一実施例を示したものであって、第5
図におけると同じものを同じ番号で示し、16はカウン
タ値Pを検出するP検出回路である。FIG. 3 shows one embodiment of the present invention, and FIG.
The same parts as in the figure are indicated by the same numbers, and 16 is a P detection circuit that detects the counter value P.
音声入力は、一定周期でサンプリングされ、ディジタル
データに変換されて入力される。カウンタ11はデータ
の入力ごとにカウントアツプすることによって、デュア
ル・ポート・メモリ12に対する書き込みアドレス(W
−ADR)を発生し、これによって音声データがデュア
ル・ポート・メモリ12に書き込まれる。Audio input is sampled at regular intervals, converted to digital data, and input. The counter 11 increments the write address (W) for the dual port memory 12 by counting up each time data is input.
-ADR), thereby writing the audio data to the dual port memory 12.
一方、P検出回路16は、カウンタ値がPになったこと
を検出して読み出しアドレス(R−ADR)を発生して
、それまでにデュアル・ポート・メモリ12に蓄積され
た、連続するP個のデータを基準値として読み出す。On the other hand, the P detection circuit 16 detects that the counter value has become P, generates a read address (R-ADR), and reads consecutive P data stored in the dual port memory 12 up to that point. Read out the data as the reference value.
以後、データ入力ごとに読み出しアドレス(R−ADR
)を発生して、デュアル・ポート・メモリ12から、最
初に入力されたデータから順次1個ずつずれた、連続す
るP個ずつのデータを比較値として読み出して、相関計
算回路14に入力する。From then on, the read address (R-ADR
), and P pieces of consecutive data, which are sequentially shifted by one from the first input data, are read out from the dual port memory 12 as comparison values and input to the correlation calculation circuit 14.
これと同時に、P検出回路16から相関計算回路14に
指示が与えられることによって、相関計算回路14では
、読み出された基準値と比較値とによって相関の計算を
開始する。At the same time, an instruction is given from the P detection circuit 16 to the correlation calculation circuit 14, so that the correlation calculation circuit 14 starts calculating the correlation using the read reference value and comparison value.
相関計算回路14における相関の計算が終了すると、相
関最大値検出回路15は、波形相関が最大となる比較値
の位置を検出し、これと基準値とのずれからピッチ幅り
を抽出する。When the correlation calculation circuit 14 completes the correlation calculation, the correlation maximum value detection circuit 15 detects the position of the comparison value where the waveform correlation is maximum, and extracts the pitch width from the deviation between this and the reference value.
このような処理が2P周期ごとに繰り返して行われ、処
理終了時、カウンタ11はリセットされて、最初から処
理を開始する。Such processing is repeated every 2P period, and when the processing ends, the counter 11 is reset and the processing starts from the beginning.
第4図は本発明の他の実施例を示したものであって、第
3図におけると同じものを同じ番号で示し、17は読み
出しくR)と書き込み(W)のアドレスを切り替えるセ
レクタ、18はシングル・ポート・メモリである。FIG. 4 shows another embodiment of the present invention, in which the same parts as in FIG. is a single port memory.
第4図の実施例においては、セレクタ17は、カウンタ
11で発生する書き込みアドレス(WADR)と、P検
出回路16が、カウンタ11の値がPになったことを検
出したのちに発生する、読み出しアドレス(R−ADR
)とを、入力データごとに交互に切り替えて出力する。In the embodiment shown in FIG. 4, the selector 17 receives the write address (WADR) generated by the counter 11 and the read address generated after the P detection circuit 16 detects that the value of the counter 11 becomes P. Address (R-ADR
) are alternately switched and output for each input data.
これによってディジタル化された音声データが、サンプ
リング周期でシングル・ポート・メモリ18に書き込ま
れるとともに、P周期以前にシングル・ポートメモリ1
8に書き込まれた音声データが、順次読み出されて比較
値として相関計算回路14に入力される。これによって
相関回路14では、P検出回路16が、カウンタ11の
値がPになったことを検出したときシングル・ポート・
メモリ18から読み出されたデータを基準値として、比
較値との間で、順次、相関の計算を行う。As a result, the digitized audio data is written to the single port memory 18 at the sampling period, and is written to the single port memory 18 before the P period.
The audio data written in 8 is sequentially read out and input to the correlation calculation circuit 14 as a comparison value. As a result, in the correlation circuit 14, when the P detection circuit 16 detects that the value of the counter 11 becomes P, the single port
Using the data read from the memory 18 as a reference value, correlation calculations are sequentially performed between the comparison value and the data read out from the memory 18.
相関計算回路14における相関の計算が終了すると、相
関最大値検出回路15は、波形相関が最大となる比較値
の位置を検出してピッチ幅りを抽出する。When the correlation calculation circuit 14 completes the correlation calculation, the correlation maximum value detection circuit 15 detects the position of the comparison value where the waveform correlation is maximum and extracts the pitch width.
このような処理が2P周期ごとに繰り返して行われ、処
理終了時、カウンタ11はリセットされて、最初から処
理を開始する。Such processing is repeated every 2P period, and when the processing ends, the counter 11 is reset and the processing starts from the beginning.
このような構成が可能なのは、データのサンプリング周
期に比べてメモリの書き込み、読み出しの時間が十分短
ければ、サンプリングデータの入力周期間隔内でアドレ
スを切り替えて、相関のためのデータを読み出すことが
できるためである。This kind of configuration is possible because if the memory write and read times are sufficiently short compared to the data sampling cycle, the data for correlation can be read by switching addresses within the sampling data input cycle interval. It's for a reason.
以上説明したように本発明によれば、ピッチ抽出回路に
おいて、ピッチ抽出に使用するバッファメモリ数の削減
が可能になるとともに、ピッチ抽出までの時間が短縮さ
れるので、時間軸圧伸符号化法等に適用して音声データ
を圧縮する際に、圧縮データを得るまでの遅延時間を短
縮することができるようになり、従って音声多重化装置
の性能向上に寄与することができる。As explained above, according to the present invention, it is possible to reduce the number of buffer memories used for pitch extraction in the pitch extraction circuit, and the time until pitch extraction is shortened. When compressing audio data by applying the present invention to applications such as the above, it becomes possible to shorten the delay time until compressed data is obtained, thereby contributing to improving the performance of the audio multiplexing device.
第1図は本発明の原理的構成を示す図、第2図は本発明
の詳細な説明する図、第3図は本発明の一実施例を示す
図、第4図は本発明の他の実施例を示す図、第5図は従
来のピッチ抽出回路を示す図、第6図は従来方式におけ
るピッチ抽出を説明する図である。
1はカウンタ、2は記憶手段、3はP検出回路、4は相
関計算回路、5は相関最大値検出回路である。FIG. 1 is a diagram showing the basic configuration of the present invention, FIG. 2 is a diagram explaining the present invention in detail, FIG. 3 is a diagram showing one embodiment of the present invention, and FIG. 4 is a diagram showing another embodiment of the present invention. FIG. 5 is a diagram showing a conventional pitch extraction circuit, and FIG. 6 is a diagram illustrating pitch extraction in the conventional method. 1 is a counter, 2 is a storage means, 3 is a P detection circuit, 4 is a correlation calculation circuit, and 5 is a correlation maximum value detection circuit.
Claims (3)
にリセットされて、音声データの入力ごとにカウントア
ップするカウンタ(1)と、 該カウンタ(1)のカウント値をアドレスとして入力音
声データを蓄積する記憶手段(2)と、該記憶手段(2
)において音声データがP個蓄積される時点を検出して
P+1個の音声データ入力時から該記憶手段(2)内に
おける入力音声データを含むそれ以前のP個の音声デー
タを順次読み出すP検出回路(3)と、 前記記憶手段(2)内において最初に蓄積されたP個の
音声データを基準値として前記読み出された各音声デー
タとの相関係数の計算を行う相関計算回路(4)と、 該相関値が最大値となる入力音声データと前記基準値の
音声データとの間隔から音声信号のピッチ周期を検出す
る相関最大値検出回路(5)とを備えたことを特徴とす
るピッチ抽出回路。(1) A counter (1) that is reset every 2P (P is the maximum detectable pitch period) cycle and counts up each time audio data is input, and input audio data using the count value of the counter (1) as an address. storage means (2) for accumulating the storage means (2);
), the P detection circuit detects the point in time when P pieces of audio data are accumulated, and sequentially reads out the previous P pieces of audio data including the input audio data in the storage means (2) from the time when P+1 pieces of audio data are input. (3) and a correlation calculation circuit (4) that calculates a correlation coefficient with each of the read audio data using the P pieces of audio data initially stored in the storage means (2) as a reference value. and a correlation maximum value detection circuit (5) that detects the pitch period of the audio signal from the interval between the input audio data where the correlation value is the maximum value and the audio data of the reference value. extraction circuit.
読み出しを同時に行い得るデュアル・ポート・メモリ(
6)からなることを特徴とする請求項第1項記載のピッ
チ抽出回路。(2) The storage means (2) is a dual port memory (
6) The pitch extraction circuit according to claim 1, characterized in that the pitch extraction circuit comprises:
リ(7)と、前記P+1個の音声入力時から音声データ
の入力ごとに該シングル・ポート・メモリ(7)に対す
る音声データの書き込みと読み出しとを交互に行うセレ
クタ(8)とからなることを特徴とする請求項第1項記
載のピッチ抽出回路。(3) The storage means (2) includes a single port memory (7) and writes audio data into the single port memory (7) every time audio data is input from the time of the P+1 audio inputs. 2. The pitch extraction circuit according to claim 1, further comprising a selector (8) which alternately performs reading and reading.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15386890A JPH0446400A (en) | 1990-06-14 | 1990-06-14 | Pitch extracting circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15386890A JPH0446400A (en) | 1990-06-14 | 1990-06-14 | Pitch extracting circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0446400A true JPH0446400A (en) | 1992-02-17 |
Family
ID=15571864
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15386890A Pending JPH0446400A (en) | 1990-06-14 | 1990-06-14 | Pitch extracting circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0446400A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1994026036A1 (en) * | 1993-05-04 | 1994-11-10 | Motorola Inc. | Apparatus and method for substantially eliminating noise in an audible output signal |
-
1990
- 1990-06-14 JP JP15386890A patent/JPH0446400A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1994026036A1 (en) * | 1993-05-04 | 1994-11-10 | Motorola Inc. | Apparatus and method for substantially eliminating noise in an audible output signal |
| US5678221A (en) * | 1993-05-04 | 1997-10-14 | Motorola, Inc. | Apparatus and method for substantially eliminating noise in an audible output signal |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5216744A (en) | Time scale modification of speech signals | |
| CN1109349C (en) | Buffer memory controller | |
| JPH0828053B2 (en) | Data recording method | |
| JPH02500634A (en) | Digital encoding/decoding method and device | |
| JPH0446400A (en) | Pitch extracting circuit | |
| US5008940A (en) | Method and apparatus for analyzing and reconstructing an analog signal | |
| JP2757818B2 (en) | Auxiliary data processing circuit | |
| JPH0421041A (en) | Dynamic converting system for file format | |
| JPH0460204B2 (en) | ||
| JP2604492B2 (en) | Data compression processing method for sequential files | |
| US5841945A (en) | Voice signal compacting and expanding device with frequency division | |
| JPS639074A (en) | Data record compression system | |
| JPH052834A (en) | Method and apparatus for storing multimedia information | |
| JPS6228906B2 (en) | ||
| CN110727402A (en) | High-speed FC data real-time receiving and frame loss-free storage method | |
| JPH04175036A (en) | Data compression system | |
| SU541162A1 (en) | Device for processing and entering experimental data into a computer | |
| WO1997008696A1 (en) | Digital data recording apparatus and reproduction apparatus | |
| SU1451723A2 (en) | Device for computing multiple convolution | |
| KR0176805B1 (en) | Circuit for determining the number of backward track jumps of the DVD player | |
| JPH07105183A (en) | Correlation detector | |
| SU1075289A1 (en) | Device for reducing message redundancy | |
| JPH012168A (en) | Compression method for logic circuit simulation results | |
| SU991412A1 (en) | Extremum determination device | |
| JPH07139965A (en) | Histogram recorder |