JPH06318092A - Variable delay circuit - Google Patents

Variable delay circuit

Info

Publication number
JPH06318092A
JPH06318092A JP6110463A JP11046394A JPH06318092A JP H06318092 A JPH06318092 A JP H06318092A JP 6110463 A JP6110463 A JP 6110463A JP 11046394 A JP11046394 A JP 11046394A JP H06318092 A JPH06318092 A JP H06318092A
Authority
JP
Japan
Prior art keywords
address
delay
memory
read
delay amount
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.)
Granted
Application number
JP6110463A
Other languages
Japanese (ja)
Other versions
JP2634561B2 (en
Inventor
Keisuke Sekiguchi
恵佑 関口
Koichi Ishizaka
幸一 石坂
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP6110463A priority Critical patent/JP2634561B2/en
Publication of JPH06318092A publication Critical patent/JPH06318092A/en
Application granted granted Critical
Publication of JP2634561B2 publication Critical patent/JP2634561B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Pulse Circuits (AREA)

Abstract

(57)【要約】 【目的】 遅延量の設定を容易に変更することができ
る。 【構成】 ディレーメモリー20のメモリー空間に複数
のディレーユニットが構成される。そのために、メモリ
ー21に対して、複数組のライトアドレス及びリードア
ドレスの初期値、アドレスのステップ量、ボトムアドレ
ス、トップアドレスがロードされる。これらのアドレス
値がメモリーから読み出され、ディレーメモリー20の
アドレス制御がなされる。ライトアドレスを先行させて
ライトアドレス及びリードアドレスを同一周波数のクロ
ックに基づいて、共にステップ的に変化させる。リード
アドレスの変化が1ステップに固定され、リードアドレ
スの変化のステップ量が0,+1,+2のうちの何れか
に設定されることによって遅延量の増加、遅延量の固
定、遅延量の減少の制御がなされる。
(57) [Summary] [Purpose] The delay amount setting can be changed easily. [Structure] A plurality of delay units are formed in the memory space of the delay memory 20. Therefore, a plurality of sets of write address and read address initial values, address step amounts, bottom addresses, and top addresses are loaded into the memory 21. These address values are read from the memory and the address of the delay memory 20 is controlled. The write address is preceded and the write address and the read address are both changed stepwise based on the clock of the same frequency. The change of the read address is fixed to one step, and the step amount of the change of the read address is set to 0, +1 or +2 to increase the delay amount, fix the delay amount or decrease the delay amount. Control is made.

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】この発明は、例えばディジタル残
響付加装置に適用される可変遅延回路に関する。 【0002】 【従来の技術】図1は、ディジタル残響付加装置の基本
的構成を示し、同図において、1が入力端子、2が出力
端子、3が遅延量Tdを有する遅延素子、4及び5が夫
々g1及びg2 の係数を乗じる乗算器、6及び7が合成
器である。入力端子1には、オーディオPCM信号が供
給され、出力端子2から入力データを直接音としたとき
の反射音に相当するデータを含む出力オーディオPCM
信号が得られる。また、図1に示す構成のディジタル残
響付加装置を2個組合わさせて主残響音と副残響音とを
発生するようになされる。 【0003】かかるディジタル残響付加装置では、スプ
リングを用いて残響を付加したとき、鉄板を用いて残響
を付加したときなどのように異なる残響効果を発生させ
るために、遅延量Td、乗算係数g1 ,g2 の変更や遅
延素子3、乗算器4,5及び合成器6,7の接続関係の
変更が必要とされる。 【0004】遅延素子3としてシフトレジスタを用いる
と回路規模が大きくなったり、遅延量の変更が難しかっ
たり、シフトレジスタ相互の接続が固定化される問題点
があるので、RAM(ランダムアクセスメモリー)を用
いて遅延素子を構成することが行なわれる。そして、遅
延時間などの変更を行なうことや、相互の接続関係を規
定することを、所定のプログラムの制御のもとにマイク
ロコンピュータによって行なうようにしたディジタル残
響付加装置が提案されている。 【0005】 【発明が解決しようとする課題】この発明は、かかるデ
ィジタル残響付加装置における遅延用のメモリーに対し
て適用され、容易にその遅延量を変更できると共に、変
更を行なう過渡的な状態でのノイズの発生を防止するよ
うにしたものである。 【0006】さらに、この発明は、かかるディジタル残
響付加装置における遅延用のメモリーに対して適用さ
れ、同一メモリーのアドレス空間を大きさの異なる複数
のディレーユニットに分割して構成できるものである。 【0007】 【課題を解決するための手段】この発明は、それらの差
によって遅延時間を決定する第1及び第2のアドレスの
対が複数個の遅延時間と夫々対応して記憶されたメモリ
ーを有し、メモリーから第1及び第2のアドレスの対を
読み出して、遅延用メモリーのアドレス空間内で複数個
の遅延ユニットを構成し、遅延用メモリーのライトアド
レスをリードアドレスに対して先行させ、これらのアド
レスの差に対応した所定の遅延量を生じさせ、ライトア
ドレスを一定スッテプずつ変化させると共に、リードア
ドレスの変化スッテプ量を変化させ、ライトアドレスへ
の書き込み、リードアドレスからの読み出しを同一周波
数のクロックに基づいて行うことによって、遅延量を制
御するようにした可変遅延回路である。 【0008】 【作用】ディジタル的なパラメータを設定すると共に、
同一周波数のクロックに基づいて入力データの書き込み
及び読み出しを行うことによって所望の遅延量を有する
遅延回路を実現することができ、パラメータのうちのリ
ードアドレスのステップを変えることで遅延量を可変す
ることができる。 【0009】さらに、ボトムアドレス及びトップアドレ
スを設定することができるので、ディレーユニットの大
きさ(遅延量)を変化させることができ、また、メモリ
ーを大きさの異なるディレーユニットに分割して構成で
きる。 【0010】 【実施例】以下、この発明をディジタル残響付加装置に
適用した一実施例について説明すると、図2はその全体
の構成を示す。図2において、8はディジタルI/Oポ
ートを示し、ディジタル入力端子1及びディジタル出力
端子2が設けられている。また、9はA/Dコンバータ
及びD/Aコンバータを示し、10で示すアナログ入力
端子と11で示すアナログ出力端子が設けられている。
また、破線で囲んで示すマイクロコンピュータ12が設
けられている。これは、CPU13,RAM14,RO
M15、表示部及びリモートコントロールユニットとの
接続のためのインターフェース16を含んで構成されて
おり、ROM15にマイクロコンピュータ12に対する
インストラクションとマイクロプログラムメモリー17
に収納されるマイクロインストラクションとの両者が拡
納されている。 【0011】このマイクロプログラムメモリー17に貯
えられたマシーンサイクル毎に実行されるマイクロイン
ストラクションは、マイクロコンピュータ12又はマイ
クロプログラムコントローラ18で発生し、マルチプレ
クサ19で選択されたアドレスによって読出される。ま
た、20がディレーメモリー、21が遅延時間を定める
アドレス、乗算係数などのパラメータを記憶するメモリ
ー、22がネクストアドレスコントローラ、23がレジ
スタを有する演算装置、24が乗算器、25がマルチプ
レクサである。 【0012】メモリー20及び21としてはRAMが用
いられる。メモリー21のアドレスは、マルチプレクサ
26によって選択されたマイクログラムメモリー17か
らのアドレス又はマイクロコンピュータ12からのアド
レスが供給され、このメモリー21からの所定のアドレ
スがディレーメモリー20及びネクストアドレスコント
ローラ22に供給されると共に、所定の係数データが乗
算器24に供給される。上述のディレーメモリー20に
対する入力データの書き込み及び入力データの読み出し
は同一周波数のクロックに基づいて行われる。 【0013】図1と同様の残響付加を行なうときの動作
について説明する。まずディジタルI/Oポート8又は
A/Dコンバータ及びD/Aコンバータ9から入力側バ
ス27と演算装置23と出力側バス28とを介してディ
レーメモリー20にオーディオPCM信号の1サンプル
データが書込まれる。これと共に、入力データがマルチ
プレクサ25を介して乗算器24に供給され、メモリー
21から読出された図1における乗算係数g1 が乗じら
れ、バス27を介して演算装置23に供給され、そのレ
ジスタに取込まれる。 【0014】ディレーメモリー20からTdなる時間後
に読出されたデータがマルチプレクサ25で選択されて
乗算器24に供給され、メモリー21から読出された図
1における乗算係数g2 が乗じられ演算装置23に供給
され、入力データと加算されてディレーメモリー20に
書込まれる。また、ディレーメモリー20からTdなる
時間後に読出されたデータは、バス27を介して演算装
置23に供給され、前述のように演算装置23内のレジ
スタに貯えられているデータと加算される。この加算後
のデータがバス28を介してディジタルI/Oポート8
及びA/Dコンバータ、D/Aコンバータ9に供給され
る。このように、演算装置23が合成器6及び7として
動作し、図1に示す構成のディジタル残響付加装置と同
一の機能を実現することができる。 【0015】なお、図2において、29はインプットバ
スレジスタを示し、これより発生するステータスフラッ
グによってマイクロプログラムコントローラ18が制御
される。また、30はシステムのクロックを発生するク
ロック発生回路である。 【0016】上述のディレーメモリー20のアドレス空
間において、ボトムアドレス及びトップアドレスを夫夫
複数個指定することによって複数個の遅延素子を構成す
るようにしている。例えば図3Aに示すようなメモリー
20のアドレス空間でボトムアドレスBAを0番地、ト
ップアドレスTAを100番地とすることによって、0
番地から99番地までの100ワードのディレーライン
を構成する。つまり、0番地から各番地毎に読出し動作
及びその次の書込み動作を行ない、99番地となったら
0番地に戻ることによって入力データに対して100ワ
ードの遅延時間の出力データを発生させることができ
る。 【0017】ところで、特定のモードにおいても、残響
効果を調整するために、動作中にディレーメモリー20
による遅延量を変更できることが好ましい。ディレーメ
モリー20には、複数のディレーユニットが構成されて
いるので、ディレーユニットを他のものに変更して遅延
量を変えることも考えられるが、この方法は、遅延量を
細かいステップで可変できず、また他のディレーユニッ
トに切替えられたときの継目において、他のディレーユ
ニットに以前に書込まれたデータ即ち無関係なデータが
出力されるために、用いることができない。 【0018】そこで、同一のディレーユニットのアドレ
ス制御によって遅延量を変更するようになされる。その
ひとつの方法として、トップアドレスTAを増加又は減
少させれば良い。しかし、トップアドレスTAを増加さ
せたときには、増加したアドレスに以前に書込まれてい
る無関係なデータが読出されてしまうので、トップアド
レスを増減させる方法は好ましくない。 【0019】そこで、この発明では、ボトムアドレス及
びトップアドレスによってディレーメモリー20のアド
レス空間内でディレーユニットを構成し、ライトアドレ
スをリードアドレスに対して先行させ、両者のアドレス
の差によって所定の遅延量を得ると共に、リードアドレ
スを変えることによって遅延量を可変するようにしたも
のである。 【0020】つまり、図3Bに示すように、0番地から
99番地まででひとつのディレーユニットを構成したと
すると、ライトアドレスWAを先行させてライトアドレ
スWA及びリードアドレスRAを同一周波数のクロック
に基づいて、共にスッテプ的に変化させ、両アドレスの
差に対応した遅延量Tdを発生させる。そして、ライト
アドレスWAの変化は、例えば1スッテプに固定してお
き、リードアドレスRAの変化のステップ量を0,+
1,+2のうちの何れかにすることで、遅延量の増加、
遅延量の固定、遅延量の減少の制御を行なうようにな
す。 【0021】この一実施例では、ネクストアドレスコン
トローラ22を図4に示すような構成としている。同図
において、31がボトムアドレスレジスタを示し、32
がトップアドレスレジスタを示し、これらには、メモリ
ー21に記憶されているボトムアドレス及びトップアド
レスが読出されてセットされる。また、33がディレー
メモリー20のメモリーアドレスレジスタを示し、この
レジスタ33に対してメモリー21からライトアドレス
及びリードアドレスがセットされ、リード動作及びライ
ト動作が行なわれる。このメモリーアドレスレジスタ3
3に貯えられたライトアドレスWAが演算装置23で+
1されてネクストアドレスレジスタ34に供給される。 【0022】レジスタ32及び34にセットされている
トップアドレス及びネクストアドレスが比較器35で比
較され、その出力によってセレクタ36が制御される。
セレクタ36は、ボトムアドレスレジスタ31又はネク
ストアドレスレジスタ34の一方を選択する。リードア
ドレスRAについても上述と同様の制御がなれるが、リ
ードアドレスRAのネクストアドレスは、メモリー21
に記憶されているステップSTEPを加えたものとされ
る。 【0023】前述のように、(BA=0,TA=10
0)とし、ライトアドレスWA及びリードアドレスRA
の差を45とするときの動作を図5のフローチャートを
参照して説明する。まず、最初にディレーメモリー20
がクリアされ、無関係なデータが出力されることが防止
される。次にメモリー21に対してライトアドレスの初
期値(WA=0)、リードアドレスの初期値(RA=4
5)、アドレスのステップ量(STEP=1)、ボトム
アドレス(BA=0)、トップアドレス(TA=10
0)がロードされる。 【0024】次に、ライトアドレスWAがメモリーアド
レスレジスタ33にセットされることで書込動作がなさ
れると共に、ボトムアドレス及びトップアドレスが夫々
レジスタ31、32にセットされる。次に、メモリーア
ドレスレジスタ33にセットされている現在のライトア
ドレスWAに対して演算装置23で1が加えられ、ネク
ストアドレスレジスタ34にその演算結果が貯えられ
る。このネクストアドレスNAがトップアドレス(TA
=100)に達したかどうかが比較器35で判定され、
到達していないときでは、セレクタ36によって、ネク
ストアドレスNAが選択され、これが演算装置23を通
ってメモリー21にライトアドレスWAとして書込ま
れ、ライトアドレスWAの更新がなされる。 【0025】もし、ネクストアドレスNAがトップアド
レスに達したことが検出されると、ボトムアドレス(B
A=0)がセレクタ36によって選択され、これがネク
ストアドレスレジスタ34にセットされ、メモリー21
のライトアドレスWAもボトムアドレスに変更される。
このようにして書込み動作は、1ステップずつアドレス
が進歩することでなされる。 【0026】次に、リードアドレスRAがメモリー21
から読出されてメモリーアドレスレジスタ33にセット
されることで読出し動作がなされる。このリードアドレ
スRAとステップSTEP(メモリー21に記憶されて
いる)とが加算されたものがネクストアドレスレジスタ
34にセットされる。この加算されたものがトップアド
レスTAに到達したかどうか比較器35で判定され、到
達していないときは、ネクストアドレスレジスタ34の
内容(RA+STEP)がメモリー21にリードアドレ
スとして書込まれ、リードアドレスの更新がなされる。 【0027】また、(RA+STEP)がトップアドレ
スに到達したときには、ボトムアドレスBAがリードア
ドレスRAとしてメモリー21に書込まれる。以上の読
出し動作が終了すると、再び書込み動作が行なわれる。
この書込み動作及び読出し動作は、オーディオPCM信
号の各サンプリング期間で1回実行される。また、リー
ドアドレスRAの変化量STEPを0とすれば、アドレ
スの差と対応する遅延量が次第に大きくなり、これを+
2とすれば、この遅延量が徐々に小さくなる。 【0028】この場合、各サンプリング期間毎に、遅延
量が1ワードずつ増加又は減少することになる。この変
化は急激なので、聴感上、不自然となるおそれがあるの
で、遅延量の変化をより緩やかにするため、複数のサン
プリング期間のうちのひとつの期間だけ、STEPを0
又は+2とすることが好ましい。 【0029】図6は、上述のこの発明の一実施例におけ
るネクストアドレスレジスタ34、ボトムアドレスレジ
スタ31、比較器35の部分のより具体的な構成を示
す。このレジスタ31及び34は、アウトプットイネー
ブル端子を有しており、この端子が高レベルとなるとレ
ジスタにセットされている例えば16ビットのアドレス
が出力される。したがって、図4におけるセレクタ36
は、別に設けられていない。 【0030】そして、メモリー21から読出されボトム
アドレスレジスタ31にセットされるボトムアドレスB
Aは、偶数のものと規定されている。また、比較器35
のA入力としてトップアドレスTAが供給され、そのB
入力としてネクストアドレスレジスタ34からのアドレ
ス(RA+STEP)が供給される。そして、(TA>
RA+STEP)のときでは、ネクストアドレスレジス
タ34の内容が出力され、これが新たなリードアドレス
RAとしてメモリー21に書込まれる。 【0031】また、(TA=RA+STEP)であれ
ば、比較器35の両出力とも低レベルとなり、ボトムア
ドレスレジスタ31からボトムアドレスBAが出力され
る。比較器35の(A<B)の出力は、ボトムアドレス
レジスタ31の最下位ビットLSBの入力とされてお
り、したがって(TA=RA+STEP)のときに出力
されるアドレスは、偶数のボトムアドレスBAに一致し
たものとなる。次に(TA<RA+STEP)になる
と、(A>B)の出力は低レベルのままであるが、(A
<B)の出力が高レベルとなるため、ボトムアドレスレ
ジスタ31の出力が(BA+1)に変化する。 【0032】かかる図6に示す構成に依れば、遅延量を
減少させる(STEP=2)の場合に、(RA+STE
P=101)となったときに、ボトムアドレスを(BA
+1)にすることができる。つまり、0〜99のアドレ
ス範囲のときにおいて、101は、上限のアドレスより
2つ大きいので、ネクストアドレスを(BA+1)にす
る必要がある。 【0033】なお、この発明は、ディジタル残響付加装
置に限らず、メモリーのアドレス制御によって、遅延時
間を可変する必要がある他の装置に対して同様に通用す
ることができる。また、メモリー21には、ディレーメ
モリー20によって、構成される複数のディレーユニッ
トの夫々と対応して、ボトムアドレス、トップアドレ
ス、初期ライトアドレス、初期リードアドレス、ステッ
プ数の各パラメータが記憶されている。 【0034】 【発明の効果】上述の一実施例の説明から理解されるよ
うに、この発明に依れば、ディジタル的なパラメータを
設定すると共に、同一周波数のクロックに基づいて入力
データの書き込み及び読み出しを行うことによって所望
の遅延量を有する遅延回路を実現することができ、パラ
メータのうちのリードアドレスのステップを変えること
で遅延量を可変することができる。 【0035】また、この発明では、先行するライトアド
レスのステップは、一定としておき、リードアドレスの
ステップを変えるので、遅延量を変えたときに、それま
でのデータと無関係なデータが発生することがない利点
がある。 【0036】さらに、ボトムアドレス及びトップアドレ
スを設定することができるので、ディレーユニットの大
きさ(遅延量)を変化させることができ、また、メモリ
ーを大きさの異なるディレーユニットに分割して構成で
きる。 【0037】なお、上述の一実施例のように、アドレス
制御をハードウェア(ネクストアドレスコントローラ)
によって行なうことにより、処理に必要なソフトウェア
のステップ数を減少させることができ、より複雑な処理
を行なうことが可能となる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a variable delay circuit applied to a digital reverberation adding device, for example. FIG. 1 shows a basic configuration of a digital reverberation adding apparatus. In FIG. 1, 1 is an input terminal, 2 is an output terminal, 3 is a delay element having a delay amount Td, 4 and 5. Is a multiplier for multiplying the coefficients of g 1 and g 2 , respectively, and 6 and 7 are synthesizers. An audio PCM signal is supplied to the input terminal 1, and an output audio PCM including data corresponding to a reflected sound when the input data is a direct sound from the output terminal 2.
The signal is obtained. Further, two digital reverberation adding devices having the configuration shown in FIG. 1 are combined to generate a main reverberation sound and a sub-reverberation sound. In such a digital reverberation adding device, in order to generate different reverberation effects such as when adding reverberation using a spring and adding reverberation using an iron plate, the delay amount Td and the multiplication coefficient g 1 , G 2 and the connection relationship of the delay element 3, the multipliers 4, 5 and the combiners 6, 7 are required. If a shift register is used as the delay element 3, there is a problem that the circuit scale becomes large, it is difficult to change the delay amount, and the connection between the shift registers is fixed. Therefore, a RAM (random access memory) is used. The delay element is configured by using the delay element. Then, a digital reverberation adding device has been proposed in which a delay time and the like are changed and mutual connection relations are defined by a microcomputer under the control of a predetermined program. The present invention is applied to a delay memory in such a digital reverberation adding apparatus, and the delay amount can be easily changed, and in a transient state where the change is made. This is to prevent the generation of noise. Further, the present invention is applied to a delay memory in such a digital reverberation adding apparatus, and can be constructed by dividing the address space of the same memory into a plurality of delay units having different sizes. According to the present invention, there is provided a memory in which a pair of a first address and a second address for determining a delay time based on a difference between them is stored in correspondence with a plurality of delay times. And reading a pair of the first and second addresses from the memory, configuring a plurality of delay units in the address space of the delay memory, and allowing the write address of the delay memory to precede the read address, A predetermined delay amount corresponding to the difference between these addresses is generated, the write address is changed by a constant step, the change step amount of the read address is changed, and writing to the write address and reading from the read address are performed at the same frequency. It is a variable delay circuit configured to control the delay amount by performing it on the basis of the clock. In addition to setting digital parameters,
A delay circuit having a desired delay amount can be realized by writing and reading input data based on a clock of the same frequency, and the delay amount can be varied by changing the read address step of the parameters. You can Further, since the bottom address and the top address can be set, the size (delay amount) of the delay unit can be changed, and the memory can be divided into delay units of different sizes. . DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a digital reverberation applying apparatus will be described below. FIG. 2 shows the entire structure. In FIG. 2, numeral 8 indicates a digital I / O port, which is provided with a digital input terminal 1 and a digital output terminal 2. Reference numeral 9 indicates an A / D converter and a D / A converter, and an analog input terminal indicated by 10 and an analog output terminal indicated by 11 are provided.
A microcomputer 12 surrounded by a broken line is also provided. This is CPU13, RAM14, RO
The M15, a display unit, and an interface 16 for connection to a remote control unit are included, and the ROM 15 has instructions for the microcomputer 12 and a micro program memory 17.
Both the micro-instruction and the micro-instruction are stored in. The microinstruction stored in the microprogram memory 17 and executed every machine cycle is generated by the microcomputer 12 or the microprogram controller 18 and read by the address selected by the multiplexer 19. Further, 20 is a delay memory, 21 is a memory for storing parameters such as an address that determines a delay time and a multiplication coefficient, 22 is a next address controller, 23 is an arithmetic unit having a register, 24 is a multiplier, and 25 is a multiplexer. RAMs are used as the memories 20 and 21. As the address of the memory 21, the address from the microgram memory 17 selected by the multiplexer 26 or the address from the microcomputer 12 is supplied, and the predetermined address from the memory 21 is supplied to the delay memory 20 and the next address controller 22. In addition, the predetermined coefficient data is supplied to the multiplier 24. The writing of the input data and the reading of the input data with respect to the delay memory 20 are performed based on the clock having the same frequency. The operation for adding reverberation similar to that of FIG. 1 will be described. First, one sample data of an audio PCM signal is written from the digital I / O port 8 or the A / D converter and D / A converter 9 to the delay memory 20 via the input side bus 27, the arithmetic unit 23 and the output side bus 28. Be done. At the same time, the input data is supplied to the multiplier 24 via the multiplexer 25, is multiplied by the multiplication coefficient g 1 in FIG. 1 read from the memory 21, is supplied to the arithmetic unit 23 via the bus 27, and is supplied to its register. Captured. The data read from the delay memory 20 after a time Td is selected by the multiplexer 25 and supplied to the multiplier 24. The data read from the memory 21 is multiplied by the multiplication coefficient g 2 in FIG. The data is added to the input data and written in the delay memory 20. The data read from the delay memory 20 after the time Td is supplied to the arithmetic unit 23 via the bus 27 and added to the data stored in the register in the arithmetic unit 23 as described above. The data after this addition is sent via the bus 28 to the digital I / O port 8
And the A / D converter and the D / A converter 9. In this way, the arithmetic unit 23 operates as the synthesizers 6 and 7, and can realize the same function as that of the digital reverberation adding device having the configuration shown in FIG. In FIG. 2, reference numeral 29 denotes an input bus register, and the micro program controller 18 is controlled by a status flag generated from the input bus register. Reference numeral 30 is a clock generation circuit that generates a system clock. In the address space of the delay memory 20 described above, a plurality of bottom addresses and a plurality of top addresses are designated to form a plurality of delay elements. For example, by setting the bottom address BA at address 0 and the top address TA at address 100 in the address space of the memory 20 as shown in FIG.
A 100 word delay line from address to address 99 is constructed. That is, the read operation and the next write operation are performed for each address from the 0th address, and when the 99th address is reached, the output data having a delay time of 100 words can be generated by returning to the 0th address. . By the way, in order to adjust the reverberation effect even in a specific mode, the delay memory 20 is operated during operation.
It is preferable that the delay amount due to can be changed. Since the delay memory 20 includes a plurality of delay units, it may be possible to change the delay amount by changing the delay unit to another one, but this method cannot change the delay amount in fine steps. Also, it cannot be used because the data previously written to the other delay unit, that is, irrelevant data, is output at the seam when the other delay unit is switched. Therefore, the delay amount is changed by the address control of the same delay unit. As one method, the top address TA may be increased or decreased. However, when the top address TA is increased, irrelevant data previously written to the increased address is read, so the method of increasing or decreasing the top address is not preferable. Therefore, according to the present invention, a delay unit is constructed in the address space of the delay memory 20 by the bottom address and the top address, the write address is preceded by the read address, and a predetermined delay amount is caused by the difference between the two addresses. Is obtained, and the delay amount is changed by changing the read address. That is, as shown in FIG. 3B, assuming that one delay unit is composed of addresses 0 to 99, the write address WA is preceded by the write address WA and the read address RA based on a clock of the same frequency. Then, both are changed stepwise to generate the delay amount Td corresponding to the difference between the two addresses. Then, the change of the write address WA is fixed at, for example, 1 step, and the step amount of the change of the read address RA is 0, +.
By setting it to either 1 or +2, the delay amount increases,
The delay amount is fixed and the delay amount is controlled to decrease. In this embodiment, the next address controller 22 is constructed as shown in FIG. In the figure, 31 indicates a bottom address register and 32
Indicates a top address register, to which the bottom address and top address stored in the memory 21 are read and set. Reference numeral 33 denotes a memory address register of the delay memory 20. A write address and a read address are set in the register 33 from the memory 21, and a read operation and a write operation are performed. This memory address register 3
The write address WA stored in 3 is + in the arithmetic unit 23
It is incremented by 1 and supplied to the next address register 34. The top address and the next address set in the registers 32 and 34 are compared by the comparator 35, and the output of the comparator 35 controls the selector 36.
The selector 36 selects one of the bottom address register 31 and the next address register 34. The same control as described above can be performed for the read address RA, but the next address of the read address RA is the memory 21.
Is added to the step STEP stored in. As described above, (BA = 0, TA = 10
0) and write address WA and read address RA
The operation for setting the difference of 45 to 45 will be described with reference to the flowchart of FIG. First of all, the delay memory 20
Is cleared and irrelevant data is prevented from being output. Next, for the memory 21, the initial value of the write address (WA = 0) and the initial value of the read address (RA = 4
5), address step amount (STEP = 1), bottom address (BA = 0), top address (TA = 10)
0) is loaded. Next, the write address WA is set in the memory address register 33 to perform the write operation, and the bottom address and the top address are set in the registers 31 and 32, respectively. Next, the arithmetic unit 23 adds 1 to the current write address WA set in the memory address register 33, and the arithmetic result is stored in the next address register 34. This next address NA is the top address (TA
= 100) is determined by the comparator 35,
When it has not reached, the next address NA is selected by the selector 36, this is written as the write address WA in the memory 21 through the arithmetic unit 23, and the write address WA is updated. If it is detected that the next address NA reaches the top address, the bottom address (B
A = 0) is selected by the selector 36, which is set in the next address register 34, and the memory 21
The write address WA of is also changed to the bottom address.
In this way, the write operation is performed by advancing the address step by step. Next, the read address RA is stored in the memory 21.
The read operation is performed by being read from and set in the memory address register 33. The sum of the read address RA and the step STEP (stored in the memory 21) is set in the next address register 34. The comparator 35 determines whether or not the added result has reached the top address TA. If not, the contents (RA + STEP) of the next address register 34 are written in the memory 21 as a read address, and the read address is read. Will be updated. When (RA + STEP) reaches the top address, the bottom address BA is written in the memory 21 as the read address RA. When the above read operation is completed, the write operation is performed again.
The write operation and the read operation are executed once in each sampling period of the audio PCM signal. Further, if the change amount STEP of the read address RA is set to 0, the delay amount corresponding to the difference between the addresses gradually increases, and this is +
With a setting of 2, this delay amount gradually decreases. In this case, the delay amount is increased or decreased by one word for each sampling period. Since this change is abrupt and may be unnatural to the sense of hearing, in order to make the change in the delay amount more gradual, STEP is set to 0 for only one of the plurality of sampling periods.
Alternatively, it is preferably +2. FIG. 6 shows a more specific structure of the parts of the next address register 34, the bottom address register 31, and the comparator 35 in the above embodiment of the present invention. Each of the registers 31 and 34 has an output enable terminal. When this terminal goes high, for example, the 16-bit address set in the register is output. Therefore, the selector 36 in FIG.
Is not provided separately. Then, the bottom address B read from the memory 21 and set in the bottom address register 31.
A is defined as an even number. In addition, the comparator 35
Top address TA is supplied as A input of
The address (RA + STEP) from the next address register 34 is supplied as an input. And (TA>
In the case of (RA + STEP), the contents of the next address register 34 are output, and this is written in the memory 21 as a new read address RA. Further, if (TA = RA + STEP), both outputs of the comparator 35 become low level, and the bottom address BA is output from the bottom address register 31. The output of (A <B) of the comparator 35 is input to the least significant bit LSB of the bottom address register 31. Therefore, the address output when (TA = RA + STEP) is the even bottom address BA. It will be a match. Next, when (TA <RA + STEP), the output of (A> B) remains at low level.
Since the output of <B) becomes high level, the output of the bottom address register 31 changes to (BA + 1). According to the configuration shown in FIG. 6, when the delay amount is reduced (STEP = 2), (RA + STE
When P = 101, the bottom address is changed to (BA
It can be +1). That is, in the address range of 0 to 99, 101 is two larger than the upper limit address, so the next address needs to be (BA + 1). The present invention is not limited to the digital reverberation adding device, but can be similarly applied to other devices which require the delay time to be varied by controlling the address of the memory. Further, the memory 21 stores parameters such as a bottom address, a top address, an initial write address, an initial read address, and the number of steps corresponding to each of the plurality of delay units configured by the delay memory 20. . As can be understood from the above description of the embodiment, according to the present invention, the digital parameters are set and the input data is written and written based on the clock of the same frequency. By performing reading, a delay circuit having a desired delay amount can be realized, and the delay amount can be changed by changing the read address step of the parameters. Further, in the present invention, since the preceding write address step is kept constant and the read address step is changed, when the delay amount is changed, data unrelated to the data up to that time may be generated. There are no advantages. Further, since the bottom address and the top address can be set, the size (delay amount) of the delay unit can be changed, and the memory can be divided into delay units of different sizes. . As in the above-described embodiment, address control is performed by hardware (next address controller).
By doing so, the number of software steps required for the processing can be reduced, and more complicated processing can be performed.

【図面の簡単な説明】 【図1】残響付加装置の基本的構成を示すブロック図で
ある。 【図2】この発明を適用しうるディジタル残響付加装置
の全体の構成を示すブロック図である。 【図3】ディレーメモリーのアドレス制御の説明に用い
る略線図である。 【図4】この発明の一実施例のブロック図である。 【図5】この発明の一実施例の動作説明に用いるフロー
チャートである。 【図6】この発明の一実施例の一部の具体的構成を示す
ブロック図である。 【符号の説明】 1 入力端子 2 出力端子 12 マイクロコンピュータ 20 ディレーメモリー 21 メモリー 23 演算装置 24 乗算器
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a basic configuration of a reverberation adding device. FIG. 2 is a block diagram showing an overall configuration of a digital reverberation applying apparatus to which the present invention can be applied. FIG. 3 is a schematic diagram used for explaining address control of a delay memory. FIG. 4 is a block diagram of an embodiment of the present invention. FIG. 5 is a flowchart used to explain the operation of the embodiment of the present invention. FIG. 6 is a block diagram showing a specific configuration of part of an embodiment of the present invention. [Explanation of reference numerals] 1 input terminal 2 output terminal 12 microcomputer 20 delay memory 21 memory 23 arithmetic unit 24 multiplier

Claims (1)

【特許請求の範囲】 それらの差によって遅延時間を決定する第1及び第2の
アドレスの対が複数個の上記遅延時間と夫々対応して記
憶されたメモリーを有し、 上記メモリーから上記第1及び第2のアドレスの対を読
み出して、遅延用メモリーのアドレス空間内で複数個の
遅延ユニットを構成し、 上記遅延用メモリーのライトアドレスをリードアドレス
に対して先行させ、これらのアドレスの差に対応した所
定の遅延量を生じさせ、 上記ライトアドレスを一定スッテプずつ変化させると共
に、上記リードアドレスの変化スッテプ量を変化させ、 上記ライトアドレスへの書き込み、上記リードアドレス
からの読み出しを同一周波数のクロックに基づいて行う
ことによって、上記遅延量を制御するようにした可変遅
延回路。
Claim: What is claimed is: 1. A pair of first and second addresses for determining a delay time based on a difference between the first and second addresses has a memory stored in correspondence with each of the plurality of delay times. And a second address pair are read to form a plurality of delay units in the address space of the delay memory, and the write address of the delay memory is preceded by the read address, and the difference between these addresses is calculated. A corresponding delay amount is generated, the write address is changed by a constant step, the change step amount of the read address is changed, and writing to the write address and reading from the read address are performed at the same frequency. A variable delay circuit configured to control the above delay amount by performing the above-mentioned delay.
JP6110463A 1994-04-26 1994-04-26 Variable delay circuit Expired - Lifetime JP2634561B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6110463A JP2634561B2 (en) 1994-04-26 1994-04-26 Variable delay circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6110463A JP2634561B2 (en) 1994-04-26 1994-04-26 Variable delay circuit

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP56173580A Division JPS5875315A (en) 1981-10-29 1981-10-29 Variable delaying circuit

Publications (2)

Publication Number Publication Date
JPH06318092A true JPH06318092A (en) 1994-11-15
JP2634561B2 JP2634561B2 (en) 1997-07-30

Family

ID=14536353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6110463A Expired - Lifetime JP2634561B2 (en) 1994-04-26 1994-04-26 Variable delay circuit

Country Status (1)

Country Link
JP (1) JP2634561B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015047282A (en) * 2013-08-30 2015-03-16 株式会社ディ・ライト Game machine
JP2015047281A (en) * 2013-08-30 2015-03-16 株式会社ディ・ライト Game machine
JP2015047283A (en) * 2013-08-30 2015-03-16 株式会社ディ・ライト Game machine
JP2015047280A (en) * 2013-08-30 2015-03-16 株式会社ディ・ライト Game machine
JP2015047279A (en) * 2013-08-30 2015-03-16 株式会社ディ・ライト Game machine
JP2015047284A (en) * 2013-08-30 2015-03-16 株式会社ディ・ライト Game machine

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3107354B2 (en) 1995-01-20 2000-11-06 ローランド株式会社 Effect device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3006495A1 (en) * 1980-02-21 1981-08-27 Franz, Reinhard, 5401 Emmelshausen METHOD AND DEVICE FOR PROCESSING SOUND SIGNALS, ESPECIALLY FOR ELECTRONIC ORGANS

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3006995A1 (en) 1980-02-25 1981-09-10 Seitz-Werke Gmbh, 6550 Bad Kreuznach DEVICE FOR FILLING THE MEASURES AND HEIGHT OF VESSELS

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3006495A1 (en) * 1980-02-21 1981-08-27 Franz, Reinhard, 5401 Emmelshausen METHOD AND DEVICE FOR PROCESSING SOUND SIGNALS, ESPECIALLY FOR ELECTRONIC ORGANS

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015047282A (en) * 2013-08-30 2015-03-16 株式会社ディ・ライト Game machine
JP2015047281A (en) * 2013-08-30 2015-03-16 株式会社ディ・ライト Game machine
JP2015047283A (en) * 2013-08-30 2015-03-16 株式会社ディ・ライト Game machine
JP2015047280A (en) * 2013-08-30 2015-03-16 株式会社ディ・ライト Game machine
JP2015047279A (en) * 2013-08-30 2015-03-16 株式会社ディ・ライト Game machine
JP2015047284A (en) * 2013-08-30 2015-03-16 株式会社ディ・ライト Game machine

Also Published As

Publication number Publication date
JP2634561B2 (en) 1997-07-30

Similar Documents

Publication Publication Date Title
US5179531A (en) Accelerated digital signal processor
JPH03150910A (en) Digital audio signal processing unit
US5065433A (en) Audio signal data processing system
JPH06318092A (en) Variable delay circuit
US5613147A (en) Signal processor having a delay ram for generating sound effects
JPH0454909B2 (en)
US5522010A (en) Pitch control apparatus for setting coefficients for cross-fading operation in accordance with intervals between write address and a number of read addresses in a sampling cycle
JPH0544040B2 (en)
US5689079A (en) Musical tone generator
JP2856064B2 (en) Digital filter
US5703956A (en) External memory control circuit for sound field processing digital signal processor
JP3116269B2 (en) Memory device for digital video signal processing
JPH04222111A (en) digital filter
JP2542616Y2 (en) Reverberation device
JP2940384B2 (en) Electronic musical instrument
JP3520553B2 (en) Sound source device
JP2684820B2 (en) Surround circuit
JPH08292764A (en) Signal switching device
JP3531208B2 (en) Digital signal processor
JPS5875314A (en) Signal processor
JPH06119167A (en) Digital signal processing circuit
JPH0682372B2 (en) Digital signal processor
JPH0738553B2 (en) Loudness control circuit for audio equipment
JPH0328893A (en) Audio signal data processor
JPH06289871A (en) Effect adding device