JP2009282203A - Sound generation controller, sound generation system, and program - Google Patents

Sound generation controller, sound generation system, and program Download PDF

Info

Publication number
JP2009282203A
JP2009282203A JP2008132953A JP2008132953A JP2009282203A JP 2009282203 A JP2009282203 A JP 2009282203A JP 2008132953 A JP2008132953 A JP 2008132953A JP 2008132953 A JP2008132953 A JP 2008132953A JP 2009282203 A JP2009282203 A JP 2009282203A
Authority
JP
Japan
Prior art keywords
acceleration
sound
sound generation
ball
components
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.)
Withdrawn
Application number
JP2008132953A
Other languages
Japanese (ja)
Inventor
Yoshiki Nishitani
善樹 西谷
Mikio Kume
幹夫 久米
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2008132953A priority Critical patent/JP2009282203A/en
Publication of JP2009282203A publication Critical patent/JP2009282203A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To move one's body, while enjoying a variety of sound-generating forms of sounds. <P>SOLUTION: A throwing time point when a ball 10 is thrown and a catching time point when the ball 10 is caught are detected from a waveform of an acceleration absolute value: "as" which is obtained from a detected signal of an acceleration sensor 21. A sound system 50 generates sound during a period from the throwing time point to the catching time point. The types of rhythm patterns generated from the sound system 50 are varied, in response to a combination of positive and negative directions that is the size relation between 0 and acceleration components a<SB>x</SB>, a<SB>y</SB>, a<SB>z</SB>obtained from the detection signal of the acceleration sensor 21, and the tone of the sound constituting the rhythm patterns is varied, in response to the magnitude of the acceleration absolute value: "as", after the throwing time point. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、多軸のセンサの出力信号を用いた発音制御を行う技術に関する。   The present invention relates to a technique for performing sound generation control using output signals of multi-axis sensors.

演奏操作子に働く力を加速度センサにより定量化し、その加速度波形に利用者の拍打意思とみなし得るピークが現れるたびに、各種発音態様の楽音を音源から発音させる発音制御装置がある。この発音制御装置を利用する利用者は、演奏操作子を振る強さや間隔を変えることによって、音量や音長などを異にする発音態様の音を音源から発音させ、即興の音楽を楽しむことができる。この種の発音制御装置は、たとえば、特許文献1に開示されている。
特開2002−341865号公報
There is a sound generation control device that quantifies the force acting on the performance operator with an acceleration sensor and causes the sound source to generate musical sounds of various sound generation styles whenever a peak that can be regarded as a user's intention to beat appears in the acceleration waveform. Users who use this pronunciation control device can enjoy improvisational music by generating sound from the sound source with different volume and length by changing the strength and interval of swinging the performance controls. it can. This type of sound generation control device is disclosed in Patent Document 1, for example.
JP 2002-341865 A

しかしながら、特許文献1に開示された類の発音制御装置の演奏操作子を用いた演奏の仕方は、演奏操作子を手に把持して振る、という決まり切ったものであり、このような単純な動きによる音楽では飽き足らない利用者でも満足できるような発音制御装置の提供が望まれていた。
本発明は、このような背景の下に案出されたものであり、利用者の身体による様々な動きを音源から発音させる音の発音態様の変化に結び付け、楽しみながら身体を動かすことができるようにすることを目的とする。
However, the performance method using the performance operator of the sound generation control device of the kind disclosed in Patent Document 1 is a routine way of gripping and shaking the performance operator. It has been desired to provide a pronunciation control device that can satisfy even a user who is not satisfied with music by movement.
The present invention has been devised under such a background, so that various movements by the user's body can be linked to changes in the sound generation mode of sound that is generated from the sound source, and the body can be moved while having fun. The purpose is to.

本発明は、運動体の運動を示す複数の種類の物理量成分を取得する取得手段と、前記取得手段が取得した物理量成分の各々と所定値との大小関係を求め、当該物理量成分ごとの大小関係の組み合わせに応じて音の発音態様を決定し、決定した発音態様の音を発音させる発音制御手段とを具備する発音制御装置を提供する。
この発明によると、運動体の運動を示す複数の種類の物理量成分を取得し、それらの物理量成分の各々と所定値との大小関係の組み合わせに応じた発音態様の音を発音する。よって、利用者の身体の動きによって運動体に働いた力の大きさだけでなく、その力の向きなどを音の発音態様の変化に反映させることができ、音の発音態様の変化を楽しみながら身体を動かすことができる。
The present invention obtains a magnitude relationship between an acquisition means for acquiring a plurality of types of physical quantity components indicating the motion of a moving body, each of the physical quantity components acquired by the acquisition means and a predetermined value, and a magnitude relation for each physical quantity component A sound generation control device is provided that includes sound generation control means for determining a sound generation mode according to the combination and generating a sound of the determined sound generation mode.
According to the present invention, a plurality of types of physical quantity components indicating the motion of a moving body are acquired, and a sound having a sound generation mode corresponding to a combination of magnitude relationships between each of the physical quantity components and a predetermined value is generated. Therefore, not only the magnitude of the force acting on the moving body due to the movement of the user's body, but also the direction of the force can be reflected in the change in the sound pronunciation mode, and while enjoying the change in the sound pronunciation mode You can move your body.

以下、図面を参照し、この発明の実施形態を説明する。
図1は、この発明の一実施形態である発音制御装置30を含む発音システムの構成を示すブロック図である。この発音システムは、2人の利用者によるボール10をつかった遊戯を支援するものである。この発音システムの発音制御装置30は、ある利用者がボール10を投擲した時(「投擲時」という)から別の利用者がそのボール10をキャッチした時(「キャッチ時」という)まで、発音装置たるサウンドシステム50から音を発音させ、その音の発音態様を、投擲されたボール10の回転速度および回転方向に応じて変化させる。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a sound generation system including a sound generation control device 30 according to an embodiment of the present invention. This sound generation system supports a game using the ball 10 by two users. The sound generation control device 30 of this sound generation system generates sound from when a user throws the ball 10 (referred to as “when throwing”) until when another user catches the ball 10 (referred to as “when caught”). Sound is generated from the sound system 50 as a device, and the sound generation mode of the sound is changed according to the rotation speed and direction of the thrown ball 10.

図1において、ボール10は、ウレタン発泡樹脂を球状に成形したもので、野球のボール程度の大きさである。このボール10内の中心Pより距離mだけ離れた位置には運動検出チップ20が埋め込まれている。運動検出チップ20は、加速度センサ21と無線通信部22とを有する。   In FIG. 1, a ball 10 is formed by molding urethane foam resin into a spherical shape, and is about the size of a baseball ball. A motion detection chip 20 is embedded at a position away from the center P in the ball 10 by a distance m. The motion detection chip 20 includes an acceleration sensor 21 and a wireless communication unit 22.

加速度センサ21は、当該加速度センサ21に加わる加速度ベクトルを3つの検出軸x,y,zの加速度成分a,a,aに分解して検出し、これらの加速度成分a,a,aを示す各アナログ信号を各々出力する。より詳細には、加速度センサ21は、検出軸xの正の向きに加わる加速度を検出したときは、その大きさに比例した正の加速度成分aを示すアナログ信号を出力し、検出軸xの負の向きに加わる加速度を検出したときは、その大きさに比例した負の加速度成分aを示すアナログ信号を出力する。また、加速度センサ21は、検出軸yの正の向きに加わる加速度を検出したときは、その大きさに比例した正の加速度成分aを示すアナログ信号を出力し、検出軸yの負の向きに加わる加速度を検出したときは、その大きさに比例した負の加速度成分aを示すアナログ信号を出力する。さらに、加速度センサ21は、検出軸zの正の向きに加わる加速度を検出したときは、その大きさに比例した正の加速度成分aを示すアナログ信号を出力し、検出軸zの負の向きに加わる加速度を検出したときは、その大きさに比例した負の加速度成分aを示すアナログ信号を出力する。
ここで、図1に示すように、この加速度センサ21の検出軸x,y,zは互いに直交しており、それらのうち検出軸xの正の向きは、ボール10の中心Pから当該センサ21に向かう向きと同じである。
The acceleration sensor 21 detects an acceleration vector applied to the acceleration sensor 21 by decomposing the acceleration vector into three acceleration components a x , a y , a z of the detection axes x, y, z, and detects these acceleration components a x , a y. , Az , each analog signal is output. More specifically, the acceleration sensor 21, when detecting the acceleration applied in the positive direction of the detection axis x outputs an analog signal indicating the positive acceleration component a x in proportion to its size, the detection axis x when detecting the acceleration applied in the negative direction and outputs an analog signal indicative of the negative acceleration component a x which is proportional to its size. Further, when the acceleration sensor 21 detects acceleration applied in the positive direction of the detection axis y, the acceleration sensor 21 outputs an analog signal indicating a positive acceleration component a y proportional to the magnitude, and the negative direction of the detection axis y. When an acceleration applied to is detected, an analog signal indicating a negative acceleration component a y proportional to the magnitude is output. Further, when the acceleration sensor 21 detects acceleration applied in the positive direction of the detection axis z, the acceleration sensor 21 outputs an analog signal indicating a positive acceleration component a z proportional to the magnitude, and the negative direction of the detection axis z When an acceleration applied to is detected, an analog signal indicating a negative acceleration component az proportional to the magnitude is output.
Here, as shown in FIG. 1, the detection axes x, y, and z of the acceleration sensor 21 are orthogonal to each other, and the positive direction of the detection axis x is from the center P of the ball 10 to the sensor 21. The direction is the same as

無線通信部22は、一定時間長(例えば5ms)のサンプリング周期毎に、加速度センサ21から出力される3種類のアナログ信号をサンプリングしてデジタル化することにより、加速度成分a,a,aを示すデータを生成し、このデータを含むパケットを、無線区間を介して発音制御装置30に送信する。 The wireless communication unit 22 samples and digitizes the three types of analog signals output from the acceleration sensor 21 at a sampling period of a certain length of time (for example, 5 ms), and thereby digitizes the acceleration components a x , a y , a Data indicating z is generated, and a packet including this data is transmitted to the sound generation control device 30 via the wireless section.

利用者は、数メートル程度の距離をとった上で、相手から投擲されたボール10をキャッチし、キャッチしたボール10を相手に向かって投擲する、という動作を交互に繰り返す。利用者は、ボール10を持ち上げた腕を、手首を左または右に捻りながら前方へ振り下ろすことによって、回転する球質のボール10を投擲してもよいし、ボール10を持ち上げた腕を、手首を捻らずに前方へ振り下ろすことによって、無回転の球質のボール10を投擲してもよい。   The user alternately repeats the action of catching the ball 10 thrown from the opponent and throwing the caught ball 10 toward the opponent after taking a distance of about several meters. The user may throw the rotating ball 10 by swinging the arm that lifted the ball 10 forward while twisting the wrist to the left or right, or the arm that lifted the ball 10 The non-rotating spherical ball 10 may be thrown by swinging forward without twisting the wrist.

発音制御装置30は、操作表示部31、無線通信部32、制御部33、およびインターフェース34を有する。
操作表示部31は、ユーザから各種の指示を受け取るとともに、ユーザに各種の情報を提供する。
無線通信部32は、一定時間長(例えば5ms)のサンプリング周期ごとに、ボール10の無線通信部22から送信されたパケットを受信し、そのパケットから加速度成分a,a,aを示すデータを取り出し、取り出したデータを制御部33に引き渡す。
The sound generation control device 30 includes an operation display unit 31, a wireless communication unit 32, a control unit 33, and an interface 34.
The operation display unit 31 receives various instructions from the user and provides various information to the user.
The wireless communication unit 32 receives a packet transmitted from the wireless communication unit 22 of the ball 10 every sampling period of a certain time length (for example, 5 ms), and indicates acceleration components a x , a y , and a z from the packet. The data is extracted, and the extracted data is transferred to the control unit 33.

制御部33は、加速度取得部35、リングバッファ36、および発音制御部37を有する。
加速度取得部35は、無線通信部32から加速度成分a,a,aを示すデータが引き渡されるたびにリングバッファ36の書き込み先アドレスを歩進させ、加速度成分a,a,a、およびその加速度成分a,a,aを次式に入力して求まる加速度絶対値asのセットを書き込み先アドレスへ書き込んでいく。
as=(a +a +a 1/2 …(1)
The control unit 33 includes an acceleration acquisition unit 35, a ring buffer 36, and a sound generation control unit 37.
The acceleration acquisition unit 35 increments the write destination address of the ring buffer 36 every time data indicating the acceleration components a x , a y , and a z is delivered from the wireless communication unit 32, and the acceleration components a x , a y , a z, and the acceleration component a x, a y, and writes the set write address of the acceleration absolute value as that obtained by entering a z to the following equation.
as = (a x 2 + a y 2 + a z 2 ) 1/2 (1)

発音制御部37は、RAM38、ROM39、CPU40を有する。
ROM39は、制御プログラム41を記憶した読み出し専用メモリである。CPU40は、RAM38をワークエリアとして利用しつつ、ROM39に記憶された制御プログラム41を実行する。制御プログラム41は、投擲時からキャッチ時までの間にサウンドシステム50から音を発音させる処理を、CPU40に実行させるプログラムである。
The sound generation control unit 37 includes a RAM 38, a ROM 39, and a CPU 40.
The ROM 39 is a read-only memory that stores the control program 41. The CPU 40 executes the control program 41 stored in the ROM 39 while using the RAM 38 as a work area. The control program 41 is a program that causes the CPU 40 to execute a process of generating a sound from the sound system 50 between the time of throwing and the time of catching.

この制御プログラム41は、発音制御機能を有する。発音制御機能は、リングバッファ36に書き込まれた加速度絶対値asの波形から、投擲時のものとみなし得るローカルピークおよびキャッチ時のものとみなし得るローカルピークをそれぞれ検出し、投擲時からキャッチ時までサウンドシステム50から音を発音させ、その音の発音態様を、加速度絶対値as、および加速度成分a,a,aにより特定したボール10の回転速度と回転方向とに応じて変化させる機能である。
サウンドシステム50は、音源およびスピーカを有する。サウンドシステム50は、発音制御装置30から音信号を受け取り、その音信号が示す音を合成し、出力する。
The control program 41 has a sound generation control function. The sound generation control function detects a local peak that can be regarded as a throwing time and a local peak that can be regarded as a catching time from the waveform of the acceleration absolute value as written in the ring buffer 36, and from the throwing time to the catching time. A function for generating sound from the sound system 50 and changing the sound generation mode according to the rotation speed and direction of the ball 10 specified by the acceleration absolute value as and the acceleration components a x , a y , and a z It is.
The sound system 50 has a sound source and a speaker. The sound system 50 receives the sound signal from the sound generation control device 30, synthesizes the sound indicated by the sound signal, and outputs it.

次に、本実施形態の動作を説明する。
図2は、本実施形態の動作を示すフローチャートである。図2に示す一連の処理は、発音制御機能の働きによってCPU40が実行する処理である。図2に示す一連の処理を実行するにあたり、CPU40は、有効ピーク検出処理を行う。有効ピーク検出処理は、加速度取得部35によってリングバッファ36へ書き込まれる加速度絶対値asの波形から、投擲時のものとみなし得る加速度絶対値asの大きさをもったローカルピークと、キャッチ時のものとみなし得る加速度絶対値asの大きさをもったローカルピークとを検出する処理である。
Next, the operation of this embodiment will be described.
FIG. 2 is a flowchart showing the operation of this embodiment. The series of processing shown in FIG. 2 is processing executed by the CPU 40 by the function of the sound generation control function. In executing the series of processes shown in FIG. 2, the CPU 40 performs an effective peak detection process. The effective peak detection processing includes a local peak having a magnitude of the acceleration absolute value as that can be regarded as that at the time of throwing from the waveform of the acceleration absolute value as written to the ring buffer 36 by the acceleration acquisition unit 35, and that at the time of catch This is a process of detecting a local peak having the magnitude of the acceleration absolute value as that can be regarded as.

図3に示すように、ボール10が投擲されてからキャッチされるまでの加速度絶対値asの波形には、投擲時のものとみなし得る2つのローカルピークPT1,PT2と、キャッチ時のものとみなし得るローカルピークPCとが現れる。投擲時のものとみなし得る2つのローカルピークPT1,PT2のうち後に現れるローカルピークPT2は、利用者がボール10を持ち上げた腕を振り下ろす力やその手首を捻る力の働きによる加速度ベクトルが加速度センサ21へ加わることによって発生するものであり、先に現れるローカルピークPT1は、それらの力の反動力の働きによる加速度ベクトルが加速度センサ21へ加わることによって発生するものである。 As shown in FIG. 3, the waveform of the acceleration absolute value “as” from when the ball 10 is thrown to being caught includes two local peaks P T1 and P T2 that can be regarded as those at the time of throwing, and those at the time of catching. And a local peak P C that can be considered. Of the two local peaks P T1 and P T2 that can be regarded as being thrown, the local peak P T2 that appears later is an acceleration vector due to the action of the user swinging down the arm that lifted the ball 10 or twisting the wrist. Is generated when the acceleration sensor 21 is applied, and the local peak P T1 that appears first is generated when an acceleration vector due to the reaction force of these forces is applied to the acceleration sensor 21.

有効ピーク検出処理において、CPU40は、加速度取得部35によってリングバッファ36へ加速度絶対値asが書き込まれるたび、その加速度絶対値asと1つ前に書き込まれたものとの大小関係を比較し、加速度絶対値asが上昇から下降に転じた時刻を加速度絶対値asの波形のローカルピークとする。その上で、CPU40は、閾値THTHROWを超える加速度絶対値asの大きさを持ったローカルピークが現れた時刻を投擲時とし、閾値THCATCHを超える加速度絶対値asの大きさを持ったローカルピークが現れた時刻をキャッチ時とする。閾値THTHROW,THCATCHは、回転の有無、回転方向、回転速度、ボール10そのものの速度を様々に変えてボール10を投擲させた場合における投擲時とキャッチ時の加速度絶対値asの実測結果を基に、割り出されたものである。発明者らが取り纏めた実測結果によると、閾値THTHROWは3G程度が望ましく、閾値THCATCHは4G程度が望ましい。 In the effective peak detection processing, every time the acceleration absolute value as is written to the ring buffer 36 by the acceleration acquisition unit 35, the CPU 40 compares the magnitude relationship between the acceleration absolute value as and the previous written absolute value. The time at which the absolute value as changes from rising to falling is defined as a local peak of the waveform of the acceleration absolute value as. After that, the CPU 40 sets the time when the local peak having the magnitude of the acceleration absolute value “as” exceeding the threshold value TH THROW appears as a throwing time, and the local peak having the magnitude of the acceleration absolute value “as” exceeding the threshold value TH CATCH. The time when appears is the catch time. The threshold values TH THROW and TH CATCH indicate the actual measurement results of the acceleration absolute value as at the time of throwing and catching when the ball 10 is thrown by varying the presence / absence of rotation, the direction of rotation, the rotational speed, and the speed of the ball 10 itself. Based on this. According to the measurement results compiled by the inventors, the threshold TH THROW is preferably about 3G, and the threshold TH CATCH is preferably about 4G.

図2において、CPU40は、リングバッファ36に書き込まれた加速度絶対値asの波形から閾値THTHROWを超える加速度絶対値asの大きさをもったローカルピークを検出すると(S100:Yes)、音色決定処理を実行する(S110)。音色決定処理は、投擲時の後のある短い時間の間にリングバッファ36に書き込まれた加速度絶対値asを基に、空中においてボール10の中心Pから距離mだけ離れた位置に加わる加速度の加速度レベルを特定し、その加速度レベルに応じた音色の種類を決定する処理である。 In FIG. 2, when the CPU 40 detects a local peak having a magnitude of the acceleration absolute value as exceeding the threshold value TH THROW from the waveform of the acceleration absolute value as written in the ring buffer 36 (S100: Yes), a tone color determination process is performed. Is executed (S110). The timbre determination process is based on the acceleration absolute value as written in the ring buffer 36 during a short time after throwing, and the acceleration of acceleration applied to a position separated from the center P of the ball 10 by a distance m in the air. This is a process for specifying the level and determining the type of tone color according to the acceleration level.

ここで、再び前掲の図3を参照すると、ボール10が投擲されてからキャッチされるまでの加速度絶対値asの波形においては、ローカルピークPT2からローカルピークPCまでの間、つまり、ボール10が空中を飛んでいる間の加速度絶対値asはほぼ一定になっている。これは、以下の理由による。加速度センサ21が、ボール10の中心Pを中心として回転している場合、加速度センサ21には、遠心力が働き続ける。よって、この場合、加速度センサ21には、重力加速度(1G)の加速度ベクトルとは別に、ボール10の中心Pからみて外側の向き、つまり、検出軸xの正の向きに向かう一定の大きさの加速度ベクトルが加わり続け、この検出軸xの正の向きの加速度ベクトルの大きさは、ボール10の回転速度の2乗に比例して大きくなる。一方、ボール10が空中で全く回転していない場合、加速度センサ21には、重力加速度(1G)の加速度ベクトルだけが加わり続ける。 Here, referring to FIG. 3 again, in the waveform of the acceleration absolute value as from when the ball 10 is thrown to when it is caught, between the local peak P T2 and the local peak P C , that is, the ball 10 The acceleration absolute value “as” while the air is flying in the air is substantially constant. This is due to the following reason. When the acceleration sensor 21 rotates about the center P of the ball 10, centrifugal force continues to work on the acceleration sensor 21. Therefore, in this case, the acceleration sensor 21 has a certain magnitude toward the outer direction from the center P of the ball 10, that is, the positive direction of the detection axis x, separately from the acceleration vector of the gravitational acceleration (1G). The acceleration vector continues to be added, and the magnitude of the acceleration vector in the positive direction of the detection axis x increases in proportion to the square of the rotational speed of the ball 10. On the other hand, when the ball 10 does not rotate at all in the air, only the acceleration vector of gravitational acceleration (1G) continues to be applied to the acceleration sensor 21.

そこで、本ステップS110における音色決定処理では、CPU40は、閾値THTHROWを超える加速度絶対値asの大きさをもったローカルピークを検出した後、リングバッファ36へ加速度絶対値asが書き込まれるたび、その加速度絶対値asと1つ前に書き込まれたものとの差を求め、求めた差と0よりも僅かに大きい閾値THDIFFとの大小関係を比較する。そして、CPU40は、ある加速度絶対値asと1つ前に書き込まれたものとの差が閾値THDIFFよりも小さくなると、その加速度絶対値asと5つの加速度レベル0〜4の境界となる閾値THAS0〜AS3との大小関係を比較することによって、ボール10が空中を飛んでいる間の加速度レベルを求め、サウンドシステム50から発音させる音の音色の種類をその加速度レベルに応じたものとする。 Therefore, in the timbre determination process in step S110, the CPU 40 detects the local peak having the magnitude of the acceleration absolute value as exceeding the threshold value TH THROW, and then whenever the acceleration absolute value as is written to the ring buffer 36, The difference between the acceleration absolute value as and the last written value is obtained, and the magnitude relationship between the obtained difference and the threshold TH DIFF slightly larger than 0 is compared. When the difference between a certain acceleration absolute value as and the one written immediately before becomes smaller than the threshold value TH DIFF , the CPU 40 determines the threshold value TH that is a boundary between the acceleration absolute value as and the five acceleration levels 0 to 4. By comparing the magnitude relationship with AS0 to AS3 , the acceleration level while the ball 10 is flying in the air is obtained, and the tone color of the sound produced from the sound system 50 is determined according to the acceleration level.

図4は、図3に示したものと同じ加速度絶対値asの波形に閾値THAS0〜AS3を示す線を重ね合わせた図である。CPU40は、1つ前に書き込まれたものとの差が閾値THDIFFよりも小さくなった時点における加速度絶対値asが、重力加速度(1G)に相当する閾値THAS0以下である場合は、サウンドシステム50から発音させる音を加速度レベル0(無回転)に応じた音色TIM0とする。また、その加速度絶対値asが、閾値THAS0以上閾値THAS1未満である場合は、加速度レベル1に応じた音色TIM1とし、閾値THAS1以上閾値THAS2未満である場合は、加速度レベル2に応じた音色TIM2とし、閾値THAS2以上閾値THAS3未満である場合は、加速度レベル3に応じた音色TIMとする。さらに、その加速度絶対値asが、最も大きな閾値THAS3以上である場合は、加速度レベル4に応じた音色TIM4とする。ここで、図4に示された加速度絶対値asの波形におけるローカルピークPT2の後の、ボール10が空中を飛んでいる間の加速度絶対値asは、閾値THAS1より大きく閾値THAS2より小さい。よって、この例の場合、CPU40は、サウンドシステム50から発音させる音の音色の種類を、音色TIM2とする。 FIG. 4 is a diagram in which lines indicating the thresholds TH AS0 to AS3 are superimposed on the same waveform of the acceleration absolute value as shown in FIG. If the absolute acceleration value as at the time when the difference from the previous written value is smaller than the threshold value TH DIFF is less than or equal to the threshold value TH AS0 corresponding to gravitational acceleration (1G), the CPU 40 A sound to be generated from 50 is set to a tone color TIM 0 corresponding to an acceleration level 0 (no rotation). Further, the acceleration absolute value as is, is less than the threshold value TH AS0 than the threshold value TH AS1 is a tone TIM 1 in accordance with the acceleration level 1, is less than the threshold value TH AS1 than the threshold value TH AS2 is the acceleration level 2 a tone TIM 2 in accordance, is less than the threshold value TH AS2 than the threshold value TH AS3 is a tone TIM 3 corresponding to the acceleration level 3. Further, when the acceleration absolute value as is equal to or greater than the largest threshold THAS3 , the tone color TIM4 corresponding to the acceleration level 4 is set. Here, after the local peak P T2 in the waveform of the acceleration absolute value as shown in FIG. 4, the acceleration absolute value as while the ball 10 is flying in the air is larger than the threshold value TH AS1 and smaller than the threshold value TH AS2. . Thus, in this example, CPU 40 is a type of tone of sound to sound from the sound system 50, the tone TIM 2.

図2において、CPU40は、ステップS110の音色決定処理において特定した加速度レベルが加速度レベル0(無回転)である場合(S120:Yes)、その加速度レベル0に応じた音色TIM0の連続音をサウンドシステム50から発音させる(S130)。より詳細に説明すると、CPU40は、5種類の音色TIM0〜4の連続音の波形のうちから、加速度レベル0(無回転)に応じた音色TIM0のものを選択し、選択した波形のサンプル列をインターフェース34を介してサウンドシステム50へ引き渡す。 In FIG. 2, when the acceleration level specified in the tone color determination process in step S110 is the acceleration level 0 (no rotation) (S120: Yes), the CPU 40 sounds a continuous tone of the tone color TIM 0 corresponding to the acceleration level 0. The system 50 generates a sound (S130). More specifically, the CPU 40 selects a tone tone TIM 0 corresponding to the acceleration level 0 (non-rotation) from among five types of continuous tone waveforms of tone colors TIM 0 to TIM 4 and samples the selected waveform. The sequence is delivered to the sound system 50 via the interface 34.

CPU40は、ステップS110の音色決定処理において特定した加速度レベルが加速度レベル0(無回転)でない場合(S120:No)、リズムパターン決定処理を実行する(S140)。本実施形態においては、空中においてボール10の中心Pから距離mだけ離れた位置に加わる加速度の加速度レベルが加速度レベル0(無回転)である場合は、ステップS110で決定した音色で連続音を発音させる一方、その加速度レベルが加速度レベル1以上である場合は、ステップS110で決定した音色でリズムパターンを発音させる。リズムパターンは、「タンタンタン」、「ターターター」、「タッタッタッ」といったような、ある短い時間間隔を空けた一連の音である。リズムパターン決定処理は、ローカルピークPT2において加速度センサ21に加わった加速度の加速度成分a,a,aの向きの組み合わせを基に、サウンドシステム50から発音させるリズムパターンの種類を決定する処理である。 When the acceleration level specified in the timbre determination process in step S110 is not the acceleration level 0 (no rotation) (S120: No), the CPU 40 executes the rhythm pattern determination process (S140). In the present embodiment, when the acceleration level of acceleration applied to a position separated from the center P of the ball 10 by a distance m in the air is the acceleration level 0 (no rotation), a continuous tone is generated with the tone determined in step S110. On the other hand, if the acceleration level is equal to or higher than the acceleration level 1, the rhythm pattern is generated with the tone color determined in step S110. A rhythm pattern is a series of sounds with a short time interval, such as “tantantan”, “tartartar”, and “tattatta”. The rhythm pattern determination process determines the type of rhythm pattern to be generated from the sound system 50 based on the combination of the directions of acceleration components a x , a y , and a z of acceleration applied to the acceleration sensor 21 at the local peak P T2 . It is processing.

上述したように、ボール10が投擲されてからキャッチされるまでの加速度絶対値asの波形に現れるローカルピークPT2は、利用者がボール10を持ち上げた腕を振り下ろす力やその手首を捻る力の働きによる加速度ベクトルが加速度センサ21へ加わったことを示すものである。そして、利用者が回転する球質のボール10を投擲する場合、このローカルピークPT2において加速度センサ21から出力される加速度成分a,a,aの正負の向きの組み合わせは、利用者がボール10を握った状態における内部の加速度センサ21の検出軸x,y,zの向きと、そのボール10を持ち上げた腕を振り下ろす向きおよびその手首を捻る向きとの関係に依存して変わる。 As described above, the local peak P T2 that appears in the waveform of the acceleration absolute value as from when the ball 10 is thrown to when it is caught is the force that the user swings down the arm that lifted the ball 10 and the force that twists the wrist. This shows that the acceleration vector due to the action of is added to the acceleration sensor 21. When the user throws the rotating spherical ball 10, the combination of the positive and negative directions of the acceleration components a x , a y , a z output from the acceleration sensor 21 at the local peak P T2 is determined by the user. Changes depending on the relationship between the direction of the detection axes x, y, z of the internal acceleration sensor 21 in the state where the ball 10 is gripped, the direction of swinging down the arm that lifted the ball 10 and the direction of twisting the wrist .

そこで、本ステップ140におけるリズムパターン決定処理では、CPU40は、リングバッファ36のデータを走査し、ローカルピークPT2の加速度絶対値asとセットとして同時刻に書き込まれた加速度成分a,a,aの所在を探索する。そして、その探索先の加速度成分a,a,aにおける加速度の向き(符号)の組み合わせを特定し、サウンドシステム50から発音させるリズムパターンの種類をその組み合わせに応じたものとする。
より具体的には、加速度成分a,a,aのすべてが0より大きい場合、つまり、そのすべての向きが正であった場合はリズムパターンRPとする。また、加速度成分a,a,aのすべてが0より小さい場合、つまり、そのすべての向きが負であった場合はリズムパターンRPとする。
また、加速度成分aの向きが正で加速度成分a,aの向きが負であった場合はリズムパターンRPとし、加速度成分aの向きが正で加速度成分a、aの向きが負であった場合はリズムパターンRPとし、加速度成分aの向きが正で加速度成分a,aの向きが負であった場合はリズムパターンRPとする。
さらに、加速度成分a,aの向きが正で加速度成分aの向きが負であった場合はリズムパターンRPとし、加速度成分a,aの向きが正で加速度成分aの向きが負であった場合はリズムパターンRPとし、加速度成分a,aの向きが正で加速度成分aの向きが負であった場合はリズムパターンRPとする。
Therefore, in the rhythm pattern determination process in step 140, the CPU 40 scans the data in the ring buffer 36, and the acceleration components a x , a y , written at the same time as a set with the acceleration absolute value as of the local peak P T2 . Search for the location of az . Then, a combination of acceleration directions (signs) in the acceleration components a x , a y , and a z of the search destination is specified, and the type of rhythm pattern to be generated from the sound system 50 is determined according to the combination.
More specifically, when all of the acceleration components a x , a y , and a z are larger than 0, that is, when all the directions are positive, the rhythm pattern RP 1 is set. When all of the acceleration components a x , a y , and a z are smaller than 0, that is, when all the directions are negative, the rhythm pattern RP 2 is set.
The acceleration component a x acceleration component a y direction is positive, if the orientation of a z is negative and rhythm pattern RP 3, the direction of the acceleration component a y is positive in the acceleration component a x, of a z orientation If was negative and rhythm pattern RP 4, if the direction of the acceleration component a z is positive in the acceleration component a x, the direction of a y was negative and rhythm pattern RP 5.
Further, when the direction of the acceleration components a x and a y is positive and the direction of the acceleration component a z is negative, the rhythm pattern RP 6 is set, and the direction of the acceleration components a x and a z is positive and the acceleration component a y is When the direction is negative, the rhythm pattern RP 7 is set. When the direction of the acceleration components a y and a z is positive and the direction of the acceleration component a x is negative, the rhythm pattern RP 8 is set.

以上説明した加速度成分a,a,aの向きとリズムパターンPR1〜8との関係を表に纏めると、以下のようになる。

Figure 2009282203
The relationship between the directions of the acceleration components a x , a y , and a z described above and the rhythm patterns PR 1 to 8 can be summarized as follows.
Figure 2009282203

図2において、CPU40は、ステップS110で決定した音色の音をステップS140で決定したリズムパターンとしてサウンドシステム50から発音させる(S150)。より詳細に説明すると、CPU40は、上述した5種類の音色TIM0〜4の連続音の波形のうちから、ステップS110で決定した音色と対応するものを選択する。さらに、CPU40は、その連続音の波形をステップS140で決定したリズムパターンの波形の振幅エンベロープによって変調し、変調した音波形のサンプル列をインターフェース34を介してサウンドシステム50へ引き渡す。
CPU40は、ステップS130またはステップS150においてサウンドシステム50からの連続音またはリズムパターンの発音を開始させた以後、リングバッファ36に書き込まれた加速度絶対値asの波形から閾値THCATCHを超える加速度絶対値asの大きさをもったローカルピークを検出すると(S160:Yes)、サウンドシステム50からの発音を停止させる(S170)。
In FIG. 2, the CPU 40 causes the sound system 50 to generate the timbre sound determined in step S110 as the rhythm pattern determined in step S140 (S150). More specifically, the CPU 40 selects a waveform corresponding to the timbre determined in step S110 from the above-described five continuous tone waveforms of the timbres TIM 0 to TIM4 . Further, the CPU 40 modulates the waveform of the continuous sound by the amplitude envelope of the waveform of the rhythm pattern determined in step S140, and delivers the modulated sound waveform sample string to the sound system 50 via the interface 34.
The CPU 40 starts the sound generation of the continuous sound or rhythm pattern from the sound system 50 in Step S130 or Step S150, and then the acceleration absolute value as exceeding the threshold TH CATCH from the waveform of the acceleration absolute value as written in the ring buffer 36. When the local peak having the size of is detected (S160: Yes), the sound generation from the sound system 50 is stopped (S170).

以上説明したように、本実施形態にかかる発音制御装置30は、投擲時からキャッチ時までの間、サウンドシステム50から音を発音させる。そして、その音の発音態様を決定づける要素である音色の種類を、ローカルピークPT2よりも後の加速度絶対値asと閾値との大小関係に応じて変化させるとともに、発音態様を決定づける別の要素であるリズムパターンの種類を、ローカルピークPT2における加速度成分a,a,aと0との大小関係である正負の向きの組み合わせに応じて変化させる。よって、利用者は、回転の有無や、回転速度、回転方向を様々に変えてボール10を投擲した場合においてサウンドシステム50から発音される音の発音態様の変化を楽しむことができる。また、加速度センサ21の検出軸xの正の向きが掌を向くようにしてボール10を握って投擲の動作に移る、といったボール10の握り方のルールを決めて投擲を行うようにすれば、回転する球質のボール10を投擲した後にサウンドシステム50から発音されるリズムパターンの種類から、そのボール10が空中でどの方向へ回転しているのかを知ることもできる。 As described above, the sound generation control device 30 according to the present embodiment generates a sound from the sound system 50 from the throwing time to the catching time. In addition, the timbre type, which is an element that determines the sound generation mode of the sound, is changed according to the magnitude relationship between the acceleration absolute value as and the threshold value after the local peak P T2 , and is another element that determines the sound generation mode. The type of a certain rhythm pattern is changed in accordance with the combination of positive and negative directions, which is the magnitude relationship between the acceleration components a x , a y , a z and 0 at the local peak P T2 . Therefore, the user can enjoy the change in the sound generation mode of the sound generated from the sound system 50 when the ball 10 is thrown by changing the presence / absence of rotation, the rotation speed, and the rotation direction in various ways. In addition, if the rule of how to hold the ball 10 is determined such that the positive direction of the detection axis x of the acceleration sensor 21 faces the palm and the ball 10 is moved to a throwing operation, the throwing is performed. It is also possible to know in which direction the ball 10 is rotating in the air from the type of rhythm pattern generated by the sound system 50 after throwing the rotating spherical ball 10.

以上、この発明の実施形態について説明したが、この発明には他にも実施形態があり得る。例えば、以下の通りである。
(1)上記実施形態において、CPU40は、投擲時からキャッチ時までの間、サウンドシステム50から連続音またはリズムパターンを発音させた。これに加えて、閾値THTHROWを超える加速度絶対値asの大きさを持ったローカルピークを検出した時に、ボール10が投擲されたことを示す音を発音させ、閾値THCATCHを超える加速度絶対値asの大きさをもったローカルピークを検出した時に、ボール10がキャッチされたことを示す音を発音させてもよい。これにより、利用者がボールの投擲とキャッチの動作を明確に認識することができ、動作の娯楽性、操作性が増す。
(2)上記実施形態において、CPU40は、サウンドシステム50から発音させるリズムパターンの種類を、ローカルピークPT2の加速度絶対値asとセットとして書き込まれた加速度成分a,a,aの向きの組み合わせに応じて決定した。しかし、ローカルピークPT1の加速度絶対値asとセットとして同時刻に書き込まれた加速度成分a,a,aの向きの組み合わせに応じてこれを決定してもよい。
(3)上記実施形態において、CPU40は、加速度成分a,a,aの正負の向きの組み合わせ、つまり、それらの加速度成分a,a,aと0との大小関係の組み合わせに応じてリズムパターンの種類を変化させた。しかし、0とは異なるある値を閾値として設定し、その閾値と加速度成分a,a,aとの大小関係の組み合わせに応じてリズムパターンの種類を変化させてもよい。
(4)上記実施形態において、加速度センサ21は、当該加速度センサ21に働く加速度ベクトルを互いに直交する3つの検出軸x,y,zの加速度成分a,a,aに分解して検出した。しかし、この加速度ベクトルを互いに異なる方向の2軸や4軸以上の加速度成分に分解して検出し、それらの加速度成分の正負の向きの組み合わせに応じてリズムパターンの種類を変化させてもよい。
(5)上記実施形態において、加速度センサ21は、ボール10内の中心Pより距離mだけ離れた位置に加わる加速度を検出した。しかし、ボール10内のほぼ中心Pに加わる加速度を検出してもよい。
(6)上記実施形態は、本発明を、ボール10の投擲とキャッチとを交互に行う遊戯に適用したものである。しかし、本発明は、以下に示す他の用途にも適用できる。
a.バトントワリング
たとえば、運動体である棒状のバトンに加速度センサ21を内蔵し、発音制御装置30のCPU40が、この加速度センサ21の出力信号から得られる加速度絶対値asの波形から、バトンを空中に投げるエーリアル動作、バトンを手以外の身体の部分上で転がすロール動作、バトンを手指で回転させるコンタクトマテリアル動作などの各種動作が行われたことを検出する。そして、加速度絶対値asの波形からいずれかの動作が行われたことを検出すると、その時刻における加速度成分a,a,aと所定値との大小関係の組み合わせを基にバトンの姿勢を求め、その姿勢に応じた発音態様の音をサウンドシステム50から発音させる。
b.電子ドラム演奏
たとえば、複数の打面を有する電子ドラムに加速度センサ21を内蔵し、発音制御装置30のCPU40が、重力加速度の働きによってこの加速度センサ21に加わる複数の加速度成分a,a,aと所定値との大小関係の組み合わせを基に上を向いている打面を求め、サウンドシステム50からその上を向いている打面の応じた発音態様の音を発音させる。
c.携帯電話機の発音態様の切り換え
たとえば、携帯電話機に加速度センサ21を内蔵し、その携帯電話機の制御部が、重力加速度の働きによってこの加速度センサ21に加わる複数の加速度成分a,a,aと所定値との大小関係の組み合わせを基に携帯電話機の姿勢を算出し、着信時にスピーカから発音させる着信音の音色をその姿勢に応じて変化させる。
d.目ざまし時計の目ざまし音の発音態様の切り換え
たとえば、目ざまし時計に加速度センサ21を内蔵し、重力加速度の働きによってこの加速度センサ21に加わる複数の加速度成分a,a,aと所定値との大小関係の組み合わせを基に目ざまし時計がどの面を下にした姿勢になっているかを特定し、その姿勢に応じて目ざまし音の発音態様を変化させる。
(7)上記実施形態において、CPU40は、加速度成分a,a,aの正負の向きの組み合わせに応じて、リズムパターンの種類を変化させた。しかし、この組み合わせに応じて、サウンドシステム50から発音させる音のピッチを変化させてもよいし、その周波数特性を変化させてもよい。要するに、加速度成分a,a,aと所定値との大小関係の組み合わせに応じて、サウンドシステム50から発音させる音の発音態様が変わるようになっていればよい。
(8)上記実施形態において、CPU40は、空中においてボール10の中心Pから距離mだけ離れた位置に加わる加速度の加速度レベルを特定し、サウンドシステム50から発音させる音の音色をその加速度レベルに応じて変化させた。しかし、サウンドシステム50から発音させる音の音量やピッチ、周波数特性などをその加速度レベルに応じて変化させてもよい。
(9)上記実施形態において、ジャイロセンサ(角加速度センサ)、角度センサ、速度センサなどの運動体の運動を表す物理量を検出するセンサを、加速度センサ21の代わりにボール10内に埋め込み、そのセンサにより、ボール10の運動を示す複数の種類の物理量成分を取得してもよい。
(10)上記実施形態において、CPU40は、ボール10の加速度センサ21から得られる加速度絶対値asの波形に閾値THTHROWを超える加速度絶対値asのローカルピークが現れたときに発音を開始させ、以後の波形に閾値THCATCHを超える加速度絶対値asのローカルピークが現れたときに発音を停止させた。しかし、この閾値THTHROW,閾値THCATCHを、ラケットを使った球技におけるボールの打撃の瞬間の加速度の下限に相当する値に置き換え、この種の球技においてラリーが続いている間に発音させる音の発音態様を、ボールの打撃のたびに切り換えるようにしてもよい。
この場合において、ボールが打撃された時刻における加速度成分a,a,aと所定値との大小関係の組み合わせに応じて発音態様を変えるのではなく、地軸方向に対する加速度センサ21の各検出軸x,y,zの傾斜角を求め、その傾斜角と所定値との大小関係に応じて、発音態様を変えてもよい。この態様は、たとえば、以下のようにして実現できる。加速度絶対値asの波形からボールが打撃されたことを検出すると、その時刻における加速度成分a,a,aを下記式にそれぞれ入力することにより、X角度angle,Y角度angle,Z角度angleを求める。その上で、X角度angleが80度より大きく90度より小さい場合は、リズムパターンPRを発音させ、Y角度angleが80度より大きく90度より小さい場合は、リズムパターンPRを発音させ、Z角度angleが80度より大きく90度より小さい場合は、リズムパターンPRを発音させ、X角度angleが−90度より大きく−80度より小さい場合は、リズムパターンPRを発音させ、Y角度angleが−90度より大きく−80度より小さい場合は、リズムパターンPRを発音させ、Z角度angleが−90度より大きく−80度より小さい場合は、リズムパターンPRを発音させる。
angle(−90度≦angle≦90度)=sin−1(a/(a +a +a 1/2 )…(2)
angle(−90度≦angle≦90度)=sin−1(a/(a +a +a 1/2 )…(3)
angle(−90度≦angle≦90度)=sin−1(a/(a +a +a 1/2 )…(4)
(11)上記実施形態における発音制御装置を、球技のパフォーマンスを評価する評価装置として応用してもよい。球技の中には、ボールを投げたり打撃する際の回転のかけ方によってそのパフォーマンスが左右されるものがある。よって、この変形例によると、利用者は、ボールを投げたり打撃した時に発音された音の発音態様を聴取することにより、自らが意図した通りにそのボールを回転させることができたか否かを把握することができる。また、ボールを投げたり打撃した際に発音された音の発音態様を示すデータを履歴としてメモリに記憶しておき、その履歴を利用者に提示するようにしてもよい。
(12)上記実施形態において、リズムパターン決定処理を行うことなく、閾値THTHROWを超える加速度絶対値asのローカルピークを検出した後のある時間の間に取得された加速度絶対値asと複数の閾値との大小関係を基に、空中においてボール10の中心Pから距離mだけ離れた位置に加わる加速度の加速度レベルを特定し、その加速度レベルに応じた音色の連続音を発音させるようにしてもよい。この変形例を概念的に示すと、「運動体内のある位置に加わる加速度を取得する取得手段と、前記取得手段が取得した加速度の波形から、前記運動体が投擲されたこと示す特徴を検出し、当該特徴を検出した時刻よりも後のある時間の間に取得された加速度と閾値との大小関係を求め、当該加速度と閾値との大小関係に応じて音の発音態様を決定し、決定した発音態様の音を発音させる発音制御手段とを有する発音制御装置。」となる。
(13)上記実施形態において、制御プログラム41のものと同じ機能をコンピュータに実現させるプログラムを携帯電話機に通信網を介してインストールさせ、携帯電話機に搭載された音源やスピーカ、加速度センサをそのプログラムによって制御し、上記発音制御装置と同様の処理を実行させてもよい。その携帯電話機をボール10内に埋め込んで用いることにより、利用者は、回転の有無や、回転速度、回転方向を様々に変えてボール10を投擲した場合において携帯電話機から発音される音の発音態様の変化を楽しむことができる。また、このプログラムを、パーソナルコンピュータ、PDA(Personal Data Assistance)にインストールさせてもよい。
As mentioned above, although embodiment of this invention was described, this invention can have other embodiment. For example, it is as follows.
(1) In the above-described embodiment, the CPU 40 generates a continuous sound or rhythm pattern from the sound system 50 from the time of throwing to the time of catching. In addition, when a local peak having a magnitude of the acceleration absolute value as exceeding the threshold TH THROW is detected, a sound indicating that the ball 10 has been thrown is generated, and the acceleration absolute value as exceeding the threshold TH CATCH. When a local peak having a size of is detected, a sound indicating that the ball 10 has been caught may be generated. As a result, the user can clearly recognize the ball throwing and catching actions, and the entertainment and operability of the actions are increased.
(2) In the above embodiment, the CPU 40 sets the direction of the acceleration components a x , a y , and a z written as a set of the acceleration absolute value as of the local peak P T2 and the type of rhythm pattern to be generated from the sound system 50. It was decided according to the combination. However, this may be determined according to the combination of the directions of the acceleration components a x , a y , and a z written at the same time as the absolute acceleration value as of the local peak P T1 .
(3) In the above embodiment, the CPU 40 combines the acceleration components a x , a y , and a z in the positive / negative direction, that is, the combination of the magnitude relationships between the acceleration components a x , a y , a z and 0. The type of rhythm pattern was changed accordingly. However, a certain value different from 0 may be set as a threshold value, and the type of rhythm pattern may be changed according to the combination of the magnitude relationship between the threshold value and acceleration components a x , a y , and a z .
(4) In the above embodiment, the acceleration sensor 21 detects the acceleration vector acting on the acceleration sensor 21 by decomposing the acceleration vector into three acceleration components a x , a y , and a z that are orthogonal to each other. did. However, this acceleration vector may be detected by decomposing into two or four or more acceleration components in different directions, and the type of rhythm pattern may be changed according to the combination of the positive and negative directions of these acceleration components.
(5) In the above embodiment, the acceleration sensor 21 detects acceleration applied to a position separated from the center P in the ball 10 by the distance m. However, the acceleration applied to substantially the center P in the ball 10 may be detected.
(6) In the above embodiment, the present invention is applied to a game in which the ball 10 is thrown and caught alternately. However, the present invention can also be applied to other uses described below.
a. Baton Twirl For example, the acceleration sensor 21 is built in a rod-shaped baton that is a moving body, and the CPU 40 of the sound generation control device 30 throws the baton into the air from the waveform of the acceleration absolute value as obtained from the output signal of the acceleration sensor 21. It detects that various operations such as an aerial operation, a roll operation that rolls the baton on a body part other than the hand, and a contact material operation that rotates the baton with fingers are performed. When it is detected from the waveform of the acceleration absolute value as that one of the operations has been performed, the attitude of the baton based on the combination of the magnitude relationship between the acceleration components a x , a y , a z and the predetermined value at that time Sound is generated from the sound system 50 according to the posture.
b. Electronic drum performance For example, an acceleration sensor 21 is incorporated in an electronic drum having a plurality of striking surfaces, and the CPU 40 of the sound generation control device 30 has a plurality of acceleration components a x , a y , applied to the acceleration sensor 21 by the action of gravitational acceleration. Based on the combination of the magnitude relationship between az and a predetermined value, a striking surface facing upward is obtained, and a sound having a sounding mode corresponding to the striking surface facing upward is sounded from the sound system 50.
c. For example, an acceleration sensor 21 is built in a mobile phone, and a control unit of the mobile phone has a plurality of acceleration components a x , a y , a z applied to the acceleration sensor 21 by the action of gravitational acceleration. The attitude of the mobile phone is calculated based on the combination of the magnitude relationship between the value and the predetermined value, and the timbre of the ringtone to be generated from the speaker at the time of the incoming call is changed according to the attitude.
d. For example, the alarm clock has a built-in acceleration sensor 21 and a plurality of acceleration components a x , a y , a z applied to the acceleration sensor 21 by the action of gravitational acceleration and a predetermined value. Based on the combination of the magnitude relations, it is specified which face the alarm clock is facing down, and the sounding mode of the alarm sound is changed according to the attitude.
(7) In the above embodiment, the CPU 40 changes the type of the rhythm pattern according to the combination of the positive and negative directions of the acceleration components a x , a y , and a z . However, according to this combination, the pitch of the sound generated from the sound system 50 may be changed, or the frequency characteristics thereof may be changed. In short, it is only necessary that the sound generation mode of the sound generated from the sound system 50 changes according to the combination of the magnitude relationship between the acceleration components a x , a y , a z and the predetermined value.
(8) In the above embodiment, the CPU 40 specifies the acceleration level of the acceleration applied to the position away from the center P of the ball 10 in the air by the distance m, and the tone color of the sound to be generated from the sound system 50 is determined according to the acceleration level. Changed. However, the volume, pitch, frequency characteristics, etc. of the sound generated from the sound system 50 may be changed according to the acceleration level.
(9) In the above embodiment, a sensor for detecting a physical quantity representing the motion of a moving body such as a gyro sensor (angular acceleration sensor), an angle sensor, or a velocity sensor is embedded in the ball 10 instead of the acceleration sensor 21, and the sensor Thus, a plurality of types of physical quantity components indicating the motion of the ball 10 may be acquired.
(10) In the above embodiment, the CPU 40 starts sound generation when a local peak of the acceleration absolute value as exceeding the threshold value TH THROW appears in the waveform of the acceleration absolute value as obtained from the acceleration sensor 21 of the ball 10, and thereafter When a local peak of the acceleration absolute value as exceeding the threshold value TH CATCH appears in the waveform of, sound generation was stopped. However, the threshold TH THROW and the threshold TH CATCH are replaced with values corresponding to the lower limit of acceleration at the moment of hitting the ball in the ball game using the racket, and the sound to be pronounced while the rally continues in this type of ball game. The sound generation mode may be switched every time the ball is hit.
In this case, instead of changing the sound generation mode according to the combination of the magnitude relationship between the acceleration components a x , a y , a z and the predetermined value at the time when the ball is hit, each detection of the acceleration sensor 21 with respect to the earth axis direction is detected. The inclination angles of the axes x, y, and z may be obtained, and the sound generation mode may be changed according to the magnitude relationship between the inclination angle and a predetermined value. This aspect can be realized as follows, for example. When it is detected that the ball has been hit from the waveform of the acceleration absolute value as, the acceleration components a x , a y , and a z at that time are input to the following equations, respectively, so that the X angle angle x , the Y angle angle y , The Z angle angle z is obtained. In addition, when the X angle angle x is greater than 80 degrees and smaller than 90 degrees, the rhythm pattern PR 1 is pronounced, and when the Y angle angle x is greater than 80 degrees and smaller than 90 degrees, the rhythm pattern PR 2 is pronounced. When the Z angle angle z is larger than 80 degrees and smaller than 90 degrees, the rhythm pattern PR 3 is pronounced. When the X angle angle x is larger than −90 degrees and smaller than −80 degrees, the rhythm pattern PR 4 is pronounced. When the Y angle angle y is larger than −90 degrees and smaller than −80 degrees, the rhythm pattern PR 5 is sounded. When the Z angle angle z is larger than −90 degrees and smaller than −80 degrees, the rhythm pattern PR 6 is used. Is pronounced.
angle x (−90 degrees ≦ angle x ≦ 90 degrees) = sin −1 (a x / (a x 2 + a y 2 + a z 2 ) 1/2 ) (2)
angle y (−90 degrees ≦ angle y ≦ 90 degrees) = sin −1 (a y / (a x 2 + a y 2 + a z 2 ) 1/2 ) (3)
angle z (−90 degrees ≦ angle z ≦ 90 degrees) = sin −1 (a z / (a x 2 + a y 2 + a z 2 ) 1/2 ) (4)
(11) The sound generation control device in the above embodiment may be applied as an evaluation device for evaluating the performance of ball games. Some ball games have their performance affected by how they rotate when throwing or hitting a ball. Therefore, according to this modification, the user can determine whether or not he / she was able to rotate the ball as he intended by listening to the pronunciation of the sound produced when the ball was thrown or hit. I can grasp it. Further, data indicating the sound generation mode of the sound generated when the ball is thrown or hit may be stored in the memory as a history, and the history may be presented to the user.
(12) In the above embodiment, the acceleration absolute value as and the plurality of threshold values acquired during a certain time after detecting the local peak of the acceleration absolute value as exceeding the threshold TH THROW without performing the rhythm pattern determination process , The acceleration level of acceleration applied to a position away from the center P of the ball 10 by a distance m in the air may be specified, and a continuous tone of sound corresponding to the acceleration level may be generated. . When this modification is conceptually shown, “a feature indicating that the moving body has been thrown is detected from an acquisition means for acquiring an acceleration applied to a certain position in the moving body and a waveform of the acceleration acquired by the acquiring means. The magnitude relationship between the acceleration acquired during a certain time after the time when the feature is detected and the threshold is obtained, and the sound generation mode is determined according to the magnitude relationship between the acceleration and the threshold. A sound generation control device having sound generation control means for generating a sound of a sound generation mode.
(13) In the above embodiment, a program for causing a computer to realize the same function as that of the control program 41 is installed in a mobile phone via a communication network, and a sound source, a speaker, and an acceleration sensor mounted on the mobile phone are It is possible to control and execute the same processing as the sound generation control device. By embedding the mobile phone in the ball 10 and using it, the user can pronounce the sound produced by the mobile phone when the ball 10 is thrown by changing the presence / absence of rotation, the rotation speed, and the rotation direction. Can enjoy the changes. Further, this program may be installed in a personal computer or PDA (Personal Data Assistance).

この発明の一実施形態である発音制御装置を含む発音システムの構成を示すブロック図である。1 is a block diagram showing a configuration of a sound generation system including a sound generation control device according to an embodiment of the present invention. 図1に示す発音制御装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the sound generation control apparatus shown in FIG. ボールが投擲されてからキャッチされるまでの加速度絶対値の波形の一例を示す図である。It is a figure which shows an example of the waveform of the acceleration absolute value until it is caught after a ball is thrown. 図3に示す加速度絶対値の波形に加速度レベルの閾値を示す線を重ね合わせた図である。FIG. 4 is a diagram in which a line indicating an acceleration level threshold value is superimposed on the acceleration absolute value waveform shown in FIG. 3.

符号の説明Explanation of symbols

10…ボール、20…運動検出チップ、21…加速度センサ、22,32…無線通信部、、30…発音制御装置、31…操作表示部、33…制御部、34…インターフェース、35…加速度取得部、36…リングバッファ、37…発音制御部、38…RAM、39…ROM、40…CPU、41…制御プログラム、50…サウンドシステム。 DESCRIPTION OF SYMBOLS 10 ... Ball, 20 ... Motion detection chip, 21 ... Acceleration sensor, 22, 32 ... Wireless communication part, 30 ... Sound generation control apparatus, 31 ... Operation display part, 33 ... Control part, 34 ... Interface, 35 ... Acceleration acquisition part 36 ... Ring buffer, 37 ... Sound generation control unit, 38 ... RAM, 39 ... ROM, 40 ... CPU, 41 ... Control program, 50 ... Sound system.

Claims (5)

運動体の運動を示す複数の種類の物理量成分を取得する取得手段と、
前記取得手段が取得した物理量成分の各々と所定値との大小関係を求め、当該物理量成分ごとの大小関係の組み合わせに応じて音の発音態様を決定し、決定した発音態様の音を発音させる発音制御手段と
を具備することを特徴とする発音制御装置。
Acquisition means for acquiring a plurality of types of physical quantity components indicating the motion of the moving body;
Sounding that obtains a magnitude relationship between each of the physical quantity components acquired by the acquisition means and a predetermined value, determines a sound generation mode according to the combination of the magnitude relationships for each physical quantity component, and causes the sound of the determined sound generation mode to sound A sound generation control device comprising: control means.
前記取得手段は、
前記運動体内のある位置に加わる加速度を互いに異なる複数の軸方向に分解した加速度成分を前記物理量成分として取得し、
前記発音制御手段は、
前記取得手段が取得した複数の軸方向の加速度成分の各々と所定値との大小関係を求め、当該加速度成分ごとの大小関係の組み合わせに応じて音の発音態様を決定し、決定した発音態様の音を発音させる
ことを特徴とする請求項1に記載の発音制御装置。
The acquisition means includes
An acceleration component obtained by decomposing acceleration applied to a certain position in the moving body in a plurality of different axial directions is obtained as the physical quantity component,
The pronunciation control means includes
Obtaining a magnitude relationship between each of the plurality of axial acceleration components obtained by the obtaining means and a predetermined value, and determining a sound sounding mode according to a combination of the magnitude relationships for each acceleration component, The sound generation control device according to claim 1, wherein a sound is generated.
前記取得手段は、
前記複数の軸方向の加速度成分を合成した加速度絶対値をさらに取得し、
前記発音制御手段は、
前記取得手段が取得した加速度絶対値の波形のピークを検出し、検出したピークの時刻において前記位置に加わった加速度を互いに異なる複数の軸方向に分解した加速度成分の各々と所定値との大小関係を求め、前記取得手段によって取得された前記ピークよりも後の加速度絶対値の大きさと、前記加速度成分の各々と所定値との大小関係の組み合わせとに応じて音の発音態様を決定する
ことを特徴とする請求項2に記載の発音制御装置。
The acquisition means includes
Further obtaining an absolute acceleration value obtained by combining the acceleration components in the plurality of axial directions,
The pronunciation control means includes
Detecting the peak of the acceleration absolute value waveform acquired by the acquisition means, and the magnitude relationship between each of the acceleration components obtained by decomposing the acceleration applied to the position at the detected peak time in a plurality of different axial directions and a predetermined value And determining the sound generation mode according to the magnitude of the absolute acceleration value after the peak acquired by the acquisition means and the combination of the magnitude relation between each of the acceleration components and the predetermined value. The sound generation control device according to claim 2, wherein:
請求項2または3に記載の発音制御装置と、
運動体であるボールと、
前記ボールに内蔵され、当該ボール内のある位置に加わる加速度を複数の軸方向の加速度成分に分解して検出するセンサと、
前記ボールに内蔵され、前記センサが検出した複数の軸方向の加速度成分を送信する通信手段と、
前記発音制御装置が決定した発音態様の音を表す音信号を前記発音制御装置から受け取り、その音信号が示す音を合成して出力する発音装置と
を有する発音システム。
The sound generation control device according to claim 2 or 3,
A ball that is a moving body,
A sensor built in the ball for detecting an acceleration applied to a certain position in the ball by breaking it into a plurality of axial acceleration components;
Communication means built in the ball and transmitting a plurality of axial acceleration components detected by the sensor;
A sound generation system comprising: a sound generation device that receives a sound signal representing a sound of a sound generation mode determined by the sound generation control device from the sound generation control device, and synthesizes and outputs the sound indicated by the sound signal.
コンピュータに、
運動体の運動を示す複数の種類の物理量成分が取得されたとき、取得された物理量成分の各々と所定値との大小関係を求め、当該物理量成分ごとの大小関係の組み合わせに応じて音の発音態様を決定し、決定した発音態様の音を発音させる発音制御手段
を実現させるプログラム。
On the computer,
When a plurality of types of physical quantity components indicating the motion of a moving body are acquired, the magnitude relationship between each of the acquired physical quantity components and a predetermined value is obtained, and sound is generated according to the combination of the magnitude relationships for each physical quantity component A program that realizes sound generation control means for determining a mode and generating a sound of the determined sound mode.
JP2008132953A 2008-05-21 2008-05-21 Sound generation controller, sound generation system, and program Withdrawn JP2009282203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008132953A JP2009282203A (en) 2008-05-21 2008-05-21 Sound generation controller, sound generation system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008132953A JP2009282203A (en) 2008-05-21 2008-05-21 Sound generation controller, sound generation system, and program

Publications (1)

Publication Number Publication Date
JP2009282203A true JP2009282203A (en) 2009-12-03

Family

ID=41452727

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008132953A Withdrawn JP2009282203A (en) 2008-05-21 2008-05-21 Sound generation controller, sound generation system, and program

Country Status (1)

Country Link
JP (1) JP2009282203A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012002919A (en) * 2010-06-15 2012-01-05 Casio Comput Co Ltd Performance device and electric musical instrument

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012002919A (en) * 2010-06-15 2012-01-05 Casio Comput Co Ltd Performance device and electric musical instrument
US8710347B2 (en) 2010-06-15 2014-04-29 Casio Computer Co., Ltd. Performance apparatus and electronic musical instrument

Similar Documents

Publication Publication Date Title
US10384129B2 (en) System and method for detecting moment of impact and/or strength of a swing based on accelerometer data
JP5420824B2 (en) GAME DEVICE AND GAME PROGRAM
US11260286B2 (en) Computer device and evaluation control method
US8445769B2 (en) Performance apparatus and electronic musical instrument
JP5216206B2 (en) Program and game device
US11253776B2 (en) Computer device and evaluation control method
JP2007296367A (en) Methods of obtaining input for controlling execution of game program
TWI425970B (en) Electronic device and method for controlling a process of a game
JP2011128427A (en) Performance device, performance control device, and program
JP2024025802A (en) Game device, control method and control program
JP6742388B2 (en) Control program, game device, and control method
JP2012166036A (en) System and method for analyzing game control input data
JP2009282203A (en) Sound generation controller, sound generation system, and program
JP7137944B2 (en) Program and computer system
JP6779938B2 (en) Game device, control method and control program
JP6111526B2 (en) Music generator
JP2013044889A (en) Music player
JP6610120B2 (en) Sound control apparatus, method, program, and electronic musical instrument
JP2009279273A (en) Pronunciation control apparatus, pronunciation system, and program
JP2010271440A (en) Performance control device and program
JP7296393B2 (en) electronic body percussion
JP2009086534A (en) Sound data generation device and direction sensing sound output musical instrument
JP5935399B2 (en) Music generator
JP2010191323A (en) Music creating device, method and program
JP5942627B2 (en) Performance device, method and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20110802