JP3136674B2 - Effect adding device - Google Patents
Effect adding deviceInfo
- Publication number
- JP3136674B2 JP3136674B2 JP03204871A JP20487191A JP3136674B2 JP 3136674 B2 JP3136674 B2 JP 3136674B2 JP 03204871 A JP03204871 A JP 03204871A JP 20487191 A JP20487191 A JP 20487191A JP 3136674 B2 JP3136674 B2 JP 3136674B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- register
- processing
- input
- signal
- 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
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【0001】[0001]
【産業上の利用分野】本願発明は効果付加装置に関し、
詳細には、アナログ効果付加回路とディジタル効果付加
回路とを備えた効果付加装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an effect adding device,
More specifically, the present invention relates to an effect adding device including an analog effect adding circuit and a digital effect adding circuit.
【0002】[0002]
【従来の技術】電子弦楽器(例えば、ギター等)や電子
オルガン及びシンセサイザー等の電子楽器、さらには他
の音源で発生された音を加工して出力する楽音出力装置
等の音を取り扱う装置においては、いかに豊かな音色の
楽音を出すかが重要な課題となる。この豊かな音を出す
ための手段として、従来から音源等で発生された音の電
気信号に多くの倍音成分を含ませる効果付加処理を施す
ことが行なわれている。このような効果付加装置として
は、従来、アナログ式のものが一般に使用されていた
が、近時、電子技術の発達に伴って、ディジタル式のも
のが普及してきている。このディジタル式の効果付加装
置では、一般に、DSP(ディジタル信号処理プロセッ
サ:Digital Signal Processor)を使用しており、DS
P内のマイクロプログラムを書き換えることにより、種
々のエフェクト(例えば、リバーブ、ディレイ、コーラ
ス等)を付与することができる。このように一つのDS
Pで様々な効果を付与することができることから、ディ
ジタルの効果付加装置が、近時急速に利用されるように
なっている。2. Description of the Related Art In a device for handling sounds such as an electronic stringed musical instrument (for example, a guitar), an electronic musical instrument such as an electronic organ and a synthesizer, and a musical sound output device for processing and outputting a sound generated by another sound source. An important issue is how to produce rich musical tones. As a means for producing such a rich sound, conventionally, an effect adding process of including many harmonic components in an electric signal of a sound generated by a sound source or the like has been performed. Conventionally, analog-type devices have been generally used as such effect adding devices, but recently, digital-type devices have become widespread with the development of electronic technology. This digital type effect adding apparatus generally uses a DSP (Digital Signal Processor),
By rewriting the microprogram in P, various effects (for example, reverb, delay, chorus, etc.) can be provided. Thus one DS
Since various effects can be given by P, digital effect adding devices have been rapidly used recently.
【0003】一方、アナログ式のものは、例えば、ディ
ストーション回路として利用されている。ディストーシ
ョン回路では、ダイオードを双方向に接続し、この双方
向に接続したダイオードにスレッショルド電圧より高い
レベルの過大電圧入力を供給することにより、ダイオー
ドの非線形特性を利用して入力信号を歪ませている。こ
のアナログ式の効果付加装置では、使用しているダイオ
ード等のアナログ素子の非線形特性を利用して入力信号
を歪ませているので、使用するアナログ素子の種類や材
質によって出力波形が微妙に変化し、出力音が各々個性
のある音色となる。このようにアナログ式の効果付加装
置は、その出力音が、使用するアナログ素子の非線形特
性に大きく依存するが、これをディジタル式でシュミレ
ートしようとしてもこの微妙な非線形特性のカーブを正
確に表現することには限界があり、ディジタル式が普及
している現在においても、アナログ式の効果付加回路が
根強く好まれている。また、効果付加装置においては、
単独の効果のみを付加することは希で、例えば、ディレ
イ、ディストーション、コーラス等複数の効果を同時に
かける場合が多い。このような場合、ディジタル式の効
果付加装置、特にDSPを用いたものでは、DSPの処
理プログラムとして付加する各効果のプログラムリスト
をシリアルに実行することにより複数の効果を簡単に付
加することができ、利用性が優れている。On the other hand, the analog type is used, for example, as a distortion circuit. In the distortion circuit, a diode is connected in both directions, and an excessive voltage input at a level higher than the threshold voltage is supplied to the diode connected in both directions, thereby distorting the input signal using the nonlinear characteristics of the diode. . In this analog type effect adding device, the input signal is distorted using the nonlinear characteristics of the analog element such as a diode used, so the output waveform varies slightly depending on the type and material of the analog element used. , The output sounds each have a distinctive tone. As described above, in the analog type effect adding device, the output sound largely depends on the non-linear characteristic of the analog element to be used, and even if it is attempted to simulate the digital type, the delicate non-linear characteristic curve is accurately expressed. There is a limit to this, and even now that the digital type has become widespread, the analog type effect adding circuit is strongly preferred. In the effect adding device,
It is rare to add only a single effect. For example, a plurality of effects such as delay, distortion, and chorus are often applied simultaneously. In such a case, in a digital effect adding device, particularly a device using a DSP, a plurality of effects can be easily added by serially executing a program list of each effect to be added as a DSP processing program. , Excellent usability.
【0004】ところが、近時、より高質な音を発生する
ために、複数の効果を付加する場合に、特定の効果をア
ナログ式のもので実現し、他の効果をディジタル式で実
現することが行なわれている。このような従来の効果付
加装置としては、ディジタル効果付加を行なうDSPと
アナログ効果付加を行なうアナログ効果付加回路とを物
理的にシリアルに接続した、いわゆるマルチ効果付加装
置がある。However, recently, when a plurality of effects are added in order to generate a higher quality sound, a specific effect is realized by an analog type, and other effects are realized by a digital type. Is being done. As such a conventional effect adding device, there is a so-called multi-effect adding device in which a DSP for adding a digital effect and an analog effect adding circuit for adding an analog effect are physically connected in serial.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、このよ
うな従来の効果付加装置、特に、アナログ式とディジタ
ル式の双方の効果付加を行なうことのできるものにあっ
ては、アナログ式効果付加回路とディジタル式効果付加
回路とが物理的にシリアルに接続されていたため、複数
の効果を順次付加して出力を得ようとする場合、アナロ
グ式効果付加回路とディジタル式効果付加回路との物理
的な接続順序に規制され、アナログ式効果付加とディジ
タル式効果付加との関係においては、その効果付加の順
序を容易に変更することができないという問題があっ
た。例えば、アナログ効果付加回路によりディストーシ
ョン処理を行ない、他の効果付加をDSPにより行なっ
て、リバーブ→コーラス→エコー→ディストーションの
順に付与していた効果付加の順序を、コーラス→エコー
→ディストーション→リバーブの順に変更しようとする
と、DSPを2個用意して、DSP→アナログ効果付加
回路→DSPの順にシリアルに接続し、最初のDSPで
コーラスとエコーの効果付加処理を、その後アナログ効
果付加回路でディストーション処理を、最後にDSPで
リバーブの効果付加処理を行なう必要がある。このよう
に従来の効果付加装置においては、複数の効果付加をア
ナログ式とディジタル式とを使用して行なう場合、アナ
ログ式効果付加回路とディジタル式効果付加回路とが物
理的にシリアルに接続されていたため、複数の効果付加
を行なう場合に、その効果付加の順序を変えようとする
と、該物理的接続の順序を変える必要があり、効果付加
の順序を容易に変更することができず、効果付加装置の
利用性が悪いという問題があった。そこで、本願発明
は、ディジタル効果付加回路とアナログ効果付加回路と
の物理的な接続を変えることなく、複数の効果付加を行
なう場合の効果付加の順序を簡単に変更できるように
し、意図する効果付加を容易に行なえるようにすること
を目的としている。However, in such a conventional effect adding device, particularly in a device capable of adding both analog and digital effects, an analog effect adding circuit and a digital The physical effect connection circuit is physically serially connected, so if multiple effects are to be added sequentially to obtain an output, the physical connection sequence between the analog effect addition circuit and the digital effect addition circuit In the relationship between the addition of the analog effect and the addition of the digital effect, there is a problem that the order of adding the effect cannot be easily changed. For example, a distortion process is performed by an analog effect adding circuit, another effect is added by a DSP, and the order of adding the effect added in the order of reverb → chorus → echo → distortion is changed to chorus → echo → distortion → reverb. To change it, prepare two DSPs, connect them serially in the order of DSP → analog effect adding circuit → DSP, perform chorus and echo effect adding processing with the first DSP, and then perform distortion processing with the analog effect adding circuit. Finally, it is necessary to perform reverb effect adding processing by the DSP. As described above, in the conventional effect adding device, when a plurality of effects are added by using an analog type and a digital type, the analog type effect adding circuit and the digital type effect adding circuit are physically serially connected. Therefore, when a plurality of effects are added, if the order of the effects is to be changed, it is necessary to change the order of the physical connection, and the order of the effects cannot be easily changed. There was a problem that the usability of the device was poor. Therefore, the present invention provides a simple and easy-to-change effect addition order when performing a plurality of effect additions without changing the physical connection between the digital effect addition circuit and the analog effect addition circuit. The purpose is to make it easy to do.
【0006】[0006]
【課題を解決するための手段】請求項1記載の発明は、
上記目的を達成するため、アナログ素子を利用して入力
音響信号に効果付加処理を施すアナログ効果付加手段
と、入力音響信号を記憶するエリアと前記アナログ効果
付加手段の出力信号を記憶するエリアを有する入力メモ
リ手段と、 少なくとも2種類の効果付加処理をディジタ
ル処理により施すことが可能なディジタル効果付加手段
と、 最終出力信号を記憶するエリアと前記アナログ効果
付加手段への入力信号を記憶するエリアを有する出力メ
モリ手段と、前記入力メモリ手段に記憶されている入力
音響信号と前記アナログ効果付加手段の出力信号の夫々
について、前記ディジタル効果付加手段の少なくとも2
種類の効果付加処理のいずれを施すのかを選択するとと
もに、当該少なくとも2種類の効果処理のいずれかを施
された各出力信号を、前記出力メモリ手段の最終出力信
号を記憶するエリアと前記アナログ効果付加手段への入
力信号を記憶するエリアのいずれに供給するのかを選択
する信号選択手段と、を備えている。前記アナログ効果
付加手段は、例えば、請求項2に記載されているよう
に、ディストーション回路である。According to the first aspect of the present invention,
To achieve the above purpose, input using analog elements
Analog effect adding means for performing an effect adding process on an audio signal, an area for storing an input audio signal, and the analog effect
Input memo having an area for storing the output signal of the adding means
Digital means and at least two types of effect adding processing
Digital effect adding means that can be applied by processing
And an area for storing a final output signal and the analog effect
An output memory means having an area for storing an input signal to the adding means, and an input stored in the input memory means
A sound signal and an output signal of the analog effect adding means, respectively.
About at least 2 of the digital effect adding means.
If you select which type of effect processing to apply
In addition, one of the at least two types of effect processing is performed.
Each output signal obtained is sent to the final output signal of the output memory means.
Area for storing the signal and input to the analog effect adding means.
Select which area to store the force signal in
It includes a signal selecting means for the. The analog effect adding means is, for example, a distortion circuit.
【0007】[0007]
【作用】請求項1及び請求項2記載の発明においては、
電子弦楽器の効果付加回路において、入力音響信号は、
入力メモリ手段内の入力音響信号を記憶するエリアに記
憶される。また、入力メモリ手段にはアナログ素子を利
用して入力音響信号に効果付加処理を施すアナログ効果
付加手段の出力信号を記憶するエリアを有している。こ
の各エリアに記憶された信号夫々は、信号選択手段によ
り、ディジタル効果付加手段により付加される少なくと
も2種類の効果付加処理のいずれかの入力信号となるか
選択される。そして、この少なくとも2種類の効果処理
の夫々いずれかを施した2つの信号は、前記信号選択手
段により、出力メモリ手段の 最終出力信号を記憶する
エリアと前記アナログ効果付加手段への入力信号を記憶
するエリアのいずれかに供給される。 この結果、信号選
択手段により、入力メモリ手段に記憶された入力音響信
号及びアナログ効果付加信号を少なくとも2種類のデジ
タル効果付加処理に対してどのように供給するか、及び
当該少なくとも2種類のデジタル効果付加処理夫々を施
した信号を出力メモリ手段の最終出力信号を記憶するエ
リアと前記アナログ効果付加手段への入力信号を記憶す
るエリアのいずれに供給するかを変更することにより、
ディジタル効果付加手段とアナログ効果付加手段の接続
順序を、物理的な接続関係を変えることなく、適宜変更
することができ、ディジタル効果付加手段とアナログ効
果付加手段の処理順序を適宜変更することができる。そ
の結果、複数の効果付加を行なう場合の効果付加の順序
を簡単に変更でき、意図する効果付加を容易に行なうこ
とができる。According to the first and second aspects of the present invention,
In the effect adding circuit of the electronic stringed instrument, the input sound signal is
Record in the area for storing the input sound signal in the input memory means.
Remembered. In addition, an analog element is used for the input memory means.
Analog effect that applies effect processing to the input audio signal by using
It has an area for storing the output signal of the adding means. This
Each of the signals stored in each area of the
The digital effect adding means
Also becomes one of the input signals of the two types of effect addition processing?
Selected. And at least two types of effect processing
The two signals subjected to any of
Storing the final output signal of the output memory means by means of a stage
Stores the area and the input signal to the analog effect adding means
Supplied to any of the areas. As a result, signal selection
The input audio signal stored in the input memory
Signal and the analog effect added signal
How to supply for the Tal effect addition process, and
Each of the at least two types of digital effect addition processing is performed.
To store the final output signal of the output memory means.
The input signals to the rear and the analog effect adding means are stored.
By changing which of the areas to supply,
The connection order of the digital effect adding unit and the analog effect adding unit can be changed as appropriate without changing the physical connection relationship, and the processing order of the digital effect adding unit and the analog effect adding unit can be changed as appropriate. . As a result, the order of adding effects when a plurality of effects are added can be easily changed, and intended effects can be easily added.
【0008】[0008]
【実施例】以下、本願発明を実施例に基づいて具体的に
説明する。図1から図24は、本願発明の効果付加装置
の一実施例を示す図である。図1は、本願発明の効果付
加装置を適用した電子弦楽器1の概略構成図であり、電
子弦楽器1は、ピックアップ2、オペアンプ3、電子回
路部4、トーンコントロール部5、ボリュウム6及びア
ウトプット端子7等を備えている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be specifically described based on embodiments. 1 to 24 are diagrams showing an embodiment of the effect adding device of the present invention. FIG. 1 is a schematic configuration diagram of an electronic stringed instrument 1 to which the effect adding device of the present invention is applied. The electronic stringed instrument 1 includes a pickup 2, an operational amplifier 3, an electronic circuit unit 4, a tone control unit 5, a volume 6, and an output terminal. 7 and the like.
【0009】電子弦楽器1は、ピックアップ2で弦振動
を検出し、ピックアップ2の検出した弦振動は、オペア
ンプ3で増幅されてアナログの入力音響信号として電子
回路部4に入力される。電子回路部4は、入力される弦
振動の音響信号に、後述するように、効果付加処理を行
なって出力信号としてトーンコントロール部5に出力す
る。この出力信号は、トーンコントロール部5でトーン
制御され、ボリュウム6でレベル調整された後、アウト
プット端子7を介して出力される。In the electronic stringed musical instrument 1, string pickup is detected by the pickup 2, and the string vibration detected by the pickup 2 is amplified by the operational amplifier 3 and input to the electronic circuit section 4 as an analog input sound signal. The electronic circuit unit 4 performs an effect adding process on the input acoustic signal of the string vibration, as described later, and outputs the resulting signal to the tone control unit 5 as an output signal. The output signal is tone-controlled by the tone control unit 5, the level of the output signal is adjusted by the volume 6, and then output via the output terminal 7.
【0010】トーンコントロール部5は、コンデンサ8
と可変抵抗9により構成されており、可変抵抗9を調整
することによりトーン制御を行なう。The tone control unit 5 includes a capacitor 8
And a variable resistor 9. Tone control is performed by adjusting the variable resistor 9.
【0011】電子回路部4は、図2に示すように、A/
D変換器11、12、DSP(ディジタル信号処理プロ
セッサ:Digital Signal Processor)13、D/A変換
器14、15、マイクロコンピュータ16、ディストー
ション回路17及びコンソール18等を備えている。As shown in FIG. 2, the electronic circuit section 4 has an A / A
It includes D converters 11 and 12, a DSP (Digital Signal Processor) 13, D / A converters 14 and 15, a microcomputer 16, a distortion circuit 17, a console 18, and the like.
【0012】DSP13は、2つの入力端子Ei、Ai
と2つの出力端子Wo、Aoを備えており、後述するよ
うに、ディジタル処理により入力信号に効果付加処理を
施し、あるいはそのまま最終出力信号とする。DSP1
3は、その入力端子Eiに、A/D変換器11からの入
力音響信号WINが入力され、その入力端子Aiに、A/
D変換器12からの信号が入力される。DSP13は、
出力信号を最終出力信号として出力端子Eoを介してD
/A変換器14に、あるいはアナログ効果付加処理用信
号として出力端子Aoを介してD/A変換器15に出力
する。The DSP 13 has two input terminals Ei and Ai.
And two output terminals Wo and Ao, and as will be described later, effect processing is performed on the input signal by digital processing, or the final output signal is used as it is. DSP1
3, an input audio signal WIN from the A / D converter 11 is input to the input terminal Ei, and A / D is input to the input terminal Ai.
A signal from the D converter 12 is input. The DSP 13
The output signal is used as the final output signal via the output terminal Eo.
The signal is output to the D / A converter 15 via the output terminal Ao to the / A converter 14 or as an analog effect addition processing signal.
【0013】D/A変換器15は、DSP13からのデ
ィジタル信号をアナログ変換し、アナログ信号としてデ
ィストーション回路17に出力する。The D / A converter 15 converts the digital signal from the DSP 13 into an analog signal and outputs the analog signal to the distortion circuit 17 as an analog signal.
【0014】ディストーション回路(アナログ効果付加
手段)17は、図3に示すように、バッファ21、増幅
回路22、クリップ回路23及び増幅回路24で構成さ
れている。The distortion circuit (analog effect adding means) 17 includes a buffer 21, an amplifier circuit 22, a clip circuit 23, and an amplifier circuit 24, as shown in FIG.
【0015】D/A変換器15から入力された入力信号
は、バッファ21を介して増幅回路22に入力され、バ
ッファ21の増幅率は、マイクロコンピュータ16から
入力される信号(電圧V)により制御される。このバッ
ファ21の増幅率により後述するクリップ回路23での
クリップ位置を調整している。An input signal input from the D / A converter 15 is input to an amplifier circuit 22 via a buffer 21, and the amplification factor of the buffer 21 is controlled by a signal (voltage V) input from the microcomputer 16. Is done. A clip position in a clip circuit 23 described later is adjusted by the amplification factor of the buffer 21.
【0016】増幅回路22は、オペアンプOP1及び抵
抗R1で構成され、バッファ21からの入力信号を増幅
してクリップ回路23に出力する。The amplifying circuit 22 includes an operational amplifier OP1 and a resistor R1, amplifies an input signal from the buffer 21, and outputs the amplified signal to the clipping circuit 23.
【0017】クリップ回路23は、双方向に並列に接続
された2つのダイオードD1、D2により構成され、増
幅回路22から入力される信号のプラス側及びマイナス
側のレベルをクリップして増幅回路24に出力する。す
なわち、増幅回路22からの信号のプラス側のレベルを
ダイオードD2のスレッショルドレベルでクリップし、
マイナス側のレベルをダイオードD1のスレッショルド
レベルでクリップする。クリップ回路23は、増幅回路
22からの信号をこのようにダイオードD1、D2でク
リップして入力信号の波形を歪ませ、歪波形の信号を増
幅回路24に出力する。The clipping circuit 23 is composed of two diodes D1 and D2 connected in parallel in two directions. The clipping circuit 23 clips the plus and minus levels of the signal input from the amplifying circuit 22 to the amplifying circuit 24. Output. That is, the plus level of the signal from the amplifier circuit 22 is clipped at the threshold level of the diode D2,
The negative level is clipped at the threshold level of the diode D1. The clipping circuit 23 clips the signal from the amplifying circuit 22 by the diodes D1 and D2 in this manner, distorts the waveform of the input signal, and outputs a signal having a distorted waveform to the amplifying circuit 24.
【0018】増幅回路24は、抵抗R2、R3及びオペ
アンプOP2で構成されており、増幅回路24は、クリ
ップ回路23からの歪波形信号を増幅して、図2のA/
D変換器12に出力する。The amplifier circuit 24 is composed of resistors R2 and R3 and an operational amplifier OP2. The amplifier circuit 24 amplifies the distorted waveform signal from the clip circuit 23, and
Output to the D converter 12.
【0019】再び図2において、A/D変換器12は、
ディストーション回路17から入力されるアナログ信号
をディジタル変換し、ディジタル信号としてDSP13
の入力端子Aiに出力する。Referring again to FIG. 2, the A / D converter 12
The analog signal input from the distortion circuit 17 is converted into a digital signal, and converted into a digital signal by the DSP 13.
To the input terminal Ai.
【0020】一方、A/D変換器11には、上記ピック
アップ2で検出された弦振動信号(アナログ入力音響信
号)がオペアンプ3を介して入力され、A/D変換器1
1は、アナログの入力音響信号をディジタル変換してデ
ィジタルの入力音響信号WINとしてDSP13に出力す
る。On the other hand, a string vibration signal (analog input sound signal) detected by the pickup 2 is input to the A / D converter 11 via the operational amplifier 3, and the A / D converter 1
1 converts the analog input audio signal into a digital signal and outputs it to the DSP 13 as a digital input audio signal WIN.
【0021】また、D/A変換器14は、DSP12か
らの最終出力信号をアナログ変換し、アナログ最終出力
信号として図1のトーンコントロール部5に出力する。The D / A converter 14 converts the final output signal from the DSP 12 into an analog signal, and outputs the analog output signal to the tone control unit 5 shown in FIG.
【0022】マイクロコンピュータ16は、CPU(Ce
ntral Processing Unit)、ROM(Read Only Memory)
及びRAM(Random Access Memory)等を備え、電子回
路部4の各部を制御して効果付加装置としての処理を実
行する。すなわち、マイクロコンピュータ15は、その
ROMに、エフェクト回路としてのプログラム、その他
必要なデータや係数等が格納しており、RAMを、ワー
クエリアとして利用する。マイクロコンピュータ16
は、ROM内のプログラムをDSP13に転送して、D
SP13に効果付加処理を行なわせたり、ディストーシ
ョン回路17に上記クリップ位置調整用信号(クリップ
電圧:V)を出力して、ディストーション回路17によ
るディストーション処理を制御する。The microcomputer 16 has a CPU (Ce
ntral Processing Unit), ROM (Read Only Memory)
And a RAM (Random Access Memory), etc., and controls each unit of the electronic circuit unit 4 to execute processing as an effect adding device. That is, the microcomputer 15 stores a program as an effect circuit, other necessary data, coefficients, and the like in its ROM, and uses the RAM as a work area. Microcomputer 16
Transfers the program in the ROM to the DSP 13 and
It causes the SP 13 to perform an effect adding process or outputs the clip position adjustment signal (clip voltage: V) to the distortion circuit 17 to control the distortion process by the distortion circuit 17.
【0023】コンソール18は、電子弦楽器1を演奏操
作する際に使用する各種スイッチやボリュウム等を備
え、特に、ディストーション回路17の歪レベルを調整
するボリュウムや後述するモード選択スイッチを備えて
いる。The console 18 includes various switches and volumes used when the electronic stringed musical instrument 1 is operated, and particularly includes a volume for adjusting the distortion level of the distortion circuit 17 and a mode selection switch to be described later.
【0024】DSP13は、複数の種類の効果付加処理
を行ない、例えば、リバーブ、コーラス及びディレイ等
を行なう。これらの各効果付加処理のいずれの処理を行
なうか、またこれらの各効果付加処理をいずれの順序で
行なうかは、マイクロコンピュータ16から転送されて
くるマイクロプログラムやデータ及び係数により設定さ
れる。The DSP 13 performs a plurality of types of effect adding processing, such as reverb, chorus, and delay. Which of these effect adding processes is to be performed and in which order these effect adding processes are to be performed are set by a microprogram, data and coefficients transferred from the microcomputer 16.
【0025】例えば、DSP13は、コーラス及びディ
レイの処理を順番に行なう場合、図4にその疑似的な処
理ブロックとして示すように、コーラス処理部30とデ
ィレイ処理部40を形成する。For example, when performing the chorus and delay processing in order, the DSP 13 forms a chorus processing section 30 and a delay processing section 40 as shown as pseudo processing blocks in FIG.
【0026】コーラス処理部30は、乗算器31、加算
器32、符号検出部33、ALU(Arithmetic and Log
ic Unit)34、加算器35、遅延部36及び加算器3
7で構成され、ディレイ処理部40は、遅延部41及び
加算器42で構成されている。The chorus processing unit 30 includes a multiplier 31, an adder 32, a sign detection unit 33, and an ALU (Arithmetic and Log
ic unit) 34, an adder 35, a delay unit 36, and an adder 3
7, and the delay processing unit 40 includes a delay unit 41 and an adder 42.
【0027】コーラス処理部30は、その乗算器31、
加算器32、符号検出部33、ALU34及び加算器3
5により三角波を形成し、形成した三角波に基づいて遅
延部36で順次入力信号WINPを遅延させて、遅延させ
た入力信号WINPと遅延させない入力信号WINPとを加算
してコーラス出力としてディレイ処理部40に出力す
る。すなわち、コーラス処理部30の乗算器31には、
鋸波レートWLF1及び鋸波レートPRATが入力されてお
り、乗算器31は、鋸波レートWLF1と鋸波レートPRAT
とを乗算処理して加算器32に出力する。加算器32に
は、鋸波レートWCC0が入力されており、加算器32は
鋸波レートWCC0から乗算器31の乗算結果を減算して
符号検出部33に出力する。符号検出部33は、加算器
32の減算結果の符号検出を行ない、その検出結果によ
りALU34での演算方法を指示する。ALU34は、
符号検出部33での検出結果が正であると、前回の演算
結果にゼロ(0)である定数WZROを加算して出力し、
符号検出部33での検出結果が負であると、定数WZRO
から前回の演算結果を減算して出力する。このALU3
4の演算結果は、上記加算器32に鋸波レートWCC0と
して出力されるとともに、加算器35に出力され、加算
器35で「00」が加算されて遅延部36に三角波とし
て出力される。The chorus processing unit 30 has a multiplier 31
Adder 32, sign detector 33, ALU 34, and adder 3
5, a delay unit 36 sequentially delays the input signal WINP based on the formed triangle wave, adds the delayed input signal WINP and the non-delayed input signal WINP, and outputs a chorus output as a chorus output. Output to That is, the multiplier 31 of the chorus processing unit 30 includes:
The sawtooth rate WLF1 and the sawtooth rate PRAT are input, and the multiplier 31 outputs the sawtooth rate WLF1 and the sawtooth rate PRAT.
And outputs the result to the adder 32. The sawtooth rate W CC0 is input to the adder 32, and the adder 32 subtracts the result of the multiplication by the multiplier 31 from the sawtooth rate W CC0 and outputs the result to the code detection unit 33. The sign detection unit 33 detects the sign of the subtraction result of the adder 32, and instructs the operation method in the ALU 34 based on the detection result. ALU34,
If the detection result by the sign detection unit 33 is positive, a constant WZRO, which is zero (0), is added to the previous calculation result and output.
If the detection result of the sign detection unit 33 is negative, the constant WZRO
Is subtracted from the previous calculation result and output. This ALU3
The calculation result of No. 4 is output to the adder 32 as the sawtooth wave rate WCC0, and also output to the adder 35, where "00" is added by the adder 35 and output to the delay unit 36 as a triangular wave.
【0028】一方、遅延部36には、入力信号WINPが
入力されており、遅延部36は、入力信号WINPを所定
の遅延時間T00だけ入力信号WINPを遅延させるととも
に、三角波に基づいた時間だけ遅延させてコーラス遅延
出力WCC2として加算器37に出力する。加算器37に
は、入力信号WINPが入力されており、加算器37は、
遅延部36で遅延された入力信号WINPと遅延されてい
ない入力信号WINPとを加算してコーラス出力WCC3とし
てディレイ処理部40に出力する。On the other hand, the input signal WINP is input to the delay section 36. The delay section 36 delays the input signal WINP by a predetermined delay time T00 and delays the input signal WINP by a time based on a triangular wave. Then, it is output to the adder 37 as a chorus delay output WCC2. The input signal WINP is input to the adder 37.
The input signal WINP delayed by the delay unit 36 and the input signal WINP not delayed are added and output to the delay processing unit 40 as a chorus output WCC3.
【0029】ディレイ処理部40は、コーラス処理部3
0のコーラス出力WCC3を所定時間だけ遅延させて出力
する。すなわち、コーラス処理部30のコーラス出力W
CC3は、遅延部41及び加算器42に入力され、遅延部
41は、コーラス出力WCC3を所定時間だけ遅延させて
ディレイ遅延出力WDD0として加算器42に出力する。
加算器42は、コーラス出力WCC3とディレイ遅延出力
WDD0とを加算し、加算結果をディレイ出力WDD1として
出力する。The delay processing section 40 includes the chorus processing section 3
The chorus output WCC3 of 0 is output after being delayed by a predetermined time. That is, the chorus output W of the chorus processing unit 30
The CC3 is input to the delay unit 41 and the adder 42. The delay unit 41 delays the chorus output WCC3 by a predetermined time and outputs the result to the adder 42 as a delay delay output WDD0.
The adder 42 adds the chorus output WCC3 and the delay delay output WDD0, and outputs the addition result as a delay output WDD1.
【0030】また、DSP13は、効果付加処理として
リバーブを行なう場合、図5にその疑似的回路を示すよ
うに、オールパスフィルタ50、コムフィルタα60、
コムフィルタβ70、コムフィルタγ80及び混合処理
部90を形成する。When performing reverb as effect adding processing, the DSP 13 performs an all-pass filter 50, a comb filter α60, and a pseudo-circuit as shown in FIG.
A comb filter β70, a comb filter γ80, and a mixing processing unit 90 are formed.
【0031】オールパスフィルタ50は、加算器51、
52、乗算器53、54及び遅延部55で構成され、加
算器51には、入力信号WINR及び乗算器53の出力が
入力されている。加算器51は、入力信号WINRと乗算
器53の乗算結果を加算し、遅延部55及び乗算器54
に出力する。遅延部55は、加算器51の加算結果を所
定時間遅延させて加算器52及び乗算器53に出力し、
乗算器53には、またオールパスフィルタ係数PALKが
入力されている。乗算器53は、遅延部55の出力にオ
ールパスフィルタ係数PALKを乗算し、乗算結果を加算
器51に出力する。乗算器54には、オールパスフィル
タ係数PALLが入力されており、乗算器54は、加算器
51の出力にオールパスフィルタ係数PALLを乗算して
加算器52に出力する。加算器52は、遅延部55の出
力と乗算器54の出力を加算処理し、加算結果をオール
パスフィルタ出力WALMとして各コムフィルタ60、7
0、80に出力する。The all-pass filter 50 includes an adder 51,
The input signal WINR and the output of the multiplier 53 are input to the adder 51. The adder 51 adds the input signal WINR and the result of the multiplication by the multiplier 53 to form a delay unit 55 and a multiplier 54.
Output to The delay unit 55 delays the addition result of the adder 51 for a predetermined time and outputs the result to the adder 52 and the multiplier 53,
The multiplier 53 is also supplied with an all-pass filter coefficient PALK. The multiplier 53 multiplies the output of the delay unit 55 by the all-pass filter coefficient PALK, and outputs the multiplication result to the adder 51. The all-pass filter coefficient PALL is input to the multiplier 54. The multiplier 54 multiplies the output of the adder 51 by the all-pass filter coefficient PALL and outputs the result to the adder 52. The adder 52 performs an addition process on the output of the delay unit 55 and the output of the multiplier 54, and outputs the addition result as an all-pass filter output WALM for each of the comb filters 60 and 7.
0 and 80 are output.
【0032】コムフィルタα60は、乗算器61、加算
器62、63及び遅延部64で構成されており、上記オ
ールパスフィルタ出力WALMは、加算器62に入力され
ている。加算器62には、さらに乗算器61の出力が入
力されており、加算器62は、オールパスフィルタ出力
WALMと乗算器61の出力とを乗算処理して遅延部64
及び加算器63に出力する。遅延部64は、加算器62
の加算結果を所定時間遅延させて乗算器61に出力する
とともに、加算器62の加算結果を所定時間遅延させて
加算器63に出力する。乗算器61には、また櫛形フィ
ルタリング係数PCOMが入力されており、乗算器61
は、遅延部64からの信号に櫛形フィルタリング係数P
COMを乗算処理して加算器62に出力する。加算器63
は、加算器62の加算結果に遅延部64の出力を加算処
理し、加算結果をコムフィルタα出力WRV0として混合
処理部90に出力する。The comb filter α60 includes a multiplier 61, adders 62 and 63, and a delay unit 64. The output of the all-pass filter WALM is input to the adder 62. The output of the multiplier 61 is further input to the adder 62, and the adder 62 multiplies the output of the all-pass filter WALM by the output of the multiplier 61 to perform delay processing on the delay unit 64.
And to the adder 63. The delay unit 64 includes the adder 62
Is output to the multiplier 61 after being delayed for a predetermined time, and the addition result of the adder 62 is output to the adder 63 after being delayed for a predetermined time. The comb-shaped filtering coefficient PCOM is also input to the multiplier 61.
Represents a comb-shaped filtering coefficient P
COM is multiplied and output to the adder 62. Adder 63
Adds the output of the delay unit 64 to the addition result of the adder 62, and outputs the addition result to the mixing processing unit 90 as the comb filter α output WRV0.
【0033】コムフィルタβ70は、乗算器71、加算
器72、73及び遅延部74で構成されており、上記コ
ムフィルタα60同様に処理を行なって処理結果をコム
フィルタβ出力WRV1として混合処理部90に出力す
る。The comb filter β70 is composed of a multiplier 71, adders 72 and 73, and a delay unit 74. The comb filter β70 performs processing in the same manner as the comb filter α60, and outputs the processing result as a comb filter β output WRV1 to the mixing processing unit 90. Output to
【0034】また、コムフィルタγ80は、乗算器8
1、加算器82、83及び遅延部84で構成され、上記
コムフィルタα60と同様の処理を行なって処理結果を
コムフィルタγ出力WRV2として混合処理部90に出力
する。Further, the comb filter γ80 is
1. Composed of adders 82 and 83 and a delay unit 84, performs the same processing as that of the comb filter α60, and outputs the processing result to the mixing processing unit 90 as a comb filter γ output WRV2.
【0035】混合処理部90は、2つの加算器91、9
2で構成されている。加算器91には、コムフィルタα
60からのコムフィルタα出力WRV0及びコムフィルタ
β70からのコムフィルタβ出力WRV1が入力されてお
り、加算器91は、これらコムフィルタα出力WRV0と
コムフィルタβ出力WRV1とを加算して加算結果を加算
器92に出力する。加算器92には、さらにコムフィル
タγ80からのコムフィルタγ出力WRV2が入力されて
おり、加算器92は、加算器91の加算結果にコムフィ
ルタγ出力WRV2を加算処理して、加算結果をリバーブ
出力WRV3として出力する。The mixing section 90 includes two adders 91 and 9
2 is comprised. The adder 91 has a comb filter α
The comb filter α output WRV0 from the comb filter 60 and the comb filter β output WRV1 from the comb filter β70 are input, and the adder 91 adds the comb filter α output WRV0 and the comb filter β output WRV1 to obtain an addition result. Output to the adder 92. The adder 92 further receives the comb filter γ output WRV2 from the comb filter γ80. The adder 92 adds the comb filter γ output WRV2 to the addition result of the adder 91, and reverbates the addition result. Output as output WRV3.
【0036】図6は、DSP13の具体的な回路構成図
である。DSP13は、プログラムメモリ101、制御
回路102、入力レジスタ(PI1)103、入力レジ
スタ(PI2)104、係数メモリ(P)105、ワー
クメモリ(W)106、出力レジスタ(OR0)10
7、出力レジスタ(OR1)108、遅延処理部20
0、乗算部300及び加減算部400等を有している。
上記DSP13の各部は、内部バス109により接続さ
れている。FIG. 6 is a specific circuit configuration diagram of the DSP 13. The DSP 13 includes a program memory 101, a control circuit 102, an input register (PI1) 103, an input register (PI2) 104, a coefficient memory (P) 105, a work memory (W) 106, and an output register (OR0) 10.
7, output register (OR1) 108, delay processing unit 20
0, a multiplication unit 300, an addition / subtraction unit 400, and the like.
Each part of the DSP 13 is connected by an internal bus 109.
【0037】プログラムメモリ101には、効果付加装
置としてのプログラムが格納され、このプログラムは、
図2に示すマイクロコンピュータ16から書き込まれ
る。プログラムメモリ101には、図示しないアドレス
カウンタが接続されており、プログラムメモリ101
は、このアドレスカウンタのアドレス指定により順次プ
ログラム内容を制御回路102に供給する。The program memory 101 stores a program as an effect adding device.
The data is written from the microcomputer 16 shown in FIG. An address counter (not shown) is connected to the program memory 101.
Supplies the program contents to the control circuit 102 sequentially according to the address designation of the address counter.
【0038】制御回路102は、プログラムメモリ10
1内のプログラムに従ってDSP13の各部を制御し
て、効果付加処理を実行し、その詳細な処理内容につい
ては後述する。また、制御回路102には、後述する加
減算部400から符号フラグF(AR)が入力され、制
御回路102は、この符号フラグF(AR)に基づいて
加減算部400や乗算部300の処理を制御する。The control circuit 102 includes the program memory 10
The effect adding process is executed by controlling each unit of the DSP 13 in accordance with the program in 1. The detailed processing contents will be described later. Further, the control circuit 102 receives a code flag F (AR) from an addition / subtraction unit 400 described later, and controls the processing of the addition / subtraction unit 400 and the multiplication unit 300 based on the code flag F (AR). I do.
【0039】入力レジスタ(PI0)103には、入力
端子Eiを介してA/D変換器11からの入力音響信号
WINが入力され、入力レジスタ(PI0)103は、こ
の入力音響信号WINを一旦格納した後、内部バス109
を介してワークメモリ(W)106に転送する。The input register (PI0) 103 receives an input audio signal WIN from the A / D converter 11 via the input terminal Ei, and the input register (PI0) 103 temporarily stores the input audio signal WIN. After that, the internal bus 109
Is transferred to the work memory (W) 106 via the.
【0040】入力レジスタ(PI1)104には、入力
端子Aiを介してA/D変換器12からの信号が入力さ
れ、入力レジスタ(PI1)104は、この入力信号を
一旦格納した後、内部バス109を介してワークメモリ
(W)106に転送する。The input register (PI1) 104 receives a signal from the A / D converter 12 via an input terminal Ai. The input register (PI1) 104 temporarily stores the input signal, The data is transferred to the work memory (W) 106 via the link 109.
【0041】係数メモリ(P)105は、DSP13に
より効果付加処理を行なうために必要な各種係数を格納
するためのレジスタである。これら各種係数は、図2の
マイクロコンピュータ16のROMに記憶されており、
マイクロコンピュータ16が、ROMから係数を読み出
して係数メモリ(P)105に書き込む。係数メモリ
(P)105にセットされる係数としては、図7に係数
メモリ(P)105のメモリマップとして示すように、
そのアドレス0に鋸波レートPRATが、そのアドレス1
にオールパスフィルタ係数PALKが、そのアドレス2に
オールパスフィルタ係数PALLが、そのアドレス3に櫛
形フィルタリング係数PCOMが、設定される。The coefficient memory (P) 105 is a register for storing various coefficients required for effect addition processing by the DSP 13. These various coefficients are stored in the ROM of the microcomputer 16 in FIG.
The microcomputer 16 reads out the coefficients from the ROM and writes them into the coefficient memory (P) 105. As coefficients set in the coefficient memory (P) 105, as shown in FIG. 7 as a memory map of the coefficient memory (P) 105,
The sawtooth rate PRAT is stored at the address 0 and the address 1
, The all-pass filter coefficient PALL is set at the address 2, and the comb-shaped filtering coefficient PCOM is set at the address 3.
【0042】ワークメモリ(W)106は、入力レジス
タ(PI0)103及び入力レジスタ(PI1)104
を介して入力された入力音響信号WINや入力信号及び後
述する乗算部300及び加減算部400での演算結果の
データ等を一時的に格納するワーク用メモリである。こ
のワークメモリ(W)106に格納されるデータとして
は、例えば、図8にワークメモリ(W)106のメモリ
マップとして示すように、そのアドレス0に入力信号W
INPが、そのアドレス1に入力信号WINRが、そのアドレ
ス2に鋸波レートWLF1が、そのアドレス3に鋸波レー
トWCC0が、そのアドレス4に定数WZROが、そのアドレ
ス5にコーラス遅延出力WCC2が、そのアドレス6にコ
ーラス出力WCC3が、そのアドレス7にディレイ遅延出
力WDD0が、そのアドレス8にディレイ出力WDD1が、そ
のアドレス9にオールパスフィルタ出力WALMが、その
アドレス10にコムフィルタα出力WRV0が、そのアド
レス11にコムフィルタβ出力WRV1が、そのアドレス
12にコムフィルタ出力γWRV2が、そのアドレス13
にリバーブ出力WRV3が、格納される。The work memory (W) 106 includes an input register (PI0) 103 and an input register (PI1) 104
This is a work memory for temporarily storing an input audio signal WIN, an input signal, and data of a calculation result in a multiplication unit 300 and an addition / subtraction unit 400, which will be described later, and the like. As the data stored in the work memory (W) 106, for example, as shown in the memory map of the work memory (W) 106 in FIG.
INP, input signal WINR at address 1, sawtooth rate WLF1 at address 2, sawtooth rate WCC0 at address 3, constant WZRO at address 4, chorus delay output WCC2 at address 5, The chorus output WCC3 is at address 6, the delay delay output WDD0 is at address 7, the delay output WD1 is at address 8, the all-pass filter output WALM is at address 9, the comb filter α output WRV0 is at address 10, and The address 11 has the comb filter β output WRV1 and the address 12 has the comb filter output γWRV2 and the address 13
Stores the reverb output WRV3.
【0043】したがって、このワークメモリ(W)10
6は、複数の記憶エリアを有し入力音響信号や前記アナ
ログ効果付加手段の出力信号を所定エリアに記憶する入
力メモリ、及び複数の記憶エリアを有し前記ディジタル
効果付加手段の出力信号を所定エリアに記憶する出力メ
モリとして機能する。Therefore, the work memory (W) 10
6, an input memory having a plurality of storage areas for storing an input audio signal and an output signal of the analog effect adding means in a predetermined area; and an input memory having a plurality of storage areas for storing an output signal of the digital effect adding means in a predetermined area. Function as an output memory to be stored in the memory.
【0044】遅延処理部200は、遅延オフセットメモ
リ201、レジスタ(LF)202、レジスタ(TR)
203、ゲート204、205、加算器206、レジス
タ(ER)207、レジスタ(EA)208、レジスタ
(E0)209、レジスタ(E1)210及び遅延用メ
モリ211を有しており、遅延オフセットメモリ201
には、マイクロコンピュータ16から各種オフセット
値、例えば、T00等が書き込まれる。遅延オフセットメ
モリ201に書き込まれた各種オフセット値は、レジス
タ(TR)203にセットされ、レジスタ(TR)20
3からゲート205を介して加算器206に出力され
る。ゲート205にはレジスタ(LF)202のセット
値が入力されており、ゲート205は、レジスタ(T
R)203とレジスタ(LF)202の値を選択的に加
算器206に出力する。このレジスタ(LF)202に
は、後述する加減算部400からの値がセットされる。
加算器206には、さらにゲート204からの値が入力
され、ゲート204には、制御回路102からのカウン
タのカウント値SCが入力されるとともに、加算器20
6の出力がレジスタ(ER)207を介して入力され
る。ゲート204は、この両入力を選択的に加算器20
6に出力する。The delay processing section 200 includes a delay offset memory 201, a register (LF) 202, and a register (TR).
203, a gate 204, 205, an adder 206, a register (ER) 207, a register (EA) 208, a register (E0) 209, a register (E1) 210, and a delay memory 211.
, Various offset values, for example, T00 and the like are written from the microcomputer 16. The various offset values written in the delay offset memory 201 are set in the register (TR) 203, and the register (TR) 20
3 is output to the adder 206 via the gate 205. The set value of the register (LF) 202 is input to the gate 205, and the gate 205
R) 203 and the value of the register (LF) 202 are selectively output to the adder 206. In this register (LF) 202, a value from an addition / subtraction unit 400 described later is set.
The value from the gate 204 is further input to the adder 206, the count value SC of the counter from the control circuit 102 is input to the gate 204, and the adder 20
6 is input via a register (ER) 207. The gate 204 selectively outputs the two inputs to the adder 20.
6 is output.
【0045】加算器206は、ゲート204とゲート2
05からの両入力を加算処理し、加算結果をレジスタ
(ER)207及びレジスタ(EA)208に出力す
る。レジスタ(EA)208にセットされた加算結果
は、遅延用メモリ211に出力され、遅延用メモリ21
1のアドレスとして使用される。遅延用メモリ211に
は、レジスタ(E0)209を介してDSP13の各種
データが入力され、遅延用メモリ211は、レジスタ
(E0)209を介して入力された各種データを上記ア
ドレス指定に基づいて読み出すことにより該データを遅
延させてレジスタ(E1)210に出力する。レジスタ
(E1)210にセットされたデータは、バス109を
介してDSP13の各部に出力され、各種効果付加処
理、特にコーラス処理やディレイ処理に使用される。The adder 206 comprises a gate 204 and a gate 2
05, and outputs the addition result to a register (ER) 207 and a register (EA) 208. The addition result set in the register (EA) 208 is output to the delay memory 211 and the delay memory 21
1 is used as the address. Various data of the DSP 13 is input to the delay memory 211 via the register (E0) 209, and the delay memory 211 reads various data input via the register (E0) 209 based on the address designation. Thus, the data is delayed and output to the register (E1) 210. The data set in the register (E1) 210 is output to each section of the DSP 13 via the bus 109, and is used for various effect adding processes, especially for chorus processing and delay processing.
【0046】乗算部300は、ゲート301、302、
レジスタ(M0)303、(M1)304、ゲート30
5、乗算器306及びレジスタ(MR)307を有して
おり、ゲート301、302には、上記係数メモリ
(P)105やワークメモリ(W)106及び入力レジ
スタ(PI0)103や入力レジスタ(PI1)104
からの出力が入力される。The multiplication unit 300 includes gates 301 and 302,
Register (M0) 303, (M1) 304, gate 30
5, a multiplier 306 and a register (MR) 307. The gates 301 and 302 include the coefficient memory (P) 105, the work memory (W) 106, the input register (PI0) 103, and the input register (PI1). ) 104
The output from is input.
【0047】ゲート301、302は、上記制御回路1
02によりその動作が制御され、入力されるどのデータ
をレジスタ(M0)303及びレジスタ(M1)304
に出力するかを制御している。レジスタ(M0)303
は、ゲート301を介して入力されるデータを一時格納
し、乗算器306に出力するとともに、ゲート301に
フィードバックする。レジスタ(M1)304は、ゲー
ト302を介して入力されるデータを一時格納し、ゲー
ト305を介して乗算器306に出力するとともに、ゲ
ート302にフィードバックする。ゲート305には、
後述する加減算部400からのデータも入力されてお
り、ゲート305は、制御回路102の制御下で作動し
て、レジスタ(M1)304及び加減算部400からの
データを選択して乗算器306に出力する。乗算器30
6は、レジスタ(M0)303及びレジスタ(M1)3
04から入力されるデータを乗算処理し、その演算結果
をレジスタ(MR)307に出力する。レジスタ(M
R)307は、乗算器306の乗算結果を一時格納した
後、ゲート302及び加減算部400に出力する。The gates 301 and 302 are connected to the control circuit 1
02 controls its operation, and determines which data is input to the register (M0) 303 and the register (M1) 304.
Is output or not. Register (M0) 303
Temporarily stores data input through the gate 301, outputs the data to the multiplier 306, and feeds back the data to the gate 301. The register (M1) 304 temporarily stores data input through the gate 302, outputs the data to the multiplier 306 through the gate 305, and feeds back the data to the gate 302. In the gate 305,
The data from the addition / subtraction unit 400 described later is also input, and the gate 305 operates under the control of the control circuit 102 to select the data from the register (M1) 304 and the addition / subtraction unit 400 and output the data to the multiplier 306. I do. Multiplier 30
6 is a register (M0) 303 and a register (M1) 3
The multiplication processing is performed on the data input from the block 04, and the calculation result is output to the register (MR) 307. Register (M
R) 307 temporarily stores the multiplication result of the multiplier 306, and then outputs the result to the gate 302 and the addition / subtraction unit 400.
【0048】加減算部400は、ゲート401、40
2、レジスタ(A0)403、レジスタ(A1)40
4、ゲート405、406、加減算器407、レジスタ
(AR)408、クリッパー409及びレジスタ(S
R)410等を有しており、ゲート401、402に
は、上記係数メモリ(P)105やワークメモリ(W)
106及び入力レジスタ(PI0)103や入力レジス
タ(PI1)104からの出力が入力される。The addition / subtraction unit 400 includes gates 401 and 40
2. Register (A0) 403, Register (A1) 40
4, gates 405 and 406, adder / subtractor 407, register (AR) 408, clipper 409, and register (S
R) 410 and the like, and the gates 401 and 402 have the coefficient memory (P) 105 and the work memory (W)
The output from the input register (PI0) 103 and the input register (PI1) 104 is input.
【0049】ゲート401、402は、上記制御回路1
02によりその動作が制御され、入力されるどのデータ
をレジスタ(A0)403及びレジスタ(A1)404
に出力するかを制御している。レジスタ(A0)403
は、ゲート401を介して入力されるデータを一時格納
し、ゲート405に出力するとともに、ゲート401に
フィードバックする。レジスタ(A1)404は、ゲー
ト402を介して入力されるデータを一時格納し、ゲー
ト406に出力するとともに、ゲート402にフィード
バックする。ゲート405には、上記乗算部300のレ
ジスタ(MR)307からのデータも入力されており、
ゲート405は、制御回路102の制御下で作動して、
レジスタ(A0)403及び乗算部300からのデータ
を選択して加減算器407に出力する。ゲート406に
は、レジスタ(A1)404からのデータの他に、加減
算器407の演算結果のデータがレジスタ(AR)40
8を介して入力されており、ゲート406は、制御回路
102の制御下で作動して、入力データを選択して加減
算器407に出力する。The gates 401 and 402 are connected to the control circuit 1
02 controls the operation of the register (A0) 403 and the register (A1) 404.
Is output or not. Register (A0) 403
Temporarily stores data input through the gate 401, outputs the data to the gate 405, and feeds back the data to the gate 401. The register (A1) 404 temporarily stores data input through the gate 402, outputs the data to the gate 406, and feeds back the data to the gate 402. The data from the register (MR) 307 of the multiplication unit 300 is also input to the gate 405.
The gate 405 operates under the control of the control circuit 102,
The data from the register (A0) 403 and the multiplier 300 are selected and output to the adder / subtractor 407. In the gate 406, in addition to the data from the register (A1) 404, the data of the operation result of the adder / subtractor 407 is stored in the register (AR) 40.
The gate 406 operates under the control of the control circuit 102 to select the input data and output it to the adder / subtractor 407.
【0050】加減算器407は、入力データに加算処理
あるいは減算処理を行ない、演算結果を、レジスタ(A
R)408に出力する。レジスタ(AR)408は、加
減算器407の演算結果をクリッパー409、ゲート4
06及び遅延処理部200のレジスタ(LF)202に
出力するとともに、演算結果の最大ビットを符号情報を
示す符号フラグF(AR)として制御回路102に出力
する。クリッパー409は、データのオーバーフローを
防止するためのものであり、クリッパー409を通過し
たデータは、レジスタ(SR)410に供給される。レ
ジスタ(SR)410の出力は、乗算部300のゲート
305に出力されるとともに、ある1音についての処理
の演算結果として内部バス109を介してワークメモリ
(W)106に供給される。The adder / subtractor 407 performs an addition process or a subtraction process on the input data, and stores the operation result in a register (A
R) 408. The register (AR) 408 outputs the operation result of the adder / subtractor 407 to the clipper 409 and the gate 4
06 and the register (LF) 202 of the delay processing unit 200, and the maximum bit of the operation result is output to the control circuit 102 as a code flag F (AR) indicating code information. The clipper 409 is for preventing data overflow, and the data that has passed through the clipper 409 is supplied to a register (SR) 410. The output of the register (SR) 410 is output to the gate 305 of the multiplying unit 300, and is also supplied to the work memory (W) 106 via the internal bus 109 as a calculation result of processing for a certain sound.
【0051】これら乗算部300及び加減算部400で
の演算結果は、加減算部400からバス109を介して
ワークメモリ(W)106に出力され、すべての演算処
理の終了したデータは、ワークメモリ(W)106から
出力レジスタ(OR0)107あるいは出力レジスタ
(OR1)108に出力される。この出力データを出力
レジスタ(OR0)107に出力するか、出力レジスタ
(OR1)108に出力するかは、制御回路102によ
り制御される。したがって、制御回路102は、入力メ
モリ(ワークメモリ(W)106)の読出エリアを指定
してディジタル効果付加手段(DSP13)の処理対象
の信号を選択するとともに、ディジタル効果付加手段の
出力信号の出力メモリ(ワークメモリ(W)106)へ
の書込エリアを指定して、ディジタル効果付加手段の出
力信号をアナログ効果付加手段(ディストーション回路
17)の処理対象の信号とするか最終出力信号とするか
を決定する信号選択手段として機能する。The operation results of the multiplication unit 300 and the addition / subtraction unit 400 are output from the addition / subtraction unit 400 to the work memory (W) 106 via the bus 109. ) 106 to the output register (OR0) 107 or the output register (OR1) 108. Whether the output data is output to the output register (OR0) 107 or the output register (OR1) 108 is controlled by the control circuit 102. Therefore, the control circuit 102 specifies the read area of the input memory (work memory (W) 106), selects the signal to be processed by the digital effect adding means (DSP13), and outputs the output signal of the digital effect adding means. A write area for the memory (work memory (W) 106) is specified, and the output signal of the digital effect adding means is used as a signal to be processed by the analog effect adding means (distortion circuit 17) or a final output signal. Function as signal selection means for determining
【0052】出力レジスタ(OR0)107は、入力さ
れたデータを出力端子Eoを介して最終出力信号として
図2に示すD/A変換器14に出力し、出力レジスタ
(OR1)108は、入力されたデータを出力端子Ao
を介してディストーション処理用(アナログ効果付加処
理用)のデータとして図2に示すD/A変換器15に出
力する。The output register (OR0) 107 outputs the input data to the D / A converter 14 shown in FIG. 2 as the final output signal via the output terminal Eo, and the output register (OR1) 108 receives the input data. Output data to output terminal Ao
Is output to the D / A converter 15 shown in FIG. 2 as data for a distortion process (for an analog effect adding process).
【0053】次に作用について説明する。電子弦楽器1
は、ピックアップ2で検出した弦振動をオペアンプ3で
増幅して電子回路部4に入力し、電子回路部4で効果付
加処理(エフェクト処理)を行なう。電子弦楽器1は、
電子回路部4で効果付加処理を施して信号を、トーンコ
ントロール部5でトーン制御した後、アウトプット端子
7を介して、図外の楽音発生装置等に出力する。Next, the operation will be described. Electronic stringed instrument 1
, The string vibration detected by the pickup 2 is amplified by the operational amplifier 3 and input to the electronic circuit unit 4, and the electronic circuit unit 4 performs an effect adding process (effect process). Electronic stringed instrument 1
The signal is subjected to effect addition processing by the electronic circuit section 4, tone-controlled by the tone control section 5, and then output to a tone generator or the like (not shown) via the output terminal 7.
【0054】この電子回路部4による効果付加処理は、
図2に示すように、そのDSP13及びディストーショ
ン回路17により行なう。このとき、DSP13は、複
数の種類の効果付加処理を設定された順序で実行するこ
とができ、また、その複数の種類の効果付加処理の途中
あるいは最初か最後にディストーション回路17による
ディストーション処理を実行する。DSP13による効
果付加の順序やディストーション処理の順序をどのよう
に設定するかは、図2に示すコンソール18のモード選
択スイッチにより設定することができる。また、ディス
トーション回路17によるディストーション処理のクリ
ップ位置をコンソール18のボリュウムにより設定する
ことができる。The effect adding process by the electronic circuit section 4 is as follows.
As shown in FIG. 2, the processing is performed by the DSP 13 and the distortion circuit 17. At this time, the DSP 13 can execute a plurality of types of effect addition processing in the set order, and executes the distortion processing by the distortion circuit 17 during the plurality of types of effect addition processing or first or last. I do. How to set the order of adding effects and the order of distortion processing by the DSP 13 can be set by the mode selection switch of the console 18 shown in FIG. Further, the clip position of the distortion processing by the distortion circuit 17 can be set by the volume of the console 18.
【0055】すなわち、電子回路部4は、図9に示すよ
うに、電子弦楽器1の電源が投入されると、まずイニシ
ャライズ処理を行ない(ステップS1)、コンソール1
8のボリュウムの調整が行なわれたかどうかチェックす
る(ステップS2)。ボリュウムの調整が行なわれたと
きには、調整されたボリュウム値に対応したクリップ電
圧をディストーション回路17に出力し(ステップS
3)、次にコンソール18のモードスイッチの設定状態
をチェックする(ステップS4)。また、ステップS2
でボリュウムの設定値が変化していないときには、その
ままステップS4に移行してモード選択スイッチの状態
をチェックする。That is, as shown in FIG. 9, when the power of the electronic stringed musical instrument 1 is turned on, the electronic circuit section 4 first performs an initialization process (step S1), and
It is checked whether or not the adjustment of the volume No. 8 has been performed (step S2). When the adjustment of the volume is performed, a clip voltage corresponding to the adjusted volume value is output to the distortion circuit 17 (step S).
3) Then, the setting state of the mode switch of the console 18 is checked (step S4). Step S2
If the set value of the volume has not changed, the flow directly proceeds to step S4 to check the state of the mode selection switch.
【0056】いま、電子弦楽器1は、モード1とモード
2とを備えており、モード1は、図10に示すように、
効果付加処理を、リバーブ→ディストーション→コーラ
ス→ディレイの順に行なうモードであり、モード2は、
図11に示すように、効果付加処理を、コーラス→ディ
レイ→ディストーション→リバーブの順に行なうモード
である。Now, the electronic stringed musical instrument 1 has a mode 1 and a mode 2, and the mode 1 is, as shown in FIG.
In this mode, effect addition processing is performed in the order of reverb → distortion → chorus → delay.
As shown in FIG. 11, in this mode, the effect adding process is performed in the order of chorus → delay → distortion → reverb.
【0057】ステップS4で、モード選択スイッチの設
定が変化したかどうかチェックし、変化していないとき
には、モードの選択が行なわれていないと判断して、ス
テップS2に戻り、同様の処理を行なう。ステップS4
で、モード選択スイッチがモード1に切り換えられる
と、後述するプログラムリスト可変ルーチンAの処理を
実行し(ステップS5)、対応するマイクロプログラム
及び係数をDSP13に転送して、DSP13による処
理に移行する(ステップS7)。また、ステップS4で
モード選択スイッチがモード2に切り換えられると、後
述するプログラムリスト可変ルーチンBの処理を実行し
(ステップS6)、対応するマイクロプログラム及び係
数をDSP13に転送して、DSP13による処理に移
行する(ステップS7)。以上によりDSP13による
効果付加処理及びディストーション回路17による効果
付加処理の前処理が完了したことになる。In step S4, it is checked whether or not the setting of the mode selection switch has changed. If the setting has not changed, it is determined that the mode has not been selected, and the process returns to step S2 to perform the same processing. Step S4
Then, when the mode selection switch is switched to the mode 1, the processing of a program list variable routine A, which will be described later, is executed (step S5), the corresponding microprogram and coefficient are transferred to the DSP 13, and the processing shifts to the processing by the DSP 13 (step S5). Step S7). Further, when the mode selection switch is switched to mode 2 in step S4, the processing of a program list variable routine B, which will be described later, is executed (step S6), and the corresponding microprogram and coefficient are transferred to the DSP 13, and the processing by the DSP 13 is performed. The process proceeds (step S7). Thus, the pre-processing of the effect adding process by the DSP 13 and the pre-processing of the effect adding process by the distortion circuit 17 are completed.
【0058】次に、上記プログラムリスト可変ルーチン
Aについて説明する。プログラムリスト可変ルーチンA
の処理は、上記図9のステップS4でモード選択スイッ
チがモード1に設定されたときに移行し、図12に示す
ように、まず、後述するディジタル入力処理のステップ
DIを、PI0→WINR、すなわち、入力レジスタ(P
I0)103の入力データをワークメモリ(W)106
のアドレス0に入力信号WINRとして書き込むものとし
て設定する(ステップPA1)。次に、後述するディレ
イ処理におけるステップD5を、SR→WDD1及びSR
→OR0、すなわち、レジスタ(SR)410のデータ
をワークメモリ(W)106のアドレス8にディレイ出
力WDD1として書き込み、レジスタ(SR)410のデ
ータを出力レジスタ(OR0)107に転送するものと
して設定する(ステップPA2)。さらに、後述するア
ナログ入力処理のステップAIを、PI1→WINP、す
なわち、入力レジスタ(PI1)104の入力データを
ワークメモリ(W)のアドレス0に入力信号WINPとし
て書き込むものとして設定する(ステップPA3)。次
に、後述する混合処理におけるステップM7を、WRV3
→OR1、すなわち、ワークメモリ(W)106のアド
レス13のリバーブ出力WRV3を出力レジスタ(OR
1)108に転送する処理として設定する(ステップP
A4)。Next, the program list variable routine A will be described. Program list variable routine A
When the mode selection switch is set to the mode 1 in step S4 of FIG. 9, the process proceeds to step DI of the digital input process described later, where PI0 → WINR, that is, as shown in FIG. , Input register (P
I0) input data of 103 to work memory (W) 106
Is set to be written as the input signal WINR at the address 0 of the memory (step PA1). Next, step D5 in the delay processing described later is performed by using SR → WDD1 and SR
→ OR0, that is, the data of the register (SR) 410 is written to the address 8 of the work memory (W) 106 as the delay output WDD1, and the data of the register (SR) 410 is set to be transferred to the output register (OR0) 107. (Step PA2). Further, the step AI of the analog input processing described later is set as PI1 → WINP, that is, the input data of the input register (PI1) 104 is written to the address 0 of the work memory (W) as the input signal WINP (step PA3). . Next, step M7 in the mixing process described later is described in WRV3
→ OR1, that is, the reverb output WRV3 at address 13 of the work memory (W) 106 is output to the output register (OR
1) Set as processing to be transferred to 108 (step P
A4).
【0059】次に、上記プログラムリスト可変ルーチン
Bの処理について説明する。プログラムリスト可変ルー
チンBの処理は、上記図9のステップS4でモード選択
スイッチがモード2に設定されたときに移行し、図13
に示すように、まず、後述するディジタル入力処理のス
テップDIを、PI0→WINP、すなわち、入力レジス
タ(PI0)103の入力データをワークメモリ(W)
106のアドレス0に入力信号WINPとして書き込むも
のとして設定する(ステップPB1)。次に、後述する
ディレイ処理におけるステップD5を、SR→WDD1及
びSR→OR1、すなわち、レジスタ(SR)410の
データをワークメモリ(W)106のアドレス8にディ
レイ出力WDD1として書き込み、レジスタ(SR)41
0のデータを出力レジスタ(OR1)107に転送する
ものとして設定する(ステップPB2)。さらに、後述
するアナログ入力処理のステップAIを、PI1→WIN
R、すなわち、入力レジスタ(PI1)104の入力デ
ータをワークメモリ(W)のアドレス0に入力信号WIN
Rとして書き込むものとして設定する(ステップPB
3)。次に、後述する混合処理におけるステップM7
を、WRV3→OR0、すなわち、ワークメモリ(W)1
06のアドレス13のリバーブ出力WRV3を出力レジス
タ(OR0)107に転送する処理として設定する(ス
テップPB4)。Next, the processing of the program list variable routine B will be described. The processing of the program list variable routine B shifts when the mode selection switch is set to mode 2 in step S4 of FIG.
As shown in (1), first, a digital input processing step DI to be described later is performed by PI0 → WINP, that is, the input data of the input register (PI0) 103 is stored in the work memory (W).
It is set to be written as an input signal WINP at address 0 of 106 (step PB1). Next, step D5 in the delay processing described later is performed by SR → WDD1 and SR → OR1, that is, the data of the register (SR) 410 is written to the address 8 of the work memory (W) 106 as the delay output WDD1, and the register (SR) 41
The data of 0 is set to be transferred to the output register (OR1) 107 (step PB2). Further, a step AI of analog input processing described later is performed by PI1 → WIN
R, that is, the input data of the input register (PI1) 104 is transferred to the address 0 of the work memory (W) by the input signal WIN.
Set to be written as R (step PB
3). Next, step M7 in the mixing process described below.
WRV3 → OR0, that is, the work memory (W) 1
The reverb output WRV3 at address 13 of 06 is set as a process of transferring the output to the output register (OR0) 107 (step PB4).
【0060】このように、プログラムリスト可変ルーチ
ンの処理によりモード1あるいはモード2に対応してワ
ークメモリ(W)106へのデータの書込エリアを指定
するとともに、ワークメモリ(W)106のデータの出
力先を指定している。設定されたモードに対応してプロ
グラムリスト可変ルーチン処理を完了すると、図9のス
テップS7で示したように、マイクロプログラム及び係
数をDSP13に転送し、DSP13による処理に移行
する。As described above, the area for writing data to the work memory (W) 106 is designated in accordance with the mode 1 or mode 2 by the processing of the program list variable routine, and the data in the work memory (W) 106 is The output destination is specified. When the program list variable routine processing is completed in accordance with the set mode, the microprogram and the coefficients are transferred to the DSP 13 as shown in step S7 in FIG.
【0061】次に、DSP13での処理を説明する。D
SP13は、図14に示す処理を順次行なうことにより
効果付加処理を行なう。すなわち、DSP13は、マイ
クロコンピュータ16から転送されてきたマイクロプロ
グラムに従って、ディジタル入力処理(ステップT1)
→コーラス処理(ステップT2)→ディレイ処理(ステ
ップT3)→アナログ入力処理(ステップT4)→リバ
ーブ処理(ステップT5)の順に処理を実行する。Next, the processing in the DSP 13 will be described. D
The SP 13 performs the effect adding process by sequentially performing the processes shown in FIG. That is, the DSP 13 performs digital input processing (step T1) according to the microprogram transferred from the microcomputer 16.
The processing is executed in the order of → chorus processing (step T2) → delay processing (step T3) → analog input processing (step T4) → reverb processing (step T5).
【0062】以下、各処理について順次説明する。 ディジタル入力処理 まず、ディジタル入力処理について図15に基づいて説
明する。入力音響信号WINは、図2に示すA/D変換器
11からDSP13の入力端子Eiに入力され、入力端
子Eiから図6に示す入力レジスタ(PI0)103に
セットされる。入力レジスタ(PI0)103にセット
された入力音響信号WINは、上記プログラムリスト可変
ルーチンの設定処理に対応して、図15に示すように、
モード1のときには、入力レジスタ(PI0)103に
セットされた入力音響信号をワークメモリ(W)106
のアドレス1に入力信号WINRとして書き込み、モード
2のときには、入力レジスタ(PI)103にセットさ
れた入力音響信号をワークメモリ(W)106のアドレ
ス0に入力信号WINRとして書き込む(ステップD
I)。すなわち、ワークメモリ(W)106のアドレス
1は、リバーブの効果付加処理用の入力データを格納す
るアドレスであり、アドレス0は、コーラスの効果付加
処理用の入力データを格納するアドレスである。そこ
で、設定されたモードに対応してワークメモリ(W)1
06への入力信号の書き込みアドレスを変えている。い
ま、モード2に設定されているので、入力レジスタ(P
I)103にセットされた入力音響信号をワークメモリ
(W)106のアドレス0に入力信号WINRとして書き
込む。Hereinafter, each processing will be sequentially described. Digital Input Processing First, digital input processing will be described with reference to FIG. The input audio signal WIN is input from the A / D converter 11 shown in FIG. 2 to the input terminal Ei of the DSP 13, and is set from the input terminal Ei to the input register (PI0) 103 shown in FIG. The input audio signal WIN set in the input register (PI0) 103 corresponds to the setting process of the program list variable routine, as shown in FIG.
In the mode 1, the input audio signal set in the input register (PI0) 103 is stored in the work memory (W) 106.
Is written as an input signal WINR to the address 1 of the memory (W). In the mode 2, the input audio signal set in the input register (PI) 103 is written as an input signal WINR to the address 0 of the work memory (W) 106 (step D).
I). That is, the address 1 of the work memory (W) 106 is an address for storing input data for a reverb effect adding process, and the address 0 is an address for storing input data for a chorus effect adding process. Therefore, the work memory (W) 1 corresponds to the set mode.
The write address of the input signal to 06 is changed. Now that the mode 2 is set, the input register (P
I) The input audio signal set in 103 is written to the address 0 of the work memory (W) 106 as the input signal WINR.
【0063】コーラス処理 次に、コーラス処理について図16に基づいて説明す
る。入力信号が、ワークメモリ(W)106のアドレス
0に入力信号WINRとして書き込まれると、DSP13
は、コーラス処理を実行する。Next, the chorus processing will be described with reference to FIG. When the input signal is written to the address 0 of the work memory (W) 106 as the input signal WINR, the DSP 13
Performs a chorus process.
【0064】コーラス処理では、まず、ワークメモリ
(W)106から鋸波レートWLF1を読み出して乗算部
300のレジスタ(M1)304に転送し、係数メモリ
(P)105から鋸波レートPRATを読み出してレジス
タ(M0)303に転送する(ステップC1)。また、
ワークメモリ(W)106から入力信号WINPを読み出
し、遅延用メモリ211のアドレス(00)のエリアに
転送する(ステップC1)。次に、レジスタ(M1)3
04の鋸波レートWLF1及びレジスタ(M0)303の
鋸波レートPRATを乗算器306に転送して乗算処理
(WLF1×PRAT)し、乗算結果を加減算部400のレジ
スタ(A0)403に転送する(ステップC2)。ま
た、ワークメモリ(W)106から鋸波レートWCC0を
読み出してレジスタ(A1)404に転送する(ステッ
プC2)。レジスタ(A1)404の鋸波レートWCC0
及びレジスタ(A0)403の乗算結果を加減算器40
7に転送して、鋸波レートWCC0から該乗算結果を減算
処理{WCC0−(WLF1×PRAT)}し、減算結果をレジ
スタ(AR)408に転送する(ステップC3)。この
レジスタ(AR)408から符号フラグF(AR)を制
御回路102に符号データSF0として出力し、さらに
ワークメモリ(W)106から定数WZRO及び鋸波レー
トWCC0を読み出して、定数WZROをレジスタ(A1)4
04に、鋸波レートWCC0をレジスタ(A0)403に
転送する(ステップC3)。In the chorus processing, first, the sawtooth rate WLF1 is read from the work memory (W) 106 and transferred to the register (M1) 304 of the multiplier 300, and the sawtooth rate PRAT is read from the coefficient memory (P) 105. The data is transferred to the register (M0) 303 (step C1). Also,
The input signal WINP is read from the work memory (W) 106 and transferred to the area of the address (00) of the delay memory 211 (step C1). Next, register (M1) 3
The sawtooth wave rate WLF1 of 04 and the sawtooth rate PRAT of the register (M0) 303 are transferred to the multiplier 306 for multiplication processing (WLF1 × PRAT), and the multiplication result is transferred to the register (A0) 403 of the addition / subtraction unit 400 ( Step C2). Further, it reads the sawtooth wave rate WCC0 from the work memory (W) 106 and transfers it to the register (A1) 404 (step C2). Saw wave rate WCC0 of register (A1) 404
And the multiplication result of the register (A0) 403
7, the result of the multiplication is subtracted from the sawtooth wave rate WCC0 (WCC0- (WLF1.times.PRAT)), and the subtraction result is transferred to the register (AR) 408 (step C3). The sign flag F (AR) is output from the register (AR) 408 to the control circuit 102 as sign data SF0, and the constant WZRO and the sawtooth wave rate WCC0 are read from the work memory (W) 106, and the constant WZRO is stored in the register (A1). ) 4
In step 04, the sawtooth wave rate W CC0 is transferred to the register (A0) 403 (step C3).
【0065】ステップC4で、符号データSF0が1か
どうか(符号データSF0が1のとき負、符号データS
F0が0のとき正)チェックし、符号データSF0が1
でないとき、すなわち符号データSF0が正を示してい
るときには、まず、レジスタ(AR)408のデータを
レジスタ(SR)410に転送し、その後レジスタ(A
1)404の定数WZRO及びレジスタ(A0)403の
鋸波レートWCC0を加減算器407に転送して、加算処
理する(WZRO+WCC0)。この加算結果をレジスタ(A
R)408に転送する(ステップC5)。一方、ステッ
プC4で符号データSF0が1のとき、すなわち符号デ
ータSF0が負を示しているときには、同様に、まず、
レジスタ(AR)408のデータをレジスタ(SR)4
10に転送し、その後レジスタ(A1)404の定数W
ZRO及びレジスタ(A0)403の鋸波レートWCC0を加
減算器407に転送して、定数WZROから鋸波レートWC
C0を減算処理する(WZRO−WCC0)。この減算結果をレ
ジスタ(AR)408に転送する(ステップC6)。す
なわち上記ステップC1からステップC6の処理により
図4に示したコーラス処理部30の乗算器31、加算器
32、符号検出部33及びALU34による三角波の生
成処理を行なっていることになる。In step C4, it is determined whether the code data SF0 is 1 (the code data SF0 is 1
Check if F0 is 0) and check that code data SF0 is 1
If not, that is, if the sign data SF0 indicates positive, first, the data in the register (AR) 408 is transferred to the register (SR) 410, and then the register (A)
1) The constant WZRO of 404 and the sawtooth rate WCC0 of the register (A0) 403 are transferred to the adder / subtractor 407, and are added (WZRO + WCC0). This addition result is stored in a register (A
(R) 408 (step C5). On the other hand, when the code data SF0 is 1 in step C4, that is, when the code data SF0 indicates negative,
The data of the register (AR) 408 is stored in the register (SR) 4
10 and then the constant W of the register (A1) 404
The ZRO and the sawtooth rate WC0 of the register (A0) 403 are transferred to the adder / subtractor 407, and the sawtooth rate WC is calculated from the constant WZRO.
Subtract C0 (WZRO-WCC0). The result of the subtraction is transferred to the register (AR) 408 (step C6). That is, the processing of steps C1 to C6 means that the multiplier 31, adder 32, code detector 33, and ALU 34 of the chorus processing unit 30 shown in FIG.
【0066】次に、ステップC7で、レジスタ(SR)
410に転送したステップC3の減算結果{WCC0−
(WLF1×PRAT)}をワークメモリ(W)106に転送
して鋸波レートWCC0として書き込み、レジスタ(A
R)408の加算結果あるいは減算結果をレジスタ(A
R)408に転送する。また、上記遅延用メモリ211
に転送した入力信号WINPを所定時間T00+ARだけ遅延さ
せて、つまりメモリ211のアドレス(00+AR)に
記憶された入力信号WINPをワークメモリ(W)106
に転送し、コーラス遅延出力WCC2としてアドレス5に
書き込む(ステップC7)。Next, at step C7, the register (SR)
The subtraction result of step C3 transferred to 410 {WCC0-
(WLF1 × PRAT)} is transferred to the work memory (W) 106 and written as the sawtooth wave rate WCC0, and the register (A
R) 408 is added to the register (A
R) Transfer to 408. The delay memory 211
The input signal WINP transferred to the work memory (W) 106 is delayed by a predetermined time T00 + AR, that is, the input signal WINP stored at the address (00 + AR) of the memory 211 is delayed.
And write it to address 5 as chorus delay output WCC2 (step C7).
【0067】ワークメモリ(W)106からコーラス遅
延出力WCC2及び入力信号WINPを読み出し、コーラス遅
延出力WCC2をレジスタ(A0)403に、入力信号WI
NPをレジスタ(A1)404に転送する(ステップC
8)。このレジスタ(A0)403のコーラス遅延出力
WCC2及びレジスタ(A1)404の入力信号WINPを加
減算器407に転送して、加算処理(WCC2+WINP)
し、加算結果をワークメモリ(W)106に転送してア
ドレス6にコーラス出力WCC3として書き込む(ステッ
プC9)。上記コーラス処理により入力信号を三角波に
基づいて時間的に振らせた状態で、出力することがで
き、いわゆるコーラス効果を付加した信号とすることが
できる。The chorus delay output WCC2 and the input signal WINP are read from the work memory (W) 106, and the chorus delay output WCC2 is stored in the register (A0) 403 and the input signal WI
NP is transferred to the register (A1) 404 (Step C)
8). The chorus delay output WCC2 of the register (A0) 403 and the input signal WINP of the register (A1) 404 are transferred to the adder / subtractor 407, and are added (WCC2 + WINP).
Then, the result of the addition is transferred to the work memory (W) 106 and written into the address 6 as the chorus output WCC3 (step C9). The input signal can be output in a state where it is temporally shifted based on the triangular wave by the chorus processing, and a signal to which a so-called chorus effect is added can be obtained.
【0068】ディレイ処理 次に、ディレイ処理について図17に基づいて説明す
る。本実施例では、コーラス処理した信号をディレイ処
理することとしている。そこで、ディレイ処理では、コ
ーラス処理が行なわれワークメモリ(W)106のアド
レス6に書き込まれたコーラス出力WCC3に対してディ
レイ処理を行なう。Delay Processing Next, the delay processing will be described with reference to FIG. In the present embodiment, a chorus-processed signal is subjected to delay processing. Therefore, in the delay processing, the chorus processing is performed, and the delay processing is performed on the chorus output WCC3 written at the address 6 of the work memory (W) 106.
【0069】そこで、ワークメモリ(W)106からコ
ーラス出力WCC3を読み出して遅延用メモリ211のア
ドレス(01)のエリアに転送し、この遅延用メモリ2
11で所定時間遅延されたコーラス出力WCC3を、つま
り遅延用メモリ211のアドレス(02)のエリアから
ワークメモリ(W)106に転送してアドレス7にディ
レイ遅延出力WDD0として書き込む(ステップD1)。
このディレイ遅延出力WDD0をワークメモリ(W)10
6から読み出してレジスタ(A0)403に転送し、ま
たワークメモリ(W)106からコーラス出力WCC3を
読み出してレジスタ(A1)404に転送する(ステッ
プD2)。このレジスタ(A0)403のディレイ遅延
出力WDD0及びレジスタ(A1)404のコーラス出力
WCC3を加減算器407に転送して加算処理(WDD0+W
CC3)し、加算結果をレジスタ(AR)408に転送す
る(ステップD5)。この加算結果をレジスタ(AR)
408からレジスタ(SR)410に転送してセットし
(ステップD4)、レジスタ(SR)410にセットし
た加算結果をワークメモリ(W)106に転送して、ワ
ークメモリ(W)106のアドレス8にディレイ出力W
DD1として書き込んで、上記ステップD2の処理に利用
する(ステップD5)。また、このレジスタ(SR)4
10にセットした加算結果をモード設定に応じて、すな
わち、上記プログラムリスト可変ルーチン処理の設定に
従って、出力レジスタ(OR0)107あるいは出力レ
ジスタ(OR1)108に転送する。すなわち、モード
1が設定されているときには、レジスタ(SR)410
の加算結果を出力レジスタ(OR0)107に転送し、
モード2が設定されているときには、レジスタ(SR)
410の加算結果を出力レジスタ(OR1)108に転
送する(ステップD5)。Then, the chorus output WCC3 is read out from the work memory (W) 106 and transferred to the area of the address (01) of the delay memory 211, where
The chorus output WCC3 delayed by a predetermined time at 11, that is, from the area of the address (02) of the delay memory 211 to the work memory (W) 106, is written to the address 7 as the delay delay output WD0 (step D1).
This delay output WD0 is stored in the work memory (W) 10
6 is transferred to the register (A0) 403, and the chorus output WCC3 is read from the work memory (W) 106 and transferred to the register (A1) 404 (step D2). The delay output WDD0 of the register (A0) 403 and the chorus output WCC3 of the register (A1) 404 are transferred to the adder / subtractor 407 and added (WDD0 + W
CC3), and transfers the addition result to the register (AR) 408 (step D5). Register this addition result in the register (AR)
408 is transferred to the register (SR) 410 and set (step D4). The addition result set in the register (SR) 410 is transferred to the work memory (W) 106 and stored in the address 8 of the work memory (W) 106. Delay output W
The data is written as DD1 and is used for the processing in step D2 (step D5). This register (SR) 4
The addition result set to 10 is transferred to the output register (OR0) 107 or the output register (OR1) 108 according to the mode setting, that is, according to the setting of the program list variable routine processing. That is, when the mode 1 is set, the register (SR) 410
Is transferred to the output register (OR0) 107,
When mode 2 is set, the register (SR)
The result of addition at 410 is transferred to the output register (OR1) 108 (step D5).
【0070】このようにディレイ処理では、入力信号を
所定時間遅延させて順次出力させることができる。この
ディレイ処理を行なった信号を出力レジスタ(OR0)
107に転送するか出力レジスタ(OR1)108に転
送するかで、次にどの処理を行なうかが設定される。す
なわち、出力レジスタ(OR0)107に転送される
と、その処理信号は、出力端子EOを介して最終出力信
号として図2のD/A変換器14に出力され、出力レジ
スタ(OR1)108に転送されると、出力端子Aoを
介してディストーション回路17に出力されて、ディス
トーション処理を施されることになる。As described above, in the delay processing, an input signal can be sequentially output with a predetermined time delay. The signal subjected to this delay processing is output to an output register (OR0).
Which process is to be performed next is set depending on whether the data is transferred to 107 or the output register (OR1) 108. That is, when transferred to the output register (OR0) 107, the processed signal is output to the D / A converter 14 of FIG. 2 as a final output signal via the output terminal EO and transferred to the output register (OR1) 108. Then, the signal is output to the distortion circuit 17 via the output terminal Ao and subjected to distortion processing.
【0071】いま、モード2に設定されているので、デ
ィレイ処理の施された処理信号は、出力レジスタ(OR
1)108に転送され、出力レジスタ(OR1)108
からD/A変換器15を介してディストーション回路1
7に出力される。Now, since the mode 2 is set, the processed signal subjected to the delay processing is output to the output register (OR
1) Transferred to 108, and output register (OR1) 108
Circuit 1 through a D / A converter 15
7 is output.
【0072】ディストーション回路17でディストーシ
ョン処理を施された処理信号は、A/D変換器12でデ
ィジタル変換された後、DSP13の入力端子Aiに入
力される。この入力端子Ai入力された入力信号を設定
モードに対応させワークメモリ(W)106のどのエリ
アに書き込むかを次に説明するアナログ入力処理で行な
っている。The processed signal subjected to the distortion processing by the distortion circuit 17 is digitally converted by the A / D converter 12, and then input to the input terminal Ai of the DSP 13. The input signal input to the input terminal Ai is made to correspond to the setting mode, and an area to be written in the work memory (W) 106 is determined by an analog input process described below.
【0073】アナログ入力処理 次に、アナログ入力処理について図18に基づいて説明
する。アナログ入力処理は、ディストーション回路17
によりアナログ的に効果付加処理としてのディストーシ
ョン処理の行なわれた入力信号を次にDSP13でどの
効果付加処理を行なうかを設定する処理であり、具体的
には、設定モードに合わせてワークメモリ(W)106
への書込エリアを決定している。Analog Input Processing Next, the analog input processing will be described with reference to FIG. The analog input processing is performed by the distortion circuit 17
Is a process for setting which effect adding process is to be performed next by the DSP 13 for an input signal that has been subjected to a distortion process as an effect adding process in an analog manner. Specifically, the work memory (W ) 106
The writing area for the is determined.
【0074】すなわち、ディストーション回路17から
A/D変換器12を介して入力端子Ai入力された入力
信号は入力レジスタ(PI1)104にセットされ、入
力レジスタ(PI1)104にセットされた入力信号
を、上記プログラムリスト可変ルーチン処理の設定に従
ってワークメモリ(W)106への書込エリアを決定し
ている。モード1に設定されているときには、入力レジ
スタ(PI1)104にセットされた入力信号をワーク
メモリ(W)106のアドレス0に、入力信号WINPと
して書き込み、モード2に設定されているときには、入
力レジスタ(PI1)104にセットされた入力信号を
ワークメモリ(W)106のアドレス1に、入力信号W
INRとして書き込む(ステップAI)。入力信号WINPと
して設定されると、上述のように、コーラス処理用の入
力信号として取り扱われ、入力信号WINRとして設定さ
れると、上述のように、リバーブ処理用の入力信号とし
て取り扱われる。いま、モードとしてモード2が設定さ
れているものとしているので、入力レジスタ(PI1)
104にセットされた入力信号は、ワークメモリ(W)
106に入力信号WINRとして書き込まれ、リバーブ処
理の対象となる。That is, the input signal input to the input terminal Ai from the distortion circuit 17 via the A / D converter 12 is set in the input register (PI1) 104, and the input signal set in the input register (PI1) 104 is The write area for the work memory (W) 106 is determined in accordance with the setting of the program list variable routine process. When the mode is set to mode 1, the input signal set in the input register (PI1) 104 is written to the address 0 of the work memory (W) 106 as the input signal WINP. The input signal set in (PI1) 104 is stored in address 1 of the work memory (W) 106, and the input signal W
Write as INR (step AI). When set as the input signal WINP, it is handled as an input signal for chorus processing as described above, and when set as an input signal WINR, it is handled as an input signal for reverb processing as described above. Since it is assumed that mode 2 is set as the mode, the input register (PI1)
The input signal set to 104 is the work memory (W)
The input signal WINR is written into the input signal 106, and is subjected to reverb processing.
【0075】リバーブ処理 次に、リバーブ処理について図19〜図24に基づいて
説明する。リバーブ処理は、図19に示すように、オー
ルパスフィルタ処理(ステップOF)、コムフィルタα
処理(ステップαF)、コムフィルタβ処理(ステップ
βF)、コムフィルタγ処理(ステップγF)及び混合
処理(ステップM)を順次行なうことにより処理する。
以下、上記各処理を順次説明する。Reverb processing Next, the reverb processing will be described with reference to FIGS. As shown in FIG. 19, the reverb process includes an all-pass filter process (step OF), a comb filter α
Processing (step αF), comb filter β processing (step βF), comb filter γ processing (step γF), and mixing processing (step M) are sequentially performed.
Hereinafter, the above processes will be sequentially described.
【0076】まず、オールパスフィルタ処理について、
図20に基づいて説明する。このオールパスフィルタ処
理は、図5のオールパスフィルタ処理部50での処理に
該当し、まず、遅延用メモリ211から所定の遅延時間
T02だけ遅延させた処理信号を、つまり遅延用メモリ2
11のアドレス(02)のエリアに記憶された信号をレ
ジスタ(M1)304に転送するとともに、オールパス
フィルタ係数PALKを係数メモリ(P)105から読み
出して、レジスタ(M0)303に転送する(ステップ
OF1)。レジスタ(M1)304の処理信号及びレジ
スタ(M0)303オールパスフィルタ係数PALKを乗
算器306に転送して乗算処理し、乗算結果を加減算部
400のレジスタ(A0)403に転送する(ステップ
OF2)。次に、ワークメモリ(W)106から入力信
号WINRを読み出してレジスタ(A1)404に転送し
(ステップOF2)、レジスタ(A0)403の乗算結
果及びレジスタ(A1)404の入力信号WINRを加減
算器407に転送して加算処理する。この加算結果をレ
ジスタ(AR)408に転送し(ステップOF3)、レ
ジスタ(AR)408からさらにレジスタ(SR)41
0に転送するとともに、レジスタ(AR)408にセッ
トされ加算結果を乗算部のレジスタ(M1)304に転
送する(ステップOF4)。また、係数メモリ(P)1
05からオールパスフィルタ係数PALLを読み出してレ
ジスタ(M0)303に転送し(ステップOF4)、上
記レジスタ(SR)410にセットしたステップOF3
の加算結果を遅延用メモリ211のアドレス(03)の
エリアに転送するとともに、レジスタ(M1)304に
セットした加算結果及びレジスタ(M0)303のオー
ルパスフィルタ係数PALLを乗算器306に転送して乗
算処理し、乗算結果をレジスタ(MR)307に転送す
る(ステップOF5)。次に、遅延用メモリ211のア
ドレス(02)のエリアから所定時間遅延させた遅延信
号をレジスタ(A1)404に転送する(ステップOF
5)。First, regarding the all-pass filter processing,
A description will be given based on FIG. This all-pass filter processing corresponds to the processing in the all-pass filter processing unit 50 in FIG. 5, and firstly, the processing signal delayed from the delay memory 211 by a predetermined delay time T02, that is, the delay memory 2
The signal stored in the area of the address (02) of No. 11 is transferred to the register (M1) 304, and the all-pass filter coefficient PALK is read out from the coefficient memory (P) 105 and transferred to the register (M0) 303 (step OF1). ). The processing signal of the register (M1) 304 and the all-pass filter coefficient PALK of the register (M0) 303 are transferred to the multiplier 306 for multiplication processing, and the multiplication result is transferred to the register (A0) 403 of the addition / subtraction unit 400 (step OF2). Next, the input signal WINR is read from the work memory (W) 106 and transferred to the register (A1) 404 (step OF2), and the multiplication result of the register (A0) 403 and the input signal WINR of the register (A1) 404 are added / subtracted. The data is transferred to 407 for addition processing. The result of this addition is transferred to the register (AR) 408 (step OF3), and the register (AR) 408 is further transferred to the register (SR) 41.
In addition to the transfer to 0, the addition result set in the register (AR) 408 is transferred to the register (M1) 304 of the multiplication unit (step OF4). Also, a coefficient memory (P) 1
05, the all-pass filter coefficient PALL is read and transferred to the register (M0) 303 (step OF4), and the step OF3 set in the register (SR) 410 is performed.
Is transferred to the area of the address (03) of the delay memory 211, and the addition result set in the register (M1) 304 and the all-pass filter coefficient PALL of the register (M0) 303 are transferred to the multiplier 306 for multiplication. After processing, the multiplication result is transferred to the register (MR) 307 (step OF5). Next, a delay signal delayed from the area of the address (02) of the delay memory 211 by a predetermined time is transferred to the register (A1) 404 (step OF).
5).
【0077】レジスタ(MR)307への乗算結果のセ
ット及びレジスタ(A1)404への遅延信号のセット
が完了すると、レジスタ(MR)307の乗算結果及び
レジスタ(A1)404の遅延信号を加減算器407に
転送して加算処理を行ない、加算結果をレジスタ(A
R)408に転送する(ステップOF6)。この加算結
果をレジスタ(SR)410に転送し(ステップOF
7)、さらにレジスタ(SR)410からワークメモリ
(W)106に転送してアドレス9にオールパスフィル
タ出力WALMとして書き込む(ステップOF8)。上記
処理によりオールパスフィルタ処理された処理信号がワ
ークメモリ(W)106にオールパスフィルタ出力WAL
Mとして書き込まれる。When the setting of the multiplication result in the register (MR) 307 and the setting of the delay signal in the register (A1) 404 are completed, the multiplication result of the register (MR) 307 and the delay signal of the register (A1) 404 are added and subtracted. 407 to perform addition processing, and store the addition result in a register (A
R) 408 (step OF6). The result of this addition is transferred to register (SR) 410 (step OF).
7) Further, the data is transferred from the register (SR) 410 to the work memory (W) 106 and written into the address 9 as the all-pass filter output WALM (step OF8). The processed signal subjected to the all-pass filter processing by the above processing is output to the work memory (W) 106 by the all-pass filter output WAL.
Written as M.
【0078】このオールパスフィルタ処理の行なわれた
処理信号が、図5に示したように、コムフィルタα6
0、コムフィルタβ70及びコムフィルタγ80に出力
され、各コムフィルタ処理が行なわれるが、実際には、
ワークメモリ(W)106を使用して各コムフィルタ処
理を順次行なう。The processed signal that has been subjected to the all-pass filtering is, as shown in FIG.
0, are output to the comb filter β70 and the comb filter γ80, and the respective comb filter processes are performed.
Each comb filter process is sequentially performed using the work memory (W) 106.
【0079】まずコムフィルタα処理について図21に
基づいて説明する。コムフィルタα処理では、所定時間
遅延させた遅延処理信号T06を遅延用メモリ211の
アドレス(06)のエリアから乗算部300のレジスタ
(M1)304に転送し、係数メモリ(P)105から
櫛形フィルタリング係数PCOMを読み出してレジスタ
(M0)303に転送する(ステップαF1)。このレ
ジスタ(M1)304の遅延処理信号T06及びレジス
タ(M1)304の櫛形フィルタリング係数PCOMを乗
算器306に転送して乗算処理し、乗算結果をレジスタ
(MR)307に転送する(ステップαF2)。また、
ワークメモリ(W)106からオールパスフィルタ出力
WALMを読み出して、加減算部400のレジスタ(A
1)404に転送し(ステップαF2)、レジスタ(M
R)307の乗算結果及びレジスタ(A1)404のオ
ールパスフィルタ出力WALMを加減算器407に転送し
て加算処理を行なう(ステップαF3)。この加算結果
をレジスタ(AR)408に転送するとともに、遅延用
メモリ211のアドレス(05)のエリアから所定時間
遅延させた遅延処理信号T05をレジスタ(A0)40
3に転送する(ステップαF3)。First, the comb filter α processing will be described with reference to FIG. In the comb filter α processing, the delay processing signal T06 delayed for a predetermined time is transferred from the area of the address (06) of the delay memory 211 to the register (M1) 304 of the multiplier 300, and the comb-shaped filtering is performed from the coefficient memory (P) 105. The coefficient PCOM is read and transferred to the register (M0) 303 (step αF1). The delay processing signal T06 of the register (M1) 304 and the comb filtering coefficient PCOM of the register (M1) 304 are transferred to the multiplier 306 for multiplication processing, and the multiplication result is transferred to the register (MR) 307 (step αF2). Also,
The all-pass filter output WALM is read from the work memory (W) 106, and the register (A
1) Transfer to 404 (step αF2), and register (M
R) The multiplication result of 307 and the all-pass filter output WALM of the register (A1) 404 are transferred to the adder / subtractor 407 to perform an addition process (step αF3). The result of the addition is transferred to the register (AR) 408, and a delay processing signal T05 delayed by a predetermined time from the area of the address (05) of the delay memory 211 is stored in the register (A0) 40.
3 (step αF3).
【0080】レジスタ(AR)408の加算結果をレジ
スタ(SR)410に転送するとともに、この加算結果
とレジスタ(A0)403の遅延処理信号T05を加減
算器407に転送し、加算処理してレジスタ(AR)4
08に転送する(ステップαF4)。ステップαF4で
レジスタ(SR)410にセットしたステップαF3の
加算結果を遅延用メモリ211のアドレス(05)のエ
リアに遅延処理信号T04として転送し、レジスタ(A
R)408の加算結果をレジスタ(SR)410に転送
する(ステップαF5)。このレジスタ(SR)410
に転送したステップαF4での加算結果をワークメモリ
(W)106に転送し、ワークメモリ(W)106のア
ドレス10にコムフィルタα出力WRV0として書き込む
(ステップαF6)。The result of addition of the register (AR) 408 is transferred to the register (SR) 410, and the result of addition and the delay processing signal T05 of the register (A0) 403 are transferred to the adder / subtractor 407 for addition processing. AR) 4
08 (step αF4). The addition result of step αF3 set in the register (SR) 410 in step αF4 is transferred to the area of the address (05) of the delay memory 211 as the delay processing signal T04, and
R) 408 is transferred to the register (SR) 410 (step αF5). This register (SR) 410
Is transferred to the work memory (W) 106, and is written into the address 10 of the work memory (W) 106 as the comb filter α output WRV0 (step αF6).
【0081】上記コムフィルタα処理と同様に、コムフ
ィルタβ処理及びコムフィルタγ処理を図22及び図2
3に示すように処理し、コムフィルタβ処理の処理結果
をワークメモリ(W)106のアドレス11にコムフィ
ルタβ出力WRV1として、またコムフィルタγ処理の処
理結果をワークメモリ(W)106のアドレス12にコ
ムフィルタγ出力WRV2として書き込む。Similarly to the above comb filter α processing, the comb filter β processing and the comb filter γ processing
3, the result of the comb filter β processing is set as the comb filter β output WRV1 at the address 11 of the work memory (W) 106, and the result of the comb filter γ processing is set as the address of the work memory (W) 106. 12 is written as a comb filter γ output WRV2.
【0082】このようにして各コムフィルタ処理された
処理結果がワークメモリ(W)106に書き込まれる
と、各コムフィルタ処理した処理信号の混合処理を行な
う。When the processing result of each comb filter processing is written into the work memory (W) 106, the processing signals subjected to each comb filter processing are mixed.
【0083】次に、この混合処理について図24に基づ
いて説明する。混合処理は、まず、ワークメモリ(W)
106からコムフィルタα出力WRV0及びコムフィルタ
β出力WRV1を読み出し、コムフィルタα出力WRV0を加
減算部400のレジスタ(A0)403に、コムフィル
タβ出力WRV1をレジスタ(A1)404に転送する
(ステップM1)。レジスタ(A0)403のコムフィ
ルタα出力WRV0及びレジスタ(A1)404のコムフ
ィルタβ出力WRV1を加減算器407に転送して加算処
理し、加算結果をレジスタ(AR)408に転送する
(ステップM2)。この加算結果をレジスタ(A1)4
04に転送し、ワークメモリ(W)106からコムフィ
ルタγ出力WRV2を読み出してレジスタ(A0)403
に転送する(ステップM3)。これらレジスタ(A1)
404の加算結果及びレジスタ(A0)403のコムフ
ィルタγ出力WRV2を加減算器407に転送して加算処
理し、加算結果をレジスタ(AR)408に転送する
(ステップM4)。この加算結果をレジスタ(SR)4
10を介してワークメモリ(W)106に転送し(ステ
ップM5)、ワークメモリ(W)106のアドレス13
にリバーブ出力WRV3として書き込む(ステップM
6)。このワークメモリ(W)106に書き込まれたリ
バーブ出力WRV3を上記プログラムリスト可変ルーチン
の処理に応じて出力レジスタを決定する。すなわち、モ
ード1が設定されているときには、ワークメモリ(W)
106からリバーブ出力WRV3を読み出し、出力レジス
タ(OR1)108に転送する。また、モード2が設定
されているときには、ワークメモリ(W)106からリ
バーブ出力WRV3を読み出して、出力レジスタ(OR
0)107に転送する。出力レジスタ(OR1)108
に転送されたリバーブ出力WRV3は、出力端子AOを介し
てD/A変換器15に出力され、D/A変換器15から
ディストーション回路17に出力されてディストーショ
ン処理が施される。また、出力レジスタ(OR0)10
7に転送されたリバーブ出力WRV3は、出力端子EOから
D/A変換器14に出力され、D/A変換器14でアナ
ログ信号に変換された後、最終出力信号として図1のト
ーンコントロール部5に出力される。いま、モード2に
設定されているので、ワークメモリ(W)106からリ
バーブ出力WRV3を読み出して、出力レジスタ(OR
0)107に転送し、出力レジスタ(OR0)107か
ら出力端子EOを介して、D/A変換器14に最終出力
信号として出力する。Next, the mixing process will be described with reference to FIG. In the mixing process, first, the work memory (W)
The comb filter α output WRV0 and the comb filter β output WRV1 are read from 106, and the comb filter α output WRV0 is transferred to the register (A0) 403 of the addition / subtraction unit 400, and the comb filter β output WRV1 is transferred to the register (A1) 404 (step M1). ). The comb filter α output WRV0 of the register (A0) 403 and the comb filter β output WRV1 of the register (A1) 404 are transferred to the adder / subtractor 407 for addition processing, and the addition result is transferred to the register (AR) 408 (step M2). . The result of this addition is stored in register (A1) 4
04, the comb filter γ output WRV2 is read from the work memory (W) 106 and the register (A0) 403 is read out.
(Step M3). These registers (A1)
The addition result of 404 and the comb filter γ output WRV2 of the register (A0) 403 are transferred to the adder / subtractor 407 for addition processing, and the addition result is transferred to the register (AR) 408 (step M4). This addition result is stored in a register (SR) 4
10 to the work memory (W) 106 (step M5), and the address 13 of the work memory (W) 106
As the reverb output WRV3 (step M
6). The output register of the reverb output WRV3 written in the work memory (W) 106 is determined according to the processing of the program list variable routine. That is, when the mode 1 is set, the work memory (W)
The reverb output WRV3 is read from 106 and transferred to the output register (OR1) 108. When the mode 2 is set, the reverb output WRV3 is read from the work memory (W) 106, and the output register (OR
0) Transfer to 107. Output register (OR1) 108
Is output to the D / A converter 15 via the output terminal AO, is output from the D / A converter 15 to the distortion circuit 17, and is subjected to distortion processing. The output register (OR0) 10
The reverb output WRV3 transferred to the D / A converter 7 is output from the output terminal EO to the D / A converter 14, converted into an analog signal by the D / A converter 14, and then converted as a final output signal into the tone control unit 5 in FIG. Is output to Now that the mode 2 is set, the reverb output WRV3 is read from the work memory (W) 106 and output to the output register (OR
0) 107 and output from the output register (OR0) 107 to the D / A converter 14 via the output terminal EO as a final output signal.
【0084】このように、ワークメモリ(W)106へ
の書き込みエリアを変えることによりDSP13内での
ディジタル処理による複数の効果付加処理の順番を変え
ることができるだけでなく、このDSP13での効果付
加処理とディストーション回路17でのアナログ処理に
よる効果付加処理の順番を適宜変更することができ、D
SP13とディストーション回路17との物理的接続を
変えることなく、簡単かつ容易にディジタル処理による
効果付加処理とアナログ処理による効果付加処理の順番
を変えることができる。その結果、より一層変化に富ん
だ楽音を発生させることができる。As described above, by changing the writing area in the work memory (W) 106, not only the order of the plurality of effect adding processes by digital processing in the DSP 13 can be changed, but also the effect adding process in the DSP 13 can be performed. And the order of the effect adding processing by the analog processing in the distortion circuit 17 can be appropriately changed.
The order of the effect adding process by digital processing and the effect adding process by analog processing can be easily and easily changed without changing the physical connection between the SP 13 and the distortion circuit 17. As a result, it is possible to generate a more varied musical tone.
【0085】また、上記実施例においては、DSP13
によりリバーブ処理、コーラス処理及びディレイ処理を
行ない、かつコーラス処理とディレイ処理とを連続して
処理する場合について説明したが、DSP13の処理す
る効果付加処理の内容が、これらの処理に限るものでな
いことはいうまでもない。In the above embodiment, the DSP 13
Has been described, the reverb processing, the chorus processing, and the delay processing are performed, and the chorus processing and the delay processing are continuously performed. However, the effect adding processing performed by the DSP 13 is not limited to these processings. Needless to say.
【0086】さらに、上記実施例においては、アナログ
の効果付加処理として、ディストーション処理を採用し
ているが、これに限るものでないこともいうまでもな
い。Further, in the above embodiment, the distortion processing is employed as the analog effect adding processing, but it is needless to say that the present invention is not limited to this.
【0087】[0087]
【発明の効果】請求項1及び請求項2記載の発明によれ
ば、信号選択手段により入力メモリ手段に記憶された入
力音響信号及びアナログ効果付加信号を少なくとも2種
類のデジタル効果付加処理に対してどのように供給する
か、及び当該少なくとも2種類のデジタル効果付加処理
夫々を施した信号を出力メモリ手段の最終出力信号を記
憶するエリアと前記アナログ効果付加手段への入力信号
を記憶するエリアのいずれに供給するかを変更すること
により、ディジタル効果付加手段とアナログ効果付加手
段の接続順序を、物理的な接続関係を変えることなく、
適宜変更することができるので、ディジタル効果付加手
段とアナログ効果付加手段の処理順序を適宜変更するこ
とができる。その結果、複数の効果付加を行なう場合の
効果付加の順序を簡単に変更でき、意図する効果付加を
容易に行なうことができる。According to the first and second aspects of the present invention, the input data stored in the input memory means by the signal selecting means.
At least two types of force sound signal and analog effect added signal
How to supply for the kind of digital effect addition processing
And the at least two types of digital effect addition processing
The final output signal of the output memory
Area to remember and input signal to the analog effect adding means
Change which of the areas to store
Thus, the connection order of the digital effect adding unit and the analog effect adding unit can be changed without changing the physical connection relationship.
Since it can be changed as appropriate, the processing order of the digital effect adding means and the analog effect adding means can be changed as appropriate. As a result, the order of effect addition when a plurality of effects are added can be easily changed, and intended effects can be easily added.
【図1】本願発明の効果付加装置の一実施例としての電
子弦楽器の概略構成図。FIG. 1 is a schematic configuration diagram of an electronic stringed instrument as one embodiment of an effect adding device of the present invention.
【図2】図1の電子回路部のブロック図。FIG. 2 is a block diagram of the electronic circuit unit of FIG. 1;
【図3】図1のディストーション回路の回路図。FIG. 3 is a circuit diagram of the distortion circuit of FIG. 1;
【図4】図1のDSPのコーラス処理及びディレイ処理
を疑似的に示す構成図。FIG. 4 is a block diagram schematically showing chorus processing and delay processing of the DSP of FIG. 1;
【図5】図1のDSPのリバーブ処理を疑似的に示す構
成図。FIG. 5 is a block diagram schematically showing a reverb process of the DSP of FIG. 1;
【図6】図2のDSPの詳細な回路構成図。FIG. 6 is a detailed circuit configuration diagram of the DSP of FIG. 2;
【図7】図6の係数メモリ(P)に格納されるフィルタ
係数を示す図。FIG. 7 is a view showing filter coefficients stored in a coefficient memory (P) of FIG. 6;
【図8】図6のワークメモリ(W)に格納される各種デ
ータを示す図。FIG. 8 is a view showing various data stored in a work memory (W) in FIG. 6;
【図9】モード設定処理を示すフローチャート。FIG. 9 is a flowchart illustrating a mode setting process.
【図10】モード1での各効果付加処理の処理順序を示
す図。FIG. 10 is a diagram showing a processing order of each effect adding process in mode 1;
【図11】モード2での各効果付加処理の処理順序を示
す図。FIG. 11 is a diagram showing a processing order of each effect adding process in a mode 2;
【図12】モード1でのプログラムリスト可変ルーチン
A処理を示すフローチャート。FIG. 12 is a flowchart showing a program list variable routine A process in mode 1;
【図13】モード2でのプログラムリスト可変ルーチン
B処理を示すフローチャート。FIG. 13 is a flowchart showing a program list variable routine B process in mode 2;
【図14】モード2でのDSPでの各処理の基本の手順
を示すフローチャート。FIG. 14 is a flowchart showing a basic procedure of each processing in the DSP in a mode 2;
【図15】ディジタル入力処理の詳細な処理内容を示す
フローチャート。FIG. 15 is a flowchart showing details of digital input processing.
【図16】コーラス処理の詳細な処理内容を示すフロー
チャート。FIG. 16 is a flowchart showing the detailed processing contents of the chorus processing.
【図17】ディレイ処理の詳細な処理内容を示すフロー
チャート。FIG. 17 is a flowchart showing the detailed processing contents of the delay processing.
【図18】アナログ入力処理の詳細な処理内容を示すフ
ローチャート。FIG. 18 is a flowchart showing detailed processing contents of analog input processing.
【図19】リバーブ処理の詳細な処理内容を示すフロー
チャート。FIG. 19 is a flowchart showing the details of reverb processing;
【図20】オールパスフィルタ処理の詳細な処理内容を
示すフローチャート。FIG. 20 is a flowchart illustrating detailed processing contents of an all-pass filter processing.
【図21】コムフィルタα処理の詳細な処理内容を示す
フローチャート。FIG. 21 is a flowchart showing details of the comb filter α processing.
【図22】コムフィルタβ処理の詳細な処理内容を示す
フローチャート。FIG. 22 is a flowchart showing the detailed processing contents of the comb filter β processing.
【図23】コムフィルタγ処理の詳細な処理内容を示す
フローチャート。FIG. 23 is a flowchart showing the details of comb filter γ processing;
【図24】混合処理の詳細な処理内容を示すフローチャ
ート。FIG. 24 is a flowchart showing detailed processing content of the mixing processing.
1 電子弦楽器 2 ピックアップ 4 電子回路部 5 トーンコントロール部 6 ボリュウム 7 アウトプット端子 11、12 A/D変換器 13 DSP 14、15 D/A変換器 16 マイクロコンピュータ 17 ディストーション回路 18 コンソール 21 バッファ 22 増幅回路 23 クリップ回路 24 増幅回路 101 プログラムメモリ 102 制御回路 103 入力レジスタ(PI0) 104 入力レジスタ(PI1) 105 係数メモリ(P) 106 ワークメモリ(W) 107 出力レジスタ(OR0) 108 出力レジスタ(OR1) 200 遅延処理部 300 乗算部 400 加減算部 Reference Signs List 1 electronic stringed instrument 2 pickup 4 electronic circuit section 5 tone control section 6 volume 7 output terminal 11, 12 A / D converter 13 DSP 14, 15 D / A converter 16 microcomputer 17 distortion circuit 18 console 21 buffer 22 amplifier circuit 23 Clip circuit 24 Amplification circuit 101 Program memory 102 Control circuit 103 Input register (PI0) 104 Input register (PI1) 105 Coefficient memory (P) 106 Work memory (W) 107 Output register (OR0) 108 Output register (OR1) 200 Delay Processing unit 300 Multiplication unit 400 Addition / subtraction unit
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G10H 1/08 - 1/16 G10H 1/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G10H 1/08-1/16 G10H 1/00
Claims (2)
効果付加処理を施すアナログ効果付加手段と、入力音響信号を記憶するエリアと前記アナログ効果付加
手段の出力信号を記憶するエリアを有する入力メモリ手
段と、 少なくとも2種類の効果付加処理をディジタル処理によ
り施すことが可能なディジタル効果付加手段と、 最終出力信号を記憶するエリアと前記アナログ効果付加
手段への入力信号を 記憶するエリアを有する出力メモリ
手段と、前記入力メモリ手段に記憶されている入力音響信号と前
記アナログ効果付加手段の出力信号の夫々について、前
記ディジタル効果付加手段の少なくとも2種類の効果付
加処理のいずれを施すのかを選択するとともに、当該少
なくとも2種類の効果処理のいずれかを施された各出力
信号を、前記出力メモリ手段の最終出力信号を記憶する
エリアと前記アナログ効果付加手段への入力信号を記憶
するエリアのいずれに供給するのかを選択する 信号選択
手段と、 を備えたことを特徴とする効果付加装置。1. An input audio signal using an analog element.
Analog effect adding means for effect adding processing, an area for storing an input audio signal, and the analog effect adding
Input memory device having an area for storing the output signal of the means
And digital processing of at least two types of effect adding processing.
Means for adding digital effects, an area for storing a final output signal, and the analog effect adding means.
An output memory means having an area for storing an input signal to the means; and an input sound signal stored in the input memory means.
For each of the output signals of the analog effect adding means,
Digital effect adding means with at least two kinds of effects
Processing to be performed, and
Each output with at least one of two types of effect processing
Storing a signal as a final output signal of the output memory means.
Stores the area and the input signal to the analog effect adding means
Signal selection means for selecting which of the areas to be supplied .
ーション回路であることを特徴とする請求項1記載の効
果付加装置。2. The effect adding device according to claim 1, wherein said analog effect adding means is a distortion circuit.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP03204871A JP3136674B2 (en) | 1991-07-19 | 1991-07-19 | Effect adding device |
| US07/913,581 US5410603A (en) | 1991-07-19 | 1992-07-14 | Effect adding apparatus |
| US08/315,066 US5546466A (en) | 1991-07-19 | 1994-09-29 | Effect adding apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP03204871A JP3136674B2 (en) | 1991-07-19 | 1991-07-19 | Effect adding device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0527760A JPH0527760A (en) | 1993-02-05 |
| JP3136674B2 true JP3136674B2 (en) | 2001-02-19 |
Family
ID=16497783
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP03204871A Expired - Fee Related JP3136674B2 (en) | 1991-07-19 | 1991-07-19 | Effect adding device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3136674B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5434445B2 (en) * | 2009-10-01 | 2014-03-05 | ヤマハ株式会社 | Music signal control apparatus and program |
| FR3124304B1 (en) * | 2021-06-16 | 2023-11-24 | Monday Noise | DEVICE FOR PROCESSING AN AUDIO SIGNAL |
-
1991
- 1991-07-19 JP JP03204871A patent/JP3136674B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0527760A (en) | 1993-02-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5410603A (en) | Effect adding apparatus | |
| JP3227743B2 (en) | Overtone giving circuit | |
| JP3136674B2 (en) | Effect adding device | |
| US5050216A (en) | Effector for electronic musical instrument | |
| JP2757740B2 (en) | Distortion circuit | |
| JPS6217759B2 (en) | ||
| JP2649184B2 (en) | Music signal processor | |
| JP3347338B2 (en) | Music synthesizer | |
| JP3149459B2 (en) | Distortion circuit | |
| JP3433483B2 (en) | Effect device | |
| JP3357498B2 (en) | Electronic musical instruments using digital filters | |
| JPH0761190B2 (en) | Acoustic device with howling prevention function | |
| JP3475466B2 (en) | Resonant string effect imparting device | |
| JP3423739B2 (en) | Effect adding device | |
| JPH0997071A (en) | Envelope detection method | |
| JP2712197B2 (en) | Effect adding device | |
| JP3991475B2 (en) | Audio data processing apparatus and computer system | |
| JPH02187797A (en) | Electronic musical instrument | |
| JP3136735B2 (en) | Effect adding device | |
| JP3293649B2 (en) | Tone generator | |
| JP3149095B2 (en) | Effect adding device | |
| JP2778415B2 (en) | Distortion effect device | |
| JPH0535269A (en) | Portamento effect adding device | |
| JP3599978B2 (en) | Tone signal forming device | |
| JP3149463B2 (en) | Effect adding device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071208 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081208 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081208 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091208 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101208 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |