JP3022170B2 - Control device - Google Patents

Control device

Info

Publication number
JP3022170B2
JP3022170B2 JP6142488A JP14248894A JP3022170B2 JP 3022170 B2 JP3022170 B2 JP 3022170B2 JP 6142488 A JP6142488 A JP 6142488A JP 14248894 A JP14248894 A JP 14248894A JP 3022170 B2 JP3022170 B2 JP 3022170B2
Authority
JP
Japan
Prior art keywords
signal
operator
multiplier
dsp
multipliers
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
JP6142488A
Other languages
Japanese (ja)
Other versions
JPH07325573A (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.)
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)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、楽音信号や音声入力
信号などの入力信号に信号処理を施す際、複数の信号の
混合状態を制御するものに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus 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, the generation of musical sounds and the application of effects are controlled by a microcomputer. The address / data bus 14 has a keyboard 4 via a CPU (central processing unit) 1, a RAM 2, a ROM 3, a keyboard I / F (interface) 5, an LCD 7 via an LCD I / F (interface) 6, and a panel switch I.
A panel switch 9, a sound source 10, a DSP 11, and the like are connected via an / F (interface) 8.

【0003】鍵盤4は、多数の鍵を有するもので、各鍵
盤を操作すると、鍵盤I/F5によりその操作が、鍵操
作情報として検出されるようになっている。演奏情報入
力手段としては、鍵盤4の他に、MIDI規格に基づく
演奏情報受信装置をアドレス・データバス14に接続
し、他機から演奏情報を入力するようにしてもよい。
The keyboard 4 has a large number of keys. 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の書込
・読出制御処理などを行う。
[0004] The CPU 1 executes various processes for generating musical tones, giving effects and the like according to programs stored in the ROM 3. CPU for sound generation
1 performs a process of detecting a key pressed on the keyboard 4, a process of supplying pitch information and a key-on signal relating to the pressed key to the sound source 10 to generate a digital tone signal, and the like. In addition, regarding the effect addition, the CPU 1 performs processing of reading various effect control parameters from the ROM 3 or the RAM 2 and supplying them to the DSP 11, and processing for controlling writing and reading of the RAM in the DSP.

【0005】音源10は、各々ディジタル楽音信号を発
生するための複数の楽音チャンネルを有するもので、こ
れらのチャンネルからの楽音信号は分割的にDSP11
に供給される。鍵盤4で複数の鍵が同時に押されると、
これらの鍵に対応する音高情報及びキーオン信号が複数
の楽音発生チャンネルに供給され、各々楽音発生チャン
ネルから楽音信号が同時的に発生される。
The sound source 10 has a plurality of tone channels for generating digital tone signals, and tone signals from these channels are divided into DSP 11
Supplied to When multiple keys are pressed simultaneously on the 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 the respective tone generation channels.

【0006】DSP11は、音源10からの楽音信号に
残響、コーラス、ディストーション、フランジング効
果、などの各種音響効果を付与し、DAC12に出力す
る。DAC12ではデジタル/アナログ変換を行い、変
換されたアナログ信号はサウンドシステム13に送られ
る。サウンドシステム13は増幅器とスピーカから構成
され、アナログ信号を所定のレベルまで増幅したあと、
スピーカにより音響エネルギーとして放音する。
The DSP 11 applies various sound effects such as reverberation, chorus, distortion, and flanging effects to the tone signal from the sound source 10, and outputs the resulting signal 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 includes 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の電子楽器はエフェクタとして機能する。
The DSP 11 receives, via an external input I / F (interface) 16, an analog signal of an electric musical instrument such as an electric guitar from an external input terminal 15 or a natural musical instrument sound or voice converted into an analog signal by a microphone (not shown). May be input. External input I / F1
6 converts an analog signal into a digital signal and converts
Feed to 1. When an external instrument sound is input to the DSP 11, the electronic musical instrument in 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, 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 of which is input to the multiplier 18 and the other is supplied to the effect applying unit 17. The output of the effect applying unit 17 is input to the multiplier 19. The multipliers 18 and 19 multiply the respective input signals by multiplication coefficients d and w, and output the multiplication results 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 output.

【0009】乗算器18に入力される効果付与されない
信号(ドライ信号)と乗算器19に入力される効果付与
された信号(ウエット信号)の混合状態は、乗算器1
8、19の係数d、wの値によって決まる。最も簡単な
制御方法は、係数d、wを個別に制御することである。
The mixed state of the signal to which the effect is not applied (dry signal) input to the multiplier 18 and the signal to which the effect is applied (wet signal) input to the multiplier 19 is determined by the multiplier 1
It is determined by the values of 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 includes operators 21 and 22 as shown in FIG. 3, which can be operated by a player. The operators 21 and 22 are variable resistors, and the output, which is an analog voltage, is supplied to the panel operator I / F 8, converted into digital signals and held as outputs A and B. The CPU 1 can obtain the outputs A and B of the operators 21 and 22 by accessing the panel operator I / F as needed.

【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 operating elements 21 and 22 are moved, their digital signal outputs A and B become 0.00 ≦ A ≦ 1.00 and 0.00.
It is assumed that it 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 desirable to control the ratio between the dry signal and the wet signal. In this case, the objective is achieved by operating only the operator 21 by making the correspondences as w = A, d = 1-A. 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 having two independently controllable parameters (w and d) is controlled by one parameter, there is a state that cannot be set. 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 to give the coefficient t. Then, the coefficients are expressed as w = A, d = 1−
The objective can be achieved by responding as A, t = B,
In this case, the number of multipliers realized by the DSP increases by one. There is a limit to the number of multipliers that can be realized per sampling cycle by the DSP, and there is a demand to secure as many multipliers as possible for effect calculations in order to provide complex effects.

【0013】[0013]

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

【0014】[0014]

【課題を解決するための手段】 第1の発明にかかる制
御装置は、独立に操作できる第1、第2の操作子と、2
系統の信号にそれぞれつながる第1、第2の乗算器と、
第1の状態と第2の状態とを切り換える切換え手段と、
前記切換え手段が第1の状態であるとき、前記第1の操
作子の操作に応じて前記2系統の信号バランスを制御す
るとともに前記第2の操作子の操作に応じて前記2系統
の信号レベルを制御するように、前記第1、第2の操作
子の操作に応じて係数を演算生成して前記第1、第2の
乗算器に与え、前記切換え手段が第2の状態であると
き、前記第1の操作子の操作に応じて前記第1の乗算器
に係数を与えるとともに、前記第2の操作子の操作に応
じて前記第2の乗算器に係数を与える制御手段とを備え
たことを特徴としている。また、第2の発明にかかる制
御装置は、第1の発明の構成に加え、前記制御手段はソ
フトウエアで実行し、前記第1、第2の乗算器はDSP
の時分割動作によって構成されることを特徴としてい
る。
Means for Solving the Problems A control device according to a first invention comprises first and second operators which can be operated independently,
First and second multipliers respectively connected to the signals of the system,
Switching means for switching between the first state and the second state;
When the switching means is in the first state, the first operation is performed.
The signal balance of the two systems is controlled in accordance with the operation of the crop.
And the two systems according to the operation of the second operator.
Controlling the signal levels of the first and second operations.
The first and second coefficients are calculated and generated according to the operation of the child.
And the switching means is in the second state.
The first multiplier according to the operation of the first operator
To the operation of the second operator.
Control means for giving a coefficient to the second multiplier . Further, in the control device according to the second invention, in addition to the configuration of the first invention, the control means is executed by software, and the first and second multipliers are DSPs.
Is characterized by a time-sharing operation of

【0015】[0015]

【作用】 第1の発明によれば、第1の状態の時、第1
の操作子で2系統の信号バランスが制御されるとともに
第2の操作子で2系統の信号レベルが制御され、第2の
状態の時、第1の操作子で一方の系統の信号レベルが制
御されるとともに第2の操作子で他方の系統の信号レベ
ルが制御される。第2の発明によれば、前記制御手段の
制御をソフトウエアで実行し、前記第1、第2の乗算器
を、DSPの乗算器を時分割で実行することによって実
現している。
According to the first aspect, when in the first state, the first
Controls the signal balance of the two systems
The signal level of the two systems is controlled by the second operator,
In this state, the signal level of one system is controlled by the first control.
And the second operator controls the signal level of the other system.
Is controlled. According to the second invention, the control means
The control is executed by software, and the first and second multipliers are realized by executing the DSP multiplier in a time-division manner.

【0016】[0016]

【実施例】はじめに、この実施例の概略を説明する。従
来の技術で説明した、図4における出力値を計算してみ
ると、 出力=(wet*w+dry*d)*t ……(1) で表される。ここで、wetはウエット信号を表し、乗算
器19に入力される信号である。dryはドライ信号を表
し、乗算器18に入力される信号である。wは乗算器1
9に与えられる乗算係数、dは乗算器18に与えられる
乗算係数である。tは乗算器23に与えられる乗算係数
である。
First, an outline of this embodiment will be described. When calculating the output value in FIG. 4 described in the related art, 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
The multiplication coefficient given to 9 and d is the 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 manipulator 21, and w = A. The multiplication coefficient d is set to d = 1−A so that the multiplication coefficient d can be controlled by the operator 21. Further, the multiplication coefficient t
Correspond to the output B of the operation element 22 and t = B. In this state, when Expression (1) is expressed, output = (wet * A + dry * (1-A)) * B (2) When the equation (2) is expanded, output = wet * A * B + dry * (1-A) * B (3) is obtained. Here, if the multipliers 18 and 19 are controlled with A * B = w and (1-A) * B = d, the multiplier 23 of FIG. 4 is unnecessary. Therefore, the configuration of FIG. 2 can be applied as it is. On the other hand, to obtain w and d,
Each of the multiplications is required, but this can be performed by the CPU, and only when the operator changes. 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 an operator and a coefficient correspond one-to-one, such as w = A and d = B, and can use them as needed. This can be realized by processing a method for obtaining a coefficient from a change in the operating element by software.

【0018】次に、図面を参照してこの発明の実施例を
説明する。この発明を応用した電子楽器も図1と同様の
構成をとるので、構成の説明は省略する。この発明に関
する機能をブロック図にすると図5に示すような構成と
なる。DSP11で実現される部分は図2と同様である
ため、効果付与部17、乗算器18、19、加算器20
の接続状態、制御の方法の説明は図2の説明を参照され
たい。また、操作子21、22も図3で示したものと同
じである。
Next, an embodiment of the present invention will be described with reference to the drawings. Since the electronic musical instrument to which the present invention is applied has the same configuration as that of FIG. 1, the description of the configuration will be omitted. FIG. 5 is a block diagram showing a function relating to the present invention. Since the parts realized by the DSP 11 are the same as those in FIG. 2, the effect imparting unit 17, the multipliers 18, 19, and the adder 20
Please refer to the description of FIG. 2 for the description of the connection state and the control method. The controls 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に与
えられる。
Outputs A and B of the operators 21 and 22 are branched into two and input to calculation blocks 27 and 28, respectively.
A predetermined operation is performed in these calculation blocks, and a multiplier 1
Two sets of multiplication coefficients w and d to be given to 8 and 19 are obtained. Any one of these coefficients is selected according to the operation of the changeover switch 24 and is 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 in FIG. 1, and is provided on the panel of the electronic musical instrument.
When the changeover switch 24 is operated by the player, the switches 25 and 26 are interlocked and switched. Thus, 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 operation of (1-A) * B is performed, calculation block 2
7 is selected, the balance between the wet signal and the dry signal is controlled by the operation element 21 and the operation element 22 is selected.
Can control the whole level. The calculation block 28
Then, the operation of w ← A and d ← B (substitution rather than the operation) is performed. Therefore, when the operation result of the calculation block 28 is selected, the wet level is directly controlled by the operator 21 and the operator 22 is controlled. Directly control the dry level.

【0022】このように、演奏者の好みや状況に応じ
て、ウエット−ドライバランスの制御方法を選択でき、
かつDSPの演算において必要とされる乗算器を増やさ
なくてもよい。実際は、図5のスイッチ部25、26、
計算ブロック27、28はCPU1がプログラムを実行
することによって実現する。したがって、この動作を図
6、図7のフローチャートを参照して説明する。
As described above, the control method of the wet-dry balance can be selected according to the player's preference and situation.
Further, it is not necessary to increase the number of multipliers required in the DSP operation. Actually, the switch units 25 and 26 in 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 unit 1 initializes each unit (step s).
1). Next, when the player selects a timbre to be used for the tune to be played by a timbre selection switch (not shown) on the panel operator 9, R is selected according to the selected timbre number.
The corresponding tone color information is read from the OM 3 and the read tone color information is sent to all the channels of the sound source 10. If there is no operation for tone color selection, 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 tune to be played by an 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. Is read and written into a microprogram register (not shown) of the DSP 11.

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

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

【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, a 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
Is determined (step s11), and if an operation is performed, the value of the register SW is inverted (step s11).
12). That is, when the value of the register SW is 0, it is set to 1, and when it is 1, it is set to 0. Thereafter, the process proceeds to step S13.

【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 also proceeds to step 13. In step s13, the register ol
It is determined whether d_A is not equal to the output A of the control 21 or the register old_B is not equal to the output B of the control 22. This determination is “yes” if the player operates one of the operators 21 and 22, and the process proceeds to step 14. If neither of the controls is operated, “no” is returned 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 determined whether or not the register SW is "1". If the value is "1", the multiplication result of A * B is stored in the register w, and the operation 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 in step s16, A is stored in the register w and B is stored in the register d. In step s17, the calculation result obtained in step s15 or s16 is sent to the DSP 11. Step s15
Is executed, the DSP 11 realizes a wet dry balance according to the operation of the operation element.

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

【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 used as they are and the multipliers 18 and
19, the outputs A and B of the operators 21 and 22 are 0.00 ≦ A ≦ 1.00, 0.00 ≦ B ≦ 1.00.
, And it is often necessary to perform some calculation. In this embodiment, the assignment is simply performed, but an operation 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 that is easy for a player to control without increasing the number of multipliers in hardware. Further, since the method of controlling the two signals can be selected, there is an advantage that the method can be changed according to the convenience of the player.

【図面の簡単な説明】[Brief description of the 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 diagram illustrating processing in a DSP 11 according to the present invention and a conventional technique in a block diagram.

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

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

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

【図6】この発明を含む電子楽器の動作を説明するため
のフローチャートである。
FIG. 6 is a flowchart for explaining the operation of an 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.

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

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:計算
ブロック
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 (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 独立に操作できる第1、第2の操作子
と、 2系統の信号にそれぞれつながる第1、第2の乗算器
と、第1の状態と第2の状態とを切り換える切換え手段と、 前記切換え手段が第1の状態であるとき、前記第1の操
作子の操作に応じて前記2系統の信号バランスを制御す
るとともに前記第2の操作子の操作に応じて前記2系統
の信号レベルを制御するように、前記第1、第2の操作
子の操作に応じて係数を演算生成して前記第1、第2の
乗算器に与え、前記切換え手段が第2の状態であると
き、前記第1の操作子の操作に応じて前記第1の乗算器
に係数を与えるとともに、前記第2の操作子の操作に応
じて前記第2の乗算器に係数を与える制御 手段とを備え
たことを特徴とする制御装置。
A first and a second manipulator which can be operated independently, a first and a second multiplier respectively connected to signals of two systems, and a switching means for switching between a first state and a second state. And when the switching means is in the first state, the first operation is performed.
The signal balance of the two systems is controlled in accordance with the operation of the crop.
And the two systems according to the operation of the second operator.
Controlling the signal levels of the first and second operations.
The first and second coefficients are calculated and generated according to the operation of the child.
And the switching means is in the second state.
The first multiplier according to the operation of the first operator
To the operation of the second operator.
Control means for providing a coefficient to the second multiplier .
【請求項2】 前記制御手段はソフトウエアで実行し、
前記第1、第2の乗算器はDSPの時分割動作によって
構成されることを特徴とする請求項1記載の制御装置。
2. The control means is executed by software,
2. The control device according to claim 1, wherein the first and second multipliers are configured by a time division operation of a DSP.
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 JPH07325573A (en) 1995-12-12
JP3022170B2 true 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
JPH07325573A (en) 1995-12-12

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
US5354948A (en) Tone signal generation device for generating complex tones by combining different tone sources
JPH04306697A (en) Stereo system
JP3022170B2 (en) Control device
US5444180A (en) Sound effect-creating device
JP3116739B2 (en) Music signal generator
JP3571565B2 (en) Music signal generator
JP2888712B2 (en) Music generator
JP2779989B2 (en) Electronic musical instrument
JPH10124050A (en) Electronic musical instrument
JPH064079A (en) Musical sound synthesizing device
JP3493838B2 (en) Electronic musical instrument
JP3105132B2 (en) Tone generator for electronic musical instruments
JP2986035B2 (en) Effect device for electronic musical instruments
JP3590733B2 (en) Music signal generator
JP3561983B2 (en) Electronic musical instrument
JP3666469B2 (en) Music signal control method, music signal generator and program
JPH08123410A (en) Sound effect adding device of electronic musical instrument
JP2580793B2 (en) Music signal generator
JP3159442B2 (en) Music generator
JP2979322B2 (en) Sound image localization device for electronic musical instruments
JPH0683334A (en) Effect granting device
JPH03120594A (en) Musical sound signal generator

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