JP2008242285A - Performance device and program for attaining its control method - Google Patents
Performance device and program for attaining its control method Download PDFInfo
- Publication number
- JP2008242285A JP2008242285A JP2007085507A JP2007085507A JP2008242285A JP 2008242285 A JP2008242285 A JP 2008242285A JP 2007085507 A JP2007085507 A JP 2007085507A JP 2007085507 A JP2007085507 A JP 2007085507A JP 2008242285 A JP2008242285 A JP 2008242285A
- Authority
- JP
- Japan
- Prior art keywords
- tempo
- music
- exercise
- data
- cpu
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、演奏データを再生し、再生された演奏データのテンポに合わせて運動やダンスなどを行うときに使用される演奏装置およびその制御方法を実現するプログラムに関する。 The present invention relates to a performance apparatus used when playing performance data and performing exercise or dance in accordance with the tempo of the played performance data, and a program for realizing the control method thereof.
演奏データを再生し、再生された演奏データのテンポに合わせて運動やダンスなどを行うときに使用される演奏装置は、従来から知られている。 2. Description of the Related Art Conventionally, a performance apparatus used for reproducing performance data and performing exercise or dance in accordance with the tempo of the reproduced performance data is known.
このような演奏装置として、入力された条件に基づいて、ユーザの運動開始時点から終了時点に至るまでの目標脈拍数の時間的パターンを作成し、選択された音楽データの再生に合わせて運動を行ったときのユーザの脈拍数を検出し、前記目標脈拍数と前記検出された脈拍数との差およびユーザの運動テンポに基づいて、補正すべき音楽データのテンポを算出し、この算出されたテンポで、選択された音楽データのテンポを補正するようにしたものがある(たとえば、特許文献1参照)。 As such a performance device, based on the input conditions, a temporal pattern of a target pulse rate from the exercise start point to the end point of the user is created, and the exercise is performed in accordance with the reproduction of the selected music data. The user's pulse rate when detected is detected, and the tempo of the music data to be corrected is calculated based on the difference between the target pulse rate and the detected pulse rate and the user's exercise tempo. There is one in which the tempo of selected music data is corrected with the tempo (see, for example, Patent Document 1).
ところで、この従来の演奏装置では、ビート感のない曲や、倍のテンポなのか半分のテンポなのか判断し辛い曲であっても、選択された音楽データのテンポは、算出されたテンポで補正されるので、目標テンポに正確に近づいたテンポの音楽データが再生される。しかし、音楽データのテンポが目標テンポにいくら近づいたとしても、それを聴取するユーザにとっては、元の音楽データがテンポを判断し辛い曲である限り、再生された音楽データは相変わらず、テンポを判断し辛い。 By the way, with this conventional performance device, the tempo of the selected music data is corrected with the calculated tempo, even if it is a song that does not have a sense of beat or a song that is difficult to judge whether it is double or half tempo. As a result, music data having a tempo accurately approaching the target tempo is reproduced. However, no matter how close the tempo of the music data is to the target tempo, for the user who listens to it, as long as the original music data is a song for which it is difficult to determine the tempo, the reproduced music data will still be judged It ’s painful.
テンポを判断し辛い曲のテンポを、その聴取者に分からせるようにする装置として、再生中の楽音に合わせてメトロノーム音を再生するようにした電子楽器がある(たとえば、特許文献2参照)。
しかし、上記従来の電子楽器では、メトロノーム音は、ユーザの操作に応じて発音状態と消音状態とが切り替わるだけであり、テンポを判断し辛い曲についてのみ、自動的に鳴らすことはできなかった。また、メトロノーム音は、演奏の歩調を合わせるために鳴らすものであり、運動やダンスを行う際のテンポを知らせるために鳴らすものではなかった。したがって、この従来の電子楽器を、運動やダンスなどを行うときに使用される演奏装置に適用した場合には、メトロノーム音を鳴らすかどうかを、運動やダンスを行う前に、あるいは、運動やダンス中に、一々選択指定する必要があり、運動やダンス時には、煩わしくて利用できなかった。 However, in the above-described conventional electronic musical instrument, the metronome sound is simply switched between the sound generation state and the mute state in accordance with the user's operation, and cannot be automatically played only for a song whose tempo is difficult to judge. Also, the metronome sound is played to keep pace with the performance, not to inform the tempo when performing exercise or dance. Therefore, when this conventional electronic musical instrument is applied to a performance device that is used when exercising or dancing, whether or not the metronome sound is sounded before or after exercising or dancing. During the exercise and dance, it was bothersome and unavailable.
本発明は、この点に着目してなされたものであり、運動やダンスなどを行っているときに、テンポを判断し辛い曲が再生されたとしても、ユーザはその曲に合わせて運動やダンスなどを行うことが可能となる演奏装置およびその制御方法を実現するプログラムを提供することを目的とする。 The present invention has been made paying attention to this point, and even if a song that is difficult to judge when the tempo is played while exercising or dancing, the user can exercise or dance according to the song. An object of the present invention is to provide a performance apparatus that can perform the above and the like and a program that realizes the control method thereof.
上記目的を達成するため、請求項1に記載の演奏装置は、演奏データの音楽テンポを取得する音楽テンポ取得手段と、前記演奏データを再生する再生手段と、ユーザが行う反復運動の運動テンポを検出する運動テンポ検出手段と、前記音楽テンポ取得手段によって取得された音楽テンポと前記運動テンポ検出手段によって検出された運動テンポとの差が所定の値より大きい場合には、前記取得された音楽テンポで、前記再生手段によって再生された演奏データの拍に合わせて、ガイド音を発音させる一方、前記取得された音楽テンポと前記検出された運動テンポとの差が前記所定の値以下である場合には、前記ガイド音を発音させないように制御する制御手段とを有することを特徴とする。
In order to achieve the above object, a performance device according to
また、請求項2に記載の演奏装置は、請求項1の演奏装置において、前記反復運動の停止を検出する運動停止検出手段をさらに有し、前記制御手段は、前記運動停止検出手段によって前記反復運動の停止が検出されたときには、前記ガイド音を発音させないように制御することを特徴とする。
The performance device according to
上記目的を達成するため、請求項3に記載のプログラムは、請求項1と同様の技術的思想によって実現できる。
In order to achieve the above object, the program according to
請求項1または3に記載の発明によれば、取得された音楽テンポと検出された運動テンポとの差が所定の値より大きい場合には、前記取得された音楽テンポで、再生された演奏データの拍に合わせて、ガイド音が発音されるので、運動やダンスなどを行っているときに、テンポを判断し辛い曲が再生されたとしても、ユーザはその曲に合わせて運動やダンスなどを行うことが可能となる。また、一旦ガイド音が発音されたとしても、前記取得された音楽テンポと前記検出された運動テンポとの差が前記所定の値以下になれば、そのガイド音は発音されなくなる。つまり、音楽テンポから運動テンポがすれたときにのみ、自動的にガイド音が発音されるので、ユーザは、運動やダンスなどを行っているときに、ボタンなどの操作をすることなく、音楽テンポに合った運動を継続して行うことができる。 According to the first or third aspect of the present invention, when the difference between the acquired music tempo and the detected exercise tempo is larger than a predetermined value, the performance data reproduced at the acquired music tempo Since the guide sound is pronounced according to the beat of the song, even if a tune that is difficult to judge is played while exercising or dancing, the user can do exercise or dance according to the song. Can be done. Even if a guide sound is once generated, if the difference between the acquired music tempo and the detected exercise tempo is equal to or less than the predetermined value, the guide sound is not generated. In other words, since the guide sound is automatically generated only when the exercise tempo deviates from the music tempo, the user can operate the music tempo without operating buttons or the like during exercise or dance. You can continue to exercise that suits your needs.
請求項2に記載の発明によれば、ユーザの反復運動の停止が検出されたときには、前記ガイド音は発音されなくなるので、ユーザにとっては、運動を故意に止めたときでもガイド音が発音されるという煩わしさが解消される。 According to the second aspect of the present invention, when the stop of the repetitive motion of the user is detected, the guide sound is not sounded, so that the user can sound the guide sound even when the motion is intentionally stopped. The annoyance is eliminated.
以下、本発明の実施の形態を図面に基づいて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の一実施の形態に係る演奏装置を適用した携帯型音楽プレーヤMPの概略構成を示すブロック図である。 FIG. 1 is a block diagram showing a schematic configuration of a portable music player MP to which a performance device according to an embodiment of the present invention is applied.
同図に示すように、音楽プレーヤMPは、ユーザの脈拍を検出するための脈拍センサ1と、ユーザの運動状態を検出するための加速度センサ2と、複数のスイッチからなる設定操作子3と、ヘッドフォン4と、脈拍センサ1からのセンサ出力に基づいて脈拍を検出する脈拍検出回路5と、加速度センサ2からのセンサ出力に基づいてx軸、y軸およびz軸方向の加速度をそれぞれ検出する加速度検出回路6と、設定操作子3の各スイッチの操作状態を検出する操作状態検出回路7と、装置全体の制御を司るCPU8と、該CPU8が実行する制御プログラムや各種テーブルデータ等を記憶するROM9と、曲データ、各種入力情報および演算結果等を一時的に記憶するRAM10と、タイマ割込み処理における割込み時間や各種時間を計時するタイマ11と、各種情報等を表示する、たとえば液晶ディスプレイ(LCD)および発光ダイオード(LED)等からなる表示器12と、前記制御プログラムを含む各種アプリケーションプログラムや各種曲データ、各種データ等を記憶するフラッシュメモリ13と、PC(パーソナルコンピュータ)100を接続し、PC100とデータの送受信を行うUSB(universal serial bus)インターフェース(I/F)14と、前記記憶された曲データのうち、MIDIデータによって形成される曲データを楽音信号に変換するMIDI音源回路15と、前記記憶された曲データのうち、圧縮音声データによって形成される曲データを伸長して楽音信号に変換する圧縮音声デコーダ16と、MIDI音源回路15および圧縮音声デコーダ16からそれぞれ出力される各楽音信号に各種効果を付与するための効果回路17と、該効果回路17からの楽音信号を増幅するアンプ18とにより構成されている。
As shown in the figure, the music player MP includes a
上記構成要素5〜18は、バス19を介して相互に接続され、MIDI音源回路15および圧縮音声デコーダ16には効果回路17が接続され、効果回路17にはアンプ18が接続され、アンプ18にはヘッドフォン4が接続されている。
The
脈拍センサ1は、ユーザの耳たぶや腕、指などに装着して脈拍に同期した信号を出力するものである。本実施の形態では、脈拍センサ1は、ヘッドフォン4の耳当て部分に設けられて、ユーザの脈拍数を検出するが、もちろん、ユーザの運動の邪魔にならないようにして脈拍を検出できるものであれば、これに限らないことは言うまでもない。
The
加速度センサ2は、音楽プレーヤMPの筐体内に設けられている。音楽プレーヤMPは、後述するように、ユーザの腰に装着されるので、ユーザが運動すると、音楽プレーヤMPには、その運動に応じた垂直方向および水平方向の加速度が生じる。加速度センサ2は、この垂直方向および水平方向の加速度を検出する。なお、加速度センサ2は、音楽プレーヤMPに内蔵されるものに限らず、音楽プレーヤMPと別体で構成するようにしてもよい。
The
フラッシュメモリ13には、前述のように、CPU8が実行する制御プログラムも記憶でき、ROM9に制御プログラムが記憶されていない場合には、このフラッシュメモリ13に制御プログラムを記憶させておき、それをRAM10に読み込むことにより、ROM9に制御プログラムを記憶している場合と同様の動作をCPU8にさせることができる。このようにすると、制御プログラムの追加やバージョンアップ等が容易に行える。
As described above, the
図2は、音楽プレーヤMPの外観((a))とその装着例((b))を示す図である。 FIG. 2 is a diagram showing an external appearance ((a)) of the music player MP and an example of mounting ((b)).
図2(a)に示すように、音楽プレーヤMPのパネル面には、複数のスイッチ3a〜3dとLCD12aが設けられている。スイッチ3aは、電源のオン/オフを指示するための電源ボタンであり、スイッチ3bは、曲のテンポをアップさせて運動のペースをアップさせるためのペースアップボタンであり、スイッチ3cは、曲のテンポをダウンさせて運動のペースをダウンさせるためのペースダウンボタンであり、スイッチ3dは、LCD12a上にメニューを表示させるためのメニューボタンである。なお、スイッチ3bおよび3cは、メニュー項目やパラメータを選択したり、両スイッチ3bおよび3cの同時押しで、確定、再生および停止などを指示したりすることもできる。また、ヘッドフォン4は、ケーブル4aを介してヘッドフォンジャック(図示せず)に接続され、ヘッドフォンジャックは、前記アンプ18に接続されている。
As shown in FIG. 2A, a plurality of
ユーザは、音楽プレーヤMPを、たとえばベルトを介して腰に装着する。図2(b)は、この装着状態の一例を示している。もちろん、音楽プレーヤMPを装着する体の部位は、腰に限らず、他のどの部位でもよいが、本実施の形態では、音楽プレーヤMPをユーザの運動支援に用いているので、少なくとも運動の邪魔にならない部位に装着すべきである。 The user wears the music player MP on his / her waist via, for example, a belt. FIG. 2B shows an example of this wearing state. Of course, the body part to which the music player MP is attached is not limited to the waist and may be any other part. However, in the present embodiment, the music player MP is used for assisting the user's exercise, so at least an obstacle to the exercise. Should be worn on the part that does not become.
図3は、前記フラッシュメモリ13に記憶されたデータの一部を示す図である。同図には、一部データとして、プレイリスト(PlayList)ファイル13a、個人情報(PersonalInfo)ファイル13b、音楽情報(MusicInfo)ファイル13cおよび圧縮オーディオ演奏ファイル13dn(n=1,2,…)が記載されている。
FIG. 3 is a view showing a part of data stored in the
プレイリスト・ファイル13aは、歩行(WALK)用プレイリスト13a1とジョギング(JOG)用プレイリスト13a2を備えている。ここで、プレイリストとは、再生(演奏)可能な曲の一覧表(リスト)である。他の携帯音楽プレーヤでは、プレイリストは、再生可能な曲とその再生順序を示しているが、本実施の形態では、プレイリストは、再生可能な曲だけ示し、その再生順序を示していない。歩行用プレイリスト13a1は、歩行(WALK)モード用に選曲された曲の一覧表であり、ジョギング用プレイリスト13a2は、ジョギング(JOG)モード用に選曲された曲の一覧表である。プレイリストには、本実施の形態では、各曲(圧縮オーディオ演奏ファイル13dn)にそれぞれ付与されたIDが登録されるが、これに限らず、各曲を特定できるものであれば、名称など、どのようなものであってもよい。なお、本実施の形態では、動作モードとして、歩行モードとジョギングモードの2種類モードしか備わっていないが、これは、専ら説明を簡単化するためであり、実際には、運動の種類(通常、10種類程度)に応じた数の動作モードが備わっている。
The
個人情報ファイル13bも、プレイリスト・ファイル13aと同様に、動作モードに応じた種類の個人情報を備えており、本実施の形態では、歩行モード用の個人情報13b1とジョギングモード用の個人情報13b2を備えている。個人情報とは、具体的には、テンポ範囲であり、このテンポ範囲を規定する最小テンポ値と最大テンポ値が記載される。このテンポ範囲、つまり最小テンポ値と最大テンポ値は、プレイリストに登録する演奏ファイル13dnを決定するために使用される。具体的には、歩行用プレイリスト13a1には、80bpm(=歩行モード最小テンポ値)から140bpm(=歩行モード最大テンポ値)までのテンポ値(=メインテンポのテンポ値)の演奏ファイル13dnが選曲されて登録され、ジョギング用プレイリスト13a2には、140bpm(=ジョギングモード最小テンポ値)から190bpm(=ジョギングモード最大テンポ値)までのテンポ値(=メインテンポのテンポ値)の演奏ファイル13dnが選曲されて登録される。
Similarly to the
音楽情報ファイル13cは、各演奏ファイル13dnにそれぞれ対応するメタデータ13cn(n=1,2,…)を備えている。メタデータ13cnとしては、曲中で持続しているメインテンポ(MAIN TEMPO)、曲中で刻々と変わるテンポ(TEMPO)、拍位置(BEAT)、フェード位置(FADE)、音量(VOLUME)、曲の雰囲気(ATMOSPHERE)などが登録されている。メインテンポは、曲全体を通じて最も持続するテンポを表す値で、曲全体を代表するテンポ値であり、前記プレイリストに曲データを登録するために選曲したり、プレイリストに登録された曲データを再生のために選曲したりするときに用いられる。テンポは、検出された運動テンポと比較され、その比較結果に応じて、ガイド音を発音させるかどうかを判別するときに用いられる。拍位置は、曲の始めから終わりまでの各拍の位置を曲の先頭を基準に時間で表したものであり、ガイド音を発音するときの発音位置とするために用いられる。典型的には、1拍ずつであるが、複数拍(たとえば、4拍)間隔で、時間的位置を保持するようにしてもよい。なお、フェード位置以降のデータは、本発明とは直接関係しない。
The
演奏ファイル13dnは、圧縮されたオーディオ演奏データによって形成される演奏ファイルである。圧縮方法は、どのようなものを用いてもよいが、たとえば、MP3(MPEG audio layer 3),WMA(Windows(登録商標) media audio),AAC(advanced audio coding)などを挙げることができる。演奏ファイル13dnの基となる圧縮オーディオ演奏データは、図8を用いて後述するように、PC100によって取得される。PC100は、圧縮オーディオ演奏データを取得すると同時に、その圧縮オーディオ演奏データの内容を解析し、その圧縮オーディオ演奏データに対応するメタデータを生成する。
The performance file 13dn is a performance file formed by compressed audio performance data. Any compression method may be used, and examples thereof include MP3 (MPEG audio layer 3), WMA (Windows (registered trademark) media audio), and AAC (advanced audio coding). The compressed audio performance data which is the basis of the performance file 13dn is acquired by the
図4は、MIDI演奏データのデータフォーマットの一例を示す図である。 FIG. 4 is a diagram showing an example of the data format of the MIDI performance data.
同図に示すように、各MIDI演奏データ(各トラックチャンクに含まれるMIDI演奏データ)は、イベントデータ(キーオンイベントデータまたはキーオフイベントデータ)と、その読み出しタイミングを示すタイミングデータとを1組のデータとして、複数組のデータによって構成されている。なお、図示例では、SMF(standard MIDI file)のフォーマットが採用されているが、フォーマットは、これに限られない。 As shown in the figure, each MIDI performance data (MIDI performance data included in each track chunk) is a set of data including event data (key-on event data or key-off event data) and timing data indicating the read timing. As shown in FIG. In the illustrated example, the SMF (standard MIDI file) format is adopted, but the format is not limited to this.
なお、本実施の形態では、音楽プレーヤMPが再生可能な曲データとして、圧縮オーディオ演奏データとMIDI演奏データの2種類を採用しているが、いずれか一方のみでもよいし、これより多くてもよい。 In the present embodiment, two types of music data that can be played back by the music player MP are used: compressed audio performance data and MIDI performance data. However, either one or more may be used. Good.
以上のように構成された音楽プレーヤMPが実行する制御処理を、まず図5を参照してその概要を説明し、次に図6〜図12を参照して詳細に説明する。 The control process executed by the music player MP configured as described above will be described first with reference to FIG. 5 and then in detail with reference to FIGS.
図5は、加速度センサ2および加速度検出回路6によって検出された加速度の履歴を示す図である。同図において、縦軸が加速度を示し、横軸が時間を示している。そして、各四角形が、図9を用いて後述するように、40msec毎に検出された加速度値を示している。
FIG. 5 is a diagram showing the history of acceleration detected by the
ユーザが前記電源ボタン3aを操作することで、音楽プレーヤMPの電源をオンすると、前記CPU8は、所定の時間(たとえば、40msec)毎に、加速度検出回路6から出力された加速度値を読み取り、その読み取った加速度値を前記RAM10の所定位置に確保された加速度履歴バッファ(図示せず)に蓄積して行く。加速度センサ2は、前述のように、3軸方向のそれぞれの加速度を検出可能に構成されているが、本実施の形態では、CPU8は、そのうちの重力方向(重力加速度が定常的にかかる方向)の加速度のみを加速度検出回路6から読み取るようにしている。これは、専ら制御処理を簡単化するためであるので、3軸方向のすべての加速度を読み取り、制御処理に用いるようにしてもよい。
When the user turns on the power of the music player MP by operating the
次に、曲データが選択されて、その再生が指示されると、CPU8は、その曲データの再生を開始する。ユーザが再生された曲に合わせて運動やダンスなど(以下、これらを一纏めにして「運動」という)を行うと、ユーザは通常、曲のテンポ(音楽テンポ)に合わせて運動を行うので、検出された加速度値は、曲のテンポに応じた周期を持つようになる。CPU8は、加速度値の周期を、図5に示すように、加速度値が変動の中心値を下から上に突き抜けた時点(ゼロクロス点)から、次に加速度値が変動の中心値を下から上に突き抜けた時点(ゼロクロス点)までの時間として検出する。このようにして検出された加速度値の周期を、運動テンポと言うことにする。
Next, when music data is selected and its reproduction is instructed, the
音楽テンポと運動テンポとの間には相関関係があり、音楽テンポが速くなれば、運動テンポも速くなる。したがって、ユーザが音楽テンポを理解して運動を行っているときには、音楽テンポと運動テンポとの差分は、常に所定値内に収まることになる。しかし、再生された曲が音楽テンポの分かり辛い曲であるときには、ユーザの中には、その音楽テンポが分からずに運動を続ける人もあり得る。このようなユーザの行った運動から検出される運動テンポは、再生曲の音楽テンポと相関のないものになるので、音楽テンポと運動テンポとの差分は、前記所定値を超えてしまう。このとき、CPU8は、ガイド音をMIDIデータで生成し、再生曲の拍位置で、そのガイド音を発音させるように、MIDI音源回路15に指示する。これにより、ユーザは、ガイド音から再生曲のテンポが分かるので、再生曲の音楽テンポに合った運動を行うことができる。
There is a correlation between the music tempo and the exercise tempo, and the faster the music tempo, the faster the exercise tempo. Accordingly, when the user is exercising while understanding the music tempo, the difference between the music tempo and the exercise tempo is always within a predetermined value. However, when the reproduced song is a song whose music tempo is difficult to understand, some users may continue to exercise without knowing the music tempo. Since the exercise tempo detected from the exercise performed by the user is not correlated with the music tempo of the reproduced music, the difference between the music tempo and the exercise tempo exceeds the predetermined value. At this time, the
ユーザが、ガイド音に従って、再生曲の音楽テンポに合った運動を行うようになると、音楽テンポと運動テンポとの差分は再度、前記所定値内に収まることになる。このときCPU8は、ガイド音の発音を停止する。ユーザが再生曲の音楽テンポに合った運動をしているにも拘わらず、ガイド音が発音されるのは、ユーザにとって煩わしいからである。
When the user performs an exercise according to the music tempo of the reproduced music according to the guide sound, the difference between the music tempo and the exercise tempo is again within the predetermined value. At this time, the
一方、ユーザが運動を止めたときには、加速度値の周期は検出されなくなり、その結果、運動テンポは“0”に近づくので、音楽テンポと運動テンポとの差分は、前記所定値を超えてしまう。しかし、この場合は、ユーザが故意に運動を停止した場合であるので、CPU8は、ガイド音を発音させない。
On the other hand, when the user stops exercising, the period of the acceleration value is not detected, and as a result, the exercise tempo approaches “0”, so the difference between the music tempo and the exercise tempo exceeds the predetermined value. However, in this case, since the user intentionally stops the exercise, the
このように、本実施の形態では、運動を行っているときに、音楽テンポを判断し辛い曲が再生され、運動がその曲に合わなくなったときには、その曲の音楽テンポに従ったガイド音が発音されるので、ユーザはその曲に合わせて運動を行うことができる。また、一旦ガイド音が発音されるようになっても、ユーザがその曲の音楽テンポが分かり、その音楽テンポに合った運動を行うようになると、ガイド音は発音されなくなるので、ユーザは煩わしいガイド音を聴かなくて済むようになる。さらに、ユーザが運動を停止したときには、その運動停止を検出し、ガイド音を発音しないようにしたので、ユーザの思い通りにガイド音の発音を制御することができる。 As described above, in this embodiment, when exercising, a song whose music tempo is difficult to determine is reproduced, and when the exercise does not match the song, a guide sound according to the music tempo of the song is generated. Since it is pronounced, the user can exercise according to the song. Also, once the guide sound is pronounced, the user can know the music tempo of the song, and when the user starts exercising according to the music tempo, the guide sound is no longer pronounced, so the user is troublesome to guide You don't have to listen to the sound. Furthermore, when the user stops exercising, the cessation of motion is detected and the guide sound is not generated, so that the sound of the guide sound can be controlled as the user desires.
次に、この制御処理を詳細に説明する。 Next, this control process will be described in detail.
図6は、音楽プレーヤMP、特にCPU8が実行するメインルーチンの手順を示すフローチャートである。
FIG. 6 is a flowchart showing the procedure of the main routine executed by the music player MP, particularly the
本メインルーチンでは、CPU8は、主として、
(1)初期設定処理(ステップS1)
(2)PC100との通信処理(ステップS3)
(3)MIDI演奏/オーディオ演奏の割り込み許可処理(ステップS5)
の各処理を行う。本メインルーチンは、前記電源ボタン3aによって電源がオンされたときに起動される。起動後、前記(1)の初期設定処理が1回実行され、これに続いて、前記(2)および(3)の各処理が順次実行される。そして(3)の処理が終了すると、(2)の処理に戻って、(2)および(3)の処理が、電源ボタン3aによって電源がオフされるまで、繰り返し実行される。
In this main routine, the
(1) Initial setting process (step S1)
(2) Communication processing with PC100 (step S3)
(3) MIDI performance / audio performance interrupt permission processing (step S5)
Each process is performed. This main routine is started when the power is turned on by the
前記(1)の初期設定処理では、CPU8は、RAM6をクリアしたり、各種パラメータの値をデフォルト値に設定したりする等の初期設定を行う。この(1)初期設定処理ではさらに、ガイド音を発音するときにセット(“1”)され、発音しないときにリセット(“0”)されるガイドフラグをリセットし、MIDI演奏およびオーディオ演奏の各割り込みを禁止し、運動テンポ割り込み処理の割り込みを許可する設定も行われる。
In the initial setting process (1), the
ユーザが、前記USBI/F14とPC100とを、たとえばUSBケーブル(図示せず)を介して接続すると、CPU8は、USBI/F14にPC100が接続されたことを検知し、処理を前記(2)の通信処理に進める。
When the user connects the USB I /
図7は、この通信処理の詳細な手順を示すフローチャートであり、同図には、音楽プレーヤMP側の通信処理、つまり前記(2)通信処理とPC100側の通信処理が示されている。なお、USBケーブルで接続された音楽プレーヤMPは、PC100側から外部記憶装置(ストレージ)と認識されるので、PC100は、音楽プレーヤMPの前記フラッシュメモリ13の記憶内容を自由に読み書きすることができる。
FIG. 7 is a flowchart showing the detailed procedure of this communication process, and shows the communication process on the music player MP side, that is, the (2) communication process and the communication process on the
音楽プレーヤMPの記憶容量は、PC100の記憶容量に比べて、極めて少ないので、あらゆる動作モード(本実施の形態では、2種類の動作モードが例示されているが、実際には、前述のように10種類程度)で必要なすべての曲データ(前記圧縮オーディオ演奏ファイル13dnを含む)を音楽プレーヤMP(のフラッシュメモリ13)に記憶させることはできない。そこで、PC100に曲データを蓄えておき、その中から、当面必要な一部の曲データを選択して、フラッシュメモリ13に記憶させるようにしている。そして、当面必要な曲データであるかどうかの判断、必要な曲データのフラッシュメモリ13への記憶、不必要な曲データのフラッシュメモリ13からの削除および前記プレイリスト・ファイル13aなどの更新などは、すべてPC100側で行うようにしている。このためPC100と音楽プレーヤMPとの間の通信処理が必要となる。
Since the storage capacity of the music player MP is extremely small compared to the storage capacity of the
PC100側の通信処理では、PC100のCPU(図示せず)は、次の処理を行う。すなわち
(101)音楽プレーヤMPに個人情報(PersonalInfo)ファイル13bを要求して受信する処理(ステップS101)
(102)個人情報ファイル13bから、各動作モードにおけるテンポ範囲を取得する処理(ステップS102)
(103)上記(102)の処理で取得した各動作モードにおけるテンポ範囲に応じて、曲データを選曲する処理(ステップS103)
(104)上記(103)の選曲結果に応じて、音楽情報(MusicInfo)ファイル13cおよびプレイリスト(PlayList)ファイル13aを生成する処理(ステップS104)
(105)音楽プレーヤMP(のフラッシュメモリ13)内の圧縮オーディオ演奏ファイル13dn、音楽情報(MusicInfo)ファイル13cおよびプレイリスト(PlayList)ファイル13aを更新する処理
である。
In the communication processing on the
(102) Processing for obtaining the tempo range in each operation mode from the
(103) A process of selecting music data according to the tempo range in each operation mode acquired in the process of (102) (step S103)
(104) Processing for generating a music information (MusicInfo)
(105) A process of updating the compressed audio performance file 13dn, the music information (MusicInfo)
前記(103)の選曲処理では、各動作モードの個人情報に記載された最小テンポ値と最大テンポ値によって規定されるテンポ範囲に応じて、曲データを選択するが、「テンポ範囲に応じて」とは、このテンポ範囲を少しでも超えたテンポの曲データは選曲しないという意味ではなく、多少の余裕、たとえば10%程度の余裕を持って選曲するという意味である。したがって、個人情報に、最小テンポ値として90bpm、最大テンポ値として140bpmが記載されていたときには、81bpmから154bpmまでの範囲のテンポの曲データが選曲されることになる。 In the music selection process of (103), music data is selected according to the tempo range defined by the minimum tempo value and the maximum tempo value described in the personal information of each operation mode. This does not mean that song data with a tempo that exceeds this tempo range even a little is selected, but means that the song is selected with some margin, for example, about 10% margin. Therefore, when the personal information includes 90 bpm as the minimum tempo value and 140 bpm as the maximum tempo value, music data having a tempo in the range from 81 bpm to 154 bpm is selected.
上記(103)選曲処理によって、プレイリストに登録すべき曲データが動作モード毎に選曲されるので、前記(104)の処理では、まず、動作モード毎のプレイリストを生成した後、すべてのプレイリストをまとめて、1つのプレイリスト・ファイルを生成する。次に、選曲された曲データには必ず、対応するメタデータが存在する(図7を用いて後述するように、曲データを取得するときには、同時にメタデータが生成されるし、そもそも、前記(103)の選曲処理は、各曲データに対応付けられたメタデータの内容に基づいてなされるから)ので、選曲されたすべての曲データに対応するすべてのメタデータをまとめて、1つの音楽情報ファイルを生成する。ただし、選曲された曲データとその曲データに対応するメタデータとが、保存先がPC100側から音楽プレーヤMPに変わったとしても、1対1の対応関係が変わらないように、曲データに付与されたIDを当該メタデータにも付与しておく。
Since the music data to be registered in the playlist is selected for each operation mode by the above (103) music selection process, in the process of (104), first, a playlist for each operation mode is generated, and then all the playlists are played. The list is put together to generate one playlist file. Next, there is always metadata corresponding to the selected song data (as will be described later with reference to FIG. 7, when acquiring song data, metadata is generated at the same time. 103) is selected based on the content of the metadata associated with each piece of music data), so that all the metadata corresponding to all the selected piece of music data are put together into one piece of music information. Generate a file. However, the selected song data and the metadata corresponding to the song data are added to the song data so that the one-to-one correspondence does not change even if the storage destination is changed from the
前記(101)の処理に応じて、CPU8は、フラッシュメモリ13に記憶されている個人情報ファイル13bを、前記USBI/F14を介してPC100に送信する(ステップS11)。また、上記(105)の処理に応じて、CPU8は、フラッシュメモリ13内に記憶されている、圧縮オーディオ演奏ファイル13dn、音楽情報(MusicInfo)ファイル13cおよびプレイリスト(PlayList)ファイル13aを更新する(ステップS12)。
In response to the process (101), the
図8は、圧縮オーディオ演奏ファイル13dnの基になる圧縮オーディオ演奏データを取得するPC100側の処理の手順を示すフローチャートである。
FIG. 8 is a flowchart showing the procedure of the process on the
PC100の前記CPUはまず、たとえばユーザの指示に応じて、圧縮オーディオ演奏データを取得し、HDD(ハードディスク装置)などの外部記憶装置(図示せず)に保存する(ステップS111)。圧縮オーディオ演奏データの取得先としては、いくつか考えられるが、たとえばインターネット上の圧縮オーディオ演奏データ提供サイトを挙げることができる。もちろん、これに限らず、非圧縮オーディオ演奏データを圧縮して、圧縮オーディオ演奏データを生成するソフトウェアを用いて、オーディオ演奏データのソース(音楽CDなど)から得たオーディオ演奏データを圧縮して取得するようにしてもよい。
First, the CPU of the
次にCPUは、取得した圧縮オーディオ演奏データを解析し、メタデータを生成する(ステップS112)。具体的には、圧縮オーディオ演奏データを解析して、メインテンポ、テンポ、拍位置、フェード位置などを検出し、これらを記載したメタデータを生成する。圧縮オーディオ演奏データを解析する方法としては、たとえば、信号処理を施すことにより、音量の時間的変化を検出したり、音量の時間的変化の周期性を検出したり、それらの検出を特定の周波数帯域の信号について行うようにしたりする方法が考えられる。特に、低い周波数帯域の音量変化の周期性を検出することにより、バスドラムで刻まれた拍やテンポを検出することができる。また、人間が、圧縮オーディオ演奏データを伸長したものを実際に聴いて、メタデータを作成したり修正したりしてもよい。 Next, the CPU analyzes the acquired compressed audio performance data and generates metadata (step S112). Specifically, the compressed audio performance data is analyzed, main tempo, tempo, beat position, fade position, etc. are detected, and metadata describing these is generated. As a method of analyzing the compressed audio performance data, for example, by performing signal processing, the temporal change of the volume is detected, the periodicity of the temporal change of the volume is detected, or the detection is performed at a specific frequency. A method for performing the processing on a band signal is conceivable. In particular, by detecting the periodicity of the volume change in the low frequency band, it is possible to detect the beat and tempo carved by the bass drum. Further, a human may actually listen to a decompressed compressed audio performance data to create or modify metadata.
さらにCPUは、生成したメタデータを当該圧縮オーディオ演奏データに関連付けて前記外部記憶装置に保存する(ステップS113)。 Further, the CPU stores the generated metadata in the external storage device in association with the compressed audio performance data (step S113).
前記図6に戻り、演奏データの選曲操作がなされたときには、CPU8は、処理を前記(3)のMIDI演奏/オーディオ演奏の割り込み許可処理に進める(ステップS4→S5)。ここで、演奏データの選曲操作には、ユーザが、たとえば前記メニューボタン3dを操作することで、前記LCD12a上にメニューを表示させ、そのメニューの中から、演奏データを選曲する項目を選択し、それに応じて一覧表示された、選曲可能な演奏データの名称の一覧からいずれかを選択するという、ユーザの積極的な選曲操作や、前記プレイリスト・ファイル13a中のいずれかのプレイリスト(実際には、選択されている動作モードに対応するもの)に登録された圧縮オーディオ演奏データの中から、所定の条件に基づいてCPU8が選択するという、ユーザの消極的な選曲操作などが含まれる。そして、選曲される演奏データも、上記圧縮オーディオ演奏データの他に、MIDI演奏データが含まれる。また、本実施の形態では、圧縮オーディオ演奏データは、前述のように、PC100から音楽プレーヤMPのフラッシュメモリ13に転送されたものであるが、これは、CPU8として、圧縮オーディオ演奏データを解析できる程、演算能力の高いものを採用したくないからである。したがって、CPU8として、演算能力の高いものを採用してもよいのであれば、圧縮オーディオ演奏データのみ、外部から取り込み、音楽プレーヤMP内で、つまり、CPU8が、その圧縮オーディオ演奏データを解析して、対応するメタデータを作成するようにしてもよい。また、MIDI演奏データは、圧縮オーディオ演奏データと同様に、PC100から転送されたものであってもよいし、CPU8が自動的に生成したものであってもよい。MIDI演奏データは、演算能力の低いCPU8であっても、生成することができるからである。
Returning to FIG. 6, when the music performance music selection operation is performed, the
前記(3)MIDI演奏/オーディオ演奏の割り込み許可処理では、CPU8は、選曲された演奏データの種類に応じて、MIDI演奏あるいはオーディオ演奏のいずれかの割り込みを許可する。つまり、選曲された演奏データがMIDI演奏データであるときには、CPU8は、MIDI演奏割り込み処理の割り込みを許可する一方、選曲された演奏データが圧縮オーディオ演奏データであるときには、CPU8は、オーディオ演奏割り込み処理の割り込みを許可する。
In the (3) MIDI performance / audio performance interruption permission process, the
図11は、上記オーディオ演奏割り込み処理の手順を示すフローチャートであり、本オーディオ演奏割り込み処理は、上述のように、CPU8によって割り込みが許可されると、割り込みが禁止されるまで、前記タイマ11が、たとえば12msec毎に発生する割り込み信号に応じて、起動される。
FIG. 11 is a flowchart showing the procedure of the audio performance interrupt process. When the interrupt is permitted by the
本オーディオ演奏割り込み処理では、CPU8は、選曲された圧縮オーディオ演奏データを所定サンプル数分読み出して、前記圧縮音声デコーダ16に出力する(ステップS51)。これにより、圧縮音声デコーダ16は、供給された所定サンプル数分の圧縮オーディオ演奏データを伸長して楽音信号に変換し、所定のタイミングで、前記効果回路17に出力する。たとえば、サンプリング周波数を48kHzとした場合には、1回の割り込みで、576サンプル分の圧縮オーディオ演奏データがデコードされることになる。
In the audio performance interrupt process, the
図12は、前記MIDI演奏割り込み処理の手順を示すフローチャートであり、本MIDI演奏割り込み処理も、オーディオ演奏割り込み処理と同様に、CPU8によって割り込みが許可されると、割り込みが禁止されるまで、タイマ11が、たとえば1msec毎に発生する割り込み信号に応じて、起動される。
FIG. 12 is a flowchart showing the procedure of the MIDI performance interrupt process. Similarly to the audio performance interrupt process, the MIDI performance interrupt process is performed until the interrupt is disabled when the
MIDI演奏データは、前記図4中の1つのトラックチャンクに記憶されたデータに相当する。つまり、MIDI演奏データは、タイミングデータとイベントデータを1組のデータとするデータシーケンスによって形成される。そして、タイミングデータは、イベントの発生時刻を1つ前のイベントからの時間、つまり「イベント+相対時間」で表すものであり、その直後のイベントデータの発生タイミングを規定するので、本MIDI演奏割り込み処理では、CPU8は、まず現在時刻を取得し(ステップS61)、次に取得した現在時刻とタイミングデータで指定されたイベントの発生時刻とを比較する(ステップS62)。この比較の結果、両者が一致した場合には、CPU8は、続くイベントデータの内容を解析し、そのイベントデータがキーオンイベント(つまり、発音すべきイベント)であるときには、前記MIDI音源回路15に、キーオンイベントで指定される楽音の発音を指示する(ステップS62→S63)。
The MIDI performance data corresponds to data stored in one track chunk in FIG. That is, the MIDI performance data is formed by a data sequence in which timing data and event data are a set of data. The timing data represents the time of occurrence of the event as the time from the previous event, that is, “event + relative time”, and defines the timing of event data generation immediately thereafter. In the process, the
図9は、運動テンポ割り込み処理の手順を示すフローチャートであり、本運動テンポ割り込み処理も、オーディオ演奏割り込み処理と同様に、CPU8によって割り込みが許可されると、割り込みが禁止されるまで、タイマ11が、たとえば40msec毎に発生する割り込み信号に応じて、起動される。なお、運動テンポ割り込み処理の割り込みは、前述のように、前記(1)初期設定処理で許可される。
FIG. 9 is a flowchart showing the procedure of the exercise tempo interrupt process. In the exercise tempo interrupt process, as with the audio performance interrupt process, when the interrupt is permitted by the
本運動テンポ割り込み処理は、主として
(11)運動テンポの周期を検出する運動テンポ周期検出処理(ステップS21,S22)
(12)運動テンポの平均値を算出する運動テンポ平均値算出処理(ステップS24,S25)
(13)上記(12)の運動テンポ平均値算出処理で算出された運動テンポ平均値と音楽テンポとの差分を算出する差分算出処理(ステップS27)
(14)上記(12)の差分算出処理で算出された差分に基づいて、ガイド音の発音を制御するガイド音制御処理(ステップS27〜S31,S34〜S36)
(15)ユーザの運動停止を検出する運動停止検出処理(ステップS32,S33)
を行う。
This exercise tempo interruption process mainly includes (11) exercise tempo cycle detection processing (steps S21 and S22) for detecting the cycle of exercise tempo.
(12) Exercise tempo average value calculation processing for calculating an average value of exercise tempo (steps S24 and S25)
(13) Difference calculation process for calculating a difference between the exercise tempo average value calculated in the above (12) exercise tempo average value calculation process and the music tempo (step S27).
(14) Guide sound control processing (steps S27 to S31, S34 to S36) for controlling the pronunciation of the guide sound based on the difference calculated in the difference calculation processing of (12) above.
(15) Exercise stop detection process for detecting a user stop motion (steps S32 and S33)
I do.
運動テンポ割り込み処理に対する割り込みが発生し、運動テンポ割り込み処理が起動されると、CPU8は、処理を前記(11)の運動テンポ周期検出処理に進める。この(11)運動テンポ周期検出処理では、まずCPU8は、前述のように、加速度検出回路6から出力された加速度値を読み取り、前記加速度履歴バッファに蓄積する(ステップS21)。次にCPU8は、運動テンポの周期を検出する処理を行う(ステップS22)。運動テンポの周期は、図5を用いて前述したように、変動の中心値に対するゼロクロス点を観測することによって検出している。本実施の形態では、CPU8に過剰な負荷がかからないように、運動テンポ割り込み処理に対する割り込み時間を40msecにしている。つまり、この割り込み時間を短くすればする程、加速度値はより細かく検出できるので、運動テンポの周期の検出精度が向上する。しかし、検出精度に比例して演算処理が増大するので、CPU8への負荷は増大する。そして、CPU8としては、製造コストの関係上、演算能力の低いものを採用しているので、むやみに検出精度を向上させることができない。そこで、CPU8の能力と検出精度との調和を取って、割り込み時間を40msecに制限している。この状況で、運動テンポの周期の検出精度を向上させる処理として、スプライン処理が知られているので、加速度履歴バッファに蓄積された加速度値にスプライン処理を施すことで、割り込み時間を40msecに制限しながら、より短い時間単位の加速度値の履歴を求めるようにしてもよい。
When an interruption for the exercise tempo interruption process occurs and the exercise tempo interruption process is activated, the
この(11)運動テンポ周期検出処理が終了すると、運動テンポの新たな周期が検出されたかどうか分かるので、新たな周期が検出されたときには、CPU8は、処理を前記(12)の運動テンポ平均値算出処理に進める一方、新たな周期が検出されないときには、CPU8は、処理を前記(15)の運動停止検出処理に進める。
When this (11) exercise tempo cycle detection process is completed, it is known whether or not a new cycle of the exercise tempo has been detected. Therefore, when a new cycle is detected, the
この(12)運動テンポ平均値算出処理では、まずCPU8は、新たに検出された周期を、前記RAM10の所定位置に確保された運動テンポ履歴バッファ(図示せず)に蓄積する(ステップS24)。次にCPU8は、過去の所定周期分(たとえば、6周期分)の運動テンポの周期を平均し、運動テンポ平均値を算出する(ステップS25)。
In this (12) exercise tempo average value calculation process, the
そしてCPU8は、処理を前記(13)の差分算出処理に進める。この(13)差分算出処理では、まずCPU8は、現在時刻における音楽テンポを取得する(ステップS26)。この音楽テンポを取得する取得先は、選曲された演奏データの種類に応じて異なっている。具体的には、選曲された曲データが圧縮オーディオ演奏データである場合には、その圧縮オーディオ演奏データに対応付けられたメタデータが必ずフラッシュメモリ13内に記憶されているので、そのメタデータ内に記載された音楽テンポ(前記図3参照)が取得される。一方、選曲された曲データがMIDI演奏データである場合には、そのヘッダチャンク(前記図4参照)内に記載されている音楽テンポが取得される。次にCPU8は、このように取得された音楽テンポと前記算出された運動テンポ平均値との差分を算出する(ステップS27)。
Then, the
次にCPU8は、処理を前記(14)のガイド音制御処理に進める。この(14)ガイド音制御処理では、まずCPU8は、前記算出された差分が所定値以上かどうか判別し(ステップS27)、差分が所定値以上のとき、つまり、音楽テンポの分からない状態でユーザが運動を行っているときには、CPU8は、前記ガイドフラグの値をチェックする(ステップS28)。ガイドフラグは、前述のように、ガイド音を発音するときにセットされ、ガイド音を発音しないときにリセットされるフラグである。メインルーチンが開始してから最初に、処理が上記ステップS28に進んだ場合には、ガイドフラグはリセット状態であるので、CPU8は、ガイドフラグをセットした(ステップS28→S29)後、現在時刻より遅い拍位置であって、最初に現れる拍位置を取得する(ステップS30)。この拍位置を取得する取得先も、前記音楽テンポと同様に、選曲された曲データに応じて異なっている。ただし、拍位置と音楽テンポとでデータの種類は異なるものの、拍位置の取得先は、音楽テンポの取得先と同じであるので、その説明は省略する。CPU8は、目的の拍位置を取得すると、図10を用いて後述するガイド割り込み処理の割り込みを発生させる時刻を格納するために前記タイマ11に設けられた割り込み時刻バッファ(図示せず)に、上記取得した拍位置の時刻を設定する(ステップS30)。そしてCPU8は、ガイド割り込み処理に対する割り込み(ガイド割り込み)を許可する(ステップS31)。
Next, the
割り込み時刻バッファに設定された前記拍位置と現在時刻とが一致すると、タイマ11は、ガイド割り込み信号を発生する。これに応じて、ガイド割り込み処理が起動する。
When the beat position set in the interrupt time buffer matches the current time, the
図10は、ガイド割り込み処理の手順を示すフローチャートである。 FIG. 10 is a flowchart showing the procedure of the guide interruption process.
本ガイド割り込み処理では、まずCPU8は、MIDI音源回路15にガイド音の発音を指示する(ステップS41)。ここで、ガイド音として、どのような音色の音を発音するかであるが、ガイド音は主として、運動を行っているユーザに、曲のテンポと運動がずれているという警告を与える目的で発音するものであるので、曲と同時にガイド音を再生した場合に、曲の音とガイド音とをはっきり区別することができる音色であることが好ましい。しかし、ユーザの運動を妨げるような、ひどく耳障りな音色は避けた方がよい。具体的には、メトロノーム音のようなピッピッピッや、バスドラム音、シンパル音などを挙げることができる。もちろん、これに限られる訳ではない。
In this guide interruption process, first, the
次にCPU8は、次に現れる拍位置を取得し、前記割り込み時刻バッファに設定する(ステップS42)。この拍位置の取得は、前記ステップS30で説明した拍位置の取得とほぼ同じであるので、これ以上の説明は省略する。
Next, the
このように、ガイド割り込みが一旦許可されると、ガイド割り込みが禁止されるまで、曲の再生に従ってその曲の拍位置でガイド音が発音されることになる。したがって、ユーザは、自身の運動が曲のテンポと合っていないことを知るとともに、ガイド音に運動テンポを合わせることで、運動を曲のテンポに合わせることができる。 As described above, once the guide interruption is permitted, the guide sound is generated at the beat position of the music according to the reproduction of the music until the guide interruption is prohibited. Therefore, the user knows that his / her exercise does not match the tempo of the song, and can match the exercise to the tempo of the song by matching the exercise tempo to the guide sound.
なお、一旦ガイドフラグがセットされると、その後、音楽テンポと運動テンポ平均値との差分が相変わらず前記所定以上であれば、前記(14)ガイド音制御処理では、何の制御もなされない(ステップS27→S28→終了)。つまり、前記ガイド割り込み処理が所定のタイミングで起動されるだけである。 Once the guide flag is set, after that, if the difference between the music tempo and the exercise tempo average value is still greater than or equal to the predetermined value, no control is performed in the (14) guide sound control process (step S14). S27 → S28 → End). That is, the guide interrupt process is only activated at a predetermined timing.
ユーザがガイド音に従って、運動テンポを音楽テンポに合わせて行くと、音楽テンポと運動テンポ平均値との差分はいずれ、前記所定値以内に収まることになる。このとき、ガイドフラグはセット状態であるので、CPU8は、ガイドフラグをリセットし(ステップS34→S35)、さらにガイド割り込みを禁止する(ステップS36)。これにより、ガイド音の発音は停止する。
When the user adjusts the exercise tempo to the music tempo according to the guide sound, the difference between the music tempo and the average exercise tempo will fall within the predetermined value. At this time, since the guide flag is in the set state, the
前記(15)の運動停止検出処理では、まずCPU8は、運動テンポの周期が検出されない期間が所定時間(たとえば、5秒間)以上となっているかどうか判別し(ステップS32)、その期間が所定時間以上となっているときには、ユーザの運動は停止状態と判断する。次にCPU8は、前記加速度履歴バッファおよび運動テンポ履歴バッファをクリアした(ステップS33)後、前記ステップS34に処理を進める。ステップS34以降の処理では、CPU8は、ガイド音が発音されているときには、その発音を停止する。
In the exercise stop detection process (15), first, the
このようにして、ユーザが運動を停止したときには、その運動停止を検出し、ガイド音が発音されているときでも、その発音を停止するようにしたので、ユーザにとって煩わしさが解消される。 In this way, when the user stops exercising, the cessation of motion is detected, and even when the guide sound is sounded, the sound generation is stopped, so the troublesomeness for the user is eliminated.
なお、上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムまたは装置に供給し、そのシステムまたは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。 A program in which a storage medium that records a program code of software that realizes the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus is stored in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the code.
この場合、記憶媒体から読出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードおよび該プログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the program code and the storage medium storing the program code constitute the present invention.
プログラムコードを供給するための記憶媒体としては、たとえば、フレキシブルディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。また、通信ネットワークを介してサーバコンピュータからプログラムコードが供給されるようにしてもよい。 As a storage medium for supplying the program code, for example, a flexible disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic A tape, a non-volatile memory card, a ROM, or the like can be used. Further, the program code may be supplied from a server computer via a communication network.
また、コンピュータが読出したプログラムコードを実行することにより、上述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOSなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. It goes without saying that a case where the functions of the above-described embodiment are realized by performing part or all of the above and the processing thereof is included.
さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。 Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
2…加速度センサ(運動テンポ検出手段),6…加速度検出回路(運動テンポ検出手段),8…CPU(音楽テンポ取得手段、再生手段、運動テンポ検出手段、制御手段、運動停止検出手段),15…MIDI音源回路(再生手段),16…圧縮音声デコーダ(再生手段) 2 ... acceleration sensor (exercise tempo detection means), 6 ... acceleration detection circuit (exercise tempo detection means), 8 ... CPU (music tempo acquisition means, reproduction means, exercise tempo detection means, control means, exercise stop detection means), 15 ... MIDI sound source circuit (reproducing means), 16 ... compressed audio decoder (reproducing means)
Claims (3)
前記演奏データを再生する再生手段と、
ユーザが行う反復運動の運動テンポを検出する運動テンポ検出手段と、
前記音楽テンポ取得手段によって取得された音楽テンポと前記運動テンポ検出手段によって検出された運動テンポとの差が所定の値より大きい場合には、前記取得された音楽テンポで、前記再生手段によって再生された演奏データの拍に合わせて、ガイド音を発音させる一方、前記取得された音楽テンポと前記検出された運動テンポとの差が前記所定の値以下である場合には、前記ガイド音を発音させないように制御する制御手段と
を有することを特徴とする演奏装置。 Music tempo acquisition means for acquiring music tempo of performance data;
Reproducing means for reproducing the performance data;
An exercise tempo detection means for detecting an exercise tempo of repetitive exercise performed by a user;
When the difference between the music tempo acquired by the music tempo acquisition means and the exercise tempo detected by the exercise tempo detection means is larger than a predetermined value, the reproduction is reproduced by the reproduction means at the acquired music tempo. The guide sound is generated in accordance with the beat of the performance data, and the guide sound is not generated when the difference between the acquired music tempo and the detected exercise tempo is equal to or less than the predetermined value. And a control means for controlling the performance.
前記制御手段は、前記運動停止検出手段によって前記反復運動の停止が検出されたときには、前記ガイド音を発音させないように制御することを特徴とする請求項1に記載の演奏装置。 Motion stop detecting means for detecting stop of the repetitive motion,
2. The performance apparatus according to claim 1, wherein the control unit controls the guide sound not to be generated when the stop of the repetitive motion is detected by the motion stop detection unit.
前記演奏データを再生する再生手順と、
ユーザが行う反復運動の運動テンポを検出する運動テンポ検出手順と、
前記音楽テンポ取得手順によって取得された音楽テンポと前記運動テンポ検出手順によって検出された運動テンポとの差が所定の値より大きい場合には、前記取得された音楽テンポで、前記再生手順によって再生された演奏データの拍に合わせて、ガイド音を発音させる一方、前記取得された音楽テンポと前記検出された運動テンポとの差が前記所定の値以下である場合には、前記ガイド音を発音させないように制御する制御手順と
をコンピュータに実行させるプログラム。 Music tempo acquisition procedure for acquiring music tempo of performance data,
A playback procedure for playing back the performance data;
An exercise tempo detection procedure for detecting the exercise tempo of the repetitive exercise performed by the user;
When the difference between the music tempo acquired by the music tempo acquisition procedure and the exercise tempo detected by the exercise tempo detection procedure is larger than a predetermined value, the music tempo is reproduced by the reproduction procedure at the acquired music tempo. The guide sound is generated in accordance with the beat of the performance data, and the guide sound is not generated when the difference between the acquired music tempo and the detected exercise tempo is equal to or less than the predetermined value. And a program for causing a computer to execute a control procedure for controlling the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007085507A JP2008242285A (en) | 2007-03-28 | 2007-03-28 | Performance device and program for attaining its control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007085507A JP2008242285A (en) | 2007-03-28 | 2007-03-28 | Performance device and program for attaining its control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008242285A true JP2008242285A (en) | 2008-10-09 |
Family
ID=39913691
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007085507A Pending JP2008242285A (en) | 2007-03-28 | 2007-03-28 | Performance device and program for attaining its control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008242285A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011087794A (en) * | 2009-10-23 | 2011-05-06 | Sony Corp | Motion-related operation device and method, program, and motion-related reproduction system |
JP2012192126A (en) * | 2011-03-18 | 2012-10-11 | Brother Industries Ltd | Device, method and program for playback of musical piece information for exercise |
JP2015160120A (en) * | 2014-02-28 | 2015-09-07 | ブラザー工業株式会社 | Information processing device and program |
CN107633852A (en) * | 2017-10-26 | 2018-01-26 | 四川云玦科技有限公司 | System is realized in a kind of more time dimension Broadcast Controls |
CN107680620A (en) * | 2017-10-26 | 2018-02-09 | 四川云玦科技有限公司 | A kind of implementation method of more time dimension Broadcast Controls |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03114954U (en) * | 1990-03-07 | 1991-11-27 | ||
JPH04238384A (en) * | 1991-01-22 | 1992-08-26 | Brother Ind Ltd | Electronic music reproducing device with practicing function |
JPH06273546A (en) * | 1993-03-22 | 1994-09-30 | Seiko Instr Inc | Pace generator |
JP2001337675A (en) * | 2000-05-25 | 2001-12-07 | Yamaha Corp | Playing support device and playing support method |
JP2002341863A (en) * | 2001-05-11 | 2002-11-29 | Yamaha Corp | Musical sound control system, musical sound control device and annunciation device |
JP2003185467A (en) * | 2001-12-21 | 2003-07-03 | Tanita Corp | Pedometer with pitch generating function |
JP2004216142A (en) * | 2002-12-24 | 2004-08-05 | Combi Corp | Exercise assistance method and audio data record for exercise assistance used therein |
JP2004287049A (en) * | 2003-03-20 | 2004-10-14 | Yamaha Corp | Musical sound playing instrument |
JP2006239398A (en) * | 2005-02-03 | 2006-09-14 | Sony Corp | Sound reproducer, sound reproduction method and sound reproduction processing program |
JP2006308650A (en) * | 2005-04-26 | 2006-11-09 | Yamaha Corp | Singing support device |
JP2007007100A (en) * | 2005-06-29 | 2007-01-18 | Yoshihiko Sano | Method and device for reproducing musical piece for supporting exercise |
JP2007020977A (en) * | 2005-07-20 | 2007-02-01 | Yamaha Corp | Exercise assisting apparatus and exercise instrument |
JP2008538295A (en) * | 2005-01-10 | 2008-10-23 | アイポイント リミテッド | Music pacemaker for physical fitness training |
-
2007
- 2007-03-28 JP JP2007085507A patent/JP2008242285A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03114954U (en) * | 1990-03-07 | 1991-11-27 | ||
JPH04238384A (en) * | 1991-01-22 | 1992-08-26 | Brother Ind Ltd | Electronic music reproducing device with practicing function |
JPH06273546A (en) * | 1993-03-22 | 1994-09-30 | Seiko Instr Inc | Pace generator |
JP2001337675A (en) * | 2000-05-25 | 2001-12-07 | Yamaha Corp | Playing support device and playing support method |
JP2002341863A (en) * | 2001-05-11 | 2002-11-29 | Yamaha Corp | Musical sound control system, musical sound control device and annunciation device |
JP2003185467A (en) * | 2001-12-21 | 2003-07-03 | Tanita Corp | Pedometer with pitch generating function |
JP2004216142A (en) * | 2002-12-24 | 2004-08-05 | Combi Corp | Exercise assistance method and audio data record for exercise assistance used therein |
JP2004287049A (en) * | 2003-03-20 | 2004-10-14 | Yamaha Corp | Musical sound playing instrument |
JP2008538295A (en) * | 2005-01-10 | 2008-10-23 | アイポイント リミテッド | Music pacemaker for physical fitness training |
JP2006239398A (en) * | 2005-02-03 | 2006-09-14 | Sony Corp | Sound reproducer, sound reproduction method and sound reproduction processing program |
JP2006308650A (en) * | 2005-04-26 | 2006-11-09 | Yamaha Corp | Singing support device |
JP2007007100A (en) * | 2005-06-29 | 2007-01-18 | Yoshihiko Sano | Method and device for reproducing musical piece for supporting exercise |
JP2007020977A (en) * | 2005-07-20 | 2007-02-01 | Yamaha Corp | Exercise assisting apparatus and exercise instrument |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011087794A (en) * | 2009-10-23 | 2011-05-06 | Sony Corp | Motion-related operation device and method, program, and motion-related reproduction system |
JP2012192126A (en) * | 2011-03-18 | 2012-10-11 | Brother Industries Ltd | Device, method and program for playback of musical piece information for exercise |
JP2015160120A (en) * | 2014-02-28 | 2015-09-07 | ブラザー工業株式会社 | Information processing device and program |
CN107633852A (en) * | 2017-10-26 | 2018-01-26 | 四川云玦科技有限公司 | System is realized in a kind of more time dimension Broadcast Controls |
CN107680620A (en) * | 2017-10-26 | 2018-02-09 | 四川云玦科技有限公司 | A kind of implementation method of more time dimension Broadcast Controls |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4311466B2 (en) | Performance apparatus and program for realizing the control method | |
US7956274B2 (en) | Performance apparatus and storage medium therefor | |
JP4839853B2 (en) | Music playback control device and music playback device | |
JP4052274B2 (en) | Information presentation device | |
US7737353B2 (en) | Apparatus for controlling music reproduction and apparatus for reproducing music | |
JP4067372B2 (en) | Exercise assistance device | |
JP4415946B2 (en) | Content playback apparatus and playback method | |
JP2005156641A (en) | Playback mode control device and method | |
JP4311467B2 (en) | Performance apparatus and program for realizing the control method | |
JP4697165B2 (en) | Music playback control device | |
JP4702071B2 (en) | Music playback control device and music playback device | |
JP2008242285A (en) | Performance device and program for attaining its control method | |
JP2006251053A (en) | Musical sound controller | |
JP2007250053A (en) | Contents reproducing device and contents reproducing method | |
JP2006251376A (en) | Musical sound controller | |
JP4311468B2 (en) | Performance apparatus and program for realizing the control method | |
KR100500424B1 (en) | Intelligent music player capable of automatically selecting music | |
JP2007156280A (en) | Sound reproduction device, sound reproduction method, and sound reproduction program | |
JP5109426B2 (en) | Electronic musical instruments and programs | |
JP2008242064A (en) | Music reproduction controller | |
JP2003114682A (en) | Sound generating device | |
JP2007164932A (en) | Reproduction device, method for reproducing, and program | |
JP5259111B2 (en) | Music playback control device | |
JP2007164020A (en) | Music reproducing device and musical piece selecting reproducing method | |
JP4816534B2 (en) | Music playback control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091130 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100803 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100930 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110329 |