JP2006162904A - Sound generation control method based on performance operation prediction, and electronic musical instrument - Google Patents

Sound generation control method based on performance operation prediction, and electronic musical instrument Download PDF

Info

Publication number
JP2006162904A
JP2006162904A JP2004353404A JP2004353404A JP2006162904A JP 2006162904 A JP2006162904 A JP 2006162904A JP 2004353404 A JP2004353404 A JP 2004353404A JP 2004353404 A JP2004353404 A JP 2004353404A JP 2006162904 A JP2006162904 A JP 2006162904A
Authority
JP
Japan
Prior art keywords
performance information
musical instrument
detection unit
speed
electronic musical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004353404A
Other languages
Japanese (ja)
Other versions
JP4244916B2 (en
Inventor
Tsutomu Kobayashi
力 小林
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 JP2004353404A priority Critical patent/JP4244916B2/en
Publication of JP2006162904A publication Critical patent/JP2006162904A/en
Application granted granted Critical
Publication of JP4244916B2 publication Critical patent/JP4244916B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To realize an ensemble in an environment where there is delay in communication. <P>SOLUTION: An electronic percussion instrument 1 detects a position and speed of a stick by using magnetic sensors 21 attached to a strike face 22 and a magnet 20 embedded at the tip part of a stick 18 manipulated by a user, and determines that the instrument is already in the performance state when the position is inside a determination surface and the speed is not slower than a predetermined speed, and starts producing performance information. Firstly, the instrument calculates predicted access and predicted speed of the stick 18. The instrument 1 produces the performance information by determining sound production timing and velocity from the calculated predicted access time and predicted speed, respectively. Secondly, the instrument 1 determines transmission time of the performance information based on the predicted access time and a delay amount of a communication network, and transmits the performance information to electronic instruments of ensemble partners through the communication network at the arrival of the time. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、電子楽器の演奏者の演奏動作を予測し、予測結果に基づいて楽音発生を制御する技術に関する。   The present invention relates to a technique for predicting a performance action of a player of an electronic musical instrument and controlling generation of musical sounds based on a prediction result.

近年の通信ネットワークの発達により、地理的に離れた地点にあり通信ネットワークを介して接続された複数の電子楽器端末により合奏(セッション)を行うことができる合奏システムに対するニーズが高まっている。このような合奏システムにおいて、合奏に参加する複数の者が1つの楽曲の各演奏パートを各々担当するものとすると、各参加者が合奏音を聞くためには、各参加者の電子楽器端末において生成される演奏情報(音高、音量、音色等)が逐次他の全ての参加者の電子楽器端末に送信されなければならない。このようにすることで初めて、各参加者の電子楽器端末では、楽曲を構成する全てのパートの演奏情報が得られ、その演奏情報に従って合奏を行うことが可能となる。   With the recent development of communication networks, there is an increasing need for ensemble systems that can perform ensembles (sessions) with a plurality of electronic musical instrument terminals that are located at geographically distant points and are connected via a communication network. In such an ensemble system, if a plurality of persons participating in the ensemble are in charge of each performance part of one piece of music, each participant can listen to the ensemble sound at the electronic musical instrument terminal of each participant. The generated performance information (pitch, volume, timbre, etc.) must be sequentially transmitted to the electronic musical instrument terminals of all other participants. For the first time in this way, each participant's electronic musical instrument terminal can obtain performance information of all the parts making up the music, and can perform an ensemble according to the performance information.

しかしながら、このように各パートの演奏情報を各電子楽器端末に行き渡らせるだけでは、各電子楽器端末において正常な合奏を行うことはできない。合奏というのは、他の合奏者の音を聞きつつ自分の楽器を演奏するものであるから、演奏情報に従って各パートの演奏が行われる際に、各パートの発音タイミングの同期が取れている必要がある。ここで、同一の場所で行なわれる通常の合奏では合奏参加者が演奏した音は直ちに合奏参加者全員の耳に届くので、通常各パートの発音タイミングに問題は生じることは考えられない。ところが、例えば通信ネットワークを介して楽器Aと楽器Bとを接続して合奏を行う場合、楽器Aにおいて演奏情報を送信してから電子楽器Bに届くまでには必ずある有限の時間がかかるため、楽器Bの演奏者にはその演奏音が遅れて聞こえることになる。楽器Bの演奏者はこの遅れて届いた音に合わせて演奏を行うことになるが、楽器Bの演奏情報が楽器Aに届くまでには再び遅れが生じる。この結果、楽器AおよびBにおいて同時に発音されなければならない各パートの音の発音タイミングにずれが生じる。インターネット等の汎用通信網を利用した場合、このずれは数10ミリ秒〜1秒になることがあり、これでは正常な合奏を成立させることは困難である。このように、通信ネットワークを介して合奏を行う場合は、不可避的に発生するネットワーク遅延を考慮する必要がある。   However, a normal ensemble cannot be performed in each electronic musical instrument terminal simply by spreading the performance information of each part to each electronic musical instrument terminal. An ensemble is to play your instrument while listening to the sound of other ensemblers. Therefore, when each part is played according to the performance information, the sound generation timing of each part must be synchronized. There is. Here, in a normal ensemble performed at the same place, since the sound played by the ensemble participant immediately reaches the ears of all the ensemble participants, it is unlikely that a problem will normally occur in the sound generation timing of each part. However, for example, when performing an ensemble by connecting the musical instrument A and the musical instrument B via a communication network, it takes a certain finite time to reach the electronic musical instrument B after transmitting performance information in the musical instrument A. The performer of instrument B will hear the performance sound with a delay. The performer of the musical instrument B performs in accordance with the delayed sound, but a delay occurs again until the performance information of the musical instrument B reaches the musical instrument A. As a result, the sound generation timings of the sounds of the parts that must be simultaneously generated in the musical instruments A and B are shifted. When a general-purpose communication network such as the Internet is used, this difference may be several tens of milliseconds to 1 second, and it is difficult to establish a normal ensemble. Thus, when performing an ensemble through a communication network, it is necessary to consider the network delay which inevitably occurs.

このような背景の下、ネットワークに接続された2地点における電子楽器端末を用いて、通信遅延を補償して演奏を記録および再生する技術がある(例えば特許文献1を参照)。具体的には、A地点で伴奏信号に時刻情報を付加してB地点に送信し、B地点において当該伴奏信号に合わせて演奏された演奏信号に時刻情報を付加してA地点に送り返し、A地点でこれを受信すると付加された時刻情報に基づいて両地点における演奏の発音タイミングを修正して記録するというものである。しかし、特許文献1の技術では、単に、演奏相手から遅れて届いた演奏情報に合わせて自楽器端末の演奏音の発音タイミングを遅らせているにすぎず、これではリアルタイムで演奏を同期させることはできない。   Under such a background, there is a technique for recording and reproducing a performance while compensating for a communication delay using electronic musical instrument terminals at two points connected to a network (see, for example, Patent Document 1). Specifically, time information is added to the accompaniment signal at point A and transmitted to point B, time information is added to the performance signal played along with the accompaniment signal at point B, and sent back to point A. A When this is received at a point, the sound generation timing of the performance at both points is corrected and recorded based on the added time information. However, the technique of Patent Document 1 merely delays the sound generation timing of the performance sound of the own musical instrument terminal in accordance with performance information that arrives late from the performance partner, and this does not synchronize the performance in real time. Can not.

特開平7−121161号公報JP-A-7-121161

本発明は、上述した背景に鑑みてなされたものであり、通信遅延の発生する環境において合奏を実現するための方法及び電子楽器を提供することを目的とする。   The present invention has been made in view of the above-described background, and an object thereof is to provide a method and an electronic musical instrument for realizing an ensemble in an environment where communication delay occurs.

上記課題を解決するため、本発明は、ユーザによって操作される操作子との接触を検知する打撃検出部を有する電子楽器であって、前記操作子が前記打撃検出部に到達する以前における前記操作子の運動状態を検出する検出手段と、前記取得手段によって検出された運動状態に基づき、前記打撃検出部に到達時の前記操作子の運動状態を予測する予測手段と、前記予測手段において予測された運動状態に従って演奏情報を生成する生成手段とを有する電子楽器を提供する。本発明の電子楽器によれば、予測した運動状態を用いて前記操作子が前記打撃検出部に到達する前に演奏情報を生成される。これを外部の電子楽器等に提供することができる。すなわち、演奏動作の完了に先立って演奏情報を生成するので、当該演奏情報の提供タイミングを通信遅延を補償するように制御することが可能である。   In order to solve the above-described problem, the present invention provides an electronic musical instrument having a hit detection unit that detects contact with an operator operated by a user, and the operation before the operator reaches the hit detection unit. Based on the motion state detected by the acquisition means, the detection means for detecting the motion state of the child, the prediction means for predicting the motion state of the manipulator when reaching the hit detection unit, and predicted by the prediction means There is provided an electronic musical instrument having generating means for generating performance information in accordance with the exercise state. According to the electronic musical instrument of the present invention, performance information is generated using the predicted motion state before the operation element reaches the hit detection unit. This can be provided to an external electronic musical instrument or the like. That is, since performance information is generated prior to completion of the performance operation, it is possible to control the provision timing of the performance information so as to compensate for communication delay.

好ましい態様において、本発明は、ユーザによって操作される操作子との接触を検知する打撃検出部を有する電子楽器であって、前記操作子が前記打撃検出部に到達する以前のある時刻において、前記操作子の位置および速度を検出する検出手段と、前記検出手段によって検出された位置及び速度に基づき、前記操作子が前記打撃検出部に到達する時刻および到達時の速度を予測する予測手段と、前記予測手段において予測された時刻および速度に従って演奏情報を生成する生成手段とを有する電子楽器を提供する。   In a preferred aspect, the present invention is an electronic musical instrument having a hit detection unit that detects contact with an operator operated by a user, and at a certain time before the operator reaches the hit detection unit, Detecting means for detecting the position and speed of the operating element; and predicting means for predicting the time at which the operating element reaches the hit detection unit and the speed at the time of arrival based on the position and speed detected by the detecting means; There is provided an electronic musical instrument having generation means for generating performance information according to the time and speed predicted by the prediction means.

他の好ましい態様において、本発明は、前記操作子の位置を検出する検出手段と、前記検出手段によって検出された複数の位置と当該位置の検出時刻とに基づいて前記操作子の速度を算出する算出手段と、前記検出手段にて検出された前記操作子の位置に基づき、前記操作子が所定の領域内に進入したか否かを判定する判定手段と、前記判定手段にて前記操作子が前記所定の領域内に進入したと判定された場合のみ、前記算出手段によって算出された速度に基づいて前記操作子が前記打撃検出部に到達する時刻を予測する予測手段と、前記予測手段において予測された時刻および前記算出手段によって算出された速度から、それぞれ発音タイミングおよびベロシティを決定することにより演奏情報を生成する生成手段とを有する電子楽器を提供する。   In another preferred aspect, the present invention calculates the speed of the manipulator based on detection means for detecting the position of the manipulator, a plurality of positions detected by the detection means, and detection times of the positions. Based on the calculation means, the position of the operation element detected by the detection means, determination means for determining whether or not the operation element has entered a predetermined area, and Only when it is determined that the vehicle has entered the predetermined area, a prediction unit that predicts a time at which the operating element reaches the hit detection unit based on a speed calculated by the calculation unit, and a prediction in the prediction unit The electronic musical instrument has a generating means for generating performance information by determining the sound generation timing and velocity from the calculated time and the speed calculated by the calculating means, respectively. To.

本発明は、他の観点において、ユーザによって操作される操作子との接触を検知する打撃検出部を有する電子楽器において演奏情報を生成する方法であって、前記操作子が前記打撃検出部に到達する以前における前記操作子の運動状態を検出する運動状態検出ステップと、前記運動状態検出ステップにおいて検出された運動状態に基づき、前記打撃検出部に到達時の前記操作子の運動状態を予測する運動状態予測ステップと、前記運動状態予測ステップにおいて予測された運動状態に従って演奏情報を生成する生成ステップとを有する演奏情報生成方法を提供する。   In another aspect, the present invention provides a method for generating performance information in an electronic musical instrument having a hit detection unit that detects contact with an operator operated by a user, and the operator reaches the hit detection unit. A motion state detecting step for detecting a motion state of the operating element before performing the motion, and a motion for predicting the motion state of the manipulator when reaching the hit detection unit based on the motion state detected in the motion state detecting step There is provided a performance information generation method including a state prediction step and a generation step of generating performance information according to the motion state predicted in the motion state prediction step.

以下、図面を参照して本発明の実施例を説明する。図1は、本発明の一実施例に係る電子打楽器1の機能構成を示すものであって、まずこの図を用いて電子打楽器1の構成および動作の概略を説明する。この電子打楽器1は、ユーザに把持されるドラムスティック(以下、単にスティックという)と、打撃面を含む打楽器本体から構成される。なお、以下では、電子打楽器1と電子楽器Xとを用いて合奏を行うことを考える。   Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows the functional configuration of an electronic percussion instrument 1 according to an embodiment of the present invention. First, the outline of the configuration and operation of the electronic percussion instrument 1 will be described with reference to FIG. The electronic percussion instrument 1 includes a drum stick (hereinafter simply referred to as a stick) held by a user and a percussion instrument body including a percussion surface. In the following, it is assumed that an ensemble is performed using the electronic percussion instrument 1 and the electronic instrument X.

図1に示すように、電子打楽器1は、制御部10、位置検出部11、打撃検出部12、発音部13、記憶部14、通信部15、タイマ16、および各部を接続するバス17から構成される本体部と、ユーザに把持されるスティック18とから構成される。制御部10は、CPUその他の各種演算プロセッサからなり、電子打楽器1の各部を制御するとともに、電子打楽器1の各部から得た情報に基づき、発生させる楽音の演奏情報(発音タイミングおよびベロシティ)を決定する。位置検出部11は、センサ装置を備え、スティック18の位置を検出し制御部10へ供給する。打撃検出部12は、打撃面に備え付けられた圧力センサ等のセンサデバイスおよびセンサ信号の解析回路から構成され、スティックが打撃面に接触したタイミングや接触した際に打撃面に加えられた圧力等などの情報を検出して制御部10に供給する。発音部13は、DSP(Digital signal processor)等の音声信号処理回路およびスピーカ等の楽音発生装置を有し、制御部10からの指示に従って楽音を発生させる。一般的な電子打楽器は、打撃検出部12、制御部10、および発音部13で構成される。   As shown in FIG. 1, the electronic percussion instrument 1 includes a control unit 10, a position detection unit 11, a hit detection unit 12, a sound generation unit 13, a storage unit 14, a communication unit 15, a timer 16, and a bus 17 that connects the units. And a stick 18 held by the user. The control unit 10 is composed of a CPU and various other arithmetic processors, controls each part of the electronic percussion instrument 1, and determines musical performance information (sounding timing and velocity) to be generated based on information obtained from each part of the electronic percussion instrument 1. To do. The position detection unit 11 includes a sensor device, detects the position of the stick 18, and supplies the detected position to the control unit 10. The hit detection unit 12 includes a sensor device such as a pressure sensor provided on the hitting surface and an analysis circuit for the sensor signal. The timing at which the stick touches the hitting surface, the pressure applied to the hitting surface when touched, and the like. Is detected and supplied to the control unit 10. The sound generation unit 13 includes a sound signal processing circuit such as a DSP (Digital signal processor) and a musical sound generation device such as a speaker, and generates a musical sound according to an instruction from the control unit 10. A general electronic percussion instrument includes a hit detection unit 12, a control unit 10, and a sound generation unit 13.

記憶部14は、RAM、ROM、EEPROM、あるいはHDD等の記憶装置であって、演奏情報を決定するために必要なデータを格納する。通信部15は、通信インタフェース等を有し、制御部10の指示の下、電子打楽器1で生成した演奏情報を通信回線を介して他の電子楽器に送信する一方、他の電子楽器が生成した演奏情報を受信する。これにより、ネットワークを介して複数の電子楽器を互いに接続し演奏情報を授受することにより、自身の電子楽器の演奏に基づく音を他の電子楽器上で発音させたり、逆に他の楽器の演奏音を自身の電子楽器で発音させるすことが可能となる。タイマ16は、発音タイミング等を決定する上で基準となる時刻を生成するための計時機構である。   The storage unit 14 is a storage device such as a RAM, ROM, EEPROM, or HDD, and stores data necessary for determining performance information. The communication unit 15 has a communication interface and the like, and transmits performance information generated by the electronic percussion instrument 1 to another electronic musical instrument via a communication line under the instruction of the control unit 10, while the other electronic musical instrument generates Receive performance information. This allows multiple electronic musical instruments to be connected to each other via a network to exchange performance information, so that sounds based on the performance of their own electronic musical instruments can be pronounced on other electronic musical instruments, or conversely Sounds can be generated with their own electronic musical instruments. The timer 16 is a time measuring mechanism for generating a reference time for determining sound generation timing and the like.

次に、図2(a)〜(c)を用いて、位置検出部11がスティック18の位置を検出する方法について説明する。図2(a)は、ユーザが電子打楽器1を用いて演奏を行っている様子を示したものである。同図に示すように、スティック18の先端部(チップ)には磁石20が埋め込まれている。図2(b)および(c)は、それぞれ位置検出部11の俯瞰図および側面図である。位置検出部11は、打撃面22の四隅にそれぞれ備え付けられた磁気センサ21と、それぞれのセンサからの電気信号を解析するための解析回路(図示せず)を有する。今、ユーザに把持されたスティックが打撃面22の上方に位置しているものとすると、それぞれの磁気センサ21はスティックに埋め込まれた磁石20の位置に応じた強さの電気信号を出力する。電気信号の強さは磁気センサ21と磁石20までの距離を表す指標となるので、磁気センサ21によって磁石20から磁気センサ21までの計4つの距離が算出されることになる。解析回路は全ての磁気センサ21の設置位置を予め把握しており、これらの位置と算出された距離とから、磁石20(すなわちスティック18の先端部)の三次元空間内の一点を決定する。以下では、説明の便宜上、このように決定した3次元空間内の一点を「スティック18の位置」と称することとする。   Next, a method in which the position detection unit 11 detects the position of the stick 18 will be described with reference to FIGS. FIG. 2A shows a state in which the user is performing using the electronic percussion instrument 1. As shown in the figure, a magnet 20 is embedded in the tip (tip) of the stick 18. 2B and 2C are an overhead view and a side view of the position detection unit 11, respectively. The position detection unit 11 includes magnetic sensors 21 provided at the four corners of the striking surface 22 and analysis circuits (not shown) for analyzing electric signals from the respective sensors. Now, assuming that the stick held by the user is positioned above the striking surface 22, each magnetic sensor 21 outputs an electrical signal having a strength corresponding to the position of the magnet 20 embedded in the stick. Since the strength of the electric signal serves as an index representing the distance between the magnetic sensor 21 and the magnet 20, the magnetic sensor 21 calculates a total of four distances from the magnet 20 to the magnetic sensor 21. The analysis circuit grasps the installation positions of all the magnetic sensors 21 in advance, and determines one point in the three-dimensional space of the magnet 20 (that is, the tip of the stick 18) from these positions and the calculated distance. Hereinafter, for convenience of explanation, one point in the three-dimensional space determined in this way is referred to as “position of the stick 18”.

次に、図3を用いて、検出したスティック18の位置に基づいて演奏情報を生成する方法について説明する。まず、ある時刻において、上述したようにスティック18の位置を検出すると、その情報を記憶部10のRAM等に記憶する(ステップS100)。続いて、ステップS101において、記憶された位置情報が所定の数だけ蓄積されているか否かを判定する。所定数蓄積されていない場合は(ステップS101、NO)、ステップS100に戻り再び位置情報を取得して記憶する。このように、所定数の位置情報が蓄積(バッファリング)されると(ステップS101、YES)、ステップS102へ進み、演奏情報の生成処理に入るべきか否かを決定する。具体的には、以下の判定を行う。   Next, a method for generating performance information based on the detected position of the stick 18 will be described with reference to FIG. First, when the position of the stick 18 is detected at a certain time as described above, the information is stored in the RAM or the like of the storage unit 10 (step S100). Subsequently, in step S101, it is determined whether or not a predetermined number of stored location information has been accumulated. If the predetermined number is not accumulated (step S101, NO), the process returns to step S100 to acquire and store the position information again. As described above, when a predetermined number of pieces of position information are accumulated (buffered) (YES in step S101), the process proceeds to step S102, where it is determined whether or not to enter performance information generation processing. Specifically, the following determination is performed.

まず、得られた位置情報から、スティック18と打撃面22との距離が所定値以下になっているか否かを判定する。以下、説明の便宜上、打撃面22の上部に位置し打撃面22までの距離が当該所定値であると定義される仮想的な面を考え、これを「判定面」と称する。すなわち、スティック18がこの判定面に対して打撃面側に位置するか否かを確かめる。この判定面を用いる理由は、例えば演奏者の頭上にスティック18がある場合であって当該位置に基づいてスティック18の打撃面22までの到達時間や到達時の速度等を予測するとすれば、誤差が大きくなり精度の高い予測が困難だからである。加えて、例えば、演奏者がスティック18が胸元付近に到達したときに打撃動作を中止する可能性もあり、このような場合に演奏情報の生成が誤って行われないようにすべきだからである。このように、誤動作を防止して高精度にスティック18の挙動を予測するために、スティック18が判定面の下部に位置したときのみ、演奏情報生成処理を開始することとしたのである。更に、得られた位置情報からスティック18のZ座標(垂直位置)が時間とともに減少傾向にあるか否かを判定し、減少傾向にある場合のみ演奏情報生成処理を開始する。すなわち、スティック18が上方から下方へ移動しているのか、逆に下方から上方へ移動したのかを判定する。上方から下方へ移動していると判定した場合は、演奏者が打撃面22に向けてスティック18を振り下ろしている最中であるので演奏情報生成処理を開始する。下方から上方へ移動している場合は、打撃後の動作の最中であると考えられ次の打撃が行われるか否かは判断できないので、演奏情報生成処理は行わない。次に、得られた位置情報からスティック18の速度を算出し、速度がある閾値を越えているか否かを判定し、閾値以上の場合のみ演奏情報生成処理を開始する。通常、打撃面22からの所定距離における演奏動作中のスティック18の速度は一定以上の値をとっていると考えられ、これよりもゆっくりとスティック18が動いている場合には、演奏者には打撃を行う意思がないかまたは演奏者が打撃の体勢に入っていないと推定されるので、演奏情報生成処理を行なわないこととしたのである。   First, it is determined from the obtained position information whether or not the distance between the stick 18 and the striking surface 22 is equal to or less than a predetermined value. Hereinafter, for the sake of convenience of explanation, a virtual surface that is located above the striking surface 22 and is defined as having a predetermined distance from the striking surface 22 will be referred to as a “determination surface”. That is, it is confirmed whether or not the stick 18 is positioned on the striking surface side with respect to the determination surface. The reason for using this determination surface is, for example, when there is a stick 18 above the performer, and if the arrival time to the striking surface 22 of the stick 18 or the speed at the time of arrival is predicted based on the position, an error will occur. This is because it becomes large and it is difficult to predict with high accuracy. In addition, for example, there is a possibility that the player stops the striking operation when the stick 18 reaches near the chest. In such a case, performance information should not be generated erroneously. . In this way, in order to prevent malfunction and predict the behavior of the stick 18 with high accuracy, the performance information generation process is started only when the stick 18 is positioned below the determination surface. Further, it is determined whether or not the Z coordinate (vertical position) of the stick 18 tends to decrease with time from the obtained position information, and the performance information generation process is started only when it tends to decrease. That is, it is determined whether the stick 18 is moved from the upper side to the lower side or vice versa. If it is determined that the player is moving from the upper side to the lower side, the player is in the process of swinging down the stick 18 toward the striking surface 22, and the performance information generation process is started. When moving from the lower side to the upper side, it is considered that the operation after the hitting is in progress, and it cannot be determined whether or not the next hitting will be performed. Therefore, the performance information generation process is not performed. Next, the speed of the stick 18 is calculated from the obtained position information, it is determined whether or not the speed exceeds a certain threshold value, and the performance information generation process is started only when the speed is equal to or greater than the threshold value. Normally, it is considered that the speed of the stick 18 during a performance operation at a predetermined distance from the striking surface 22 takes a value greater than a certain value, and when the stick 18 moves more slowly than this, the player is Since it is presumed that the player is not willing to hit or the player is not in the striking position, the performance information generation process is not performed.

このようにしてユーザが演奏動作に入っていることが認められ、演奏情報生成処理を開始することが決定されると、(ステップS102、YES)、得られた位置情報から、現在のスティック18の位置から打撃面22に到達すると予測される時間(以下、予測到達時間という)および打撃面到達時におけるスティック18の速度(以下、予測速度という)を決定する(ステップS103)。例えば、最も単純には、スティック18の加速度はゼロであると近似することができる。この場合、スティック18の速度は常に一定であり、当該位置で検知した速度は予測速度に等しい。予測到達時刻については、一例としては、スティック18先端部の進行方向が打撃面22に対してほぼ垂直とみなし、当該位置から打撃面22までの距離をこの速度で除することにより算出することができる。例えば、判定面上に打撃面22から判定面までの距離が「15cm」で、判定面上で演奏情報生成処理を開始し、この位置で検出したスティック18の速度が「3m/s」であったならば、予測される到達時間は50ms後と算出される。従って、電子楽器1から実際に発音されるタイミングは「50ms後」と決定される。   In this way, when it is recognized that the user has entered the performance operation and it is determined to start the performance information generation process (YES in step S102), the current position of the current stick 18 is determined from the obtained position information. The time predicted to reach the striking surface 22 from the position (hereinafter referred to as the predicted arrival time) and the speed of the stick 18 when reaching the striking surface (hereinafter referred to as the predicted speed) are determined (step S103). For example, most simply, it can be approximated that the acceleration of the stick 18 is zero. In this case, the speed of the stick 18 is always constant, and the speed detected at the position is equal to the predicted speed. As an example, the estimated arrival time can be calculated by regarding the traveling direction of the tip of the stick 18 as being substantially perpendicular to the striking surface 22 and dividing the distance from the position to the striking surface 22 by this speed. it can. For example, the distance from the striking surface 22 to the determination surface is “15 cm” on the determination surface, the performance information generation process is started on the determination surface, and the speed of the stick 18 detected at this position is “3 m / s”. If so, the predicted arrival time is calculated as 50 ms later. Therefore, the timing at which the electronic musical instrument 1 actually produces a sound is determined as “50 ms later”.

記憶部14は、一例として図4に示す、スティック18の速度の値とこれに対応するベロシティ値を対応付けて記憶したテーブルを有している。例えば予測速度が「2.5m/s」ならば、制御部10はこのテーブルを参照してベロシティ値を「100」と決定する。このようにして、予測到達時刻から当該演奏に対応して発音すべき楽音の発音タイミングが、予測速度から当該発音すべき楽音のベロシティ値がそれぞれ決定されると、電子楽器Xに送信すべき演奏情報が生成される(ステップS104)。   The storage unit 14 includes, as an example, a table shown in FIG. 4 in which the velocity value of the stick 18 and the velocity value corresponding thereto are stored in association with each other. For example, if the predicted speed is “2.5 m / s”, the control unit 10 refers to this table and determines the velocity value as “100”. In this way, when the sound generation timing of the musical sound to be generated corresponding to the performance is determined from the predicted arrival time and the velocity value of the musical sound to be generated is determined from the predicted speed, the performance to be transmitted to the electronic musical instrument X is determined. Information is generated (step S104).

続いてステップS105に進み、当該演奏情報を送信すべきタイミングを決定する(ステップS105)。具体的には、制御部10は、記憶部14に格納されているネットワークの遅延量を参照し、この遅延量にしたがった送信時刻を決定する。制御部10は、決定した時刻が到来すると当該演奏情報を送信する(ステップS106)。   Then, it progresses to step S105 and the timing which should transmit the said performance information is determined (step S105). Specifically, the control unit 10 refers to the network delay amount stored in the storage unit 14 and determines a transmission time according to the delay amount. The control unit 10 transmits the performance information when the determined time arrives (step S106).

上述した送信時刻の決定について、図5を用いて詳細に説明する。いま時刻t=0において、予測到達時刻および予測速度が算出され(ステップS201)、このときの予測到達時刻をt2とする。また、記憶部14から読み出したネットワークの遅延量がΔTであるとする。この遅延量ΔTは、送信した演奏情報が合奏相手である電子楽器に受信され、再び電子打楽器1に戻ってくるまでの時間のことである。いま送信時刻をt1とすると、合奏を成立させるためには、予測演奏動作に基づいて生成した演奏情報がネットワークを介して合奏相手から戻ってくる時刻が、実際の演奏が行なわれると予想される時刻に等しくなっていなければならないことから、t2=t1+ΔTの関係が成り立つ。よって、送信時刻t1は、t1=t2−ΔTにより求めることができる。なお、t2<ΔT、すなわちネットワークの遅延量がスティックの予測到達時刻時間よりも大きい場合は、t1=0とする。すなわち、即座に演奏情報の送信を行い、ネットワーク遅延による演奏情報の提供の遅れが最小限となるようにする。   The determination of the transmission time described above will be described in detail with reference to FIG. At time t = 0, the predicted arrival time and the predicted speed are calculated (step S201), and the predicted arrival time at this time is t2. It is also assumed that the network delay amount read from the storage unit 14 is ΔT. This delay amount ΔT is the time until the transmitted performance information is received by the electronic musical instrument that is the ensemble partner and returns to the electronic percussion instrument 1 again. Assuming that the transmission time is t1, in order to establish an ensemble, it is expected that the actual performance will be performed when the performance information generated based on the predicted performance action returns from the ensemble partner via the network. Since it must be equal to the time, the relationship of t2 = t1 + ΔT is established. Therefore, the transmission time t1 can be obtained by t1 = t2−ΔT. When t2 <ΔT, that is, when the delay amount of the network is larger than the predicted arrival time of the stick, t1 = 0 is set. In other words, performance information is transmitted immediately, and the delay in providing performance information due to network delay is minimized.

このようにして決定した時刻t1において送信された演奏情報は(ステップS202)、ネットワークの遅延ΔT/2を考慮すれば、時刻t1+ΔT/2に電子楽器Xにおいて受信される(ステップS203)。電子楽器Xにおいては、演奏情報を受信すると当該演奏情報に従って楽音生成処理が行なわれ、電子打楽器1の音が発音される。電子楽器Xの演奏者はこの演奏音にあわせて電子楽器Xで演奏を行うとともに、自身の楽器による演奏を表す演奏情報を生成して電子打楽器1へ送信する(ステップS203)。ネットワークの遅延ΔT/2を再び考慮すると、時刻t1+ΔT/2+ΔT/2=t2において、電子打楽器1は電子楽器Xからの演奏情報を受信し、その演奏情報に従って発音処理を行う(ステップS204)。このとき、スティック18は打撃面22に到達し、その結果、打撃検出部12、制御部10、発音部13においてそれぞれ処理が行われ、本来の電子打楽器1内の演奏情報処理およびそれに基づく楽音生成処理が行なわれる。このようにして、電子打楽器1にて演奏した楽音(例えば伴奏音)と電子楽器Xにて演奏された楽音(例えばエレキギターによるメロディ音)とが、電子打楽器1において同時刻に発音されることになる。図5から明らかのなように、電子打楽器1の演奏者および電子楽器Xの演奏者の両者ともに、通信遅延差を意識することなく演奏を行なっている。このように本実施例によれば、通信遅延の存在する環境においても合奏が成立する。   The performance information transmitted at time t1 determined in this way (step S202) is received by the electronic musical instrument X at time t1 + ΔT / 2 considering the network delay ΔT / 2 (step S203). In the electronic musical instrument X, when performance information is received, musical tone generation processing is performed according to the performance information, and the sound of the electronic percussion instrument 1 is generated. The performer of the electronic musical instrument X performs with the electronic musical instrument X in accordance with the performance sound, and also generates performance information representing the performance by the own musical instrument and transmits it to the electronic percussion instrument 1 (step S203). Considering the network delay ΔT / 2 again, at time t1 + ΔT / 2 + ΔT / 2 = t2, the electronic percussion instrument 1 receives performance information from the electronic musical instrument X and performs sound generation processing according to the performance information (step S204). . At this time, the stick 18 reaches the striking surface 22, and as a result, processing is performed in the striking detection unit 12, the control unit 10, and the sound generation unit 13, respectively. Processing is performed. In this way, a musical sound played on the electronic percussion instrument 1 (for example, an accompaniment sound) and a musical sound played on the electronic musical instrument X (for example, a melody sound by an electric guitar) are pronounced on the electronic percussion instrument 1 at the same time. become. As apparent from FIG. 5, both the player of the electronic percussion instrument 1 and the player of the electronic instrument X perform without being aware of the communication delay difference. Thus, according to the present embodiment, ensemble is established even in an environment where communication delay exists.

以上説明したように、本実施例によれば、スティック18の到達時刻および予測速度を予測し、この予測に基づいて、演奏動作の完了前に、演奏情報を生成し、通信ネットワークの遅延量に合わせたタイミングで合奏相手に提供することができるので、通信ネットワークで接続され地理的に離れた複数の電子機器であっても、不可避的に発生する通信遅延に関係なく、正常に合奏を行うことが可能となる。   As described above, according to the present embodiment, the arrival time and predicted speed of the stick 18 are predicted, and based on this prediction, performance information is generated before the performance operation is completed, and the delay amount of the communication network is calculated. Since it can be provided to the ensemble partner at the same timing, even if it is a plurality of geographically separated electronic devices connected by a communication network, ensemble can be performed normally regardless of the communication delay that inevitably occurs Is possible.

<変形例>
本発明は、上述した実施形態に限定されるものではなく、変形や修正を行うことが可能である。以下にその一例を示す。
<Modification>
The present invention is not limited to the above-described embodiments, and can be modified or modified. An example is shown below.

電子打楽器1において発音される楽音については、実際の演奏に基づいて演奏情報生成処理がなされていた。すなわち、演奏情報生成処理時刻(発音タイミング)はスティック18が打撃面22に到達した時点であって、ベロシティ値は打撃面22に取り付けられたセンサ機能により検知された情報に基づき決定される。しかしながら、電子楽器Xに送信する演奏情報(すなわち予測到達時刻および予測速度)に基づいて楽音生成処理を行ってもよい。すなわち、電子打楽器1の演奏者は、実際に演奏した音ではなく、予測演奏動作に基づいて生成された音を聞くことになるが、予測誤差が大きくならない限り、これら予測値に基づいて演奏情報生成処理を行なっても発音タイミングに違和感を覚えることはない。   Musical sounds generated by the electronic percussion instrument 1 have been subjected to performance information generation processing based on actual performance. That is, the performance information generation processing time (sound generation timing) is the time when the stick 18 reaches the striking surface 22, and the velocity value is determined based on information detected by a sensor function attached to the striking surface 22. However, the musical tone generation process may be performed based on performance information (that is, predicted arrival time and predicted speed) transmitted to the electronic musical instrument X. That is, the performer of the electronic percussion instrument 1 hears the sound generated based on the predicted performance operation, not the sound actually played, but the performance information is based on these predicted values unless the prediction error becomes large. Even if the generation process is performed, the sounding timing does not feel strange.

演奏情報の生成処理を開始する判定条件については、上記実施例に限定されることなく自由に設定することができる。例えば、判定面の設定方法については、ネットワーク遅延量が大きい場合は判定面の高さを大きくすることにより演奏情報を先送りする時間を確保し、遅延量が小さい場合には判定面の高さを低くして予測精度を向上させるのが好ましい。   The determination condition for starting the performance information generation process is not limited to the above embodiment, and can be freely set. For example, regarding the setting method of the judgment surface, when the network delay amount is large, the time for delaying performance information is secured by increasing the height of the judgment surface, and when the delay amount is small, the height of the judgment surface is set. It is preferable to lower it to improve the prediction accuracy.

また、上述したセンサの種類や数は任意である。例えば、位置を測定するセンサと速度を検出するセンサを別途に設けても良い。例えば、電子打楽器1の本体部に設けられた磁気センサ21に加えて、重力センサや加速度センサをスティック18に設ける。そして、スティック18において取得した速度等の情報を無線通信によって電子打楽器1の本体部に送信し、電子打楽器1においてこれらの情報を用いて予測時間および予測速度を計算する。例えば、予測精度を優先するならセンサの数やバッファリング数を多くし、演算量および演算時間を優先するなら、センサの数、バッファリング数、およびテーブルのデータ量を少なくしてもよい。また、センサの取り付け位置もスティック18の先端部(チップ)に限定されるものではない。例えば、スティック18の他の部位にもセンサを設ければ、スティック18の角度や角速度といった情報を得ることができるので、これらの情報を用いて予測到達時刻等をより高精度に算出することができる。さらに、例えば、判定面を2つ設定し、打撃検出面からの距離が大きい判定面を通過したら演奏情報生成処理を開始し、もう一方の判定面に到達するまでスティック18の位置、速度、加速度等を検出し続ける。すなわち、一定期間、スティック18の挙動を検出するのである。このように、スティック18の運動状態に関する情報の収集量を多くすれば、予測精度をさらに向上させることが可能となる。また、上述した実施例においては、スティック18が判定面に対して打撃面側に位置するときのみ演奏情報生成処理を開始することとしたが、これに限らず、スティック18が判定面上または判定面から所定の距離に位置する場合のみ演奏情報生成処理を開始するように構成してもよい。また、演奏情報生成処理の開始を判定するための判定面と、その位置でのスティック18の速度等を検出するための判定面を別途に設けてもよい。また、上記実施例において、判定面を打撃面から所定の距離にある面として定義したが、これに限らず、例えば、打撃面の中心から等距離にある面(すなわち半球面)として判定面を定義し、スティックがこの半球面内に進入したことを検知したら楽音生成処理を開始してもよい。   Moreover, the kind and number of sensors mentioned above are arbitrary. For example, a sensor for measuring the position and a sensor for detecting the speed may be provided separately. For example, in addition to the magnetic sensor 21 provided in the main body of the electronic percussion instrument 1, a gravity sensor or an acceleration sensor is provided on the stick 18. Then, information such as the speed acquired by the stick 18 is transmitted to the main body of the electronic percussion instrument 1 by wireless communication, and the electronic percussion instrument 1 uses these pieces of information to calculate a predicted time and a predicted speed. For example, if priority is given to prediction accuracy, the number of sensors and the number of buffering may be increased, and if priority is given to the calculation amount and calculation time, the number of sensors, the number of buffering, and the data amount of the table may be reduced. The sensor mounting position is not limited to the tip (chip) of the stick 18. For example, if sensors are provided in other parts of the stick 18 as well, information such as the angle and angular velocity of the stick 18 can be obtained. Therefore, the predicted arrival time and the like can be calculated with higher accuracy using such information. it can. Further, for example, two determination surfaces are set, and the performance information generation process is started when passing through a determination surface having a large distance from the hit detection surface, and the position, speed, and acceleration of the stick 18 until the other determination surface is reached. Etc. continue to be detected. That is, the behavior of the stick 18 is detected for a certain period. As described above, the prediction accuracy can be further improved by increasing the collection amount of the information related to the motion state of the stick 18. In the above-described embodiment, the performance information generation process is started only when the stick 18 is located on the striking surface side with respect to the determination surface. However, the present invention is not limited to this, and the stick 18 is on the determination surface or the determination surface. You may comprise so that a performance information generation process may be started only when located in a predetermined distance from a surface. Further, a determination surface for determining the start of the performance information generation process and a determination surface for detecting the speed of the stick 18 at the position may be provided separately. In the above embodiment, the determination surface is defined as a surface at a predetermined distance from the striking surface. However, the present invention is not limited to this. For example, the determination surface is a surface that is equidistant from the center of the striking surface (that is, a hemispherical surface). The tone generation process may be started when it is defined that the stick has entered the hemisphere.

また、予測到達時刻や予測速度の算出アルゴリズムも、上記実施例で示したものに限らない。上記実施例においては、スティック18の加速度はゼロであって、検出位置におけるスティック18先端部の進行方向は打撃面22に対し垂直であると近似したが、検出位置での速度に加えて加速度を算出し、この加速度を用いて予測速度を計算してもよい。あるいは、加速度を直接算出しなくても、位置および速度に対応づけて予測到達時刻及び予測速度を記憶したテーブルを記憶部13に格納し、このテーブルを参照して予測到達時刻及び予測速度を決定してもよい。   Also, the predicted arrival time and predicted speed calculation algorithms are not limited to those shown in the above embodiment. In the above embodiment, the acceleration of the stick 18 is zero, and the traveling direction of the tip of the stick 18 at the detection position is approximated to be perpendicular to the striking surface 22. However, in addition to the speed at the detection position, the acceleration is increased. The predicted speed may be calculated using this acceleration. Alternatively, a table storing the predicted arrival time and the predicted speed in association with the position and speed is stored in the storage unit 13 without referring to the acceleration, and the predicted arrival time and the predicted speed are determined with reference to this table. May be.

さらに、かかるテーブルに格納されるデータ内容は、ユーザが自由に設定することも可能である。例えば、ユーザが使用可能なスティック18の種類(先端部の形状、全体の重量等)に合わせて、それぞれベロシティの値が異なるテーブルを複数個備えていてもよい。スティック18が異なれば到達時刻や到達時の速度は微妙に変化し得るからである。この場合、ユーザがスティック18の種類を指定すると、制御部10はそのスティックに応じたテーブルを読み出して使用する。   Further, the contents of data stored in such a table can be freely set by the user. For example, a plurality of tables having different velocity values may be provided in accordance with the types of sticks 18 that can be used by the user (the shape of the tip, the overall weight, etc.). This is because, if the stick 18 is different, the arrival time and the speed at the time of arrival can be changed slightly. In this case, when the user designates the type of the stick 18, the control unit 10 reads and uses a table corresponding to the stick.

また、上述した実施例においては、磁石20をスティック18に設ける一方、磁気センサ21および磁気センサからの出力信号を解析する解析回路を電子打機器1の本体部に設けた構成としたが、これに限らず、例えば、磁石20を打撃面22の四隅に設置し、スティック18に磁気センサおよび解析回路を含む位置検出部11に設けてもよい。この場合、スティック18にて距離や速度が算出され、この距離や速度の情報をスティック18に埋め込まれた無線送信回路を用いて、電子打楽器1の発音部13あるいは外部のスピーカシステム等の楽音生成装置に無線送信してもよい。   In the embodiment described above, the magnet 20 is provided on the stick 18, while the magnetic sensor 21 and the analysis circuit for analyzing the output signal from the magnetic sensor are provided in the main body of the electronic hitting device 1. For example, the magnets 20 may be installed at the four corners of the striking surface 22, and the stick 18 may be provided in the position detection unit 11 including a magnetic sensor and an analysis circuit. In this case, the distance and speed are calculated by the stick 18, and musical tone generation of the sound generating unit 13 of the electronic percussion instrument 1 or an external speaker system is performed using a wireless transmission circuit in which the information on the distance and speed is embedded in the stick 18. It may be transmitted wirelessly to the device.

上述した演奏情報の送信時刻決定にあっては、演奏情報の生成タイミングと楽音の発生タイミングは同時であるとみなしたが、厳密にいえば予測到達時刻や予測速度の計算は有限の時間を要するので、さらに高精度の遅延補正が要求される場合等においては、演奏情報生成処理を開始してから楽音生成処理に移るまでのタイムラグを考慮して楽音情報の送信時刻を決定してもよい。   In the performance information transmission time determination described above, the performance information generation timing and the musical sound generation timing are considered to be the same, but strictly speaking, the calculation of the predicted arrival time and the predicted speed requires a finite time. Therefore, when higher-accuracy delay correction is required, the transmission time of the musical sound information may be determined in consideration of the time lag from the start of the performance information generation process to the transition to the musical sound generation process.

遅延量の取得方法としては、例えば、合奏を開始する直前に、TCP/IPネットワークにおいて用いられるネットワーク診断プログラムであるping(Packet INternet Groper)を用いて測定することとしてもよい。さらに、このようにして測定した遅延量を用いて実際に演奏を行い、スティック18が実際に打撃面22に到達して生成される楽音の発生タイミングと、演奏相手から受信した自己の演奏情報に基づいて発音された楽音の発音タイミングを比較し、適切な値であるかチェックしてもよい。取得した遅延量が実際のネットワーク遅延状態を正しく反映した物であれば両者は同時に発音され、そうでないならば発音タイミングがずれることになる。なお、相手から受信した演奏情報と比較するのは、予測した演奏情報に基づいて発音された楽音であってもよい。   As a method for acquiring the delay amount, for example, measurement may be performed using ping (Packet Internet Groper), which is a network diagnostic program used in the TCP / IP network, immediately before starting the ensemble. Further, the performance is actually performed using the delay amount measured in this way, and the generation timing of the musical sound generated when the stick 18 actually reaches the striking surface 22 and the performance information received from the performance partner are recorded. The sound generation timings of the musical sounds generated based on the comparison may be compared to check whether they are appropriate values. If the acquired delay amount correctly reflects the actual network delay state, both are sounded simultaneously, otherwise the sounding timing is shifted. Note that the musical sound generated based on the predicted performance information may be compared with the performance information received from the opponent.

また、タイミングのずれの検出は、演奏者が実際に聴いた音を用いて行い、手動で遅延量を補正してもよい。この場合、発音タイミングのずれが認識できなくなるまでこの作業を繰り返す。あるいは、この修正作業を電子打楽器1に行わせてもよい。例えば、相手の電子楽器から演奏情報を受信した時刻とスティック18が打撃面22に到達した時刻とを比較し、時刻にずれがある場合、遅延量を所定値だけ変更して演奏情報を送信して比較作業を行う。これを繰り返し、ずれがなくなったら遅延量の修正を終了する。   Further, the detection of the timing shift may be performed using the sound actually heard by the performer, and the delay amount may be manually corrected. In this case, this operation is repeated until the difference in pronunciation timing cannot be recognized. Alternatively, this correction work may be performed by the electronic percussion instrument 1. For example, the time when the performance information is received from the electronic musical instrument of the opponent is compared with the time when the stick 18 reaches the striking surface 22, and if there is a time lag, the performance information is transmitted by changing the delay amount by a predetermined value. And compare. This is repeated, and when there is no deviation, the correction of the delay amount is finished.

更に、上述の遅延量の修正作業を演奏前だけでなく、例えば演奏中に逐次行ってもよい。例えば、所定の時間間隔で、演奏を行なっている演奏情報を用いて電子打楽器1に上述した比較作業を実行させる。そして、時刻のずれがある閾値を越えたら遅延量を補正し、以後の演奏情報の送信タイミングの決定にあたっては補正後の遅延量を用いることとしてもよい。遅延量の補正方法の一例としては、予測到達時刻の算出時点からスティック18が打撃面22に達するまでの時間をα、演奏情報がネットワークを介して合奏相手から戻ってくるまでの時間をβ、時刻nに記憶部14に記憶されている遅延量をΔTn、誤差許容量をCとすると、|α−β|>Cとなったとき、新たな遅延量ΔTn+1をΔTn+1=(ΔTn+β)/2に再設定する。このように遅延量ΔTを変動可能な構成とすれば、ネットワーク状態が時間的に変動する環境であっても、合奏を成立させることができる。 Furthermore, the above-described delay amount correction work may be performed not only before the performance but also during the performance, for example. For example, at a predetermined time interval, the electronic percussion instrument 1 is made to perform the above-described comparison operation using performance information that is being performed. Then, the delay amount may be corrected when the time difference exceeds a certain threshold value, and the corrected delay amount may be used in determining the subsequent performance information transmission timing. As an example of the delay amount correction method, the time from when the predicted arrival time is calculated until the stick 18 reaches the striking surface 22 is α, and the time until the performance information returns from the ensemble partner via the network is β, Assuming that the delay amount stored in the storage unit 14 at time n is ΔT n and the allowable error amount is C, when | α−β |> C, the new delay amount ΔT n + 1 is changed to ΔT n + 1. Reset to = (ΔT n + β) / 2. In this way, if the delay amount ΔT can be varied, an ensemble can be established even in an environment where the network state varies with time.

また、上記実施例においては、電子打楽器1を利用してネットワークを介して合奏を行うことを考えたが、電子打楽器1を単独で使用することも可能である。例えば、スティック18が実際に打撃面22に到達したときに演奏情報生成処理を行うのではなく、算出した予測到達時間および予測速度から所望の値だけ補正して演奏情報を作成し、これに基づき発音を行う。このとき、打撃面22への実際の到達に基づいて演奏情報を生成することは行わない。こうすれば、ユーザの好みに応じて発音タイミングやベロシティ等を自由に調整することができる。
勿論、予測到達時間よりも早いタイミングで楽音生成処理を行うだけでなく、予測到達時間よりも遅いタイミングで楽音生成処理を行うことも可能である。あるいは、判定面におけるスティック18の情報に基づいて予測した到達時刻及び速度と、打撃検出部12が検出した打撃面22への到達時刻および到達時の速度との両者に基づいて楽音を発生させてもよい。このように予測値を用いて演奏情報を生成することで、従来のアコースティック打楽器や電子打楽器になかった発音特性を自由に作り出すことが可能である。
Moreover, in the said Example, although performing the ensemble via a network using the electronic percussion instrument 1 was considered, the electronic percussion instrument 1 can also be used independently. For example, instead of performing performance information generation processing when the stick 18 actually reaches the striking surface 22, performance information is created by correcting only a desired value from the calculated predicted arrival time and predicted speed, and based on this Perform pronunciation. At this time, performance information is not generated based on actual arrival at the striking surface 22. In this way, the sound generation timing, velocity, etc. can be freely adjusted according to the user's preference.
Of course, it is possible not only to perform the tone generation process at a timing earlier than the predicted arrival time, but also to perform the tone generation process at a timing later than the predicted arrival time. Alternatively, a musical sound is generated based on both the arrival time and speed predicted based on the information on the stick 18 on the determination surface and the arrival time and arrival speed to the hitting surface 22 detected by the hitting detection unit 12. Also good. By generating performance information using the predicted values in this way, it is possible to freely create sound generation characteristics that are not found in conventional acoustic percussion instruments and electronic percussion instruments.

また、次のような使用方法も考えられる。一般に、打楽器で一定のリズムおよび一定の強さで正確にリズムを刻むためには、常に一定のスティック動作(ストローク動作)を行うことが必要とされる。換言すれば、一定の演奏フォームを保ち続けるのが理想である。ところが、演奏者本人には、自身のフォームの乱れに気が付くことはなかなか難しい。そこで、演奏フォームを矯正するために電子打楽器1を使用するのである。つまり、演奏フォームが一定ならばスティック18は常に同じ挙動を繰り返すはずであるから、当然、判定面におけるスティック18の速度も常に一定となっているはずであり、結果的に予測到達時刻および予測速度に基づいて発生される楽音も常に一定となるはずである。ところが、演奏フォームが乱れると、たとえ実際に打撃面に生成されるタイミングや速度が一定であったとしても、判定面におけるスティック18の速度等にバラツキが出る結果、生成される楽音にもバラツキが出ることになる。よって、演奏者は楽音を聞けば自身のフォームの乱れに気が付く。判定面を様々に変えてこのような練習を繰り返すことで、規則正しい演奏フォームが身に付くものと期待される。   Further, the following usage method is also conceivable. In general, in order to accurately record a rhythm with a constant rhythm and a constant strength with a percussion instrument, it is always necessary to perform a constant stick operation (stroke operation). In other words, it is ideal to keep a certain performance form. However, it is difficult for the performer to notice the disorder of his form. Therefore, the electronic percussion instrument 1 is used to correct the performance form. That is, if the performance form is constant, the stick 18 should always repeat the same behavior, and naturally, the speed of the stick 18 on the determination surface should always be constant. As a result, the predicted arrival time and the predicted speed The musical sound generated based on this should always be constant. However, when the performance form is disturbed, even if the timing and speed generated on the striking surface are actually constant, the speed of the stick 18 on the determination surface varies. As a result, the generated musical sound also varies. Will come out. Therefore, if a performer listens to a musical tone, he / she will notice the disorder of his / her form. It is expected that a regular performance form will be acquired by repeating such practice with various judgment aspects.

また、本発明は太鼓やドラム等の電子打楽器に好適であるが、これらに限られるものではない。例えば、フットペダルを操作することにより演奏を行うドラムやシンバル等の打楽器は勿論のこと、電子ピアノ等の打鍵機構を有する電子楽器にも本発明は適用可能である。この場合、例えば演奏動作を予測すべき各鍵のハンマの先端部に磁石20を取り付け、ハンマの打撃面に磁気センサ21を取り付けておけばよい。あるいは、判定面に光学シャッタを取り付け、判定面を通過するハンマのタイミングおよび速度を検出してもよい。要は、実際に演奏が行われ(すなわち、スティックやハンマが打撃面へ到達して)演奏情報生成処理および発音処理が行われる前に、ハンマ等の操作子の位置や速度といった情報が取得できればよい。   The present invention is suitable for electronic percussion instruments such as drums and drums, but is not limited thereto. For example, the present invention is applicable not only to percussion instruments such as drums and cymbals that perform by operating a foot pedal, but also to electronic musical instruments having a keying mechanism such as an electronic piano. In this case, for example, the magnet 20 may be attached to the tip of the hammer of each key whose performance is to be predicted, and the magnetic sensor 21 may be attached to the hammering surface. Alternatively, an optical shutter may be attached to the determination surface, and the timing and speed of the hammer passing through the determination surface may be detected. In short, if information such as the position and speed of an operator such as a hammer can be acquired before a performance is actually performed (that is, a stick or hammer reaches the striking surface) and a performance information generation process and a sound generation process are performed, Good.

本発明に係る電子打楽器1の構成図である。It is a lineblock diagram of electronic percussion instrument 1 concerning the present invention. 電子打楽器1を用いてユーザが演奏する様子を示した図である。It is the figure which showed a mode that a user performed using the electronic percussion instrument. 位置検出部11の俯瞰図である。3 is an overhead view of a position detection unit 11. FIG. 位置検出部11の側面図であるIt is a side view of the position detection part 11. 電子打楽器1の動作例を示すフロー図である。3 is a flowchart showing an operation example of the electronic percussion instrument 1. FIG. 記憶部13に格納されるテーブルの例である。3 is an example of a table stored in a storage unit 13. 電子打楽器1の動作例を示すシーケンス図である。3 is a sequence diagram illustrating an operation example of the electronic percussion instrument 1. FIG.

符号の説明Explanation of symbols

1・・・電子打楽器、10・・・制御部、11・・・位置検出部、12・・・打撃検出部、13・・・発音部、14・・・記憶部、15・・・通信部、16・・・タイマ、17・・・バス、18・・・スティック、20・・・磁石、21・・・磁気センサ、22・・・打撃面。 DESCRIPTION OF SYMBOLS 1 ... Electronic percussion instrument, 10 ... Control part, 11 ... Position detection part, 12 ... Impact detection part, 13 ... Sound generation part, 14 ... Memory | storage part, 15 ... Communication part , 16 ... timer, 17 ... bus, 18 ... stick, 20 ... magnet, 21 ... magnetic sensor, 22 ... striking surface.

Claims (8)

ユーザによって操作される操作子との接触を検知する打撃検出部を有する電子楽器であって、
前記操作子が前記打撃検出部に到達する以前における前記操作子の運動状態を検出する検出手段と、
前記検出手段によって検出された運動状態に基づき、前記打撃検出部への到達時の前記操作子の運動状態を予測する予測手段と、
前記予測手段において予測された運動状態に従って演奏情報を生成する生成手段と
を有する電子楽器。
An electronic musical instrument having an impact detection unit that detects contact with an operator operated by a user,
Detecting means for detecting a motion state of the operation element before the operation element reaches the hit detection unit;
Predicting means for predicting the motion state of the manipulator when reaching the hit detection unit based on the motion state detected by the detection means;
An electronic musical instrument comprising: generating means for generating performance information in accordance with the motion state predicted by the prediction means.
ユーザによって操作される操作子との接触を検知する打撃検出部を有する電子楽器であって、
前記操作子が前記打撃検出部に到達する以前のある時刻において、前記操作子の位置および速度を検出する検出手段と、
前記検出手段によって検出された位置及び速度に基づき、前記操作子が前記打撃検出部に到達する時刻および到達時の速度を予測する予測手段と、
前記予測手段において予測された時刻および速度に従って演奏情報を生成する生成手段と
を有する電子楽器。
An electronic musical instrument having an impact detection unit that detects contact with an operator operated by a user,
Detecting means for detecting the position and speed of the operating element at a certain time before the operating element reaches the hit detection unit;
Prediction means for predicting the time when the operation element reaches the hit detection unit and the speed at the time of arrival based on the position and speed detected by the detection means;
An electronic musical instrument comprising: generation means for generating performance information according to the time and speed predicted by the prediction means.
ユーザによって操作される操作子との接触を検知する打撃検出部を有する電子楽器であって、
前記操作子の位置を検出する検出手段と、
前記検出手段によって検出された複数の位置と当該位置の検出時刻とに基づいて前記操作子の速度を算出する算出手段と、
前記検出手段にて検出された前記操作子の位置に基づき、前記操作子が所定の領域内に進入したか否かを判定する判定手段と、
前記判定手段にて前記操作子が前記所定の領域内に進入したと判定された場合のみ、前記算出手段によって算出された速度に基づいて前記操作子が前記打撃検出部に到達する時刻を予測する予測手段と、
前記予測手段において予測された時刻および前記算出手段によって算出された速度から、それぞれ発音タイミングおよびベロシティを決定することにより演奏情報を生成する生成手段と
を有する電子楽器。
An electronic musical instrument having an impact detection unit that detects contact with an operator operated by a user,
Detecting means for detecting the position of the manipulator;
Calculation means for calculating the speed of the operating element based on a plurality of positions detected by the detection means and detection times of the positions;
Determining means for determining whether or not the operating element has entered a predetermined region based on the position of the operating element detected by the detecting means;
Only when it is determined by the determination means that the operation element has entered the predetermined area, the time at which the operation element reaches the hit detection unit is predicted based on the speed calculated by the calculation means. Prediction means,
An electronic musical instrument comprising: generating means for generating performance information by determining sound generation timing and velocity from the time predicted by the predicting means and the speed calculated by the calculating means, respectively.
通信ネットワークの遅延量を取得する手段と、
前記生成手段によって生成された演奏情報の送信タイミングを前記遅延量に基づいて決定する決定手段と、
前記決定手段により決定された送信タイミングに従って、前記演奏情報を前記通信ネットワークを介して送信する送信手段と
を更に有する請求項1ないし3のいずれかに記載の電子楽器。
Means for obtaining a delay amount of the communication network;
Determining means for determining the transmission timing of the performance information generated by the generating means based on the delay amount;
The electronic musical instrument according to any one of claims 1 to 3, further comprising: transmission means for transmitting the performance information via the communication network according to the transmission timing determined by the determination means.
前記検出手段は前記打撃検出部に備えられるセンサを有し、前記センサは前記操作子に内包される被検出部材を感知することにより前記操作子の位置を検出する
ことを特徴とする請求項1ないし3のいずれかに記載の電子楽器。
The detection unit includes a sensor provided in the hit detection unit, and the sensor detects a position of the operation element by sensing a detected member included in the operation element. The electronic musical instrument in any one of thru | or 3.
前記操作子はその先端部に前記被検出部材が埋め込まれたドラムスティックであり、前記打撃検出部はユーザが前記ドラムスティックを打ちつけるための打撃面を含む
ことを特徴とする請求項5に記載の電子楽器。
The said operation element is a drumstick with which the said to-be-detected member was embedded in the front-end | tip part, and the said hit | damage detection part contains the striking surface for a user to strike the said drumstick. Electronic musical instrument.
前記センサは前記打撃検出部に少なくとも2つ備えられた磁気センサを含み、前記非検出部材は磁石である
ことを特徴とする請求項6に記載の電子楽器。
The electronic musical instrument according to claim 6, wherein the sensor includes at least two magnetic sensors provided in the hit detection unit, and the non-detection member is a magnet.
ユーザによって操作される操作子との接触を検知する打撃検出部を有する電子楽器において演奏情報を生成する方法であって、
前記操作子が前記打撃検出部に到達する以前における前記操作子の運動状態を検出する運動状態検出ステップと、
前記運送状態検出ステップにおいて検出された運動状態に基づき、前記打撃検出部に到達時の前記操作子の運動状態を予測する運動状態予測ステップと、
前記運動状態予測ステップにおいて予測された運動状態に従って演奏情報を生成する生成ステップと
を有する演奏情報生成方法。
A method for generating performance information in an electronic musical instrument having an impact detection unit that detects contact with an operator operated by a user,
A motion state detection step of detecting a motion state of the manipulator before the manipulator reaches the hit detection unit;
Based on the motion state detected in the transport state detection step, a motion state prediction step for predicting the motion state of the manipulator when reaching the hit detection unit;
A performance information generation method comprising: a generation step of generating performance information according to the motion state predicted in the motion state prediction step.
JP2004353404A 2004-12-06 2004-12-06 Pronunciation control method based on performance prediction and electronic musical instrument Expired - Fee Related JP4244916B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004353404A JP4244916B2 (en) 2004-12-06 2004-12-06 Pronunciation control method based on performance prediction and electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004353404A JP4244916B2 (en) 2004-12-06 2004-12-06 Pronunciation control method based on performance prediction and electronic musical instrument

Publications (2)

Publication Number Publication Date
JP2006162904A true JP2006162904A (en) 2006-06-22
JP4244916B2 JP4244916B2 (en) 2009-03-25

Family

ID=36665013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004353404A Expired - Fee Related JP4244916B2 (en) 2004-12-06 2004-12-06 Pronunciation control method based on performance prediction and electronic musical instrument

Country Status (1)

Country Link
JP (1) JP4244916B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009098683A (en) * 2007-09-28 2009-05-07 Yamaha Corp Performance system
JP2009116325A (en) * 2007-10-19 2009-05-28 Yamaha Corp Music performance system
JP2012098637A (en) * 2010-11-05 2012-05-24 Casio Comput Co Ltd Electronic percussion and program
JP2012118299A (en) * 2010-12-01 2012-06-21 Casio Comput Co Ltd Performance device and electronic musical instrument
JP2013213945A (en) * 2012-04-02 2013-10-17 Casio Comput Co Ltd Musical performance device, method, and program
JP2013213946A (en) * 2012-04-02 2013-10-17 Casio Comput Co Ltd Performance device, method, and program
CN106340229A (en) * 2016-08-23 2017-01-18 滨州学院 Velocity-sound skinless drum demonstration instrument based on ultrasonic
CN107945778A (en) * 2017-12-29 2018-04-20 瞿妤冰 Electronic musical instrument
FR3061797A1 (en) * 2017-01-11 2018-07-13 Redison EMULATION OF AT LEAST ONE BATTERY TYPE PERCUSSION INSTRUMENT SON

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9236039B2 (en) 2013-03-04 2016-01-12 Empire Technology Development Llc Virtual instrument playing scheme

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009098683A (en) * 2007-09-28 2009-05-07 Yamaha Corp Performance system
JP2009116325A (en) * 2007-10-19 2009-05-28 Yamaha Corp Music performance system
JP2012098637A (en) * 2010-11-05 2012-05-24 Casio Comput Co Ltd Electronic percussion and program
JP2012118299A (en) * 2010-12-01 2012-06-21 Casio Comput Co Ltd Performance device and electronic musical instrument
US8586853B2 (en) 2010-12-01 2013-11-19 Casio Computer Co., Ltd. Performance apparatus and electronic musical instrument
JP2013213945A (en) * 2012-04-02 2013-10-17 Casio Comput Co Ltd Musical performance device, method, and program
JP2013213946A (en) * 2012-04-02 2013-10-17 Casio Comput Co Ltd Performance device, method, and program
CN106340229A (en) * 2016-08-23 2017-01-18 滨州学院 Velocity-sound skinless drum demonstration instrument based on ultrasonic
FR3061797A1 (en) * 2017-01-11 2018-07-13 Redison EMULATION OF AT LEAST ONE BATTERY TYPE PERCUSSION INSTRUMENT SON
WO2018130768A1 (en) * 2017-01-11 2018-07-19 Drumistic Emulation of at least one sound of a drum-type percussion instrument
US11120780B2 (en) 2017-01-11 2021-09-14 Redison Emulation of at least one sound of a drum-type percussion instrument
CN107945778A (en) * 2017-12-29 2018-04-20 瞿妤冰 Electronic musical instrument

Also Published As

Publication number Publication date
JP4244916B2 (en) 2009-03-25

Similar Documents

Publication Publication Date Title
US9773480B2 (en) Electronic music controller using inertial navigation-2
JP5664581B2 (en) Musical sound generating apparatus, musical sound generating method and program
JP3307152B2 (en) Automatic performance control device
US8586853B2 (en) Performance apparatus and electronic musical instrument
US8710347B2 (en) Performance apparatus and electronic musical instrument
US8653350B2 (en) Performance apparatus and electronic musical instrument
JP4206332B2 (en) Input device, game system, program, and information storage medium
JP5257966B2 (en) Music reproduction control system, music performance program, and performance data synchronous reproduction method
US8723011B2 (en) Musical sound generation instrument and computer readable medium
JP4244916B2 (en) Pronunciation control method based on performance prediction and electronic musical instrument
WO2006070044A1 (en) A method and a device for localizing a sound source and performing a related action
JP2012098637A (en) Electronic percussion and program
JP4259329B2 (en) Performance device and ensemble system
JP4333588B2 (en) Session terminal
JP2010175754A (en) Attitude evaluating device, attitude evaluating system and program
JP6402502B2 (en) Performance information output control device, keyboard instrument and control method
JP6111526B2 (en) Music generator
JP2014048504A (en) Session device, method, and program
JP6507519B2 (en) Touch detection device, method, and program, electronic musical instrument
Jin et al. Mallo: A distributed, synchronized instrument for internet music performance
JP4155572B2 (en) Input device, game system, program, and information storage medium
JP6710432B2 (en) Musical tone control device, electronic musical instrument, musical tone control method and program
JP3849133B2 (en) Sound source control method and sound source control apparatus for electronic musical instrument
JP2023154288A (en) Control device
KR100887980B1 (en) Rooters tool and control method for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071023

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080916

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080924

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081125

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081229

R150 Certificate of patent or registration of utility model

Ref document number: 4244916

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120116

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130116

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140116

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees