JP3180351B2 - Effect device - Google Patents

Effect device

Info

Publication number
JP3180351B2
JP3180351B2 JP40063890A JP40063890A JP3180351B2 JP 3180351 B2 JP3180351 B2 JP 3180351B2 JP 40063890 A JP40063890 A JP 40063890A JP 40063890 A JP40063890 A JP 40063890A JP 3180351 B2 JP3180351 B2 JP 3180351B2
Authority
JP
Japan
Prior art keywords
mode
terminal
delay
microprogram
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP40063890A
Other languages
Japanese (ja)
Other versions
JPH04212996A (en
Inventor
洋二 金子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP40063890A priority Critical patent/JP3180351B2/en
Publication of JPH04212996A publication Critical patent/JPH04212996A/en
Application granted granted Critical
Publication of JP3180351B2 publication Critical patent/JP3180351B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の技術分野】本発明は、安価なシステムで基本的
なエフェクト処理を可能とし、遅延用のメモリを追加
(増設)した、あるいは大容量の遅延用のメモリを採用
したシステムでは、多機能なエフェクト処理を実行でき
るエフェクト装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention makes it possible to perform basic effect processing with an inexpensive system, and to add (expand) a delay memory or to use a large-capacity delay memory in a multifunction system. The present invention relates to an effect device capable of executing various effect processing.

【0002】[0002]

【従来技術とその問題点】従来より電子楽器の分野にお
いては、音源から発生した楽音信号に対し、リバーブ効
果、コーラス効果等のエフェクト(効果)を付加するこ
とが行われている。このエフェクトを付加する構成とし
ては、最近DSP(ディジタルシグナルプロセッサ)に
よるものが多い。
2. Description of the Related Art Conventionally, in the field of electronic musical instruments, effects (effects) such as a reverb effect and a chorus effect have been added to a tone signal generated from a sound source. As a configuration for adding this effect, recently, a DSP (Digital Signal Processor) is often used.

【0003】このようなエフェクト装置は、現在高機能
用と低機能用に分れており、夫々別々のシステムで構成
されるのが一般的である。その為、1つのエフェクト用
DSP LSIで低級機から高級機までカバーすること
はできず、夫々別々のエフェクト用LSIを作る必要が
あった。
[0003] Such an effect device is currently divided into a high-function device and a low-function device, and each is generally constituted by a separate system. For this reason, one DSP LSI for effect cannot cover from low-grade to high-end, and it is necessary to make separate LSIs for effect.

【0004】また、電子楽器の音源LSIにエフェクタ
を内蔵する場合も、様々な価格帯の電子楽器を同一の音
源LSIシステムで作る場合は、低級機は内蔵エフェク
タ、高級機は外部エフェクタというように分ける必要が
あり、電子楽器としてのシステム構成が、複雑になると
いう欠点があった。
[0004] Also, when an effector is built into the sound source LSI of an electronic musical instrument, or when electronic musical instruments of various price ranges are made with the same sound source LSI system, a low-grade device is a built-in effector and a high-end device is an external effector. There is a drawback that the electronic musical instrument needs to be separated and the system configuration as an electronic musical instrument becomes complicated.

【0005】[0005]

【発明の目的】本発明は、このような事情に鑑みてなさ
れたものであり、種々の価格帯のシステム構築をする場
合も簡単に対応できるエフェクト装置を提供することを
目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of such circumstances, and it is an object of the present invention to provide an effect device which can easily cope with the construction of a system in various price ranges.

【0006】[0006]

【発明の構成、作用】本発明は、上記目的を達成すべ
く、エフェクト処理の為のマイクロプログラムを記憶す
るマイクロプログラム記憶手段と、このマイクロプログ
ラム記憶手段に記憶された上記マイクロプログラムに従
って、エフェクト処理の為に順次ディジタル信号処理演
算を行う演算手段と、上記演算手段がアクセスする遅延
処理用の遅延用記憶手段と、上記演算手段と上記遅延用
記憶手段のデータバスとが等しい長さの場合には第1の
モードを設定し、上記演算手段のデータが上記遅延用記
憶手段のデータバスより長い場合には第2のモードを設
定するモード設定手段と、上記演算手段が、上記遅延用
記憶手段をアクセスする際、上記第1のモードのときは
上記演算手段の1演算サイクル内で上記遅延用記憶手段
に対して1回アクセスし、上記第2のモードのときは
記演算手段の1演算サイクル内で上記遅延用記憶手段に
対して複数回多重化してアクセスするアクセス手段と、
を具備したことを特徴とするエフェクト装置を提供す
る。
In order to achieve the above object, the present invention provides a microprogram storage means for storing a microprogram for effect processing, and an effect processing in accordance with the microprogram stored in the microprogram storage means. Arithmetic means for sequentially performing digital signal processing arithmetic for the following, delay storing means for delay processing accessed by the arithmetic means, the arithmetic means and the delay
If the data bus of the storage means has the same length, the first
Mode, and the data of the arithmetic
If the data bus is longer than the data bus, set the second mode.
When the mode setting means and the calculating means access the delay storing means , the mode setting means sets the delay storing means in one calculation cycle of the calculating means in the first mode. Access means for accessing the delay storage means a plurality of times within one operation cycle of the operation means in the second operation mode in the second mode ;
An effect device comprising:

【0007】このような構成によれば、遅延用記憶手段
の容量に従ったエフェクト処理を演算手段は実行でき
る。つまり、例えば、高級機については、大容量の遅延
用記憶手段を搭載し、演算手段は、このような遅延用記
憶手段を高速でアクセスし(演算手段のデータと遅延用
記憶手段のデータバスの長さを等しくする)、低級機に
ついては、小容量の遅延用記憶手段を搭載し、演算手段
は、このような遅延用記憶手段を1演算サイクル内で複
数回多重化してアクセスする(演算手段のデータが遅延
用記憶手段のデータバスより長い)ようにすることがで
きる。
According to such a configuration, the computing means can execute the effect processing according to the capacity of the delay storage means. That is, for example, a high-end machine is equipped with a large-capacity delay storage means, and the arithmetic means accesses such a delay storage means at high speed (the data of the arithmetic means and the data bus of the delay storage means). For low-grade machines, small-capacity delay storage means are mounted, and the arithmetic means multiplexes and accesses such delay storage means a plurality of times within one operation cycle (operation means Is longer than the data bus of the delay storage means).

【0008】より具体的な一例としては、上記マイクロ
プログラム記憶手段は、1サンプリング周期内の実行命
令が異なるステップ数で表現されたマイクロプログラム
を記憶しており、上記モード設定手段は、上記演算手段
が上記1サンプリング周期内で実行するマイクロプログ
ラムのステップ数が所定値以上である場合は上記第1の
モードに設定し、上記1サンプリング周期内で実行する
マイクロプログラムのステップ数が所定値未満である場
合は上記第2のモードに設定する。
As a more specific example, the microprogram storage means stores a microprogram in which execution instructions in one sampling period are expressed by different numbers of steps, and the mode setting means includes the arithmetic means.
Is a microprogram executed within one sampling period.
If the number of ram steps is equal to or greater than a predetermined value, the first
Set to mode and execute within the above one sampling period
If the number of microprogram steps is less than the specified value
In this case, the second mode is set.

【0009】このような構成によれば、1サンプリング
周期内の実行命令のステップ数に応じてモードを設定す
ることにより、マイクロプログラムの複雑さに対応する
形で、上記遅延用記憶手段の容量を設定モードに応じて
変更できる。従って、例えば、高級機においては、高速
で複雑なディジタル信号処理を大容量の遅延用記憶手段
をアクセスしながら実行してエフェクト音を発生するよ
うにし、低級機においては、低速で比較的簡単なディジ
タル信号処理を小容量の遅延用記憶手段をアクセスしな
がら実行してエフェクト音を発生することができる。
According to such a configuration, one sampling
Set the mode according to the number of steps of the execution instruction in the cycle
This makes it possible to change the capacity of the delay storage means in accordance with the setting mode in a manner corresponding to the complexity of the microprogram. Therefore, for example, in a high-end machine, high-speed and complicated digital signal processing is executed while accessing a large-capacity delay storage means to generate an effect sound. The digital signal processing can be executed while accessing the small-capacity delay storage means to generate an effect sound.

【0010】[0010]

【実施例】以下、この発明を適用した一実施例につき詳
述する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment to which the present invention is applied will be described below in detail.

【0011】<構成> 図1は、ワンチップ構成の楽音発生装置(音源LSI)
を用いて構成した電子楽器の全体構成を示し、図中1は
マイクロコンピュータ等からなるCPUである。このC
PU1に鍵盤2、スイッチ3が接続され、鍵情報やスイ
ッチ情報がスキャンによって取込まれる。そして、CP
U1には、音源LSI4が接続され、CPU1から、発
音制御情報や、音色情報等がこの音源LSI4に転送さ
れる。
<Structure> FIG. 1 shows a tone generator (sound generator LSI) having a one-chip structure.
1 shows an overall configuration of an electronic musical instrument configured by using a CPU. This C
The keyboard 2 and the switch 3 are connected to the PU 1, and key information and switch information are captured by scanning. And CP
A sound source LSI 4 is connected to U 1, and tone generation control information, tone color information, and the like are transferred from the CPU 1 to the sound source LSI 4.

【0012】この音源LSI4は、後述する通り、波形
発生回路とDSP部とが一体的にワンチップ構成となっ
ている。そして、この波形発生回路としては、各種音源
方式、例えば、PCM方式、iPD方式、FM方式等が
採用できるが、この実施例としては、PCM方式によっ
ている。
As will be described later, the tone generator LSI 4 has a one-chip configuration of a waveform generating circuit and a DSP unit. As the waveform generating circuit, various sound source systems such as a PCM system, an iPD system, and an FM system can be adopted. In this embodiment, the PCM system is used.

【0013】つまり、音源LSI4は、楽音波形を表現
するデータがストアされたPCMROM5をアクセスす
るため、アドレス信号を端子PADを介して送り、PC
M波形データを端子PDTを介して取込み、それに内部
の回路で、エンベロープを付加した後、所望のエフェク
トを楽音波形信号に付加するために内部のDSP部に送
る。このDSP部は、遅延用のRAM6をアクセスし
て、エフェクト演算を実行する。このRAM6とは、端
子DADを介して、アドレス信号が音源LSI4から送
られ、端子DDTを介して、音源LSI4と波形データ
のやり取りを行う。
That is, the tone generator LSI 4 sends an address signal through the terminal PAD to access the PCMROM 5 in which data representing a musical tone waveform is stored.
The M waveform data is fetched via a terminal PDT, an envelope is added thereto by an internal circuit, and then sent to an internal DSP unit for adding a desired effect to a tone waveform signal. The DSP unit accesses the delay RAM 6 and executes an effect operation. An address signal is sent from the sound source LSI 4 to the RAM 6 via the terminal DAD, and exchanges waveform data with the sound source LSI 4 via the terminal DDT.

【0014】そして、音源LSI4からエフェクトが付
与された波形データが端子EOUTを介して、DAC
(ディジタルアナログコンバータ)7に送られ、更にア
ンプ8A、8Bにて増幅された後スピーカ9A、9Bを
経て、ステレオ出力される。
The waveform data to which the effect has been applied from the tone generator LSI 4 is supplied to the DAC E via the terminal EOUT.
(Digital-to-analog converter) 7 and further amplified by amplifiers 8A and 8B, and then output in stereo via speakers 9A and 9B.

【0015】図2は、音源LSI4の具体的なブロック
回路構成例を示し、11はCPUインタフェースで、C
PU1からの非同期的な制御データを端子INにて受け
て、音源LSI4の内部回路動作に同期したタイミング
で各回路ブロックに制御データを端子OUTから分配す
る。
FIG. 2 shows an example of a specific block circuit configuration of the tone generator LSI 4. Reference numeral 11 denotes a CPU interface.
Asynchronous control data from PU1 is received at terminal IN, and control data is distributed to each circuit block from terminal OUT at a timing synchronized with the internal circuit operation of tone generator LSI4.

【0016】このCPUインタフェース11と接続され
て、発生すべき楽音の特性(音高、音色、音量、エンベ
ロープ等)が端子INから与えられるデータに従って決
定される波形発生回路12からは、上述したPCM R
OM5をアクセスするためのアドレス信号が端子Add
から出力し、音源LSI4の端子PADに送られる。そ
して、音源LSI4の端子PDTから供給される波形デ
ータは端子Dataを介し波形発生回路12内部に与え
られ、エンベロープ等の処理が施されてから、DSP部
10に端子Woutを介して送出される。この実施例で
は、波形発生回路12は時分割処理によって、複数音分
の楽音波形信号を時分割発生するが、それらが適宜合成
された後DSP部10に供給される。
The waveform generating circuit 12, which is connected to the CPU interface 11 and determines the characteristics (tone pitch, tone color, volume, envelope, etc.) of the musical tone to be generated, in accordance with the data supplied from the terminal IN, outputs the above-described PCM signal. R
An address signal for accessing OM5 is supplied to terminal Add.
And sent to the terminal PAD of the sound source LSI4. Then, the waveform data supplied from the terminal PDT of the sound source LSI 4 is supplied to the inside of the waveform generation circuit 12 via the terminal Data, subjected to processing such as envelope processing, and then sent to the DSP unit 10 via the terminal Wout. In this embodiment, the waveform generating circuit 12 generates a plurality of musical tone waveform signals in a time-division manner by time-division processing, and these signals are appropriately synthesized and supplied to the DSP unit 10.

【0017】DSP部10は、CPUインタフェース1
1から端子INを介して供給する制御情報に従って、エ
フェクト処理をディジタル信号処理によって実現してい
る。つまり、DSP部10はCPU1から与えられるマ
イクロプログラムや、各種係数データにより任意のエフ
ェクト処理が、合成された各グループ毎の波形データに
対して独立的に実行可能である。このDSP部10の端
子Addは音源LSI4の端子DADと接続されて、遅
延用のRAM6をアクセスし、データのやり取りは、音
源LSI4の端子DDTと、このDSP部10の端子D
ataを介して行う。
The DSP unit 10 includes a CPU interface 1
The effect processing is realized by digital signal processing in accordance with control information supplied from 1 to the terminal IN. That is, the DSP unit 10 can independently execute arbitrary effect processing on the combined waveform data of each group using the microprogram given from the CPU 1 and various coefficient data. The terminal Add of the DSP unit 10 is connected to the terminal DAD of the sound source LSI 4 to access the RAM 6 for delay, and data is exchanged between the terminal DDT of the sound source LSI 4 and the terminal D of the DSP unit 10.
Performed via “ata”.

【0018】そして、DSP部10の出力端子EWou
tから、エフェクト処理を施した楽音波形信号が出力さ
れて、音源LSI4の出力端子EOUTに送られる。
The output terminal EWou of the DSP unit 10
From t, the tone waveform signal subjected to the effect processing is output and sent to the output terminal EOUT of the sound source LSI 4.

【0019】図3は、DSP部10のブロック回路構成
を示しており、このDSP部10は与えられるモード信
号aによって高級機用(モード信号a=0でモード1と
言い、遅延用RAM6が16ビットバスであり、1サン
プリング周期内に128ステップ(演算サイクル)の演
算を実行する。)と低級機用(モード信号a=1でモー
ド2と言い、遅延用RAM6が8ビットバスであり、1
サンプリング周期内に64ステップの演算を実行す
る。)の2段階の処理形態を選択的に取る。
FIG. 3 shows a block circuit configuration of the DSP unit 10. The DSP unit 10 uses a given mode signal a for a high-end device (mode signal a = 0, called mode 1; It is a bit bus, which performs 128 steps (operation cycle) of operation within one sampling period. It is for a low-grade machine (mode 2 with mode signal a = 1, the delay RAM 6 is an 8-bit bus, and
A 64-step calculation is performed within the sampling period. 2) is selectively performed.

【0020】カウンタ101は、システムクロックφを
端子CKにうけて動作するもので、その出力の下位7ビ
ットは、シフタ102の入力端子Iに送られ、端子Sに
与えられるモード信号aによってシフト動作が制御され
た後、マイクロプログラムメモリ103の端子ADRに
アドレス信号として供給される。つまりこのシフタ10
2から出力される7ビットの信号がディジタル信号処理
の各演算サイクルを指定する。具体的には、シフタ10
2はモード1のときは何もシフト動作を行わないので、
カウンタ101の下位7ビットがそのまま0〜127の
ステップを指定するが、モード2のときは、1ビット下
位ビット側へシフトを行い最上位ビットMSBに“0”
を付加することになって、結局シフタ102は1サンプ
リング周期内で0〜63のステップを指定することにな
る。
The counter 101 operates in response to a system clock φ at a terminal CK. The lower 7 bits of the output are sent to an input terminal I of a shifter 102 and shifted by a mode signal a given to a terminal S. Is supplied to the terminal ADR of the microprogram memory 103 as an address signal. In other words, this shifter 10
The 7-bit signal output from 2 specifies each operation cycle of digital signal processing. Specifically, the shifter 10
No. 2 performs no shift operation in mode 1, so
The lower 7 bits of the counter 101 directly specify the steps of 0 to 127. In the mode 2, the counter 101 shifts to the lower bit by 1 bit and sets “0” to the most significant bit MSB.
After all, the shifter 102 specifies the steps 0 to 63 within one sampling period.

【0021】なお、上記モード信号aは、CPU1から
CPUインタフェース11を介して与えられるか、ある
いは、音源LSI4の特定の端子に対応する電圧レベル
が印加されることによって与えられる。
The mode signal a is supplied from the CPU 1 via the CPU interface 11 or by applying a voltage level corresponding to a specific terminal of the tone generator LSI 4.

【0022】また、このカウンタ101の上位15ビッ
トは、エフェクト用の遅延用RAM6(モード1のとき
は、32K×16ビット、モード2のときは、32K×
8ビット)の歩進アドレスとして使われる。
The upper 15 bits of the counter 101 are used as a delay RAM 6 for effects (32K × 16 bits in mode 1 and 32K × 16 bits in mode 2).
8 bits).

【0023】マイクロプログラムメモリ103は、シフ
タ102の出力を受け、DSP105が行うディジタル
演算を制御する為の24ビットのマイクロプログラムデ
ータ(マイクロインスロラクション)を端子MPから出
力する。このマイクロプログラムメモリ103のモード
端子MODEには、上記モード信号aが入力し、モード
1とモード2とで異なるステップ数(モード1で128
ステップ、モード2で64ステップ)のマイクロインス
トラクションを出力する。
The microprogram memory 103 receives the output of the shifter 102 and outputs from a terminal MP 24-bit microprogram data (microinsulation) for controlling digital operations performed by the DSP 105. The mode signal a is input to the mode terminal MODE of the microprogram memory 103, and the number of steps differs between mode 1 and mode 2 (128 steps in mode 1).
The microinstruction of (step, mode 2, 64 steps) is output.

【0024】尚、このマイクロプログラムメモリ103
をRAMとし、CPU1から実行しようとするモードに
対応して異なるステップ数のマイクロプログラムをCP
Uインタフェース11を介して書込可能とすることもで
きる。その場合は、ディレイRAMオフセットメモリ1
11もRAMとして、必要なオフセットデータのセット
をCPU1は書込むようにする。また、各種係数なども
書込可能とすることもできるが、その為の接続構成は図
3では省略してある。
The microprogram memory 103
Is a RAM, and a microprogram having a different number of steps is
Writing can be made via the U interface 11. In that case, the delay RAM offset memory 1
11 is also a RAM, and the CPU 1 writes a set of necessary offset data. Also, various coefficients and the like can be written, but the connection configuration for that is omitted in FIG.

【0025】DSP105は、マイクロプログラムデー
タを受けて、対応するディジタル信号処理を実行し、端
子INを介し入力するデータEWinから所望のエフェ
クトデータEWoutを生成し、端子OUTから出力す
る。この、DSP105の端子CLKには動作クロック
(システムクロック)がセレクタ104を介して供給さ
れる。このセレクタ104には、上記システムクロック
φと、それを分周したクロックφ1(カウンタ101の
最下位ビットLSB出力)の論理反転をインバータ11
3にて取ったクロックバーφ1とが入力端子AとBとに
与えられ、端子Sに与えられるモード信号aにより出力
端子Yから選択出力される。具体的には、モード信号a
が0(モード1)のときクロックφを選択出力し、モー
ド信号aが1(モード2)のときクロックバーφ1を選
択出力する。従って、DSP105は、モード1のとき
とモード2のときで動作速度が2対1の関係になり、モ
ード1のときの方が高速に演算を実行する。
The DSP 105 receives the microprogram data, executes corresponding digital signal processing, generates desired effect data EWout from data EWin input via the terminal IN, and outputs the desired effect data EWout from the terminal OUT. An operation clock (system clock) is supplied to the terminal CLK of the DSP 105 via the selector 104. The selector 104 provides the inverter 11 with a logical inversion of the system clock φ and a clock φ1 (a least significant bit LSB output of the counter 101) obtained by dividing the system clock φ.
The clock bar φ1 taken at 3 is supplied to the input terminals A and B, and is selectively output from the output terminal Y by the mode signal a supplied to the terminal S. Specifically, the mode signal a
Is 0 (mode 1), the clock φ is selectively output, and when the mode signal a is 1 (mode 2), the clock bar φ1 is selectively output. Accordingly, the DSP 105 has a two-to-one relationship between the operation speed in the mode 1 and the operation speed in the mode 2, and executes the operation at a higher speed in the mode 1.

【0026】DSP105は、本実施例の場合モード
1、モード2とも16ビットでデータを入出力し、ディ
レイ用RAM6にデータの書込/読出を行う。
In this embodiment, the DSP 105 inputs and outputs data in 16 bits in both mode 1 and mode 2, and writes / reads data to / from the delay RAM 6.

【0027】具体的には、書込時には、DSP105の
端子DOUTから出力された16ビットデータは、上位
8ビットが直接もしくはセレクタ106の端子Bを通
り、下位8ビットがセレクタ106の端子Aを通り、更
にバッファ108を介してRAM6に与えられる(RA
M6には、モード1のとき16ビットデータ、モード2
のとき8ビットデータの形式でデータが供給記憶され
る)。尚、このバッファ108の開閉動作は、マイクロ
プログラムメモリ103からのマイクロインストラクシ
ョンによる。
Specifically, at the time of writing, in the 16-bit data output from the terminal DOUT of the DSP 105, the upper 8 bits directly or pass through the terminal B of the selector 106, and the lower 8 bits pass through the terminal A of the selector 106. , And to the RAM 6 via the buffer 108 (RA
M6 includes 16-bit data in mode 1, mode 2
In this case, data is supplied and stored in the form of 8-bit data). The opening and closing operation of the buffer 108 is based on micro instructions from the micro program memory 103.

【0028】上記セレクタ106には、入力端子A、B
に与えられるデータのいずれを端子Yから出力するかを
制御するために端子Sにアンドゲート107から制御信
号が与えられる。つまり、セレクタ106は端子Sに与
えられる制御信号が“0”のときは端子Aへの入力を選
択出力し、制御信号が“1”のときは端子Bへの入力を
選択出力する。なお、アンドゲート107には、上述し
たクロックバーφ1とモード信号aとが与えられその論
理積が取られて上記制御信号となる。このセレクタ10
6の具体的な動作は、更に後述する。
The selector 106 has input terminals A and B.
A control signal is supplied to the terminal S from the AND gate 107 to control which of the data supplied to the terminal Y is output from the terminal Y. That is, the selector 106 selectively outputs the input to the terminal A when the control signal applied to the terminal S is “0”, and selectively outputs the input to the terminal B when the control signal is “1”. The AND gate 107 is supplied with the above-mentioned clock bar φ1 and the mode signal “a”, and the logical product of them is taken as the control signal. This selector 10
The specific operation of No. 6 will be further described later.

【0029】また、読み出し時には、RAM6からのデ
ータ(モード1のときは、16ビットデータ、モード2
のときは8ビットデータ)がセレクタ109、フリップ
フロップ(以下、FF)110の動作で、16ビットデ
ータに変換されて、DSP105のデータ入力端子DI
Nに与えられる。
At the time of reading, data from the RAM 6 (16-bit data in mode 1; mode 2
Is converted to 16-bit data by the operation of the selector 109 and the flip-flop (FF) 110, and the data input terminal DI of the DSP 105
N.

【0030】つまり、端子Dataから与えられるデー
タの下位8ビットは直接、もしくはFF110を通りセ
レクタの端子Bを介して、DSP105に与えられ、上
位8ビットは、セレクタ109の端子Aを介して、DS
P105に与えられる。そして、FF110には読み込
みクロックとして、クロックφ1が与えられる。また、
セレクタ109の端子Sにはモード信号aが供給され、
このモード信号aが“0”のとき端子Aに与えられるデ
ータを端子Yから出力し、モード信号aが“1”のとき
端子Bから与えられるデータを端子Yから出力する。こ
の端子Yから出力される8ビットデータが、DSP10
5に供給される16ビットデータのうちの上位8ビット
となる。このセレクタ109、FF110の動作につい
ても後に詳述する。
That is, the lower 8 bits of the data supplied from the terminal Data are supplied to the DSP 105 directly or through the FF 110 via the terminal B of the selector, and the upper 8 bits are supplied to the terminal A of the selector 109 via the terminal A of the selector 109.
Provided to P105. Then, a clock φ1 is supplied to the FF 110 as a read clock. Also,
The mode signal a is supplied to the terminal S of the selector 109,
When the mode signal a is "0", data supplied to the terminal A is output from the terminal Y, and when the mode signal a is "1", data supplied from the terminal B is output from the terminal Y. The 8-bit data output from this terminal Y is
5 becomes the upper 8 bits of the 16-bit data supplied to. The operations of the selector 109 and the FF 110 will also be described later in detail.

【0031】ディレイ用RAM6は、遅延処理の為RA
Mをシフトレジスタの代わりとして使用するもので、上
記カウンタ101の上位15ビットを循環アドレスと
し、それにシフトレジスタの入出力位置を表わすオフセ
ットデータを加算して、アドレスデータとするものであ
る。つまり、ディレイRAMオフセットメモリ107
は、カウンタ101の下位7ビットを受けるシフタ10
2からの7ビットデータを入力端子ADRに入力し、こ
の値に応じた15ビットのオフセットデータを出力端子
Oから加算器112のA端子に送り、更にカウンタ10
1から与えられる上位15ビットデータ(B端子入力)
と加算した後、15ビットの上記アドレスデータ(S端
子出力)とする。そして、この15ビットデータの最下
位ビットにカウンタ101の最下位ビット出力であるク
ロックφ1が付け加えられて全16ビットのアドレスデ
ータとなる。また、上記ディレイRAMオフセットメモ
リ111にもモード信号aがその端子MODEに与えら
れ、モード1とモード2とで異なったディジタル信号処
理をDSP105が実行するのにあわせ異なったオフセ
ットデータをモード毎に出力する。
The delay RAM 6 stores RA for delay processing.
M is used as a substitute for the shift register. The upper 15 bits of the counter 101 are used as a cyclic address, and offset data representing the input / output position of the shift register is added thereto to obtain address data. That is, the delay RAM offset memory 107
Is a shifter 10 receiving the lower 7 bits of the counter 101.
The 7-bit data from 2 is input to the input terminal ADR, and 15-bit offset data corresponding to this value is sent from the output terminal O to the A terminal of the adder 112.
Upper 15-bit data given from 1 (B terminal input)
After that, the address data (S terminal output) of 15 bits is obtained. Then, the clock φ1 which is the least significant bit output of the counter 101 is added to the least significant bit of the 15-bit data, and the data becomes 16-bit address data. The mode signal a is also given to the terminal MODE of the delay RAM offset memory 111, and different offset data is output for each mode as the DSP 105 executes different digital signal processing in mode 1 and mode 2. I do.

【0032】<動作> 次に本実施例の動作につき、特に図4を参照しながら説
明する。
<Operation> Next, the operation of this embodiment will be described with particular reference to FIG.

【0033】モード1 まず、モードが1のとき、つまり遅延用RAM6とし
て、32K×16ビットのRAMが接続されていて、D
SP105が高速演算動作をシステムクロックφに従っ
て実行する場合について説明する。このとき1サンプリ
ング周期内で128ステップのマイクロプログラムに従
った処理を実行する。
[0033]Mode 1  First, when the mode is 1, that is, as the delay RAM 6,
And a 32K × 16 bit RAM is connected,
SP105 performs high-speed operation in accordance with system clock φ.
Will be described. At this time one sample
According to a 128-step microprogram within the
Perform the processing that was performed.

【0034】即ち、このモード1のときは、モード信号
aが“0”として図3のシフタ102、マイクロプログ
ラムメモリ103、セレクタ104、109、アンドゲ
ート107、及びディレイRAMオフセットメモリ11
1に供給される。
That is, in the mode 1, the mode signal a is set to "0" and the shifter 102, the microprogram memory 103, the selectors 104 and 109, the AND gate 107, and the delay RAM offset memory 11 shown in FIG.
1 is supplied.

【0035】従って、マイクロプログラムメモリ103
の端子ADRには、図4に示すごとく0〜127のアド
レス信号が与えられる。そして、これに対応して、マイ
クロインストラクションがDSP105に供給される。
DSP105は、16ビットデータを1演算サイクルに
つき1回端子DOUTから出力したり、端子DINから
入力したりすることができる。
Therefore, the microprogram memory 103
4 are supplied with address signals 0 to 127 as shown in FIG. Then, corresponding to this, the microinstruction is supplied to the DSP 105.
The DSP 105 can output 16-bit data from the terminal DOUT once per operation cycle or input from the terminal DIN.

【0036】このとき、セレクタ106、109の夫々
の端子Sには、“0”が与えられるので端子Aの入力を
端子Yを介して出力する。具体的には、DSP105か
らデータを出力する場合、16ビットデータのうち上位
8ビットは直接、下位8ビットは、セレクタ106の端
子Aをとおって、バッファ108に与えられ、しかる後
RAM6に16ビットデータとして格納される。また、
RAM6からDSP105に16ビットデータが供給さ
れる場合は、その下位8ビットは直接DSP105に与
えられ、その上位8ビットは、セレクタ109の端子A
を介して、DSP105に与えられる。
At this time, since "0" is given to each terminal S of the selectors 106 and 109, the input of the terminal A is output via the terminal Y. Specifically, when data is output from the DSP 105, the upper 8 bits of the 16-bit data are directly supplied to the buffer 108 through the terminal A of the selector 106, and then the 16 bits are stored in the RAM 6. Stored as data. Also,
When 16-bit data is supplied from the RAM 6 to the DSP 105, the lower 8 bits are directly supplied to the DSP 105, and the upper 8 bits are supplied to the terminal A of the selector 109.
Through the DSP 105.

【0037】なお、RAM6のアドレスは、カウンタ1
01の下位7ビットの循環出力がディレイRAMオフセ
ットメモリ111からのオフセットデータと加算されて
供給される。このとき、最下位ビットLSBにクロック
φ1が付加されてアドレス信号となるが、結局モード1
のときは上位15ビットを実際にアドレスとして使用す
ることになる。
Note that the address of the RAM 6 is the counter 1
The cyclic output of the lower 7 bits of 01 is added to the offset data from the delay RAM offset memory 111 and supplied. At this time, the clock φ1 is added to the least significant bit LSB to become an address signal.
In this case, the upper 15 bits are actually used as the address.

【0038】モード2 次に、モードが2のとき、つまり遅延用RAM6とし
て、32K×8ビットのRAMが接続されていて(16
ビットバスの下位8ビットラインに接続される。)、D
SP105が低速演算動作をシステムクロックバーφ1
(図4のDSP105クロック参照)に従って実行する
場合について説明する。このとき1サンプリング周期内
で64ステップのマイクロプログラムに従った処理を実
行する。
[0038]Mode 2  Next, when the mode is 2, that is, as the delay RAM 6,
And a 32K × 8 bit RAM is connected (16
It is connected to the lower 8 bit lines of the bit bus. ), D
SP105 performs low-speed operation on system clock bar φ1
(Refer to the DSP 105 clock in FIG. 4).
The case will be described. At this time, within one sampling cycle
Performs processing according to a 64-step microprogram.
Run.

【0039】即ち、このモード2のときは、モード信号
aが“1”として図3のシフタ102、マイクロプログ
ラムメモリ103、セレクタ104、109、アンドゲ
ート107、及びディレイRAMオフセットメモリ11
1に供給される。
That is, in the mode 2, the mode signal a is set to "1" and the shifter 102, the microprogram memory 103, the selectors 104 and 109, the AND gate 107, and the delay RAM offset memory 11 shown in FIG.
1 is supplied.

【0040】従って、マイクロプログラムメモリ103
の端子ADRには、図4に示すごとく0〜63のアドレ
ス信号がシフタ102の動作により与えられる。そし
て、これに対応したマイクロインストラクションがDS
P105に供給される。DSP105は、16ビットデ
ータを1演算サイクルにつき1回端子DOUTから出力
したり、端子DINから入力したりすることができる。
しかし接続されているRAM6は、8ビットデータバス
に依っているため、16ビットデータを8ビットデータ
にマルチプレクシングしたり、逆に8ビットデータを1
6ビットデータにデマルチプレクシングしたりする必要
がある。
Therefore, the microprogram memory 103
4, address signals 0 to 63 are supplied by the operation of the shifter 102 as shown in FIG. And the micro instruction corresponding to this is DS
It is supplied to P105. The DSP 105 can output 16-bit data from the terminal DOUT once per operation cycle or input from the terminal DIN.
However, since the connected RAM 6 relies on an 8-bit data bus, 16-bit data is multiplexed into 8-bit data, and conversely, 8-bit data is converted into 1-bit data.
It is necessary to demultiplex the data into 6-bit data.

【0041】そこで、まずDSP105からRAM6へ
データを格納するときは、DSP105の端子DOUT
からの16ビットデータのうち、上位8ビットデータが
セレクタ106の端子Bを介して(セレクタ106の端
子Sにはクロックバーφ1が与えられるので)、図4に
示すように1演算サイクルの前半にRAM6ヘ供給され
る。1演算サイクルの後半には下位8ビットがセレクタ
106の端子Aを介して供給される。そして、RAM6
には、1演算サイクル内で2つの順番のアドレス信号が
与えられる(クロックφ1がアドレスデータの最下位ビ
ットとなっているので)ことにより、DSP105から
出力される16ビットデータは結局上位8ビット、下位
ビットの順で記憶されることになる。
Therefore, first, when data is stored in the RAM 6 from the DSP 105, the terminal DOUT of the DSP 105
Out of the 16-bit data, the upper 8-bit data is supplied via the terminal B of the selector 106 (because the clock bar φ1 is given to the terminal S of the selector 106), as shown in FIG. It is supplied to the RAM 6. In the latter half of one operation cycle, the lower 8 bits are supplied via the terminal A of the selector 106. And RAM6
Is given two address signals in one operation cycle (because the clock φ1 is the least significant bit of the address data), so that the 16-bit data output from the DSP 105 eventually becomes the upper eight bits, They will be stored in the order of the lower bits.

【0042】逆に、RAM6から16ビットデータが多
重化されて2回の8ビットデータとして供給されるとき
は、先ず上位8ビットデータがFF110に図4に示す
ように1演算サイクルの前半のタイミング、つまりクロ
ックφ1でラッチされる。そして、この上位8ビットデ
ータは、セレクタの端子Bを介してDSP105の端子
DINに供給される。下位8ビットデータは、1演算サ
イクルの後半のタイミングで直接DSP105の端子D
INに供給される。従って、DSP105は、このよう
にしてデマルチプレクスされた16ビットデータを図4
に示す通りクロックバーφ1のタイミングで取込むこと
になる。
Conversely, when 16-bit data is multiplexed from the RAM 6 and supplied as two 8-bit data, the upper 8-bit data is first sent to the FF 110 at the timing of the first half of one operation cycle as shown in FIG. , That is, latched by the clock φ1. Then, the upper 8-bit data is supplied to the terminal DIN of the DSP 105 via the terminal B of the selector. The lower 8-bit data is directly supplied to the terminal D of the DSP 105 at the latter half of one operation cycle.
Supplied to IN. Accordingly, the DSP 105 converts the demultiplexed 16-bit data in FIG.
As shown in the figure, the data is taken in at the timing of the clock bar φ1.

【0043】なお、RAM6のアドレスは、カウンタ1
01の下位7ビットの循環出力がディレイRAMオフセ
ットメモリ111からのオフセットデータと加算されて
供給される。このとき、最下位ビットLSBにクロック
φ1が付加されてアドレス信号となりモード2のときは
下位15ビットを実際にアドレスとして使用することに
なる。
Note that the address of the RAM 6 is the counter 1
The cyclic output of the lower 7 bits of 01 is added to the offset data from the delay RAM offset memory 111 and supplied. At this time, the clock φ1 is added to the least significant bit LSB to become an address signal, and in mode 2, the lower 15 bits are actually used as an address.

【0044】以上説明した実施例によれば、遅延用RA
M6のリード/ライトアクセスを16ビット×1回また
は8ビット×2回の態様で選択的に実行するようにした
ので、高機能のエフェクト装置も低機能のエフェクト装
置もひとつのDSP105を用いて、実現できる。
According to the embodiment described above, the delay RA
Since the read / write access of the M6 is selectively executed in a mode of 16 bits × 1 time or 8 bits × 2 times, both the high-performance effect device and the low-performance effect device use one DSP 105. realizable.

【0045】尚、この発明は、上記実施例に限定される
ものではなく、種々の変形が可能である。例えば、上記
実施例では、音源LSIの内部にDSP部10を設けて
あったが、DSP部を波形発生回路とは別体のLSI構
成としてもよい。
It should be noted that the present invention is not limited to the above embodiment, and various modifications are possible. For example, in the above embodiment, the DSP unit 10 is provided inside the sound source LSI. However, the DSP unit may have an LSI configuration separate from the waveform generating circuit.

【0046】また、上記実施例では、遅延用RAM6の
アクセス態様を2通り取れるようにしたが、それ以上の
段階に切換えて取れるようにしてもよい。例えば、1演
算サイクル内で、1回(16ビット×1回)、2回(8
ビット×2回)、4回(4ビット×4回)の3段階の多
重化アクセスを選択的に採用するようにすることもでき
る。
In the above-described embodiment, two access modes of the delay RAM 6 can be obtained. However, the delay RAM 6 may be obtained by switching to more stages. For example, once (16 bits x 1) and twice (8
It is also possible to selectively adopt three-stage multiplexed access of (bit × 2 times) and 4 times (4 bits × 4 times).

【0047】更に、上記実施例では、DSP105の1
サンプリング周期内での処理ステップ数が接続された遅
延用RAMの大きさに対応するかたちで変更されたが、
必ずしもその必要はない。また、1サンプリング周期内
で実行するマイクロプログラムのステップ数も上記実施
例のように128ステップと64ステップとに限られる
ものではない。
Further, in the above embodiment, one of the DSPs 105
The number of processing steps in the sampling cycle was changed in accordance with the size of the connected delay RAM,
It is not necessary. Further, the number of steps of the microprogram executed within one sampling period is not limited to 128 steps and 64 steps as in the above embodiment.

【0048】[0048]

【発明の効果】請求項1の発明は、遅延用記憶手段の容
量に従ったエフェクト処理が演算手段にて実行できる。
従って、種々の価格帯のエフェクト装置を実現する際に
ひとつの信号処理回路(DSP等)を適用できる。
According to the first aspect of the present invention, the effect processing according to the capacity of the delay storage means can be executed by the calculation means.
Accordingly, one signal processing circuit (such as a DSP) can be applied when implementing effect devices in various price ranges.

【0049】請求項2の発明は、更に、マイクロプログ
ラムの複雑さに対応する形で、上記遅延用記憶手段の容
量を変更できる。
According to the second aspect of the present invention, the capacity of the delay storage means can be changed in a manner corresponding to the complexity of the microprogram.

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

【図1】本発明の一実施例の全体構成を示す回路図であ
る。
FIG. 1 is a circuit diagram showing an entire configuration of an embodiment of the present invention.

【図2】図1の回路内の音源LSIの内部構成を示す回
路図である。
FIG. 2 is a circuit diagram showing an internal configuration of a sound source LSI in the circuit of FIG.

【図3】図2のDSP部の具体的構成を示す回路図であ
る。
FIG. 3 is a circuit diagram showing a specific configuration of a DSP unit in FIG. 2;

【図4】遅延用RAMに対する入出力処理のタイムチャ
ートを示す図である。
FIG. 4 is a diagram showing a time chart of input / output processing to / from a delay RAM.

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

1・・・CPU、 4・・・音源LSI、 5・・・PCM ROM、 6・・・RAM、 10・・・DSP部、 12・・・波形発生回路、 101・・・カウンタ、 103・・・マイクロプログラムメモリ、 105・・・DSP、 106、109・・・セレクタ、 111・・・ディレイRAMオフセットメモリ。 DESCRIPTION OF SYMBOLS 1 ... CPU, 4 ... Sound source LSI, 5 ... PCM ROM, 6 ... RAM, 10 ... DSP part, 12 ... Waveform generation circuit, 101 ... Counter, 103 ... -Microprogram memory, 105 ... DSP, 106, 109 ... selector, 111 ... delay RAM offset memory.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 エフェクト処理の為のマイクロプログラ
ムを記憶するマイクロプログラム記憶手段と、 このマイクロプログラム記憶手段に記憶された上記マイ
クロプログラムに従って、エフェクト処理の為に順次デ
ィジタル信号処理演算を行う演算手段と、 上記演算手段がアクセスする遅延処理用の遅延用記憶手
段と、上記演算手段と上記遅延用記憶手段のデータバスとが等
しい長さの場合には第1のモードを設定し、上記演算手
段のデータが上記遅延用記憶手段のデータバスより長い
場合には第2のモードを設定するモード設定手段と、 上記演算手段が、上記遅延用記憶手段をアクセスする
際、上記第1のモードのときは上記演算手段の1演算サ
イクル内で上記遅延用記憶手段に対して1回アクセス
し、上記第2のモードのときは上記演算手段の1演算サ
イクル内で上記遅延用記憶手段に対して複数回多重化し
てアクセスするアクセス手段と、 を具備したことを特徴とするエフェクト装置。
1. Microprogram storage means for storing a microprogram for effect processing, and arithmetic means for sequentially performing digital signal processing for effect processing in accordance with the microprogram stored in the microprogram storage means. The delay storage means for delay processing accessed by the arithmetic means, and the data bus of the arithmetic means and the delay storage means are equal.
If the length is new, set the first mode and
The data of the stage is longer than the data bus of the delay storage means.
In the case, the mode setting means for setting the second mode and the arithmetic means access the delay storage means . In the first mode , the mode setting means sets the delay mode within one arithmetic cycle of the arithmetic means . One access to storage means
And an access unit for multiplexing and accessing the delay storage unit a plurality of times within one operation cycle of the operation unit in the second mode .
【請求項2】 上記マイクロプログラム記憶手段は、1
サンプリング周期内の実行命令が異なるステップ数で表
現されたマイクロプログラムを記憶しており、上記モード設定手段は、上記演算手段が上記1サンプリ
ング周期内で実行するマイクロプログラムのステップ数
が所定値以上である場合は上記第1のモードに設定し、
上記1サンプリング周期内で実行するマイクロプログラ
ムのステップ数が所定値未満である場合は上記第2のモ
ードに設定する ことを特徴とする請求項1記載のエフェ
クト装置。
2. The microprogram storage means comprises:
Executing instructions in the sampling period is storing micro programs expressed in different number of steps, the mode setting means, said computing means the 1 sampling
Number of microprogram steps executed within the switching cycle
Is greater than or equal to a predetermined value, the mode is set to the first mode,
Microprogram executed within one sampling period
If the number of steps in the program is less than the predetermined value, the second mode
The effect device according to claim 1, wherein the effect device is set to a mode.
JP40063890A 1990-12-06 1990-12-06 Effect device Expired - Fee Related JP3180351B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP40063890A JP3180351B2 (en) 1990-12-06 1990-12-06 Effect device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP40063890A JP3180351B2 (en) 1990-12-06 1990-12-06 Effect device

Publications (2)

Publication Number Publication Date
JPH04212996A JPH04212996A (en) 1992-08-04
JP3180351B2 true JP3180351B2 (en) 2001-06-25

Family

ID=18510526

Family Applications (1)

Application Number Title Priority Date Filing Date
JP40063890A Expired - Fee Related JP3180351B2 (en) 1990-12-06 1990-12-06 Effect device

Country Status (1)

Country Link
JP (1) JP3180351B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101622533B1 (en) * 2014-03-13 2016-05-20 더진 (홍콩) 홀딩 컴퍼니 리미티드 atmospheric pressure nozzle device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101622533B1 (en) * 2014-03-13 2016-05-20 더진 (홍콩) 홀딩 컴퍼니 리미티드 atmospheric pressure nozzle device

Also Published As

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

Similar Documents

Publication Publication Date Title
US4201105A (en) Real time digital sound synthesizer
JP3027970B2 (en) Digital signal processor memory management unit and method
US4437377A (en) Digital electronic musical instrument
US5567900A (en) Electronic tone generator system with CPU and DSP
US5614685A (en) Digital signal processor for musical tone synthesizers and the like
JP3180351B2 (en) Effect device
JPH1020860A (en) Musical tone generator
US4562763A (en) Waveform information generating system
JP2605903B2 (en) Music synthesizer
JP3178036B2 (en) Signal processing device
JPS585798A (en) Delayed vibrato control system for electronic musical instrument
JP3116447B2 (en) Digital signal processor
JP4503275B2 (en) Waveform playback device
JP2684820B2 (en) Surround circuit
JPH04204897A (en) Effect device
JPH05289660A (en) Sound source integrated circuit with built-in effect adding device and sound source device using the same
JPS6223873B2 (en)
JPH11203129A (en) Digital signal processor
JPH06110916A (en) Signal processing circuit
JP2576805Y2 (en) LSI for musical tone generation
JPH09120284A (en) Digital signal processor
JP3835573B2 (en) Electronic musical instruments
JP2877012B2 (en) Music synthesizer
JPS6240494A (en) Distributor for d/a converter
JPS5915296A (en) Electronic musical instrument

Legal Events

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

Free format text: PAYMENT UNTIL: 20090420

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090420

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100420

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees