JPH0632018B2 - Pitch converter - Google Patents

Pitch converter

Info

Publication number
JPH0632018B2
JPH0632018B2 JP59050537A JP5053784A JPH0632018B2 JP H0632018 B2 JPH0632018 B2 JP H0632018B2 JP 59050537 A JP59050537 A JP 59050537A JP 5053784 A JP5053784 A JP 5053784A JP H0632018 B2 JPH0632018 B2 JP H0632018B2
Authority
JP
Japan
Prior art keywords
data
read
signal
switching
reading
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
Application number
JP59050537A
Other languages
Japanese (ja)
Other versions
JPS60194498A (en
Inventor
伸一 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric Co Ltd
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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP59050537A priority Critical patent/JPH0632018B2/en
Publication of JPS60194498A publication Critical patent/JPS60194498A/en
Publication of JPH0632018B2 publication Critical patent/JPH0632018B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [発明の技術分野] 本発明はテープレコーダの早回し、遅回しの際に、ピッ
チを元に戻して音色の変化を戻したり、音楽信号のピッ
チを変えて他の楽器や音声とのピッチ合せをする際使用
されるピッチ変換装置に関する。
Description: TECHNICAL FIELD OF THE INVENTION The present invention, when the tape recorder rotates fast and slow, returns the pitch to restore the timbre change, or changes the pitch of the music signal to change the pitch. The present invention relates to a pitch conversion device used when performing pitch matching with a musical instrument or voice.

[発明の技術的背景とその問題点] 音響信号のピッチを変化させる方法として、テープレコ
ーダ等に記録された音響信号を記録時と異なる速度で再
生する方法が知られている。
[Technical Background of the Invention and Problems Thereof] As a method of changing the pitch of an acoustic signal, a method of reproducing an acoustic signal recorded on a tape recorder or the like at a speed different from that at the time of recording is known.

しかしながら、この方法は時間長が変化し、テンポも変
って実時間での音のピッチ変換を行うことはできない。
However, this method cannot change the pitch of the sound in real time because the time length changes and the tempo also changes.

このため最近、メモリ素子を用いた実時間でのピッチ変
換の可能なピッチ変換装置が開発されている。
For this reason, recently, a pitch conversion device which uses a memory element and is capable of performing pitch conversion in real time has been developed.

第1図は、このような従来のピッチ変換装置の回路ブロ
ック図である。
FIG. 1 is a circuit block diagram of such a conventional pitch conversion device.

そのピッチ変換装置は、入力信号であるアナログ信号を
ディジタル信号に変換するA/D変換器1と、データを
記憶するメモリ2と、メモリ2のアドレスを切替えるア
ドレス切替え器3と、アドレス切替え器3へ書込アドレ
スを送る書込アドレスカウンタ4と、アドレス切替え器
3へ読出アドレスを指示する読出アドレスカウンタ5
と、アドレスの切替え、書込モード、読出モードの切換
えを行うメモリ制御器6と、A/D変換器1および書込
アドレスカウンタ4へクロックを供給しメモリ制御器6
へ書込み要求を供給する書込クロック発生器7と、読出
アドレスカウンタ5へクロックを供給しメモリ制御器6
へ読出し要求を供給する読出クロック発生器8と、書込
アドレスカウンタ4が一定のブロック長だけカウントし
たとき読出アドレスカウンタ5をリセットするブロック
カウンタ9と、読出しデータをラッチするデータラッチ
10と、データラッチ10から供給される読出しデータ
をアナログ変換するD/A変換器11とから構成されて
いる。
The pitch conversion device includes an A / D converter 1 for converting an analog signal as an input signal into a digital signal, a memory 2 for storing data, an address switcher 3 for switching an address of the memory 2, and an address switcher 3. Write address counter 4 for sending a write address to and a read address counter 5 for instructing a read address to the address switcher 3.
And a memory controller 6 for switching addresses, switching between write mode and read mode, and supplying clocks to the A / D converter 1 and the write address counter 4
A write clock generator 7 for supplying a write request to the memory and a memory controller 6 for supplying a clock to the read address counter 5.
A read clock generator 8 for supplying a read request to the block, a block counter 9 for resetting the read address counter 5 when the write address counter 4 counts a fixed block length, a data latch 10 for latching read data, and a data It comprises a D / A converter 11 for converting the read data supplied from the latch 10 into an analog signal.

このような従来のピッチ変換装置では、入力信号はA/
D変換器1によりディジタル信号に変換されて、メモリ
2に書込まれる。このとき、書込クロック発生器7から
A/D変換器1へサンプルクロックが供給され、また書
込アドレスカウンタ4へクロックが供給され、書込アド
レスカウンタ4のアドレス信号に従ってアドレス切替え
器3がアドレスの切替えを行う。
In such a conventional pitch converter, the input signal is A /
It is converted into a digital signal by the D converter 1 and written in the memory 2. At this time, the sample clock is supplied from the write clock generator 7 to the A / D converter 1, the clock is supplied to the write address counter 4, and the address switching unit 3 addresses according to the address signal of the write address counter 4. Switch.

メモリ2からの読出しは書込クロックと異なる周波数で
行われ、読出されたデータはデータラッチ10に一旦ラ
ッチされた後、D/A変換器11を通してアナログ信号
に戻され出力される。
Reading from the memory 2 is performed at a frequency different from the write clock, and the read data is once latched by the data latch 10 and then returned to an analog signal through the D / A converter 11 and output.

データの読出しの際には、読出クロック発生器8から読
出アドレスカウンタ5へクロックが供給され、またデー
タラッチ10へはラッチパルスが供給される。読出アド
レスカウンタ5はブロックカウンタ9により予め設定さ
れた固定ブロック長ごとにリセットされる。
When reading data, a clock 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 for each fixed block length preset.

メモリ2への書込み、読出しの切替え制御は、書込クロ
ック発生器7および読出クロック発生器8からの書込み
要求と、読出し要求を受けたメモリ制御器6によるアド
レスの切替え、書込モード、読出モードの切替えにより
行われる。
The switching control of writing and reading to and from the memory 2 is performed by writing requests from the writing clock generator 7 and the reading clock generator 8 and switching of addresses by the memory controller 6 that has received the reading request, writing mode, and reading mode. Is performed by switching.

第2図および第3図は、このピッチ変換装置の動作を説
明するタイミングチャートである。
2 and 3 are timing charts for explaining the operation of this pitch conversion device.

第2図は、書込クロックより読出クロックの周波数が低
い場合、すなわちピッチを下げる場合を示しており、第
3図は書込クロックより読出クロックの周波数が高い場
合、すなわちピッチを上げる場合を示している。
FIG. 2 shows the case where the frequency of the read clock is lower than the write clock, that is, the case where the pitch is lowered, and FIG. 3 shows the case where the frequency of the read clock is higher than the write clock, that is, the case where the pitch is raised. ing.

これらの図において、(a)は入力データ列、(b)は
出力データ列を示している。
In these figures, (a) shows an input data string and (b) shows an output data string.

ここで、ブロックの長さは聴感上数100msが必要とさ
れ、また、ブロック長より長い周期の入力信号は、ピッ
チ変換されないのでこの点からはブロック長は長いほど
好ましい。
Here, a block length of several 100 ms is required for the sense of hearing, and an input signal having a period longer than the block length is not pitch-converted. From this point, the longer the block length, the better.

しかしながら、ブロック長が長いとメモリ2のメモリ容
量が増加するし、所定のピッチ変換する際消失する消失
データの長さも長くなって聴感上消失された音が認識さ
れるようになる。このためブロックの長さとしては、通
常数100ms程度が用いられる。
However, if the block length is long, the memory capacity of the memory 2 increases, and the length of the lost data that is lost when the predetermined pitch conversion is performed becomes long, so that the aurally perceived lost sound is recognized. Therefore, the block length is usually about several hundred ms.

このピッチ変換装置を用いてピッチを下げる場合には、
第2図に示すように、メモリには書込クロックの周波数
でD+Dのデータが書込まれる。一方、このデータ
を読出す場合には、読出クロックの周波数が書込クロッ
クの周波数より低くなるので、ブロックの終りまでに出
力されるデータは(D)の部分となり、(D)の部
分のデータは読出アドレスカウンタが固定ブロック長ご
とにリセットされるため読出すことができない。
When lowering the pitch using this pitch converter,
As shown in FIG. 2 , data of D 1 + D 2 is written in the memory at the frequency of the write clock. On the other hand, when this data is read, the frequency of the read clock becomes lower than the frequency of the write clock, so the data output by the end of the block is the portion (D 1 ) and the portion (D 2 ). The data cannot be read because the read address counter is reset every fixed block length.

すなわち、この部分のデータDはブロックごとに消失
することになる。従って、この場合にはテープレコーダ
の遅回しと同様にピッチが下がり、しかも各ブロックご
とに読出しデータは書込みデータに追付くため、全体の
時間が延びることがなく、実時間でのピッチの変換が行
われる。
That is, the data D 2 of this portion is lost for each block. Therefore, in this case, the pitch is reduced as in the case where the tape recorder is delayed, and the read data catches up with the write data in each block, so that the entire time is not extended and the pitch conversion is performed in real time. Done.

第3図に示したピッチを上げる場合には、逆に読出クロ
ックの周波数が高くなるため、読出アドレスのリセット
はブロックの途中で行われることになる。すなわち読出
しは、前のデータのDの部分から行われ、次のブロッ
クでのリセットまでに(D)と(D)の部分が読出
される。すなわち、(D)の部分はリセットの前後で
重複して読出される。従って、ブロック内でテープレコ
ーダの早回し同様ピッチが立上り実時間での変換が行わ
れる。
On the contrary, when the pitch shown in FIG. 3 is increased, the frequency of the read clock is increased, so that the read address is reset in the middle of the block. That is, the reading is performed from the D 3 portion of the previous data, and the (D 3 ) and (D 4 ) portions are read by the time of resetting in the next block. That is, the portion (D 3 ) is read redundantly before and after the reset. Therefore, the pitch rises and conversion is performed in real time in the same manner as the fast rotation of the tape recorder in the block.

ところで、このような従来のピッチ変換装置では、第4
図に示すようにデータの繋ぎ目で音声信号Sに不連続部
分Xが生じる。
By the way, in such a conventional pitch conversion device,
As shown in the figure, a discontinuous portion X is generated in the audio signal S at the data joint.

すなわち、読出アドレスカウンタ5のリセットは、信号
の内容と関係なく行われるため、確率的に信号の連続性
が得られることはほとんどなく、従って、この不連続部
分Xはブロックの周期で発生し、非常に耳障わりで内容
が聴きづらくなったり、音響的に不快感を与えることが
多いという欠点があった。
That is, since the read address counter 5 is reset regardless of the contents of the signal, the continuity of the signal is rarely obtained stochastically, so that this discontinuous portion X occurs in the cycle of the block. There are drawbacks that the contents are very annoying, making it difficult to hear the contents, and often giving an acoustic discomfort.

[発明の目的] 本発明はこのような従来の欠点を解消すべくなされたも
ので、ブロックごとの音の不連続によって生じるノイズ
をなくし、自然な音が得られるピッチ変換装置を提供す
ることを目的とする。
[Object of the Invention] The present invention has been made in order to eliminate such a conventional drawback, and provides a pitch conversion device which eliminates noise caused by discontinuity of sound in each block and obtains a natural sound. To aim.

[発明の概要] すなわち本発明のピッチ変換装置は、第5図に示すよう
に、アナログ信号をディジタル信号のデータに変換する
変換手段(A)と、データを記憶するための記憶手段
(B)と、変換手段(A)で得たデータを記憶手段
(B)に所定の周波数で書き込む書込手段(C)と、記
憶手段(B)に記憶されたデータを、書き込み周波数と
異なる周波数で、固定ブロック長ごとに読出アドレスを
交互にリセットしつつ並列に読み出す2つの読出手段
(D)(D)と、これらの読出手段(D)(D)にそれ
ぞれ対応して設けられ、対応する読出手段(D)(D)
により読出されたデータを保持する2つのデータ保持手
段(E)(E)と、これら2つのデータ保持手段(E)
(E)に保持されたデータを交互に切り換えてひとつの
データに繋ぎ合せる切換手段(F)と、各データ保持手
段(E)(E)に保持された各データのアナログ値とし
ての電位レベルを検出する検出手段(G)と、読出アド
レスのリセット後、検出手段(G)により、切換手段
(F)により選択されていない一方のデータの電位レベ
ルが所定値になったことが検出された時、該データを保
持する一方のデータ保持手段(E)に対応する読出手段
(D)のデータ読出しを停止させ、続いて他方のデータ
の電位レベルが所定値になったことが検出された時、切
換手段(F)を切り換えるとともに、停止させた読出手
段(D)によるデータ読出しを再開させる制御手段
(H)とを有する。
[Outline of the Invention] That is, as shown in FIG. 5, the pitch conversion device of the present invention includes a conversion means (A) for converting an analog signal into digital signal data and a storage means (B) for storing the data. Writing means (C) for writing the data obtained by the converting means (A) into the storage means (B) at a predetermined frequency, and writing the data stored in the storage means (B) at a frequency different from the writing frequency. Two read means (D) (D) for reading in parallel while alternately resetting the read addresses for each fixed block length, and the read means provided corresponding to these read means (D) (D), respectively. (D) (D)
Two data holding means (E) (E) for holding the data read by the above, and these two data holding means (E)
The switching means (F) for alternately switching the data held in (E) and joining them into one data, and the potential level as an analog value of each data held in each data holding means (E) (E). When the detecting means (G) for detecting and after resetting the read address, the detecting means (G) detects that the potential level of one data not selected by the switching means (F) has reached a predetermined value. , When the data reading of the reading means (D) corresponding to one of the data holding means (E) holding the data is stopped and then it is detected that the potential level of the other data reaches a predetermined value, And a control means (H) for switching the switching means (F) and for restarting the data reading by the stopped reading means (D).

[発明の実施例] 以下本発明の一実施例を図面を参照して説明する。[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings.

第6図は本発明の一実施例の回路ブロック図である。な
お第6図において第1図と共通する部分には同一符号を
付してある。
FIG. 6 is a circuit block diagram of an embodiment of the present invention. In FIG. 6, the same parts as those in FIG. 1 are designated by the same reference numerals.

この実施例のピッチ変換装置は、入力信号であるアナロ
グ信号をディジタル信号に変換するA/D変換器1と、
データを記憶するメモリ2と、メモリ2のアドレスを切
替えるアドレス切替え器3と、アドレス切替え器3へ書
込アドレスを送る書込アドレスカウンタ4と、アドレス
切替え器3へ読出アドレスを指示する読出アドレスカウ
ンタ5a、5bと、アドレスの切替え、書込モード、読
出モードの切換えを行うメモリ制御器6と、A/D変換
器1および書込アドレスカウンタ4へクロックを供給し
メモリ制御器6へ書込み要求を供給する書込クロック発
生器7と、読出アドレスカウンタ5a、5bへクロック
を供給し、メモリ制御器6へ読出し要求A、Bを供給す
る読出クロック発生器8と、書込アドレスカウンタ4が
書込アドレスと読出アドレスの差がメモリの容量を越え
ない範囲で予め定められた一定のブロック長だけカウン
トしたとき読出アドレスカウンタ5をリセットするブロ
ックカウンタ9と、読出しデータをラッチするデータラ
ッチ10a、10bと、データラッチから供給される読
出しデータをアナログ変換するD/A変換器11とを備
えており、基本的な構成は第1図に示した従来のピッチ
変換装置と同様である。
The pitch conversion apparatus of this embodiment includes an A / D converter 1 for converting an analog signal which is an input signal into a digital signal,
A memory 2 for storing data, an address switch 3 for switching the address of the memory 2, a write address counter 4 for sending a write address to the address switch 3, and a read address counter for instructing the read address to the address switch 3. 5a and 5b, clocks are supplied to the memory controller 6 for switching addresses, switching between the write mode and the read mode, the A / D converter 1 and the write address counter 4, and write requests are sent to the memory controller 6. A write clock generator 7 for supplying and a read clock generator 8 for supplying clocks to the read address counters 5a and 5b and supplying read requests A and B to the memory controller 6 and a write address counter 4 for writing. When the difference between the address and the read address does not exceed the capacity of the memory, the read address is counted when counting a predetermined block length. A block counter 9 for resetting the response counter 5, data latches 10a, 10b for latching read data, and a D / A converter 11 for converting the read data supplied from the data latch into an analog signal are provided. The structure is similar to that of the conventional pitch converter shown in FIG.

しかして、この実施例のピッチ変換装置は、同図に符号
5a、5b、10a、10bで示すように、読出アドレ
スカウンタとデータラッチとが2系統設けられている。
また、それぞれの系統には、データラッチ10a、10
bのいずれかを選択して出力するデータ切替え器12
と、ブロックカウンタ9からのA、B切替え要求を受け
て、2系統の読出し手段で読出されたデータが一致する
点を検出し、読出クロック発生器8のクロックのタイミ
ングでデータ切替え器12へAB切換信号を送るレベル
判別器13とを備えている。
Therefore, the pitch conversion apparatus of this embodiment is provided with two systems of the read address counter and the data latch, as indicated by reference numerals 5a, 5b, 10a and 10b in the figure.
In addition, the data latches 10a, 10
Data switch 12 for selecting and outputting any one of b
In response to the A / B switching request from the block counter 9, a point where the data read by the two reading means coincide is detected, and the data is switched to the data switching unit 12 at the timing of the clock of the read clock generator 8. And a level discriminator 13 for transmitting a switching signal.

次にこの実施例の各部の動作について説明する。Next, the operation of each part of this embodiment will be described.

このピッチ変換装置では、アナログの入力信号はA/D
変換器1によりディジタルデータに変換され、メモリ2
へ記憶される。
In this pitch converter, the analog input signal is A / D
It is converted into digital data by the converter 1, and the memory 2
To be remembered.

メモリ2からの読出しデータはA、B2系統あり、読出
されたデータはそれぞれデータラッチ10a、10bに
一旦ラッチされる。これらA、B2系統のデータは、レ
ベル判別器13に供給され、かつデータ切替え器12に
よりいずれか一方が選択され、D/A変換器11により
アナログ信号に戻されて出力される。
The read data from the memory 2 has A and B systems, and the read data are once latched in the data latches 10a and 10b, respectively. The data of the A and B2 systems are supplied to the level discriminator 13, one of them is selected by the data switcher 12, and the D / A converter 11 converts the data into an analog signal for output.

書込クロック発生器7は、A/D変換器1へサンプルク
ロックを供給し、書込アドレスカウンタ4へクロックを
供給し、メモリ制御器6へ書込み要求信号を供給する。
The write clock generator 7 supplies a sample clock to the A / D converter 1, a clock to the write address counter 4, and a write request signal to the memory controller 6.

読出クロック発生器8は、読出アドレスカウンタ5a、
5bへクロックを供給し、データラッチ10a、10b
へラッチパルスA、Bを供給し、レベル判別器13へク
ロックを供給し、メモリ制御器6へ読出し要求A、Bを
供給する。
The read clock generator 8 includes a read address counter 5a,
The clock is supplied to 5b, and the data latches 10a and 10b are supplied.
Latch pulses A and B are supplied to the memory, a clock is supplied to the level discriminator 13, and read requests A and B are supplied to the memory controller 6.

メモリ制御器6は、書込み要求と読出し要求A、Bとを
受け、タイミングを取ったうえでアドレス切替え器3へ
アドレス切替え信号を供給し、かつメモリ2へ書込モー
ド、読出モードの選択を行うためのR/W信号を供給す
る。
The memory controller 6 receives the write request and the read requests A and B, supplies an address switch signal to the address switch 3 at a timing, and selects the write mode and read mode for the memory 2. R / W signal for

アドレス切替え器3は、アドレス切替え信号を受け、書
込アドレス信号、読出アドレス信号A、Bのいずれかを
選択し、メモリ2へアドレスデータとして供給する。
The address switch 3 receives the address switch signal, selects either the write address signal or the read address signal A or B, and supplies it to the memory 2 as address data.

レベル判別器13は、2系統の読出し手段により読出さ
れたデータが予め設定された範囲内で一致した点を検出
してデータ切替え器12へAB切換信号を供給する。
The level discriminator 13 detects a point where the data read by the two reading means coincide with each other within a preset range and supplies an AB switching signal to the data switcher 12.

ブロックカウンタ9は、書込アドレスカウンタ4からの
信号を受け、固定ブロック長ごとに読出アドレスカウン
タ5a、5bへリセットA、Bをそれぞれ供給する。
The block counter 9 receives the signal from the write address counter 4 and supplies resets A and B to the read address counters 5a and 5b for each fixed block length.

次にレベル判別器13の構成および動作について説明す
る。
Next, the configuration and operation of the level discriminator 13 will be described.

第7図はレベル判別器13の回路図、第8図はその動作
を示すタイミングチャートである。
FIG. 7 is a circuit diagram of the level discriminator 13, and FIG. 8 is a timing chart showing its operation.

レベル判別器13におけるレベルの一致、不一致は、デ
ータの全ビットの一致、不一致で判断してもよいが通常
は一致頻度を高くするため上位の複数桁の一致、不一致
で判断する。
The level discriminator 13 may determine whether or not the levels match, by matching or mismatching all the bits of the data, but normally, in order to increase the matching frequency, it is determined by matching or mismatching the upper digits.

この実施例のレベル判別器13は、AB一致回路13
a、フリップ・フロップ回路13bとを有している。
The level discriminator 13 of this embodiment is provided with an AB coincidence circuit 13
a and a flip-flop circuit 13b.

フリップフロップ回路13bのR端子には一致検出回路
の一致検出信号とA、B切替え要求の反転された信号の
論理積が加えられ、S端子には一致検出回路の一致検出
信号とA、B切替え要求の論理積が加えられる。
A logical product of the coincidence detection signal of the coincidence detection circuit and the inverted signal of the A / B switching request is added to the R terminal of the flip-flop circuit 13b, and the coincidence detection signal of the coincidence detection circuit and A / B switching are applied to the S terminal. The AND of the requests is added.

このレベル判別器13においては、A、B切替え要求が
“0”レベルのときは、一致検出回路の一致検出信号が
“1”レベルとなってもA、B切替え信号は出力されな
い。
In the level discriminator 13, when the A / B switching request is "0" level, the A / B switching signal is not output even if the coincidence detection signal of the coincidence detection circuit becomes "1" level.

A、B切替え要求が“1”レベルで、一致検出回路の一
致検出信号が“1”レベルとなったときはじめてA、B
切替え信号が“1”レベルで出力される。
Only when the A, B switching request is at "1" level and the match detection signal of the match detection circuit becomes "1" level, A, B
The switching signal is output at "1" level.

A、B切替え要求が“0”レベルでの一致検出回路の一
致検出信号が“1”レベルとなるとA、B切替え信号は
“0”レベルとなる。
When the match detection signal of the match detection circuit when the A / B switching request is “0” level becomes “1” level, the A / B switching signal becomes “0” level.

次にこの実施例の動作を第9図ないし第12図を参照し
ながら説明する。
Next, the operation of this embodiment will be described with reference to FIGS. 9 to 12.

入力信号は一定周期でサンプルされ、A/D変換器1で
ディジタル信号に変換された後、書込アドレスカウンタ
4に応じてメモリ2に順次書き込まれる。
The input signal is sampled at a constant cycle, converted into a digital signal by the A / D converter 1, and then sequentially written in the memory 2 according to the write address counter 4.

メモリ制御器6は書込み要求、読出し要求A、Bを受け
てメモリの記録モード、読出モードの切替え、アドレス
データの切替えを時間的に重複しないように制御する。
In response to the write request and the read request A and B, the memory controller 6 controls the memory recording mode, the read mode switching, and the address data switching so as not to overlap in time.

メモリ2からの読出しは、2つの読出アドレスカウンタ
5a、5bによって書込み周波数と異なる周波数で、2
系統A、Bそれぞれについて行われ、且つ固定ブロック
長ごとに交互に読出アドレスをリセットしながら行われ
る。
Reading from the memory 2 is performed at a frequency different from the writing frequency by the two read address counters 5a and 5b.
This is performed for each of the systems A and B, and is performed while alternately resetting the read address for each fixed block length.

第9図(a)は、入力信号系列を示しており、
(b)、(b)は読出し周期が書込み周期より長い
場合の2系統の出力信号系列を示している。2系統の読
出アドレスカウンタ5a、5bは、固定ブロック長ごと
に交互にリセットされる(第9図で▲で示している)。
いま(b)、(b)の読出し系統を(c)のように
一定周期で切替えて読出せば、従来例とまったく同様の
信号となり、第4図に示した信号の不連続が生じる。
FIG. 9 (a) shows an input signal sequence,
(B 1 ) and (b 2 ) show two output signal sequences when the read cycle is longer than the write cycle. The two read address counters 5a and 5b are alternately reset for each fixed block length (indicated by ▲ in FIG. 9).
If the read systems of (b 1 ) and (b 2 ) are switched and read at a constant cycle as shown in (c), the signal becomes exactly the same as that of the conventional example, and the signal discontinuity shown in FIG. 4 occurs. .

また、(b)、(b)の読出し系統を切替えて出力
するとき、両者の信号レベルが一致した時点で切替える
ようにすると、(d)のような切換時点間の長さが異な
る信号系列が得られる。
Further, when the read systems of (b 1 ) and (b 2 ) are switched and output, if switching is performed at the time when the signal levels of the two match, a signal having a different length between the switching times as shown in (d). A series is obtained.

この切替えのタイミングは以下のように決定される。The timing of this switching is determined as follows.

第10図に示すように(a)と(b)の信号を繋ぎ合せ
る場合、違和感が少なく自然に聞こえるのは、同図にX
点で示す。信号レベルが一致する時点である。このレベ
ルは任意に設定することができるが、設定レベルが高過
ぎたり、あるいは低過ぎたりすると(a)、(b)信号
のレベルが一致するまでに時間を要しメモリ容量を大き
くする必要が生じるので、もっとも出現頻度の高い零V
電位を基準レベルとすることが望ましい。このような点
で繋ぎ合された信号は、同図(c)に示すように、信号
レベルの不連続がなくなり、自然な音声として聞き取る
ことができる。
As shown in FIG. 10, when the signals of (a) and (b) are joined together, there is little discomfort and it sounds natural.
Indicate by dots. It is the time when the signal levels match. This level can be set arbitrarily, but if the set level is too high or too low, it will take time until the signal levels of (a) and (b) match, and it is necessary to increase the memory capacity. 0V which has the highest frequency of occurrence
It is desirable to use the electric potential as the reference level. The signal connected at such points can be heard as a natural voice without the discontinuity of the signal level as shown in FIG.

この実施例におけるレベル判別器13は、このように2
種の信号をレベルの一致した点で繋ぎ合せるために、一
方のアドレスカウンタ5a、5bの読出アドレスがリセ
ットしてからはじめて信号レベルが零Vになった時点で
出力データを切替えている。
The level discriminator 13 in this embodiment is thus 2
In order to connect the seed signals at the points where the levels match, the output data is switched when the signal level becomes 0 V for the first time after the read address of one of the address counters 5a and 5b is reset.

第11図は本発明の他の実施例の要部を示すブロック図
である。
FIG. 11 is a block diagram showing the main part of another embodiment of the present invention.

この実施例のピッチ変換装置は、前述した実施例におけ
るレベル判別器13に代えて、それぞれの系統のデータ
の信号レベルが予め設定されたレベルになったことを検
出するレベル検出器14a、14bと、ブロックカウン
タ9からのA、B切替え要求とレベル検出器14a、1
4bからのレベル検出信号を受けて読出クロック発生器
8のクロックのタイミングでゲート15a、15bへゲ
ート信号を供給するレベル制御器16とを備えている点
を除いて、第6図に示した実施例と同一構成である。
The pitch conversion apparatus of this embodiment includes level detectors 14a and 14b for detecting that the signal level of the data of each system has reached a preset level, instead of the level discriminator 13 of the above-described embodiment. , A / B switching request from the block counter 9 and level detectors 14a, 1
The embodiment shown in FIG. 6 except that it is provided with a level controller 16 which receives the level detection signal from 4b and supplies a gate signal to the gates 15a and 15b at the timing of the clock of the read clock generator 8. It has the same configuration as the example.

次にこの実施例の動作を第12図を参照しながら説明す
る。
Next, the operation of this embodiment will be described with reference to FIG.

この実施例では、A、B2種のデータをそのアナログ値
に相当する電位レベルが一致した点で繋ぎ合せるため
に、一方のデータをその電位レベルが予め設定されたレ
ベル例えば零Vになった時点で保持して、時間的にシフ
トさせている。
In this embodiment, in order to connect the two kinds of data, A and B, at the point where the potential levels corresponding to the analog values coincide with each other, one of the data has a potential level at a preset level, for example, 0V. Hold at and shift in time.

第12図の(a)、(b)は、それぞれ第11図の回路
ブロック図のデータA系列、データB系列における信号
である。
12A and 12B are signals in the data A series and the data B series in the circuit block diagram of FIG. 11, respectively.

いま信号を簡単のために正弦波とすると、データAの系
列のレベル検出器14aはXの時点、つまり読出アドレ
スがリセットされてからはじめてデータAの電位レベル
が設定レベル(この実施例では零V)になった時点を検
出する。このレベルの検出信号を受けてレベル制御器1
6は、同図(g)のようなゲート信号をゲート15aへ
入力する。すると読出アドレスカウンタ5aへのクロッ
クAの供給が停止され[第12図(i)]、読出アドレ
スカウンタ5aは停止する。従って、読出し信号は一定
値を持続することとなる[第12図a]。
Assuming that the signal is a sine wave for simplicity, the level detector 14a of the series of the data A has the potential level of the data A set to the set level (zero V in this embodiment) only at the time of X, that is, after the read address is reset. ) Is detected. Upon receiving the detection signal of this level, the level controller 1
6 inputs the gate signal as shown in FIG. Then, the supply of the clock A to the read address counter 5a is stopped [Fig. 12 (i)], and the read address counter 5a is stopped. Therefore, the read signal is maintained at a constant value [Fig. 12a].

この後、データBの電位レベルがYの時点で設定レベル
になったことがレベル検出器14bにより検出される
と、ゲート信号Aは元に戻るため[第12図(g)]、
読出アドレスカウンタAは再び動作を始める[第12図
(i)]。このためYの時点でA系列とB系列の信号は
互いに電位レベルが合った状態となる。また、このYの
時点でデータ切換信号が与えられ[第12図(l)]、
出力アナログデータは同電位レベル点で切替えられる
[第12図(n)]。
After that, when the level detector 14b detects that the potential level of the data B has reached the set level at the time of Y, the gate signal A returns to the original [FIG. 12 (g)],
The read address counter A starts operating again [Fig. 12 (i)]. Therefore, at the time of Y, the signals of the A series and the B series are in a state where the potential levels are matched with each other. At the time of Y, a data switching signal is given [Fig. 12 (l)],
The output analog data is switched at the same potential level point [Fig. 12 (n)].

なお、レベル検出は、第12図(e)、(f)のように
現在出力していない方の系統のデータ列を対象に行われ
る。そして検出レベルが設定レベルになったことが検出
されると、現在出力していない方の系列のアドレスカウ
ンタ5a、5bを停止し、続いて現在出力している方の
データ列を対象にレベル検出を開始する。
The level detection is performed for the data string of the system that is not currently output as shown in FIGS. 12 (e) and 12 (f). When it is detected that the detection level has reached the set level, the address counters 5a and 5b of the currently non-outputting series are stopped, and then the level detection is performed for the currently outputting data string. To start.

以上の動作を繰り返すことにより、第12図(n)に示
すような連続した信号系列が得られ、信号の繋き目での
不連続性による雑音や異常音を排除することができる。
By repeating the above operation, a continuous signal sequence as shown in FIG. 12 (n) can be obtained, and noise or abnormal sound due to discontinuity at the joint of signals can be eliminated.

なお以上の実施例では書込み周期より読出し周期が長い
場合について説明したが、読出し周期が書込み周期より
短い場合にも同様であり、これによって信号の不連続を
生じることなくピッチを高くすることができる。
In the above embodiments, the case where the read cycle is longer than the write cycle has been described, but the same applies when the read cycle is shorter than the write cycle, whereby the pitch can be increased without causing signal discontinuity. .

なお、以上の実施例では、メモリ2としてディジタルメ
モリを使用した例について説明したが、本発明はかかる
実施例に限定されるべきものではなく、BBD、CCD
素子のようなアナログメモリを使用することも可能であ
る。この場合A/D変換器およびD/A変換器は省略す
ることができる。
It should be noted that in the above embodiment, an example in which a digital memory is used as the memory 2 has been described, but the present invention should not be limited to this embodiment, and a BBD, CCD
It is also possible to use an analog memory like device. In this case, the A / D converter and the D / A converter can be omitted.

[発明の効果] 以上説明したように本発明によれば、音響信号を実時間
でピッチ変換する際、音の不連続によるノイズや不快音
を取除き自然な音のピッチ変換を行うことができる。
[Effects of the Invention] As described above, according to the present invention, when performing pitch conversion of an acoustic signal in real time, it is possible to remove noise and unpleasant sound due to discontinuity of sound and perform pitch conversion of natural sound. .

また、本発明のピッチ変換装置は、ディジタルロジック
回路で実現できるので、集積回路とすることも容易であ
る。
Further, since the pitch conversion device of the present invention can be realized by a digital logic circuit, it can be easily integrated into an integrated circuit.

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

第1図は従来のピッチ変換装置の回路ブロック図、第2
図および第3図は従来のピッチ変換装置の動作を説明す
るためのタイミングチャート、第4図は従来のピッチ変
換装置によりピッチ変換を行なった際生じる音声信号の
不連続部分を示す図、第5図は本発明のピッチ変換装置
の構成を概略的に示すブロック図、、第6図は本発明の
一実施例の回路ブロック図、第7図はレベル検出器の回
路図、第8図はその動作を示すタイミングチャート図、
第9図はA、B系統切換時におけるブロックの状況を示
すタイミングチャート、第10図は本発明により信号が
連続する状態を示す図、第11図は本発明の他の実施例
の要部を示すブロック図、第12図はこの実施例の動作
を説明するためのタイミングチャート図である。 1……A/D変換器 2……メモリ 3……アドレス切替え器 4……書込アドレスカウンタ 5、5a、5b……読出アドレスカウンタ 6……メモリ制御器 7……書込クロック発生器 8……読出クロック発生器 9……ブロックカウンタ 10、10a、10b……データラッチ 11……D/A変換器 12……データ切替え器 13……データ判別器 14a、14b……レベル検出器 16……レベル制御器
FIG. 1 is a circuit block diagram of a conventional pitch conversion device, and FIG.
FIGS. 5 and 6 are timing charts for explaining the operation of the conventional pitch converter, FIG. 4 is a diagram showing a discontinuous portion of a voice signal generated when pitch conversion is performed by the conventional pitch converter, and FIG. FIG. 7 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 level detector, and FIG. Timing chart showing the operation,
FIG. 9 is a timing chart showing the state of blocks when switching between A and B systems, FIG. 10 is a diagram showing a state in which signals are continuous according to the present invention, and FIG. 11 is a main part of another embodiment of the present invention. The block diagram shown in FIG. 12, and FIG. 12 are timing charts for explaining the operation of this embodiment. 1 ... A / D converter 2 ... Memory 3 ... Address switcher 4 ... Write address counter 5, 5a, 5b ... Read address counter 6 ... Memory controller 7 ... Write clock generator 8 ... Read clock generator 9 ... Block counter 10, 10a, 10b ... Data latch 11 ... D / A converter 12 ... Data switcher 13 ... Data discriminator 14a, 14b ... Level detector 16 ... … Level controller

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】アナログ信号をディジタル信号のデータに
変換する変換手段と、 データを記憶するための記憶手段と、 前記変換手段で得たデータを前記記憶手段に所定の周波
数で書き込む書込手段と、 前記記憶手段に記憶されたデータを、前記書き込み周波
数と異なる周波数で、固定ブロック長ごとに読出アドレ
スを交互にリセットしつつ並列に読み出す2つの読出手
段と、 これらの読出手段にそれぞれ対応して設けられ、対応す
る前記読出手段により読出されたデータを保持する2つ
のデータ保持手段と、 これら2つのデータ保持手段に保持されたデータを交互
に切り換えてひとつのデータに繋ぎ合せる切換手段と、 前記各データ保持手段に保持された各データのアナログ
値としての電位レベルを検出する検出手段と、 前記読出アドレスのリセット後、前記検出手段により、
前記切換手段により選択されていない一方のデータの電
位レベルが所定値になったことが検出された時、該デー
タを保持する一方の前記データ保持手段に対応する前記
読出手段のデータ読出しを停止させ、続いて他方のデー
タの電位レベルが所定値になったことが検出された時、
前記切換手段を切り換えるとともに、前記停止させた読
出手段によるデータ読出しを再開させる制御手段とを有
することを特徴とするピッチ変換装置。
1. A conversion means for converting an analog signal into digital signal data, a storage means for storing the data, and a writing means for writing the data obtained by the conversion means in the storage means at a predetermined frequency. , Two read means for reading the data stored in the storage means in parallel at a frequency different from the write frequency while alternately resetting the read addresses for each fixed block length, and respectively corresponding to these read means. Two data holding means which are provided and hold the data read by the corresponding reading means, and a switching means which alternately switches the data held in these two data holding means to join them into one data, Detection means for detecting a potential level as an analog value of each data held in each data holding means; After the reset of, by the detection means,
When it is detected by the switching means that the potential level of one data not selected has reached a predetermined value, the data reading of the reading means corresponding to the one data holding means holding the data is stopped. , Then, when it is detected that the potential level of the other data reaches the specified value,
And a control unit for switching the switching unit and restarting the data reading by the stopped reading unit.
JP59050537A 1984-03-16 1984-03-16 Pitch converter Expired - Lifetime JPH0632018B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59050537A JPH0632018B2 (en) 1984-03-16 1984-03-16 Pitch converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59050537A JPH0632018B2 (en) 1984-03-16 1984-03-16 Pitch converter

Publications (2)

Publication Number Publication Date
JPS60194498A JPS60194498A (en) 1985-10-02
JPH0632018B2 true JPH0632018B2 (en) 1994-04-27

Family

ID=12861753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59050537A Expired - Lifetime JPH0632018B2 (en) 1984-03-16 1984-03-16 Pitch converter

Country Status (1)

Country Link
JP (1) JPH0632018B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5886600A (en) * 1981-11-18 1983-05-24 リコーエレメックス株式会社 Time base converter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5886600A (en) * 1981-11-18 1983-05-24 リコーエレメックス株式会社 Time base converter

Also Published As

Publication number Publication date
JPS60194498A (en) 1985-10-02

Similar Documents

Publication Publication Date Title
US4591929A (en) Interactive learning programming and like control circuitry
JP2599363B2 (en) Loop region automatic determination device
JPH10247377A (en) Time code generation device
JPH0632018B2 (en) Pitch converter
JPS60151699A (en) Pitch converter
US5842169A (en) Read/write control method and circuit for a sound recording/reproducing device
KR100400722B1 (en) Voice guidance
KR0138329B1 (en) Interface method and apparatus in digital signal process system
JP2521906B2 (en) Recording and playback device
JP3252426B2 (en) Digital sound recording and playback device
JPH0535510B2 (en)
JP2518205B2 (en) Recording and playback device
JP3066282B2 (en) Memory write control circuit
JP3416340B2 (en) Video tape recorder
JPS6017797A (en) Recorder/reproducer
JPS6238022A (en) Demodulating circuit for pulse signal
JP2663509B2 (en) Sound source device
JPS62206600A (en) Digital recording of analog signal
RU2018180C1 (en) Verbal information digital recorder-reproducer
JPS62252563A (en) Magnetic recording and reproducing device
JP3081492B2 (en) Memory read / write control circuit
JPH051162Y2 (en)
KR100246786B1 (en) Window recording and reproducing device using an ic card
JPH0145919B2 (en)
JPS6166260A (en) Sampling frequency switch device