JP2000267654A5 - Tempo calculation method and tempo calculation device - Google Patents

Tempo calculation method and tempo calculation device Download PDF

Info

Publication number
JP2000267654A5
JP2000267654A5 JP1999072390A JP7239099A JP2000267654A5 JP 2000267654 A5 JP2000267654 A5 JP 2000267654A5 JP 1999072390 A JP1999072390 A JP 1999072390A JP 7239099 A JP7239099 A JP 7239099A JP 2000267654 A5 JP2000267654 A5 JP 2000267654A5
Authority
JP
Japan
Prior art keywords
time
periodic sound
tempo
periodic
sound
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.)
Granted
Application number
JP1999072390A
Other languages
Japanese (ja)
Other versions
JP4214606B2 (en
JP2000267654A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP07239099A priority Critical patent/JP4214606B2/en
Priority claimed from JP07239099A external-priority patent/JP4214606B2/en
Publication of JP2000267654A publication Critical patent/JP2000267654A/en
Publication of JP2000267654A5 publication Critical patent/JP2000267654A5/en
Application granted granted Critical
Publication of JP4214606B2 publication Critical patent/JP4214606B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【特許請求の範囲】
【請求項1】 音源からの音楽信号から、周期的に発生する周期音を連続して検出し、
前記連続して検出された周期音に基づいて、連続する2つの周期音間隔時間である周期音時間を連続して求め、
過去求めたM(Mは2以上の自然数)個の周期音時間の中に今回求めた周期音時間に近い周期音時間の個数を算出し、
算出した個数が前記M個の内のN(NはMより小さい自然数)個以上の場合、今回求めた周期音時間及び今回求めた周期音時間に近い過去の周期音時間から、平均周期音時間を求め、
求めた平均周期音時間から前記音楽信号のテンポを算出する、
テンポ算出方法。
【請求項2】 過去求めたM個の周期音時間の中に、連続する2つの周期音時間の一方が他方の3倍である組み合わせが、所定組数ある場合には、該2つの周期音時間の平均時間を、前記平均周期音時間とすることを特徴とする請求項1記載のテンポ算出方法。
【請求項3】 前記周期音のレベルの立ち上がりを検出することにより、周期音を検出する請求項1又は請求項2記載のテンポ算出方法。
【請求項4】 前記周期音をサンプリングし、
今回サンプリングした周期音が前回周期音検出時から所定時間経過して検出されたものであると共に今回サンプリングした周期音のレベルがしきい値以上でありかつ過去サンプリングされた所定個数の周期音のレベルより大きい場合に、前記周期音のレベルの立ち上がりを検出する、
ことを特徴とする請求項3記載のテンポ算出方法。
【請求項5】 音源からの音楽信号から、周期的に発生する周期音を連続して検出する検出手段と、
前記検出手段で検出された周期音に基づいて、連続する2つの周期音間隔時間である周期音時間を連続して求める計時手段と、
過去求めたM(Mは2以上の自然数)個の周期音時間の中に今回求めた周期音時間に近い周期音時間の個数を算出する計数手段と、
算出した個数が前記M個の内のN(NはMより小さい自然数)個以上の場合、今回求めた周期音時間及び今回求めた周期音時間に近い過去の周期音時間から、平均周期音時間を求める平均算出手段と、
求めた平均周期音時間から前記音楽信号のテンポを算出するテンポ算出手段と、
を備えることを特徴とするテンポ算出装置。
[Claims]
1. A periodic sound that is periodically generated is continuously detected from a music signal from a sound source.
Based on the continuously detected periodic sounds, the periodic sound time, which is the interval time between two consecutive periodic sounds, is continuously obtained.
The number of periodic sound times close to the periodic sound time obtained this time is calculated from the M (M is a natural number of 2 or more) periodic sound times obtained in the past.
When the calculated number is N (N is a natural number smaller than M) or more among the M pieces, the average periodic sound time is obtained from the periodic sound time obtained this time and the past periodic sound time close to the periodic sound time obtained this time. Seeking,
The tempo of the music signal is calculated from the obtained average periodic sound time.
Tempo calculation method.
2. If there is a predetermined number of combinations in which one of two consecutive periodic sound times is three times the other among the M periodic sound times obtained in the past, the two periodic sounds. The tempo calculation method according to claim 1, wherein the average time is defined as the average periodic sound time.
3. The tempo calculation method according to claim 1 or 2, wherein the periodic sound is detected by detecting the rise of the level of the periodic sound.
4. The periodic sound is sampled and
The periodic sound sampled this time is detected after a predetermined time has passed since the previous periodic sound was detected, and the level of the periodic sound sampled this time is equal to or higher than the threshold value and the level of the predetermined number of periodic sounds sampled in the past. When it is larger than, the rise of the level of the periodic sound is detected.
The tempo calculation method according to claim 3, wherein the tempo is calculated.
5. A detection means for continuously detecting periodic sounds generated periodically from a music signal from a sound source.
A timekeeping means for continuously obtaining a periodic sound time, which is two consecutive periodic sound interval times, based on the periodic sound detected by the detection means.
A counting means for calculating the number of periodic sound times close to the periodic sound time obtained this time among M (M is a natural number of 2 or more) periodic sound times obtained in the past
When the calculated number is N (N is a natural number smaller than M) or more among the M pieces, the average periodic sound time is obtained from the periodic sound time obtained this time and the past periodic sound time close to the periodic sound time obtained this time. And the average calculation method to find
A tempo calculation means for calculating the tempo of the music signal from the obtained average periodic sound time, and
A tempo calculation device characterized by being equipped with.

【0001】
【発明の属する技術分野】
本発明は、テンポ算出方法及びテンポ算出装置に係り、より詳しくは、音源からの音楽のテンポを算出するテンポ算出方法及びテンポ算出装置に関する。
[0001]
[Technical field to which the invention belongs]
The present invention relates to a tempo calculation method and a tempo calculation device , and more particularly to a tempo calculation method and a tempo calculation device for calculating the tempo of music from a sound source.

【0005】
【発明が解決しようとする課題】
しかし、上記音響装置は、各パターンごとにマッチングをとり、最も近いパターンを選択することにより、テンポを求めているので、正確ではあるが、テンポ算出するまでに長時間を要する。本発明は上記事実に考えなされたもので、テンポ算出時間を短縮させることの可能なテンポ算出方法及びテンポ算出装置を提案することを目的とする。
0005
[Problems to be Solved by the Invention]
However, since the above-mentioned audio device obtains the tempo by matching each pattern and selecting the closest pattern, it takes a long time to calculate the tempo, although it is accurate. The present invention has been conceived based on the above facts, and an object of the present invention is to propose a tempo calculation method and a tempo calculation device capable of shortening the tempo calculation time.

【0006】
【課題を解決するための手段】
上記目的達成のため請求項1記載の発明は、音源からの音楽信号から、周期的に発生する周期音を連続して検出し、前記連続して検出された周期音に基づいて、連続する2つの周期音間隔時間である周期音時間を連続して求め、過去求めたM(Mは2以上の自然数)個の周期音時間の中に今回求めた周期音時間に近い周期音時間の個数を算出し、算出した個数が前記M個の内のN(NはMより小さい自然数)個以上の場合、今回求めた周期音時間及び今回求めた周期音時間に近い過去の周期音時間から、平均周期音時間を求め、求めた平均周期音時間から前記音楽信号のテンポを算出するものである
0006
[Means for solving problems]
In order to achieve the above object, the invention according to claim 1 continuously detects periodic sounds that are periodically generated from a music signal from a sound source, and is continuous 2 based on the continuously detected periodic sounds. The periodic sound time, which is one periodic sound interval time, is continuously obtained, and the number of periodic sound times close to the periodic sound time obtained this time is included in the M (M is a natural number of 2 or more) of the periodic sound times obtained in the past. When the calculated number is N (N is a natural number smaller than M) or more among the M pieces, the average is obtained from the periodic sound time obtained this time and the past periodic sound time close to the periodic sound time obtained this time. seek periodic sound time, and calculates the tempo of the music signal from the average periodic sound time obtained.

また、周期音のレベルの立ち上がりを検出することにより、周期音を検出するようにしてもよい。この場合は、周期音をサンプリングし、今回サンプリングした周期音が前回周期音検出時から所定時間経過して検出されたものであると共に今回サンプリングした周期音のレベルがしきい値以上でありかつ過去サンプリングされた所定個数の周期音のレベルより大きい場合に、前記周期音のレベルの立ち上がりを検出するとする。
上記目的達成のため請求項5記載の発明は、音源からの音楽信号から、周期的に発生する周期音を連続して検出する検出手段と、前記検出手段で検出された周期音に基づいて、連続する2つの周期音間隔時間である周期音時間を連続して求める計時手段と、過去求めたM(Mは2以上の自然数)個の周期音時間の中に今回求めた周期音時間に近い周期音時間の個数を算出する計数手段と、算出した個数が前記M個の内のN(NはMより小さい自然数)個以上の場合、今回求めた周期音時間及び今回求めた周期音時間に近い過去の周期音時間から、平均周期音時間を求める平均算出手段と、求めた平均周期音時間から前記音楽信号のテンポを算出するテンポ算出手段と、を備えることを特徴とするものである。
本発明に係るテンポ算出装置によれば、複数のパターンをマッチング処理しないで、テンポを算出するので、簡易にテンポを算出することができ、よって、テンポ算出する時間を短くすることができる。
Further, the periodic sound may be detected by detecting the rise of the level of the periodic sound. In this case, the periodic sound is sampled, and the periodic sound sampled this time is detected after a predetermined time has passed since the previous periodic sound was detected, and the level of the periodic sound sampled this time is equal to or higher than the threshold value and is in the past. It is assumed that the rise of the level of the periodic sound is detected when the level is larger than the level of a predetermined number of sampled periodic sounds.
In order to achieve the above object, the invention according to claim 5 is based on a detection means for continuously detecting a periodic sound generated periodically from a music signal from a sound source and a periodic sound detected by the detection means. It is close to the periodic sound time obtained this time in the time counting means for continuously obtaining the periodic sound time which is the interval time of two consecutive periodic sounds and the periodic sound time of M (M is a natural number of 2 or more) obtained in the past. A counting means for calculating the number of periodic sound times, and when the calculated number is N (N is a natural number smaller than M) or more among the M pieces, the periodic sound time obtained this time and the periodic sound time obtained this time are used. It is characterized by comprising an average calculation means for calculating an average periodic sound time from a near past periodic sound time, and a tempo calculation means for calculating the tempo of the music signal from the obtained average periodic sound time.
According to the tempo calculation device according to the present invention, the tempo is calculated without matching a plurality of patterns, so that the tempo can be calculated easily, and thus the time for calculating the tempo can be shortened.

【0010】
【発明の実施の形態】
以下、図面を参照して、本発明に係るテンポ算出方法及びテンポ算出装置の実施の形態を詳細に説明する。
0010
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the tempo calculation method and the tempo calculation device according to the present invention will be described in detail with reference to the drawings.

ここで、リズムパターンは、図3(A)〜図3(D)に代表的に示されるように、各リズムパターンは複数の楽器音を組み合わせて構成されている。各リズムパターンは、1小節時間を例えばアクセント数(図3(A)、図3(B)は16個、図3(C)、図3(D)は12個)等で割った各分割時間ごとに、各楽器音の出力タイミングが設定されている。図3には代表的なリズムパターンが示されており、リズムパターンはこれらに限定されるものでない。また、これらリズムパターンは、選択手段を設けることにより、ユーザーにより、設定可能とする構成をとることもできる。
Here, as rhythm patterns are typically shown in FIGS. 3 (A) to 3 (D), each rhythm pattern is composed of a combination of sounds of a plurality of musical instruments. For each rhythm pattern, each division time is obtained by dividing one bar time by, for example, the number of accents (16 in FIGS. 3 (A) and 3 (B), 12 in FIGS. 3 (C) and 3 (D)). The output timing of each instrument sound is set for each. A typical rhythm pattern is shown in FIG. 3, and the rhythm pattern is not limited to these. Further, these rhythm patterns can be configured to be set by the user by providing a selection means.

前回ビート音検出時から所定時間U経過したと判断した場合には、ステップ116で、今回入力したビート音のレベルがしきい値を超えてるか否かを判断する。上記3つの条件の1つでも満たさない場合には、ステップ112に戻る。よって、図5に示すように、サンプリング値SX、SY等を対象外とすることができる。上記3の条件を満たす場合には、ステップ118で、上記3つの条件(ステップ112、114、116)を満たすビート音の入力個数を表わす変数Cが0か否かを判断する。変数Cが0の場合には、ステップ120で、変数Cを1インクリメントし、ステップ124で、領域Cに今回の音レベルを記憶して、ステップ112に戻る。
If it is determined that a predetermined time U has elapsed since the previous beat sound was detected, it is determined in step 116 whether or not the level of the beat sound input this time exceeds the threshold value. If any one of the above three conditions is not satisfied, the process returns to step 112. Therefore, as shown in FIG. 5, the sampling values SX, SY, etc. can be excluded. When the above three conditions are satisfied, in step 118, it is determined whether or not the variable C representing the number of beat sound inputs satisfying the above three conditions (steps 112, 114, 116) is 0. When the variable C is 0, the variable C is incremented by 1 in step 120, the current sound level is stored in the area C in step 124, and the process returns to step 112.

ここで、誤差振分時間として誤差ΔTを所定倍(例えば、2倍)しているのは次の通りである。即ち、単に誤差ΔTから誤差振分時間を求めて上記のように振分けると、マイコンの処理時間の遅れにより、この遅れ時間が繰り返されてテンポを正確に実際の値にすることができない。一方、誤差ΔTを所定倍て誤差振分時間を求めて上記のように振分けると、マイコンの処理時間の遅れがあっても、テンポを正確に実際の値にすることができる。そこで、誤差振分時間として誤差ΔTを所定倍(例えば、2倍)している。なお、多数の実験から誤差ΔTを2倍にすることがテンポを正確に実際の値にすることができたことを発見した。
Here, the error ΔT is multiplied by a predetermined time (for example, twice) as the error distribution time as follows. That is, if the error distribution time is simply obtained from the error ΔT and distributed as described above, the delay time is repeated due to the delay in the processing time of the microcomputer, and the tempo cannot be accurately set to the actual value. On the other hand, if the error ΔT is multiplied by a predetermined time to obtain the error distribution time and distributed as described above, the tempo can be accurately set to the actual value even if the processing time of the microcomputer is delayed. Therefore, the error ΔT is multiplied by a predetermined value (for example, twice) as the error distribution time. From many experiments, it was discovered that doubling the error ΔT made it possible to accurately set the tempo to the actual value.

【0058】
【発明の効果】
以上説明したように本発明に係るテンポ算出方法及びテンポ算出装置によれば、連続する2つの周期音時間を連続して求め、今回求めた周期音時間と過去求めたM個の周期音時間の中の今回求めた周期音時間に近い周期音時間とから平均周期音時間を求めてテンポを算出する、即ち、複数のパターンをマッチング処理しないで、テンポを算出するので、簡易にテンポを算出することができ、よって、テンポ算出する時間を短くすることができる、という効果を有する。
0058.
【Effect of the invention】
As described above , according to the tempo calculation method and the tempo calculation device according to the present invention, two consecutive periodic sound times are continuously obtained, and the periodic sound time obtained this time and the M periodic sound times obtained in the past are obtained. The tempo is calculated by calculating the average periodic sound time from the periodic sound time close to the periodic sound time obtained this time, that is, the tempo is calculated without matching multiple patterns, so the tempo is calculated easily. Therefore, it has the effect that the time for calculating the tempo can be shortened.

JP07239099A 1999-03-17 1999-03-17 Tempo calculation method and tempo calculation device Expired - Fee Related JP4214606B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07239099A JP4214606B2 (en) 1999-03-17 1999-03-17 Tempo calculation method and tempo calculation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07239099A JP4214606B2 (en) 1999-03-17 1999-03-17 Tempo calculation method and tempo calculation device

Publications (3)

Publication Number Publication Date
JP2000267654A JP2000267654A (en) 2000-09-29
JP2000267654A5 true JP2000267654A5 (en) 2006-03-09
JP4214606B2 JP4214606B2 (en) 2009-01-28

Family

ID=13487918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07239099A Expired - Fee Related JP4214606B2 (en) 1999-03-17 1999-03-17 Tempo calculation method and tempo calculation device

Country Status (1)

Country Link
JP (1) JP4214606B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3674950B2 (en) * 2002-03-07 2005-07-27 ヤマハ株式会社 Method and apparatus for estimating tempo of music data
JP3982443B2 (en) * 2003-03-31 2007-09-26 ソニー株式会社 Tempo analysis device and tempo analysis method
JP6705422B2 (en) * 2017-04-21 2020-06-03 ヤマハ株式会社 Performance support device and program

Similar Documents

Publication Publication Date Title
JP4767691B2 (en) Tempo detection device, code name detection device, and program
Goto et al. A real-time beat tracking system for audio signals
US7579546B2 (en) Tempo detection apparatus and tempo-detection computer program
WO2007010637A1 (en) Tempo detector, chord name detector and program
US8723011B2 (en) Musical sound generation instrument and computer readable medium
WO2002084640A2 (en) System and method of bpm determination
JP2006267666A (en) Analysis of music information and display device, and program
US20210335332A1 (en) Video processing device and video processing method
EP2775475B1 (en) Music synthesizer with correction of tones during a pitch bend, based on played chord and on pitch conversion harmony rules.
JP2000267654A5 (en) Tempo calculation method and tempo calculation device
JP2000267655A5 (en) Rhythm synchronization method and audio equipment
JP6842558B2 (en) Music analysis device and music analysis program
JP2008233812A (en) Beat detecting device
JP4186298B2 (en) Rhythm synchronization method and acoustic apparatus
JP4214606B2 (en) Tempo calculation method and tempo calculation device
JP4251895B2 (en) Performance control apparatus and program
JP3047068B2 (en) Automatic music transcription method and device
JP5513074B2 (en) Grid detection apparatus and program
JPH05108075A (en) Electronic musical instrument
JP6606844B2 (en) Genre selection device, genre selection method, program, and electronic musical instrument
JP4261457B2 (en) Electronic musical instruments
JP4152540B2 (en) Electronic musical instrument sound control device
JP2836028B2 (en) Automatic performance device
JP2009300622A (en) Musical performance start time estimation device
JPH07199931A (en) Frequency data generation device