Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6039974B2 - Music score recognition apparatus and program - Google Patents
[go: Go Back, main page]

JP6039974B2 - Music score recognition apparatus and program - Google Patents

Music score recognition apparatus and program Download PDF

Info

Publication number
JP6039974B2
JP6039974B2 JP2012199400A JP2012199400A JP6039974B2 JP 6039974 B2 JP6039974 B2 JP 6039974B2 JP 2012199400 A JP2012199400 A JP 2012199400A JP 2012199400 A JP2012199400 A JP 2012199400A JP 6039974 B2 JP6039974 B2 JP 6039974B2
Authority
JP
Japan
Prior art keywords
score
page
file
information
recognition
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
JP2012199400A
Other languages
Japanese (ja)
Other versions
JP2014056310A (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 Instruments Manufacturing Co Ltd
Original Assignee
Kawai Musical Instruments 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 Instruments Manufacturing Co Ltd filed Critical Kawai Musical Instruments Manufacturing Co Ltd
Priority to JP2012199400A priority Critical patent/JP6039974B2/en
Publication of JP2014056310A publication Critical patent/JP2014056310A/en
Application granted granted Critical
Publication of JP6039974B2 publication Critical patent/JP6039974B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 Input (AREA)
  • Character Discrimination (AREA)

Description

本発明は、楽譜認識装置及びプログラムに関する。   The present invention relates to a score recognition apparatus and a program.

複数の楽譜記号が含まれる画像データを一括して読み込む読み込み手段と、読み込んだ記号を解析して認識する認識手段と、画像データに含まれる楽譜記号が認識手段で認識できた場合記号コードを、認識できなかった場合画像データに対応させて認識対象画像データの座標情報、縦方向及び横方向の長さ情報を含む認識不可コードを記録する記録手段と、記録した記号コード、認識不可コードに基づいて楽譜画像を再構成する再構成手段と、記号コードをそれに対応した記号フォントに基づいて表示し、認識不可コードについては認識不可コード中の座標情報、縦方向及び横方向の長さ情報が示す画像データに基づいて画像を表示するものであって、記号フォントと画像データとで色を異ならせる、または記号フォントと画像データとのいずれかを点滅させる表示制御手段とを有する楽譜認識装置が知られている(例えば、特許文献1参照)。   Reading means for collectively reading image data including a plurality of score symbols, a recognition means for analyzing and recognizing the read symbols, and a symbol code when the score symbols included in the image data can be recognized by the recognition means, Based on the recording means for recording the unrecognizable code including the coordinate information of the recognition target image data, the length information in the vertical direction and the horizontal direction corresponding to the image data, and the recorded symbol code and unrecognizable code Reconstructing means for reconstructing the score image, and displaying the symbol code based on the corresponding symbol font, and the unrecognizable code is indicated by the coordinate information in the unrecognizable code and the length information in the vertical and horizontal directions. An image is displayed based on image data, and the symbol font and image data have different colors, or the symbol font and image data are different. Music recognition apparatus is known having a display control means for blinking or Re (for example, see Patent Document 1).

特開平10−334179号公報JP-A-10-334179

楽譜認識装置は、紙に印刷された楽譜をスキャナによりビットマップファイルに変換し、そのビットマップファイルを基に楽譜を認識することができる。ここで、楽譜は、1枚の紙が1個のビットマップファイルに変換される。したがって、1曲が複数枚の楽譜により構成される場合、複数枚の楽譜は、複数個のビットマップファイルに変換される。ユーザは、1曲を構成する複数個のビットマップファイルを選択し、複数個のビットマップファイルの順番を指示し、楽譜を認識させる必要がある。この作業は、複雑であり、煩わしい。   The score recognition apparatus can convert a score printed on paper into a bitmap file by a scanner, and recognize the score based on the bitmap file. Here, one sheet of paper is converted into one bitmap file. Accordingly, when one song is composed of a plurality of scores, the scores are converted into a plurality of bitmap files. The user needs to select a plurality of bitmap files constituting one song, specify the order of the plurality of bitmap files, and recognize the score. This task is complicated and cumbersome.

本発明の目的は、簡単に楽譜を認識させることができる楽譜認識装置及びプログラムを提供することである。   An object of the present invention is to provide a score recognition apparatus and a program that can easily recognize a score.

本発明の楽譜認識装置は、ページ情報を含む楽譜のファイルを指定するファイル指定手段と、前記指定されたファイルの楽譜をページ情報と共に表示するプレビュー手段と、前記指定されたファイルの楽譜の認識対象のページを指定するページ指定手段と、前記指定されたページの楽譜の認識を行って楽譜情報を生成する第1の認識手段と、前記ファイル指定手段により指定されたファイルを基に、ページ単位で楽譜情報があるか否かを認識する第2の認識手段とを有し、前記プレビュー手段は、ページ単位で楽譜情報があるか否かを示す情報を表示することを特徴とする。 The score recognition apparatus of the present invention includes a file designation means for designating a score file including page information, a preview means for displaying the score of the designated file together with page information, and a score recognition target of the designated file. A page designating unit for designating the page, a first recognition unit for recognizing the score of the designated page to generate score information, and a file designated by the file designating unit, in page units. And a second recognizing unit for recognizing whether there is musical score information, wherein the preview unit displays information indicating whether there is musical score information in units of pages .

また、本発明のプログラムは、ページ情報を含む楽譜のファイルを指定するファイル指定ステップと、前記指定されたファイルの楽譜をページ情報と共に表示するプレビューステップと、前記指定されたファイルの楽譜の認識対象のページを指定するページ指定ステップと、前記指定されたページの楽譜の認識を行って楽譜情報を生成する第1の認識ステップと、前記ファイル指定ステップで指定されたファイルを基に、ページ単位で楽譜情報があるか否かを認識する第2の認識ステップとをコンピュータに実行させるためのプログラムであって、前記プレビューステップでは、ページ単位で楽譜情報があるか否かを示す情報を表示することを特徴とするThe program of the present invention includes a file designating step for designating a score file including page information, a preview step for displaying the score of the designated file together with page information, and a score recognition target of the designated file. A page designation step for designating a page of the first page, a first recognition step for recognizing the score of the designated page to generate score information, and a file designated in the file designation step, in page units. A program for causing a computer to execute a second recognition step for recognizing whether or not there is musical score information , wherein in the preview step, information indicating whether or not there is musical score information is displayed in units of pages. It is characterized by .

楽譜のファイルはページ情報を含むため、複数ページの楽譜を1個のファイルで構成することができる。1個のファイルを指定するだけでよいので、簡単に楽譜を認識させることができる。また、ページを指定することにより、不要なページを認識対象から除外することができるので、必要なページのみを認識させることができ、認識時間を短縮することができる。   Since a score file includes page information, a score of a plurality of pages can be composed of one file. Since it is only necessary to specify one file, the score can be easily recognized. Also, by designating pages, unnecessary pages can be excluded from recognition targets, so that only necessary pages can be recognized and the recognition time can be shortened.

図1は、楽譜認識装置を実現するためのコンピュータのハードウエア構成例を示す図である。FIG. 1 is a diagram illustrating a hardware configuration example of a computer for realizing a score recognition apparatus. 図2は、楽譜認識装置の処理例を示すフローチャートである。FIG. 2 is a flowchart illustrating a processing example of the score recognition apparatus. 図3は、図2のステップS203の処理例の詳細を示すフローチャートである。FIG. 3 is a flowchart showing details of the processing example of step S203 of FIG. 図4は、ファイルウィンドウの表示例を示す図である。FIG. 4 is a diagram illustrating a display example of a file window. 図5は、プレビュー表示を示す図である。FIG. 5 is a diagram showing a preview display. 図6は、プレビュー表示を示す図である。FIG. 6 is a diagram showing a preview display. 図7は、認識対象ページの表示例を示す図である。FIG. 7 is a diagram illustrating a display example of a recognition target page. 図8は、認識された楽譜の表示例を示す図である。FIG. 8 is a diagram illustrating a display example of a recognized score. 図9は、楽譜認識装置の構成例を示す図である。FIG. 9 is a diagram illustrating a configuration example of the score recognition apparatus.

図9は、本発明の実施形態による楽譜認識装置900の構成例を示す図である。楽譜認識装置900は、ファイル指定手段901、第2の認識手段902、プレビュー手段903、ページ指定手段904、第1の認識手段905及び楽譜表示手段906を有する。   FIG. 9 is a diagram illustrating a configuration example of a score recognition apparatus 900 according to the embodiment of the present invention. The score recognition apparatus 900 includes a file designation unit 901, a second recognition unit 902, a preview unit 903, a page designation unit 904, a first recognition unit 905, and a score display unit 906.

図1は、楽譜認識装置900を実現するためのコンピュータのハードウエア構成例を示す図である。バス101には、中央処理装置(CPU)102、ROM103、RAM104、ネットワークインタフェース105、入力装置106、出力装置107及び外部記憶装置108が接続されている。CPU102は、データの処理又は演算を行うと共に、バス101を介して接続された各種構成要素を制御するものである。ROM103には、予めCPU102の制御手順(コンピュータプログラム)を記憶させておき、このコンピュータプログラムをCPU102が実行することにより、起動する。外部記憶装置108にコンピュータプログラムが記憶されており、そのコンピュータプログラムがRAM104にコピーされ、CPU102により実行される。RAM104は、データの入出力、送受信のためのワークメモリ、各構成要素の制御のための一時記憶として用いられる。外部記憶装置108は、例えばハードディスク記憶装置やCD−ROM等であり、電源を切っても記憶内容が消えない。CPU102は、RAM104内のコンピュータプログラムを実行することにより、図2及び図3等の楽譜認識装置900の処理を行う。ネットワークインタフェース105は、インターネット等のネットワークに接続するためのインタフェースである。入力装置106は、例えばキーボード、マウス及びスキャナ等であり、各種指定又は入力等を行うことができる。出力装置107は、表示装置、スピーカ及びプリンタ等である。   FIG. 1 is a diagram illustrating a hardware configuration example of a computer for realizing the score recognition apparatus 900. A central processing unit (CPU) 102, a ROM 103, a RAM 104, a network interface 105, an input device 106, an output device 107, and an external storage device 108 are connected to the bus 101. The CPU 102 performs data processing or calculation and controls various components connected via the bus 101. The ROM 103 stores a control procedure (computer program) of the CPU 102 in advance, and the CPU 102 starts when the computer program executes the computer program. A computer program is stored in the external storage device 108, and the computer program is copied to the RAM 104 and executed by the CPU 102. The RAM 104 is used as a work memory for data input / output, transmission / reception, and temporary storage for control of each component. The external storage device 108 is, for example, a hard disk storage device or a CD-ROM, and the stored content does not disappear even when the power is turned off. The CPU 102 executes the computer program in the RAM 104 to perform the processing of the score recognition apparatus 900 shown in FIGS. The network interface 105 is an interface for connecting to a network such as the Internet. The input device 106 is, for example, a keyboard, a mouse, a scanner, and the like, and can perform various designations or inputs. The output device 107 is a display device, a speaker, a printer, or the like.

本実施形態は、コンピュータがプログラムを実行することによって実現することができる。また、上記のプログラムを記録したコンピュータ読み取り可能な記録媒体及び上記のプログラム等のコンピュータプログラムプロダクトも本発明の実施形態として適用することができる。記録媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   This embodiment can be realized by a computer executing a program. Further, a computer-readable recording medium in which the above program is recorded and a computer program product such as the above program can also be applied as an embodiment of the present invention. As the recording medium, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

図2は、楽譜認識装置900の処理例を示すフローチャートである。CPU102がプログラムを実行することにより、図2のフローチャートの処理が行われる。ステップS201では、CPU101は、図4の画面を出力装置(表示装置)107に表示する。図4は、ファイルウィンドウ401を示す図である。ファイルウィンドウ401には、ページ情報を含む楽譜のファイルが表示される。ページ情報を含む楽譜のファイルは、例えば、PDF(Portable Document Format)ファイルであるが、それに限定されない。以下、PDFファイルを例に説明する。PDFファイルは、ユーザが楽譜を作成してPDFファイルとして保存したり、スキャナを用いて紙の楽譜を基にPDFファイルを作成したり、ファイル変換によりPDFファイルを作成することができる。そのPDFファイルは、外部記憶装置108に記憶される。   FIG. 2 is a flowchart showing a processing example of the score recognition apparatus 900. When the CPU 102 executes the program, the process of the flowchart of FIG. 2 is performed. In step S <b> 201, the CPU 101 displays the screen of FIG. 4 on the output device (display device) 107. FIG. 4 is a diagram showing the file window 401. In the file window 401, a score file including page information is displayed. The score file including page information is, for example, a PDF (Portable Document Format) file, but is not limited thereto. Hereinafter, a PDF file will be described as an example. The PDF file allows a user to create a score and save it as a PDF file, create a PDF file based on a paper score using a scanner, or create a PDF file by file conversion. The PDF file is stored in the external storage device 108.

例えば、ユーザは、図4のスキャンボタン402を入力装置106のマウスでクリックすると、入力装置106のスキャナは紙の楽譜をスキャンして電子データを生成する。CPU102は、その電子データを読み込んで、楽譜のPDFファイルを外部記憶装置108に保存する。   For example, when the user clicks the scan button 402 in FIG. 4 with the mouse of the input device 106, the scanner of the input device 106 scans a paper score to generate electronic data. The CPU 102 reads the electronic data and saves the PDF file of the score in the external storage device 108.

CPU102は、外部記憶装置108に記憶されているPDFファイルをファイルウィンドウ401に表示する。ユーザが入力装置106のマウスを用いてファイルウィンドウ401内の所望のPDFファイルをクリックすると、ファイル指定手段901は、認識対象となるページ情報を含む楽譜のPDFファイルを指定する。また、CPU102は、ページ番号Nを1に設定する。   The CPU 102 displays the PDF file stored in the external storage device 108 on the file window 401. When the user clicks a desired PDF file in the file window 401 using the mouse of the input device 106, the file designating unit 901 designates a PDF file of a score including page information to be recognized. Further, the CPU 102 sets the page number N to 1.

ビットマップファイルはページ情報を含まず、複数ページの楽譜は複数個のビットマップファイルで構成されるため、ユーザは複数個のビットマップファイルを指定し、その複数個のビットマップファイルの順番を指定し、認識させる必要がある。これに対し、PDFファイルはページ情報を含むため、複数ページの楽譜を1個のファイルで構成することができる。ユーザは、1個のファイルを指定するだけでよいので、簡単に楽譜を認識させることができる。   The bitmap file does not include page information, and the multi-page score is composed of multiple bitmap files, so the user specifies multiple bitmap files and specifies the order of the multiple bitmap files. Need to be recognized. On the other hand, since a PDF file includes page information, a score of a plurality of pages can be composed of one file. Since the user only needs to specify one file, the score can be easily recognized.

次に、ステップS202では、CPU102は、上記で指定されたPDFファイルからNページ目のデータを読み込む。例えば、N=1の場合には、1ページ目のデータが読み込まれる。   Next, in step S202, the CPU 102 reads the Nth page data from the PDF file specified above. For example, when N = 1, the data for the first page is read.

次に、ステップS203では、第2の認識手段902は、Nページ目が認識対象となるか否かを判定する。具体的には、第2の認識手段902は、Nページ目に楽譜情報がある場合には認識対象となると判定し、Nページ目に楽譜情報がない場合には認識対象とならないと判定する。ステップS203の詳細は、後に図3を参照しながら説明する。認識対象となる場合にはステップS204に進み、認識対象とならない場合にはステップS205に進む。   Next, in step S203, the second recognition unit 902 determines whether or not the Nth page is a recognition target. Specifically, the second recognizing unit 902 determines that the musical score information is on the Nth page, and determines that it is not the target of recognition when there is no musical score information on the Nth page. Details of step S203 will be described later with reference to FIG. If it is a recognition target, the process proceeds to step S204. If it is not a recognition target, the process proceeds to step S205.

ステップS205では、プレビュー手段903は、図5に示すように、Nページ目データ501を「×」マーク510付きで出力装置(表示装置)107にプレビュー表示する。Nは、例えば「1」である。図5の例では、ページ番号502は、全2ページ中の1ページ目がプレビュー表示されていることを示す。1ページ目データ501は、「Sample楽譜」の文字情報のみからなり、楽譜情報がないため、認識対象とならないと判定され、1ページ目データ501が「×」マーク510付きで表示される。例えば、楽譜の表紙の文字情報のみのページ、曲名の文字情報のみのページ、又は文字の説明文のみのページは、認識対象とならないと判定される。なお、「×」マーク510は、その他の表示でもよく、楽譜情報があるか否かを示す情報であればよい。その後、ステップS206に進む。   In step S <b> 205, the preview unit 903 displays the N-th page data 501 with a “×” mark 510 on the output device (display device) 107 as shown in FIG. 5. N is, for example, “1”. In the example of FIG. 5, the page number 502 indicates that the first page of all two pages is displayed as a preview. The first page data 501 consists only of the character information of “Sample score”, and since there is no score information, it is determined that it is not a recognition target, and the first page data 501 is displayed with an “x” mark 510. For example, it is determined that a page with only character information on the cover of a musical score, a page with only character information on a song title, or a page with only a descriptive text is not recognized. The “x” mark 510 may be displayed in other ways, and may be information indicating whether there is musical score information. Thereafter, the process proceeds to step S206.

ステップS206では、CPU102は、プレビューページの変更指示があるか否かを判定する。ユーザが前ページボタン503又は次ページボタン504をマウスでクリックしたり、又は入力装置106のキーボードでページ番号502を入力すると、CPU102は、プレビューページの変更指示があると判定する。ユーザは、前ページボタン503をマウスでクリックすることにより、前ページのプレビュー表示を指示し、次ページボタン504をマウスでクリックすることにより、次ページのプレビュー表示を指示することができる。ただし、図5の1ページ目データ501が表示されている場合には、前ページが存在しないので、前ページボタン503をマウスでクリックすることができない。プレビューページの変更指示がある場合にはステップS207に進み、プレビューページの変更指示がない場合にはステップS208に進む。   In step S206, the CPU 102 determines whether there is an instruction to change the preview page. When the user clicks the previous page button 503 or the next page button 504 with the mouse or inputs the page number 502 using the keyboard of the input device 106, the CPU 102 determines that there is an instruction to change the preview page. The user can instruct preview display of the previous page by clicking the previous page button 503 with the mouse, and can instruct preview display of the next page by clicking the next page button 504 with the mouse. However, when the first page data 501 of FIG. 5 is displayed, the previous page does not exist, and the previous page button 503 cannot be clicked with the mouse. If there is an instruction to change the preview page, the process proceeds to step S207. If there is no instruction to change the preview page, the process proceeds to step S208.

ステップS207では、CPU102は、上記の変更指示に応じてページ番号Nを設定する。前ページボタン503がクリックされた場合には、ページ番号Nはデクリメントされ、次ページボタン504がクリックされた場合には、ページ番号Nはインクリメントされる。また、ページ番号502が入力された場合には、そのページ番号502がページ番号Nとして設定される。例えば、図5の画面において、次ページボタン504がクリックされると、ページ番号Nは「1」から「2」に変更される。その後、ステップS202の処理に戻る。   In step S207, the CPU 102 sets the page number N in response to the change instruction. When the previous page button 503 is clicked, the page number N is decremented, and when the next page button 504 is clicked, the page number N is incremented. When the page number 502 is input, the page number 502 is set as the page number N. For example, when the next page button 504 is clicked on the screen of FIG. 5, the page number N is changed from “1” to “2”. Thereafter, the process returns to step S202.

ステップS202では、CPU102は、2ページ目のデータを読み込む。次に、ステップS203において、2ページ目のデータが認識対象となる場合には、ステップS204に進む。   In step S202, the CPU 102 reads data for the second page. Next, in step S203, when the data on the second page is a recognition target, the process proceeds to step S204.

ステップS204では、プレビュー手段903は、図6に示すように、Nページ目データ601を出力装置(表示装置)107にプレビュー表示する。Nは、例えば「2」である。図6の例では、ページ番号502は、全2ページ中の2ページ目がプレビュー表示されていることを示す。2ページ目データ601は、五線及び音符記号を含む楽譜情報があるため、認識対象となると判定され、2ページ目データ601が「×」マークなしで表示される。その後、ステップS206に進む。   In step S204, the preview unit 903 displays the Nth page data 601 on the output device (display device) 107 as shown in FIG. N is, for example, “2”. In the example of FIG. 6, the page number 502 indicates that the second page of all two pages is displayed as a preview. The second page data 601 is determined to be a recognition target because there is musical score information including a staff and note symbols, and the second page data 601 is displayed without the “x” mark. Thereafter, the process proceeds to step S206.

ステップS206では、CPU102は、プレビューページの変更指示があるか否かを判定する。ユーザが前ページボタン503をマウスでクリックすると、CPU102は、プレビューページの変更指示があると判定し、ステップS207に進み、ページ番号Nを「2」から「1」に変更する。その後、ステップS202に戻り、上記と同様に、図5に示すように、1ページ目データ501を「×」マーク510付きで表示する。ステップS206において、プレビューページの変更指示がない場合には、ステップS208に進む。   In step S206, the CPU 102 determines whether there is an instruction to change the preview page. When the user clicks previous page button 503 with the mouse, CPU 102 determines that there is an instruction to change the preview page, proceeds to step S207, and changes page number N from “2” to “1”. Thereafter, the process returns to step S202, and the first page data 501 is displayed with the “x” mark 510 as shown in FIG. If it is determined in step S206 that there is no preview page change instruction, the process advances to step S208.

ステップS208では、CPU102は、認識ページ範囲505の指定指示があるか否かをチェックする。ユーザは、図5又は図6の画面において、認識ページ範囲505の開始ページ506及び終了ページ507を入力装置(キーボード)106で入力することができる。開始ページ506のデフォルト値は、PDFファイルの最初のページ番号であり、終了ページ507のデフォルト値は、PDFファイルの最終のページ番号である。ユーザは、図5及び図6のプレビュー表示を参照しながら、認識ページ範囲505を指定することができる。例えば、1個のPDFファイルの中に複数曲の楽譜が入っている場合には、所望の1曲の楽譜のページ範囲を認識ページ範囲505として設定することができる。また、1個のPDFファイルの中に1曲の楽譜しか入っていない場合であっても、認識させたいページ範囲が曲の一部である場合には、所望のページ範囲を認識ページ範囲505として設定することができる。楽譜認識装置は、楽譜を認識することにより、楽譜情報を生成し、ファイルに保存することができる。   In step S <b> 208, the CPU 102 checks whether there is a designation instruction for the recognition page range 505. The user can input the start page 506 and the end page 507 of the recognition page range 505 with the input device (keyboard) 106 on the screen of FIG. The default value of the start page 506 is the first page number of the PDF file, and the default value of the end page 507 is the last page number of the PDF file. The user can specify the recognized page range 505 while referring to the preview displays in FIGS. For example, when a plurality of musical scores are included in one PDF file, a desired musical score page range can be set as the recognition page range 505. Even if only one musical score is included in one PDF file, if the page range to be recognized is a part of the song, the desired page range is set as the recognized page range 505. Can be set. The score recognition device can generate score information by recognizing a score and save it in a file.

仮に、認識ページ範囲505の入力欄がない場合には、PDFファイルのすべてのページが認識対象になり、不要なページの楽譜情報が生成され、認識時間が不必要に長くなってしまう。また、不要なページの楽譜情報が生成されるので、不要なページの楽譜情報を削除するための煩わしい作業をしなければならない。本実施形態では、認識ページ範囲505を設定することができるので、不要なページを認識対象から除外することができ、必要なページのみを認識させることができ、認識時間を短縮することができる。また、不要なページの楽譜情報を削除するための煩わしい作業が不要になる。   If there is no input column for the recognized page range 505, all pages of the PDF file are to be recognized, and musical score information of unnecessary pages is generated, and the recognition time becomes unnecessarily long. Further, since musical score information of unnecessary pages is generated, a troublesome work for deleting the musical score information of unnecessary pages must be performed. In this embodiment, since the recognition page range 505 can be set, unnecessary pages can be excluded from recognition targets, only necessary pages can be recognized, and the recognition time can be shortened. Moreover, the troublesome work for deleting the musical score information of unnecessary pages becomes unnecessary.

ユーザが、認識ページ範囲505を設定した後、「OK」ボタン508をマウスでクリックすると、ページ指定手段904は認識ページ範囲505を認識対象のページとして指定し、ステップS208において、CPU102は認識ページ範囲505の指定指示があったと判定し、ステップS209に進む。ステップS208において、「OK」ボタン508がクリックされない場合は、CPU102は、認識ページ範囲505の指定指示がないと判定し、ステップS206に戻り、上記の処理を繰り返す。   When the user sets the recognized page range 505 and then clicks an “OK” button 508 with the mouse, the page designating unit 904 designates the recognized page range 505 as a page to be recognized. In step S208, the CPU 102 recognizes the recognized page range. It is determined that there is a designation instruction 505, and the process proceeds to step S209. If the “OK” button 508 is not clicked in step S208, the CPU 102 determines that there is no designation instruction for the recognition page range 505, returns to step S206, and repeats the above processing.

ステップS209では、CPU102は、認識ページ範囲505内で認識対象とならないページ(図5の「×」マーク510付きのページ)を削除し、図7のように、認識リストに、認識対象ページ701を表示する。例えば、図5又は図6において、開始ページ506として「1」ページが指定され、終了ページ507として「2」ページが指定された場合には、図5の「×」マーク510付きの1ページ目データ501が認識対象とならず、図6の2ページ目データ601が認識対象となるので、1ページ目データ501が削除され、2ページ目データ601のみが認識対象ページ701として表示される。「×」マーク510付きのページがない場合には、認識ページ範囲505のページがそのまま認識対象ページ701となる。   In step S209, the CPU 102 deletes a page that is not a recognition target in the recognition page range 505 (a page with an “x” mark 510 in FIG. 5), and adds the recognition target page 701 to the recognition list as shown in FIG. indicate. For example, in FIG. 5 or FIG. 6, when “1” page is designated as the start page 506 and “2” page is designated as the end page 507, the first page with the “x” mark 510 in FIG. Since the data 501 is not a recognition target and the second page data 601 in FIG. 6 is a recognition target, the first page data 501 is deleted and only the second page data 601 is displayed as the recognition target page 701. If there is no page with the “x” mark 510, the page in the recognized page range 505 becomes the recognition target page 701 as it is.

次に、ステップS210では、CPU102は、ユーザの指示に応じて、楽譜の段落設定等の認識準備を行う。図7において、認識対象ページ701の楽譜702が表示される。楽譜702は、認識対象ページ701(図6の2ページ目データ601)の1段目の楽譜であり、スクロールバーをマウスで操作することにより、認識対象ページ701(図6の2ページ目データ601)の2段目の楽譜を表示させることができる。楽譜702は、五線譜703及び704を有する。図7の場合、CPU102は、五線譜703を第1のパートに設定し、五線譜704を第2のパートに設定している。CPU102は、段落設定ウィンドウ705におけるユーザの指示に応じて、五線譜703及び704を同じパートの五線譜に設定したり、異なるパートの五線譜に設定することができる。また、別々の段落の五線譜に設定することもできる。   Next, in step S210, the CPU 102 prepares for recognition such as a paragraph setting of a score in accordance with a user instruction. In FIG. 7, the score 702 of the recognition target page 701 is displayed. The score 702 is the first score of the recognition target page 701 (second page data 601 in FIG. 6). By operating the scroll bar with a mouse, the recognition target page 701 (second page data 601 in FIG. 6) is displayed. ) Can be displayed. The musical score 702 includes staff notations 703 and 704. In the case of FIG. 7, the CPU 102 sets the staff 703 as the first part, and sets the staff 704 as the second part. The CPU 102 can set the staff notations 703 and 704 to the same part or the different parts according to the user's instruction in the paragraph setting window 705. It can also be set to a staff of separate paragraphs.

次に、ステップS211では、ユーザが図7の認識実行ボタン403をマウスでクリックすると、CPU102は、それを検知し、ステップS212に進む。   Next, in step S211, when the user clicks the recognition execution button 403 in FIG. 7 with a mouse, the CPU 102 detects this and proceeds to step S212.

ステップS212では、第1の認識手段905は、認識対象ページ701の楽譜の認識を行って楽譜情報を生成する。   In step S212, the first recognition unit 905 recognizes the score of the recognition target page 701 and generates score information.

次に、ステップS213では、楽譜表示手段906は、図8に示すように、生成された楽譜情報を基に楽譜801を出力装置(表示装置)107に表示する。   Next, in step S213, the score display means 906 displays the score 801 on the output device (display device) 107 based on the generated score information, as shown in FIG.

以上のように、ファイル指定手段901は、ステップS201において、ページ情報を含む楽譜のファイルを指定する。第2の認識手段902は、ステップS203において、ファイル指定手段901により指定されたファイルを基に、ページ単位で楽譜情報がある否かを認識する。プレビュー手段903は、ステップS204及びS205において、指定されたファイルの楽譜をページ情報と共に表示する。また、プレビュー手段903は、ステップS204及びS205において、ページ単位で楽譜情報があるか否かを示す情報を表示する。ページ指定手段904は、ステップS208において、指定されたファイルの楽譜の認識対象のページを指定する。第1の認識手段905は、ステップS212において、指定されたページの楽譜の認識を行って楽譜情報を生成する。具体的には、第1の認識手段905は、ステップS209及びS212において、ページ指定手段904により指定されたページの中から、第2の認識手段902により楽譜情報がないと認識されたページを除外して認識を行う。楽譜表示手段906は、ステップS213において、第1の認識手段905により生成された楽譜情報を基に楽譜を表示する。   As described above, the file designation unit 901 designates a score file including page information in step S201. In step S203, the second recognizing unit 902 recognizes whether or not there is musical score information for each page based on the file designated by the file designating unit 901. In steps S204 and S205, the preview unit 903 displays the score of the designated file together with page information. In step S204 and S205, the preview unit 903 displays information indicating whether there is musical score information in units of pages. In step S208, the page designating unit 904 designates the page for which the score of the designated file is to be recognized. In step S212, the first recognition unit 905 recognizes the score of the designated page and generates score information. Specifically, the first recognizing unit 905 excludes pages recognized as having no musical score information by the second recognizing unit 902 from the pages designated by the page designating unit 904 in steps S209 and S212. And recognize. In step S213, the score display unit 906 displays a score based on the score information generated by the first recognition unit 905.

図3は、図2のステップS203の処理例の詳細を示すフローチャートである。まず、ステップS301では、CPU102は、Nページ目データから五線の検出処理を行う。次に、ステップS302では、CPU102は、五線を検出できたか否かを判定する。五線を検出できた場合にはステップS303に進み、五線を検出できなかった場合にはステップS306に進む。   FIG. 3 is a flowchart showing details of the processing example of step S203 of FIG. First, in step S301, the CPU 102 performs a staff detection process from the Nth page data. Next, in step S302, the CPU 102 determines whether or not a staff has been detected. If a staff is detected, the process proceeds to step S303, and if a staff is not detected, the process proceeds to step S306.

ステップS303では、CPU102は、Nページ目データから音符の符頭の検出処理を行う。次に、ステップS304では、CPU102は、符頭を検出できたか否かを判定する。符頭を検出できた場合にはステップS305に進み、符頭を検出できなかった場合にはステップS306に進む。   In step S303, the CPU 102 performs note head detection processing from the Nth page data. Next, in step S304, the CPU 102 determines whether or not the note head has been detected. If the note head can be detected, the process proceeds to step S305. If the note head cannot be detected, the process proceeds to step S306.

ステップS305では、CPU102は、Nページ目が認識対象ページであると判定し、図2のステップS204に進む。ステップS306では、CPU102は、Nページ目が認識対象ページでないと判定し、図2のステップS205に進む。   In step S305, the CPU 102 determines that the Nth page is a recognition target page, and proceeds to step S204 in FIG. In step S306, the CPU 102 determines that the Nth page is not a recognition target page, and proceeds to step S205 in FIG.

