JPH07325573A - Controller - Google Patents

Controller

Info

Publication number
JPH07325573A
JPH07325573A JP6142488A JP14248894A JPH07325573A JP H07325573 A JPH07325573 A JP H07325573A JP 6142488 A JP6142488 A JP 6142488A JP 14248894 A JP14248894 A JP 14248894A JP H07325573 A JPH07325573 A JP H07325573A
Authority
JP
Japan
Prior art keywords
signal
multipliers
operator
dsp
calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6142488A
Other languages
Japanese (ja)
Other versions
JP3022170B2 (en
Inventor
Junichi Fujimori
潤一 藤森
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP6142488A priority Critical patent/JP3022170B2/en
Publication of JPH07325573A publication Critical patent/JPH07325573A/en
Application granted granted Critical
Publication of JP3022170B2 publication Critical patent/JP3022170B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)
  • Control Of Amplification And Gain Control (AREA)

Abstract

PURPOSE:To effectively control two systems signals by operating coefficients to first, second multipliers according to operation of a first operation key, controlling the balance between the two systems signals, operating the coefficients according to the operation of a second operation key and controlling the levels of two systems signals. CONSTITUTION:The outputs A, B of the operation keys 21, 22 are inputted to calculation blocks 27, 28, and prescribed operation are performed, and two sets of multiplication coefficients w, d imparted to the multipliers 18, 19 are obtained to be imparted to the multipliers 18, 19 according to the operation of a changeover switch 24. In the calculation block 27, the operation of w A*B, d (1-A)*B is performed, and the balance between a wet signal and a dry signal is controlled by the operation key 21, and the whole level is controlled by the operation key 22. In the calculation block 28, the operation of w A, d B is performed, and the level of the wet signal is controlled by the operation key 21, and the level of the dry signal is controlled by the operation key 22. In such a manner, a method for controlling the balance between the wet and the dry is selected, and the number of the multipliers need not increase.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、楽音信号や音声入力
信号などの入力信号に信号処理を施す際、複数の信号の
混合状態を制御するものに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for controlling a mixed state of a plurality of signals when performing signal processing on an input signal such as a tone signal or a voice input signal.

【0002】[0002]

【従来の技術】図1は、従来の電子楽器の回路構成を示
すもので、この電子楽器では、楽音発生、効果付与など
がマイクロコンピュータによって制御されるようになっ
ている。アドレス・データバス14には、CPU(中央
処理装置)1、RAM2、ROM3、鍵盤I/F(イン
ターフェース)5を介して鍵盤4、LCDI/F(イン
ターフェース)6を介してLCD7、パネルスイッチI
/F(インターフェース)8を介してパネルスイッチ
9、音源10、DSP11などが接続されている。
2. Description of the Related Art FIG. 1 shows a circuit configuration of a conventional electronic musical instrument. In this electronic musical instrument, generation of musical tones, effect addition, etc. are controlled by a microcomputer. To the address / data bus 14, a CPU (central processing unit) 1, a RAM 2, a ROM 3, a keyboard 4 via a keyboard I / F (interface) 5, an LCD 7 via a LCD I / F (interface) 6 and a panel switch I.
A panel switch 9, a sound source 10, a DSP 11, etc. are connected via an / F (interface) 8.

【0003】鍵盤4は、多数の鍵を有するもので、各鍵
盤を操作すると、鍵盤I/F5によりその操作が、鍵操
作情報として検出されるようになっている。演奏情報入
力手段としては、鍵盤4の他に、MIDI規格に基づく
演奏情報受信装置をアドレス・データバス14に接続
し、他機から演奏情報を入力するようにしてもよい。
The keyboard 4 has a large number of keys, and when each keyboard is operated, the operation is detected by the keyboard I / F 5 as key operation information. As the performance information input means, in addition to the keyboard 4, a performance information receiving device based on the MIDI standard may be connected to the address / data bus 14 and the performance information may be input from another device.

【0004】CPU1は、ROM3に記憶されているプ
ログラムに従って楽音発生、効果付与などのための各種
処理を実行するものである。楽音発生に関して、CPU
1は、鍵盤4で押鍵された鍵を検出する処理、押鍵され
た鍵に関する音高情報及びキーオン信号を音源10に供
給してディジタル楽音信号を発生させる処理などを行
う。また、効果付与に関して、CPU1は、ROM3あ
るいはRAM2から各種の効果制御パラメータを読出し
てDSP11に供給する処理、DSP内のRAMの書込
・読出制御処理などを行う。
The CPU 1 executes various kinds of processing for generating musical tones and imparting effects in accordance with programs stored in the ROM 3. CPU for generating musical tones
Reference numeral 1 performs a process of detecting a key pressed by the keyboard 4, a process of supplying pitch information about the pressed key and a key-on signal to the sound source 10 to generate a digital tone signal. In addition, regarding the effect application, the CPU 1 performs a process of reading various effect control parameters from the ROM 3 or the RAM 2 and supplying the effect control parameters to the DSP 11, a write / read control process of the RAM in the DSP, and the like.

【0005】音源10は、各々ディジタル楽音信号を発
生するための複数の楽音チャンネルを有するもので、こ
れらのチャンネルからの楽音信号は分割的にDSP11
に供給される。鍵盤4で複数の鍵が同時に押されると、
これらの鍵に対応する音高情報及びキーオン信号が複数
の楽音発生チャンネルに供給され、各々楽音発生チャン
ネルから楽音信号が同時的に発生される。
The tone generator 10 has a plurality of tone channels for generating digital tone signals, and tone signals from these channels are divided into DSPs 11.
Is supplied to. If multiple keys are pressed simultaneously on keyboard 4,
Pitch information and key-on signals corresponding to these keys are supplied to a plurality of tone generation channels, and tone signals are simultaneously generated from each tone generation channel.

【0006】DSP11は、音源10からの楽音信号に
残響、コーラス、ディストーション、フランジング効
果、などの各種音響効果を付与し、DAC12に出力す
る。DAC12ではデジタル/アナログ変換を行い、変
換されたアナログ信号はサウンドシステム13に送られ
る。サウンドシステム13は増幅器とスピーカから構成
され、アナログ信号を所定のレベルまで増幅したあと、
スピーカにより音響エネルギーとして放音する。
The DSP 11 adds various acoustic effects such as reverberation, chorus, distortion, and flanging effect to the tone signal from the sound source 10 and outputs it to the DAC 12. The DAC 12 performs digital / analog conversion, and the converted analog signal is sent to the sound system 13. The sound system 13 is composed of an amplifier and a speaker, and after amplifying an analog signal to a predetermined level,
Sound is emitted as acoustic energy by the speaker.

【0007】DSP11には、外部入力I/F(インタ
ーフェース)16を介して、外部入力端子15からエレ
クトリックギター等の電気楽器のアナログ信号や図示し
ないマイクロホンによってアナログ信号に変換された自
然楽器音や音声等を入力してもよい。外部入力I/F1
6ではアナログ信号をデジタル信号に変換してDSP1
1に供給する。外部の楽器音をDSP11に入力する場
合は、図1の電子楽器はエフェクタとして機能する。
In the DSP 11, an external input I / F (interface) 16 is used to output from the external input terminal 15 an analog signal of an electric musical instrument such as an electric guitar or a natural instrument sound or voice converted into an analog signal by a microphone (not shown). Etc. may be input. External input I / F1
In 6, the analog signal is converted into a digital signal and the DSP 1
Supply to 1. When an external musical instrument sound is input to the DSP 11, the electronic musical instrument of FIG. 1 functions as an effector.

【0008】図2はDSP11での処理をブロック図に
て説明する図である。実際はこのブロック図に相当する
処理をマイクロプログラムによって実現している。音源
10または外部入力I/Fから入力されたデジタル信号
は2つに分けられ、一方は乗算器18に入力され、他方
は効果付与部17に供給される。効果付与部17の出力
は乗算器19に入力される。乗算器18、19ではそれ
ぞれの入力信号に対して乗算係数d、wを乗算し、その
乗算結果を加算器20に出力する。加算器20では乗算
器18、19の乗算結果を加算し、加算結果をDSP5
の出力として出力する。
FIG. 2 is a block diagram for explaining the processing in the DSP 11. Actually, the processing corresponding to this block diagram is realized by a microprogram. The digital signal input from the sound source 10 or the external input I / F is divided into two, one is input to the multiplier 18, and the other is supplied to the effect imparting unit 17. The output of the effect imparting unit 17 is input to the multiplier 19. The multipliers 18 and 19 multiply the respective input signals by the multiplication coefficients d and w, and output the multiplication result to the adder 20. The adder 20 adds the multiplication results of the multipliers 18 and 19 and outputs the addition result to the DSP 5
Output as the output of.

【0009】乗算器18に入力される効果付与されない
信号(ドライ信号)と乗算器19に入力される効果付与
された信号(ウエット信号)の混合状態は、乗算器1
8、19の係数d、wの値によって決まる。最も簡単な
制御方法は、係数d、wを個別に制御することである。
The mixed state of the non-effect added signal (dry signal) input to the multiplier 18 and the effect added signal (wet signal) input to the multiplier 19 is determined by the multiplier 1
It depends on the values of the coefficients d and w of 8 and 19. The simplest control method is to control the coefficients d and w individually.

【0010】パネル操作子9には、図3に示すような操
作子21、22があり、演奏者が操作できるものとす
る。操作子21、22は可変抵抗器であり、アナログ電
圧である出力はパネル操作子I/F8にそれぞれ供給さ
れ、デジタル信号に変換され出力A、Bとして保持され
る。CPU1は必要に応じて操作子21、22の出力
A、Bをパネル操作子I/Fをアクセスすることで得る
ことができる。
The panel operator 9 has operators 21 and 22 as shown in FIG. 3, which the player can operate. The operators 21 and 22 are variable resistors, and the outputs which are analog voltages are respectively supplied to the panel operators I / F8, converted into digital signals and held as outputs A and B. The CPU 1 can obtain the outputs A and B of the operating elements 21 and 22 as necessary by accessing the panel operating element I / F.

【0011】操作子21、22を動かした時、そのデジ
タル信号出力A、Bが0.00≦A≦1.00、0.00
≦B≦1.00の範囲で変化すると仮定する。ここで、
乗算係数w、dをw=A、d=Bのように対応させれ
ば、ドライ信号とウエット信号の混合状態は、操作子2
1、22を操作することによって制御される。しかし、
場合によっては、ドライ信号とウエット信号の比率を制
御したい場合があり、その場合はw=A、d=1−Aの
ように対応させ、操作子21だけを操作するようにして
目的を達成してきた。
When the manipulators 21 and 22 are moved, their digital signal outputs A and B are 0.00≤A≤1.00 and 0.00.
It is assumed that the value changes in the range of ≦ B ≦ 1.00. here,
If the multiplication coefficients w and d are made to correspond to each other as w = A and d = B, the mixed state of the dry signal and the wet signal becomes
It is controlled by operating 1, 22. But,
In some cases, it may be desired to control the ratio of the dry signal to the wet signal. In such a case, it is possible to achieve the object by operating only the operator 21 by making correspondence such as w = A and d = 1-A. It was

【0012】ところが、この方法では独立に制御可能な
パラメータが2つ(wとd)の系を、1つのパラメータ
で制御しているため、設定できない状態が存在してしま
う。これを回避するために図2の構成に乗算器を加えた
構成を考えてみる。図4に示すように、図2の加算器2
0の出力を乗算器23に入力するようにして、係数tを
与えるようにする。そして係数を、w=A、d=1−
A、t=Bのように対応すれば、目的を達成できるが、
このままではDSPで実現する乗算器が1つ増えてしま
う。DSPで1サンプリング周期あたりに実現できる乗
算器の数には制限があり、複雑な効果を付与するため
に、乗算器はなるべく多く効果演算用に確保したいとい
う要求がある。
However, in this method, since a system in which two independently controllable parameters (w and d) are controlled by one parameter, there is a state in which it cannot be set. In order to avoid this, consider a configuration in which a multiplier is added to the configuration of FIG. As shown in FIG. 4, the adder 2 of FIG.
The output of 0 is input to the multiplier 23 so that the coefficient t is given. Then, the coefficients are w = A and d = 1−
The objective can be achieved by responding like A, t = B.
Under this condition, the number of multipliers realized by the DSP will increase by one. There is a limit to the number of multipliers that can be realized in one sampling cycle by the DSP, and in order to give a complicated effect, it is required to secure as many multipliers as possible for effect calculation.

【0013】[0013]

【発明が解決しようとする課題】この発明は、以上のよ
うな不都合を解決するものであって、DSPで使用する
乗算器を増やさないで2系統の信号の混合比率を制御す
る方法を提供する。
SUMMARY OF THE INVENTION The present invention solves the above-mentioned inconveniences and provides a method for controlling the mixing ratio of signals of two systems without increasing the number of multipliers used in the DSP. .

【0014】[0014]

【課題を解決するための手段】第1の発明にかかる制御
装置は、独立に操作できる第1、第2の操作子と、2系
統の信号にそれぞれつながる第1、第2の乗算器と、前
記第1、第2の操作子の操作に応じて前記第1、第2の
乗算器に与える係数を演算する演算手段とを備え、前記
演算手段は前記第1の操作子の操作に応じて前記2系統
の信号バランスを制御するように演算し、前記第2の操
作子の操作に応じて前記2系統の信号レベルを制御する
ように演算することを特徴としている。また、第2の発
明にかかる制御装置は、第1の発明の構成に加え、前記
演算手段はソフトウエアで実行し、前記第1、第2の乗
算器はDSPの時分割動作によって構成することを特徴
としている。第3の発明にかかる制御装置は、独立に操
作できる複数の操作子と、前記複数の操作子の出力に応
じて演算する演算手段と、前記演算手段の演算アルゴリ
ズムを複数の中から選択する選択手段と、前記選択手段
の選択情報に応じて選択された演算アルゴリズムに従っ
て演算を行い、該演算の結果によって少なくとも2系統
の信号の混合状態を制御することを特徴としている。第
4の発明にかかる制御装置は、第3の発明の構成に加
え、前記演算アルゴリズムをソフトウエアで実行するこ
とを特徴としている。
A control device according to a first aspect of the present invention includes first and second operators that can be operated independently, and first and second multipliers that are respectively connected to signals of two systems. And a computing means for computing a coefficient to be given to the first and second multipliers according to an operation of the first and second operating elements, the computing means responding to an operation of the first operating element. The calculation is performed so as to control the signal balance of the two systems, and the signal level of the two systems is controlled according to the operation of the second operating element. In addition to the configuration of the first invention, the control device according to the second invention is configured such that the arithmetic means is executed by software, and the first and second multipliers are configured by a time division operation of a DSP. Is characterized by. A control device according to a third aspect of the present invention includes a plurality of operators that can be operated independently, a computing means that performs computation according to the outputs of the plurality of operators, and a selection algorithm that selects from among a plurality of computation algorithms of the computing means. Means and an arithmetic algorithm selected according to the selection information of the selecting means, and controlling the mixed state of signals of at least two systems according to the result of the arithmetic operation. A control device according to a fourth invention is characterized in that, in addition to the configuration of the third invention, the arithmetic algorithm is executed by software.

【0015】[0015]

【作用】第1の発明によれば、第1の操作子で操作され
た操作情報に応じて、第1と第2の乗算器に与えられる
係数が演算され、前記2系統の信号のバランスが制御さ
れる。また第2の操作子で操作された操作情報に応じ
て、第1と第2の乗算器に与えられる係数が演算され、
前記2系統の信号のレベルが制御される。第2の発明に
よれば、前記演算手段の演算をソフトウエアで実行し、
前記第1、第2の乗算器を、DSPの乗算器を時分割で
実行することによって実現している。第3の発明によれ
ば、複数の操作子演算手段の演算アルゴリズムを複数の
中から選択し、選択された演算アルゴリズムに従って演
算を行い、その演算結果によって少なくとも2系統の信
号の混合状態を制御する。第4の発明によれば、前記記
演算アルゴリズムをソフトウエアで実行する。
According to the first aspect of the invention, the coefficients given to the first and second multipliers are calculated according to the operation information operated by the first operator, and the signals of the two systems are balanced. Controlled. Further, the coefficients given to the first and second multipliers are calculated according to the operation information operated by the second operator,
The levels of the signals of the two systems are controlled. According to the second invention, the arithmetic operation of the arithmetic means is executed by software,
The first and second multipliers are realized by time-divisionally executing a DSP multiplier. According to the third aspect of the present invention, the operation algorithm of the plurality of operator operation means is selected from a plurality of operations, the operation is performed according to the selected operation algorithm, and the mixed state of the signals of at least two systems is controlled by the operation result. . According to the fourth aspect of the invention, the arithmetic algorithm is executed by software.

【0016】[0016]

【実施例】はじめに、この実施例の概略を説明する。従
来の技術で説明した、図4における出力値を計算してみ
ると、 出力=(wet*w+dry*d)*t ……(1) で表される。ここで、wetはウエット信号を表し、乗算
器19に入力される信号である。dryはドライ信号を表
し、乗算器18に入力される信号である。wは乗算器1
9に与えられる乗算係数、dは乗算器18に与えられる
乗算係数である。tは乗算器23に与えられる乗算係数
である。
EXAMPLE First, the outline of this example will be described. When the output value in FIG. 4 described in the conventional technique is calculated, output = (wet * w + dry * d) * t (1) Here, wet represents a wet signal and is a signal input to the multiplier 19. dry represents a dry signal and is a signal input to the multiplier 18. w is the multiplier 1
9 is a multiplication coefficient, and d is a multiplication coefficient given to the multiplier 18. t is a multiplication coefficient given to the multiplier 23.

【0017】乗算係数wを操作子21の出力Aに対応さ
せ、w=Aとする。また乗算係数dをd=1−Aとして
操作子21で制御できるようにする。さらに乗算係数t
を操作子22の出力Bに対応させ、t=Bとする。この
状態で、式(1)を表すと 出力=(wet*A+dry*(1−A))*B …… (2) となる。(2)式を展開すると、 出力=wet*A*B+dry*(1−A)*B …… (3) が得られる。ここでA*B=w、(1−A)*B=dと
して乗算器18、19を制御するならば、図4の乗算器
23は不要である。したがって、構成的には図2の構成
がそのまま適用できる。一方、w、dを求めるために、
乗算がそれぞれ必要となるが、これはCPUで実行可能
であり、操作子の変化があった時だけでよい。その結
果、DSPで必要な乗算器を増やすことなく、適切なバ
ランス制御が可能となる。また、図2の構成をそのまま
適用できることから、w=A、d=Bというように、操
作子と係数を一対一で対応する方法との選択が可能とな
り、必要に応じて使い分けることができる。これは操作
子の変化から係数を求める方法をソフトウエアで処理す
ることによって実現できる。
The multiplication coefficient w is made to correspond to the output A of the operator 21, and w = A. Further, the multiplication coefficient d is set to d = 1-A so that it can be controlled by the operator 21. Further, the multiplication coefficient t
Corresponds to the output B of the operator 22, and t = B. In this state, the expression (1) can be expressed as output = (wet * A + dry * (1-A)) * B (2). When formula (2) is expanded, output = wet * A * B + dry * (1-A) * B (3) is obtained. If A * B = w and (1-A) * B = d are used to control the multipliers 18 and 19, the multiplier 23 of FIG. 4 is not necessary. Therefore, the configuration of FIG. 2 can be applied as it is. On the other hand, to obtain w and d,
Each multiplication is necessary, but this can be executed by the CPU, and only when there is a change in the manipulator. As a result, appropriate balance control can be performed without increasing the number of multipliers required in the DSP. Further, since the configuration of FIG. 2 can be applied as it is, it is possible to select a method in which the operators and the coefficients correspond one-to-one, such as w = A and d = B, and it is possible to use them as needed. This can be realized by processing the method of obtaining the coefficient from the change of the operator with software.

【0018】次に、図面を参照してこの発明の実施例を
説明する。この発明を応用した電子楽器も図1と同様の
構成をとるので、構成の説明は省略する。この発明に関
する機能をブロック図にすると図5に示すような構成と
なる。DSP11で実現される部分は図2と同様である
ため、効果付与部17、乗算器18、19、加算器20
の接続状態、制御の方法の説明は図2の説明を参照され
たい。また、操作子21、22も図3で示したものと同
じである。
Next, embodiments of the present invention will be described with reference to the drawings. The electronic musical instrument to which the present invention is applied also has the same configuration as that of FIG. 1, and therefore the description of the configuration is omitted. A block diagram of functions relating to the present invention has a configuration as shown in FIG. Since the part realized by the DSP 11 is the same as that of FIG. 2, the effect imparting section 17, the multipliers 18, 19, and the adder 20
Refer to the explanation of FIG. 2 for the explanation of the connection state and control method. Further, the operators 21 and 22 are the same as those shown in FIG.

【0019】操作子21、22の出力A、Bはそれぞれ
2つに分岐して計算ブロック27、28に入力される。
これらの計算ブロックで所定の演算を行い、乗算器1
8、19に与えるための乗算係数w、dが2組求められ
る。これらの係数は、切換スイッチ24の操作に応じて
どちらか一方の組が選択されて、乗算器18、19に与
えられる。
The outputs A and B of the manipulators 21 and 22 are respectively branched into two and input to the calculation blocks 27 and 28.
Predetermined calculation is performed by these calculation blocks, and the multiplier 1
Two sets of multiplication coefficients w and d to be given to 8 and 19 are obtained. One of these coefficients is selected according to the operation of the changeover switch 24, and these coefficients are given to the multipliers 18 and 19.

【0020】切換スイッチ24は図1のパネル操作子の
うちの1つであり、電子楽器のパネル上に設けられる。
演奏者によって切換スイッチ24が操作されるとスイッ
チ部25、26が連動して切換えられる。これによっ
て、切換スイッチ24の操作のたびに計算ブロック27
の演算結果と計算ブロック28の演算結果が交互に選択
され、乗算器18、19に与えられる。
The changeover switch 24 is one of the panel operators of FIG. 1 and is provided on the panel of the electronic musical instrument.
When the player operates the changeover switch 24, the switch portions 25 and 26 are changed over in conjunction with each other. As a result, every time the changeover switch 24 is operated, the calculation block 27
And the calculation result of the calculation block 28 are alternately selected and supplied to the multipliers 18 and 19.

【0021】計算ブロック27ではw←A*B、d←
(1−A)*Bの演算が行われるので、計算ブロック2
7の演算結果が選択されるときには、操作子21でウエ
ット信号とドライ信号のバランスを制御し、操作子22
で全体のレベルを制御できる。また、計算ブロック28
ではw←A、d←Bの演算(演算と言うより代入)が行
われるので、計算ブロック28の演算結果が選択される
ときには、操作子21で直接、ウエットのレベルを制御
し、操作子22で直接、ドライのレベルを制御する。
In the calculation block 27, w ← A * B, d ←
Since the calculation of (1-A) * B is performed, the calculation block 2
7 is selected, the operator 21 controls the balance between the wet signal and the dry signal, and the operator 22
You can control the whole level with. Also, the calculation block 28
In this case, w ← A and d ← B are calculated (substitution rather than calculation). Therefore, when the calculation result of the calculation block 28 is selected, the operator 21 directly controls the wet level and the operator 22 Control the dry level directly with.

【0022】このように、演奏者の好みや状況に応じ
て、ウエット−ドライバランスの制御方法を選択でき、
かつDSPの演算において必要とされる乗算器を増やさ
なくてもよい。実際は、図5のスイッチ部25、26、
計算ブロック27、28はCPU1がプログラムを実行
することによって実現する。したがって、この動作を図
6、図7のフローチャートを参照して説明する。
In this way, the wet-dry balance control method can be selected according to the preference and situation of the performer,
Moreover, it is not necessary to increase the number of multipliers required for the DSP operation. Actually, the switch parts 25, 26 of FIG.
The calculation blocks 27 and 28 are realized by the CPU 1 executing a program. Therefore, this operation will be described with reference to the flowcharts of FIGS.

【0023】電子楽器の電源が演奏者によって投入され
ると、制御部1は各部の初期設定を行う(ステップs
1)。次に演奏者が、演奏すべき曲に使用する音色をパ
ネル操作子9にある音色選択スイッチ(図示せず)によ
って選択すると、選択された音色番号にしたがって、R
OM3から対応する音色情報を読出し、音源10の全て
のチャンネルに読み出した音色情報を送る。音色選択の
操作がない場合には、なにも処理を行わない(ステップ
s2)。
When the power of the electronic musical instrument is turned on by the player, the control section 1 initializes each section (step s).
1). Next, when the performer selects a tone color to be used for a piece of music to be played by a tone color selection switch (not shown) on the panel operator 9, R is selected according to the selected tone color number.
The corresponding tone color information is read from the OM 3, and the read tone color information is sent to all channels of the sound source 10. If there is no tone color selection operation, no processing is performed (step s2).

【0024】ステップs3では、演奏者が演奏すべき曲
に使用する効果をパネル操作子9にある効果選択スイッ
チ(図示せず)によって選択すると、選択された効果番
号にしたがって、ROM3から対応する効果を含むプロ
グラムを読出し、DSP11のマイクロプログラムレジ
スタ(図示せず)に書込む。
In step s3, when the player selects an effect to be used for the piece to be played by the effect selection switch (not shown) on the panel operator 9, the corresponding effect is read from the ROM 3 according to the selected effect number. , And writes it in the micro program register (not shown) of the DSP 11.

【0025】ステップs4では、鍵盤4を演奏者が彈く
ことによって、発生される押鍵、離鍵情報が発生した場
合、対応する処理を行う。鍵盤部4からの情報が押鍵イ
ベントの場合は、音源10の空きチャンネルを捜して、
そのチャンネルに発音指示を行う。離鍵イベントの場合
は、離鍵された鍵盤の音を発音している音源10のチャ
ンネルに対して、消音指示を行う。
In step s4, when the player presses the keyboard 4 to generate key depression / release information, a corresponding process is performed. If the information from the keyboard section 4 is a key depression event, search for an empty channel of the sound source 10,
Give pronunciation instructions to that channel. In the case of a key release event, a mute instruction is issued to the channel of the sound source 10 that is producing the sound of the released key.

【0026】ステップs5では演奏者が操作子を操作し
た場合、対応する処理を行うが、詳しくは後述する。ス
テップs6ではこの実施例には関係しない処理を実行す
る。その後、ステップs2に戻り、以上の動作を繰り返
す。
In step s5, when the player operates the operator, the corresponding processing is performed, which will be described later in detail. In step s6, processing unrelated to this embodiment is executed. Then, it returns to step s2 and repeats the above operation.

【0027】ステップs5をCPU1が実行するとき
は、図7に示すサブルーチンを起動する。ステップs1
0では、図1のパネル操作子I/Fをスキャンし、各種
操作子の操作情報を得る。その結果、切換スイッチ24
の操作の有無を判断し(ステップs11)、操作が有っ
た場合には、レジスタSWの値を反転する(ステップs
12)。すなわちレジスタSWの値が0のときは1に
し、1のときは0にする。その後、ステップ13に進
む。
When the CPU 1 executes step s5, the subroutine shown in FIG. 7 is started. Step s1
At 0, the panel operator I / F of FIG. 1 is scanned to obtain operation information of various operators. As a result, the changeover switch 24
It is judged whether or not the operation is performed (step s11), and when the operation is performed, the value of the register SW is inverted (step s).
12). That is, when the value of the register SW is 0, it is 1, and when it is 1, it is 0. Then, it progresses to step 13.

【0028】ステップs11での判断が「no」のと
き、すなわち切換スイッチ24が操作されなかったとき
もステップ13に進む。ステップs13ではレジスタol
d_Aが操作子21の出力Aと等しくないか、またはレジ
スタold_Bが操作子22の出力Bと等しくないかを判断
する。この判断は操作子21、22のどちらか一方の操
作子を演奏者が操作した場合、「yes」となり、ステ
ップ14に進む。どちらの操作子も操作されなかった場
合は、「no」となってメインルーチン(図6)にリタ
ーンする。
When the determination in step s11 is "no", that is, when the changeover switch 24 is not operated, the process proceeds to step 13. In step s13, register ol
It is determined whether d_A is not equal to the output A of the manipulator 21 or the register old_B is not equal to the output B of the manipulator 22. This determination is “yes” when the player operates one of the operators 21, 22 and the process proceeds to step 14. If neither operator is operated, the result is "no" and the process returns to the main routine (FIG. 6).

【0029】ステップ14ではレジスタSWが「1」か
どうか判断し、「1」の場合はレジスタwにA*Bの乗
算結果を格納し、レジスタdに(1−A)*Bの演算結
果を格納する。レジスタSWが「0」のときは、ステッ
プ14の判断が「no」となるので、ステップs16で
レジスタwにA、レジスタdにBを格納する。ステップ
s17では、ステップs15またはステップs16で求
められた演算結果をDSP11に送る。ステップs15
を実行したあとはDSP11は操作子の操作に応じたウ
エットドライバランスを実現する。
In step 14, it is judged whether or not the register SW is "1". If it is "1", the multiplication result of A * B is stored in the register w, and the calculation result of (1-A) * B is stored in the register d. Store. When the register SW is "0", the determination in step 14 is "no", so that A is stored in the register w and B is stored in the register d in step s16. In step s17, the calculation result obtained in step s15 or step s16 is sent to the DSP 11. Step s15
After executing, the DSP 11 realizes wet dry balance according to the operation of the operator.

【0030】ステップs18では現在の操作子21、2
2の出力値であるA、Bをレジスタold_A、old_Bに格納
する。その後、メインルーチン(図6)にリターンす
る。なお、図7のステップs15でd←(1−A)*B
としたが、これに限らず、d←√(1−A^2)*Bと
してもよい。この演算は聴感上のレベルを一定にするた
めのもので、操作子21を操作することで変化する聴感
レベルの変動を防ぐことができる。計算は複雑になる
が、平方根の計算をテーブル参照方式にかえることで、
演算の複雑さから逃げることもできる。
At step s18, the present operators 21, 2
The output values A and B of 2 are stored in the registers old_A and old_B. Then, the process returns to the main routine (FIG. 6). In step s15 of FIG. 7, d ← (1-A) * B
However, the present invention is not limited to this, and may be d ← √ (1-A ^ 2) * B. This calculation is for making the perceptual level constant, and it is possible to prevent the variation of the perceptual level which is changed by operating the operating element 21. The calculation becomes complicated, but by changing the square root calculation to the table reference method,
You can escape from the complexity of the calculation.

【0031】実施例では、切換スイッチが操作されたと
き、操作子21、22の出力をそのまま、乗算器18、
19に供給していたが、これは操作子21、22の出力
A、Bが0.00≦A≦1.00、0.00≦B≦1.00
の範囲で変化すると仮定したからであって、若干の演算
が必要な場合が多い。この実施例では単に代入を行って
いるだけであるが、演算を行ってもよい。
In the embodiment, when the changeover switch is operated, the outputs of the operators 21 and 22 are kept as they are and the multiplier 18 and
The output A, B of the manipulators 21 and 22 is 0.00 ≦ A ≦ 1.00, 0.00 ≦ B ≦ 1.00.
This is because it is assumed that the value changes in the range of, and thus some calculation is often necessary. In this embodiment, only substitution is performed, but calculation may be performed.

【0032】[0032]

【発明の効果】以上説明したように、この発明はハード
ウエアでの乗算器の数を増やすことなく、演奏者にとっ
てコントロールしやすい制御方法で、2系統の信号を混
合できるという効果がある。また、2系統の信号の混合
の制御の仕方を選択できるようにしたので、演奏者の都
合によって変更できるという利点がある。
As described above, the present invention has an effect that signals of two systems can be mixed by a control method which is easy for a performer to control without increasing the number of multipliers in hardware. Further, since the method of controlling the mixing of the signals of the two systems can be selected, there is an advantage that it can be changed according to the convenience of the performer.

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

【図1】この発明と従来の技術に係る電子楽器の回路構
成を示すブロック図である。
FIG. 1 is a block diagram showing a circuit configuration of an electronic musical instrument according to the present invention and a conventional technique.

【図2】この発明と従来の技術に係る、DSP11での
処理をブロック図にて説明する図である。
FIG. 2 is a block diagram illustrating a process in a DSP 11 according to the present invention and a conventional technique.

【図3】この発明と従来の技術に係る操作子を示す図で
ある。
FIG. 3 is a diagram showing an operator according to the present invention and a conventional technique.

【図4】従来の技術に係る、DSP11での処理をブロ
ック図にて説明する図である。
FIG. 4 is a block diagram illustrating a process in a DSP 11 according to a conventional technique.

【図5】この発明をブロック図にて説明する図である。FIG. 5 is a block diagram illustrating the present invention.

【図6、7】この発明を含む電子楽器の動作を説明する
ためのフローチャートである。
6 and 7 are flowcharts for explaining the operation of the electronic musical instrument including the present invention.

【図7】この発明の他の実施例のエフェクタの構成を示
すブロック図である。
FIG. 7 is a block diagram showing a configuration of an effector of another embodiment of the present invention.

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

1:CPU(中央処理装置)、2:RAM(ランダムア
クセスメモリ)、3:ROM(リードオンリィメモ
リ)、4:鍵盤、5:鍵盤I/F(インターフェー
ス)、6:LCDI/F(インターフェース)、7:L
CD、8:パネル操作子I/F(インターフェース)、
9:パネル操作子、10:音源、11:DSP(デジタ
ルシグナルプロセッサ)、12:DAC(デジタルアナ
ログコンバータ)、13:サウンドシステム、14:ア
ドレス・データバス、15:外部入力端子、16:外部
入力I/F、17:効果付与部、18、19、23:乗
算器、20:加算器、21、22:操作子、24:切換
スイッチ、25、26:スイッチ部、27、28:計算
ブロック
1: CPU (Central Processing Unit), 2: RAM (Random Access Memory), 3: ROM (Read Only Memory), 4: Keyboard, 5: Keyboard I / F (Interface), 6: LCD I / F (Interface), 7: L
CD, 8: Panel operator I / F (interface),
9: Panel operator, 10: Sound source, 11: DSP (digital signal processor), 12: DAC (digital-analog converter), 13: Sound system, 14: Address / data bus, 15: External input terminal, 16: External input I / F, 17: effect imparting unit, 18, 19, 23: multiplier, 20: adder, 21, 22: operator, 24: changeover switch, 25, 26: switch unit, 27, 28: calculation block

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成6年9月13日[Submission date] September 13, 1994

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図面の簡単な説明[Name of item to be corrected] Brief description of the drawing

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

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

【図1】この発明と従来の技術に係る電子楽器の回路構
成を示すブロック図である。
FIG. 1 is a block diagram showing a circuit configuration of an electronic musical instrument according to the present invention and a conventional technique.

【図2】この発明と従来の技術に係る、DSP11での
処理をブロック図にて説明する図である。
FIG. 2 is a block diagram illustrating a process in a DSP 11 according to the present invention and a conventional technique.

【図3】この発明と従来の技術に係る操作子を示す図で
ある。
FIG. 3 is a diagram showing an operator according to the present invention and a conventional technique.

【図4】従来の技術に係る、DSP11での処理をブロ
ック図にて説明する図である。
FIG. 4 is a block diagram illustrating a process in a DSP 11 according to a conventional technique.

【図5】この発明をブロック図にて説明する図である。FIG. 5 is a block diagram illustrating the present invention.

【図6】この発明を含む電子楽器の動作を説明するため
のフローチャートである。
FIG. 6 is a flowchart for explaining the operation of the electronic musical instrument including the present invention.

【図7】この発明を含む電子楽器の動作を説明するため
のフローチャートである。
FIG. 7 is a flowchart for explaining the operation of the electronic musical instrument including the present invention.

【符号の説明】 1:CPU(中央処理装置)、2:RAM(ランダムア
クセスメモリ)、3:ROM(リードオンリィメモ
リ)、4:鍵盤、5:鍵盤I/F(インターフェー
ス)、6:LCD1/F(インターフェース)、7:L
CD、8:パネル操作子I/F(インターフェース)、
9:パネル操作子、10:音源、11:DSP(デジタ
ルシグナルプロセッサ)、12:DAC(デジタルアナ
ログコンバータ)、13:サウンドシステム、14:ア
ドレス・データバス、15:外部入力端子、16:外部
入力I/F、17:効果付与部、18、19、23:乗
算器、20:加算器、21、22:操作子、24:切換
スイッチ、25、26:スイッチ部、27、28:計算
ブロック
[Explanation of Codes] 1: CPU (Central Processing Unit), 2: RAM (Random Access Memory), 3: ROM (Read Only Memory), 4: Keyboard, 5: Keyboard I / F (Interface), 6: LCD1 / F (interface), 7: L
CD, 8: Panel operator I / F (interface),
9: Panel operator, 10: Sound source, 11: DSP (digital signal processor), 12: DAC (digital-analog converter), 13: Sound system, 14: Address / data bus, 15: External input terminal, 16: External input I / F, 17: effect imparting unit, 18, 19, 23: multiplier, 20: adder, 21, 22: operator, 24: changeover switch, 25, 26: switch unit, 27, 28: calculation block

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 独立に操作できる第1、第2の操作子
と、 2系統の信号にそれぞれつながる第1、第2の乗算器
と、 前記第1、第2の操作子の操作に応じて前記第1、第2
の乗算器に与える係数を演算する演算手段とを備え、 前記演算手段は前記第1の操作子の操作に応じて前記2
系統の信号バランスを制御するように演算し、前記第2
の操作子の操作に応じて前記2系統の信号レベルを制御
するように演算することを特徴とする制御装置。
1. A first and a second operator which can be operated independently, a first and a second multiplier respectively connected to signals of two systems, and an operation of the first and second operators. The first and second
Calculating means for calculating a coefficient to be given to the multiplier of the calculating means, wherein the calculating means is adapted to operate in accordance with the operation of the first operator.
The second signal is calculated so as to control the signal balance of the system.
2. A control device, which calculates so as to control the signal levels of the two systems in accordance with the operation of the operator.
【請求項2】 前記演算手段はソフトウエアで実行し、
前記第1、第2の乗算器はDSPの時分割動作によって
構成されることを特徴とする請求項1記載の制御装置。
2. The calculation means is executed by software,
The control device according to claim 1, wherein the first and second multipliers are configured by a time division operation of a DSP.
【請求項3】 独立に操作できる複数の操作子と、 前記複数の操作子の出力に応じて演算する演算手段と、 前記演算手段の演算アルゴリズムを複数の中から選択す
る選択手段と、 前記選択手段の選択情報に応じて選択された演算アルゴ
リズムに従って演算を行い、該演算の結果によって少な
くとも2系統の信号の混合状態を制御することを特徴と
した制御装置。
3. A plurality of manipulators that can be operated independently, a computing unit that computes according to the outputs of the plurality of manipulators, a selecting unit that selects a computing algorithm of the computing unit from a plurality, and the selection. A control device characterized by performing an operation according to an operation algorithm selected according to selection information of the means, and controlling a mixed state of signals of at least two systems according to a result of the operation.
【請求項4】前記演算アルゴリズムはソフトウエアで実
行することを特徴とした請求項3記載の制御装置。
4. The control device according to claim 3, wherein the arithmetic algorithm is executed by software.
JP6142488A 1994-06-01 1994-06-01 Control device Expired - Fee Related JP3022170B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6142488A JP3022170B2 (en) 1994-06-01 1994-06-01 Control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6142488A JP3022170B2 (en) 1994-06-01 1994-06-01 Control device

Publications (2)

Publication Number Publication Date
JPH07325573A true JPH07325573A (en) 1995-12-12
JP3022170B2 JP3022170B2 (en) 2000-03-15

Family

ID=15316494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6142488A Expired - Fee Related JP3022170B2 (en) 1994-06-01 1994-06-01 Control device

Country Status (1)

Country Link
JP (1) JP3022170B2 (en)

Also Published As

Publication number Publication date
JP3022170B2 (en) 2000-03-15

Similar Documents

Publication Publication Date Title
US6259015B1 (en) Acoustic signal producing apparatus
US5596645A (en) Sound image localization control device for controlling sound image localization of plural sounds independently of each other
US5602358A (en) Effect imparting device and electronic musical instrument incorporating same
JPH0887270A (en) Electronic instrument
JPH0720866A (en) Electronic musical instrument
JP2876359B2 (en) Electronic musical instrument parameter setting device
JP3022170B2 (en) Control device
JPH0968980A (en) Timbre controller for electronic keyboard musical instrument
JPH1195745A (en) Sound field effect imparting device
JPH0566776A (en) Automatic orchestration device
JP3493838B2 (en) Electronic musical instrument
JP2933186B2 (en) Music synthesizer
JP3430719B2 (en) Apparatus and method for setting parameters of musical sound synthesizer
JP3105132B2 (en) Tone generator for electronic musical instruments
JP3196736B2 (en) Electronic musical instrument
JP3666469B2 (en) Music signal control method, music signal generator and program
JP2779989B2 (en) Electronic musical instrument
JPH0863157A (en) Musical tone signal generating device
JP3561983B2 (en) Electronic musical instrument
JP2986035B2 (en) Effect device for electronic musical instruments
JP2858314B2 (en) Tone characteristic control device
JP3918309B2 (en) Effect device
JP2002023739A (en) Sound effect adding device and method for adding sound effect
JPH0636096U (en) Electronic musical instrument
JPH1049167A (en) Timbre controller of electric musical instrument

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090114

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100114

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110114

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120114

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees