JP2010114737A - Mobile terminal, beat position correcting method, and beat position correcting program - Google Patents
Mobile terminal, beat position correcting method, and beat position correcting program Download PDFInfo
- Publication number
- JP2010114737A JP2010114737A JP2008286568A JP2008286568A JP2010114737A JP 2010114737 A JP2010114737 A JP 2010114737A JP 2008286568 A JP2008286568 A JP 2008286568A JP 2008286568 A JP2008286568 A JP 2008286568A JP 2010114737 A JP2010114737 A JP 2010114737A
- Authority
- JP
- Japan
- Prior art keywords
- beat position
- beat
- position information
- input
- music 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.)
- Pending
Links
Images
Landscapes
- Telephone Function (AREA)
- Electrophonic Musical Instruments (AREA)
Abstract
Description
本発明は、楽曲の再生に連動して拍を出力できる携帯端末、これを用いた拍位置修正方法および拍位置修正プログラムに関する。 The present invention relates to a portable terminal capable of outputting beats in conjunction with music reproduction, a beat position correcting method and a beat position correcting program using the portable terminal.
従来、バイブレーション連動再生を実現する技術が知られている。たとえば、バイブレーション情報がコンテンツフォーマット(データ)自体に埋め込まれている着メロ再生技術がある。このようなバイブレーション等の連動再生には拍位置情報の精度が求められる。MIDIファイルでは正確な拍位置情報が埋め込まれているが、ほとんどの拍位置情報は予め手動で付与されており、ユーザが希望する曲に拍情報を付加できない。一方、自動化によりある程度の高精度な拍位置情報を付与することは可能である。 Conventionally, a technique for realizing vibration-linked playback is known. For example, there is a ringtone reproduction technique in which vibration information is embedded in a content format (data) itself. The accuracy of the beat position information is required for such linked reproduction such as vibration. In the MIDI file, accurate beat position information is embedded, but most of the beat position information is manually assigned in advance, and the beat information cannot be added to a song desired by the user. On the other hand, it is possible to give a certain degree of highly accurate beat position information by automation.
特許文献1には、音楽を再生する際に、音楽信号に基づく音楽の低音域成分を抽出し、低音域成分と再生する音楽とに同期したタイミングで振動を発生させる装置が提案されている。特許文献1記載の装置は、低音域の再生音圧の上昇や、着信時に低音域成分と同期させた振動の発生を可能にしている。特許文献2には、PCMデータから得られた音楽波形信号に対し、FFTを用いてパワースペクトル変化率を計算することで、音が鳴っていると推定される個所を拍情報として特定し、等間隔となる拍情報を抽出する装置が開示されている。特許文献3および非特許文献1には、PCMデータから得られた音楽波形信号に対し、FFTを用いてパワースペクトルを計算し、自己相関関数および相互相関関数を利用することにより拍位置を推定する装置が開示されている。特許文献4には、ユーザの指定する開始位置を基準として、時系列データをメタ情報とする技術が記載されている。
しかしながら、自動化により付与された拍位置情報を利用しても、その精度には限界がある。たとえば、特許文献1の装置では、低音域成分とバイブレーション機能を連動させているが、人が音楽を聞く際に感じるリズムは、必ずしも低音域成分に同期しているとは限らない。聴取者によっては違和感を覚える可能性がある。一方、特許文献4記載の方法は、高精度な拍位置情報をもたらすが、PCの利用を想定しており、スペックの乏しい装置では実施が困難である。これに対し、拍位置情報を修正することで精度を向上させることも可能であるが、PCとは異なり、GUIなどの表現力の少ない携帯端末上での操作により拍位置情報を修正させることは難しい。 However, even if the beat position information given by automation is used, the accuracy is limited. For example, in the device of Patent Document 1, the low frequency range component and the vibration function are linked, but the rhythm that a person feels when listening to music is not necessarily synchronized with the low frequency range component. Some listeners may feel uncomfortable. On the other hand, the method described in Patent Document 4 provides highly accurate beat position information, but assumes the use of a PC, and is difficult to implement with an apparatus with poor specifications. On the other hand, it is possible to improve the accuracy by correcting the beat position information, but unlike the PC, it is possible to correct the beat position information by an operation on a portable terminal with a small expressive power such as a GUI. difficult.
本発明は、このような事情に鑑みてなされたものであり、スペックの乏しい端末上でも、拍位置情報を修正し、高精度な拍位置で拍を出力することができる携帯端末、拍位置修正方法および拍位置修正プログラムを提供することを目的とする。 The present invention has been made in view of such circumstances, and a portable terminal capable of correcting beat position information and outputting a beat at a highly accurate beat position, even on a terminal with poor specifications, and beat position correction. It is an object to provide a method and a beat position correcting program.
本発明は、自動拍位置推定技術等によって得られた拍位置情報を修正可能にする携帯端末に関連する。本発明は、再生時に情報を読み出し、再生しながら推定拍位置と実拍位置を比較するインタフェースを用意し、適宜修正する手段を用意することで上記課題を解決する。具体的には、拍位置情報が付与されたコンテンツに対し、拍位置情報(メタ情報)と楽曲再生時間を同期再生し、拍位置情報と出力表示手段を同期させることにより、ユーザが拍位置情報の修正、付与を行うことを可能にしている。本発明は以下の特徴を有している。 The present invention relates to a portable terminal that enables correction of beat position information obtained by an automatic beat position estimation technique or the like. The present invention solves the above-mentioned problem by preparing an interface for reading out information during reproduction and comparing the estimated beat position and the actual beat position while reproducing the information, and by preparing means for appropriately correcting the position. Specifically, the beat position information (meta information) and the music playback time are synchronously reproduced for the content to which the beat position information is added, and the beat position information and the output display means are synchronized, so that the user can obtain the beat position information. It is possible to make corrections and grants. The present invention has the following features.
(1)本発明の携帯端末は、再生される楽曲の拍位置を修正可能にする携帯端末であって、楽曲データおよび前記楽曲データに対応付けられた拍位置情報を格納するデータベースと、前記楽曲データを読み出し、再生する楽曲再生部と、前記拍位置情報を管理する拍位置情報管理部と、前記楽曲データの再生時に、ユーザから拍位置の入力を受け付ける入力部と、を備え、前記拍位置情報管理部は、前記入力された拍位置を反映して、前記拍位置情報を修正することを特徴としている。 (1) A mobile terminal according to the present invention is a mobile terminal that enables correction of a beat position of a music to be played back, and a database that stores music data and beat position information associated with the music data, and the music A music playback unit that reads and plays data; a beat position information management unit that manages the beat position information; and an input unit that receives an input of a beat position from a user when the music data is played back, the beat position The information management unit is characterized in that the beat position information is corrected to reflect the input beat position.
このように、本発明の携帯端末は、ユーザから入力された拍位置を反映して、拍位置情報を修正する。これにより、スペックの乏しい端末上でも、拍位置情報を修正し、高精度な拍位置で拍を出力することができる。なお、拍位置とは、楽曲の再生に対して時間軸上に周期的に刻まれる拍の時刻を指す。拍位置は、主に曲頭からの再生時間で表される。 Thus, the portable terminal of the present invention corrects the beat position information by reflecting the beat position input from the user. Thereby, even on a terminal with poor specifications, the beat position information can be corrected and a beat can be output at a highly accurate beat position. The beat position refers to the time of a beat that is periodically engraved on the time axis for the reproduction of music. The beat position is mainly represented by the playback time from the beginning of the song.
(2)また、本発明の携帯端末は、前記楽曲データの再生に合わせて、前記拍位置情報に基づく拍位置で、拍を出力する拍位置情報出力部と、を更に備えることを特徴としている。これにより、ユーザは拍の出力が正しいか否かを確認しながら手動で拍位置を修正することができる。 (2) Moreover, the portable terminal of this invention is further provided with the beat position information output part which outputs a beat with the beat position based on the said beat position information according to reproduction | regeneration of the said music data, It is characterized by the above-mentioned. . Thus, the user can manually correct the beat position while confirming whether or not the beat output is correct.
(3)また、本発明の携帯端末は、前記楽曲データの曲頭からの再生時間を管理する時間管理部を更に備え、前記拍位置情報出力部は、前記楽曲データの曲頭からの再生時間で、前記拍位置情報に基づく拍位置を認識し、拍を出力し、前記拍位置情報管理部は、前記楽曲データの曲頭からの再生時間で、ユーザから入力された拍位置を反映して、前記拍位置情報を修正することを特徴としている。これにより、曲頭からの再生時間を基準にして拍位置を拍位置情報に反映させることができる。 (3) Moreover, the portable terminal of this invention is further provided with the time management part which manages the reproduction time from the music head of the said music data, The said beat position information output part is the reproduction time from the music head of the said music data The beat position information management unit recognizes the beat position based on the beat position information and outputs the beat, and the beat position information management unit reflects the beat position input by the user with the playback time from the beginning of the song data. The beat position information is corrected. Thereby, the beat position can be reflected in the beat position information with reference to the reproduction time from the beginning of the song.
(4)また、本発明の携帯端末は、前記楽曲データの曲頭からの再生時間が、直近未到達の拍位置である特定拍位置と一致するか否かを判定する拍位置判定部を更に備え、前記拍位置情報出力部は、前記楽曲データの曲頭からの再生時間が、前記特定拍位置と一致する場合に、前記特定拍位置に到達したものとして拍を出力することを特徴としている。このように本発明の携帯端末は、一つひとつ順番に拍位置への到達を判定し、拍を出力する。これにより、効率的に拍を出力できる。 (4) Moreover, the portable terminal of the present invention further includes a beat position determination unit that determines whether or not the reproduction time from the beginning of the music data coincides with a specific beat position that is the latest unreachable beat position. And the beat position information output unit outputs a beat as having reached the specific beat position when the reproduction time from the beginning of the music data coincides with the specific beat position. . Thus, the portable terminal of the present invention determines arrival at the beat position one by one and outputs the beat. Thereby, a beat can be output efficiently.
(5)また、本発明の携帯端末は、前記入力された拍位置を参照して、前記特定拍位置を推定する拍位置推定部を更に備えることを特徴としている。これにより、入力された拍位置を参照して、楽曲再生中に推定された拍位置を反映させ、楽曲を再生することができる。 (5) Moreover, the portable terminal of this invention is further provided with the beat position estimation part which estimates the said specific beat position with reference to the said input beat position. Thereby, the beat position estimated during music reproduction is reflected with reference to the input beat position, and the music can be reproduced.
(6)また、本発明の携帯端末は、前記楽曲データの再生時に、ユーザから入力された拍位置を記録する拍位置記録部を更に備え、前記拍位置情報管理部は、前記楽曲データの再生後に、前記記録された拍位置を反映して前記拍位置情報を修正することを特徴としている。これにより、楽曲データの再生時には入力した拍位置を拍の出力に反映させず、楽曲再生の終了後に記録した拍位置を拍位置情報に反映させることができる。 (6) The portable terminal of the present invention further includes a beat position recording unit that records a beat position input by a user when the music data is reproduced, and the beat position information management unit reproduces the music data. Later, the beat position information is corrected to reflect the recorded beat position. Thereby, at the time of reproduction | regeneration of music data, the input beat position is not reflected in the beat output, but the beat position recorded after the music reproduction is finished can be reflected in the beat position information.
(7)また、本発明の携帯端末は、ユーザから入力された拍位置と、前記楽曲データに伴う拍位置検出用関数のピーク位置とを比較し、両者の差が所定範囲内にあるか否かを判定する拍位置比較部と、前記両者の差が所定範囲内にある場合には、ユーザから入力された拍位置をピーク位置に修正する入力修正部と、を更に備えることを特徴としている。 (7) Moreover, the portable terminal of this invention compares the beat position input from the user with the peak position of the beat position detection function accompanying the music data, and whether the difference between the two is within a predetermined range. A beat position comparison unit for determining whether or not the difference between the two is within a predetermined range, and an input correction unit that corrects the beat position input by the user to a peak position. .
(8)また、本発明の拍位置修正方法は、再生される楽曲の拍位置を修正可能にする拍位置修正方法であって、前記楽曲データを読み出し、再生するステップと、前記楽曲データの再生時に、ユーザから入力された拍位置を記録するステップと、前記入力された拍位置を反映して、前記拍位置情報を修正するステップと、を含むことを特徴としている。これにより、スペックの乏しい端末上でも、拍位置情報を修正し、高精度な拍位置で拍を出力することができる。 (8) Also, the beat position correcting method of the present invention is a beat position correcting method that makes it possible to correct the beat position of the music to be played back, the step of reading out and playing back the music data, and the playback of the music data Sometimes, the method includes recording a beat position input from a user and correcting the beat position information to reflect the input beat position. Thereby, even on a terminal with poor specifications, the beat position information can be corrected and a beat can be output at a highly accurate beat position.
(9)また、本発明の拍位置修正プログラムは、再生される楽曲の拍位置を修正可能にする拍位置修正プログラムであって、前記楽曲データを読み出し、再生する処理と、前記楽曲データの再生時に、ユーザから入力された拍位置を記録する処理と、前記入力された拍位置を反映して、前記拍位置情報を修正する処理と、を携帯端末のコンピュータに実行させることを特徴としている。これにより、スペックの乏しい端末上でも、拍位置情報を修正し、高精度な拍位置で拍を出力することができる。 (9) The beat position correcting program of the present invention is a beat position correcting program that enables correction of the beat position of the music to be played back, the process of reading and playing back the music data, and the playback of the music data Sometimes, a process of recording a beat position input from a user and a process of correcting the beat position information to reflect the input beat position are executed by a computer of a portable terminal. Thereby, even on a terminal with poor specifications, the beat position information can be corrected and a beat can be output at a highly accurate beat position.
本発明によれば、スペックの乏しい端末上でも、拍位置情報を修正し、高精度な拍位置で拍を出力することができる。たとえば、自動拍位置推定技術によって得られた拍位置情報の精度不足を補える。また、PCを必要とせず、ユーザに柔軟な拍位置情報付与方法を提供することができる。 According to the present invention, even on a terminal with poor specifications, beat position information can be corrected and beats can be output at highly accurate beat positions. For example, the lack of accuracy of the beat position information obtained by the automatic beat position estimation technique can be compensated. Moreover, a flexible beat position information providing method can be provided to the user without requiring a PC.
次に、本発明の実施の形態について、図面を参照しながら説明する。説明の理解を容易にするため、各図面において同一の構成要素に対しては同一の参照番号を付し、重複する説明は省略する。 Next, embodiments of the present invention will be described with reference to the drawings. In order to facilitate understanding of the description, the same reference numerals are given to the same components in the respective drawings, and duplicate descriptions are omitted.
[実施形態1]
(携帯端末の構成)
図1は、携帯端末100の機能的構成を示すブロック図である。携帯端末100は、たとえば携帯電話機、PDAのような通信可能な携帯用の端末装置である。携帯端末100は、格納した楽曲データを再生でき、再生される楽曲の拍位置を修正できることを特徴とする。図1に示すように、携帯端末100は、データベース101、楽曲再生部102、拍位置情報管理部104、時間管理部105、拍位置判定部106、拍位置情報出力部107、入力部108および拍位置推定部109を備えている。
[Embodiment 1]
(Configuration of mobile device)
FIG. 1 is a block diagram illustrating a functional configuration of the
データベース101は、楽曲データ(楽曲コンテンツ)および楽曲データに対応付けられた拍位置情報を格納する。拍位置情報は、たとえば拍位置情報のファイルであり、拍位置を特定する情報を含む。必要に応じてデータベースは複数設けてもよい。拍位置情報は、たとえば次のような拍位置検出処理により求められている。まず、設定された解析区間の楽曲データを抽出し、入力波形に対して短時間フーリエ変換を適用し、入力波形におけるスペクトログラムを計算する。そして、スペクトログラムから時系列でのパワー関数を求め、自己相関関数により拍間隔を算出し、相互相関関数により拍位置を算出することで拍位置を検出する。なお、この際に求められるパワー関数は、拍位置検出用関数である。これにより、端末のスペック不足や、ユーザ入力の微小な遅延により、ユーザが想定した時刻に拍位置を入力できない場合でも、正確な拍位置の入力が可能となる。
The
楽曲再生部102は、データベース101から楽曲データを読み出し、再生する。楽曲再生部102は、読み出された楽曲データから総再生時間等の必要なパラメータを時間管理部105に渡し、楽曲データを再生する。楽曲再生部102によって得られた再生対象の楽曲データに従い、楽曲が再生される。
The
拍位置情報管理部104は、拍位置情報を管理する。たとえば、入力された拍位置を反映して、拍位置情報を修正する。これにより、スペックの乏しい端末上でも自動で推定された拍位置情報を修正し、精度を高めることができる。拍位置は、たとえば楽曲データの曲頭からの再生時間により特定される。拍位置情報管理部104は、データベース101から拍位置情報を読み出し保持する。また、再生時間との同期も管理し、時間管理部105の指示に応じて拍位置情報の修正を行う。修正した拍位置情報は適宜データベースに記録される。
The beat position
時間管理部105は、タイマにより楽曲データの曲頭からの再生時間を管理する。時間管理部105は、楽曲再生部102から得られたパラメータにより曲頭から曲終了までの総再生時間も保持する。拍位置判定部106は、楽曲データの曲頭からの再生時間が、直近未到達の拍位置である特定拍位置と一致するか否かを判定する。
The
拍位置情報出力部107は、楽曲データの再生に合わせて、拍位置情報に基づく拍位置で、拍を出力する。これにより、ユーザは拍の出力が正しいか否かを確認しながら手動で拍位置を修正することができる。拍位置情報出力部107は、楽曲データの曲頭からの再生時間を基準に、拍位置情報に基づく拍位置を認識し、拍を出力する。具体的には、拍位置情報出力部107は、楽曲データの曲頭からの再生時間が、特定拍位置と一致すると判定された場合に、特定拍位置に到達したものとして拍を出力する。このように、一つひとつ順番に拍位置への到達を判定し、拍を出力するため、効率的に拍を出力できる。
The beat position
拍位置情報出力部107は、時間管理部105によって命令されたタイミングで拍の出力を発生させる。拍の出力とは、再生対象の楽曲データと拍位置情報を同期させて行うバイブレーション鳴動や画面出力等を指す。
The beat position
入力部108は、楽曲データの再生時に、ユーザから拍位置の入力を受け付ける。入力部108は、ユーザのボタン入力を検知し、楽曲再生部102へと受け渡す。また、その操作に対応した指示をそのときの再生時間とともに拍位置情報管理部104に受け渡す。複数のキー入力を判別し、楽曲再生部102へと受け渡すことも可能である。
The
拍位置推定部109は、入力された拍位置を参照して、特定拍位置を推定する。特に推定方法は限定されない。たとえば直前に入力された3つの拍位置から平均の拍間隔を算出し、最後に到達した拍位置から算出された平均拍間隔だけ足した位置を特定拍位置と推定できる。このように入力された拍位置を参照して、次々と拍位置を推定しつつ、楽曲を再生することができる。
The beat
(携帯端末の動作)
次に上記のように構成された携帯端末100の動作を説明する。図2は、携帯端末100の特徴的な動作を示すフローチャートである。まず、楽曲データに対応付けられた拍位置情報を読み出す(ステップS1)。拍位置情報として格納された拍位置はそれぞれm1,m2,m3,…,mnである。そして、拍位置情報に対応する楽曲データを読み出す(ステップS2)。
(Mobile device operation)
Next, the operation of the
次に、読み出した楽曲データの再生を開始する(ステップS3)。再生の開始と同時に曲頭からの楽曲再生時間を管理するためタイマを起動させる(ステップS4)。楽曲データの曲頭からの再生時間tは主に楽曲再生終了確認とバイブレーションや画面同期などの拍の出力の判定に利用される。そして、最初の特定拍位置M(1)を決定する(ステップS5)。直近で未到達の特定拍位置M(x)は、楽曲の再生中に1以上の整数xによりM(1),M(2),M(3),…,M(n)と次々に設定される。 Next, reproduction of the read music data is started (step S3). Simultaneously with the start of reproduction, a timer is activated to manage the music reproduction time from the beginning of the music (step S4). The playback time t from the beginning of the music data is mainly used for confirmation of the end of music playback and determination of beat output such as vibration and screen synchronization. Then, the first specific beat position M (1) is determined (step S5). The most recent unreachable specific beat position M (x) is set to M (1), M (2), M (3),. Is done.
次に、曲頭からの再生時間を管理し、楽曲終了時間となったか否かを判定する(ステップS6)。具体的には、t=Tか否かを判定する。まだ楽曲終了時間ではないと判定された場合には、再生時間が特定拍位置と一致するか否か(t=M(x)か否か)を判定する(ステップS7)。再生時間が特定拍位置と一致しない場合にはステップS6に戻る。再生時間が特定拍位置と一致する場合には、拍を出力し(ステップS8)、ステップS6に戻る。ステップS6で、楽曲終了時間ではないと判定された場合には、楽曲の再生を終了し(ステップS9)、動作を終了する。 Next, the playback time from the beginning of the song is managed, and it is determined whether or not the song end time has been reached (step S6). Specifically, it is determined whether t = T. If it is determined that it is not yet the music end time, it is determined whether or not the playback time coincides with the specific beat position (whether or not t = M (x)) (step S7). If the playback time does not match the specific beat position, the process returns to step S6. If the playback time matches the specific beat position, the beat is output (step S8), and the process returns to step S6. If it is determined in step S6 that it is not the music end time, the reproduction of the music is terminated (step S9), and the operation is terminated.
一方、タイマの起動(ステップS4)から楽曲の終了(ステップS9)の間には、携帯端末100は、並行して次の動作を行う。図3は、携帯端末100が並行して行う動作を示すフローチャートである。
On the other hand, between the start of the timer (step S4) and the end of the music (step S9), the
まず、楽曲終了時間か否かを判定する(ステップT1)。まだ、楽曲終了時間ではないと判定された場合には、拍位置入力用のボタンが押下されたか否かを判定する(ステップT2)。ボタンが押下されなかったと判定された場合には、ステップT1に戻る。ボタンが押下されたと判定された場合には、特定拍位置を推定し(ステップT3)、特定拍位置を推定された拍位置に更新する(ステップT4)。なお、更新された特定拍位置は、上記のステップS7においても用いられる。そして、更新された特定拍位置を反映させて拍位置情報を更新し(ステップT5)、ステップT1に戻る。ステップT1で、楽曲終了時間に到達したと判定されたときには、動作を終了する。なお、上記の動作は携帯端末100にプログラムを実行させることにより行われる。
First, it is determined whether or not it is the music end time (step T1). If it is determined that it is not the music end time, it is determined whether or not the beat position input button has been pressed (step T2). If it is determined that the button has not been pressed, the process returns to step T1. If it is determined that the button has been pressed, the specific beat position is estimated (step T3), and the specific beat position is updated to the estimated beat position (step T4). The updated specific beat position is also used in step S7. Then, the beat position information is updated by reflecting the updated specific beat position (step T5), and the process returns to step T1. If it is determined in step T1 that the music end time has been reached, the operation ends. In addition, said operation | movement is performed by making the
このようにして、再生対象の楽曲データと拍位置情報を同期させた拍の出力が可能となる。また、楽曲データを再生する際にタイマを起動し、楽曲データの再生時間を管理することにより、ユーザは拍位置情報の確認を行うことができる。つまり、ユーザは拍位置情報の拍位置と再生される楽曲との連動の妥当性(精度)を拍の出力処理によって確認することができる。そして、ユーザは拍位置情報と楽曲データ再生との連動を修正したい場合、携帯端末100のボタンを押下することで、再生中の楽曲データの拍位置情報を適宜修正することができる。
In this way, it is possible to output beats in which the music data to be reproduced and the beat position information are synchronized. In addition, the user can check the beat position information by starting a timer when playing music data and managing the playback time of the music data. That is, the user can check the validity (accuracy) of the linkage between the beat position of the beat position information and the music to be played back by the beat output process. When the user wants to correct the linkage between the beat position information and the music data reproduction, the user can appropriately correct the beat position information of the music data being reproduced by pressing a button on the
また、精度に問題のある自動拍位置推定技術により、誤った拍位置情報が付与された場合にも、携帯端末100単体で容易に拍位置情報を修正することが可能になる。また、自動の拍位置推定技術では対応できない拍位置の精度を向上することができる。さらに、ユーザのセンスによって拍位置情報を付与、削除するという使い方も可能である。
Further, even when incorrect beat position information is given by an automatic beat position estimation technique having a problem with accuracy, the beat position information can be easily corrected by the
[実施形態2]
(携帯端末の構成)
上記の実施形態では、楽曲の再生中に入力された拍位置を参照して特定拍位置を設定することにより、随時、入力された拍位置を出力される拍の位置に反映させるが、楽曲再生中は入力された拍位置を記録し、楽曲再生後に記録された拍位置により拍位置情報を修正することも可能である。図4は、携帯端末200の機能的構成を示すブロック図である。図4に示すように、拍位置推定部109に代えて拍位置記録部209を備えている。
[Embodiment 2]
(Configuration of mobile device)
In the above embodiment, the specific beat position is set by referring to the beat position input during music playback, so that the input beat position is reflected in the output beat position as needed. It is also possible to record the input beat position while correcting the beat position information based on the recorded beat position after the music is reproduced. FIG. 4 is a block diagram illustrating a functional configuration of the
拍位置記録部209は、楽曲データの再生時に、ユーザから入力された拍位置を記録する。そして、拍位置情報管理部104は、楽曲データの再生後に、記録された拍位置を反映して拍位置情報を修正する。これにより、楽曲データの再生時には入力された拍位置を拍の出力に反映させずに、楽曲再生の終了後に記録した拍位置を拍位置情報に反映させることができる。
The beat
(携帯端末の動作)
次に上記のように構成された携帯端末200の動作を説明する。図5は、携帯端末200の特徴的な動作を示すフローチャートである。まず、拍位置情報を読み出し(ステップP1)、拍位置情報に対応する楽曲データを読み出す(ステップP2)。次に、読み出した楽曲データの再生を開始する(ステップP3)。再生の開始と同時にタイマを起動させる(ステップP4)。そして、最初の特定拍位置M(1)を決定する(ステップP5)。
(Mobile device operation)
Next, the operation of the
次に、曲頭からの再生時間を管理し、楽曲終了時間となったか否かを判定する(ステップP6)。まだ楽曲終了時間ではないと判定された場合には、再生時間が特定拍位置と一致するか否かを判定する(ステップP7)。再生時間が特定拍位置と一致しない場合にはステップP6に戻る。再生時間が特定拍位置と一致する場合には、拍を出力し(ステップP8)、特定拍位置を更新して(ステップP9)、ステップP6に戻る。特定拍位置の更新は、格納されている拍位置情報の拍位置を参照することで行い、具体的には、x=x+1といった加算処理を行う。ステップP6で、楽曲終了時間であると判定された場合には、楽曲の再生を終了し(ステップP10)、動作を終了する。 Next, the playback time from the beginning of the song is managed, and it is determined whether or not the song end time has been reached (step P6). If it is determined that it is not yet the music end time, it is determined whether or not the playback time matches the specific beat position (step P7). If the reproduction time does not coincide with the specific beat position, the process returns to step P6. If the playback time matches the specific beat position, the beat is output (step P8), the specific beat position is updated (step P9), and the process returns to step P6. The specific beat position is updated by referring to the beat position of the stored beat position information. Specifically, an addition process such as x = x + 1 is performed. If it is determined in step P6 that the music end time is reached, the reproduction of the music is terminated (step P10), and the operation is terminated.
一方、タイマの起動(ステップP4)から楽曲の終了(ステップP10)の間には、携帯端末200は、並行して次の動作を行う。図6は、携帯端末200が並行して行う動作を示すフローチャートである。
On the other hand, between the start of the timer (step P4) and the end of the music (step P10), the
まず、楽曲終了時間か否かを判定する(ステップR1)。まだ、楽曲終了時間ではないと判定された場合には、拍位置入力用のボタンが押下されたか否かを判定する(ステップR2)。ボタンが押下されなかったと判定された場合には、ステップR1に戻る。ボタンが押下されたと判定された場合には、入力された拍位置を記録し(ステップR3)、ステップR1に戻る。なお、携帯端末100とは異なり、特定拍位置の更新は、上記のステップP9で行われる。ステップR1で、楽曲終了時間に到達したと判定されたときには、拍位置情報を更新し(ステップR4)、動作を終了する。
First, it is determined whether or not it is the music end time (step R1). If it is determined that it is not the music end time, it is determined whether or not the beat position input button has been pressed (step R2). If it is determined that the button has not been pressed, the process returns to step R1. If it is determined that the button has been pressed, the input beat position is recorded (step R3), and the process returns to step R1. Unlike the
[実施形態3]
上記の実施形態では、ユーザにより入力された拍位置をそのまま用いて拍位置の推定または拍位置の記録を行うが、入力された拍位置を修正して、拍位置の推定または拍位置の記録を行ってもよい。図7は、入力された拍位置を、関数を用いて修正する携帯端末300の機能的構成を示すブロック図である。
[Embodiment 3]
In the above embodiment, the beat position input by the user is used as it is, and the beat position is estimated or the beat position is recorded. However, the input beat position is corrected and the beat position is estimated or the beat position is recorded. You may go. FIG. 7 is a block diagram illustrating a functional configuration of the
図7に示すように、携帯端末300は、実施形態1に係る携帯端末100の構成に加え、さらに拍位置比較部301および入力修正部302を備えている。拍位置比較部301は、入力された拍位置と楽曲データの拍位置情報を推定した際の拍位置検出用関数とを比較する。そして、ユーザから入力された拍位置と、楽曲データに伴う拍位置検出用関数のピーク位置との差が所定範囲内にあるか否かを判定する。このように入力された拍位置を修正する際には拍位置検出用関数の情報を保持しておき、ユーザ入力時刻と拍位置検出用関数の周辺強度を比較する。拍位置検出用関数には、あらかじめ拍位置検出処理の際に求めた拍位置検出用関数を利用する。なお、拍位置検出用関数は、メタ情報として楽曲データに付随するものであってもよいし、改めて楽曲データから算出されるものであってもよい。
As illustrated in FIG. 7, the
入力修正部302は、入力された拍位置を強度の高い位置へ自動修正する。たとえば、拍位置検出用関数のピーク位置へと修正することができる。これにより、端末のスペック不足や、ユーザ入力の微小な遅延により、ユーザが想定した時刻に拍位置を入力できない場合でも正確な拍位置の入力が可能となる。なお、拍位置検出用関数には、FFTのパワー関数などを利用することもできる。
The
次に、携帯端末300の動作を説明する。携帯端末300の動作は、原則、実施形態1に係る携帯端末100の動作と同じであるが、入力に対応する一連の動作において、ボタン押下後から特定拍位置の推定前までの動作が異なる。すなわち、ボタンが押下されたと判定された場合に、携帯端末300は、入力された拍位置と拍位置検出用関数とを比較する。そして、比較結果を用いて入力された拍位置を修正する。このようにして、修正された拍位置を用いて特定拍位置を推定する。
Next, the operation of the
入力された拍位置と拍位置検出用関数との比較および拍位置の修正について説明する。図8は、入力された拍位置の修正動作を概念的に示す図である。図8に示すように、入力された拍位置と拍位置検出用関数のピーク位置とに差がある場合を想定する。このとき携帯端末300は、ユーザ入力時刻と拍位置検出用関数の周辺強度を比較し、入力された拍位置と拍位置検出用関数のピーク位置との差が所定範囲内であれば、入力された拍位置をピーク位置へ自動修正する。所定範囲としては、0.1〜0.3秒が好ましいが、特に0.24秒以下が好ましい。通常、一般的な楽曲のテンポの範囲は、50BPM以上、250BPM以下である。したがって、上限の250BPMにおける拍間隔は、0.24秒であるため、標準最低拍間隔は0.24秒となる。この標準最低拍間隔を利用し、上記の所定範囲を0.24秒とすることができる。
Comparison between the input beat position and the beat position detection function and correction of the beat position will be described. FIG. 8 is a diagram conceptually showing the correction operation of the input beat position. As shown in FIG. 8, it is assumed that there is a difference between the input beat position and the peak position of the beat position detection function. At this time, the
なお、上記の携帯端末300は、楽曲の再生中に入力された拍位置を出力される拍の位置に反映させるが、楽曲再生中は入力された拍位置を記録し、楽曲再生後に記録された拍位置により拍位置情報を修正する場合でも同様である。その場合には、実施形態2に係る携帯端末200が更に拍位置比較部301および入力修正部302を備え、ボタン押下後から拍位置記録前までの動作において入力された拍位置を修正する。
Note that the
100、200、300 携帯端末
101 データベース
102 楽曲再生部
104 拍位置情報管理部
105 時間管理部
106 拍位置判定部
107 拍位置情報出力部
108 入力部
109 拍位置推定部
209 拍位置記録部
301 拍位置比較部
302 入力修正部
100, 200, 300 Mobile terminal 101
Claims (9)
楽曲データおよび前記楽曲データに対応付けられた拍位置情報を格納するデータベースと、
前記楽曲データを読み出し、再生する楽曲再生部と、
前記拍位置情報を管理する拍位置情報管理部と、
前記楽曲データの再生時に、ユーザから拍位置の入力を受け付ける入力部と、を備え、
前記拍位置情報管理部は、前記入力された拍位置を反映して、前記拍位置情報を修正することを特徴とする携帯端末。 A mobile terminal that enables correction of the beat position of the music to be played,
A database for storing song data and beat position information associated with the song data;
A music playback unit that reads and plays back the music data;
A beat position information management unit for managing the beat position information;
An input unit for receiving an input of a beat position from a user at the time of reproduction of the music data,
The mobile terminal characterized in that the beat position information management unit corrects the beat position information to reflect the input beat position.
前記拍位置情報出力部は、前記楽曲データの曲頭からの再生時間で、前記拍位置情報に基づく拍位置を認識し、拍を出力し、
前記拍位置情報管理部は、前記楽曲データの曲頭からの再生時間で、ユーザから入力された拍位置を反映して、前記拍位置情報を修正することを特徴とする請求項1または請求項2記載の携帯端末。 A time management unit for managing the playback time from the beginning of the music data;
The beat position information output unit recognizes the beat position based on the beat position information in the reproduction time from the beginning of the music data, and outputs a beat.
The beat position information management unit corrects the beat position information by reflecting a beat position input by a user with a reproduction time from the beginning of the music data. 2. The mobile terminal according to 2.
前記拍位置情報出力部は、前記楽曲データの曲頭からの再生時間が、前記特定拍位置と一致する場合に、前記特定拍位置に到達したものとして拍を出力することを特徴とする請求項3記載の携帯端末。 It further comprises a beat position determination unit that determines whether or not the reproduction time from the beginning of the music data matches a specific beat position that is the latest unreachable beat position,
The beat position information output unit outputs a beat as having reached the specific beat position when a reproduction time from the beginning of the music data coincides with the specific beat position. 3. The mobile terminal according to 3.
前記拍位置情報管理部は、前記楽曲データの再生後に、前記記録された拍位置を反映して前記拍位置情報を修正することを特徴とする請求項1から請求項5のいずれかに記載の携帯端末。 A beat position recording unit that records the beat position input by the user when the music data is reproduced;
6. The beat position information management unit corrects the beat position information to reflect the recorded beat position after reproduction of the music data. 6. Mobile device.
前記両者の差が所定範囲内にある場合には、ユーザから入力された拍位置をピーク位置に修正する入力修正部と、を更に備えることを特徴とする請求項1から請求項6のいずれかに記載の携帯端末。 Comparing the beat position input from the user with the peak position of the beat position detection function associated with the music data, and determining whether the difference between the two is within a predetermined range;
The input correction part which corrects the beat position input from the user to the peak position when the difference between the two is within a predetermined range, further comprising: The portable terminal as described in.
前記楽曲データを読み出し、再生するステップと、
前記楽曲データの再生時に、ユーザから入力された拍位置を記録するステップと、
前記入力された拍位置を反映して、前記拍位置情報を修正するステップと、を含むことを特徴とする拍位置修正方法。 A beat position correction method that enables correction of the beat position of a music to be played,
Reading and playing the music data; and
Recording the beat position input by the user when reproducing the music data;
Correcting the beat position information by reflecting the input beat position, and a beat position correcting method.
前記楽曲データを読み出し、再生する処理と、
前記楽曲データの再生時に、ユーザから入力された拍位置を記録する処理と、
前記入力された拍位置を反映して、前記拍位置情報を修正する処理と、を携帯端末のコンピュータに実行させることを特徴とする拍位置修正プログラム。 A beat position correction program that enables correction of the beat position of the music to be played,
A process of reading and playing the music data;
A process of recording a beat position input by a user at the time of reproduction of the music data;
A beat position correcting program for causing a computer of a portable terminal to execute processing for correcting the beat position information by reflecting the input beat position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008286568A JP2010114737A (en) | 2008-11-07 | 2008-11-07 | Mobile terminal, beat position correcting method, and beat position correcting program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008286568A JP2010114737A (en) | 2008-11-07 | 2008-11-07 | Mobile terminal, beat position correcting method, and beat position correcting program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010114737A true JP2010114737A (en) | 2010-05-20 |
Family
ID=42302932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008286568A Pending JP2010114737A (en) | 2008-11-07 | 2008-11-07 | Mobile terminal, beat position correcting method, and beat position correcting program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010114737A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103377647A (en) * | 2012-04-24 | 2013-10-30 | 中国科学院声学研究所 | Automatic music notation recording method and system based on audio and video information |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07295560A (en) * | 1994-04-27 | 1995-11-10 | Victor Co Of Japan Ltd | Midi data editing device |
JP2003018248A (en) * | 2001-07-04 | 2003-01-17 | Yamaha Corp | Mobile communication terminal and server service |
JP2004054167A (en) * | 2002-07-24 | 2004-02-19 | Yamaha Corp | Device and program for creating reproduction control information |
JP2007199306A (en) * | 2006-01-25 | 2007-08-09 | Sony Corp | Beat extracting device and method |
JP2007248895A (en) * | 2006-03-16 | 2007-09-27 | Sony Corp | Metadata attachment method and device |
-
2008
- 2008-11-07 JP JP2008286568A patent/JP2010114737A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07295560A (en) * | 1994-04-27 | 1995-11-10 | Victor Co Of Japan Ltd | Midi data editing device |
JP2003018248A (en) * | 2001-07-04 | 2003-01-17 | Yamaha Corp | Mobile communication terminal and server service |
JP2004054167A (en) * | 2002-07-24 | 2004-02-19 | Yamaha Corp | Device and program for creating reproduction control information |
JP2007199306A (en) * | 2006-01-25 | 2007-08-09 | Sony Corp | Beat extracting device and method |
JP2007248895A (en) * | 2006-03-16 | 2007-09-27 | Sony Corp | Metadata attachment method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103377647A (en) * | 2012-04-24 | 2013-10-30 | 中国科学院声学研究所 | Automatic music notation recording method and system based on audio and video information |
CN103377647B (en) * | 2012-04-24 | 2015-10-07 | 中国科学院声学研究所 | A kind of note spectral method of the automatic music based on audio/video information and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7080016B2 (en) | Audio information reproduction device and audio information reproduction system | |
JP3885587B2 (en) | Performance control apparatus, performance control program, and recording medium | |
JP5395399B2 (en) | Mobile terminal, beat position estimating method and beat position estimating program | |
US10354630B2 (en) | Performance information processing device and method | |
KR20040077784A (en) | Music retrieval system for joining in with the retrieved piece of music | |
JP4539594B2 (en) | Playback recording device | |
JP7367835B2 (en) | Recording/playback device, control method and control program for the recording/playback device, and electronic musical instrument | |
JP5311069B2 (en) | Singing evaluation device and singing evaluation program | |
JP2010114737A (en) | Mobile terminal, beat position correcting method, and beat position correcting program | |
JP2019191336A (en) | Arbitrary signal insertion method and arbitrary signal insertion system | |
KR101244289B1 (en) | Method of synchronizing mp3 music data with lyrics data for midi | |
JP3925349B2 (en) | Apparatus and method for synchronous reproduction of audio data and performance data | |
CN102044238B (en) | Music reproducing system | |
JP6326822B2 (en) | Recording method | |
JP5370701B2 (en) | Karaoke equipment | |
JP5338312B2 (en) | Automatic performance synchronization device, automatic performance keyboard instrument and program | |
JP5060341B2 (en) | Synchronized playback apparatus, automatic music remix system, synchronized playback method and synchronized playback program | |
JP3804536B2 (en) | Musical sound reproduction recording apparatus, recording apparatus and recording method | |
JP6168649B2 (en) | Code detection apparatus and program | |
JP4063048B2 (en) | Apparatus and method for synchronous reproduction of audio data and performance data | |
JP2003208169A (en) | Multi-media system, reproducing apparatus and reproducing/recording apparatus | |
JP4048917B2 (en) | Apparatus and method for synchronous reproduction of audio data and performance data | |
JP4062193B2 (en) | Automatic accompaniment playback position detection device, automatic accompaniment device, automatic accompaniment playback position detection program, and automatic accompaniment control program | |
JP5262908B2 (en) | Lyrics display device, program | |
JP2014235328A (en) | Code estimation detection device and code estimation detection program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110826 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120618 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120626 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120816 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130205 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130402 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20131022 |