JP5960488B2 - Musical score playing apparatus and musical score playing program - Google Patents

Musical score playing apparatus and musical score playing program Download PDF

Info

Publication number
JP5960488B2
JP5960488B2 JP2012098804A JP2012098804A JP5960488B2 JP 5960488 B2 JP5960488 B2 JP 5960488B2 JP 2012098804 A JP2012098804 A JP 2012098804A JP 2012098804 A JP2012098804 A JP 2012098804A JP 5960488 B2 JP5960488 B2 JP 5960488B2
Authority
JP
Japan
Prior art keywords
note
tuplet
time
measure
performance
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.)
Active
Application number
JP2012098804A
Other languages
Japanese (ja)
Other versions
JP2013228458A (en
Inventor
明裕 藤田
明裕 藤田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
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 Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP2012098804A priority Critical patent/JP5960488B2/en
Priority to US13/868,008 priority patent/US8704067B2/en
Publication of JP2013228458A publication Critical patent/JP2013228458A/en
Application granted granted Critical
Publication of JP5960488B2 publication Critical patent/JP5960488B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/30Character recognition based on the type of data
    • G06V30/304Music notations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Character Discrimination (AREA)
  • Auxiliary Devices For Music (AREA)
  • Electrophonic Musical Instruments (AREA)

Description

本発明は、電子的に取り込まれた楽譜の音楽情報から演奏を行う楽譜演奏技術に関し、特に、楽譜に記述された音符形状から音価を決定するに際して、3連符の連符記号が記述されない場合でも正しい音価が求められる楽譜演奏装置及び楽譜演奏プログラムに関する。   The present invention relates to a musical score performance technique for performing performance from music information of a musical score taken electronically, and in particular, a triplet tuplet symbol is not described when determining a note value from a note shape described in a musical score. The present invention also relates to a musical score performance apparatus and a musical score performance program that are required to have correct sound values.

楽譜演奏装置は、PDFの楽譜ファイルや、スキャナで取り込まれた楽譜から抽出した音符の描画位置、発音開始時間、持続時間、小節線の描画位置などの楽譜情報から演奏情報を作成し、この演奏情報により自動的に演奏を行うものである。楽譜から楽譜情報を抽出して演奏情報を作成する手順は、例えば特許文献1に記載されている。
楽譜における3連符、5連符などの音価(音符の時間長)は、実際に記述されている音符で示される時間長と異なる。例えば図19の第1小節の矢印部分に示されるように、3連符が8分音符で記述されているような場合、その時間長は8分音符の2/3となる。
The musical score performance apparatus creates performance information from musical score information such as a drawing position of a note extracted from a musical score file of a PDF or a score captured by a scanner, a pronunciation start time, a duration, and a drawing position of a bar line. A performance is automatically performed based on information. A procedure for extracting musical score information from a musical score and creating performance information is described in Patent Document 1, for example.
Note values such as triplets and five-tuplets (time lengths of musical notes) in the score are different from the time lengths indicated by the actually described notes. For example, as shown in the arrow part of the first bar in FIG. 19, when a triplet is described by an eighth note, the time length is 2/3 of an eighth note.

特開平7−129159号公報JP 7-129159 A

楽譜から演奏情報を生成するに際して、記述された音符形状から音価を決定する場合、図19の第1小節の矢印部分のように3連符を示す連符記号(連符を示す数)がある場合は、その記号(数字)を認識できれば正しい音価を求めることができる。しかしながら、連符記号は図19の第3小節の矢印部分のように省略されることが多く、この場合は楽譜を読み取って演奏情報を作成するに際して、通常の8分音符として音価を求めてしまうことになる。
また、連符記号の記載があったとしても、楽譜には指番号などが記載されている場合が多く、楽譜から演奏情報を生成するに際して、指番号と連符記号(連符を示す数)とを区別する必要があり、そのための読取技術が必要であった。
When generating the performance information from the score, when determining the note value from the described note shape, a tuplet symbol (number indicating a tuplet) indicating a triplet as shown by the arrow in the first bar of FIG. In some cases, if the symbol (number) can be recognized, the correct tone value can be obtained. However, tuplet symbols are often omitted as shown by the arrows in the third bar of FIG. 19. In this case, when reading the score and creating performance information, the note value is obtained as a normal eighth note. Will end up.
Even if tuplet symbols are described, finger numbers and the like are often described in the score, and finger numbers and tuplet symbols (numbers indicating tuplets) are used when generating performance information from the score. And a reading technique for that purpose is necessary.

本発明は上記事情に鑑みて提案されたもので、楽譜において連符記号が記述されない場合であっても、3連符に特化して正しい音価を有する演奏情報を作成して自動演奏を可能とした楽譜演奏装置及び楽譜演奏プログラムを提供することを目的としている。   The present invention has been proposed in view of the above circumstances, and even when a tuplet symbol is not described in a score, performance information having a correct note value can be created by specializing in a triplet and automatic performance can be performed. It is an object to provide a musical score performance apparatus and a musical score performance program.

上記目的を達成するため本発明の楽譜演奏装置(請求項1)は、楽曲の拍子から小節規定時間を計算する小節規定時間計算手段と、小節内の音符、休符の発音タイミング、音価(GateTime)から小節演奏時間を計算する小節演奏時間計算手段と、計算された前記小節規定時間と小節演奏時間を比較する第1比較手段と、前記小節規定時間と小節演奏時間が一致しない場合に小節内に連符が存在すると推定し、音符、休符の発音タイミング、音価を修正する音価修正手段とを備え、前記音価修正手段は、修正対象音符を順次決定する対象音決定手段と、前記小節内における修正対象音符の音価を2/3に変更して連符化処理を行う連符化処理手段と、前記小節規定時間と変更された音価による修正小節演奏時間を比較する第2比較手段とを備え、前記対象音決定手段により順次決定された各修正対象音符に対して前記連符化処理及び前記第2比較手段による比較を繰り返して行い、前記小節規定時間と前記修正小節演奏時間が等しくなった時の各音符の変更音価で3連符の連符化を確定させることを特徴としている。 In order to achieve the above object, the musical score playing apparatus of the present invention (Claim 1) includes a bar-specified time calculating means for calculating a bar-specified time from the time signature of a musical piece, a note in a bar, a pronunciation timing of a rest, a note value ( A bar performance time calculating means for calculating a bar performance time from (GateTime), a first comparison means for comparing the calculated bar specified time with the bar performance time, and a bar when the bar specified time does not match the bar performance time. A note value correcting unit that corrects the note, rest sound generation timing, and note value, and the note value correcting unit includes target note determining unit that sequentially determines the correction target note; The tuplet processing means for performing tuplet processing by changing the note value of the note to be corrected in the measure to 2/3, and the specified measure time and the corrected measure performance time by the changed note value are compared. and a second comparing means, before It was repeated comparison by the communication hatching process and the second comparison means for each correction target notes are sequentially determined by the target sound determining means, when the modified measure playing time and the measure specified time equals It is characterized in that the tuplet of triplets is confirmed by the changed note value of each note.

請求項2は、請求項1の楽譜演奏装置において、前記連符化処理手段は、前記小節内における修正対象音符より1つ大きい音価を有する音符の音価についても2/3の音価に変更して連符化処理を行うことで、2通りの連符推定を行うことを特徴としている。   According to a second aspect of the present invention, in the musical score performance device according to the first aspect, the tuplet processing means also sets the note value of a note having a note value one larger than the correction target note in the measure to 2/3. It is characterized by performing two-way tuplet estimation by changing and performing tuplet processing.

請求項3は、請求項1の楽譜演奏装置において、前記対象音決定手段は64分音符、32分音符、16分音符、8分音符、4分音符、2分音符の順に対象音を変更しながら、前記連符化処理手段で繰り返し連符推定を行うことを特徴としている。   According to a third aspect of the present invention, in the musical score performance device, the target sound determining means changes the target sound in the order of 64th note, 32nd note, 16th note, 8th note, 4th note, and 2nd note. However, the tuplet processing means repeatedly performs tuplet estimation.

請求項4は、コンピュータに実行させるための楽譜演奏プログラムであって、次の手順を含むことを特徴としている。
楽曲の拍子から小節規定時間を計算する小節規定時間計算ステップ。
小節内の音符、休符の発音タイミング、音価(GateTime)から小節演奏時間を計算する小節演奏時間計算ステップ。
計算された前記小節規定時間と小節演奏時間を比較し、前記小節規定時間と小節演奏時間が一致しない場合に小節内に連符が存在すると推定する連符推定ステップ。
小節内の音符に対して修正対象音順次決定する対象音決定ステップ
前記小節内における修正対象音符の音価を2/3に変更して連符化処理を行い、前記小節規定時間と変更された音価による修正小節演奏時間を比較し、小節規定時間と前記修正小節演奏時間が等しくなった時の各音符の変更音価で3連符の連符化を確定させる連符化処理ステップ。
そして、前記連符化処理は、3連符の連符化が確定するまで前記対象音決定ステップで順次決定される修正対象音符に対して繰り返して行われる。
A fourth aspect of the present invention is a musical score performance program to be executed by a computer, and includes the following procedure.
A bar-specified time calculation step for calculating a bar-specified time from the time signature of the music.
A bar performance time calculation step that calculates the bar performance time from the notes in the bar, the sounding timing of rests, and the note value (GateTime).
A tuplet estimation step of comparing the calculated bar specified time and the bar performance time, and estimating that a tuplet exists in the bar when the bar specified time does not match the bar performance time.
Target sound determination step of sequentially determining the corrected target sound marks relative note within a measure.
The note value of the note to be corrected in the measure is changed to 2/3 and tuplet processing is performed, and the specified measure time is compared with the corrected measure performance time based on the changed note value. A tuplet processing step for confirming the tuplet of the triplet with the changed note value of each note when the measure performance time becomes equal.
The tuplet processing is repeatedly performed on correction target notes that are sequentially determined in the target sound determination step until triplet tuplet formation is determined .

請求項5は、請求項4の楽譜演奏プログラムにおいて、前記対象音決定ステップで修正対象音符を決定し、前記連符化処理ステップで修正対象音符の音価を変更した後に、音価の変更が1回目である場合は前記対象音符より1つ大きい音価を有する音符の音価についても2/3の音価に変更して前記連符化処理を行うことを特徴としている。   According to a fifth aspect of the present invention, in the musical score performance program according to the fourth aspect, after the note to be corrected is determined in the target sound determination step and the note value of the correction target note is changed in the tuplet processing step, the note value is changed. In the case of the first time, the note value having a note value one larger than the target note is also changed to a 2/3 note value, and the tuplet processing is performed.

請求項6は、請求項4の楽譜演奏プログラムにおいて、前記対象音符は、64分音符、32分音符、16分音符、8分音符、4分音符、2分音符の順に変更しながら、前記連符化処理を繰り返し行うことを特徴としている。   A sixth aspect of the present invention is the musical score performance program according to the fourth aspect, wherein the target notes are changed in the order of 64th note, 32nd note, 16th note, 8th note, 4th note, and 2nd note in order. The encoding process is repeatedly performed.

本発明の楽譜演奏装置及び楽譜演奏プログラムによれば、楽譜において連符記号が記述されない場合であっても、小節規定時間と小節演奏時間が一致しない場合に小節内に連符部分を推定し、音符、休符の発音タイミング、音価を修正する連符化処理を行うことで、正しい音価を有する演奏情報を作成することができる。
連符化処理は、小節内における修正対象音符の音価を2/3に変更し、小節規定時間と修正小節演奏時間が等しくなる対象音が音価を修正する連符と判断することで、楽譜において最も多用される3連符に特化した連符化処理を行うことができる。
According to the musical score performance apparatus and the musical score performance program of the present invention, even if the tuplet symbol is not described in the score, the tuplet portion is estimated in the measure when the measure specified time and the measure performance time do not match, Performing tuplet processing for correcting the sound generation timing and note value of notes and rests makes it possible to create performance information having correct note values.
In the tuplet processing, the note value of the correction target note in the measure is changed to 2/3, and the target sound having the same specified measure time and the corrected measure performance time is determined as a tuplet for correcting the note value. Tuplet processing specialized for the triplet most frequently used in the score can be performed.

また、対象音決定手段により修正対象音符を決定するに際して、64分音符〜2分音符の(音価が小さい)順に連符推定を行うことで、音価の小さい音符の連符が多用される傾向にある楽曲において効率良い連符化処理を行うことができる。   Further, when the correction target note is determined by the target sound determination means, tuplet estimation is performed in order from the 64th note to the half note (in which the note value is small), so that the tuplet of the note having a low note value is frequently used. Efficient tuplet processing can be performed on a trending musical piece.

本発明の実施形態に係る楽譜演奏装置が組み込まれた自動演奏装置の機能を示すブロック図である。It is a block diagram which shows the function of the automatic performance apparatus incorporating the musical score performance apparatus which concerns on embodiment of this invention. 自動演奏装置のハードウエア構成例を示すブロック図である。It is a block diagram which shows the hardware structural example of an automatic performance apparatus. 楽譜情報記憶手段が記憶する情報の詳細を説明するモデル図である。It is a model figure explaining the detail of the information which a musical score information storage means memorize | stores. 演奏情報作成手段の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of a performance information preparation means. 演奏情報作成手段による演奏情報の作成手順を示すフローチャート図である。It is a flowchart figure which shows the production procedure of the performance information by a performance information creation means. 小節情報配列の一例を示すモデル図である。It is a model figure which shows an example of a bar information arrangement | sequence. 楽譜例である。This is a sample score. 図7の楽譜例の各音符から得た演奏情報を示す表である。It is a table | surface which shows the performance information obtained from each note of the score example of FIG. 楽譜から小節演奏時間を算出する場合の手順を示すフローチャート図である。It is a flowchart figure which shows the procedure in the case of calculating measure performance time from a score. イベント種類の一例を示すモデル図である。It is a model figure which shows an example of an event kind. 連符推定を行う場合の全体の流れを示すフローチャート図である。It is a flowchart figure which shows the whole flow in the case of performing tuplet estimation. 連符推定を行う場合の詳細手順を示すフローチャート図である。It is a flowchart figure which shows the detailed procedure in the case of performing tuplet estimation. 楽譜例である。This is a sample score. 楽譜例の各音符に対して連符推定処理を行った場合の演奏情報を示す表である。It is a table | surface which shows the performance information at the time of performing a tuplet estimation process with respect to each note of a score example. 図13の楽譜例に対して正しい連符記号が表示された楽譜例である。14 is a musical score example in which correct tuplet symbols are displayed with respect to the musical score example of FIG. 13. 楽譜例である。This is a sample score. 楽譜例の各音符に対して連符推定処理を行った場合の情報を示す表である。It is a table | surface which shows the information at the time of performing a tuplet estimation process with respect to each note of a score example. 図16の楽譜例に対して正しい連符記号が表示された楽譜例である。FIG. 17 is a musical score example in which correct tuplet symbols are displayed with respect to the musical score example of FIG. 16. 楽譜例である。This is a sample score.

以下、図面を参照しながら本発明の楽譜演奏装置について説明する。
図1は、コンピュータ上で動作し本発明の楽譜演奏装置(楽譜演奏プログラム)が組み込まれた自動演奏装置のブロック図であり、楽譜をスキャンした楽譜ファイルやPDF楽譜ファイルを記憶する楽譜ファイル記手段1と、楽譜ファイルを認識して楽譜情報を生成する楽譜情報生成手段2と、生成された楽譜情報を記憶する楽譜情報記手段3と、楽譜情報から演奏情報を作成する演奏情報作成手段4と、生成された演奏情報を記憶する演奏情報記手段5と、演奏情報を順次読み出し実際に音楽を演奏する楽音演奏手段6と、楽譜ファイルや楽譜情報を表示する楽譜表示手段7を備えて構成されている。
本発明の特徴的な構成は、演奏情報作成手段4において、楽譜情報から演奏情報を作成するに際し、連符の推定を行って正しい音価を求めるものであり、そのために必要な連符推定プログラムは演奏情報作成手段4の一部として機能する。
Hereinafter, the musical score playing apparatus of the present invention will be described with reference to the drawings.
Figure 1 is a block diagram of an automatic performance apparatus which operates on the computer music performance apparatus of the present invention (score performance program) is incorporated, music files Symbol for storing music files and PDF score file scanned sheet music a means 1, the score data generating means 2 for generating the musical score information recognizes the score file, a music information storage means 3 for storing the generated musical score information, performance information generation means for generating performance information from the score data It includes a 4, a performance information storage means 5 for storing the generated performance information, and musical sound playing device 6 to play sequentially read actually musical performance information, the musical score display means 7 for displaying the music files or music information Configured.
The characteristic configuration of the present invention is that when the performance information creating means 4 creates performance information from musical score information, a tuplet is estimated to obtain a correct note value, and a tuplet estimation program necessary for that purpose is obtained. Functions as part of the performance information creation means 4.

自動演奏装置のハードウエアは、パーソナルコンピュータ等の汎用情報処理装置によって実現することができる。図2は、コンピュータ上に構築された自動演奏装置のハードウエア構成を示すブロック図であり、バス10に対して、ディスプレイ11、マウス12、キーボード13、ROM14、RAM15、CPU16、HDD17、ディスクドライブ18、MIDIインターフェイス19、オーディオインターフェイス20、ネットワークインターフェイス21を接続して構成されている。   The hardware of the automatic performance device can be realized by a general-purpose information processing device such as a personal computer. FIG. 2 is a block diagram showing a hardware configuration of an automatic performance device constructed on a computer. A display 11, a mouse 12, a keyboard 13, a ROM 14, a RAM 15, a CPU 16, an HDD 17, and a disk drive 18 are connected to the bus 10. , A MIDI interface 19, an audio interface 20, and a network interface 21 are connected to each other.

コンピュータのHDD17には、MIDIインターフェイス19、オーディオインターフェイス20若しくはネットワークインターフェイス21を介して楽譜ファイルを取り込んで演奏情報を作成し自動演奏を行うための楽譜演奏プログラムが、ディスクドライブ18に装着された記録媒体からインストールされ、若しくはインターネットを介して所定のURLよりダウンロードされている。
CPU16は、上記の手順によりインストール又はダウンロードされた所定の制御プログラム(楽譜演奏プログラム)に従って各種処理(各ステップ)を実行し、楽譜演奏装置全体を制御するものであり、楽譜ファイル記憶手段1、楽譜情報生成手段2、楽譜情報記憶手段3を要部機能として備えることで、取り込んだ楽譜情報を電子情報として記憶し、記憶した情報を楽譜表示手段7に表示可能とするとともに、演奏情報作成手段4、演奏情報記憶手段5、楽音演奏手段6を備えることで、楽譜情報に応じて生成した演奏情報により楽音を自動的に演奏可能としている。
RAM15は、CPU16での処理に使用される情報を一時記憶するものである。
The HDD 17 of the computer has a recording medium in which a musical score performance program for taking musical score files to create performance information and performing an automatic performance through the MIDI interface 19, the audio interface 20 or the network interface 21 is mounted on the disk drive 18. Or downloaded from a predetermined URL via the Internet.
The CPU 16 executes various processes (each step) in accordance with a predetermined control program (score performance program) installed or downloaded by the above procedure, and controls the overall score performance apparatus. The score file storage means 1, the score By providing the information generating means 2 and the score information storage means 3 as main functions, the captured score information is stored as electronic information, and the stored information can be displayed on the score display means 7 and the performance information creation means 4 By providing the performance information storage means 5 and the musical sound performance means 6, the musical sound can be automatically played by the performance information generated according to the musical score information.
The RAM 15 temporarily stores information used for processing by the CPU 16.

楽譜ファイル記憶手段1は、RAM15及びHDD17で構成されている。楽譜ファイルは、上述したようにネットワークインターフェイス21等から取り込んでもよいし、コンピュータに対して別途イメージスキャナを接続して取り込むようしてもよい。
楽譜情報生成手段2は、HDD17に記憶されたプログラムとそれを実行するCPU16と、作業記憶領域として使用されるRAM15などで構成されている。
楽譜情報記憶手段3は、RAM15及びHDD17で構成される。
演奏情報作成手段4は、HDD17に記憶されたプログラムと、それを実行するCPU16と、作業記憶領域として使用されるRAM15などで構成される。
演奏情報記憶手段5は、RAM15及びHDD17などで構成される。
楽音演奏手段6は、HDD17に記憶された楽譜演奏プログラムと、プログラムを実行するCPU16と、作業記憶領域として使用されるRAM15、音源装置及びオーディオインターフェイス20などを含んで構成される。音源装置には、D/A変換器、アンプ、スピーカを含むサウンドシステムが含まれている。
楽譜表示手段7は、HDD17に記憶された楽譜演奏プログラムと、プログラムを実行するCPU16と、作業記憶領域として使用されるRAM15、液晶ディスプレイ等のディスプレイ11で構成される。
The score file storage means 1 is composed of a RAM 15 and an HDD 17. As described above, the score file may be imported from the network interface 21 or the like, or may be acquired by connecting a separate image scanner to the computer.
The musical score information generating means 2 includes a program stored in the HDD 17, a CPU 16 that executes the program, and a RAM 15 that is used as a work storage area.
The musical score information storage unit 3 includes a RAM 15 and an HDD 17.
The performance information creating means 4 includes a program stored in the HDD 17, a CPU 16 for executing the program, a RAM 15 used as a work storage area, and the like.
The performance information storage means 5 includes a RAM 15 and an HDD 17.
The musical tone performance means 6 includes a musical score performance program stored in the HDD 17, a CPU 16 for executing the program, a RAM 15 used as a work storage area, a sound source device, an audio interface 20, and the like. The sound source device includes a sound system including a D / A converter, an amplifier, and a speaker.
The score display means 7 includes a score playing program stored in the HDD 17, a CPU 16 for executing the program, a RAM 15 used as a work storage area, and a display 11 such as a liquid crystal display.

楽譜情報記憶手段3は、図3に示すように、ページ情報記憶手段31とパート情報記憶手段32を備えて構成されている。パート情報記憶手段32は、パート数分のパート情報33の配列として構成される。各パート情報33には、音色、再生音量、再生定位情報などが含まれる。ページ情報記憶手段31には、ページ数分のページ情報34の配列として記録されている。各ページ情報34には、少なくとも段落情報記憶手段35と、五線情報記憶手段36が含まれる。 As shown in FIG. 3, the score information storage unit 3 includes a page information storage unit 31 and a part information storage unit 32. The part information storage means 32 is configured as an array of part information 33 for the number of parts. Each part information 33 includes timbre, reproduction volume, reproduction localization information, and the like. The page information storage unit 31 records an array of page information 34 for the number of pages. Each page information 34 includes at least paragraph information storage means 35 and staff information storage means 36.

段落情報記憶手段35には、その段落に所属する全パートあるいは全五線共通に効力がある段落所属記号情報35aの配列として記録されている。各段落所属記号情報35aに記録される段落所属記号には、段落内でユニークな記号ID、記号カテゴリ情報、記号種類情報、記号カテゴリと記号種類に応じたパラメータ配列、ページ内での記号位置などが含まれる。記号カテゴリの例としては、繰り返し記号、小節線などが挙げられる。記号種類の例としては、D.C.、D.S.、繰り返し括弧など(カテゴリ=繰り返し記号)、単線、二重線、繰り返し始点、繰り返し終点、終止線など(カテゴリ=小節線)が挙げられる。   The paragraph information storage means 35 is recorded as an array of paragraph belonging symbol information 35a effective for all parts belonging to the paragraph or for all staffs. The paragraph belonging symbol recorded in each paragraph belonging symbol information 35a includes a symbol ID unique within the paragraph, symbol category information, symbol type information, parameter array corresponding to the symbol category and symbol type, symbol position within the page, and the like. Is included. Examples of symbol categories include repeated symbols and bar lines. Examples of symbol types include D.C., D.S., repeated parentheses, etc. (category = repeated symbol), single line, double line, repeated start point, repeated end point, end line, etc. (category = bar line).

五線情報記憶手段36には、ページ内の五線数分の五線情報36aの配列として記録されている。各五線情報36aには、所属パートID、所属段落ID、五線所属記号情報36bなどが含まれる。五線所属記号情報36bは、その五線に所属する五線所属記号の配列として記録されている。
五線所属記号情報36bに記録される五線所属記号には、段落内でユニークな記号ID、記号カテゴリ情報、記号種類情報、OnTime、GateTime、記号カテゴリと記号種類に応じたパラメータ配列、ページ内での記号位置(ページの左上を原点とした座標)などが含まれる。
The staff information storage means 36 is recorded as an array of staff information 36a corresponding to the number of staffs in the page. Each staff information 36a includes a belonging part ID, a belonging paragraph ID, staff member symbol information 36b, and the like. The staff affiliation symbol information 36b is recorded as an array of staff affiliation symbols belonging to the staff.
The staff affiliation symbol recorded in the staff affiliation symbol information 36b includes a symbol ID unique within the paragraph, symbol category information, symbol type information, OnTime, GateTime, parameter array according to the symbol category and symbol type, and within the page. Symbol position (coordinates with the origin at the top left of the page).

記号カテゴリの例としては、音符、休符、拍子記号、音部記号、調号、臨時記号などが挙げられる。
記号種類情報の例としては、全音符、4分音符、8分音符、16分音符、32分音符など(カテゴリ=音符)、全休符、4分休符、8分休符、16分休符、32分休符など(カテゴリ=休符)音記号、へ音記号など(カテゴリ=音部記号)が挙げられる。
パラメータの例としては、音程(MIDIのNoteNo.)、付点の数、ChordID、TimingNo.、連桁IDなど(カテゴリ=音符)、付点の数、ChordID、TimingNo.など(カテゴリID=休符)、ChordID(同一タイミングに発音する音符グループのID)、TimingNo.(発音順番を示す番号)、GateTime(音符、休符の時間長を示す値)、OnTime(小節の先頭から発音開始までの時間)などが挙げられる。
Examples of symbol categories include notes, rests, time signatures, clefs, key signatures, accidental symbols, and the like.
Examples of symbol type information include all notes, quarter notes, eighth notes, sixteenth notes, thirty-second notes, etc. (category = notes), all rests, quarter rests, eighth rests, and sixteenth rests. , 32 minutes rest (category = rest) , treble clef, cleaver, etc. (category = clef).
Examples of parameters include pitch (MIDI NoteNo.), Number of dots, ChordID, TimingNo., Beam ID, etc. (category = note), number of dots, ChordID, TimingNo., Etc. (category ID = rest) ), ChordID (ID of the note group that sounds at the same time), TimingNo. (Number indicating the order of sounding), GateTime (value indicating the length of the note and rest), OnTime (time from the beginning of the bar to the start of sounding) ) And the like.

演奏情報作成手段4は、図4に示すように、楽曲の拍子から小節規定時間を計算する小節規定時間計算手段401と、小節内の音符、休符の発音タイミング、音価(GateTime)から小節演奏時間を計算する小節演奏時間計算手段402と、計算された前記小節規定時間と小節演奏時間を比較する第1比較手段403と、前記小節規定時間と小節演奏時間が一致しない場合に小節内に連符が存在すると推定し、音符、休符の発音タイミング、音価を修正する音価修正手段404とを備えて構成されている。
音価修正手段404は、修正対象音符を順次決定する対象音決定手段441と、小節内における修正対象音符の音価を2/3に変更して連符化処理を行う連符化処理手段442とを備えている。連符化処理手段442は、変更された音価により小節演奏時間を算出する修正演奏時間算出手段を有し、小節規定時間と変更された音価による修正小節演奏時間は第2比較手段443で比較される。
そして、各修正対象音符に対して、連符化処理手段442による連符化処理、及び、第2比較手段による比較を繰り返して行い、小節規定時間と修正小節演奏時間が等しくなった時の各音符の変更音価で3連符の連符化を確定させるように構成されている。
As shown in FIG. 4, the performance information creation means 4 is a measure specified time calculation means 401 for calculating a measure specified time from the time signature of the music, a note in the measure, a pronunciation timing of the rest, and a measure from the note value (GateTime). A measure performance time calculating means 402 for calculating a performance time, a first comparison means 403 for comparing the calculated measure specified time and the measure performance time, and when the measure specified time does not match the measure performance time. It is estimated that a tuplet is present, and is provided with a note value correcting means 404 that corrects a note, rest sound generation timing, and note value.
The note value correcting means 404 is a target sound determining means 441 that sequentially determines the correction target notes, and a tuplet processing means 442 that performs tuplet processing by changing the note value of the correction target notes in the measure to 2/3. And. The tuplet processing means 442 has a modified performance time calculating means for calculating a measure performance time based on the changed note value, and the second comparison means 443 uses the second comparison means 443 for the corrected measure performance time based on the specified measure time and the changed note value. To be compared.
Then, the tuplet processing by the tuplet processing means 442 and the comparison by the second comparison means are repeated for each correction target note, and each time when the specified bar measure time and the corrected measure performance time are equal to each other. It is configured to determine the triplet of triplets by changing the note value.

次に、楽譜演奏装置による楽譜作成の全体手順について、図5のフローチャートを参照しながら説明する。
先ず、楽譜情報生成手段2により楽譜情報の生成が行われる(ステップ41)。楽譜情報生成手段2は、楽譜ファイル記憶手段1から楽譜ファイルを読み出し、そのファイルに含まれる描画情報から、ページ情報、パート情報、段落情報、段落所属記号情報、五線情報、五線所属記号情報が一般に知られている既存技術により生成される。ただし、五線所属記号情報のChordID、TimingNo.、GateTime、OnTimeは演奏情報作成手段4によって与えられる。
生成された楽譜情報は、楽譜情報記憶手段3に記録される。
Next, an overall procedure for creating a score by the score playing apparatus will be described with reference to the flowchart of FIG.
First, musical score information is generated by the musical score information generating means 2 (step 41). The musical score information generating means 2 reads the musical score file from the musical score file storage means 1, and from the drawing information contained in the file, page information, part information, paragraph information, paragraph belonging symbol information, staff information, staff belonging symbol information Are generated by existing techniques that are generally known. However, the chord ID, TimingNo., GateTime, and OnTime of the staff member symbol information are given by the performance information creation means 4.
The generated musical score information is recorded in the musical score information storage means 3.

続いて、演奏情報作成手段4によりステップ42〜ステップ46の手順で演奏情報が作成される。   Subsequently, performance information is created by the performance information creation means 4 in the sequence of steps 42 to 46.

ステップ42では、図6に示すような小節情報配列を作成する。小節情報は各小節に対応するページ番号、段落番号、左側小節線の記号ID、右側小節線の記号ID、楽曲の拍子から求められる小節規定時間、小節番号を含んでいる。
小節規定時間は式(1)で求められる。
小節規定時間=TimeBase×4/Den×Num 式(1)
ここでTimeBaseは、4分音符あたりのTickで、本実施例では480とする。
Denは楽曲の拍子の分母(1拍の長さ)、Numは楽曲拍子の分子(小節内の拍の数)を表す(小節規定時間計算手段401)。
In step 42, a bar information array as shown in FIG. 6 is created. The bar information includes a page number corresponding to each bar, a paragraph number, a symbol ID of the left bar line, a symbol ID of the right bar line, a bar specified time determined from the time signature of the music, and a bar number.
The bar specified time is obtained by the equation (1).
Measure specified time = TimeBase x 4 / Den x Num (1)
Here, TimeBase is Tick per quarter note, and is 480 in this embodiment.
Den represents the denominator of the time signature of the music (length of one beat), and Num represents the numerator of the music time signature (number of beats in the bar) (measured time calculation means 401).

次に、同一タイミングで発音される音符グループを示すChordIDを付与する(ステップ43)。ChordIDは、横方向の位置及び同一の符尾に接しているかどうかによって決定される。
発音順番を示すTimingNo.を付与する(ステップ44)。TimingNo.は、ChordID及び横方向の位置によって決定される。
GateTimeおよびOnTimeを付与する(ステップ45)。GateTimeは音符の種類、付点の数によって決定され、OnTimeはGateTime及びTimingNo.によって決定される。
ステップ42〜ステップ45については、一般に知られている既存技術により行われる。
Next, ChordID indicating a note group that is sounded at the same timing is assigned (step 43). ChordID is determined by the horizontal position and whether it touches the same tail.
TimingNo. Indicating the pronunciation order is assigned (step 44). TimingNo. Is determined by the ChordID and the horizontal position.
GateTime and OnTime are assigned (step 45). GateTime is determined by the type of note and the number of points, and OnTime is determined by GateTime and TimingNo.
Steps 42 to 45 are performed by a generally known existing technique.

図7の楽譜に対してステップ45までの手順で得られたChordID、TimingNo.、GateTime、OnTimeの演奏情報の一例を図8に示す。音符No.は、楽譜について上段左から右、続いて下段左から右に数字を順に付けたものである。カテゴリは、音符、休符別を表示する。この楽譜の場合、上段左から音符No.1〜No.10となり、下段左から音符No.11〜No.16となる。
本実施例では、GateTime及びOnTimeなどの時間はTickを用いて表す。4分音符の長さを480Tickと規定している。
FIG. 8 shows an example of performance information of ChordID, TimingNo., GateTime, and OnTime obtained by the procedure up to step 45 for the score of FIG. A note number is a score in which numbers are assigned in order from left to right in the upper row, and then from left to right in the lower row. The category displays notes and rests. In the case of this score, note No. 1 to No. 10 from the upper left, and note No. 11 to No. 16 from the lower left.
In this embodiment, times such as GateTime and OnTime are expressed using Tick. The length of a quarter note is specified as 480Tick.

図7の楽譜を例にOnTime及び小節演奏時間の算出手順について、図9のフローチャートを参照しながら説明する。
TimingNo.を1に初期化する(ステップ91)。
EndTime配列を初期化する(ステップ92)。
TimingNo.=1の音符No.1を読み出す(ステップ93)。
音符No.1のOnTimeを算出する(ステップ94)。TimingNo.は1なので、OnTime=0となる。
音符No.1のEndTimeを計算する(ステップ95)。音符1のOnTimeに音符No.1のGateTimeを加算し、EndTime=240となる。このEndTimeをEndTime配列に加える。
同じTimingNo.の音符があるので、ステップ93へ戻る(ステップ96)。
The procedure for calculating OnTime and measure performance time will be described with reference to the flowchart of FIG. 9, taking the score of FIG. 7 as an example.
TimingNo. Is initialized to 1 (step 91).
The EndTime array is initialized (step 92).
The note No. 1 with TimingNo. = 1 is read (step 93).
OnTime of the note No. 1 is calculated (step 94). Since TimingNo. Is 1, OnTime = 0.
The EndTime of note No. 1 is calculated (step 95). The GateTime of note No. 1 is added to the OnTime of note 1, and EndTime = 240. Add this EndTime to the EndTime array.
Since there is a note of the same TimingNo., The process returns to step 93 (step 96).

音符No.11を読み出す(ステップ93)。
音符No.11のOnTimeを算出する(ステップ91)。これもTimingNo.は1なのでOnTime=0となる。
音符No.11のEndTimeを計算する(ステップ95)。音符No.11のOnTimeに音符No.11のGateTimeを加算し、EndTime = 480となる。
EndTime配列には、240があるのみで、480は無いので480もEndTime配列へ追加する。
TimingNo=1の音符の読み出しが終わったので、TimingNo.を2に更新し、次のTimingNo.の音符を読み出す。
The note No. 11 is read (step 93).
OnTime of note No. 11 is calculated (step 91). This also has a TimingNo. Of 1, so OnTime = 0.
The EndTime of note No. 11 is calculated (step 95). The GateTime of the note No. 11 is added to the OnTime of the note No. 11, and EndTime = 480.
Since there are only 240 in the EndTime array and not 480, 480 is added to the EndTime array.
Since the reading of the note with TimingNo = 1 has been completed, the TimingNo. Is updated to 2, and the note with the next TimingNo. Is read out.

音符No.2を読み出し(ステップ93)、OnTimeを算出する(ステップ94)。音符No.2のOnTimeは、EndTime配列の最も短い時間となる。この場合は240となる。
音符No.2のEndTimeを計算する(ステップ95)。音符No.2のOnTimeに音符No.2のGateTimeを加算して、EndTime=480となる。
480は既にEndTime配列に存在するので480はEndTime配列へは追加しない。さらにTimingNo.=2の音符はもう存在しないので、今回音符No.2のOnTime割り当てた240をEndTime配列から削除する。
TimingNo.を3に更新し、次のTimingNo.の音符を読み出す。
Note No. 2 is read (step 93), and OnTime is calculated (step 94). The OnTime of note No. 2 is the shortest time in the EndTime array. In this case, 240.
The EndTime of note No. 2 is calculated (step 95). Adding GateTime of note No. 2 to OnTime of note No. 2 results in EndTime = 480.
Since 480 already exists in the EndTime array, 480 is not added to the EndTime array. Furthermore, since there is no note with TimingNo. = 2, 240 assigned to OnTime of note No.2 this time is deleted from the EndTime array.
Update TimingNo. To 3 and read the note of the next TimingNo.

音符No.3を読み出し(ステップ93)、OnTimeを計算する(ステップ94)。音符No.3のOnTimeはEndTime配列の最も短い値となる。この場合は480となる。
音符No.3のEndTimeを計算する(ステップ95)。音符No.3のOnTimeに音符No.3のGateTimeを加算し、720となる。この値はEndTime配列にないのでEndTime配列に追加する。今回はTimingNo.3の音符がまだ存在するので、TimingNo.の更新は行われず、EndTime配列の480も削除しない。
Note No. 3 is read (step 93), and OnTime is calculated (step 94). The OnTime of note No. 3 is the shortest value in the EndTime array. In this case, 480.
The EndTime of note No. 3 is calculated (step 95). The GateTime of the note No. 3 is added to the OnTime of the note No. 3 to obtain 720. Since this value is not in the EndTime array, it is added to the EndTime array. Since there is still a note of TimingNo.3 this time, TimingNo. Is not updated and 480 in the EndTime array is not deleted.

ステップ93で同じTimigNo.の音符No.12を読み出し、OnTimeを計算する(ステップ94)。音符No.3のOnTimeはEndTime配列の最も小さい値の480となる。
音符No.3のEndTimeを計算する(ステップ95)。音符No.3のOnTime+GateTime=960となる。この値はEndTime配列に無いので、EndTime配列に追加する。TimingNo.=3の音符も他には無いので、EndTime配列の最も小さい値を削除する。
同様に処理を行うことで、全ての音符のOnTimeが算出されるとともにEndTime配列の更新が行われる。全ての音符の処理が終わったときにEndTime配列に残っている最も大きい値が小節演奏時間となる。
In step 93, the note No. 12 of the same TimigNo. Is read and OnTime is calculated (step 94). The OnTime of note No. 3 is 480, which is the smallest value in the EndTime array.
The EndTime of note No. 3 is calculated (step 95). OnTime + GateTime = 960 for note No.3. Since this value is not in the EndTime array, it is added to the EndTime array. Since there is no other note with TimingNo. = 3, the smallest value in the EndTime array is deleted.
By performing the same processing, the OnTime of all the notes is calculated and the EndTime array is updated. When all notes have been processed, the largest value remaining in the EndTime array is the measure performance time.

本発明の特徴的な構成は、ステップ45に続くステップ46で楽譜における連符推定を行い、ChordID、TimingNo.、GateTime、OnTimeの修正を行うことである。この部分についての詳細説明は後述する。   A characteristic configuration of the present invention is to perform tuplet estimation in a score in step 46 following step 45 and correct ChordID, TimingNo., GateTime, and OnTime. Detailed description of this part will be described later.

ステップ46で連符推定を行った楽譜情報から演奏情報を作成する(ステップ47)。演奏情報はMIDI規格のフォーマットを踏襲しており、以下のような演奏イベント情報の配列で構成される。
ノートイベント :音符の発音開始、発音停止のイベント
コントロールイベント:音量、定位、などを発音チャネルに設定するイベント
音色イベント :発音チャネルの音色を指定するイベント
テンポイベント :楽曲のテンポを設定するイベント
Performance information is created from the musical score information subjected to tuplet estimation in step 46 (step 47). The performance information follows the MIDI standard format, and consists of the following array of performance event information.
Note event: Event for starting and stopping sounding of notes Control event: Event for setting sound volume, localization, etc. to sound channel Sound event: Event for specifying sound color of sound channel Tempo event: Event for setting tempo of music

図10に演奏イベント情報のフォーマットを示す。
イベント種類は、ノートイベント、コントロールイベント、テンポイベントなどを識別する番号である。
Data1は、ノートイベントであればその音程、コントロールイベントであれば、音量、定位などを識別する番号、テンポイベントであればテンポ値が入る。
Data2は、ノートイベントであればその発音強さ(0の場合発音停止を示す)、コントロールイベントであれば、音量、定位などの設定値が入る。
時間情報は楽曲開始からのそのイベント発生までの時間(Tick)が入る。
チャネル番号は、発音、音量などの制御対象となるチャネル番号が入る。
FIG. 10 shows the format of performance event information.
The event type is a number for identifying a note event, a control event, a tempo event, or the like.
Data1 contains the pitch for a note event, a number for identifying volume, localization, etc. for a control event, and a tempo value for a tempo event.
Data2 contains a setting value such as a sound intensity (note that sounding is stopped when 0) for a note event, and a setting value such as volume and panning for a control event.
The time information includes the time (Tick) from the start of the song to the event occurrence.
The channel number is a channel number to be controlled such as sound generation and volume.

図5で示したステップ46(連符推定)における大まかな流れについて、図11のフローチャートを参照しながら説明する。
先ず、ステップ42で作成した小節情報を読み出す(ステップ51)。
この小節に含まれる音符情報を読み出し、音符配列に格納する(ステップ52)。
A rough flow in step 46 (tuplet estimation) shown in FIG. 5 will be described with reference to the flowchart of FIG.
First, the bar information created in step 42 is read (step 51).
The note information contained in this measure is read out and stored in the note arrangement (step 52).

音符上の読み出しは、以下の手順で行われる。
小節情報に記憶されたページ番号を元に、ページ情報を読み出す。
このページ情報から、小節情報の段落番号が示す段落情報を読み出す。
さらに段落情報から小節情報の左小節線の記号IDと一致する段落所属記号を読み出し、この横方向の位置を小節左端位置とする。同様に右小節線の段落所属記号を読み出し、小節右端位置とする。
ページ情報から小節情報の段落番号と所属段落IDが一致する五線情報を読み出す。
小節左端位置と小節右端位置の間に位置し、カテゴリが音符または休符である五線所属記号を小節音符配列に格納する。
Reading on a note is performed in the following procedure.
The page information is read based on the page number stored in the bar information.
The paragraph information indicated by the paragraph number of the measure information is read from the page information.
Further, the paragraph belonging symbol that matches the symbol ID of the left measure line of the measure information is read from the paragraph information, and the horizontal position is set as the left end position of the measure. Similarly, the paragraph belonging symbol of the right bar line is read out and set as the right end position of the bar.
Read the staff information in which the paragraph number of the measure information and the belonging paragraph ID match from the page information.
A staff member symbol that is located between a bar left end position and a bar right end position and whose category is a note or a rest is stored in a bar note array.

小節演奏時間計算手段402により小節音符配列から小節演奏時間を算出する(ステップ53)。
この小節演奏時間と、小節規定時間計算手段401により小節情報から算出した小節規定時間とを第1比較手段403で比較し(ステップ54)、一致しない場合は連符推定を行う(ステップ55)。ステップ54で小節演奏時間と小節規定時間が一致する場合は、次の小節への処理へ移る(ステップ56)。
The measure performance time calculation means 402 calculates measure performance time from the measure note arrangement (step 53).
The first comparison means 403 compares the measure performance time with the measure prescribed time calculated from the measure information by the measure prescribed time calculating means 401 (step 54). If they do not match, tuplet estimation is performed (step 55). If the measure performance time matches the specified measure time in step 54, the process proceeds to the next measure (step 56).

次に、図11で示したステップ55における連符推定の詳細手順について、図12のフローチャートを参照しながら、図13の楽譜から図14に示す演奏情報を作成する場合を例に説明する。
連符化処理を行うに際しては、64分音符、32分音符、16分音符、8分音符、4分音符、2分音符の順に連符化を行う対象音を変更しながら繰り返し連符推定を行う。
64分音符〜2分音符の順に連符推定を行うのは、楽曲においては、通常、音価の小さい音符の連符の方が、音価の大きい音符の連符より多用される傾向にあるためである。
Next, the detailed procedure of tuplet estimation in step 55 shown in FIG. 11 will be described with reference to the flowchart of FIG. 12, taking as an example the case where the performance information shown in FIG. 14 is created from the score of FIG.
When performing tuplet processing, repeated tuplet estimation is performed while changing the target sound to be tupleted in the order of 64th note, 32nd note, 16th note, 8th note, 4th note, and 2nd note. Do.
The tuplet estimation is performed in the order of the 64th note to the half note. In music, the tuplet of a note having a small note value tends to be used more frequently than the tuplet of a note having a high note value. Because.

また、1つの対象音に対して、それより1つ上の音価(例えば、4分音符に対する2分音符)を変更する場合と、変更しない場合の2回連符推定を行う。対象音に対して1つ上の音価(例えば、4分音符に対する2分音符)を変更することで、異なる音符から構成される3連符を判定することができる。   In addition, with respect to one target sound, double tuplet estimation is performed when a note value (for example, a half note with respect to a quarter note) one higher than that is changed and when it is not changed. By changing the note value one higher than the target sound (for example, a half note for a quarter note), a triplet composed of different notes can be determined.

図13の楽譜では、対象音を64分音符〜8分音符とした場合は、対象となる音符が無いので、最初に対象音とされる音符は4分音符となる。   In the musical score of FIG. 13, when the target sound is a 64th note to an eighth note, there is no target note, so the first target note is a quarter note.

先ず、小節規定時間を算出する(ステップ101)。この楽譜の場合は、4/4拍子なので、上述した式(1)より小節規定時間は1920となる。
対象音決定手段441により対象音とされる音符(修正対象音符)を4分音符に決定し(ステップ102)、連符化処理手段442により小節内の全ての4分音符の音価480に対して2/3の音価となる320へ変更する(ステップ103)。
修正対象音符に対する音価の変更が1回目である場合は(ステップ104)、4分音符より1つ上の音価である2分音符の音価も変更する(ステップ105)。2分音符の音価は、音価960に対して2/3の音価となる640に変換される。
First, the bar specified time is calculated (step 101). In the case of this score, since the time signature is 4/4, the bar specified time is 1920 from the above-described equation (1).
The target note determining means 441 determines the note (correction target note) as a quarter note (step 102), and the tuplet processing means 442 determines the note value 480 of all the quarter notes in the measure. The sound value is changed to 320, which is 2/3 (step 103).
If the note value for the correction target note is changed for the first time (step 104), the note value of the half note, which is one higher than the quarter note, is also changed (step 105). The note value of the half note is converted to 640 which is 2/3 of the note value 960.

連符化処理手段442の修正演奏時間算出手段により修正音価に対する小節演奏時間を計算する(ステップ106)。この場合は、小節演奏時間は、音価320が3個で960、これに640を加算して1600となる。
第2比較手段443により小節演奏時間(1600)と小節規定時間(1920)を比較する(ステップ107)。小節演奏時間(1600)は小節規定時間(1920)と一致しないので、ステップ108へ移行する。
The corrected performance time calculation means of the tuplet processing means 442 calculates the measure performance time for the corrected note value (step 106). In this case, the measure duration is 960 for three note values 320, and 1600 by adding 640 to this.
The second comparison means 443 compares the measure performance time (1600) with the specified measure time (1920) (step 107). Since the bar performance time (1600) does not coincide with the bar specified time (1920), the process proceeds to step.

ステップ108では、音価の変更が1回目なので、ステップ109へ移行し、変更した音価を元に戻し、ステップ103へ移行する。
ステップ103では、再び音価を480から320へ変更する。今度は音価の変更が2回目なのでステップ105は行わずステップ106で修正演奏時間算出手段により小節演奏時間を算出する。今回の場合、小節演奏時間は、音価320が3個で960、これに960(変更しない音価)を加算して1920となるので小節規定時間(1920)と一致し(ステップ107)、処理を終了する。
In step 108, since the sound value is changed for the first time, the process proceeds to step 109, the changed sound value is restored, and the process proceeds to step 103.
In step 103, the sound value is changed from 480 to 320 again. This time, since the tone value is changed for the second time, step 105 is not performed, and in step 106 the measure performance time is calculated by the corrected performance time calculation means. In this case, the bar performance time is 960 with three note values 320, and 960 (note value not changed) is added to it to become 1920, so it matches the specified bar time (1920) (step 107) and processing Exit.

2回目のステップ107で演奏時間と小節規定時間とが一致しない楽譜である場合には、ステップ108からステップ110へ移行し、全ての音符の種類が完了したかどうかを判断し、完了している場合は処理を終了する。また、全ての音符の種類が完了していない場合は、変更した音価を元に戻してステップ102へ移行し(ステップ111)、対象音を変更して上述の処理が再度行われる。   In the second step 107, if the score does not match the performance time and the specified measure time, the process proceeds from step 108 to step 110, where it is determined whether or not all the note types have been completed. If so, the process ends. If all note types are not completed, the changed note value is returned to the original state and the process proceeds to step 102 (step 111), the target sound is changed, and the above-described processing is performed again.

図13の楽譜の場合、4分音符の音価が変更されることで3連符の存在が判明し、図14のような音符No.1〜音符No.3の音価の変更により連符化処理された演奏情報が作成される。したがって、正確な連符が表示された楽譜は、図15に示すように、4分音符に3連符に連符記号「3」が表示されたものとなる。   In the case of the score of FIG. 13, the presence of the triplet is found by changing the note value of the quarter note, and the tuplet is changed by changing the note value of note No. 1 to note No. 3 as shown in FIG. Performed performance information is created. Therefore, the score on which the accurate tuplet is displayed is such that the tuplet symbol “3” is displayed on the quarter note as a triplet as shown in FIG.

次に図16の楽譜について連符化を行って図17の演奏情報を作成する場合について説明する。
この楽譜の場合も、対象音を64分音符〜8分音符とした時には、対象となる音符が無いので、最初に対象音とされる音符は4分音符となる。
Next, description will be made regarding a case where the musical score of FIG. 16 is tupleted to create the performance information of FIG.
Also in the case of this score, when the target sound is a 64th note to an eighth note, there is no target note, so the first target note is a quarter note.

先ず、小節規定時間を算出する(ステップ101)。この楽譜の場合は、4/4拍子なので、上述した式(1)より小節規定時間は1920となる。
対象音とされる音符(修正対象音符)を4分音符に決定し(ステップ102)、小節内の全ての4分音符の音価480に対して2/3の音価となる320へ変更する(ステップ103)。
修正対象音符に対する音価の変更が1回目である場合は(ステップ104)、4分音符より1つ上の音価である2分音符の音価も変更する(ステップ105)。2分音符の音価は、音価960に対して2/3の音価となる640に変換される。
First, the bar specified time is calculated (step 101). In the case of this score, since the time signature is 4/4, the bar specified time is 1920 from the above-described equation (1).
The note (correction target note) to be the target sound is determined to be a quarter note (step 102), and the note value 480 of all the quarter notes in the measure is changed to 320 which is 2/3 of the note value. (Step 103).
If the note value for the correction target note is changed for the first time (step 104), the note value of the half note, which is one higher than the quarter note, is also changed (step 105). The note value of the half note is converted to 640 which is 2/3 of the note value 960.

連符化処理手段442の修正演奏時間算出手段により修正音価に対する小節演奏時間を計算する(ステップ106)。この場合は、小節演奏時間は、音価320が4個で1280、これに640を加算して1920となる。
小節演奏時間(1920)と小節規定時間(1920)を比較する(ステップ107)。小節演奏時間は小節規定時間と一致するため(ステップ107)、処理を終了する。
The corrected performance time calculation means of the tuplet processing means 442 calculates the measure performance time for the corrected note value (step 106). In this case, the bar performance time is 1280 with four note values 320, and 1920 is obtained by adding 640 to this.
The measure performance time (1920) is compared with the specified measure time (1920) (step 107). Since the measure performance time coincides with the specified measure time (step 107), the processing is terminated.

図16の楽譜の場合、図17のような音符No.1〜音符No.5の音価の変更により連符化処理された演奏情報が作成されるので、4個の4分音符及び2分音符の音価が変更されることで2組の3連符の存在が判明する。
したがって、正確な連符が表示された楽譜は、図18に示すように、2分音符と4分音符に3連符に連符記号「3」が表示され、これに続く4分音符の3連符に連符番号「3」が表示されたものとなる。
In the case of the score of FIG. 16, the performance information that has been tuplet-processed is created by changing the note values of note No. 1 to note No. 5 as shown in FIG. 17, so four quarter notes and two minutes are generated. By changing the note value of a note, the existence of two sets of triplets is revealed.
Accordingly, in a musical score on which an accurate tuplet is displayed, a tuplet symbol “3” is displayed on a triplet on a half note and a quarter note, as shown in FIG. A tuplet number “3” is displayed as a tuplet.

上述した連符化処理によれば、楽譜において最も多用される3連符に特化した連符化処理を行うことができ、連桁でつながらない2分音符の3連符や、4分音符の3連符などの推定を可能としている。   According to the above-described tuplet processing, a tuplet processing specialized for the triplet most frequently used in a score can be performed. It is possible to estimate triplets.

4…演奏情報作成手段、 401…小節規定時間計算手段、 402…小節演奏時間計算手段、 403…第1比較手段、 404…音価修正手段、 441…対象音決定手段、 442…連符化処理手段、 443…第2比較手段。   4 ... Performance information creation means 401 ... Measure specified time calculation means 402 ... Measure performance time calculation means 403 ... First comparison means 404 ... Sound value correction means 441 ... Target sound determination means 442 ... Tuplet processing Means, 443 ... second comparison means.

Claims (6)

楽曲の拍子から小節規定時間を計算する小節規定時間計算手段と、
小節内の音符、休符の発音タイミング、音価から小節演奏時間を計算する小節演奏時間計算手段と、
計算された前記小節規定時間と小節演奏時間を比較する第1比較手段と、
前記小節規定時間と小節演奏時間が一致しない場合に小節内に連符が存在すると推定し、音符、休符の発音タイミング、音価を修正する音価修正手段とを備え、
前記音価修正手段は、
修正対象音符を順次決定する対象音決定手段と、
前記小節内における修正対象音符の音価を2/3に変更して連符化処理を行う連符化処理手段と、
前記小節規定時間と変更された音価による修正小節演奏時間を比較する第2比較手段とを備え、
前記対象音決定手段により順次決定された各修正対象音符に対して前記連符化処理及び前記第2比較手段による比較を繰り返して行い、前記小節規定時間と前記修正小節演奏時間が等しくなった時の各音符の変更音価で3連符の連符化を確定させる
ことを特徴とする楽譜演奏装置。
A measure time calculating means for calculating a measure specified time from the time signature of the music;
A measure playing time calculating means for calculating the measure playing time from the note in the measure, the sounding timing of the rest, and the note value;
A first comparison means for comparing the calculated bar specified time and the bar performance time;
When the bar specified time and the bar performance time do not match, it is estimated that there is a tuplet in the bar, and includes a note value, a sound generation timing of a rest, a rest, and a note value correcting means for correcting the note value,
The sound value correcting means is
Target sound determining means for sequentially determining correction target notes;
Tuplet processing means for performing tuplet processing by changing the note value of the correction target note in the measure to 2/3;
A second comparing means for comparing the bar specified time and the modified bar performance time based on the changed note value;
When the tuplet processing and the comparison by the second comparison unit are repeated for each correction target note sequentially determined by the target sound determination unit, and the prescribed measure time and the modified measure performance time become equal A musical score playing apparatus characterized in that a triplet of tuplets is determined by changing the note value of each note.
前記連符化処理手段は、前記小節内における修正対象音符より1つ大きい音価を有する音符の音価についても2/3の音価に変更して連符化処理を行うことで、2通りの連符推定を行う請求項1に記載の楽譜演奏装置。   The tuplet processing means performs tuplet processing by changing the note value of a note having a note value one larger than the correction target note in the measure to 2/3, and performing tuplet processing. The musical score performance device according to claim 1, wherein tuplet estimation is performed. 前記対象音決定手段は64分音符、32分音符、16分音符、8分音符、4分音符、2分音符の順に対象音を変更しながら、前記連符化処理手段で繰り返し連符推定を行う請求項1に記載の楽譜演奏装置。   The target sound determining means changes the target sound in the order of 64th note, 32nd note, 16th note, 8th note, 4th note, and 2nd note, and the tuplet processing means repeatedly estimates the tuplet. The musical score performance device according to claim 1 to be performed. 楽曲の拍子から小節規定時間を計算する小節規定時間計算ステップと、
小節内の音符、休符の発音タイミング、音価から小節演奏時間を計算する小節演奏時間計算ステップと、
計算された前記小節規定時間と小節演奏時間を比較し、前記小節規定時間と小節演奏時間が一致しない場合に小節内に連符が存在すると推定する連符推定ステップと、
小節内の音符に対して修正対象音順次決定する対象音決定ステップと、
前記小節内における修正対象音符の音価を2/3に変更して連符化処理を行い、前記小節規定時間と変更された音価による修正小節演奏時間を比較し、小節規定時間と前記修正小節演奏時間が等しくなった時の各音符の変更音価で3連符の連符化を確定させる連符化処理ステップとを備え、
3連符の連符化が確定するまで前記対象音決定ステップで順次決定される修正対象音符に対して前記連符化処理を繰り返して行うことをコンピュータに実行させるための楽譜演奏プログラム。
Measured time calculation step for calculating the specified measure time from the time signature of the music;
A bar performance time calculation step for calculating the bar performance time from the notes in the bar, the sounding timing of the rest, and the note value,
A tuplet estimation step for comparing the calculated bar specified time and the bar performance time, and estimating that there is a tuplet in the bar when the bar specified time and the bar performance time do not match;
A target sound determination step of sequentially determining the corrected target sound marks relative note within a measure,
The note value of the note to be corrected in the measure is changed to 2/3 and tuplet processing is performed, and the specified measure time is compared with the corrected measure performance time based on the changed note value. A tuplet processing step for confirming the tuplet of the triplet with the changed note value of each note when the measure performance time becomes equal,
A musical score performance program for causing a computer to repeatedly perform the tuplet forming process on correction target notes sequentially determined in the target sound determination step until triplet tuplet formation is determined .
前記対象音決定ステップで修正対象音符を決定し、前記連符化処理ステップで修正対象音符の音価を変更した後に、音価の変更が1回目である場合は前記修正対象音符より1つ大きい音価を有する音符の音価についても2/3の音価に変更して前記連符化処理を行う請求項4に記載の楽譜演奏プログラム。 After the note to be corrected is determined in the target sound determination step and the note value of the correction target note is changed in the tuplet processing step, if the note value is changed for the first time, it is one larger than the correction target note. The musical score performance program according to claim 4, wherein the note value having a note value is also changed to a note value of 2/3 and the tuplet processing is performed. 前記修正対象音符は、64分音符、32分音符、16分音符、8分音符、4分音符、2分音符の順に変更しながら、前記連符化処理を繰り返し行う請求項4に記載の楽譜演奏プログラム。 5. The musical score according to claim 4, wherein the correction target note is repeated in the order of 64th note, 32nd note, 16th note, 8th note, 4th note, and 2nd note in order. Performance program.
JP2012098804A 2012-04-24 2012-04-24 Musical score playing apparatus and musical score playing program Active JP5960488B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2012098804A JP5960488B2 (en) 2012-04-24 2012-04-24 Musical score playing apparatus and musical score playing program
US13/868,008 US8704067B2 (en) 2012-04-24 2013-04-22 Musical score playing device and musical score playing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012098804A JP5960488B2 (en) 2012-04-24 2012-04-24 Musical score playing apparatus and musical score playing program

Publications (2)

Publication Number Publication Date
JP2013228458A JP2013228458A (en) 2013-11-07
JP5960488B2 true JP5960488B2 (en) 2016-08-02

Family

ID=49676173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012098804A Active JP5960488B2 (en) 2012-04-24 2012-04-24 Musical score playing apparatus and musical score playing program

Country Status (1)

Country Link
JP (1) JP5960488B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9478201B1 (en) * 2013-12-31 2016-10-25 Tonara Ltd. System and method for optical music recognition

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5030144B2 (en) * 2006-11-10 2012-09-19 株式会社河合楽器製作所 Music score recognition apparatus and program

Also Published As

Publication number Publication date
JP2013228458A (en) 2013-11-07

Similar Documents

Publication Publication Date Title
JP5605066B2 (en) Data generation apparatus and program for sound synthesis
US8027631B2 (en) Song practice support device
US11348561B2 (en) Performance control method, performance control device, and program
US9245508B2 (en) Music piece order determination device, music piece order determination method, and music piece order determination program
JP6481319B2 (en) Music score display apparatus and music score display method
US20220383842A1 (en) Estimation model construction method, performance analysis method, estimation model construction device, and performance analysis device
US8704067B2 (en) Musical score playing device and musical score playing program
JP6184296B2 (en) Karaoke guide vocal generating apparatus and guide vocal generating method
JP5960488B2 (en) Musical score playing apparatus and musical score playing program
US20130284000A1 (en) Music note position detection apparatus, electronic musical instrument, music note position detection method and storage medium
JP5126055B2 (en) Singing scoring system and program
JP5005445B2 (en) Code name detection device and code name detection program
JP4932614B2 (en) Code name detection device and code name detection program
JP6733487B2 (en) Acoustic analysis method and acoustic analysis device
JP5387642B2 (en) Lyric telop display device and program
JP5988672B2 (en) Musical score playing apparatus and musical score playing program
JP4613817B2 (en) Fingering display device and program
JP5050606B2 (en) Capacity evaluation system and capacity evaluation program
JP2007163575A (en) Electronic musical instrument and play level display method
JP2013003205A (en) Musical score display device, musical score display program and musical score
JP5637169B2 (en) Karaoke device and program
JP6838357B2 (en) Acoustic analysis method and acoustic analyzer
JP5807754B2 (en) Stringed instrument performance evaluation apparatus and stringed instrument performance evaluation program
JP5061211B2 (en) Voice input system, method for controlling voice input system, and program
JP2007240552A (en) Musical instrument sound recognition method, musical instrument annotation method and music piece searching method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150320

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160115

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160615

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160623

R150 Certificate of patent or registration of utility model

Ref document number: 5960488

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150