JP4290064B2 - Electronic musical instrument control device - Google Patents
Electronic musical instrument control device Download PDFInfo
- Publication number
- JP4290064B2 JP4290064B2 JP2004139523A JP2004139523A JP4290064B2 JP 4290064 B2 JP4290064 B2 JP 4290064B2 JP 2004139523 A JP2004139523 A JP 2004139523A JP 2004139523 A JP2004139523 A JP 2004139523A JP 4290064 B2 JP4290064 B2 JP 4290064B2
- Authority
- JP
- Japan
- Prior art keywords
- parameter value
- value
- change speed
- musical instrument
- electronic musical
- 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 - Lifetime
Links
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
本発明は、電子楽器の操作子の操作に応じて楽音のパラメータの値を制御する電子楽器の制御装置に関する。 The present invention relates to an electronic musical instrument control device that controls the value of a musical tone parameter in accordance with the operation of an electronic musical instrument operator.
従来、電子楽器においてペダルを踏み込んでその変位位置に応じて楽音のピッチや音量を制御した場合に、ペダルのばねに押されて足の位置が戻ったり、次の楽音のためにペダルを足から離したりすると、発音中の楽音のピッチや音量が急激に変化してノイズが発生するという問題があった。この問題を解決するため、例えば、特開2001−100749号公報(特許文献1)に開示された発明では、パラメータの値をペダルが所定の方向へ操作された場合は、パラメータ値を変更し、その方向とは反対の方向へ操作された場合は、パラメータの値を変更しないように制御している。
しかしながら、上記公報に開示された発明では、所望のパラメータの値が現在のパラメータの値より大きい値に設定しようとする場合には、単にペダルを踏み込めばよいが、現在の値より小さい値に設定しようとする場合には、一度ペダルを戻し、再度踏み込まなければならず、操作性が悪いという問題点があった。 However, in the invention disclosed in the above publication, when a desired parameter value is set to a value larger than the current parameter value, the pedal can be simply depressed, but the smaller value is set to the current value. When trying to do so, there is a problem that the pedal has to be returned once and then stepped on again, resulting in poor operability.
本発明は、上述した問題点を解決するためになされたものであり、操作子により適切にパラメータの値を設定することができる電子楽器の制御装置を提供することを目的とする。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an electronic musical instrument control apparatus in which parameter values can be appropriately set by an operator.
この目的を達成するために、請求項1記載の電子楽器の制御装置は、所定位置へ連続的に操作可能な操作子と、その操作子により操作された操作位置を検出する操作位置検出手段と、その操作位置検出手段により検出された操作位置に基づいてパラメータの値を設定する制御手段とを備え、前記制御手段は、前記操作位置検出手段により検出された操作位置に対応するパラメータの値が、現在のパラメータの値より大きい場合には、パラメータの値を第1の変化速度で増加し、前記操作位置検出手段により検出された操作位置に対応するパラメータの値が、現在のパラメータの値より小さい場合には、パラメータの値を前記第1の変化速度とは異なる第2の変化速度で減少するものである。
To achieve this object, an electronic musical instrument control device according to
請求項1記載の電子楽器の制御装置によれば、操作子が操作されて現在のパラメータの値を変化する場合、操作子の操作位置に対応する値が現在のパラメータ値より大きい場合は、パラメータの値は第1の変化速度で変更され、操作子の操作位置に対応する値が現在のパラメータの値より小さい場合は、パラメータの値は第2の変化速度で変更される。
According to the control apparatus for an electronic musical instrument according to
請求2記載の電子楽器の制御装置は、所定方向又はその反対方向へ連続的に操作可能な操作子と、その操作子が操作された操作方向を検出する操作方向検出手段と、その操作方向検出手段により検出された操作方向に基づいてパラメータの値を設定する制御手段とを備え、前記制御手段は、前記操作方向検出手段により検出された操作方向が所定の方向である場合には、パラメータの値を第1の変化速度で増加し、前記操作方向検出手段により検出された操作方向が反対方向である場合には、パラメータの値を前記第1の変化速度とは異なる第2の変化速度で減少するものである。 The control device for an electronic musical instrument according to claim 2 comprises an operation element that can be operated continuously in a predetermined direction or the opposite direction, an operation direction detection means that detects an operation direction in which the operation element is operated, and an operation direction detection thereof. Control means for setting the value of the parameter based on the operation direction detected by the means, and the control means, when the operation direction detected by the operation direction detection means is a predetermined direction, When the value is increased at the first change speed and the operation direction detected by the operation direction detecting means is the opposite direction, the parameter value is increased at a second change speed different from the first change speed. It will decrease .
なお、請求項1および請求項2において、第1の変化速度と第2の変化速度とが異なるとは、その変化する方向は問わず、絶対値が異なることを意味するものである。
In
請求項2記載の電子楽器の制御装置によれば、操作子が操作されて現在のパラメータの値を変化する場合、操作子が操作された操作方向が所定の方向の場合には、パラメータの値は第1の変化速度で増加され、操作子が操作された操作方向が所定の方向とは反対の方向である場合は、パラメータ値は第2の変化速度で減少される。 According to the control device for an electronic musical instrument according to claim 2, when the operation element is operated to change the current parameter value, the parameter value is set when the operation direction in which the operation element is operated is a predetermined direction. Is increased at the first change speed, and the parameter value is decreased at the second change speed when the operation direction in which the operating element is operated is opposite to the predetermined direction.
請求項3記載の電子楽器の制御装置は、請求項1または2記載の電子楽器の制御装置において、前記第1の変化速度および・または前記第2の変化速度を任意に設定する変化速度設定手段を備えている。
The electronic musical instrument control apparatus according to claim 3 is the electronic musical instrument control apparatus according to
請求項4記載の電子楽器の制御装置は、請求項1から3のいずれかに記載の電子楽器の制御装置において、前記操作子により設定されるパラメータの種類に応じて、前記第1の変化速度および・または前記第2の変化速度が設定されている。
The electronic musical instrument control device according to claim 4 is the electronic musical instrument control device according to any one of
請求項5記載の電子楽器の制御装置は、請求項1から4のいずれかに記載の電子楽器の制御装置において、音色を選択する音色選択手段を備え、選択される音色に応じて、前記第1の変化速度および・または前記第2の変化速度が設定されている。
The electronic musical instrument control device according to claim 5 is the electronic musical instrument control device according to any one of
請求項6記載の電子楽器の制御装置は、請求項1から5のいずれかに記載の電子楽器の制御装置において、前記操作子は、操作される一方向へ付勢される弾性部材を有するものである。
The electronic musical instrument control device according to claim 6 is the electronic musical instrument control device according to any one of
請求項1記載の電子楽器の制御装置によれば、操作子が操作されて現在のパラメータの値を変化する場合、操作子の操作位置に対応する値が現在のパラメータの値より大きい場合は、パラメータの値は第1の変化速度で変更され、操作子の操作位置に対応する値が現在のパラメータの値より小さい場合は、パラメータの値は第2の変化速度で変更されるので、操作子が急激に操作された場合に、パラメータの値が大きくなる方向に操作された場合と、パラメータの値が小さくなる方向に操作された場合とで、パラメータの値の変化速度を変えることができるという効果がある。
According to the control device for an electronic musical instrument according to
請求項2記載の電子楽器の制御装置によれば、操作子が操作されて現在のパラメータの値を変化する場合、操作子の操作方向が所定の方向の場合には、パラメータの値は第1の変化速度で増加され、操作子の操作方向が所定の方向とは反対の方向である場合は、パラメータの値は第2の変化速度で減少されるので、操作子が急激に操作された場合に、操作子が操作された方向に応じて、パラメータの値を変化する変化速度を変えることができるという効果がある。 According to the control device for an electronic musical instrument according to claim 2, when the operation element is operated to change the current parameter value, when the operation direction of the operation element is a predetermined direction, the parameter value is the first value. it is increased at a rate of change, when the operation direction of the operation element is a direction opposite to the predetermined direction, the value of the parameter is reduced at a second rate of change, if the operator is abruptly operated In addition, there is an effect that it is possible to change the speed of change of the parameter value according to the direction in which the operation element is operated.
請求項3記載の電子楽器の制御装置によれば、請求項1または2記載の電子楽器の制御装置の奏する効果に加え、第1の変化速度および・または前記第2の変化速度を任意に設定する変化速度設定手段を備えているので、ユーザが任意に変化速度を設定することができるという効果がある。
According to the control device for an electronic musical instrument according to claim 3, in addition to the effect exhibited by the control device for the electronic musical instrument according to
請求項4記載の電子楽器の制御装置によれば、請求項1から3のいずれかに記載の電子楽器の制御装置の奏する効果に加え、操作子により設定されるパラメータの種類に応じて、第1の変化速度および・または第2変化速度が設定されているので、パラメータの種類に応じた変化速度を設定することができるという効果がある。 According to the electronic musical instrument control device of the fourth aspect, in addition to the effect produced by the electronic musical instrument control device according to any one of the first to third aspects, according to the type of parameter set by the operator, Since the change rate of 1 and / or the second change rate is set, there is an effect that the change rate according to the type of parameter can be set.
請求項5記載の電子楽器の制御装置によれば、請求項1から4のいずれかに記載の電子楽器の制御装置の奏する効果に加え、音色を選択する音色選択手段を備え、選択される音色に応じて、第1の変化速度および・または第2の変化速度が設定されているので、音色に応じた変化速度を設定することができるとともに、ユーザは音色を選択することにより第1の変化速度および・または第2の変化速度が設定されるという効果がある。
According to the electronic musical instrument control device of claim 5, in addition to the effect produced by the electronic musical instrument control device according to any one of
請求項6記載の電子楽器の制御装置によれば、請求項1から5のいずれかに記載の電子楽器の制御装置において、操作子は、一方向へ付勢される弾性部材を有するものであって、その一方向とは逆方向へ操作子を操作する場合は、弾性部材により付勢される力に抗して操作子を操作するものであるので、操作子を、弾性部材により付勢される力に抗して操作する場合と、その反対方向へ操作する場合とでパラメータの変化速度を変えることができるという効果がある。すなわち、弾性部材により付勢される力に抗して操作する場合の操作子を操作する速度に対し、弾性部材により付勢される方向へ操作される場合の速度は速くなる傾向にあるが、この傾向を是正することができる。 According to the electronic musical instrument control device of the sixth aspect, in the electronic musical instrument control device according to any one of the first to fifth aspects, the operator has an elastic member biased in one direction. When operating the operating element in the direction opposite to the one direction, the operating element is operated against the force urged by the elastic member. Therefore, the operating element is urged by the elastic member. There is an effect that the change speed of the parameter can be changed between the case where the operation is performed against the force and the case where the operation is performed in the opposite direction. That is, the speed when operated in the direction urged by the elastic member tends to be higher than the speed of operating the operation element when operated against the force urged by the elastic member, This trend can be corrected.
以下、本発明の好ましい実施例について、添付図面を参照して説明する。図1は、本発明の電子楽器1のブロック図である。電子楽器1は、主に、CPU10と、ROM11と、RAM12と、鍵盤13と、操作パネル14と、ペダル15と、A/D変換器16と音源17とを備えて構成されている。
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a block diagram of an electronic
CPU10は、制御プログラムの実行主体となる演算装置であり、ROM11には、このCPU10により実行される各種の制御プログラムやその実行の際に参照される固定値データが記憶されている。固定値データとしては、種々の音色に対応してその音色の楽音を形成するための楽音パラメータや操作子により所定の楽音パラメータの値を変更するための操作子パラメータが記憶されている。
RAM12は、ROM11に記憶された制御プログラムの実行に当たって各種のデータやパラメータ値等を一時的に記憶するための書き換え可能なメモリである。RAM12は、電子楽器1の電源が遮断された場合でも電池により記憶内容が保持されるように構成され、楽音パラメータや操作子パラメータが編集された場合は、このRAM12に記憶される。
The
The
鍵盤13は、複数の白鍵および黒鍵を備えて構成され、各鍵毎に割り当てられた音高の楽音の発生開始や停止などの指示を行うものである。操作パネル14は、電子楽器1の各種の設定や操作を行うと共に、その設定操作状況を表示するためのものであり、各種スイッチやロータリエンコーダ等の操作子と表示器とを備えて構成される。操作パネル14の詳細は、図2を参照して後述する。
The
ペダル15には、その操作により抵抗値が変化する可変抵抗器が備えられ、操作された抵抗値は電圧値としてA/Dコンバータ16によりデジタル値に変換されてCPU10により検出される。ペダル15は、足で踏まれることにより操作される操作子で、ばねにより上方向へ付勢され、踏まれていない場合には、そのばねにより最上位置に保持されている。したがって、ペダル15を踏み込む場合には力を要し、戻す場合には、その力を緩めるという動作を行うものである。この操作によりペダル15に対して割り当てられた音量やピッチ等の楽音パラメータの値を変更することができる。
The pedal 15 is provided with a variable resistor whose resistance value is changed by the operation thereof. The operated resistance value is converted into a digital value by the A /
音源17は、鍵盤13による押鍵に基づいて所望の音高と押鍵速度に応じた楽音を発生し、離鍵によりその楽音の発生の消音処理を行うものである。音源17には、多数の発音チャネルが備えられ、同時に複数の楽音を同じ音色または異なる音色で発生することができる。
The
図2は、電子楽器1の操作パネル14の正面図である。操作パネル14には、表示器20と、ペダルボタン25と、ロータリエンコーダ26が備えられている。表示器20には、いわゆるタッチセンサがその表示面に備えられ、表示している位置が指などで押圧されると、その押圧位置が検出され、その押圧位置に表示されている内容に対応する処理が行われる。
FIG. 2 is a front view of the
この図では、音色表示エリア21にピアノ(Piano)と表示され、音色としてピアノが選択されていることを表している。この音色表示エリア21を押した後、ロータリエンコーダ26を左方向または右方向へ回転操作すると、各種音色を選択することができる。鍵盤13を演奏すると、この選択された音色の楽音を音源17は、発生する。
In this figure, piano (Piano) is displayed in the
また、音色表示エリア21の下部には、ペダル15の操作により設定される楽音パラメータの種類が、モードとして表示されている。このピアノ音色の場合には、モードとしてソステヌートとエクスプレッションのいずれかを選択することができる。この選択は、ペダルボタン25を押下することによりトグル動作により切り替え選択することができる。
In the lower part of the tone
ソステヌートが選択されている場合には、ペダル15を踏み込むことにより、ソステヌート(押下した鍵のみ、離鍵してもダンパーが作用しない)が働き、エクスプレッションが選択されている場合には、ペダル15を操作することにより楽音の音量が制御される。 If sostenuto is selected, depressing the pedal 15 activates the sostenuto (only the key pressed, the damper does not operate even if the key is released). If the expression is selected, the pedal 15 is The sound volume is controlled by the operation.
音色がピアノの場合には、ペダル15の操作により設定される楽音パラメータは、ソステヌートまたはエクスプレッションであるが、音色毎に、設定される楽音パラメータの種類が予め設定されている。 When the tone color is piano, the tone parameter set by operating the pedal 15 is sostenuto or expression, but the type of tone parameter to be set is preset for each tone color.
これらの、モードに対応して操作子パラメータとして変化速度UP、DOWN、楽音パラメータの最大値(MAX)、楽音パラメータの最小値(MIN)がそれぞれ表示されている。変化速度UPは、楽音パラメータが増加する場合、変化速度DOWNは、楽音パラメータが減少する場合の変化速度である。すなわち、ペダル15により設定された操作位置に対応する楽音パラメータの値を目標パラメータ値PTとし、現在の楽音パラメータの値を現在パラメータ値PCとすると、目標パラメータ値PTが現在楽音パラメータ値PCより大きい場合は、現在パラメータ値PCを目標パラメータ値PTへ向けて増加し、その増加する変化速度をUPとする。同様に、目標パラメータ値PTが現在楽音パラメータ値PCより小さい場合は、現在パラメータ値PCを目標パラメータ値PTへ向けて減少し、その減少する変化速度をDOWNとする。 Corresponding to these modes, change speed UP, DOWN, maximum value (MAX) of musical tone parameters, and minimum value (MIN) of musical tone parameters are displayed as operator parameters. The change speed UP is a change speed when the musical sound parameter is increased, and the change speed DOWN is a change speed when the musical sound parameter is decreased. That is, assuming that the value of the musical tone parameter corresponding to the operation position set by the pedal 15 is the target parameter value PT and the current musical tone parameter value is the current parameter value PC, the target parameter value PT is larger than the current musical tone parameter value PC. In this case, the current parameter value PC is increased toward the target parameter value PT, and the increasing rate of change is set to UP. Similarly, when the target parameter value PT is smaller than the current musical tone parameter value PC, the current parameter value PC is decreased toward the target parameter value PT, and the decreasing rate of change is set to DOWN.
これらの操作子パラメータは、各パラメータ値が表示されているエリア22を指などで押圧し、つぎにロータリーエンコーダを回転操作することにより、押圧によって指定された操作子パラメータの値を変更することができる。この実施例では、各操作子パラメータの値は、最小値を0、最大値を100とする範囲内で設定変更が可能である。
These operator parameters can change the value of the operator parameter designated by pressing by pressing the
ペダル15が操作され、目標パラメータ値PTが現在楽音パラメータ値PCより大きい場合は、所定時間毎に、現在パラメータ値PCに、変化速度UPに比例する値であるIncDeltaが加算され、目標パラメータ値を越えない範囲で現在パラメータ値PCが変更される。一方、ペダル15が操作され目標パラメータ値PTが現在楽音パラメータ値PCより小さい場合は、所定時間毎に、現在パラメータ値PCに、変化速度DOWNに比例する値であるDecDeltaが減算され、目標パラメータ値を下回らない範囲で現在パラメータ値PCが変更される。 When the pedal 15 is operated and the target parameter value PT is larger than the current musical tone parameter value PC, IncDelta is added to the current parameter value PC at a predetermined time, which is proportional to the change speed UP, and the target parameter value is set. The current parameter value PC is changed within the range not exceeding. On the other hand, when the pedal 15 is operated and the target parameter value PT is smaller than the current musical tone parameter value PC, DecDelta, which is a value proportional to the change speed DOWN, is subtracted from the current parameter value PC every predetermined time. The current parameter value PC is changed within a range not less than.
なお、目標パラメータ値PTは、楽音パラメータの最大値(MAX)と楽音パラメータの最小値(MIN)との間の値を取るように、A/D変換器16により変換されたデジタル値(AD)を一次関数で換算して得た値である。この一次関数は、ADの最小値(ペダルが踏まれていない場合)をa、最大値(ペダルが踏み込まれた状態)をbとすると、
PT=(MAX−MIN)×(AD−a)/(b−a)+MIN
である。
The target parameter value PT is a digital value (AD) converted by the A /
PT = (MAX−MIN) × (AD−a) / (b−a) + MIN
It is.
図に示すように、楽音パラメータの種類がソステヌートの場合には、楽音パラメータ値が増加する場合の変化速度UPは、100に、楽音パラメータの値が減少する場合の変化速度DOWNも、100に設定されている。したがって、モードとしてソステヌートが選択された場合には、ペダル15を踏む込む場合も、ペダル15を離す場合も、操作が行われると現在パラメータ値PCが、目標パラメータ値PTに速く設定される。 As shown in the figure, when the musical sound parameter type is sostenuto, the changing speed UP when the musical sound parameter value increases is set to 100, and the changing speed DOWN when the musical sound parameter value decreases is also set to 100. Has been. Therefore, when sostenuto is selected as the mode, the current parameter value PC is quickly set to the target parameter value PT when an operation is performed whether the pedal 15 is depressed or the pedal 15 is released.
なお、最大値(MAX)を100、最小値(MIN)を0としているが、中間の値は取らないようにし、例えば目標パラメータ値PTが50以上の場合は、現在パラメータ値PCを100とし、目標パラメータ値PTが50より小さい場合は、現在パラメータ値PCを0に設定するようにしてもよい。 The maximum value (MAX) is 100 and the minimum value (MIN) is 0, but an intermediate value is not taken. For example, when the target parameter value PT is 50 or more, the current parameter value PC is 100, If the target parameter value PT is smaller than 50, the current parameter value PC may be set to 0.
楽音パラメータの種類がエクスプレッションの場合には、楽音パラメータ値が増加する場合の変化速度UPは、90に、楽音パラメータ値が減少する場合の変化速度DOWNは、30にそれぞれ設定されている。したがって、モードとしてエクスプレッションが選択された場合には、ペダル15を踏み込む方向へ操作が行われた場合は、現在パラメータ値PCは、速く目標パラメータ値PTに変更設定されるが、ペダル15を離す方向へ操作された場合には、現在パラメータ値PCは、時間経過に従って目標パラメータ値PTに向かって徐々に変更設定される。 When the musical sound parameter type is expression, the changing speed UP when the musical sound parameter value increases is set to 90, and the changing speed DOWN when the musical sound parameter value decreases is set to 30, respectively. Therefore, when the expression is selected as the mode, if the operation is performed in the direction in which the pedal 15 is depressed, the current parameter value PC is quickly changed to the target parameter value PT, but the direction in which the pedal 15 is released. Is operated, the current parameter value PC is gradually changed and set toward the target parameter value PT as time elapses.
図3は、CPU10が実行するメイン処理を示すフローチャートである。この処理は、電子楽器1の電源が投入されると立ち上げられ、電源が遮断されるまで継続される。
FIG. 3 is a flowchart showing main processing executed by the
電源が投入されると、まず、初期化が行われる(S1)。この初期化としては、例えば、音色をピアノに設定し、ペダル15のモードをソステヌートに設定し、現在パラメータPCの値を0に設定する。つぎにペダルボタン25が操作されたか否かを検出し(S2)、ペダルボタン25が操作された場合には、モードを変更する(S2:Yes)。すなわち、現在のモードがソステヌートか否かを判断し(S3)ソステヌートでなければ(S3:NO)、モードをソステヌートに設定し(S4)、ソステヌートであれば(S3:Yes)、モードをエクスプレッションに設定する(S5)。
When the power is turned on, initialization is first performed (S1). As the initialization, for example, the tone color is set to piano, the mode of the pedal 15 is set to sostenuto, and the value of the current parameter PC is set to 0. Next, it is detected whether or not the
つぎに、表示器20の音色表示エリア21が操作され、さらにロータリーエンコーダ26が操作されることにより音色が変更設定されたか否かを判断し(S6)、音色が変更設定された場合には(S6:Yes)、変更された音色に設定するようにその音色に応じた楽音パラメータをROM11またはRAM12から読出して音源17へ送り(S7)、音色表示エリア21の表示およびその音色に対応して設定されているモードや操作子パラメータの表示を変更する。
Next, it is determined whether or not the
つぎに、表示器20の操作子パラメータのいずれかのエリア22が操作され、さらにロータリーエンコーダ26が操作されて操作子パラメータが変更設定されたか否かを判断する(S8)。操作子パラメータが変更設定された場合は(S8:Yes)、その設定された操作子パラメータの値を変更設定し、その値を表示器20に表示する(S9)。操作子パラメータが変更設定されない場合(S8:No)またはS9の処理の次にその他の処理として、例えば鍵盤13での押鍵、離鍵を検出し、その状態に対応する処理を行うなどの処理を行い(S10)S2の処理へ戻る。
Next, it is determined whether any
つぎに、操作子により楽音パラメータを設定する処理について、図4に示すフローチャートに従って説明する。この処理は、所定時間、例えば10msec毎にタイマー割り込みにより起動される割り込み処理である。A/D変換器16は、この時間間隔でペダル15の可変抵抗器が示すアナログ値をデジタル値に変換する。そのA/D変換器16が変換したデジタル値に対応する楽音パラメータの値を目標パラメータ値PTとし、現在の楽音パラメータ値を現在パラメータ値PCとする。
Next, processing for setting a musical tone parameter by the operator will be described with reference to the flowchart shown in FIG. This process is an interrupt process activated by a timer interrupt every predetermined time, for example, 10 msec. The A /
フローチャートにおいて、まず、現在パラメータ値PCが目標パラメータ値PTより小さいか否かを判断する(S20)。現在パラメータ値PCが目標パラメータ値PTより小さい場合は(S20:Yes)、現在パラメータ値PCを現在パラメータ値PCに値IncDeltaを加算した値とする。このIncDeltaは、選択されているモードにおいて現在パラメータ値PCが目標パラメータ値PTより小さい場合の変化速度UPの値に比例し、所定時間当り加算される楽音パラメータ値の増加分である。 In the flowchart, first, it is determined whether or not the current parameter value PC is smaller than the target parameter value PT (S20). When the current parameter value PC is smaller than the target parameter value PT (S20: Yes), the current parameter value PC is set to a value obtained by adding the value IncDelta to the current parameter value PC. This IncDelta is an increase in the musical sound parameter value added per predetermined time in proportion to the value of the change speed UP when the current parameter value PC is smaller than the target parameter value PT in the selected mode.
つぎに、加算された現在パラメータ値PCが目標パラメータ値PTを越えたか否かを判断し(S22)、現在パラメータ値PCが目標パラメータ値PTを越えた場合は(S22:Yes)、現在パラメータ値PCを目標パラメータ値PTとし(S23)、現在パラメータ値PCが目標パラメータ値PTを越えない場合は(S22:No)、S21の処理で加算された現在パラメータ値PCの値を現在パラメータ値PCとして決定する。 Next, it is determined whether or not the added current parameter value PC exceeds the target parameter value PT (S22). If the current parameter value PC exceeds the target parameter value PT (S22: Yes), the current parameter value is determined. PC is set as the target parameter value PT (S23), and if the current parameter value PC does not exceed the target parameter value PT (S22: No), the value of the current parameter value PC added in the processing of S21 is set as the current parameter value PC. decide.
S20の判断処理で、現在パラメータ値PCが目標パラメータ値PTより小さいくないと判断した場合は(S20:No)、現在パラメータ値PCが目標パラメータ値PTより大きいか否かを判断する(S24)。このS24の判断処理により現在パラメータ値PCが目標パラメータ値PTより大きくないと判断された場合は(S24:No)、現在パラメータ値PCが目標パラメータ値PTと等しい場合であり、ペダル15の操作位置が変更されていないので、何も処理を行わずにこの割り込み処理を終了する(リターン)。 If it is determined in S20 that the current parameter value PC is not smaller than the target parameter value PT (S20: No), it is determined whether or not the current parameter value PC is larger than the target parameter value PT (S24). . If it is determined that the current parameter value PC is not greater than the target parameter value PT (S24: No), the current parameter value PC is equal to the target parameter value PT, and the operation position of the pedal 15 is determined. Since no change has been made, this interrupt processing is terminated without performing any processing (return).
一方、現在パラメータ値PCが目標パラメータ値PTより大きい場合は(S24:Yes)、現在パラメータ値PCを現在パラメータ値PCから値DecDeltaを減算した値とする。このDecDeltaは、選択されているモードにおいて現在パラメータ値PCが目標パラメータ値PTより大きい場合の変化速度DOWNの値に比例し、所定時間当り減算される楽音パラメータ値の減少分である。 On the other hand, when the current parameter value PC is larger than the target parameter value PT (S24: Yes), the current parameter value PC is set to a value obtained by subtracting the value DecDelta from the current parameter value PC. The DecDelta is a decrease in the musical sound parameter value subtracted per predetermined time in proportion to the value of the change speed DOWN when the current parameter value PC is larger than the target parameter value PT in the selected mode.
つぎに、減算された現在パラメータ値PCが目標パラメータ値PTより小さいか否かを判断し(S26)、現在パラメータ値PCが目標パラメータ値PTより小さい場合は(S26:Yes)、現在パラメータ値PCを目標パラメータ値PTとし(S27)、現在パラメータ値PCが目標パラメータ値PTより小さくない場合は(S26:No)、S25の処理で減算された現在パラメータ値PCの値を現在パラメータ値PCとして決定する。 Next, it is determined whether or not the subtracted current parameter value PC is smaller than the target parameter value PT (S26). If the current parameter value PC is smaller than the target parameter value PT (S26: Yes), the current parameter value PC is determined. Is the target parameter value PT (S27). If the current parameter value PC is not smaller than the target parameter value PT (S26: No), the value of the current parameter value PC subtracted in the process of S25 is determined as the current parameter value PC. To do.
つぎに、以上のようにして決定された現在パラメータ値PCに基づいて楽音の制御を行い(S28)、この割り込み処理を終了する(リターン)。 Next, the tone is controlled based on the current parameter value PC determined as described above (S28), and this interrupt process is terminated (return).
このように、本発明による電子楽器の制御装置によれば、操作子により設定される操作位置に対応する目標パラメータ値PTに基づいて現在パラメータ値PCを変更する場合に、現在パラメータ値PCが目標パラメータ値PTより大きい場合と、現在パラメータ値PCが目標パラメータ値PTより小さい場合とにより変化速度をそれぞれ設定するようにしたので、急激に操作子が操作された場合にも適切な楽音の制御を行うことができる。特にペダル操作子のように、ばねなどの弾性部材により一方向に付勢されている操作子を操作する場合は、その付勢されている方向へ操作される場合に、操作子が急激に変化され、それに伴って楽音が急激に変化されることがあったが、このような不具合を解消し、操作性を向上させることができる。 Thus, according to the electronic musical instrument control apparatus of the present invention, when the current parameter value PC is changed based on the target parameter value PT corresponding to the operation position set by the operator, the current parameter value PC is set to the target parameter value PC. Since the changing speed is set for each of the case where the parameter value is larger than the parameter value PT and the case where the current parameter value PC is smaller than the target parameter value PT, appropriate musical sound control can be performed even when the operator is suddenly operated. It can be carried out. In particular, when operating an operator that is urged in one direction by an elastic member such as a spring, such as a pedal operator, the operator changes abruptly when operated in that urged direction. As a result, the musical tone has been changed abruptly. However, such inconvenience can be solved and operability can be improved.
なお、請求項1の第1の変化速度は、現在パラメータ値PCが目標パラメータ値PTより小さい場合の楽音パラメータ値の変化速度UPに該当し、第2の変化速度は、現在パラメータ値PCが目標パラメータ値PTより大きい場合の楽音パラメータ値の変化速度DOWNに該当する。
Note that the first change speed in
以上、上記実施例に基づき本発明を説明したが、本発明は、上記実施例に何ら限定されるものでなく、本発明の趣旨を逸脱しない範囲内で種々の改良変形が可能であることは容易に推察できるものである。 The present invention has been described above based on the above embodiments, but the present invention is not limited to the above embodiments, and various improvements and modifications can be made without departing from the spirit of the present invention. It can be easily guessed.
例えば、上記実施例では、現在パラメータ値PCが目標パラメータ値PTより大きい場合と、現在パラメータ値PCが目標パラメータ値PTより小さい場合とにより変化速度をそれぞれ設定するようにしたが、操作子が操作された場合の操作方向を検出し、その操作方向に対応して変化速度をそれぞれ設定するようにしてもよい。すなわち、A/D変換器により今回検出された操作子の位置と、前回検出された操作子の位置から操作方向を検出し、その操作方向により、変化速度を設定するようにしてもよい。 For example, in the above embodiment, the change speed is set depending on whether the current parameter value PC is larger than the target parameter value PT and the current parameter value PC is smaller than the target parameter value PT. It is also possible to detect the operation direction in the case of being performed, and to set the change speed corresponding to the operation direction. That is, the operation direction may be detected from the position of the operation element detected this time by the A / D converter and the position of the operation element detected last time, and the change speed may be set according to the operation direction.
また、上記実施例では、操作子の例として足で踏み込むことにより操作するペダルを例に上げたが、主に手で操作される丸ボリューム、スライドボリューム、ロータリーエンコーダなどに適用してもよい。また、ベンダーのように左右両方向に回転可能であって、常時ばねにより中点に保持されている操作子や、ビームコントローラと呼ばれる光を反射または遮断することにより受光量を変化させ、その受光量に応じて楽音を制御する操作子に適用してもよい。 In the above embodiment, the pedal operated by stepping on with a foot is taken as an example of the operation element. However, the present invention may be applied to a round volume, a slide volume, a rotary encoder, etc. that are mainly operated by hand. In addition, it can rotate in both the left and right directions like a bender, and the amount of light received is changed by reflecting or blocking light called an operator or beam controller that is always held at the midpoint by a spring. The present invention may be applied to an operator that controls musical sounds according to the above.
また、上記実施例では、音色においては、ペダルにより2種類の楽音パラメータのいずれかを選択して制御するものとしたが、1音色について1種類の楽音パラメータを制御するようにし、その楽音パラメータに第1および第2の変化速度が設定されているものとしてもよい。また、音色には関わらず、楽音パラメータ毎に第1および第2の変化速度が設定されているものとしてもよい。例えば、ペダルにより制御される楽音パラメータを、音色には関わらず任意に設定できるものとし、その楽音パラメータ毎に、第1および第2の変化速度が設定されているようにしてもよい。 In the above embodiment, the tone color is controlled by selecting one of the two types of tone parameters with the pedal. However, one tone parameter is controlled for one tone color, and the tone parameter is set as the tone parameter. The first and second change speeds may be set. Further, the first and second change speeds may be set for each musical sound parameter regardless of the tone color. For example, the musical tone parameter controlled by the pedal may be arbitrarily set regardless of the tone color, and the first and second change speeds may be set for each musical tone parameter.
また、上記実施例では、楽音パラメータの種類がエクスプレッション(音量)である場合に第1の変化速度と第2の変化速度を異なる値に設定したが、ピッチ(音高)、フィルターの係数、エフェクトの楽音パラメータなどの楽音パラメータに設定するようにしてもよい。 In the above embodiment, when the musical sound parameter type is expression (volume), the first change speed and the second change speed are set to different values, but the pitch (pitch), filter coefficient, effect It may be set to a musical tone parameter such as a musical tone parameter.
また、上記実施例では、楽音パラメータの変化速度は、単位時間当たりに増加する楽音パラメータ値であるIncDelta、または減少する楽音パラメータ値であるDecDeltaとしたが、楽音パラメータの所定値を、加算、または減算する時間間隔を変えるようにしてもよい。 In the above embodiment, the change speed of the musical sound parameter is IncDelta which is a musical sound parameter value which increases per unit time, or DecDelta which is a musical sound parameter value which decreases. However, a predetermined value of the musical sound parameter is added, or You may make it change the time interval to subtract.
また、上記実施例では、A/D変換器が変換したデジタル値と楽音パラメータ値とは、比例関係にあるものとしたが、曲線により表される関係としてもよい。この場合には、曲線を表すルックアップテーブルをメモリに記憶し、AD値に基づいて参照することにより楽音パラメータ値を得ることができる。 In the above embodiment, the digital value converted by the A / D converter and the musical tone parameter value are in a proportional relationship, but may be in a relationship represented by a curve. In this case, a musical tone parameter value can be obtained by storing a look-up table representing a curve in a memory and referring to the AD value.
1 電子楽器
10 CPU(制御手段)
15 ペダル(操作子)
16 A/D変換器(操作位置検出手段)
20 表示器
21 音色表示エリア(音色選択手段の一部)
26 ロータリエンコーダ(音色選択手段の一部または変化速度設定手段の一部)
1 Electronic
15 Pedal (operator)
16 A / D converter (operation position detecting means)
20
26 Rotary encoder (part of timbre selection means or change speed setting means)
Claims (6)
その操作子により操作された操作位置を検出する操作位置検出手段と、
その操作位置検出手段により検出された操作位置に基づいてパラメータの値を設定する制御手段とを備え、
前記制御手段は、前記操作位置検出手段により検出された操作位置に対応するパラメータの値が、現在のパラメータ値より大きい場合には、パラメータの値を第1の変化速度で増加し、前記操作位置検出手段により検出された操作位置に対応するパラメータ値が、現在のパラメータ値より小さい場合には、パラメータの値を前記第1の変化速度とは異なる第2の変化速度で減少するものであることを特徴とする電子楽器の制御装置。 An operator that can be operated continuously to a predetermined position;
An operation position detecting means for detecting an operation position operated by the operation element;
Control means for setting a parameter value based on the operation position detected by the operation position detection means,
When the parameter value corresponding to the operation position detected by the operation position detection unit is larger than the current parameter value, the control unit increases the parameter value at a first change speed, and the operation position When the parameter value corresponding to the operation position detected by the detecting means is smaller than the current parameter value, the parameter value is decreased at a second change speed different from the first change speed. An electronic musical instrument control device.
その操作子が操作された操作方向を検出する操作方向検出手段と、
その操作方向検出手段により検出された操作方向に基づいてパラメータの値を設定する制御手段とを備え、
前記制御手段は、前記操作方向検出手段により検出された操作方向が所定の方向である場合には、パラメータの値を第1の変化速度で増加し、前記操作方向検出手段により検出された操作方向が反対方向である場合には、パラメータの値を前記第1の変化速度とは異なる第2の変化速度で減少するものであることを特徴とする電子楽器の制御装置。 An operator that can be operated continuously in a predetermined direction or in the opposite direction;
An operation direction detecting means for detecting an operation direction in which the operator is operated;
Control means for setting the value of the parameter based on the operation direction detected by the operation direction detection means,
When the operation direction detected by the operation direction detection unit is a predetermined direction, the control unit increases the value of the parameter at a first change speed, and the operation direction detected by the operation direction detection unit In the case where is in the opposite direction, the parameter value is decreased at a second change rate different from the first change rate.
6. The control device for an electronic musical instrument according to claim 1, wherein the operating element has an elastic member that is urged in one direction to be operated.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004139523A JP4290064B2 (en) | 2004-05-10 | 2004-05-10 | Electronic musical instrument control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004139523A JP4290064B2 (en) | 2004-05-10 | 2004-05-10 | Electronic musical instrument control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005321609A JP2005321609A (en) | 2005-11-17 |
| JP4290064B2 true JP4290064B2 (en) | 2009-07-01 |
Family
ID=35468949
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004139523A Expired - Lifetime JP4290064B2 (en) | 2004-05-10 | 2004-05-10 | Electronic musical instrument control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4290064B2 (en) |
-
2004
- 2004-05-10 JP JP2004139523A patent/JP4290064B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005321609A (en) | 2005-11-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5167852B2 (en) | Pedal force control device | |
| JP5053684B2 (en) | Keyboard device | |
| US8203066B2 (en) | Pedal apparatus and electronic keyboard apparatus having the same | |
| JP7480749B2 (en) | Electronic musical instrument, and control method and program for electronic musical instrument | |
| JP4539590B2 (en) | Keyboard instrument | |
| JP4140112B2 (en) | Performance controller operation state detection device, performance operator operation state detection method, and performance device having performance operator | |
| JP2010160424A (en) | Pedal output conversion device and program | |
| JP4290064B2 (en) | Electronic musical instrument control device | |
| JP2022001950A (en) | Parameter controller, electronic music instrument, parameter control method and control program | |
| JP7190053B2 (en) | Arpeggiator and programs with its functionality | |
| JP6724438B2 (en) | Tone generation instruction device, tone generation instruction method, program for tone generation instruction device, and electronic musical instrument having tone generation instruction device | |
| JP2005099559A (en) | Electronic musical instruments | |
| JP7006729B2 (en) | An electronic musical instrument having a musical tone generation instruction device, a musical tone generation instruction method, a program for the musical tone generation instruction device, and a musical tone generation instruction device. | |
| US20230386441A1 (en) | Electronic musical instrument, key scanning method and non-transitory computer readable medium | |
| JP2009025503A (en) | Electronic musical instruments | |
| JP7619374B2 (en) | Signal generating device, electronic musical instrument, electronic keyboard device, electronic device, signal generating method and program | |
| WO2021044560A1 (en) | Arpeggiator and program equipped with function therefor | |
| JP4497104B2 (en) | Electronic keyboard instrument | |
| JP2000315083A (en) | Electronic keyboard instrument | |
| JP3880718B2 (en) | Electronic musical instruments | |
| JP4078769B2 (en) | Musical sound control apparatus and recording medium recording musical sound control processing program | |
| JP6700891B2 (en) | Control device for pedal operator | |
| JPH09297581A (en) | Operator and tone control device | |
| JP4457201B2 (en) | Electronic musical instrument locking device | |
| JPH04324897A (en) | Output control device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20061109 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070413 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081226 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090107 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090309 |
|
| 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: 20090331 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090331 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4290064 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120410 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120410 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130410 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130410 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140410 Year of fee payment: 5 |