JPH06175652A - Parameter input device and playing operation device of electronic musical instrument - Google Patents

Parameter input device and playing operation device of electronic musical instrument

Info

Publication number
JPH06175652A
JPH06175652A JP4330505A JP33050592A JPH06175652A JP H06175652 A JPH06175652 A JP H06175652A JP 4330505 A JP4330505 A JP 4330505A JP 33050592 A JP33050592 A JP 33050592A JP H06175652 A JPH06175652 A JP H06175652A
Authority
JP
Japan
Prior art keywords
parameter
tablet
musical instrument
electronic musical
point
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.)
Pending
Application number
JP4330505A
Other languages
Japanese (ja)
Inventor
Shinichi Ota
慎一 大田
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 JP4330505A priority Critical patent/JPH06175652A/en
Publication of JPH06175652A publication Critical patent/JPH06175652A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To improve the operability by inputting timbre parameters and parameters of effects for the electronic musical instrument on a tablet. CONSTITUTION:Operation points on the tablet are sampled and vectors Vk connecting respective sampling points Pk (k=0, 1, 2...) are assumed. A parameter increased or decreased corresponding to the angle of rotation of the direction of a current vector to the direction of the vector V0 in the initial motion of operation. Whether the parameter value is to be increased or decreased depends upon the rotational direction of the operation points. The rotational direction of the operation points is detected from differences (variation) in inclination of the vectors.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子楽器における音源
の音色パラメータ等の設定操作を行うためのパラメータ
入力装置、および、電子楽器における演奏効果等を制御
するための電子楽器の演奏操作装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parameter input device for setting a tone color parameter or the like of a sound source in an electronic musical instrument, and a musical performance operating device for an electronic musical instrument for controlling a musical effect in the electronic musical instrument. .

【0002】[0002]

【従来の技術】従来、電子楽器において、波形信号に音
色変化を与えるフィルタの特性や波形にエンベロープを
付与するときのエンベロープ形状などを各種の音源パラ
メータによって設定し、この音源パラメータを変えるこ
とで多くの音色を設定できるものがある。また、このよ
うな音源パラメータの設定変更を行うときは、表示画面
にパラメータ値を表示し、ジョグダイヤル等の操作子を
操作してパラメータを変化させるものがある。
2. Description of the Related Art Conventionally, in electronic musical instruments, the characteristics of a filter that gives a timbre change to a waveform signal and the envelope shape when an envelope is added to a waveform are set by various sound source parameters, and this sound source parameter is often changed. There is one that can set the tone of. In addition, when changing the setting of the sound source parameter, there is a method in which the parameter value is displayed on a display screen and an operator such as a jog dial is operated to change the parameter.

【0003】このジョグダイヤルの操作によれば、ダイ
ヤルの回転方向によってパラメータ値の増加または減少
の方向が決まり、さらに、ダイヤルの回転角度に応じて
パラメータ値が変化するので、例えば数値を直接入力す
る場合よりも変化量を感覚的にとらえやすいという利点
がある。
According to the operation of the jog dial, the direction of increase or decrease of the parameter value is determined by the rotation direction of the dial, and the parameter value changes according to the rotation angle of the dial. There is an advantage that it is easier to perceptually detect the amount of change.

【0004】しかしながら、ジョグダイヤルは、大きさ
の決まっているダイヤルを一定の軸を中心に回転させる
ようになっているので、例えば指でダイヤルを回すとき
に一定の真円を描くように操作しなければならないな
ど、ダイヤルを回す動作に制約があり、操作性の点で問
題がある。
However, since the jog dial is designed to rotate a dial of a fixed size about a fixed axis, for example, when turning the dial with a finger, it must be operated so as to draw a fixed perfect circle. There is a restriction on the operation of turning the dial, such as when it must be performed, and there is a problem in terms of operability.

【0005】ところで、電子楽器において、タブレット
等の二次元面入力操作子を演奏操作子として用い、その
操作面上での入力棒などによる摺動動作を例えば擦弦楽
器における弓の擦弦動作や吹奏楽器における吹奏動作な
どに対応させ、擦弦楽器や吹奏楽器のように比較的長い
時間持続される演奏操作を必要とするようなような楽器
についても、その演奏操作をシミュレートできるように
したものが提案されている。
By the way, in an electronic musical instrument, a two-dimensional surface input operator such as a tablet is used as a performance operator, and a sliding operation by an input rod or the like on the operation surface is performed by, for example, a bowed string operation or a wind instrument in a stringed instrument. For instruments that require a relatively long-time playing operation, such as a stringed instrument or a wind instrument, it is possible to simulate the playing operation by responding to the blowing action in the instrument. Proposed.

【0006】このような二次元面入力操作子は、その操
作面における操作点の位置を検出することができ、操作
面内の操作であればどこを操作しても操作位置に応じた
情報が得られるので、これらの位置情報を上手く処理す
れば操作性のよい入力装置を得ることができる。
Such a two-dimensional surface input operator can detect the position of the operation point on the operation surface, and if any operation is performed on the operation surface, information corresponding to the operation position is obtained. Since such information can be obtained, an input device with good operability can be obtained by properly processing these position information.

【0007】[0007]

【発明が解決しようとする課題】本発明は、このような
二次元面入力操作子に着目し、入力動作の制約を低減し
た操作性のよいパラメータ入力装置および演奏操作子を
提供することを課題とする。
SUMMARY OF THE INVENTION The present invention focuses on such a two-dimensional surface input operator, and provides a parameter input device and a performance operator with reduced operability and good operability. And

【0008】[0008]

【課題を解決するための手段】上記の課題を解決するた
めになした本発明の電子楽器のパラメータ入力装置は、
操作面上の操作点の位置情報を出力する二次元面入力操
作手段と、該二次元面入力操作手段から出力される位置
情報に基づいて前記操作面上を移動する操作点の移動方
向を検出する移動方向検出手段と、前記操作面における
操作点の移動方向の回転角度に応じて電子楽器における
音源のパラメータを増減させるパラメータ制御手段と、
を備えたことを特徴とする。
A parameter input device for an electronic musical instrument according to the present invention, which has been made to solve the above-mentioned problems,
Two-dimensional surface input operation means for outputting position information of the operation point on the operation surface, and detecting a moving direction of the operation point moving on the operation surface based on the position information output from the two-dimensional surface input operation means Moving direction detecting means, and parameter control means for increasing or decreasing the parameters of the sound source in the electronic musical instrument according to the rotation angle of the moving direction of the operation point on the operation surface,
It is characterized by having.

【0009】また、本発明の電子楽器の演奏操作装置
は、操作面上の操作点の位置情報を出力する二次元面入
力操作手段と、該二次元面入力操作手段から出力される
位置情報に基づいて前記操作面上を移動する操作点の移
動方向を検出する移動方向検出手段と、前記操作面にお
ける操作点の移動方向の回転角度に応じて電子楽器にお
ける効果用パラメータを増減させるパラメータ制御手段
と、を備えたことを特徴とする。
In addition, the electronic musical instrument performance operating device of the present invention includes a two-dimensional surface input operating means for outputting position information of an operating point on the operating surface and position information output from the two-dimensional surface input operating means. Based on the movement direction detecting means for detecting the movement direction of the operation point moving on the operation surface based on the operation surface, and the parameter control means for increasing / decreasing the effect parameter in the electronic musical instrument according to the rotation angle of the operation point moving direction on the operation surface. And are provided.

【0010】[0010]

【作用】本発明の電子楽器のパラメータ入力装置および
電子楽器の演奏操作装置において、二次元面入力操作手
段の操作面で例えば円弧状の曲線を描くと、この操作点
の移動方向の回転角度は回転方向に応じて増加または減
少し、これに応じて音源のパラメータまたは効果用パラ
メータが増減する。ここで、操作点の移動方向の回転角
度は、操作面上のどの位置で曲線を描いても検出するこ
とができるので、操作位置に制限されることなく操作を
行うことができる。また、正確に円を描かなくてもパラ
メータを増減させることができる。さらに、同じ速さで
操作した場合、描かれる曲線の曲率が大きいとき回転角
度の時間的な変化量は大きくなり、曲率が小さいとき回
転角度の時間的な変化量は小さくなる。すなわち、小さ
な円を描いてパラメータを速く変化させ、大きな円を描
いてパラメータを遅く変化させることができる。
In the electronic musical instrument parameter input device and electronic musical instrument performance operating device of the present invention, when an arcuate curve is drawn on the operating surface of the two-dimensional surface input operating means, the rotation angle of the operating point in the moving direction is It increases or decreases according to the rotation direction, and the sound source parameter or the effect parameter increases or decreases accordingly. Here, since the rotation angle of the operation point in the moving direction can be detected regardless of the position on the operation surface where a curve is drawn, the operation can be performed without being limited to the operation position. Further, the parameters can be increased or decreased without accurately drawing the circle. Further, when operated at the same speed, the temporal change amount of the rotation angle becomes large when the curvature of the drawn curve is large, and the temporal change amount becomes small when the curvature is small. That is, it is possible to draw a small circle to change the parameter quickly, and to draw a large circle to change the parameter slowly.

【0011】なお、本発明のパラメータ入力装置を演奏
操作子として二次元面入力操作手段を備えた電子楽器に
適用することができ、この場合、演奏操作とパラメータ
入力操作を同じ二次元面上の位置で兼用できるので、例
えば一方の手で演奏モードとパラメータ設定モード等の
切換を行いながら、演奏操作側の手を離さないで、演奏
操作とパラメータ入力操作の両方の操作をスムースに切
り換えることができる。
The parameter input device of the present invention can be applied to an electronic musical instrument having a two-dimensional surface input operation means as a performance operator. In this case, the performance operation and the parameter input operation are performed on the same two-dimensional surface. Since it can be used for both positions, it is possible to switch smoothly between playing operation and parameter input operation, for example, while switching between playing mode and parameter setting mode with one hand without releasing the hand on the playing operation side. it can.

【0012】[0012]

【実施例】図1は本発明を適用した電子楽器のブロック
図である。図において、CPU1、ワーキングRAM
2、プログラムROM3はマイクロコンピュータを構成
しており、CPU1はプログラムROM3に格納されて
いる制御プログラムに基づいてワーキングRAM2のワ
ーキングエリアを使用して電子楽器全体の制御を行う。
演奏時には、鍵盤4からキーコードやキーオン信号等の
演奏情報を取り込み、音源回路5で楽音信号を発生し、
サウンドシステム6で楽音を発生する。
1 is a block diagram of an electronic musical instrument to which the present invention is applied. In the figure, CPU1, working RAM
2. The program ROM 3 constitutes a microcomputer, and the CPU 1 controls the entire electronic musical instrument using the working area of the working RAM 2 based on the control program stored in the program ROM 3.
At the time of performance, performance information such as a key code and a key-on signal is fetched from the keyboard 4, and a tone signal is generated by the tone generator circuit 5,
The sound system 6 produces musical tones.

【0013】音源回路5はCPU1によって設定される
音色パラメータに応じた楽音信号を発生するものであ
り、この音源回路5の音色パラメータを設定変更するこ
とにより音色等が変化する。そして、この音色パラメー
タの設定変更は、本発明実施例のパラメータ入力装置に
より行う。なお、この実施例では、モード設定スイッチ
7でパラメータ設定モードを選択し、表示器8によるパ
ラメータ値の表示をするとともに、二次元面入力操作手
段としてのタブレット9の操作によりパラメータの増減
を行う。
The tone generator circuit 5 generates a tone signal in accordance with the tone color parameter set by the CPU 1. By changing the tone color parameter of the tone generator circuit 5, the tone color or the like changes. The tone color parameter setting is changed by the parameter input device according to the embodiment of the present invention. In this embodiment, the parameter setting mode is selected with the mode setting switch 7, the parameter value is displayed on the display 8, and the parameter is increased or decreased by operating the tablet 9 as the two-dimensional surface input operation means.

【0014】タブレット9は操作面が押圧されているか
否かを示す信号を出力するとともに、操作面に設定され
たX−Y座標系に基づいてこの操作面上の押圧点である
操作点の座標を座標信号X,Yとして出力する。また、
CPU1は割込みクロック発生器10が発生する割込み
クロックに基づいて後述説明するタブレットイベント処
理を行い、タブレット9の座標信号X,Yを取り込んで
各種演算を行い、音源回路5の音色パラメータを増減す
る。
The tablet 9 outputs a signal indicating whether or not the operating surface is pressed, and the coordinates of the operating point, which is the pressing point on the operating surface, are output based on the XY coordinate system set on the operating surface. Are output as coordinate signals X and Y. Also,
The CPU 1 performs tablet event processing, which will be described later, based on the interrupt clock generated by the interrupt clock generator 10, fetches coordinate signals X and Y of the tablet 9, performs various calculations, and increases or decreases the tone color parameter of the tone generator circuit 5.

【0015】ここで、この実施例では、指または入力棒
等によりタブレット9の操作面上で右廻りに曲線を描く
とパラメータが増加し、左廻りに曲線を描くとパラメー
タが減少するようにしている。また、図2に示したよう
に、入力操作の初動時の操作点P0 の移動方向Aを基準
にして現在の操作点Pn の移動方向Bの方位角Θを曲線
Cの回転角度Θとして求め、この回転角度Θに応じた量
だけ初動時のパラメータ値を変化させて現在のパラメー
タ値としている。なお、この実施例ではパラメータ値の
増減に対応させて、曲線Cのように右廻りに旋回された
ときの回転角度Θを正の値、曲線C' のように左廻りに
旋回されたときの回転角Θ' を負の値とする。
In this embodiment, when a curve is drawn clockwise on the operation surface of the tablet 9 with a finger or an input stick, the parameter is increased, and when a curve is drawn counterclockwise, the parameter is decreased. There is. Further, as shown in FIG. 2, the azimuth angle Θ of the current operation point P n in the movement direction B is set as the rotation angle Θ of the curve C with reference to the movement direction A of the operation point P 0 at the initial movement of the input operation. The current parameter value is obtained by changing the parameter value at the time of initial movement by an amount corresponding to the rotation angle Θ. In this embodiment, the rotation angle Θ when turning clockwise as shown by the curve C and a positive value when turning clockwise as shown by the curve C corresponding to the increase or decrease of the parameter value, and when turning left as shown by the curve C ′ are shown. The rotation angle Θ'is a negative value.

【0016】次に、このような回転角度を求める演算方
法と旋回方向の判定方法とについて説明する。いま、図
3のような曲線Cを描いたとき、CPU1による座標信
号X,Yのサンプリングにより、この曲線C上の不連続
なサンプリング点Pk (k=0,1,2,…)のXY座
標が得られる。なお、このサンプリングの間隔は割込み
クロック発生回路10による割込み間隔で決まるが、タ
ブレット9における分解能や演算処理時間を考慮して所
定の間隔に設定されている。なお、図3ではわかりやす
くするためにサンプリング点の間隔を広く誇張して図示
してある。
Next, a method of calculating such a rotation angle and a method of determining the turning direction will be described. Now, when the curve C as shown in FIG. 3 is drawn, the XY of the discontinuous sampling points P k (k = 0, 1, 2, ...) On the curve C are sampled by the CPU 1 by sampling the coordinate signals X and Y. The coordinates are obtained. The sampling interval is determined by the interrupt interval by the interrupt clock generation circuit 10, but is set to a predetermined interval in consideration of the resolution of the tablet 9 and the calculation processing time. Note that in FIG. 3, the intervals between sampling points are exaggerated widely for the sake of clarity.

【0017】そこで、各サンプリング点Pk についてそ
の次のサンプリング点Pk+1 を終点とするベクトル(V
0 ,V1 ,V2 ,…)を想定して曲線Cを近似し、各隣
接するベクトル同志の成す角度θk (以後、部分角度と
いう。)を順次加算することにより、最初のベクトルV
0 と現在の操作点Pn に到るベクトルVn-1 のなす角度
を現在の回転角度Θとして求める。
[0017] Thus, for each sampling point P k vectors to the next sampling point P k + 1 and the end point (V
0 , V 1 , V 2 , ...) Assuming that the curve C is approximated and the angles θ k (hereinafter referred to as partial angles) formed by adjacent vectors are sequentially added, the first vector V is added.
The angle formed by 0 and the vector V n-1 reaching the current operation point P n is obtained as the current rotation angle Θ.

【0018】なお、図5に示したように隣接するベクト
ルVn ,Vn+1 は3点Pn ,Pn+1,Pn+2 の各座標
(xn ,yn ),(xn+1 ,yn+1 ),(xn+2 ,y
n+2 )によって定まり、このベクトルVn ,Vn+1 のな
す部分角度θn は、ベクトルの内積の関係から、次式
(1)のように各座標(xn ,yn ),(xn+1 ,y
n+1 ),(xn+2 ,yn+2 )から求めることができる。
As shown in FIG. 5, adjacent vectors V n and V n + 1 have coordinates (x n , y n ), (x x) of three points P n , P n + 1 , P n + 2. n + 1 , y n + 1 ), (x n + 2 , y
n + 2 ), and the partial angle θ n formed by the vectors V n and V n + 1 is calculated from the relation of the inner product of the vectors as shown in the following equation (1) at the respective coordinates (x n , y n ), ( x n + 1 , y
n + 1 ), ( xn + 2 , yn + 2 ).

【数1】 [Equation 1]

【0019】ところで、前記のように回転角度Θは右廻
りで正の値、左廻りで負の値としているが、前式(1)
によれば、部分角度θn は、第2のベクトルVn+1 が第
1のベクトルVn の方向に対して左右いずれの方向に向
いているかに関係なく、すなわち、曲線が左右いずれの
方向に旋回しているかには関係なく常に正の値でしか得
られない。そこで、次のように曲線の旋回方向を判定す
ることにより、右に旋回したときは部分角度θn を加算
し、左に旋回したときは部分角度θn を減算するように
している。
By the way, as described above, the rotation angle Θ has a positive value in the clockwise direction and a negative value in the counterclockwise direction.
According to, the partial angle θ n is irrespective of whether the second vector V n + 1 is facing left or right with respect to the direction of the first vector V n , that is, whether the curve is left or right. Regardless of whether you are turning to, you can always get only a positive value. Therefore, by determining the turning direction of the curve as follows, when turning right, the partial angle θ n is added, and when turning left, the partial angle θ n is subtracted.

【0020】ここで、例えば図3の各ベクトルを図4に
示したように各々の始点が原点で一致するようにそれぞ
れ平行移動したとすると、この移動先の座標系は各ベク
トルの成分を表す座標系(以後、方位座標系という。)
になる。そして、タブレット上の曲線が右廻りに旋回し
ているときは、この方位座標系におけるベクトルは原点
を中心に右廻りに回転し、曲線が左廻りに旋回している
ときは左廻りに回転する。また、このとき、方位座標系
で第1象限(I)と第3象限(III )に入るようなベク
トルの傾きは正であり、第2象限(II)と第4象限(I
V) に入るようなベクトルの傾きは負になる。
If, for example, each vector in FIG. 3 is translated in such a manner that the respective starting points coincide with each other at the origin as shown in FIG. 4, the coordinate system of the destination represents the components of each vector. Coordinate system (hereinafter referred to as azimuth coordinate system)
become. Then, when the curve on the tablet turns clockwise, the vector in this azimuth coordinate system rotates clockwise around the origin, and when the curve turns counterclockwise, it turns counterclockwise. . At this time, the inclination of the vector that enters the first quadrant (I) and the third quadrant (III) in the azimuth coordinate system is positive, and the second quadrant (II) and the fourth quadrant (I) are positive.
The slope of the vector that enters V) becomes negative.

【0021】したがって、曲線がタブレット上で右旋回
されてベクトルが方位座標系の第1,第4象限内および
第3,第2象限内を移動するときベクトルの傾きは共に
減少し、曲線がタブレット上で左旋回されて方位座標系
の第2,第3象限内および第4,第1象限内を移動する
ときベクトルの傾きは共に増加する。そこで、このベク
トルの傾きの変化に基づいて旋回方向を検出する。
Therefore, when the curve is turned to the right on the tablet and the vector moves in the first and fourth quadrants and the third and second quadrants of the azimuth coordinate system, the gradient of the vector decreases and the curve becomes When turning left on the tablet and moving in the second and third quadrants and the fourth and first quadrants of the azimuth coordinate system, the inclination of the vector increases. Therefore, the turning direction is detected based on the change in the inclination of this vector.

【0022】しかし、前回のベクトルから今回のベクト
ルに変化するときにベクトルが方位座標系のY軸を横切
るような場合は、ベクトルの傾きは、右回転のときは絶
対値の大きな負の値から大きな正の値へと増加し、左回
転のときは大きな正の値から絶対値の大きな負の値へと
減少する。なお、このようにベクトルが方位座標系のY
軸を横切るような場合を、以後、特異点という。
However, when the vector crosses the Y axis of the azimuth coordinate system when the vector changes from the previous vector to the current vector, the inclination of the vector changes from a negative value having a large absolute value when rotating clockwise. It increases to a large positive value, and when it rotates counterclockwise, it decreases from a large positive value to a large negative absolute value. Note that the vector is Y in the azimuth coordinate system in this way.
The case of crossing the axis is hereinafter referred to as a singular point.

【0023】そこで、第1のベクトルVn から第2のベ
クトルVn+1 へ変化したときの傾きの差(a)を次式
(2)により求めるとともに、現在のベクトルが特異点
のものであるか否かを判定して旋回方向を判定する。す
なわち、特異点以外のとき、a>0であれば左旋回と判
明し、a<0であれば右旋回と判明する。また、特異点
の場合は、逆に、a>0であれば右旋回と判明し、a<
0であれば左旋回と判明する。
[0023] Therefore, with determined by the difference of the slope of the time from the first vector V n is changed second to the vector V n + 1 of (a) the following equation (2), the current vector is that of singularity It is determined whether or not there is a turn direction. That is, when it is not a singular point, it turns out to be a left turn if a> 0, and turns to a right turn if a <0. On the other hand, in the case of a singular point, conversely, if a> 0, it is determined to be a right turn and
If it is 0, it turns out to be a left turn.

【数2】 [Equation 2]

【0024】また、上記の特異点では、第1のベクトル
n から第2のベクトルVn+1 に変化するときX成分の
符号が反転されるので、次式(3)で得られる値(si
ng)が正であれば特異点ではなく、負であれば特異点
であることが判明する。
At the singular point, the sign of the X component is inverted when changing from the first vector V n to the second vector V n + 1 , so the value obtained by the following equation (3) ( si
If ng) is positive, it is not a singular point, and if it is negative, it is a singular point.

【数3】 [Equation 3]

【0025】なお、以上のような曲線の旋回方向の判定
条件を表にすると次表1のようになる。
The following table 1 shows the conditions for determining the turning direction of the curve as described above.

【表1】 [Table 1]

【0026】図6は制御プログラムのメインルーチンの
フローチャート、図7および図8はタブレットイベント
処理のフローチャートであり、各フローチャートに基づ
いて実施例の動作を説明する。なお、以下の説明および
各フローチャートにおいて制御に用いるデータを下記の
ラベルで表記する。 posix:タブレットのX座標出力データ posiy:タブレットのY座標出力データ n:サンプリング点(座標値)の番号 m:部分角度の番号 x〔i〕:番号iのX座標値 y〔i〕:番号iのY座標値 θ〔i〕:番号iの部分角度 θsum:回転角度(Θ) resolution:パラメータ値の1増減量に相当
する角度(解像度) num〔i〕:番号iに対応するパラメータ値 diff. num:パラメータ値の差分
FIG. 6 is a flowchart of the main routine of the control program, and FIGS. 7 and 8 are flowcharts of tablet event processing. The operation of the embodiment will be described based on each flowchart. In the following description and each flowchart, the data used for control will be represented by the following labels. posix: X coordinate output data of the tablet posii: Y coordinate output data of the tablet n: Sampling point (coordinate value) number m: Partial angle number x [i]: X coordinate value of number i y [i]: Number i Y coordinate value θ [i]: Partial angle of number i θsum: Rotation angle (Θ) resolution: Angle corresponding to increment / decrement of parameter value (resolution) num [i]: Parameter value corresponding to number i diff. num: Difference in parameter value

【0027】先ず、電源が投入されると、CPU1は図
6のメイン処理を開始し、ステップS1で各種データの
プリセット等の初期設定を行い、ステップS2で鍵盤4
における鍵イベントを検出して楽音発生処理または消音
処理を行い、ステップS3で、モード設定スイッチ7の
操作状態に応じてモード切換等の処理を行ってステップ
S2に戻る。
First, when the power is turned on, the CPU 1 starts the main processing shown in FIG. 6, performs an initial setting such as presetting of various data in step S1, and the keyboard 4 in step S2.
The key event is detected to perform the tone generation process or the mute process, and in step S3, the process such as mode switching is performed according to the operation state of the mode setting switch 7, and the process returns to step S2.

【0028】図7のタブレットイベント処理は、割込み
クロック発生器10からの割込みクロックにより一定間
隔で起動され、ステップS11で現在設定されているモ
ードを判定し、効果設定モードであればステップS12
で効果データを設定して元の処理に復帰し、音色設定モ
ードであればステップS13で音色データを設定して元
の処理に復帰する。そして、パラメータ設定モードであ
ればステップS14以降の処理を行う。
The tablet event process of FIG. 7 is started at a constant interval by the interrupt clock from the interrupt clock generator 10, and the mode currently set is determined in step S11. If it is the effect setting mode, step S12 is executed.
In step S13, the effect data is set and the process returns to the original process. In the tone color setting mode, the tone color data is set in step S13 and the process returns to the original process. Then, in the parameter setting mode, the processing from step S14 is performed.

【0029】ステップS14では、タブレット9の出力
信号に基づいて現在操作入力されているか否かを判定
し、操作入力されていなければそのまま復帰し、操作入
力されていればステップS15で最初の入力イベントで
あるか否かを判定する。なお、この最初の入力イベント
であるか否かは、タブレット9の出力信号が無くなって
から最初の操作入力であるか否かを判定するものであ
り、イベントが発生した時とイベントが無くなったとき
に所定のフラグ等を反転するなどして記憶しておくこと
ができる。
In step S14, it is determined based on the output signal of the tablet 9 whether or not the operation input is currently made. If the operation input has not been made, the process returns as it is. If the operation input is made, the first input event is made in step S15. Or not. Whether or not this is the first input event is to determine whether or not it is the first operation input after the output signal of the tablet 9 disappears, and when the event occurs and when the event disappears. A predetermined flag or the like may be inverted and stored in the memory.

【0030】最初の入力イベントであればステップS1
6でサンプリング点の番号n、部分角度の番号mおよび
回転角度θsumをリセットしてステップS17に進
み、最初の入力イベントでなければステップS17でタ
ブレット9から出力されている現在のXY座標データp
osix,posiyを配列変数x〔n〕,y〔n〕に
それぞれ取り込んでステップS18に進む。
If it is the first input event, step S1
6, the sampling point number n, the partial angle number m, and the rotation angle θsum are reset, and the process proceeds to step S17. If the event is not the first input event, the current XY coordinate data p output from the tablet 9 in step S17.
osix and pose are respectively taken into the array variables x [n] and y [n], and the process proceeds to step S18.

【0031】ステップS18では、n>0であるか否か
を判定し、n>0でなければ最初の座標データposi
x,posiyを取り込んだ状態であるのでステップS
19でnをインクリメントして元のルーチンに復帰す
る。また、n>0でなければ2番目以降の座標データp
osix,posiyを取り込んだ状態であるのでステ
ップS20で座標データが前回のものと変化しているか
否か、すなわち、タブレット9の操作に変化があったか
否かを判定し、変化していなければそのまま元のルーチ
ンに復帰し、変化していればステップS21でn>1で
あるか否かを判定する。
In step S18, it is determined whether or not n> 0. If n> 0, the first coordinate data posi
Since it is a state in which x and pose are taken in, step S
In step n, n is incremented to return to the original routine. If n> 0, the second and subsequent coordinate data p
Since the osix and the pose are taken in, it is determined in step S20 whether or not the coordinate data has changed from the previous coordinate data, that is, whether or not the operation of the tablet 9 has changed. The routine is returned to, and if it is changed, it is determined in step S21 whether n> 1.

【0032】ステップS21で、n>1でなければ2番
目の座標データposix,posiyを取り込んだ状
態であるのでステップS19でnをインクリメントして
元のルーチンに復帰し、n>1であれば3番目以降の座
標データposix,posiyを取り込んだ状態であ
るので、ステップS22で前掲の式(2)に基づいて回
転角度θ〔m〕の計算を行いステップS23に進む。こ
のように異なる3つのサンプリング点の座標データが取
り込まれてから回転角度θ〔m〕の演算が行われる。
In step S21, if n> 1 is not satisfied, the second coordinate data posix, posey has been fetched. Therefore, in step S19, n is incremented to return to the original routine, and if n> 1, 3 Since the coordinate data posix and posii after the th-th coordinate are fetched, the rotation angle θ [m] is calculated based on the above equation (2) in step S22, and the process proceeds to step S23. Thus, the rotation angle θ [m] is calculated after the coordinate data of the three different sampling points is fetched.

【0033】ステップS23では、前掲の式(3)に基
づいてベクトルの傾きの差(a)の計算を行い、ステッ
プS24で前掲の式(4)に基づいて特異点を判定する
ための値(sign)の計算を行い、図8のステップS
25に進む。
In step S23, the difference (a) between the vector inclinations is calculated based on the above-mentioned equation (3), and in step S24, the value (for determining the singular point based on the above-mentioned equation (4) ( sign) is calculated and step S in FIG.
Go to 25.

【0034】図8のステップS25では、前掲の表1の
条件に基づいて右旋回の条件を満足するか否かを判定
し、条件を満足すれば右旋回であるので、ステップS2
6で現在までの回転角度θsumに現在の部分角度θ
〔m〕を加算して回転角度θsumを更新してステップ
S28に進み、条件を満足しなければ左旋回であるの
で、ステップS27で現在までの回転角度θsumから
現在の部分角度θ〔m〕を減算して回転角度θsumを
更新してステップS28に進む。
In step S25 of FIG. 8, it is determined whether or not the right turning condition is satisfied based on the conditions in Table 1 above. If the condition is satisfied, the right turning is performed.
In 6 the current rotation angle θsum to the current partial angle θ
[M] is added to update the rotation angle θsum, and the process proceeds to step S28. If the condition is not satisfied, the vehicle is turning left. Therefore, in step S27, the current rotation angle θsum is changed to the current partial angle θ [m]. The subtraction is performed to update the rotation angle θsum, and the process proceeds to step S28.

【0035】ステップS28では、回転角度θsumを
パラメータ値に変換し、ステップS29でm>0である
か否かを判定する。m>0でなければ最初の部分角度θ
In step S28, the rotation angle θsum is converted into a parameter value, and it is determined in step S29 whether m> 0. If m> 0, the first partial angle θ

〔0〕が得られた直後であるので、ステップS30でパ
ラメータ値の差分diff. numを初期値にセットしてス
テップS32に進み、m>0であればステップS31で
パラメータ値の差分をdiff. numに格納してステップ
S32に進む。
Immediately after [0] is obtained, the parameter value difference diff.num is set to an initial value in step S30, and the process proceeds to step S32. If m> 0, the parameter value difference is diff.num in step S31. Store in num and go to step S32.

【0036】ステップS32では、diff. numにより
パラメータの増減データを転送するとともに表示器8に
パラメータ値を表示し、ステップS33でn,mをイン
クリメントして元のルーチンに復帰する。
In step S32, the parameter increase / decrease data is transferred by diff.num and the parameter value is displayed on the display unit 8. In step S33, n and m are incremented to return to the original routine.

【0037】以上のようにして、パラメータ設定モード
でタブレット9を操作すると、操作した旋回方向に応じ
てパラメータ値を増加または減少させることができる。
また、正確に円を描かなくても感覚的に丸を描くだけで
連続的にパラメータを増減させることができ、操作に制
約を受けず、自由にリラックスしてパラメータを変更す
ることができる。また、小さな丸を描くことによりパラ
メータが速く増減させることができ、大きな丸を描くこ
とによりパラメータ値を微小変化させることができる。
As described above, when the tablet 9 is operated in the parameter setting mode, the parameter value can be increased or decreased according to the operated turning direction.
Further, even if the circle is not accurately drawn, the parameter can be continuously increased / decreased only by intuitively drawing the circle, the operation is not restricted, and the parameter can be freely relaxed and changed. Also, by drawing a small circle, the parameter can be increased or decreased quickly, and by drawing a large circle, the parameter value can be minutely changed.

【0038】以上の実施例は音源回路の音色パラメータ
を変更するものであるが、この実施例と同様にタブレッ
ト上の操作点の軌跡の回転角度を検出し、この回転角度
に応じて効果パラメータを増減させることができる。こ
れにより、タブレット上の操作位置に制限されずに自由
な操作で楽音の効果を制御することができる。
In the above embodiment, the tone color parameter of the tone generator circuit is changed. However, similarly to this embodiment, the rotation angle of the locus of the operating point on the tablet is detected, and the effect parameter is set according to this rotation angle. Can be increased or decreased. As a result, the effect of musical sound can be controlled by free operation without being limited to the operation position on the tablet.

【0039】例えば、図9に示したように一回の操作で
右廻りと左廻りを行うと効果パラメータが増加して減少
する。なお、制御する効果の一例としては、このように
タブレット上で「8」の字や「∞」の字を連続して描く
とパラメータが増減を繰り返すので、パンニングの制御
や、ビブラートの制御などに適したものとなる。また、
ピッチベンド等を制御するようにしてもよい。
For example, as shown in FIG. 9, when turning clockwise and counterclockwise with one operation, the effect parameter increases and decreases. As an example of the control effect, when the character "8" and the character "∞" are continuously drawn on the tablet in this way, the parameter repeatedly increases and decreases. Therefore, it is possible to control panning and vibrato. It will be suitable. Also,
Pitch bend and the like may be controlled.

【0040】さて、前記従来の電子楽器のような演奏用
のタブレットを本発明における音色パラメータの設定や
効果の制御に共用するようにする。この場合、演奏操作
とパラメータ入力操作あるいは効果の制御操作を同じタ
ブレットでできるので、例えば左手で鍵盤の演奏をしな
がら右手でタブレットを操作して音に表情付けをしてい
る状態から、左手でモード切換スイッチを押してパラメ
ータ入力モードあるいは効果制御モードとして、演奏操
作側の手を離さないでそのままタブレットをパラメータ
入力操作あるいは効果の制御操作にスムースに切り換え
ることができる。
Now, the playing tablet such as the conventional electronic musical instrument is commonly used for setting the tone color parameter and controlling the effect in the present invention. In this case, the performance operation and parameter input operation or effect control operation can be performed with the same tablet, so for example, while playing the keyboard with the left hand while operating the tablet with the right hand to express the sound, with the left hand As a parameter input mode or an effect control mode by pressing the mode changeover switch, the tablet can be smoothly switched to a parameter input operation or an effect control operation without releasing the hand on the performance operation side.

【0041】なお、上記の実施例では、二次元面入力操
作手段としてタブレットを用いた場合について説明した
が、例えばCRTや液晶パネル等の画面を操作面として
マウス等によってポインタ(カーソル)を移動させるも
のなど、他のポインティングデバイスを用いるようにも
できる。
In the above embodiment, the case where the tablet is used as the two-dimensional surface input operation means has been described, but the pointer (cursor) is moved by the mouse or the like with the screen of the CRT or the liquid crystal panel or the like as the operation surface. Other pointing devices, such as ones, can also be used.

【0042】[0042]

【発明の効果】以上説明したように本発明によれば、タ
ブレット等の二次元面入力操作手段の操作面上の操作点
の移動方向を検出し、この移動方向の回転角度に応じて
電子楽1における音源のパラメータあるいは効果用パラ
メータを増減させるようにしたので、操作位置に制限さ
れることなく操作を行うことができ、入力動作の制約を
低減した操作性のよい入力装置を得ることができる。
As described above, according to the present invention, the moving direction of the operation point on the operation surface of the two-dimensional surface input operation means such as a tablet is detected, and the electronic music is detected according to the rotation angle of this operation direction. Since the parameter of the sound source or the parameter for effect in 1 is increased / decreased, the operation can be performed without being limited to the operation position, and the input device with good operability in which the constraint of the input operation is reduced can be obtained. .

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

【図1】本発明の実施例を適用した電子楽器のブロック
図である。
FIG. 1 is a block diagram of an electronic musical instrument to which an embodiment of the present invention is applied.

【図2】実施例におけるタブレット上の回転角度を説明
する図である。
FIG. 2 is a diagram illustrating a rotation angle on a tablet in an example.

【図3】実施例におけるサンプリング点とベクトルの関
係を説明する図である。
FIG. 3 is a diagram illustrating the relationship between sampling points and vectors in the example.

【図4】実施例における方位座標系を説明する図であ
る。
FIG. 4 is a diagram illustrating an azimuth coordinate system in the example.

【図5】実施例における部分角度を説明する図である。FIG. 5 is a diagram illustrating partial angles in the example.

【図6】実施例におけるメインルーチンのフローチャー
トである。
FIG. 6 is a flowchart of a main routine in the embodiment.

【図7】実施例におけるタブレットイベント処理のフロ
ーチャートの一部である。
FIG. 7 is a part of a flowchart of tablet event processing in the embodiment.

【図8】実施例におけるタブレットイベント処理のフロ
ーチャートの他の一部である。
FIG. 8 is another part of the flowchart of tablet event processing in the embodiment.

【図9】実施例におけるタブレット上の操作例を示す図
である。
FIG. 9 is a diagram showing an operation example on the tablet in the embodiment.

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

1…CPU、5…音源回路、9…タブレット。 1 ... CPU, 5 ... Sound source circuit, 9 ... Tablet.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 操作面上の操作点の位置情報を出力する
二次元面入力操作手段と、 該二次元面入力操作手段から出力される位置情報に基づ
いて前記操作面上を移動する操作点の移動方向を検出す
る移動方向検出手段と、 前記操作面における操作点の移動方向の回転角度に応じ
て電子楽器における音源のパラメータを増減させるパラ
メータ制御手段と、を備えたことを特徴とする電子楽器
のパラメータ入力装置。
1. A two-dimensional surface input operation means for outputting position information of an operation point on the operation surface, and an operation point for moving on the operation surface based on the position information output from the two-dimensional surface input operation means. A moving direction detecting means for detecting a moving direction of the electronic instrument, and a parameter control means for increasing or decreasing a parameter of a sound source in the electronic musical instrument according to a rotation angle of the operating point in the moving direction on the operating surface. Instrument parameter input device.
【請求項2】 操作面上の操作点の位置情報を出力する
二次元面入力操作手段と、 該二次元面入力操作手段から出力される位置情報に基づ
いて前記操作面上を移動する操作点の移動方向を検出す
る移動方向検出手段と、 前記操作面における操作点の移動方向の回転角度に応じ
て電子楽器における効果用パラメータを増減させるパラ
メータ制御手段と、を備えたことを特徴とする電子楽器
の演奏操作装置。
2. A two-dimensional surface input operation means for outputting position information of an operation point on the operation surface, and an operation point for moving on the operation surface based on the position information output from the two-dimensional surface input operation means. A moving direction detecting means for detecting a moving direction of the electronic instrument, and a parameter control means for increasing or decreasing an effect parameter in the electronic musical instrument according to a rotation angle of the operating point in the moving direction on the operation surface. Musical instrument performance control device.
JP4330505A 1992-12-10 1992-12-10 Parameter input device and playing operation device of electronic musical instrument Pending JPH06175652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4330505A JPH06175652A (en) 1992-12-10 1992-12-10 Parameter input device and playing operation device of electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4330505A JPH06175652A (en) 1992-12-10 1992-12-10 Parameter input device and playing operation device of electronic musical instrument

Publications (1)

Publication Number Publication Date
JPH06175652A true JPH06175652A (en) 1994-06-24

Family

ID=18233382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4330505A Pending JPH06175652A (en) 1992-12-10 1992-12-10 Parameter input device and playing operation device of electronic musical instrument

Country Status (1)

Country Link
JP (1) JPH06175652A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002156970A (en) * 2000-09-05 2002-05-31 Yamaha Corp System, device, and method for generating musical sound signal
WO2006011342A1 (en) * 2004-07-29 2006-02-02 National University Corporation Kyushu Institute Of Technology Music sound generation device and music sound generation system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002156970A (en) * 2000-09-05 2002-05-31 Yamaha Corp System, device, and method for generating musical sound signal
WO2006011342A1 (en) * 2004-07-29 2006-02-02 National University Corporation Kyushu Institute Of Technology Music sound generation device and music sound generation system
US7504572B2 (en) 2004-07-29 2009-03-17 National University Corporation Kyushu Institute Of Technology Sound generating method

Similar Documents

Publication Publication Date Title
JP3280559B2 (en) Jog dial simulation input device
US4755811A (en) Touch controlled zoom of waveform displays
JP2682364B2 (en) Electronic musical instrument data setting device
CN100340951C (en) Method and apparatus for selecting in screen menu
US5403970A (en) Electrical musical instrument using a joystick-type control apparatus
JP2777348B2 (en) Electronic musical instrument parameter setting device
JPH03184095A (en) Electronic musical instrument
JPH07113832B2 (en) Electronic musical instrument
JPH06175652A (en) Parameter input device and playing operation device of electronic musical instrument
JP3367116B2 (en) Electronic musical instrument
JP3183385B2 (en) Performance information input device for electronic musical instruments
JP3008419B2 (en) Electronic musical instrument
JP2004348604A (en) Pointer cursor control device and electronic apparatus equipped with the device
JP4389501B2 (en) Image processing device
JP3890936B2 (en) Performance learning apparatus and performance learning processing program
JP4506153B2 (en) Parameter setting device and parameter setting program
JPH03161799A (en) Electronic musical instrument
JP2643527B2 (en) Music synthesizer
JPH05341777A (en) Parameter controller of electronic musical instrument
JP3801722B2 (en) Musical sound control parameter generator
JP2879504B2 (en) Electronic musical instrument
JP2000250702A (en) Cursor position input device
JP2836415B2 (en) Electronic musical instrument editing device
JP3398982B2 (en) Electronic musical instrument
JPH0128396B2 (en)

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20021203