JPH07261758A - Musical sound controller - Google Patents

Musical sound controller

Info

Publication number
JPH07261758A
JPH07261758A JP6075359A JP7535994A JPH07261758A JP H07261758 A JPH07261758 A JP H07261758A JP 6075359 A JP6075359 A JP 6075359A JP 7535994 A JP7535994 A JP 7535994A JP H07261758 A JPH07261758 A JP H07261758A
Authority
JP
Japan
Prior art keywords
effect
tone
key
channel
bend
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
JP6075359A
Other languages
Japanese (ja)
Other versions
JP3538883B2 (en
Inventor
Hirotake Sato
博毅 佐藤
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 JP07535994A priority Critical patent/JP3538883B2/en
Publication of JPH07261758A publication Critical patent/JPH07261758A/en
Application granted granted Critical
Publication of JP3538883B2 publication Critical patent/JP3538883B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To provide a musical sound controller in which a natural pitch bend effect is obtained without being adversely affected by a bend effect against a musical sound while a key is pushed even though the bend information is changed after a finger is removed from the key and a new special effect can be added. CONSTITUTION:In the time interval t0 to t2, a pitch bend effect corresponding to a bend value B by an operated pitch bender is added to a channel (1) musical sound whose key is being pushed. When the key of a musical sound is released at the time t2, a pitch bend effect holding the amount of change a unit time of the pitch bend effect immediately prior to time t1 to t2 is added and it is designed not to react to the operation of the pitch bender. Moreover, a pitch bend effect corresponding to the operation of pitch bender is added to the musical sound of a channel (2) whose key is pushed at time t3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、発音中の楽音のパラメ
ータを制御して音響効果を付与する楽音制御装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a musical tone control device which controls a parameter of a musical tone being sounded to give a sound effect.

【0002】[0002]

【従来の技術】従来より、電子楽器においては、楽音を
同時発音するために複数のチャンネルを有し、発音する
楽音に種々の音響効果を付与するものがある。その中で
も、操作パネルに設けられたピッチベンダ(ジョイステ
ックや、ダイヤル)を操作することにより、発音中の楽
音のピッチを変化させるものが知られている。この場
合、単に、鍵盤を操作して発音させる楽音に限らず、M
IDI(Musical Instrument Digital Interface;楽器
用デジタルインターフェース)インターフェースを介し
て外部から供給されるMIDIデータの楽音に対して
も、上記ピッチベンダによりピッチベンド効果を付与す
ることが可能となっている。このような電子楽器では、
発音中のチャンネルに対して受信したピッチベンド情報
がどのように作用するかは、押鍵中、離鍵中を比較して
も変わらないものがほとんどであり、発音中の全ての楽
音に対して、ピッチベンダによるピッチベンド効果が作
用していた。
2. Description of the Related Art Conventionally, some electronic musical instruments have a plurality of channels for simultaneously producing musical tones and impart various acoustic effects to the tones produced. Among them, it is known to change the pitch of a musical tone being sounded by operating a pitch bender (joystick or dial) provided on an operation panel. In this case, it is not limited to the musical sound to be produced by operating the keyboard, but M
The pitch bend effect can be applied by the pitch bender even to a musical sound of MIDI data supplied from the outside through an IDI (Musical Instrument Digital Interface) interface. With such electronic musical instruments,
How the pitch bend information received for the sounding channel works is almost the same even during key depression and key release, and for all tones being sounded, The pitch bend effect of the pitch bender was working.

【0003】[0003]

【発明を解決するための課題】ところで、従来の電子楽
器では、離鍵後の発音が比較的長い楽音、すなわちリリ
ースが長い楽音を演奏する場合、離鍵してリリース音を
発音している間にも、次の発音が起こり得る。この際、
ピッチベンド効果を作用させると、リリース音に対して
も、新たに押鍵された楽音のピッチベンド効果につられ
て同様の変化を示したり、もしくはピッチベンド効果が
切れてしまうという現象が生じ、非常に不自然な楽音と
なるという欠点があった。また、離鍵直前にピッチベン
ド効果を作用させた状態で、離鍵した場合にも、すぐに
ピッチベンド効果を元に戻すと不自然であるため、リリ
ース音が消えるまで、ピッチベンド効果を与え続けなけ
ればならなかったという欠点があった。
By the way, in the conventional electronic musical instrument, when a musical tone which is produced for a relatively long time after the key is released, that is, a musical tone which is released for a long time is played, while the key is released and the release tone is produced. However, the following pronunciations can occur: On this occasion,
When the pitch bend effect is applied, a phenomenon occurs in which the release bend sound shows a similar change due to the pitch bend effect of the newly pressed musical tone, or the pitch bend effect is cut off. There was a drawback that it became a musical tone. Also, if the pitch bend effect is applied immediately before the key is released, it is unnatural to restore the pitch bend effect immediately if the key is released, so you must continue to apply the pitch bend effect until the release sound disappears. There was a drawback that it didn't happen.

【0004】そこで本発明は、離鍵後にピッチベンド効
果の付与程度を変更しても、離鍵時のピッチベンド効果
の変化を維持しながらリリースしていくことにより、押
鍵中の楽音に対するピッチベンド効果の影響をうけず、
自然なピッチベンド効果を得ることができ、さらに、新
たな特殊効果を付与できる楽音制御装置を提供すること
を目的とする。
Therefore, according to the present invention, even if the degree to which the pitch bend effect is applied is changed after the key is released, the pitch bend effect is released while maintaining the change in the pitch bend effect at the time of releasing the key. Unaffected,
It is an object of the present invention to provide a musical tone control device that can obtain a natural pitch bend effect and can also provide a new special effect.

【0005】[0005]

【課題を解決するための手段】上記目的達成のため、請
求項1記載の発明による楽音制御装置は、楽音に対する
効果の付与程度を指示する効果操作子と、キーオン中の
発音チャンネルの楽音に対しては、前記効果操作子の操
作に応じた効果を付与し、キーオフされた発音チャンネ
ルの楽音に対しては、キーオフ時における効果の付与状
態を維持する効果制御手段と、前記発音チャンネルの楽
音に付与された効果に応じて楽音の発音を指示する発音
指示手段とを具備することを特徴とする。
In order to achieve the above object, a musical tone control apparatus according to the invention as set forth in claim 1 responds to an effect operator for instructing the degree of application of an effect to a musical tone and a musical tone of a sounding channel during key-on. The effect control means for imparting an effect according to the operation of the effect operation element, and for the tone of the tone generation channel keyed off, the effect control means for maintaining the state of imparting the effect at the time of key off, and the tone tone of the tone generation channel. The present invention is characterized by comprising a sounding instructing means for instructing the sounding of a musical sound in accordance with the applied effect.

【0006】請求項2記載の発明による楽音制御装置
は、外部から供給される少なくとも効果情報とキーオン
およびキーオフとを含む演奏情報を受信する受信手段
と、キーオン中の発音チャンネルの楽音に対しては、前
記効果情報に基づく効果を付与し、キーオフされた発音
チャンネルの楽音に対しては、キーオフ時における前記
効果情報に基づく効果の付与状態を維持する効果制御手
段と、前記発音チャンネルの楽音に付与された効果に応
じて楽音の発音を指示する発音指示手段とを具備するこ
とを特徴とする。
According to a second aspect of the present invention, in the tone control apparatus, the receiving means for receiving performance information including at least effect information and key-on and key-off supplied from the outside, and the tone of the sounding channel during key-on are provided. An effect control means for imparting an effect based on the effect information and maintaining a state of imparting the effect based on the effect information at the time of key-off, to the tone of the tone generation channel keyed off, and imparting to the tone of the tone generation channel. And a sounding instructing means for instructing the sounding of a musical sound in accordance with the produced effect.

【0007】また、好ましい態様として、例えば請求項
3記載のように、前記効果制御手段は、キーオフされた
発音チャンネルの楽音に対して、キーオフ時における効
果の単位時間当たりの変化量が維持された効果を付与す
るようにしてもよい。また、好ましい態様として、例え
ば請求項4記載のように、前記効果制御手段は、キーオ
フされた発音チャンネルの楽音に対する効果が最大値も
しくは最小値に達すると、その効果を維持するようにし
てもよい。また、好ましい態様として、例えば請求項5
記載のように、前記効果操作子の操作および前記効果情
報に基づく効果の単位時間当たりの変化量を、所定の時
間間隔で順次記憶する記憶手段を備えるようにしてもよ
い。また、好ましい態様として、例えば請求項6記載の
ように、前記発音チャンネルを、同時発音可能な複数の
チャンネルから構成してもよい。また、好ましい態様と
して、例えば請求項7記載のように、前記受信手段を、
MIDIインターフェースとしてもよい。
As a preferred mode, for example, as described in claim 3, the effect control means maintains the amount of change per unit time of the effect at the time of key-off, with respect to the musical sound of the keyed-off sound generation channel. You may make it give an effect. As a preferred aspect, for example, as described in claim 4, the effect control means may maintain the effect when the effect on the musical sound of the keyed off tone generation channel reaches the maximum value or the minimum value. . As a preferred embodiment, for example, claim 5
As described above, a storage unit may be provided that sequentially stores the operation amount of the effect operation element and the change amount of the effect based on the effect information per unit time at predetermined time intervals. In a preferred embodiment, for example, the sound generation channel may be composed of a plurality of channels capable of simultaneously sounding. In a preferred embodiment, for example, the receiving means is
It may be a MIDI interface.

【0008】[0008]

【作用】本発明では、キーオン中の発音チャンネルの楽
音に対しては、効果操作子の操作に応じた効果を付与
し、キーオフされた発音チャンネルの楽音に対しては、
キーオフ時における効果の付与状態を維持する効果を付
与する。したがって、キーオフ後に効果の付与程度を変
更しても、キーオフ時の効果の変化を維持しながらリリ
ースしていくことにより、キーオン中の楽音に対する効
果の影響をうけず、自然な効果を得ることができ、さら
に、新たな特殊効果を付与できる。
According to the present invention, an effect corresponding to the operation of the effect operation element is given to the musical sound of the sounding channel being key-on, and to the musical sound of the sounding channel being key-off,
Adds an effect that maintains the effect application state during key-off. Therefore, even if the amount of effect added is changed after key off, by releasing while maintaining the change in effect at key off, it is possible to obtain a natural effect without being affected by the effect on the musical sound during key on. You can do it, and you can add new special effects.

【0009】[0009]

【実施例】以下、図面を参照して本発明の実施例につい
て説明する。 A.電子楽器の構成 図1は、本発明を適用した電子楽器の一実施例の構成を
示すブロック図であり、図2は同電子楽器の一部外観を
示す斜視図である。図1において、1は、図2に示すよ
うに、複数の白鍵および黒鍵からなる鍵盤であり、各鍵
には、押鍵および離鍵を検出するための押離鍵センサ
や、押鍵および離鍵時におけるキータッチを検出するた
めのキータッチセンサが設けられている(図示略)。押
離鍵センサは、演奏者により鍵盤1が操作され、押鍵が
なされると、キーオン信号、および離鍵がなされると、
キーオフ信号をCPU3へ出力する。また、キータッチ
センサは、やはり演奏者により鍵盤1が操作させると、
押離鍵の強さ、速度に応じたキータッチ信号をCPU3
へ出力する。
Embodiments of the present invention will be described below with reference to the drawings. A. Configuration of Electronic Musical Instrument FIG. 1 is a block diagram showing the configuration of an embodiment of an electronic musical instrument to which the present invention is applied, and FIG. 2 is a perspective view showing a partial external appearance of the electronic musical instrument. In FIG. 1, reference numeral 1 denotes a keyboard consisting of a plurality of white keys and black keys as shown in FIG. 2, and each key has a key release sensor for detecting a key press and a key release, and a key press. Further, a key touch sensor for detecting a key touch at the time of releasing the key is provided (not shown). The key press / release key sensor, when the keyboard 1 is pressed by the performer and the key is pressed, and when the key is released.
The key-off signal is output to the CPU 3. Also, the key touch sensor, when the keyboard 1 is operated by the performer,
CPU3 sends a key touch signal according to the strength and speed of key press and release.
Output to.

【0010】次に、2は、図2に示すように、電子楽器
の操作パネル上に設けられたピッチベンダであり、該ピ
ッチベンダ2を図示の+方向、もしくは−方向に回転さ
せることにより、発音中の楽音のピッチを変化させるベ
ンド効果を与えるものである。該ピッチベンダ2は、演
奏者の操作量に応じたベンド情報をCPU3へ出力する
ようになっている。
Next, 2 is a pitch bender provided on the operation panel of the electronic musical instrument as shown in FIG. 2. By rotating the pitch bender 2 in the + direction or the-direction shown in the drawing, This gives a bend effect that changes the pitch of the musical sound being produced. The pitch bender 2 outputs bend information according to the operation amount of the player to the CPU 3.

【0011】次に、CPU3は、所定のプログラムに従
って電子楽器全体を制御するものであり、上記キーオン
信号、キーオフ信号、およびキータッチ信号に応じて、
操作された鍵に対応する楽音のキーコードを音源6へ出
力したり、上記ベンド情報に応じて発音中の楽音にベン
ド効果を付与する。また、4は、上記CPU3による制
御処理等で得られるデータ等が記憶されるレジスタや、
ワークエリアとして用いられるRAM(ランダムアクセ
スメモリ)である。ここで、RAM4に設定される変数
を示す。
Next, the CPU 3 controls the entire electronic musical instrument according to a predetermined program, and according to the key-on signal, the key-off signal, and the key-touch signal,
A key code of a musical tone corresponding to the operated key is output to the sound source 6, or a bend effect is added to the musical tone being sounded according to the bend information. Further, 4 is a register in which data and the like obtained by the control processing by the CPU 3 and the like are stored,
RAM (random access memory) used as a work area. Here, the variables set in the RAM 4 are shown.

【0012】B :ピッチベンド2の現在の操作量を示
すベンド現在値 B0:ピッチベンド2の所定時間前の操作量を示すベン
ド前回値 R :BからB0を減算して得たベンドの変化量を示す
ベンドレート n :チャンネルカウンタ値 CR[n]:チャンネルnのベンドレート CB[n]:チャンネルnのベンド現在値 ±max :ベンド値のとり得る最大値、最小値を示す
限界値 これら変数には、上記RAM4に個別のレジスタが用意
されている。
B: current bend value indicating the current operation amount of the pitch bend 2 B0: previous bend value indicating the operation amount of the pitch bend 2 before a predetermined time R: a change amount of the bend obtained by subtracting B0 from B Bend rate n: Channel counter value CR [n]: Bend rate of channel n CB [n]: Current bend value of channel n ± max: Limit value indicating maximum and minimum bend values that can be taken by these variables. Individual registers are prepared in the RAM 4.

【0013】また、5は、上記プログラムが格納された
ROM(リードオンリメモリ)であり、特に、本実施例
では、後述するペッチベンドに関するプログラムが記憶
されている。次に、音源6は、上記キーコードに応じた
楽音信号を生成し、該楽音信号を出力回路7へ供給す
る。出力回路7は、図示のようにアンプ8およびスピー
カ9から構成されており、アンプ8は上記楽音信号を所
定のレベルに増幅し、スピーカ9はアンプ8が出力する
楽音信号を楽音として発音するようになっている。
Reference numeral 5 denotes a ROM (Read Only Memory) in which the above program is stored, and in particular, in this embodiment, a program relating to the Petch Bend described later is stored. Next, the sound source 6 generates a musical tone signal corresponding to the key code and supplies the musical tone signal to the output circuit 7. The output circuit 7 is composed of an amplifier 8 and a speaker 9 as shown in the figure. The amplifier 8 amplifies the musical tone signal to a predetermined level, and the speaker 9 outputs the musical tone signal output by the amplifier 8 as a musical tone. It has become.

【0014】なお、上述した電子楽器では、CPU3の
時分割処理により、複数チャンネルの楽音を発音できる
ように音源6が構成されている。また、外部からのMI
DIデータを受信したり、外部へMIDIデータを送信
するMIDIインターフェース10も備えている。
In the above-mentioned electronic musical instrument, the sound source 6 is constructed so as to generate musical tones of a plurality of channels by the time division processing of the CPU 3. Also, MI from the outside
A MIDI interface 10 for receiving DI data and transmitting MIDI data to the outside is also provided.

【0015】B.実施例の動作 次に、上述した実施例の動作を説明する。図3は、電源
オンまたはリセットされた時のメインルーチンを示すフ
ローチャートである。電源が投入またはリセットされ、
このプログラムがスタートすると、まず、ステップS1
0において、イニシャライズ処理を行う。次に、ステッ
プS12において、後述する鍵盤処理を行う。該鍵盤処
理では、押離鍵に応じて楽音の発音指示と消音指示を行
うとともに、各チャンネルに、その状態に応じたベンド
値を送出する。そして、ステップS14へ進み、その他
の処理を行った後、ステップS12へ戻る。以下、ステ
ップS12およびS14を繰り返し実行する。
B. Operation of Embodiment Next, the operation of the above-described embodiment will be described. FIG. 3 is a flowchart showing the main routine when the power is turned on or reset. Power is turned on or reset,
When this program starts, first, step S1
At 0, initialization processing is performed. Next, in step S12, keyboard processing described later is performed. In the keyboard processing, a tone generation instruction and a mute instruction are given in response to a key press and release, and a bend value according to the state is sent to each channel. Then, the process proceeds to step S14, and after performing other processing, the process returns to step S12. Hereinafter, steps S12 and S14 are repeatedly executed.

【0016】次に、図4はタイマインタラプトルーチン
を示すフローチャートである。図示のタイマインタラプ
トルーチンは、CPU3に割り込みをかけることで所定
の時間間隔で実行される。このタイマインタラプトルー
チンが実行されると、まず、ステップS20において、
ピッチベンド2の現時点におけるベンド現在値Bから所
定時間前のベンド前回値B0を減算することによって、
ベンド値がどれくらい変化したかを表すベンド値の変化
率であるベンドレートRを計算する。
Next, FIG. 4 is a flow chart showing the timer interrupt routine. The illustrated timer interrupt routine is executed at predetermined time intervals by interrupting the CPU 3. When this timer interrupt routine is executed, first, in step S20,
By subtracting the previous bend value B0 for a predetermined time from the current bend value B of the current pitch bend 2,
A bend rate R, which is the rate of change of the bend value, representing how much the bend value has changed is calculated.

【0017】次に、ステップS22以下のステップにお
いて、各チャンネルの楽音の状態に応じてベンド値を計
算する。まず、ステップS22において、上記ベンド現
在値Bをベンド前回値B0として、ステップS24へ進
む。ステップS24では、チャンネルカウンタnを
「0」にする。そして、ステップS26において、チャ
ンネルカウンタnによって指示されるチャンネル(n)
の状態を判断する。
Next, in step S22 and subsequent steps, the bend value is calculated according to the tone state of each channel. First, in step S22, the current bend value B is set to the previous bend value B0, and the process proceeds to step S24. In step S24, the channel counter n is set to "0". Then, in step S26, the channel (n) designated by the channel counter n
Determine the state of.

【0018】ここで、チャンネル(n)の楽音が押鍵中
の場合、もしくは楽音が発音されておらず停止中の場合
には、ベンド値を計算することなく、現在のベンド値の
ままとし、ステップS32へ進む。ステップS32で
は、チャンネルカウンタnを「1」だけインクリメント
し、ステップS34へ進む。ステップS34では、チャ
ンネルカウンタnがチャンネル数を越えたか否か、すな
わち全チャンネルに対しての処理が終了したか否かを判
断する。そして、チャンネルカウンタnがチャンネル数
を越えていない場合には、ステップS34における判断
結果は「NO」となり、ステップS26へ戻る。
Here, when the tone of channel (n) is being depressed, or when the tone is not being sounded and is stopped, the bend value is not calculated, and the current bend value is maintained. It proceeds to step S32. In step S32, the channel counter n is incremented by "1", and the process proceeds to step S34. In step S34, it is determined whether or not the channel counter n has exceeded the number of channels, that is, whether or not the processing has been completed for all channels. Then, when the channel counter n does not exceed the number of channels, the determination result in step S34 is "NO", and the process returns to step S26.

【0019】一方、チャンネル(n)における楽音が離
鍵中、すなわちリリース中である場合には、上記ステッ
プS26からステップS28へ進む。ステップS28で
は、チャンネル(n)のベンド現在値CB[n]が予め
設定された限界値±max(正負の値)に等しいか否か
を判断する。そして、ベンド現在値CB[n]が限界値
±maxに等しい場合には、ステップ28における判断
結果は「YES」となり、上述したステップS32へ進
む。以下、ステップS32において、チャンネルカウン
タnをインクリメントした後、該チャンネルカウンタn
がチャンネル数を越えていなければステップS26へ戻
る。すなわち、チャンネル(n)の状態がリリース中で
あっても、そのチャンネル(n)のベンド現在値CB
[n]が限界値±maxに達していれば、ピッチベンド
に関する処理を行わず、ベンド値を限界値のままとす
る。
On the other hand, when the tone of the channel (n) is released, that is, released, the process proceeds from step S26 to step S28. In step S28, it is determined whether or not the current bend value CB [n] of the channel (n) is equal to a preset limit value ± max (positive or negative value). When the current bend value CB [n] is equal to the limit value ± max, the determination result in step 28 is “YES”, and the process proceeds to step S32 described above. Hereinafter, in step S32, after incrementing the channel counter n, the channel counter n is incremented.
Does not exceed the number of channels, the process returns to step S26. That is, even if the state of the channel (n) is being released, the current bend value CB of the channel (n) is released.
If [n] has reached the limit value ± max, the process related to the pitch bend is not performed, and the bend value is left as the limit value.

【0020】また、チャンネル(n)における楽音が離
鍵中、すなわちリリース中である場合であって、かつチ
ャンネル(n)のベンド現在値CB[n]が限界値±m
ax(正負の値)に等しくない場合には、ステップS2
8における判断結果は「NO」となり、ステップS30
へ進む。ステップS30では、チャンネル(n)のベン
ド現在値CB[n]に、当該チャンネル(n)のベンド
レートCR[n]を加算し、この加算結果を新たなベン
ド現在値CB[n]とする。なお、上記ベンドレートC
R[n]は、後述する鍵盤処理ルーチンで求める。以
下、ステップS32において、チャンネルカウンタnを
インクリメントした後、該チャンネルカウンタnがチャ
ンネル数を越えていなければステップS26へ戻る。以
下、チャンネルカウンタnがチャンネル数を越えるま
で、上述した処理を繰り返し実行する。そして、全ての
チャンネルに対しての処理が終了すると、ステップS3
4における判断結果が「YES」となり、当該処理を終
了する。
Further, when the tone of the channel (n) is released, that is, released, and the bend current value CB [n] of the channel (n) is the limit value ± m.
If not equal to ax (positive or negative value), step S2
The determination result in 8 is "NO", and step S30
Go to. In step S30, the bend rate CR [n] of the channel (n) is added to the bend current value CB [n] of the channel (n), and the addition result is set as a new bend current value CB [n]. The above bend rate C
R [n] is obtained by a keyboard processing routine described later. Thereafter, in step S32, after incrementing the channel counter n, if the channel counter n does not exceed the number of channels, the process returns to step S26. Hereinafter, the above-described processing is repeatedly executed until the channel counter n exceeds the number of channels. Then, when the processing for all channels is completed, step S3
The result of the determination in 4 is "YES", and the process ends.

【0021】次に、図5はメインルーチンのステップS
12における鍵盤処理ルーチンを示すフローチャートで
ある。この処理は、前述した通り、鍵盤1の押離鍵操作
に応じて楽音の発音指示と消音指示を行うとともに、チ
ャンネル毎に、その状態に応じたベンド値を音源6へ送
出するためのルーチンである。
Next, FIG. 5 shows step S of the main routine.
12 is a flowchart showing a keyboard processing routine in 12. As described above, this processing is a routine for issuing a tone generation instruction and a mute instruction according to the key pressing operation of the keyboard 1 and sending a bend value according to the state to the sound source 6 for each channel. is there.

【0022】このサブルーチンを実行すると、まず、ス
テップS50において、鍵盤1の状態を判断する。ここ
で、鍵盤1のうち、いずれかの鍵が新たに押鍵されてい
る場合には、ステップS52へ進む。ステップS52で
は、現在、上記鍵に対応する楽音を発音可能な停止中の
チャンネルが有るか否かを判断する。そして、停止中の
チャンネルがない場合には、ステップS52における判
断は「NO」となり、当該処理を終了する。
When this subroutine is executed, first, in step S50, the state of the keyboard 1 is judged. If any key of the keyboard 1 is newly pressed, the process proceeds to step S52. In step S52, it is determined whether or not there is a currently stopped channel capable of producing a musical sound corresponding to the key. Then, if there is no stopped channel, the determination in step S52 is "NO", and the process ends.

【0023】一方、停止中のチャンネルが有る場合に
は、ステップS52における判断結果は「YES」とな
り、ステップS54へ進む。ステップS54では、音源
6の停止チャンネルに押鍵中の鍵に対応するキーコード
を送出し、発音指示を与える。この結果、音源6では、
上記キーコードに対応する楽音信号が生成され、出力回
路7により発音される。
On the other hand, if there is a stopped channel, the result of the determination in step S52 is "YES", and the flow advances to step S54. In step S54, the key code corresponding to the key being pressed is sent to the stop channel of the sound source 6 to give a sounding instruction. As a result, in sound source 6,
A tone signal corresponding to the key code is generated and is output by the output circuit 7.

【0024】一方、鍵盤1のうち、いずれかの鍵が新た
に離鍵されている場合には、ステップS56へ進む。ス
テップS56では、離鍵のあったチャンネルnのベンド
レートCR[n]に、タイマインタラプトルーチンのス
テップS20において算出した、ピッチベンド2による
ベンドレートRを格納する。次に、ステップS58へ進
み、音源6に対して、離鍵のあったチャンネルnにリリ
ース指示を与える。この結果、音源6では、所定の速度
で、楽音が消音(減衰)される。
On the other hand, if any key of the keyboard 1 is newly released, the process proceeds to step S56. In step S56, the bend rate R by the pitch bend 2 calculated in step S20 of the timer interrupt routine is stored in the bend rate CR [n] of the released channel n. Next, in step S58, the sound source 6 is instructed to release the channel n on which the key is released. As a result, in the sound source 6, the musical sound is muted (damped) at a predetermined speed.

【0025】また、上記ステップS50において鍵盤1
に何ら変化がない場合、もしくは上記ステップS54、
またはステップS58が終了した場合には、ステップS
60へ進む。ステップS60では、ピッチベンド2が操
作されて変化が生じたか否かを判断する。そして、ピッ
チベンド2に変化があった場合には、ステップS60に
おける判断結果は「YES」となり、ステップS62へ
進む。ステップS62では、ベンド現在値Bに上記ピッ
チベンド2の操作量に応じたベンド値を格納する。そし
て、ステップS64へ進む。一方、ピッチベンド2に変
化がなかった場合には、上記ステップS60における判
断結果は「NO」となり、何も処理せず、そのままステ
ップS64へ進む。ステップS64では、チャンネルカ
ウンタnを「0」にリセットする。
Further, in step S50, the keyboard 1
If there is no change in, or the above step S54,
Alternatively, when step S58 ends, step S58
Proceed to 60. In step S60, it is determined whether the pitch bend 2 has been operated and a change has occurred. Then, if the pitch bend 2 has changed, the determination result in step S60 is "YES", and the process proceeds to step S62. In step S62, the bend value corresponding to the operation amount of the pitch bend 2 is stored in the current bend value B. Then, the process proceeds to step S64. On the other hand, if the pitch bend 2 has not changed, the result of the determination in step S60 is "NO", no processing is performed, and the process directly proceeds to step S64. In step S64, the channel counter n is reset to "0".

【0026】次に、ステップS66以下のステップにお
いて、各チャンネルの楽音の状態に応じて、音源6に各
チャンネルのベンド値を送出する。まず、ステップS6
6において、チャンネル(n)の状態を判断する。ここ
で、チャンネル(n)が押鍵中である場合には、ステッ
プS68へ進む。ステップS68では、ベンド現在値B
をチャンネル(n)へ送出する。すなわち、押鍵中の楽
音に対しては、ピッチベンダ2の操作量に応じたベンド
値を付与する。一方、チャンネル(n)がリリース中で
ある場合には、ステップS70へ進む。ステップS70
では、ベンド現在値CB[n]をチャンネル(n)へ送
出する。すなわち、リリース中の楽音に対しては、タイ
マインタラプトルーチンにおいて計算したベント値CB
[n]をチャンネル(n)へ送出する。また、チャンネ
ル(n)が停止中である場合には何も行わない。
Next, in step S66 and subsequent steps, the bend value of each channel is sent to the sound source 6 according to the state of the tone of each channel. First, step S6
At 6, the state of channel (n) is determined. Here, if the channel (n) is being depressed, the process proceeds to step S68. In step S68, the current bend value B
To channel (n). That is, a bend value corresponding to the operation amount of the pitch bender 2 is given to the tone being pressed. On the other hand, if channel (n) is being released, the process proceeds to step S70. Step S70
Then, the current bend value CB [n] is sent to the channel (n). That is, for the tone being released, the vent value CB calculated in the timer interrupt routine
[N] is sent to channel (n). If the channel (n) is stopped, nothing is done.

【0027】そして、チャンネル(n)が停止中の場
合、もしくは上記ステップS68またはS70の処理が
終了すると、ステップS72へ進む。ステップS72で
は、チャンネルカウンタnを「1」だけインクリメント
する。次に、ステップS74において、チャンネルカウ
ンタnがチャンネル数を越えたか否かを判断する。そし
て、チャンネルカウンタnがチャンネル数を越えていな
い場合には、ステップS74における判断結果は「N
O」となり、ステップS66へ戻る。以下、ステップS
66〜S74を繰り返し実行し、チャンネルカウンタn
がチャンネル数を越えるまで、チャンネルカウンタnを
インクリメントしながら、各チャンネルにベンド値を送
出する。そして、全てのチャンネルに対しての処理が終
了すると、ステップS74における判断結果が「YE
S」となり、当該処理を終了する。
Then, when the channel (n) is stopped, or when the process of step S68 or S70 is completed, the process proceeds to step S72. In step S72, the channel counter n is incremented by "1". Next, in step S74, it is determined whether the channel counter n has exceeded the number of channels. If the channel counter n does not exceed the number of channels, the determination result in step S74 is "N.
"O", and the process returns to step S66. Below, step S
66 to S74 are repeatedly executed, and the channel counter n
Until the number exceeds the number of channels, the bend value is sent to each channel while incrementing the channel counter n. Then, when the processing for all the channels is completed, the determination result in step S74 is "YE
S ”, and the process ends.

【0028】ここで、上述した動作を図6に示すタイム
チャートを参照して説明する。図6において、上段はピ
ッチベンダ2の操作変化を示しており、中段はチャンネ
ル(1)のベント値の変化、下段はチャンネル(2)の
ベンド値の変化を示している。図において、時刻t0〜
t1において、既に発音中であるチャンネル(1)の楽
音に対しては、ピッチベンダ2の操作に応じてそのベン
ド値を変化させる。すなわち、押鍵中である場合には、
鍵盤処理ルーチンのステップS68において、ステップ
S62で取り込んだピッチベンダ2のベンド現在値Bを
音源6に送出する。
The above operation will be described with reference to the time chart shown in FIG. In FIG. 6, the upper part shows changes in the operation of the pitch bender 2, the middle part shows changes in the vent value of the channel (1), and the lower parts show changes in the bend value of the channel (2). In the figure, from time t0
At t1, the bend value of the tone of channel (1) that is already being generated is changed according to the operation of the pitch bender 2. That is, when the key is being pressed,
In step S68 of the keyboard processing routine, the current bend value B of the pitch bender 2 fetched in step S62 is sent to the sound source 6.

【0029】また、時刻t0以降では、タイマインタラ
プトルーチンのステップS20において、所定の時間間
隔で、図の上段に示すピッチベンダ2のベンドレートR
(ベンドの傾き)が計算される。そして、チャンネル
(1)の楽音が時刻t2において離鍵されると、該時刻
t2以降では、その時点におけるベンド値CB[n]
に、その直前の時刻t1〜t2の区間におけるピッチベン
ダ2のベンドレートR(ベンドの傾き、=CR[1])
を加算していく。この結果、チャンネル(1)のベンド
値CB[1]は、直線的に増加していく。そして、ベン
ド値CB[1]が+maxに達すると、そのベンド値C
B[1]を保持する。
After time t0, in step S20 of the timer interrupt routine, the bend rate R of the pitch bender 2 shown in the upper part of the figure is set at predetermined time intervals.
The (bend slope) is calculated. When the tone of the channel (1) is released at time t2, after that time t2, the bend value CB [n] at that time is released.
, The bend rate R of the pitch bender 2 (the inclination of the bend, = CR [1]) in the section from time t1 to t2 immediately before that.
Will be added. As a result, the bend value CB [1] of the channel (1) increases linearly. When the bend value CB [1] reaches + max, the bend value C
Hold B [1].

【0030】一方、時刻t3で押鍵され、時刻t5で離鍵
されるチャンネル(2)の楽音に対しては、そのベンド
値を、チャンネル(1)の押鍵中と同様に、ピッチベン
ダ2の操作に応じて変化させる。
On the other hand, for the tone of channel (2) that is depressed at time t3 and released at time t5, its bend value is set to the same value as that during the key depression of channel (1). Change according to the operation of.

【0031】このように、本実施例では、押鍵中の楽音
に対しては、ピッチベンダ2の操作に応じてベンド効果
を付与し、一方、離鍵された楽音に対しては、離鍵直前
のピッチベンダ2の変化量に基づいて一定増加または一
定減少するベンド効果することにより、押鍵中の楽音に
対するベンド効果の影響をうけない、自然なピッチベン
ドの効果を得るとともに、新たな特殊音響効果をも付与
する。
As described above, in the present embodiment, the bend effect is applied to the musical tone being depressed, in response to the operation of the pitch bender 2, while the musical tone released is released. By providing a bend effect that constantly increases or decreases based on the amount of change in the pitch bender 2 immediately before, a natural pitch bend effect that is not affected by the bend effect with respect to the musical sound during key depression and a new special sound is obtained. It also gives an effect.

【0032】なお、上述した実施例では、鍵盤1の演奏
によって発音される楽音に対してのピッチベンド制御に
ついて述べたが、これに限定されることなく、ピッチベ
ンダ2の操作によって入力されるベンド値を、外部から
供給されるMIDIデータにおけるピッチベンド情報に
代えれば、外部から供給されるMIDIデータの演奏情
報に対しても同様のピッチベンド制御が可能となる。ま
た、上述した実施例では、鍵盤1を有する電子楽器のピ
ッチベンダであったが、鍵盤楽器以外にも管楽器や、弦
楽器などを模擬した形態の電子楽器でもよく、さらにピ
ッチベンダ以外で、モジュレーションホイール等の他の
効果操作子でもよい。
In the above-described embodiment, the pitch bend control for the musical sound produced by the performance of the keyboard 1 has been described, but the present invention is not limited to this, and the bend value input by the operation of the pitch bender 2 is described. By replacing the pitch bend information in the MIDI data supplied from the outside, the same pitch bend control can be performed on the performance information of the MIDI data supplied from the outside. Further, in the above-described embodiment, the pitch bender of the electronic musical instrument having the keyboard 1 is used. However, in addition to the keyboard musical instrument, an electronic musical instrument of a form simulating a wind instrument, a stringed instrument or the like may be used. Other effect operators such as

【0033】[0033]

【発明の効果】請求項1記載の発明によれば、キーオン
中の発音チャンネルの楽音に対しては、効果操作子の操
作に応じた効果を付与し、キーオフされた発音チャンネ
ルの楽音に対しては、キーオフ時における効果の付与状
態を維持する効果を付与するので、キーオフ時の効果の
変化が維持されながらリリースされ、キーオン中の楽音
に対する効果の影響をうけず、自然な効果を得ることが
でき、さらに、新たな特殊効果を付与できる。
According to the first aspect of the present invention, an effect corresponding to the operation of the effect operation element is given to the tone of the tone generation channel during key-on, and the tone of the tone generation channel that is key-off is imparted. Gives the effect of maintaining the effected state during key-off, so it is released while maintaining the change in effect during key-off, and a natural effect can be obtained without being affected by the effect on the musical sound during key-on. You can do it, and you can add new special effects.

【0034】また、請求項2記載の発明によれば、キー
オン中の発音チャンネルの楽音に対しては、受信手段を
介して外部から供給される効果情報に基づく効果を付与
し、キーオフされた発音チャンネルの楽音に対しては、
キーオフ時における前記効果情報に基づく効果の付与状
態を維持するので、キーオフ時の効果の変化が維持され
ながらリリースされ、キーオフ中の楽音に対する効果の
影響をうけず、自然な効果を得ることができ、さらに、
新たな特殊効果を付与できる。
According to the second aspect of the invention, an effect based on effect information supplied from the outside via the receiving means is added to the musical sound of the sounding channel during key-on, and the key-off sound is generated. For channel tones,
Since the state of applying the effect based on the effect information at the time of key-off is maintained, it is released while the effect change at the time of key-off is maintained, and the natural effect can be obtained without being affected by the effect on the musical sound during key-off. ,further,
You can add new special effects.

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

【図1】本発明による電子楽器の一実施例の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of an electronic musical instrument according to the present invention.

【図2】同実施例の電子楽器の一部外観を示す斜視図で
ある。
FIG. 2 is a perspective view showing a partial external appearance of the electronic musical instrument of the embodiment.

【図3】同実施例の動作を説明するためのメインルーチ
ンを示すフローチャートである。
FIG. 3 is a flowchart showing a main routine for explaining the operation of the embodiment.

【図4】同実施例の動作を説明するためのタイマインタ
ラプトルーチンを示すフローチャートである。
FIG. 4 is a flowchart showing a timer interrupt routine for explaining the operation of the embodiment.

【図5】同実施例の動作を説明するための鍵盤処理ルー
チンを示すフローチャートである。
FIG. 5 is a flowchart showing a keyboard processing routine for explaining the operation of the embodiment.

【図6】同実施例の動作を説明するためのタイムチャー
トである。
FIG. 6 is a time chart for explaining the operation of the embodiment.

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

1 鍵盤 2 ピッチベンダ(効果操作子) 3 CPU(効果制御手段) 4 RAM(記憶手段) 5 ROM 6 音源(発音指示手段) 7 出力回路 8 アンプ 9 スピーカ 10 MIDIインターフェース(受信手段) B ベンド現在値 B0 ベンド前回値 R ベンドレート n チャンネルカウンタ値 CR[n] チャンネルnのベンドレート CB[n] チャンネルnのベンド現在値 ±max 限界値 1 keyboard 2 pitch bender (effect operator) 3 CPU (effect control means) 4 RAM (storage means) 5 ROM 6 sound source (sound generation instruction means) 7 output circuit 8 amplifier 9 speaker 10 MIDI interface (reception means) B bend current value B0 Bend previous value R Bend rate n Channel counter value CR [n] Channel n bend rate CB [n] Channel n bend current value ± max Limit value

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 楽音に対する効果の付与程度を指示する
効果操作子と、キーオン中の発音チャンネルの楽音に対
しては、前記効果操作子の操作に応じた効果を付与し、
キーオフされた発音チャンネルの楽音に対しては、キー
オフ時における効果の付与状態を維持する効果制御手段
と、 前記発音チャンネルの楽音に付与された効果に応じて楽
音の発音を指示する発音指示手段とを具備することを特
徴とする楽音制御装置。
1. An effect manipulator for instructing a degree to which an effect is applied to a musical sound, and an effect corresponding to the operation of the effect manipulator are imparted to a musical sound of a sounding channel during key-on,
With respect to the tone of the tone-off channel that is keyed off, effect control means for maintaining the state of application of the effect at the time of key-off, and sounding instruction means for instructing the sounding of the tone according to the effect given to the tone of the tone-off channel. A musical sound control device comprising:
【請求項2】 外部から供給される少なくとも効果情報
とキーオンおよびキーオフとを含む演奏情報を受信する
受信手段と、 キーオン中の発音チャンネルの楽音に対しては、前記効
果情報に基づく効果を付与し、キーオフされた発音チャ
ンネルの楽音に対しては、キーオフ時における前記効果
情報に基づく効果の付与状態を維持する効果制御手段
と、 前記発音チャンネルの楽音に付与された効果に応じて楽
音の発音を指示する発音指示手段とを具備することを特
徴とする楽音制御装置。
2. A receiving means for receiving performance information including at least effect information and key-on and key-off supplied from the outside, and an effect based on the effect information is given to a tone of a tone generation channel during key-on. For the tone of the tone-off channel, the effect control means for maintaining the state of imparting the effect based on the effect information at the time of key-off, and the pronunciation of the tone according to the effect given to the tone of the tone-channel are generated. A musical sound control device comprising: a sounding instructing means for instructing.
【請求項3】 前記効果制御手段は、キーオフされた発
音チャンネルの楽音に対して、キーオフ時における効果
の単位時間当たりの変化量が維持された効果を付与する
ことを特徴とする請求項1または2記載の楽音制御装
置。
3. The effect control means applies an effect in which the amount of change per unit time of the effect at the time of key-off is maintained, to the musical sound of the keyed off tone generation channel. 2. The musical tone control device described in 2.
【請求項4】 前記効果制御手段は、キーオフされた発
音チャンネルの楽音に対する効果が最大値もしくは最小
値に達すると、その効果を維持することを特徴とする請
求項1または2記載の楽音制御装置。
4. The musical tone control apparatus according to claim 1, wherein the effect control means maintains the effect when the effect on the musical sound of the keyed off tone generation channel reaches the maximum value or the minimum value. .
【請求項5】 前記効果操作子の操作および前記効果情
報に基づく効果の単位時間当たりの変化量を、所定の時
間間隔で順次記憶する記憶手段を備えることを特徴とす
る請求項3記載の楽音制御装置。
5. The musical tone according to claim 3, further comprising storage means for sequentially storing, at predetermined time intervals, the amount of change per unit time of the effect based on the operation of the effect operator and the effect information. Control device.
【請求項6】 前記発音チャンネルは、同時発音可能な
複数のチャンネルからなることを特徴とする請求項1ま
たは2記載の楽音制御装置。
6. The musical tone control apparatus according to claim 1, wherein the sound generation channel is composed of a plurality of channels capable of simultaneously sounding.
【請求項7】 前記受信手段は、MIDIインターフェ
ースであることを特徴とする請求項2記載の楽音制御装
置。
7. The musical tone control apparatus according to claim 2, wherein said receiving means is a MIDI interface.
JP07535994A 1994-03-22 1994-03-22 Music control device Expired - Fee Related JP3538883B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07535994A JP3538883B2 (en) 1994-03-22 1994-03-22 Music control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07535994A JP3538883B2 (en) 1994-03-22 1994-03-22 Music control device

Publications (2)

Publication Number Publication Date
JPH07261758A true JPH07261758A (en) 1995-10-13
JP3538883B2 JP3538883B2 (en) 2004-06-14

Family

ID=13573958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07535994A Expired - Fee Related JP3538883B2 (en) 1994-03-22 1994-03-22 Music control device

Country Status (1)

Country Link
JP (1) JP3538883B2 (en)

Also Published As

Publication number Publication date
JP3538883B2 (en) 2004-06-14

Similar Documents

Publication Publication Date Title
JP2001215965A (en) Device and method for touch control
JP3296518B2 (en) Electronic musical instrument
JP5701509B2 (en) Electronic keyboard instrument
US5338892A (en) Musical tone generation apparatus utilizing pitch dependent timing delay
JP3538883B2 (en) Music control device
JPH07104749A (en) Keyboard musical instrument
JPH06138876A (en) Electronic musical instrument
JPH0566776A (en) Automatic orchestration device
JP4214845B2 (en) Automatic arpeggio device and computer program applied to the device
JP3493838B2 (en) Electronic musical instrument
JP3034398B2 (en) Electronic musical instrument controller
JP3581763B2 (en) Electronic musical instrument
JP2004361528A (en) Musical tone signal generator and legato processing program
JP3287036B2 (en) Touch response device
JP3356326B2 (en) Electronic musical instrument
JP2915753B2 (en) Electronic musical instrument
JPH10222167A (en) Pitch control device for electronic musical instrument
JP3561983B2 (en) Electronic musical instrument
JP3375220B2 (en) Electronic musical instrument
JP3392451B2 (en) Electronic musical instrument tone control device
JPH1049167A (en) Timbre controller of electric musical instrument
JP3008699B2 (en) Electronic musical instrument
JPH07168565A (en) Electronic musical instrument
JP2000298482A (en) Electronic musical instrument and sound source device used for same
JPH06195077A (en) Musical tone generating device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040120

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040203

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040302

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040315

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090402

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100402

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110402

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120402

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120402

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130402

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees