Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6281198B2 - INPUT DEVICE, PERFORMANCE DEVICE, INPUT METHOD, AND PROGRAM - Google Patents
[go: Go Back, main page]

JP6281198B2 - INPUT DEVICE, PERFORMANCE DEVICE, INPUT METHOD, AND PROGRAM - Google Patents

INPUT DEVICE, PERFORMANCE DEVICE, INPUT METHOD, AND PROGRAM Download PDF

Info

Publication number
JP6281198B2
JP6281198B2 JP2013154125A JP2013154125A JP6281198B2 JP 6281198 B2 JP6281198 B2 JP 6281198B2 JP 2013154125 A JP2013154125 A JP 2013154125A JP 2013154125 A JP2013154125 A JP 2013154125A JP 6281198 B2 JP6281198 B2 JP 6281198B2
Authority
JP
Japan
Prior art keywords
performance
data
detection means
detecting
operator
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.)
Active
Application number
JP2013154125A
Other languages
Japanese (ja)
Other versions
JP2015025883A (en
Inventor
佐々木 博之
博之 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2013154125A priority Critical patent/JP6281198B2/en
Publication of JP2015025883A publication Critical patent/JP2015025883A/en
Application granted granted Critical
Publication of JP6281198B2 publication Critical patent/JP6281198B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

本発明は、例えば電子打楽器等に用いて好適な入力装置、演奏装置、入力方法およびプログラムに関する。 The present invention relates to an input device, a performance device, an input method, and a program suitable for use in, for example, an electronic percussion instrument.

動作を検出して操作入力を発生する入力装置が知られている。例えば特許文献1には、角速度を検出する圧電ジャイロセンサをスティックに設け、ユーザがこのスティックを把持して下向きに振ったり右向きに振ったりすると、その動作を検出したセンサ出力(角速度)の下向き/右向きの各成分でスネアドラム音/シンバル音を指定し、センサ出力レベルで音量を指定する操作入力を発生する技術が開示されている。   An input device that detects an operation and generates an operation input is known. For example, in Patent Document 1, a piezoelectric gyro sensor for detecting an angular velocity is provided on a stick, and when a user grips the stick and swings downward or swings to the right, the sensor output (angular velocity) that detects the downward movement / A technique for generating an operation input for designating a snare drum sound / cymbal sound with each component facing right and designating a volume with a sensor output level is disclosed.

また、特許文献2には、加速度および角速度を検出する動作検出手段を、ユーザの左右両手に各々把持されるスティックに設け、各スティックの動作検出手段によりそれぞれ検出される加速度および角速度に基づきスティック同士が束ねられて一体化した状態であるか否かを判別し、スティック同士が束ねられて一体化した状態と判別された場合に、各スティックの動作検出手段が各々検出した加速度および角速度に従い、演奏動作とは異なる動きで他の動作モードの操作入力を発生する技術が開示されている。   Further, in Patent Document 2, motion detection means for detecting acceleration and angular velocity are provided on sticks held by the user's left and right hands, and the sticks are detected based on the acceleration and angular velocity respectively detected by the motion detection means of each stick. If the sticks are bundled and integrated, it is determined whether the sticks are bundled and integrated, according to the acceleration and angular velocity detected by the movement detection means of each stick. A technique for generating an operation input in another operation mode by a motion different from the operation is disclosed.

特開平06−75571号公報Japanese Patent Laid-Open No. 06-75571 特開2012−93603号公報JP 2012-93603 A

ところで、上記特許文献2に開示の技術では、スティック同士を束ねて一体化するという演奏動作を妨げる動きをした場合に、他の動作モードの操作入力を発生する為、演奏動作を妨げること無く、例えば楽譜表示や曲データを自動演奏するシーケンサソフトなどの他のアプリケーションへの入力操作を発生させることが出来ない、という問題が有る。   By the way, in the technique disclosed in the above-mentioned Patent Document 2, when a movement that hinders the performance operation of bundling and integrating sticks is generated, an operation input in another operation mode is generated. For example, there is a problem that it is not possible to generate an input operation to another application such as a score display or sequencer software for automatically playing music data.

そこで本発明は、このような事情に鑑みてなされたもので、演奏動作を妨げずに他のアプリケーションへの入力を発生させることができる入力装置、入力方法およびプログラムを提供することを目的としている。   Therefore, the present invention has been made in view of such circumstances, and an object thereof is to provide an input device, an input method, and a program that can generate an input to another application without disturbing a performance operation. .

上記目的を達成するため、本発明の入力装置は、第1の操作子に設けられ、三次元空間における当該第1の操作子の動きを検出する第1の動作検出手段と、前記第1の操作子とは別の第2の操作子に設けられ、三次元空間における当該第2の操作子の動きを検出する第2の動作検出手段と、前記第1および第2の動作検出手段の少なくとも一方において、対応する前記第1及び第2の操作子の少なくとも一方が演奏動作を表わす動きを検出した場合に、演奏装置に対して当該演奏動作に対応する楽音の発生を指示する楽音発生指示手段と、前記第1および第2の動作検出手段の一方が、前記演奏動作とは異なる動きの第1の操作を検出し、かつ他方が前記演奏動作及び前記第1の操作とは異なる第2の操作を検出した場合に、当該検出された第1の操作及び第2の操作の組み合わせに基づき、前記演奏装置に対して前記楽音の発生とは異なる機能の動作を指示する動作指示手段と、
を具備することを特徴とする。
In order to achieve the above object, an input device according to the present invention is provided in a first operation element, and includes a first motion detection unit that detects a movement of the first operation element in a three-dimensional space; A second operation detecting unit provided in a second operation unit different from the operation unit for detecting movement of the second operation unit in a three-dimensional space; and at least one of the first and second operation detecting units. On the other hand, when at least one of the corresponding first and second operators detects a movement representing a performance action, a tone generation instruction means for instructing the performance apparatus to generate a tone corresponding to the performance action. If, one of the first and second movement detection means, the playing operation is different detecting a first operation of the motion, and the other is different second and the playing operation and the first operation when detecting the operation was the detected Based on a combination of the first operation and the second operation, the operation instruction means for instructing the operation of the different functions and generation of the musical tones to the performance apparatus,
It is characterized by comprising.

また、本発明の入力方法では、三次元空間における第1の操作子の動きを検出し、三次元空間における前記第1の操作子とは別の第2の操作子の動きを検出し、前記第1及び第2の操作子の少なくとも一方において演奏動作を表わす動きを検出した場合に、演奏装置に対して当該演奏動作に対応する楽音の発生を指示し、前記第1および第2の操作子の一方が、前記演奏動作とは異なる動きの第1の操作を検出し、かつ他方が前記演奏動作及び前記第1の操作とは異なる第2の操作を検出した場合に、当該検出された第1の操作及び第2の操作の組み合わせに基づき、前記演奏装置に対して前記楽音の発生とは異なる機能の動作を指示する、ことを特徴とする。 In the input method of the present invention, the movement of the first operation element in the three-dimensional space is detected, the movement of the second operation element different from the first operation element in the three-dimensional space is detected, When at least one of the first and second operation elements detects a movement representing a performance action, the performance apparatus is instructed to generate a musical sound corresponding to the performance action, and the first and second operation elements one is, when the detecting a first operation of the different movements and play operation, and the other detects the different second operation and the playing operation and the first operation, the first is the detection of Based on a combination of the first operation and the second operation, the performance device is instructed to perform a function having a function different from the generation of the musical sound.

更に、本発明のプログラムでは、コンピュータに、三次元空間における第1の操作子の動きを検出するステップと、三次元空間における前記第1の操作子とは別の第2の操作子の動きを検出するステップと、前記第1及び第2の操作子の少なくとも一方において演奏動作を表わす動きを検出した場合に、演奏装置に対して当該演奏動作に対応する楽音の発生を指示するステップと、前記第1および第2の操作子の一方が、前記演奏動作とは異なる動きの第1の操作を検出し、かつ他方が前記演奏動作及び前記第1の操作とは異なる第2の操作を検出した場合に、当該検出された第1の操作及び第2の操作の組み合わせに基づき、前記演奏装置に対して前記楽音の発生とは異なる機能の動作を指示するステップと、を実行させることを特徴とする。 Furthermore, in the program of the present invention, the computer detects the movement of the first operation element in the three-dimensional space and the movement of the second operation element different from the first operation element in the three-dimensional space. A step of detecting, when a movement representing a performance action is detected in at least one of the first and second operators, instructing the performance device to generate a musical sound corresponding to the performance action; one of the first and second operation element, said detecting a first operation of the different movements and play operation, and the other detects the different second operation and the playing operation and the first operation If, and characterized in that the basis of the combination of the detected first operation and a second operation, to execute the steps of directing the operation of the different functions and generation of the musical tones to the play apparatus You .

本発明では、演奏動作を妨げずに他のアプリケーションへの入力を発生させることが出来る。   In the present invention, it is possible to generate an input to another application without disturbing the performance operation.

本発明の実施の一形態による電子打楽器100の全体構成を示すブロック図である。1 is a block diagram showing an overall configuration of an electronic percussion instrument 100 according to an embodiment of the present invention. RAM13に格納される角度差分テーブルの一例を示す図である。It is a figure which shows an example of the angle difference table stored in RAM13. スティック部20の構成を示すブロック図である。3 is a block diagram illustrating a configuration of a stick unit 20. FIG. スティック部20の検出軸を示す図である。It is a figure which shows the detection axis of the stick part. スティック処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a stick process. 本体処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a main body process. フリック処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a flick process. 位置処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a position process. フリック操作で発生する操作入力の一例を示す図である。It is a figure which shows an example of the operation input generate | occur | produced by flick operation. フリック操作で発生する操作入力の一例を示す図である。It is a figure which shows an example of the operation input generate | occur | produced by flick operation. 変形例によるフリック操作の操作入力例を示す図である。It is a figure which shows the example of operation input of the flick operation by a modification. 変形例によるフリック操作の操作入力例を示す図である。It is a figure which shows the example of operation input of the flick operation by a modification. 変形例によるフリック操作の操作入力例を示す図である。It is a figure which shows the example of operation input of the flick operation by a modification. 変形例によるフリック操作の操作入力例を示す図である。It is a figure which shows the example of operation input of the flick operation by a modification.

以下、図面を参照して本発明の実施形態について説明する。
A.構成
図1は、本発明による入力装置を備えた電子打楽器100の全体構成を示すブロック図である。この図に示す電子打楽器100は、本体部10とユーザの左右の手にそれぞれ把持されるスティック部20−1、20−2とに大別される。以下、本体部10の構成と、スティック部20の構成とに分けて説明を進める。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
A. Configuration FIG. 1 is a block diagram showing the overall configuration of an electronic percussion instrument 100 equipped with an input device according to the present invention. The electronic percussion instrument 100 shown in this figure is roughly divided into a main body portion 10 and stick portions 20-1 and 20-2 which are respectively held by the left and right hands of the user. Hereinafter, the description will be divided into the configuration of the main body unit 10 and the configuration of the stick unit 20.

(1)本体部10の構成
本体部10は、CPU11、ROM12、RAM13、操作部14、表示部15、通信部16、音源部17およびサウンドシステム18から構成される。CPU11は、後述する本体処理(図4参照)を実行することによって、スティックを振るドラム動作(演奏動作)が為された場合には打楽器音の発音を指示する。一方、スティックを振るドラム動作(演奏動作)とは異なり、スティック部20−1、20−2の何れか一方を「フリック操作」し、他方を所定方向に向ける「ポインティング操作」した場合には、その「ポインティング操作」と「フリック操作」とに対応した操作入力を発生し、当該操作入力に応じてシーケンサ処理を制御する。こうした、CPU11の処理動作については追って述べる。また、「フリック操作」および「ポインティング操作」についても追って述べる。
(1) Configuration of Main Unit 10 The main unit 10 includes a CPU 11, a ROM 12, a RAM 13, an operation unit 14, a display unit 15, a communication unit 16, a sound source unit 17, and a sound system 18. The CPU 11 executes a main body process (see FIG. 4), which will be described later, and instructs the pronunciation of a percussion instrument sound when a drum operation (performance operation) of shaking a stick is performed. On the other hand, unlike the drum operation (performance operation) in which the stick is shaken, when one of the stick units 20-1 and 20-2 is "flicked" and the other is pointed in a predetermined direction, the "pointing operation" Operation inputs corresponding to the “pointing operation” and “flick operation” are generated, and sequencer processing is controlled in accordance with the operation input. The processing operation of the CPU 11 will be described later. Also, “flick operation” and “pointing operation” will be described later.

ROM12には、CPU11にロードされる各種プログラムデータや制御データなどが記憶される。各種プログラムとは、後述する本体処理(図4参照)やシーケンサ処理プログラム(不図示)を含む。RAM13は、ワークエリアおよびデータエリアを備える。RAM13のワークエリアには、CPU11の処理に用いられる各種レジスタ・フラグデータが一時記憶される。   The ROM 12 stores various program data and control data that are loaded into the CPU 11. The various programs include a main body process (see FIG. 4) and a sequencer processing program (not shown) which will be described later. The RAM 13 includes a work area and a data area. In the work area of the RAM 13, various register / flag data used for the processing of the CPU 11 are temporarily stored.

RAM13のデータエリアには、後述する通信部16を介して受信復調したスティック部20からの出力データ(識別データ、加速度データ、角度データおよび方位データ)が格納される。なお、スティック部20からの出力データの内、識別データはスティック部20−1、20−2の何れから出力されたデータであるかを区別するデータである。加速度データおよび角度データは、図4に図示するスティック部20において定義されるロール軸、ピッチ軸およびヨー軸毎の加速度および回転角度を表す。方位データは、ロール軸の方位角を表す。   The data area of the RAM 13 stores output data (identification data, acceleration data, angle data, and azimuth data) from the stick unit 20 received and demodulated via the communication unit 16 described later. Of the output data from the stick unit 20, the identification data is data for discriminating whether the data is output from either the stick unit 20-1 or 20-2. The acceleration data and the angle data represent the acceleration and rotation angle for each roll axis, pitch axis, and yaw axis defined in the stick unit 20 shown in FIG. The azimuth data represents the azimuth angle of the roll axis.

また、RAM13のデータエリアには、図2に図示する一例の変換テーブルTが設けられる。この変換テーブルTは、角度差分に対応した補正値を発生する。ここで言う角度差分とは、スティック部20からの出力データの内、前回取得した角度データと今回取得した角度データとの差分を指す。変換テーブルTから出力される補正値が意図するところについては追って述べる。   Further, in the data area of the RAM 13, an example conversion table T illustrated in FIG. 2 is provided. This conversion table T generates a correction value corresponding to the angle difference. The angle difference here refers to the difference between the angle data acquired last time and the angle data acquired this time among the output data from the stick unit 20. The purpose of the correction value output from the conversion table T will be described later.

操作部14は、本体部10のパワーオン/パワーオフする電源スイッチや、演奏の開始/終了を指示する演奏スイッチなどを備え、スイッチ操作に応じたイベントを発生する。操作部14が発生するイベントはCPU11により取り込まれる。表示部15は、CPU11から供給される表示制御信号に応じて、本体部10の動作状態や設定状態などを画面表示する。   The operation unit 14 includes a power switch for powering on / off the main unit 10 and a performance switch for instructing start / end of performance, and generates an event corresponding to the switch operation. Events generated by the operation unit 14 are captured by the CPU 11. The display unit 15 displays an operation state, a setting state, and the like of the main body unit 10 on the screen according to a display control signal supplied from the CPU 11.

通信部16は、CPU11の制御の下に、スティック部20−1、20−2からそれぞれ個別に無線送信される出力データ(識別データ、加速度データ、角度データおよび方位データ)を受信復調してRAM13のデータエリアに格納する。音源部17は、周知の波形メモリ読み出し方式にて構成され、ユーザにより音色指定された楽音(打楽器音)の波形データを、CPU11から供給されるノートオンイベントに従って再生する。サウンドシステム18は、音源部17から出力される打楽器音の波形データをアナログ信号形式に変換した後、不要ノイズ除去やレベル増幅を施してからスピーカから発音させる。   Under the control of the CPU 11, the communication unit 16 receives and demodulates output data (identification data, acceleration data, angle data, and azimuth data) individually transmitted from the stick units 20-1 and 20-2. Stored in the data area. The tone generator 17 is configured by a well-known waveform memory reading method, and reproduces waveform data of a musical tone (percussion instrument sound) designated by the user according to a note-on event supplied from the CPU 11. The sound system 18 converts the waveform data of the percussion instrument sound output from the sound source unit 17 into an analog signal format, and then performs unnecessary noise removal and level amplification before generating sound from the speaker.

(2)スティック部20の構成
次に、図3を参照してスティック部20−1、20−2の構成を説明する。スティック部20−1、20−2は、図2に図示する通り、筐体であるスティックの内部にセンサ部20a、CPU20b、ROM20c、RAM20d、通信部20eおよび操作部20fを備える。
(2) Configuration of Stick Unit 20 Next, the configuration of the stick units 20-1 and 20-2 will be described with reference to FIG. As shown in FIG. 2, the stick units 20-1 and 20-2 include a sensor unit 20a, a CPU 20b, a ROM 20c, a RAM 20d, a communication unit 20e, and an operation unit 20f inside a stick as a housing.

センサ部20aは、例えば静電容量型で構成され、三軸(ロール軸、ピッチ軸およびヨー軸)毎の加速度を検出する加速度センサと、圧電ジャイロ型で構成され、三軸毎の角速度を検出する角速度センサと、ホール素子から構成され、三軸毎の地磁気を検出する磁気センサと、これら各センサ(加速度センサ、角速度センサおよび磁気センサ)の出力をA/D変換して三軸毎の加速度データ、角速度データおよび磁気データを発生してCPU20bに供給するA/D変換部とを備える。   The sensor unit 20a is configured with, for example, a capacitance type, and includes an acceleration sensor that detects acceleration for each of three axes (roll axis, pitch axis, and yaw axis) and a piezoelectric gyro type, and detects angular velocity for each of the three axes. An angular velocity sensor, a Hall element, and a magnetic sensor that detects geomagnetism for each of the three axes, and outputs of each of these sensors (acceleration sensor, angular velocity sensor, and magnetic sensor) are A / D converted and acceleration for each of the three axes. An A / D converter that generates data, angular velocity data, and magnetic data and supplies the data to the CPU 20b.

CPU20bは、センサ部20aから供給される三軸毎の加速度データ、角速度データおよび磁気データをRAM20dのデータエリアに格納する。CPU20bは、RAM20dのデータエリアに格納した三軸毎の加速度データおよび角速度データに基づきスティック部20の三次元角度、すなわち図4に図示するロール軸、ピッチ軸およびヨー軸の各回転角を表す角度データを算出してRAM20dのデータエリアに格納する。   The CPU 20b stores acceleration data, angular velocity data, and magnetic data for each of the three axes supplied from the sensor unit 20a in the data area of the RAM 20d. The CPU 20b represents the three-dimensional angle of the stick unit 20 based on the acceleration data and angular velocity data for each of the three axes stored in the data area of the RAM 20d, that is, the angles representing the rotation angles of the roll axis, pitch axis, and yaw axis shown in FIG. Data is calculated and stored in the data area of the RAM 20d.

CPU20bは、RAM20dのデータエリアに格納した三軸毎の磁気データに基づきスティック部20のロール軸の方位角を表す方位データを算出してRAM20dのデータエリアに格納する。また、CPU20bは、RAM20dのデータエリアから三軸毎の加速度データ、角度データおよびロール軸の方位角を表す方位データを所定周期毎に読み出し、これにスティック部20−1、20−2の何れから出力されたデータであるかを区別する識別データを付加して出力データ(識別データ、加速度データ、角度データおよび方位データ)を生成し、生成した出力データを通信部20eに供給する。   The CPU 20b calculates azimuth data representing the azimuth angle of the roll axis of the stick unit 20 based on the magnetic data for each of the three axes stored in the data area of the RAM 20d, and stores it in the data area of the RAM 20d. Further, the CPU 20b reads acceleration data for each of the three axes, angle data, and azimuth data representing the azimuth angle of the roll axis from the data area of the RAM 20d at predetermined intervals, and from this, from any of the stick units 20-1 and 20-2. Output data (identification data, acceleration data, angle data, and azimuth data) is generated by adding identification data for distinguishing whether the data is output, and the generated output data is supplied to the communication unit 20e.

ROM20cには、CPU20bにロードされる各種プログラムや制御データなどが記憶される。各種プログラムとは、角度データや方位データを算出するプログラムの他、後述するスティック処理(図5参照)を含む。RAM20dは、ワークエリアおよびデータエリアを備える。RAM20dのワークエリアには、CPU20bの処理に用いられる各種レジスタ・フラグデータが一時記憶される。RAM20dのデータエリアには、CPU20bの制御の下に、センサ部20aから出力される三軸毎の加速度データ、角速度データおよび磁気データが格納されると共に、三軸毎の加速度データと角速度データとから算出される三軸毎の角度データや、三軸毎の磁気データから算出されるロール軸の方位角を表す方位データが格納される。   The ROM 20c stores various programs and control data that are loaded into the CPU 20b. The various programs include a stick process (see FIG. 5) to be described later in addition to a program for calculating angle data and azimuth data. The RAM 20d includes a work area and a data area. Various register / flag data used for the processing of the CPU 20b are temporarily stored in the work area of the RAM 20d. In the data area of the RAM 20d, acceleration data, angular velocity data, and magnetic data for each of the three axes output from the sensor unit 20a are stored under the control of the CPU 20b, and from the acceleration data and the angular velocity data for each of the three axes. Stored is azimuth data representing the azimuth angle of the roll axis calculated from the calculated angle data for each of the three axes and the magnetic data for each of the three axes.

通信部20eは、CPU20bが生成した出力データ(識別データ、加速度データ、角度データおよび方位データ)を、所定の方式で変調して本体部10側へ無線送信する。操作部20fは、パワーオン/パワーオフする電源スイッチや、演奏の開始/終了を指示する演奏スイッチなどを備え、スイッチ操作に応じたイベントを発生する。操作部20fが発生するイベントはCPU20aにより取り込まれる。   The communication unit 20e modulates output data (identification data, acceleration data, angle data, and azimuth data) generated by the CPU 20b by a predetermined method and wirelessly transmits the data to the main unit 10 side. The operation unit 20f includes a power switch for turning on / off the power, a performance switch for instructing start / end of performance, and the like, and generates an event corresponding to the switch operation. An event generated by the operation unit 20f is captured by the CPU 20a.

B.動作
次に、図5〜図10を参照して上記構成による電子打楽器100の動作を説明する。以下では、電子打楽器100の動作として、スティック部20側のCPU20bが実行するスティック処理の動作と、本体部10側のCPU11が実行する本体処理の動作とについて説明する。
B. Operation Next, the operation of the electronic percussion instrument 100 configured as described above will be described with reference to FIGS. Hereinafter, as an operation of the electronic percussion instrument 100, an operation of a stick process executed by the CPU 20b on the stick unit 20 side and an operation of a main body process executed by the CPU 11 on the main body unit 10 side will be described.

(1)スティック処理の動作
図5を参照してスティック部20のCPU20bが実行するスティック処理の動作を説明する。電源スイッチ操作によりスティック部20がパワーオンされると、CPU20bは図5に図示するスティック処理のステップSA1に進み、演奏スイッチが演奏の開始を表すオン状態に設定されるまで待機する。そして、ユーザが演奏スイッチをオン状態にセットすると、ステップSA1の判断結果が「YES」になり、ステップSA2に進み、センサ部20aの加速度センサ出力をA/D変換して得た加速度データをRAM20dのデータエリアにストアする。
(1) Operation of Stick Processing The operation of stick processing executed by the CPU 20b of the stick unit 20 will be described with reference to FIG. When the power of the stick unit 20 is turned on by the power switch operation, the CPU 20b proceeds to step SA1 of the stick process shown in FIG. 5 and waits until the performance switch is set to an on state indicating the start of performance. When the user sets the performance switch to the ON state, the determination result in step SA1 is “YES”, and the process proceeds to step SA2, where acceleration data obtained by A / D converting the acceleration sensor output of the sensor unit 20a is stored in the RAM 20d. Store in the data area.

続いて、ステップSA3では、センサ部20aの角速度センサ出力をA/D変換して得た角速度データをRAM20dのデータエリアにストアする。次いで、ステップSA4では、センサ部20aの磁気センサ出力をA/D変換して得た角速度データをRAM20dのデータエリアにストアする。そして、ステップSA5では、RAM20dのデータエリアに格納した三軸毎の加速度データおよび角速度データに基づきスティック部20の三次元角度、すなわち図4に図示するロール軸、ピッチ軸およびヨー軸の各回転角を表す角度データを算出してRAM20dのデータエリアに格納する。   Subsequently, in step SA3, angular velocity data obtained by A / D converting the angular velocity sensor output of the sensor unit 20a is stored in the data area of the RAM 20d. Next, in step SA4, angular velocity data obtained by A / D converting the magnetic sensor output of the sensor unit 20a is stored in the data area of the RAM 20d. In step SA5, the three-dimensional angle of the stick unit 20 based on the acceleration data and angular velocity data stored in the data area of the RAM 20d, that is, the rotation angles of the roll axis, pitch axis, and yaw axis shown in FIG. Is calculated and stored in the data area of the RAM 20d.

次に、ステップSA6では、RAM20dのデータエリアに格納した三軸毎の磁気データに基づきスティック部20のロール軸の方位角を表す方位データを算出してRAM20dのデータエリアに格納する。次いで、ステップSA7では、RAM20dのデータエリアから三軸毎の加速度データ、角度データおよびロール軸の方位角を表す方位データを読み出し、これにスティック部20−1、20−2の何れから出力されたデータであるかを区別する識別データを付加して出力データ(識別データ、加速度データ、角度データおよび方位データ)を生成する。   Next, in step SA6, azimuth data representing the azimuth angle of the roll axis of the stick unit 20 is calculated based on the magnetic data for each of the three axes stored in the data area of the RAM 20d, and stored in the data area of the RAM 20d. Next, in step SA7, acceleration data for each of the three axes, angle data, and azimuth data representing the azimuth angle of the roll axis are read from the data area of the RAM 20d, and are output from either of the stick units 20-1 and 20-2. Output data (identification data, acceleration data, angle data, and azimuth data) is generated by adding identification data for distinguishing whether the data is data.

続いて、ステップSA8では、上記ステップSA7で生成した出力データを通信部20eから本体部10側へ無線送信する。以後、演奏スイッチが演奏の終了を表すオフ状態に設定されるまで上記ステップSA1〜SA8を繰り返す。これにより、スティック部20−1、20−2は、スティックに加えられる動きに応じて変化する出力データ(識別データ、加速度データ、角度データおよび方位データ)を発生して無線送信する。   Subsequently, in step SA8, the output data generated in step SA7 is wirelessly transmitted from the communication unit 20e to the main body unit 10 side. Thereafter, steps SA1 to SA8 are repeated until the performance switch is set to an off state indicating the end of the performance. As a result, the stick units 20-1 and 20-2 generate and wirelessly transmit output data (identification data, acceleration data, angle data, and azimuth data) that changes according to the movement applied to the stick.

(2)本体処理の動作
次に、図6〜図10を参照して本体部10のCPU11が実行する本体処理の動作について説明する。電源スイッチ操作により本体部10がパワーオンされると、CPU11は図6に図示する本体処理のステップSB1に進み、スティック部20−1、20−2からそれぞれ無線送信される出力データ(識別データ、加速度データ、角度データおよび方位データ)を受信復調してRAM13の所定エリアに格納する。
(2) Operation of Main Body Processing Next, an operation of main body processing executed by the CPU 11 of the main body unit 10 will be described with reference to FIGS. When the main unit 10 is powered on by the power switch operation, the CPU 11 proceeds to step SB1 of the main unit process shown in FIG. 6, and outputs data (identification data, (Acceleration data, angle data, and azimuth data) are received and demodulated and stored in a predetermined area of the RAM 13.

続いて、ステップSB2では、上記ステップSB1で取得した出力データの内、両スティック部20−1、20−2が発生する加速度データに基づき、ユーザが両手に把持したスティック部20−1、20−2でドラムを叩くような振りの演奏動作を行っているか否かを検出する。ドラムを叩くような振りの演奏動作を検出した場合には、上記ステップSB2の判断結果は「YES」になり、ステップSB3に進む。   Subsequently, in step SB2, the stick units 20-1, 20- held by the user with both hands based on the acceleration data generated by both stick units 20-1, 20-2 in the output data acquired in step SB1. In step 2, it is detected whether or not a performance operation such as hitting a drum is performed. When a swing performance operation such as hitting a drum is detected, the determination result in step SB2 is “YES”, and the flow proceeds to step SB3.

ステップSB3では、上記ステップSB1で取得した出力データの内、加速度データに基づき発音指示するノートオン処理を実行する。すなわちノートオン処理では、前回取得した加速度データの極性と今回取得した加速度データの極性とが正から負に変化したか、つまりスティック部20を振り下ろし終えて上方へ切り返すノートオン動作であるかどうかを判断し、ノートオン動作が為されたならば、ノートオンイベントを発生して音源部17に供給する。これにより、音源部17では、ノートオンイベントに応じて、例えばドラム音などの打楽器音を発生する。   In step SB3, note-on processing for instructing sound generation based on acceleration data among the output data acquired in step SB1 is executed. That is, in the note-on processing, whether the polarity of the acceleration data acquired last time and the polarity of the acceleration data acquired this time have changed from positive to negative, that is, whether the note-on operation is to turn the stick unit 20 down and turn upward. If a note-on operation is performed, a note-on event is generated and supplied to the sound source unit 17. As a result, the sound source unit 17 generates percussion instrument sounds such as drum sounds in response to the note-on event.

そして、次のステップSB4に進むと、演奏スイッチ操作により演奏終了が指示されたか否かを判別する。演奏終了が指示されていなければ、判断結果は「NO」になり、上述のステップSB1に処理を戻す。これに対し、演奏スイッチ操作により演奏終了が指示された場合には、上記ステップSB4の判断結果が「YES」になり、本処理を終える。   Then, when the process proceeds to the next step SB4, it is determined whether or not the performance end is instructed by the performance switch operation. If the end of performance is not instructed, the determination result is “NO”, and the process returns to step SB1 described above. On the other hand, when the end of the performance is instructed by the performance switch operation, the determination result in the above step SB4 becomes “YES”, and this processing is finished.

さて一方、ドラムを叩くような振りの演奏動作が検出されない場合には、上記ステップSB2の判断結果が「NO」になり、ステップSB5を介してフリック処理を実行する。フリック処理では、後述するように、スティック部20から前回取得した角度データ(ピッチ軸)と今回取得した角度データ(ピッチ軸)との差分絶対値が閾値以上の場合や、差分絶対値が閾値未満であってもフリック操作された方向が確定した場合には、フリック中フラグを「1」にセットしてフリック操作中を表し、一方、差分絶対値が閾値未満であって、かつフリック操作された方向が確定しない場合には、フリック中フラグをゼロリセットしてフリック操作が為されていない旨を表す。   On the other hand, if a swinging performance action such as hitting the drum is not detected, the determination result in step SB2 is “NO”, and the flick process is executed via step SB5. In the flick process, as will be described later, when the difference absolute value between the angle data (pitch axis) acquired from the stick unit 20 last time and the angle data (pitch axis) acquired this time is greater than or equal to the threshold value, or the difference absolute value is less than the threshold value. Even if the direction in which the flick operation is performed is determined, the flicking flag is set to “1” to indicate that the flicking operation is being performed, while the difference absolute value is less than the threshold value and the flicking operation has been performed. When the direction is not fixed, the flicking flag is reset to zero to indicate that no flick operation is performed.

次いで、ステップSB6では、フリック操作中であるか否か、すなわちフリック中フラグが「1」であるか否かを判断する。フリック操作中(フリック中フラグが「1」)ならば、判断結果は「YES」になり、後述するステップSB8に処理を進める。これに対し、フリック中フラグが「1」、つまりフリック操作が為されていなければ、ここでの判断結果は「NO」になり、ステップSB7に進む。   Next, in step SB6, it is determined whether or not the flick operation is being performed, that is, whether or not the flicking flag is “1”. If the flick operation is being performed (the flicking flag is “1”), the determination result is “YES”, and the process proceeds to step SB8 described later. On the other hand, if the in-flick flag is “1”, that is, if the flick operation is not performed, the determination result here is “NO”, and the process proceeds to step SB7.

したがって、例えばスティック部20−1をフリック操作し、スティック部20−2をポインティング操作したとすると、スティック部20−1については上記ステップSB6の判断結果が「YES」となり、後述のステップSB8に進むが、スティック部20−2については上記ステップSB6の判断結果が「NO」になり、ステップSB7を介して位置処理を実行する。位置処理では、後述するように、前回取得した角度データa0と今回取得した角度データa1とからポインティング操作の振れ幅(角度)を長さ(距離)に換算したポインティング位置Aを算出する。   Therefore, for example, if the stick unit 20-1 is flicked and the stick unit 20-2 is pointed, the determination result of step SB6 is “YES” for the stick unit 20-1, and the process proceeds to step SB8 described later. However, for the stick unit 20-2, the determination result in step SB6 is “NO”, and the position process is executed via step SB7. In the position processing, as will be described later, the pointing position A is calculated by converting the deflection width (angle) of the pointing operation into the length (distance) from the angle data a0 acquired last time and the angle data a1 acquired this time.

そして、ステップSB8では、上記ステップSB7の位置処理で得られたポインティング位置A(ポインティング操作の振れ幅(角度))と、フリック操作との組み合わせに対応した操作入力を発生し、続くステップSB9では、発生した操作入力に応じてシーケンサ処理を制御する。   In step SB8, an operation input corresponding to the combination of the pointing position A (the fluctuation width (angle) of the pointing operation) obtained in the position processing in step SB7 and the flick operation is generated. In the subsequent step SB9, The sequencer process is controlled according to the generated operation input.

例えば図9に図示する一例のように、シーケンサ処理により表示部15に楽譜が表示されている状態において、スティック部20−1を左から右へフリック操作し、スティック部20−2を所定方向にポインティング操作したとする。そうすると、そのフリック操作とポインティング操作との組み合わせで決まる操作入力に応じて、シーケンサ処理が演奏パート別の音量を設定するボリューム表示画面を表示部15に表示する。   For example, as in the example shown in FIG. 9, in the state where the score is displayed on the display unit 15 by the sequencer process, the stick unit 20-1 is flicked from left to right, and the stick unit 20-2 is moved in a predetermined direction. Assume that a pointing operation is performed. Then, in response to an operation input determined by the combination of the flick operation and the pointing operation, the sequencer process displays a volume display screen for setting the volume for each performance part on the display unit 15.

また、例えば図10に図示する一例のように、シーケンサ処理により表示部15に楽譜が表示されている状態において、スティック部20−2を左から右へフリック操作し、スティック部20−1を所定方向にポインティング操作したとする。そうすると、そのフリック操作とポインティング操作との組み合わせで決まる操作入力に応じて、シーケンサ処理がページ送りした楽譜を表示部15に表示する。そして、フリック操作とポインティング操作との組み合わせで決まる操作入力に応じてシーケンサ処理を制御し終えると、上述したステップSB1に処理を戻す。   Further, for example, as in the example illustrated in FIG. 10, in the state where the score is displayed on the display unit 15 by the sequencer process, the stick unit 20-2 is flicked from left to right, and the stick unit 20-1 is predetermined. It is assumed that a pointing operation is performed in the direction. Then, in accordance with an operation input determined by the combination of the flick operation and the pointing operation, the score that has been paged by the sequencer process is displayed on the display unit 15. Then, when the sequencer process is controlled according to the operation input determined by the combination of the flick operation and the pointing operation, the process is returned to step SB1 described above.

(3)フリック処理の動作
フリック処理の動作の説明に入る前に、本実施形態で定義するフリック操作について述べる。上述した通り、本実施形態ではスティック部20を振り下ろし終えて上方へ切り返す動作、すなわちヨー回転の動きを演奏動作と定義しており、この演奏動作とは異なり、スティック部20を右から左へあるいは左から右へ振るピッチ回転が、例えば1秒間に80度以上など所定角速度以上で一定角度以上生じさせる動作を「フリック操作」と定義する。以下に述べるフリック処理では、スティック部20−1、20−2から取得したピッチ軸の角度データに基づき「フリック操作中」か否かを判別する。
(3) Operation of flick processing Before describing the operation of flick processing, the flick operation defined in the present embodiment will be described. As described above, in this embodiment, the operation of turning down the stick unit 20 and turning it back, that is, the movement of the yaw rotation is defined as a performance operation. Unlike this performance operation, the stick unit 20 is moved from right to left. Alternatively, an operation in which a pitch rotation that swings from left to right is caused to occur at a predetermined angle or more at a predetermined angular velocity, such as 80 degrees or more per second, is defined as a “flick operation”. In the flick processing described below, it is determined whether or not “flick operation is in progress” based on the pitch axis angle data acquired from the stick units 20-1 and 20-2.

次に、図7を参照してフリック処理の動作を説明する。前述した本体処理(図6参照)のステップSB5を介して本処理が実行されると、CPU11は図7に図示するステップSB1に進む。ステップSB1では、スティック部20から前回取得した角度データ(ピッチ軸)と今回取得した角度データ(ピッチ軸)との差分絶対値を算出する。続いて、ステップSB2では、上記ステップSB1にて算出した差分絶対値が閾値以上であるか否かを判断する。差分絶対値が閾値以上ならば、上記ステップSB2の判断結果は「YES」になり、ステップSB3に進み、移動中フラグを「1」にセットし、続くステップSB4では、フリック中フラグを「1」にセットして本処理を終える。   Next, the operation of the flick process will be described with reference to FIG. When this process is executed through step SB5 of the main body process (see FIG. 6) described above, the CPU 11 proceeds to step SB1 shown in FIG. In step SB1, an absolute difference between the angle data (pitch axis) acquired last time from the stick unit 20 and the angle data (pitch axis) acquired this time is calculated. Subsequently, in step SB2, it is determined whether or not the difference absolute value calculated in step SB1 is greater than or equal to a threshold value. If the absolute difference is equal to or greater than the threshold value, the determination result in step SB2 is “YES”, the process proceeds to step SB3, the moving flag is set to “1”, and in the subsequent step SB4, the flicking flag is set to “1”. To complete the process.

一方、上記ステップSB1にて算出した差分絶対値が閾値未満ならば、上記ステップSB2の判断結果は「NO」になり、ステップSB5に進み、移動中フラグをゼロリセットする。次いで、ステップSB6では、スティック部20から前回取得した方位データ(ロール軸の方位角)と、今回取得した方位データ(ロール軸の方位角)とに基づいてフリック操作された方向を算出することが出来たか、つまりフリック操作の方向(左から右又は左から右)が確定したかどうかを判断する。   On the other hand, if the difference absolute value calculated in step SB1 is less than the threshold value, the determination result in step SB2 is “NO”, the process proceeds to step SB5, and the moving flag is reset to zero. Next, in step SB6, the flicked direction can be calculated based on the azimuth data (roll axis azimuth angle) acquired from the stick unit 20 last time and the azimuth data (roll axis azimuth angle) acquired this time. It is determined whether it has been completed, that is, whether the direction of the flick operation (from left to right or from left to right) has been confirmed.

フリック操作方向(左から右又は左から右)が確定した場合には、上記ステップSB6の判断結果が「YES」となり、ステップSB4に進み、フリック中フラグを「1」にセットして本処理を終える。これに対し、フリック操作方向(左から右又は左から右)が確定しない場合、つまりフリック操作が為されていない場合には、上記ステップSB6の判断結果が「NO」になり、フリック中フラグをゼロリセットして本処理を終える。   If the flick operation direction (from left to right or from left to right) is confirmed, the determination result in step SB6 is “YES”, the process proceeds to step SB4, the flicking flag is set to “1”, and this process is performed. Finish. On the other hand, when the flick operation direction (from left to right or from left to right) is not fixed, that is, when the flick operation is not performed, the determination result of the above step SB6 becomes “NO” and the flicking flag is set. Zero reset to finish this process.

このように、フリック処理では、スティック部20から前回取得した角度データ(ピッチ軸)と今回取得した角度データ(ピッチ軸)との差分絶対値が閾値以上の場合や、差分絶対値が閾値未満であっても、フリック操作された方向が確定した場合には、フリック中フラグを「1」にセットしてフリック操作中を表し、一方、差分絶対値が閾値未満であって、かつフリック操作された方向が確定しない場合には、フリック中フラグをゼロリセットしてフリック操作が為されていない旨を表す。   As described above, in the flick process, the absolute value of the difference between the angle data (pitch axis) acquired last time from the stick unit 20 and the angle data (pitch axis) acquired this time is greater than or equal to the threshold value, or the difference absolute value is less than the threshold value. Even if the direction in which the flick operation is performed is determined, the flicking flag is set to “1” to indicate that the flicking operation is being performed. On the other hand, the absolute value of the difference is less than the threshold value and the flicking operation has been performed. When the direction is not fixed, the flicking flag is reset to zero to indicate that no flick operation is performed.

(4)位置処理の動作
次に、図8を参照して位置処理の動作を説明する。前述した本体処理のステップSB7(図6参照)を介して本処理が実行されると、CPU11は図8に図示するステップSC1に進み、前回取得した角度データa0から今回取得した角度データa1までに対応した補正値を、変換テーブルT(図2参照)から読み出す。続いて、ステップSC2では、読み出された補正値を積分(累積加算)する。
(4) Position Processing Operation Next, the position processing operation will be described with reference to FIG. When this process is executed via step SB7 (see FIG. 6) of the main body process described above, the CPU 11 proceeds to step SC1 shown in FIG. 8, and from the previously acquired angle data a0 to the currently acquired angle data a1. The corresponding correction value is read from the conversion table T (see FIG. 2). Subsequently, in step SC2, the read correction value is integrated (cumulative addition).

次いで、ステップSC3では、角度データa1から角度データa0を減算した時の差分符号sign(a1−a0)を、上記ステップSC2で得られた積分値に乗算する。そして、ステップSC4では、差分符号が乗算された積分値に、角度データa1に定数Rを乗算して得たオフセット値を加算し、所定方向を指し示すポインティング操作の振れ幅(角度)を長さ(距離)に換算したポインティング位置Aを算出する。続いて、ステップSC6では、生成されたポインティング位置A(ポインティング操作の振れ幅)が−180°〜180°の範囲内に収まっていれば、そのままの値とするが、下限値−180°を超えた場合には当該下限値に制限し、一方、上限値180°を超えた場合には当該上限値に制限して本処理を終える。   Next, in step SC3, the differential value sign (a1-a0) obtained by subtracting the angle data a0 from the angle data a1 is multiplied by the integral value obtained in step SC2. In step SC4, the offset value obtained by multiplying the angle data a1 by a constant R is added to the integral value multiplied by the difference code, and the amplitude (angle) of the pointing operation indicating the predetermined direction is set to the length ( The pointing position A converted to distance) is calculated. Subsequently, in step SC6, if the generated pointing position A (the fluctuation width of the pointing operation) is within the range of −180 ° to 180 °, the value is left as it is, but exceeds the lower limit value of −180 °. If the upper limit value of 180 ° is exceeded, the process is terminated with the upper limit value being limited.

このように、位置処理では、次式(1)に従い、前回取得した角度データa0と今回取得した角度データa1とからポインティング操作の振れ幅(角度)を長さ(距離)に換算したポインティング位置Aを算出するようになっている。
A=Σ(f(|a1−a0|)×sign(a1−a0)+a1×R…(1)
なお、上記(1)式におけるΣf(|a1−a0|)は、前回取得した角度データa0から今回取得した角度データa1までに対応した補正値を、変換テーブルT(図2参照)から読み出して積分した値、sign(a1−a0)は差分符号、a1×Rはオフセット値である。
As described above, in the position processing, the pointing position A obtained by converting the deflection width (angle) of the pointing operation into the length (distance) from the angle data a0 acquired last time and the angle data a1 acquired this time according to the following equation (1). Is calculated.
A = Σ (f (| a1-a0 |) × sign (a1-a0) + a1 × R (1)
Note that Σf (| a1-a0 |) in the above equation (1) reads out from the conversion table T (see FIG. 2) the correction values corresponding to the angle data a0 acquired previously and the angle data a1 acquired this time. The integrated value, sign (a1-a0) is a difference code, and a1 × R is an offset value.

以上説明したように、本実施形態では、スティック部20−1、20−2が与えられた動作(操作)に応じて変化する出力データ(識別データ、加速度データ、角度データおよび方位データ)を発生して無線送信し、本体部10側で取得する。本体部10では、取得した出力データの内、前回取得した加速度データの極性と今回取得した加速度データの極性とが正から負に変化する動作、すなわちスティック部20を振り下ろし終えて上方へ切り返すノートオン動作であるかどうかを判断し、ノートオン動作ならば、ノートオンイベントを発生して音源部17に供給し、当該ノートオンイベントに応じて、例えばドラム音などの打楽器音を発音する。   As described above, in the present embodiment, output data (identification data, acceleration data, angle data, and azimuth data) that changes according to the operation (operation) given to the stick units 20-1 and 20-2 is generated. Wirelessly and acquired on the main body 10 side. In the main body unit 10, the operation in which the polarity of the acceleration data acquired last time and the polarity of the acceleration data acquired this time change from positive to negative in the acquired output data, that is, the note that turns down the stick unit 20 after swinging down. It is determined whether or not the operation is on. If the operation is a note-on operation, a note-on event is generated and supplied to the sound source unit 17, and a percussion instrument sound such as a drum sound is generated according to the note-on event.

一方、演奏動作とは異なる動作として、スティック部20−1をフリック操作し、スティック部20−2をポインティング操作すると、ポインティング位置(ポインティング操作の振れ幅(角度))と、フリック操作との組み合わせに対応した操作入力を発生し、当該操作入力に応じてシーケンサ処理を制御するので、演奏動作を妨げずに他のアプリケーションへの入力を発生させることが出来る。   On the other hand, when the stick unit 20-1 is flicked and the stick unit 20-2 is pointed as an operation different from the performance operation, the pointing position (the swing width (angle) of the pointing operation) is combined with the flick operation. Since the corresponding operation input is generated and the sequencer process is controlled according to the operation input, it is possible to generate an input to another application without disturbing the performance operation.

なお、上述した実施形態では、フリック操作に応じて楽譜表示をボリューム表示に切り換えたり、フリック操作に応じて表示される楽譜をページ送りしたりする一例について説明したが、これに限らず、例えば図11に図示する変形例のように、スティック部20−1、20−2の両方を左から右へフリック操作する操作入力に応じて、表示部15に表示される楽譜中の音楽トラックを整列させるようシーケンサ処理に指示する態様も可能であるし、更に図12に図示する変形例のように、表示部15に表示される楽譜中において、スティック部20−1のフリック操作で発生する操作入力に従って、スティック部20−2で位置指定して箇所から自動演奏の開始をシーケンサ処理に指示する態様も可能である。   In the above-described embodiment, an example in which the score display is switched to the volume display in response to the flick operation or the score displayed in response to the flick operation is paged has been described. 11, the music tracks in the score displayed on the display unit 15 are aligned in accordance with an operation input for flicking both the stick units 20-1 and 20-2 from left to right. It is possible to instruct the sequencer processing as described above. Further, as in the modification shown in FIG. 12, according to the operation input generated by the flick operation of the stick unit 20-1 in the score displayed on the display unit 15. A mode is also possible in which the position is designated by the stick unit 20-2 and the sequencer process is instructed to start the automatic performance from the place.

更に、例えば図13に図示するように、スティック部20−1の回転操作(ロール軸回り)でボリューム指定しスティック部20−2の回転操作(ロール軸回り)でボリューム設定する操作入力を発生させたり、図14に図示するように、両スティック部20−1、20−2のポインティング操作で特定の音楽トラックを選択して移動させた後、両スティック部20−1、20−2のフリック操作で移動させた音楽トラックを開放する操作入力を発生させることも可能である。   Further, for example, as shown in FIG. 13, an operation input for generating a volume designation by rotating the stick unit 20-1 (around the roll axis) and setting a volume by rotating the stick unit 20-2 (around the roll axis) is generated. 14, after a specific music track is selected and moved by the pointing operation of both stick parts 20-1 and 20-2, the flick operation of both stick parts 20-1 and 20-2 is performed. It is also possible to generate an operation input for releasing the music track moved in step.

以上、本発明の実施の一形態について説明したが、本発明はそれに限定されるものではなく、本願出願の特許請求の範囲に記載された発明とその均等の範囲に含まれる。以下では、本願出願当初の特許請求の範囲に記載された各発明について付記する。   As mentioned above, although one Embodiment of this invention was described, this invention is not limited to it, It is included in the invention described in the claim of this-application, and its equivalent range. Hereinafter, each invention described in the scope of claims at the beginning of the present application will be additionally described.

(付記)
[請求項1]
第1の操作子に設けられ、三次元空間における当該第1の操作子の動きを検出する第1の動作検出手段と、
前記第1の操作子とは別の第2の操作子に設けられ、三次元空間における当該第2の操作子の動きを検出する第2の動作検出手段と、
前記第1および第2の動作検出手段の少なくとも一方において、対応する前記第1及び第2の操作子の少なくとも一方が演奏動作を表わす動きを検出した場合に、演奏装置に対して当該演奏動作に対応する楽音の発生を指示する楽音発生指示手段と、 前記第1および第2の動作検出手段のそれぞれが、前記演奏動作とは異なる動きの第1の操作を検出した場合に、当該検出された第1の操作に基づき、前記演奏装置に対して前記楽音の発生とは異なる機能の動作を指示する動作指示手段と、
を具備することを特徴とする入力装置。
(Appendix)
[Claim 1]
A first motion detection means provided on the first operator for detecting the movement of the first operator in a three-dimensional space;
A second operation detecting means provided in a second operator different from the first operator and detecting a movement of the second operator in a three-dimensional space;
In at least one of the first and second motion detection means, when at least one of the corresponding first and second operators detects a motion representing a performance motion, the performance device performs the performance motion. When each of the musical tone generation instructing means for instructing generation of a corresponding musical tone and the first and second action detecting means detect a first operation with a motion different from the performance action, the detected sound is detected. An operation instruction means for instructing the performance device to perform an operation of a function different from the generation of the musical sound based on a first operation;
An input device comprising:

[請求項2]
前記動作指示手段は、前記第1および第2の動作検出手段の一方が、前記演奏動作とは異なる動きの第1の操作を検出し、かつ他方が前記演奏動作及び前記第1の操作とは異なる第2の動作を検出した場合に、当該検出された第1及び第2の操作の組み合わせに基づき、前記演奏装置に対して前記楽音の発生とは異なる機能の動作を指示することを特徴とする請求項1記載の入力装置。
[Claim 2]
In the action instruction means, one of the first and second action detecting means detects a first operation of a movement different from the performance action, and the other is the performance action and the first operation. When a different second motion is detected, the performance device is instructed to perform a function having a function different from the generation of the musical sound based on a combination of the detected first and second operations. The input device according to claim 1.

[請求項3]
前記第1の操作は、スティックを所定角速度以上で一定角度以上、右から左へ或いは左から右へ振るフリック操作であることを特徴とする請求項1又は2記載の入力装置。
[Claim 3]
3. The input device according to claim 1, wherein the first operation is a flick operation in which the stick is swung from the right to the left or from the left to the right at a predetermined angular velocity or more and a certain angle or more.

[請求項4]
前記第2の操作は、所定方向を指し示すポインティング操作であることを特徴とする請求項1乃至3のいずれかに記載の入力装置。
[Claim 4]
The input device according to claim 1, wherein the second operation is a pointing operation pointing in a predetermined direction.

[請求項5]
前記動作指示手段は、前記演奏装置が表示部に楽譜が表示している状態において、前記第1の動作検出手段がフリック操作を検出するとともに、前記第2の動作検出手段がポインティング操作を検出した場合、前記演奏装置に対して、前記表示部に楽譜表示に代えてボリューム表示画面の表示を指示することを特徴とする請求項1乃至4のいずれかに記載の入力装置。
[Claim 5]
In the state where the musical performance device displays a score on the display unit, the action instruction means detects the flick operation by the first action detection means and detects the pointing operation by the second action detection means. 5. The input device according to claim 1, wherein the display unit instructs the display unit to display a volume display screen instead of a score display.

[請求項6]
前記動作指示手段は、前記演奏装置が表示部に所定の楽譜が表示している状態において、前記第1の動作検出手段がポインティング操作を検出するとともに、前記第2の動作検出手段がフリック操作を検出した場合、前記演奏装置に対して、前記表示部に前記所定の楽譜に代えて別の楽譜の表示を指示することを特徴とする請求項1乃至5のいずれかに記載の入力装置。
[Claim 6]
In the state where the performance device is displaying a predetermined score on the display unit, the action instruction means detects the pointing operation by the first action detection means, and the flick operation by the second action detection means. 6. The input device according to claim 1, wherein when the detection is detected, the performance device is instructed to display another score on the display unit instead of the predetermined score.

[請求項7]
前記動作指示手段は、前記演奏装置が表示部に所定の楽曲を表わす楽譜が表示している状態において、前記第1の動作検出手段がフリック操作を検出するとともに、前記第2の動作検出手段が前記楽譜上の所定の位置を指し示すポインティング操作を検出した場合、前記演奏装置に対して、前記楽譜上において指し示された位置から前記所定の楽曲の演奏を開始させる指示を行うことを特徴とする請求項1乃至4のいずれかに記載の入力装置。
[Claim 7]
In the state where the musical performance device displays a musical score representing a predetermined music piece on the display unit, the operation instruction unit detects the flick operation and the second operation detection unit detects the flick operation. When a pointing operation pointing to a predetermined position on the score is detected, the performance device is instructed to start playing the predetermined music from the position indicated on the score. The input device according to claim 1.

[請求項8]
三次元空間における第1の操作子の動きを検出し、
三次元空間における前記第1の操作子とは別の第2の操作子の動きを検出し、
前記第1及び第2の操作子の少なくとも一方において演奏動作を表わす動きを検出した場合に、演奏装置に対して当該演奏動作に対応する楽音の発生を指示し、
前記第1および第2の操作子のそれぞれにおいて、前記演奏動作とは異なる動きの第1の操作を検出した場合に、当該検出された第1の操作に基づき、前記演奏装置に対して前記楽音の発生とは異なる機能の動作を指示する、ことを特徴とする入力方法。
[Claim 8]
Detecting the movement of the first operator in a three-dimensional space;
Detecting a movement of a second operator different from the first operator in a three-dimensional space;
When at least one of the first and second operators detects a motion representing a performance action, the performance device is instructed to generate a musical sound corresponding to the performance action,
In each of the first and second operators, when the first operation having a motion different from the performance motion is detected, the musical sound is transmitted to the performance device based on the detected first operation. An input method characterized by instructing an operation of a function different from the occurrence of occurrence.

[請求項9]
コンピュータに、
三次元空間における第1の操作子の動きを検出するステップと、
、三次元空間における前記第1の操作子とは別の第2の操作子の動きを検出するステップと、
前記第1及び第2の操作子の少なくとも一方において演奏動作を表わす動きを検出した場合に、演奏装置に対して当該演奏動作に対応する楽音の発生を指示するステップと、
前記第1および第2の操作子のそれぞれにおいて、前記演奏動作とは異なる動きの第1の操作を検出した場合に、当該検出された第1の操作に基づき、前記演奏装置に対して前記楽音の発生とは異なる機能の動作を指示するステップと、
を実行させることを特徴とするプログラム。
[Claim 9]
On the computer,
Detecting the movement of the first operator in a three-dimensional space;
Detecting a movement of a second operator different from the first operator in a three-dimensional space;
Instructing the performance device to generate a musical sound corresponding to the performance operation when at least one of the first and second operators detects a motion representing the performance operation;
In each of the first and second operators, when the first operation having a motion different from the performance motion is detected, the musical sound is transmitted to the performance device based on the detected first operation. Directing the operation of a function different from the occurrence of
A program characterized by having executed.

10 本体部
11 CPU
12 ROM
13 RAM
14 操作部
15 表示部
16 通信部
17 音源部
18 サウンドシステム
20−1,20−2 スティック部
20a センサ部
20b CPU
20c ROM
20d RAM
20e 通信部
20f 操作部
100 電子打楽器
10 Body 11 CPU
12 ROM
13 RAM
DESCRIPTION OF SYMBOLS 14 Operation part 15 Display part 16 Communication part 17 Sound source part 18 Sound system 20-1, 20-2 Stick part 20a Sensor part 20b CPU
20c ROM
20d RAM
20e Communication unit 20f Operation unit 100 Electronic percussion instrument

Claims (8)

第1の操作子に設けられ、三次元空間における当該第1の操作子の動きを検出する第1の動作検出手段と、
前記第1の操作子とは別の第2の操作子に設けられ、三次元空間における当該第2の操作子の動きを検出する第2の動作検出手段と、
前記第1および第2の動作検出手段の少なくとも一方において、対応する前記第1及び第2の操作子の少なくとも一方が演奏動作を表わす動きを検出した場合に、演奏装置に対して当該演奏動作に対応する楽音の発生を指示する楽音発生指示手段と、
前記第1および第2の動作検出手段の一方が、前記演奏動作とは異なる動きの第1の操作を検出し、かつ他方が前記演奏動作及び前記第1の操作とは異なる第2の操作を検出した場合に、当該検出された第1の操作及び第2の操作の組み合わせに基づき、前記演奏装置に対して前記楽音の発生とは異なる機能の動作を指示する動作指示手段と、
を具備することを特徴とする入力装置。
A first motion detection means provided on the first operator for detecting the movement of the first operator in a three-dimensional space;
A second operation detecting means provided in a second operator different from the first operator and detecting a movement of the second operator in a three-dimensional space;
In at least one of the first and second motion detection means, when at least one of the corresponding first and second operators detects a motion representing a performance motion, the performance device performs the performance motion. Musical sound generation instruction means for instructing generation of a corresponding musical sound;
One of the first and second movement detection means, said detecting a first operation of the different movements and play operation, and a second operation different from the other is the playing operation and the first operation An operation instructing means for instructing the performance device to perform an operation of a function different from the generation of the musical sound based on a combination of the detected first operation and second operation when detected ;
An input device comprising:
前記動作指示手段は、前記第1の動作検出手段及び前記第2の動作検出手段のいずれか一方がスティックを所定角速度以上で一定角度以上、右から左へ或いは左から右へ振るフリック操作を検出し、前記第1の動作検出手段及び前記第2の動作検出手段のいずれか他方が所定方向を指し示すポインティング操作を検出した場合に、前記演奏装置に対して前記楽音の発生とは異なる機能の動作を指示することを特徴とする請求項1に記載の入力装置。The action instruction means detects a flick operation in which one of the first action detection means and the second action detection means swings the stick from the right to the left or from the left to the right at a predetermined angular velocity or more and a certain angle or more. When the other one of the first motion detection means and the second motion detection means detects a pointing operation pointing in a predetermined direction, the operation of the function different from the generation of the musical sound to the performance device The input device according to claim 1, wherein: 前記動作指示手段は、示部に楽譜が表示されている状態において、前記第1の動作検出手段がフリック操作を検出するとともに、前記第2の動作検出手段がポインティング操作を検出した場合、前記演奏装置に対して、前記表示部に楽譜表示に代えてボリューム表示画面の表示を指示することを特徴とする請求項に記載の入力装置。 The operation instructing means, in the state being displayed musical score in Table radical 113, when the first movement detection means detects a flick operation, the second operation detection means detects the pointing operation, the The input device according to claim 2 , wherein the display unit instructs the display unit to display a volume display screen instead of a score display. 前記動作指示手段は、示部に所定の楽譜が表示されている状態において、前記第1の動作検出手段がポインティング操作を検出するとともに、前記第2の動作検出手段がフリック操作を検出した場合、前記演奏装置に対して、前記表示部に前記所定の楽譜に代えて別の楽譜の表示を指示することを特徴とする請求項に記載の入力装置。 The operation instructing means, in a state in which a predetermined score is displayed in Table radical 113, when the first movement detection means detects the pointing operation, the second operation detection means detects flicks 4. The input device according to claim 3 , wherein the display device is instructed to display another score instead of the predetermined score on the display unit. 前記動作指示手段は、示部に所定の楽曲を表わす楽譜が表示されている状態において、前記第1の動作検出手段がフリック操作を検出するとともに、前記第2の動作検出手段が前記楽譜上の所定の位置を指し示すポインティング操作を検出した場合、前記演奏装置に対して、前記楽譜上において指し示された位置から前記所定の楽曲の演奏を開始させる指示を行うことを特徴とする請求項3または4に記載の入力装置。 The operation instructing means, in a state where the score representing the predetermined music Table radical 113 are displayed, the with the first movement detection means detects a flick operation, the second operation detection means the upper score when detecting the pointing operation of pointing a predetermined position of, claim 3, characterized in that with respect to the playing device, a command to start playing of the predetermined musical composition from position pointed on the score Or the input device of 4 . 請求項1乃至5のいずれかに記載の入力装置からの入力に基づいて、楽音を発生させる処理及び前記楽音を発生させる処理とは異なる機能の処理を実行する演奏装置。6. A performance apparatus that executes a process of generating a musical tone and a process having a function different from the process of generating a musical sound based on an input from the input device according to claim 1. 三次元空間における第1の操作子の動きを検出し、
三次元空間における前記第1の操作子とは別の第2の操作子の動きを検出し、
前記第1及び第2の操作子の少なくとも一方において演奏動作を表わす動きを検出した場合に、演奏装置に対して当該演奏動作に対応する楽音の発生を指示し、
前記第1および第2の操作子の一方が、前記演奏動作とは異なる動きの第1の操作を検出し、かつ他方が前記演奏動作及び前記第1の操作とは異なる第2の操作を検出した場合に、当該検出された第1の操作及び第2の操作の組み合わせに基づき、前記演奏装置に対して前記楽音の発生とは異なる機能の動作を指示する、ことを特徴とする入力方法。
Detecting the movement of the first operator in a three-dimensional space;
Detecting a movement of a second operator different from the first operator in a three-dimensional space;
When at least one of the first and second operators detects a motion representing a performance action, the performance device is instructed to generate a musical sound corresponding to the performance action,
One of the first and second operation element, said detecting a first operation of the different movements and play operation, and detects a different second operation the other is the playing operation and the first operation In this case, an input method is characterized in that, based on the combination of the detected first operation and second operation, the performance device is instructed to operate with a function different from the generation of the musical sound.
コンピュータに、
三次元空間における第1の操作子の動きを検出するステップと、
三次元空間における前記第1の操作子とは別の第2の操作子の動きを検出するステップと、
前記第1及び第2の操作子の少なくとも一方において演奏動作を表わす動きを検出した場合に、演奏装置に対して当該演奏動作に対応する楽音の発生を指示するステップと、
前記第1および第2の操作子の一方が、前記演奏動作とは異なる動きの第1の操作を検出し、かつ他方が前記演奏動作及び前記第1の操作とは異なる第2の操作を検出した場合に、当該検出された第1の操作及び第2の操作の組み合わせに基づき、前記演奏装置に対して前記楽音の発生とは異なる機能の動作を指示するステップと、
を実行させることを特徴とするプログラム。
On the computer,
Detecting the movement of the first operator in a three-dimensional space;
Detecting a movement of a second operator different from the first operator in a three-dimensional space;
Instructing the performance device to generate a musical sound corresponding to the performance operation when at least one of the first and second operators detects a motion representing the performance operation;
One of the first and second operation element, said detecting a first operation of the different movements and play operation, and detects a different second operation the other is the playing operation and the first operation And instructing the performance device to operate a function different from the generation of the musical sound based on the combination of the detected first operation and second operation .
A program characterized by having executed.
JP2013154125A 2013-07-25 2013-07-25 INPUT DEVICE, PERFORMANCE DEVICE, INPUT METHOD, AND PROGRAM Active JP6281198B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013154125A JP6281198B2 (en) 2013-07-25 2013-07-25 INPUT DEVICE, PERFORMANCE DEVICE, INPUT METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013154125A JP6281198B2 (en) 2013-07-25 2013-07-25 INPUT DEVICE, PERFORMANCE DEVICE, INPUT METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2015025883A JP2015025883A (en) 2015-02-05
JP6281198B2 true JP6281198B2 (en) 2018-02-21

Family

ID=52490601

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013154125A Active JP6281198B2 (en) 2013-07-25 2013-07-25 INPUT DEVICE, PERFORMANCE DEVICE, INPUT METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP6281198B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5316818B2 (en) * 2010-10-28 2013-10-16 カシオ計算機株式会社 Input device and program

Also Published As

Publication number Publication date
JP2015025883A (en) 2015-02-05

Similar Documents

Publication Publication Date Title
JP5316818B2 (en) Input device and program
JP5182655B2 (en) Electronic percussion instruments and programs
JP6044099B2 (en) Attitude detection apparatus, method, and program
JP5029732B2 (en) Performance device and electronic musical instrument
JP5067458B2 (en) Performance device and electronic musical instrument
JP5712603B2 (en) Performance device and electronic musical instrument
JP2013213946A (en) Performance device, method, and program
JP2013213744A (en) Device, method and program for detecting attitude
JP2013195645A (en) Performance device, method, and program
CN102456339B (en) Input device
JP4586525B2 (en) Virtual drum device
JP6281198B2 (en) INPUT DEVICE, PERFORMANCE DEVICE, INPUT METHOD, AND PROGRAM
JP6610120B2 (en) Sound control apparatus, method, program, and electronic musical instrument
JP6111526B2 (en) Music generator
JP6031800B2 (en) Performance device, method and program
JP6519578B2 (en) Posture detection apparatus and posture detection method
JP6981486B2 (en) Terminal device, performance device, program, performance system and performance main unit
JP2013044889A (en) Music player
JP6436145B2 (en) Performance device, method and program
JP6031801B2 (en) Performance device, method and program
JP2013011658A (en) Performance instructing device and program
KR20110023959A (en) Song half cycle
JP2013213947A (en) Performance device, method, and program
JP2013044951A (en) Handler and player
JP2012032681A (en) Performance device and electronic musical instrument

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160721

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170531

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170724

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180108

R150 Certificate of patent or registration of utility model

Ref document number: 6281198

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150