JP2015225390A - Effect application device - Google Patents

Effect application device Download PDF

Info

Publication number
JP2015225390A
JP2015225390A JP2014108312A JP2014108312A JP2015225390A JP 2015225390 A JP2015225390 A JP 2015225390A JP 2014108312 A JP2014108312 A JP 2014108312A JP 2014108312 A JP2014108312 A JP 2014108312A JP 2015225390 A JP2015225390 A JP 2015225390A
Authority
JP
Japan
Prior art keywords
memory
program
interface
external memory
clear
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
JP2014108312A
Other languages
Japanese (ja)
Other versions
JP6391991B2 (en
Inventor
郁 松永
Iku Matsunaga
郁 松永
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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing 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 Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP2014108312A priority Critical patent/JP6391991B2/en
Publication of JP2015225390A publication Critical patent/JP2015225390A/en
Application granted granted Critical
Publication of JP6391991B2 publication Critical patent/JP6391991B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an effect application device capable of performing a satisfactory clear operation by reducing the number of times of program transfer, and shortening a memory clear time.SOLUTION: When a new program is transferred, the memory clear command of an external memory 20 is transmitted to an interface memory 14 so that the memory clear of the external memory 20 can be executed, and that a new program can be transferred to a program memory 10. After the memory clear of the external memory 20 is executed, a command corresponding to the new program is transferred only to the interface memory 14 so that an arithmetic part 12 can be allowed to execute processing following the new program.

Description

本発明は、外部メモリクリアが簡単にできる、電子楽器や音場制御装置などに用いられるデジタル・シグナル・プロセッサ(DSP)で構成される効果付与装置に関する。   The present invention relates to an effect imparting device including a digital signal processor (DSP) used in an electronic musical instrument, a sound field control device, and the like, which can easily clear an external memory.

図8は、下記特許文献1に示された従来の電子楽器の楽音に音響効果(エフェクト)をかけるDSP1で構成される効果付与装置を概略的に示したブロック図である。   FIG. 8 is a block diagram schematically showing an effect applying device configured by a DSP 1 that applies an acoustic effect (effect) to a musical sound of a conventional electronic musical instrument disclosed in Patent Document 1 below.

図中、楽音生成装置200から出力されてきた楽音信号は、DSP(デジタル・シグナル・プロッセサ)1に入力される。DSP1は、一方で外部メモリ(遅延メモリ)20と接続され、またシステムバス100を介してCPU22とも接続されており、DSP1には係数を記憶する係数メモリ16の他、DSP1内部の演算処理を所定のプログラムに変更できるプログラムメモリ10も内蔵されている。   In the figure, a musical sound signal output from the musical sound generating device 200 is input to a DSP (digital signal processor) 1. On the other hand, the DSP 1 is connected to an external memory (delay memory) 20 and is also connected to the CPU 22 via the system bus 100. The DSP 1 performs arithmetic processing inside the DSP 1 in addition to the coefficient memory 16 for storing coefficients. A program memory 10 that can be changed to this program is also incorporated.

上記の如く構成された電子楽器は概略、以下のように動作する。上記楽音生成装置200から出力された楽音信号は、DSP1に入力され、そこで種々のエフェクトがかけられる。その際、DSP1において、CPU22から送信されてくる各種エフェクト用プログラム及びそれに使用される係数が、夫々のプログラムメモリ10と係数メモリ16に記憶され、それらに基づいて上記楽音信号に対し演算処理が施され、音響効果の付与された楽音信号が生成される。特に残響効果を付与される際に、DSP1の外部に外部メモリ20(遅延メモリ)がつながれており、この外部メモリ20を使用して、DSP1における演算処理の結果をそこに一時的に記憶させておき、演算処理によって遅延して出力されてくる楽音信号が次々に処理され、残響効果が付与されることになる。その後、D/A変換器202に入力されてアナログ信号に変換される。該アナログ信号はサウンドシステム204(アンプやスピ−カなど)から出力される。   The electronic musical instrument configured as described above generally operates as follows. The tone signal output from the tone generation device 200 is input to the DSP 1 where various effects are applied. At that time, the DSP 1 stores various effect programs transmitted from the CPU 22 and the coefficients used therein in the program memory 10 and the coefficient memory 16, and performs arithmetic processing on the tone signal based on them. Then, a musical sound signal to which an acoustic effect is given is generated. In particular, when a reverberation effect is applied, an external memory 20 (delay memory) is connected to the outside of the DSP 1, and the result of the arithmetic processing in the DSP 1 is temporarily stored therein using the external memory 20. In other words, the musical sound signals output with a delay by the arithmetic processing are processed one after another, and a reverberation effect is given. Thereafter, the signal is input to the D / A converter 202 and converted into an analog signal. The analog signal is output from a sound system 204 (such as an amplifier or a speaker).

これらの音響効果には、種々の残響効果などがあり、それらに対応するために、あるタイミングで、CPU22から各種エフェクト用プログラム及びそれに使用される係数が、プログラムメモリ10と係数メモリ16に送られ入れ替えが行われる。
特開2002−358080
These acoustic effects include various reverberation effects. In order to deal with these effects, various effects programs and coefficients used therefor are sent from the CPU 22 to the program memory 10 and the coefficient memory 16 at a certain timing. Replacement is performed.
JP 2002-358080 A

DSP1で複数のプログラムを入れ替えて処理する場合、新規のプログラムを実行する前に外部メモリ20をクリアする必要がある。   When the DSP 1 replaces and processes a plurality of programs, it is necessary to clear the external memory 20 before executing a new program.

そのようなメモリクリアを行う方法には、1)クリア専用プログラムを転送し実行する方法、2)通常のプログラムの係数を一時的に変更してクリア動作するようにして実行する方法がある。   As a method for performing such memory clear, there are 1) a method for transferring and executing a clear-only program, and 2) a method for executing a clear operation by temporarily changing a coefficient of a normal program.

しかし、1)の場合には本来実行しようとするプログラムの転送前に別のプログラムを転送・実行するためプログラム転送の回数が増加するという問題がある。また2)の場合には、クリア専用のプログラムではないためクリア完了までに時間がかかるという問題があった。   However, in the case of 1), there is a problem that the number of program transfers increases because another program is transferred and executed before transferring the program to be originally executed. In the case of 2), since it is not a clear-only program, there is a problem that it takes time to complete the clear.

本発明は、斯かる実情に鑑み創案されたものであって、プログラム転送の回数が少なく、メモリクリアの時間も短い、良好なクリア動作のできる効果付与装置を提供せんとするものである。   The present invention has been devised in view of such circumstances, and it is an object of the present invention to provide an effect imparting device that can perform a clear operation with a small number of program transfers and a short memory clear time.

本発明に係る効果付与装置の構成は、
処理プログラムを記憶するプログラムメモリと、
該プログラムメモリに記憶された処理プログラムに従って、入力信号の効果付与処理を行う演算部と、
該演算部によりデータの入出力・一時記憶が可能な外部メモリと、
外部からのコマンドによる上記外部メモリアクセス制御可能なインターフェースメモリとを少なくとも有しており、
新規プログラム転送時にはインターフェースメモリにメモリクリア動作のためのコマンドが外部から設定され、該インターフェースメモリは、このコマンドに従って、外部メモリのメモリクリアを実行し、上記プログラムメモリには該新規プログラムが転送され、メモリクリア完了後は上記インターフェースメモリにのみ新規プログラムに対応したコマンドが書き込まれ、該インターフェースメモリは、このコマンドに従って、上記演算部に新規プログラムに従った処理を実行させることを基本的な特徴としている。
The configuration of the effect applying device according to the present invention is as follows.
A program memory for storing a processing program;
An arithmetic unit that performs an input signal effect applying process according to a processing program stored in the program memory;
An external memory capable of data input / output and temporary storage by the arithmetic unit;
At least an interface memory capable of controlling access to the external memory by an external command,
At the time of new program transfer, a command for memory clear operation is set from the outside to the interface memory, the interface memory executes memory clear of the external memory according to this command, After the memory clear is completed, a command corresponding to the new program is written only in the interface memory, and the interface memory has a basic feature that allows the arithmetic unit to execute processing according to the new program in accordance with this command. .

上記構成によれば、インターフェースメモリに外部メモリのメモリクリアのコマンドを送ることで、外部メモリのメモリクリアが実行され、プログラムメモリには次の新規プログラムが転送される。そして、外部メモリのメモリクリア後には、上記インターフェースメモリにのみ新規プログラムに対応したコマンドが転送されるので、該インターフェースメモリにより、このコマンドに従って、上記演算部に新規プログラムに従った処理を実行させることが可能となる。従って、プログラム転送の回数が少なく、外部メモリのクリアの時間も短い、良好なクリア動作ができるようになる。   According to the above configuration, the memory clear of the external memory is executed by sending a command to clear the memory of the external memory to the interface memory, and the next new program is transferred to the program memory. Then, after clearing the memory of the external memory, a command corresponding to the new program is transferred only to the interface memory, so that the interface memory causes the arithmetic unit to execute processing according to the new program according to the command. Is possible. Therefore, it is possible to perform a clear operation with a small number of program transfers and a short time for clearing the external memory.

