JP2006071675A - Fingering information correction device and fingering information correction processing program - Google Patents

Fingering information correction device and fingering information correction processing program Download PDF

Info

Publication number
JP2006071675A
JP2006071675A JP2004251422A JP2004251422A JP2006071675A JP 2006071675 A JP2006071675 A JP 2006071675A JP 2004251422 A JP2004251422 A JP 2004251422A JP 2004251422 A JP2004251422 A JP 2004251422A JP 2006071675 A JP2006071675 A JP 2006071675A
Authority
JP
Japan
Prior art keywords
fingering
evaluation
evaluation value
sound
finger
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004251422A
Other languages
Japanese (ja)
Other versions
JP4543832B2 (en
JP2006071675A5 (en
Inventor
Junichiro Soejima
淳一郎 副島
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2004251422A priority Critical patent/JP4543832B2/en
Publication of JP2006071675A publication Critical patent/JP2006071675A/en
Publication of JP2006071675A5 publication Critical patent/JP2006071675A5/ja
Application granted granted Critical
Publication of JP4543832B2 publication Critical patent/JP4543832B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a fingering information correction device for correcting an inadequate fingering. <P>SOLUTION: Each time an evaluation object note of inadequate fingering is retrieved out of fingerings corresponding to each note constituting a tune and a new fingering from the thumb to the little finger is allocated to the evaluation object note, whether the fingering is inadequate or not is decided. When the fingering is inadequate, a first evaluation value is generated. When the fingering is not inadequate, a second evaluation value to be determined in accordance with the relationship between the evaluation object note and the next note is generated. Each time the first or the second evaluation value is generated, the evaluation value is updated into the value smaller than the preceding value and the minimum evaluation value is set as a fingering criterion, and the fingering meeting the fingering criterion is allocated to the evaluation object note. Since the fingering criterion is eased by reducing the first or the second evaluation value in accordance with the number of times of user's correction operations performed under musical correction conditions, inadequate fingerings can be corrected. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、鍵盤を備えた電子楽器に用いて好適な運指情報修正装置および運指情報修正処理プログラムに関する。   The present invention relates to a fingering information correction device and a fingering information correction processing program suitable for use in an electronic musical instrument having a keyboard.

演奏者に弾くべき鍵の位置および鍵操作の指使い(運指)を案内する運指情報を発生する装置が知られている。例えば特許文献1には、隣り合う2つの音に対して鍵盤を操作したときの指使いの容易さを表す2音運指データをそれぞれの指の組合わせに対応付けて記憶しておき、その内から曲データ(与えられたメロディの音列)に対応する2音運指データを読み出し、読み出した2音運指データの累算値を最適にする運指を決定して運指情報を発生させる装置が開示されている。   There is known an apparatus for generating fingering information for guiding the position of a key to be played to a performer and finger operation (fingering) for key operation. For example, in Patent Literature 1, two-finger fingering data representing ease of finger use when operating the keyboard for two adjacent sounds is stored in association with each combination of fingers. The two-finger fingering data corresponding to the song data (sound string of the given melody) is read from within, and the fingering information is generated by determining the fingering that optimizes the accumulated value of the read two-finger fingering data An apparatus is disclosed.

特許第2526954号明細書Japanese Patent No. 2526954

ところで、上記特許文献1に開示の技術に基づき曲データから運指情報を生成する際に、曲データの内容によっては、例えば手の幅以上離れた鍵を弾く等、不適切な運指(指使い)になり得ることもままあり、その様な場合には運指情報が生成されず、それを修正することができないという問題がある。
そこで本発明は、このような事情に鑑みてなされたもので、不適切な運指を修正することができる運指情報修正装置および運指情報修正処理プログラムを提供することを目的としている。
By the way, when generating fingering information from song data based on the technique disclosed in Patent Document 1, depending on the content of the song data, for example, improper fingering (finger There is a problem that fingering information is not generated and cannot be corrected in such a case.
Accordingly, the present invention has been made in view of such circumstances, and an object thereof is to provide a fingering information correction device and a fingering information correction processing program capable of correcting an inappropriate fingering.

上記目的を達成するため、請求項1に記載の発明では、曲を構成する各音に対応付けられた運指の内から不適切な運指の評価対象音を検索する検索手段と、前記検索手段により検索された評価対象音に親指から小指までの新たな運指を割り当てる割当て手段と、前記割当て手段が新たな運指を割り当てる毎に、その運指が不適切であるか否かを判定し、不適切な場合には第1の評価値を発生し、一方、不適切でない場合には評価対象音とその次の音との関係に応じて定まる第2の評価値を発生する評価手段と、前記評価手段が第1又は第2の評価値を発生する毎に、前回より値の小さい評価値に更新して最小の評価値を運指判定基準に設定し、その運指判定基準に合致した運指を評価対象音に割当てる運指割当手段と、音楽的な補正条件に従って行われるユーザ修正操作の回数に応じて、前記評価手段が発生する第1又は第2の評価値を低減させて前記運指割当手段が設定する運指判定基準を緩和する基準緩和手段とを具備することを特徴とする。   In order to achieve the above object, according to the first aspect of the present invention, there is provided a search means for searching for an evaluation target sound of an inappropriate fingering from among the fingerings associated with each sound constituting the song, and the search An assigning means for assigning a new finger from the thumb to the little finger to the evaluation target sound retrieved by the means, and each time the assigning means assigns a new finger, it is determined whether the fingering is inappropriate In the case of inappropriateness, the first evaluation value is generated. On the other hand, in the case of inappropriateness, the evaluation means for generating the second evaluation value determined according to the relationship between the evaluation target sound and the next sound. Each time the evaluation means generates the first or second evaluation value, the evaluation value is updated to a smaller evaluation value than the previous time, and the minimum evaluation value is set as the fingering determination criterion. According to the fingering assignment means to assign the matched fingering to the evaluation target sound and the musical correction condition Reference relaxation means for reducing the first or second evaluation value generated by the evaluation means and relaxing the fingering determination reference set by the fingering assignment means in accordance with the number of user correction operations performed It is characterized by comprising.

請求項2に記載の発明では、曲を構成する各音に対応付けられた運指の内、不適切な運指の評価対象音の前後で音の高低が入れ替われる区間を評価範囲に設定する範囲設定手段と、前記範囲設定手段により設定された評価範囲の内から前記評価対象音を検索する検索手段と、前記検索手段により検索された評価対象音に親指から小指までの新たな運指を割り当てる割当て手段と、前記割当て手段が新たな運指を割り当てる毎に、その運指が不適切であるか否かを判定し、不適切な場合には第1の評価値を発生し、一方、不適切でない場合には評価対象音とその次の音との関係に応じて定まる第2の評価値を発生する評価手段と、前記評価手段が第1又は第2の評価値を発生する毎に、前回より値の小さい評価値に更新して最小の評価値を運指判定基準に設定し、その運指判定基準に合致した運指を評価対象音に割当てる運指割当手段と、音楽的な補正条件に従って行われるユーザ修正操作の回数に応じて、前記評価手段が発生する第1又は第2の評価値を低減させて前記運指割当手段が設定する運指判定基準を緩和する基準緩和手段とを具備することを特徴とする。   According to the second aspect of the present invention, among the fingerings associated with each sound constituting the music, an interval in which the pitch of the sound is switched before and after the inappropriate fingering evaluation target sound is set as the evaluation range. A range setting unit, a search unit for searching for the evaluation target sound from the evaluation range set by the range setting unit, and a new fingering from the thumb to the little finger for the evaluation target sound searched by the search unit. Assigning means, and each time the assigning means assigns a new fingering, it is determined whether the fingering is inappropriate, if not, a first evaluation value is generated, When it is not inappropriate, the evaluation means for generating the second evaluation value determined according to the relationship between the evaluation target sound and the next sound, and each time the evaluation means generates the first or second evaluation value , Update to an evaluation value that is smaller than the previous value and move the minimum evaluation value The evaluation means is generated in accordance with the fingering assignment means for assigning the fingering that matches the fingering judgment criteria to the evaluation target sound, and the number of user correction operations performed according to musical correction conditions. And a reference relaxation means for reducing the first or second evaluation value to relax the fingering determination standard set by the fingering assignment means.

請求項3に記載の発明では、曲を構成する各音に対応付けられた運指の内から不適切な運指の評価対象音を検索する検索処理と、前記検索処理にて検索された評価対象音に親指から小指までの新たな運指を割り当てる割当て処理と、前記割当て処理が新たな運指を割り当てる毎に、その運指が不適切であるか否かを判定し、不適切な場合には第1の評価値を発生し、一方、不適切でない場合には評価対象音とその次の音との関係に応じて定まる第2の評価値を発生する評価処理と、前記評価処理が第1又は第2の評価値を発生する毎に、前回より値の小さい評価値に更新して最小の評価値を運指判定基準に設定し、その運指判定基準に合致した運指を評価対象音に割当てる運指割当処理と、音楽的な補正条件に従って行われるユーザ修正操作の回数に応じて、前記評価処理にて生成される第1又は第2の評価値を低減させて前記運指割当処理にて設定される運指判定基準を緩和する基準緩和処理とをコンピュータで実行させることを特徴とする。   In the invention according to claim 3, a search process for searching for an inappropriate fingering evaluation target sound from among the fingerings associated with each sound constituting the music, and the evaluation searched in the search process An assignment process for assigning a new finger from the thumb to the little finger to the target sound, and each time the assignment process assigns a new finger, it is determined whether or not the finger is inappropriate. Generating a first evaluation value, and if not appropriate, an evaluation process for generating a second evaluation value determined according to the relationship between the evaluation target sound and the next sound, and the evaluation process Each time the first or second evaluation value is generated, the evaluation value is updated to a smaller evaluation value than the previous value, and the minimum evaluation value is set as the fingering determination criterion, and the fingering that matches the fingering determination criterion is evaluated. Fingering assignment processing assigned to the target sound and user correction operation performed according to musical correction conditions Depending on the number of times, the computer executes a standard relaxation process that reduces the first or second evaluation value generated in the evaluation process and relaxes the fingering determination criterion set in the fingering assignment process It is characterized by making it.

請求項4に記載の発明では、曲を構成する各音に対応付けられた運指の内、不適切な運指の評価対象音の前後で音の高低が入れ替われる区間を評価範囲に設定する範囲設定処理と、前記範囲設定処理にて設定された評価範囲の内から前記評価対象音を検索する検索処理と、前記検索処理にて検索された評価対象音に親指から小指までの新たな運指を割り当てる割当て処理と、前記割当て処理が新たな運指を割り当てる毎に、その運指が不適切であるか否かを判定し、不適切な場合には第1の評価値を発生し、一方、不適切でない場合には評価対象音とその次の音との関係に応じて定まる第2の評価値を発生する評価処理と、前記評価処理が第1又は第2の評価値を発生する毎に、前回より値の小さい評価値に更新して最小の評価値を運指判定基準に設定し、その運指判定基準に合致した運指を評価対象音に割当てる運指割当処理と、音楽的な補正条件に従って行われるユーザ修正操作の回数に応じて、前記評価処理にて生成される第1又は第2の評価値を低減させて前記運指割当処理にて設定される運指判定基準を緩和する基準緩和処理とをコンピュータで実行させることを特徴とする。   In the invention according to claim 4, a section in which the pitch of sound is switched before and after the evaluation target sound of inappropriate fingering among the fingerings associated with each sound constituting the music is set as the evaluation range. A range setting process; a search process for searching for the evaluation target sound from the evaluation range set in the range setting process; and a new operation from the thumb to the little finger for the evaluation target sound searched for in the search process. An assignment process for assigning a finger, and each time the assignment process assigns a new finger, it is determined whether or not the finger is inappropriate, and if it is inappropriate, a first evaluation value is generated, On the other hand, if it is not inappropriate, an evaluation process for generating a second evaluation value determined according to the relationship between the evaluation target sound and the next sound, and the evaluation process generates a first or second evaluation value. Every time, the evaluation value is updated to a smaller evaluation value than the previous time, and the smallest evaluation value is determined as a finger Generated by the evaluation process according to the number of fingering assignment processes for assigning fingerings that match the fingering judgment criteria to the evaluation target sound and the number of user correction operations performed according to musical correction conditions. The computer executes a reference relaxation process for reducing the first or second evaluation value to relax the fingering determination criterion set in the fingering assignment process.

請求項1、3に記載の発明によれば、曲を構成する各音に対応付けられた運指の内から不適切な運指の評価対象音を検索すると、その評価対象音に親指から小指までの新たな運指を割り当てる毎に、その運指が不適切であるか否かを判定し、不適切な場合には第1の評価値を発生し、一方、不適切でない場合には評価対象音とその次の音との関係に応じて定まる第2の評価値を発生する。そして、第1又は第2の評価値を発生する毎に、前回より値の小さい評価値に更新して最小の評価値を運指判定基準に設定し、その運指判定基準に合致した運指を評価対象音に割当てるようにするが、音楽的な補正条件に従って行われるユーザ修正操作の回数に応じて、第1又は第2の評価値を低減させて運指判定基準を緩和するので、不適切な運指を修正することができる。   According to the first and third aspects of the present invention, when an inappropriate fingering evaluation target sound is searched from among the fingerings associated with each sound constituting the song, the thumb to pinky is selected as the evaluation target sound. Each time a new fingering is assigned, it is determined whether or not the fingering is inappropriate. If the fingering is inappropriate, the first evaluation value is generated. A second evaluation value determined according to the relationship between the target sound and the next sound is generated. Each time the first or second evaluation value is generated, the evaluation value is updated to a smaller evaluation value than the previous time, and the minimum evaluation value is set as the fingering determination criterion, and the fingering that matches the fingering determination criterion is set. Is assigned to the evaluation target sound, but the first or second evaluation value is reduced according to the number of user correction operations performed according to the musical correction condition, and the fingering determination criterion is relaxed. Appropriate fingering can be modified.

請求項2、4に記載の発明によれば、曲を構成する各音に対応付けられた運指の内、不適切な運指の評価対象音の前後で音の高低が入れ替われる区間を評価範囲に設定すると、その評価範囲の内から評価対象音が検索され、検索された評価対象音に親指から小指までの新たな運指を割り当てる毎に、その運指が不適切であるか否かを判定し、不適切な場合には第1の評価値を発生し、一方、不適切でない場合には評価対象音とその次の音との関係に応じて定まる第2の評価値を発生する。そして、第1又は第2の評価値を発生する毎に、前回より値の小さい評価値に更新して最小の評価値を運指判定基準に設定し、その運指判定基準に合致した運指を評価対象音に割当てるようにするが、音楽的な補正条件に従って行われるユーザ修正操作の回数に応じて、第1又は第2の評価値を低減させて運指判定基準を緩和するので、不適切な運指を、音楽的により自然な運指に修正することができる。   According to the second and fourth aspects of the present invention, among the fingerings associated with each sound constituting the music, an interval in which the pitch of the sound is interchanged before and after the inappropriate fingering evaluation target sound is evaluated. If set to a range, the evaluation target sound is searched from within the evaluation range, and whether or not the fingering is inappropriate each time a new fingering from the thumb to the little finger is assigned to the searched evaluation target sound If not appropriate, a first evaluation value is generated. On the other hand, if not appropriate, a second evaluation value determined according to the relationship between the evaluation target sound and the next sound is generated. . Each time the first or second evaluation value is generated, the evaluation value is updated to a smaller evaluation value than the previous time, and the minimum evaluation value is set as the fingering determination criterion, and the fingering that matches the fingering determination criterion is set. Is assigned to the evaluation target sound, but the first or second evaluation value is reduced according to the number of user correction operations performed according to the musical correction condition, and the fingering determination criterion is relaxed. Appropriate fingering can be modified to musically more natural fingering.

以下、図面を参照して本発明の実施形態について説明する。
A.第1実施形態
(1)構成
図1は、第1実施形態による運指情報修正装置の全体構成を示すブロック図である。運指情報修正装置は、データ入力部1、表示部2、データ指定部3、CPU4、ROM5およびRAM6を備える。データ入力部1は、図示されていない運指情報発生装置において生成された楽曲データを取り込み、RAM6に格納する。楽曲データとは、図2に図示するように、MIDIデータ形式で構成され、曲を構成する各音を表す曲データと各音毎の運指データとを備える。曲データは、曲を構成する各音に対応したイベントMidiEvent毎の発音開始時間、発音時間およびピッチを表す。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
A. First embodiment
(1) Configuration
FIG. 1 is a block diagram showing the overall configuration of the fingering information correction apparatus according to the first embodiment. The fingering information correction device includes a data input unit 1, a display unit 2, a data designation unit 3, a CPU 4, a ROM 5 and a RAM 6. The data input unit 1 takes in music data generated by a fingering information generation device (not shown) and stores it in the RAM 6. As shown in FIG. 2, the music data is configured in the MIDI data format, and includes music data representing each sound constituting the music and fingering data for each sound. The song data represents the sound generation start time, sound generation time, and pitch for each event MidiEvent corresponding to each sound constituting the music.

一方、運指データは、曲データで表される音に対応した、鍵盤座標iPosx、運指cfig、評価値iCostおよび禁止条件iNPを有する。鍵盤座標iPosxは、曲データ中のピッチに対応する鍵盤位置を表す。運指cfigは、鍵操作する指(「0:親指」、「1:人差し指」、「2:中指」、「3:薬指」、「4:小指」)を指定する。評価値iCostは、運指cfigの評価値を表す。禁止条件iNPは、禁止条件(「黒鍵の運指に親指や小指を割り当てない」、「和音時の運指逆転」および「運指可能幅を超えない」)に該当するかどうかを表す。禁止条件に該当しない場合、禁止条件iNPは「0」となる。   On the other hand, the fingering data has keyboard coordinates iPosx, fingering cfig, evaluation value iCost, and prohibition condition iNP corresponding to the sound represented by the music data. The keyboard coordinate iPosx represents the keyboard position corresponding to the pitch in the music data. The fingering cfig designates a finger (“0: thumb”, “1: index finger”, “2: middle finger”, “3: ring finger”, “4: little finger”) to be operated by the key. The evaluation value iCost represents the evaluation value of the fingering cfig. The prohibition condition iNP indicates whether or not the prohibition condition (“no thumb or little finger is assigned to the fingering of the black key”, “fingering reversal at the time of chord” and “the fingering width is not exceeded”). When the prohibition condition is not met, the prohibition condition iNP is “0”.

表示部2は、CPU4の制御の下に、例えば上述した曲データおよび運指データからなる楽曲データを画面表示する。データ指定部3は、マウスあるいはキーボード等の入力デバイスを備え、表示部2に画面表示された楽曲データ中の任意をデータを指定し、その値の修正指示を発生する。CPU4は、装置各部を制御するものであり、本発明の要旨に関わる処理動作については追って詳述する。ROM5は、上記CPU4にロードされる各種制御プログラムやテーブル等を記憶する。ここで言う各種制御プログラムとは、後述するメインルーチン、修正処理、評価処理、禁止条件判定処理およびコスト補正処理を含む。   Under the control of the CPU 4, the display unit 2 displays, for example, music data including the music data and fingering data described above on the screen. The data designation unit 3 includes an input device such as a mouse or a keyboard, designates arbitrary data in the music data displayed on the screen of the display unit 2, and generates an instruction to correct the value. The CPU 4 controls each part of the apparatus, and processing operations related to the gist of the present invention will be described in detail later. The ROM 5 stores various control programs and tables that are loaded into the CPU 4. The various control programs referred to here include a main routine, correction processing, evaluation processing, prohibition condition determination processing, and cost correction processing described later.

また、ROM5には、コストテーブルcCostTwoFingerが設けられる。コストテーブルcCostTwoFingerとは、隣り合う2音、つまり現在評価対象としている音と次の音とを勘案して、現在評価対象としている音の運指の容易さを表す評価値を読み出すテーブルである。具体的には、黒鍵/白鍵の別を表すiBW、次の音が現在評価対象としている音の高音側か低音側かを表すiPM、現在評価対象としている音にアサインされる運指cfigを表すiFt、次の音にアサインされる運指cfigを表すiTt、現在評価対象としている音の鍵盤位置と次の音の鍵盤位置との離間距離iIntに応じた評価値が登録される。   The ROM 5 is provided with a cost table cCostTwoFinger. The cost table cCostTwoFinger is a table that reads an evaluation value that represents the ease of fingering of the sound that is currently being evaluated in consideration of two adjacent sounds, that is, the sound that is currently being evaluated and the next sound. Specifically, iBW indicating whether the black key / white key is different, iPM indicating whether the next sound is the high-frequency side or the low-frequency side of the current evaluation target sound, and the fingering c fig assigned to the current evaluation target sound , ITt representing the fingering cfig assigned to the next sound, and an evaluation value corresponding to the separation distance iInt between the keyboard position of the currently evaluated sound and the keyboard position of the next sound are registered.

RAM6は、データエリアおよびワークエリアを備える。RAM6のデータエリアには、データ入力部1を介して取り込んだ楽曲データがストアされる。RAM6のワークエリアには、CPU4が実行するメインルーチン、修正処理、評価処理、禁止条件判定処理およびコスト補正処理において用いられる各種レジスタ・フラグデータが一時記憶される。後述するコスト補正処理では、RAM6のデータエリアに格納される楽曲データにおいて、禁止条件に合致した運指データの評価値iCostをユーザ操作に応じて修正するようになっている。   The RAM 6 includes a data area and a work area. In the data area of the RAM 6, music data taken in via the data input unit 1 is stored. In the work area of the RAM 6, various register / flag data used in the main routine, correction process, evaluation process, prohibition condition determination process and cost correction process executed by the CPU 4 are temporarily stored. In the cost correction process described later, in the music data stored in the data area of the RAM 6, the evaluation value iCost of the fingering data that matches the prohibition condition is corrected according to the user operation.

(2)動作
次に、図3〜図7を参照して第1実施形態の動作について説明する。以下では、最初にCPU4が実行するメインルーチンの動作を説明し、続いて修正処理、評価処理、禁止条件判定処理およびコスト補正処理の各動作について順次説明する。なお、以下の動作説明では、図2に図示した楽曲データがデータ入力部1を介してRAM6のデータエリアに格納されていることを前提とする。
(2) Operation Next, the operation of the first embodiment will be described with reference to FIGS. Below, the operation | movement of the main routine which CPU4 performs first is demonstrated, and each operation | movement of a correction process, an evaluation process, a prohibition condition determination process, and a cost correction process is demonstrated sequentially. In the following description of the operation, it is assumed that the music data illustrated in FIG. 2 is stored in the data area of the RAM 6 via the data input unit 1.

<メインルーチンの動作>
装置電源の投入に応じて、CPU4は図3に示すメインルーチンを実行してステップSA1に処理を進め、RAM6に格納される各種レジスタやフラグ類をリセットしたり初期値をセットする初期化処理を行う。次いで、ステップSA2では、RAM6のデータエリアに格納される楽曲データの内、最初の音を指定するポインタをレジスタmeにストアする。次いで、ステップSA3では、レジスタmeのポインタが曲終端を表す「END」に達したか、すなわち曲を構成する全ての音について適切な運指であるか否かの適正判定を終えたかどうかを判断する。全ての音について適正判定を終えていなければ、判断結果は「NO」になり、ステップSA4に進む。
<Main routine operation>
In response to the power-on of the apparatus, the CPU 4 executes the main routine shown in FIG. 3 and proceeds to step SA1 to perform initialization processing for resetting various registers and flags stored in the RAM 6 and setting initial values. Do. Next, in step SA2, a pointer for designating the first sound among the music data stored in the data area of the RAM 6 is stored in the register me. Next, in step SA3, it is determined whether the pointer of the register me has reached “END” indicating the end of the song, that is, whether or not the proper determination as to whether or not all the sounds constituting the song are appropriate fingering has been completed. To do. If the appropriateness determination has not been completed for all the sounds, the determination result is “NO”, and the process proceeds to Step SA4.

ステップSA4では、me[iNP]が「0」でないか否か、すなわちレジスタmeのポインタで指定される音の運指データ中の禁止条件iNPが、禁止条件に該当していないかどうかを判断する。禁止条件に該当した場合には、判断結果が「YES」となり、ステップSA5を介して修正処理を実行する。修正処理では、後述するように、禁止条件に該当した不適切な指使いの運指データを再評価し、適切な運指に修正した後、ステップSA6に進む。
一方、禁止条件に該当していなければ、判断結果は「NO」になり、ステップSA6に進み、次の音を指定するポインタme[next]をレジスタmeにストアして上述のステップSA3に処理を戻す。
In step SA4, it is determined whether or not me [iNP] is not “0”, that is, whether or not the prohibition condition iNP in the fingering data of the sound designated by the pointer of the register me does not correspond to the prohibition condition. . If the prohibition condition is met, the determination result is “YES”, and the correction process is executed via step SA5. In the correction process, as will be described later, the fingering data of the inappropriate finger usage corresponding to the prohibition condition is reevaluated and corrected to an appropriate fingering, and then the process proceeds to step SA6.
On the other hand, if the prohibition condition is not met, the determination result is “NO”, the process proceeds to step SA6, the pointer me [next] designating the next sound is stored in the register me, and the process proceeds to step SA3. return.

以後、曲を構成する全ての音について適正判定を終えるまでステップSA3〜SA6を繰り返し、全ての音について適正判定を終えると、ステップSA3の判断結果が「YES」となり、本処理を完了させる。
このように、メインルーチンでは、RAM6のデータエリアに格納される楽曲データの内から禁止条件に該当した不適切な運指データを有する音を検索し、該当する音の運指データを再評価して修正するようになっている。
Thereafter, steps SA3 to SA6 are repeated until the appropriateness determination is completed for all the sounds constituting the music. When the appropriateness determination is completed for all the sounds, the determination result in step SA3 is “YES”, and this processing is completed.
As described above, in the main routine, the music data stored in the data area of the RAM 6 is searched for a sound having inappropriate fingering data corresponding to the prohibition condition, and the fingering data of the corresponding sound is re-evaluated. To correct it.

<修正処理の動作>
次に、図4を参照して修正処理の動作を説明する。上述したメインルーチンのステップSA5(図3参照)を介して本処理が実行されると、CPU4は図4に図示するステップSB1に処理を進め、レジスタiRCostに評価判定値を、レジスタcfigBestに初期値「−1」をセットする。さらに、ステップSB2では、修正回数をカウントするカウンタiOptをゼロリセットする。次いで、ステップSB3では、カウンタiOptの値が規定値OPT_MAXより小さいか否か、つまり規定の修正回数を行ったかどうかを判断する。規定の修正回数が行われると、判断結果は「NO」になり、本処理を完了させるが、規定の修正回数を行っていなければ、判断結果が「YES」になり、ステップSB4に進む。
<Operation of correction processing>
Next, the operation of the correction process will be described with reference to FIG. When this process is executed through step SA5 (see FIG. 3) of the main routine described above, the CPU 4 advances the process to step SB1 shown in FIG. 4, and sets the evaluation determination value in the register iRCost and the initial value in the register cfigBest. Set “−1”. In step SB2, the counter iOpt that counts the number of corrections is reset to zero. Next, in step SB3, it is determined whether or not the value of the counter iOpt is smaller than the specified value OPT_MAX, that is, whether or not the specified number of corrections has been performed. If the specified number of corrections is performed, the determination result is “NO”, and this process is completed. If the specified number of corrections is not performed, the determination result is “YES” and the process proceeds to step SB4.

ステップSB4では、レジスタifigに「0」をセットする。レジスタifigには、後述するように、親指から小指までの運指を再評価させるためのインデックス値「0:親指」、「1:人差し指」、「2:中指」、「3:薬指」および「4:小指」がセットされる。続いて、ステップSB5では、レジスタifigの値が「5」より小さいか否か、すなわち親指から小指までの運指を再評価し終えたかどうかを判断する。運指を再評価し終えた場合には、判断結果が「NO」となり、後述するステップSB10に処理を進めるが、親指から小指までの運指を再評価し終えていなければ、判断結果は「YES」になり、ステップSB6を介して評価処理(後述する)を実行する。   In step SB4, "0" is set in the register ifig. In the register ifig, as will be described later, index values “0: thumb”, “1: index finger”, “2: middle finger”, “3: ring finger”, and “3” are used to reevaluate fingering from the thumb to the little finger. 4: Little finger "is set. Subsequently, in step SB5, it is determined whether or not the value of the register ifig is smaller than “5”, that is, whether or not the fingering from the thumb to the little finger has been reevaluated. When re-evaluation of fingering is completed, the determination result is “NO”, and the process proceeds to step SB10 described later. If re-evaluation of fingering from the thumb to the little finger has not been re-evaluated, the determination result is “ "YES", and an evaluation process (described later) is executed via step SB6.

そして、ステップSB7では、上記ステップSB6において再評価された音の禁止条件iNP(me[iNP])が「0(禁止条件に該当せず)」であって、しかも再評価値(レジスタiCostの値)がレジスタiRCostに格納される評価判定値より小さい場合、つまり弾きやすい運指に更新されたか否かを判断する。そして、上記判定条件に合致しなければ、判断結果は「NO」になり、ステップSB9に進む。ステップSB9では、次の指について運指を再評価すべくレジスタifigのインデックス値を歩進させて上述のステップSB5に処理を戻す。   In step SB7, the sound prohibition condition iNP (me [iNP]) re-evaluated in step SB6 is “0 (does not correspond to the prohibition condition)” and the re-evaluation value (the value of the register iCost). ) Is smaller than the evaluation determination value stored in the register iRCost, that is, it is determined whether or not the fingering has been updated to be easy to play. If the determination condition is not met, the determination result is “NO”, and the flow proceeds to step SB9. In step SB9, the index value of register ifig is incremented to re-evaluate the fingering for the next finger, and the process returns to step SB5 described above.

これに対し、上記判定条件に合致すると、ステップSB7の判断結果が「YES」になり、ステップSB8に進み、レジスタme[ifig]に格納される再評価された音の運指(指番号)をレジスタcfigBestにストアすると共に、レジスタiCostの再評価値を、レジスタiRCostにストアして評価判定値を更新した後、ステップSB9に進む。   On the other hand, if the determination condition is met, the determination result in step SB7 is “YES”, the process proceeds to step SB8, and the fingering (finger number) of the reevaluated sound stored in the register me [ifig] is displayed. In addition to storing in the register cfigBest, the re-evaluation value of the register iCost is stored in the register iRCost to update the evaluation determination value, and then the process proceeds to Step SB9.

このように、ステップSB4〜SB9では、禁止条件に該当した音の運指me[cfig]を再評価すべく、その運指me[cfig]をレジスタifigのインデックス値に替えて親指から小指まで変化させながらステップSB6において再評価を行い、その結果、禁止条件に該当せず、かつ最も評価判定値が小さく弾きやすい運指(指番号)になった場合に、その運指をレジスタcfigBestにストアするようになっている。   As described above, in steps SB4 to SB9, in order to re-evaluate the fingering me [cfig] of the sound corresponding to the prohibition condition, the fingering me [cfig] is changed from the thumb to the little finger in place of the index value of the register ifig. In step SB6, re-evaluation is performed. As a result, when the fingering (finger number) that does not correspond to the prohibition condition and has the smallest evaluation determination value and is easy to play is stored, the fingering is stored in the register cfgfast. It is like that.

そして、親指から小指までの再評価を終えると、ステップSB5の判断結果が「NO」になり、ステップSB10に進み、レジスタcfigBestの値が初期値「−1」のままであるかどうかを判断する。レジスタcfigBestの値が初期値「−1」のままであると、判断結果は「NO」になり、ステップSB12に進み、修正回数をカウントするカウンタiOptをインクリメントして歩進させた後、上述のステップSB3に処理を戻す。以後、カウンタiOptの修正回数が規定値OPT_MAXを超えるまで前述のステップSB3〜SB10を繰り返す。   When the re-evaluation from the thumb to the little finger is completed, the determination result in step SB5 is “NO”, and the process proceeds to step SB10 to determine whether or not the value of the register cfgbest remains the initial value “−1”. . If the value of the register cfigBest remains the initial value “−1”, the determination result is “NO”, the process proceeds to step SB12, and after incrementing the counter iOpt that counts the number of corrections, the above-described step is performed. The process returns to step SB3. Thereafter, the above steps SB3 to SB10 are repeated until the number of corrections of the counter iOpt exceeds the specified value OPT_MAX.

カウンタiOptの修正回数が規定値OPT_MAXを超えるまでステップSB3〜SB10を繰り返す過程で、禁止条件に該当せず、かつ最も評価判定値が小さく弾きやすい運指(指番号)がレジスタcfigBestにストアされると、ステップSB10の判断結果が「YES」になり、ステップSB11に進み、レジスタcfigBestの再評価された運指(指番号)を、対応する音の運指データme[cfig]に登録して本処理を終える。   In the process of repeating steps SB3 to SB10 until the number of corrections of the counter iOpt exceeds the specified value OPT_MAX, the fingering (finger number) that does not satisfy the prohibition condition and has the smallest evaluation determination value and is easy to play is stored in the register cfigBest. The determination result in step SB10 is “YES”, and the process proceeds to step SB11, where the re-evaluated fingering (finger number) of the register cfigBest is registered in the fingering data me [cfig] of the corresponding sound. Finish the process.

<評価処理の動作>
次に、図5〜図7を参照して評価処理の動作を説明する。上述した修正処理のステップSB6(図4参照)を介して本処理が実行されると、CPU4は図5に図示するステップSC1に処理を進め、レジスタiCostに初期値「−1」をセットする。続いて、ステップSC2では、レジスタme[ifig]に格納される再評価対象音の運指(指番号)をレジスタiFtに、レジスタme[iPosx]に格納される再評価対象音の鍵盤座標をレジスタiFpに、レジスタme[iPosx]の2の剰余値、つまり再評価対象音が黒鍵/白鍵のいずれであるかを識別する値(0:白鍵/1:黒鍵)をレジスタiBWにそれぞれストアする。次いで、ステップSC3では、再評価対象音の次の音me[next]を指定するポインタをレジスタmenにストアする。
<Operation of evaluation process>
Next, the operation of the evaluation process will be described with reference to FIGS. When this processing is executed through the above-described correction processing step SB6 (see FIG. 4), the CPU 4 proceeds to step SC1 shown in FIG. 5 and sets an initial value “−1” in the register iCost. Subsequently, in step SC2, the fingering (finger number) of the reevaluation target sound stored in the register me [ifig] is registered in the register iFt, and the keyboard coordinates of the reevaluation target sound stored in the register me [iPosx] are registered. In iFp, a remainder value of 2 in the register me [iPosx], that is, a value (0: white key / 1: black key) for identifying whether the reevaluation target sound is a black key / white key is stored in the register iBW. Store. Next, in step SC3, a pointer designating the next sound me [next] of the re-evaluation target sound is stored in the register men.

ステップSC4では、レジスタmenにストアされたポインタにて指定される次の音の運指men[cfig]をレジスタiTfに、次の音の鍵盤座標men[iPosx]をレジスタiTpにそれぞれストアする。次いで、ステップSC5では、レジスタiFpに格納された再評価対象音の鍵盤座標と、レジスタiTpに格納された次の音の鍵盤座標とを大小比較し、iFp<iTpなら「0」を、iFp≦iTpなら「1」をレジスタiPMにストアする。つまり次の音が再評価対象音より高音側なら「0」、それ以外なら「1」となる値をレジスタiPMにストアする。
また、ステップSC5では、再評価対象音の鍵盤座標と次の音の鍵盤座標から両鍵の離間距離(iTp−iFp又はiFp−iTp)をレジスタiIntにストアする。そして、ステップSC6では、上記ステップSC2〜SC5において得たレジスタiBW、iPM、iFt、iTt、iIntの値に従い、ROM5に格納されるコストテーブルcCostTwoFingerから再評価対象音にアサインした運指の容易さを表す評価値を読み出す。
In step SC4, the fingering men [cfig] of the next sound specified by the pointer stored in the register men is stored in the register iTf, and the keyboard coordinates men [iPosx] of the next sound are stored in the register iTp. Next, in step SC5, the keyboard coordinates of the reevaluation target sound stored in the register iFp and the keyboard coordinates of the next sound stored in the register iTp are compared in magnitude, and if iFp <iTp, “0” is set, iFp ≦ If iTp, “1” is stored in the register iPM. That is, a value of “0” is stored in the register iPM if the next sound is higher than the re-evaluation target sound, and “1” is stored otherwise.
In step SC5, the distance (iTp-iFp or iFp-iTp) between both keys is stored in the register iInt from the keyboard coordinates of the reevaluation target sound and the keyboard coordinates of the next sound. In step SC6, according to the values of the registers iBW, iPM, iFt, iTt, iInt obtained in steps SC2 to SC5, the ease of fingering assigned to the re-evaluation target sound from the cost table cCostTwoFinger stored in the ROM 5 is determined. Read the evaluation value that represents it.

次いで、ステップSC7を介して図6に図示する禁止条件判定処理を実行し、ステップSD1に処理を進める。ステップSD1では、再評価対象音が「禁止条件1:黒鍵の運指に親指や小指を割り当てない」、「禁止条件2:和音時の運指逆転」および「禁止条件3:運指可能幅を超えない」のいずれかに合致するか否かを判断する。禁止条件1〜3に合致しない場合には、判断結果が「NO」となり、本処理を完了させるが、禁止条件1〜3のいずれかに合致する場合には、再評価対象音の禁止条件me[iNP]に「0」をセットして禁止条件に該当しない旨を表すと共に、再評価対象音の評価値me[iCost]として、禁止コストNOT_PERMIT−1−iOptを設定する。つまり、ステップSD2では、禁止条件を解き、最も弾き難いことを表す禁止コストNOT_PERMITから修正回数iOpt+1を減算した値の再評価値を設定する。   Next, the prohibition condition determination process shown in FIG. 6 is executed via step SC7, and the process proceeds to step SD1. In step SD1, the re-evaluation target sounds are “prohibited condition 1: do not assign thumb or little finger to the fingering of the black key”, “prohibited condition 2: reverse fingering during chord” and “prohibited condition 3: fingering possible width” It is determined whether or not it matches any of the following. When the prohibition conditions 1 to 3 are not met, the determination result is “NO”, and this processing is completed. However, when any of the prohibition conditions 1 to 3 is satisfied, the prohibition condition me of the re-evaluation target sound “0” is set to [iNP] to indicate that the prohibition condition is not satisfied, and prohibition cost NOT_PERMIT-1-iOpt is set as the evaluation value me [iCost] of the reevaluation target sound. That is, in step SD2, the prohibition condition is solved, and a re-evaluation value is set by subtracting the number of corrections iOpt + 1 from the prohibition cost NOT_PERMIT indicating that it is most difficult to play.

続いて、ステップSC8を介して図7に図示する評価補正処理を実行し、ステップSE1に処理を進める。ステップSE1では、再評価対象音と次の音との2音間の運指に係わる評価値を、その実行時間や他の音列との繋がり(和音押鍵時)を勘案してユーザが修正操作する。例えば、再評価対象音のイベントタイミングと次の音のイベントタイミングとの差(絶対時間差)が短ければ難しい運指であるとして、再評価対象音の評価値me[iCost]を高めたり、絶対時間差が長ければ易しい運指であるとして再評価対象音の評価値me[iCost]を下げる修正操作を行う。この他、修正操作される項目として、指の交差加算や指越え・指返し評価加算、和音押鍵時の指越え・指潜り、押鍵幅の調整などがあり、これら各修正項目について再評価対象音の評価値me[iCost]を修正する。   Subsequently, the evaluation correction process shown in FIG. 7 is executed via step SC8, and the process proceeds to step SE1. In step SE1, the evaluation value related to fingering between the two re-evaluation target sounds and the next sound is corrected by the user in consideration of the execution time and the connection with other sound strings (when chords are pressed). Manipulate. For example, if the difference between the event timing of the reevaluation target sound and the event timing of the next sound (absolute time difference) is short, it is difficult to perform fingering, and the evaluation value me [iCost] of the reevaluation target sound is increased or the absolute time difference If it is long, it is assumed that the fingering is easy, and a correction operation is performed to lower the evaluation value me [iCost] of the reevaluation target sound. Other correction items include finger cross addition, finger crossing / finger return evaluation addition, finger crossing / finger dive when chords are pressed, and adjustment of key press width. The evaluation value me [iCost] of the target sound is corrected.

そして、ユーザ修正操作が完了すると、ステップSE2に進み、再評価対象音の評価値me[iCost]が最も弾き難いことを表す禁止コストNOT_PERMITより大きいか否かを判断する。再評価対象音の評価値me[iCost]が禁止コストNOT_PERMITより小さければ、判断結果は「NO」になり、本処理を完了させるが、再評価対象音の評価値me[iCost]が禁止コストNOT_PERMITより大きいと、判断結果は「YES」になり、ステップSE3に進み、再評価対象音の評価値me[iCost]を修正回数iOpt分減算する。   When the user correction operation is completed, the process proceeds to step SE2, and it is determined whether or not the evaluation value me [iCost] of the reevaluation target sound is larger than the prohibition cost NOT_PERMIT indicating that it is hard to play. If the evaluation value me [iCost] of the re-evaluation target sound is smaller than the prohibition cost NOT_PERMIT, the determination result is “NO”, and this processing is completed, but the evaluation value me [iCost] of the re-evaluation target sound is the prohibition cost NOT_PERMIT. If it is larger, the determination result is “YES”, the process proceeds to step SE3, and the evaluation value me [iCost] of the re-evaluation target sound is subtracted by the correction count iOpt.

こうして、再評価対象音の評価値me[iCost]が補正されると、CPU4は図5に図示するステップSC9に処理を進め、再評価対象音の禁止条件me[iNP]が「0」でないか否か、つまり禁止条件に該当していないかどうかを判断する。禁止条件に該当していなければ、判断結果は「NO」となり、ステップSC10に進み、レジスタiCostの値が「0」以上であれば、そのレジスタiCostの値を、再評価対象音の評価値me[iCost]として運指データに登録する。レジスタiCostの値が負の場合には、所定値を再評価対象音の評価値me[iCost]として運指データに登録する。一方、禁止条件に該当した場合には、上記ステップSC9の判断結果が「YES」となり、ステップSC11に進み、再評価対象音の評価値me[iCost]として禁止コストNOT_PERMITを運指データに登録する。   When the evaluation value me [iCost] of the re-evaluation target sound is corrected in this way, the CPU 4 advances the process to step SC9 shown in FIG. 5, and whether the re-evaluation target sound prohibition condition me [iNP] is not “0”. No, that is, whether the prohibited condition is not met. If the prohibition condition is not satisfied, the determination result is “NO”, and the process proceeds to step SC10. If the value of the register iCost is “0” or more, the value of the register iCost is set to the evaluation value me of the reevaluation target sound. Register as fingering data as [iCost]. When the value of the register iCost is negative, the predetermined value is registered in the fingering data as the evaluation value me [iCost] of the reevaluation target sound. On the other hand, if the prohibition condition is met, the determination result in step SC9 is “YES”, the process proceeds to step SC11, and the prohibition cost NOT_PERMIT is registered in the fingering data as the evaluation value me [iCost] of the reevaluation target sound. .

このように、第1実施形態では、曲を構成する各音について弾く指を表す運指データの内から禁止条件に該当した不適切な運指データを検索し、該当する運指データを親指から小指まで変化させながら再評価を行い、禁止条件に該当せず、かつ最も評価判定値が小さく弾きやすい運指(指番号)になった場合に、それを新たな運指データとして登録し直すようにしている。
とりわけ再評価を行う評価処理(図5参照)では、評価対象音と次の音とを勘案して、評価対象音の運指の容易さを表す評価値を生成する一方、評価対象音の運指が「黒鍵の運指に親指や小指を割り当てない」、「和音時の運指逆転」および「運指可能幅を超えない」のいずれかの禁止条件に合致する場合には、禁止条件を解き、最も弾き難いことを表す禁止コストNOT_PERMITから修正回数iOpt+1を減算した評価値を設定したり、評価対象音と次の音との2音間の運指に係わる評価値をユーザ操作に応じて修正した後、修正した評価対象音の評価値が禁止コストNOT_PERMITより大きければ、評価対象音の評価値を修正回数iOpt分減算したりする。これにより、修正回数に応じて評価判定値が緩和されて最終的に不適切な運指と判定されなくなる為、不適切な運指を修正することが可能になる。
As described above, in the first embodiment, inappropriate fingering data corresponding to the prohibition condition is searched from fingering data representing the finger that is played for each sound constituting the song, and the corresponding fingering data is retrieved from the thumb. Re-evaluate while changing to the little finger, and if it becomes a fingering (finger number) that does not correspond to the prohibition condition and the evaluation judgment value is the smallest and easy to play, it will be registered as new fingering data I have to.
In particular, in the evaluation process for re-evaluation (see FIG. 5), the evaluation target sound and the next sound are taken into consideration, and an evaluation value representing the ease of fingering of the evaluation target sound is generated. If the finger meets one of the following prohibition conditions: “Do not assign a thumb or little finger to the fingering of the black key”, “Reverse fingering during chord”, or “Do not exceed fingering range” Set the evaluation value by subtracting the number of corrections iOpt + 1 from the prohibition cost NOT_PERMIT indicating the hardest to play, and depending on the user's operation, the evaluation value related to the fingering between the two sounds of the evaluation target sound and the next sound If the evaluation value of the corrected evaluation target sound is larger than the prohibition cost NOT_PERMIT, the evaluation value of the evaluation target sound is subtracted by the number of corrections iOpt. As a result, the evaluation determination value is relaxed in accordance with the number of corrections, and finally it is not determined that the fingering is inappropriate. Therefore, it is possible to correct inappropriate fingering.

B.第2実施形態
次に、図8〜図10を参照して第2実施形態の動作を説明する。第2実施形態が上述の第1実施形態と相違する点は、運指データ中に音列(曲データ)の高低傾向を表すデータcTendencyを備え、このデータcTendencyを参照して、禁止条件に該当した運指データを有する音の前後において音の高低が入れ替われる音列区間を評価範囲に決定し、その評価範囲で運指の再評価を行うことにある。以下では、こうした第2実施形態による「修正処理」、「評価範囲決定処理」および「決定範囲評価処理」の各動作を説明する。なお、第2実施形態のメインルーチンは、上述の第1実施形態と同一なので、その説明については省略する。
B. Second Embodiment Next, the operation of the second embodiment will be described with reference to FIGS. The second embodiment is different from the first embodiment described above in that the fingering data includes data cTendency indicating the tendency of the pitch (song data), and this data cTendency is referred to and the prohibition condition is met. In other words, the evaluation section is determined as a string sequence in which the pitch of the sound is changed before and after the sound having the fingering data, and the fingering is re-evaluated within the evaluation range. In the following, each operation of “correction processing”, “evaluation range determination processing” and “determination range evaluation processing” according to the second embodiment will be described. In addition, since the main routine of 2nd Embodiment is the same as the above-mentioned 1st Embodiment, it abbreviate | omits about the description.

<修正処理の動作>
上述の第1実施形態と同様、メインルーチンのステップSA5(図3参照)を介して本処理が実行されると、CPU4は図8に図示するステップSF1に処理を進め、レジスタiRCostに評価判定値を、レジスタcfigBestに初期値「−1」をそれぞれセットすると共に、修正回数をカウントするカウンタiOptをゼロリセットする。次いで、ステップSF2では、評価範囲決定処理を実行する。評価範囲決定処理では、後述するように、運指データ中に設けられるデータcTendencyを参照して、禁止条件に該当した運指データを有する音の前後において音の高低が入れ替われる音列区間を評価範囲に決定する。
<Operation of correction processing>
As in the first embodiment described above, when this process is executed via step SA5 (see FIG. 3) of the main routine, the CPU 4 advances the process to step SF1 shown in FIG. 8 and stores the evaluation determination value in the register iRCost. , The initial value “−1” is set in the register cfigBest, and the counter iOpt that counts the number of corrections is reset to zero. Next, in step SF2, an evaluation range determination process is executed. In the evaluation range determination process, as will be described later, with reference to the data cTendency provided in the fingering data, the tone string section in which the pitch of the sound is switched before and after the sound having the fingering data corresponding to the prohibited condition is evaluated. Decide on a range.

続いて、ステップSF3では、カウンタiOptの値が規定値OPT_MAXより小さいか否か、つまり規定の修正回数を行ったかどうかを判断する。規定の修正回数が行われると、判断結果は「NO」になり、本処理を完了させるが、規定の修正回数を行っていなければ、判断結果が「YES」になり、ステップSF4に進む。ステップSF4では、レジスタifigに「0」をセットする。レジスタifigには、後述するように、親指から小指までの運指を再評価させるためのインデックス値「0:親指」、「1:人差し指」、「2:中指」、「3:薬指」および「4:小指」がセットされる。   Subsequently, in step SF3, it is determined whether or not the value of the counter iOpt is smaller than the specified value OPT_MAX, that is, whether or not the specified number of corrections has been performed. If the specified number of corrections is performed, the determination result is “NO”, and this process is completed. If the specified number of corrections is not performed, the determination result is “YES”, and the process proceeds to step SF4. In step SF4, "0" is set in the register ifig. In the register ifig, as will be described later, index values “0: thumb”, “1: index finger”, “2: middle finger”, “3: ring finger”, and “3” are used to reevaluate fingering from the thumb to the little finger. 4: Little finger "is set.

ステップSF5では、レジスタifigの値が「5」より小さいか否か、すなわち親指から小指までの運指を再評価し終えたかどうかを判断する。運指を再評価し終えた場合には、判断結果が「NO」となり、後述するステップSF10に処理を進めるが、親指から小指までの運指を再評価し終えていなければ、判断結果は「YES」になり、ステップSF6を介して決定範囲評価処理(後述する)を実行する。   In step SF5, it is determined whether or not the value of the register ifig is smaller than “5”, that is, whether or not the fingering from the thumb to the little finger has been reevaluated. When re-evaluation of fingering is completed, the determination result is “NO”, and the process proceeds to step SF10 described later. If re-evaluation of fingering from the thumb to the little finger has not been re-evaluated, the determination result is “ "YES", and the determination range evaluation process (described later) is executed via step SF6.

そして、ステップSF7では、上記ステップSF6において再評価された音の禁止条件iNP(me[iNP])が「0(禁止条件に該当せず)」であって、しかも再評価値(レジスタiCostの値)がレジスタiRCostに格納される評価判定値より小さい場合、つまり弾きやすい運指に更新されたか否かを判断する。そして、上記判定条件に合致しなければ、判断結果は「NO」になり、ステップSF9に進む。ステップSF9では、次の指について運指を再評価すべくレジスタifigのインデックス値を歩進させて上述のステップSF5に処理を戻す。   In step SF7, the sound prohibition condition iNP (me [iNP]) re-evaluated in step SF6 is “0 (does not correspond to the prohibition condition)” and the re-evaluation value (the value of the register iCost). ) Is smaller than the evaluation determination value stored in the register iRCost, that is, it is determined whether or not the fingering has been updated to be easy to play. If the determination condition is not met, the determination result is “NO”, and the process proceeds to step SF9. In step SF9, the index value of the register ifig is incremented to re-evaluate the fingering for the next finger, and the process returns to step SF5 described above.

これに対し、上記判定条件に合致すると、ステップSF7の判断結果が「YES」になり、ステップSF8に進み、レジスタme[ifig]に格納される再評価された音の運指(指番号)をレジスタcfigBestにストアすると共に、レジスタiCostの再評価値を、レジスタiRCostにストアして評価判定値を更新した後、ステップSF9に進む。   On the other hand, if the determination condition is met, the determination result in step SF7 is “YES”, the process proceeds to step SF8, and the fingering (finger number) of the reevaluated sound stored in the register me [ifig] is displayed. After storing in the register cfigBest and storing the re-evaluation value of the register iCost in the register iRCost to update the evaluation determination value, the process proceeds to step SF9.

このように、ステップSF4〜SF9では、禁止条件に該当した音の運指me[cfig]を再評価すべく、その運指me[cfig]をレジスタifigのインデックス値に替えて親指から小指まで変化させながらステップSF6において再評価を行い、その結果、禁止条件に該当せず、かつ最も評価判定値が小さく弾きやすい運指(指番号)になった場合に、その運指をレジスタcfigBestにストアするようになっている。   As described above, in steps SF4 to SF9, in order to re-evaluate the fingering me [cfig] of the sound corresponding to the prohibition condition, the fingering me [cfig] is changed from the thumb to the little finger in place of the index value of the register ifig. In step SF6, re-evaluation is performed. As a result, when the fingering (finger number) that does not correspond to the prohibition condition and has the smallest evaluation determination value and is easy to play is stored, the fingering is stored in the register cfigBest. It is like that.

そして、親指から小指までの再評価を終えると、ステップSF5の判断結果が「NO」になり、ステップSF10に進み、レジスタcfigBestの値が初期値「−1」のままであるかどうかを判断する。レジスタcfigBestの値が初期値「−1」のままであると、判断結果は「NO」になり、ステップSF12に進み、修正回数をカウントするカウンタiOptをインクリメントして歩進させてから上述のステップSF3に処理を戻す。以後、カウンタiOptの修正回数が規定値OPT_MAXを超えるまで前述のステップSF3〜SF10を繰り返す。   When the re-evaluation from the thumb to the little finger is completed, the determination result in step SF5 is “NO”, and the process proceeds to step SF10 to determine whether or not the value of the register cfigBest remains the initial value “−1”. . If the value of the register cfigBest remains the initial value “−1”, the determination result is “NO”, the process proceeds to step SF12, the counter iOpt that counts the number of corrections is incremented, and the above step is performed. Return the process to SF3. Thereafter, steps SF3 to SF10 are repeated until the number of corrections of the counter iOpt exceeds the specified value OPT_MAX.

カウンタiOptの修正回数が規定値OPT_MAXを超えるまでステップSF3〜SF10を繰り返す過程で、禁止条件に該当せず、かつ最も評価判定値が小さく弾きやすい運指(指番号)がレジスタcfigBestにストアされると、ステップSF10の判断結果が「YES」になり、ステップSF11に進み、レジスタcfigBestの再評価された運指(指番号)を、対応する音の運指データme[cfig]に登録して本処理を終える。   In the process of repeating steps SF3 to SF10 until the number of corrections of the counter iOpt exceeds the specified value OPT_MAX, the fingering (finger number) that does not correspond to the prohibition condition and has the smallest evaluation determination value and is easy to play is stored in the register cfigBest. In step SF10, the determination result is “YES”, and the process proceeds to step SF11, where the reevaluated fingering (finger number) of the register cfigBest is registered in the fingering data me [cfig] of the corresponding sound. Finish the process.

<評価範囲決定処理の動作>
次に、図9を参照して評価範囲決定処理の動作を説明する。上述した修正処理のステップSF2(図8参照)を介して本処理が実行されると、CPU4は図9に図示するステップSG1に処理を進める。ステップSG1では、禁止条件に該当した運指データの一つ前の運指データme[prev]を区間先頭ポインタmefに、運指データme[prev]の次の運指データme[next]を区間後端ポインタmetに設定する。
次いで、ステップSG2では、mef[cTendency]、すなわち区間先頭ポインタmefで指定される運指データの高低傾向cTendencyが「0」であるかどうかを判断する。高低傾向cTendencyは、音列(曲データ)の高低傾向を表すデータであり、「0」の場合に極値(ピーク)を表す。したがって、このステップSG2では、区間先頭ポインタmefが極値であるかどうかを判断する。
<Operation of evaluation range determination process>
Next, the operation of the evaluation range determination process will be described with reference to FIG. When this process is executed via step SF2 (see FIG. 8) of the correction process described above, the CPU 4 advances the process to step SG1 shown in FIG. In step SG1, the fingering data me [prev] immediately before the fingering data corresponding to the prohibition condition is set to the section start pointer mef, and the fingering data me [next] next to the fingering data me [prev] is set to the section. Set to the trailing edge pointer met.
Next, in step SG2, it is determined whether or not mef [cTendency], that is, the high or low tendency cTendency of the fingering data designated by the section start pointer mef is “0”. The high / low tendency cTendency is data representing the high / low tendency of the sound string (music data), and represents an extreme value (peak) when it is “0”. Therefore, in step SG2, it is determined whether or not the section head pointer mef is an extreme value.

区間先頭ポインタmefが極値でなければ、判断結果が「NO」になり、ステップSG3に進み、区間先頭ポインタmefをさらに一つ前の運指データに設定して上記ステップSG2に処理を戻す。以後、極値の高低傾向cTendencyを有する運指データが見つかるまで区間先頭ポインタmefを運指データ中で遡らせ、極値の高低傾向cTendencyを有する運指データが見つかり、区間先頭が定まると、ステップSG2の判断結果は「YES」となり、ステップSG4に進む。   If the section head pointer mef is not an extreme value, the determination result is “NO”, the process proceeds to step SG3, the section head pointer mef is set to the previous fingering data, and the process returns to step SG2. Thereafter, until the fingering data having the extreme tendency cTendency is found, the section head pointer mef is traced back in the fingering data, and the fingering data having the extreme tendency cTendency is found, and the section head is determined. The determination result of SG2 is “YES”, and the process proceeds to Step SG4.

続いて、ステップSG4では、区間後端ポインタmetが極値であるかどうかを判断する。区間後端ポインタmetが極値でなければ、判断結果は「NO」になり、ステップSG5に進み、区間後端ポインタmefをさらに次の運指データに設定して上記ステップSG4に処理を戻す。以後、極値の高低傾向cTendencyを有する運指データが見つかるまで区間後端ポインタmefを歩進させ、極値の高低傾向cTendencyを有する運指データが見つかり、区間後端が定まると、ステップSG4の判断結果は「YES」となり、本処理を終える。 このように、評価範囲決定処理では、禁止条件に該当した運指データを有する音の前後において音の高低が入れ替われる音列区間を評価範囲に決定するようになっている。   Subsequently, in step SG4, it is determined whether or not the section rear end pointer met is an extreme value. If the section rear end pointer met is not an extreme value, the determination result is “NO”, the process proceeds to step SG5, the section rear end pointer mef is further set to the next fingering data, and the process returns to step SG4. Thereafter, the interval rear end pointer mef is incremented until fingering data having an extreme value cTendency is found, and fingering data having an extreme value cTendency is found and the interval rear end is determined. The determination result is “YES”, and this process is finished. As described above, in the evaluation range determination process, a sound string section in which the pitch of a sound is interchanged before and after a sound having fingering data corresponding to the prohibition condition is determined as an evaluation range.

<決定範囲評価処理の動作>
次に、図10を参照して決定範囲評価処理の動作を説明する。上述した修正処理のステップSF6(図8参照)を介して本処理が実行されると、CPU4は図10に図示するステップSH1に処理を進め、レジスタiCostに初期値「−1」をセットし、評価データ数をカウントするカウンタiCntをゼロリセットする。さらに、レジスタmpに区間先頭ポインタmefをセットする。続いて、ステップSH2では、mp≠met[next]、すなわちレジスタmpの区間先頭ポインタmefで指定される運指データが区間後端ポインタmefで指定される運指データに一致しないかどうか、つまり区間後端まで評価し終えたかどうかを判断する。
<Operation of decision range evaluation process>
Next, the operation of the determination range evaluation process will be described with reference to FIG. When this processing is executed via the above-described correction processing step SF6 (see FIG. 8), the CPU 4 proceeds to step SH1 shown in FIG. 10, sets the initial value “−1” in the register iCost, A counter iCnt that counts the number of evaluation data is reset to zero. Further, the section start pointer mef is set in the register mp. Subsequently, in step SH2, whether mp ≠ met [next], that is, whether the fingering data specified by the section start pointer mef of the register mp does not match the fingering data specified by the section rear end pointer mef, that is, the section It is determined whether the evaluation has been completed up to the rear end.

区間後端まで評価し終えていなければ、判断結果は「YES」になり、ステップSH3を介して評価処理を実行する。評価処理は、図5に図示した第1実施形態の評価処理と同等であり、上述の評価範囲決定処理にて決定された評価範囲、つまり禁止条件に該当した運指データを有する音の前後で音の高低が入れ替われる音列区間において、評価対象音と次の音とを勘案して、評価対象音の運指の容易さを表す評価値を生成する。
その後、評価対象音の運指が「黒鍵の運指に親指や小指を割り当てない」、「和音時の運指逆転」および「運指可能幅を超えない」のいずれかの禁止条件に合致する場合には、禁止条件を解き、最も弾き難いことを表す禁止コストNOT_PERMITから修正回数iOpt+1を減算した評価値を設定する。続いて、評価対象音と次の音との2音間の運指に係わる評価値をユーザ操作に応じて修正した後、修正した評価対象音の評価値が禁止コストNOT_PERMITより大きければ、評価対象音の評価値を修正回数iOpt分減算する。
If the evaluation has not been completed up to the rear end of the section, the determination result is “YES”, and the evaluation process is executed via step SH3. The evaluation process is equivalent to the evaluation process of the first embodiment illustrated in FIG. 5, and before and after the sound having fingering data corresponding to the evaluation range determined by the above-described evaluation range determination process, that is, the prohibition condition. An evaluation value representing the ease of fingering of the evaluation target sound is generated in consideration of the evaluation target sound and the next sound in a sound string section in which the pitch of the sound is switched.
After that, the fingering of the evaluation target sound meets one of the following prohibition conditions: “Do not assign a thumb or little finger to the black keying finger”, “Reverse fingering during chord”, or “Do not exceed fingering range” In this case, the prohibition condition is solved, and an evaluation value obtained by subtracting the number of corrections iOpt + 1 from the prohibition cost NOT_PERMIT indicating that it is hard to play is set. Subsequently, after the evaluation value related to fingering between the two sounds of the evaluation target sound and the next sound is corrected according to the user operation, if the evaluation value of the corrected evaluation target sound is larger than the prohibition cost NOT_PERMIT, the evaluation target The sound evaluation value is subtracted by the number of corrections iOpt.

こうした評価処理を終えると、ステップSH4に進み、評価データ個数をカウントするカウンタiCntをインクリメントして歩進させると共に、評価処理で得られた評価値iCostを累算する。次いで、ステップSH5では、レジスタmpに格納されるポインタを歩進させた後、ステップSH2に処理を戻す。以後、レジスタmpが区間後端ポインタmefに達するまでステップSH2〜SH5を繰り返す。そして、評価範囲(禁止条件に該当した運指データを有する音の前後において音の高低が入れ替われる音列区間)の全ての音について評価を完了すると、ステップSH2の判断結果が「NO」となり、ステップSH6に進み、累算評価値を評価データ個数で除算して得た平均評価値iCost/iCntを、禁止条件に該当した運指データの評価値iCostとする。   When such an evaluation process is completed, the process proceeds to step SH4, where the counter iCnt for counting the number of evaluation data is incremented and incremented, and the evaluation value iCost obtained by the evaluation process is accumulated. Next, in step SH5, the pointer stored in the register mp is incremented, and then the process returns to step SH2. Thereafter, steps SH2 to SH5 are repeated until the register mp reaches the section rear end pointer mef. When the evaluation is completed for all the sounds in the evaluation range (the sound string section in which the pitch of the sound is switched before and after the sound having fingering data corresponding to the prohibition condition), the determination result in step SH2 is “NO”. Proceeding to step SH6, the average evaluation value iCost / iCnt obtained by dividing the accumulated evaluation value by the number of evaluation data is set as the evaluation value iCost of the fingering data corresponding to the prohibition condition.

このように、第2実施形態では、禁止条件に該当した不適切な運指データを有する音の前後において音の高低が入れ替われる音列区間を評価範囲に設定し、その評価範囲にある音の運指データの内から禁止条件に該当した不適切な運指データを検索し、該当する運指データを親指から小指まで変化させながら再評価を行い、禁止条件に該当せず、かつ最も評価判定値が小さく弾きやすい運指(指番号)になった場合に、それを新たな運指データとして登録し直すようにしている。   As described above, in the second embodiment, the evaluation range is set to the tone string interval in which the pitch of the sound is switched before and after the sound having inappropriate fingering data corresponding to the prohibition condition, and the sound in the evaluation range is set. Search for inappropriate fingering data that meets the prohibited conditions from the fingering data, perform the re-evaluation while changing the corresponding fingering data from the thumb to the little finger, do not meet the prohibited conditions, and most evaluate When the fingering (finger number) is small and easy to play, it is re-registered as new fingering data.

そして、再評価を行う評価処理(図5参照)では、第1実施形態と同様、評価対象音と次の音とを勘案して、評価対象音の運指の容易さを表す評価値を生成する一方、評価対象音の運指が「黒鍵の運指に親指や小指を割り当てない」、「和音時の運指逆転」および「運指可能幅を超えない」のいずれかの禁止条件に合致する場合には、禁止条件を解き、最も弾き難いことを表す禁止コストNOT_PERMITから修正回数iOpt+1を減算した評価値を設定したり、評価対象音と次の音との2音間の運指に係わる評価値をユーザ操作に応じて修正した後、修正した評価対象音の評価値が禁止コストNOT_PERMITより大きければ、評価対象音の評価値を修正回数iOpt分減算したりする。この結果、修正回数に応じて評価判定値が緩和されて最終的に不適切な運指と判定されなくなる為、不適切な運指を修正することが可能になる。加えて、運指の評価値を修正する際に、禁止条件に該当した不適切な運指データを有する音の前後において音の高低が入れ替われる音列区間を評価範囲に設定するため、音楽的により自然な運指に修正することが可能になっている。   Then, in the evaluation process (see FIG. 5) in which re-evaluation is performed, an evaluation value representing the ease of fingering of the evaluation target sound is generated in consideration of the evaluation target sound and the next sound, as in the first embodiment. On the other hand, the fingering of the sound to be evaluated is in any of the prohibited conditions of “Do not assign a thumb or little finger to the fingering of the black key”, “Fingering reversal at the time of chord” and “Do not exceed the fingering range” If they match, the prohibition condition is solved and an evaluation value obtained by subtracting the number of corrections iOpt + 1 from the prohibition cost NOT_PERMIT indicating the hardest to play is set, or the fingering between the two sounds of the evaluation target sound and the next sound is set. After the related evaluation value is corrected according to the user operation, if the evaluation value of the corrected evaluation target sound is larger than the prohibition cost NOT_PERMIT, the evaluation value of the evaluation target sound is subtracted by the number of corrections iOpt. As a result, the evaluation determination value is relaxed in accordance with the number of corrections, and finally it is not determined to be inappropriate fingering, so that inappropriate fingering can be corrected. In addition, when the evaluation value of fingering is modified, musical interval is set as the evaluation range because the tone string section where the pitch of the sound is interchanged before and after the sound having inappropriate fingering data corresponding to the prohibited condition is set. This makes it possible to correct to natural fingering.

本発明による第1実施形態の構成を示すブロック図である。It is a block diagram which shows the structure of 1st Embodiment by this invention. 曲データおよび運指データを備えた楽曲データの構成を示す図である。It is a figure which shows the structure of the music data provided with music data and fingering data. メインルーチンの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a main routine. 修正処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a correction process. 評価処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of an evaluation process. 禁止条件判定処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a prohibition condition determination process. 評価補正処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of an evaluation correction process. 第2実施形態による修正処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the correction process by 2nd Embodiment. 第2実施形態による評価範囲決定処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the evaluation range determination process by 2nd Embodiment. 第2実施形態による決定範囲評価処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the determination range evaluation process by 2nd Embodiment.

符号の説明Explanation of symbols

1 データ入力部
2 表示部
3 データ指定部
4 CPU
5 ROM
6 RAM
1 Data input part 2 Display part 3 Data designation part 4 CPU
5 ROM
6 RAM

Claims (4)

曲を構成する各音に対応付けられた運指の内から不適切な運指の評価対象音を検索する検索手段と、
前記検索手段により検索された評価対象音に親指から小指までの新たな運指を割り当てる割当て手段と、
前記割当て手段が新たな運指を割り当てる毎に、その運指が不適切であるか否かを判定し、不適切な場合には第1の評価値を発生し、一方、不適切でない場合には評価対象音とその次の音との関係に応じて定まる第2の評価値を発生する評価手段と、
前記評価手段が第1又は第2の評価値を発生する毎に、前回より値の小さい評価値に更新して最小の評価値を運指判定基準に設定し、その運指判定基準に合致した運指を評価対象音に割当てる運指割当手段と、
音楽的な補正条件に従って行われるユーザ修正操作の回数に応じて、前記評価手段が発生する第1又は第2の評価値を低減させて前記運指割当手段が設定する運指判定基準を緩和する基準緩和手段と
を具備することを特徴とする運指情報修正装置。
A search means for searching for an evaluation target sound of an inappropriate fingering from among the fingerings associated with each sound constituting the song;
Assigning means for assigning a new fingering from the thumb to the little finger to the evaluation target sound searched by the search means;
Each time the assigning means assigns a new finger, it is determined whether or not the finger is improper, and if it is improper, a first evaluation value is generated. Is an evaluation means for generating a second evaluation value determined according to the relationship between the sound to be evaluated and the next sound;
Each time the evaluation means generates the first or second evaluation value, the evaluation value is updated to a smaller evaluation value than the previous time, and the minimum evaluation value is set as the fingering determination criterion, which matches the fingering determination criterion. A fingering assignment means for assigning a fingering to the evaluation target sound;
According to the number of user correction operations performed according to musical correction conditions, the first or second evaluation value generated by the evaluation unit is reduced to relax the fingering determination criteria set by the fingering assignment unit. A fingering information correction device comprising: a reference relaxation means.
曲を構成する各音に対応付けられた運指の内、不適切な運指の評価対象音の前後で音の高低が入れ替われる区間を評価範囲に設定する範囲設定手段と、
前記範囲設定手段により設定された評価範囲の内から前記評価対象音を検索する検索手段と、
前記検索手段により検索された評価対象音に親指から小指までの新たな運指を割り当てる割当て手段と、
前記割当て手段が新たな運指を割り当てる毎に、その運指が不適切であるか否かを判定し、不適切な場合には第1の評価値を発生し、一方、不適切でない場合には評価対象音とその次の音との関係に応じて定まる第2の評価値を発生する評価手段と、
前記評価手段が第1又は第2の評価値を発生する毎に、前回より値の小さい評価値に更新して最小の評価値を運指判定基準に設定し、その運指判定基準に合致した運指を評価対象音に割当てる運指割当手段と、
音楽的な補正条件に従って行われるユーザ修正操作の回数に応じて、前記評価手段が発生する第1又は第2の評価値を低減させて前記運指割当手段が設定する運指判定基準を緩和する基準緩和手段と
を具備することを特徴とする運指情報修正装置。
Range setting means for setting an interval in which the pitch of sound is interchanged before and after the evaluation target sound of inappropriate fingering among the fingerings associated with each sound constituting the song,
Search means for searching for the evaluation target sound from the evaluation range set by the range setting means;
Assigning means for assigning a new fingering from the thumb to the little finger to the evaluation target sound searched by the search means;
Each time the assigning means assigns a new finger, it is determined whether or not the finger is improper, and if it is improper, a first evaluation value is generated. Is an evaluation means for generating a second evaluation value determined according to the relationship between the sound to be evaluated and the next sound;
Each time the evaluation means generates the first or second evaluation value, the evaluation value is updated to a smaller evaluation value than the previous time, and the minimum evaluation value is set as the fingering determination criterion, which matches the fingering determination criterion. A fingering assignment means for assigning a fingering to the evaluation target sound;
According to the number of user correction operations performed according to musical correction conditions, the first or second evaluation value generated by the evaluation unit is reduced to relax the fingering determination criteria set by the fingering assignment unit. A fingering information correction device comprising: a reference relaxation means.
曲を構成する各音に対応付けられた運指の内から不適切な運指の評価対象音を検索する検索処理と、
前記検索処理にて検索された評価対象音に親指から小指までの新たな運指を割り当てる割当て処理と、
前記割当て処理が新たな運指を割り当てる毎に、その運指が不適切であるか否かを判定し、不適切な場合には第1の評価値を発生し、一方、不適切でない場合には評価対象音とその次の音との関係に応じて定まる第2の評価値を発生する評価処理と、
前記評価処理が第1又は第2の評価値を発生する毎に、前回より値の小さい評価値に更新して最小の評価値を運指判定基準に設定し、その運指判定基準に合致した運指を評価対象音に割当てる運指割当処理と、
音楽的な補正条件に従って行われるユーザ修正操作の回数に応じて、前記評価処理にて生成される第1又は第2の評価値を低減させて前記運指割当処理にて設定される運指判定基準を緩和する基準緩和処理と
をコンピュータで実行させることを特徴とする運指情報修正処理プログラム。
A search process for searching for an evaluation target sound of an inappropriate fingering from among the fingerings associated with each sound constituting the song;
An allocation process for assigning a new fingering from the thumb to the little finger to the evaluation target sound searched in the search process;
Each time the assignment process assigns a new finger, it is determined whether or not the finger is inappropriate. If it is inappropriate, the first evaluation value is generated. Is an evaluation process for generating a second evaluation value determined according to the relationship between the evaluation target sound and the next sound;
Each time the evaluation process generates the first or second evaluation value, the evaluation value is updated to a smaller evaluation value than the previous time, and the minimum evaluation value is set as the fingering determination criterion, which matches the fingering determination criterion. A fingering assignment process for assigning a finger to an evaluation target sound;
Fingering determination set in the fingering assignment process by reducing the first or second evaluation value generated in the evaluation process according to the number of user correction operations performed in accordance with the musical correction condition A fingering information correction processing program that causes a computer to execute a standard relaxation process for relaxing a standard.
曲を構成する各音に対応付けられた運指の内、不適切な運指の評価対象音の前後で音の高低が入れ替われる区間を評価範囲に設定する範囲設定処理と、
前記範囲設定処理にて設定された評価範囲の内から前記評価対象音を検索する検索処理と、
前記検索処理にて検索された評価対象音に親指から小指までの新たな運指を割り当てる割当て処理と、
前記割当て処理が新たな運指を割り当てる毎に、その運指が不適切であるか否かを判定し、不適切な場合には第1の評価値を発生し、一方、不適切でない場合には評価対象音とその次の音との関係に応じて定まる第2の評価値を発生する評価処理と、
前記評価処理が第1又は第2の評価値を発生する毎に、前回より値の小さい評価値に更新して最小の評価値を運指判定基準に設定し、その運指判定基準に合致した運指を評価対象音に割当てる運指割当処理と、
音楽的な補正条件に従って行われるユーザ修正操作の回数に応じて、前記評価処理にて生成される第1又は第2の評価値を低減させて前記運指割当処理にて設定される運指判定基準を緩和する基準緩和処理と
をコンピュータで実行させることを特徴とする運指情報修正処理プログラム。
A range setting process for setting a section in which the pitch of sound is switched before and after the evaluation target sound of inappropriate fingering among the fingerings associated with each sound constituting the song, as an evaluation range;
A search process for searching for the evaluation target sound from the evaluation range set in the range setting process;
An allocation process for assigning a new fingering from the thumb to the little finger to the evaluation target sound searched in the search process;
Each time the assignment process assigns a new finger, it is determined whether or not the finger is inappropriate. If it is inappropriate, the first evaluation value is generated. Is an evaluation process for generating a second evaluation value determined according to the relationship between the evaluation target sound and the next sound;
Each time the evaluation process generates the first or second evaluation value, the evaluation value is updated to a smaller evaluation value than the previous time, and the minimum evaluation value is set as the fingering determination criterion, which matches the fingering determination criterion. A fingering assignment process for assigning a finger to an evaluation target sound;
Fingering determination set in the fingering assignment process by reducing the first or second evaluation value generated in the evaluation process according to the number of user correction operations performed in accordance with the musical correction condition A fingering information correction processing program that causes a computer to execute a standard relaxation process for relaxing a standard.
JP2004251422A 2004-08-31 2004-08-31 Fingering information correction device and fingering information correction processing program Expired - Fee Related JP4543832B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004251422A JP4543832B2 (en) 2004-08-31 2004-08-31 Fingering information correction device and fingering information correction processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004251422A JP4543832B2 (en) 2004-08-31 2004-08-31 Fingering information correction device and fingering information correction processing program

Publications (3)

Publication Number Publication Date
JP2006071675A true JP2006071675A (en) 2006-03-16
JP2006071675A5 JP2006071675A5 (en) 2010-04-22
JP4543832B2 JP4543832B2 (en) 2010-09-15

Family

ID=36152429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004251422A Expired - Fee Related JP4543832B2 (en) 2004-08-31 2004-08-31 Fingering information correction device and fingering information correction processing program

Country Status (1)

Country Link
JP (1) JP4543832B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2526954B2 (en) * 1987-12-30 1996-08-21 カシオ計算機株式会社 Automatic fingering device
JP2000322059A (en) * 1999-03-08 2000-11-24 Yamaha Corp Method and device for fingering information generation and recording medium
JP2001331173A (en) * 2000-03-14 2001-11-30 Casio Comput Co Ltd Device and method for generating fingering information and storage medium which stores fingering information generating program
JP2002082666A (en) * 2000-09-06 2002-03-22 Yamaha Corp Fingering formation display method, fingering formation display device and recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2526954B2 (en) * 1987-12-30 1996-08-21 カシオ計算機株式会社 Automatic fingering device
JP2000322059A (en) * 1999-03-08 2000-11-24 Yamaha Corp Method and device for fingering information generation and recording medium
JP2001331173A (en) * 2000-03-14 2001-11-30 Casio Comput Co Ltd Device and method for generating fingering information and storage medium which stores fingering information generating program
JP2002082666A (en) * 2000-09-06 2002-03-22 Yamaha Corp Fingering formation display method, fingering formation display device and recording medium

Also Published As

Publication number Publication date
JP4543832B2 (en) 2010-09-15

Similar Documents

Publication Publication Date Title
CN108630176B (en) Electronic wind instrument, control method thereof, and recording medium
CN109215623B (en) Electronic wind instrument, control method thereof, and program recording medium
EP3159890B1 (en) Accordion and electronic accordion
JP4543832B2 (en) Fingering information correction device and fingering information correction processing program
JP4613817B2 (en) Fingering display device and program
JP6817551B2 (en) Musical tone generator, musical tone generator, program and electronic musical instrument
JP4482889B2 (en) Fingering information generation apparatus and fingering information generation processing program
JP6632447B2 (en) Fingering determination program
JP4301126B2 (en) Fingering information generation device and program
JP2005049628A (en) Music learning device and music learning program
JP6372082B2 (en) Musical sound generation instruction device and musical sound generation instruction method
JP4529175B2 (en) Fingering candidate display device and fingering candidate display processing program
JP3079565B2 (en) Electronic musical instrument
JPH1185145A (en) Music forming device
JP5012126B2 (en) Tuning system and tuner device
JP4520521B2 (en) Electronic musical instrument tuning correction apparatus, electronic musical instrument tuning correction method, computer program, and recording medium
JP2775793B2 (en) Electronic wind instrument
JP4816930B2 (en) Performance support information generation apparatus and performance support information generation program
JP4482880B2 (en) Fingering information generation apparatus and fingering information generation processing program
JP4696808B2 (en) Temporary symbol display device and temporary symbol display program
JP5029770B2 (en) Performance support information generation apparatus and performance support information generation program
JP4508218B2 (en) Fingering information generation apparatus and fingering information generation processing program
KR100444930B1 (en) Apparatus and method for extracting quantized MIDI note
JP4253607B2 (en) Electronic musical instrument tuning correction apparatus, electronic musical instrument tuning correction method, computer program, and recording medium
JP2685044B2 (en) Electronic musical instrument

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070606

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100413

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100524

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100621

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4543832

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees