Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0786750B2 - Effector - Google Patents
[go: Go Back, main page]

JPH0786750B2 - Effector - Google Patents

Effector

Info

Publication number
JPH0786750B2
JPH0786750B2 JP3035991A JP3599191A JPH0786750B2 JP H0786750 B2 JPH0786750 B2 JP H0786750B2 JP 3035991 A JP3035991 A JP 3035991A JP 3599191 A JP3599191 A JP 3599191A JP H0786750 B2 JPH0786750 B2 JP H0786750B2
Authority
JP
Japan
Prior art keywords
register
output
value
address
vibrato
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 - Fee Related
Application number
JP3035991A
Other languages
Japanese (ja)
Other versions
JPH04212995A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Publication of JPH04212995A publication Critical patent/JPH04212995A/en
Publication of JPH0786750B2 publication Critical patent/JPH0786750B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、音響信号に効果付加を
行うエフェクタに関する。
BACKGROUND OF THE INVENTION The present invention adds an effect to an acoustic signal.
Regarding effectors to do.

【0002】[0002]

【従来の技術】従来から、アコースティックピアノにお
ける箱鳴り音や共鳴音を模倣すべく、出力音響信号に残
響効果を付加するエフェクタがある。
2. Description of the Related Art Conventionally, acoustic pianos have been used.
There is an effector that adds a reverberation effect to the output acoustic signal in order to imitate the box noise and the resonance sound .

【0003】[0003]

【発明が解決しようとする課題】しかしながら、単に出
力音響信号に残響効果を付加するだけではアコースティ
ックピアノ等の自然楽器における箱鳴り音や共鳴音を模
倣するには程遠く、十分な効果付加が行なわれていると
は言えなかった。なぜなら、従来の方式においては、こ
うした残響音は、押鍵に対応して発生する音高周波数信
号に基づいて生成されるものであり、これは押鍵により
発する楽音、つまりピアノでいえば、打鍵に対応する弦
の振動のみによって発するものである。しかしながら、
実際には打鍵を行なうと、この打鍵を直接受けることに
より振動する弦以外に、この弦の振動に共振する弦があ
り、共鳴音や箱鳴り音は、これら振動している弦全てに
基づいて発生するものである。つまり、共鳴音や箱鳴り
音を模倣するために残響効果を付加するのであれば、こ
れら振動している弦の固有周波数等全てを考慮する必要
がある。したがってこの残響音には、ひとつの周波数の
楽音信号の遅延成分だけでなく、複数種の周波数の楽音
信号の遅延成分が含まれていることになり、全体として
複雑に周波数が変化することになる。 これに対して、従
来の方式のように、ただ単にひとつの楽音周波数から残
響音を生成したのでは、これら複雑な周波数変化が表現
できず、実際の共鳴音や箱鳴り音とは程遠いものとしか
ならなかった。
However, simply adding the reverberation effect to the output sound signal is far from imitating the box noise or resonance sound of a natural musical instrument such as an acoustic piano, and sufficient effect addition is performed. I couldn't say that. This is because the conventional method
The reverberation sound is a high frequency signal generated in response to a keypress.
It is generated based on the issue.
A musical sound that is emitted, that is, a string that corresponds to a keystroke in a piano.
It is emitted only by the vibration of. However,
Actually, when you type a key, you will receive this key directly.
In addition to the more vibrating strings, there are strings that resonate with the vibration of this string.
Resonance sound and box noise are generated in all these vibrating strings.
It is generated based on. In other words, resonance and box noise
If you want to add a reverberation effect to mimic the sound,
It is necessary to consider all natural frequencies of the vibrating strings.
There is. Therefore, this reverberation has one frequency
Not only the delay component of the tone signal, but also the tone of multiple types of frequencies
Since the delay component of the signal is included, as a whole
The frequency will change in a complicated manner. By contrast,
Just like the conventional method, there is only one tone frequency left
By creating a sound, these complex frequency changes are expressed.
I can not do it, but it is far from the actual resonance sound and box noise
did not become.

【0004】本発明の課題は、出力音響信号に対し、ア
コースティックピアノ等の自然楽器における箱鳴り音や
共鳴音を模倣するのに十分な残響効果を付与することの
できるエフェクタを実現することにある。
An object of the present invention is to compare the output acoustic signal with an audio signal.
Box sounds of natural musical instruments such as caustic piano
Of adding enough reverberation to mimic the resonance
It is about realizing an effector that can.

【0005】[0005]

【発明の要点】上記課題を解決するため、本発明は、効
果付与の対象となる音響信号に対してビブラート効果を
付与してエフェクタのウェットラインに入力するように
したことを要点とする。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention provides a vibrato effect for an acoustic signal to which an effect is applied.
The point is that it is given and input to the wet line of the effector.

【0006】このような処理を施せば、残響音はビブラ
ートが付与されて周波数が変化する楽音信号に基づいて
生成され、複雑に周波数の変化するものとなり、この結
果、より自然楽器に近い箱鳴り音あるいは共鳴音を模倣
することができる。
With such processing, the reverberation sound is vibrato.
Based on a tone signal whose frequency changes with
This is generated, and the frequency is changed in a complicated manner.
As a result, it mimics a boxing or resonance sound that is more like a natural musical instrument.
can do.

【0007】[0007]

【実施例】以下、図面を参照しながら本発明の実施例に
ついて詳細に説明する。図1は、本発明の一実施例に係
る構成図である。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a configuration diagram according to an embodiment of the present invention.

【0008】CPU101は、バス114を介して接続
されるROM102に記憶されたプログラムを、RAM
103をワークメモリとして実行することによって、鍵
盤108からのインタフェース回路(I/F)109、
バス114を介して入力する演奏情報に基づく音源10
4の制御、A/D変換器111を介して入力するペダル
110の操作情報に基づくDSP(デジタル信号処理プ
ログセッサ:DigitalSingnal Processor)105の制御
等を行う。
The CPU 101 stores the program stored in the ROM 102 connected via the bus 114 in the RAM.
By executing 103 as a work memory, an interface circuit (I / F) 109 from the keyboard 108,
Sound source 10 based on performance information input via the bus 114
4 and control of a DSP (Digital Signal Processing Processor: Digital Singnal Processor) 105 based on operation information of the pedal 110 input through the A / D converter 111.

【0009】音源104から発生された楽音信号は、D
SP105に入力する。DSP105は、接続された遅
延用メモリ(E)106等を使用し、所定の動作プログ
ラムを実行することにより、音源104から入力された
デジタル楽音信号データに、読み出しアドレスに所望の
時間変化を与えて変調させたり残響効果を付加する処理
を行う。変調され残響効果の付加されたディジタル楽音
信号は、D/A変換器107で左右1チャネルのアナロ
グ楽音信号に変換、出力された後、それぞれ右チャネル
及び左チャネル用のアンプ112L及び112Rで増幅
され、スピーカ113L及び113Rから放音される。
The tone signal generated by the sound source 104 is D
Input to SP105. The DSP 105 uses the connected delay memory (E) 106 and the like and executes a predetermined operation program to give a desired time change to the read address of the digital tone signal data input from the sound source 104. Performs processing to modulate or add reverberation effects. The digital tone signal that has been modulated and added with the reverberation effect is converted into an analog tone signal of left and right channels by the D / A converter 107 and output, and then amplified by the amplifiers 112L and 112R for the right and left channels, respectively. , Sounds are emitted from the speakers 113L and 113R.

【0010】次に、図2は、図1のDSP105の内部
構成を示す図である。同図において、プログラムメモリ
201は所定のマイクロプログラムを格納するメモリで
あり、図1のCPU101からの指示に従って所定の動
作プログラムを制御回路202に供給する。
Next, FIG. 2 is a diagram showing an internal configuration of the DSP 105 of FIG. In the figure, a program memory 201 is a memory for storing a predetermined microprogram, and supplies a predetermined operation program to the control circuit 202 in accordance with an instruction from the CPU 101 of FIG.

【0011】制御回路202は、プログラムメモリ20
1の出力内容に基づいて、後述する各レジスタ、メモリ
間のデータ転送と演算、各ゲートやラッチを開閉制御す
るための各種制御信号、並びにサンプリングタイミング
毎にインクリメントされるカウンタ値SCを出力し、所
望の信号処理動作を実行する。
The control circuit 202 includes a program memory 20.
Based on the output content of 1, outputs each register to be described later, data transfer and calculation between memories, various control signals for controlling opening and closing of each gate and latch, and a counter value SC incremented at each sampling timing, Perform desired signal processing operations.

【0012】係数メモリ(P)203は、後述する図1
7に示すように、残響効果付加のための各種パラメータ
を格納するレジスタであり、これらの係数は、CPU1
01の制御によって、図1のRAM103から読み出さ
れて格納される。
The coefficient memory (P) 203 is shown in FIG.
As shown in FIG. 7, it is a register for storing various parameters for adding the reverberation effect, and these coefficients are stored in the CPU 1
Under the control of 01, it is read from the RAM 103 of FIG. 1 and stored.

【0013】ワークメモリ(W)204は、後述する図
18に示すように、DSP105内で作成される波形信
号を一時的に退避させておく作業用のメモリである。ま
た、アドレスオフセットメモリ(T)205は、後述す
る図19に示すように、後述する遅延メモリ(E)10
6のアドレスのオフセット値を格納するレジスタであ
り、そのオフセット値はCPU101の制御によって図
1のRAM103から読み出されて格納される。
The work memory (W) 204 is a working memory for temporarily saving the waveform signal created in the DSP 105, as shown in FIG. Further, the address offset memory (T) 205 is provided with a delay memory (E) 10 which will be described later, as shown in FIG.
6 is a register for storing the offset value of the address 6, and the offset value is read from the RAM 103 of FIG. 1 and stored under the control of the CPU 101.

【0014】遅延用メモリ(E)106は、その出力と
入力がレジスタ(EI)230、(EO)229を介し
てリング状に接続され、サンプリングタイミング毎にイ
ンクリメントされるカウンタ値SCと、遅延用アドレス
オフセットメモリ205からのオフセット値を、加算器
227で加算した値をアドレスとする。あるオフセット
値でライトされたデータの遅延時間は、そのオフセット
遅延とリードするアドレスのオフセット遅延の差で表現
される。なお、遅延用メモリ106へのデータのリー
ド、ライトは、後述するレジスタ(EO)229、(E
I)230を介して行われる。
The delay memory (E) 106 has its output and input connected in a ring shape via registers (EI) 230 and (EO) 229, and has a counter value SC incremented at each sampling timing and a delay memory. The value obtained by adding the offset value from the address offset memory 205 by the adder 227 is used as the address. The delay time of data written with a certain offset value is expressed by the difference between the offset delay and the offset delay of the address to be read. Data is read from and written to the delay memory 106 in registers (EO) 229 and (E) described later.
I) 230.

【0015】入力レジスタ(PI)206は、図1の音
源104からのデジタル入力楽音信号を格納し、内部バ
ス207を介して各部へ供給する。前述の係数メモリ
(P)203、ワークメモリ(W)204の出力及び入
力レジスタ(PI)206の出力は、後述する各レジス
タからの出力とともにゲート208〜211のゲート端
子に入力され、ゲート208〜211からの出力はレジ
スタ(M0)212、(M1)213、(A0)21
4、(A1)215に入力される。
An input register (PI) 206 stores the digital input musical tone signal from the sound source 104 of FIG. 1 and supplies it to each section via an internal bus 207. The outputs of the coefficient memory (P) 203, the work memory (W) 204, and the output of the input register (PI) 206 are input to the gate terminals of gates 208 to 211 together with the outputs from the registers described later, and the gates 208 to 208 The outputs from 211 are registers (M0) 212, (M1) 213, (A0) 21.
4 and (A1) 215.

【0016】レジスタ(M0)212、(M1)213
には乗算器216に供給される演算途中のデータが格納
され、レジスタ(A0)214、(A1)215には加
減算器217に供給される演算途中のデータが格納され
る。
Registers (M0) 212, (M1) 213
Stores the data in the middle of calculation supplied to the multiplier 216, and registers (A0) 214 and (A1) 215 store the data in the middle of calculation supplied to the adder / subtractor 217.

【0017】また、レジスタ(M1)213の出力及び
後述するレジスタ(SR)224の出力はゲート218
を介して乗算器216に入力されるとともに、レジスタ
(A0)214の出力及び後述するレジスタ(MR)2
21の出力はゲート219を介して加減算器217に入
力され、レジスタ(A1)215に出力及び後述するレ
ジスタ(AR)222の出力はゲート220を介して加
減算器217に出力される。
The output of the register (M1) 213 and the output of the register (SR) 224, which will be described later, are supplied to the gate 218.
Is input to the multiplier 216 via the output of the register (A0) 214 and the register (MR) 2 described later.
The output of 21 is input to the adder / subtractor 217 via the gate 219, and the output of the register (A1) 215 and the output of the register (AR) 222 described later are output to the adder / subtractor 217 via the gate 220.

【0018】乗算器216の乗算結果はレジスタ(M
R)221に格納され、レジスタ(MR)221の出力
はゲート209及びゲート219に供給される、また、
加減算器217の演算結果はレジスタ(AR)222に
格納され、レジスタ(AR)222の出力はゲート22
0に供給されるとともに、オーバーフロー(桁溢れ)を
防止するためのクリッパ回路223を介してレジスタ
(SR)224に供給される。レジスタ(SR)224
の出力はゲート218に供給され、また、ある1音につ
いての処理の演算結果として、内部バス207を介して
ワークメモリ(W)204に格納される。
The multiplication result of the multiplier 216 is stored in the register (M
R) 221 and the output of the register (MR) 221 is supplied to the gate 209 and the gate 219.
The calculation result of the adder / subtractor 217 is stored in the register (AR) 222, and the output of the register (AR) 222 is the gate 22.
In addition to being supplied to 0, it is supplied to the register (SR) 224 via the clipper circuit 223 for preventing overflow (digit overflow). Register (SR) 224
Is supplied to the gate 218, and is also stored in the work memory (W) 204 via the internal bus 207 as the calculation result of the process for one sound.

【0019】上述の演算結果がワークメモリ(W)20
4に記憶され一連の処理が終了すると、同メモリに記憶
されたデータは、出力レジスタ(OR)225に転送さ
れ、同レジスタから図1のD/A変換器107に出力さ
れる。
The above calculation result is the work memory (W) 20.
4 and the series of processing is completed, the data stored in the memory is transferred to the output register (OR) 225 and is output from the register to the D / A converter 107 in FIG.

【0020】一方、アドレスオフセットメモリ(T)2
05の出力はレジスタ(TR)226に入力され、同レ
ジスタの出力はサンプリングタイミング毎にインクリメ
ントされるカウンタ値SCとともに加算器227に入力
される。加算器227の演算結果はレジスタ(EA)2
28に入力され、同レジスタの値はアドレスとして遅延
用メモリ(E)106に格納された残響効果が付加され
るべきデジタル入力楽音信号は、内部バス207を介し
てレジスタ(EO)229に供給され、同レジスタの出
力は遅延用メモリ(E)106に供給される。ライトア
ドレスとリードアドレスの差値により所定量遅延され変
調された遅延用メモリ(E)106からの出力はレジス
タ(EI)230に出力される。
On the other hand, the address offset memory (T) 2
The output of 05 is input to the register (TR) 226, and the output of the register is input to the adder 227 together with the counter value SC that is incremented at each sampling timing. The calculation result of the adder 227 is the register (EA) 2
The digital input tone signal to be added with the reverberation effect is input to the register 28 and the value of the register is stored in the delay memory (E) 106 as an address, and is supplied to the register (EO) 229 via the internal bus 207. The output of the register is supplied to the delay memory (E) 106. The output from the delay memory (E) 106, which is delayed by a predetermined amount and modulated by the difference value between the write address and the read address, is output to the register (EI) 230.

【0021】そして、残響効果が付加され上記レジスタ
(EI)230に格納された楽音信号データは、内部バ
ス207を介して例えばレジスタ(A0)214、(A
1)215に転送され、右チャネル出力、左チャネル出
力として出力される。
The musical tone signal data added with the reverberation effect and stored in the register (EI) 230 is transferred to the register (A0) 214, (A) via the internal bus 207, for example.
1) Transferred to 215 and output as right channel output and left channel output.

【0022】図3は、図1の音源104と図1又は図2
のDSP105の動作原理ブロック図である。音源10
4は、時分割処理に基づく16個の発音チャネルを有
し、各チャネル出力は、乗算器301、302、303
によって、3種類の重み付けパラメータRLn,LL
n,ELn(nは0〜16の各発音チャネル番号を表
す)と乗算され、3つのグループ毎に加算器304〜3
06で累算される。加算器304、305及び306の
各累算結果は、右チャネルダイレクト音R、左チャネル
ダイレクト音L、ペダル効果送り音Eとして、DSP1
05内のワークメモリ(W)204(図2及び後述する
図18参照)に与えられる。上述の3種類のパラメータ
RLn,LLn及びELnは、発音されるキーノートに
応じて、図1のROM102に記憶されている後述する
図9のキーフォローテーブルから与えられる。このキー
フォローテーブルでは、後述するように、アコースティ
ックピアノの弦配置と同様に、左右チャネルダイレクト
音はキーノートが高いほど右よりに、低いほど左よりに
定位されて発音され、共鳴音はキーノートが高音ほど高
めに、低音ほど低めに設定される。
FIG. 3 shows the sound source 104 of FIG. 1 and FIG.
3 is a block diagram of the operating principle of the DSP 105 of FIG. Sound source 10
4 has 16 sounding channels based on time division processing, and the output of each channel is a multiplier 301, 302, 303.
3 weighting parameters RLn and LL
n, ELn (n represents each sounding channel number of 0 to 16) and are added to adders 304 to 3 for every three groups.
It is accumulated at 06. The accumulation results of the adders 304, 305, and 306 are the DSP 1 as the right channel direct sound R, the left channel direct sound L, and the pedal effect feed sound E.
It is given to the work memory (W) 204 in 05 (see FIG. 2 and FIG. 18 described later). The above-mentioned three types of parameters RLn, LLn and ELn are given from the key follow table of FIG. 9 which will be described later and are stored in the ROM 102 of FIG. 1 according to the keynote to be sounded. In this key follow table, as will be described later, similar to the arrangement of strings on an acoustic piano, the direct sound of the left and right channels is sounded more to the right when the keynote is higher, and to the left when it is lower, and the resonance is the keynote. Is set higher for higher notes and lower for lower notes.

【0023】DSP105では、上記音源104からワ
ークメモリ(W)204(図2)にセットされたペダル
効果送り音Eに対して、まず、ビブラート効果付加部3
07でビブラート効果が付加され、続いて、そこから出
力されるビブラート出力VOに対して、リバーブ効果付
加部308でリバーブ効果が付加される、そして、リバ
ーブ効果付加部308からのリバーブ右チャネル出力R
OT及びリバーブ左チャネル出力LOTは、それぞれ加
算器309及び310で右チャネルダイレクト音R及び
左チャネルダイレクト音Lと加算され、右チャネル楽音
出力ROUT及び左チャネル楽音出力LOUTとして図
1のD/A変換器107に出力される。ここで、リバー
ブ効果付加部308での後述するリバーブタイムRV
T、及びリバーブデプスRVDは、図1のペダル110
の踏み込み量に応じて連続的に可変制御される。
In the DSP 105, the vibrato effect adding section 3 first responds to the pedal effect feed sound E set in the work memory (W) 204 (FIG. 2) from the sound source 104.
In 07, a vibrato effect is added, and subsequently, the reverb effect adding section 308 adds a reverb effect to the vibrato output VO output therefrom, and the reverb right channel output R from the reverb effect adding section 308.
The OT and the reverb left channel output LOT are added with the right channel direct sound R and the left channel direct sound L by the adders 309 and 310, respectively, and are D / A converted in FIG. 1 as the right channel musical sound output ROUT and the left channel musical sound output LOUT. It is output to the device 107. Here, a reverb time RV, which will be described later, in the reverb effect adding unit 308.
The T and reverb depth RVD are the pedal 110 of FIG.
It is continuously variably controlled according to the amount of depression.

【0024】図4(a) 、(b) は、図3のビブラート効果
付加部307の動作原理ブロック図である。同付加部
は、図4(a) のビブラート演算部と、図4(b) のビブラ
ートアドレス発生部とからなる。
FIGS. 4A and 4B are block diagrams of the operation principle of the vibrato effect adding section 307 of FIG. The addition unit is composed of the vibrato calculation unit of FIG. 4 (a) and the vibrato address generation unit of FIG. 4 (b).

【0025】まず、図4(a) のビブラート演算部におい
て、図3の音源104から出力されたペダル効果送り音
Eは、遅延用メモリ401で遅延され、ビブラート出力
VOとして出力される、ここで、ペダル効果送り音Eが
遅延メモリ401へ書き込まれる時の書込みアドレス
は、後述するアドレスオフセットメモリ(T)205に
記憶されている一定値のビブラートライトアドレスオフ
セットVWに、サンプリングタイミング毎にインクリメ
ントされるカウンタ値SCが加算されることにより生成
される書込みアドレスVWAとして与えられる。また、
ビブラート出力が遅延メモリ401から読み出される時
の読出しアドレスは、次に述べるビブラートアドレス発
生部からビブラート効果を付加されて発生される2つの
読出しアドレスVRA1及びVRA2として与えられ
る。そして、遅延用メモリ401の上記2つの読出しア
ドレスから読み出される2つのメモリ出力に対して、加
算器402、403と乗算器404を用いて補間演算が
実行されることにより、ビブラート出力が得られる。
First, in the vibrato calculation section of FIG. 4A, the pedal effect feed sound E output from the sound source 104 of FIG. 3 is delayed by the delay memory 401 and output as the vibrato output VO. The writing address when the pedal effect feed sound E is written in the delay memory 401 is incremented at every sampling timing to a constant value vibrato write address offset VW stored in an address offset memory (T) 205 described later. It is given as a write address VWA generated by adding the counter value SC. Also,
The read address when the vibrato output is read from the delay memory 401 is given as two read addresses VRA1 and VRA2 generated by adding a vibrato effect from a vibrato address generating unit described below. Then, an interpolating operation is performed on the two memory outputs read from the two read addresses of the delay memory 401 using the adders 402 and 403 and the multiplier 404 to obtain a vibrato output.

【0026】次に、図4(b) のビブラートアドレス発生
部は、三角波ジェネレータ部404、ローパスフィルタ
(LPF)部405及びビブラートアドレス演算部40
6から構成される。そして、三角波ジェネレータ部40
4から発生される三角波LFO(低周波発振)出力TR
IをLPF部405で平滑化して得た正弦波状LFO信
号SINに基づいて、読出しアドレスVRA1とVRA
2を周期的に変化させ、これらのアドレスで遅延用メモ
リ401をアクセスすることによって、低周波変調され
たビブラート出力を得ることができる。
Next, the vibrato address generator of FIG. 4B is a triangular wave generator 404, a low pass filter (LPF) 405 and a vibrato address calculator 40.
It consists of 6. Then, the triangular wave generator unit 40
Triangle wave LFO (low frequency oscillation) output TR generated from 4
Based on the sinusoidal LFO signal SIN obtained by smoothing I in the LPF unit 405, read addresses VRA1 and VRA
By periodically changing 2 and accessing the delay memory 401 with these addresses, a low-frequency modulated vibrato output can be obtained.

【0027】三角波ジェネレータ部404においては、
各サンプリングタイミング毎に、1サンプル遅延部40
7から前回サンプリング時の鋸波LFO出力SAWが読
み出され、加算器408において後述する所定のLFO
レート対応値RATが順次加算されることにより、線形
に増加する信号値が得られる。このとき、鋸波LFO出
力SAWは一定のビット幅を有しており、その最上位ビ
ット(MSB)を符号ビットとすれば、同出力の値は、
各サンプリングタイミング毎に、値が0からRATずつ
増加し、正の最大値(最上位ビットが“0”で、それ以
外のビットが“1”の値)に達した次のタイミングでは
負の最小値(全ビットが“1”の値)にジャンプし、そ
こから再び正の最大値に向ってRATずつ線形に増加す
る。すなわち、加算器408から出力される鋸波LFO
出力SAWは、負の最小値から正の最大値に向って線形
に増加し、その後、再び負の最小値にジャンプする動作
を繰り返す鋸波状の低周波周期(LFO)信号となる。
In the triangular wave generator section 404,
One sample delay unit 40 for each sampling timing
The sawtooth LFO output SAW at the time of the previous sampling is read from 7 and the adder 408 outputs a predetermined LFO to be described later.
A signal value that increases linearly is obtained by sequentially adding the rate corresponding values RAT. At this time, the sawtooth wave LFO output SAW has a constant bit width, and if the most significant bit (MSB) is the sign bit, the value of the same output is
At each sampling timing, the value increases from 0 by RAT and reaches the maximum positive value (the most significant bit is “0” and the other bits are “1”) at the next negative timing. It jumps to a value (a value where all bits are "1"), and from there it increases linearly by RAT towards the positive maximum value again. That is, the sawtooth wave LFO output from the adder 408
The output SAW becomes a sawtooth-shaped low frequency period (LFO) signal in which the operation of linearly increasing from the negative minimum value to the positive maximum value and then jumping to the negative minimum value is repeated.

【0028】更に、加減算器409において、上記鋸波
信号SAWが正の場合にはこの信号値が一定の係数値
0.5に加算され、逆に負の場合にはその鋸波信号が係
数値0.5から減算される。これにより、加減算器40
9の出力として、その値が、負の最小値から正の最大値
に向ってRATずつ線形に増加し、正の最大値に達する
と今度は負の最小値に向ってRATずつ線形に減少し、
負の最小値に達すると再び正の最大値に向って線形に増
加する特性を有する三角波LFO出力TRIが得られ
る。
Further, in the adder / subtractor 409, when the sawtooth wave signal SAW is positive, this signal value is added to a constant coefficient value of 0.5, and conversely when it is negative, the sawtooth wave signal is added to the coefficient value. Subtracted from 0.5. As a result, the adder / subtractor 40
As an output of 9, its value increases linearly by RAT from the negative minimum value to the positive maximum value, and when it reaches the positive maximum value, it decreases linearly by RAT toward the negative minimum value. ,
When the negative minimum value is reached, a triangular wave LFO output TRI is obtained which has the characteristic of increasing linearly toward the positive maximum value again.

【0029】次に、上記三角波LFO出力TRIは、乗
算器410、413、加算器411及び1サンプル遅延
部412からなるLPF部405に入力し、ここで同出
力の倍音成分がカットされることにより、正弦波状LF
O出力SINが得られる。
Next, the triangular wave LFO output TRI is input to the LPF section 405 including the multipliers 410, 413, the adder 411 and the 1-sample delay section 412, and the harmonic components of the output are cut off by the LPF section 405. , Sine wave LF
O output SIN is obtained.

【0030】続いて、この正弦波状LFO出力SIN
は、ビブラートアドレス演算部406に入力する。ここ
では、基本的に、加算器415及び416によって、サ
ンプリング周期毎にインクリメントされるカウンタ値S
CにビブラートリードアドレスオフセットVRが加算さ
れることにより、前記書込みアドレスVWAに同期し
て、それを追いかけるように一定のオフセットを保持し
て変化する読出しアドレスVRA2が生成される。
Subsequently, this sinusoidal LFO output SIN
Is input to the vibrato address calculation unit 406. Here, basically, the counter value S that is incremented by the adders 415 and 416 every sampling cycle is used.
By adding the vibrato read address offset VR to C, a read address VRA2 that changes in synchronization with the write address VWA while keeping a constant offset so as to follow it is generated.

【0031】そして、加算器415において、上述のよ
うに演算されるアドレス値に、値0を中心として周期的
に変化する正弦波状LFO出力SINが加算されること
により、上記アドレス値に周期的な揺らぎが与えられ
る。これにより、図4(a) のビブラート演算部の遅延用
メモリ401から、低周波数の正弦波状LFO出力SI
Nで周波数変調されビブラート効果が付加されたビブラ
ート出力VOが読み出される。この場合のビブラート効
果の深さの変化幅は、乗算器414において正弦波状L
FO出力SINに乗算されるビブラート深さ係数FMD
によって制御される。この係数の値は、演奏情報のキー
ノートに基づいて検出されるコードの種類に対応して、
LFOレート対応値RATと共に自動的に設定される。
Then, in the adder 415, the sinusoidal LFO output SIN which periodically changes around the value 0 is added to the address value calculated as described above, so that the address value is cyclically changed. Fluctuation is given. As a result, the low-frequency sinusoidal LFO output SI is output from the delay memory 401 of the vibrato calculator shown in FIG.
The vibrato output VO that is frequency-modulated by N and has the vibrato effect added is read. In this case, the width of change in the depth of the vibrato effect is determined by the sine wave L
Vibrato depth factor FMD multiplied by FO output SIN
Controlled by. The value of this coefficient corresponds to the type of chord detected based on the keynote of the performance information,
It is automatically set together with the LFO rate corresponding value RAT.

【0032】ここで、周波数変調の精度を高めるために
以下のような補間演算が行われる。すなわち、まず、加
算器416においてビブラートライトアドレスオフセッ
トVRに基づいて読出しアドレスVRA2が生成される
と共に、加算器417において、ビブラートライトアド
レスオフセットVR+1に基づいて、上記アドレスVR
A2に+1したアドレス値を有する読出しアドレスVR
A1が生成される。次に、図4(a) の減算器402にお
いて、遅延用メモリ401の上記2つの隣接するアドレ
スVRA2,VRA1から読み出される2つの出力の差
分値が求められる。そして、乗算器404において、上
記差分値に乗算器414から出力される正弦波状LFO
出力SINの小数部の値VLが乗算されることにより、
該小数値に対応する変化分が演算される。そして、加算
器403において、アドレスVRA2の出力値に上記変
化分が加算されることにより、正確に補間されたビブラ
ート出力VOが得られる。
Here, the following interpolation calculation is performed in order to improve the accuracy of frequency modulation. That is, first, the adder 416 generates the read address VRA2 based on the vibrato write address offset VR, and the adder 417 generates the read address VRA2 based on the vibrato write address offset VR + 1.
Read address VR having an address value obtained by adding 1 to A2
A1 is generated. Next, in the subtractor 402 of FIG. 4A, the difference value between the two outputs read from the two adjacent addresses VRA2 and VRA1 of the delay memory 401 is obtained. Then, in the multiplier 404, the sinusoidal LFO output from the multiplier 414 is added to the difference value.
By multiplying the fractional value VL of the output SIN,
A change amount corresponding to the decimal value is calculated. Then, in the adder 403, the above-mentioned variation is added to the output value of the address VRA2, so that the accurately interpolated vibrato output VO is obtained.

【0033】なお、ビブラート効果の速さの変化幅は、
LFOレート対応値RATの値で制御されるが、この値
は、上述の如く演奏者による演奏コードの種類に対応し
て自動的に変化し、設定される。
The width of change in the speed of the vibrato effect is
The value is controlled by the value of the LFO rate corresponding value RAT, and this value is automatically changed and set according to the type of the performance code by the player as described above.

【0034】図5は、図3のリバーブ効果付加部308
の動作原理ブロック図である。この図において、図3又
は図4のビブラート出力VOは、直列に接続された#1と
#2の2段のオールパスフィルタ501、502を介し
て、並列に接続された#1〜#8の8つのコムフィルタ50
3〜510に入力される。
FIG. 5 shows the reverb effect adding section 308 of FIG.
3 is a block diagram of the operating principle of FIG. In this figure, the vibrato output VO of FIG. 3 or 4 is connected to # 1 connected in series.
Eight comb filters 50 of # 1 to # 8 connected in parallel via the two-stage all-pass filters 501 and 502 of # 2.
3 to 510.

【0035】まず、ビブラート出力VOは、第1段目の
オールパスフィルタ(全域通過フィルタ)501に入力
され、ここで、ビブラート出力VOの遅延成分が増加さ
せられ、多数の遅延成分を有する出力信号AO1として
第2段目のオールパスフィルタ502に出力される。
First, the vibrato output VO is input to the first-stage all-pass filter (all-pass filter) 501, where the delay component of the vibrato output VO is increased and the output signal AO1 having a large number of delay components is input. Is output to the second-stage all-pass filter 502.

【0036】オールパスフィルタ502では、遅延成分
が増加された信号AO1に遅延成分が更に増加させら
れ、その結果得られる出力信号AO2が、複数の並列に
接続された#1〜#8のコムフィルタ503〜510に出力
される。
In the all-pass filter 502, the delay component is further increased in the signal AO1 having the increased delay component, and the resulting output signal AO2 is a plurality of comb filters 503 of # 1 to # 8 connected in parallel. To 510.

【0037】この実施例では、残響音付加用のコムフィ
ルタ503〜510の前段に設けるオールパスフィルタ
として、2個のオールパスフィルタ501と502を挿
入した例について示したが、勿論この数や接続方法には
限定されず、1つあるいは3つ以上でもよい。この場
合、本発明者によってなされた実験によれば、オールパ
スフィルタを2段直列に挿入した場合が最も良い効果を
得ることができた。
In this embodiment, an example in which two all-pass filters 501 and 502 are inserted as all-pass filters provided before the reverberation-comb-adding comb filters 503 to 510 has been shown. The number is not limited and may be one or three or more. In this case, according to the experiment conducted by the present inventor, the best effect can be obtained when the all-pass filters are inserted in two stages in series.

【0038】このオールパスフィルタ501、502
は、例えば501につき図5に示されるように、遅延素
子529、乗算器530、531及び加算器532、5
33により構成されている。このようにオールパスフィ
ルタ501、502は、遅延素子529を挟んで出力側
は係数0.5が乗算される乗算器530を介してフィー
ドバックされ、入力側も係数0.5が乗算される乗算器
531を介してフィードフォワードされる構造となって
いるため、オールパスフィルタ501、502に信号が
入力されると、その入力信号を基に多数の遅延成分が出
力される。なお、オールパスフィルタ501、502の
構成は上述の構成に限られるものではなく、他のタイプ
のオールパスフィルタを各々適用してもよい。
The all-pass filters 501 and 502
Is a delay element 529, a multiplier 530, 531 and an adder 532, 5 as shown in FIG.
It is composed of 33. As described above, the all-pass filters 501 and 502 are fed back through the multiplier 530 on the output side with the delay element 529 interposed therebetween, and the multiplier 531 on the input side is also multiplied by the coefficient 0.5. Because of the structure in which the signals are fed forward via the, when a signal is input to the all-pass filters 501 and 502, a large number of delay components are output based on the input signal. The configurations of all-pass filters 501 and 502 are not limited to the above-described configurations, and other types of all-pass filters may be applied.

【0039】上述のオールパスフィルタ502の出力信
号データAO2は、#1〜#8の8つ並列に設けられたコム
フィルタ503〜510に入力されている。このコムフ
ィルタ503〜510は、例えば503につき図5に示
される様に、遅延素子534、乗算器535及び加算器
536により構成される。各コムフィルタ503〜51
0からは、前述の信号データAO2が各遅延素子534
で異なるオフセットアドレス(後述する)に対応する分
だけ遅延され、また、入力への帰還量が各乗算器535
に与えられる共通のリバーブタイムRVTに対応して決
定された、左右2チャンネルの出力信号CLOi及びC
ROi(1≦i≦8)が出力される。
The output signal data AO2 of the above-mentioned all-pass filter 502 is inputted to eight comb filters 503 to 510 provided in parallel with # 1 to # 8. The comb filters 503 to 510 are composed of a delay element 534, a multiplier 535, and an adder 536, as shown in FIG. Each comb filter 503-51
From 0, the above-mentioned signal data AO2 corresponds to each delay element 534.
Is delayed by an amount corresponding to a different offset address (described later), and the amount of feedback to the input is delayed by each multiplier 535.
Output signals CLOi and C for the left and right channels, which are determined corresponding to the common reverb time RVT
ROi (1 ≦ i ≦ 8) is output.

【0040】そして、コムフィルタ右チャネル用出力C
RO1,CRO2,・・・CRO8は、乗算器511〜
518において共通のリバーブデプスRVDで重み付け
された後に累算器527で累算され、リバーブ右チャネ
ル出力ROTとして図3の加算器309に出力される。
同様に、左チャンネルコムフィルタ出力CLO1,CL
O2,・・・CLO8も,乗算器519〜526におい
て共通のリバーブデプスRVDで重み付けされた後に累
算器528で累算され、リバーブ左チャネル出力として
図3の加算器310に出力される。
Then, the comb filter right channel output C
RO1, CRO2, ... CRO8 are multipliers 511 to
In 518, after being weighted by the common reverb depth RVD, it is accumulated in the accumulator 527 and output as the reverb right channel output ROT to the adder 309 in FIG.
Similarly, the left channel comb filter outputs CLO1 and CL
O2, ..., CLO8 are also weighted by the common reverb depth RVD in the multipliers 519 to 526, accumulated in the accumulator 528, and output to the adder 310 in FIG. 3 as the reverb left channel output.

【0041】ここで、コムフィルタ503〜510に供
給されるリバーブタイムRVDは、後述するように、図
1のペダル110の踏み込み量によって可変され、これ
により異なる残響効果が得られる。
Here, the reverb time RVD supplied to the comb filters 503 to 510 is varied depending on the depression amount of the pedal 110 of FIG. 1, as will be described later, whereby different reverberation effects are obtained.

【0042】以上のようにして得られたリバーブ右チャ
ネル出力ROT及びリバーブ左チャネル出力LOTは、
それぞれ加算器309及び310で右チャネルダイレク
ト音R及び左チャネルダイレクト音Lと加算され、右チ
ャネル楽音出力及び左チャネル楽音出力として図1のD
/A変換器107に出力される。以上、図1〜図5の構
成の一実施例の具体的な動作につき順次説明する。ま
ず、図1のCPU101の動作につき、図6乃至図8の
動作フローチャートに基づき説明する。なお、図6〜図
8の動作は、図1のCPU101が、ROM102に記
憶されたプログラムを、RAM103をワークメモリに
して実行する処理として実現される。この場合、CPU
101は、図6〜図8の各タイマ処理を、タイマ割り込
みによって一定時間毎に実行する。
The reverb right channel output ROT and the reverb left channel output LOT obtained as described above are
The right channel direct sound R and the left channel direct sound L are added by the adders 309 and 310, respectively, and are output as a right channel musical sound output and a left channel musical sound output in FIG.
It is output to the / A converter 107. The specific operation of the embodiment shown in FIGS. 1 to 5 will be sequentially described above. First, the operation of the CPU 101 of FIG. 1 will be described based on the operation flowcharts of FIGS. 6 to 8. Note that the operations of FIGS. 6 to 8 are realized as a process in which the CPU 101 of FIG. 1 executes the program stored in the ROM 102 using the RAM 103 as a work memory. In this case, the CPU
101 executes each timer process of FIGS. 6 to 8 at regular intervals by a timer interrupt.

【0043】始めに、図6のタイマ1処理につき説明す
る。ここでは、音源104に対する発音開始指示及び各
種重み付けパラメータの設定等が行われる。まず、鍵盤
108からインタフェース回路109及びバス114を
介して、鍵盤情報が読み込まれる(ステップS60
1)。
First, the timer 1 processing of FIG. 6 will be described. Here, a sound generation start instruction to the sound source 104 and setting of various weighting parameters are performed. First, keyboard information is read from the keyboard 108 via the interface circuit 109 and the bus 114 (step S60).
1).

【0044】次に、鍵盤情報が前回読込み時から変化し
ているか否かが判別される(ステップS602)。変化
していなければ何も処理を行わず、タイマ1処理を終了
する。
Next, it is judged whether or not the keyboard information has changed since the last time it was read (step S602). If it has not changed, no processing is performed and the timer 1 processing ends.

【0045】鍵盤情報に変化が生じていれば、その変化
が鍵の押鍵操作によるものか否かが判別される(ステッ
プS603)。押鍵操作によるものである場合、まず、
押鍵により構成される和音コードの検出が行われる(ス
テップS604)。この検出は、押鍵された全ての鍵の
キーノートと、例えばROM102の特には図示しない
各和音を構成するキーノート群を記憶している和音構成
ノートテーブルとが照合され、和音の種類(コード)が
検出される。
If the keyboard information has changed, it is determined whether or not the change is due to a key depression operation (step S603). If it is a key depression operation, first,
A chord code formed by pressing a key is detected (step S604). In this detection, the keynotes of all the pressed keys are collated with, for example, a chord structure note table in the ROM 102, which stores a keynote group that forms each chord (not shown), and the type of chord (code) ) Is detected.

【0046】次に、検出されたコードに基づいて、LF
Oレート対応値RAT及びビブラート深さ係数FMDが
設定される(ステップS605)。このLFOレート対
応値RAT及びビブラート深さ係数FMDの設定につい
ては、例えば、コード名maj,min,7th,m7
th,dim,aug,sus、・・・に対してコード
番号1、2、3、・・・が割り当てられる。そして、コ
ード番号が小さい程LFOレート対応値RATが大き
く、すなわちビブラート効果が遅めに、且つビブラート
深さ係数FMDも大きく設定される。一方、コード番号
が大きい程LFOレート対応値RATが小さく、すなわ
ちビブラート効果が速めに、且つビブラート深さ係数F
MDもまた小さく設定される。勿論、逆の設定の仕方で
もよく、すなわち、コード番号が小さい程LFOレート
対応値RATが小さく、一方、コード番号が大きい程L
FOレート対応値RATが大きくなるように設定されて
もよい。
Next, based on the detected code, LF
The O-rate corresponding value RAT and the vibrato depth coefficient FMD are set (step S605). Regarding the setting of the LFO rate corresponding value RAT and the vibrato depth coefficient FMD, for example, code names maj, min, 7th, m7
Code numbers 1, 2, 3, ... Are assigned to th, dim, aug, sus, .... The smaller the code number is, the larger the LFO rate corresponding value RAT is. That is, the vibrato effect is delayed and the vibrato depth coefficient FMD is set to be larger. On the other hand, the larger the code number, the smaller the LFO rate corresponding value RAT, that is, the vibrato effect is faster, and the vibrato depth coefficient F is larger.
MD is also set small. Of course, the reverse setting is also possible, that is, the smaller the code number, the smaller the LFO rate corresponding value RAT, while the larger the code number, the L
The FO rate corresponding value RAT may be set to be large.

【0047】そして、以上のようにしてRAM103に
設定されたLFOレート対応値RAT及びビブラート深
さ係数FMDが、DSP105に転送される(ステップ
S606)。
Then, the LFO rate corresponding value RAT and the vibrato depth coefficient FMD set in the RAM 103 as described above are transferred to the DSP 105 (step S606).

【0048】なお、後述する他の実施例においては、破
線S600で囲んで示されるステップS604、S60
5及びS606の各処理が省かれ、それに代って他の処
理がなされる。
In another embodiment described later, steps S604 and S60 surrounded by a broken line S600.
5 and S606 are omitted, and other processes are performed instead.

【0049】続いて、16の発音チャネル(前記図3の
説明参照)から空いているチャネルが選択され、押鍵チ
ャネル“n”とされる(ステップS607)。次に、押
鍵チャネル“n”に対応するRAM103上の変数であ
るゲートフラグKOnに“1”が設定される。このフラ
グは、16発音チャネル分が設けられ、その値が“1”
なら、その発音チャネルが押鍵状態であることを示して
いる。また、押鍵チャネル“n”に対応するRAM10
3上の変数であるキーノートKNnに、押鍵された鍵に
対応するキーノートが設定される(以上、ステップS6
08)。このキーノートKNnも、16発音チャネル分
が設けられている。
Subsequently, a vacant channel is selected from the 16 tone generation channels (see the explanation of FIG. 3), and the key depression channel "n" is set (step S607). Next, "1" is set to the gate flag KOn which is a variable on the RAM 103 corresponding to the key depression channel "n". This flag has 16 sound generation channels and its value is "1".
If this is the case, it indicates that the sound generation channel is in the key depression state. In addition, the RAM 10 corresponding to the key depression channel "n"
The keynote corresponding to the depressed key is set in the keynote KNn which is a variable above 3 (above, step S6
08). This keynote KNn is also provided with 16 sound generation channels.

【0050】そして、キーノートKNnに対応する右チ
ャネルパンニング用重み付けパラメータRLn,左チャ
ネルパンニング用重み付けパラメータLLn及び共鳴音
量用重み付けパラメータELnが、ROM102内のキ
ーフォローテーブルから読み出され、RAM103に設
定される(ステップS609)。図9にROM102に
記憶されているキーフォローテーブルの変換特性の一例
を示す。同図(a) は、右チャネルパンニング用キーフォ
ローテーブルであり、キーノートKNnが高音キーを示
すほど、値の大きな右チャネルパンニング用重み付けパ
ラメータRLnが出力される。同図(b) は、左チャネル
パンニング用キーフォローテーブルであり、キーノート
KNnが高音キーを示すほど、値の小さな左チャネルパ
ンニング用重み付けパラメータLLnが出力される。更
に、同図(c) は、共鳴音量用キーフォローテーブルであ
り、キーノートKNnが高音キーを示すほど、値の大き
な共鳴音量用重み付けパラメータELnが出力される。
The right channel panning weighting parameter RLn, the left channel panning weighting parameter LLn and the resonance volume weighting parameter ELn corresponding to the key note KNn are read from the key follow table in the ROM 102 and set in the RAM 103. (Step S609). FIG. 9 shows an example of conversion characteristics of the key follow table stored in the ROM 102. FIG. 10A is a right channel panning key follow table, and the weighting parameter RLn for right channel panning having a larger value is output as the key note KNn indicates a higher tone key. FIG. 11B shows a left channel panning key follow table, in which the left channel panning weighting parameter LLn having a smaller value is output as the key note KNn indicates a higher tone key. Further, FIG. 7C is a resonance volume key follow table, and the resonance volume weighting parameter ELn having a larger value is output as the key note KNn indicates a higher tone key.

【0051】そして、以上のようにしてRAM103に
設定されたキーノートKNn、右チャネルパンニング用
重み付けパラメータRLn、左チャネルパンニング用重
み付けパラメータLLn及び共鳴音量用重み付けパラメ
ータELnが、音源104に転送される(ステップS6
10)。
The keynote KNn, the right channel panning weighting parameter RLn, the left channel panning weighting parameter LLn and the resonance volume weighting parameter ELn set in the RAM 103 as described above are transferred to the sound source 104 ( Step S6
10).

【0052】音源104は、各発音チャネル毎に既存の
ディジタル信号処理技術によるディジタル楽音信号の生
成を時分割で行う。そして、各発音チャネル出力は、乗
算器301、302、303により、CPU101から
上述の処理により転送されてきた3種類の重み付けパラ
メータRLn、LLn、ELnと乗算され、3つのグル
ープ毎に加算器304〜306で累算され、それぞれ、
右チャネルダイレクト音R、左チャネルダイレクト音L
及びペダル効果送り音Eとして出力される。
The sound source 104 time-divisionally generates a digital tone signal by the existing digital signal processing technique for each sounding channel. Then, the respective sounding channel outputs are multiplied by the three types of weighting parameters RLn, LLn, ELn transferred from the CPU 101 by the above-mentioned processing by the multipliers 301, 302, 303, and the adders 304 to Accumulated in 306,
Right channel direct sound R, left channel direct sound L
And pedal effect feed sound E are output.

【0053】ここで、上述の3種類のパラメータRL
n、LLn及びELnは、発音されるキーノートKNn
に応じて、図9のキーフォローテーブルの変換特性に基
づいて与えられる。この特性により、アコースティック
ピアノの弦配置と同様に、左右チャネルダイレクト音は
キーノートが高いほと右よりに、低いほど左よりに定位
されて発音され、共鳴音はキーノートが高音ほど高め
に、低音ほど低めに設定されることとなる。
Here, the above three types of parameters RL
n, LLn and ELn are keynotes KNn to be sounded
According to the conversion characteristics of the key follow table of FIG. Due to this characteristic, similar to the string arrangement of an acoustic piano, the left and right channel direct sounds are localized by being sounded to the right and higher of the key note, and lower to the left, and the resonance sound is raised as the key note is higher. The lower the tone, the lower the setting.

【0054】一方、ステップS603において、鍵情報
の変化が押鍵操作によるものでなく離鍵操作によるもの
であると判定された場合、離鍵されたキーノートがRA
M103に登録されている押鍵中の各発音チャネルのキ
ーノートKNnと比較されることによって、離鍵チャネ
ル“n”が検索される(ステップS611)。
On the other hand, if it is determined in step S603 that the change in the key information is due to the key release operation and not the key release operation, the released keynote is RA.
The key release channel “n” is searched by comparing with the key note KNn of each tone generation channel during key depression registered in M103 (step S611).

【0055】そして、そのチャネルに対応するRAM1
03上のゲートフラグKOnが“0”に設定され、音源
104に対し離鍵指示がなされる(ステップS61
2)。次に、図7のタイマ2処理につき説明する。ここ
では、音源104に対するエンベロープデータの設定が
行われる。
Then, the RAM1 corresponding to the channel
The gate flag KOn on 03 is set to "0", and the sound source 104 is instructed to release the key (step S61).
2). Next, the timer 2 processing of FIG. 7 will be described. Here, setting of envelope data for the sound source 104 is performed.

【0056】ここでは、まず、RAM103に設定され
たゲートフラグKOn(図6のステップS608参照)
と、A/D変換器111及びバス114を介して入力さ
れるペダル110の踏み込み量を示すペダルデータPD
とに基づいて、楽音の音量・音色を制御するためのエン
ベロープデータが計算される(ステップS701)。す
なわち、ゲートフラグKOnが新たに“1”となった発
音チャネルについてエンベロープデータの作成が開始さ
れ、そのときの発音開始から消音までのADSR(アタ
ック、ディケイ、サスティーン、リリース)の各区間に
対応するレート値と目標レベルとからなるエンベロープ
の各値が、ペダルデータに基づいて可変制御される。
Here, first, the gate flag KOn set in the RAM 103 (see step S608 in FIG. 6).
And pedal data PD indicating the amount of depression of the pedal 110 input via the A / D converter 111 and the bus 114.
Based on and, envelope data for controlling the tone volume and tone color of the musical tone is calculated (step S701). That is, the creation of envelope data is started for the sounding channel for which the gate flag KOn is newly set to "1", and it corresponds to each section of ADSR (attack, decay, sustain, release) from the sounding start to the mute at that time. Each value of the envelope including the rate value and the target level is variably controlled based on the pedal data.

【0057】そして、このようにして得られたエンベロ
ープデータが音源104に転送される(ステップS70
2)。音源104は、これに基づいてエンベロープ信号
を発生し、生成される楽音の音量又は音色のエンベロー
プを制御する。
Then, the envelope data thus obtained is transferred to the sound source 104 (step S70).
2). The sound source 104 generates an envelope signal based on this, and controls the volume or tone color envelope of the generated musical tone.

【0058】続いて、図8のタイマ3処理について説明
する。ここでは、DSP105に対するリバーブデプス
RVD及びリバーブタイムRVTの設定が行われる。ま
ず、A/D変換器111からペダル110の踏み込み量
が、RAM103上の変数であるペダルデータPDとし
て読み込まれる(ステップS801)。
Next, the timer 3 processing of FIG. 8 will be described. Here, the reverb depth RVD and the reverb time RVT are set for the DSP 105. First, the depression amount of the pedal 110 is read from the A / D converter 111 as pedal data PD which is a variable on the RAM 103 (step S801).

【0059】そして、このペダルデータPDが、前回読
込み時から変化しているか否かが判定される(ステップ
S802)。変化していなければ何も処理を行わず、タ
イマ3処理を終了する。
Then, it is determined whether or not this pedal data PD has changed since the last reading (step S802). If it has not changed, no processing is performed and the timer 3 processing is ended.

【0060】ペダルデータPDに変化が生じていれば、
その値に応じてROM102上のリバーブ用テーブルが
アクセスされ、対応するリバーブデプスRVD及びリバ
ーブタイムRVTが読み出され、RAM103に設定さ
れる(ステップS803)。図10にリバーブ用テーブ
ルの変換特性の一例を示す。
If the pedal data PD has changed,
The reverb table on the ROM 102 is accessed according to the value, the corresponding reverb depth RVD and the reverb time RVT are read, and set in the RAM 103 (step S803). FIG. 10 shows an example of conversion characteristics of the reverb table.

【0061】そして、このようにして得られたリバーブ
デプスRVD及びリバーブタイムRVTが、DSP10
5内の係数メモリ(P)203(図2及び後述する図1
7参照)に転送される(ステップS804)。
Then, the reverb depth RVD and the reverb time RVT thus obtained are calculated by the DSP 10
5 in the coefficient memory (P) 203 (see FIG. 2 and FIG.
7)) (step S804).

【0062】ここで、リバーブデプスRVD及びリバー
ブタイムRVTは、図5で説明したように、コムフィル
タ503〜510及び乗算器511〜526に供給さ
れ、これらが図10に示されるテーブル特性に基づいて
ペダル踏み込み量によって可変されることにより、異な
る残響音が得られる。すなわち、ペダル110の踏み込
み量が大きいほど、残響が深くかかり、残響時間も長く
なる。勿論、この特性は、任意に変更が可能である。
Here, the reverb depth RVD and the reverb time RVT are supplied to the comb filters 503 to 510 and the multipliers 511 to 526 as described with reference to FIG. 5, and these are based on the table characteristics shown in FIG. Different reverberation sounds can be obtained by varying the pedal depression amount. That is, the greater the depression amount of the pedal 110, the deeper the reverberation is and the longer the reverberation time is. Of course, this characteristic can be changed arbitrarily.

【0063】次に、図1、図2又は図3のDSP105
の動作につき、図11〜図16の動作フローチャートと
に基づき説明する。なお、これらの動作は、図1又は図
2のDSP105が、プログラムメモリ201に記憶さ
れたマイクロプログラムを実行する処理として実現され
る。
Next, the DSP 105 of FIG. 1, FIG. 2 or FIG.
The operation will be described based on the operation flowcharts of FIGS. 11 to 16. Note that these operations are realized as a process in which the DSP 105 shown in FIG. 1 or 2 executes the microprogram stored in the program memory 201.

【0064】また、各動作フローチャートで、例えばP
(RAT)は、図2の係数メモリ(P)203に格納さ
れており、名称がRATの係数(定数)の内容を示すも
のとする。同様に、例えばW(SAW)、T(VW)
は、各々図2のワークメモリ(W)204及びアドレス
オフセットメモリ(T)205に格納されており、名称
がSAW、VWの変数(定数でもよい)の内容を示すも
のとする。ここで、各メモリに格納されている係数(定
数)又は変数の各メモリ上でのアドレスと名称及び内容
は、図17〜図19に示される通りである。更に、E
(EA)は、図2の遅延用メモリ(E)106のレジス
タ(EA)228のアドレス値で指定されるアドレス内
容を示すものとする。
In each operation flowchart, for example, P
(RAT) is stored in the coefficient memory (P) 203 of FIG. 2 and indicates the content of the coefficient (constant) whose name is RAT. Similarly, for example, W (SAW), T (VW)
Are stored in the work memory (W) 204 and the address offset memory (T) 205 of FIG. 2, respectively, and indicate the contents of variables (may be constants) whose names are SAW and VW. Here, the addresses, names and contents of the coefficients (constants) or variables stored in each memory are as shown in FIGS. 17 to 19. Furthermore, E
It is assumed that (EA) indicates the address content designated by the address value of the register (EA) 228 of the delay memory (E) 106 of FIG.

【0065】まず、図11〜図13の動作フローチャー
トを用いて、図3又は図4のリバーブ効果付加部308
の機能を実現するための、図1又は図2のDSP105
の動作につき説明する。
First, referring to the operation flowcharts of FIGS. 11 to 13, the reverb effect adding unit 308 of FIG. 3 or FIG.
1 or 2 for realizing the function of FIG.
The operation of will be described.

【0066】図11は、図4(b) の三角波ジェネレータ
部404の機能を実現するために、図1又は図2のDS
P105によって実行される処理動作を示すものであ
る。まず、ワークメモリ(W)204から鋸波LFO出
力SAWの内容(図18参照)が読み出され、レジスタ
(A0)214にセットされる(ステップS110
1)。なお、この値の初期値は任意の値でよい。
FIG. 11 shows the DS of FIG. 1 or 2 in order to realize the function of the triangular wave generator 404 of FIG. 4 (b).
It shows the processing operation executed by P105. First, the contents of the sawtooth LFO output SAW (see FIG. 18) are read from the work memory (W) 204 and set in the register (A0) 214 (step S110).
1). The initial value of this value may be any value.

【0067】次に、係数メモリ(P)203からLFO
レート対応値RATの内容(図17参照)が読み出され
て、レジスタ(A1)215にセットされる(ステップ
S1102)。
Next, from the coefficient memory (P) 203 to the LFO
The content (see FIG. 17) of the rate corresponding value RAT is read and set in the register (A1) 215 (step S1102).

【0068】次いで、加減算器217で、上記レジスタ
(A0)214に値とレジスタ(A1)215の値とが
加算され、その加算結果がレジスタ(AR)222に得
られ、その内容が更にレジスタ(SR)224に格納さ
れる(ステップS1103)。これにより、図4(b) の
加算器408の機能と等価な処理が実現される。
Then, the adder / subtractor 217 adds the value to the register (A0) 214 and the value of the register (A1) 215, and the addition result is obtained in the register (AR) 222. It is stored in the SR) 224 (step S1103). As a result, processing equivalent to the function of the adder 408 in FIG. 4B is realized.

【0069】これと共に、係数メモリ(P)203に記
憶されている定数0.5(図17参照)がレジスタ(A
0)214に格納される(同じくステップS110
3)。続いて、レジスタ(AR)222に得られた加算
結果の符号が判定される(ステップS1104)。
At the same time, the constant 0.5 (see FIG. 17) stored in the coefficient memory (P) 203 is set in the register (A
0) 214 (also step S110)
3). Subsequently, the sign of the addition result obtained in the register (AR) 222 is determined (step S1104).

【0070】このステップS1104で、レジスタ(A
R)222の内容が正の値を有すると判定されたなら、
レジスタ(SR)224の内容(=レジスタ(AR)2
22の内容)が新たな鋸波LFO出力SAWとしてワー
クメモリ(W)204に格納されると共に、加減算器2
17で、レジスタ(A0)214に格納されている定数
0.5にレジスタ(AR)222の内容が加算され、そ
の加算結果が新たにレジスタ(AR)222に得られる
(ステップS1105)。
In step S1104, the register (A
If it is determined that the contents of R) 222 have a positive value,
Contents of register (SR) 224 (= register (AR) 2
22) is stored in the work memory (W) 204 as a new sawtooth LFO output SAW, and the adder / subtractor 2
At 17, the content of the register (AR) 222 is added to the constant 0.5 stored in the register (A0) 214, and the addition result is newly obtained in the register (AR) 222 (step S1105).

【0071】一方、ステップS1104において、レジ
スタ(AR)222に内容が負の値を有すると判定され
たなら、レジスタ(SR)224の内容(=レジスタ
(AR)222の内容)が新たな鋸波LFO出力SAW
としてワークメモリ(W)204に格納されると共に、
加減算器217において、レジスタ(A0)214に格
納されている定数0.5からレジスタ(AR)222の
内容が減算され、その加算結果が新たにレジスタ(A
R)222に得られる(ステップS1106)。
On the other hand, if it is determined in step S1104 that the content of the register (AR) 222 has a negative value, the content of the register (SR) 224 (= the content of the register (AR) 222) is changed to a new sawtooth wave. LFO output SAW
Is stored in the work memory (W) 204 as
In the adder / subtractor 217, the content of the register (AR) 222 is subtracted from the constant 0.5 stored in the register (A0) 214, and the addition result is newly added to the register (A
R) 222 (step S1106).

【0072】以上の動作により、図4(b) の加減算器4
09の機能と等価な処理が実現される。このようにして
レジスタ(AR)222に得られた値は、レジスタ(S
R)224に移された後に、三角波LFO出力TRIと
してワークメモリ(W)204(図18参照)に格納さ
れる(ステップS1107)。
By the above operation, the adder / subtractor 4 of FIG.
Processing equivalent to the function of 09 is realized. The value thus obtained in the register (AR) 222 is stored in the register (S).
R) 224 and then stored in the work memory (W) 204 (see FIG. 18) as the triangular wave LFO output TRI (step S1107).

【0073】次に、図12は、図4(b) のLPF部40
5の機能を実現するために、図1又は図2のDSP10
5によって実行される処理動作を示すものである。ま
ず、係数メモリ(P)203のLFO用フィルタ係数G
(図17参照)が、レジスタ(M0)212に読み出さ
れる。また、前述の図11の処理によりワークメモリ
(W)204に格納された三角波LFO出力TRIの内
容がレジスタ(M1)213に読み出される(ステップ
S1201)。
Next, FIG. 12 shows the LPF section 40 of FIG.
5 to realize the function of FIG.
5 shows the processing operation executed by the control unit 5. First, the LFO filter coefficient G of the coefficient memory (P) 203
(See FIG. 17) is read to the register (M0) 212. Further, the contents of the triangular wave LFO output TRI stored in the work memory (W) 204 by the processing of FIG. 11 described above are read to the register (M1) 213 (step S1201).

【0074】そして、乗算器216において、上記レジ
スタ(M0)212の値とレジスタ(M1)213の値
とが乗算され、その乗算結果がレジスタ(MR)221
に得られる(ステップS1202)。これにより、図4
(b) の乗算器410の機能と等価な処理が実現される。
Then, in the multiplier 216, the value of the register (M0) 212 and the value of the register (M1) 213 are multiplied, and the multiplication result is registered in the register (MR) 221.
(Step S1202). As a result, FIG.
Processing equivalent to the function of the multiplier 410 in (b) is realized.

【0075】これと共に、係数メモリ(P)203のL
FO用フィルタ係数1−G(値1から値Gを減算した
値)がレジスタ(M0)212に読み出され、また、ワ
ークメモリ(W)204上の正弦波状LFO出力SIN
(図18参照)がレジスタ(M1)213に読み出され
る(同じくステップS1202)。
Along with this, L of the coefficient memory (P) 203
The FO filter coefficient 1-G (value obtained by subtracting the value G from the value 1) is read out to the register (M0) 212, and the sinusoidal LFO output SIN on the work memory (W) 204 is read.
(See FIG. 18) is read to the register (M1) 213 (also step S1202).

【0076】次に、レジスタ(MR)221に得られて
いる三角波LFO出力TRIに係数Gを乗算した結果が
加減算器217を介してレジスタ(AR)222に移さ
れる(ステップS1203)。
Next, the result of multiplying the triangular wave LFO output TRI obtained in the register (MR) 221 by the coefficient G is transferred to the register (AR) 222 via the adder / subtractor 217 (step S1203).

【0077】また、乗算器216において、ステップS
1102でセットされたレジスタ(M0)212の値と
レジスタ(M1)213の値とが乗算され、その乗算結
果がレジスタ(MR)221に得られる(同じくステッ
プS1203)。これにより、図4(b) の乗算器413
の機能と等価な処理が実現される。
Further, in the multiplier 216, step S
The value of the register (M0) 212 set in 1102 is multiplied by the value of the register (M1) 213, and the multiplication result is obtained in the register (MR) 221 (also step S1203). As a result, the multiplier 413 of FIG.
Processing equivalent to the function of is realized.

【0078】続いて、加減算器217で、レジスタ(A
R)222の値とレジスタ(MR)221の値とが加算
され、その加算結果が新たにレジスタ(AR)222に
セットされる(ステップS1204)。この内容は、更
にレジスタ(SR)224に格納される(ステップS1
205)。これにより、図4(b) の加算器411の機能
と等価な処理が実現される。
Then, in the adder / subtractor 217, the register (A
The value of R) 222 and the value of register (MR) 221 are added, and the addition result is newly set in register (AR) 222 (step S1204). This content is further stored in the register (SR) 224 (step S1).
205). As a result, processing equivalent to the function of the adder 411 shown in FIG. 4B is realized.

【0079】このようにしてレジスタレジスタ(SR)
224に得られた値は、新たな正弦波状LFO出力SI
Nとしてワークメモリ(W)204に格納される(ステ
ップS1206)。
In this way, the register register (SR)
The value obtained in 224 is the new sinusoidal LFO output SI.
It is stored in the work memory (W) 204 as N (step S1206).

【0080】次に図13は、図4(b) のビブラートアド
レス演算部406及び図4(a) のビブラート演算部の機
能を実現するために、図1又は図2のDSP105によ
って実行される処理動作を示すものである。
Next, FIG. 13 shows a process executed by the DSP 105 of FIG. 1 or 2 in order to realize the functions of the vibrato address operation unit 406 of FIG. 4B and the vibrato operation unit of FIG. 4A. It shows an operation.

【0081】まず、図3で説明したように、音源104
で生成され、DSP105内のワークメモリ(W)20
4(図2)に格納されたペダル効果送り音E(図18参
照)がレジスタ(EO)229に読み出される。また、
加算器227で、サンプリングタイミング毎に制御回路
202から発生されるカウンタ値SCに、アドレスオフ
セットメモリ(T)205から読み出されたビブラート
ライトアドレスオフセットVW(図19参照)が加算さ
れ、この加算値が書込みアドレスVWAとしてレジスタ
(EA)228にセットされる(ステップS130
1)。
First, as explained in FIG. 3, the sound source 104
And the work memory (W) 20 in the DSP 105
4 (FIG. 2), the pedal effect feed sound E (see FIG. 18) is read into the register (EO) 229. Also,
The adder 227 adds the vibrato write address offset VW (see FIG. 19) read from the address offset memory (T) 205 to the counter value SC generated from the control circuit 202 at each sampling timing. Is set in the register (EA) 228 as the write address VWA (step S130).
1).

【0082】次に、レジスタ(EO)229に読み出さ
れたペダル効果送り音Eが、遅延用メモリ(E)106
上のレジスタ(EA)228にセットされた書込みアド
レスVWAに書き込まれる(ステップS1302)。こ
れにより、図4(a) においてペダル効果送り音Eが遅延
用メモリ401へ書き込まれる機能と等価な処理が実現
される。
Next, the pedal effect feed sound E read out to the register (EO) 229 is stored in the delay memory (E) 106.
It is written to the write address VWA set in the upper register (EA) 228 (step S1302). As a result, a process equivalent to the function of writing the pedal effect feed sound E in the delay memory 401 in FIG. 4A is realized.

【0083】次いで、係数メモリ(P)203に記憶さ
れているビブラート深さ係数FMDがレジスタ(M0)
212に読み出される。また、前述の図12の処理によ
りワークメモリ(W)204に得られた正弦波状LFO
出力SINがレジスタ(M1)213に読み出される
(ステップS1303)。
Next, the vibrato depth coefficient FMD stored in the coefficient memory (P) 203 is stored in the register (M0).
It is read by 212. In addition, the sinusoidal LFO obtained in the work memory (W) 204 by the processing of FIG.
The output SIN is read by the register (M1) 213 (step S1303).

【0084】そして、乗算器216の値とレジスタ(M
1)213の値とが乗算され、その乗算結果がレジスタ
(MR)221に得られる(ステップS1304)。こ
れにより、図4(b) の乗算器414の機能と等価な処理
が実現される。
Then, the value of the multiplier 216 and the register (M
1) The value of 213 is multiplied, and the multiplication result is obtained in the register (MR) 221 (step S1304). As a result, processing equivalent to the function of the multiplier 414 of FIG. 4B is realized.

【0085】次に、上記レジスタ(MR)221に得ら
れた乗算結果の整数部(上位ビット)が、加減算器21
7及びレジスタ(AR)222を介してレジスタ(L
F)231に格納される。また、上記レジスタ(MR)
221の値は、ワークメモリ(W)204のアドレス0
8に補間用LFOデータVLとして格納される(図18
参照)(以上、ステップS1305)。
Next, the integer part (upper bit) of the multiplication result obtained in the register (MR) 221 is added / subtracted by the adder / subtractor 21.
7 and the register (AR) 222 through the register (L
F) 231 is stored. In addition, the above register (MR)
The value of 221 is the address 0 of the work memory (W) 204.
8 is stored as interpolation LFO data VL (FIG. 18).
(See step S1305).

【0086】続いて、加算器227で、サンプリングタ
イミング毎に制御回路202から発生されるカウンタ値
SCに、レジスタ(LF)231に読み出された上記乗
算結果の整数部が加算されて、一旦、レジスタ(ER)
232に保持され、更に、同じく加算器227で、上記
レジスタ(ER)232の値にアドレスオフセットメモ
リ(T)205から読み出されたビブラートリードアド
レスオフセットVR(図19参照)が加算され、この加
算値が読出しアドレスVRA2としてレジスタ(EA)
228にセットされる(ステップS1306)。これに
より、図4(b)の加算器415及び416の機能と等価
な処理が実現される。
Subsequently, the adder 227 adds the integer part of the multiplication result read by the register (LF) 231 to the counter value SC generated from the control circuit 202 at each sampling timing, and once, Register (ER)
232, and the adder 227 also adds the vibrato read address offset VR (see FIG. 19) read from the address offset memory (T) 205 to the value of the register (ER) 232. Register (EA) whose value is read address VRA2
It is set to 228 (step S1306). As a result, processing equivalent to the functions of the adders 415 and 416 in FIG. 4B is realized.

【0087】そして、上述のようにレジスタ(EA)2
28にセットされた読出しアドレスVRA2で遅延用メ
モリ(E)106がアクセスされ、そのアドレスから前
回以前のサンプリングタイミングで書き込まれた波形デ
ータ(ステップS1302参照)が読み出され、レジス
タ(EI)230に格納される(ステップS130
7)。これにより、図4(a) の遅延用メモリ401のア
ドレスVRA2からデータが読み出される機能と等価な
処理が実現される。
Then, as described above, the register (EA) 2
The delay memory (E) 106 is accessed by the read address VRA2 set to 28, the waveform data (see step S1302) written at the sampling timing before the previous time is read from the address, and the register (EI) 230 is read. Stored (step S130)
7). As a result, a process equivalent to the function of reading data from the address VRA2 of the delay memory 401 in FIG. 4A is realized.

【0088】更に、加算器227で、サンプリングタイ
ミング毎に制御回路202から発生されるカウンタ値S
Cに、レジスタ(LF)231に読み出されている前述
の乗算結果の整数部が加算されて、一旦、レジスタ(E
R)232に保持され、更に、同じく加算器227で、
上記レジスタ(ER)232の値にアドレスオフセット
メモリ(T)205から読み出されたビブラートリード
アドレスオフセットVR+1(図19参照)が加算さ
れ、この加算値が読出しアドレスVRA1としてレジス
タ(EA)228にセットされる(同じくステップS1
307)。これにより、図4(b) の加算器415及び4
17の機能と等価な処理が実現される。
Further, in the adder 227, the counter value S generated from the control circuit 202 at each sampling timing is added.
The integer part of the above-mentioned multiplication result read to the register (LF) 231 is added to C, and once the register (E
R) 232, and also in the adder 227,
The vibrato read address offset VR + 1 (see FIG. 19) read from the address offset memory (T) 205 is added to the value of the register (ER) 232, and the added value is set in the register (EA) 228 as the read address VRA1. Yes (also step S1
307). As a result, the adders 415 and 4 of FIG.
Processing equivalent to the 17 functions is realized.

【0089】そして、ステップS1307で、レジスタ
(EI)230に得られているアドレスVRA2からの
出力値がレジスタ(A0)214に退避された後、上述
のようにレジスタ(EA)228にセットされた読出し
アドレスVRA1で遅延用メモリ(E)106がアクセ
スされ、そのアドレスから前回以前のサンプリングタイ
ミングで書き込まれた波形データ(ステップS1302
参照)が読み出され、レジスタ(EI)230に格納さ
れる(ステップS1308)。これにより、図4(a) の
遅延用メモリ401のアドレスVRA1からデータが読
み出される機能と等価な処理が実現される。
Then, in step S1307, the output value from the address VRA2 obtained in the register (EI) 230 is saved in the register (A0) 214 and then set in the register (EA) 228 as described above. The delay memory (E) 106 is accessed by the read address VRA1, and the waveform data written from that address at the sampling timing before the previous time (step S1302).
(Reference) is read and stored in the register (EI) 230 (step S1308). As a result, processing equivalent to the function of reading data from the address VRA1 of the delay memory 401 in FIG. 4A is realized.

【0090】このようにしてレジスタ(EI)230に
得られたアドレスVRA1からの出力はレジスタ(A
1)215に格納される(ステップS1309)。次
に、加減算器217において、上述のようにレジスタ
(A1)215に格納されたアドレスVRA2からの出
力値が減算され、その減算結果がレジスタ(AR)22
2に得られる(ステップS1310)。これにより、図
4(a) の減算器402の機能と等価な処理が実現され
る。
The output from the address VRA1 thus obtained in the register (EI) 230 is the register (A
1) It is stored in 215 (step S1309). Next, in the adder / subtractor 217, the output value from the address VRA2 stored in the register (A1) 215 as described above is subtracted, and the subtraction result is registered in the register (AR) 22.
2 is obtained (step S1310). As a result, processing equivalent to the function of the subtractor 402 shown in FIG. 4A is realized.

【0091】このレジスタ(AR)222の内容は、更
にレジスタ(SR)224に格納される(ステップS1
311)。また、ステップS1305の処理でワークメ
モリ(W)204に格納された補間用LFOデータVL
の小数部(下位ビット)がレジスタ(M0)212に読
み出される(同じくステップS1311)。
The contents of the register (AR) 222 are further stored in the register (SR) 224 (step S1).
311). Also, the interpolation LFO data VL stored in the work memory (W) 204 in the process of step S1305.
The fractional part (lower bit) of is read into the register (M0) 212 (also step S1311).

【0092】そして、乗算器216において、上記レジ
スタ(M0)212の値とレジスタ(SR)224に得
られた差分値とが乗算され、その乗算結果がレジスタ
(MR)221に得られる(ステップS1312)。こ
れにより、図4(a) の乗算器404の機能と等価な処理
が実現される。
Then, in the multiplier 216, the value of the register (M0) 212 is multiplied by the difference value obtained in the register (SR) 224, and the multiplication result is obtained in the register (MR) 221 (step S1312). ). As a result, processing equivalent to the function of the multiplier 404 shown in FIG. 4A is realized.

【0093】これと共に、ステップS1308において
レジスタ(A0)214に格納されたアドレスVRA2
からの出力値がレジスタ(A1)215に移される(同
じくステップS1312)。
Along with this, the address VRA2 stored in the register (A0) 214 in step S1308
The output value from is transferred to the register (A1) 215 (also step S1312).

【0094】そして、加減算器217において、前記レ
ジスタ(MR)221の値と上記レジスタ(A1)21
5の値とが加算されて、その加算結果がレジスタ(A
R)222に得られる(ステップS1313)。これに
より、図4(a) の乗算器403の機能と等価な処理が実
現される。
Then, in the adder / subtractor 217, the value of the register (MR) 221 and the register (A1) 21 are added.
The value of 5 is added, and the result of the addition is added to the register (A
R) 222 (step S1313). As a result, processing equivalent to the function of the multiplier 403 of FIG. 4 (a) is realized.

【0095】そして、レジスタ(AR)222に得られ
た加算結果は、ワークメモリ(W)204のアドレス0
9にビブラート出力VOとしてて格納される(図18参
照)(ステップS1314)。
Then, the addition result obtained in the register (AR) 222 is the address 0 of the work memory (W) 204.
9 and is stored as the vibrato output VO (see FIG. 18) (step S1314).

【0096】以上のように、図1又は図2のDSP10
5が、図11〜図13の動作フローチャートで示される
処理のプログラムをサンプリングタイミング毎に繰り返
すことにより、図3又は図4のビブラート効果付加部3
07の機能が実現される。
As described above, the DSP 10 of FIG. 1 or FIG.
5 repeats the program of the processing shown in the operation flowcharts of FIGS. 11 to 13 at every sampling timing, so that the vibrato effect adding unit 3 of FIG.
The 07 function is realized.

【0097】次に、図14〜図16の動作フローチャー
トを用いて、図3又は図5のリバーブ効果付加部308
の機能を実現するための、図1又は図2のDSP105
の動作につき説明する。
Next, referring to the operation flowcharts of FIGS. 14 to 16, the reverb effect adding section 308 of FIG. 3 or 5 will be described.
1 or 2 for realizing the function of FIG.
The operation of will be described.

【0098】図14は、図5のオールパスフィルタ50
1の機能を実現するために、図1又は図2のDSP10
5によって実行される処理動作を示すものである。ま
ず、加算器227で、サンプリングタイミング毎に制御
回路202から発生されるカウンタ値SCに、アドレス
オフセットメモリ(T)205から読み出されたオール
パスフィルタ501のリードアドレスオフセットAR1
(図19参照)が加算され、この加算値がアドレス値と
してレジスタ(EA)228にセットされる(ステップ
S1401)。
FIG. 14 shows the all-pass filter 50 of FIG.
1 to realize the function of FIG.
5 shows the processing operation executed by the control unit 5. First, in the adder 227, the read address offset AR1 of the all-pass filter 501 read from the address offset memory (T) 205 is added to the counter value SC generated from the control circuit 202 at each sampling timing.
(See FIG. 19) is added, and the added value is set in the register (EA) 228 as an address value (step S1401).

【0099】次に、上述のようにレジスタ(EA)22
8にセットされたアドレス値で遅延用メモリ(E)10
6がアクセスされ、そのアドレスから前回のサンプリン
グタイミングで書き込まれた波形データが読み出され、
レジスタ(EI)230に格納される(ステップS14
02)。
Next, as described above, the register (EA) 22
The delay memory (E) 10 with the address value set to 8
6 is accessed, the waveform data written at the previous sampling timing is read from that address,
It is stored in the register (EI) 230 (step S14).
02).

【0100】次いで、レジスタ(EI)230に格納さ
れた上述の波形値が、レジスタ(M1)213及びレジ
スタ(A0)214に転送される。これと共に、係数値
0.5が係数メモリ(P)203から読み出され、レジ
スタ(M0)212にセットされる(以上、ステップS
1403)。
Next, the above-mentioned waveform value stored in the register (EI) 230 is transferred to the register (M1) 213 and the register (A0) 214. At the same time, the coefficient value 0.5 is read from the coefficient memory (P) 203 and set in the register (M0) 212 (the above is step S).
1403).

【0101】そして、乗算器216において、上述の係
数値0.5がセットされたレジスタ(M0)212の値
と、遅延用メモリ(E)106からの波形値がセットさ
れたレジスタ(M1)213の値とが乗算され、その値
がレジスタ(MR)221にセットされる(ステップS
1404)。
Then, in the multiplier 216, the value of the register (M0) 212 in which the coefficient value 0.5 is set, and the register (M1) 213 in which the waveform value from the delay memory (E) 106 is set. Is multiplied by the value of and the value is set in the register (MR) 221 (step S
1404).

【0102】以上のステップS1401〜S1404の
動作によって、図5のオールパスフィルタ501におい
て、遅延素子529から1サンプリング周期前の波形値
が読み出され、乗算器529で乗算係数0.5が乗算さ
れる機能と等価な処理が実現される。
Through the operations in steps S1401 to S1404, the waveform value of one sampling period before is read from the delay element 529 in the all-pass filter 501 of FIG. 5, and the multiplier 529 multiplies the waveform value by 0.5. Processing equivalent to the function is realized.

【0103】これと共に、ワークメモリ(W)204か
ら、前述のビブラート効果付加部307での処理によっ
て生成されたビブラート出力VOが読み出され、レジス
タ(A1)215にセットされる(同じくステップS1
404)。
At the same time, the vibrato output VO generated by the above-described processing by the vibrato effect adding unit 307 is read from the work memory (W) 204 and set in the register (A1) 215 (also in step S1).
404).

【0104】次に、加減算器217において、上述のレ
ジスタ(A1)215にセットされたビブラート出力V
Oの値に、前述の乗算値がセットされているレジスタ
(MR)221の値が加算され、この加算値がレジスタ
(AR)222にセットされる(ステップS140
5)。そして、このレジスタの加算結果が、出力用のレ
ジスタ(SR)224に移される(ステップS140
6)。これにより、図5のオールパスフィルタ501の
加算器532の機能と等価な処理が実現される。
Next, in the adder / subtractor 217, the vibrato output V set in the above-mentioned register (A1) 215 is set.
The value of the register (MR) 221 in which the above-mentioned multiplication value is set is added to the value of O, and this added value is set in the register (AR) 222 (step S140).
5). Then, the addition result of this register is moved to the output register (SR) 224 (step S140).
6). As a result, processing equivalent to the function of the adder 532 of the all-pass filter 501 in FIG. 5 is realized.

【0105】続いて、上記レジスタ(SR)224の値
がレジスタ(EO)229へ格納される。また、加算器
227において、サンプリングカウンタ値SCにアドレ
スオフセットメモリ(T)205から読み込まれオール
パスフィルタ501のライトアドレスオフセットAW1
が加算されて、レジスタ(EA)228にセットされる
(ステップS1407)。
Then, the value of the register (SR) 224 is stored in the register (EO) 229. The adder 227 reads the sampling counter value SC from the address offset memory (T) 205 and writes the write address offset AW1 of the all-pass filter 501.
Is added and set in the register (EA) 228 (step S1407).

【0106】これと共に、乗算器216で、係数値0.
5がセットされているレジスタ(M0)212の値とス
テップS1406でセットされたレジスタ(SR)22
4の値とが乗算され、その値がレジスタ(MR)221
にセットされる(同じくステップS1407)。これに
より、図5のオールパスフィルタ501の乗算器531
での処理と等価な処理が実現される。
At the same time, the multiplier 216 causes the coefficient values 0.
The value of the register (M0) 212 in which 5 is set and the value of the register (SR) 22 set in step S1406
4 is multiplied and the value is multiplied by the register (MR) 221.
Is set to (also step S1407). Thereby, the multiplier 531 of the all-pass filter 501 of FIG.
The processing equivalent to the processing in (3) is realized.

【0107】更に、前記ステップS1403でレジスタ
(A0)214に格納された遅延用メモリ(E)106
からの前回のサンプリングタイミングの波形データが、
レジスタ(A1)215に移される(同じくステップS
1407)。
Further, the delay memory (E) 106 stored in the register (A0) 214 in step S1403.
Waveform data of the previous sampling timing from
Moved to register (A1) 215 (also step S
1407).

【0108】次に、ステップS1407でレジスタ(E
O)229に設定された値が、ステップS1407で演
算されたレジスタ(EA)228に格納されている値を
アドレスとして、遅延用メモリ(E)106に格納され
る(ステップS1408)。これにより、図5のオール
パスフィルタ501の加算器532の出力が遅延素子5
29に格納される機能と等価な処理が実現される。
Next, in step S1407, the register (E
The value set in (O) 229 is stored in the delay memory (E) 106 using the value stored in the register (EA) 228 calculated in step S1407 as an address (step S1408). As a result, the output of the adder 532 of the all-pass filter 501 of FIG.
Processing equivalent to the function stored in 29 is realized.

【0109】また、加減算器217において、ステップ
S1407でレジスタ(A1)215に設定された波形
データから、同じくレジスタ(MR)221に得られた
乗算結果が減算され、その結果がレジスタ(AR)22
2に格納され(同じくステップS1408)、更に、そ
のレジスタ値が出力用のレジスタ(SR)224に移さ
れる(ステップS1409)。これにより、図5のオー
ルパスフィルタ501の加算器533での機能と等価な
処理が実現される。
In addition, in the adder / subtractor 217, the multiplication result also obtained in the register (MR) 221 is subtracted from the waveform data set in the register (A1) 215 in step S1407, and the result is registered in the register (AR) 22.
2 (also step S1408), and the register value is further transferred to the output register (SR) 224 (step S1409). As a result, processing equivalent to the function of the adder 533 of the all-pass filter 501 of FIG. 5 is realized.

【0110】最後に、上述のレジスタ(SR)224に
得られた出力結果が、データAO1としてワークメモリ
(W)204に格納される(ステップS1410)。こ
れにより、図5のオールパスフィルタ501の出力信号
AO1が得られる。
Finally, the output result obtained in the above register (SR) 224 is stored in the work memory (W) 204 as the data AO1 (step S1410). As a result, the output signal AO1 of the all-pass filter 501 of FIG. 5 is obtained.

【0111】以上のように、図1又は図2のDSP10
5が、図14の動作フローチャートで示される処理のプ
ログラムをサンプリングタイミング毎に繰り返すことに
より、図5のオールパスフィルタ501の機能が実現さ
れる。
As described above, the DSP 10 of FIG. 1 or FIG.
5 repeats the program of the process shown in the operation flowchart of FIG. 14 at each sampling timing, whereby the function of the all-pass filter 501 of FIG. 5 is realized.

【0112】次に、図5のオールパスフィルタ502の
機能を実現するためには、DSP105が、オールパス
フィルタ502の出力AO1に対して、図14の動作フ
ローチャートと同様の処理のプログラムを実行すればよ
く、これにより、ワークメモリ(W)204に出力AO
2が得られる(図18参照)。
Next, in order to realize the function of the all-pass filter 502 of FIG. 5, the DSP 105 has only to execute the same processing program as the operation flowchart of FIG. 14 on the output AO1 of the all-pass filter 502. , By this, output to the work memory (W) 204 AO
2 is obtained (see FIG. 18).

【0113】続いて、図15は、図5のコムフィルタ5
03の機能を実現するために、図1又は図2のDSP1
05によって実行される処理動作を示すものである。ま
ず、加算器227で、サンプリングタイミング毎に制御
回路202から発生されるカウンタ値SCに、アドレス
オフセットメモリ(T)205から読み出されたコムフ
ィルタ503の右チャンネルリードアドレスオフセット
CRR1(図19参照)が加算され、この加算値がアド
レス値としてレジスタ(EA)228にセットされる
(ステップS1501)。
Next, FIG. 15 shows the comb filter 5 of FIG.
In order to realize the function of 03, DSP1 of FIG. 1 or FIG.
5 shows processing operations executed by 05. First, in the adder 227, the counter value SC generated from the control circuit 202 at each sampling timing is added to the right channel read address offset CRR1 of the comb filter 503 read from the address offset memory (T) 205 (see FIG. 19). Is added, and the added value is set as an address value in the register (EA) 228 (step S1501).

【0114】次に、上述のようにレジスタ(EA)22
8にセットされたアドレス値で遅延用メモリ(E)10
6がアクセスされ、そのアドレスから前回のサンプリン
グタイミングで書き込まれた波形データが読み出され、
レジスタ(EI)230に右チャンネル用の波形データ
として格納される(ステップS1502)。
Next, as described above, the register (EA) 22
The delay memory (E) 10 with the address value set to 8
6 is accessed, the waveform data written at the previous sampling timing is read from that address,
The waveform data for the right channel is stored in the register (EI) 230 (step S1502).

【0115】次いで加算器227で、サンプリングタイ
ミング毎に制御回路202から発生されるカウンタ値S
Cに、アドレスオフセットメモリ(T)205から読み
出されたコムフィルタ503の左チャンネルリードアド
レスオフセットCLR1が加算され、この加算値がアド
レス値としてレジスタ(EA)228にセットされる
(ステップS1503)。
Next, in the adder 227, the counter value S generated from the control circuit 202 at each sampling timing is added.
The left channel read address offset CLR1 of the comb filter 503 read from the address offset memory (T) 205 is added to C, and the added value is set in the register (EA) 228 as an address value (step S1503).

【0116】また、ステップS1503でレジスタ(E
I)230にセットされた右チャンネル用の波形データ
がレジスタ(M0)212に移されると共に、ワークメ
モリ(W)204の図18に示されるアドレス0Cにコ
ムフィルタ503の右チャネル用出力CRO1として格
納される(同じくステップS1503)。これにより、
図5のコムフィルタ503の遅延用素子534から右チ
ャネル用出力CRO1が出力される機能と等価な処理が
実現される。
In step S1503, the register (E
I) The right channel waveform data set in 230 is transferred to the register (M0) 212, and stored in the work memory (W) 204 at the address 0C shown in FIG. 18 as the right channel output CRO1 of the comb filter 503. (Also step S1503). This allows
Processing equivalent to the function of outputting the right channel output CRO1 from the delay element 534 of the comb filter 503 of FIG. 5 is realized.

【0117】更に、係数メモリ(P)203からリバー
ブタイムRVTが読み出され(図17参照)、レジスタ
(M1)213にセットされる(同じくステップS15
03)。
Further, the reverb time RVT is read from the coefficient memory (P) 203 (see FIG. 17) and set in the register (M1) 213 (also step S15).
03).

【0118】次に、ステップS1503でレジスタ(E
A)228にセットされた左チャンネル用のアドレス値
で遅延用メモリ(E)106がアクセスされ、そのアド
レスから前回のサンプリングタイミングで書き込まれた
波形データが読み出され、レジスタ(EI)230に左
チャンネル用の波形データとして格納される(ステップ
S1504)。
Next, in step S1503, the register (E
A) The memory for delay (E) 106 is accessed with the address value for the left channel set in 228, the waveform data written at the previous sampling timing is read from that address, and left in the register (EI) 230. It is stored as the waveform data for the channel (step S1504).

【0119】次いで、乗算器216で、ステップS15
03でレジスタ(M0)212にセットされた右チャン
ネル用の波形データと、同じくレジスタ(M1)213
にセットされたリバーブタイムRVTとが乗算され、そ
の乗算結果がレジスタ(MR)221に格納される(ス
テップS1504)。これにより、図5のコムフィルタ
503の乗算器535の機能と等価な処理が実現され
る。
Then, in the multiplier 216, step S15
The waveform data for the right channel set in the register (M0) 212 in 03 and the register (M1) 213
Is multiplied by the reverb time RVT set in (1), and the multiplication result is stored in the register (MR) 221 (step S1504). As a result, processing equivalent to the function of the multiplier 535 of the comb filter 503 of FIG. 5 is realized.

【0120】これと共に、ワークメモリ(W)204に
格納されているオールパスフィルタ502(図5)の出
力AO2がレジスタ(A1)215に読み出される(同
じくステップS1504)。
At the same time, the output AO2 of the all-pass filter 502 (FIG. 5) stored in the work memory (W) 204 is read by the register (A1) 215 (also step S1504).

【0121】次に、ステップS1504でレジスタ(E
I)230にセットされた左チャンネル用の波形データ
が、ワークメモリ(W)204の図18に示されるアド
レス14にコムフィルタ503の左チャンネル用出力C
LO1として格納される(ステップS1505)。これ
により、図5のコムフィルタ503の遅延用素子534
から左チャンネル用出力CLO1が出力される機能と等
価な処理が実現される。
Next, in step S1504, the register (E
I) The left channel waveform data set in 230 is output to the left channel output C of the comb filter 503 at the address 14 shown in FIG. 18 of the work memory (W) 204.
It is stored as LO1 (step S1505). As a result, the delay element 534 of the comb filter 503 of FIG.
The processing equivalent to the function of outputting the output CLO1 for the left channel is realized.

【0122】また、加減算器217において、ステップ
S1504でレジスタ(MR)221に得られた乗算結
果と、ステップS1504でレジスタ(A1)215に
格納されたオールパスフィルタ502の出力AO2が加
算され、その加算結果がレジスタ(AR)222に得ら
れる(ステップS1503)。そして、そのレジスタ値
が出力用のレジスタ(SR)224に格納される(ステ
ップS1506)。これにより、図5のコムフィルタ5
03の加算器536の機能と等価な処理が実現される。
Further, in the adder / subtractor 217, the multiplication result obtained in the register (MR) 221 in step S1504 and the output AO2 of the all-pass filter 502 stored in the register (A1) 215 in step S1504 are added, and the addition is performed. The result is obtained in the register (AR) 222 (step S1503). Then, the register value is stored in the output register (SR) 224 (step S1506). As a result, the comb filter 5 of FIG.
A process equivalent to the function of the adder 536 of 03 is realized.

【0123】続いて、加算器227において、サンプリ
ングカウンタ値SCにアドレスオフセットメモリ(T)
205から読み出されたコムフィルタ503のライトア
ドレスオフセットCW1が加算され、レジスタ(EA)
228にセットされる。また、レジスタ(SR)224
に格納された前述の加算結果がレジスタ(EO)229
へ格納される(ステップS1507)。
Then, in the adder 227, the address offset memory (T) is added to the sampling counter value SC.
The write address offset CW1 of the comb filter 503 read from 205 is added to the register (EA).
228 is set. In addition, the register (SR) 224
The above addition result stored in the register is the register (EO) 229.
Is stored in (step S1507).

【0124】そして、上記レジスタ(EO)229に設
定された値が、上記レジスタ(EA)228に格納され
た値をアドレスとして遅延用メモリ(E)106に格納
される(ステップS1508)。これにより、図5のコ
ムフィルタ503の加算器536の出力が遅延用素子5
34に格納される機能と等価な処理が実現される。
Then, the value set in the register (EO) 229 is stored in the delay memory (E) 106 using the value stored in the register (EA) 228 as an address (step S1508). As a result, the output of the adder 536 of the comb filter 503 of FIG.
Processing equivalent to the function stored in 34 is realized.

【0125】以上のように、図1又は図2のDSP10
5が、図15の動作フローチャートで示される処理のプ
ログラムをサンプリングタイミング毎に繰り返すことに
より、図5のコムフィルタ503の機能が実現される。
As described above, the DSP 10 of FIG. 1 or FIG.
5 repeats the program of the processing shown in the operation flowchart of FIG. 15 at each sampling timing, whereby the function of the comb filter 503 of FIG. 5 is realized.

【0126】次に、図5の他のコムフィルタ504〜5
10機能を実現するためには、DSP105が、オール
パスフィルタ502の出力AO2に対して、図15の動
作フローチャートと同様の処理のプログラムを実行すれ
ばよく、これにより、ワークメモリ(W)204に各コ
ムフィルタ右チャネル用出力CRO2〜CRO8及び同
じく左チャンネル用出力CLO2〜CLO8が得られる
(図18参照)。
Next, the other comb filters 504 to 5 shown in FIG.
In order to realize the 10 functions, the DSP 105 may execute a program of processing similar to that of the operation flowchart of FIG. 15 on the output AO2 of the all-pass filter 502. The comb filter outputs CRO2 to CRO8 for the right channel and outputs CLO2 to CLO8 for the left channel are obtained (see FIG. 18).

【0127】最後に、図16は、図5の乗算器511〜
518及び累算器527による累算機能を実現するため
に、図1又は図2のDSP105によって実行される処
理動作を示すものである。
Finally, FIG. 16 shows the multipliers 511 to 511 of FIG.
3 illustrates processing operations performed by the DSP 105 of FIG. 1 or 2 to implement the accumulation function of 518 and accumulator 527.

【0128】まず、係数メモリ(P)203から各コム
フィルタからの各チャネル出力に掛けられる重み付け係
数に相当するリバーブデプスRVDが読み出され、レジ
スタ(M0)212にセットされる。また、ワークメモ
リ(W)204から、図15の動作フローチャートに基
づいて求まっているコムフィルタ503の右チャネル用
出力CRO1が読み出され、レジスタ(M1)213に
セットされる(以上、ステップS1601)。
First, the reverb depth RVD corresponding to the weighting coefficient to be applied to each channel output from each comb filter is read from the coefficient memory (P) 203 and set in the register (M0) 212. Further, the output CRO1 for the right channel of the comb filter 503, which is obtained based on the operation flowchart of FIG. 15, is read from the work memory (W) 204 and set in the register (M1) 213 (above, step S1601). .

【0129】次に、乗算器216で、レジスタ(M0)
212にセットされたリバーブデプスRVDと、レジス
タ(M1)213にセットされたコムフィルタ503の
右チャネル用出力CRO1とが乗算され、その乗算結果
がレジスタ(MR)221にセットされる(ステップS
1602)。これにより、図5の乗算器511の機能と
等価な処理が実現される。
Next, in the multiplier 216, the register (M0)
The reverb depth RVD set in 212 is multiplied by the right channel output CRO1 of the comb filter 503 set in the register (M1) 213, and the multiplication result is set in the register (MR) 221 (step S
1602). As a result, processing equivalent to the function of the multiplier 511 of FIG. 5 is realized.

【0130】また、ワークメモリ(W)204から、コ
ムフィルタ504の右チャネル用出力CRO2がレジス
タ(M1)213に読み出される(同じくステップS1
602)。
Further, the right channel output CRO2 of the comb filter 504 is read from the work memory (W) 204 to the register (M1) 213 (also step S1).
602).

【0131】続いて、レジスタ(MR)221の内容が
レジスタ(AR)222に移された後に、乗算器216
で、上記レジスタ(M1)213にセットされたコムフ
ィルタ504の右チャネル用出力CRO2に、レジスタ
(M0)212にセットされているリバーブデプスRV
Dが乗算され、その乗算結果がレジスタ(MR)221
に得られる(ステップS1603)。これにより、図5
の乗算器512の機能と等価な処理が実現される。
Subsequently, after the contents of the register (MR) 221 are transferred to the register (AR) 222, the multiplier 216
At the right channel output CRO2 of the comb filter 504 set in the register (M1) 213, the reverb depth RV set in the register (M0) 212 is set.
D is multiplied, and the multiplication result is the register (MR) 221.
(Step S1603). As a result, FIG.
A process equivalent to the function of the multiplier 512 of is realized.

【0132】以下、図5の各コムフィルタ505〜51
0の右チャネル用出力CRO3〜CRO8についても、
同様にしてリバーブデプスRVDが乗算される。そし
て、レジスタ(MR)221に得られた各乗算結果は、
加減算器217において、レジスタ(AR)222に得
られている累算値に順次累算され、新たなレジスタ(A
R)222の値とされる(ステップS1604〜S16
10)。このようにして、図5の乗算器513〜518
の機能及び累算器527の機能と等価な処理が実現され
る。
Hereinafter, each of the comb filters 505 to 51 shown in FIG.
For the right channel outputs CRO3 to CRO8 of 0,
Similarly, the reverb depth RVD is multiplied. Then, each multiplication result obtained in the register (MR) 221 is
In the adder / subtractor 217, the accumulated value obtained in the register (AR) 222 is sequentially accumulated, and a new register (A
R) 222 (steps S1604 to S16)
10). In this way, the multipliers 513 to 518 of FIG.
And a function equivalent to the function of the accumulator 527 are realized.

【0133】コムフィルタ503〜510の各右チャネ
ル用出力CRO1〜CRO8にリバーブデプスRVDが
重み付けがなされ、それらの累算結果がレジスタ(A
R)222に得られたら、その内容が出力用のレジスタ
(SR)224に移され(ステップS1611)、レジ
スタ(SR)224の内容がワークメモリ(W)204
の図18のアドレス1Dにリバーブ右チャネル用出力R
OTとして格納される(ステップS1612)。
The right channel outputs CRO1 to CRO8 of the comb filters 503 to 510 are weighted with the reverb depth RVD, and the accumulated results are stored in the register (A
When the contents are obtained by the R) 222, the contents are transferred to the output register (SR) 224 (step S1611), and the contents of the register (SR) 224 are stored in the work memory (W) 204
Output R for the reverb right channel at address 1D in FIG.
It is stored as OT (step S1612).

【0134】そして、このリバーブ右チャネル用出力R
OTは、信号出力用のレジスタ(OR)225に設定さ
れることにより、図3のリバーブ効果付加部308から
のリバーブ右チャネル用出力ROTとして出力される
(ステップS1613)。
This reverb right channel output R
The OT is set in the signal output register (OR) 225, and is output as the reverb right channel output ROT from the reverb effect adding unit 308 of FIG. 3 (step S1613).

【0135】以上の様に、図1又は図2のDSP105
が、図16の動作フローチャートで示される処理のプロ
グラムをサンプリングタイミング毎に繰り返すことによ
り、図5の乗算器511〜518及び累算器527によ
る累算機能が実現される。
As described above, the DSP 105 of FIG. 1 or FIG.
However, the accumulating function of the multipliers 511 to 518 and the accumulator 527 of FIG. 5 is realized by repeating the program of the process shown in the operation flowchart of FIG. 16 at each sampling timing.

【0136】次に、図5の乗算器519〜526及び累
算器528による累算機能を実現するためには、DSP
105が、コムフィルタ503〜510の各左チャンネ
ル用出力CLO1〜CLO8に対して、図16の動作フ
ローチャートと同様の処理のプログラムを実行すれば良
く、これにより、ワークメモリ(W)204の図18の
アドレス1Eにリバーブ左チャネル出力LOTが得ら
れ、信号出力用のレジスタ(OR)225に設定される
ことにより、図3のリバーブ効果付加部308からのリ
バーブ左チャネル出力LOTとして出力される。
Next, in order to realize the accumulation function of the multipliers 519 to 526 and the accumulator 528 of FIG.
It suffices for 105 to execute a program of the same processing as the operation flowchart of FIG. 16 for each of the left channel outputs CLO1 to CLO8 of the comb filters 503 to 510, whereby the work memory (W) 204 of FIG. The reverb left channel output LOT is obtained at the address 1E of 1. and is set in the signal output register (OR) 225, and is output as the reverb left channel output LOT from the reverb effect adding unit 308 of FIG.

【0137】以上のように、図1又は図2のDSP10
5が、図14〜図16の動作フローチャートで示される
処理のプログラムをサンプリングタイミング毎に繰り返
すことにより、図3又は図5のリバーブ効果付加部30
8の機能が実現される。
As described above, the DSP 10 of FIG. 1 or FIG.
5 repeats the program of the processing shown in the operation flowcharts of FIGS. 14 to 16 at each sampling timing, so that the reverb effect adding unit 30 of FIG.
8 functions are realized.

【0138】最後に、図3の加算器309及び310の
機能を実現するための、図1又は図2のDSP105の
動作につき説明する。すなわち、図2のDSP105
で、まず、前述のように、音源104からDSP105
内のワークメモリ(W)204に得られている右チャン
ネルダイレクト音Rがレジスタ(A0)214に読み出
され、前述の図16の処理により同じくワークメモリ
(W)204に得られたリバーブ右チャネル用出力RO
Tがレジスタ(A1)215に読み出される。そして、
加減算器217において、両レジスタの内容が加算さ
れ、その加算結果がレジスタ(AR)222及びレジス
タ(SR)224を介してワークメモリ(W)204の
アドレス1Fに右チャネル楽音出力ROUTとして格納
された後、出力レジスタ(OR)225に転送され、同
レジスタから図1のD/A変換器107に出力される。
これにより、図3の加算器309の機能と等価な処理が
実現される。
Finally, the operation of the DSP 105 of FIG. 1 or 2 for realizing the functions of the adders 309 and 310 of FIG. 3 will be described. That is, the DSP 105 of FIG.
First, as described above, the sound source 104 to the DSP 105
The right channel direct sound R obtained in the work memory (W) 204 therein is read out to the register (A0) 214, and the reverb right channel similarly obtained in the work memory (W) 204 by the processing of FIG. Output RO
T is read into the register (A1) 215. And
In the adder / subtractor 217, the contents of both registers are added, and the addition result is stored in the address 1F of the work memory (W) 204 as the right channel tone output ROUT via the register (AR) 222 and the register (SR) 224. After that, it is transferred to the output register (OR) 225 and is output from the same register to the D / A converter 107 in FIG.
As a result, processing equivalent to the function of the adder 309 in FIG. 3 is realized.

【0139】左チャンネルに対しても同様にして、ワー
クメモリ(W)204上の音源104からの左チャンネ
ルダイレクト音Lとリバーブ左チャンネル出力LOTと
加減算器217で加算され、その加算結果がワークメモ
リ(W)204のアドレス20に左チャネル楽音出力L
OUTとして格納された後、出力レジスタ(OR)22
5に転送され、同レジスタから図1のD/A変換器10
7に出力される。これにより、図3の加算器310の機
能と等価な処理が実現される。
Similarly, for the left channel, the left channel direct sound L from the sound source 104 on the work memory (W) 204, the reverb left channel output LOT and the adder / subtractor 217 are added, and the addition result is the work memory. (W) Left channel tone output L at address 20 of 204
After being stored as OUT, the output register (OR) 22
5 to the D / A converter 10 of FIG.
7 is output. As a result, processing equivalent to the function of the adder 310 in FIG. 3 is realized.

【0140】以上の実施例においては、ビブラート効果
の深さの変化幅を制御するビブラート深さ係数FMDの
値と、ビブラート効果の速さの変化幅を制御するLFO
レート対応値RATの値とが、演奏情報のキーノートに
基づいて検出されるコードの種類に応じて自動的に変化
され、設定されるように構成されている。すなわち、鍵
盤によるコード音の押鍵操作に連動してビブラート効果
の深さや速さが変化するように構成されている。これに
対して、ビブラート深さ係数FMDの値とLFOレート
対応値RATの値とが、リバーブ効果の場合と同様にペ
ダルの踏み込み量に応じて変化するように構成されても
よい。このように構成される場合の他の実施例の具体的
な動作につき、以下に説明する。
In the above embodiment, the value of the vibrato depth coefficient FMD for controlling the change width of the depth of the vibrato effect and the LFO for controlling the change width of the speed of the vibrato effect.
The value of the rate corresponding value RAT is automatically changed and set according to the type of chord detected based on the keynote of the performance information. That is, the depth and speed of the vibrato effect are changed in association with the key depression operation of the chord sound on the keyboard. On the other hand, the value of the vibrato depth coefficient FMD and the value of the LFO rate corresponding value RAT may be configured to change according to the depression amount of the pedal as in the case of the reverb effect. The specific operation of another embodiment having such a configuration will be described below.

【0141】まず、構成については、上述の実施例にお
ける図1〜図5の構成と全く同様である。次に、具体的
な動作については、図6〜図8のCPUの動作フローチ
ャートで説明した処理のうち、図6のタイマ1処理の破
線S600で囲まれたステップS604、S605、及
びS606の処理は実行されず、また、図8のタイマ3
処理が図20のタイマ3処理で置き換えられる。以下
に、この部分の動作について説明する。なお、上述した
実施例と同一の部分については構成、動作ともに説明は
省略する。
First, the configuration is exactly the same as the configurations of FIGS. 1 to 5 in the above-described embodiment. Next, regarding the specific operation, among the processing described in the operation flowcharts of the CPU of FIGS. 6 to 8, the processing of steps S604, S605, and S606 surrounded by the broken line S600 of the timer 1 processing of FIG. Not executed and timer 3 in FIG.
The process is replaced by the timer 3 process in FIG. The operation of this part will be described below. It should be noted that description of the configuration and operation of the same parts as those in the above-described embodiment will be omitted.

【0142】図20に示す他の実施例におけるタイマ3
処理では、ステップS2001〜S2003までの処理
は、図8に示した一実施例のタイマ3処理におけるステ
ップS803〜S803までの処理と同一である。
A timer 3 in another embodiment shown in FIG.
In the processing, the processing of steps S2001 to S2003 is the same as the processing of steps S803 to S803 in the timer 3 processing of the embodiment shown in FIG.

【0143】図20のステップS2003においては、
前述の一実施例で述べたように、ペダルデータPDの変
化した値に応じてROM102上のリバーブ用テーブル
がアクセスされ、対応するリバーブデプスRVD及びリ
バーブタイムRVTが読み出され、RAM103に設定
される。
In step S2003 of FIG. 20,
As described in the above-described embodiment, the reverb table on the ROM 102 is accessed according to the changed value of the pedal data PD, and the corresponding reverb depth RVD and reverb time RVT are read and set in the RAM 103. .

【0144】そして、同じくペダルデータPDの変化し
た値に応じて、ROM102上の特には図示しないビブ
ラート用テーブルがアクセスされ、対応するビブラート
深さ係数FMD及びLFOレート対応値RATが読み出
され、RAM103に設定される(ステップS200
4)。このビブラート用テーブルは、図10に示したリ
バーブ用テーブルと同様なテーブルであり、ビブラート
深さ係数FMDを同図のリバーブデプスRVDに、LF
Oレート対応値RATを同図のリバーブタイムRVTに
対応させて構成されたものである。
Similarly, in accordance with the changed value of the pedal data PD, a vibrato table (not shown) on the ROM 102 is accessed, the corresponding vibrato depth coefficient FMD and the LFO rate corresponding value RAT are read, and the RAM 103 is read. Is set to (step S200
4). This vibrato table is the same table as the reverb table shown in FIG. 10, and the vibrato depth coefficient FMD is set to the reverb depth RVD in the figure to LF.
The O-rate corresponding value RAT is configured to correspond to the reverb time RVT shown in FIG.

【0145】次に、このようにして、上記ステップS2
003及びS2004で得られたリバーブデプスRV
D、リバーブタイムRVT、ビブラート深さ係数FMD
及びLFOレート対応値RATが、DSP105内の係
数メモリ(P)203に転送される(ステップS200
5)。
Then, in this way, the above step S2
Reverb depth RV obtained in 003 and S2004
D, reverb time RVT, vibrato depth coefficient FMD
And the LFO rate corresponding value RAT are transferred to the coefficient memory (P) 203 in the DSP 105 (step S200).
5).

【0146】ここで、リバーブデプスRVD及びリバー
ブタイムRVTは、図5で説明したように、コムフィル
タ503〜510及び乗算器511〜526に供給さ
れ、これらが図10に示されるテーブル特性に基づいて
ペダル踏み込み量によって可変されることにより、異な
る残響音が得られる。すなわち、ペダル110の踏み込
み量が大きいほど、残響が深くかかり、残響時間も長く
なることは、前述の一実施例でも述べた通りである。
Here, the reverb depth RVD and the reverb time RVT are supplied to the comb filters 503 to 510 and the multipliers 511 to 526 as described with reference to FIG. 5, and based on the table characteristics shown in FIG. Different reverberation sounds can be obtained by varying the pedal depression amount. That is, the larger the depression amount of the pedal 110 is, the deeper the reverberation is and the longer the reverberation time is, as described in the above-described embodiment.

【0147】また、ビブラート深さ係数FMD及びLF
Oレート対応値RATは、図4で説明したように、ビブ
ラートアドレス演算部406の乗算器414及び三角波
ジェネレータ部404の加算器408に供給され、これ
が上述した図10のリバーブ用テーブルと同様なビブラ
ート用テーブルで定まるテーブル特性に基づいてペダル
踏み込み量によって可変されることにより、異なる揺ら
ぎ効果が得られる。すなわち、ペダル110の踏み込み
量が大きいほど、揺らぎが深くかかり、揺らぎ時間も長
くなる。この場合、右ペダルでビブラート効果を、左ペ
ダルでリバーブ効果を制御するようにしてもよい。勿
論、その逆でもよい。
Also, vibrato depth coefficients FMD and LF
As described with reference to FIG. 4, the O-rate corresponding value RAT is supplied to the multiplier 414 of the vibrato address operation unit 406 and the adder 408 of the triangular wave generator unit 404, which is similar to the reverb table of FIG. Different fluctuation effects can be obtained by varying the pedal depression amount based on the table characteristics determined by the working table. That is, the larger the depression amount of the pedal 110, the deeper the fluctuation and the longer the fluctuation time. In this case, the right pedal may control the vibrato effect and the left pedal may control the reverb effect. Of course, the reverse is also possible.

【0148】このように、上述の他の実施例によれば、
ペダル110からの踏み込み量の情報によってビブラー
ト効果の制御を実現できる。なお、この実施例におけ
る、図1、図2又は図3のDSP105の動作について
も、図11〜図16の動作フローチャートとに基づき説
明したものと全く同様である。
Thus, according to the above-mentioned other embodiment,
The control of the vibrato effect can be realized by the information on the depression amount from the pedal 110. Note that the operation of the DSP 105 of FIG. 1, FIG. 2 or FIG. 3 in this embodiment is exactly the same as that described based on the operation flowcharts of FIGS.

【0149】[0149]

【発明の効果】本発明によれば、残響効果付与の対象と
なる音響信号に対してビブラート効果を付与することに
より、生成される残響音は周波数が複雑に変化し、この
結果、出力音響信号に対し、アコースティックピアノ等
の自然楽器における箱鳴り感や共鳴音を模倣するのに十
分な残響効果を付加することのできるエフェクタを実現
することができる。
According to the present invention, a vibrato effect is applied to an acoustic signal to which a reverberation effect is applied.
Therefore, the frequency of the reverberant sound generated changes intricately.
As a result, it is possible to realize an effector capable of adding a reverberation effect sufficient to imitate the box sound or resonance sound of a natural musical instrument such as an acoustic piano to the output acoustic signal.

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

【図1】本発明の一実施例の全体構成図である。FIG. 1 is an overall configuration diagram of an embodiment of the present invention.

【図2】DSPの構成図である。FIG. 2 is a configuration diagram of a DSP.

【図3】音源、DSPの動作原理ブロック図である。FIG. 3 is a block diagram of an operation principle of a sound source and a DSP.

【図4】ビブラート効果付加部の動作原理ブロック図で
ある。
FIG. 4 is a block diagram of an operation principle of a vibrato effect adding section.

【図5】リバーブ効果付加部の動作原理ブロック図であ
る。
FIG. 5 is a block diagram of an operation principle of a reverb effect adding unit.

【図6】CPUのタイマ1処理の動作フローチャートで
ある。
FIG. 6 is an operation flowchart of CPU timer 1 processing.

【図7】CPUのタイマ2処理の動作フローチャートで
ある。
FIG. 7 is an operation flowchart of a timer 2 process of the CPU.

【図8】CPUのタイマ3処理の動作フローチャートで
ある。
FIG. 8 is an operation flowchart of a timer 3 process of the CPU.

【図9】キーフォローテーブルを示した図である。FIG. 9 is a diagram showing a key follow table.

【図10】リバーブ用テーブルを示した図である。FIG. 10 is a diagram showing a reverb table.

【図11】三角波ジェネレータ部の動作フローチャート
である。
FIG. 11 is an operation flowchart of a triangular wave generator unit.

【図12】LPF部の動作フローチャートである。FIG. 12 is an operation flowchart of the LPF unit.

【図13】ビブラート演算部の動作フローチャートであ
る。
FIG. 13 is an operation flowchart of a vibrato calculator.

【図14】リバーブ効果付加部のオールパスフィルタの
機能を実現するDSPの動作フローチャートである。
FIG. 14 is an operation flowchart of the DSP that realizes the function of the all-pass filter of the reverb effect adding unit.

【図15】リバーブ効果付加部のコムフィルタの機能を
実現するDSPの動作フローチャートである。
FIG. 15 is an operation flowchart of the DSP that realizes the function of the comb filter of the reverb effect adding unit.

【図16】リバーブ効果付加部での右チャネル累算動作
を実現するDSPの動作フローチャートである。
FIG. 16 is an operation flowchart of the DSP that realizes the right channel accumulation operation in the reverb effect adding unit.

【図17】係数メモリマップを示した図である。FIG. 17 is a diagram showing a coefficient memory map.

【図18】ワークメモリマップを示した図である。FIG. 18 is a diagram showing a work memory map.

【図19】アドレスオフセットメモリマップを示した図
である。
FIG. 19 is a diagram showing an address offset memory map.

【図20】CPUのタイマ3処理の他の実施例の動作フ
ローチャートである。
FIG. 20 is an operation flowchart of another embodiment of the timer 3 processing of the CPU.

【符号の説明】[Explanation of symbols]

101 CPU 102 ROM 103 RAM 104 音源 105 DSP 106 遅延用メモリ 108 鍵盤 110 ペダル 101 CPU 102 ROM 103 RAM 104 Sound Source 105 DSP 106 Delay Memory 108 Keyboard 110 Pedal

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 音響信号を発生する発生手段と、 この発生手段により発生された音響信号に対してビブラ
ート効果を付与して出力する第1の出力手段と、 この第1の出力手段の出力信号に対し残響効果を付与し
て出力する第2の出力手段と、 この第2の出力手段の出力信号と上記発生手段の発生す
る音響信号とを合成して出力する第3の出力手段とを有
することを特徴とするエフェクタ。
1. A generator for generating an acoustic signal , and a vibra for the acoustic signal generated by the generator.
A first output means for imparting over-effective, and second output means for outputting the relative output signal of the first output means to impart reverberation effect, the output of the second output means An effector comprising: a third output means for synthesizing and outputting a signal and an acoustic signal generated by the generating means.
【請求項2】 第1の演奏操作子を更に有し、この第1
演奏操作子の操作に基づいて上記第1の出力手段によ
ビブラート効果付与の特性を制御する第1の制御手段
を有することを特徴とする請求項1記載のエフェクタ。
2. A first performance operator is further provided, and the first performance operator is provided .
2. The effector according to claim 1, further comprising: first control means for controlling a characteristic of the vibrato effect imparted by the first output means based on an operation of the performance operator.
【請求項3】 第2の演奏操作子を更に有し、この第2
演奏操作子の操作に基づいて上記第2の出力手段によ
る残響効果付与の特性を制御する第2の制御手段を有す
ることを特徴とする請求項1記載の楽音発生装置。
3. further comprising a second performance operators, the second
2. The musical tone generating apparatus according to claim 1, further comprising second control means for controlling the characteristic of the reverberation effect imparted by the second output means based on the operation of the performance operator.
【請求項4】 上記第1の制御手段は、上記第1の演奏
操作子の操作により入力されたコードの種類を示す情報
に基づいて上記第1の出力手段によるビブラート効果付
与の特性を制御することを特徴とする請求項1記載の楽
音発生装置。
4. The first control means adds vibrato effect by the first output means based on information indicating the type of chord input by the operation of the first performance operator .
2. The musical tone generating apparatus according to claim 1 , wherein the characteristic of control is controlled .
【請求項5】 上記第1の演奏操作子は、鍵盤であるこ
とを特徴とする請求項2又はに記載のエフェクタ。
Wherein said first performance operators, the effector of claim 2 or 4, characterized in that a keyboard.
【請求項6】 上記第2の演奏操作子は、ペダルである6. The second performance operator is a pedal.
ことを特徴とする請求項3記載のエフェクタ。The effector according to claim 3, wherein:
JP3035991A 1990-11-28 1991-03-01 Effector Expired - Fee Related JPH0786750B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2-327704 1990-11-28
JP32770490 1990-11-28

Publications (2)

Publication Number Publication Date
JPH04212995A JPH04212995A (en) 1992-08-04
JPH0786750B2 true JPH0786750B2 (en) 1995-09-20

Family

ID=18202052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3035991A Expired - Fee Related JPH0786750B2 (en) 1990-11-28 1991-03-01 Effector

Country Status (1)

Country Link
JP (1) JPH0786750B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5935380B2 (en) * 2012-02-21 2016-06-15 カシオ計算機株式会社 Electronic musical instrument, resonance sound applying method and program

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5677895A (en) * 1979-11-30 1981-06-26 Kawai Musical Instr Mfg Co Effect device for electric piano
JPS5713873A (en) * 1980-06-27 1982-01-23 Matsushita Electric Ind Co Ltd Reproduction system for recorded signal
JPH0693190B2 (en) * 1983-10-26 1994-11-16 ヤマハ株式会社 Electronic musical instrument
JPH0693189B2 (en) * 1983-10-26 1994-11-16 ヤマハ株式会社 Electronic musical instrument
JPS60256198A (en) * 1984-06-01 1985-12-17 ヤマハ株式会社 Effect applicator
JP2768458B2 (en) * 1987-02-06 1998-06-25 松下電器産業株式会社 Electronic musical instrument
JPH0766675B2 (en) * 1987-07-14 1995-07-19 株式会社東芝 Programmable ROM
JPH01198797A (en) * 1987-10-07 1989-08-10 Casio Comput Co Ltd electronic musical instruments
JPH01101590A (en) * 1987-10-14 1989-04-19 Casio Comput Co Ltd Electronic musical instrument
JPH0833732B2 (en) * 1987-12-01 1996-03-29 松下電器産業株式会社 Electronic piano

Also Published As

Publication number Publication date
JPH04212995A (en) 1992-08-04

Similar Documents

Publication Publication Date Title
US5166464A (en) Electronic musical instrument having a reverberation
JPS644199B2 (en)
EP0454047B1 (en) Tone waveform generation apparatus
JP3358324B2 (en) Electronic musical instrument
JP2565073B2 (en) Digital signal processor
US5173567A (en) Musical tone generating apparatus with parameter controller for changing characteristics of musical tone signal
JP2759163B2 (en) Electronic musical instrument with built-in pedal effect adding device
US5050216A (en) Effector for electronic musical instrument
JPS61204698A (en) Tone signal generator
JPH0786750B2 (en) Effector
JPH04294396A (en) Tone parameter editing device for electronic musical instruments
JP2663496B2 (en) Signal interpolator for musical tone signal generator
JPH0535277A (en) Electronic musical instrument
JP2933186B2 (en) Music synthesizer
JPH0131638B2 (en)
JP2869574B2 (en) Musical sound wave generator
JP3459016B2 (en) Audio signal processing method and apparatus
JP3525482B2 (en) Sound source device
JPS61204697A (en) Tone signal generator
JPH01209497A (en) Musical sound generating device
JP2526125Y2 (en) Electronic musical instrument
JP3094759B2 (en) Music signal distribution processor
JPH04298790A (en) Stereophonic system
JP2658764B2 (en) Electronic musical instrument
JP3684078B2 (en) Musical sound waveform data storage device, musical sound waveform data storage method, musical sound waveform data reproduction device, and musical sound waveform data reproduction method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090920

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100920

Year of fee payment: 15

LAPS Cancellation because of no payment of annual fees