JP2017062358A - Sound controller, method, program, and electronic musical instrument - Google Patents

Sound controller, method, program, and electronic musical instrument Download PDF

Info

Publication number
JP2017062358A
JP2017062358A JP2015187718A JP2015187718A JP2017062358A JP 2017062358 A JP2017062358 A JP 2017062358A JP 2015187718 A JP2015187718 A JP 2015187718A JP 2015187718 A JP2015187718 A JP 2015187718A JP 2017062358 A JP2017062358 A JP 2017062358A
Authority
JP
Japan
Prior art keywords
sound
sensor
detecting
stop
output value
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
JP2015187718A
Other languages
Japanese (ja)
Other versions
JP6610120B2 (en
Inventor
直隆 上原
Naotaka Uehara
直隆 上原
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 JP2015187718A priority Critical patent/JP6610120B2/en
Publication of JP2017062358A publication Critical patent/JP2017062358A/en
Application granted granted Critical
Publication of JP6610120B2 publication Critical patent/JP6610120B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a sound controller, a method, a program, and an electronic musical instrument for controlling parameters of a sound based upon operators such that a sounding operation for a natural percussion instrument sound from a struck body and a sounding operation for the electronic musical instrument sound from a sound source circuit can naturally coexist.SOLUTION: After the point 201 of time when an operator strikes on an object, the absolute value of an output value of an angular velocity abruptly decreases toward zero as a reaction to the striking. Then the operator enters a swung-up state as a reaction to the striking and the output value of the angular velocity increases in the positive direction. Here, a natural sound of a percussion instrument is generated at the moment the operator strikes on the object. In this case, a musical sound controller performs control not to instruct its internal sound source part to generate a musical sound at timing 202 of detecting the stopping of operation of the operator. Consequently, a state in which an electronic musical instrument sound is delayed and generated after a natural sound of the percussion instrument is generated can be avoided.SELECTED DRAWING: Figure 2

Description

本発明は、操作子に基づいて音のパラメータを制御する音制御装置、方法、プログラム及び電子楽器に関する。   The present invention relates to a sound control device, a method, a program, and an electronic musical instrument that control sound parameters based on an operator.

従来、演奏者の演奏動作を検知すると、演奏動作に応じた電子音を発音する演奏装置が提案されている。例えば、スティック状態の操作子のみで電子楽器音を発音する演奏装置(いわゆるエアスティックまたはエアドラム)が知られている。このような演奏装置では、スティック状の操作子にセンサを設け、演奏者が操作子を手で保持して振ることで、センサが演奏動作を検知し、音源回路に発音動作を行わせることにより電子楽器音を発音する。このような演奏装置によれば、現実の楽器を必要とせずに好みの電子楽器音を発音させることができるため、演奏場所や演奏スペースに制約を受けずに演奏を楽しむことができる。例えば特許文献1には、演奏操作子の発光部の撮像空間における位置座標に基づいて楽音を発音する消費電力の少ない演奏装置が開示されている。   2. Description of the Related Art Conventionally, there has been proposed a performance device that generates an electronic sound corresponding to a performance operation when a performance performance of the performer is detected. For example, a performance device (so-called air stick or air drum) that emits an electronic musical instrument sound only with a stick-like operation element is known. In such a performance device, a sensor is provided on the stick-shaped operation element, and the player holds the operation element by hand and shakes the sensor so that the sensor detects the performance operation and causes the sound source circuit to perform a sounding operation. Sound electronic musical instrument sounds. According to such a performance device, a desired electronic musical instrument sound can be generated without the need for an actual musical instrument, so that the performance can be enjoyed without being restricted by the performance place or performance space. For example, Patent Document 1 discloses a performance device with low power consumption that generates a musical tone based on the position coordinates in the imaging space of the light emitting unit of the performance operator.

一方、机やクッション等を実際に打撃することで音源回路における楽音の発音を制御する楽音制御装置が知られている。例えば特許文献2には、机やクッション等の物体を打撃することにより打撃の強弱に応じた音量でノイズの少ない電子楽器音を発音可能とする技術が開示されている。また例えば特許文献3には、簡単なセンサ構成で物体の違い(机やクッション等)によって音源回路が発音する電子楽器音の楽音パラメータ(例えば音色)を多彩に変更させることを可能とする技術が開示されている。   On the other hand, a musical sound control device that controls the sound generation of a musical sound in a sound source circuit by actually hitting a desk, a cushion, or the like is known. For example, Patent Document 2 discloses a technology that enables sound of an electronic musical instrument with less noise to be produced at a volume corresponding to the strength of the hitting by hitting an object such as a desk or a cushion. Further, for example, Patent Document 3 discloses a technology that enables various musical tone parameters (for example, timbre) of an electronic musical instrument sound generated by a sound source circuit according to a difference in an object (desk, cushion, etc.) with a simple sensor configuration. It is disclosed.

上述した従来技術は、空中でスティック等を振って音を鳴らす事を前提としており打撃物を叩く事を想定していないか、或いは、それ自体では楽器音として意味をなさない机やクッション等を叩いたときの加速度変化を検知することにより発音される楽音を制御するものであった。   The above-mentioned prior art is based on the premise that a sound is emitted by shaking a stick etc. in the air and does not assume hitting a hitting object, or a desk or cushion that does not make sense as an instrument sound by itself. It was designed to control the musical sound produced by detecting the change in acceleration when hit.

特許第5573899号公報Japanese Patent No. 5573899 特開2014−126597号公報JP 2014-126597 A 特開2014−62997号公報JP 2014-62997 A

ここで、打撃される物体を従来からあるドラムや太鼓にしてそれをスティック状の操作子で打撃したり或いは打撃せずにエアースティックを振る動作だけを行うことにより、従来からあるドラムや太鼓自体の自然楽器音の発音と、音源回路からの電子楽器音とを組み合わせて発音したいというニーズがある。しかしながら、上述した従来技術では、操作子が物体を実際に打撃してから或いは打撃する仕草を検知してから音源回路に発音が指示されるため、ドラムや太鼓等の物体を打撃して演奏を行った場合、操作子と楽音制御回路との無線通信処理や楽音制御回路でのディジタル信号処理のわずかな遅延により、音源回路からの電子楽器音の発音タイミングが、ドラムや太鼓等の物体からの自然楽器音の発音タイミングに対してわずかに遅延してしまい、両方の楽器音を発音させた場合に不自然な演奏音となってしまうという課題があった。   Here, the conventional drum or drum itself is made by making the hit object into a conventional drum or drum and striking it with a stick-like controller or by simply shaking the air stick without hitting it. There is a need to produce a combination of the sound of natural musical instrument sounds and electronic musical instrument sounds from a sound source circuit. However, in the above-described prior art, since the sound generator circuit is instructed to generate sound after the operator actually strikes the object or detects the gesture to be struck, the object such as a drum or drum is hit to perform. If this is done, the sound generation timing of the electronic musical instrument sound from the tone generator circuit may be affected by the sound from the drum or drum, due to a slight delay in the wireless communication processing between the controller and the musical tone control circuit and the digital signal processing in the musical tone control circuit. There is a problem that the sound of the sound of the natural musical instrument is slightly delayed with respect to the sounding timing of the natural musical instrument, and the sound of both instruments is unnatural.

そこで、本発明は、打撃される物体からの自然打楽器音の発音動作と音源回路からの電子楽器音の発音動作とを自然に共存可能とすることを目的とする。   Accordingly, an object of the present invention is to make it possible for a natural percussion instrument sound generation operation from an impacted object and an electronic musical instrument sound generation operation from a sound source circuit to coexist naturally.

態様の一例では、センサにより検出される操作子の動作が、操作子を振る第1の動作であるか否かを判別する第1の判別処理と、第1の動作を判別した後、操作子による第1の動作の停止を検知する検知処理と、第1の動作を検出した後、第1の動作の停止の検知のタイミングで、音源に対して発音を指示する発音指示処理と、センサが、操作子による第1の動作の停止を検知する前に、操作子と他の物体との衝突を判別する第2の判別処理と、衝突が判別された場合には、第1の動作の停止の検知のタイミングでの楽音の発音指示を行わせないように制御する制御処理と、を実行する処理部を備える。   In an example of the aspect, the first operation for determining whether or not the operation of the operation device detected by the sensor is the first operation of shaking the operation device, and the operation device after determining the first operation. A detection process for detecting the stop of the first operation by the sound, a sound generation instruction process for instructing the sound source to generate a sound at the timing of detecting the stop of the first operation after detecting the first operation, and a sensor Before detecting the stop of the first action by the manipulator, the second discrimination processing for discriminating the collision between the manipulator and another object, and the stop of the first action when the collision is judged And a control unit that performs control so as not to issue an instruction to generate a musical tone at the detection timing.

本発明によれば、打撃される物体からの自然打楽器音の発音動作と音源回路からの電子楽器音の発音動作とを自然に共存させることが可能となる。   According to the present invention, a natural percussion instrument sound generation operation from a hit object and an electronic musical instrument sound generation operation from a sound source circuit can naturally coexist.

本実施形態による操作子と楽音制御装置と打撃される物体の外観例を示した図である。It is the figure which showed the example of the external appearance of the object to be hit | hung with the operation element by this embodiment, a musical tone control apparatus. 操作子が物体を打撃したときの角速度センサの出力値の波形例を示す図である。It is a figure which shows the example of a waveform of the output value of an angular velocity sensor when an operation element hits an object. 操作子が物体を打撃せずに振られたときの角速度センサの出力値の波形例を示す図である。It is a figure which shows the example of a waveform of the output value of an angular velocity sensor when an operation element is shaken without hitting an object. 本実施形態に係る操作子のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of the operation element which concerns on this embodiment. 本実施形態に係る楽音制御装置のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of the musical tone control apparatus which concerns on this embodiment. 本実施形態に係る楽音制御装置の制御処理例を示すフローチャートである。It is a flowchart which shows the example of control processing of the musical tone control apparatus which concerns on this embodiment. 操作子が物体を打撃したときの発音キャンセル動作の説明図である。It is explanatory drawing of the sound generation cancellation operation | movement when an operation element hits an object. 操作子が物体を打撃せずに振られたときの発音指示動作の説明図である。It is explanatory drawing of the sound generation instruction | indication operation | movement when an operation element is shaken without hitting an object. 操作子が物体を打撃したときの加速度センサの出力値の波形例を示す図である。It is a figure which shows the example of a waveform of the output value of an acceleration sensor when an operation element hits an object.

以下、本発明を実施するための形態について図面を参照しながら詳細に説明する。図1は、本実施形態による操作子1と楽音制御装置2と物体3の各外観例を示した図である。演奏者は、例えばスティック状の操作子1の図中Aとして示される側を手で握り、操作子1を振ってドラム又は太鼓等の物体3を叩いたり、或いは、物体3は叩かずに操作子1を振る動作のみを行ったりして、打楽器の演奏動作を行う。   Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings. FIG. 1 is a view showing appearance examples of the operation element 1, the musical sound control device 2, and the object 3 according to the present embodiment. The performer, for example, grasps the side of the stick-like operation element 1 shown as A in the figure and shakes the operation element 1 to strike an object 3 such as a drum or a drum, or operates the object 3 without hitting it. A percussion instrument performance operation is performed by performing only the operation of shaking the child 1.

操作子1には、例えば角速度センサ10が内蔵されている。この角速度センサ10は、演奏者が操作子1を振ることにより生じる、物体3が例えば回転軸Bを基準として図中Cの方向(振り下ろす方向が負方向、振り上げる方向が正方向)に回転する運動の角速度(単位はラジアン/秒)を検出する。角速度センサ10の角速度の出力値は、図中4として模式的に示される無線通信によって、楽音制御装置2に送信される。   For example, an angular velocity sensor 10 is built in the operator 1. The angular velocity sensor 10 is generated when the player swings the operation element 1, and the object 3 rotates in the direction C in the figure with the rotation axis B as a reference (the direction to swing down is a negative direction and the direction to swing up is a positive direction). Detects the angular velocity of the motion to be performed (unit: radians / second). The output value of the angular velocity of the angular velocity sensor 10 is transmitted to the musical sound control device 2 by wireless communication schematically shown as 4 in the figure.

楽音制御装置2は、操作子1から送信されてくる例えば角速度センサ10の出力データに基づいて、演奏者の演奏動作により、操作子1が物体3を打撃する第1の演奏状態又は操作子1が物体3を打撃せずに振られる第2の演奏状態を検出する。   The musical tone control device 2 is based on, for example, the output data of the angular velocity sensor 10 transmitted from the operation element 1, and the first operation state or operation element 1 in which the operation element 1 strikes the object 3 by the performance operation of the performer. Detects a second performance state that is swung without hitting the object 3.

図2は、演奏者によって操作子1が物体3を打撃したときの角速度センサの出力値の波形例を示す図である。まず、静止状態から演奏者が操作子1を振り下ろすと、角速度の出力値は、期間T1に示されるように、ゼロの状態から負の方向にその絶対値が増加してゆく。そして、201の時点で操作子1が物体3を打撃した瞬間に、打撃の反動によって角速度の出力値の絶対値は急激にゼロに向かって減少する。その後、打撃の反動によって操作子1が振り上げられる状態になって、角速度の出力値は、期間T1からT2に示されるように、正の方向に増加してゆく。その後、演奏者による操作子1の振り下ろし動作により、角速度の出力値は、期間T2からT3に示されるように、正の最大値からゼロに戻り更に再び負の方向にその絶対値が増加してゆく。そして、201の時点で操作子1が再び物体3を打撃した瞬間に、打撃の反動によって角速度の出力値の絶対値は急激にゼロに向かって減少する。その後、上記と同様にして、打撃の反動によって操作子1が振り上げられる状態になって、角速度の出力値は、期間T4に示されるように、正の方向に増加してゆく。このように、操作子1が物体3を打撃した場合には、角速度の出力値は、打撃時点201を境にその変化方向が負の方向から正の方向に変化した直後、急激にゼロに向かって戻り、正方向への増加に転じる。   FIG. 2 is a diagram illustrating a waveform example of an output value of the angular velocity sensor when the operator 1 strikes the object 3 by the player. First, when the performer swings down the operation element 1 from the stationary state, the absolute value of the angular velocity output value increases from the zero state to the negative direction as shown in the period T1. Then, at the instant 201, the absolute value of the output value of the angular velocity suddenly decreases toward zero due to the reaction of the impact at the moment when the operating element 1 strikes the object 3. Thereafter, the manipulator 1 is swung up by the recoil of the impact, and the output value of the angular velocity increases in the positive direction as shown in the periods T1 to T2. Thereafter, as the player performs a swinging down operation of the operating element 1, the output value of the angular velocity returns from the positive maximum value to zero as shown in the period T2 to T3, and the absolute value increases again in the negative direction. Go. Then, at the moment 201, the absolute value of the output value of the angular velocity suddenly decreases toward zero due to the reaction of the impact at the moment when the operating element 1 strikes the object 3 again. Thereafter, in the same manner as described above, the operating element 1 is swung up by the reaction of the impact, and the output value of the angular velocity increases in the positive direction as shown in the period T4. As described above, when the operating element 1 hits the object 3, the output value of the angular velocity suddenly goes to zero immediately after the change direction changes from the negative direction to the positive direction at the hitting point 201. Return to increase in the positive direction.

この場合、操作子1が物体3を打撃した瞬間に、物体3が振動することにより、物体3により構成される打楽器の自然音が発音される。本実施形態では、このように操作子1が物体3を打撃することにより物体3から打楽器の自然音が発音される場合には、角速度の出力値がゼロ近傍に戻る、即ち操作子1の動作の停止が検知される図2の時点202においては、楽音制御装置2は、それが内蔵する音源部に対して、楽音の発音を指示しないように制御する。これにより、打楽器の自然音が発音された後に電子楽器音がずれて発音される状態を回避できる。   In this case, the natural sound of the percussion instrument constituted by the object 3 is generated by the vibration of the object 3 at the moment when the operator 1 hits the object 3. In the present embodiment, when the operating element 1 strikes the object 3 in this way and the natural sound of the percussion instrument is generated from the object 3, the output value of the angular velocity returns to near zero, that is, the operation of the operating element 1 At the time point 202 in FIG. 2 where the stop of the sound is detected, the musical sound control device 2 controls the sound source unit incorporated therein so as not to instruct the sound generation of the musical sound. As a result, it is possible to avoid a state in which the electronic musical instrument sound is generated after the natural sound of the percussion instrument is generated.

一方、図3は、操作子1が物体3を打撃せずに振られたときの角速度センサの出力値の波形例を示す図である。図2の場合と同様に、静止状態から演奏者が操作子1を振り下ろすと、角速度の出力値は、期間T1に示されるように、ゼロの状態から負の方向にその絶対値が増加してゆく。そして、演奏者が物体3を打撃せずに操作子1を振り下ろす方向から振り上げる方向に動きを変えると、物体3の打撃による反動はないため、期間T1からT2に示されるように、角速度の出力値の絶対値は比較的緩やかにゼロに向かって減少し、その後、正の方向に増加してゆく。その後、演奏者による操作子1の振り下ろし動作により、角速度の出力値は、期間T2からT3に示されるように、正の最大値からゼロに戻り更に再び負の方向にその絶対値が増加してゆく。そして、演奏者が物体3を打撃せずに操作子1を再び振り下ろす方向から振り上げる方向に動きを変えると、期間T3からT4に示されるように、角速度の出力値の絶対値は再び比較的緩やかにゼロに向かって減少し、その後、正の方向に増加してゆく。このように、操作子1が物体3を打撃しないで振られる動作のみが行われた場合には、角速度の出力値は、その変化方向が負の方向から正の方向に変化した直後、比較的緩やかにゼロに向かって戻り、正方向への増加に転じる。   On the other hand, FIG. 3 is a diagram illustrating a waveform example of an output value of the angular velocity sensor when the operation element 1 is swung without hitting the object 3. As in the case of FIG. 2, when the performer swings down the controller 1 from the stationary state, the absolute value of the angular velocity output value increases from zero to the negative direction as shown in the period T1. Go. Then, if the player changes the movement from the direction of swinging down the operation element 1 to the direction of swinging up without hitting the object 3, there is no reaction due to the hit of the object 3, so that the angular velocity is shown as shown in the period T1 to T2. The absolute value of the output value decreases relatively slowly toward zero and then increases in the positive direction. Thereafter, as the player performs a swinging down operation of the operating element 1, the output value of the angular velocity returns from the positive maximum value to zero as shown in the period T2 to T3, and the absolute value increases again in the negative direction. Go. Then, when the player changes the movement from the direction of swinging down the operating element 1 again without hitting the object 3, the absolute value of the output value of the angular velocity is again compared as shown in the period T3 to T4. It gradually decreases toward zero and then increases in the positive direction. As described above, when only the operation in which the operating element 1 is swung without hitting the object 3 is performed, the output value of the angular velocity is relatively shortly after the change direction is changed from the negative direction to the positive direction. Slowly return to zero and turn positive.

この場合、操作子1は物体3を打撃しないため、物体3により構成される打楽器の自然音は発音されない。本実施形態では、この場合には、角速度の出力値がゼロ近傍の閾値Thに戻る、即ち操作子1の動作の停止が検知される図3の時点301においては、楽音制御装置2は、それが内蔵する音源部に対して、楽音の発音を指示するように制御する。これにより、打楽器の自然音が発音されないで電子楽器音のみが発音される。   In this case, since the operation element 1 does not hit the object 3, the natural sound of the percussion instrument constituted by the object 3 is not generated. In the present embodiment, in this case, at the time point 301 in FIG. 3 where the output value of the angular velocity returns to the threshold value Th near zero, that is, the stop of the operation of the operation element 1 is detected, the musical sound control device 2 Is controlled so as to instruct the tone generator unit to generate a musical tone. Thereby, only the electronic musical instrument sound is produced without producing the natural sound of the percussion instrument.

以上のように、本実施形態では、演奏者が操作子1により物体3を打撃した場合には物体3により構成される打楽器の自然音のみが発音され、物体3を打撃しないで操作子1を振る動作のみを行った場合には、打撃相当のタイミングで電子楽器音が楽音制御装置2に内蔵される音源部から発音されるように制御することができ、多彩かつ自然な打楽器演奏を実現することが可能となる。   As described above, in this embodiment, when the performer strikes the object 3 with the operation element 1, only the natural sound of the percussion instrument constituted by the object 3 is generated, and the operation element 1 is moved without hitting the object 3. When only the swinging operation is performed, the electronic musical instrument sound can be controlled to be generated from the sound source unit built in the musical tone control device 2 at the timing equivalent to the percussion, thereby realizing various and natural percussion instrument performances. It becomes possible.

本実施形態において、楽音制御装置2は、図2及び図3に示されるように、角速度の出力値がその変化方向が例えば負の方向から正の方向に変化した直後にゼロに向かって戻る速度が急激であるか比較的緩やかであるかを判定することにより、操作子1が物体3を打撃する第1の演奏状態と、操作子1が物体3を打撃せずに振られる第2の演奏状態を区別して検出する。更に、楽音制御装置2は、例えば角速度センサ10の出力データに基づいて、操作子1の動作の停止が検知されるタイミング(図2の時点202又は図3の時点301)を検出する。そして、楽音制御装置2は、第2の演奏状態を検出した場合には、その後に上記タイミングを検出した時点において内蔵する音源部に対して楽音の発音を指示し、第1の演奏状態を検出した場合には、その後に上記タイミングを検出した時点においては音源部に対して楽音の発音を指示しないように制御する。   In this embodiment, as shown in FIGS. 2 and 3, the musical sound control device 2 is a speed at which the output value of the angular velocity returns toward zero immediately after the change direction of the output value changes, for example, from a negative direction to a positive direction. The first performance state in which the operating element 1 strikes the object 3 and the second performance in which the operating element 1 is swung without hitting the object 3 Detect by distinguishing the state. Further, the musical sound control device 2 detects the timing (time point 202 in FIG. 2 or time point 301 in FIG. 3) at which the stop of the operation of the operation element 1 is detected based on the output data of the angular velocity sensor 10, for example. When the musical sound control device 2 detects the second performance state, the musical sound control device 2 then instructs the internal sound generator unit to generate a musical sound at the time when the timing is detected, and detects the first performance state. In this case, control is performed so as not to instruct the sound source unit to generate a musical tone when the timing is detected thereafter.

なお、操作子1の動きを検出するセンサとしては、図1の角速度センサ10に限られるものではなく、例えば3軸の加速度センサや、磁気センサ等が操作子1に搭載されてもよい。   The sensor for detecting the movement of the operation element 1 is not limited to the angular velocity sensor 10 in FIG. 1, and for example, a three-axis acceleration sensor, a magnetic sensor, or the like may be mounted on the operation element 1.

図4は、上述の動作を実現する本実施形態に係る図1の操作子1のハードウェア構成例を示す図である。操作子1は、CPU401(中央演算処理装置)と、ROM(Read Only Memory)402と、RAM(Random Access Memory)403と、姿勢センサ404と、I/F(インタフェース)装置405と、無線通信装置406と、を含んで構成される。   FIG. 4 is a diagram illustrating a hardware configuration example of the operation element 1 of FIG. 1 according to the present embodiment that realizes the above-described operation. The controller 1 includes a CPU 401 (central processing unit), a ROM (Read Only Memory) 402, a RAM (Random Access Memory) 403, an attitude sensor 404, an I / F (interface) device 405, and a wireless communication device. 406.

CPU401は、操作子1の全体の制御を実行し、例えば、姿勢センサ404から出力されるセンサ値を、I/F装置405及び無線通信装置406を介して、図1の楽音制御装置2に送信する制御を実行する。   The CPU 401 performs overall control of the operation element 1 and transmits, for example, the sensor value output from the attitude sensor 404 to the musical sound control device 2 in FIG. 1 via the I / F device 405 and the wireless communication device 406. Execute control to

ROM402は、CPU11の実行する処理の処理プログラムを格納する。RAM403は、処理プログラムにおいて使用される各種データを一時的に記憶保持する。   The ROM 402 stores a processing program for processing executed by the CPU 11. The RAM 403 temporarily stores and holds various data used in the processing program.

姿勢センサ404は、操作子1の動きを検知するための各種センサであり、所定のセンサ値を出力する。ここで、姿勢センサ404を構成するセンサとしては、例えば、角速度センサ404―1(図1の角速度センサ10に対応)、加速度センサ404−2、及び磁気センサ404−3などを用いることができる。   The attitude sensor 404 is a variety of sensors for detecting the movement of the operation element 1 and outputs a predetermined sensor value. Here, as the sensors constituting the attitude sensor 404, for example, an angular velocity sensor 404-1 (corresponding to the angular velocity sensor 10 in FIG. 1), an acceleration sensor 404-2, a magnetic sensor 404-3, and the like can be used.

角速度センサ404―1としては、例えば、ジャイロスコープを備えたセンサを用いることができる。角速度センサ10は、図1に示される操作子1のB軸回りの回転角Cを出力する。この回転角Cは、図1において、演奏者が操作子1を物体3に対して振り下ろす又は振り上げる演奏動作に対応する。   As the angular velocity sensor 404-1, for example, a sensor provided with a gyroscope can be used. The angular velocity sensor 10 outputs a rotation angle C around the B axis of the operation element 1 shown in FIG. The rotation angle C corresponds to a performance operation in which the performer swings down or swings up the operation element 1 with respect to the object 3 in FIG.

加速度センサ404−2としては例えば、X軸、Y軸、Z軸の3つの軸方向の夫々に生じた加速度を出力する3軸センサを用いることができる。例えば、図1の操作子1の長手方向の軸と一致する軸をY軸とし、加速度センサが配置された基板(図示せず)と平行で、かつ、Y軸と直交する軸をX軸とし、X軸及びY軸と直交する軸をZ軸とすることができる。このとき、加速度センサ404−2は、X軸、Y軸、Z軸の夫々の成分の加速度を取得するとともに、夫々の加速度を合成したセンサ合成値を算出することとしてもよい。ここで、演奏者は、操作子1の一端(根元側)を保持し、手首などを中心とした振り上げ動作又は振り下ろし動作を行うことで、操作子1に対して回転運動を生じさせる。そして、操作子1が静止している場合には、加速度センサ404−2は、センサ合成値として重力加速度1Gに相当する値を算出し、操作子1が回転運動をしている場合には、加速度センサ404−2は、センサ合成値として重力加速度1Gよりも大きな値を算出する。なお、センサ合成値は、例えば、X軸、Y軸、Z軸の成分の加速度の夫々の2乗の総和の平方根を算出することで得られる。   As the acceleration sensor 404-2, for example, a three-axis sensor that outputs acceleration generated in each of the three axial directions of the X axis, the Y axis, and the Z axis can be used. For example, the axis that coincides with the longitudinal axis of the operation element 1 in FIG. 1 is defined as the Y axis, and the axis that is parallel to the substrate (not shown) on which the acceleration sensor is disposed and is orthogonal to the Y axis is defined as the X axis. The axis orthogonal to the X axis and the Y axis can be the Z axis. At this time, the acceleration sensor 404-2 may acquire the acceleration of each component of the X axis, the Y axis, and the Z axis, and may calculate a sensor composite value obtained by combining the respective accelerations. Here, the performer holds one end (base side) of the operation element 1 and performs a swing-up operation or a swing-down operation centering on the wrist or the like, thereby causing the operation element 1 to rotate. Then, when the operating element 1 is stationary, the acceleration sensor 404-2 calculates a value corresponding to the gravitational acceleration 1G as a sensor composite value, and when the operating element 1 is rotating, The acceleration sensor 404-2 calculates a value larger than the gravitational acceleration 1G as a sensor composite value. The sensor composite value is obtained, for example, by calculating the square root of the sum of the squares of the accelerations of the X-axis, Y-axis, and Z-axis components.

また、磁気センサ404−3としては、上記と同様のX軸、Y軸、Z軸の3軸方向の磁気センサ値を出力可能なセンサを用いることができる。このような磁気センサからは、磁石による北(磁北)を示すベクトルが、X軸方向、Y軸方向、Z軸方向の夫々について出力される。出力される各軸方向の成分は、操作子1の姿勢(向き)によって異なるため、これらの成分から、CPU401は、操作子1のロール角やX軸方向及びZ軸方向の回転角を算出することができる。   Further, as the magnetic sensor 404-3, a sensor that can output magnetic sensor values in the three-axis directions of the X axis, the Y axis, and the Z axis similar to the above can be used. From such a magnetic sensor, a vector indicating north (magnetic north) by a magnet is output for each of the X-axis direction, the Y-axis direction, and the Z-axis direction. Since the component in each axial direction that is output differs depending on the attitude (orientation) of the operation element 1, the CPU 401 calculates the roll angle of the operation element 1, the rotation angle in the X-axis direction, and the Z-axis direction from these components. be able to.

姿勢センサ404は、このような様々なセンサ404―1、404−2、404−3等を用いて、演奏者が持っている操作子1の動きを検出し、各出力値を図1の楽音制御装置2に送信する。   The posture sensor 404 uses such various sensors 404-1, 404-2, 404-3, etc. to detect the movement of the operation element 1 held by the performer, and outputs each output value to the musical tone of FIG. It transmits to the control apparatus 2.

無線通信装置406は、各センサ404―1、404−2、404−3からCPU401及びI/F装置405を介して受け取った各出力データを、図1の楽音制御装置2に送信する。この場合の無線通信は、任意の方法で行うこととしてよく、WiFi通信、赤外線通信、Bluetooth通信等を採用できる。   The wireless communication device 406 transmits each output data received from each sensor 404-1, 404-2, 404-3 via the CPU 401 and the I / F device 405 to the musical tone control device 2 of FIG. In this case, the wireless communication may be performed by any method, and WiFi communication, infrared communication, Bluetooth communication, or the like can be employed.

図5は、本実施形態に係る図1の楽音制御装置2のハードウェア構成例を示す図である。楽音制御装置2は、CPU501と、ROM502と、RAM503と、音源部504と、I/F装置505と、表示部507と、入力部508とが、システムバス509によって相互に接続された構成を有する。I/F装置505には無線通信装置506が接続される。また、音源部504にはオーディオ回路510が接続され、オーディオ回路510にはスピーカ511が接続される。   FIG. 5 is a diagram illustrating a hardware configuration example of the musical tone control apparatus 2 of FIG. 1 according to the present embodiment. The musical sound control device 2 has a configuration in which a CPU 501, a ROM 502, a RAM 503, a sound source unit 504, an I / F device 505, a display unit 507, and an input unit 508 are connected to each other via a system bus 509. . A wireless communication device 506 is connected to the I / F device 505. An audio circuit 510 is connected to the sound source unit 504, and a speaker 511 is connected to the audio circuit 510.

無線通信装置506は、図2の操作子1内の無線通信装置406から、図2の各センサ404−1、404−2、404−3(以下、「角速度センサ404―1等」と記載)がそれぞれ出力した出力データを受信し、I/F装置505を介して、RAM503に格納する。   The wireless communication device 506 is connected to the sensors 404-1, 404-2, 404-3 (hereinafter referred to as “angular velocity sensor 404-1, etc.”) of FIG. 2 from the wireless communication device 406 in the operation element 1 of FIG. Receive the output data, and store them in the RAM 503 via the I / F device 505.

CPU501は、楽音制御装置2の全体の制御を実行し、RAM503に格納された角速度センサ404―1等の出力データに基づいて、前述した各処理を実行する。   The CPU 501 executes overall control of the musical tone control device 2 and executes the above-described processes based on output data from the angular velocity sensor 404-1 and the like stored in the RAM 503.

ROM502は、CPU31の実行する制御処理のプログラムを格納する。RAM33は、操作子1から受信した角速度センサ404―1等の出力データや、プログラムの実行途中で生成される各種作業データを一時記憶保持する。   The ROM 502 stores a control processing program executed by the CPU 31. The RAM 33 temporarily stores output data from the angular velocity sensor 404-1 received from the operation element 1 and various work data generated during the execution of the program.

入力部508は、特には図示しないスイッチを介した入力情報を受け付ける。入力情報としては、例えば、発音する楽音の音量や音色の変更、表示部507の表示の切替えなどが含まれる。   The input unit 508 particularly receives input information via a switch (not shown). The input information includes, for example, a change in the volume and tone color of a musical tone to be generated, switching of display on the display unit 507, and the like.

表示部507は、特には図示しない液晶ディスプレイに、発音する楽音の音量や音色の情報などを表示する。   The display unit 507 displays the sound volume, tone color information, etc. to be generated on a liquid crystal display (not shown).

音源部504は、CPU501からの発音指示に従って、例えば音源部504に内蔵される波形ROMから入力部508を介して指定された打楽器音の楽音データを生成するとともに、楽音データをアナログ楽音信号に変換し、オーディオ回路510に出力する。オーディオ回路510は、アナログ楽音信号を増幅し、スピーカ511から放音させる。   The sound source unit 504 generates musical tone data of a percussion instrument sound designated via the input unit 508 from, for example, a waveform ROM built in the sound source unit 504 in accordance with a sound generation instruction from the CPU 501, and converts the musical tone data into an analog musical tone signal. And output to the audio circuit 510. The audio circuit 510 amplifies the analog musical sound signal and emits the sound from the speaker 511.

図6は、図5の構成を有する楽音制御装置2の制御処理例を示すフローチャートである。この制御処理は、図5において、CPU501がRAM503をワークメモリとして使用しながらROM502に格納された制御プログラムを実行する動作として実現される。この制御プログラムは、特には図示しない可搬記録媒体やネットワーク経由で取得することができる。また、図7は、図1において操作子1が物体3を打撃したときの発音キャンセル動作の説明図であり、図2で説明した波形例に対応する。更に、図8は、操作子1が物体3を打撃せずに振られたときの発音指示動作の説明図であり、図3で説明した波形例に対応する。以下、図7及び図8の説明図を用いながら、図6のフローチャートの処理について説明する。なお、以下の説明は、操作子1内の姿勢センサ404の出力が角速度センサ404―1からの出力データである場合の例である。   FIG. 6 is a flowchart showing an example of control processing of the musical tone control apparatus 2 having the configuration of FIG. In FIG. 5, the control process is realized as an operation in which the CPU 501 executes the control program stored in the ROM 502 while using the RAM 503 as a work memory. This control program can be acquired via a portable recording medium (not shown) or a network. FIG. 7 is an explanatory diagram of the sound generation canceling operation when the operator 1 hits the object 3 in FIG. 1, and corresponds to the waveform example described in FIG. Further, FIG. 8 is an explanatory diagram of a sound generation instruction operation when the operation element 1 is swung without hitting the object 3, and corresponds to the waveform example described in FIG. The processing of the flowchart of FIG. 6 will be described below using the explanatory diagrams of FIGS. The following description is an example when the output of the attitude sensor 404 in the operating element 1 is output data from the angular velocity sensor 404-1.

CPU501はまず、RAM503の記憶内容や音源部504等をイニシャライズする(ステップS601)。   First, the CPU 501 initializes the storage contents of the RAM 503, the sound source unit 504, and the like (step S601).

次に、CPU501は、順次、無線通信装置506で受信されRAM503に保持される角速度センサ404―1の出力値を監視しながら(ステップS602)、その出力値が角速度センサ404―1の折返し値に達したか否かを判定する処理(ステップS603)を繰り返し実行する(ステップS602→S603の判定がNO→S602の処理の繰返し)。この判定処理は、角速度センサ404―1の出力値がゼロ近傍の状態から負の方向に変化を開始した後、負の方向への変化から正の方向への変化に変わったか否かを判定する処理である。例えば、操作子1が物体3を打撃する場合には、操作子1が物体3を打撃した瞬間である図7(a)の振り下ろし期間T1における時点701である。また例えば、操作子1が物体3を打撃しない場合には、図8(a)の振り下ろし期間T1における時点801である。具体的には、RAM503上のリングバッファに保存される角速度センサ404―1の出力データに基づいて、今回の出力値が前回の出力値から減少している状態から、今回の出力値が前回の出力値から増加している状態に切り替わった時点が判定される。なお、この判定処理時に適当なノイズ除去処理が実行されてもよい。   Next, the CPU 501 sequentially monitors the output value of the angular velocity sensor 404-1 received by the wireless communication device 506 and held in the RAM 503 (step S 602), and the output value becomes the return value of the angular velocity sensor 404-1. The process of determining whether or not the process has been reached (step S603) is repeatedly executed (the determination of step S602 → S603 is NO → repetition of the process of S602). In this determination process, it is determined whether or not the output value of the angular velocity sensor 404-1 has started to change in the negative direction from a state near zero and then changed from a change in the negative direction to a change in the positive direction. It is processing. For example, when the operating element 1 strikes the object 3, it is the time point 701 in the swing-down period T <b> 1 in FIG. 7A, which is the moment when the operating element 1 strikes the object 3. Further, for example, when the operating element 1 does not hit the object 3, it is the time point 801 in the swing-down period T1 in FIG. Specifically, based on the output data of the angular velocity sensor 404-1 stored in the ring buffer on the RAM 503, the current output value is changed from the previous output value to the previous output value. It is determined when the output value is switched to an increasing state. Note that an appropriate noise removal process may be executed during the determination process.

ステップS603の判定がYESになると、CPU501は、センサ出力監視の1サンプリング期間における角速度センサ404―1の出力値の変化量bを監視し(ステップS604)、この変化量bが角速度センサ404―1の変異量n(閾値)を超えたか否かを判定する。これは、角速度センサ404―1の出力変化方向が逆転した時点以後の所定期間の角速度センサ404―1の出力値の変化度合いが計測され、その変化度合いが予め定められた閾値を超えたか否かを判定する処理である。変化度合いは、厳密には図7(b)又は図8(b)に示されるように、出力値の変化量bをその変化をもたらした監視期間aで割った値であるが、今、監視期間aを1サンプリング期間Tsとすれば、これは固定値であるから、変化量bが所定の変位量n(閾値)を超えたか否かを判定すればよい。   When the determination in step S603 is YES, the CPU 501 monitors the change amount b of the output value of the angular velocity sensor 404-1 during one sampling period of sensor output monitoring (step S604), and the change amount b is the angular velocity sensor 404-1. It is determined whether or not the amount of mutation n (threshold value) has been exceeded. This is because the degree of change in the output value of the angular velocity sensor 404-1 for a predetermined period after the time point when the output change direction of the angular velocity sensor 404-1 is reversed is measured, and whether or not the degree of change exceeds a predetermined threshold value. It is a process which determines. Strictly speaking, as shown in FIG. 7B or FIG. 8B, the degree of change is a value obtained by dividing the change amount b of the output value by the monitoring period a that caused the change. Assuming that the period a is one sampling period Ts, this is a fixed value. Therefore, it is only necessary to determine whether or not the amount of change b exceeds a predetermined displacement amount n (threshold value).

図2の説明で前述したように、図7(a)に示されるごとく、操作子1が物体3を打撃した場合には、角速度センサ404―1の出力値は、打撃時点701を境にその変化方向が負の方向から正の方向に変化した直後、急激にゼロに向かって戻り、正方向への増加に転じる。従って、打撃時点701直後の1サンプリング期間Tsにおける出力値の変化量bは大きな値となって閾値である変位量nを超え、ステップS605の判定がYESになる。この場合には、操作子1の動作の停止が検知される図7の時点702においては、CPU501は、図5の音源部504に対して、楽音の発音を指示しないように制御する。本実施形態では、念のための処理として、CPU501は、音源部504に対して、ノートオフ(消音)を指示する。これにより、時点701で打楽器の自然音が発音された後に電子楽器音がずれて発音される状態を回避できる。   As described above with reference to FIG. 2, as shown in FIG. 7A, when the operator 1 hits the object 3, the output value of the angular velocity sensor 404-1 Immediately after the change direction changes from the negative direction to the positive direction, it suddenly returns toward zero and starts to increase in the positive direction. Therefore, the output value change amount b in the one sampling period Ts immediately after the impact time point 701 becomes a large value and exceeds the threshold displacement amount n, and the determination in step S605 is YES. In this case, at the time 702 in FIG. 7 where the stop of the operation of the operation element 1 is detected, the CPU 501 controls the sound source unit 504 in FIG. 5 so as not to instruct the sound generation. In the present embodiment, as a precaution process, the CPU 501 instructs the sound source unit 504 to turn off notes (silence). As a result, it is possible to avoid a state in which the electronic musical instrument sound is generated after the natural sound of the percussion instrument is generated at the time point 701.

一方、図3の説明で前述したように、図8(a)に示されるごとく、操作子1が物体3を打撃しない場合には、角速度センサ404―1の出力値は、変化時点801を境にその変化方向が負の方向から正の方向に変化した直後、比較的緩やかにゼロに向かって戻り、正方向への増加に転じる。従って、変化時点801直後の1サンプリング期間Tsにおける出力値の変化量bは小さな値となって閾値である変位量nを超えず、ステップS605の判定がNOになる。この場合には、CPU501は、更に角速度センサ404―1の出力値を監視しながら(ステップS607)、その出力値が図8(a)の発音閾値Thに達したか否か、即ち操作子の動作の停止が検知されるタイミング(例えば図8のタイミング802)に到達したか否かを判定する処理(ステップS608)を繰り返し実行する(ステップS607→S608の判定がNO→S607の処理の繰返し)。   On the other hand, as described above with reference to FIG. 3, as shown in FIG. 8A, when the operator 1 does not hit the object 3, the output value of the angular velocity sensor 404-1 borders on the change point 801. Immediately after the change direction changes from the negative direction to the positive direction, it returns to zero relatively slowly and starts to increase in the positive direction. Accordingly, the change amount b of the output value in one sampling period Ts immediately after the change time 801 is a small value and does not exceed the displacement amount n which is a threshold value, and the determination in step S605 is NO. In this case, the CPU 501 further monitors the output value of the angular velocity sensor 404-1 (step S 607), and determines whether or not the output value has reached the sound generation threshold Th of FIG. The process of determining whether or not the timing at which the stop of the operation is detected (for example, the timing 802 in FIG. 8) has been repeated (step S608) is repeatedly executed (the determination of step S607 → S608 is NO → repetition of the process of S607). .

ステップS608の判定がYESになると、CPU501は、音源部504に対して、ノートオンを指示する(ステップS609)。これにより、打楽器の自然音が発音されないときには、操作子1を振る動作により、電子楽器音のみを音源部504からオーディオ回路510及びスピーカ511を介して発音させることが可能となる。ステップS609の処理の後、CPU501は、ステップS602及びS603の監視処理に戻る。   When the determination in step S608 is YES, the CPU 501 instructs the sound source unit 504 to turn on the note (step S609). Thus, when the natural sound of the percussion instrument is not pronounced, only the electronic musical instrument sound can be produced from the sound source unit 504 via the audio circuit 510 and the speaker 511 by the operation of shaking the operation element 1. After the process of step S609, the CPU 501 returns to the monitoring process of steps S602 and S603.

上述した実施形態は、操作子1内の角速度センサ404―1の出力データに基づく処理例であったが、加速度センサ404−2や磁気センサ404−3の出力データに基づく処理が実行されてもよい。或いは、これら3つのセンサの出力データを合わせて処理が行われてもよい。図9は、操作子1が物体3を打撃したときの加速度センサ404−2の出力値の波形例を示す図である。この場合も静止状態から演奏者が操作子1を振り下ろすと、加速度の出力値は、期間T1に示されるように、ゼロの状態から負の方向にその絶対値が増加してゆく。そして、901の時点で操作子1が物体3を打撃した瞬間に、打撃の反動によって加速度の出力値の絶対値は急激にゼロに向かって減少する。その後、打撃の反動によって操作子1が振り上げられる状態になって、加速度の出力値は、期間T1からT2に示されるように、正の方向に増加してゆく。その後、演奏者による操作子1の振り下ろし動作により、加速度の出力値は、期間T2からT3に示されるように、正の最大値からゼロに戻り更に再び負の方向にその絶対値が増加してゆく。従って、この急激な変化をとらえることにより、操作子1が物体3を打撃したことを検知することができる。磁気センサ404−3についても同様である。   The embodiment described above is a processing example based on the output data of the angular velocity sensor 404-1 in the operation element 1, but even if the processing based on the output data of the acceleration sensor 404-2 and the magnetic sensor 404-3 is executed. Good. Alternatively, the processing may be performed by combining the output data of these three sensors. FIG. 9 is a diagram illustrating a waveform example of an output value of the acceleration sensor 404-2 when the operator 1 hits the object 3. Also in this case, when the performer swings down the operation member 1 from the stationary state, the absolute value of the acceleration output value increases from the zero state to the negative direction as shown in the period T1. The absolute value of the output value of the acceleration abruptly decreases toward zero due to the reaction of the impact at the moment when the operating element 1 strikes the object 3 at the time 901. Thereafter, the manipulator 1 is swung up by the recoil of the impact, and the output value of the acceleration increases in the positive direction as shown in the periods T1 to T2. Thereafter, the player's swinging down of the operation element 1 causes the acceleration output value to return from the positive maximum value to zero as shown in the period T2 to T3, and then the absolute value increases again in the negative direction. Go. Therefore, it is possible to detect that the operator 1 has hit the object 3 by capturing this sudden change. The same applies to the magnetic sensor 404-3.

以上説明したように、本実施形態によれば、操作子1を振った時と叩いた時でそれぞれ音源を自然打楽器音と電子楽器音とで分ける事により、違和感の無い演奏が行える。アコースティックドラムまたは電子ドラムを叩ける事により、遅延の無いハイブリッド演奏が可能となる。   As described above, according to the present embodiment, the sound source is divided into the natural percussion instrument sound and the electronic instrument sound when the operation element 1 is swung and struck, so that a performance without a sense of incongruity can be performed. By playing an acoustic drum or an electronic drum, a hybrid performance without delay becomes possible.

以上の実施形態に関して、更に以下の付記を開示する。
(付記1)
センサにより検出される操作子の動作が、前記操作子を振る第1の動作であるか否かを判別する第1の判別処理と、
前記第1の動作を判別した後、前記操作子による第1の動作の停止を検知する検知処理と、
前記第1の動作を検出した後、前記第1の動作の停止の検知のタイミングで、音源に対して発音を指示する発音指示処理と、
前記センサが、前記操作子による前記第1の動作の停止を検知する前に、前記操作子と他の物体との衝突を判別する第2の判別処理と、
前記衝突が判別された場合には、前記第1の動作の停止の検知のタイミングでの前記楽音の発音指示を行わせないように制御する制御処理と、
を実行する処理部を具備する音制御装置。
(付記2)
前記センサは、角速度センサ及び加速度センサの少なくともひとつであり、
前記処理部は、前記検知処理において、前記センサの出力値が第1の閾値以上となった後に前記センサの出力値の符号が逆転し、さらにその後前記センサの出力値が前記逆転後の符号を有する第2の閾値に達したタイミングを、前記操作子による第1の動作の停止のタイミングとして検出する処理を実行し、
前記第2の判別処理として、前記センサの出力符号が逆転した時点以後に前記センサの出力値の変化度合いを計測し、前記変化度合いが予め定められた閾値に比較して大きいか否かを判別し、大きい場合に前記操作子と他の物体との衝突と判別する処理を実行する付記1に記載の楽音制御装置。
(付記3)
前記処理部は、前記第2の判別処理において、前記センサの出力符号が逆転した時点における前記センサの出力値と前記時点の次の時点における前記センサの出力値との差を、前記変化度合いとして計測する、付記2に記載の音制御装置。
(付記4)
処理部を備えた音制御装置に用いられる音制御方法であって、前記処理部が、
センサにより検出される操作子の動作が、前記操作子を振る第1の動作であるか否かを判別し、
前記第1の動作を判別した後、前記操作子による第1の動作の停止を検知し、
前記第1の動作を検出した後、前記第1の動作の停止の検知のタイミングで、音源に対して発音を指示し、
前記センサが、前記操作子による前記第1の動作の停止を検知する前に、前記操作子と他の物体との衝突を判別し、
前記衝突が判別された場合には、前記第1の動作の停止の検知のタイミングでの前記楽音の発音指示を行わせないように制御する、音制御方法。
(付記5)
音制御装置として用いられるコンピュータに、
センサにより検出される操作子の動作が、前記操作子を振る第1の動作であるか否かを判別するステップと、
前記第1の動作を判別した後、前記操作子による第1の動作の停止を検知するステップと、
前記第1の動作を検出した後、前記第1の動作の停止の検知のタイミングで、音源に対して発音を指示するステップと、
前記センサが、前記操作子による前記第1の動作の停止を検知する前に、前記操作子と他の物体との衝突を判別するステップと、
前記衝突が判別された場合には、前記第1の動作の停止の検知のタイミングでの前記楽音の発音指示を行わせないように制御するするステップと、
を実行させるプログラム。
(付記6)
付記1乃至4の何れかに記載の音制御装置と、
前記音制御装置からの発音指示に基づいて、楽音を発音する音源装置と、
を備えた電子楽器。
Regarding the above embodiment, the following additional notes are disclosed.
(Appendix 1)
A first determination process for determining whether or not the operation of the operating element detected by the sensor is a first operation of shaking the operating element;
After determining the first operation, a detection process for detecting the stop of the first operation by the operator,
A sound generation instruction process for instructing the sound source to generate sound at the timing of detecting the stop of the first operation after detecting the first operation;
A second determination process for determining a collision between the operation element and another object before the sensor detects the stop of the first operation by the operation element;
If the collision is determined, a control process for performing control so as not to issue a tone generation instruction for the musical tone at the timing of detection of the stop of the first operation;
The sound control apparatus which comprises the processing part which performs.
(Appendix 2)
The sensor is at least one of an angular velocity sensor and an acceleration sensor,
In the detection process, the processing unit reverses the sign of the output value of the sensor after the output value of the sensor becomes equal to or higher than a first threshold, and then the output value of the sensor changes the sign after the reverse rotation. Performing a process of detecting a timing at which the second threshold value is reached as a timing of stopping the first operation by the operator,
As the second determination process, the change degree of the output value of the sensor is measured after the time when the output code of the sensor is reversed, and it is determined whether or not the change degree is larger than a predetermined threshold value. The musical tone control apparatus according to supplementary note 1, wherein when it is large, a process of determining a collision between the operation element and another object is executed.
(Appendix 3)
In the second determination process, the processing unit determines, as the change degree, a difference between an output value of the sensor at a time point when an output code of the sensor is reversed and an output value of the sensor at a time point subsequent to the time point. The sound control device according to appendix 2, which measures.
(Appendix 4)
A sound control method used in a sound control apparatus including a processing unit, wherein the processing unit is
Determining whether the operation of the operating element detected by the sensor is the first operation of shaking the operating element;
After determining the first operation, detecting the stop of the first operation by the operator,
After detecting the first motion, at the timing of detecting the stop of the first motion, instruct the sound source to sound,
Before the sensor detects the stop of the first operation by the operating element, it determines a collision between the operating element and another object,
A sound control method for performing control so as not to issue a tone generation instruction for the musical sound at the timing of detecting the stop of the first operation when the collision is determined.
(Appendix 5)
In a computer used as a sound control device,
Determining whether the operation of the operating element detected by the sensor is a first operation of shaking the operating element;
Detecting the stop of the first operation by the operator after determining the first operation;
Instructing the sound source to generate sound at the timing of detecting the stop of the first operation after detecting the first operation;
Determining a collision between the operation element and another object before the sensor detects the stop of the first operation by the operation element;
If the collision is determined, a step of performing control so as not to issue the tone generation instruction at the timing of detecting the stop of the first operation;
A program that executes
(Appendix 6)
The sound control device according to any one of appendices 1 to 4,
A sound source device that generates a musical sound based on a sound generation instruction from the sound control device;
Electronic musical instrument with

1 操作子
2 楽音制御装置
3 物体
4 無線通信
10、404―1 角速度センサ
401、501 CPU
402、502 ROM
403、503 RAM
404 姿勢センサ
404−1 角速度センサ
404−2 加速度センサ
404−3 磁気センサ
405、505 I/F装置
406、506 無線通信装置
504 音源部
507 表示部
508 入力部
509 システムバス
510 オーディオ回路
511 スピーカ
DESCRIPTION OF SYMBOLS 1 Operating element 2 Musical sound control apparatus 3 Object 4 Wireless communication 10, 404-1 Angular velocity sensor 401,501 CPU
402, 502 ROM
403, 503 RAM
404 Attitude sensor 404-1 Angular velocity sensor 404-2 Acceleration sensor 404-3 Magnetic sensor 405, 505 I / F device 406, 506 Wireless communication device 504 Sound source unit 507 Display unit 508 Input unit 509 System bus 510 Audio circuit 511 Speaker

Claims (6)

センサにより検出される操作子の動作が、前記操作子を振る第1の動作であるか否かを判別する第1の判別処理と、
前記第1の動作を判別した後、前記操作子による第1の動作の停止を検知する検知処理と、
前記第1の動作を検出した後、前記第1の動作の停止の検知のタイミングで、音源に対して発音を指示する発音指示処理と、
前記センサが、前記操作子による前記第1の動作の停止を検知する前に、前記操作子と他の物体との衝突を判別する第2の判別処理と、
前記衝突が判別された場合には、前記第1の動作の停止の検知のタイミングでの前記楽音の発音指示を行わせないように制御する制御処理と、
を実行する処理部を具備する音制御装置。
A first determination process for determining whether or not the operation of the operating element detected by the sensor is a first operation of shaking the operating element;
After determining the first operation, a detection process for detecting the stop of the first operation by the operator,
A sound generation instruction process for instructing the sound source to generate sound at the timing of detecting the stop of the first operation after detecting the first operation;
A second determination process for determining a collision between the operation element and another object before the sensor detects the stop of the first operation by the operation element;
If the collision is determined, a control process for performing control so as not to issue a tone generation instruction for the musical tone at the timing of detection of the stop of the first operation;
The sound control apparatus which comprises the processing part which performs.
前記センサは、角速度センサ及び加速度センサの少なくともひとつであり、
前記処理部は、前記検知処理において、前記センサの出力値が第1の閾値以上となった後に前記センサの出力値の符号が逆転し、さらにその後前記センサの出力値が前記逆転後の符号を有する第2の閾値に達したタイミングを、前記操作子による第1の動作の停止のタイミングとして検出する処理を実行し、
前記第2の判別処理として、前記センサの出力符号が逆転した時点以後に前記センサの出力値の変化度合いを計測し、前記変化度合いが予め定められた閾値に比較して大きいか否かを判別し、大きい場合に前記操作子と他の物体との衝突と判別する処理を実行する請求項1に記載の楽音制御装置。
The sensor is at least one of an angular velocity sensor and an acceleration sensor,
In the detection process, the processing unit reverses the sign of the output value of the sensor after the output value of the sensor becomes equal to or higher than a first threshold, and then the output value of the sensor changes the sign after the reverse rotation. Performing a process of detecting a timing at which the second threshold value is reached as a timing of stopping the first operation by the operator,
As the second determination process, the change degree of the output value of the sensor is measured after the time when the output code of the sensor is reversed, and it is determined whether or not the change degree is larger than a predetermined threshold value. The musical tone control apparatus according to claim 1, wherein when it is large, a process for determining a collision between the operating element and another object is executed.
前記処理部は、前記第2の判別処理において、前記センサの出力符号が逆転した時点における前記センサの出力値と前記時点の次の時点における前記センサの出力値との差を、前記変化度合いとして計測する、請求項2に記載の音制御装置。   In the second determination process, the processing unit determines, as the change degree, a difference between an output value of the sensor at a time point when an output code of the sensor is reversed and an output value of the sensor at a time point subsequent to the time point. The sound control device according to claim 2 which measures. 処理部を備えた音制御装置に用いられる音制御方法であって、前記処理部が、
センサにより検出される操作子の動作が、前記操作子を振る第1の動作であるか否かを判別し、
前記第1の動作を判別した後、前記操作子による第1の動作の停止を検知し、
前記第1の動作を検出した後、前記第1の動作の停止の検知のタイミングで、音源に対して発音を指示し、
前記センサが、前記操作子による前記第1の動作の停止を検知する前に、前記操作子と他の物体との衝突を判別し、
前記衝突が判別された場合には、前記第1の動作の停止の検知のタイミングでの前記楽音の発音指示を行わせないように制御する、音制御方法。
A sound control method used in a sound control apparatus including a processing unit, wherein the processing unit is
Determining whether the operation of the operating element detected by the sensor is the first operation of shaking the operating element;
After determining the first operation, detecting the stop of the first operation by the operator,
After detecting the first motion, at the timing of detecting the stop of the first motion, instruct the sound source to sound,
Before the sensor detects the stop of the first operation by the operating element, it determines a collision between the operating element and another object,
A sound control method for performing control so as not to issue a tone generation instruction for the musical sound at the timing of detecting the stop of the first operation when the collision is determined.
音制御装置として用いられるコンピュータに、
センサにより検出される操作子の動作が、前記操作子を振る第1の動作であるか否かを判別するステップと、
前記第1の動作を判別した後、前記操作子による第1の動作の停止を検知するステップと、
前記第1の動作を検出した後、前記第1の動作の停止の検知のタイミングで、音源に対して発音を指示するステップと、
前記センサが、前記操作子による前記第1の動作の停止を検知する前に、前記操作子と他の物体との衝突を判別するステップと、
前記衝突が判別された場合には、前記第1の動作の停止の検知のタイミングでの前記楽音の発音指示を行わせないように制御するするステップと、
を実行させるプログラム。
In a computer used as a sound control device,
Determining whether the operation of the operating element detected by the sensor is a first operation of shaking the operating element;
Detecting the stop of the first operation by the operator after determining the first operation;
Instructing the sound source to generate sound at the timing of detecting the stop of the first operation after detecting the first operation;
Determining a collision between the operation element and another object before the sensor detects the stop of the first operation by the operation element;
If the collision is determined, a step of performing control so as not to issue the tone generation instruction at the timing of detecting the stop of the first operation;
A program that executes
請求項1乃至4の何れかに記載の音制御装置と、
前記音制御装置からの発音指示に基づいて、楽音を発音する音源装置と、
を備えた電子楽器。
The sound control device according to any one of claims 1 to 4,
A sound source device that generates a musical sound based on a sound generation instruction from the sound control device;
Electronic musical instrument with
JP2015187718A 2015-09-25 2015-09-25 Sound control apparatus, method, program, and electronic musical instrument Active JP6610120B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015187718A JP6610120B2 (en) 2015-09-25 2015-09-25 Sound control apparatus, method, program, and electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015187718A JP6610120B2 (en) 2015-09-25 2015-09-25 Sound control apparatus, method, program, and electronic musical instrument

Publications (2)

Publication Number Publication Date
JP2017062358A true JP2017062358A (en) 2017-03-30
JP6610120B2 JP6610120B2 (en) 2019-11-27

Family

ID=58429657

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015187718A Active JP6610120B2 (en) 2015-09-25 2015-09-25 Sound control apparatus, method, program, and electronic musical instrument

Country Status (1)

Country Link
JP (1) JP6610120B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945778A (en) * 2017-12-29 2018-04-20 瞿妤冰 Electronic musical instrument

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945778A (en) * 2017-12-29 2018-04-20 瞿妤冰 Electronic musical instrument
CN107945778B (en) * 2017-12-29 2023-04-07 瞿妤冰 Electronic musical instrument

Also Published As

Publication number Publication date
JP6610120B2 (en) 2019-11-27

Similar Documents

Publication Publication Date Title
US8445769B2 (en) Performance apparatus and electronic musical instrument
US9154870B2 (en) Sound generation device, sound generation method and storage medium storing sound generation program
JP6044099B2 (en) Attitude detection apparatus, method, and program
JP6127367B2 (en) Performance device and program
JP5573899B2 (en) Performance equipment
JP5598490B2 (en) Performance device, method and program
JP2013213946A (en) Performance device, method, and program
US10203203B2 (en) Orientation detection device, orientation detection method and program storage medium
US20120103168A1 (en) Input apparatus and recording medium with program recorded therein
JP2013190663A (en) Performance device and program
JP2013040991A (en) Operator, operation method, and program
JP2009129248A (en) Hit command processing system, operation system for electronic instrument, and electronic instrument
JP6610120B2 (en) Sound control apparatus, method, program, and electronic musical instrument
JP2015111404A (en) Motion detection system, motion detection device, mobile communication terminal, and program
JP6111526B2 (en) Music generator
JP2013044889A (en) Music player
JP5082730B2 (en) Sound data generation device and direction sensing pronunciation musical instrument
JP6436145B2 (en) Performance device, method and program
JP6031800B2 (en) Performance device, method and program
JP6031801B2 (en) Performance device, method and program
JP5974567B2 (en) Music generator
JP2009282203A (en) Sound generation controller, sound generation system, and program
JP5935399B2 (en) Music generator
JP6281198B2 (en) INPUT DEVICE, PERFORMANCE DEVICE, INPUT METHOD, AND PROGRAM
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: 20180823

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20190415

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190614

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190625

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190805

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191014

R150 Certificate of patent or registration of utility model

Ref document number: 6610120

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150