JPS60151699A - Pitch converter - Google Patents

Pitch converter

Info

Publication number
JPS60151699A
JPS60151699A JP59007841A JP784184A JPS60151699A JP S60151699 A JPS60151699 A JP S60151699A JP 59007841 A JP59007841 A JP 59007841A JP 784184 A JP784184 A JP 784184A JP S60151699 A JPS60151699 A JP S60151699A
Authority
JP
Japan
Prior art keywords
data
read
signal
address
switching
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
JP59007841A
Other languages
Japanese (ja)
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP59007841A priority Critical patent/JPS60151699A/en
Publication of JPS60151699A publication Critical patent/JPS60151699A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing Not Specific To The Method Of Recording And Reproducing (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】[Detailed description of the invention]

[発明の技術分野] 本発明はテープレコーダの早回し、遅回しの際に、ビッ
ツを元に戻して音色の変化を戻したりへ音楽信号のビッ
ツを変えて他の楽器や音声とのビツヂ合せをする際使用
されるピッチ変換装置に関する。 [発明の技術的11坦とその問題点] 音響信号のビッツを変化させる方法として、テープレコ
ーダ等に記録された音響信号を記録時と異なる速度で再
生する方法が知られている。 しかしながら、この方法は時間長が変化し、テン剖;も
変って実時間での音のピッチ変換を行なうことはできな
い。 このため最近、メモリ素子を用いた実時間でのピッチ変
換の可能なピッチ変換装置が開発されている。 第1図は、このような従来のピッチ変換装置の回路ブロ
ック図である。 このピッチ変換装置は、入力信号であるアナログ信号を
ディジタル信号に変換するA/D変換器1と、データを
記憶Jるメモリ2と、メモリ2のアドレスを切替えるア
ドレス切替器3と、アドレス切替器3へ書込みアドレス
を送る書込みアドレスカウンタ4ど、アドレス切替器3
へ読出しアドレスを指示づる読出しアドレスカウンタ5
と、アドレスの切替え、書込みモード、続出しモードの
切換えを行なうメモリ制御器6と、A/D変換器1おに
び書込みアドレスカウンタ4へクロックを供給しメモリ
制御器6へ書込み要求を供給する書込みクロック発生器
7と、読出しアドレスカウンタ5ヘクOツクを供給しメ
モリ制御器6へ読出し要求を供給する読出しクロック発
生器8と、書込みアドレスカウンタ4が一定のブロック
長だ番ノカウントしたとき読出しアドレスカウンタ5を
リセットするブロックカウンタ9と、読出しデニタをラ
ッチするデータラッチ10と、データラッチ10から供
給される読出しデータをアナログ変換するD/A変換器
11とから構成されている。 このような従来のピッチ変換装置では、入力信号はA/
D変換器1によりディジタル信号に変換されて、メモリ
2に書込まれる。このどき、書込みクロック発生器7か
らA/D変換器1ヘサンプルクロツクが供給され、また
書込みアドレスカウンタ4ヘクロツクが供給され、書込
みアドレスカウンタ4のアドレス信号にしたがってアド
レス切替器3がアドレスの切替えを行なう。 読出しは書込みクロックと異なるタイミングで行なわれ
、読出されたデータはデータラッチ10に−Hラッチさ
れた後、D/A変換器11を通してアナ[1グ信号に戻
され出力される。 データの読出しの際には、読出しクロック発生器8から
読出しアドレスカウンタ5ヘクロツタが供給され、また
データラッチ10へはラッチパルスが供給される。読出
しアドレスカウンタ5はブロックカウンタ9により予め
設定されたブロック長毎にリセットされる。 メモリ2への書込み、読出しの切替え制御は、書込みり
[,1ツク発生器7および読出しクロック発生器8から
の書込み要求と、読出し要求を受けたメモリ制御器6に
よるアドレスの・切替え、書込みモード、読出しモード
の切替えにより行なわれる。 第2図J5よび第3図は、このピッチ変換装置の動作を
説明するタイミングチャートである。 第2図は、書込みクロックより読出しクロックの周波数
が低い場合、すなわちピッチを下げる場合を示しており
、第3図は自込みクロックより読出しクロックの周波数
が高い場合、すなわちピッチを上げる場合を示している
。 これらの図において、(a)は入力データ列、(b)は
出力データ列を示している。 ここで、ブロックの長さは聴感上数100m5が必要と
され、また、ブロック長より長い周期の入力信号は、ピ
ッチ変換されないのでこの点からはブロック長は長いほ
ど好ましい。 しかしながら、ブロック長が長いとメモリ2のメモリ容
量が増加するし、所定のピッチ変換する際消失ツる消失
データの長さも長くなって聴感上消失された音が認識さ
れるようになる。このためブロックの長さとしては、通
常数100m5程度が用いられる。 このピッチ変換装置を用いてピッチを下げる場合には、
第2図に示りにうに、メモリには書込みクロックの周波
数でDI+D2のデータが書込まれる。一方、このデー
タを読出ず場合には、読出 −しクロックの周波数が出
込みクロックのそれより低くなるので、ブロックの終り
までに出力されるデータは(DI)の部分となり、(D
2)の部分のデータは読出しアドレスカウンタがブロッ
ク毎にリセットされるため読出ずことができない。 ずなわら、この部分のデータD2はブロック毎に消失す
ることになる。従って、この場合にはテープレコーダの
、N回しと同様にピッチが下がり、しかも各ブロック毎
に読出しデータは書込みデータに追付くため、全体の時
間が延びることがなく、実時間でのビッヂの変換が行な
われる。 第3図に示したピッチを上げる場合には、逆に読出しク
ロックの周波数が高くなるため、読出しアドレスのリセ
ットはブロックの途中で行なわれることになる。すなわ
ち読出しは、前のデータのD3の部分から行なわれ、次
のブロックでのリセットまでに(D3)と(D4)の部
分が読出される。すなわち、<03)の部分はリセット
の前後で重複して読出される。従って、ブロック内でテ
ープレコーダの早回し同様ビッヂが上り実時間での変換
が行なわれる。 ところで、このような従来のピッチ変換装置では、第4
図に示すようにブロックの継目で音声信号Sに不連続部
分Xが生じる。 ずなわら、読出しアドレスカウンタ5のリセットは、信
号の内容と関係なく行なわれるため、確率的に信号の連
続性が得られることはほとんどなく、従って、この不連
続部分Xはブロックの周期で発生し、非常に耳障わりで
内容が聴きづらくな)たり、音響的に不快感を与えるこ
とが多いという欠点があった。 [発明の目的] 本発明はこのような従来の欠点を解消すべくなされたも
ので、ブロック毎の音の不連続によって生じるノイズを
なくし、自然な音が得られるピッチ変換装置を提供する
ことを目的とする。 [発明の概要コ すなわち本発明のピッチ変換装置は、第5図に示すよう
に、入力信号を記憶する記憶手段(△)へ、入力手段(
B、)が予め設定されたブロック長でリセットを繰返し
つつ所定のタイミングで順次データを自込む。 この記憶手段(A>へ書込まれたデータは、前記ブロッ
ク長と等しいブロック長でリセットを繰返しつつ前記入
力手段と異なるタイミングで順次読出す2系統の続出手
段(C)に読出されて、2系統のデータ保持手段(D)
に保持される。 データ保持手段(D)に保持されたデータは、データ切
換手段(E)によりいずれか一方が選択されて出力され
る。 ゼロクロス検出手段(F)は、2系統あり、ブロック長
毎に、読出されたデータについて、それぞれ零Vに相当
する値を横切るゼロクロスを検出し、かつその横切る極
性を判別して、初期状態においてはいずれの極性側から
横切る場合でも、その後においては同極性の側から横切
る場合のみ、検出した側の読出手段の読出しを停止し、
次いで他方の側が検出したとき前記データ切換手段(E
)に切換信号を送る。 データ切換手段(E)は、この切換(fi号に基いてい
ずれか一方の続出手段r(C)読出られたデータのみを
出ツノする。 [発明の実施例] 以下本発明の一実施例を図面を参照して説明する。 第6図は本発明の一実施例の回路ブロック図である。な
お第6図において第1図と共通する部分には同一符号を
flしてある。 この実施例のピッチ変換装置は、人力信号であるアナロ
グ信号をディジタル信号に変換する△/D変換器1と、
データを記憶するメモリ2と、メモリ2のアドレスを切
替えるアドレス切替器3と、アドレス切替器3へ書込み
アドレスを送る書込みノアドレスカウンタ4と、アドレ
ス切替器3へ読出しアドレスを指示づ−る続出しアドレ
スカウンタ5a、5bと、アドレスの切替え、潜込みモ
ード、読出しモードの切換えを行なうメモリ制御器6と
、Δ/D変換器1 d3よび書込みアドレスカウンタ4
ヘクロツクを供給しメモリ制御器6へ書込み要求を供給
する内込みクロック発生器7と、読出しアドレスカウン
タ5a 、5bへクロックを供給し、メ七り制御器6へ
読出し要求A、Bを供給覆る読出しクロック発生器8と
、■込みアドレスカウンタ4が書込みアドレスと読出し
アドレスの差がメモリの容量を越えない範囲で予め定め
られた一定のブロック長だけカウントしたとき読出しア
ドレスカウンタ5をリセットするブロックカウンタ9と
、読出しデータをラッチザるデークラッチ10a、lQ
bと、データラッチから供給される読出しデータをアナ
ログ変換するD/Δ変換器11とを備えており、基本的
な11へ或は第1図に示した従来のビッヂ変1g5装置
と同様ひある。 しかしく、この実施例のピッチ変換装置は、同図に符号
5a 、5b 、10a 、10b t’示すように、
読出しアドレスカウンタとデータラッチとが2系統設り
られている。また、それぞれの系統には信号が電位零V
に相当Jる偵を横切るゼ1]クロスとその横切る極性を
検出するピロクロス検出器17a、17bと、10ツク
カウンタ9からのA1B切替え要求とゼロクロス検出器
17a、1711からのゼ1」クロス検出信号を受
[Technical Field of the Invention] The present invention is a method for changing the bits of a music signal to match the bits with other musical instruments or voices by returning the bits to restore the change in timbre when a tape recorder is turned fast or slow. This invention relates to a pitch conversion device used when [Technical 11 of the Invention and its Problems] As a method for changing the bits of an audio signal, a method is known in which an audio signal recorded on a tape recorder or the like is reproduced at a speed different from that at the time of recording. However, in this method, the time length changes and the pitch also changes, making it impossible to convert the pitch of the sound in real time. For this reason, recently, pitch conversion devices that use memory elements and are capable of pitch conversion in real time have been developed. FIG. 1 is a circuit block diagram of such a conventional pitch conversion device. This pitch conversion device includes an A/D converter 1 that converts an analog signal that is an input signal into a digital signal, a memory 2 that stores data, an address switch 3 that switches the address of the memory 2, and an address switch Write address counter 4 sends the write address to 3, address switch 3
Read address counter 5 that indicates the read address to
A clock is supplied to the memory controller 6, which performs address switching, write mode, and continuous output mode switching, the A/D converter 1, and the write address counter 4, and a write request is supplied to the memory controller 6. A write clock generator 7, a read clock generator 8 which supplies a clock to a read address counter 5 and a read request to a memory controller 6, and a read clock generator 8 which supplies a clock to a read address counter 5 and a read request to a memory controller 6; It is composed of a block counter 9 that resets the address counter 5, a data latch 10 that latches read data, and a D/A converter 11 that converts the read data supplied from the data latch 10 into analog. In such conventional pitch conversion devices, the input signal is A/
It is converted into a digital signal by the D converter 1 and written into the memory 2. At this time, a sample clock is supplied from the write clock generator 7 to the A/D converter 1, and a clock is also supplied to the write address counter 4, and the address switch 3 switches the address according to the address signal of the write address counter 4. Do the following. Reading is performed at a timing different from the write clock, and the read data is latched at -H in the data latch 10, and then returned to an analog signal through the D/A converter 11 and output. When reading data, a clock signal is supplied from the read clock generator 8 to the read address counter 5, and a latch pulse is supplied to the data latch 10. The read address counter 5 is reset by the block counter 9 every preset block length. The switching control between writing and reading to the memory 2 is performed by the memory controller 6 that receives a write request from the write clock generator 7 and the read clock generator 8 and a read request, and switches the address and write mode. , is performed by switching the read mode. FIG. 2 J5 and FIG. 3 are timing charts illustrating the operation of this pitch conversion device. Figure 2 shows the case where the read clock frequency is lower than the write clock, that is, the pitch is lowered, and Figure 3 shows the case where the read clock frequency is higher than the self-program clock, that is, the pitch is raised. There is. In these figures, (a) shows an input data string, and (b) shows an output data string. Here, the length of the block is required to be several hundred m5 in terms of auditory sense, and since an input signal with a period longer than the block length is not pitch-converted, from this point of view, the longer the block length, the better. However, if the block length is long, the memory capacity of the memory 2 increases, and the length of the lost data that disappears when performing a predetermined pitch conversion also becomes long, so that the lost sound becomes perceptibly recognizable. For this reason, the length of the block is usually about several 100 m5. When lowering the pitch using this pitch conversion device,
As shown in FIG. 2, data DI+D2 is written into the memory at the frequency of the write clock. On the other hand, if this data is not read, the frequency of the read clock will be lower than that of the output clock, so the data output by the end of the block will be the (DI) portion and (D
The data in part 2) cannot be read because the read address counter is reset for each block. However, this portion of data D2 will be lost block by block. Therefore, in this case, the pitch decreases in the same way as when the tape recorder is turned N times, and the read data catches up with the written data for each block, so the overall time does not increase, and the pitch is converted in real time. will be carried out. When increasing the pitch shown in FIG. 3, the frequency of the read clock increases, so the read address is reset in the middle of the block. That is, reading is performed from the D3 portion of the previous data, and the (D3) and (D4) portions are read before the next block is reset. That is, the portion <03) is read out redundantly before and after reset. Therefore, in a block, the bit is raised in the same way as a tape recorder is turned on quickly, and conversion is performed in real time. By the way, in such a conventional pitch conversion device, the fourth
As shown in the figure, a discontinuous portion X occurs in the audio signal S at the joint between the blocks. However, since the resetting of the read address counter 5 is performed regardless of the contents of the signal, it is almost impossible to obtain continuity of the signal stochastically. Therefore, this discontinuous portion However, it has the disadvantage that it is often very harsh on the ears, making it difficult to hear the content, and often gives an unpleasant acoustic sensation. [Object of the Invention] The present invention has been made in order to eliminate such conventional drawbacks, and an object of the present invention is to provide a pitch conversion device that eliminates noise caused by discontinuity of sounds in each block and can obtain natural sounds. purpose. [Summary of the Invention] As shown in FIG. 5, the pitch conversion device of the present invention inputs input signals (
B,) sequentially loads data at a predetermined timing while repeating reset with a preset block length. The data written in this storage means (A>) is read out to two systems of successive means (C) which sequentially read the data at different timings from the input means while repeating reset with a block length equal to the block length. System data retention means (D)
is maintained. One of the data held in the data holding means (D) is selected by the data switching means (E) and output. The zero cross detection means (F) has two systems, and detects zero crosses that cross a value corresponding to zero V in the read data for each block length, and determines the polarity of the crosses. Regardless of which polarity side it crosses, after that, only when it crosses from the same polarity side, the readout of the reading means on the detected side is stopped,
Then, when the other side detects the data switching means (E
) sends a switching signal to The data switching means (E) outputs only the data read by either one of the successive output means r(C) based on this switching (fi). [Embodiment of the Invention] An embodiment of the present invention will be described below. This will be explained with reference to the drawings. Fig. 6 is a circuit block diagram of an embodiment of the present invention. In Fig. 6, parts common to Fig. 1 are designated by the same reference numerals fl. This embodiment The pitch conversion device includes a Δ/D converter 1 that converts an analog signal, which is a human input signal, into a digital signal;
A memory 2 that stores data, an address switch 3 that switches the address of the memory 2, a write address counter 4 that sends a write address to the address switch 3, and a continuous series that instructs the address switch 3 to read an address. Address counters 5a and 5b, memory controller 6 for switching addresses, sneak mode, and read mode, Δ/D converter 1 d3, and write address counter 4
An internal clock generator 7 supplies clocks to the memory controller 6 and writes requests to the memory controller 6, and an internal clock generator 7 supplies clocks to the read address counters 5a and 5b and supplies read requests A and B to the memory controller 6. a clock generator 8, and (1) a block counter 9 that resets the read address counter 5 when the write address counter 4 counts a predetermined constant block length within a range where the difference between the write address and the read address does not exceed the memory capacity. and data latches 10a and lQ that latch the read data.
b, and a D/Δ converter 11 that converts the read data supplied from the data latch into analog. . However, the pitch conversion device of this embodiment has the following symbols 5a, 5b, 10a, 10bt' in the same figure.
Two systems of read address counters and data latches are provided. In addition, each system has a signal with a potential of zero V.
The pyrocross detectors 17a, 17b which detect the cross and the polarity of the crossing, the A1B switching request from the ten-track counter 9, and the zero cross detection signal from the zero cross detectors 17a, 1711. received

【プ
て続出しタロツク発生器8のタロツクのタイミングぐゲ
ート18a、18bヘゲ一ト信号を供給するゼロクロス
制御器19と、データラッチ10a、10bのいずれか
を選択しで出力りるデータ切替器20とを備え−Cいる
。 次にこの実施例の各部の動作について説明りる。 このピッチ変換装置では、アナログの入力信号はA/D
変換器1によりディジタルデータへ変換され、メモリ2
へ記録される。 メモリ2からの読出しデータは△、B2系統あり、読出
されたデータはそれぞれデータラッチ10a、10bに
−Hうツヂされる。これらAlB2系統のデータは、ゼ
ロク「」ス検出器17a、17b4こ9供給され、かつ
データ切替器14によりいずれか一方が選択され、[)
/A変換器20によりアナログ信号に戻され°C出力さ
れる。 出込みタロツク発生器7は、A’/、D変換器1ヘサン
プルクロツクを供給し、内込みアドレスカウンタ4へク
ロックを供給し、メモリ制御器6へ書込み要求信号を供
給する。 読出しり1ツク発生器8は、読出しアドレスカウンタ5
a 、5bヘグート18a、18bを介しCクロックを
供給し、データラッチ10a、1.Obヘラツヂパルス
A、、Bを供給し、ゼロクロス検出器17a、17bヘ
クロツタを供給し、メモリ制御器6へ読出し要求A、B
を供給する。 メモリ制F器6は、書込み要求と読出し要求A、Bとを
受け、タイミングを取ったうえでアドレス切替器3ヘア
ドレス切替信号を供給し、かつメモリ2へ川込みモード
、読出しモードの選択を行なうためのR/W信号を供給
する。 アドレス切替器3は、アドレス切替信号を受【ノ、書込
みアドレス信号、読出しアドレス信号A、8のいずれか
を選択し、メモリ2ヘアドレスデータとして供給する。 ゼロクロス検出器17a、17bは、信号が電位零Vに
相当する値を横切った時点と、その横切る極性を検出し
てゼロクロス制御器19へ検−出信号を供給づ゛る。 ゼロク[(ス制御器19は、ゲート18a、181]へ
ゲート信号を供給する。 10ツクカウンタ9は、書込みアドレスカウンタ4から
の信号を受け、所定のブロック長毎に読出しアドレスカ
ウンタ5a 、5bヘリレット信号A、Bをそれぞれ供
給する。 次にゼ「Jクロス検出器17a’、17bおよびゼロク
ロス制御器19の構成および動作についC説明する。 第7図はゼロクロス検出器17a、17bおよびゼロク
ロス制御器19の回路図、第8図はその動作を示すタイ
ミノグチ1シートである。 ゼロクロス検出!17a 、’ 17bは、データA1
データBのそれぞれの系統がフリップフロップFF1、
FF2で構成されており、ゼロクロス制御器19はフリ
ップ70ツブFF3〜FFI 1で構成されている。 ゼロクロスはり一インピット(あるいはMSB>の変化
点として検出されるので、F’F1、FF2でデータラ
ッヂパルスにより−Hラッチし、その前後の変化を取り
出してその変化の極性を判断づる。これにより負から正
への変化(+ゼロクロス)と正から負への変化(−りロ
クロス)が検出される。AB切替え要求によりFF3〜
FF6とFF7〜F F 10とは交互に動作する。 いま、AS切替え要求が’ l−1”となり、このとき
FF3〜FF4はQが“L″となっていたとする。また
、FF5、FF6はFF3、FF4のQによってリセッ
ト(R)されている。ここで+ゼロクロスが検出される
と、FF4がセット(S)される。またFF6のリセッ
トは解除され、FF3はりセットされる。ま/、:F 
F 3によりF F、5はリセットされ続番ノる。 次にデータBの+ゼロクロス検出によりFF6がセット
される。FF5がリセットされ続けるので、データBの
一ゼロクロス検出は受付けられず、データAの+ゼロク
ロス検出が先行したことにより、F、F4とFF6がア
クティブ可能となり、同極性のゼロクロスを検出でき、
ゲート信号Aを得る。またFF11にJ:すA、B切替
え信号を得る。 逆にデータへの一ゼロクロス検出が先行した場合も、同
様な動作でFF3とF、F5がアクディプとなり、負極
のゼロクロスを検出することができる。 まlこ、A1B切替え要求がL″となると、FF3〜F
]二〇はリセットされ、FF7〜F F 10が動作可
能となる。この場合データBの+ゼロクロス検出、−ゼ
ロクロス検出のいずれかが先行することにより、FF8
、FFl0かあるいはFF7、FF8がアクティブとな
り、ゲート信@Bが得られる。 次にこの実施例の動作を第9図ないし第12図を参照し
ながら説明する。 入力信号は一定周期でザンプルされ、A/D変換器1で
ディジタル信号に変換された後、書込みアドレスカウン
タ4に応じてメモリ2に順次記録される。 メモリ制御器6は書込み要求、読出し要求A1Bを受け
てメモリの記録モード、読出しモードの切替え、アドレ
スデータの切替えを時間的に重複しないように制御する
、。 読出しは自込みと異なるタイミングで、2系統AXBに
ついC行なわれ、ブロック毎に交互に読出し系統が切替
えられて、D/A変換器11を通して出力される。 第9図(a )は、入力信号系列を示しており、(b+
)、(bl)は読出し周期が書込み周期よ。 り長い場合の2系統の出力信号系列を示している。 2系統の読出しアドレスカウンタ5a 、5bは、ブロ
ック周期毎に交互にり[ットされる(第9図でムで示し
ている)。いま(b + )、’(b 2 )の読出し
系統を(C)のように一定周期で切替えて取り出りば、
従来例とまったく同様の信号どなり、第4図に示した信
号の不連続が生じる。 また、(bl)、(bl)の読出し系統を切替えで出力
するとき、両者の信号に不連続が生じない時点で切替え
るようにすると、(d )のような切換時点間の良さが
異なる信号系列が得られる。 この切換のタイミングは以下のように決定される。 第10図に示す(a )と(b)の信号を繋ぎ合せる場
合、最も違和感が少なく自然に聞こえるのは、同図にX
点で示J、信号が零■電位を横切り、かつ横切る極性が
同一の時点である。このにうな点で繋ぎ合された信号は
、同図(C)に示すように、信号レベルの不連続、位相
の不連続がなくなり、自然な音声として聞き取ることが
できる。 本発明におけるゼロクロス検出器12a、12bおよび
ゼロクロス制御器13は、このように2種の信号を信号
レベル、位相を一致させ“C繋ぎ合ゼるために、一方の
信号をゼロクロス点で保持しC1時間的にシフ1〜させ
Cいる。 第11図(7)(a)、(b)は、それぞれ第、61刈
の回路ブロック図のデータA系列、データB系列にお【
プる信号であり、第10図の(a )、(IL)に相当
づる信号ぐある。 いま信号を簡単のために正弦波とすると、データAの系
列のゼロクロス検出器1’7’aはXの時点eゼロクロ
ス点検出し、またデータB系列のゼロクロス検出器17
1)はYの時点Cゼロクロスを検出する。このピI」り
[jスの検出信号を受りてゼロク1」ス制御器19は、
同図((] )のようなグートイ3号をゲート188へ
人力する。そうすると読出し】′ドレスカウンタ5aへ
のり1」ツク△の供給は停止されL第11図(i)]、
読出しアドレスカウンタ5aは停止する。従って、第1
1図(a )に承りように、読出し信号は一定値を持続
することとなる。 次にB系列の信号のゼロク[」ス検出時点「第11図(
「)」でゲート信号へは元に戻るため[第11図(g)
」、読出しアドレスカウンタAは再び動作を始める[第
11図(1)]。このノ〔めYの04夏二rA系列とB
系列の信号は互いに位相があった状態どなる。このYの
++:r点C゛データリノ換信号がちえられし第11図
(1)l、出力アナログデータはゼロクロス点で切替え
られる[第11図(n)1゜ ゼロク[1ス検出は、まず、現在出力していない方のデ
ータ列ぐ検出され[第11図(e )、(III )〕
、この系列のアドレスカウンタを停止し、その後に現在
出力しCいる方のデータ列ひ検出し[第11図(r )
、(u+)]、先のアドレスカウンタの再動作を開始し
、出力データ列を切替える一連の動作を交互に繰返すこ
とにより連続した信号系列が得られ[第11図(+1)
]、信号の繋ぎ目Cの不連続性にJ、るfltWや異常
音を排除Jることができる。 ここeは書込み周期より読出し周期が長い場合につい(
説明したが、読出し周期が書込み周期より短い0場合に
も同様であり、ピッチを高くするこなお、以上の実施例
では、メモリ2としてディジタルメモリを使用した例に
ついて説明したが、本発明はかかる実施例に限定される
べきものではなく、BBD、、C’CD素子のようなア
ナログメモリを使用することも可能である。この場合A
/D変換器およびD/A変換器は省略することができる
。 [発明の効果1 以上説明したように本発明によれば、音響信号を実時間
でピッチ変換する際、音の不連続による)イズや不快音
を取除き自然な音のピッチ変換を行なうことができる。 また、本発明のピッチ変換装置は、ディジタルロジック
回路で実現できるので、集積回路とすることも容易ぐあ
る。
[A zero-cross controller 19 that supplies gate signals to gates 18a and 18b for timing tarlocks of the tarlock generator 8, and a data switch that selects and outputs one of the data latches 10a and 10b. 20 and -C. Next, the operation of each part of this embodiment will be explained. In this pitch conversion device, the analog input signal is A/D
It is converted into digital data by converter 1 and stored in memory 2.
recorded in There are two types of data read from the memory 2, Δ and B, and the read data is transferred -H to data latches 10a and 10b, respectively. The data of these two AlB systems are supplied to the Xerox detectors 17a, 17b4, and either one is selected by the data switch 14.
The signal is converted back to an analog signal by the /A converter 20 and outputted in °C. The output tally clock generator 7 supplies a sample clock to the A'/D converter 1, a clock to the internal address counter 4, and a write request signal to the memory controller 6. The read one check generator 8 is connected to the read address counter 5.
a, 5b, the C clock is supplied through the gates 18a, 18b, and the data latches 10a, 1. Supplies the Ob wave pulses A, , B, supplies the zero cross detectors 17a, 17b, and sends read requests A, B to the memory controller 6.
supply. The memory control F unit 6 receives the write request and the read requests A and B, and after timing, supplies an address switching signal to the address switch 3, and also selects the input mode and the read mode to the memory 2. Provides an R/W signal for the execution. The address switch 3 receives the address switching signal, selects either the write address signal or the read address signal A or 8, and supplies it to the memory 2 as address data. The zero-cross detectors 17a and 17b detect the time when the signal crosses a value corresponding to the potential zero V and the polarity at which the signal crosses, and supply a detection signal to the zero-cross controller 19. The 10-count counter 9 receives a signal from the write address counter 4 and outputs a gate signal to the zero clock [(the bus controller 19 has gates 18a, 181]). Signals A and B are respectively supplied.Next, the configuration and operation of the zero-cross detectors 17a', 17b and the zero-cross controller 19 will be explained. The circuit diagram and Figure 8 are the 1st sheet of Taiminoguchi showing its operation.Zero cross detection!17a and '17b are data A1
Each system of data B is a flip-flop FF1,
The zero cross controller 19 is composed of flip 70 tubes FF3 to FFI1. Since the zero cross beam is detected as a change point of the input pit (or MSB>), -H is latched by the data latch pulse at F'F1 and FF2, and the changes before and after that are extracted to determine the polarity of the change. A change from negative to positive (+ zero cross) and a change from positive to negative (-recross) are detected. FF3~
FF6 and FF7 to FF10 operate alternately. Now, it is assumed that the AS switching request is '1-1', and at this time the Q of FF3 to FF4 is "L".Furthermore, FF5 and FF6 are reset (R) by the Q of FF3 and FF4. When +zero cross is detected here, FF4 is set (S). Also, the reset of FF6 is canceled and FF3 is set.
FF, 5 is reset by F3, and becomes a successive number. Next, FF6 is set by +zero cross detection of data B. Since FF5 continues to be reset, one zero cross detection of data B is not accepted, and since + zero cross detection of data A precedes, F, F4 and FF6 can be activated, and zero crosses of the same polarity can be detected.
Obtain gate signal A. Also, a J:A, B switching signal is obtained for the FF 11. On the other hand, even if one zero-cross detection for data occurs first, FF3, F, and F5 become accu-dip by the same operation, and a negative zero-cross can be detected. Mako, when the A1B switching request becomes L'', FF3 to F
]20 is reset, and FF7 to FF10 become operational. In this case, either the + zero cross detection or the - zero cross detection of data B precedes the FF8
, FF10 or FF7 and FF8 become active, and gate signal @B is obtained. Next, the operation of this embodiment will be explained with reference to FIGS. 9 to 12. Input signals are sampled at regular intervals, converted into digital signals by an A/D converter 1, and then sequentially recorded in a memory 2 according to a write address counter 4. The memory controller 6 receives the write request and the read request A1B, and controls switching of the memory recording mode and read mode, and switching of address data so that they do not overlap in time. Reading is performed for the two systems AXB at a timing different from the self-loading, and the readout system is alternately switched for each block and outputted through the D/A converter 11. FIG. 9(a) shows the input signal sequence, (b+
), (bl), the read cycle is the write cycle. The figure shows two output signal sequences when the length is longer. The two systems of read address counters 5a and 5b are alternately clocked every block period (indicated by a symbol in FIG. 9). Now, if we switch the readout systems of (b + ) and '(b 2 ) at regular intervals as shown in (C), we get
The signal clatter is exactly the same as in the conventional example, and the signal discontinuity shown in FIG. 4 occurs. In addition, when outputting readout systems (bl) and (bl) by switching, if the switching is done at a point where no discontinuity occurs in both signals, signal series with different quality between switching points like (d) can be obtained. is obtained. The timing of this switching is determined as follows. When connecting the signals (a) and (b) shown in Figure 10, the one that sounds the least strange and natural is the signal shown in Figure 10 (X).
The point J indicates the point where the signal crosses the zero potential and the polarity of the crossing is the same. The signals connected at these points have no discontinuity in signal level or discontinuity in phase, and can be heard as natural speech, as shown in FIG. 2C. The zero-crossing detectors 12a, 12b and zero-crossing controller 13 in the present invention thus hold one signal at the zero-crossing point and hold one signal at the zero-crossing point in order to match the signal levels and phases of the two signals and connect them. There is a temporal shift from 1 to C. Figure 11 (7) (a) and (b) show the data A series and data B series of the 61st circuit block diagram, respectively.
There are signals corresponding to (a) and (IL) in FIG. Now, assuming that the signal is a sine wave for simplicity, the zero cross detector 1'7'a of the data A series detects the zero cross point at time e of X, and the zero cross detector 17 of the data B series
1) detects the zero cross at point C of Y. Upon receiving this piston detection signal, the zerox controller 19
In the same figure (()), goo toy No. 3 is manually inputted to the gate 188. Then, the supply of ``glue 1'' to the dress counter 5a is stopped, and the supply of the ``glue 1'' to the dress counter 5a is stopped.
The read address counter 5a stops. Therefore, the first
As shown in FIG. 1(a), the read signal maintains a constant value. Next, the zero cross detection point of the B-series signal is shown in Figure 11 (
) to return to the gate signal [Figure 11 (g)
”, the read address counter A starts operating again [FIG. 11(1)]. Kono [MeY's 04 summer 2 rA series and B
The signals in the series are in phase with each other. 11 (1) l, the output analog data is switched at the zero cross point [Figure 11 (n) 1° zero cross [1st detection is performed first. , the data string that is not currently being output is detected [Figure 11 (e), (III)]
, stops the address counter of this series, and then detects the data string currently being output [FIG. 11(r)]
, (u+)], a continuous signal sequence is obtained by starting the previous address counter's re-operation and alternately repeating a series of operations of switching the output data sequence [Fig. 11 (+1)
], it is possible to eliminate fltW and abnormal sounds due to the discontinuity of the signal joint C. Here e is for when the read cycle is longer than the write cycle (
As described above, the same applies to the case where the read cycle is shorter than the write cycle, and the pitch can be increased.In the above embodiment, an example in which a digital memory is used as the memory 2 has been described, but the present invention The present invention is not limited to the embodiment, and it is also possible to use analog memories such as BBD, C'CD elements. In this case A
/D converter and D/A converter can be omitted. [Effect of the Invention 1] As explained above, according to the present invention, when converting the pitch of an acoustic signal in real time, it is possible to remove noise and unpleasant sounds (due to discontinuity of sound) and perform pitch conversion of a natural sound. can. Furthermore, since the pitch conversion device of the present invention can be realized using a digital logic circuit, it can easily be implemented as an integrated circuit.

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

第1図は従来のピッチ変換装置の回路ブロック図、第2
図および第3図は従来のピッチ変換装置の動作を説明す
るためのタイミングチャート、第4図は従来のピッチ変
換装置によりピッチ変換を行なった際生じる音声信号の
不連続部分を示す図第5図は本発明のピッチ変換装置の
構成を概略的に示すブロック図、第6図は本発明の一実
施例の回路ブロック図、第7図はげロクロス検出器およ
びゼロクロス制御器の回路図、第8図はその動作時のタ
イミングチャート図、第9図はA、B系統切換時におけ
るブロックの状況を示すタイミングチャート、第10図
は本発明により信号が連続り。 る状態を示す図、第11図は本発明のピッチ変換装置の
動作を説明するためのタイミノグチ11−ト図である。 1・・・・・・・・・・・・A/D変換器2・・・・・
・・・・・・・メモリ 3・・・・・・・・・・・・アドレス切替器4・・・・
・・・・・・・・書込みアドレスカウンタ5.5 as
 51’・・・読出しアドレスカウンタ6・・・・・・
・・・・・・メモリ制御器7・・・・・・・・・・・・
出込みクロック発生器8・・・・・・・・・・・・読出
しクロック発生器9・・・・・・・・・・・・ブロック
カウンタ10.10a 、 1ob ・・・データラy
チ17a 、17b・・・ゼロクロス検出器19・・・
・・・・・・・・・ゼロクロス制御器20・・・・・・
・・・・・・ラ一一夕切替器代理人弁理士 須 山 佐
 −
Figure 1 is a circuit block diagram of a conventional pitch conversion device, Figure 2 is a circuit block diagram of a conventional pitch conversion device.
3 and 3 are timing charts for explaining the operation of a conventional pitch conversion device, and FIG. 4 is a diagram showing a discontinuous portion of an audio signal that occurs when pitch conversion is performed by a conventional pitch conversion device.FIG. 5 6 is a block diagram schematically showing the configuration of the pitch conversion device of the present invention, FIG. 6 is a circuit block diagram of an embodiment of the present invention, FIG. 7 is a circuit diagram of a bald cross detector and zero cross controller, and FIG. 8 is a block diagram schematically showing the configuration of a pitch conversion device of the present invention. 9 is a timing chart showing the status of the block when switching between the A and B systems, and FIG. 10 is a timing chart showing the status of the block when switching between the A and B systems. FIG. 11 is a timing diagram 11 for explaining the operation of the pitch converting device of the present invention. 1...A/D converter 2...
......Memory 3...Address switch 4...
...Write address counter 5.5 as
51'...Read address counter 6...
・・・・・・Memory controller 7・・・・・・・・・・・・
Output clock generator 8...Read clock generator 9...Block counter 10.10a, 1ob...Data line y
Chi 17a, 17b...Zero cross detector 19...
......Zero cross controller 20...
・・・・・・Patent attorney who represents La Ichiyo Switching Device Sasa Suyama −

Claims (1)

【特許請求の範囲】[Claims] (1)(イ)入力信号を記憶り°る記憶手段と、(ロ)
この記憶手段へ予め設定されたブロック長でリレットを
繰返しつつ所定のタイミングで順次データを書込む入力
手段と、 (ハ)前記記憶手段に書込まれたデータを前記ブロック
長と等しいブロック長でリセットを繰返しつつ前記入力
手段と異なるタイミングで順次読出す2系統の読出手段
と、 (ニ)読出し手段で読出されたデータを保持する2系統
のデータ保持手段と、 (ボ)前記データ保持手段のうち、いずれか一方を選択
して保持されたデータを出ツノするデータ切替手段と、 (へ)前記ブ〔Iツク長毎に、読出手段で読出されたデ
ータが零Vに相当する値を横切るUロクロスを検出し、
かつその横切る極性を判別して、初期状態においてはい
ずれの極性の側から横切る場合でも、後においては同極
性の側から横切る場合のみ、検出した側の読出し手段の
読出しを停止し、次いで使方の側が検出したとき前記デ
ータ切替手段に切替信号を送る2系統のゼロクロス検出
手段とを有Jることを特徴とするピッチ変換装置。
(1) (a) storage means for storing input signals; and (b)
an input means for sequentially writing data into the storage means at a predetermined timing while repeating rets with a preset block length; (c) resetting the data written in the storage means with a block length equal to the block length; (d) two systems of data holding means for holding data read by the reading means; (b) of the data holding means; , a data switching means for outputting the held data by selecting either one of them; Detect Rocross,
Then, the polarity of the crossing is determined, and in the initial state, no matter which side the polarity crosses from, reading of the reading means on the detected side is stopped only when crossing from the side of the same polarity later, and then the reading means of the detected side is stopped, and then 2. A pitch conversion device comprising: two systems of zero-cross detection means for sending a switching signal to the data switching means when the data switching means is detected.
JP59007841A 1984-01-19 1984-01-19 Pitch converter Pending JPS60151699A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59007841A JPS60151699A (en) 1984-01-19 1984-01-19 Pitch converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59007841A JPS60151699A (en) 1984-01-19 1984-01-19 Pitch converter

Publications (1)

Publication Number Publication Date
JPS60151699A true JPS60151699A (en) 1985-08-09

Family

ID=11676830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59007841A Pending JPS60151699A (en) 1984-01-19 1984-01-19 Pitch converter

Country Status (1)

Country Link
JP (1) JPS60151699A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6909646B2 (en) 2000-03-29 2005-06-21 Hitachi, Ltd. Semiconductor memory device having improved arrangement for replacing failed bit lines

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6909646B2 (en) 2000-03-29 2005-06-21 Hitachi, Ltd. Semiconductor memory device having improved arrangement for replacing failed bit lines

Similar Documents

Publication Publication Date Title
US5841387A (en) Method and system for encoding a digital signal
US4591929A (en) Interactive learning programming and like control circuitry
JPS60151699A (en) Pitch converter
JPS62187896A (en) Data reducer for musical instrument using memorized waveform
JP2700937B2 (en) Fast listening device
WO1995034071A1 (en) Recording method and reproduction method of time codes, recording apparatus, and reproduction apparatus
JPH0632018B2 (en) Pitch converter
JPS61186999A (en) Sound interval controller
JPS60662A (en) Digital signal recording and reproducing device of rotary head system
JP3252426B2 (en) Digital sound recording and playback device
JPH0373000B2 (en)
JPS60118897A (en) Voice signal writing unit
JP3332639B2 (en) Read / write control method and control circuit for memory for audio recording / reproducing device
JPS59195307A (en) Recording system of sound information
JP3081492B2 (en) Memory read / write control circuit
JPS62206600A (en) Digital recording of analog signal
JPH0248916B2 (en)
JP3640100B2 (en) Playback device
JPH0145919B2 (en)
JPH0239040B2 (en)
JPH053676B2 (en)
JPH0452480B2 (en)
JPS6214304A (en) Voice recording controller
JPH06259092A (en) Method for converting interval of audio signal
JPH01232571A (en) Digital signal recording and reproducing device