なお、図2のステップS203の処理は、図3の処理に限定されず、楽譜情報があるか否かを認識する処理であればよい。また、上記では、コンピュータがプログラムを実行することにより、楽譜認識装置900を構成する場合を例に説明したが、これに限定されない。楽譜認識装置900のすべて又は一部をハードウエアにより構成するようにしてもよい。   2 is not limited to the process of FIG. 3, and may be a process for recognizing whether there is musical score information. In the above description, a case where the score recognition apparatus 900 is configured by a computer executing a program has been described as an example, but the present invention is not limited to this. All or part of the score recognition apparatus 900 may be configured by hardware.

以上のように、本実施形態では、楽譜のファイルはページ情報を含むため、複数ページの楽譜を1個のファイルで構成することができる。1個のファイルを指定するだけでよいので、簡単に楽譜を認識させることができる。また、ページを指定することにより、不要なページを認識対象から除外することができるので、必要なページのみを認識させることができ、認識時間を短縮することができる。   As described above, in this embodiment, a score file includes page information, and thus a multi-page score can be composed of one file. Since it is only necessary to specify one file, the score can be easily recognized. Also, by designating pages, unnecessary pages can be excluded from recognition targets, so that only necessary pages can be recognized and the recognition time can be shortened.

なお、上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

101 バス
102 CPU
103 ROM
104 RAM
105 ネットワークインタフェース
106 入力装置
107 出力装置
108 外部記憶装置
900 楽譜認識装置
901 ファイル指定手段
902 第2の認識手段
903 プレビュー手段
904 ページ指定手段
905 第1の認識手段
906 楽譜表示手段
101 bus 102 CPU
103 ROM
104 RAM
105 Network Interface 106 Input Device 107 Output Device 108 External Storage Device 900 Music Score Recognition Device 901 File Designation Unit 902 Second Recognition Unit 903 Preview Unit 904 Page Designation Unit 905 First Recognition Unit 906 Musical Score Display Unit

Claims (5)

ページ情報を含む楽譜のファイルを指定するファイル指定手段と、
前記指定されたファイルの楽譜をページ情報と共に表示するプレビュー手段と、
前記指定されたファイルの楽譜の認識対象のページを指定するページ指定手段と、
前記指定されたページの楽譜の認識を行って楽譜情報を生成する第1の認識手段と
前記ファイル指定手段により指定されたファイルを基に、ページ単位で楽譜情報があるか否かを認識する第2の認識手段とを有し、
前記プレビュー手段は、ページ単位で楽譜情報があるか否かを示す情報を表示することを特徴とする楽譜認識装置。
A file specification means for specifying a score file including page information;
Preview means for displaying the score of the designated file together with page information;
Page designation means for designating a recognition target page of the score of the designated file;
First recognition means for generating score information by recognizing the score of the designated page ;
Second recognition means for recognizing whether or not there is musical score information in units of pages based on the file designated by the file designation means;
The score recognition apparatus , wherein the preview means displays information indicating whether or not there is score information in page units .
さらに、前記第1の認識手段により生成された楽譜情報を基に楽譜を表示する楽譜表示手段を有することを特徴とする請求項1記載の楽譜認識装置。   2. The score recognition apparatus according to claim 1, further comprising a score display means for displaying a score based on the score information generated by the first recognition means. 前記ファイルは、PDFファイルであることを特徴とする請求項1又は2記載の楽譜認識装置。   3. The score recognition apparatus according to claim 1, wherein the file is a PDF file. 前記第1の認識手段は、前記ページ指定手段により指定されたページの中から、前記第2の認識手段により楽譜情報がないと認識されたページを除外して認識を行うことを特徴とする請求項1〜3のいずれか1項に記載の楽譜認識装置。 The first recognizing unit performs recognition by excluding a page recognized as having no musical score information by the second recognizing unit from the pages designated by the page designating unit. Item 4. The musical score recognition apparatus according to any one of Items 1 to 3 . ページ情報を含む楽譜のファイルを指定するファイル指定ステップと、
前記指定されたファイルの楽譜をページ情報と共に表示するプレビューステップと、
前記指定されたファイルの楽譜の認識対象のページを指定するページ指定ステップと、
前記指定されたページの楽譜の認識を行って楽譜情報を生成する第1の認識ステップと
前記ファイル指定ステップで指定されたファイルを基に、ページ単位で楽譜情報があるか否かを認識する第2の認識ステップとをコンピュータに実行させるためのプログラムであって、
前記プレビューステップでは、ページ単位で楽譜情報があるか否かを示す情報を表示することを特徴とするプログラム
A file specification step for specifying a music score file including page information;
A preview step of displaying the score of the designated file together with page information;
A page designating step of designating a page to be recognized of the score of the designated file;
A first recognition step of recognizing the score of the designated page to generate score information ;
A program for causing a computer to execute a second recognition step for recognizing whether or not there is musical score information in units of pages based on the file designated in the file designation step ,
In the preview step, information indicating whether or not there is musical score information in units of pages is displayed .
JP2012199400A 2012-09-11 2012-09-11 Music score recognition apparatus and program Active JP6039974B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012199400A JP6039974B2 (en) 2012-09-11 2012-09-11 Music score recognition apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012199400A JP6039974B2 (en) 2012-09-11 2012-09-11 Music score recognition apparatus and program

Publications (2)

Publication Number Publication Date
JP2014056310A JP2014056310A (en) 2014-03-27
JP6039974B2 true JP6039974B2 (en) 2016-12-07

Family

ID=50613594

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012199400A Active JP6039974B2 (en) 2012-09-11 2012-09-11 Music score recognition apparatus and program

Country Status (1)

Country Link
JP (1) JP6039974B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217731A (en) * 2014-08-28 2014-12-17 东南大学 Quick solo music score recognizing method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3448928B2 (en) * 1993-11-05 2003-09-22 ヤマハ株式会社 Music score recognition device
JP2002163462A (en) * 2000-11-24 2002-06-07 Nec Soft Ltd System/method for sales of musical score and recording medium with program for sales of musical score recorded thereon
JP2008242714A (en) * 2007-03-27 2008-10-09 Fujifilm Corp Photographing device, musical score photographing method, and musical score photographing program

Also Published As

Publication number Publication date
JP2014056310A (en) 2014-03-27

Similar Documents

Publication Publication Date Title
JP2008234148A (en) Document display device, document display method, and document display program
US9280960B1 (en) Navigating music using an index including musical symbols
US20120137219A1 (en) Document viewing device for displaying document data
JP4086050B2 (en) Information management program and information management apparatus
JP2006260065A (en) Document browsing device and document browsing program
US20210271380A1 (en) Display device
JP2007280230A (en) Printer
JP6039974B2 (en) Music score recognition apparatus and program
US9864750B2 (en) Objectification with deep searchability
CN111506227A (en) Information processing apparatus, control method, and storage medium
JP2014186691A (en) Information display apparatus
JP5645481B2 (en) Apparatus, method, and program
JP2006085234A (en) Electronic document forming device, electronic document forming method, and electronic document forming program
JP5703244B2 (en) Trace support device, trace support system, trace support method, and trace support program
JP3897772B2 (en) File name creation device and file name creation program
JP5171220B2 (en) Recording system, recording method, and host device
JP4455235B2 (en) Image processing apparatus, image processing apparatus control method, and computer program
JP6304396B2 (en) Presentation support method, presentation support program, and presentation support apparatus
JP6457249B2 (en) Electronic document management apparatus, electronic document management system, and electronic document management program
JP7314627B2 (en) CONTROL DEVICE, IMAGE FORMING APPARATUS, CONTROL METHOD AND CONTROL PROGRAM
JP6034541B1 (en) Information display device, information display method, and information display program
JP2006228131A (en) Document data processor and document data processing method
KR102566934B1 (en) Electronic apparatus that performs parallel processing-based document format conversion and operating method thereof
JP2019148649A (en) Image processing apparatus, control method, and program
JP5298484B2 (en) Document processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150820

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160802

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160926

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: 20161025

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161107

R150 Certificate of patent or registration of utility model

Ref document number: 6039974

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150