JP4985487B2 - Electronic musical instrument and its program - Google Patents
Electronic musical instrument and its program Download PDFInfo
- Publication number
- JP4985487B2 JP4985487B2 JP2008061313A JP2008061313A JP4985487B2 JP 4985487 B2 JP4985487 B2 JP 4985487B2 JP 2008061313 A JP2008061313 A JP 2008061313A JP 2008061313 A JP2008061313 A JP 2008061313A JP 4985487 B2 JP4985487 B2 JP 4985487B2
- Authority
- JP
- Japan
- Prior art keywords
- slider
- parameter
- command
- value
- pseudo
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000008859 change Effects 0.000 claims description 26
- 238000004891 communication Methods 0.000 claims description 26
- 230000006870 function Effects 0.000 claims description 14
- 238000000034 method Methods 0.000 description 38
- 230000008569 process Effects 0.000 description 15
- 238000012545 processing Methods 0.000 description 15
- 230000004048 modification Effects 0.000 description 9
- 238000012986 modification Methods 0.000 description 9
- 230000000116 mitigating effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
本発明は、外部通信コマンドで、電子楽器の操作子を操作したかのような状態を作る技術に関する。 The present invention relates to a technique for creating a state as if an operator of an electronic musical instrument was operated with an external communication command.
従来より、電子楽器には、音量レベルなどの各種のパラメータ値を設定/変更するためのスライダー(フェーダー)を備えたものが知られている。通常、外部パネル上のスライダーの数より設定/変更したいパラメータの数の方が多いため、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
図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
一方、従来の電子楽器では、上述したように外部パネル上の操作子を操作して各種のパラメータ値を設定/変更するのに加え、外部機器からのコマンドを受けて各種のパラメータ値を設定/変更する技術も知られている。例えば、MIDI Contorol Changeや、MIDI SysExである。これらは、直接的にパラメータを特定して当該パラメータの値を変更するものであった。 On the other hand, in the conventional electronic musical instrument, in addition to setting / changing various parameter values by operating the controls on the external panel as described above, various parameter values can be set / received by receiving commands from an external device. The technology to change is also known. For example, MIDI Control Change or MIDI SysEx. These directly specify a parameter and change the value of the parameter.
上述したように、外部パネル上の操作子を操作する代わりに、通信コマンドでパラメータ値を設定/変更する場合、パラメータの値の操作はできるが、操作子そのものをコントロールすることはできなかった。例えば、楽器教室で先生の機器から生徒の機器をコントロールしたい場合などがあるが、通信コマンドを使用して先生の機器から生徒の機器のパラメータ値を直接的に設定/変更しても、生徒は、どのような操作をすればそのパラメータ値の変更が行われるか分からないことがある。 As described above, when the parameter value is set / changed by a communication command instead of operating the operator on the external panel, the parameter value can be manipulated, but the operator itself cannot be controlled. For example, you may want to control a student's device from a teacher's device in a musical instrument classroom, but if you use a communication command to set / change the parameter value of a student's device directly from the teacher's device, , You may not know what operation will change the parameter value.
本発明は、各種パラメータ値を設定/変更する操作子を備えた電子楽器において、外部から通信コマンドを使用して、操作子が操作された状態をリモートコントロールすることができる技術を提供することを目的とする。 The present invention provides a technique capable of remotely controlling an operating state of an operating element using an external communication command in an electronic musical instrument having an operating element for setting / changing various parameter values. Objective.
上記目的を達成するため、請求項1に係る発明は、各種パラメータ値を設定/変更する操作子を備えた電子楽器であって、通信コマンドを受信する手段と、受信した通信コマンドが、擬似的に操作子が操作されたかのようなイベントを発生させる擬似操作子操作コマンドであるか否か判定する手段と、受信した通信コマンドが擬似操作子操作コマンドであった場合は、該擬似操作子操作コマンドに応じた操作子操作イベントを発生する手段と、前記操作子操作イベントの発生から所定時間待機し、該所定時間の後に、パラメータの分解能に応じた度合いで、パラメータ現在値を前記操作子操作イベントに基づく目標値まで徐々に変化させ、前記操作子操作イベントに基づく目標値をパラメータ現在値として設定する手段とを備えることを特徴とする。また請求項3に係る発明は、コンピュータを前記電子楽器として機能させることを特徴とするプログラムである。
In order to achieve the above object, an invention according to
前記擬似操作子操作コマンドが、ムービング機能付きのスライダーの操作を指示するコマンドであり、その擬似操作子操作コマンドに応じて、前記ムービング機能付きのスライダーの位置を設定するようにしてもよい。なお、前記操作子は、画面上にイメージを表示し、ポインティングデバイスなどで操作するものを含むものとする。また、画面上に当該操作子に対応するパラメータ値の表示が為されている場合は、その表示についても擬似操作子操作コマンドに応じて変更するものとする。 The pseudo operation element operation command is a command for instructing the operation of the slider with a moving function, and the position of the slider with the moving function may be set according to the pseudo operation element operation command. The operation element includes an image displayed on a screen and operated with a pointing device or the like. Further, when the parameter value corresponding to the operation element is displayed on the screen, the display is also changed according to the pseudo-operation element operation command.
本発明によれば、単にパラメータ値を変更するだけでなく、あたかもリモート先の操作子を操作したかのような遠隔操作ができる。そのため、先生の機器と生徒の機器とを接続してなるような電子楽器の教育システム、インターネットなどのネットを介して行う電子楽器のネットレッスンなどに有効である。例えば、先生の機器から生徒の機器へと擬似操作子操作コマンドを送れば、パラメータ値が変わるだけでなく、あたかも生徒側の機器の操作子を操作したような挙動になる。そのため、生徒は、どのような操作を行うべきなのかを明確に把握できるようになる。機器/操作子/対象パラメーターによっては、操作子の操作しても即座にパラメータ値に反映されず、一定時間おいてからパラメータ値が変更されるものがある。本発明は、このようなシチュエーションで有効に働くものである。 According to the present invention, it is possible not only to change the parameter value but also to perform remote operation as if the remote control is operated. Therefore, it is effective for an electronic musical instrument education system in which a teacher's device and a student's device are connected, and an electronic musical instrument net lesson performed via the Internet or the like. For example, if a pseudo-operation element operation command is sent from the teacher's device to the student's device, not only will the parameter value change, but the behavior will be as if the operation device of the student's device was operated. Therefore, the student can clearly grasp what operation should be performed. Some devices / operators / target parameters are not immediately reflected in the parameter value even when the operator is operated, and the parameter value is changed after a certain period of time. The present invention works effectively in such situations.
以下、図面を用いて本発明の実施の形態を説明する。 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
図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
スライダー201も含めて外部パネル上の操作子を操作すると、内部でその操作に応じたイベントが発生し、そのイベントに応じた処理が実行される。これについては、図5などで後述する。また、本実施形態の電子楽器では、外部ネットワーク130や外部機器110から通信コマンドを入力し、該通信コマンドに応じた処理を実行する機能を備える。特に、通信コマンドは「擬似操作子操作コマンド」を含む。「擬似操作子操作コマンド」とは、当該電子楽器の操作子201〜203が操作されたかのようなイベントを発生させるコマンドである。「擬似操作子操作コマンド」を入力したときの処理については、図6などで後述する。
When an operator on the external panel including the
図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
図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
図5(a)は、CPU101が実行するメインルーチンのフローチャートを示す。ステップ501でイベント検出を行い、検出されたらステップ502から503に進んで、当該イベントを対応するタスクに発行する。例えば、外部パネル上のスライダーが操作されたときには、スライダー操作イベントが検出され、該スライダー操作イベントが図5(b)のスライダータスクに送られる。他のイベントの場合も同様に、当該イベントがそのイベントに応じたタスクに送られ当該イベントに応じた処理が実行されるが、それについては説明を省略する。
FIG. 5A shows a flowchart of a main routine executed by the
図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
図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
上記図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
図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 /
ステップ603でCPU101に通知されたイベントは、図5(a)のステップ501で検出され、当該イベントに応じたタスクに渡されて当該イベントに応じた処理が実行される。ステップ603でCPU101に通知された擬似操作子操作コマンドに応じた操作子操作イベントは、実際の外部パネル上の操作子が操作された場合に発行される操作子操作イベントと同じであるので、CPU101は、操作子が実際に操作された場合と外部から通信コマンドで入力した場合とを何ら区別することなく、何れの場合も指示された操作子操作コマンドに応じた処理を実行する。
The event notified to the
これにより、外部から通信コマンドを使用して、本実施形態の電子楽器に対して、あたかも操作子そのものが操作されたような状態をリモートコントロールできる。この機能は、例えば楽器教室で先生の機器から生徒の機器をコントロールしたい場合(インターネットなどを介してコントロールする場合も同様)などで有効である。従来技術でも電子楽器の各種のパラメータを外部から設定変更することは可能であったが、そのためにはパラメータとそのパラメータの値を指定したコマンドで行うしかなかった。そのように直接的にパラメータ値が変更されるのでは、生徒は、どのような操作をすればそのパラメータ値の変更が行われるか分からないことが多い。本実施形態では、先生の機器から生徒の機器に擬似操作子操作コマンドを送信することで、パラメータが変わるだけでなく、あたかも生徒側の機器の操作子を操作したような挙動を生徒に見せることができる。機器/操作子/対象パラメータによっては、操作子を操作しても即座にパラメータ値に反映されず、一定時間おいてからパラメータ値が変更されるものがある(例えば上述のスライダー)。本実施形態における外部からのコントロールは、このようなシチュエーションで有効に働く。 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
上記実施形態及び第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
本第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
なお、図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.
100…電子楽器、101…CPU(中央処理装置)、102…RAM(ランダムアクセスメモリ)、103…ROM(リードオンリメモリ)、104…音源、105…操作子、106…検出回路、107…表示部、108…表示回路、109…通信インターフェース(I/F)、110…外部機器、111…増幅回路、112…スピーカー。
DESCRIPTION OF
Claims (3)
通信コマンドを受信する手段と、
受信した通信コマンドが、擬似的に操作子が操作されたかのようなイベントを発生させる擬似操作子操作コマンドであるか否か判定する手段と、
受信した通信コマンドが擬似操作子操作コマンドであった場合は、該擬似操作子操作コマンドに応じた操作子操作イベントを発生する手段と、
前記操作子操作イベントの発生から所定時間待機し、該所定時間の後に、パラメータの分解能に応じた度合いで、パラメータ現在値を前記操作子操作イベントに基づく目標値まで徐々に変化させ、前記操作子操作イベントに基づく目標値をパラメータ現在値として設定する手段と
を備えることを特徴とする電子楽器。 An electronic musical instrument having an operator for setting / changing various parameter values,
Means for receiving a communication command;
Means for determining whether or not the received communication command is a pseudo-manipulator operation command that generates an event as if the manipulator was pseudo-operated;
If the received communication command is a pseudo-manipulator operation command, means for generating an operator operation event according to the pseudo-manipulator operation command;
Wait for a predetermined time from the occurrence of the operation element operation event , and after the predetermined time, gradually change the parameter current value to a target value based on the operation element operation event at a degree according to the resolution of the parameter, An electronic musical instrument comprising: means for setting a target value based on an operation event as a parameter current value .
前記擬似操作子操作コマンドが、ムービング機能付きのスライダーの操作を指示するコマンドであり、その擬似操作子操作コマンドに応じて、前記ムービング機能付きのスライダーの位置を設定することを特徴とする電子楽器。 The electronic musical instrument according to claim 1,
The pseudo-operator operation command is a command for instructing an operation of a slider with a moving function, and the position of the slider with a moving function is set according to the pseudo-operator operation command .
前記コンピュータを、
通信コマンドを受信する手段と、
受信した通信コマンドが、擬似的に操作子が操作されたかのようなイベントを発生させる擬似操作子操作コマンドであるか否か判定する手段と、
受信した通信コマンドが擬似操作子操作コマンドであった場合は、該擬似操作子操作コマンドに応じた操作子操作イベントを発生する手段と、
前記操作子操作イベントの発生から所定時間待機し、該所定時間の後に、パラメータの分解能に応じた度合いで、パラメータ現在値を前記操作子操作イベントに基づく目標値まで徐々に変化させ、前記操作子操作イベントに基づく目標値をパラメータ現在値として設定する手段と
を備える電子楽器として機能させることを特徴とするプログラム。 A program for operating a computer as an electronic musical instrument having an operator for setting / changing various parameter values,
The computer,
Means for receiving a communication command;
Means for determining whether or not the received communication command is a pseudo-manipulator operation command that generates an event as if the manipulator was pseudo-operated;
If the received communication command is a pseudo-manipulator operation command, means for generating an operator operation event according to the pseudo-manipulator operation command;
Wait for a predetermined time from the occurrence of the operation element operation event , and after the predetermined time, gradually change the parameter current value to a target value based on the operation element operation event at a degree according to the resolution of the parameter, A program that functions as an electronic musical instrument comprising: means for setting a target value based on an operation event as a parameter current value .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008061313A JP4985487B2 (en) | 2008-03-11 | 2008-03-11 | Electronic musical instrument and its program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008061313A JP4985487B2 (en) | 2008-03-11 | 2008-03-11 | Electronic musical instrument and its program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009217026A JP2009217026A (en) | 2009-09-24 |
| JP4985487B2 true JP4985487B2 (en) | 2012-07-25 |
Family
ID=41188942
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008061313A Expired - Fee Related JP4985487B2 (en) | 2008-03-11 | 2008-03-11 | Electronic musical instrument and its program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4985487B2 (en) |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0648978Y2 (en) * | 1989-03-20 | 1994-12-12 | パイオニア株式会社 | Volume control device |
| JP3525825B2 (en) * | 1999-09-28 | 2004-05-10 | ヤマハ株式会社 | Mobile radio terminal with remote control function for electronic musical instruments |
| JP3882788B2 (en) * | 2003-06-13 | 2007-02-21 | ヤマハ株式会社 | Application software remote control method and electronic keyboard instrument |
| JP4232685B2 (en) * | 2004-05-07 | 2009-03-04 | ヤマハ株式会社 | Mixer device control method, mixer device, and program |
| JP2007025408A (en) * | 2005-07-20 | 2007-02-01 | Yamaha Corp | Electronic musical instrument |
| JP4904868B2 (en) * | 2006-03-20 | 2012-03-28 | ヤマハ株式会社 | Remote control device, acoustic device to be controlled, and remote control program |
| JP4572874B2 (en) * | 2006-06-08 | 2010-11-04 | ヤマハ株式会社 | Electronic musical instrument main body apparatus and program thereof |
-
2008
- 2008-03-11 JP JP2008061313A patent/JP4985487B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009217026A (en) | 2009-09-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6214651B2 (en) | Microphone array controller | |
| JP4626453B2 (en) | Parameter setting method | |
| JP5214968B2 (en) | Object discovery method and system, device control method and system, interface, and pointing device | |
| DE102008020340B4 (en) | Gesture-controlled MIDI instrument | |
| JP5217526B2 (en) | Amplifier control device, program and amplifier system | |
| JP4985487B2 (en) | Electronic musical instrument and its program | |
| CN113556596A (en) | Shortcut key control method, device, device and storage medium | |
| JP4941673B2 (en) | Electronic musical instrument and its program | |
| JP5407965B2 (en) | Acoustic adjustment console | |
| JP2011103527A (en) | Control apparatus | |
| JP4210952B2 (en) | Digital mixer | |
| JP4958012B2 (en) | Electronic musical instruments | |
| JP4214777B2 (en) | Help display device and program | |
| US20220291747A1 (en) | Input system, presentation device, and control method | |
| WO2018043676A1 (en) | Parameter setting device and method in signal processing device | |
| JP5267274B2 (en) | Electronic music equipment | |
| JP2009180763A (en) | Electronic musical device and program | |
| JP4765494B2 (en) | Acoustic signal processing device | |
| JP4210951B2 (en) | Digital mixer | |
| JP4614146B2 (en) | Mixer system | |
| JP4471102B2 (en) | Mixer and program | |
| JP5077816B2 (en) | Acoustic equipment with touch panel | |
| KR101053568B1 (en) | How to operate PAS button | |
| CN118939117A (en) | Operation feedback method and display device | |
| JP2009239379A (en) | Parameter access method for acoustic device, and acoustic device |
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: 20111031 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111230 |
|
| 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: 20120403 |
|
| 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: 20120416 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150511 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |