JP2834746B2 - Digital signal processing device and address data generating method thereof - Google Patents

Digital signal processing device and address data generating method thereof

Info

Publication number
JP2834746B2
JP2834746B2 JP63292884A JP29288488A JP2834746B2 JP 2834746 B2 JP2834746 B2 JP 2834746B2 JP 63292884 A JP63292884 A JP 63292884A JP 29288488 A JP29288488 A JP 29288488A JP 2834746 B2 JP2834746 B2 JP 2834746B2
Authority
JP
Japan
Prior art keywords
address
data
digital signal
signal processing
address data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63292884A
Other languages
Japanese (ja)
Other versions
JPH02137898A (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.)
Sanyo Denki Co Ltd
Original Assignee
Sanyo Denki 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 Sanyo Denki Co Ltd filed Critical Sanyo Denki Co Ltd
Priority to JP63292884A priority Critical patent/JP2834746B2/en
Publication of JPH02137898A publication Critical patent/JPH02137898A/en
Application granted granted Critical
Publication of JP2834746B2 publication Critical patent/JP2834746B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、時系列で入力されるデータを所定のアルゴ
リズムに基いて処理し、時系列データとして出力するデ
ジタル信号処理装置及びそのアドレスデータ作成方法に
関する。
The present invention relates to a digital signal processing apparatus that processes data input in time series based on a predetermined algorithm and outputs the data as time series data, and address data thereof. How to create.

(ロ)従来の技術 一般に、音声や画像等のように我々の周囲に存在する
原始情報源は、アナログ信号であることが多い。今まで
は、このアナログ信号をアナログ信号のまま処理、例え
ば、増幅、フィルタリング、等していたが、近年A−D
変換技術、及び、デジタル処理技術の進歩に伴い、アナ
ログ信号をデジタル的な手法によって処理するシステ
ム、即ち、デジタル信号処理装置(DSP:デジタル・シグ
ナル・プロセッサ)が開発されている。
(B) Conventional technology Generally, primitive information sources existing around us, such as voices and images, are often analog signals. Until now, this analog signal has been processed as it is, for example, amplification, filtering, etc.
With the advance of conversion technology and digital processing technology, a system for processing an analog signal by a digital method, that is, a digital signal processing device (DSP: digital signal processor) has been developed.

また、デジタル回路のLSI化が急速に進み、ワンチッ
プ半導体上にDSPが容易に実現できるようになり、更
に、アナログ信号処理に較べて高精度処理が可能、パラ
メータ等の設定により任意の特性が安定して得られる、
無調整化が可能となる等の特徴がある。
In addition, digital circuits are rapidly becoming LSIs, and DSPs can be easily implemented on one-chip semiconductors. Furthermore, high-precision processing can be performed compared to analog signal processing. Can be obtained stably,
There are features such as the possibility of no adjustment.

更に、オーディオ分野に於いてもCD(コンパクト・デ
ィスク)プレーヤやDAT(デジタル・オーディオ・テー
プ)プレーヤの如く、オーディオ信号のデジタル処理化
が進むのに伴って、オーディオ信号をデジタル処理する
DSPシステムが実用化されている。
Further, in the audio field, as audio signals are digitized, such as CD (compact disc) players and DAT (digital audio tape) players, the audio signals are digitally processed.
DSP systems have been put into practical use.

このようなDSPは、オーディオ信号をサンプリングす
ることによって得られたデジタルデータ、及び、該デー
タを数値計算することによって発生する演算結果データ
等を記憶するためのメモリが設けられてあり、特に、オ
ーディオ用DSPでは、メモリに記憶されたデータを用い
て、反射音や残響音をデジタル処理で作成する機能を簡
単に作ることができる。
Such a DSP is provided with a memory for storing digital data obtained by sampling an audio signal and operation result data generated by numerically calculating the data. The DSP can easily create a function to create reflected and reverberant sounds by digital processing using the data stored in the memory.

そこで、反射音及び残響音を作るための模式図を第2
図に示す。(1)はメモリ、(2)は乗算器、(3)は
加算器である。メモリ(1)は、サンプリング周期毎に
入力されるオーディオ信号に対応したデジタルデータを
記憶し、反射音を作成するための領域Aと残響音を作成
するためのデジタルデータを記憶する領域Bとに分けら
れている。領域Aにおいて、サンプリング周期毎に入力
されるデジタルデータを書き込むアドレスをWA1とし、
デジタルデータを読み出すためのアドレスをRA1,RA2,RA
3,RA4とすると、サンプリング周期毎に書き込みアドレ
スWA1と読み出しアドレスRA1,RA2,RA3,RA4を1アドレス
づつずらして(インクリメントあるいはディクリメン
ト)書き込み及び読み出しを行うことにより、遅延され
たデジタルデータが得られる。読み出しアドレスRA1,RA
2,RA3から取り出された遅延データは、減衰係数a,b,cが
乗じられ、その乗算結果は、入力されたデジタルデータ
と加算される。また、読み出しアドレスRA4から取り出
された遅延データは、減衰係数dが乗じられ、その乗算
結果は、領域Bで作られた残響音データと加算され、領
域Bの書き込みアドレスWA2に書き込まれると共に反射
音の加算結果に更に加算される。残響音データは反射音
と同様に書き込みアドレスWA2と離間した読み出しアド
レスRA5を設定することによって得られる。もちろん、
領域Bの書き込みアドレスWA2と読み出しアドレスRA
5は、サンプリング周期毎にインクリメントあるいはデ
ィクリメントされる。尚、反射音作成のための書き込み
と読み出しは、領域Aを巡廻してアクセスされ、また、
残響音作成のための書き込みと読み出しは、領域Bを巡
廻してアクセスされる。
Therefore, a schematic diagram for creating reflected sound and reverberation sound is shown in FIG.
Shown in the figure. (1) is a memory, (2) is a multiplier, and (3) is an adder. The memory (1) stores digital data corresponding to an audio signal input for each sampling period, and stores an area A for creating a reflected sound and an area B for storing digital data for creating a reverberant sound. Divided. In the region A, the address for writing the digital data to be input to each sampling period as the WA 1,
RA 1 an address for reading the digital data, RA 2, RA
3 and RA 4 , the write address WA 1 and the read address RA 1 , RA 2 , RA 3 , and RA 4 are shifted by one address (increment or decrement) at each sampling period to perform writing and reading, thereby delaying. Digital data is obtained. Read address RA 1 , RA
2 , the delay data extracted from RA 3 is multiplied by attenuation coefficients a, b, and c, and the result of the multiplication is added to the input digital data. The delay data retrieved from the read address RA 4, the attenuation coefficient d are multiplied, the multiplication result is added to the reverberation sound data produced by the area B, with written into the write address WA 2 region B It is further added to the addition result of the reflected sound. Reverberation sound data is obtained by setting the read address RA 5 that apart from the write address WA 2 like the reflected sound. of course,
Area B write address WA 2 and read address RA
5 is incremented or decremented every sampling period. Note that writing and reading for creating the reflected sound are accessed by circulating through the area A.
Writing and reading for creating the reverberation are accessed by circling the area B.

第3図は第2図に示されたシステムのインパルス応答
特性図である。時刻t0において入力されたデジタルデー
タDINは、時刻t1においてアドレスRA1から読み出されて
第1の反射音D1として再生され、同様に、時刻t2ではア
ドレスRA2から、時刻t3ではアドレスRA3から、時刻t4
はアドレスRA4から読み出されて、第2の反射音D2、第
3の反射音D3、第4の反射音D4が再生される。また、時
刻t5以降は、アドレスRA5から読み出された残響音が繰
り返えし再生される。
FIG. 3 is an impulse response characteristic diagram of the system shown in FIG. The digital data D IN input at the time t 0 is read from the address RA 1 at the time t 1 and reproduced as the first reflected sound D 1 , and similarly, at the time t 2 , from the address RA 2 at the time t 2 3 the address RA 3, are read out from the time t 4 the address RA 4, the second reflected sound D 2, third reflected sound D 3, fourth reflected sound D 4 are reproduced. In addition, after time t 5, the reverberation that has been read from the address RA 5 is repeated Kaee to play.