本発明の上記構成によれば、インターフェースメモリに外部メモリのメモリクリアのコマンドが送られることで、外部メモリのメモリクリアが実行され、プログラムメモリには次の新規プログラムが転送され、外部メモリのメモリクリア後には、上記インターフェースメモリにのみ新規プログラムに対応したコマンドが転送されるので、該インターフェースメモリにより、このコマンドに従って、上記演算部に新規プログラムに従った処理を実行させることが可能となり、そのため、プログラム転送の回数が少なく、外部メモリのクリアの時間も短い、良好なクリア動作ができるようになるという優れた効果を奏し得ることになる。   According to the above configuration of the present invention, the memory clear command of the external memory is executed by sending the memory clear command of the external memory to the interface memory, the next new program is transferred to the program memory, and the memory of the external memory After clearing, since the command corresponding to the new program is transferred only to the interface memory, the interface memory can cause the arithmetic unit to execute processing according to the new program according to the command. It is possible to obtain an excellent effect that a good clear operation can be performed with a small number of program transfers and a short time for clearing the external memory.

以下、本発明の実施の形態を図示例と共に説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、エフェクタと称する、楽音に対して、任意の音響効果(エフェクト)をかける本発明の一実施例構成を示す構成概略図である。   FIG. 1 is a schematic diagram showing the configuration of an embodiment of the present invention that applies an arbitrary acoustic effect (effect) to a musical sound, called an effector.

同図に示すように、本構成は、DSP1を中心に、処理プログラムを記憶するプログラムメモリ10と、該プログラムメモリ10に記憶された処理プログラムに従って、入力信号の効果付与処理を行う演算部12と、DSP1外部にある遅延メモリとして使用され、上記演算部12によりデータの入出力・一時記憶が可能な外部メモリ20(後述するインターフェースメモリ14とダイレクトに繋がっている)と、外部からのコマンドによる上記外部メモリ20のアクセス制御可能なインターフェースメモリ14とを有しており、その他に、DSP1内部に上記演算部12での各種エフェクト用プログラムで使用される係数を記憶しておく係数メモリ16と、同じく演算部12での処理に必要なデータを記憶しておくデータメモリ18とを有すると共に、DSP1外部にあり、システムバス(図示無し)を介してDSP1に繋がっているCPU22とを少なくとも備えている。   As shown in the figure, this configuration is centered on the DSP 1, a program memory 10 that stores a processing program, and an arithmetic unit 12 that performs an input signal effect applying process according to the processing program stored in the program memory 10. The external memory 20 used as a delay memory outside the DSP 1 and capable of data input / output / temporary storage by the arithmetic unit 12 (directly connected to an interface memory 14 described later), and the above-mentioned by an external command The external memory 20 has an interface memory 14 capable of controlling access, and in addition, a coefficient memory 16 for storing coefficients used in various effect programs in the arithmetic unit 12 in the DSP 1. And a data memory 18 for storing data necessary for processing in the arithmetic unit 12. Rutotomoni located at DSP1 outside, and at least a CPU22 which are connected to DSP1 via the system bus (not shown).

図2は、DSP1の基本的な構成を示す構成図である。ここで、プログラムメモリ10はどこにも接続されていないが、全体の動作を制御する。そのプログラムメモリ10に記憶されたプログラム及び係数メモリ16に記憶された各種係数に従って、該DSP1の演算部12は、図2に示すような回路構成を構成する。   FIG. 2 is a configuration diagram showing a basic configuration of the DSP 1. Here, the program memory 10 is not connected anywhere, but controls the overall operation. In accordance with the program stored in the program memory 10 and various coefficients stored in the coefficient memory 16, the arithmetic unit 12 of the DSP 1 forms a circuit configuration as shown in FIG.

同図に示す構成で、DSP1内部にはデータ用のバス(D_Bus)100dと係数用のバス(C_Bus)100cが設けられており、データ用のバス(D_Bus)100dに、オーディオI/O(102)、データメモリ20、外部メモリI/O(104)、乗算器106とバレルシフタ108、加算器120とアキュムレータ122が、また係数用のバス(C_Bus)100cに、係数メモリ18、乗算器106とバレルシフタ108、加算器120とアキュムレータ122が、夫々繋がっている。   In the configuration shown in the figure, a data bus (D_Bus) 100d and a coefficient bus (C_Bus) 100c are provided in the DSP 1, and an audio I / O (102) is connected to the data bus (D_Bus) 100d. ), Data memory 20, external memory I / O (104), multiplier 106 and barrel shifter 108, adder 120 and accumulator 122, coefficient bus 18 (C_Bus), coefficient memory 18, multiplier 106 and barrel shifter 108, the adder 120 and the accumulator 122 are connected to each other.

上記オーディオI/O(102)から入力された楽音信号(In_reg)は、乗算器106にD_inとして入力され、係数メモリ18から取り出された所定の係数C(n)も、同乗算器106にC_inとして入力され、それらが掛け合わされ、バレルシフタ108で所定のビット数(Shift_val)シフトされ、それが、次の加算器120で、アキュムレータ122の値と加算される。   The musical tone signal (In_reg) input from the audio I / O (102) is input to the multiplier 106 as D_in, and the predetermined coefficient C (n) extracted from the coefficient memory 18 is also input to the multiplier 106 by C_in. Are multiplied by each other, shifted by a predetermined number of bits (Shift_val) by the barrel shifter 108, and added to the value of the accumulator 122 by the next adder 120.

図3は、ディレイ回路の等価回路構成を示している。同図に示すように、オーディオI/O(102)から入力されてくる楽音信号(In_reg)に、乗算器106により係数メモリ18から読み出された係数C(c_in)が乗算され、その乗算値がバレルシフタ108を経由し、それがアキュムレータ122にA_regとして記憶される。   FIG. 3 shows an equivalent circuit configuration of the delay circuit. As shown in the figure, the musical tone signal (In_reg) input from the audio I / O (102) is multiplied by the coefficient C (c_in) read from the coefficient memory 18 by the multiplier 106, and the multiplication value is obtained. Passes through the barrel shifter 108 and is stored in the accumulator 122 as A_reg.

外部メモリ20から読み出されたデータT(r_dat1)とT(r_dat2)のうちのデータT(r_dat2)は、上記乗算器106で入力D_inとして、係数メモリ18からの係数C(c_fb)が乗算され、それが上記加算器120で、既にアキュムレータ122に記憶されているA_regに加算され、それが、インターフェースメモリ14を介して外部メモリ20に書き込まれるデータT(w_dat)として該外部メモリ20に書き込まれる。   Data T (r_dat2) out of the data T (r_dat1) and T (r_dat2) read from the external memory 20 is multiplied by the coefficient C (c_fb) from the coefficient memory 18 as the input D_in by the multiplier 106. It is added to A_reg already stored in the accumulator 122 by the adder 120, and it is written to the external memory 20 as data T (w_dat) to be written to the external memory 20 via the interface memory 14. .

また外部メモリ20から読み出されたデータT(r_dat1)はD_inとして、また係数メモリ18から読み出された係数C(c_05)(その値は0.5)はC_inとして、上記乗算器106で乗算され、その乗算値はバレルシフタ108でシフト(*2)され、上記アキュムレータ122に保存され(A_reg)、このアキュムレータ122の値A_regがオーディオI/O(102)から右アウトプットOut_Rとして出力される。   Data T (r_dat1) read from the external memory 20 is multiplied by D_in, and coefficient C (c_05) (its value is 0.5) read from the coefficient memory 18 is multiplied by the multiplier 106 as C_in. The multiplication value is shifted (* 2) by the barrel shifter 108, stored in the accumulator 122 (A_reg), and the value A_reg of the accumulator 122 is output from the audio I / O (102) as the right output Out_R.

他方上記インターフェースメモリ14を介して外部メモリ20から再び読み出されたデータT(r_dat2)はD_inとして、また係数メモリ18から読み出された係数C(c_05)(その値は0.5)はC_inとして、上記乗算器106で乗算され、その乗算値はバレルシフタ108でシフト(*2)され、上記アキュムレータ122に保存され(A_reg)、このアキュムレータ122の値A_regがオーディオI/O(102)から左アウトプットOut_Lとして出力される。   On the other hand, the data T (r_dat2) read again from the external memory 20 via the interface memory 14 is D_in, and the coefficient C (c_05) (its value is 0.5) read from the coefficient memory 18 is C_in. Multiplyed by the multiplier 106, the multiplied value is shifted (* 2) by the barrel shifter 108 and stored in the accumulator 122 (A_reg). The value A_reg of the accumulator 122 is output from the audio I / O (102) to the left output. Output as Out_L.

このように、一部の楽音信号が遅延メモリを介して繰り返し処理されることでディレイ回路が実現されることになる。   In this way, a delay circuit is realized by repeatedly processing a part of musical sound signals via the delay memory.

図4は、本発明構成中で使用されるインターフェースメモリ14による、外部メモリ20に対してのデータのアクセスの状態を示す概要説明図である。同図は、図3のディレイの通常動作時のインターフェースメモリ14の状態が示されている。この際、エフェクトとして使用できるエリアは0x00〜0x07で、ディレイでは0x06や、0x07は使用されていない。   FIG. 4 is a schematic explanatory diagram showing the state of data access to the external memory 20 by the interface memory 14 used in the configuration of the present invention. This figure shows the state of the interface memory 14 during the normal operation of the delay of FIG. At this time, the area that can be used as an effect is 0x00 to 0x07, and 0x06 and 0x07 are not used in the delay.

インターフェースメモリ14の最初のアドレス(0×00)には、外部メモリ20への書き込み命令(w)と外部メモリ20の書き込み先アドレス(w_adr)が、また次のアドレス(0×01)には、書き込むデータの内容(w_dat)がある。それに従うと、外部メモリ20のアドレス(w_dar)にデータ(w_dat)が書き込まれることになる。   The first address (0 × 00) of the interface memory 14 has a write command (w) to the external memory 20 and the write destination address (w_adr) of the external memory 20, and the next address (0 × 01) There is data content (w_dat) to be written. According to this, data (w_dat) is written to the address (w_dar) of the external memory 20.

以後インターフェースメモリ14のアドレス(0×02)には、外部メモリ20への読み込み命令(R)と外部メモリ20の読み込み先アドレス(r_adr1)が、また次のアドレス(0×03)には、そのアドレスから読み出されるはずの記憶領域が設けられており、それに従った場合には、外部メモリ20の読み込み先アドレス(r_adr1)から、データ(r_dat1)が読み込まれることになる状態が示されている。   Thereafter, the address (0 × 02) of the interface memory 14 includes the read instruction (R) to the external memory 20 and the read destination address (r_adr1) of the external memory 20, and the next address (0 × 03) A storage area that should be read from the address is provided, and in accordance with the storage area, the state in which the data (r_dat1) is read from the read destination address (r_adr1) of the external memory 20 is shown.

同様に、インターフェースメモリ14のアドレス(0×04)には、外部メモリ20への読み込み命令(R)と外部メモリ20の読み込み先アドレス(r_adr2)が、また次のアドレス(0×05)には、そのアドレスから読み出されるはずの記憶領域が設けられており、それに従った場合には、外部メモリ20の読み込み先アドレス(r_adr2)から、データ(r_dat2)が読み込まれることになる状態が示されている。   Similarly, the address (0 × 04) of the interface memory 14 includes a read command (R) to the external memory 20 and a read destination address (r_adr2) of the external memory 20, and the next address (0 × 05). A storage area that should be read from the address is provided, and a state in which data (r_dat2) is read from the read destination address (r_adr2) of the external memory 20 is shown in accordance with the storage area. Yes.

図5は、このインターフェースメモリ14による、外部メモリ20に対してデータクリアを実施した際の状態を示している。特に、同図は、図3のディレイに切り替える際に外部メモリ20の内容をクリアするためのインターフェースメモリ14の状態を示している。   FIG. 5 shows a state when data is cleared to the external memory 20 by the interface memory 14. In particular, this figure shows the state of the interface memory 14 for clearing the contents of the external memory 20 when switching to the delay of FIG.

インターフェースメモリ14の最初のアドレス(0×00)には、外部メモリ20への書き込み命令(w)と外部メモリ20の書き込み先アドレス(w_adr_clear1)が、また次のアドレス(0×01)には、書き込むデータの内容(0;メモリクリア)がある。それに従うと、外部メモリ20のアドレス(w_adr_clear1)にデータ(0)が書き込まれ、メモリクリアされることになる。   The first address (0 × 00) of the interface memory 14 has a write command (w) to the external memory 20 and a write destination address (w_adr_clear1) of the external memory 20, and the next address (0 × 01) There is a content of data to write (0; memory clear). According to this, data (0) is written to the address (w_adr_clear1) of the external memory 20, and the memory is cleared.

以後インターフェースメモリ14の動作は、以上の状態を外部メモリ20の必要な範囲になるまで繰り返すことになる。   Thereafter, the operation of the interface memory 14 repeats the above state until the necessary range of the external memory 20 is reached.

図4に示した通常状態では使用されないアドレス0x06や、0x07を含む4回の書き込み動作を外部メモリ20に対して行うことができるため、高速に外部メモリ20をクリアすることができることになる。   Since four write operations including addresses 0x06 and 0x07 that are not used in the normal state shown in FIG. 4 can be performed on the external memory 20, the external memory 20 can be cleared at high speed.

すなわち、図4に示した通常状態で外部メモリ20をクリアするためには、図3の係数値C(c_in)やC(c_fb)をゼロに設定した状態で、図5の4倍の時間待機する必要がある。   That is, in order to clear the external memory 20 in the normal state shown in FIG. 4, the time waiting is four times that in FIG. 5 with the coefficient values C (c_in) and C (c_fb) in FIG. 3 set to zero. There is a need to.

図6は、該エフェクタのエフェクト変更処理の処理フローを示すフローチャートである。   FIG. 6 is a flowchart showing a processing flow of effect change processing of the effector.

CPU22によりエフェクト変更処理が実行されると、その指令により、上記プログラムメモリ10にエフェクト用プログラムが転送される(ステップS100)。   When the effect change process is executed by the CPU 22, the effect program is transferred to the program memory 10 according to the command (step S100).

次に同じくCPU22の指令により、上記係数メモリ16にエフェクト用係数が転送される(ステップS102)。   Next, the effect coefficient is transferred to the coefficient memory 16 in accordance with a command from the CPU 22 (step S102).

その後プログラムによるインターフェースメモリ14の書換が禁止される(ステップS104)。書換の禁止は、インターフェースメモリに備えられた書換禁止フラグの設定、または係数の一時的な変更により実現される(図3のディレイ回路ではc_gain_inをゼロに設定する)。   Thereafter, rewriting of the interface memory 14 by the program is prohibited (step S104). The prohibition of rewriting is realized by setting a rewriting prohibition flag provided in the interface memory or temporarily changing the coefficient (c_gain_in is set to zero in the delay circuit of FIG. 3).

そしてインターフェースメモリ14にクリア用アドレスとデータとが転送される(ステップS106)。   Then, the clearing address and data are transferred to the interface memory 14 (step S106).

所定時間が経過したか否かがチェックされ(ステップS108)、経過していない場合は(ステップS108;N)、その時間が経過するまで以上のチェックを繰り返す。   It is checked whether or not a predetermined time has passed (step S108). If it has not passed (step S108; N), the above check is repeated until the time has passed.

他方所定時間が経過した場合は(ステップS108;Y)、インターフェースメモリ14にエフェクト用アドレスとデータが転送され(ステップS110)、上記プログラムによるインターフェースメモリ14書換禁止が解かれる(ステップS112)。   On the other hand, when the predetermined time has elapsed (step S108; Y), the effect address and data are transferred to the interface memory 14 (step S110), and the rewrite prohibition of the interface memory 14 by the program is released (step S112).

以下の7ステップのプログラムは、図3のディレイ処理を実現するためのもので有り、プログラムメモリ10には、このようなプログラムが記憶される。
step1 A_reg = C(c_in) * In_reg
step2 A_reg = C(c_fb) * T(r_dat2) + A_reg
step3 T(w_dat) = A_reg
step4 A_reg = C(c_05) * T(r_dat1) * 2
step5 Out_R = A_reg
step6 A_reg = C(c_05) * T(r_dat2) * 2
step7 Out_L = A_reg
尚、上記step4とstep6のC(c_05)には、0.5が格納されており、また * 2は、バレルシフタ108のシフトにより実現される。
The following seven-step program is for realizing the delay processing of FIG. 3, and such a program is stored in the program memory 10.
step1 A_reg = C (c_in) * In_reg
step2 A_reg = C (c_fb) * T (r_dat2) + A_reg
step3 T (w_dat) = A_reg
step4 A_reg = C (c_05) * T (r_dat1) * 2
step5 Out_R = A_reg
step6 A_reg = C (c_05) * T (r_dat2) * 2
step7 Out_L = A_reg
Note that 0.5 is stored in C (c_05) of step 4 and step 6, and * 2 is realized by the shift of the barrel shifter 108.

図7は、上記プログラムが実行された際に、図2の各機能ブロックがどのような状態になるのかを示した説明図である。同図において、C_srcとD_srcは、夫々のバスにどこからの信号が流れ込むのか、C_Dst及びD_Dstは、バスの信号がどこに流れ出すのか(乗算器106には常に流れ出す)が示されている。   FIG. 7 is an explanatory diagram showing the state of each functional block in FIG. 2 when the above program is executed. In the figure, C_src and D_src indicate where the signal flows from the respective buses, and C_Dst and D_Dst indicate where the bus signals flow (always flows to the multiplier 106).

同図と照らし合わせて、上記プログラムについて説明すると、以下のようになる。   The above program will be described with reference to FIG.

step1で、C_Busには、係数メモリ16のアドレスc_inのデータC(c_in)が流れ、またD_BusにはオーディオI/O(102)の入力レジスタIn_regのデータが流れる。夫々バスは乗算器106に接続されており、乗算器106のC_in及びD_inに入力される。   In step 1, data C (c_in) at the address c_in of the coefficient memory 16 flows in C_Bus, and data in the input register In_reg of the audio I / O (102) flows in D_Bus. Each bus is connected to a multiplier 106 and is input to C_in and D_in of the multiplier 106.

乗算結果はシフト量(Shift_val)がゼロにセットされたバレルシフタ108を経由して、加算器120のA_inに入力される。加算器120のB_inはゼロが選択される。   The multiplication result is input to A_in of the adder 120 via the barrel shifter 108 in which the shift amount (Shift_val) is set to zero. Zero is selected for B_in of the adder 120.

結果としてアキュムレータ122であるA_regには、乗算器106の出力であるC(in)×In_regが保存されることになる。   As a result, C_in_In_reg that is the output of the multiplier 106 is stored in the A_reg that is the accumulator 122.

以下、同様にstep7まで各機能がプログラムの内容に従って動作することにより、ディレイが実現されることになる。   Hereinafter, similarly, each function operates in accordance with the contents of the program up to step 7, thereby realizing a delay.

以上詳述した本実施例構成によれば、インターフェースメモリ14に外部メモリ20のメモリクリアのコマンドを送ることで、外部メモリ20のメモリクリアが実行され、プログラムメモリ10には新規プログラムが転送される。そして、外部メモリ20のメモリクリア後には、上記インターフェースメモリ14にのみ新規プログラムに対応したコマンドが転送されるので、該インターフェースメモリ14により、このコマンドに従って、上記演算部12に新規プログラムに従った処理を実行させることが可能となる。従って、従来のようにクリア専用のプログラムが転送されるわけでもなく、プログラム転送の回数が少なくなり、外部メモリ20のクリアの時間も短くなるので、良好なクリア動作ができるようになる。   According to the configuration of this embodiment described above in detail, by sending a memory clear command of the external memory 20 to the interface memory 14, the memory clear of the external memory 20 is executed, and a new program is transferred to the program memory 10. . Then, after the memory of the external memory 20 is cleared, a command corresponding to the new program is transferred only to the interface memory 14, and the interface memory 14 performs processing according to the new program to the arithmetic unit 12 according to the command. Can be executed. Therefore, a clear-only program is not transferred as in the prior art, and the number of program transfers is reduced, and the clearing time of the external memory 20 is shortened, so that a good clearing operation can be performed.

尚、本発明の効果付与装置は、上述の図示例にのみ限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。   It should be noted that the effect imparting device of the present invention is not limited to the illustrated examples described above, and it is needless to say that various modifications can be made without departing from the scope of the present invention.

本発明の効果付与装置は、上記エフェクタの構成の限られず、電子楽器など、その利用範囲は広い。   The effect imparting device of the present invention is not limited to the configuration of the effector, and has a wide range of use such as an electronic musical instrument.

本発明の一実施例構成であるエフェクタの構成を示す概略図である。It is the schematic which shows the structure of the effector which is one Example structure of this invention. DSP1の基本的な構成を示す構成図である。It is a block diagram which shows the basic composition of DSP1. 以上のDSP1で構成されるディレイ回路の等価回路を示す機能ブロック図である。It is a functional block diagram which shows the equivalent circuit of the delay circuit comprised by the above DSP1. 本発明構成中で使用されるインターフェースメモリによる、外部メモリに対してのデータのアクセスの状態を示す概要説明図である。It is a schematic explanatory drawing which shows the state of the access of the data with respect to external memory by the interface memory used in this invention structure. インターフェースメモリによる、外部メモリに対してデータクリアを実施した際の状態を示す概要説明図である。It is a schematic explanatory drawing which shows the state when data clear is implemented with respect to the external memory by the interface memory. エフェクタのエフェクト変更処理の処理フローを示すフローチャートである。It is a flowchart which shows the processing flow of the effect change process of an effector. 本実施例構成で用いられるプログラムが実行された際に、図2の各機能ブロックがどのような状態になるのかを示した説明図である。It is explanatory drawing which showed what kind of state each functional block of FIG. 2 will be when the program used by the structure of a present Example is performed. DSPで構成される従来の効果付与装置を概略的に示したブロック図である。It is the block diagram which showed schematically the conventional effect provision apparatus comprised with DSP.

1 DSP
10 プログラムメモリ
12 演算部
14 インターフェースメモリ
16 係数メモリ
18 データメモリ
20 外部メモリ
22 CPU
100 システムバス
100d データ用のバス
100c 係数用のバス
102 オーディオI/O
104 外部メモリI/O
106 乗算器
108 バレルシフタ
120 加算器
122 アキュムレータ
200 楽音生成装置
202 D/A変換器
204 サウンドシステム
1 DSP
DESCRIPTION OF SYMBOLS 10 Program memory 12 Operation part 14 Interface memory 16 Coefficient memory 18 Data memory 20 External memory 22 CPU
100 System bus 100d Data bus 100c Coefficient bus 102 Audio I / O
104 External memory I / O
106 multiplier 108 barrel shifter 120 adder 122 accumulator 200 musical tone generator 202 D / A converter 204 sound system

Claims (1)

処理プログラムを記憶するプログラムメモリと、
該プログラムメモリに記憶された処理プログラムに従って、入力信号の効果付与処理を行う演算部と、
該演算部によりデータの入出力・一時記憶が可能な外部メモリと、
外部からのコマンドによる上記外部メモリアクセス制御可能なインターフェースメモリとを少なくとも有しており、
新規プログラム転送時にはインターフェースメモリにメモリクリア動作のためのコマンドが外部から設定され、該インターフェースメモリは、このコマンドに従って、外部メモリのメモリクリアを実行し、上記プログラムメモリには該新規プログラムが転送され、メモリクリア完了後は上記インターフェースメモリにのみ新規プログラムに対応したコマンドが書き込まれ、該インターフェースメモリは、このコマンドに従って、上記演算部に新規プログラムに従った処理を実行させることを特徴とする効果付与装置。
A program memory for storing a processing program;
An arithmetic unit that performs an input signal effect applying process according to a processing program stored in the program memory;
An external memory capable of data input / output and temporary storage by the arithmetic unit;
At least an interface memory capable of controlling access to the external memory by an external command,
At the time of new program transfer, a command for memory clear operation is set from the outside to the interface memory, the interface memory executes memory clear of the external memory according to this command, the new program is transferred to the program memory, After the memory clear is completed, a command corresponding to the new program is written only in the interface memory, and the interface memory causes the arithmetic unit to execute processing according to the new program according to the command. .
JP2014108312A 2014-05-26 2014-05-26 Effect imparting device Expired - Fee Related JP6391991B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014108312A JP6391991B2 (en) 2014-05-26 2014-05-26 Effect imparting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014108312A JP6391991B2 (en) 2014-05-26 2014-05-26 Effect imparting device

Publications (2)

Publication Number Publication Date
JP2015225390A true JP2015225390A (en) 2015-12-14
JP6391991B2 JP6391991B2 (en) 2018-09-19

Family

ID=54842110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014108312A Expired - Fee Related JP6391991B2 (en) 2014-05-26 2014-05-26 Effect imparting device

Country Status (1)

Country Link
JP (1) JP6391991B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08152884A (en) * 1994-11-30 1996-06-11 Kawai Musical Instr Mfg Co Ltd Sound source device
JPH08335081A (en) * 1995-06-09 1996-12-17 Kawai Musical Instr Mfg Co Ltd Signal processing device
JPH09244651A (en) * 1996-03-11 1997-09-19 Kawai Musical Instr Mfg Co Ltd Sound effect adding device using dsp
JP2010541103A (en) * 2007-10-02 2010-12-24 クゥアルコム・インコーポレイテッド Memory controller for performing memory block initialization and copying
JP2011118501A (en) * 2009-12-01 2011-06-16 Yokogawa Electric Corp Data transfer system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08152884A (en) * 1994-11-30 1996-06-11 Kawai Musical Instr Mfg Co Ltd Sound source device
JPH08335081A (en) * 1995-06-09 1996-12-17 Kawai Musical Instr Mfg Co Ltd Signal processing device
JPH09244651A (en) * 1996-03-11 1997-09-19 Kawai Musical Instr Mfg Co Ltd Sound effect adding device using dsp
JP2010541103A (en) * 2007-10-02 2010-12-24 クゥアルコム・インコーポレイテッド Memory controller for performing memory block initialization and copying
JP2011118501A (en) * 2009-12-01 2011-06-16 Yokogawa Electric Corp Data transfer system

Also Published As

Publication number Publication date
JP6391991B2 (en) 2018-09-19

Similar Documents

Publication Publication Date Title
US6957242B1 (en) Noninterfering multiply-MAC (multiply accumulate) circuit
JP2020521275A5 (en)
JP6391991B2 (en) Effect imparting device
CN107015805B (en) Method and device for configuring external sound card
JP2009033439A5 (en)
CN110574100B (en) Electronic musical instrument
JPH04330561A (en) Digital signal processor
US9749746B2 (en) Devices and methods for reducing the processing time of the convergence of a spatial filter
JP2012205298A (en) Digital signal processor and program
JP2008210280A (en) Semiconductor device and dma controller
BenSaleh et al. Field programmable gate array realization of microprogrammed controller based parallel digital FIR filter architecture
JP2014160393A (en) Microprocessor and arithmetic processing method
JP4404065B2 (en) Digital signal processor
JP2008071170A (en) Floating point arithmetic device and radar signal processor using the same device
TW201826114A (en) Processor of semiconductor device and method of operating same
KR100396189B1 (en) Digital signal processing apparatus and method for controlling the same
JP4696989B2 (en) Signal processing method and signal processing apparatus
CN110971631B (en) Method, device, server and medium for accessing ceph cluster
JP6505398B2 (en) Effect giving device
US9904647B2 (en) Data flow circuits for intervention in data communication
JP5003070B2 (en) Digital signal processor
WO2021035715A1 (en) Data processing method and device
JP5867055B2 (en) Control device and simulation method
JPS63298633A (en) Instruction fetching control system in pipeline processor
WO2017056427A1 (en) Program rewrite device, method, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170421

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180213

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180402

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180731

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180822

R150 Certificate of patent or registration of utility model

Ref document number: 6391991

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees