JP5082730B2 - Sound data generation device and direction sensing pronunciation musical instrument - Google Patents

Sound data generation device and direction sensing pronunciation musical instrument Download PDF

Info

Publication number
JP5082730B2
JP5082730B2 JP2007258942A JP2007258942A JP5082730B2 JP 5082730 B2 JP5082730 B2 JP 5082730B2 JP 2007258942 A JP2007258942 A JP 2007258942A JP 2007258942 A JP2007258942 A JP 2007258942A JP 5082730 B2 JP5082730 B2 JP 5082730B2
Authority
JP
Japan
Prior art keywords
sound
sensor
acceleration
axis
data
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.)
Expired - Fee Related
Application number
JP2007258942A
Other languages
Japanese (ja)
Other versions
JP2009086534A (en
Inventor
善樹 西谷
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 JP2007258942A priority Critical patent/JP5082730B2/en
Publication of JP2009086534A publication Critical patent/JP2009086534A/en
Application granted granted Critical
Publication of JP5082730B2 publication Critical patent/JP5082730B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

本発明は、動きに基づいて音を発するための音データ生成装置および方向センシング発音楽器に関する。   The present invention relates to a sound data generation device and a direction sensing sounding instrument for generating sound based on movement.

楽器には、その発音の仕組みに応じた操作方法がある。例えば、ピアノでは、鍵が指で押下されると、所定のメカニズムによりハンマが弦を打撃し音を発する。その場合、押鍵の速度によりハンマの打撃の速度が制御され、生じる音の大きさや音色が変わる。また、リコーダーでは、管に息が吹き込まれると、空気が振動し音を発する。その場合、指で塞がれた音孔の組み合わせや、吹き込まれる息の強さなどにより空気の振動の態様が変わり、異なる音階や音色の音が生じる。   There are operating methods for musical instruments according to the sounding mechanism. For example, in a piano, when a key is pressed with a finger, a hammer strikes a string and makes a sound by a predetermined mechanism. In that case, the hammer hitting speed is controlled by the speed of the key press, and the volume and tone of the generated sound change. Also, in the recorder, when breath is blown into the tube, the air vibrates and emits sound. In that case, the mode of air vibration changes depending on the combination of the sound holes blocked by the fingers, the strength of the breath to be blown, and the like, and sounds of different scales and timbres are generated.

このような古典的な楽器に対し、操作子の動き自体に応じて音が生成される楽器が近年提案されている。特許文献1においては、ユーザにより動作センサが動かされると、動作のパターンを認識し、認識したパターンに応じた音が生成されるシステムについて記載されている。
特開2001−195059号公報
In contrast to such a classical musical instrument, a musical instrument that generates a sound according to the movement of the operating element has been proposed in recent years. Patent Document 1 describes a system in which when a motion sensor is moved by a user, a motion pattern is recognized and a sound corresponding to the recognized pattern is generated.
JP 2001-195059 A

上記特許文献1に記載された技術においては、動作センサには1軸の加速度センサが設けられていることから、動作センサの1次元方向についての動きしか検知されない。従って、動作センサの動かし方を多様に制御しても、生成される音の音色や音量などにあまり反映されず、楽器として十分に楽しむことはできなかった。   In the technique described in Patent Document 1, since the motion sensor is provided with a uniaxial acceleration sensor, only the motion of the motion sensor in the one-dimensional direction is detected. Accordingly, even if the movement of the motion sensor is controlled in various ways, it is not reflected in the tone color or volume of the generated sound, and cannot be fully enjoyed as a musical instrument.

本発明は上述の課題に鑑みてなされたものであり、動きに対応して多様な音階の音を生成可能とする音データ生成装置および方向センシング発音楽器を提供することを目的とする。   The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a sound data generation device and a direction sensing sounding instrument that can generate sounds of various scales corresponding to movement.

本発明に係る音データ生成装置は、複数の軸についての正の向きおよび負の向きの運動を検出するセンサと、各軸の各向きと音階を構成する音とを対応付けるテーブルを記憶する記憶手段と、前記センサにより検出された運動に基づいて各軸の各向きに対応する音を前記記憶手段内のテーブルを参照して特定し、該特定された音を指定する音指定情報を生成する音指定情報生成手段とを有することを特徴とする。   The sound data generation device according to the present invention stores a sensor that detects positive and negative motions about a plurality of axes, and a table that associates each direction of each axis with a sound constituting a scale. A sound corresponding to each direction of each axis based on the motion detected by the sensor with reference to a table in the storage means and generating sound designating information for designating the identified sound And a designation information generating means.

上記の構成において、前記センサは、各軸方向の加速度を検出し、検出結果を表す加速度データを生成する加速度センサであり、前記音指定情報生成手段は、前記センサにより生成された加速度データに基づいて、前記複数の軸から特定の軸および該特定された軸における向きを特定し、該特定内容と対応付けられた音を前記テーブルを参照して特定し、該特定された音を指定する音指定情報を生成しても良い。その場合、前記音指定情報生成手段は、前記センサにより検出された加速度の大きさが極大となる時刻に前記音指定情報を出力しても良い。なお、前記音指定情報生成手段は、前記センサにより生成された加速度データから、加速度の絶対値が最大である軸および該特定された軸における加速度の向きを特定しても良い。   In the above configuration, the sensor is an acceleration sensor that detects acceleration in each axial direction and generates acceleration data representing a detection result, and the sound designation information generation unit is based on the acceleration data generated by the sensor. A sound that specifies a specific axis from the plurality of axes and a direction in the specified axis, specifies a sound associated with the specific content with reference to the table, and designates the specified sound The designation information may be generated. In this case, the sound designation information generating means may output the sound designation information at a time when the magnitude of acceleration detected by the sensor is maximized. The sound designation information generating means may specify the axis having the maximum absolute value of acceleration and the direction of acceleration on the specified axis from the acceleration data generated by the sensor.

本発明に係る音データ生成装置は、上記の構成において、前記テーブルは、各軸の各向きとペンタトニックスケールを構成する音とを対応付けても良い。   In the sound data generation device according to the present invention, in the above configuration, the table may associate each direction of each axis with a sound constituting a pentatonic scale.

本発明に係る音データ生成装置は、複数の回転軸の周りの正の向きおよび負の向きの回転運動を検出するセンサと、前記各回転軸の各向きの回転運動と音階を構成する音とを対応付けるテーブルを記憶する記憶手段と、前記センサにより検出された回転運動に基づいて各軸の各向きの回転運動に対応する音を前記記憶手段内のテーブルを参照して特定し、該特定された音を指定する音指定情報を生成する音指定情報生成手段とを有することを特徴とする。   The sound data generation device according to the present invention includes a sensor that detects positive and negative rotational motions around a plurality of rotational axes, and the rotational motion of each rotational axis and the sound that constitutes a musical scale. And a storage means for storing a table for associating the sound, and a sound corresponding to the rotational motion in each direction of each axis based on the rotational motion detected by the sensor is identified with reference to the table in the storage means, and the identified Sound specifying information generating means for generating sound specifying information for specifying the sound.

本発明に係る方向センシング発音楽器は、上記のいずれかに記載の音データ生成装置と、前記音階を構成する音のデータを記憶する第2の記憶手段と、前記音指定情報により指定された音に対応する音のデータを前記第2の記憶手段から読み出し、該読出した音のデータに基づいて発音する発音手段とを有することを特徴とする。 Direction Sensing pronunciation musical instrument according to the present invention comprises a sound data generating apparatus according to any one of the, second storage means for storing data of a sound constituting the scale, the sound designated by the sound specifying information Sound data corresponding to the sound is read from the second storage means, and sound generation means for generating sound based on the read sound data is provided.

本発明に係る音データ生成装置および方向センシング発音楽器によれば、動きに対応して多様な音階の音を生成可能である。   According to the sound data generating device and the direction sensing sounding musical instrument according to the present invention, it is possible to generate sounds of various scales corresponding to the movement.

実施形態の説明に入る前に、「ペンタトニックスケール(五音音階)」について説明する。ペンタトニックスケールとは、長音階(ドレミファソラシド)から「ファ」と「シ」を抜いた音階、すなわち、ドレミソラからなる音階である。ペンタトニックスケールを用いれば、どのような音の順序で発音しても調子はずれにならず、終わりのない流れるような音楽が奏でられることが知られている。   Prior to the description of the embodiment, the “pentatonic scale” will be described. The pentatonic scale is a scale obtained by removing “fa” and “si” from a major scale (doremifasolaside), that is, a scale composed of dremisola. It is known that if the pentatonic scale is used, it will not be out of tune regardless of the order in which the sound is played, and it will be possible to play music that flows endlessly.

以下、図面を参照しつつ、本発明を実施する際の最良の形態について説明する。
(A;構成)
本発明に係る方向センシング発音楽器1の構成について説明する。図1に示すように、方向センシング発音楽器1は、本体2とセンサ3の組み合わせで構成される。
Hereinafter, the best mode for carrying out the present invention will be described with reference to the drawings.
(A: Configuration)
The configuration of the direction sensing sounding instrument 1 according to the present invention will be described. As shown in FIG. 1, the direction sensing sounding instrument 1 includes a combination of a main body 2 and a sensor 3.

(A−1;センサ3の構成)
図2は、センサ3の外観を示す。図示するように、センサ3の筐体3aは略直方体の形状であり、リストバンド3bにより手首に巻き付けられるようになっている。
センサ3の内部構成を、図3を参照して説明する。センサ3において、制御部30と加速度センサ31と送信部32とは、バスで接続されており、それらの構成は図2に示す筐体3aに収められている。
(A-1: Configuration of sensor 3)
FIG. 2 shows the external appearance of the sensor 3. As shown in the figure, the casing 3a of the sensor 3 has a substantially rectangular parallelepiped shape and is wound around the wrist by a wristband 3b.
The internal configuration of the sensor 3 will be described with reference to FIG. In the sensor 3, the control unit 30, the acceleration sensor 31, and the transmission unit 32 are connected by a bus, and their configurations are housed in a housing 3a shown in FIG.

加速度センサ31は、3軸の加速度センサである。すなわち、加速度センサ31には、軸方向の加速度を検出する3つのセンサ(以下、各センサをSx、Sy、Szと呼ぶ)が含まれており、各センサの軸が図2に示すx、y、z軸方向となるように設けられている。各センサSx、Sy、Szは、各時刻において、図2に示したx、y、z軸の方向の加速度(それぞれ、αx、αy、αzと表す)を検出し、その加速度を表す数値データを生成・出力する。以下、該加速度を示す数値データを「加速度データ」と呼び、以下では、具体的にデータの内容を示す場合には、x、y、z軸それぞれの方向の加速度の値を用いて、(αx、αy、αz)のように表す。 The acceleration sensor 31 is a triaxial acceleration sensor. That is, the acceleration sensor 31 includes three sensors (hereinafter referred to as S x , S y , and S z ) that detect axial acceleration, and the axes of the sensors are shown in FIG. It is provided so as to be in the x-, y-, and z-axis directions. Each sensor S x , S y , S z detects the acceleration in the x-, y-, and z-axis directions (represented as α x , α y , α z , respectively) shown in FIG. Generate and output numerical data representing acceleration. Hereinafter, the numerical data indicating the acceleration will be referred to as “acceleration data”. In the following, when the contents of the data are specifically shown, the values of acceleration in the x, y, and z axis directions are used as (α x , α y , α z ).

制御部30は、CPU(Central Processing Unit)とROM(Read Only Memory)とRAM(Random Access Memory)とを含む。CPUは、RAMをワーキングエリアとして、ROMに格納された制御プログラムを実行する。
送信部32は、上記加速度センサ31が生成した加速度データを、所定時間(本実施形態では5ミリ秒)ごとに、電波などの無線信号として本体2に出力する。
The control unit 30 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). The CPU executes a control program stored in the ROM using the RAM as a working area.
The transmission unit 32 outputs the acceleration data generated by the acceleration sensor 31 to the main body 2 as a radio signal such as a radio wave every predetermined time (5 milliseconds in the present embodiment).

(A−2;本体2の構成)
次に、本体2の構成を、図4を参照して説明する。本体2において、制御部20と受信部21と音源22と出力部23とは、バスで接続されており、出力部23にはスピーカ24が接続されている。
(A-2: Configuration of the main body 2)
Next, the configuration of the main body 2 will be described with reference to FIG. In the main body 2, the control unit 20, the reception unit 21, the sound source 22, and the output unit 23 are connected by a bus, and a speaker 24 is connected to the output unit 23.

受信部21は、センサ3から送信される無線信号を受信し、受信した無線信号が表すデータを制御部20に出力する。
制御部20は、CPUとROMとRAMとを含む。CPUは、RAMをワーキングエリアとして、ROMに格納された制御プログラムを実行する。制御部20は、センサ3から受信する加速度データに基づいて音を発音させるための処理を行う。
The receiving unit 21 receives a radio signal transmitted from the sensor 3 and outputs data represented by the received radio signal to the control unit 20.
The control unit 20 includes a CPU, a ROM, and a RAM. The CPU executes a control program stored in the ROM using the RAM as a working area. The control unit 20 performs a process for generating a sound based on the acceleration data received from the sensor 3.

ROMには、制御プログラムに加え、「音階名称対応テーブル」が格納されている。音階名称対応テーブルとは、上記センサ3が動かされた軸方向及びその向きと、音階の名称とを対応付けるテーブルである。   The ROM stores a “scale name correspondence table” in addition to the control program. The scale name correspondence table is a table that associates the axial direction and direction in which the sensor 3 is moved with the name of the scale.

図5に、音階名称対応テーブルの一例を示す。同図に示すように、音階名称対応テーブルにおいては、センサ3が動かされた軸方向(軸x、y、z)および、該軸方向の向き(正または負)の組み合わせに対して音階の名称が1つ対応付けられている。各音階は、ペンタトニックスケールに含まれる5つの音階のうちの1つの音にそれぞれ対応する。なお、z軸方向の正の向きに対応付けられている「レ」は、z軸方向の負の向きに対応付けられている「レ」よりも1オクターブ高い音である。   FIG. 5 shows an example of the scale name correspondence table. As shown in the figure, in the scale name correspondence table, the scale name for the combination of the axial direction (axis x, y, z) in which the sensor 3 is moved and the direction (positive or negative) in the axial direction. Is associated with one. Each scale corresponds to one of the five scales included in the pentatonic scale. Note that “re” associated with the positive direction in the z-axis direction is a sound one octave higher than “re” associated with the negative direction in the z-axis direction.

音源22は、上述したペンタトニックスケールに対応する各音について、所定時間長の音を表す波形データを記憶する。
出力部23は、D/Aコンバータとアンプとを有する。D/Aコンバータは、受取った波形データをアナログの音信号へ変換する。アンプは、該音信号の振幅を調整する。
スピーカ24は、出力部23から供給される音信号に基づき、放音する。
The sound source 22 stores waveform data representing a sound of a predetermined time length for each sound corresponding to the above-described pentatonic scale.
The output unit 23 includes a D / A converter and an amplifier. The D / A converter converts the received waveform data into an analog sound signal. The amplifier adjusts the amplitude of the sound signal.
The speaker 24 emits sound based on the sound signal supplied from the output unit 23.

(B;動作)
次に、上記の構成を有する方向センシング発音楽器1の動作について説明する。
センサ3は、リストバンド3bにより筐体3aがユーザの手首に装着される。ユーザは、手首を回したり振ったりして、センサ3を3次元的に所望の態様で動かす。
(B: Operation)
Next, the operation of the direction sensing sounding instrument 1 having the above configuration will be described.
As for the sensor 3, the housing | casing 3a is mounted | worn with a wrist of a user with the wristband 3b. The user moves the sensor 3 in a desired manner three-dimensionally by turning or shaking the wrist.

(B−1;制御部30(センサ3)の処理内容)
センサ3の処理内容を説明する。センサ3がユーザにより動かされると、加速度センサ31は、各軸方向の加速度を表す加速度データを逐次生成する。該加速度データは、送信部32を介して無線信号として本体2に送信される。なお、加速度データは、5ミリ秒ごとにその時点での値が書き込まれ送信される。
(B-1: Processing contents of control unit 30 (sensor 3))
The processing contents of the sensor 3 will be described. When the sensor 3 is moved by the user, the acceleration sensor 31 sequentially generates acceleration data representing the acceleration in each axis direction. The acceleration data is transmitted to the main body 2 as a radio signal via the transmission unit 32. As the acceleration data, the value at that time is written and transmitted every 5 milliseconds.

例えば、センサ3の筐体3aが、ある時刻(以下、時刻T1)において、単位ベクトルu(本実施形態では、u=(3/13、−4/13、12/13))の方向に大きさ|α|(本実施形態では、|α|=13)の加速度で動かされたとする。その場合、加速度センサ31の各軸のセンサSx、Sy、Szにより検出される加速度は、それぞれαx=3、αy=−4、αz=12となる。加速度データには、これら3軸方向の加速度の値が書き込まれる。 For example, the housing 3a of the sensor 3 is large in the direction of the unit vector u (in this embodiment, u = (3/13, −4/13, 12/13)) at a certain time (hereinafter, time T1). It is assumed that it is moved with an acceleration of | α | (in this embodiment, | α | = 13). In that case, the accelerations detected by the sensors S x , S y , and S z of each axis of the acceleration sensor 31 are α x = 3, α y = −4, and α z = 12, respectively. In the acceleration data, acceleration values in these three axis directions are written.

(B−2;制御部20(本体2)の処理内容)
次に、本体2の処理内容を、図6に示すフローチャートに従って説明する。本体2の受信部21は、センサ3から加速度データを受信し、制御部20に出力する。ステップSA10において、制御部20は加速度データを受信する。制御部20は、受信した加速度データをRAMに書き込むと共に、以下の処理を実行する。
(B-2: Processing contents of the control unit 20 (main body 2))
Next, the processing content of the main body 2 will be described according to the flowchart shown in FIG. The receiving unit 21 of the main body 2 receives acceleration data from the sensor 3 and outputs it to the control unit 20. In step SA10, the control unit 20 receives acceleration data. The control unit 20 writes the received acceleration data in the RAM and executes the following processing.

メディアンフィルタ処理(ステップSA20)
制御部20は、受取った加速度データの各軸ごとのデータについて以下の処理を行う。制御部20は、各時刻(本実施形態では5ミリ秒ごと)のデータにおいて隣接する前後の所定長の区間(例えば5つのデータ)における加速度を求め、その加速度を小さい順に並べ、メディアン(中央の値)をその時刻の加速度とする。本処理がなされることにより、各軸の加速度の値が、時間的に滑らかに変化するように加工される。
Median filter processing (step SA20)
The control unit 20 performs the following process on the data for each axis of the received acceleration data. The control unit 20 obtains acceleration in a predetermined length section (for example, five data) adjacent to each other at each time (in this embodiment, every 5 milliseconds), arranges the accelerations in ascending order, and sets the median (center Value) is the acceleration at that time. By performing this processing, the acceleration value of each axis is processed so as to change smoothly with time.

DCオフセット処理(ステップSA30)
制御部30は、各軸ごとの加速度データから、直流成分(DC)を取り除くDCオフセット処理を施す。加速度センサ31には定常的に重力が働いており、加速度センサ31が生成する加速度データには、該重力に由来する加速度成分が直流成分として含まれている。
方向センシング発音楽器1は、センサ3に働く加速度のうち、センサ3がユーザにより動かされたことに由来する加速度成分のみに基づいて音を発することを意図していることから、このように重力加速度による加速度成分を取り除く処理を行う。
DC offset processing (step SA30)
The control unit 30 performs DC offset processing for removing a direct current component (DC) from the acceleration data for each axis. Gravity is constantly acting on the acceleration sensor 31, and the acceleration data generated by the acceleration sensor 31 includes an acceleration component derived from the gravity as a DC component.
Since the directional sensing sounding instrument 1 is intended to emit a sound based only on an acceleration component derived from the fact that the sensor 3 is moved by the user among the acceleration acting on the sensor 3, the gravitational acceleration is thus performed. The process which removes the acceleration component by is performed.

ローパスフィルタ(以下、LPF)処理(ステップSA40)
制御部20は、各軸ごとの加速度データを、LPF(所定の周波数以下の成分のみを通し、高周波数成分を除去するフィルタ)により処理する。該処理により、各軸ごとの加速度データに含まれるノイズ成分を除去することができる。
Low-pass filter (hereinafter LPF) processing (step SA40)
The control unit 20 processes the acceleration data for each axis by LPF (a filter that passes only components below a predetermined frequency and removes high frequency components). By this processing, noise components included in the acceleration data for each axis can be removed.

以上のステップSA20ないしステップSA40の処理は、加速度データについて各軸ごとに処理を行い、加速度データを加工する処理である。以下のステップSA50以降では、上記処理により加工した加速度データについて、各時刻ごとに処理を行う。   The processing from step SA20 to step SA40 is processing for processing the acceleration data by processing the acceleration data for each axis. In step SA50 and subsequent steps, the acceleration data processed by the above processing is processed at each time.

ピーク検出処理(ステップSA50)
制御部20は、センサ3に働く加速度の大きさ(絶対値)が極大となる時刻を特定する。具体的には、制御部20は、各時刻におけるセンサ3の加速度αの大きさを、以下の式に従って算出する。
|α|=(αx 2+αy 2+αz 21/2
Peak detection process (step SA50)
The control unit 20 specifies the time at which the magnitude (absolute value) of acceleration acting on the sensor 3 becomes maximum. Specifically, the control unit 20 calculates the magnitude of the acceleration α of the sensor 3 at each time according to the following equation.
| Α | = (α x 2 + α y 2 + α z 2 ) 1/2

制御部20は、順次算出されるセンサ3の加速度の大きさから、加速度が極大となる時刻を特定する。具体的には、ステップSA50において生成された加速度の大きさの経時的変化を表す曲線において、各時刻における傾き(微分値)が正から負に転ずる時刻を特定する。以下では、該特定された時刻(以下、ピーク時刻)のそれぞれについて、ステップSA60ないしステップSA90の処理を行う。   The control unit 20 specifies the time at which the acceleration is maximum from the magnitude of the acceleration of the sensor 3 that is sequentially calculated. Specifically, the time at which the slope (differential value) at each time turns from positive to negative is specified in the curve representing the change over time in the magnitude of the acceleration generated in step SA50. In the following, the processing from step SA60 to step SA90 is performed for each of the specified times (hereinafter referred to as peak times).

制御部20は、6軸分離処理を行う。6軸分離処理は、軸方向チェック処理と軸方向の向きチェック処理に大別される。   The control unit 20 performs a 6-axis separation process. The six-axis separation process is roughly divided into an axial direction check process and an axial direction check process.

軸方向チェック処理(ステップSA60)
制御部20は、上記ステップSA50において特定された各ピーク時刻において、いずれの軸方向の加速度の大きさが最大であるか、すなわちセンサ3がおよそいずれの軸方向で移動しているかを特定する。
Axial direction check processing (step SA60)
The control unit 20 specifies in which axial direction the magnitude of the acceleration is maximum, that is, in which axial direction the sensor 3 is moving at each peak time specified in step SA50.

具体的には、制御部20は、ピーク時刻における各軸方向の加速度の絶対値を算出する。そして、算出結果が最大となる軸方向を特定する。本実施形態においては、上記時刻T1において、x、y、z軸の方向の加速度は、それぞれαx=3、αy=−4、αz=12であるため、各軸についての算出結果(絶対値)は、|αx|=3、|αy|=4、|αz|=12となる。従って、時刻T1においては「z軸」が特定される。このことは、時刻T1において、センサ3はおよそz軸の方向で加速していることを示す。 Specifically, the control unit 20 calculates the absolute value of the acceleration in each axial direction at the peak time. Then, the axial direction that maximizes the calculation result is specified. In the present embodiment, at time T1, the accelerations in the x, y, and z axis directions are α x = 3, α y = −4, and α z = 12, respectively. (Absolute value) is | α x | = 3, | α y | = 4, and | α z | = 12. Therefore, the “z-axis” is specified at time T1. This indicates that at time T1, the sensor 3 is accelerating approximately in the z-axis direction.

軸方向の向きチェック処理(ステップSA70)
制御部20は、上記軸方向チェック処理(ステップSA60)において特定された軸方向の加速度の正負(加速の向き)を判定し、加速度の値が正である場合は軸の正の向き、負である場合には軸の負の向きに加速していると特定する。上記の例においては、z軸における加速度(αz=12)は正の値であるため、z軸において「正の向き」が特定される。
以上のように、6軸分離処理が各ピーク時刻について実行され、軸方向およびその向きが特定される。
Axial direction check processing (step SA70)
The control unit 20 determines the positive / negative (acceleration direction) of the acceleration in the axial direction specified in the axial direction check process (step SA60). If the acceleration value is positive, the positive direction of the axis is negative. In some cases, it is specified that the axis is accelerating in the negative direction. In the above example, since the acceleration (α z = 12) on the z axis is a positive value, the “positive direction” is specified on the z axis.
As described above, the 6-axis separation process is executed for each peak time, and the axial direction and the direction thereof are specified.

ステップSA80において、制御部20は、ROMに書き込まれた音階名称対応テーブルを参照し、各ピーク時刻において特定された軸方向およびその向きと対応付けられた音階の名称を選択する。上記の例においては、z軸方向の正の向きと対応付けられた音階の名称として、階名「レ」を選択する。制御部20は、選択された音階に対応する波形データを音源22から読み出し、出力部23に出力する。   In step SA80, the control unit 20 refers to the scale name correspondence table written in the ROM, and selects the scale name associated with the axial direction and the direction specified at each peak time. In the above example, the floor name “R” is selected as the scale name associated with the positive direction in the z-axis direction. The control unit 20 reads waveform data corresponding to the selected scale from the sound source 22 and outputs it to the output unit 23.

ステップSA90において、読み出された波形データに基づく放音が行われる。具体的には、音源22から読み出された波形データは、出力部23において、D/Aコンバータによりアナログの音信号へ変換され、アンプにより該音信号の振幅が調整される。そして、該音信号は、出力部23から供給される音信号に基づきスピーカ24から放音される。なお、上述したようにROMに格納された波形データは所定時間長の音を表す波形データであるため、読み出された波形データに基づいて上記所定時間長の発音がなされる。
以上で、本体2における処理は終了する。
In step SA90, sound emission based on the read waveform data is performed. Specifically, the waveform data read from the sound source 22 is converted into an analog sound signal by the D / A converter in the output unit 23, and the amplitude of the sound signal is adjusted by the amplifier. The sound signal is emitted from the speaker 24 based on the sound signal supplied from the output unit 23. As described above, since the waveform data stored in the ROM is waveform data representing a sound having a predetermined time length, the sound having the predetermined time length is generated based on the read waveform data.
Thus, the process in the main body 2 ends.

(B−3;動作のまとめ)
以上に説明したように、方向センシング発音楽器1において、センサ3には3軸の加速度センサが設けられており、各軸方向でそれぞれ正の向きおよび負の向きの動きが検知されることから、計6通りの動きが検知される。そして、該6通りの動きに対して、それぞれ異なる音が割り当てられている。その結果、センサ3が3次元で動かされると、該動きに応じて6通りの音が発音される。
6通りの音を用いれば、多様な旋律を奏でることが可能である。更には、該6通りの音は、ペンタトニックスケールを構成する音の組み合わせであることから、センサ3がどのように動かされたとしても、生成される音の旋律は聴いて心地よい音のつながりとなる。
(B-3; Summary of operation)
As described above, in the direction sensing pronunciation musical instrument 1, the sensor 3 is provided with the triaxial acceleration sensor, and the movement in the positive direction and the negative direction is detected in each axial direction. A total of six movements are detected. Different sounds are assigned to the six movements. As a result, when the sensor 3 is moved in three dimensions, six sounds are generated according to the movement.
Using six different sounds, it is possible to play a variety of melody. Furthermore, since the six sounds are combinations of sounds constituting a pentatonic scale, the melody of the generated sound becomes a comfortable sound connection regardless of how the sensor 3 is moved. .

(C;変形例)
以上、本発明の実施形態について説明したが、本発明は以下のように種々の態様で実施することができる。なお、以下に説明する種々の実施形態を、適宜組み合わせて実施することも可能である。
(C: Modification)
As mentioned above, although embodiment of this invention was described, this invention can be implemented with a various aspect as follows. Note that various embodiments described below can be implemented in appropriate combination.

(1)上記実施形態においては、センサ3に、3軸のセンサ(センサSx、Sy、Sz)が互いに直交して設けられた加速度センサ31を設ける場合について説明したが、3軸のセンサSx、Sy、Szを互いに直交させずに設けても良い。また、設けられる軸の数は、3軸ではなく2軸、および4軸以上でも良い。
例えば、上記実施形態におけるx−y平面において、12個の加速度センサを互いに15°ずつ角度をずらして設け、各センサの軸方向について正負の向きを判別することによりx−y平面において24方向の加速度を判別し、z軸方向と併せることにより計48方向の加速度を検出するようにしても良い。
なお、そのような場合、設定された軸の数や軸の設定方向に応じた数の波形データを音源22に格納することが可能である。音階名称対応テーブルにおいては、該格納された波形データが表す音階の名称と該設けられた軸の方向および向きとを対応付けておけば良い。
(1) In the above embodiment, the case where the sensor 3 is provided with the acceleration sensor 31 in which the three-axis sensors (sensors Sx, Sy, Sz) are provided orthogonal to each other has been described, but the three-axis sensor Sx, Sy and Sz may be provided without being orthogonal to each other. Further, the number of axes provided may be two axes, not four axes, and four or more axes.
For example, in the xy plane in the above-described embodiment, twelve acceleration sensors are provided by shifting the angle by 15 ° from each other, and the positive and negative directions are discriminated in the xy plane by discriminating the positive and negative directions with respect to the axial direction of each sensor. The acceleration in a total of 48 directions may be detected by determining the acceleration and combining it with the z-axis direction.
In such a case, it is possible to store the number of waveform data corresponding to the number of set axes and the set direction of the axes in the sound source 22. In the scale name correspondence table, the scale name represented by the stored waveform data may be associated with the direction and direction of the provided axis.

(2)上記実施形態においては、方向センシング発音楽器1に、本体2とセンサ3が構造上分離して設けられている場合について説明した。しかし、本体2とセンサ3は単一の筐体に含まれていても良い。
その場合の方向センシング発音楽器5の構成を図7に示す。方向センシング発音楽器5は、制御部50と加速度センサ51と音源52と出力部53とスピーカ54とを有する。制御部50は、制御部20および制御部30の機能・構成を併せ有する。加速度センサ51と音源52と出力部53とスピーカ54とは、それぞれ加速度センサ31と音源22と出力部23とスピーカ24と同様の機能を有する。このように、方向センシング発音楽器5においては、本体2とセンサ3が有する構成を共通のバスに接続すると共に、送信部32および受信部21は設ける必要はない。
(2) In the above embodiment, the case where the main body 2 and the sensor 3 are separated from each other in the direction sensing sounding musical instrument 1 is described. However, the main body 2 and the sensor 3 may be included in a single housing.
FIG. 7 shows the configuration of the direction sensing sounding instrument 5 in that case. The direction sensing sounding instrument 5 includes a control unit 50, an acceleration sensor 51, a sound source 52, an output unit 53, and a speaker 54. The control unit 50 has the functions and configurations of the control unit 20 and the control unit 30 together. The acceleration sensor 51, the sound source 52, the output unit 53, and the speaker 54 have the same functions as the acceleration sensor 31, the sound source 22, the output unit 23, and the speaker 24, respectively. Thus, in the direction sensing sounding instrument 5, the configuration of the main body 2 and the sensor 3 is connected to the common bus, and the transmission unit 32 and the reception unit 21 do not need to be provided.

(3)上記実施形態においては、方向センシング発音楽器1において、本体2にセンサ3が1つ設けられている場合について説明した。しかし、本体2に対してセンサ3を複数設けても良い。その場合、複数のセンサ3は、センサ3を互いに識別可能な識別子と共に加速度データを送信し、本体2は、各センサ3からの加速度データについて、それぞれ上述の実施形態と同様の処理を行い、それぞれについて読み出された波形データに基づいて発音しても良い。このようにすると、複数の音を同時に発音して和音を奏することが可能となる。 (3) In the above embodiment, the case where the sensor 2 is provided in the main body 2 in the direction sensing sounding instrument 1 has been described. However, a plurality of sensors 3 may be provided for the main body 2. In that case, the plurality of sensors 3 transmit acceleration data together with an identifier that allows the sensors 3 to be distinguished from each other, and the main body 2 performs the same processing as in the above-described embodiment on the acceleration data from each sensor 3, respectively. You may sound based on the waveform data read about. In this way, it is possible to produce a chord by simultaneously producing a plurality of sounds.

(4)上記実施形態においては、軸方向チェック処理(ステップSA60)および軸方向の向きチェック処理(ステップSA70)により特定された軸方向および該軸方向の向きに基づいて、センサ3の運動状態を音と対応付ける場合について説明した。しかし、センサ3の運動状態を音に対応付けるためのパラメータは、軸方向および該軸方向の向きに限られるものではない。たとえば、以下の例のようにしても良い。
(例1)3次元空間をx=0、y=0、z=0の3つの平面で計8つの空間(以下、亜空間)に区切り、加速度データに基づいてセンサ3がいずれの亜空間の方向に向けて移動しているかを判定する。例えば、加速度データの各軸方向の成分(αx、αy、αz)について、正か負いずれであるかを判定し、その組み合わせから上記亜空間を特定する。ROMには8つの音階(例えば、長音階における「ド」から1オクターブ上の「ド」までの8つの音階)の音を表す波形データを書き込んでおくと共に、該8つの音階の名称と上記亜空間とを対応付ける音階名称対応テーブルを書き込んでおく。そして、センサ3が動かされると、該動きに基づいて生成された加速度データからいずれかの亜空間を特定し、音階名称対応テーブルにおいて該特定された亜空間に対応付けられた音階の音を表す波形データが読み出されるようにしても良い。図8には、その場合の音階名称対応テーブルを示す。例えば、センサ3が(3、2、−7)の加速度で動かされた場合、αx>0、αy>0、αz<0であることから、「レ」を表す波形データが読み出され、発音される。
(4) In the above embodiment, the movement state of the sensor 3 is determined based on the axial direction specified by the axial direction check process (step SA60) and the axial direction check process (step SA70) and the axial direction. The case of associating with sound has been described. However, the parameters for associating the motion state of the sensor 3 with the sound are not limited to the axial direction and the direction in the axial direction. For example, the following example may be used.
(Example 1) A three-dimensional space is divided into a total of eight spaces (hereinafter referred to as subspaces) by three planes of x = 0, y = 0, and z = 0, and the sensor 3 is in any subspace based on acceleration data. Determine if you are moving in the direction. For example, it is determined whether the component (α x , α y , α z ) in each axial direction of the acceleration data is positive or negative, and the subspace is specified from the combination. In the ROM, waveform data representing sounds of eight scales (for example, eight scales from “do” in the major scale to “do” one octave above) are written, and the names of the eight scales and the subspace described above are written. Is stored in the scale name correspondence table. When the sensor 3 is moved, any subspace is identified from the acceleration data generated based on the movement, and the sound of the scale associated with the identified subspace is represented in the scale name correspondence table. Waveform data may be read out. FIG. 8 shows a scale name correspondence table in that case. For example, when the sensor 3 is moved at an acceleration of (3, 2, -7), since α x > 0, α y > 0, and α z <0, the waveform data representing “Re” is read out. And pronounced.

(例2)上記実施形態において、センサ3には加速度センサ31が設けられている場合について説明した。しかし、センサ3に設けられるセンサは加速度センサに限定されない。
例えば、上記実施形態の加速度センサ31に代えて、センサ3にジャイロを複数の(例えば3)軸方向に設けても良い。ジャイロとは、センサ3の回転速度を測定する装置である。ジャイロからは、時々刻々変化する回転速度が出力される。該回転速度から角度を計算し、該角度を足しあわせることにより最終的に回転した角度が算出可能である。このようなジャイロが複数の軸について設けられた場合、各回転軸について時計回り、反時計回りの回転を検出し、検出結果であるセンサ3の回転運動の状態を図5に示す音階名称対応テーブルに照らし合わせることにより6つの音を発音させることも可能である。
また、上記実施形態の加速度センサ31に代えて、3次元の動きを詳細に検出することが可能な以下のセンサ群を設けても良い。該センサ群には、例えばジャイロと加速度センサと磁気センサの組み合わせが可能である。加速度センサは、重力を検出するセンサである。該加速度センサは、センサ3が傾けられると重力を検出し、該重力に対応する信号を出力する。そこで、該加速度センサを2つ直交するように配置すると、水平面に対する傾斜角度を検出することが可能である。磁気センサは、方位磁石と同じように東西南北の方位を検出する。この場合、x軸、y軸、z軸の3次元方向のそれぞれに1つづつジャイロを配し、それとペアになるように、z軸方向に磁気センサ、x軸およびy軸方向に加速度センサを組み合わせる。そのように配されたセンサ群により出力される信号から、センサ3の運動を総合的に判断することにより、正確にセンサ3の運動を3次元的に検出することができる。音階名称対応テーブルには、上記センサ群により特定可能な運動状態と音階の名称とを対応付けておけば良い。
(Example 2) In the said embodiment, the case where the sensor 3 was provided with the acceleration sensor 31 was demonstrated. However, the sensor provided in the sensor 3 is not limited to the acceleration sensor.
For example, instead of the acceleration sensor 31 of the above embodiment, the sensor 3 may be provided with gyros in a plurality of (for example, three) axial directions. The gyro is a device that measures the rotational speed of the sensor 3. The gyro outputs a rotational speed that changes from moment to moment. By calculating the angle from the rotation speed and adding the angles, the finally rotated angle can be calculated. When such a gyro is provided for a plurality of axes, a clockwise and counterclockwise rotation is detected for each rotation axis, and the rotational movement state of the sensor 3 as a detection result is shown in the scale name correspondence table shown in FIG. It is also possible to generate six sounds by checking against
Further, instead of the acceleration sensor 31 of the above-described embodiment, the following sensor group capable of detecting a three-dimensional motion in detail may be provided. In the sensor group, for example, a combination of a gyroscope, an acceleration sensor, and a magnetic sensor is possible. The acceleration sensor is a sensor that detects gravity. The acceleration sensor detects gravity when the sensor 3 is tilted, and outputs a signal corresponding to the gravity. Therefore, if the two acceleration sensors are arranged so as to be orthogonal, it is possible to detect the inclination angle with respect to the horizontal plane. The magnetic sensor detects the direction of east, west, south, and north in the same manner as the compass. In this case, one gyro is arranged in each of the three-dimensional directions of the x-axis, y-axis, and z-axis, and a magnetic sensor in the z-axis direction and an acceleration sensor in the x-axis and y-axis directions are paired with each gyro. combine. By comprehensively determining the movement of the sensor 3 from the signals output by the sensor groups arranged in such a manner, the movement of the sensor 3 can be accurately detected three-dimensionally. In the scale name correspondence table, the motion state that can be specified by the sensor group and the name of the scale may be associated with each other.

(5)上記実施形態においては、ROMに6種類の音の波形データを格納しておく場合について説明した。しかし、そのような波形データの組みをROMに複数組み格納しておき、いずれかの組み合わせがユーザにより選択されるようにしても良い。その場合、各波形データの組みを、特定の楽器の音色を表す波形データの組み合わせとしておき、該組み合わせが選択されることにより、発音される音色(楽器)が選択されるようにしても良い。
また、音階名称対応テーブルにおいて、軸方向および軸方向の向きと音階の名称との対応関係をユーザにより適宜変更可能としても良い。
(5) In the above embodiment, the case where waveform data of six kinds of sounds is stored in the ROM has been described. However, a plurality of sets of such waveform data may be stored in the ROM, and any combination may be selected by the user. In that case, a set of waveform data may be set as a combination of waveform data representing the tone color of a specific instrument, and a tone color (musical instrument) to be sounded may be selected by selecting the combination.
In the scale name correspondence table, the correspondence between the axial direction and the axial direction and the scale name may be appropriately changed by the user.

(6)上記実施形態においては、音源22に格納された波形データは6種類であり、該6種類の波形データはペンタトニックスケールをなす場合について説明した。しかし、音の組み合わせはペンタトニックスケールに限られるものではなく、他の音の組み合わせでも良い。例えば、日本の民謡や演歌にみられるヨナ抜き音階の音などでもよいし、ユーザにより選択された任意の5つの音でも良い。また、複数の楽器の音が組み合わされていても良い。要はどのような音の波形データの組み合わせでも良い。 (6) In the above embodiment, there are six types of waveform data stored in the sound source 22, and the six types of waveform data have been described as having a pentatonic scale. However, the sound combination is not limited to the pentatonic scale, and other sound combinations may be used. For example, it may be a Japanese folk song or a sound of a scale without Jonah found in Enka, or any five sounds selected by the user. Moreover, the sound of several musical instruments may be combined. In short, any combination of sound waveform data may be used.

(7)上記実施形態においては、同一の軸の正および負の向きに、互いに異なる音を割り当てる場合について説明した。しかし、軸の正および負の向きで、互いに同じ音を割り当てるようにしても良い。 (7) In the above embodiment, the case where different sounds are assigned to the positive and negative directions of the same axis has been described. However, the same sound may be assigned to each other in the positive and negative directions of the axis.

(8)上記実施形態においては、センサ3を例えば単振動させた場合、その振動の1周期には、加速度の大きさが極大となる時刻が2度訪れることから、2回発音がなされる。そこで、各軸の一方の向き(例えば正の向き)だけに音を割り当て、他方には割り当てないようにしても良い。そのようにすれば、同じようにセンサ3を単振動させた場合、その振動の1周期に1度だけ発音される。即ちセンサの運動の軸方向とその向きにおいて、発音させない運動の方向又はその向きを設定しても良い。 (8) In the above embodiment, when the sensor 3 is made to vibrate, for example, the time at which the magnitude of the acceleration reaches the maximum twice in one cycle of the vibration, the sound is generated twice. Therefore, sound may be assigned only to one direction of each axis (for example, positive direction) and not to the other. By doing so, when the sensor 3 is simply vibrated in the same manner, the sound is generated only once in one period of the vibration. That is, the direction of the motion or the direction in which the sound is not generated may be set in the axial direction and the direction of the motion of the sensor.

(9)上記実施形態において、地磁気の方向を検出する地磁気センサをセンサ3に更に設け、加速度センサ31による加速度の検出結果に加え、地磁気センサによって特定されたセンサ3の方位(東西南北)に基づいて発音内容を定めるようにしても良い。例えば図9に示すように、各加速度センサ31の軸方向およびその向きと、上記地磁気センサにより検出されたセンサ3の方位との組み合わせに対して音階の名称を対応付けた音階名称対応テーブルを参照するようにしても良い。図9に示す音階名称対応テーブルによれば、北を向いてz軸方向の正の向きにセンサ3を動かした場合には「ミ」が発音されるが、東を向いて同様にz軸方向の正の向きにセンサ3を動かした場合には「レ」が発音される。即ち4つの方位(東西南北)毎に異なるペンタトニックの音の組みを設定してもよい。 (9) In the above embodiment, the sensor 3 is further provided with a geomagnetic sensor for detecting the direction of geomagnetism. In addition to the acceleration detection result by the acceleration sensor 31, the direction of the sensor 3 specified by the geomagnetic sensor (east, west, north and south) The pronunciation content may be determined. For example, as shown in FIG. 9, a scale name correspondence table in which a scale name is associated with a combination of the axial direction and direction of each acceleration sensor 31 and the orientation of the sensor 3 detected by the geomagnetic sensor is referred to. You may make it do. According to the scale name correspondence table shown in FIG. 9, when the sensor 3 is moved in the positive direction in the z-axis direction toward the north, “mi” is pronounced, but in the z-axis direction in the same manner toward the east. When the sensor 3 is moved in the positive direction, “le” is pronounced. That is, a different pentatonic sound set may be set for each of the four directions (east, west, north, south).

(10)上記実施形態においては、3軸方向の正負の向き(6方向)にペンタトニックスケールの5音(ドレミソラ)の組み合わせの音を割り当てる場合について説明した。しかし、全ての方向に対して音を割り当てるようにはせず、1または複数の方向に対しては、音ではなく各種の音響効果を割り当てるようにしても良い。例えば、6方向のうち5方向には、上記ペンタトニックスケールに含まれる5音をそれぞれ割り当てると共に、残りの1方向には、例えばエコー効果を割り当て、エコー効果が割り当てられた方向にセンサ3が加速された直後の所定時間に発音される音にはエコー効果が付与されるとの制御がなされても良い。エコー効果の他にも、音量を大きくする処理、発音される音を1オクターブ上げたり下げたりする処理など各種の音響効果を割り当てても良い。 (10) In the above-described embodiment, a case has been described in which sounds of combinations of five pentatonic scale sounds (doremisora) are assigned to positive and negative directions (six directions) in three axes. However, instead of assigning sound to all directions, various sound effects may be assigned to one or more directions instead of sound. For example, five of the six directions are assigned to five sounds included in the pentatonic scale, and the remaining one direction is assigned an echo effect, for example, and the sensor 3 is accelerated in the direction in which the echo effect is assigned. Control may be performed such that an echo effect is applied to a sound that is pronounced at a predetermined time immediately after. In addition to the echo effect, various sound effects such as a process for increasing the volume and a process for raising or lowering the sound to be generated may be assigned.

(11)上記実施形態においては、ピーク検出処理(ステップSA50)において特定されたピーク時刻においてのみ発音がなされる場合について説明した。しかし、ピーク時刻以外の時刻においても発音がなされるようにしても良い。例えば、ピーク時刻に代えて、所定時間おきに、その時点で加速度が最大である軸方向および該軸方向の向きを特定する処理(軸方向チェック処理および軸方向の向きチェック処理に相当)を行い、該処理において特定された軸方向および該軸方向の向きと対応付けられた音階に対応する波形データを読み出して発音させるようにしても良い。
また、加速度の大きさが所定の閾値を越える期間に継続して発音がなされるようにしても良い。その場合、ステップSA50のピーク検出処理に代えて、加速度の大きさが閾値を越えている期間を特定する処理を行えば良い。そして、ステップSA90においては、ステップSA50において特定された期間に継続的に発音処理を行うようにすれば良い。このようにした場合、発音時間はユーザがセンサ3の加速度を上記閾値を越えるように維持した時間により決まるため、よりユーザが所望する音へと近づけることができる。
(11) In the above-described embodiment, a case has been described in which sound is generated only at the peak time specified in the peak detection process (step SA50). However, sound may be generated at times other than the peak time. For example, instead of the peak time, a process for specifying the axial direction in which the acceleration is maximum at that time and the direction of the axial direction (corresponding to the axial direction checking process and the axial direction checking process) is performed at predetermined time intervals. The waveform data corresponding to the axial direction specified in the processing and the scale associated with the direction of the axial direction may be read and sounded.
Further, the sound may be continuously generated during a period in which the magnitude of the acceleration exceeds a predetermined threshold. In this case, instead of the peak detection process in step SA50, a process for specifying a period during which the magnitude of acceleration exceeds the threshold value may be performed. In step SA90, sound generation processing may be performed continuously during the period specified in step SA50. In this case, since the sound generation time is determined by the time during which the user maintains the acceleration of the sensor 3 so as to exceed the threshold value, the sound can be made closer to the sound desired by the user.

(12)上記実施形態においては、ピーク検出処理(ステップSA50)において、加速度の大きさが極大となる時刻をピーク時刻として特定し、該時刻に発音がなされる場合について説明した。しかし、極大となる時刻に代えて、加速度の大きさが極小となる時刻、0となる時刻などを、加速度の大きさが極大となるピーク時刻に代えて特定しても良い。 (12) In the above embodiment, a case has been described in the peak detection process (step SA50) in which the time at which the magnitude of acceleration is maximized is specified as the peak time and a sound is generated at that time. However, instead of the time when the maximum is reached, the time when the magnitude of the acceleration is minimum, the time when it becomes 0, etc. may be specified instead of the peak time when the magnitude of the acceleration is maximum.

(13)上記実施形態においては、図2に示すように、センサ3はリストバンド3bにより手首に装着可能であり、手首を動かすことによりセンサ3が操作される場合について説明した。しかし、センサ3の構造および操作方法は、上述の態様に限られるものではない。例えば、足首や靴などに装着できるように径の大きなバンドを設けたり、接着剤などで所望の位置に貼付できるようにしたりしても良い。
また、上記実施形態においては、人間の動きに応じて音が発音される場合について説明したが、人間とは異なる対象(動物や物)にセンサ3を取り付けるようにしても良い。例えば風鈴や暖簾にセンサ3を取り付けても良く、そのようにすれば、風鈴が風に揺れた場合やお客さんが暖簾をくぐった際に、毎回異なった組み合わせで音が生成されるといった使用法が可能である。
(13) In the above embodiment, as shown in FIG. 2, the sensor 3 can be attached to the wrist by the wristband 3b, and the sensor 3 is operated by moving the wrist. However, the structure and operation method of the sensor 3 are not limited to the above-described embodiments. For example, a band having a large diameter may be provided so that it can be attached to an ankle or shoes, or can be attached to a desired position with an adhesive or the like.
Moreover, although the case where a sound was pronounced according to a human motion was demonstrated in the said embodiment, you may make it attach the sensor 3 to the object (animal or thing) different from a human. For example, the sensor 3 may be attached to a wind chime or a warm wind. In such a case, when the wind chime sways in the wind or when a customer goes through the warm wind, a sound is generated with a different combination each time. Is possible.

(14)上記実施形態においては、無線信号によりセンサ3から本体2へ加速度データを送信する場合について説明したが、伝送ケーブルなどによりセンサ3と本体2を接続し、有線により送信しても良い。 (14) In the above embodiment, the case where the acceleration data is transmitted from the sensor 3 to the main body 2 by a wireless signal has been described. However, the sensor 3 and the main body 2 may be connected by a transmission cable or the like, and may be transmitted by wire.

(15)上記実施形態においては、ステップSA20およびステップSA40において、各種のデータ処理を行う場合について説明した。それらの処理を行うのが好ましいが、行わないとしても良い。 (15) In the above embodiment, the case where various types of data processing are performed in step SA20 and step SA40 has been described. These processes are preferably performed, but may not be performed.

(16)上記実施形態においては、ピーク検出処理(ステップSA50)において、センサ3の加速度の大きさが極大となる時刻を特定する場合について説明した。その場合、加速度の大きさが極大となると共に、その極大値が所定のレベルを越えるとの条件も同時に満たす時刻を特定するようにしても良い。そのようにすれば、ユーザが発音させることを意識せずに、わずかにセンサ3が動いた場合にも発音されてしまうのを防ぐことが出来る。 (16) In the above embodiment, a case has been described in which the time at which the magnitude of the acceleration of the sensor 3 is maximized is specified in the peak detection process (step SA50). In that case, the time when the magnitude of the acceleration becomes maximum and the condition that the maximum value exceeds a predetermined level is also satisfied may be specified. By doing so, it is possible to prevent the sound from being pronounced even if the sensor 3 moves slightly without being conscious of the user making a sound.

(17)上記実施形態において、加速度センサ31が検出した加速度の大きさ(絶対値)に応じて音量を調整するなどしても良い。その場合、例えば、加速度の大きさが大きいほど出力部23のアンプに高い増幅率が設定されるようにすれば良い。 (17) In the above embodiment, the volume may be adjusted according to the magnitude (absolute value) of acceleration detected by the acceleration sensor 31. In that case, for example, a higher amplification factor may be set in the amplifier of the output unit 23 as the magnitude of acceleration increases.

(18)上記実施形態においては、センサ3に格納された加速度センサ31の向きを基準として、センサ3がいずれの方向に移動したか検出する場合について説明した。しかし、以下のように、空間の向き(重力の向き)を基準としたセンサ3の絶対的な移動方向を検出するようにしても良い。例えば、上記ステップSA30のDCオフセット処理において、各軸における加速度から取り除かれた重力加速度の成分に基づいて、センサ3の方向を基準とした重力の方向を特定することができ、該特定された重力の方向とセンサ3の加速度の方向とを比較することにより、空間におけるセンサ3の絶対的な移動方向を特定し、該特定された移動方向に基づいて発音がなされるようにしても良い。 (18) In the above-described embodiment, a case has been described in which the direction of the sensor 3 is detected with reference to the direction of the acceleration sensor 31 stored in the sensor 3. However, the absolute movement direction of the sensor 3 based on the direction of space (direction of gravity) may be detected as follows. For example, in the DC offset processing in step SA30, the direction of gravity with respect to the direction of the sensor 3 can be specified based on the gravity acceleration component removed from the acceleration in each axis, and the specified gravity The absolute direction of movement of the sensor 3 in the space may be identified by comparing the direction of the sensor 3 and the direction of acceleration of the sensor 3, and a sound may be generated based on the identified direction of movement.

(19)上記実施形態においては、本体2に出力部23およびスピーカ24が設けられており、センサ3の動きに応じて読み出された波形データが発音される場合について説明した。しかし、読み出された波形データをそのまま外部機器に出力するようにしても良い。その場合、外部機器との間でデータ通信を仲介する通信インタフェースを本体2に設けておけば良い。
また、上記実施形態においては、音を表すデータとして波形データを用いたが、波形データに代えてMIDIデータなどの音の種類を指定する音指定データをROMに格納しておき、該音指定データを読み出し外部機器に出力するようにしても良い。
(19) In the above embodiment, the case where the output unit 23 and the speaker 24 are provided in the main body 2 and the waveform data read according to the movement of the sensor 3 is generated has been described. However, the read waveform data may be directly output to an external device. In that case, the main body 2 may be provided with a communication interface that mediates data communication with an external device.
In the above embodiment, the waveform data is used as the data representing the sound. However, instead of the waveform data, sound specifying data for specifying the type of sound such as MIDI data is stored in the ROM, and the sound specifying data is stored. May be read out and output to an external device.

(20)上記実施形態においては、ステップSA20において、メディアンフィルタ処理を行う場合について説明した。しかし、メディアンフィルタ処理に代えて、移動平均処理を行っても良い。移動平均処理とは、ある時刻のデータを、該時刻の近傍に位置する所定数のデータの平均値で置き換えることにより、データを平滑化する処理である。上記実施形態においてこの方法を用いる場合には、例えば、所定時間(5ミリ秒)ごとのデータについて複数(例えば5つ)のデータの平均をとり、該平均値で中央の時刻のデータを置き換える処理を行っても良い。 (20) In the above embodiment, the case where the median filter process is performed in step SA20 has been described. However, a moving average process may be performed instead of the median filter process. The moving average process is a process of smoothing data by replacing data at a certain time with an average value of a predetermined number of data located in the vicinity of the time. When this method is used in the above-described embodiment, for example, a process of taking an average of a plurality (for example, five) of data for every predetermined time (5 milliseconds) and replacing the data at the central time with the average value May be performed.

(21)上記実施形態においては、ステップSA90において、読み出された波形データに基づいて上記所定時間の発音がなされる場合について説明した。しかし、発音時間は、波形データとして書き込まれた音の時間長に限定されるものではない。波形データを繰り返し読み出して発音することで任意の時間長発音することが可能であるが、例えばピーク時刻に発音を開始して、次のピーク時刻まで発音が継続されるようにしても良い。 (21) In the above-described embodiment, the case where the sound generation for the predetermined time is performed based on the read waveform data in step SA90 has been described. However, the sound generation time is not limited to the time length of the sound written as waveform data. The waveform data can be sounded for any length of time by repeatedly reading and sounding. For example, sounding may be started at a peak time and continued until the next peak time.

(22)上記実施形態においては、センサ3に加速度センサ31を設け、該加速度センサ31により検出されたセンサ3の加速度に基づいて発音がなされる場合について説明したが、発音がセンサ3の加速度以外のパラメータに基づいてなされるようにしても良い。例えば、加速度センサ31により出力される加速度データを各軸方向の成分について時間積分することにより算出される速度を表す速度データや、該速度を更に時間積分することにより算出される変位を表す変位データに基づいて発音がなされるようにしても良い。例えば、速度を例にとると、ある時刻におけるセンサ3の速度の向き(速度成分の符号)に基づいて発音される音が選択されるようにしても良いし、速度の大きさが所定の閾値を越える期間に発音がなされるようにするなどしても良い。 (22) In the above embodiment, the case where the sensor 3 is provided with the acceleration sensor 31 and the sound is generated based on the acceleration of the sensor 3 detected by the acceleration sensor 31 has been described. It may be made based on these parameters. For example, speed data representing a speed calculated by time-integrating acceleration data output from the acceleration sensor 31 with respect to components in each axis direction, or displacement data representing a displacement calculated by further time-integrating the speed. You may make it sound based on. For example, taking speed as an example, a sound that is sounded may be selected based on the direction of the speed of the sensor 3 at a certain time (the sign of the speed component), or the magnitude of the speed may be a predetermined threshold value. You may be allowed to pronounce during periods that exceed.

方向センシング発音楽器1の構成を示した図である。1 is a diagram showing a configuration of a direction sensing sounding instrument 1. FIG. センサ3の外観を示す図である。FIG. 3 is a diagram illustrating an appearance of a sensor 3. 方向センシング発音楽器1のセンサ3の構成を示す図である。It is a figure which shows the structure of the sensor 3 of the direction sensing pronunciation musical instrument 1. FIG. 方向センシング発音楽器1の本体2の構成を示す図である。FIG. 2 is a diagram illustrating a configuration of a main body 2 of a direction sensing sounding instrument 1. 実施形態に係る音階名称対応テーブルを示した図である。It is the figure which showed the scale name corresponding | compatible table which concerns on embodiment. 本体2が行う処理の内容を表すフローチャートである。It is a flowchart showing the content of the process which the main body 2 performs. 方向センシング発音楽器5の構成を示すブロック図である。3 is a block diagram showing a configuration of a direction sensing sounding instrument 5. FIG. 変形例(4)の例1に係る音階名称対応テーブルの一例である。It is an example of the scale name corresponding | compatible table which concerns on Example 1 of a modification (4). 変形例(9)に係る音階名称対応テーブルの一例である。It is an example of the scale name corresponding | compatible table which concerns on a modification (9).

符号の説明Explanation of symbols

1…方向センシング発音楽器、2…本体、3…センサ、5…方向センシング発音楽器、20…制御部、21…受信部、22…音源、23…出力部、24…スピーカ、30…制御部、31…加速度センサ、32…送信部、50…制御部、51…加速度センサ、52…音源、53…出力部、54…スピーカ DESCRIPTION OF SYMBOLS 1 ... Direction sensing sounding instrument, 2 ... Main body, 3 ... Sensor, 5 ... Direction sensing sounding instrument, 20 ... Control part, 21 ... Reception part, 22 ... Sound source, 23 ... Output part, 24 ... Speaker, 30 ... Control part, DESCRIPTION OF SYMBOLS 31 ... Acceleration sensor 32 ... Transmission part 50 ... Control part 51 ... Acceleration sensor 52 ... Sound source 53 ... Output part 54 ... Speaker

Claims (7)

複数の軸についての正の向きおよび負の向きの運動を検出するセンサと、
各軸の各向きと音階を構成する音とを対応付けるテーブルを記憶する記憶手段と、
前記センサにより検出された運動に基づいて各軸の各向きに対応する音を前記記憶手段内のテーブルを参照して特定し、該特定された音を指定する音指定情報を生成する音指定情報生成手段と
を有することを特徴とする音データ生成装置。
A sensor that detects positive and negative motion about multiple axes;
Storage means for storing a table associating each direction of each axis with the sound constituting the scale;
Sound specifying information for specifying sound corresponding to each direction of each axis based on the motion detected by the sensor with reference to a table in the storage means and generating sound specifying information for specifying the specified sound And a sound data generating device.
前記センサは、各軸方向の加速度を検出し、検出結果を表す加速度データを生成する加速度センサであり、
前記音指定情報生成手段は、前記センサにより生成された加速度データに基づいて、前記複数の軸から特定の軸および該特定された軸の向きを特定し、該特定内容と対応付けられた音を前記テーブルを参照して特定し、該特定された音を指定する音指定情報を生成する
ことを特徴とする請求項1に記載の音データ生成装置。
The sensor is an acceleration sensor that detects acceleration in each axis direction and generates acceleration data representing a detection result;
The sound designation information generation means specifies a specific axis and the direction of the specified axis from the plurality of axes based on the acceleration data generated by the sensor, and outputs a sound associated with the specific content. The sound data generation device according to claim 1, wherein the sound data generation device is specified with reference to the table, and generates sound specification information for specifying the specified sound.
前記音指定情報生成手段は、前記センサにより検出された加速度の大きさが極大となる時刻に前記音指定情報を出力することを特徴とする請求項2に記載の音データ生成装置。   The sound data generating apparatus according to claim 2, wherein the sound specifying information generating means outputs the sound specifying information at a time when the magnitude of acceleration detected by the sensor becomes a maximum. 前記音指定情報生成手段は、前記センサにより生成された加速度データから、加速度の絶対値が最大である軸および該特定された軸における加速度の向きを特定することを特徴とする請求項2または3に記載の音データ生成装置。   4. The sound designation information generation means specifies an axis having the maximum absolute value of acceleration and an acceleration direction on the specified axis from acceleration data generated by the sensor. The sound data generation device described in 1. 前記テーブルは、各軸の各向きとペンタトニックスケールを構成する音とを対応付けることを特徴とする請求項1ないし4のいずれかに記載の音データ生成装置。   5. The sound data generation apparatus according to claim 1, wherein the table associates each direction of each axis with sounds constituting a pentatonic scale. 複数の回転軸の周りの正の向きおよび負の向きの回転運動を検出するセンサと、
前記各回転軸の各向きの回転運動と音階を構成する音とを対応付けるテーブルを記憶する記憶手段と、
前記センサにより検出された回転運動に基づいて各軸の各向きの回転運動に対応する音を前記記憶手段内のテーブルを参照して特定し、該特定された音を指定する音指定情報を生成する音指定情報生成手段と
を有することを特徴とする音データ生成装置。
A sensor for detecting positive and negative rotational movement about a plurality of rotational axes;
Storage means for storing a table for associating the rotational motion of each direction of each rotary shaft with the sound constituting the scale;
Based on the rotational motion detected by the sensor, the sound corresponding to the rotational motion in each direction of each axis is identified with reference to the table in the storage means, and sound designation information for designating the identified sound is generated A sound data generating device comprising: sound specifying information generating means for
請求項1ないし6のいずれかに記載の音データ生成装置と、
前記音階を構成する音のデータを記憶する第2の記憶手段と、
前記音指定情報により指定された音に対応する音のデータを前記第2の記憶手段から読み出し、該読出した音のデータに基づいて発音する発音手段と
を有することを特徴とする方向センシング発音楽器。
The sound data generation device according to any one of claims 1 to 6,
Second storage means for storing data of a sound constituting the musical scale,
A direction sensing sounding instrument comprising: sounding means corresponding to the sound designated by the sound designating information from the second storage means, and sounding means for sounding based on the read sound data .
JP2007258942A 2007-10-02 2007-10-02 Sound data generation device and direction sensing pronunciation musical instrument Expired - Fee Related JP5082730B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007258942A JP5082730B2 (en) 2007-10-02 2007-10-02 Sound data generation device and direction sensing pronunciation musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007258942A JP5082730B2 (en) 2007-10-02 2007-10-02 Sound data generation device and direction sensing pronunciation musical instrument

Publications (2)

Publication Number Publication Date
JP2009086534A JP2009086534A (en) 2009-04-23
JP5082730B2 true JP5082730B2 (en) 2012-11-28

Family

ID=40659985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007258942A Expired - Fee Related JP5082730B2 (en) 2007-10-02 2007-10-02 Sound data generation device and direction sensing pronunciation musical instrument

Country Status (1)

Country Link
JP (1) JP5082730B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5088398B2 (en) * 2010-06-01 2012-12-05 カシオ計算機株式会社 Performance device and electronic musical instrument
JP6386331B2 (en) * 2013-11-05 2018-09-05 株式会社Moff Motion detection system, motion detection device, mobile communication terminal, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3430528B2 (en) * 1992-12-01 2003-07-28 ヤマハ株式会社 Tone control signal generator
JP3637802B2 (en) * 1999-03-23 2005-04-13 ヤマハ株式会社 Music control device
JP3636041B2 (en) * 2000-07-12 2005-04-06 ヤマハ株式会社 Pronunciation control system
JP4013806B2 (en) * 2003-03-27 2007-11-28 ヤマハ株式会社 Performance information input device
JP4019996B2 (en) * 2003-04-02 2007-12-12 ヤマハ株式会社 Control device

Also Published As

Publication number Publication date
JP2009086534A (en) 2009-04-23

Similar Documents

Publication Publication Date Title
US8609972B2 (en) Performance apparatus and electronic musical instrument operable in plural operation modes determined based on movement operation of performance apparatus
JP5712603B2 (en) Performance device and electronic musical instrument
JP5099176B2 (en) Performance device and electronic musical instrument
KR101189214B1 (en) Apparatus and method for generating musical tone according to motion
US8629344B2 (en) Input apparatus and recording medium with program recorded therein
JP5338794B2 (en) Performance device and electronic musical instrument
JP5067458B2 (en) Performance device and electronic musical instrument
JP6044099B2 (en) Attitude detection apparatus, method, and program
US20150356957A1 (en) Drumstick controller
JP5182655B2 (en) Electronic percussion instruments and programs
JP2013213946A (en) Performance device, method, and program
JP2007256736A (en) Electric musical instrument
JP2013040991A (en) Operator, operation method, and program
JP2013213744A (en) Device, method and program for detecting attitude
JP5082730B2 (en) Sound data generation device and direction sensing pronunciation musical instrument
JP5088398B2 (en) Performance device and electronic musical instrument
JP6111526B2 (en) Music generator
JP5402253B2 (en) Operation evaluation apparatus and program
JP2013044889A (en) Music player
WO2006050577A1 (en) Motion sensors in a hand-held button-field musical instrument
JP2012013725A (en) Musical performance system and electronic musical instrument
JP6098083B2 (en) Performance device, performance method and program
JP6098081B2 (en) Performance device, performance method and program
JP5402252B2 (en) Operation evaluation apparatus and program
JP5935399B2 (en) Music generator

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100820

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120508

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120703

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120807

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120820

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150914

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees