JP2009282203A - Sound generation controller, sound generation system, and program - Google Patents
Sound generation controller, sound generation system, and program Download PDFInfo
- 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
Links
Images
Abstract
Description
本発明は、多軸のセンサの出力信号を用いた発音制御を行う技術に関する。 The present invention relates to a technique for performing sound generation control using output signals of multi-axis sensors.
演奏操作子に働く力を加速度センサにより定量化し、その加速度波形に利用者の拍打意思とみなし得るピークが現れるたびに、各種発音態様の楽音を音源から発音させる発音制御装置がある。この発音制御装置を利用する利用者は、演奏操作子を振る強さや間隔を変えることによって、音量や音長などを異にする発音態様の音を音源から発音させ、即興の音楽を楽しむことができる。この種の発音制御装置は、たとえば、特許文献1に開示されている。
しかしながら、特許文献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
図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
加速度センサ21は、当該加速度センサ21に加わる加速度ベクトルを3つの検出軸x,y,zの加速度成分ax,ay,azに分解して検出し、これらの加速度成分ax,ay,azを示す各アナログ信号を各々出力する。より詳細には、加速度センサ21は、検出軸xの正の向きに加わる加速度を検出したときは、その大きさに比例した正の加速度成分axを示すアナログ信号を出力し、検出軸xの負の向きに加わる加速度を検出したときは、その大きさに比例した負の加速度成分axを示すアナログ信号を出力する。また、加速度センサ21は、検出軸yの正の向きに加わる加速度を検出したときは、その大きさに比例した正の加速度成分ayを示すアナログ信号を出力し、検出軸yの負の向きに加わる加速度を検出したときは、その大きさに比例した負の加速度成分ayを示すアナログ信号を出力する。さらに、加速度センサ21は、検出軸zの正の向きに加わる加速度を検出したときは、その大きさに比例した正の加速度成分azを示すアナログ信号を出力し、検出軸zの負の向きに加わる加速度を検出したときは、その大きさに比例した負の加速度成分azを示すアナログ信号を出力する。
ここで、図1に示すように、この加速度センサ21の検出軸x,y,zは互いに直交しており、それらのうち検出軸xの正の向きは、ボール10の中心Pから当該センサ21に向かう向きと同じである。
The
Here, as shown in FIG. 1, the detection axes x, y, and z of the
無線通信部22は、一定時間長(例えば5ms)のサンプリング周期毎に、加速度センサ21から出力される3種類のアナログ信号をサンプリングしてデジタル化することにより、加速度成分ax,ay,azを示すデータを生成し、このデータを含むパケットを、無線区間を介して発音制御装置30に送信する。
The
利用者は、数メートル程度の距離をとった上で、相手から投擲されたボール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から送信されたパケットを受信し、そのパケットから加速度成分ax,ay,azを示すデータを取り出し、取り出したデータを制御部33に引き渡す。
The sound generation control device 30 includes an
The
The
制御部33は、加速度取得部35、リングバッファ36、および発音制御部37を有する。
加速度取得部35は、無線通信部32から加速度成分ax,ay,azを示すデータが引き渡されるたびにリングバッファ36の書き込み先アドレスを歩進させ、加速度成分ax,ay,az、およびその加速度成分ax,ay,azを次式に入力して求まる加速度絶対値asのセットを書き込み先アドレスへ書き込んでいく。
as=(ax 2+ay 2+az 2)1/2 …(1)
The
The
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
The
この制御プログラム41は、発音制御機能を有する。発音制御機能は、リングバッファ36に書き込まれた加速度絶対値asの波形から、投擲時のものとみなし得るローカルピークおよびキャッチ時のものとみなし得るローカルピークをそれぞれ検出し、投擲時からキャッチ時までサウンドシステム50から音を発音させ、その音の発音態様を、加速度絶対値as、および加速度成分ax,ay,azにより特定したボール10の回転速度と回転方向とに応じて変化させる機能である。
サウンドシステム50は、音源およびスピーカを有する。サウンドシステム50は、発音制御装置30から音信号を受け取り、その音信号が示す音を合成し、出力する。
The
The
次に、本実施形態の動作を説明する。
図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
図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
有効ピーク検出処理において、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
図2において、CPU40は、リングバッファ36に書き込まれた加速度絶対値asの波形から閾値THTHROWを超える加速度絶対値asの大きさをもったローカルピークを検出すると(S100:Yes)、音色決定処理を実行する(S110)。音色決定処理は、投擲時の後のある短い時間の間にリングバッファ36に書き込まれた加速度絶対値asを基に、空中においてボール10の中心Pから距離mだけ離れた位置に加わる加速度の加速度レベルを特定し、その加速度レベルに応じた音色の種類を決定する処理である。
In FIG. 2, when the
ここで、再び前掲の図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
そこで、本ステップ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
図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に応じた音色TIM3とする。さらに、その加速度絶対値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,
図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
CPU40は、ステップS110の音色決定処理において特定した加速度レベルが加速度レベル0(無回転)でない場合(S120:No)、リズムパターン決定処理を実行する(S140)。本実施形態においては、空中においてボール10の中心Pから距離mだけ離れた位置に加わる加速度の加速度レベルが加速度レベル0(無回転)である場合は、ステップS110で決定した音色で連続音を発音させる一方、その加速度レベルが加速度レベル1以上である場合は、ステップS110で決定した音色でリズムパターンを発音させる。リズムパターンは、「タンタンタン」、「ターターター」、「タッタッタッ」といったような、ある短い時間間隔を空けた一連の音である。リズムパターン決定処理は、ローカルピークPT2において加速度センサ21に加わった加速度の加速度成分ax,ay,azの向きの組み合わせを基に、サウンドシステム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
上述したように、ボール10が投擲されてからキャッチされるまでの加速度絶対値asの波形に現れるローカルピークPT2は、利用者がボール10を持ち上げた腕を振り下ろす力やその手首を捻る力の働きによる加速度ベクトルが加速度センサ21へ加わったことを示すものである。そして、利用者が回転する球質のボール10を投擲する場合、このローカルピークPT2において加速度センサ21から出力される加速度成分ax,ay,azの正負の向きの組み合わせは、利用者がボール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
そこで、本ステップ140におけるリズムパターン決定処理では、CPU40は、リングバッファ36のデータを走査し、ローカルピークPT2の加速度絶対値asとセットとして同時刻に書き込まれた加速度成分ax,ay,azの所在を探索する。そして、その探索先の加速度成分ax,ay,azにおける加速度の向き(符号)の組み合わせを特定し、サウンドシステム50から発音させるリズムパターンの種類をその組み合わせに応じたものとする。
より具体的には、加速度成分ax,ay,azのすべてが0より大きい場合、つまり、そのすべての向きが正であった場合はリズムパターンRP1とする。また、加速度成分ax,ay,azのすべてが0より小さい場合、つまり、そのすべての向きが負であった場合はリズムパターンRP2とする。
また、加速度成分axの向きが正で加速度成分ay,azの向きが負であった場合はリズムパターンRP3とし、加速度成分ayの向きが正で加速度成分ax、azの向きが負であった場合はリズムパターンRP4とし、加速度成分azの向きが正で加速度成分ax,ayの向きが負であった場合はリズムパターンRP5とする。
さらに、加速度成分ax,ayの向きが正で加速度成分azの向きが負であった場合はリズムパターンRP6とし、加速度成分ax,azの向きが正で加速度成分ayの向きが負であった場合はリズムパターンRP7とし、加速度成分ay,azの向きが正で加速度成分axの向きが負であった場合はリズムパターンRP8とする。
Therefore, in the rhythm pattern determination process in step 140, the
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.
以上説明した加速度成分ax,ay,azの向きとリズムパターンPR1〜8との関係を表に纏めると、以下のようになる。
図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
The
以上説明したように、本実施形態にかかる発音制御装置30は、投擲時からキャッチ時までの間、サウンドシステム50から音を発音させる。そして、その音の発音態様を決定づける要素である音色の種類を、ローカルピークPT2よりも後の加速度絶対値asと閾値との大小関係に応じて変化させるとともに、発音態様を決定づける別の要素であるリズムパターンの種類を、ローカルピークPT2における加速度成分ax,ay,azと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
以上、この発明の実施形態について説明したが、この発明には他にも実施形態があり得る。例えば、以下の通りである。
(1)上記実施形態において、CPU40は、投擲時からキャッチ時までの間、サウンドシステム50から連続音またはリズムパターンを発音させた。これに加えて、閾値THTHROWを超える加速度絶対値asの大きさを持ったローカルピークを検出した時に、ボール10が投擲されたことを示す音を発音させ、閾値THCATCHを超える加速度絶対値asの大きさをもったローカルピークを検出した時に、ボール10がキャッチされたことを示す音を発音させてもよい。これにより、利用者がボールの投擲とキャッチの動作を明確に認識することができ、動作の娯楽性、操作性が増す。
(2)上記実施形態において、CPU40は、サウンドシステム50から発音させるリズムパターンの種類を、ローカルピークPT2の加速度絶対値asとセットとして書き込まれた加速度成分ax,ay,azの向きの組み合わせに応じて決定した。しかし、ローカルピークPT1の加速度絶対値asとセットとして同時刻に書き込まれた加速度成分ax,ay,azの向きの組み合わせに応じてこれを決定してもよい。
(3)上記実施形態において、CPU40は、加速度成分ax,ay,azの正負の向きの組み合わせ、つまり、それらの加速度成分ax,ay,azと0との大小関係の組み合わせに応じてリズムパターンの種類を変化させた。しかし、0とは異なるある値を閾値として設定し、その閾値と加速度成分ax,ay,azとの大小関係の組み合わせに応じてリズムパターンの種類を変化させてもよい。
(4)上記実施形態において、加速度センサ21は、当該加速度センサ21に働く加速度ベクトルを互いに直交する3つの検出軸x,y,zの加速度成分ax,ay,azに分解して検出した。しかし、この加速度ベクトルを互いに異なる方向の2軸や4軸以上の加速度成分に分解して検出し、それらの加速度成分の正負の向きの組み合わせに応じてリズムパターンの種類を変化させてもよい。
(5)上記実施形態において、加速度センサ21は、ボール10内の中心Pより距離mだけ離れた位置に加わる加速度を検出した。しかし、ボール10内のほぼ中心Pに加わる加速度を検出してもよい。
(6)上記実施形態は、本発明を、ボール10の投擲とキャッチとを交互に行う遊戯に適用したものである。しかし、本発明は、以下に示す他の用途にも適用できる。
a.バトントワリング
たとえば、運動体である棒状のバトンに加速度センサ21を内蔵し、発音制御装置30のCPU40が、この加速度センサ21の出力信号から得られる加速度絶対値asの波形から、バトンを空中に投げるエーリアル動作、バトンを手以外の身体の部分上で転がすロール動作、バトンを手指で回転させるコンタクトマテリアル動作などの各種動作が行われたことを検出する。そして、加速度絶対値asの波形からいずれかの動作が行われたことを検出すると、その時刻における加速度成分ax,ay,azと所定値との大小関係の組み合わせを基にバトンの姿勢を求め、その姿勢に応じた発音態様の音をサウンドシステム50から発音させる。
b.電子ドラム演奏
たとえば、複数の打面を有する電子ドラムに加速度センサ21を内蔵し、発音制御装置30のCPU40が、重力加速度の働きによってこの加速度センサ21に加わる複数の加速度成分ax,ay,azと所定値との大小関係の組み合わせを基に上を向いている打面を求め、サウンドシステム50からその上を向いている打面の応じた発音態様の音を発音させる。
c.携帯電話機の発音態様の切り換え
たとえば、携帯電話機に加速度センサ21を内蔵し、その携帯電話機の制御部が、重力加速度の働きによってこの加速度センサ21に加わる複数の加速度成分ax,ay,azと所定値との大小関係の組み合わせを基に携帯電話機の姿勢を算出し、着信時にスピーカから発音させる着信音の音色をその姿勢に応じて変化させる。
d.目ざまし時計の目ざまし音の発音態様の切り換え
たとえば、目ざまし時計に加速度センサ21を内蔵し、重力加速度の働きによってこの加速度センサ21に加わる複数の加速度成分ax,ay,azと所定値との大小関係の組み合わせを基に目ざまし時計がどの面を下にした姿勢になっているかを特定し、その姿勢に応じて目ざまし音の発音態様を変化させる。
(7)上記実施形態において、CPU40は、加速度成分ax,ay,azの正負の向きの組み合わせに応じて、リズムパターンの種類を変化させた。しかし、この組み合わせに応じて、サウンドシステム50から発音させる音のピッチを変化させてもよいし、その周波数特性を変化させてもよい。要するに、加速度成分ax,ay,azと所定値との大小関係の組み合わせに応じて、サウンドシステム50から発音させる音の発音態様が変わるようになっていればよい。
(8)上記実施形態において、CPU40は、空中においてボール10の中心Pから距離mだけ離れた位置に加わる加速度の加速度レベルを特定し、サウンドシステム50から発音させる音の音色をその加速度レベルに応じて変化させた。しかし、サウンドシステム50から発音させる音の音量やピッチ、周波数特性などをその加速度レベルに応じて変化させてもよい。
(9)上記実施形態において、ジャイロセンサ(角加速度センサ)、角度センサ、速度センサなどの運動体の運動を表す物理量を検出するセンサを、加速度センサ21の代わりにボール10内に埋め込み、そのセンサにより、ボール10の運動を示す複数の種類の物理量成分を取得してもよい。
(10)上記実施形態において、CPU40は、ボール10の加速度センサ21から得られる加速度絶対値asの波形に閾値THTHROWを超える加速度絶対値asのローカルピークが現れたときに発音を開始させ、以後の波形に閾値THCATCHを超える加速度絶対値asのローカルピークが現れたときに発音を停止させた。しかし、この閾値THTHROW,閾値THCATCHを、ラケットを使った球技におけるボールの打撃の瞬間の加速度の下限に相当する値に置き換え、この種の球技においてラリーが続いている間に発音させる音の発音態様を、ボールの打撃のたびに切り換えるようにしてもよい。
この場合において、ボールが打撃された時刻における加速度成分ax,ay,azと所定値との大小関係の組み合わせに応じて発音態様を変えるのではなく、地軸方向に対する加速度センサ21の各検出軸x,y,zの傾斜角を求め、その傾斜角と所定値との大小関係に応じて、発音態様を変えてもよい。この態様は、たとえば、以下のようにして実現できる。加速度絶対値asの波形からボールが打撃されたことを検出すると、その時刻における加速度成分ax,ay,azを下記式にそれぞれ入力することにより、X角度anglex,Y角度angley,Z角度anglezを求める。その上で、X角度anglexが80度より大きく90度より小さい場合は、リズムパターンPR1を発音させ、Y角度angleyが80度より大きく90度より小さい場合は、リズムパターンPR2を発音させ、Z角度anglezが80度より大きく90度より小さい場合は、リズムパターンPR3を発音させ、X角度anglexが−90度より大きく−80度より小さい場合は、リズムパターンPR4を発音させ、Y角度angleyが−90度より大きく−80度より小さい場合は、リズムパターンPR5を発音させ、Z角度anglezが−90度より大きく−80度より小さい場合は、リズムパターンPR6を発音させる。
anglex(−90度≦anglex≦90度)=sin−1(ax/(ax 2+ay 2+az 2)1/2 )…(2)
angley(−90度≦angley≦90度)=sin−1(ay/(ax 2+ay 2+az 2)1/2 )…(3)
anglez(−90度≦anglez≦90度)=sin−1(az/(ax 2+ay 2+az 2)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
(2) In the above embodiment, the
(3) In the above embodiment, the
(4) In the above embodiment, the
(5) In the above embodiment, the
(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
b. Electronic drum performance For example, an
c. For example, an
d. For example, the alarm clock has a built-in
(7) In the above embodiment, the
(8) In the above embodiment, the
(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
(10) In the above embodiment, the
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
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
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 ...
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:
運動体であるボールと、
前記ボールに内蔵され、当該ボール内のある位置に加わる加速度を複数の軸方向の加速度成分に分解して検出するセンサと、
前記ボールに内蔵され、前記センサが検出した複数の軸方向の加速度成分を送信する通信手段と、
前記発音制御装置が決定した発音態様の音を表す音信号を前記発音制御装置から受け取り、その音信号が示す音を合成して出力する発音装置と
を有する発音システム。 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.
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)
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 |
-
2008
- 2008-05-21 JP JP2008132953A patent/JP2009282203A/en not_active Withdrawn
Cited By (2)
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 |