ここで、遅延時間t1−t0,t2−t0,t3−t0,t4−t0,t5
t4は、サンプリング周波数をFSRとすると t1−t0=(RA1−WA1)1/FSR t2−t0=(RA2−WA1)1/FSR t3−t0=(RA3−WA1)1/FSR t4−t0=(RA4−WA1)1/FSR t5−t4=(RA5−WA2)1/FSR と表わされる。
Here, delay times t 1 −t 0 , t 2 −t 0 , t 3 −t 0 , t 4 −t 0 , t 5
t 4, when the sampling frequency is F SR t 1 -t 0 = ( RA 1 -WA 1) 1 / F SR t 2 -t 0 = (RA 2 -WA 1) 1 / F SR t 3 -t 0 = (RA 3 -WA 1) 1 / F SR t 4 -t 0 = (RA 4 -WA 1) 1 / F SR t 5 -t 4 = (RA 5 -WA 2) is expressed as 1 / F SR.

(ハ)発明が解決しようとする課題 ところで、アナログ信号をデジタル信号に変換するサ
ンプリング周波数は、現在CDでは44.1KHz、DATでは48KH
z、標準モードや衛星放送Aモードでは32KHzと基準化さ
れている。従って、上述の各種方式にDSPを適合させる
場合、サンプリング周波数が異なると、反射音および残
響音を作成するシステムに於いて、遅延時間が異なって
しまう。
(C) Problems to be solved by the invention By the way, the sampling frequency for converting an analog signal into a digital signal is currently 44.1 KHz for a CD and 48 KH for a DAT.
z, 32 kHz is standardized in the standard mode and the satellite broadcast A mode. Therefore, when the DSP is adapted to the above-described various systems, if the sampling frequency is different, the delay time differs in the system for creating the reflected sound and the reverberant sound.

そこで、従来は、各種方式のサンプリング周波数に応
じて、遅延時間が等しくなるように読み出しアドレスを
設定していた。即ち、サンプリング周波数に応じたアド
レスデータを内部に記憶している。従って、アドレスデ
ータを記憶するためのメモリ領域が増し、容量の大きな
メモリを備えなければならない欠点があった。
Therefore, conventionally, the read address is set so that the delay times are equal according to the sampling frequencies of various types. That is, address data corresponding to the sampling frequency is stored therein. Therefore, there is a disadvantage that a memory area for storing the address data is increased and a large-capacity memory must be provided.

(ニ)課題を解決するための手段 本発明は、上述した点に鑑みて創作されたものであ
り、デジタルデータを記憶するメモリと、該メモリに記
憶されたデジタルデータを遅延して読み出すための基準
アドレスを保持する基準アドレス保持手段と、異なるサ
ンプリング周波数に応じて遅延量を一定とするために、
前記基準アドレスを補正するための係数を保持する補正
係数保持手段と、前記サンプリング周波数に応じた前記
補正係数と前記基準アドレスを乗算し、メモリの実読み
出しアドレスデータを作成するアドレスデータ作成手段
とを備えることにより、アドレスデータを保持するため
のメモリ領域を削減することを目的とする。
(D) Means for Solving the Problems The present invention has been made in view of the above points, and has a memory for storing digital data, and a memory for delaying and reading the digital data stored in the memory. Reference address holding means for holding a reference address, and in order to make the amount of delay constant according to different sampling frequencies,
Correction coefficient holding means for holding a coefficient for correcting the reference address, and address data generating means for multiplying the correction coefficient according to the sampling frequency by the reference address to generate actual read address data of a memory. With the provision, an object is to reduce a memory area for holding address data.

(ホ)作用 上述の手段によれば、補正係数は、基準アドレスを設
定する基礎であるサンプリング周波数と他のサンプリン
グ周波数との比として表わすことができるので、例え
ば、サンプリング周波数が3種類の場合には補正係数
は、2個となる。この補正係数を基準アドレスデータに
乗算することで、異なるサンプリング周波数における読
み出しアドレスデータが得られる。この算出されたアド
レスデータをサンプリング周期毎にインクリメントある
いはディクリメントすることにより、メモリを巡廻して
アクセスする。よって、アドレスデータを保持するメモ
リ領域は、基準アドレスデータと補正係数のみを保持す
るだけとなる。
(E) Operation According to the above-described means, the correction coefficient can be expressed as a ratio between the sampling frequency that is the basis for setting the reference address and another sampling frequency. Becomes two correction coefficients. By multiplying the reference address data by this correction coefficient, read address data at different sampling frequencies can be obtained. The calculated address data is incremented or decremented for each sampling period, thereby accessing the memory circulating. Therefore, the memory area holding the address data only holds the reference address data and the correction coefficient.

(ヘ)実施例 第1図は、本発明の実施例を示すブロック図であり、
(4)は同一半導体チップ上に形成されたDSP−LSI、
(5)はDSP−LSI(4)に接続されたマイコン、(6)
はDSP−LSI(4)に外部接続された外部メモリである。
(F) Embodiment FIG. 1 is a block diagram showing an embodiment of the present invention.
(4) DSP-LSI formed on the same semiconductor chip,
(5) Microcomputer connected to DSP-LSI (4), (6)
Is an external memory externally connected to the DSP-LSI (4).

DSP−LIS(4)は、信号処理回路(7)、外部メモリ
インターフェイス回路(8)、マイコンインターフェイ
ス回路(9)、制御回路(10)及びこれらの回路を接続
するバス(11)とから構成される。
The DSP-LIS (4) comprises a signal processing circuit (7), an external memory interface circuit (8), a microcomputer interface circuit (9), a control circuit (10), and a bus (11) connecting these circuits. You.

信号処理回路(7)は、オーディオ信号をサンプリン
グして得られたデジタルデータを処理するための回路で
あり、定数データを記憶する定数RAM(12)と、デジタ
ルデータを記憶するデータRAM(13)と、乗算及び演算
を行う乗算及び演算器(14)とから構成される。デジタ
ルデータの代表的な処理にはフィルタリング処理がある
が、これは、定数RAM(12)に予め記憶されたフィルタ
定数とデータRAM(13)に記憶されたデジタルデータと
を乗算して、グラフィックイコライザ機能あるいはトー
ンコントロール機能を実現する。更には、この信号処理
回路(7)は、乗算及び加算を行うことにより反射音及
び残響音の合成を行い、第2図に示されたシステムを実
現する。ステレオの場合、オーディオ信号は右チャンネ
ルと左チャンネルとあるため、信号処理回路(7)を一
対設け、右チャンネルと左チャンネルのデジタルデータ
処理を独立して行うようにすることも考えられる。
The signal processing circuit (7) is a circuit for processing digital data obtained by sampling an audio signal, and includes a constant RAM (12) for storing constant data and a data RAM (13) for storing digital data. And a multiplication and operation unit (14) for performing multiplication and operation. Typical processing of digital data includes filtering processing, which is performed by multiplying a filter constant stored in a constant RAM (12) in advance by digital data stored in a data RAM (13) to obtain a graphic equalizer. Function or tone control function. Further, the signal processing circuit (7) synthesizes the reflected sound and the reverberant sound by performing multiplication and addition, thereby realizing the system shown in FIG. In the case of stereo, since the audio signal includes a right channel and a left channel, a pair of signal processing circuits (7) may be provided so that digital data processing of the right channel and the left channel is performed independently.

また、信号処理回路(7)の乗算及び演算器(14)を
使用してアドレスデータの作成も行い、信号処理回路
(7)をアドレスデータ作成手段としても用いている。
即ち、アドレスデータ及び補正係数等をバス(11)を介
して乗算及び演算器(14)に印加することにより、所望
のアドレスデータを作ることができる。また、定数RAM
(12)やデータRAM(13)は、アドレスデータや補正係
数のメモリとしても用いられている。
Further, the multiplication of the signal processing circuit (7) and the creation of address data using the arithmetic unit (14) are also performed, and the signal processing circuit (7) is also used as address data creation means.
That is, by applying the address data, the correction coefficient, and the like to the multiplication and operation unit (14) via the bus (11), desired address data can be created. Also, constant RAM
(12) and the data RAM (13) are also used as a memory for address data and correction coefficients.

外部メモリインターフェイス回路(8)は、DSP−LSI
(4)に接続される外部メモリ(6)と内部のバス(1
1)との接続を行い、バス(11)に送出されたアドレス
データを外部メモリ(6)に印加すると共に、書き込み
及び読み出しデータの送受を行う。
The external memory interface circuit (8) is a DSP-LSI
The external memory (6) connected to (4) and the internal bus (1
1), the address data sent to the bus (11) is applied to the external memory (6), and write / read data is sent / received.

外部メモリ(6)は、反射音及び残響音を作成するた
めに、サンプリング周期毎に入力されるデジタルデータ
を記憶すると共に計算処理済のデジタルデータを記憶
し、遅延されたデジタルデータを作るものである。その
ために外部メモリ(6)は、第2図に示される如く、反
射音を作るための領域Aと残響音を作るための領域Bを
有している。
The external memory (6) stores digital data input for each sampling period and stores digital data that has been subjected to calculation processing in order to generate reflected sound and reverberant sound, and creates delayed digital data. is there. For this purpose, the external memory (6) has an area A for producing a reflected sound and an area B for producing a reverberant sound, as shown in FIG.

制御回路(10)は、DSP−LSI(4)の内部の動作を制
御するものであり、プログラムを記憶するプログラムメ
モリ、命令コードを解読して実行する命令デコーダ等を
内蔵している。また、制御回路(10)は、サンプリング
信号FSを入力し、サンプリング周期毎に定められた動作
を行うようになっている。
The control circuit (10) controls the internal operation of the DSP-LSI (4), and includes a program memory for storing a program, an instruction decoder for decoding and executing an instruction code, and the like. Further, the control circuit (10) receives the sampling signal F S, and performs an operation defined for each sampling period.

マイコンインターフェイス回路(9)は、外部接続さ
れる制御用のマイコン(5)との間で、デジタルデー
タ、制御用データ、あるいは、アドレスデータの送受を
行うための回路であり、バス(11)とマイコン(5)の
間に配置されている。マイコン(5)は、DSP−LSI
(4)の制御を行うものであり、内部に設けられた内部
RAM(15)内には、第2図に示された如く、外部メモリ
(6)をアクセスする基準アドレスデータと補正係数を
記憶する領域が設けられている。また、マイコン(5)
にはサンプリング信号FSが印加され、そのサンプリング
周期毎にDSP−LSI(4)への制御を行うプログラムが為
されている。
The microcomputer interface circuit (9) is a circuit for transmitting and receiving digital data, control data, or address data to and from an externally connected control microcomputer (5). It is arranged between the microcomputers (5). The microcomputer (5) is a DSP-LSI
The control of (4) is performed, and the internal
In the RAM (15), as shown in FIG. 2, an area for storing reference address data for accessing the external memory (6) and a correction coefficient is provided. The microcomputer (5)
The applied sampling signal F S has been made program for control to DSP-LSI (4) for respective sampling period.

ところで、内部RAM(15)に記憶される基準アドレス
データは、サンプリング周波数が例えば32KHz(FSRとす
る)を基準としたときに、反射音及び残響音の遅延量が
適正となるように決められる。具体的には、領域Aの書
き込みアドレスWA1及び領域Bの書き込みアドレスWA2
ゼロアドレス(領域A及び領域Bの割り当てられたスタ
ートアドレスをゼロとしている。従って、外部メモリ
(6)の実際のアドレスは、各領域のスタートアドレス
値を各々加算して得られる。)とし、読み出しアドレス
RA1,RA2,RA3,RA4及びRA5を設定する。
Incidentally, the reference address data stored in the internal RAM (15), upon a reference sampling frequency is e.g. 32KHz (referred to as F SR), it is determined so that the delay amount of the reflected sound and the reverberation becomes proper . Specifically, has write address WA 1 and region zero address (region A and the start address assigned region B the write address WA 2 B in the area A to zero. Thus, the actual external memory (6) The address is obtained by adding the start address value of each area.)
RA 1, RA 2, RA 3 , sets the RA 4 and RA 5.

また、他のサンプリング周波数44.1KHz及び48KHzに対
しては、 FS1=44.1/32=1.378 FS2=48.0/32=1.500 の補正係数が用意される。
For other sampling frequencies of 44.1 KHz and 48 KHz, a correction coefficient of F S1 = 44.1 / 32 = 1.378 F S2 = 48.0 / 32 = 1.500 is prepared.

即ち、書き込みアドレスWA1及びWA2がゼロであれば、
読み出しアドレスRA1,RA2,RA3,RA4、及びRA5が、遅延量
に相当するアドレスとなる。従って、この読み出しアド
レスRA1,RA2,RA3,RA4、及び、RA5の値に補正係数FS1
るいはFS2を乗算すれば、サンプリング周波数に応じて
遅延量の変わらないアドレスデータが得られる。
That is, if the write addresses WA 1 and WA 2 are zero,
The read addresses RA 1 , RA 2 , RA 3 , RA 4 , and RA 5 are addresses corresponding to the delay amount. Therefore, the read address RA 1, RA 2, RA 3 , RA 4, and, by multiplying the correction coefficient F S1 or F S2 to a value of RA 5, the address data unchanged delay amount in accordance with the sampling frequency is obtained Can be

従って、マイコン(5)の内部RAM(15)には、予
め、基準アドレスデータRA1,RA2,RA3,RA4,RA5と補正係
数FS1,FS2を保持させておくだけで良い。
Therefore, the microcomputer (5) Internal RAM (15) of advance, the reference address data RA 1, RA 2, RA 3 , RA 4, RA 5 and it is only allowed to hold the correction coefficient F S1, F S2 .

次に、第1図に示されたブロック図を用いて、アドレ
スデータの作成方法について述べる。
Next, a method of creating address data will be described with reference to the block diagram shown in FIG.

先ず、初期状態の動作において、マイコン(5)は、
内部RAM(15)から基準アドレスデータRA1,RA2,RA3,R
A4,RA5と、そのときのサンプリング周波数に応じた補正
係数、例えば、サンプリング周波数が44.1KHzのときに
はFS1を読み出して、DSP−LSI(4)のマイコンインタ
ーフェイス回路(9)を介して、乗算及び演算器(14)
に直接、あるいは、定数RAM(12)及びデータRAM(13)
に供給する。DSP−LSI(4)は、乗算及び演算器(14)
により、基準アドレスデータRA1,RA2,RA3,RA4,RA5に補
正係数FS1を乗算し、その結果をデータRAM(13)内の所
定領域に記憶する。この乗算結果は、サンプリング周波
数44.1KHzに応じたアドレスデータとなる。
First, in the operation in the initial state, the microcomputer (5)
Reference address from the internal RAM (15) data RA 1, RA 2, RA 3 , R
And A 4, RA 5, the correction coefficient corresponding to a sampling frequency at that time, for example, reads the F S1 when the sampling frequency is 44.1 KHz, via the microcomputer interface circuit of DSP-LSI (4) (9 ), Multiplication and operation unit (14)
Directly, or constant RAM (12) and data RAM (13)
To supply. DSP-LSI (4) is a multiplication and operation unit (14)
Accordingly, by multiplying the reference address data RA 1, RA 2, RA 3 , RA 4, RA 5 in the correction coefficient F S1, and stores the result in a predetermined area of the data RAM (13). This multiplication result becomes address data corresponding to the sampling frequency of 44.1 KHz.

DSP−LSI(4)が反射音及び残響音を作成する場合に
は、データRAM(13)からアドレスデータRA1,RA2,RA3,R
A4,RA5を取り出して、順次外部メモリインターフェイス
回路(8)を介して外部メモリ(6)に印加し、デジタ
ルデータを読み出し、そのデジタルデータに定数RAM(1
2)に記憶された係数a,b,c,d,e,f(第2図に示された乗
算係数)を乗算及び演算器(14)で各々乗算し、その結
果を加算する。また、アドレスデータRA4から読み出さ
れたデータと係数eの乗算結果は、アドレスRA5から読
み出されたデジタルデータと係数fの乗算結果と加算さ
れ、その加算結果は、アドレスWA2に書き込まれ、更
に、反射音と入力されたデジタルデータの和に加算され
て、出力される。
When DSP-LSI that (4) to create a reflected sound and reverberation, address data RA 1 from the data RAM (13), RA 2, RA 3, R
A 4 and RA 5 are taken out, sequentially applied to the external memory (6) via the external memory interface circuit (8), digital data is read out, and the digital data is added to the constant RAM (1).
The coefficients a, b, c, d, e, and f (multiplication coefficients shown in FIG. 2) stored in 2) are multiplied by the multiplication and operation unit (14), and the results are added. Further, the multiplication result of the data and the coefficient e read from the address data RA 4 is added to the multiplication result of digital data and the coefficient f read from the address RA 5, the addition result is written in the address WA 2 Then, the sum is added to the sum of the reflected sound and the input digital data and output.

そして、反射音及び残響音の作成が終了すると、デー
タRAM(13)に記憶された補正後のアドレスデータは、
各々ディクリメント(−1)されて、その結果が再びデ
ータRAM(13)の所定領域に記憶される。もちろん、各
書き込みアドレスWA1及びWA2もディクリメントされ、デ
ータRAM(13)に保持される。即ち、次のデジタルデー
タが入力されたときの外部メモリ(6)のアドレスデー
タが作成されるのである。
When the creation of the reflected sound and the reverberation sound is completed, the corrected address data stored in the data RAM (13) becomes
Each is decremented (-1), and the result is stored again in a predetermined area of the data RAM (13). Of course, the write address WA 1 and WA 2 also decremented, is held in the data RAM (13). That is, the address data of the external memory (6) when the next digital data is input is created.

また、他のアドレスデータ作成方法として、領域Aの
書き込みアドレスWA1から各読み出しアドレスRA1,RA2,R
A3,RA4までのアドレス差及び領域Bの書き込みアドレス
WA2と読み出しアドレスRA5の差を基準のサンプリング周
波数、例えば、32KHzに対応する基準アドレスデータと
してマイコン(5)の内部メモリ(15)に記憶してお
き、これに補正係数FS1,FS2を乗算する方法もある。こ
の場合には、基準アドレスデータと補正係数FS1又はFS2
の乗算結果を、書き込みアドレスWA1及び書き込みアド
レスWA2に加算してアドレスRA1,RA2,RA3,RA4,RA5を得
る。その他は、上述の方法と同様である。
Further, as the other address data creation method, the read address from the write address WA 1 region A RA 1, RA 2, R
Address difference between A 3 and RA 4 and write address of area B
Difference reference sampling frequency of the WA 2 and the read address RA 5, for example, is stored in the internal memory (15) of the microcomputer (5) as a reference address data corresponding to 32KHz, this correction factor F S1, F S2 Is also available. In this case, the reference address data and the correction coefficient F S1 or F S2
The result of the multiplication to obtain the address RA 1, RA 2, RA 3 , RA 4, RA 5 is added to the write address WA 1 and the write address WA 2. Others are the same as the above-mentioned method.

(ト)発明の効果 上述の如く本発明によれば、基準のサンプリング周波
数に対応した遅延量を有する基準アドレスデータを設定
し、周波数の異なるサンプリング周波数に応じた補正係
数を作成することにより、アドレスデータを記憶するメ
モリの領域を削減することができる。また、基準アドレ
スデータと補正係数の乗算は、デジタルデータの処理を
行う信号処理回路の乗算器を用いるので、簡単なプログ
ラムでアドレスデータを作成することが可能となる。
(G) Effect of the Invention As described above, according to the present invention, the reference address data having a delay amount corresponding to the reference sampling frequency is set, and a correction coefficient corresponding to the sampling frequency having a different frequency is created. The area of the memory for storing data can be reduced. In addition, since the multiplication of the reference address data and the correction coefficient uses a multiplier of a signal processing circuit that processes digital data, it is possible to create address data with a simple program.

よって、サンプリング周波数が異なっても、反射音や
残響音の作成が極めて容易に実現できるデジタル信号処
理装置が得られるので、オーディオ用に利用してその効
果は大となる。
Therefore, even if the sampling frequency is different, a digital signal processing device that can very easily create a reflected sound or a reverberant sound can be obtained, and the effect is great when used for audio.

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

第1図は本発明の実施例を示すブロック図、第2図は反
射音と残響音を合成するためのシステムを示す図、第3
図は第2図に示されたシステムのインパルス応答を示す
特性図である。 (4)……DSP−LSI、(5)……マイコン、(6)……
外部メモリ、(7)……信号処理回路、(8)……外部
メモリインターフェイス回路、(9)……マイコンイン
ターフェイス回路、(10)……制御回路、(11)……バ
ス。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing a system for synthesizing a reflected sound and a reverberant sound, and FIG.
The figure is a characteristic diagram showing the impulse response of the system shown in FIG. (4) DSP-LSI, (5) microcomputer, (6)
External memory, (7) signal processing circuit, (8) external memory interface circuit, (9) microcomputer interface circuit, (10) control circuit, (11) bus.

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G10K 15/12 G06F 12/02 550 G06F 15/31 H03H 17/00 621 H03H 17/02 635Continuation of the front page (58) Field surveyed (Int.Cl. 6 , DB name) G10K 15/12 G06F 12/02 550 G06F 15/31 H03H 17/00 621 H03H 17/02 635

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】デジタル信号をサンプリング周期毎に入力
して処理するデジタル信号処理装置において、 デジタル信号を記憶するメモリ(6)と、 基準アドレスを保持する基準アドレス保持手段(15)
と、 サンプリング周期に対応した補正係数を保持する補正係
数保持手段(15)と、 入力されるサンプリング周期に対応する補正係数と基準
アドレスとを乗算し遅延量アドレスを算出する乗算手段
(14)と、 書き込みアドレスを発生するとともに、書き込みアドレ
スと遅延量アドレスとに基づいて読み出しアドレスを発
生し、メモリ(6)の書き込み、読み出し処理を行う制
御手段と を備えることを特徴とするデジタル信号処理装置。
A digital signal processing device for inputting and processing a digital signal every sampling period, a memory for storing the digital signal, and a reference address holding means for holding a reference address.
Correction coefficient holding means (15) for holding a correction coefficient corresponding to the sampling cycle; multiplication means (14) for multiplying the correction coefficient corresponding to the input sampling cycle by the reference address to calculate a delay amount address; And a control means for generating a write address, generating a read address based on the write address and the delay amount address, and performing a write / read process of the memory (6).
【請求項2】乗算手段(14)は、デジタル信号の処理と
兼用することを特徴とする請求項第1項記載のデジタル
信号処理装置。
2. A digital signal processing apparatus according to claim 1, wherein said multiplying means is used for processing a digital signal.
JP63292884A 1988-11-18 1988-11-18 Digital signal processing device and address data generating method thereof Expired - Lifetime JP2834746B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63292884A JP2834746B2 (en) 1988-11-18 1988-11-18 Digital signal processing device and address data generating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63292884A JP2834746B2 (en) 1988-11-18 1988-11-18 Digital signal processing device and address data generating method thereof

Publications (2)

Publication Number Publication Date
JPH02137898A JPH02137898A (en) 1990-05-28
JP2834746B2 true JP2834746B2 (en) 1998-12-14

Family

ID=17787626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63292884A Expired - Lifetime JP2834746B2 (en) 1988-11-18 1988-11-18 Digital signal processing device and address data generating method thereof

Country Status (1)

Country Link
JP (1) JP2834746B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2559793Y2 (en) * 1990-10-19 1998-01-19 富士通テン 株式会社 Sound field control device

Also Published As

Publication number Publication date
JPH02137898A (en) 1990-05-28

Similar Documents

Publication Publication Date Title
JP3154998B2 (en) Signal conversion method for converting a signal having a first sampling frequency to a signal having a second sampling frequency
JP3106774B2 (en) Digital sound field creation device
US6035045A (en) Sound image localization method and apparatus, delay amount control apparatus, and sound image control apparatus with using delay amount control apparatus
US5065433A (en) Audio signal data processing system
JP2976429B2 (en) Address control circuit
US5386529A (en) Digital signal processor for use in sound quality treatment by filtering
JP2834746B2 (en) Digital signal processing device and address data generating method thereof
JP2003263178A (en) Reverberator, method of reverberation, program, and recording medium
JP2003263179A (en) Reverberator, method of reverberation, program, and recording medium
US5812677A (en) Acoustic signal processing method and apparatus
JP2953851B2 (en) Reverberation device
JP3255348B2 (en) Delay amount control device and sound image control device
JPH02132497A (en) Device and method for processing digital signal
JP4263869B2 (en) Reverberation imparting device, reverberation imparting method, program, and recording medium
JPH0719246B2 (en) Digital signal processor
JP3277518B2 (en) Sound field processing equipment
JP2542616Y2 (en) Reverberation device
JPH02137514A (en) Digital signal processor
JP2943112B2 (en) Digital signal processor
JP2686234B2 (en) Digital signal processing device and signal processing method
JP3179333B2 (en) Sound effect adding device using DSP
Tomarakos et al. Using The Low-Cost, High Performance ADSP-21065L Digital Signal Processor For Digital Audio Applications
JPH07101835B2 (en) Digital signal processor
JPH03201900A (en) Sound field correction device
JPH02187797A (en) Electronic musical instrument