JP2009217025A - Electronic musical instrument and program thereof - Google Patents

Electronic musical instrument and program thereof Download PDF

Info

Publication number
JP2009217025A
JP2009217025A JP2008061312A JP2008061312A JP2009217025A JP 2009217025 A JP2009217025 A JP 2009217025A JP 2008061312 A JP2008061312 A JP 2008061312A JP 2008061312 A JP2008061312 A JP 2008061312A JP 2009217025 A JP2009217025 A JP 2009217025A
Authority
JP
Japan
Prior art keywords
slider
value
parameter
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.)
Granted
Application number
JP2008061312A
Other languages
Japanese (ja)
Other versions
JP4941673B2 (en
Inventor
Tsuyoshi Maruyama
剛志 丸山
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 JP2008061312A priority Critical patent/JP4941673B2/en
Publication of JP2009217025A publication Critical patent/JP2009217025A/en
Application granted granted Critical
Publication of JP4941673B2 publication Critical patent/JP4941673B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technique with which a sudden change of a parameter value by means of a slider operation is mitigated, in an electronic musical instrument setting/changing various kinds of parameter values by using a slider having no moving function. <P>SOLUTION: The electronic musical instrument provided with a slider manipulator has: a means of detecting operational start of the slider; and a means of waiting for a prescribed time from the operational start and setting a value corresponding to the position of the slider as a parameter present value after the prescribed time. When it is detected that the value corresponding to the position of the slider reaches the parameter present value before the prescribed time elapses, the value corresponding to the position of the slider at the point of time may be set as the parameter present value without waiting the elapse of the prescribed time. The parameter present value may be gradually changed up to the value corresponding to the position of the slider. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、スライダー操作子を備えた電子楽器において、スライダー操作によるパラメータ値の急激な変化を緩和する技術に関する。   The present invention relates to a technique for mitigating rapid changes in parameter values caused by slider operation in an electronic musical instrument having a slider operator.

従来より、電子楽器には、音量レベルなどの各種のパラメータ値を設定/変更するためのスライダー(フェーダー)を備えたものが知られている。通常、外部パネル上のスライダーの数より設定/変更したいパラメータの数の方が多いため、1つのスライダーの機能を切り替えながら複数のパラメータ値を設定/変更できるようにしている。この場合、スライダーのつまみの位置と設定/変更するパラメータ値の現在値とが一致しない場合があるが、スライダーがいわゆるムービング機能(パラメータ値に応じた位置につまみを強制的に設定する駆動機構を備えたもの)を備えたスライダーであれば、パラメータ値の現在値に応じた位置にスライダーのつまみを強制的にセットすることができる。一方、ムービング機能を持たないスライダーの場合、(1)スライダー位置変更に伴いパラメータ値が即座に変更される方式、又は、(2)いわゆるピックアップ方式が適用される。   2. Description of the Related Art Conventionally, electronic musical instruments having a slider (fader) for setting / changing various parameter values such as a volume level are known. Usually, since the number of parameters to be set / changed is larger than the number of sliders on the external panel, a plurality of parameter values can be set / changed while switching the function of one slider. In this case, the position of the slider knob may not match the current value of the parameter value to be set / changed, but the slider has a so-called moving function (a drive mechanism that forcibly sets the knob to a position corresponding to the parameter value). If the slider is equipped with a slider), the slider knob can be forcibly set at a position corresponding to the current value of the parameter value. On the other hand, in the case of a slider that does not have a moving function, (1) a method in which a parameter value is immediately changed as the slider position is changed, or (2) a so-called pickup method is applied.

図9は、上記(1)の方式を採った場合のスライダー値とパラメータ値の変化例を示す。横軸が時間の経過を示し、縦軸がスライダー値及びパラメータ値を示す。「スライダー値」とは、スライダーのつまみの位置に対応するパラメータ値を言う。パラメータ値の現在値が点線911にあり、スライダー値が点線912にある状態で、時点901においてスライダー操作が開始したとする。このとき、スライダーの位置変更に伴い、点線913に示すように、パラメータの現在値はスライダー値へと急激に変化する。その後は、点線914に示すように、スライダーの操作に応じてパラメータ現在値も変化し、最終的に目標値915に到る。   FIG. 9 shows a change example of the slider value and the parameter value when the method (1) is adopted. The horizontal axis shows the passage of time, and the vertical axis shows the slider value and the parameter value. “Slider value” refers to a parameter value corresponding to the position of the slider knob. Assume that the slider operation starts at time 901 with the current value of the parameter value being on the dotted line 911 and the slider value being on the dotted line 912. At this time, as the position of the slider changes, the current value of the parameter changes rapidly to the slider value, as indicated by a dotted line 913. Thereafter, as indicated by a dotted line 914, the parameter current value also changes in accordance with the operation of the slider, and finally reaches the target value 915.

図10は、上記(2)の方式でのスライダー値とパラメータ値の変化例を示す。ピックアップ方式とは、スライダー値とパラメータ現在値とが異なる場合、いったんパラメータ現在値の位置までスライダーを操作した後、スライダー位置に応じてパラメータ値を変化させる方式である。図10では、パラメータ現在値が点線1011で、スライダー値が点線1012にある状態で、時点1001でスライダー操作を開始したとする。このとき、スライダー値を点線1013のように変化させても、未だパラメータ現在値に到っていないので、パラメータ現在値が変化することはない。スライダー値がパラメータ現在値に到った後は、点線1014に示すように、スライダー位置に応じてパラメータ値が変化する。その後、目標値1015にセットすればよい。   FIG. 10 shows a change example of the slider value and the parameter value in the method (2). The pickup method is a method of changing the parameter value according to the slider position after the slider is once operated to the position of the parameter current value when the slider value and the parameter current value are different. In FIG. 10, it is assumed that the slider operation is started at time 1001 in a state where the current parameter value is the dotted line 1011 and the slider value is the dotted line 1012. At this time, even if the slider value is changed as indicated by the dotted line 1013, the parameter current value does not change because the parameter current value has not yet been reached. After the slider value reaches the current parameter value, the parameter value changes according to the slider position as indicated by a dotted line 1014. Thereafter, the target value 1015 may be set.

上述の図9,10の方式では、スライダー値とパラメータ値が一致している状態から、スライダー位置を変更してパラメータ値を変更する場合は、特に問題はない。しかし、例えば別音色を呼び出した直後や画面切り替え直後など、当該スライダーで設定/変更する対象のパラメータを切り替えた場合には、スライダー値とパラメータ現在値が一致していない状態からスライダー位置を変更してパラメータ値を変更することになる。この場合、図9の方式では、スライダー位置変更後、即座にパラメータ値がその位置に反映して変更されるので、特に相互の位置に大きな差がある場合は急激にパラメータ値が変化するという問題及びその変化に基づいてノイズが発生するという問題がある。上記図10の方式では、目標値にかかわらず、いったん現在のパラメータ値の位置までスライダーを操作した後、再度、設定したい目標値までスライダーを操作しなければならないため、直感的に分かりにくいという問題や、操作に時間や手間が掛かり面倒であるという問題がある。   9 and 10 described above, there is no particular problem when the parameter value is changed by changing the slider position from the state where the slider value and the parameter value match. However, if the target parameter to be set / changed with the slider is switched, for example, immediately after calling another tone or screen switching, the slider position is changed from the state where the slider value does not match the current parameter value. Parameter value will be changed. In this case, in the method of FIG. 9, since the parameter value is immediately reflected and changed after the slider position is changed, there is a problem that the parameter value changes abruptly particularly when there is a large difference between the positions. In addition, there is a problem that noise is generated based on the change. In the method of FIG. 10 described above, regardless of the target value, it is necessary to operate the slider once to the current parameter value position, and then to operate again to the target value to be set. In addition, there is a problem that the operation is time consuming and troublesome.

本発明は、ムービング機能を持たないスライダーを使用して各種パラメータ値を設定/変更する電子楽器において、スライダー操作によるパラメータ値の急激な変化を緩和する技術を提供することを目的とする。   An object of the present invention is to provide a technique for alleviating a rapid change in a parameter value caused by a slider operation in an electronic musical instrument in which various parameter values are set / changed using a slider having no moving function.

上記目的を達成するため、本発明は、スライダー操作子を備えた電子楽器であって、前記スライダーの操作開始を検出する手段と、前記操作開始から所定時間待機し、該所定時間の後に、前記スライダーの位置に応じた値をパラメータ現在値として設定する手段とを備えることを特徴とする。   In order to achieve the above object, the present invention provides an electronic musical instrument provided with a slider operator, a means for detecting the start of operation of the slider, a predetermined time from the start of the operation, and after the predetermined time, Means for setting a value corresponding to the position of the slider as a parameter current value.

前記所定時間が経過する前に前記スライダーの位置に応じた値がパラメータ現在値に至ったことが検出された場合は、前記所定時間の経過を待つことなくその時点の前記スライダーの位置に応じた値をパラメータ現在値として設定するようにしてもよい。また、前記スライダーの位置に応じた値をパラメータ現在値として設定する手段は、パラメータ現在値を徐々に前記スライダーの位置に応じた値まで変化させるものとしてもよい。この場合、パラメータの分解能に応じて、パラメータ現在値を徐々に前記スライダーの位置に応じた値まで変化させる度合いを決定するようにするとよい。   If it is detected that the value corresponding to the position of the slider has reached the current parameter value before the predetermined time elapses, the value corresponding to the position of the slider at that time is not waited for without waiting for the elapse of the predetermined time. A value may be set as a parameter current value. The means for setting a value corresponding to the position of the slider as the parameter current value may gradually change the parameter current value to a value corresponding to the position of the slider. In this case, the degree of gradually changing the parameter current value to a value corresponding to the position of the slider may be determined according to the parameter resolution.

前記所定時間は、パラメータ毎に決定するようにしてもよい。また、パラメータ毎に、前記スライダーの操作開始から所定時間待機しないでパラメータ現在値を変化させる方式と、前記スライダーの操作開始から所定時間待機してパラメータ現在値を変化させる方式とを、選択できるようにしてもよい。   The predetermined time may be determined for each parameter. Further, for each parameter, a method of changing the current parameter value without waiting for a predetermined time from the start of operation of the slider and a method of changing the current parameter value after waiting for a predetermined time from the start of operation of the slider can be selected. It may be.

なお、前記スライダー操作子は、画面上にイメージを表示し、ポインティングデバイスなどで操作するものを含むものとする。   The slider operator includes an image displayed on a screen and operated by a pointing device or the like.

本発明によれば、従来のやり方に対して、スライダー操作に伴うノイズを低減させることができ、また直感的な操作が可能となる。従来の操作に慣れているユーザーにも違和感なく受け入れてもらえる。また、特にストロークの小さい(短い)スライダーでは、わずかな位置の違いが大きなパラメータ値の差になることがあるが、そのような場合でも、本願アルゴリズムを用いることで、パラメータ値の意図しない急激な変化を抑える事ができる。   According to the present invention, noise associated with the slider operation can be reduced compared to the conventional method, and an intuitive operation can be performed. Users who are accustomed to conventional operations can accept it without any discomfort. In particular, with a small (short) slider with a small stroke, a slight difference in position may result in a large parameter value difference. Change can be suppressed.

以下、図面を用いて本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態に係る電子楽器100のハードウェア構成例を示す。CPU(中央処理装置)101は、この電子楽器全体の動作を制御する処理装置である。RAM(ランダムアクセスメモリ)102は、CPU101が実行するプログラムのロード領域やワーク領域に使用する揮発性メモリである。ROM(リードオンリメモリ)103は、CPU101が実行する制御プログラムや各種のデータを格納する不揮発性メモリである。操作子105は、この電子楽器の外部パネルに設けられているスイッチやスライダーなどの操作子、及び鍵盤などの演奏操作子である。操作子105の操作は検出回路106により検出され、検出結果がCPU101に送られる。表示部107は、各種の情報を表示するディスプレイである。表示回路108は、CPU101からの指示に基づいて、与えられたデータを表示部107に表示する。通信インターフェース(I/F)109は、外部機器110や外部ネットワークと接続するためのインターフェースである。その接続方式はどのようなものでもよい。音源104は、CPU101からの指示に基づいて楽音信号を発生する。発生した楽音信号は、アナログの音響信号に変換され、増幅回路111で増幅された後、スピーカー112で放音される。   FIG. 1 shows a hardware configuration example of an electronic musical instrument 100 according to an embodiment of the present invention. A CPU (Central Processing Unit) 101 is a processing device that controls the operation of the entire electronic musical instrument. A RAM (random access memory) 102 is a volatile memory used for a load area and a work area of a program executed by the CPU 101. A ROM (read only memory) 103 is a nonvolatile memory that stores a control program executed by the CPU 101 and various data. The operation element 105 is an operation element such as a switch or a slider provided on the external panel of the electronic musical instrument, and a performance operation element such as a keyboard. The operation of the operation element 105 is detected by the detection circuit 106, and the detection result is sent to the CPU 101. The display unit 107 is a display that displays various types of information. The display circuit 108 displays given data on the display unit 107 based on an instruction from the CPU 101. A communication interface (I / F) 109 is an interface for connecting to an external device 110 or an external network. Any connection method may be used. The sound source 104 generates a musical sound signal based on an instruction from the CPU 101. The generated musical sound signal is converted into an analog acoustic signal, amplified by the amplifier circuit 111, and then emitted by the speaker 112.

図2は、図1の電子楽器100の外部パネルイメージ及び外部から通信コマンドを受信する様子を示すイメージ図である。電子楽器100の外部パネル上には、複数のスライダー201、その他のスイッチやボリューム202,203、及びディスプレイ204などが設けられている。スライダー201とスイッチ等202,203は図1の操作子105に対応し、ディスプレイ204は図1の表示部107に対応する。スイッチ等202,203の操作などでディスプレイ204に表示される画面を切り替え、これにより各スライダー201に割り当てるパラメータを切り替えることができる。もちろん画面の切り替えを伴わずに、各スライダー201へのパラメータの割り当てを変更できるようにしてもよい。   FIG. 2 is an image diagram showing an external panel image of the electronic musical instrument 100 of FIG. 1 and a state in which a communication command is received from the outside. On the external panel of the electronic musical instrument 100, a plurality of sliders 201, other switches and volumes 202 and 203, a display 204, and the like are provided. The slider 201 and switches 202 and 203 correspond to the operation element 105 in FIG. 1, and the display 204 corresponds to the display unit 107 in FIG. The screen displayed on the display 204 can be switched by operating the switches 202 and 203, and the parameters assigned to the sliders 201 can be switched accordingly. Of course, the parameter assignment to each slider 201 may be changed without switching the screen.

スライダー201も含めて外部パネル上の操作子を操作すると、内部でその操作に応じたイベントが発生し、そのイベントに応じた処理が実行される。これについては、図5などで後述する。また、本実施形態の電子楽器では、外部ネットワーク130や外部機器110から通信コマンドを入力し、該通信コマンドに応じた処理を実行する機能を備える。特に、通信コマンドは「擬似操作子操作コマンド」を含む。「擬似操作子操作コマンド」とは、当該電子楽器の操作子201〜203が操作されたかのようなイベントを発生させるコマンドである。「擬似操作子操作コマンド」を入力したときの処理については、図6などで後述する。   When an operator on the external panel including the slider 201 is operated, an event corresponding to the operation is generated inside, and processing corresponding to the event is executed. This will be described later with reference to FIG. In addition, the electronic musical instrument of the present embodiment has a function of inputting a communication command from the external network 130 or the external device 110 and executing processing according to the communication command. In particular, the communication command includes a “pseudo operator operation command”. The “pseudo operator operation command” is a command that generates an event as if the operators 201 to 203 of the electronic musical instrument were operated. Processing when the “pseudo-operator operation command” is input will be described later with reference to FIG.

図3は、本実施形態の電子楽器におけるスライダー値とパラメータ現在値の変化の例(その1)を示す。横軸は時間、縦軸はスライダー値とパラメータ現在値を示す。パラメータ現在値311とスライダー値312とが異なる状態で、時点301でユーザがスライダー操作を開始したとする。スライダー値は点線313に示すように変化するが、所定時間321(ここでは300msec程度)が経過するまでパラメータ現在値は変化しない。所定時間321が経過した時点302で、パラメータ現在値をスライダー値に応じて設定し、目標値314に至る。この方式では、所定時間の間にスライダー値とパラメータ現在値との差を小さくした上でパラメータ現在値をスライダー位置に応じて設定変更できるので、ノイズの低減を図ることができる。   FIG. 3 shows an example (part 1) of changes in the slider value and the current parameter value in the electronic musical instrument of the present embodiment. The horizontal axis represents time, and the vertical axis represents the slider value and parameter current value. It is assumed that the user starts the slider operation at the time point 301 in a state where the parameter current value 311 and the slider value 312 are different. The slider value changes as indicated by a dotted line 313, but the parameter current value does not change until a predetermined time 321 (here, about 300 msec) elapses. At the time 302 when the predetermined time 321 has elapsed, the current parameter value is set according to the slider value, and the target value 314 is reached. In this method, since the difference between the slider value and the parameter current value can be reduced during a predetermined time and the parameter current value can be set and changed according to the slider position, noise can be reduced.

図4は、図3の変形例を示す。パラメータ現在値411とスライダー値412に差がある状態で、時点401でスライダー操作が開始されたとする。このとき、所定時間421の間はスライダーの操作をパラメータ現在値に反映させない点は図3の例と同じである。図4では、所定時間421経過後の時点402から徐々にパラメータ現在値413をスライダー値414に合わせるように近づけ、目標値415に至るようにする。なお、時点402からパラメータ現在値をスライダー値に徐々に近づける方式は任意である。例えば、Nmsec毎にパラメータ現在値を所定値Mstepずつ変化させて徐々にスライダー値に近づけるようにすればよい。この方式によれば、ノイズ低減を図ることができると共に、直感的な操作が可能となる。   FIG. 4 shows a modification of FIG. It is assumed that the slider operation is started at the time point 401 in a state where there is a difference between the parameter current value 411 and the slider value 412. At this time, the slider operation is not reflected in the parameter current value during the predetermined time 421, which is the same as the example of FIG. In FIG. 4, the parameter current value 413 is gradually brought closer to the slider value 414 from the time point 402 after the predetermined time 421 has elapsed to reach the target value 415. Note that the method of gradually approaching the parameter current value to the slider value from the time point 402 is arbitrary. For example, the parameter current value may be changed by a predetermined value Mstep every Nmsec so as to gradually approach the slider value. According to this method, noise can be reduced and an intuitive operation can be performed.

図5(a)は、CPU101が実行するメインルーチンのフローチャートを示す。ステップ501でイベント検出を行い、検出されたらステップ502から503に進んで、当該イベントを対応するタスクに発行する。例えば、外部パネル上のスライダーが操作されたときには、スライダー操作イベントが検出され、該スライダー操作イベントが図5(b)のスライダータスクに送られる。他のイベントの場合も同様に、当該イベントがそのイベントに応じたタスクに送られ当該イベントに応じた処理が実行されるが、それについては説明を省略する。   FIG. 5A shows a flowchart of a main routine executed by the CPU 101. In step 501, an event is detected, and if detected, the process proceeds from step 502 to 503, and the event is issued to the corresponding task. For example, when a slider on the external panel is operated, a slider operation event is detected, and the slider operation event is sent to the slider task in FIG. Similarly, in the case of other events, the event is sent to a task corresponding to the event and processing corresponding to the event is executed, but the description thereof is omitted.

図5(b)は、スライダー操作イベントに応じて実行されるスライダータスクのフローチャートを示す。ステップ511で激変緩和タスク(図5(c)で後述する)が実行中か判別(後述するフラグを参照して判別する)し、実行中ならそのまま終了する。実行中でなければ、ステップ512でフラグをオンし、ステップ513で激変緩和タスクを起動する。上記フラグは、オンで激変緩和タスクが実行中であることを示し、オフで実行中でないことを示す。   FIG. 5B shows a flowchart of a slider task executed in response to a slider operation event. In step 511, it is determined whether the drastic change mitigation task (which will be described later with reference to FIG. 5C) is being executed (determined with reference to a flag which will be described later). If it is not being executed, the flag is turned on in step 512, and the sudden change mitigation task is activated in step 513. The above flag indicates that the sudden change mitigation task is being executed when it is on, and indicates that it is not being executed when it is off.

図5(c)は、ステップ513で起動される激変緩和タスクのフローチャートを示す。ステップ521で所定時間(300msec)だけ待つ。この待ち時間は、図3,4で説明した321,421に相当する。次に、ステップ522でオフセットの範囲内か判別する。これは、この時点のスライダー値とパラメータ現在値とを比較して、スライダー値がパラメータ現在値±3%の範囲に入っているかを判別するものである(パラメータ現在値がスライダー値±3%の範囲内かを判別してもよい)。スライダー値がこのオフセット範囲内にあるときは、スライダー値がパラメータ現在値に一致していると見なし、ステップ524に進む。オフセット範囲外のときは、ステップ523で、スライダー値に応じてパラメータ値をセットし、ステップ524に進む。ステップ524でフラグをオフして終了する。   FIG. 5C shows a flowchart of the sudden change mitigation task activated in step 513. In step 521, a predetermined time (300 msec) is waited. This waiting time corresponds to 321 and 421 described with reference to FIGS. Next, in step 522, it is determined whether the offset is within the range. This is to determine whether the slider value is within the range of the parameter current value ± 3% by comparing the slider value at this time and the parameter current value (the parameter current value is the slider value ± 3%). You may determine if it is within range). If the slider value is within this offset range, it is considered that the slider value matches the parameter current value, and the process proceeds to step 524. If it is outside the offset range, the parameter value is set in accordance with the slider value in step 523 and the process proceeds to step 524. In step 524, the flag is turned off and the process ends.

上記図5の処理により、図3の方式の動作が実現される。図5の処理は、いわゆるイベントドリブンの処理になっており、CPU101側の処理とスライダーその他の操作子側の処理とを切り離している。すなわち、スライダー(その他の操作子も同様)が操作開始され操作し続けられている間は、スライダー側から操作イベントが繰り返し発行される。CPU101側はそれらの操作イベントを全て受け取り、その操作イベントに応じた処理を実行するだけである。スライダー操作イベントでは、ステップ521で300msec待つ処理があり、その間にスライダー操作イベントが発行されてくる場合もあるが、その場合はステップ511で激変緩和タスク実行中と判別されて処理が終了するので問題はない。なお、上記のフローから分かるように、画面切り替えやシーンリコールなどでスライダーとパラメータとの割り当てが変更されただけでは、図5(c)の処理は実行されない。ユーザーが意図的にスライダーを操作した際、その操作開始の時点で起動するようになっている。   The operation of the method of FIG. 3 is realized by the processing of FIG. The process in FIG. 5 is a so-called event-driven process, and the process on the CPU 101 side is separated from the process on the slider and other control elements. That is, as long as the slider (same for other controls) is started and continuously operated, an operation event is repeatedly issued from the slider side. The CPU 101 only receives all of these operation events and simply executes a process according to the operation event. In the slider operation event, there is a process of waiting for 300 msec in step 521, and a slider operation event may be issued during that time. In this case, it is determined in step 511 that the sudden change mitigation task is being executed, and the process ends. There is no. As can be seen from the above flow, the processing of FIG. 5C is not executed only by changing the assignment of the slider and the parameter by screen switching or scene recall. When the user deliberately operates the slider, it starts when the operation starts.

図5では外部パネル上のスライダーの操作イベントを検出した場合で説明したが、本実施形態では、擬似操作子操作コマンドに応じた操作子操作イベントを検出した場合も同様の処理である。   Although FIG. 5 illustrates the case where the operation event of the slider on the external panel is detected, in the present embodiment, the same processing is performed when an operation element operation event corresponding to the pseudo operation element operation command is detected.

図6は、本実施形態の電子楽器において通信I/F109が実行するコマンド受信ルーチンのフローチャートである。図2で説明したように、外部ネットワーク130や外部機器110から通信コマンドを受信したとき、図6の処理が実行される。ステップ601で受信した通信コマンドのコマンド解析を行い、ステップ602で擬似操作子操作コマンドか判別し、そうであるときはステップ603でその擬似操作子操作コマンドに応じた操作子操作イベントをCPU101に通知する。擬似操作子操作コマンドでないときは、ステップ604でそのコマンドに応じた処理を実行する。   FIG. 6 is a flowchart of a command reception routine executed by the communication I / F 109 in the electronic musical instrument of this embodiment. As described with reference to FIG. 2, when a communication command is received from the external network 130 or the external device 110, the processing of FIG. 6 is executed. The command analysis of the communication command received in step 601 is performed. In step 602, it is determined whether it is a pseudo-manipulator operation command. If so, the CPU 101 is notified of the manipulator operation event corresponding to the pseudo-manipulator operation command in step 603. To do. If the command is not a pseudo-manipulator operation command, processing corresponding to the command is executed in step 604.

ステップ603でCPU101に通知されたイベントは、図5(a)のステップ501で検出され、当該イベントに応じたタスクに渡されて当該イベントに応じた処理が実行される。ステップ603でCPU101に通知された擬似操作子操作コマンドに応じた操作子操作イベントは、実際の外部パネル上の操作子が操作された場合に発行される操作子操作イベントと同じであるので、CPU101は、操作子が実際に操作された場合と外部から通信コマンドで入力した場合とを何ら区別することなく、何れの場合も指示された操作子操作コマンドに応じた処理を実行する。   The event notified to the CPU 101 in step 603 is detected in step 501 in FIG. 5A, is passed to a task corresponding to the event, and processing corresponding to the event is executed. The operation element operation event corresponding to the pseudo operation element operation command notified to the CPU 101 in step 603 is the same as the operation element operation event issued when the operation element on the actual external panel is operated. In any case, the process according to the instructed manipulator operation command is executed without distinguishing between the case where the manipulator is actually operated and the case where the manipulator is input from the outside with a communication command.

これにより、外部から通信コマンドを使用して、本実施形態の電子楽器に対して、あたかも操作子そのものが操作されたような状態をリモートコントロールできる。この機能は、例えば楽器教室で先生の機器から生徒の機器をコントロールしたい場合(インターネットなどを介してコントロールする場合も同様)などで有効である。従来技術でも電子楽器の各種のパラメータを外部から設定変更することは可能であったが、そのためにはパラメータとそのパラメータの値を指定したコマンドで行うしかなかった。そのように直接的にパラメータ値が変更されるのでは、生徒は、どのような操作をすればそのパラメータ値の変更が行われるか分からないことが多い。本実施形態では、先生の機器から生徒の機器に擬似操作子操作コマンドを送信することで、パラメータが変わるだけでなく、あたかも生徒側の機器の操作子を操作したような挙動を生徒に見せることができる。機器/操作子/対象パラメータによっては、操作子を操作しても即座にパラメータ値に反映されず、一定時間おいてからパラメータ値が変更されるものがある(例えば上述のスライダー)。本実施形態における外部からのコントロールは、このようなシチュエーションで有効に働く。   As a result, it is possible to remotely control the electronic musical instrument of this embodiment as if the operator itself was operated using a communication command from the outside. This function is effective, for example, when it is desired to control the student's device from the teacher's device in the musical instrument classroom (the same applies when controlling the student's device via the Internet or the like). Even in the prior art, various parameters of the electronic musical instrument can be set and changed from the outside. However, for that purpose, the parameter and the value of the parameter can only be set by a command. If the parameter value is directly changed in this way, the student often does not know what operation the parameter value will be changed. In this embodiment, by sending a pseudo controller operation command from the teacher's device to the student's device, not only the parameters are changed, but the behavior as if the operator of the student's device was operated is shown to the student. Can do. Some devices / operators / target parameters are not immediately reflected in the parameter value even if the operator is operated, and the parameter value is changed after a certain time (for example, the slider described above). The control from the outside in this embodiment works effectively in such a situation.

次に、上記実施形態の第1の変形例を説明する。第1の変形例は、上述した図4の方式である。これを実現するためには、図5のステップ523で、パラメータ現在値にスライダー値をセットする際、所定時間をかけて徐々に値を近づけるようにすればよい。なお、徐々に値を近づけるときには、ステップ522と同じ方式で、パラメータ現在値がスライダー値±3%の範囲内かを判別し、その範囲内に入ったら値を近づける処理を終了させればよい。   Next, a first modification of the above embodiment will be described. The first modification is the above-described method of FIG. In order to realize this, when setting the slider value to the parameter current value in step 523 of FIG. 5, it is sufficient to gradually bring the value close to each other over a predetermined time. When the values are gradually approached, it is determined in the same manner as in step 522 whether the current parameter value is within the range of the slider value ± 3%, and if it falls within that range, the process of approaching the value may be terminated.

上記実施形態及び第1の変形例(図3,4の方式)では、従来の操作に慣れているユーザーにも違和感なく受け入れてもらえる。また、特にストロークの小さい(短い)スライダーでは、わずかな位置の違いが大きなパラメータ値の差になることがある。このような場合でも、本願アルゴリズムを用いることで、パラメータ値の意図しない急激な変化を抑えることができる。   In the above-described embodiment and the first modification (the method shown in FIGS. 3 and 4), a user who is accustomed to the conventional operation can accept it without a sense of incongruity. In particular, for a slider with a small (short) stroke, a slight position difference may result in a large parameter value difference. Even in such a case, an unintended rapid change in the parameter value can be suppressed by using the algorithm of the present application.

上記実施形態の第2の変形例を説明する。図7は、図5(c)の激変緩和タスクルーチンの変形例を示す。ステップ521を、図7の手順に置き換えるものである。ステップ701でその時点のスライダー値を取得し、ステップ702で該スライダー値がパラメータ現在値をまたいだか判別する。またいでいなければステップ703で本ルーチンに入ってから300msec経ったか判別し、経っていなければステップ701に戻る。300msec経っていたら、ステップ522に進む。   A second modification of the above embodiment will be described. FIG. 7 shows a modification of the sudden change mitigation task routine of FIG. Step 521 is replaced with the procedure of FIG. In step 701, the slider value at that time is acquired, and in step 702, it is determined whether the slider value straddles the current parameter value. If not, it is determined in step 703 whether 300 msec has elapsed since entering this routine, and if not, the process returns to step 701. If 300 msec has elapsed, the process proceeds to step 522.

本第2の変形例により、スライダー操作が開始されてから300msecが経過する前でも、スライダー値がパラメータ現在値をまたげば、パラメータ値の設定へと進むようにできる。これにより、俊敏に操作した場合は300msec待つことなくパラメータ設定が実行されるようになるので、操作に対して機器が迅速に反応したような印象を与えることができる。   According to the second modification, even if 300 msec has elapsed since the start of the slider operation, if the slider value crosses the parameter current value, the parameter value can be set. As a result, when agile operation is performed, parameter setting is executed without waiting for 300 msec, so that an impression can be given as if the device responded quickly to the operation.

上記実施形態の第3の変形例を説明する。第3の変形例は、外部から擬似操作子操作コマンドを入力した場合の処理の改良である。上記実施形態では、スライダーはムービング機能を持たないものとしたが、第3の変形例ではムービング機能を持つものとする。また、図5で説明した処理に加えて、検出したイベントが擬似操作子操作コマンドに応じた操作子操作イベントであるときには、図8の操作子位置変更タスクを実行するものとする。図8では、ステップ801で、ムービング機能を利用して該当の操作子の位置を変更する。これにより、外部からの擬似操作子操作コマンドに応じて、操作子が実際に動く様子までコントロールできる。   A third modification of the above embodiment will be described. The third modification is an improvement in processing when a pseudo operator operation command is input from the outside. In the above embodiment, the slider does not have a moving function, but in the third modified example, it has a moving function. Further, in addition to the processing described with reference to FIG. 5, when the detected event is an operator operation event corresponding to the pseudo operator operation command, the operator position change task of FIG. 8 is executed. In FIG. 8, in step 801, the position of the corresponding operation element is changed using the moving function. As a result, it is possible to control the state in which the manipulator actually moves in accordance with a pseudo manipulator operation command from the outside.

なお、図3,4の方式では、パラメータの分解能に応じて、スライダー操作開始後の何もしない所定時間を決めるようにしてもよい。例えば、パラメータの分解能が0〜127であるとき(要するに当該パラメータの採りうる値が、0,1,…,127の何れかということ)には上記所定時間を300msecとし、分解能が0〜31であるときには上記所定時間を200msecとする、などである。また、パラメータの種類毎に、この所定時間を決めるようにしてもよい。   In the methods of FIGS. 3 and 4, a predetermined period of time after the start of the slider operation may be determined according to the parameter resolution. For example, when the resolution of a parameter is 0 to 127 (in short, the value that the parameter can take is any of 0, 1,..., 127), the predetermined time is 300 msec, and the resolution is 0 to 31. In some cases, the predetermined time is set to 200 msec. The predetermined time may be determined for each parameter type.

図4の方式では、パラメータの分解能に応じて、徐々に変更する度合いを決めるようにしてもよい。また、パラメータ毎に、(1)図9の方式、(2)図10の方式、(3)図3の方式、(4)図4の方式、を選択できるようにしてもよい。これらの4方式のうちの任意の複数の方式を選択できるようにしてもよい。   In the method of FIG. 4, the degree of gradual change may be determined according to the parameter resolution. For each parameter, (1) the method shown in FIG. 9, (2) the method shown in FIG. 10, (3) the method shown in FIG. 3, and (4) the method shown in FIG. 4 may be selected. Any of these four methods may be selected.

前記操作子は、図2のように外部パネル上にハードウエアとして備えられたものを例に説明したが、画面上に操作子の画像を表示し、ポインティングデバイスで操作するような操作子も含むものとする。   The operation element is described as an example of hardware provided on the external panel as shown in FIG. 2, but includes an operation element that displays an image of the operation element on the screen and is operated by a pointing device. Shall be.

本発明の実施の形態に係る電子楽器のハードウェア構成例を示す図The figure which shows the hardware structural example of the electronic musical instrument which concerns on embodiment of this invention 電子楽器の外部パネルイメージ及び外部から通信コマンドを受信する様子を示すイメージ図Image diagram showing external panel image of electronic musical instrument and communication command received from outside スライダー値とパラメータ現在値の変化の例(その1)を示す図A diagram showing an example (part 1) of changes in slider value and current parameter value スライダー値とパラメータ現在値の変化の例(その2)を示す図Diagram showing an example (part 2) of changes in slider value and parameter current value CPUが実行する各ルーチンのフローチャートFlow chart of each routine executed by CPU 通信I/Fが実行するコマンド受信ルーチンのフローチャートFlowchart of command reception routine executed by communication I / F 激変緩和タスクルーチンの変形例を示す図Figure showing a variation of the sudden change mitigation task routine 操作子位置変更タスクのフローチャートFlowchart of operator position change task 従来技術でのスライダー値とパラメータ現在値の変化の例(その1)を示す図The figure which shows the example (the 1) of a change of the slider value and parameter current value in a prior art 従来技術でのスライダー値とパラメータ現在値の変化の例(その2)を示す図The figure which shows the example (the 2) of a change of the slider value and parameter current value in a prior art

符号の説明Explanation of symbols

100…電子楽器、101…CPU(中央処理装置)、102…RAM(ランダムアクセスメモリ)、103…ROM(リードオンリメモリ)、104…音源、105…操作子、106…検出回路、107…表示部、108…表示回路、109…通信インターフェース(I/F)、110…外部機器、111…増幅回路、112…スピーカー。   DESCRIPTION OF SYMBOLS 100 ... Electronic musical instrument, 101 ... CPU (central processing unit), 102 ... RAM (random access memory), 103 ... ROM (read-only memory), 104 ... Sound source, 105 ... Operating element, 106 ... Detection circuit, 107 ... Display part 108, display circuit, 109, communication interface (I / F), 110, external device, 111, amplification circuit, 112, speaker.

Claims (8)

スライダー操作子を備えた電子楽器であって、
前記スライダーの操作開始を検出する手段と、
前記操作開始から所定時間待機し、該所定時間の後に、前記スライダーの位置に応じた値をパラメータ現在値として設定する手段と
を備えることを特徴とする電子楽器。
An electronic musical instrument with a slider operator,
Means for detecting the start of operation of the slider;
An electronic musical instrument comprising: means for waiting for a predetermined time from the start of the operation, and setting a value corresponding to the position of the slider as a parameter current value after the predetermined time.
スライダー操作子を備えた電子楽器であって、
前記スライダーの操作開始を検出する手段と、
前記操作開始から所定時間待機し、該所定時間の後に、前記スライダーの位置に応じた値をパラメータ現在値として設定するとともに、該所定時間が経過する前に前記スライダーの位置に応じた値がパラメータ現在値に至ったことが検出された場合は、前記所定時間の経過を待つことなくその時点の前記スライダーの位置に応じた値をパラメータ現在値として設定する手段と
を備えることを特徴とする電子楽器。
An electronic musical instrument with a slider operator,
Means for detecting the start of operation of the slider;
Wait for a predetermined time from the start of the operation, and after the predetermined time, a value corresponding to the position of the slider is set as a parameter current value, and the value corresponding to the position of the slider is set to the parameter before the predetermined time elapses. Means for setting, as a parameter current value, a value corresponding to the position of the slider at that time without waiting for the elapse of the predetermined time when it is detected that the current value has been reached. Musical instrument.
請求項1又は2に記載の電子楽器において、
前記スライダーの位置に応じた値をパラメータ現在値として設定する手段は、パラメータ現在値を徐々に前記スライダーの位置に応じた値まで変化させることを特徴とする電子楽器。
The electronic musical instrument according to claim 1 or 2,
The electronic musical instrument characterized in that the means for setting a value corresponding to the position of the slider as a parameter current value gradually changes the parameter current value to a value corresponding to the position of the slider.
請求項3に記載の電子楽器において、
前記スライダーの位置に応じた値をパラメータ現在値として設定する手段は、パラメータの分解能に応じて、パラメータ現在値を徐々に前記スライダーの位置に応じた値まで変化させる度合いを決定するものであることを特徴とする電子楽器。
The electronic musical instrument according to claim 3,
The means for setting the value according to the position of the slider as the parameter current value determines the degree of gradually changing the parameter current value to the value according to the position of the slider according to the resolution of the parameter. An electronic musical instrument characterized by
請求項1から4の何れか1つに記載の電子楽器において、
前記所定時間は、パラメータ毎に決定することを特徴とする電子楽器。
The electronic musical instrument according to any one of claims 1 to 4,
The electronic musical instrument characterized in that the predetermined time is determined for each parameter.
請求項1から5の何れか1つに記載の電子楽器において、
パラメータ毎に、前記スライダーの操作開始から所定時間待機しないでパラメータ現在値を変化させる方式と、前記スライダーの操作開始から所定時間待機してパラメータ現在値を変化させる方式とを、選択する手段を、さらに備えることを特徴とする電子楽器。
The electronic musical instrument according to any one of claims 1 to 5,
For each parameter, means for selecting a method for changing a parameter current value without waiting for a predetermined time from the start of operation of the slider and a method for changing a parameter current value after waiting for a predetermined time from the start of operation of the slider, An electronic musical instrument further comprising:
コンピュータを、スライダー操作子を備えた電子楽器として動作させるプログラムであって、
前記コンピュータを、
前記スライダーの操作開始を検出する手段と、
前記操作開始から所定時間待機し、該所定時間の後に、前記スライダーの位置に応じた値をパラメータ現在値として設定する手段と
を備える電子楽器として機能させることを特徴とするプログラム。
A program for operating a computer as an electronic musical instrument having a slider operator,
The computer,
Means for detecting the start of operation of the slider;
A program that waits for a predetermined time from the start of the operation and, after the predetermined time, functions as an electronic musical instrument comprising means for setting a value corresponding to the position of the slider as a parameter current value.
コンピュータを、スライダー操作子を備えた電子楽器として動作させるプログラムであって、
前記コンピュータを、
前記スライダーの操作開始を検出する手段と、
前記操作開始から所定時間待機し、該所定時間の後に、前記スライダーの位置に応じた値をパラメータ現在値として設定するとともに、該所定時間が経過する前に前記スライダーの位置に応じた値がパラメータ現在値に至ったことが検出された場合は、前記所定時間の経過を待つことなくその時点の前記スライダーの位置に応じた値をパラメータ現在値として設定する手段と
を備える電子楽器として機能させることを特徴とするプログラム。
A program for operating a computer as an electronic musical instrument having a slider operator,
The computer,
Means for detecting the start of operation of the slider;
Wait for a predetermined time from the start of the operation, and after the predetermined time, a value corresponding to the position of the slider is set as a parameter current value, and the value corresponding to the position of the slider is set to the parameter before the predetermined time elapses. When it is detected that the current value has been reached, the electronic musical instrument is provided with means for setting a value corresponding to the position of the slider as the current parameter value without waiting for the predetermined time to elapse. A program characterized by
JP2008061312A 2008-03-11 2008-03-11 Electronic musical instrument and its program Expired - Fee Related JP4941673B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008061312A JP4941673B2 (en) 2008-03-11 2008-03-11 Electronic musical instrument and its program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008061312A JP4941673B2 (en) 2008-03-11 2008-03-11 Electronic musical instrument and its program

Publications (2)

Publication Number Publication Date
JP2009217025A true JP2009217025A (en) 2009-09-24
JP4941673B2 JP4941673B2 (en) 2012-05-30

Family

ID=41188941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008061312A Expired - Fee Related JP4941673B2 (en) 2008-03-11 2008-03-11 Electronic musical instrument and its program

Country Status (1)

Country Link
JP (1) JP4941673B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04324898A (en) * 1991-04-25 1992-11-13 Kawai Musical Instr Mfg Co Ltd Output controller
JPH04324897A (en) * 1991-04-25 1992-11-13 Kawai Musical Instr Mfg Co Ltd Output controller
JPH0876760A (en) * 1994-08-31 1996-03-22 Kawai Musical Instr Mfg Co Ltd Tempo speed controller of automatic playing device
JPH10133676A (en) * 1996-10-30 1998-05-22 Pioneer Electron Corp Information read control method
JP2004080735A (en) * 2002-06-17 2004-03-11 Yamaha Corp Setting updating system and updating program
JP2005136653A (en) * 2003-10-30 2005-05-26 Yamaha Corp Parameter control method, parameter controller, and program
JP2005277490A (en) * 2004-03-23 2005-10-06 Yamaha Corp Acoustic signal processing apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04324898A (en) * 1991-04-25 1992-11-13 Kawai Musical Instr Mfg Co Ltd Output controller
JPH04324897A (en) * 1991-04-25 1992-11-13 Kawai Musical Instr Mfg Co Ltd Output controller
JPH0876760A (en) * 1994-08-31 1996-03-22 Kawai Musical Instr Mfg Co Ltd Tempo speed controller of automatic playing device
JPH10133676A (en) * 1996-10-30 1998-05-22 Pioneer Electron Corp Information read control method
JP2004080735A (en) * 2002-06-17 2004-03-11 Yamaha Corp Setting updating system and updating program
JP2005136653A (en) * 2003-10-30 2005-05-26 Yamaha Corp Parameter control method, parameter controller, and program
JP2005277490A (en) * 2004-03-23 2005-10-06 Yamaha Corp Acoustic signal processing apparatus

Also Published As

Publication number Publication date
JP4941673B2 (en) 2012-05-30

Similar Documents

Publication Publication Date Title
JP5771936B2 (en) Parameter adjustment device and acoustic adjustment table
JP2007072574A (en) Parameter setting method
JP6168418B2 (en) Parameter editing apparatus and program
KR20090004889A (en) Hearing aid adjusting apparatus, hearing aid, and program
JP4941673B2 (en) Electronic musical instrument and its program
JP2007071448A (en) Heater
JP4985487B2 (en) Electronic musical instrument and its program
JP5294139B2 (en) Electronic music apparatus and program
JP4958012B2 (en) Electronic musical instruments
US9916824B2 (en) Electronic percussion controller, instrument and method
JP5610376B2 (en) Parameter control apparatus and method
JP4214777B2 (en) Help display device and program
JP5267274B2 (en) Electronic music equipment
JP2016201727A (en) Equalizer setting device
US10069582B2 (en) Parameter setting apparatus and method
EP3940508A1 (en) Input system, presentation device, and control method
JP2018146832A (en) Electronic musical instrument
WO2017037882A1 (en) Remote controller
KR100462607B1 (en) Apparatus and method for managing undo/redo
JP5332794B2 (en) Acoustic signal processing device
JP5407966B2 (en) Acoustic adjustment console
JP3960292B2 (en) Equalizer characteristic setting device
JP6070186B2 (en) Recorder
JP4614146B2 (en) Mixer system
JP2007124263A (en) Sound input switching device, its control method and program for control

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110119

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110920

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120116

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: 20120201

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: 20120214

R150 Certificate of patent or registration of utility model

Ref document number: 4941673

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: 20150309

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees