[go: up one dir, main page]

JP2011075619A - Musical score tracing device - Google Patents

Musical score tracing device Download PDF

Info

Publication number
JP2011075619A
JP2011075619A JP2009224063A JP2009224063A JP2011075619A JP 2011075619 A JP2011075619 A JP 2011075619A JP 2009224063 A JP2009224063 A JP 2009224063A JP 2009224063 A JP2009224063 A JP 2009224063A JP 2011075619 A JP2011075619 A JP 2011075619A
Authority
JP
Japan
Prior art keywords
score
evaluation value
pitch data
played
upper limit
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
Application number
JP2009224063A
Other languages
Japanese (ja)
Inventor
Hiroshi Tokuda
洋志 徳田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Korg Inc
Original Assignee
Korg Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Korg Inc filed Critical Korg Inc
Priority to JP2009224063A priority Critical patent/JP2011075619A/en
Publication of JP2011075619A publication Critical patent/JP2011075619A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Auxiliary Devices For Music (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

【課題】追従性が高く、計算量が少ない楽譜追跡技術を提供する。
【解決手段】楽譜の音高データと演奏された音高データとが一致している場合には1を加算し、一致していない場合には1を減算することにより、楽譜の各位置の評価値を計算して、評価値を最大にする楽譜の位置を現在の楽譜の位置として推定する楽譜追跡装置において、評価値に上限値を設ける。例えば上限値を5とする。評価値に上限値を設けることにより、演奏者が途中で演奏位置を変更した場合に、変更前の演奏位置の評価値が変更後の正しい演奏位置の評価値がよりも小さくなるまでの時間が短くなり、変更後の正しい演奏位置に追従するまでの時間が短くなる。
【選択図】図7
A music score tracking technique having high followability and a small amount of calculation is provided.
An evaluation of each position of a score is performed by adding 1 if the pitch data of the score and the played pitch data match, and subtracting 1 if they do not match. In a score tracking apparatus that calculates a value and estimates the score position that maximizes the evaluation value as the current score position, an upper limit is set for the evaluation value. For example, the upper limit is set to 5. By setting an upper limit for the evaluation value, if the performer changes the performance position in the middle, the time until the evaluation value for the correct performance position after the change becomes smaller than the evaluation value for the correct performance position after the change. It becomes shorter and the time to follow the correct performance position after the change is shortened.
[Selection] Figure 7

Description

この発明は、演奏者が楽譜上のどこを演奏中なのかを推定する技術に関する。   The present invention relates to a technique for estimating where a performer is performing on a score.

特許文献1に記載された楽譜追跡装置が従来技術として知られている。特許文献1に記載された楽譜追跡装置においては、楽譜の音高データと演奏された音高データとが一致している場合には1を加算し、一致していない場合には1を減算することにより、楽譜の各位置の評価値を計算して、評価値を最大にする楽譜の位置を現在の楽譜の位置として推定していた。   A musical score tracking apparatus described in Patent Document 1 is known as a conventional technique. In the score tracking device described in Patent Document 1, 1 is added when the pitch data of the score and the played pitch data match, and 1 is subtracted when they do not match. Thus, the evaluation value at each position of the score is calculated, and the position of the score that maximizes the evaluation value is estimated as the current score position.

例えば図18に示すように楽譜の音高データが「ドミソシドレド…」であり演奏された音高データも「ドミソシドレド…」である場合、図18の線で囲まれた数字の位置が現在の楽譜の位置として推定される。図18の数字は楽譜の各位置の評価値を表す。   For example, as shown in FIG. 18, when the pitch data of the score is “Domicoside Red ...” and the played pitch data is also “Domisoside Red ...”, the position of the number surrounded by the line in FIG. Estimated as position. The numbers in FIG. 18 represent the evaluation values at each position of the score.

以下、演奏された音高データ「ソ」が入力された時刻を例に挙げて説明する。3番目の演奏された音高データ「ソ」が入力されると、楽譜の各位置における評価値が計算される。x番目の演奏された音高データにおける楽譜のy番目の位置を(x,y)と表現すると、楽譜の各位置(3,y)(y=1,…,Y)の評価値が計算される。Yは楽譜の音高データの総数である。   Hereinafter, the time when the played pitch data “SO” was input will be described as an example. When the third played pitch data “SO” is input, the evaluation value at each position of the score is calculated. If the yth position of the score in the xth played pitch data is expressed as (x, y), the evaluation value of each position (3, y) (y = 1,..., Y) of the score is calculated. The Y is the total number of musical pitch data.

位置(3,1)の評価値は、位置(3,1)における演奏された音高データ「ソ」と楽譜の音高データ「ド」とは一致しないため0となる。位置(3,2)の評価値は、位置(2,1)における演奏された音高データ「ミ」と楽譜の音高データ「ド」とは一致せず、位置(3,2)における演奏された音高データ「ソ」と楽譜の音高データ「ミ」とは一致しないため、0となる。位置(3,3)の評価値は、位置(1,1)における演奏された音高データ「ド」と楽譜の音高データ「ド」とが一致し、位置(2,2)における演奏された音高データ「ミ」と楽譜の音高データ「ミ」とが一致し、位置(3,3)における演奏された音高データ「ソ」と楽譜の音高データ「ソ」とが一致するため、3=1+1+1となる。このように、楽譜の各位置(3,y)(y=1,…,Y)の評価値が計算される。   The evaluation value at the position (3, 1) is 0 because the pitch data “SO” played at the position (3, 1) does not match the pitch data “DO” of the score. The evaluation value at the position (3, 2) does not match the pitch data “mi” played at the position (2, 1) and the pitch data “do” of the score, and the performance at the position (3, 2). The pitch data “So” thus set and the pitch data “Mi” of the score do not coincide with each other, and thus become zero. The evaluation value at the position (3, 3) indicates that the pitch data “do” played at the position (1, 1) matches the pitch data “do” of the musical score, and the evaluation is performed at the position (2, 2). The pitch data “Mi” matches the pitch data “Mi” of the score, and the played pitch data “So” at the position (3, 3) matches the pitch data “So” of the score. Therefore, 3 = 1 + 1 + 1. In this way, the evaluation value of each position (3, y) (y = 1,..., Y) of the score is calculated.

この例では位置(3,3)の評価値である3が、楽譜の各位置(3,y)(y=1,…,Y)の評価値の中で最大となる。したがって、楽譜の3番目の位置が演奏された音高データ「ソ」が入力された時刻における楽譜の位置として推定される。   In this example, the evaluation value 3 at the position (3, 3) is the maximum among the evaluation values at each position (3, y) (y = 1,..., Y) of the score. Therefore, the third position of the score is estimated as the position of the score at the time when the pitch data “So” is input.

米国特許第4745836号明細書U.S. Pat. No. 4,745,836

しかしながら、特許文献1に記載された楽譜追跡装置においては、正しい演奏が続いたときに評価値が無制限に大きくなり、演奏者が途中で演奏位置を変更したときに追従するのが困難であるという課題があった。   However, in the score tracking device described in Patent Document 1, the evaluation value increases without limit when the correct performance continues, and it is difficult to follow when the performer changes the performance position on the way. There was a problem.

上記の課題を解決するために、評価値に上限値を設ける。   In order to solve the above problem, an upper limit value is provided for the evaluation value.

評価値に上限値を設けることにより、演奏者が途中で演奏位置を変更した場合に、変更前の演奏位置の評価値が変更後の正しい演奏位置の評価値がよりも小さくなるまでの時間が短くなり、変更後の正しい演奏位置に追従するまでの時間が短くなる。   By setting an upper limit for the evaluation value, if the performer changes the performance position in the middle, the time until the evaluation value for the correct performance position after the change becomes smaller than the evaluation value for the correct performance position after the change. It becomes shorter and the time to follow the correct performance position after the change is shortened.

楽譜追跡装置の例の機能ブロック図。The functional block diagram of the example of a score tracking device. 楽譜追跡装置を用いた伴奏再生装置の例の機能ブロック図。The functional block diagram of the example of the accompaniment reproducing | regenerating apparatus using a score tracking device. 楽譜追跡装置を用いた楽譜表示装置の例の機能ブロック図。The functional block diagram of the example of the score display apparatus using a score tracking apparatus. 楽譜追跡方法の例の流れ図。The flowchart of the example of a score tracking method. ステップS1の詳細を例示する流れ図。The flowchart which illustrates the detail of step S1. ステップS2の詳細を例示する流れ図。The flowchart which illustrates the detail of step S2. 上限値が設けられている場合の評価値の変動及び推定される楽譜の位置を例示する図。The figure which illustrates the fluctuation | variation of the evaluation value in case an upper limit is provided, and the position of the estimated score. 演奏をミスした場合の評価値の変動及び推定される楽譜の位置を例示する図。The figure which illustrates the fluctuation | variation of the evaluation value at the time of performance mistake, and the position of the estimated score. 演奏をミスした場合の評価値の変動及び推定される楽譜の位置を例示する図。The figure which illustrates the fluctuation | variation of the evaluation value at the time of performance mistake, and the position of the estimated score. 上限値が設けられていない場合の評価値の変動及び推定される楽譜の位置を例示する図。The figure which illustrates the fluctuation | variation of the evaluation value in case the upper limit is not provided, and the position of the estimated score. 上限値が設けられている場合の評価値の変動及び推定される楽譜の位置を例示する図。The figure which illustrates the fluctuation | variation of the evaluation value in case an upper limit is provided, and the position of the estimated score. 上限値を3にした場合の評価値の変動及び推定される楽譜の位置を例示する図。The figure which illustrates the fluctuation | variation of the evaluation value at the time of setting an upper limit to 3, and the position of the estimated score. 上限値を4にした場合の評価値の変動及び推定される楽譜の位置を例示する図。The figure which illustrates the fluctuation | variation of the evaluation value at the time of making an upper limit into 4, and the position of the estimated score. 上限値を5にした場合の評価値の変動及び推定される楽譜の位置を例示する図。The figure which illustrates the fluctuation | variation of the evaluation value at the time of making an upper limit into 5, and the position of the estimated score. 上限値を6にした場合の評価値の変動及び推定される楽譜の位置を例示する図。The figure which illustrates the fluctuation | variation of the evaluation value at the time of setting an upper limit to 6, and the position of the estimated score. 上限値を7にした場合の評価値の変動及び推定される楽譜の位置を例示する図。The figure which illustrates the fluctuation | variation of the evaluation value at the time of setting an upper limit to 7, and the position of the estimated score. 上限値を8にした場合の評価値の変動及び推定される楽譜の位置を例示する図。The figure which illustrates the fluctuation | variation of the evaluation value at the time of making an upper limit into 8, and the position of the estimated score. 背景技術による評価値の変動及び推定される楽譜の位置を例示する図。The figure which illustrates the fluctuation | variation of the evaluation value by background art, and the position of the estimated score.

以下、この発明の実施の形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail.

楽譜追跡装置1は、図1に示すように評価値計算部11と評価値最大値探索部12とを例えば含む。図4に、楽譜追跡方法の例の流れ図を示す。   The score tracking device 1 includes, for example, an evaluation value calculation unit 11 and an evaluation value maximum value search unit 12 as shown in FIG. FIG. 4 shows a flowchart of an example of a score tracking method.

評価値計算部11は、演奏された音高データが入力される毎に、楽譜の各位置の評価値を計算する(ステップS1)。計算された評価値は、評価値最大値探索部12に送られる。   The evaluation value calculation unit 11 calculates the evaluation value at each position of the score every time the played pitch data is input (step S1). The calculated evaluation value is sent to the evaluation value maximum value search unit 12.

楽譜の位置の評価値は、その位置に至るまでの楽譜の音高データと演奏された音高データとの一致度を表し、その位置に至るまでの楽譜の音高データと演奏された音高データとが一致しているほど高い値を取り、所定の上限値が定まっている指標とする。   The score evaluation value represents the degree of coincidence between the pitch data of the score up to that position and the played pitch data, and the pitch data of the score up to that position and the played pitch The higher the value is, the higher the value is, and the predetermined upper limit value is set as an index.

演奏された音高データ及び楽譜の音高データは例えばMIDI(登録商標)のNote Numberで表現され、楽譜の音高データはSMF(Standard MIDI File)の形式で評価値計算部11に入力される。この場合、評価値計算部11は、MIDI Note On入力ごとに、楽譜の各位置の評価値を計算する。この例では、演奏された音高データ及び楽譜の音高データのみを用いて、音の長さ等の他の情報は無視する。   The pitch data played and the pitch data of the score are expressed by, for example, MIDI (registered trademark) Note Number, and the pitch data of the score is input to the evaluation value calculation unit 11 in the format of SMF (Standard MIDI File). . In this case, the evaluation value calculation unit 11 calculates an evaluation value at each position of the score for each MIDI Note On input. In this example, only the pitch data played and the pitch data of the score are used, and other information such as the length of the sound is ignored.

評価値計算部11は、具体的には、楽譜の位置の評価値を、その位置に至るまでの楽譜の各音高データと上記楽譜の各音高データに対応する演奏された音高データとが一致しているかどうかを判断して、一致している場合に1を加算し、一致していない場合に1を減算することにより計算する。   Specifically, the evaluation value calculation unit 11 calculates the evaluation value of the position of the score, each pitch data of the score up to that position, and played pitch data corresponding to each pitch data of the score. Are determined, and if they match, 1 is added, and if they do not match, 1 is subtracted.

評価値計算部11は、演奏された音高データpが入力される毎に、例えば図5の処理を行うことにより楽譜の各位置の評価値を計算する。   Each time the played pitch data p is input, the evaluation value calculation unit 11 calculates an evaluation value at each position of the score by performing, for example, the processing of FIG.

iにYを代入する(ステップS11)。Yは楽譜の音高データの総数である。   Y is substituted for i (step S11). Y is the total number of musical pitch data.

演奏された音高データpと楽譜のi番目の位置の音高データs(i)とが一致しているか判定する(ステップS12)。   It is determined whether the played pitch data p matches the pitch data s (i) at the i-th position of the score (step S12).

ステップS12において一致していれば、直前に演奏された音高データが入力されたときに計算された楽譜のi−1番目の評価値W(i−1)に1を加えた値を楽譜のi番目の位置の仮評価値W’(i)とする(ステップS13)。仮評価値W’(i)と評価値の上限値(この例では5)の小さい方の値を楽譜のi番目の位置の評価値W(i)とする(ステップS14)。   If they match in step S12, a value obtained by adding 1 to the (i-1) -th evaluation value W (i-1) of the score calculated when the pitch data played immediately before is input. The temporary evaluation value W ′ (i) at the i-th position is set (step S13). The smaller value of the temporary evaluation value W ′ (i) and the upper limit value (5 in this example) of the evaluation value is set as the evaluation value W (i) at the i-th position of the score (step S14).

ステップS12において一致していなければ、直前に演奏された音高データが入力されたときに計算された楽譜のi−1番目の評価値W(i−1)に1を引いた値を楽譜のi番目の位置の仮評価値W’(i)とする(ステップS15)。仮評価値W’(i)と評価値の下限値(この例では0)の大きい方の値を楽譜のi番目の位置の評価値W(i)とする(ステップS16)。   If they do not match in step S12, the value obtained by subtracting 1 from the (i-1) th evaluation value W (i-1) of the score calculated when the pitch data played immediately before is input. The temporary evaluation value W ′ (i) at the i-th position is set (step S15). The larger value of the temporary evaluation value W ′ (i) and the lower limit value (0 in this example) of the evaluation value is set as the evaluation value W (i) at the i-th position of the score (step S16).

iにi−1を代入する(ステップS17)。   i-1 is substituted for i (step S17).

iが1より大であるか判定し(ステップS18)、i>1であればステップS12に戻る。   It is determined whether i is greater than 1 (step S18). If i> 1, the process returns to step S12.

ステップS18においてi>1でなければ、演奏された音高データpと楽譜の1番目の音高データs(1)とが一致しているか判定する(ステップS19)。   If i> 1 is not satisfied in step S18, it is determined whether the played pitch data p matches the first pitch data s (1) of the score (step S19).

ステップS19においてp=s(1)であれば、楽譜の1番目の位置の評価値W(1)を1とする(ステップS110)。   If p = s (1) in step S19, the evaluation value W (1) at the first position of the score is set to 1 (step S110).

ステップS19においてp=s(1)でなければ、楽譜の1番目の位置の評価値W(1)を1とする(ステップS111)。   If p = s (1) is not satisfied in step S19, the evaluation value W (1) at the first position of the score is set to 1 (step S111).

評価値最大値探索部12は、評価値が最も高くなる楽譜の位置を探索する(ステップS2、図4)。探索された評価値が最も高くなる楽譜の位置が、現在の楽譜の位置として推定される。   The maximum evaluation value search unit 12 searches for the position of the score where the evaluation value is highest (step S2, FIG. 4). The position of the score where the searched evaluation value is the highest is estimated as the current score position.

評価値最大値探索部12は、例えば図6の処理を行うことにより楽譜の位置を推定する。   The evaluation value maximum value search unit 12 estimates the position of the score by performing, for example, the process of FIG.

まず、各変数を初期化する(ステップS21)。すなわち、iに1を代入し、maxに0を代入し、Rhに1を代入する。maxは評価値の最大値を表す変数であり、Rhは前回推定された楽譜の位置Rh0の次の位置(Rh0+1)に最も近い位置を表す変数である。今回初めて楽譜の位置を推定するため前回推定された楽譜の位置Rh0がない場合には、例えばRh0=1とする。   First, each variable is initialized (step S21). That is, 1 is substituted for i, 0 is substituted for max, and 1 is substituted for Rh. max is a variable representing the maximum value of the evaluation value, and Rh is a variable representing the position closest to the position (Rh0 + 1) next to the position Rh0 of the previously estimated score. In order to estimate the position of the score for the first time this time, if there is no previously estimated score position Rh0, for example, Rh0 = 1.

maxと楽譜のi番目の評価値W(i)とが一致しているか判定する(ステップS22)。   It is determined whether max and the i-th evaluation value W (i) of the score match (step S22).

max=W(i)であれば、|(Rh0+1)−Rh|>|(Rh0+1)−i|であるか判定する(ステップS23)。|(Rh0+1)−Rh|は前回推定された楽譜の位置Rh0の次の位置(Rh0+1)と位置(Rh0+1)に近いと暫定的に判断されている位置Rhとの距離であり、|(Rh0+1)−i|は前回推定された楽譜の位置Rh0の次の位置(Rh0+1)と現在の位置iとの距離である。   If max = W (i), it is determined whether or not | (Rh0 + 1) −Rh |> | (Rh0 + 1) −i | (step S23). | (Rh0 + 1) −Rh | is the distance between the position (Rh0 + 1) next to the previously estimated score Rh0 and the position Rh tentatively determined to be close to the position (Rh0 + 1), and | (Rh0 + 1) −i | is the distance between the position (Rh0 + 1) next to the previously estimated score position Rh0 and the current position i.

|(Rh0+1)−Rh|>|(Rh0+1)−i|であれば、Rhにiを代入して(ステップS24)、iを1インクリメントする(ステップS25)。   If | (Rh0 + 1) −Rh |> | (Rh0 + 1) −i |, i is substituted for Rh (step S24), and i is incremented by 1 (step S25).

|(Rh0+1)−Rh|>|(Rh0+1)−i|でなければ、iを1インクリメントする(ステップS25)。   If | (Rh0 + 1) −Rh |> | (Rh0 + 1) −i | is not satisfied, i is incremented by 1 (step S25).

ステップS22からステップS24により、評価値を最大にする楽譜の位置が複数ある場合には、それらの複数の位置の中で前回推定された楽譜の位置Rh0の次の位置(Rh0+1)に最も近い位置を選択している。   If there are a plurality of score positions at which the evaluation value is maximized in steps S22 to S24, the position closest to the position (Rh0 + 1) next to the previously estimated score position Rh0 among the plurality of positions. Is selected.

ステップS22において、max=W(i)でないと判定された場合には、max<W(i)であるか判定する(ステップS26)。   When it is determined in step S22 that max = W (i) is not satisfied, it is determined whether max <W (i) is satisfied (step S26).

max<W(i)であれば、maxにW(i)を代入して(ステップS27)、Rhにiを代入する(ステップS28)。その後、iを1インクリメントする(ステップS25)。   If max <W (i), W (i) is substituted for max (step S27), and i is substituted for Rh (step S28). Thereafter, i is incremented by 1 (step S25).

max<W(i)でなければ、iを1インクリメントする(ステップS25)。   If max <W (i) is not satisfied, i is incremented by 1 (step S25).

ステップS25の後にi<Y+1であるか判定し(ステップS29)、i<Y+1である場合には、ステップS22に戻る。   After step S25, it is determined whether i <Y + 1 (step S29). If i <Y + 1, the process returns to step S22.

i<Y+1でない場合には、現在の位置Rhが、評価値を最大にして、かつ、前回推定された楽譜の位置Rh0の次の位置(Rh0+1)に最も近い位置となる。この場合、Rh0にRhを代入して(ステップS210)、ステップS2の処理を終える。次に演奏された音高データが入って来たときに上記と同様にステップS1、ステップS2の処理が行われるが、このときにRh0が用いられる。   If i <Y + 1, the current position Rh is the position closest to the position (Rh0 + 1) next to the previously estimated score position Rh0 with the maximum evaluation value. In this case, Rh is substituted for Rh0 (step S210), and the process of step S2 is completed. Next, when the played pitch data comes in, the processing of step S1 and step S2 is performed in the same manner as described above. At this time, Rh0 is used.

[具体例1]
背景技術の欄で挙げた例と同じように、図7に示すように楽譜の音高データが「ドミソシドレド…」であり演奏された音高データも「ドミソシドレド…」であるとする。このとき、図7の線で囲まれた数字の位置が現在の楽譜の位置として推定される。図7の破線で囲まれた数字の位置は、評価値の最大値を与えるが、前回推定された楽譜の位置の次の位置から離れているため、現在の楽譜の位置として推定されなかった位置を示す。また、音高の後の5は1オクターブ高い音高であることを示し、音高の後の3は1オクターブ低い音高であることを示す。例えば、「ド5」は「ド」よりも1オクターブ高いドである。また、「フ」は音名の「ファ」を意味する。他の図においても同様である。
[Specific Example 1]
As in the example given in the background art section, it is assumed that the pitch data of the musical score is “Domicoside Red ...” and the pitch data that is played is also “Domisoside Red ...” as shown in FIG. At this time, the position of the number surrounded by the line in FIG. 7 is estimated as the current score position. The position of the number surrounded by the broken line in FIG. 7 gives the maximum evaluation value, but is not estimated as the current score position because it is far from the position next to the previously estimated score position. Indicates. Further, 5 after the pitch indicates that the pitch is 1 octave higher, and 3 after the pitch indicates that the pitch is 1 octave lower. For example, “do 5” is 1 octave higher than “do”. “F” means “Fa” of the pitch name. The same applies to the other drawings.

以下、3番目の演奏された音高データ「ソ」が入力された時刻を例に挙げて説明する。3番目の演奏された音高データ「ソ」が入力されると、楽譜の各位置における評価値が計算される。x番目の演奏された音高データにおける楽譜のy番目の位置を(x,y)と表現すると、楽譜の各位置(3,y)(y=1,…,Y)の評価値が計算される。Yは楽譜の音高データの総数である。   Hereinafter, the time when the third played pitch data “SO” is input will be described as an example. When the third played pitch data “SO” is input, the evaluation value at each position of the score is calculated. If the yth position of the score in the xth played pitch data is expressed as (x, y), the evaluation value of each position (3, y) (y = 1,..., Y) of the score is calculated. The Y is the total number of musical pitch data.

位置(3,1)の評価値は、位置(3,1)における演奏された音高データ「ソ」と楽譜の音高データ「ド」とは一致しないため0となる。位置(3,2)の評価値は、位置(2,1)における演奏された音高データ「ミ」と楽譜の音高データ「ド」とは一致せず、位置(3,2)における演奏された音高データ「ソ」と楽譜の音高データ「ミ」とは一致しないため、0となる。位置(3,3)の評価値は、位置(1,1)における演奏された音高データ「ド」と楽譜の音高データ「ド」とが一致し、位置(2,2)における演奏された音高データ「ミ」と楽譜の音高データ「ミ」とが一致し、位置(3,3)における演奏された音高データ「ソ」と楽譜の音高データ「ソ」とが一致するため、3=1+1+1となる。このように、楽譜の各位置(3,y)(y=1,…,Y)の評価値が計算される。図7の数字は楽譜の各位置の評価値を表す。   The evaluation value at the position (3, 1) is 0 because the pitch data “So” played at the position (3, 1) does not match the pitch data “Do” of the score. The evaluation value at the position (3, 2) does not match the pitch data “mi” played at the position (2, 1) and the pitch data “do” of the score, and the performance at the position (3, 2). The pitch data “So” thus set and the pitch data “Mi” of the score do not coincide with each other, and thus become zero. The evaluation value at the position (3, 3) indicates that the pitch data “do” played at the position (1, 1) matches the pitch data “do” of the musical score, and the evaluation is performed at the position (2, 2). The pitch data “Mi” matches the pitch data “Mi” of the score, and the played pitch data “So” at the position (3, 3) matches the pitch data “So” of the score. Therefore, 3 = 1 + 1 + 1. In this way, the evaluation value of each position (3, y) (y = 1,..., Y) of the score is calculated. The numbers in FIG. 7 represent the evaluation values at each position of the score.

この例では位置(3,3)の評価値である3が、楽譜の各位置(3,y)(y=1,…,Y)の評価値の中で最大となる。したがって、楽譜の3番目の位置が演奏された音高データ「ソ」が入力された時刻における楽譜の位置として推定される。   In this example, the evaluation value 3 at the position (3, 3) is the maximum among the evaluation values at each position (3, y) (y = 1,..., Y) of the score. Therefore, the third position of the score is estimated as the position of the score at the time when the pitch data “So” is input.

この発明が背景技術と異なる点のひとつは、評価値に上限値が設けられているということである。図7だと評価値の上限値は5とされている。位置(6,6)における演奏された音高データ「レ」と楽譜の音高データ「レ」とが一致するため、図18の背景技術においては位置(6,6)の評価値は6=5+1であったが、この発明では評価値が上限値を超えないようにするため位置(6,6)の評価値は5となる。   One of the differences between the present invention and the background art is that an upper limit value is provided for the evaluation value. In FIG. 7, the upper limit value of the evaluation value is 5. Since the pitch data “Re” played at the position (6, 6) matches the pitch data “Le” of the score, the evaluation value of the position (6, 6) is 6 = in the background art of FIG. In the present invention, the evaluation value at the position (6, 6) is 5 in order to prevent the evaluation value from exceeding the upper limit value.

[具体例2]
次に、楽譜の音高データが図7と同様に「ドミソシドレド…」であるが、演奏に誤りがあり演奏された音高データが「ドミラシドレド…」である図8の場合を例に挙げて説明をする。
[Specific Example 2]
Next, description will be made by taking as an example the case of FIG. 8 in which the pitch data of the score is “Domisido Red ...” as in FIG. 7, but there is an error in the performance and the played pitch data is “Domira Sid Red ...”. do.

位置(3,3)の評価値は、位置(1,1)における演奏された音高データ「ド」と楽譜の音高データ「ド」とが一致し、位置(2,2)における演奏された音高データ「ミ」と楽譜の音高データ「ミ」とが一致するが、位置(3,3)における演奏された音高データ「ラ」と楽譜の音高データ「ソ」とが一致しないため、1=1+1−1となる。   The evaluation value at the position (3, 3) indicates that the pitch data “do” played at the position (1, 1) matches the pitch data “do” of the musical score, and the evaluation is performed at the position (2, 2). The pitch data “Mi” matches the pitch data “Mi” of the score, but the played pitch data “La” at the position (3, 3) matches the pitch data “So” of the score. Therefore, 1 = 1 + 1-1.

位置(3,8)の評価値は、位置(1,6)における演奏された音高データ「ド」と楽譜の音高データ「レ」とが一致せず、位置(2,7)における演奏された音高データ「ミ」と楽譜の音高データ「ド」とが一致しないが、位置(3,8)における演奏された音高データ「ラ」と楽譜の音高データ「ラ」とが一致するため、1=0+0+1となる。   The evaluation value at the position (3, 8) indicates that the pitch data “do” played at the position (1, 6) does not match the pitch data “le” of the score, and the performance at the position (2, 7). The pitch data “Mi” and the pitch data “Do” of the score do not match, but the played pitch data “La” and the pitch data “La” of the score at the position (3, 8) are different. Since they match, 1 = 0 + 0 + 1.

このようの3番目の演奏された音高データにおいては、評価値を最大にする位置が位置(3,3)と、位置(3,8)の2つある。この場合、評価値最大値探索部12は、前回推定された楽譜の位置の次の位置に最も近い位置を新たな楽譜の位置として推定する。この例だと、位置(3,3)と位置(3,8)とでは、位置(3,3)の方が前回推定された楽譜の位置(2,2)の次の位置(3,3)に近いため、位置(3,3)が新たな楽譜の位置として選択される。このように、評価値最大値探索部12が、評価値が最も高くなる楽譜の位置が複数ある場合には、これらの複数の楽譜の位置の中で前回推定された楽譜の位置の次の位置に最も近い位置を新たな楽譜の位置とすることにより、楽譜の位置の推定精度が増す。   In the third played pitch data, there are two positions where the evaluation value is maximized: position (3, 3) and position (3, 8). In this case, the evaluation value maximum value search unit 12 estimates a position closest to the position next to the previously estimated score position as a new score position. In this example, at position (3, 3) and position (3, 8), position (3, 3) is the next position (3, 3) after the previously estimated score position (2, 2). ), The position (3, 3) is selected as a new score position. As described above, when there are a plurality of score positions at which the evaluation value has the highest evaluation value, the evaluation value maximum value search unit 12 is a position next to the previously estimated score position among the plurality of score positions. By making the position closest to the position of the new score, the estimation accuracy of the position of the score is increased.

[具体例3]
次に、楽譜の音高データが図7と同様に「ドミソシドレド…」であるが、演奏に誤りがあり演奏された音高データが「ドミフシドレド…」である図9の場合を例に挙げて説明をする。
[Specific Example 3]
Next, description will be made by taking as an example the case of FIG. 9 in which the pitch data of the score is “Domiso Sidred ...” as in FIG. 7, but the performance data is “Domifu Sidred ...” due to an error in performance. do.

位置(3,3)の評価値は、位置(1,1)における演奏された音高データ「ド」と楽譜の音高データ「ド」とが一致し、位置(2,2)における演奏された音高データ「ミ」と楽譜の音高データ「ミ」とが一致するが、位置(3,3)における演奏された音高データ「フ」と楽譜の音高データ「ソ」とが一致しないため、1=1+1−1となる。   The evaluation value at the position (3, 3) indicates that the pitch data “do” played at the position (1, 1) matches the pitch data “do” of the musical score, and the evaluation is performed at the position (2, 2). The pitch data “Mi” matches the pitch data “Mi” of the score, but the played pitch data “F” at the position (3, 3) matches the pitch data “So” of the score. Therefore, 1 = 1 + 1-1.

位置(3,A)の評価値は、位置(1,A−2)における演奏された音高データ「ド」と楽譜の音高データ「ド」とが一致し、位置(2,A−1)における演奏された音高データ「ミ」と楽譜の音高データ「ミ」とが一致し、位置(3,A)における演奏された音高データ「フ」と楽譜の音高データ「フ」とが一致するため、3=1+1+1となる。   The evaluation value of the position (3, A) indicates that the pitch data “do” played at the position (1, A-2) matches the pitch data “do” of the score, and the position (2, A-1 The pitch data “mi” played in “” matches the pitch data “mi” in score, and the pitch data “fu” played in position (3, A) and the pitch data “fu” in score Therefore, 3 = 1 + 1 + 1.

この場合、位置(3,A)の評価値3が最大値となるため、推定される楽譜の位置は位置(3,A)となる。   In this case, since the evaluation value 3 of the position (3, A) is the maximum value, the estimated score position is the position (3, A).

位置(4,4)の評価値は、位置(1,1)における演奏された音高データ「ド」と楽譜の音高データ「ド」とが一致し、位置(2,2)における演奏された音高データ「ミ」と楽譜の音高データ「ミ」とが一致し、位置(3,3)における演奏された音高データ「フ」と楽譜の音高データ「ソ」とが一致しないが、位置(4,4)における演奏された音高データ「シ」と楽譜の音高データ「シ」とが一致するため、2=1+1−1+1となる。   The evaluation value at the position (4, 4) is that the pitch data “do” played at the position (1, 1) matches the pitch data “do” of the score, and the evaluation is performed at the position (2, 2). The pitch data “Mi” matches the pitch data “Mi” of the score, and the played pitch data “F” at the position (3, 3) does not match the pitch data “So” of the score. However, since the pitch data “Shi” played at the position (4, 4) matches the pitch data “Shi” of the score, 2 = 1 + 1−1 + 1.

また、位置(4,A+1)の評価値は、位置(1,A−2)における演奏された音高データ「ド」と楽譜の音高データ「ド」とが一致し、位置(2,A−1)における演奏された音高データ「ミ」と楽譜の音高データ「ミ」とが一致し、位置(3,A)における演奏された音高データ「フ」と楽譜の音高データ「フ」とが一致するが、位置(4,A+1)における演奏された音高データ「シ」と楽譜の音高データ「レ」とが一致しないため、2=1+1+1−1となる。   The evaluation value at the position (4, A + 1) indicates that the pitch data “do” played at the position (1, A-2) matches the pitch data “do” of the score, and the position (2, A + 1) The played pitch data “mi” in -1) matches the pitch data “mi” of the score, and the played pitch data “fu” in the position (3, A) and the pitch data of the score “ 2 ”, but the pitch data“ shi ”played at the position (4, A + 1) and the pitch data“ re ”of the score do not match, so 2 = 1 + 1 + 1−1.

この場合、評価値を最大にする楽譜の位置が位置(4,4)と位置(4,A+1)の2つあるが、前回推定された楽譜の位置(3,A)の次の位置(4,A+1)に最も近い位置(4,A+1)が新たな楽譜の位置として選択される。   In this case, there are two positions of the score (4, 4) and (4, A + 1) that maximize the evaluation value, but the position (4) next to the previously estimated position (3, A) of the score. , A + 1) is selected as the position of the new score (4, A + 1).

5番目から7番目の演奏された音高データにおいては、それぞれ位置(5,5)、位置(6,6)、位置(7,7)が評価値の最大値を与えるため、これらの位置がそれぞれ推定される楽譜の位置となる。   In the fifth to seventh played pitch data, position (5, 5), position (6, 6), and position (7, 7) give the maximum evaluation value, respectively. Each is the estimated score position.

このように、演奏を誤るとその誤った演奏の音高データの列と同じ楽譜の音高データの列がある位置(位置(3,A)、位置(4,A+1))に推定される楽譜の位置が一時的に移動することがあるが、正しい演奏を続けると正しい位置での評価量が上がり誤った位置での評価量が下がるため推定される楽譜の位置が正しい位置に戻ってくる。   In this way, if the performance is wrong, the score estimated at the position (position (3, A), position (4, A + 1)) where the pitch data of the same score is the same as the pitch data of the wrong performance. However, if the correct performance is continued, the evaluation amount at the correct position increases and the evaluation amount at the wrong position decreases, so that the estimated score position returns to the correct position.

[具体例4、5]
図10の具体例4は上限値が定められていない場合の評価値の変動を示し背景技術に対応する。図11の具体例5は上限値として5が定められている場合の評価値の変動を示しておりこの発明の一例に対応する。
[Specific Examples 4 and 5]
Concrete example 4 in FIG. 10 shows the fluctuation of the evaluation value when the upper limit value is not defined, and corresponds to the background art. Specific example 5 in FIG. 11 shows the fluctuation of the evaluation value when 5 is set as the upper limit value, and corresponds to an example of the present invention.

図10及び図11の楽譜の音高データはモーツァルトの「きらきら星」であり、演奏者は途中(15番目の演奏された音高データ)から弾き直している。   The pitch data of the scores in FIGS. 10 and 11 is Mozart's “Kirakira Star”, and the performer replays from the middle (15th played pitch data).

図10のように評価値に上限値が定められていない場合には、22番目の演奏された音高データで正しい位置に追従しており、弾き直してから正しい演奏位置に追従するまでの時間が長い。評価値が際限なく上がって行くため、弾き直す前の演奏位置の評価値が、弾き直した後の正しい演奏位置の評価値よりも小さくなるまでの時間が長くなるためである。   When the upper limit value is not set for the evaluation value as shown in FIG. 10, it follows the correct position in the 22nd played pitch data, and the time from replaying to following the correct performance position. Is long. This is because the evaluation value goes up indefinitely, so that it takes a longer time until the evaluation value of the performance position before replaying becomes smaller than the evaluation value of the correct performance position after replaying.

一方、図11のように評価値に上限値が定められている場合には、17番目の演奏された音高データで正しい位置に追従しており、上限値が定められていない場合と比較して引き直してから正しい演奏位置に追従するまでの時間が短い。評価値に上限値を設けることにより、弾き直す前の演奏位置の評価値が、弾き直した後の正しい演奏位置の評価値よりも小さくなるまでの時間が短くなるためである。   On the other hand, when the upper limit value is defined in the evaluation value as shown in FIG. 11, the correct position is followed in the 17th played pitch data, compared with the case where the upper limit value is not defined. It takes a short time to follow the correct performance position after redrawing. By providing an upper limit value for the evaluation value, the time until the evaluation value of the performance position before replaying becomes smaller than the evaluation value of the correct performance position after replaying is shortened.

このように、評価値に上限値を設けることにより、演奏者が途中で演奏位置を変更した場合に、変更前の演奏位置の評価値が変更後の正しい演奏位置の評価値よりも小さくなるまでの時間が短くなり、変更後の正しい演奏位置に追従するまでの時間が短くなる。   In this way, by setting the upper limit value for the evaluation value, when the performer changes the performance position in the middle, the evaluation value for the performance position before the change becomes smaller than the evaluation value for the correct performance position after the change. The time required to follow the correct performance position after the change is shortened.

[最適な上限値の範囲]
上限値を小さく設定すると、演奏をミスした場合に正しい演奏位置を離れる可能性が高くなるが、演奏位置を変えた場合の追従性が良くなる。一方、上限値を高く設定すると、演奏をミスした場合に正しい演奏位置を離れる可能性は低くなるが、演奏位置を変えた場合の追従性は低くなる。
[Optimum upper limit range]
If the upper limit value is set small, there is a high possibility of leaving the correct performance position if a performance is missed, but the followability when the performance position is changed is improved. On the other hand, if the upper limit value is set high, the possibility of leaving the correct performance position in the event of a performance mistake is reduced, but the followability when the performance position is changed is reduced.

図12から図17に、それぞれ上限値を3、4、5、6、7、8とした場合の評価値及び推定される楽譜の位置の変動を示す。この例では、6番目の演奏された音高データ「ミ」の位置と、10番目の演奏された音高データ「レ5」の位置とで演奏をミスしており、18番目の演奏された音高データ「ド」の位置から弾き直している。   FIG. 12 to FIG. 17 show the evaluation value and the estimated variation in the position of the score when the upper limit values are 3, 4, 5, 6, 7, and 8, respectively. In this example, the performance was missed at the position of the sixth played pitch data “Mi” and the position of the tenth played pitch data “Le 5”, and the 18th played pitch data. Replaying from the position of the pitch data “do”.

図12のように上限値が3以下であると、演奏をミスした場合又は演奏位置を変えた場合に、誤った演奏位置が推定されやすくなる。   If the upper limit value is 3 or less as shown in FIG. 12, an erroneous performance position is likely to be estimated when the performance is missed or the performance position is changed.

図13から図17のように、上限値を大きくしていくと、演奏位置を変えた場合の追従性は低くなる。   As shown in FIGS. 13 to 17, as the upper limit value is increased, the followability when the performance position is changed decreases.

上限値は実用上4以上7以下であることが望ましい。その範囲内でも上限値を5とすることが経験上最も望ましい。もっとも、上限値は求める性能や仕様に応じて適宜設定される。   The upper limit is preferably 4 or more and 7 or less for practical use. Even within that range, it is most preferable from experience to set the upper limit to 5. However, the upper limit value is appropriately set according to the required performance and specifications.

[変形例等]
図2に例示するように、楽譜追跡装置1を伴奏再生システムの一部として用いることができる。楽譜追跡装置1が生成した演奏位置情報、テンポ推定装置2が推定したテンポ情報及び伴奏楽譜情報が、伴奏再生装置3に入力される。伴奏再生装置3は、これらの情報を用いて伴奏音を生成する。
[Modifications, etc.]
As illustrated in FIG. 2, the score tracking device 1 can be used as part of an accompaniment playback system. The performance position information generated by the score tracking device 1, the tempo information estimated by the tempo estimation device 2, and the accompaniment score information are input to the accompaniment playback device 3. The accompaniment reproducing device 3 generates an accompaniment sound using these pieces of information.

この伴奏再生システムにより、ピアノのみの曲で右手パートを演奏者が弾くと左手パートを自動再生させることができたり、両手ピアノパートを弾くとオーケストラパートを自動再生させることができたり、1人目のパートを演奏者が弾くと2人目のパートを自動再生させることができる。   With this accompaniment playback system, the left hand part can be played automatically when the player plays the right hand part in a piano-only song, the orchestra part can be played automatically when the two-hand piano part is played, When a player plays a part, the second part can be automatically played.

また、図3に例示するように、楽譜追跡装置1を自動譜めくり装置の一部として用いることができる。楽譜追跡装置1が生成した演奏位置情報、及び、楽譜の音高データが、楽譜表示装置4に入力される。例えばLCDにより構成される楽譜表示装置4は、これらの情報を用いて、現在の楽譜の位置を表示する。   Further, as illustrated in FIG. 3, the score tracking device 1 can be used as a part of an automatic turning device. The performance position information generated by the score tracking device 1 and the pitch data of the score are input to the score display device 4. For example, the score display device 4 constituted by an LCD displays the position of the current score using these pieces of information.

この発明は、上述の実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で適宜変更が可能である。   The present invention is not limited to the above-described embodiment, and can be modified as appropriate without departing from the spirit of the present invention.

1 楽譜追跡装置
11 評価値計算部
12 評価値最大値探索部
1 Music Score Tracking Device 11 Evaluation Value Calculation Unit 12 Evaluation Value Maximum Value Search Unit

Claims (5)

楽譜の位置の評価値を、その位置に至るまでの楽譜の音高データと演奏された音高データとの一致度を表し、その位置に至るまでの楽譜の音高データと演奏された音高データとが一致しているほど高い値を取り、所定の上限値が定まっている指標として、楽譜の音高データ及び演奏された音高データから楽譜の各位置の評価値を計算する評価値計算部と、
評価値が最も高くなる楽譜の位置を探索する評価値最大値探索部と、
を含む楽譜追跡装置。
The score evaluation value represents the degree of coincidence between the pitch data of the score up to that position and the played pitch data, and the pitch data of the score up to that position and the played pitch An evaluation value calculation that takes a higher value as the data matches and calculates an evaluation value at each position of the score from the pitch data of the score and the played pitch data as an index with a predetermined upper limit. And
An evaluation value maximum value search unit for searching for the position of the score with the highest evaluation value;
A music score tracking device.
請求項1に記載の楽譜追跡装置において、
上記評価値計算部は、楽譜の位置の評価値を、その位置に至るまでの楽譜の各音高データと上記楽譜の各音高データに対応する演奏された音高データとが一致しているかどうかを判断して、一致している場合に1を加算し、一致していない場合に1を減算することにより計算する、
ことを特徴とする楽譜追跡装置。
The music score tracking device according to claim 1,
The evaluation value calculation unit determines whether the evaluation value of the position of the score matches the pitch data of the score up to that position and the played pitch data corresponding to the pitch data of the score. Determine if it matches, add 1 if it matches, and subtract 1 if it doesn't match,
A music score tracking device characterized by that.
請求項2に記載の楽譜追跡装置において、
上記上限値は3から7である、
ことを特徴とする楽譜追跡装置。
The music score tracking device according to claim 2,
The upper limit is 3 to 7.
A music score tracking device characterized by that.
請求項2に記載の楽譜追跡装置において、
上記上限値は5である、
ことを特徴とする楽譜追跡装置。
The music score tracking device according to claim 2,
The upper limit is 5.
A music score tracking device characterized by that.
請求項1から4の何れかに記載の楽譜追跡装置において、
上記評価値最大値探索部は、評価値が最も高くなる楽譜の位置が複数ある場合には、これらの複数の楽譜の位置の中で前回推定された楽譜の位置の次の位置に最も近い位置を新たな楽譜の位置として推定する、
ことを特徴とする楽譜追跡装置。
The musical score tracking device according to any one of claims 1 to 4,
If there are a plurality of score positions at which the evaluation value is highest, the evaluation value maximum value search unit is a position closest to the position next to the previously estimated score position among the plurality of score positions. Is estimated as the position of the new score,
A music score tracking device characterized by that.
JP2009224063A 2009-09-29 2009-09-29 Musical score tracing device Pending JP2011075619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009224063A JP2011075619A (en) 2009-09-29 2009-09-29 Musical score tracing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009224063A JP2011075619A (en) 2009-09-29 2009-09-29 Musical score tracing device

Publications (1)

Publication Number Publication Date
JP2011075619A true JP2011075619A (en) 2011-04-14

Family

ID=44019712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009224063A Pending JP2011075619A (en) 2009-09-29 2009-09-29 Musical score tracing device

Country Status (1)

Country Link
JP (1) JP2011075619A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110111761A (en) * 2019-03-28 2019-08-09 深圳芒果未来教育科技有限公司 The method followed in real time and Related product are played to musical sound

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110111761A (en) * 2019-03-28 2019-08-09 深圳芒果未来教育科技有限公司 The method followed in real time and Related product are played to musical sound
CN110111761B (en) * 2019-03-28 2022-03-11 深圳市芒果未来科技有限公司 Method for real-time following musical performance and related product

Similar Documents

Publication Publication Date Title
US7189912B2 (en) Method and apparatus for tracking musical score
JP5115966B2 (en) Music retrieval system and method and program thereof
US7482529B1 (en) Self-adjusting music scrolling system
EP3839938B1 (en) Karaoke query processing system
US20060112812A1 (en) Method and apparatus for adapting original musical tracks for karaoke use
RU2502119C1 (en) Musical sound generation instrument and computer readable medium
US8859872B2 (en) Method for giving feedback on a musical performance
JP6794990B2 (en) Music search method and music search device
US10504498B2 (en) Real-time jamming assistance for groups of musicians
CN101689225A (en) Generating music thumbnails and identifying related song structure
CN113689836B (en) Method and terminal for converting audio into notes and displaying notes
CN109841203B (en) Electronic musical instrument music harmony determination method and system
JP2009210790A (en) Music selection singer analysis and recommendation device, its method, and program
JP5311069B2 (en) Singing evaluation device and singing evaluation program
JP2015031738A (en) Chord progression estimation and detection device and chord progression estimation and detection program
CN114420074B (en) Method for synchronizing music score and audio and computer-readable storage medium
JP4399958B2 (en) Performance support apparatus and performance support method
WO2018207936A1 (en) Automatic sheet music detection method and device
US20010015122A1 (en) Electronic musical instrument performance position retrieval system
JP2011075619A (en) Musical score tracing device
JP6077492B2 (en) Information processing apparatus, information processing method, and program
JP2010164825A (en) Play list creation device, musical piece playback device, play list creation method and play list creation program
JP2008065153A (en) Music structure analysis method, program, and apparatus
CN101488128A (en) Music search method and system based on rhythm mark
JP2007072023A (en) Information processing apparatus and information processing method