[go: up one dir, main page]

JP2012032682A - Performance device and electronic musical instrument - Google Patents

Performance device and electronic musical instrument Download PDF

Info

Publication number
JP2012032682A
JP2012032682A JP2010173268A JP2010173268A JP2012032682A JP 2012032682 A JP2012032682 A JP 2012032682A JP 2010173268 A JP2010173268 A JP 2010173268A JP 2010173268 A JP2010173268 A JP 2010173268A JP 2012032682 A JP2012032682 A JP 2012032682A
Authority
JP
Japan
Prior art keywords
value
predetermined
volume level
acceleration sensor
angular velocity
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
JP2010173268A
Other languages
Japanese (ja)
Other versions
JP5668353B2 (en
Inventor
Hiroki Takahashi
宏毅 高橋
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 JP2010173268A priority Critical patent/JP5668353B2/en
Publication of JP2012032682A publication Critical patent/JP2012032682A/en
Application granted granted Critical
Publication of JP5668353B2 publication Critical patent/JP5668353B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract


【課題】 スティック状の部材を振っている一定期間における動作で、演奏者による所望の楽音の変化を実現する。
【解決手段】 演奏者が手で保持するための長手方向に延びる演奏装置本体11に、加速度センサ23と、長手方向の軸まわりの角速度を検出する角速度センサ22とが配置される。演奏装置本体11のCPU21は、加速度センサ23の加速度センサ値に基づいて、楽音を発生すべきタイミングを検出する。CPU21は、演奏装置本体11の振り始めに相当する第1のタイミングから、降り終わりに相当する第2のタイミングに至る期間における、角速度センサ22により検出された角速度であって、その絶対値が最大値を示す所定値ωmaxを取得する。CPU21は、上記所定値ωmaxに基づく回転の向きおよび大きさにしたがって、音量レベルの増減および増減の修正値を算出して、発音すべき楽音の音量レベルを修正する。
【選択図】 図1

PROBLEM TO BE SOLVED: To realize a change of a desired musical tone by a player by an operation in a certain period of waving a stick-like member.
SOLUTION: An acceleration sensor 23 and an angular velocity sensor 22 for detecting an angular velocity around an axis in the longitudinal direction are arranged on a performance apparatus main body 11 extending in the longitudinal direction for holding by a player. Based on the acceleration sensor value of the acceleration sensor 23, the CPU 21 of the performance device main body 11 detects the timing at which a musical sound should be generated. The CPU 21 is the angular velocity detected by the angular velocity sensor 22 during the period from the first timing corresponding to the start of swinging of the performance apparatus body 11 to the second timing corresponding to the end of descending, and the absolute value thereof is the maximum. A predetermined value ωmax indicating the value is acquired. The CPU 21 calculates the volume level increase / decrease and the correction value for the increase / decrease according to the direction and magnitude of the rotation based on the predetermined value ωmax, and corrects the volume level of the tone to be generated.
[Selection] Figure 1

Description

本発明は、演奏者が手で保持して、振ることにより楽音を発生させる演奏装置および電子楽器に関する。   The present invention relates to a performance apparatus and an electronic musical instrument that generate music by holding and shaking by a player.

従来、スティック状の部材にセンサを設け、演奏者が部材を手で保持して振ることで、センサが、当該部材の動きを検出し、楽音を発音するように構成された電子楽器が提案されている。特に、この電子楽器では、スティック状の部材は、ドラムのスティックや太鼓の撥のような形状を備え、演奏者があたかもドラムや太鼓をたたくような動作に応じて、打楽器音が発声されるようになっている。   Conventionally, there has been proposed an electronic musical instrument in which a sensor is provided on a stick-shaped member, and the player detects the movement of the member by holding the member by hand and shakes the member to generate a musical sound. ing. In particular, in this electronic musical instrument, the stick-shaped member has a shape like a drum stick or a drum repellent, so that a percussion instrument sound is uttered in response to the player's action of hitting the drum or drum. It has become.

たとえば、特許文献1には、スティック状の部材に加速度センサを設け、加速度センサからの出力(加速度センサ値)が、所定の閾値に達した後、所定時間が経過すると、楽音を発音するように構成された演奏装置が提案されている。   For example, in Patent Document 1, an acceleration sensor is provided on a stick-shaped member, and when a predetermined time elapses after the output from the acceleration sensor (acceleration sensor value) reaches a predetermined threshold value, a musical sound is generated. A configured performance device has been proposed.

特許第2663503号公報Japanese Patent No. 2663503 特願2007−256736号公報Japanese Patent Application No. 2007-256736

特許文献1に開示された演奏装置では、スティック状の部材の加速度センサ値に基づいて楽音の発音が制御されるだけであり、演奏者の所望のような楽音の変化を実現するのが容易ではないという問題点があった。   In the performance device disclosed in Patent Document 1, only the sound generation of the musical tone is controlled based on the acceleration sensor value of the stick-shaped member, and it is not easy to realize the musical tone change as desired by the performer. There was no problem.

特許文献2には、複数の音色を発音可能として、地磁気センサを用いて、スティック状の部材が向けられる方向にしたがって、複数の音色のうち、何れかを発音する装置が提案されている。特許文献2に提案された装置では、演奏開始時、つまり、スティック状の部材を振るときの方向で、楽音を変化させる。特許文献2に開示された装置では、演奏開始時、つまり、スティック状の部材を振る時点で変化させる楽音は決まってしまう。   Patent Document 2 proposes an apparatus that can generate a plurality of timbres, and uses a geomagnetic sensor to generate one of a plurality of timbres according to the direction in which the stick-shaped member is directed. In the device proposed in Patent Document 2, the musical tone is changed at the start of performance, that is, in the direction in which the stick-shaped member is swung. In the apparatus disclosed in Patent Document 2, the musical sound to be changed is determined at the start of the performance, that is, at the time when the stick-shaped member is swung.

本発明は、スティック状の部材を振っている一定期間における動作で、演奏者による所望の楽音の変化が実現できる演奏装置および電子楽器を提供することを目的とする。   It is an object of the present invention to provide a performance device and an electronic musical instrument that can realize a desired change in musical tone by a player by an operation during a certain period of waving a stick-shaped member.

演奏者が手で保持するための長手方向に延びる保持部材と、
前記保持部材内に配置された加速度センサと、
前記保持部材の前記長手方向の軸まわりの回転に伴う角速度を検出する角速度センサと、
所定の楽音を発音する楽音発生手段に対して発音の指示を与える制御手段と、を備え、
前記制御手段が、前記加速度センサ値に基づき取得した発音タイミングにて前記楽音発生手段に対して発音の指示を与える発音指示手段と、
前記加速度センサ値が上昇して所定の第1の値に達し、その後、下降して所定の第2の値に達するまで期間における、前記角速度センサにより検出された角速度であって、その絶対値が最大値を示す所定値を検出する所定値検出手段と、
前記検出された所定値に基づき、前記発音すべき楽音の音量レベルを算出して、当該算出された音量レベルを前記発音指示手段に与える音量レベル算出手段と、を有することを特徴とする演奏装置により達成される。
A longitudinally extending retaining member for the performer to hold by hand;
An acceleration sensor disposed in the holding member;
An angular velocity sensor for detecting an angular velocity associated with the rotation of the holding member around the longitudinal axis;
Control means for giving a sound generation instruction to a music sound generating means for generating a predetermined music sound,
A sounding instruction means for giving a sounding instruction to the music sound generating means at a sounding timing acquired based on the acceleration sensor value;
The angular velocity detected by the angular velocity sensor in a period until the acceleration sensor value increases to reach a predetermined first value and then decreases to reach a predetermined second value, and the absolute value thereof is Predetermined value detecting means for detecting a predetermined value indicating the maximum value;
A performance apparatus comprising: a volume level calculating unit that calculates a volume level of the musical tone to be generated based on the detected predetermined value and gives the calculated volume level to the pronunciation instruction unit Is achieved.

好ましい実施態様において、前記音量レベル算出手段は、前記所定値に基づき、前記軸まわりの回転が、一方の方向への回転を示す場合に、前記音量レベルを所定の基準値から増大させ、前記軸まわりの回転が、他方の方向への回転を示す場合に、前記音量レベルを前記所定の基準値から減少させる。   In a preferred embodiment, the volume level calculation means increases the volume level from a predetermined reference value when rotation around the axis indicates rotation in one direction based on the predetermined value, and the axis When the surrounding rotation indicates a rotation in the other direction, the volume level is decreased from the predetermined reference value.

より好ましい実施態様においては、前記音量レベル算出手段は、前記軸まわりの回転が前記一方の方向への回転を示す場合に、前記所定値の絶対値が大きくなるのに従って、前記所定の基準値からの増加量が大きくなるように音量レベルを算出し、前記軸まわりの回転が前記他方の方向への回転を示す場合に、前記所定値の絶対値が大きくなるのに従って、前記所定の基準値からの減少量が大きくなるように音量レベルを算出する。   In a more preferred embodiment, the sound volume level calculating means is configured so that the predetermined reference value increases from the predetermined reference value as the absolute value of the predetermined value increases when rotation about the axis indicates rotation in the one direction. The volume level is calculated so that the amount of increase increases, and when the rotation around the axis indicates rotation in the other direction, the absolute value of the predetermined value increases from the predetermined reference value. The sound volume level is calculated so that the amount of decrease in the sound volume increases.

また、別の好ましい実施態様においては、前記発音指示手段は、前記加速度センサ値が、所定の第1の閾値を超えて、その後、前記第1の閾値より小さい第2の閾値より小さくなったタイミングを発音タイミングとして、前記楽音発生手段に対して発音の指示を与える。   In another preferred embodiment, the sound generation instruction means is a timing at which the acceleration sensor value exceeds a predetermined first threshold and then becomes smaller than a second threshold smaller than the first threshold. Is given to the musical sound generating means as a sounding timing.

より好ましい実施態様においては、前記所定の第1の値が前記第1の閾値であり、前記所定の第2の値が前記第2の閾値である。   In a more preferred embodiment, the predetermined first value is the first threshold value, and the predetermined second value is the second threshold value.

また、本発明の目的は、上記演奏装置と、
前記楽音発生手段を備えた楽器部と、を備え、
前記演奏装置と、前記楽器部とが、それぞれ、通信手段を備えたことを特徴とする電子楽器により達成される。
Another object of the present invention is to provide the above performance device,
A musical instrument unit comprising the musical sound generating means,
The performance device and the musical instrument unit are each achieved by an electronic musical instrument comprising a communication means.

本発明によれば、スティック状の部材を振っている一定期間における動作で、演奏者による所望の楽音の変化が実現できる演奏装置および電子楽器を提供することが可能となる。   ADVANTAGE OF THE INVENTION According to this invention, it becomes possible to provide the performance apparatus and electronic musical instrument which can implement | achieve the change of the desired musical tone by a player by the operation | movement in the fixed period which shakes a stick-shaped member.

図1は、本発明の第1の実施の形態にかかる電子楽器の構成を示すブロックダイヤグラムである。FIG. 1 is a block diagram showing the configuration of the electronic musical instrument according to the first embodiment of the present invention. 図2は、本実施の形態にかかる演奏装置本体の構成を示すブロックダイヤグラムである。FIG. 2 is a block diagram showing the configuration of the performance device main body according to the present embodiment. 図3は、本実施の形態にかかる演奏装置本体の外観を概略的に示す図である。FIG. 3 is a diagram schematically showing the appearance of the performance device main body according to the present embodiment. 図4は、本実施の形態にかかる演奏装置本体において実行される処理の例を示すフローチャートである。FIG. 4 is a flowchart showing an example of processing executed in the performance apparatus main body according to the present embodiment. 図5は、本実施の形態にかかる発音タイミング検出処理の例を示すフローチャートである。FIG. 5 is a flowchart showing an example of the sound generation timing detection process according to the present embodiment. 図6は、本実施の形態にかかるノートオンイベント生成処理の例を示すフローチャートである。FIG. 6 is a flowchart showing an example of note-on event generation processing according to the present embodiment. 図7は、本実施の形態にかかる楽器部において実行される処理の例を示すフローチャートである。FIG. 7 is a flowchart showing an example of processing executed in the musical instrument unit according to the present embodiment. 図8は、演奏装置本体の加速度センサにより検出される加速度センサ値の例を模式的に示したグラフである。FIG. 8 is a graph schematically showing an example of the acceleration sensor value detected by the acceleration sensor of the performance apparatus main body.

以下、添付図面を参照して、本発明の実施の形態について説明する。図1は、本発明の第1の実施の形態にかかる電子楽器の構成を示すブロックダイヤグラムである。図1に示すように、本実施の形態にかかる電子楽器10は、演奏者が手に持って振るための、長手方向に延びるスティック状の演奏装置本体11を有している。また、電子楽器10は、楽音を発生するための楽器部19を備え、楽器部19は、CPU12、インタフェース(I/F)13、ROM14、RAM15、表示部16、入力部17およびサウンドシステム18を有する。演奏装置本体11は、後述するように、演奏者が保持する根元側と反対側である先端側の付近に加速度センサ23と、角速度センサ22とを有する。   Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram showing the configuration of the electronic musical instrument according to the first embodiment of the present invention. As shown in FIG. 1, an electronic musical instrument 10 according to the present embodiment has a stick-like performance device main body 11 extending in the longitudinal direction for a player to shake in his / her hand. The electronic musical instrument 10 includes a musical instrument unit 19 for generating musical sounds. The musical instrument unit 19 includes a CPU 12, an interface (I / F) 13, a ROM 14, a RAM 15, a display unit 16, an input unit 17, and a sound system 18. Have. As will be described later, the performance apparatus main body 11 includes an acceleration sensor 23 and an angular velocity sensor 22 in the vicinity of the tip side opposite to the base side held by the performer.

楽器部19のI/F13は、演奏装置本体11からのデータ(たとえばノートオンイベント)を受け入れて、RAM15に格納するとともに、CPU12にデータの受け入れを通知する。本実施の形態においては、たとえば、演奏装置本体11の根元側(図2の符号211参照)の端部に赤外線通信装置24が設けられ、I/F13にも赤外線通信装置33が設けられている。したがって、楽器部19は、演奏装置本体11の赤外線通信装置24が発した赤外線を、I/F13の赤外線通信装置33が受信することで、演奏装置本体11からのデータを受信することができる。   The I / F 13 of the musical instrument unit 19 accepts data (for example, a note-on event) from the performance apparatus main body 11, stores it in the RAM 15, and notifies the CPU 12 of acceptance of the data. In the present embodiment, for example, the infrared communication device 24 is provided at the end of the performance device main body 11 on the base side (see reference numeral 211 in FIG. 2), and the infrared communication device 33 is also provided in the I / F 13. . Therefore, the musical instrument unit 19 can receive data from the performance apparatus main body 11 when the infrared communication apparatus 33 of the I / F 13 receives the infrared rays emitted from the infrared communication apparatus 24 of the performance apparatus main body 11.

CPU12は、電子楽器10全体の制御、特に、電子楽器の楽器部19の制御、入力部17を構成するキースイッチ(図示せず)の操作の検出、I/F13を介して受信したノートオンイベントに基づく楽音の発生など、種々の処理を実行する。   The CPU 12 controls the electronic musical instrument 10 as a whole, in particular, controls the musical instrument unit 19 of the electronic musical instrument, detects an operation of a key switch (not shown) constituting the input unit 17, and a note-on event received via the I / F 13. Various processes such as generation of musical sounds based on the above are executed.

ROM14は、電子楽器10全体の制御、特に、電子楽器の楽器部19の制御、入力部17を構成するキースイッチ(図示せず)の操作の検出、I/F13を介して受信したノートオンイベントに基づく楽音の発生など、種々の処理プログラムを格納する。また、ROM14は、種々の音色の波形データ、特に、バスドラム、ハイハット、スネア、シンバルなど打楽器の波形データを格納する波形データエリアを含む。無論、打楽器の波形データに限定されず、ROM22には、フルート、サックス、トランペットなどの管楽器、ピアノなどの鍵盤楽器、ギターなどの弦楽器の音色の波形データが格納されていても良い。   The ROM 14 controls the entire electronic musical instrument 10, in particular, controls the musical instrument unit 19 of the electronic musical instrument, detects operation of a key switch (not shown) constituting the input unit 17, and note-on events received via the I / F 13. Various processing programs, such as generation of musical sounds based on, are stored. The ROM 14 includes a waveform data area for storing waveform data of various timbres, particularly percussion instrument waveform data such as bass drum, hi-hat, snare, and cymbal. Of course, it is not limited to the waveform data of percussion instruments, and the ROM 22 may store waveform data of timbres of wind instruments such as flutes, saxophones and trumpet, keyboard instruments such as piano, and stringed instruments such as guitar.

RAM15は、ROM14から読み出されたプログラムや、処理の過程で生じたデータやパラメータを記憶する。処理の過程で生じたデータには、入力部17のスイッチの操作状態、I/F13を介して受信したノートイベントや、楽音の発音状態などが含まれる。   The RAM 15 stores programs read from the ROM 14 and data and parameters generated in the process. The data generated in the process includes the operation state of the switch of the input unit 17, the note event received via the I / F 13, the tone generation state of the musical sound, and the like.

表示部16は、たとえば、液晶表示装置(図示せず)を有し、選択された音色などを表示することができる。また、入力部17は、スイッチ(図示せず)を有し、音色の指定などを指示することができる。   The display unit 16 includes, for example, a liquid crystal display device (not shown) and can display a selected tone color or the like. The input unit 17 includes a switch (not shown) and can instruct designation of a timbre.

サウンドシステム18は、音源部31、オーディオ回路32およびスピーカ35を備える。音源部31は、CPU12からの指示にしたがって、ROM15の波形データエリアから波形データを読み出して、楽音データを生成して出力する。オーディオ回路32は、音源部31から出力された楽音データをアナログ信号に変換し、変換されたアナログ信号を増幅してスピーカ35に出力する。これによりスピーカ35から楽音が出力される。   The sound system 18 includes a sound source unit 31, an audio circuit 32, and a speaker 35. The sound source unit 31 reads waveform data from the waveform data area of the ROM 15 in accordance with an instruction from the CPU 12, generates musical tone data, and outputs it. The audio circuit 32 converts the musical sound data output from the sound source unit 31 into an analog signal, amplifies the converted analog signal, and outputs the amplified analog signal to the speaker 35. As a result, a musical sound is output from the speaker 35.

図2は、本実施の形態にかかる演奏装置本体の構成を示すブロックダイヤグラムである。図2に示すように、演奏装置本体11は、演奏者が保持する根元側(符号211参照)の反対側である先端側(符号212参照)に、角速度センサ22および加速度センサ23を有する。角速度センサ22の位置は、先端側に限定されず、根元側に配置されていても良い。角速度センサ22は、たとえば、ジャイロスコープを備えたセンサであり、演奏装置本体11の長手方向の軸(図2の符号200参照)を中心とした回転(符号201参照)における角速度を検出することができる。加速度センサ23は、たとえば、静電容量型或いはピエゾ抵抗素子型のセンサであり、生じた加速度を示すデータ値を出力することができる。本実施の形態にかかる加速度センサ23は、たとえば、演奏装置本体11の軸(:長手方向の軸:符号200参照)方向の加速度センサ値を出力する。   FIG. 2 is a block diagram showing the configuration of the performance device main body according to the present embodiment. As shown in FIG. 2, the performance device main body 11 has an angular velocity sensor 22 and an acceleration sensor 23 on the tip side (see reference numeral 212) opposite to the base side (see reference numeral 211) held by the performer. The position of the angular velocity sensor 22 is not limited to the tip side, and may be arranged on the root side. The angular velocity sensor 22 is, for example, a sensor having a gyroscope, and can detect an angular velocity in rotation (refer to reference numeral 201) around the longitudinal axis (refer to reference numeral 200 in FIG. 2) of the performance apparatus main body 11. it can. The acceleration sensor 23 is, for example, a capacitance type or piezoresistive type sensor, and can output a data value indicating the generated acceleration. The acceleration sensor 23 according to the present embodiment outputs, for example, an acceleration sensor value in the axis direction (: longitudinal axis: reference numeral 200) of the performance device main body 11.

演奏者が実際にドラムを演奏するときには、スティックの一端(根元側211)を手に持って、スティックに手首などを中心とした回転運動を生じさせる。したがって、この実施の形態では、回転運動に伴う遠心力を検知すべく、演奏装置本体11の軸200方向の加速度センサ値を取得する。無論、加速度センサとして3軸センサを用いても良い。また、本実施の形態においては、角速度センサ22により、演奏装置本体11の軸200まわりの変位(回転角)が取得される。   When the performer actually plays the drum, the player holds one end (base side 211) of the stick in his hand and causes the stick to rotate about the wrist or the like. Therefore, in this embodiment, an acceleration sensor value in the direction of the axis 200 of the performance apparatus main body 11 is acquired in order to detect the centrifugal force accompanying the rotational movement. Of course, a triaxial sensor may be used as the acceleration sensor. In the present embodiment, the angular velocity sensor 22 acquires the displacement (rotation angle) around the axis 200 of the performance apparatus body 11.

図3は、本実施の形態にかかる演奏装置本体の外観を概略的に示す図である。図3では、根元側(符号211参照)を奥に、先端側(符号212参照)を手前となるように演奏装置本体11が描かれている。図3に示すように、先端側211から見て左回転(反時計まわりの回転:矢印A参照)のときの角速度ωを正としている。その一方、先端側211からみて右回転(時計まわりの回転:矢印B参照)のときの角速度ωを負としている。以下、演奏装置本体11の軸まわりの回転方向は、演奏装置本体11の先端側1102から見たときの回転方向を指す。上記定義は、本明細書における軸まわりの回転方向を明確にすることを意図している。本実施の形態においては、後述するように、軸200まわりの角速度の最大値ωmaxが正であるときに音量レベルが増大し、上記最大値ωmaxが負であるときに音量レベルが減少する。   FIG. 3 is a diagram schematically showing the appearance of the performance device main body according to the present embodiment. In FIG. 3, the performance device main body 11 is drawn with the base side (see reference numeral 211) at the back and the front end side (see reference numeral 212) at the front. As shown in FIG. 3, the angular velocity ω at the time of counterclockwise rotation (counterclockwise rotation: see arrow A) as viewed from the front end side 211 is positive. On the other hand, the angular velocity ω at the time of clockwise rotation (clockwise rotation: see arrow B) as viewed from the tip side 211 is negative. Hereinafter, the rotation direction around the axis of the performance apparatus main body 11 refers to the rotation direction when viewed from the front end side 1102 of the performance apparatus main body 11. The above definition is intended to clarify the direction of rotation about the axis in this specification. In the present embodiment, as described later, the volume level increases when the maximum value ωmax of the angular velocity around the axis 200 is positive, and the volume level decreases when the maximum value ωmax is negative.

また、演奏装置本体11は、CPU21、赤外線通信装置24、ROM25、RAM26、インタフェース(I/F)27および入力部28を有する。CPU21は、演奏装置本体11における加速度センサ値および角速度センサ値の取得、加速度センサ値にしたがった楽音の発音タイミングの検出、ノートオンイベントの生成、角速度センサ値にしたがった音量レベル修正値の算出、I/F27および赤外線通信装置24を介したノートオンイベントの送信制御などの処理を実行する。   The performance device main body 11 includes a CPU 21, an infrared communication device 24, a ROM 25, a RAM 26, an interface (I / F) 27, and an input unit 28. The CPU 21 acquires the acceleration sensor value and the angular velocity sensor value in the performance device main body 11, detects the tone generation timing of the musical sound according to the acceleration sensor value, generates the note-on event, calculates the volume level correction value according to the angular velocity sensor value, Processing such as transmission control of a note-on event via the I / F 27 and the infrared communication device 24 is executed.

ROM25には、演奏装置本体11における加速度センサ値および角速度センサ値の取得、加速度センサ値にしたがった楽音の発音タイミングの検出、ノートオンイベントの生成、角速度センサ値にしたがった音量レベル修正値の算出、I/F27および赤外線通信装置24を介したノートオンイベントの送信制御などの処理プログラムが格納される。RAM26には、センサ値など、処理において取得され或いは生成された値が格納される。I/F27は、CPU21からの指示にしたがって赤外線通信装置24にデータを出力する。また、入力部28は、スイッチ(図示せず)を有する。   The ROM 25 acquires the acceleration sensor value and the angular velocity sensor value in the performance device main body 11, detects the tone generation timing of the musical sound according to the acceleration sensor value, generates the note-on event, and calculates the volume level correction value according to the angular velocity sensor value. , A processing program such as note-on event transmission control via the I / F 27 and the infrared communication device 24 is stored. The RAM 26 stores values obtained or generated in the process such as sensor values. The I / F 27 outputs data to the infrared communication device 24 in accordance with an instruction from the CPU 21. The input unit 28 has a switch (not shown).

図4は、本実施の形態にかかる演奏装置本体において実行される処理の例を示すフローチャートである。図4に示すように、演奏装置本体11のCPU21は、RAM26のデータのクリアなどを含むイニシャライズ処理を実行する(ステップ401)。イニシャライズ処理(ステップ401)が終了すると、CPU21は、加速度センサ23のセンサ値(加速度センサ値)を取得して、RAM26に格納する(ステップ402)。上述したように、本実施の形態においては、加速度センサ値として、演奏装置本体11の軸200方向のセンサ値が採用される。また、CPU21は、角速度センサ22のセンサ値(角速度センサ値ω)を取得して、RAM26に格納する(ステップ403)。   FIG. 4 is a flowchart showing an example of processing executed in the performance apparatus main body according to the present embodiment. As shown in FIG. 4, the CPU 21 of the performance device main body 11 executes an initialization process including clearing of data in the RAM 26 (step 401). When the initialization process (step 401) ends, the CPU 21 acquires the sensor value (acceleration sensor value) of the acceleration sensor 23 and stores it in the RAM 26 (step 402). As described above, in the present embodiment, the sensor value in the direction of the axis 200 of the performance device main body 11 is employed as the acceleration sensor value. Further, the CPU 21 acquires the sensor value (angular velocity sensor value ω) of the angular velocity sensor 22 and stores it in the RAM 26 (step 403).

次いで、CPU21は、発音タイミング検出処理を実行する(ステップ404)。図5は、本実施の形態にかかる発音タイミング検出処理の例を示すフローチャートである。図5に示すように、CPU21は、RAM26に格納された加速度センサ値および角速度センサ値ωを読み出す(ステップ501)。次いで、CPU21は、加速度センサ値が、所定の第1の閾値αより大きいかを判断する(ステップ502)。ステップ502でYesと判断された場合には、CPU21は、RAM26中の加速度フラグが「0」であるかを判断する(ステップ503)。ステップ503でYesと判断された場合には、CPU21は、RAM26中の加速度フラグに「1」をセットする(ステップ504)。また、CPU21は、RAM26中の角速度センサ値について、その絶対値が最大値を示す所定値ωmaxを「0」に初期化する(ステップ505)。   Next, the CPU 21 executes a sound generation timing detection process (step 404). FIG. 5 is a flowchart showing an example of the sound generation timing detection process according to the present embodiment. As shown in FIG. 5, the CPU 21 reads the acceleration sensor value and the angular velocity sensor value ω stored in the RAM 26 (step 501). Next, the CPU 21 determines whether the acceleration sensor value is larger than a predetermined first threshold value α (step 502). If it is determined Yes in step 502, the CPU 21 determines whether the acceleration flag in the RAM 26 is “0” (step 503). When it is determined Yes in step 503, the CPU 21 sets “1” in the acceleration flag in the RAM 26 (step 504). Further, the CPU 21 initializes a predetermined value ωmax indicating that the absolute value of the angular velocity sensor value in the RAM 26 is the maximum value to “0” (step 505).

ステップ503でNoの場合、或いは、ステップ505の後、角速度センサ値ωの絶対値が、RAM26に格納された、所定値ωmaxの絶対値より大きいかを判断する(ステップ506)。前述したように、演奏装置本体11を先端側211から見て左回転(反時計まわりの回転:図2の矢印A参照)のときにΔωは正、右回転(時計回りの回転:図2の矢印B参照)のときのΔωは負となる。所定値ωmaxは、角速度ωのうち、その絶対値が最大である値を示し、負の値となる場合もある。ステップ506でYesと判断された場合には、CPU21は、RAM26中の角速度センサ値ωmaxとして、ステップ403で取得され、RAM26に格納されていた角速度センサ値ωを格納する(ステップ507)。すなわち、ωmaxが、その絶対値が最大値を示す角速度に書き換えられる。   If No in step 503 or after step 505, it is determined whether the absolute value of the angular velocity sensor value ω is larger than the absolute value of the predetermined value ωmax stored in the RAM 26 (step 506). As described above, Δω is positive and right rotation (clockwise rotation: clockwise rotation in FIG. 2) when the performance device main body 11 is rotated counterclockwise when viewed from the front end side 211 (counterclockwise rotation: see arrow A in FIG. 2). Δω in the case of arrow B) is negative. The predetermined value ωmax indicates a value having the maximum absolute value of the angular velocity ω, and may be a negative value. If it is determined Yes in step 506, the CPU 21 stores the angular velocity sensor value ω acquired in step 403 and stored in the RAM 26 as the angular velocity sensor value ωmax in the RAM 26 (step 507). That is, ωmax is rewritten to an angular velocity whose absolute value indicates the maximum value.

ステップ502でNoと判断された場合には、CPU21は、RAM26中の加速度フラグが「1」であるかを判断する(ステップ508)。ステップ508でNoと判断された場合には、発音タイミング検出処理が終了される。ステップ508でYesと判断された場合には、CPU21は、加速度センサ値が所定の第2の閾値βより小さいかを判断する(ステップ509)。ステップ509でNoと判断された場合には、ステップ506に進む。ステップ509でYesと判断された場合には、CPU21は、ノートオンイベント生成処理を実行する(ステップ510)。   If it is determined No in step 502, the CPU 21 determines whether the acceleration flag in the RAM 26 is “1” (step 508). If it is determined No in step 508, the sound generation timing detection process is terminated. If it is determined Yes in step 508, the CPU 21 determines whether the acceleration sensor value is smaller than a predetermined second threshold value β (step 509). If NO is determined in step 509, the process proceeds to step 506. If it is determined Yes in step 509, the CPU 21 executes note-on event generation processing (step 510).

図6は、本実施の形態にかかるノートオンイベント生成処理の例を示すフローチャートである。図6に示すノートオンイベント生成処理により、ノートオンイベントが楽器部19に送信され、その後、楽器部19において発音処理(図7のステップ704)が実行されることにより、楽音データが生成され、スピーカ35から楽音が発音される。   FIG. 6 is a flowchart showing an example of note-on event generation processing according to the present embodiment. The note-on event is transmitted to the musical instrument unit 19 by the note-on event generation process shown in FIG. A musical sound is generated from the speaker 35.

ここに、ノートオンイベント生成処理の説明に先立ち、本実施の形態にかかる電子楽器10における発音タイミングについて説明する。図8は、演奏装置本体の加速度センサにより検出される加速度センサ値の例を模式的に示したグラフである。演奏者が、演奏装置本体11の一端(根元側)を持って振ることは、手首、ひじ、肩などを支点とした回転運動を演奏装置本体11に生じさせる。この回転運動に伴って、特に、遠心力により、演奏装置本体11の軸方向に加速度が生じる。   Here, prior to the description of the note-on event generation process, the sound generation timing in the electronic musical instrument 10 according to the present embodiment will be described. FIG. 8 is a graph schematically showing an example of the acceleration sensor value detected by the acceleration sensor of the performance apparatus main body. When the performer swings while holding one end (base side) of the performance apparatus main body 11, the performance apparatus main body 11 is caused to rotate with the wrist, elbow, shoulder, or the like as a fulcrum. Accompanying this rotational movement, in particular, acceleration is generated in the axial direction of the musical instrument main body 11 by centrifugal force.

演奏者が、演奏装置本体11を振ると、加速度センサ値は、次第に大きくなる(図8の曲線800における符号801参照)。演奏者がスティック状の演奏装置本体11を振るときに、一般には、ドラムを打つ動作と同様に動作する。したがって、演奏者は、仮想的に設定されたドラムの面にスティックを打ちつける寸前に、スティック(つまりスティック状の演奏装置本体11)の動作をとめていく。したがって、ある時刻から加速度センサ値は徐々に減少する(符号802参照)。演奏者は、仮想的なドラムの面にスティックを打ちつけた瞬間に楽音が発生することを想定している。したがって、演奏者が想定するタイミングで楽音を発生できるのが望ましい。   When the performer swings the performance apparatus main body 11, the acceleration sensor value gradually increases (see reference numeral 801 in the curve 800 in FIG. 8). When the performer swings the stick-like performance apparatus main body 11, generally, the operation is similar to the operation of hitting the drum. Therefore, the performer stops the operation of the stick (that is, the stick-shaped performance device main body 11) just before hitting the stick on the virtually set drum surface. Therefore, the acceleration sensor value gradually decreases from a certain time (see reference numeral 802). The performer assumes that the musical sound is generated at the moment when the stick is struck on the virtual drum surface. Therefore, it is desirable that the musical sound can be generated at the timing assumed by the performer.

本発明では、演奏者が仮想的なドラムの面にスティックを打ちつける瞬間或いはそのわずかに前に楽音を発生すべく、以下に述べるようなロジックを採用する。発音タイミングは、加速度センサ値が減少して、「0」よりわずかに大きい第2の閾値βより小さくなったときとする。しかしながら、演奏者が予期していない動作により、加速度センサ値が振動して、上述した第2の閾値β前後に達する可能性もある。したがって、予期しない振動を排除するために、いったん、加速度センサ値が上昇して、所定の第1の閾値α(αはβより十分に大きい)を越えることを条件としている。すなわち、加速度センサ値がいったん第1の閾値αより大きくなり(時刻tα参照)、その後、加速度センサ値が減少して、第2の閾値βより小さくなったとき(時刻tβ参照)、時刻tβを発音タイミングとしている。上述したような発音タイミングが到来したと判断されると、演奏装置本体11においてノートオンイベントが生成され、楽器部10に送信される。また、これに応答して、楽器部19において、発音処理および音源処理が実行されて、楽音が発生する。 In the present invention, the logic described below is employed in order to generate a musical sound at the moment or slightly before the player strikes the virtual drum surface. The sound generation timing is when the acceleration sensor value decreases and becomes smaller than the second threshold value β slightly larger than “0”. However, there is a possibility that the acceleration sensor value vibrates and reaches around the above-described second threshold value β due to an operation unexpected by the performer. Therefore, in order to eliminate unexpected vibrations, it is a condition that the acceleration sensor value once rises and exceeds a predetermined first threshold value α (α is sufficiently larger than β). That is, (see time t alpha) acceleration sensor value becomes temporarily larger than the first threshold value alpha, then, with the acceleration sensor value is reduced, when it becomes less than the second threshold value beta (see time t beta), time t β is used as the sound generation timing. When it is determined that the sound generation timing as described above has arrived, a note-on event is generated in the performance apparatus body 11 and transmitted to the musical instrument unit 10. In response to this, the musical instrument unit 19 performs a sound generation process and a sound source process to generate a musical sound.

また、本実施の形態においては、加速度センサ値が上昇して第1の閾値αより大きくなったタイミング(時刻tα)と、加速度センサ値が下降して第2の閾値βより小さくなったタイミング(時刻tβ)との期間Tにおいて、演奏装置本体11の軸200まわりの角速度ωについて、その絶対値が最大値を示す所定値ωmaxに基づいて、発音すべき楽音の音量レベルが調整される。 In the present embodiment, the timing when the acceleration sensor value increases and becomes larger than the first threshold value α (time t α ), and the timing when the acceleration sensor value decreases and becomes smaller than the second threshold value β. In a period T with (time tβ), the volume level of the musical tone to be generated is adjusted based on a predetermined value ωmax whose absolute value is the maximum value for the angular velocity ω around the axis 200 of the performance apparatus body 11.

図6に示すように、ノートオンイベント生成処理においては、CPU21は、RAM26に格納された音量レベルの初期値を取得する(ステップ601)。次いで、CPU21は、CPU21は、RAM26に格納された、その絶対値が角速度の最大値を示す所定値ωmaxに基づき、音量レベル修正値ΔLevを算出する(ステップ602)。たとえば、ΔLevは、以下のように求めることができる。   As shown in FIG. 6, in the note-on event generation process, the CPU 21 acquires the initial value of the volume level stored in the RAM 26 (step 601). Next, the CPU 21 calculates the volume level correction value ΔLev based on the predetermined value ωmax stored in the RAM 26 and whose absolute value indicates the maximum value of the angular velocity (step 602). For example, ΔLev can be obtained as follows.

ΔLev=b・ωmax (ただし、bは所定の正の係数)   ΔLev = b · ωmax (where b is a predetermined positive coefficient)

所定値ωmaxが正であれば、ΔLevも正となり、所定値ωmaxが負であれば、ΔLevも負となる。CPU21は、音量レベルの初期値に上記音量レベル修正値ΔLevを加算し、加算された値を音量レベルVelとする(ステップ603)。なお、音量レベルの初期値+ΔLev≧Vmax(Vmax:音量レベルの最大値)のときには、音量レベルVelはVmaxとなる。これにより、音量レベルVelは、演奏者による演奏装置本体11の軸200まわりの回転の速度を考慮して値が増減されたものとなる。   If the predetermined value ωmax is positive, ΔLev is also positive, and if the predetermined value ωmax is negative, ΔLev is also negative. The CPU 21 adds the volume level correction value ΔLev to the initial value of the volume level, and sets the added value as the volume level Vel (step 603). Note that when the initial value of the volume level + ΔLev ≧ Vmax (Vmax: the maximum value of the volume level), the volume level Vel is Vmax. As a result, the volume level Vel is increased or decreased in consideration of the speed of rotation around the axis 200 of the performance apparatus main body 11 by the performer.

CPU21は、算出された音量レベル(ベロシティ)、所定の音色を示す情報を含むノートオンイベントを生成する(ステップ604)。なお、ノートオンイベント中に、音高を示す情報として所定値を含めても良い。   The CPU 21 generates a note-on event including information indicating the calculated volume level (velocity) and a predetermined tone color (step 604). Note that a predetermined value may be included as information indicating the pitch during the note-on event.

CPU21は、生成されたノートオンイベントをI/F27に出力する(ステップ605)。I/F27は、赤外線通信装置24にノートオンイベントを赤外線信号として送信させる。赤外線通信装置24からの赤外線信号は楽器部19の赤外線通信装置33に受信される。その後、CPU21は、RAM26中の加速度フラグを「0」にリセットする(ステップ606)。   The CPU 21 outputs the generated note-on event to the I / F 27 (step 605). The I / F 27 causes the infrared communication device 24 to transmit a note-on event as an infrared signal. An infrared signal from the infrared communication device 24 is received by the infrared communication device 33 of the musical instrument unit 19. Thereafter, the CPU 21 resets the acceleration flag in the RAM 26 to “0” (step 606).

発音タイミング検出処理(ステップ404)が終了すると、CPU21は、パラメータ通信処理を実行する(ステップ405)。パラメータ通信処理(ステップ405)については、後述する楽器部19におけるパラメータ通信処理(図7のステップ705)とともに説明する。   When the sound generation timing detection process (step 404) ends, the CPU 21 executes a parameter communication process (step 405). The parameter communication process (step 405) will be described together with the parameter communication process (step 705 in FIG. 7) in the musical instrument unit 19 described later.

次に、本実施の形態にかかる楽器部において実行される処理について説明する。図7は、本実施の形態にかかる楽器部において実行される処理の例を示すフローチャートである。楽器部19のCPU12は、RAM15のデータのクリア、表示部16の画面上に表示される画像のクリア、音源部31のクリアなどを含むイニシャライズ処理を実行する(ステップ701)。次いで、CPU12は、スイッチ処理を実行する(ステップ702)。スイッチ処理においては、たとえば、以下の処理を実行する。CPU12は、入力部17のスイッチ操作にしたがって、発音すべき楽音の音色の設定などを実行する。CPU12は、指定された音色の情報をRAM15に格納する。   Next, processing executed in the musical instrument unit according to the present embodiment will be described. FIG. 7 is a flowchart showing an example of processing executed in the musical instrument unit according to the present embodiment. The CPU 12 of the musical instrument unit 19 executes initialization processing including clearing data in the RAM 15, clearing images displayed on the screen of the display unit 16, clearing the sound source unit 31, and the like (step 701). Next, the CPU 12 executes a switch process (step 702). In the switch process, for example, the following process is executed. The CPU 12 executes setting of the tone color of a musical tone to be generated according to the switch operation of the input unit 17. The CPU 12 stores the specified timbre information in the RAM 15.

次いで、CPU12は、I/F13が、新たにイベントを受信しているかを判断する(ステップ703)。ステップ703でYesと判断された場合には、CPU12は発音処理を実行する(ステップ704)。発音処理においては、CPU21は、I/F13が受信し、RAM15に格納したノートオンイベントを、音源部31に与えて発音を指示する。   Next, the CPU 12 determines whether the I / F 13 has newly received an event (step 703). If it is determined Yes in step 703, the CPU 12 executes a sound generation process (step 704). In the sound generation process, the CPU 21 gives the note-on event received by the I / F 13 and stored in the RAM 15 to the sound source unit 31 to instruct sound generation.

音源部31は、ノートオンイベントを受信すると、ROM14から、ノートオンイベントに示される音色にしたがった波形データを読み出す。また、波形データ読み出しの際の速度はノートオンイベントに含まれる音高に従う。次いで、音源部31は、ノートオンイベントに含まれる音量レベルと波形データとを乗じて、所定の音量レベルの楽音波形データを生成する。生成された楽音波形データは、オーディオ回路32に出力される。これにより、所定の音量の楽音がスピーカ35から発生される。   When receiving the note-on event, the sound source unit 31 reads waveform data from the ROM 14 according to the timbre indicated by the note-on event. The speed at the time of waveform data reading depends on the pitch included in the note-on event. Next, the sound source unit 31 multiplies the volume level included in the note-on event and the waveform data to generate musical sound waveform data having a predetermined volume level. The generated musical sound waveform data is output to the audio circuit 32. Thereby, a musical sound having a predetermined volume is generated from the speaker 35.

発音処理(ステップ704)の後、CPU12は、パラメータ通信処理を実行する(ステップ705)。パラメータ通信処理においては、CPU12の指示によって、たとえば、スイッチ処理(ステップ702)で設定された発音すべき楽音の音色が、I/F13を介して赤外線通信装置33から、演奏装置本体11に送信される。また、演奏装置本体11において、赤外線通信装置24が、データを受信すると、CPU21は、I/F27を介してデータを受け入れ、RAM26に格納する(図4のステップ405)。   After the sound generation process (step 704), the CPU 12 executes a parameter communication process (step 705). In the parameter communication processing, for example, the tone of the musical tone to be generated set in the switch processing (step 702) is transmitted from the infrared communication device 33 to the performance device main body 11 via the I / F 13 according to the instruction of the CPU 12. The In the performance apparatus main body 11, when the infrared communication device 24 receives the data, the CPU 21 receives the data via the I / F 27 and stores it in the RAM 26 (step 405 in FIG. 4).

パラメータ通信処理(ステップ705)が終了すると、CPU12は、その他の処理、たとえば、表示部16の画面上に表示される画像の更新などを実行する(ステップ706)。   When the parameter communication process (step 705) ends, the CPU 12 executes another process, for example, an update of an image displayed on the screen of the display unit 16 (step 706).

本実施の形態においては、角速度センサ値ωを用いて、演奏装置本体11の振り始めに相当する所定の第1のタイミングから、降り終わりに相当する所定の第2のタイミングに至るまでの期間Tにおいて、演奏装置本体11の軸まわりの角速度について、その絶対値が最大値を示す所定値ωmaxが取得される。演奏装置本体11のCPU21は、所定値ωmaxにしたがって、回転の向きおよび大きさを算出し、これに基づき、音量レベルの増減および増減の修正値を算出して、音量レベルを修正する。本実施の形態によれば、演奏者の手首の捻りの速さにしたがった、演奏者にとって所望の音量レベルの楽音を発生させることが可能となる。   In the present embodiment, using the angular velocity sensor value ω, a period T from a predetermined first timing corresponding to the start of swinging of the performance apparatus body 11 to a predetermined second timing corresponding to the end of descending. , A predetermined value ωmax whose absolute value indicates the maximum value is acquired for the angular velocity around the axis of the performance apparatus main body 11. The CPU 21 of the performance device main body 11 calculates the direction and magnitude of rotation according to the predetermined value ωmax, and based on this, calculates the increase / decrease of the volume level and the correction value of the increase / decrease, thereby correcting the volume level. According to the present embodiment, it is possible to generate a musical sound of a desired volume level for the performer according to the speed of twisting of the performer's wrist.

また、本実施の形態においては、CPU21は、演奏装置本体11の軸200まわりの角速度について、その絶対値が最大値を示す所定値ωmaxが、一方の方向(図2の符号A)の回転を示す場合には、音量レベルを増大し、他方の方向(図2の符号B)の回転を示す場合には、音量レベルを減少する。これにより、演奏者は、手首の捻りの方向によって所望の音量の増減を実現できる。   Further, in the present embodiment, the CPU 21 rotates the rotation in one direction (symbol A in FIG. 2) with the predetermined value ωmax indicating the maximum absolute value of the angular velocity around the axis 200 of the performance device main body 11. When indicated, the volume level is increased, and when indicating rotation in the other direction (reference B in FIG. 2), the volume level is decreased. Thereby, the performer can implement | achieve increase / decrease in a desired volume according to the direction of twist of a wrist.

さらに、本実施の形態においては、CPU21は、所定値ωmaxが一方の回転への方向を示す場合に、その絶対値が大きくなるのに従って、所定の基準値からの増加量が大きくなるように音量レベルを算出し、所定値ωmaxが前記他方の回転への方向を示す場合に、その絶対値が大きくなるのに従って、前記所定の基準値からの減少量が大きくなるように音量レベルを算出する。これにより、演奏者は手首の捻りの量にしたがって音量の増減のレベルを所望のように調整することが可能となる。   Further, in the present embodiment, when the predetermined value ωmax indicates the direction of one rotation, the CPU 21 increases the volume so that the amount of increase from the predetermined reference value increases as the absolute value increases. The level is calculated, and when the predetermined value ωmax indicates the direction of the other rotation, the volume level is calculated so that the amount of decrease from the predetermined reference value increases as the absolute value increases. Thus, the performer can adjust the level of increase / decrease in volume as desired according to the amount of wrist twist.

さらに、本実施の形態においては、CPU21は、加速度センサ23の加速度センサ値が、所定の第1の閾値αを超えて、その後、前記第1の閾値より小さい第2の閾値βより小さくなったタイミングを発音タイミングとして、ノートオンイベントを生成し、楽器部19に対して発音の指示を与える。したがって、演奏者が仮想的なドラムの面にスティックを打ちつけた瞬間に楽音が発生させることが可能となる。   Further, in the present embodiment, the CPU 21 determines that the acceleration sensor value of the acceleration sensor 23 exceeds a predetermined first threshold value α and then becomes smaller than a second threshold value β that is smaller than the first threshold value. Using the timing as the sound generation timing, a note-on event is generated, and a sound generation instruction is given to the instrument unit 19. Therefore, a musical sound can be generated at the moment when the player strikes the virtual drum surface with a stick.

また、本実施の形態においては、上記所定の第1の値が第1の閾値であり、上記第2の値が前記第2の閾値として、加速度センサ値が上昇して、第1の閾値αに達してから、その後に下降し、第2の閾値βに達するまでの期間Tにおける、角速度の絶対値が最大値を示す所定値ωmaxに基づいて、音量を修正している。したがって、演奏者による振り始めからその停止までの期間における演奏者による手首の捻りの速さに基づく音量レベルの変化を実現することが可能となる。   In the present embodiment, the predetermined first value is the first threshold value, the second value is the second threshold value, and the acceleration sensor value is increased so that the first threshold value α The volume is corrected on the basis of a predetermined value ωmax in which the absolute value of the angular velocity indicates the maximum value in the period T after reaching the second threshold value β until reaching the second threshold value β. Therefore, it is possible to realize a change in volume level based on the speed of wrist twisting by the performer during the period from the start of swinging by the performer to the stop thereof.

本発明は、以上の実施の形態に限定されることなく、特許請求の範囲に記載された発明の範囲内で、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   The present invention is not limited to the above embodiments, and various modifications can be made within the scope of the invention described in the claims, and these are also included in the scope of the present invention. Needless to say.

前記実施の形態においては、演奏装置本体11のCPU21は、演奏者が演奏装置本体11を振ることによる加速度センサ値を検出して、加速度センサ値に基づき発音タイミングを検出する。その後、演奏装置本体11のCPU21は、上記発音タイミングで、ノートオンイベントを生成して、I/F27および赤外線通信装置24を介して楽器部19に送信している。その一方、楽器部19においては、ノートオンイベントを受信すると、CPU12が、受信したノートオンイベントを音源部31に出力して楽音を発生させている。上記構成は、楽器部19が、MIDIボードなどが取り付けられたパーソナルコンピュータやゲーム機など、楽音生成の専用機ではないときに好適である。   In the embodiment, the CPU 21 of the performance device main body 11 detects an acceleration sensor value when the performer shakes the performance device main body 11, and detects a sound generation timing based on the acceleration sensor value. Thereafter, the CPU 21 of the performance device main body 11 generates a note-on event at the above sound generation timing and transmits it to the musical instrument unit 19 via the I / F 27 and the infrared communication device 24. On the other hand, when the instrument unit 19 receives a note-on event, the CPU 12 outputs the received note-on event to the sound source unit 31 to generate a musical sound. The above configuration is suitable when the musical instrument unit 19 is not a dedicated machine for generating musical sounds, such as a personal computer or game machine to which a MIDI board or the like is attached.

しかしながら、演奏装置本体11における処理、および、楽器部19における処理の分担は、上記実施の形態のものに限定されない。   However, the processing in the musical instrument main body 11 and the sharing of the processing in the musical instrument unit 19 are not limited to those in the above embodiment.

たとえば、演奏装置本体11においては、加速度センサ値、および、角速度センサ値を取得して、楽器部19に送信するように構成しても良い。この場合には、発音タイミング検出処理(図5)、ノートオンイベント生成処理(図6)は、楽器部19において実行される。上述した構成は、楽器部19が、楽音生成の専用機である電子楽器について好適である。   For example, the performance device main body 11 may be configured to acquire an acceleration sensor value and an angular velocity sensor value and transmit them to the musical instrument unit 19. In this case, the sound generation timing detection process (FIG. 5) and the note-on event generation process (FIG. 6) are executed in the instrument unit 19. The configuration described above is suitable for an electronic musical instrument in which the musical instrument unit 19 is a dedicated machine for generating musical sounds.

また、本実施の形態においては、演奏装置本体11と楽器部19との間は、赤外線通信装置24、33を用いて赤外線信号にてデータが通信されているが、これに限定されるものではない。たとえば、打楽器本体11と楽器部19とは他の無線通信でデータ通信してもよいし、ワイヤケーブルによって有線でデータ通信するように構成しても良い。   In the present embodiment, the performance device main body 11 and the musical instrument unit 19 are communicated with infrared signals using infrared communication devices 24 and 33. However, the present invention is not limited to this. Absent. For example, the percussion instrument main body 11 and the musical instrument unit 19 may perform data communication by other wireless communication, or may be configured to perform data communication by wire using a wire cable.

さらに、前記実施の形態においては、演奏装置本体11のCPU21は、加速度センサ値が、所定の第1の閾値αを超えて、その後、前記第1の閾値より小さい第2の閾値βより小さくなったタイミングを発音タイミングとして、楽器部19に対して発音を指示している。しかしながら、発音タイミングは上述したものに限定されず、加速度センサ値が最大値になったとき、或いは、最大値になってから所定の時間が経過したときを、発音タイミングとしても良い。また、前記実施の形態において、その回転角の絶対値が最大値を示す回転角を検出するための期間を規定する2つのタイミングも上述したものに限定されず、加速度センサによる他の加速度センサ値を採用しても良い。   Further, in the embodiment, the CPU 21 of the performance apparatus main body 11 has an acceleration sensor value that exceeds a predetermined first threshold value α and then becomes smaller than a second threshold value β that is smaller than the first threshold value. The musical instrument unit 19 is instructed to generate a sound with the generated timing as the sound generation timing. However, the sound generation timing is not limited to that described above, and the sound generation timing may be set when the acceleration sensor value reaches the maximum value or when a predetermined time elapses after reaching the maximum value. In the embodiment, the two timings that define the period for detecting the rotation angle at which the absolute value of the rotation angle is the maximum value are not limited to those described above, and other acceleration sensor values by the acceleration sensor May be adopted.

また、前記実施の形態において、音量レベル修正値ΔLevを算出するために、角速度の所定値ωmaxに所定の正の係数を乗じている。しかしながら、これに限定されるものではなく、RAM26に、所定値ωmaxの範囲と、音量レベル修正値ΔLevとを対応付けた音量修正テーブルを格納し、CPU21が、所定値ωmaxに基づいて対応するΔLevを取得するように構成しても良い。   Further, in the embodiment, in order to calculate the volume level correction value ΔLev, the predetermined value ωmax of the angular velocity is multiplied by a predetermined positive coefficient. However, the present invention is not limited to this, and the RAM 26 stores a volume correction table in which the range of the predetermined value ωmax and the volume level correction value ΔLev are associated with each other, and the CPU 21 corresponds to ΔLev corresponding to the predetermined value ωmax. You may comprise so that it may acquire.

10 電子楽器
11 演奏装置本体
12 CPU
13 I/F
14 ROM
15 RAM
16 表示部
17 入力部
18 サウンドシステム
19 楽器部
21 CPU
22 角速度センサ
23 加速度センサ
24 赤外線通信装置
25 ROM
26 RAM
27 I/F
31 音源部
32 オーディオ回路
33 赤外線通信装置
10 Electronic Musical Instrument 11 Performance Device Body 12 CPU
13 I / F
14 ROM
15 RAM
16 Display Unit 17 Input Unit 18 Sound System 19 Musical Instrument Unit 21 CPU
22 Angular velocity sensor 23 Acceleration sensor 24 Infrared communication device 25 ROM
26 RAM
27 I / F
31 Sound Source 32 Audio Circuit 33 Infrared Communication Device

Claims (6)

演奏者が手で保持するための長手方向に延びる保持部材と、
前記保持部材内に配置された加速度センサと、
前記保持部材の前記長手方向の軸まわりの回転に伴う角速度を検出する角速度センサと、
所定の楽音を発音する楽音発生手段に対して発音の指示を与える制御手段と、を備え、
前記制御手段が、前記加速度センサ値に基づき取得した発音タイミングにて前記楽音発生手段に対して発音の指示を与える発音指示手段と、
前記加速度センサ値が上昇して所定の第1の値に達し、その後、下降して所定の第2の値に達するまで期間における、前記角速度センサにより検出された角速度であって、その絶対値が最大値を示す所定値を検出する所定値検出手段と、
前記検出された所定値に基づき、前記発音すべき楽音の音量レベルを算出して、当該算出された音量レベルを前記発音指示手段に与える音量レベル算出手段と、を有することを特徴とする演奏装置。
A longitudinally extending retaining member for the performer to hold by hand;
An acceleration sensor disposed in the holding member;
An angular velocity sensor for detecting an angular velocity associated with the rotation of the holding member around the longitudinal axis;
Control means for giving a sound generation instruction to a music sound generating means for generating a predetermined music sound,
A sounding instruction means for giving a sounding instruction to the music sound generating means at a sounding timing acquired based on the acceleration sensor value;
The angular velocity detected by the angular velocity sensor in a period until the acceleration sensor value increases to reach a predetermined first value and then decreases to reach a predetermined second value, and the absolute value thereof is Predetermined value detecting means for detecting a predetermined value indicating the maximum value;
A performance apparatus comprising: a volume level calculating unit that calculates a volume level of the musical tone to be generated based on the detected predetermined value and gives the calculated volume level to the pronunciation instruction unit .
前記音量レベル算出手段は、前記所定値に基づき、前記軸まわりの回転が、一方の方向への回転を示す場合に、前記音量レベルを所定の基準値から増大させ、前記軸まわりの回転が、他方の方向への回転を示す場合に、前記音量レベルを前記所定の基準値から減少させることを特徴とする請求項1に記載の演奏装置。   The volume level calculating means increases the volume level from a predetermined reference value based on the predetermined value, when rotation around the axis indicates rotation in one direction, and rotation around the axis 2. The performance device according to claim 1, wherein when the rotation in the other direction is indicated, the volume level is decreased from the predetermined reference value. 前記音量レベル算出手段は、前記軸まわりの回転が前記一方の方向への回転を示す場合に、前記所定値の絶対値が大きくなるのに従って、前記所定の基準値からの増加量が大きくなるように音量レベルを算出し、前記軸まわりの回転が前記他方の方向への回転を示す場合に、前記所定値の絶対値が大きくなるのに従って、前記所定の基準値からの減少量が大きくなるように音量レベルを算出することを特徴とする請求項2に記載の演奏装置。   When the rotation around the axis indicates the rotation in the one direction, the volume level calculation means increases the amount of increase from the predetermined reference value as the absolute value of the predetermined value increases. When the rotation level around the axis indicates rotation in the other direction, the amount of decrease from the predetermined reference value increases as the absolute value of the predetermined value increases. The performance device according to claim 2, wherein the volume level is calculated. 前記発音指示手段は、前記加速度センサ値が、所定の第1の閾値を超えて、その後、前記第1の閾値より小さい第2の閾値より小さくなったタイミングを発音タイミングとして、前記楽音発生手段に対して発音の指示を与えることを特徴とする請求項1ないし3の何れか一項に記載の演奏装置。   The sound generation instructing means uses the timing at which the acceleration sensor value exceeds a predetermined first threshold value and then becomes smaller than a second threshold value that is smaller than the first threshold value as a sound generation timing. 4. The performance device according to claim 1, wherein a sounding instruction is given to the performance device. 前記所定の第1の値が前記第1の閾値であり、前記所定の第2の値が前記第2の閾値であることを特徴とする請求項4に記載の演奏装置。   5. The performance device according to claim 4, wherein the predetermined first value is the first threshold value, and the predetermined second value is the second threshold value. 請求項1ないし5の何れか一項に記載の演奏装置と、
前記楽音発生手段を備えた楽器部と、を備え、
前記演奏装置と、前記楽器部とが、それぞれ、通信手段を備えたことを特徴とする電子楽器。
A performance device according to any one of claims 1 to 5,
A musical instrument unit comprising the musical sound generating means,
An electronic musical instrument, wherein each of the performance device and the musical instrument unit includes a communication unit.
JP2010173268A 2010-08-02 2010-08-02 Performance device and electronic musical instrument Active JP5668353B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010173268A JP5668353B2 (en) 2010-08-02 2010-08-02 Performance device and electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010173268A JP5668353B2 (en) 2010-08-02 2010-08-02 Performance device and electronic musical instrument

Publications (2)

Publication Number Publication Date
JP2012032682A true JP2012032682A (en) 2012-02-16
JP5668353B2 JP5668353B2 (en) 2015-02-12

Family

ID=45846136

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010173268A Active JP5668353B2 (en) 2010-08-02 2010-08-02 Performance device and electronic musical instrument

Country Status (1)

Country Link
JP (1) JP5668353B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013213948A (en) * 2012-04-02 2013-10-17 Casio Comput Co Ltd Musical performance device, method, and program
JP2017016162A (en) * 2016-10-25 2017-01-19 カシオ計算機株式会社 Performance device, method and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01277293A (en) * 1988-04-28 1989-11-07 Yamaha Corp Musical sound control device
JPH0675571A (en) * 1992-08-27 1994-03-18 Sony Corp Electronic musical instrument
JPH1097245A (en) * 1996-09-20 1998-04-14 Yamaha Corp Musical tone controller
JP2001215963A (en) * 2000-02-02 2001-08-10 Global A Entertainment Inc Music playing device, music playing game device, and recording medium
JP2010015068A (en) * 2008-07-07 2010-01-21 Yamaha Corp Performance control device and program
JP5067568B2 (en) * 2008-06-17 2012-11-07 共同印刷株式会社 Printed matter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01277293A (en) * 1988-04-28 1989-11-07 Yamaha Corp Musical sound control device
JPH0675571A (en) * 1992-08-27 1994-03-18 Sony Corp Electronic musical instrument
JPH1097245A (en) * 1996-09-20 1998-04-14 Yamaha Corp Musical tone controller
JP2001215963A (en) * 2000-02-02 2001-08-10 Global A Entertainment Inc Music playing device, music playing game device, and recording medium
JP5067568B2 (en) * 2008-06-17 2012-11-07 共同印刷株式会社 Printed matter
JP2010015068A (en) * 2008-07-07 2010-01-21 Yamaha Corp Performance control device and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013213948A (en) * 2012-04-02 2013-10-17 Casio Comput Co Ltd Musical performance device, method, and program
JP2017016162A (en) * 2016-10-25 2017-01-19 カシオ計算機株式会社 Performance device, method and program

Also Published As

Publication number Publication date
JP5668353B2 (en) 2015-02-12

Similar Documents

Publication Publication Date Title
JP5067458B2 (en) Performance device and electronic musical instrument
JP5029732B2 (en) Performance device and electronic musical instrument
CN102270446B (en) Performance apparatus and electronic musical instrument
JP5712603B2 (en) Performance device and electronic musical instrument
JP5099176B2 (en) Performance device and electronic musical instrument
JP5338794B2 (en) Performance device and electronic musical instrument
JP5664581B2 (en) Musical sound generating apparatus, musical sound generating method and program
JP7140083B2 (en) Electronic wind instrument, control method and program for electronic wind instrument
JP5088398B2 (en) Performance device and electronic musical instrument
JP5668353B2 (en) Performance device and electronic musical instrument
JP2012013725A (en) Musical performance system and electronic musical instrument
JP5029729B2 (en) Performance device and electronic musical instrument
JP2012032681A (en) Performance device and electronic musical instrument
JP2011257509A (en) Performance device and electronic musical instrument
JP2013044889A (en) Music player
JP7106091B2 (en) Performance support system and control method
JP2011237662A (en) Electronic musical instrument
JP2013044951A (en) Handler and player
JP5942627B2 (en) Performance device, method and program
JP3642117B2 (en) Controller device for performance operation
JP2013182224A (en) Musical sound generator

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130710

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141201

R150 Certificate of patent or registration of utility model

Ref document number: 5668353

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150