JP6090644B2 - Performance difficulty evaluation device, program, and electronic musical instrument - Google Patents

Performance difficulty evaluation device, program, and electronic musical instrument Download PDF

Info

Publication number
JP6090644B2
JP6090644B2 JP2012171201A JP2012171201A JP6090644B2 JP 6090644 B2 JP6090644 B2 JP 6090644B2 JP 2012171201 A JP2012171201 A JP 2012171201A JP 2012171201 A JP2012171201 A JP 2012171201A JP 6090644 B2 JP6090644 B2 JP 6090644B2
Authority
JP
Japan
Prior art keywords
hand part
finger
sound
type
cost
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
JP2012171201A
Other languages
Japanese (ja)
Other versions
JP2014032244A (en
JP2014032244A5 (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.)
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 JP2012171201A priority Critical patent/JP6090644B2/en
Publication of JP2014032244A publication Critical patent/JP2014032244A/en
Publication of JP2014032244A5 publication Critical patent/JP2014032244A5/en
Application granted granted Critical
Publication of JP6090644B2 publication Critical patent/JP6090644B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、楽曲を鍵盤楽器で演奏する際の難易度を評価する装置に関し、特に両手を使った鍵盤演奏の難易度を評価する演奏難易度評価装置、プログラム及び電子楽器に関する。 The present invention relates to an apparatus for evaluating the difficulty level when playing a musical piece with a keyboard instrument, and more particularly to a performance difficulty evaluation apparatus , a program, and an electronic musical instrument for evaluating the difficulty level of a keyboard performance using both hands.

従来より、楽曲を鍵盤楽器で演奏する際の難易度を評価する装置が知られている。この種の技術として、例えば特許文献1には、楽曲を構成する各音符を表す楽音データ中の音高情報、運指情報および時間情報の何れかに基づいて、楽曲の演奏に必要な要素(運指、リズム、調性)のそれぞれについて個別難易度を算出し、算出された複数種の個別難易度のぞれぞれに重み係数を乗じて、重みが付与された個別難易度を累算することにより楽曲全体の難易度を取得する技術が開示されている。   2. Description of the Related Art Conventionally, there has been known an apparatus for evaluating the difficulty level when playing music with a keyboard instrument. As this type of technology, for example, Patent Document 1 discloses elements necessary for playing a music piece based on any of pitch information, fingering information, and time information in musical tone data representing each note constituting the music piece ( Calculate the individual difficulty level for each of fingering, rhythm, and tonality, multiply each of the calculated individual difficulty levels by a weighting factor, and accumulate the weighted individual difficulty level A technique for acquiring the difficulty level of the entire music is disclosed.

特開2010−281882号公報JP 2010-281882 A

ところで、上記特許文献1に開示の技術では、右手の指使いと左手の指使いとに分け、それぞれ独立して運指の難易度を評価する為、右手の指使いと左手の指使いとを協調させながら楽曲を弾く運指の難しさ、つまり両手を使った鍵盤演奏の難易度を評価することが出来ないという問題がある。   By the way, in the technique disclosed in the above-mentioned patent document 1, the right-hand finger usage and the left-hand finger usage are divided into the right-hand finger usage and the left-hand finger usage. There is a problem that it is impossible to evaluate the difficulty of fingering to play music while cooperating, that is, the difficulty of playing a keyboard using both hands.

本発明は、このような事情に鑑みてなされたもので、両手を使った鍵盤演奏の難易度を評価することができる演奏難易度評価装置、プログラム及び電子楽器を提供することを目的としている。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide a performance difficulty evaluation device , a program, and an electronic musical instrument that can evaluate the difficulty of keyboard performance using both hands.

上記目的を達成するため、本発明の演奏難易度評価装置は、
曲を構成する音符夫々について弾くべき指を表す指番号および、右手パートと左手パートの何れのパートの音符かを識別する識別子を含む音符データから、右手パートの音符データと、前記右手パートの音符データに対応する左手パートの音符データとを読み込む読込処理部と、
前記読込処理部により読み込まれる右手パートの2つの指番号と、前記右手パートの2つの指番号に対応する前記左手パートの2つの指番号とから夫々決定される運指パターンであって且つ前記右手パート及び前記左手パートの夫々の指番号の組み合わせによって互いに異なる夫々の運指パターンに応じて、左手パートのコストを判定する第1の判定部と、
前記読込処理部により読み込まれる左手パートの2つの指番号と、前記左手パートの2つの指番号に対応する前記右手パートの2つの指番号とから夫々決定される運指パターンであって且つ前記左手パート及び前記右手パートの夫々の指番号の組み合わせによって互いに異なる夫々の運指パターンに応じて、右手パートのコストを判定する第2の判定部と、
前記第1の判定部が判定する左手パートのコストと前記第2の判定部が判定する右手パートのコストに基づいて算出される両手で演奏する場合の難易度を示すデータを取得する難易度取得と、
を具備することを特徴とする。
In order to achieve the above object, the performance difficulty evaluation device of the present invention provides:
From note data including a finger number representing a finger to be played for each note constituting the song and an identifier identifying which of the right hand part and the left hand part , the right hand part note data and the right hand part note A reading processing unit for reading the note data of the left-hand part corresponding to the data,
A fingering pattern determined from two finger numbers of the right hand part read by the reading processing unit and two finger numbers of the left hand part corresponding to the two finger numbers of the right hand part, and the right hand part A first determination unit that determines the cost of the left hand part according to each fingering pattern different from each other by a combination of the finger numbers of the part and the left hand part;
A fingering pattern determined from two finger numbers of the left hand part read by the reading processing unit and two finger numbers of the right hand part corresponding to the two finger numbers of the left hand part, and the left hand A second determination unit that determines the cost of the right hand part according to each fingering pattern different from each other by a combination of the finger numbers of the part and the right hand part;
The difficulty level acquisition for acquiring data indicating the difficulty level when playing with both hands calculated based on the cost of the left hand part determined by the first determination unit and the cost of the right hand part determined by the second determination unit and parts,
It is characterized by comprising.

本発明では、両手を使った鍵盤演奏の難易度を評価することができる。   In the present invention, it is possible to evaluate the difficulty level of keyboard performance using both hands.

電子楽器100の全体構成を示すブロック図である。1 is a block diagram illustrating an overall configuration of an electronic musical instrument 100. FIG. RAM12の主要データ構成を示すメモリマップである。3 is a memory map showing a main data configuration of a RAM 12; メインルーチンの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a main routine. 難易度評価処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of difficulty evaluation processing. 難易度評価処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of difficulty evaluation processing. コスト判定処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a cost determination process. コスト判定処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a cost determination process. コスト判定処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a cost determination process. 難易度評価処理の具体的な動作の一例を説明する為の図である。It is a figure for demonstrating an example of the specific operation | movement of a difficulty level evaluation process.

以下、図面を参照して本発明の実施形態について説明する。
A.構成
図1は、実施の一形態による演奏難易度評価装置を備えた電子楽器100の全体構成を示すブロック図である。この図において、CPU10は、演奏操作に応じて鍵盤13が発生する演奏情報に基づき音源16に楽音発生を指示する通常の楽器機能を有すると共に、曲の演奏練習に供せられるデータであって、手本(模範演奏)となる楽曲データ(後述する)に基づき両手を使って鍵盤演奏する際の難易度を評価する難易度評価機能を具備する。本発明に係わるCPU10の特徴的な処理動作については追って詳述する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
A. Configuration FIG. 1 is a block diagram illustrating an overall configuration of an electronic musical instrument 100 including a performance difficulty evaluation device according to an embodiment. In this figure, the CPU 10 has normal instrument functions for instructing the tone generator 16 to generate musical sounds based on performance information generated by the keyboard 13 in response to a performance operation, and is provided for practice of music performance. It has a difficulty level evaluation function for evaluating the level of difficulty when playing a keyboard using both hands based on music data (described later) serving as a model (exemplary performance). The characteristic processing operation of the CPU 10 according to the present invention will be described in detail later.

ROM11は、データエリアおよびプログラムエリアを備える。ROM11のデータエリアには、手本(模範演奏)となる楽曲データが複数曲分記憶(ファクトリープリセット)される。これら複数曲の楽曲データの内、ユーザに指定される楽曲データがRAM12の楽曲データエリアME(後述する)にストアされる。ROM11のプログラムエリアには、CPU10にロードされる各種の制御プログラムが記憶される。各種の制御プログラムとは、後述のメインルーチンを構成する難易度評価処理を含む。なお、難易度評価処理はコスト判定処理を含む。   The ROM 11 includes a data area and a program area. In the data area of the ROM 11, music data serving as a model (exemplary performance) is stored for a plurality of music (factory preset). Among these pieces of music data, music data designated by the user is stored in a music data area ME (described later) of the RAM 12. Various control programs loaded into the CPU 10 are stored in the program area of the ROM 11. The various control programs include a difficulty level evaluation process that constitutes a main routine described later. The difficulty level evaluation process includes a cost determination process.

RAM12は、楽曲データエリアおよびワークエリアを備える。ここで、図2を参照して、RAM12の楽曲データエリアMEおよびワークエリアWEに記憶される主要なデータについて説明する。RAM12の楽曲データエリアMEには、ユーザ指定の楽曲データがROM11から読み出されてストアされる。楽曲データは、曲を構成する各音に対応した複数の音符データ(1)〜(n)から成る。   The RAM 12 includes a music data area and a work area. Here, with reference to FIG. 2, main data stored in the music data area ME and the work area WE of the RAM 12 will be described. In the music data area ME of the RAM 12, music data specified by the user is read from the ROM 11 and stored. The music data is composed of a plurality of note data (1) to (n) corresponding to each sound constituting the music.

1つの音符データは、発音ピッチを表す音高Pit、発音タイミングを表す発音時刻Time、発音継続時間を表す音長Gate、弾くべき指を表す指番号Figおよび演奏パートを識別するパート番号Partを含む。なお、発音時刻Timeは、絶対時間形式と呼ばれ、曲先頭からの経過時間で発音タイミングを表す。指番号Figは、対応する音符を弾く(押鍵する)指を指定する番号であり、具体的には親指ならば「1」、人差し指ならば「2」、中指ならば「3」、薬指ならば「4」、小指ならば「5」となる。パート番号Partは、対応する音符が右手パート(メロディパート)又は左手パート(伴奏パート)の何れかであるかを識別する番号であり、右手パートの場合に「0」、左手パートの場合に「1」となる。   One piece of note data includes a pitch Pit representing a sounding pitch, a sounding time Time representing a sounding timing, a sound length Gate representing a sounding duration, a finger number Fig representing a finger to be played, and a part number Part identifying a performance part. . Note that the sound generation time Time is called an absolute time format, and represents the sound generation timing by the elapsed time from the beginning of the song. The finger number FIG. Is a number that designates a finger that plays (presses) the corresponding note. Specifically, “1” for the thumb, “2” for the index finger, “3” for the middle finger, and “3” for the ring finger. "4" for the little finger and "5" for the little finger. The part number Part is a number for identifying whether the corresponding note is a right-hand part (melody part) or a left-hand part (accompaniment part), and is “0” for the right-hand part and “0” for the left-hand part. 1 ".

RAM12のワークエリアWEには、後述する難易度評価処理に用いられる各種変数を一時記憶するレジスタが設けられる。レジスタmeには、RAM12の楽曲データエリアMEに格納された楽曲データの内、評価対象となる音符データがストアされる。レジスタnextには、レジスタmeにストアされた音符データの次に発音する音符データがストアされる。レジスタotherには、レジスタmeにストアされた音符データと同一の発音タイミングであって、レジスタmeにストアされた音符データとは反対のパートの音符データがストアされる。レジスタdiagonalには、レジスタotherにストアされた音符データと同じパートで次に発音する音符データがストアされる。   The work area WE of the RAM 12 is provided with a register for temporarily storing various variables used for difficulty evaluation processing described later. Of the music data stored in the music data area ME of the RAM 12, note data to be evaluated is stored in the register me. In the register next, note data to be generated next to the note data stored in the register me is stored. The register other stores the note data of the same part as the note data stored in the register me and the opposite part of the note data stored in the register me. In the register diagonal, note data to be generated next in the same part as the note data stored in the register other is stored.

レジスタf0には、レジスタmeの音符データ中の指番号Figがストアされる。レジスタfnには、レジスタnextの音符データ中の指番号Figがストアされる。レジスタfoには、レジスタotherの音符データ中の指番号Figがストアされる。レジスタfdには、レジスタdiagonalの音符データ中の指番号Figがストアされる。レジスタfo2には、レジスタotherの音符データ中の指番号Figの換算値(小指側から数え直した指番号6−fo)がストアされる。レジスタfd2には、レジスタdiagonalの音符データ中の指番号Figの換算値(小指側から数え直した指番号6−fd)がストアされる。   The register number f0 stored in the note data of the register me is stored in the register f0. In the register fn, the finger number Fig in the note data of the register next is stored. The register fo stores the finger number Fig in the note data of the register other. The register fd stores the finger number Fig in the note data of the register diagonal. The register fo2 stores a converted value (finger number 6-fo counted again from the little finger side) of the finger number Fig in the note data of the register other. The register fd2 stores a converted value of the finger number Fig (finger number 6-fd counted again from the little finger side) in the note data of the register diagonal.

レジスタiCMTypeは、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号を一時記憶する。タイプ番号とは、4つの音を弾く左右両手の指の組み合わせから判別される難易度(コスト)の種類(タイプ)を識別する番号である。カウンタiCMTypeCnt[1]〜[N]は、タイプ番号で指定される種類(タイプ)毎の数を計数する。レジスタiCMTypeCost[1]〜[N]には、タイプ番号で指定される種類(タイプ)毎の難易度(コスト)が記憶される。種類(タイプ)毎の難易度(コスト)は、経験的に得られる数値情報である。レジスタcmtypenは、種類(タイプ)の数を一時記憶する。   The register iCMType temporarily stores a type number indicating the type (type) of difficulty (cost) of keyboard performance using both hands. The type number is a number for identifying the type (type) of difficulty (cost) determined from a combination of fingers of both left and right hands playing four sounds. Counters iCMTypeCnt [1] to [N] count the number for each type (type) specified by the type number. The registers iCMTypeCost [1] to [N] store the difficulty (cost) for each type (type) specified by the type number. The degree of difficulty (cost) for each type (type) is numerical information obtained empirically. The register cmtype temporarily stores the number of types.

再び図1を参照して実施形態の構成について説明を進める。図1において、鍵盤13は、演奏操作(押離鍵操作)に応じたキーオン/キーオフイベント、鍵番号およびベロシティ等を含む演奏情報を発生する。操作部14は、装置パネルに配設される各種操作スイッチを有し、ユーザ操作されるスイッチ種に対応したスイッチイベントを発生する。操作部14に配設される主要なスイッチとしては、例えばパワーオンオフする電源スイッチの他、電子楽器100の動作モードを楽器機能モード又は難易度評価機能モードの何れかに切り替えるモード切り替えスイッチ、楽曲データを選択する曲選択スイッチや、動作終了を指示する終了スイッチ等がある。   The configuration of the embodiment will be described with reference to FIG. 1 again. In FIG. 1, a keyboard 13 generates performance information including a key-on / key-off event, a key number, velocity, and the like corresponding to a performance operation (press / release key operation). The operation unit 14 has various operation switches arranged on the apparatus panel, and generates a switch event corresponding to a switch type operated by the user. As main switches arranged in the operation unit 14, for example, a power switch for turning on / off power, a mode switching switch for switching the operation mode of the electronic musical instrument 100 to either the instrument function mode or the difficulty evaluation function mode, music data There are a song selection switch for selecting the, and an end switch for instructing the end of the operation.

表示部15は、例えば動作モードが難易度評価機能モードであれば、CPU10から供給される表示制御信号に応じて、難易度評価される楽曲データを楽譜表示したり、難易度の評価結果を表示したりする。音源16は、周知の波形メモリ読み出し方式によって構成され、鍵盤13から供給される演奏情報に基づきCPU10が生成する演奏データに応じた楽音データを発生する。サウンドシステム17は、音源16から出力される楽音データをアナログ形式の楽音信号に変換した後、その楽音信号から不要ノイズを除去する等のフィルタリングを施してからレベル増幅してスピーカより発音させる。   For example, if the operation mode is the difficulty level evaluation function mode, the display unit 15 displays music data to be evaluated for the difficulty level according to the display control signal supplied from the CPU 10 or displays the evaluation result of the difficulty level. To do. The tone generator 16 is configured by a well-known waveform memory reading method, and generates tone data corresponding to performance data generated by the CPU 10 based on performance information supplied from the keyboard 13. The sound system 17 converts the musical tone data output from the sound source 16 into an analog musical tone signal, and then performs filtering such as removing unnecessary noise from the musical tone signal, and then amplifies the level and produces a sound from the speaker.

B.動作
次に、図3〜図9を参照して上記構成による電子楽器100の動作を説明する。以下では、電子楽器100の動作モードが難易度評価機能モードである場合に、CPU10が実行するメインルーチン、該当メインルーチンからコールされる難易度評価処理および当該難易度評価処理からコールされるコスト判定処理の各動作について述べる。
B. Operation Next, the operation of the electronic musical instrument 100 configured as described above will be described with reference to FIGS. Hereinafter, when the operation mode of the electronic musical instrument 100 is the difficulty evaluation function mode, the main routine executed by the CPU 10, the difficulty evaluation process called from the main routine, and the cost determination called from the difficulty evaluation process Each operation of the processing will be described.

(1)メインルーチンの動作
図3は、メインルーチンの動作を示すフローチャートである。メインルーチンは、モード切り替えスイッチにより電子楽器100の動作モードを難易度評価機能モードに切り替えた場合に実行される。動作モードが難易度評価機能モードに切り替えられると、CPU10は、図3に図示するメインルーチンを実行してステップSA1に処理を進め、楽器各部を初期化するイニシャライズを行う。イニシャライズが完了すると、CPU10はステップSA2に進み、終了スイッチによる終了操作の有無を判断する。終了操作が為されなければ、判断結果は「NO」になり、ステップSA3に進む。
(1) Operation of Main Routine FIG. 3 is a flowchart showing the operation of the main routine. The main routine is executed when the operation mode of the electronic musical instrument 100 is switched to the difficulty level evaluation function mode by the mode switch. When the operation mode is switched to the difficulty level evaluation function mode, the CPU 10 executes the main routine shown in FIG. 3 and proceeds to step SA1 to perform initialization for initializing each part of the instrument. When the initialization is completed, the CPU 10 proceeds to step SA2 and determines whether or not there is an end operation by the end switch. If the end operation is not performed, the determination result is “NO”, and the flow proceeds to Step SA3.

ステップSA3では、ROM11のデータエリアに記憶される複数曲の楽曲データの中から曲選択スイッチ操作により選択された楽曲データを読み出してRAM12の楽曲データエリアMEにストアするデータ入力処理を実行する。次いで、ステップSA4では、RAM12の楽曲データエリアMEにストアされた楽曲データに基づき難易度評価処理を実行する。   In step SA3, a data input process is performed in which the music data selected by the music selection switch operation is read from a plurality of music data stored in the data area of the ROM 11 and stored in the music data area ME of the RAM 12. Next, in step SA4, a difficulty level evaluation process is executed based on the music data stored in the music data area ME of the RAM 12.

難易度評価処理では、後述するように、右手パートを主体とした場合と、左手パートを主体とした場合とに分け、各場合毎に楽曲データ中の評価対象となる音符データ(レジスタmeの音符データ)を更新する都度、難易度(コスト)の種類(タイプ)の判別に用いる4つの音符データ(レジスタme、レジスタnext、レジスタotherおよびレジスタdiagonalにストアされる各音符データ)を楽曲データ中から検索し、該当する4つの音符データに含まれる指番号Figに基づいて両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を判定し、その種類(タイプ)の数を累算する動作を、楽曲データ中の全ての音符データを評価の対象にし終えるまで繰り返して楽曲データ中に存在する難易度(コスト)の種類(タイプ)毎の数を得る。そして、種類(タイプ)毎の難易度(コスト)を予め記憶したレジスタiCMTypeCost[1]〜[N]の中から楽曲データ中に存在する種類(タイプ)毎の難易度(コスト)を読み出して加算することで累算コストiCMCost(両手を使った鍵盤演奏の難易度)を取得する。   In the difficulty evaluation process, as will be described later, it is divided into a case where the right hand part is the main part and a case where the left hand part is the main part. In each case, the note data to be evaluated (the notes in the register me) Each time data is updated, four note data (each note data stored in a register me, a register next, a register other, and a register diagonal) used for determining the type (type) of difficulty (cost) are stored in the music data. Search, determine the type (type) of difficulty (cost) of keyboard performance using both hands based on the finger number Fig contained in the corresponding four note data, and accumulate the number of types (type) The operation is repeated until all the note data in the music data is evaluated, and the type of difficulty (cost) present in the music data Get the number of per-flops). Then, the difficulty level (cost) for each type (type) existing in the music data is read out from the register iCMTypeCost [1] to [N] in which the difficulty level (cost) for each type (type) is stored in advance. As a result, the accumulative cost iCMCost (the difficulty level of keyboard performance using both hands) is acquired.

この後、上述のステップSA2に処理を戻し、以後、終了操作が為されるまで上述したステップSA2〜SA9を繰り返し実行する。そして、終了操作が為されると、上記ステップSA2の判断結果が「YES」になり、本処理を終える。   Thereafter, the process is returned to the above-described step SA2, and thereafter, the above-described steps SA2 to SA9 are repeatedly executed until an end operation is performed. When the end operation is performed, the determination result in step SA2 is “YES”, and the present process ends.

(2)難易度評価処理の動作
次に、図4〜図5を参照して難易度評価処理の動作を説明する。上述したメインルーチンのステップSA4(図3参照)を介して本処理が実行されると、CPU10は図4に図示するステップSB1に処理を進め、ポインタiをゼロリセットし、続くステップSB2では、ポインタiが「2」より小さいか否か、つまり右手パートを主体とした難易度(コスト)の種類(タイプ)の判別および左手パートを主体とした難易度(コスト)の種類(タイプ)の判別の双方を終えたかどうかを判断する。
(2) Operation of difficulty level evaluation process Next, the operation of the difficulty level evaluation process will be described with reference to FIGS. When this process is executed via step SA4 (see FIG. 3) of the main routine described above, the CPU 10 proceeds to step SB1 shown in FIG. 4 to reset the pointer i to zero, and in the subsequent step SB2, the pointer Whether i is smaller than “2”, that is, determination of the type (type) of difficulty (cost) mainly using the right hand part and determination of the type (type) of difficulty (cost) mainly using the left hand part Judge whether you have finished both.

右手パートを主体とした難易度(コスト)の種類(タイプ)の判別および左手パートを主体とした難易度(コスト)の種類(タイプ)の判別の双方を終えていなければ、上記ステップSB2の判断結果は「YES」になり、ステップSB3に進む。ステップSB3では、ポインタiが「0」であるか否か判断する。ポインタiが「0」ならば、判断結果は「YES」となり、ステップSB4に進む。ステップSB4では、右手パートを主体とした難易度(コスト)の種類(タイプ)の判別を進める為、右手パートを指定するパート情報iRHをインデックスtrにセットすると共に、左手パートを指定するパート情報iLHをインデックスotrにセットした後、ステップSB6に進む。   If both the determination of the type (type) of the difficulty (cost) mainly based on the right hand part and the determination of the type (type) of the difficulty (cost) mainly based on the left hand part are not completed, the determination in step SB2 is performed. The result is “YES”, and the flow proceeds to step SB3. In step SB3, it is determined whether or not the pointer i is “0”. If the pointer i is “0”, the determination result is “YES”, and the flow proceeds to Step SB4. In step SB4, part information iRH for designating the right-hand part is set in the index tr and part information iLH for designating the left-hand part in order to proceed with the determination of the type (type) of difficulty (cost) mainly using the right-hand part. Is set to the index otr, and then the process proceeds to Step SB6.

そして、ステップSB6では、最初に評価の対象となる音符データとして、インデックスtrで指定される右手パートの先頭ノートの音符データをレジスタmeにストアする。続いて、ステップSB7では、楽曲データ中の全ての音符データを評価の対象にし終えたかどうかを判断する。全ての音符データを評価の対象にし終えていなければ、ここでの判断結果は「NO」になり、ステップSB8に進む。ステップSB8では、レジスタmeにストアされた音符データの次に発音する音符データを楽曲データ中から検索してレジスタnextにストアする。   In step SB6, the note data of the first note of the right-hand part specified by the index tr is stored in the register me as the note data to be evaluated first. Subsequently, in step SB7, it is determined whether or not all the note data in the music data has been evaluated. If all the note data has not been evaluated, the determination result here is “NO”, and the flow proceeds to step SB8. In step SB8, note data to be generated next to the note data stored in the register me is searched from the music data and stored in the register next.

次いで、ステップSB9では、レジスタmeにストアされた音符データと同一の発音タイミングであって、インデックスotrで指定されるパートの音符データを楽曲データ中から検索してレジスタotherにストアする。例えばポインタiが「0」の場合には、レジスタmeにストアされた音符データと同一の発音タイミングであって、インデックスotrで指定される左手パートの音符データがレジスタotherにストアされる。   Next, in step SB9, the musical note data of the part specified by the index otr at the same sounding timing as the musical note data stored in the register me is retrieved from the music data and stored in the register other. For example, when the pointer i is “0”, the note data of the left-hand part specified by the index otr at the same sounding timing as the note data stored in the register me is stored in the register other.

続いて、ステップSB10では、レジスタotherにストアされた音符データと同じパートで次に発音する音符データを楽曲データ中から検索してレジスタdiagonalにストアする。なお、上記ステップSB8〜SB10において、楽曲データ中に該当する音符データが存在しない場合には、例えば該当音無しを意味するヌルデータを対応するレジスタにストアする。   Subsequently, in step SB10, the musical note data to be generated next in the same part as the musical note data stored in the register other is retrieved from the music data and stored in the register diagonal. In Steps SB8 to SB10, if there is no corresponding note data in the music data, for example, null data indicating no corresponding sound is stored in the corresponding register.

さて、こうして難易度(コスト)の種類(タイプ)の判別に用いる4つの音符データがレジスタme、next、otherおよびdiagonalにストアされると、ステップSB11を介してコスト判定処理を実行する。コスト判定処理では、後述するように、レジスタme、next、otherおよびdiagonalにストアされた音符データが和音を構成する場合と、和音を構成しない場合と分け、各場合毎に4音の音符データに各々含まれる指番号Figに基づき両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号を判定する他、上記4音の中から1音が欠落した場合や、2音が欠落した場合における難易度(コスト)の種類(タイプ)を表すタイプ番号を判定し、さらに3音が欠落して両手を使った鍵盤演奏が成立しない場合には、タイプ番号として難易度(コスト)が存在しない旨を表す「0」を判定する。   When the four note data used for determining the type (type) of difficulty (cost) is stored in the registers me, next, other, and diagonal, the cost determination process is executed via step SB11. In the cost determination process, as will be described later, the note data stored in the registers me, next, other, and diagonal constitute a chord and the case where the chord does not constitute a chord. In addition to determining the type number indicating the type (type) of the difficulty (cost) of playing the keyboard using both hands based on the finger numbers Fig. If the type number representing the type (type) of difficulty (cost) in the case of missing is determined, and the keyboard performance using both hands is not established due to the lack of three sounds, the difficulty (cost) ) Is determined to indicate “0” does not exist.

上記ステップSB11のコスト判定処理によって、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号がレジスタiCMTypeにストアされると、ステップSB12に進み、そのレジスタiCMTypeの値(タイプ番号)が「0」より大きいか否かを判断する。レジスタiCMTypeの値(タイプ番号)が「0」より大きい場合、つまり両手を使った鍵盤演奏の難易度(コスト)が存在すると、上記ステップSB12の判断結果は「YES」になり、ステップSB13に進み、レジスタiCMTypeの値(タイプ番号)に対応するカウンタiCMTypeCnt[iCMType]をインクリメントした後、ステップSB14に進む。これによりレジスタiCMTypeの値(タイプ番号)で識別される難易度(コスト)の種類(タイプ)の数がカウントされる。   When the type number representing the type (type) of the difficulty (cost) of playing the keyboard using both hands is stored in the register iCMType by the cost determination process in step SB11, the process proceeds to step SB12, and the value of the register iCMType ( It is determined whether or not (type number) is greater than “0”. If the value (type number) of the register iCMType is greater than “0”, that is, if there is a difficulty level (cost) of playing the keyboard using both hands, the determination result in step SB12 is “YES”, and the process proceeds to step SB13. After incrementing the counter iCMTypeCnt [iCMType] corresponding to the value (type number) of the register iCMType, the process proceeds to step SB14. Accordingly, the number of types (types) of difficulty (cost) identified by the value (type number) of the register iCMType is counted.

一方、レジスタiCMTypeの値(タイプ番号)が「0」の場合、つまり両手を使った鍵盤演奏が成立せず難易度(コスト)が存在しなければ、上記ステップSB12の判断結果は「NO」になり、ステップSB14に進み、レジスタmeの音符データの次に発音する音符データを当該レジスタmeにストアして更新した後、上述のステップSB7に処理を戻す。   On the other hand, if the value (type number) of the register iCMType is “0”, that is, if the keyboard performance using both hands is not established and there is no difficulty (cost), the determination result in step SB12 is “NO”. Thus, the process proceeds to step SB14, the note data to be generated next to the note data in the register me is stored and updated in the register me, and the process returns to the above-described step SB7.

以後、ステップSB7〜SB14では、評価対象となる音符データ(レジスタmeの音符データ)を更新する毎に、難易度(コスト)の種類(タイプ)の判別に用いる4つの音符データ(レジスタme、レジスタnext、レジスタotherおよびレジスタdiagonalにストアされる各音符データ)を楽曲データ中から検索し、該当する音符データに基づき両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を判定し、その種類(タイプ)の数を累算する動作を繰り返す。   Thereafter, in steps SB7 to SB14, every time the note data to be evaluated (note data of the register me) is updated, four note data (register me, register) used to determine the type (type) of difficulty (cost). Next, each note data stored in the register, register other, and register diagonal) is searched from the music data, and the type (type) of the difficulty (cost) of keyboard performance using both hands is determined based on the corresponding note data. The operation of accumulating the number of types is repeated.

そして、楽曲データ中の全ての音符データを評価の対象にし終えると、上述したステップSB7の判断結果が「YES」になり、ステップSB15に進み、ポインタiをインクリメントして歩進させた後、上述のステップSB2に処理を戻す。この場合、右手パートを主体とした難易度(コスト)の種類(タイプ)の判別を終えただけなので、ポインタiは「2」より小さく、従ってステップSB2の判断結果は「YES」になり、ステップSB3に進む。   Then, when all the note data in the music data has been subjected to evaluation, the determination result in step SB7 described above becomes “YES”, the process proceeds to step SB15, the pointer i is incremented, and the above step is performed. The process returns to step SB2. In this case, since the determination of the type (type) of the difficulty level (cost) centered on the right-hand part has only been completed, the pointer i is smaller than “2”, and therefore the determination result in step SB2 is “YES”. Proceed to SB3.

ステップSB3では、ポインタiの歩進に応じて、判断結果が「NO」になり、ステップSB5に進み、左手パートを主体とした難易度(コスト)の種類(タイプ)の判別を進めるべく、左手パートを指定するパート情報iLHをインデックスtrにセットすると共に、右手パートを指定するパート情報iRHをインデックスotrにセットした後、ステップSB6に進む。   In step SB3, the determination result is “NO” in accordance with the progress of the pointer i, the process proceeds to step SB5, and the left-hand part is determined so as to proceed with the determination of the type (type) of difficulty (cost) mainly using the left-hand part. The part information iLH designating the part is set in the index tr, and the part information iRH designating the right-hand part is set in the index otr. Then, the process proceeds to Step SB6.

ステップSB6以降では、前述した右手パートを主体とした難易度(コスト)の種類(タイプ)の判別と同様、左手パートを主体とした難易度(コスト)の種類(タイプ)の判別を進める。すなわち、評価対象となる音符データ(レジスタmeの音符データ)を更新する毎に、難易度(コスト)の種類(タイプ)の判別に用いる4つの音符データ(レジスタme、レジスタnext、レジスタotherおよびレジスタdiagonalにストアされる各音符データ)を楽曲データ中から検索し、該当する音符データに基づき両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を判定し、その種類(タイプ)の数を累算する動作を繰り返す。   After step SB6, the determination of the type (type) of the difficulty (cost) mainly based on the left hand part is advanced in the same manner as the determination of the type (type) of the difficulty (cost) mainly based on the right hand part. That is, every time the note data to be evaluated (note data of the register me) is updated, the four note data (register me, register next, register other, and register) used to determine the type (type) of difficulty (cost) Each musical note data stored in the diagonal is searched from the music data, and the type (type) of the difficulty (cost) of playing the keyboard using both hands is determined based on the corresponding musical note data. Repeat the operation of accumulating numbers.

左手パートを主体とした難易度(コスト)の種類(タイプ)の判別が完了し、楽曲データ中の全ての音符データを評価の対象にし終えると、前述したステップSB7の判断結果が「YES」になり、ステップSB15に進み、ポインタiをインクリメントして歩進させた後、上述のステップSB2に処理を戻す。この場合、歩進されたポインタiが「2」となる為、ステップSB2の判断結果は「NO」になり、図5に図示するステップSB16に進む。   When the determination of the type (type) of the difficulty level (cost) centering on the left hand part is completed and all the note data in the music data has been evaluated, the determination result in step SB7 is “YES”. Thus, the process proceeds to step SB15, the pointer i is incremented and stepped, and then the process returns to step SB2. In this case, since the incremented pointer i is “2”, the determination result in step SB2 is “NO”, and the process proceeds to step SB16 shown in FIG.

ステップSB16では、ポインタiをゼロリセットし、続くステップSB17では、ポインタiがレジスタcmtypenに格納される種類(タイプ)の数より小さいか否かを判断する。なお、本実施形態では、種類(タイプ)の数を「14(種)」としている。そして、ポインタiがレジスタcmtypenに格納される種類(タイプ)の数より小さければ、上記ステップSB17の判断結果は「YES」となり、ステップSB18に進む。   In step SB16, the pointer i is reset to zero, and in subsequent step SB17, it is determined whether or not the pointer i is smaller than the number of types stored in the register cmtypen. In the present embodiment, the number of types (types) is “14 (types)”. If the pointer i is smaller than the number of types stored in the register cmtypen, the determination result in step SB17 is “YES”, and the flow advances to step SB18.

ステップSB18では、ポインタiをタイプ番号として指定するカウンタiCMTypeCnt[i]の値、すなわちポインタiで指定される難易度(コスト)の種類(タイプ)の数が「0」より大きいか否かを判断する。難易度(コスト)の種類(タイプ)の数が「0」以下、つまり両手を使った鍵盤演奏が成立せず難易度(コスト)が存在しない場合には、判断結果が「NO」になり、ステップSB20に進み、ポインタiをインクリメントして歩進させた後、上述のステップSB17に処理を戻す。   In step SB18, it is determined whether or not the value of the counter iCMTypeCnt [i] that designates the pointer i as a type number, that is, the number of types (types) of difficulty (cost) designated by the pointer i is greater than “0”. To do. When the number of types of difficulty (cost) is “0” or less, that is, when the keyboard performance using both hands is not established and there is no difficulty (cost), the determination result is “NO” In step SB20, the pointer i is incremented and incremented, and then the process returns to step SB17 described above.

一方、ポインタiで指定される難易度(コスト)の種類(タイプ)の数が「0」より大きく、難易度(コスト)が存在する場合には、上記ステップSB18の判断結果が「YES」になり、ステップSB19に進む。ステップSB19では、ポインタiで指定される種類(タイプ)の難易度(コスト)をレジスタiCMTypeCost[i]から読み出してレジスタiCMCostに加算する。そして、ステップSB20に進み、ポインタiをインクリメントして歩進させた後、上述のステップSB17に処理を戻す。   On the other hand, if the number of types (types) of difficulty (cost) specified by the pointer i is greater than “0” and there is a difficulty (cost), the determination result in step SB18 is “YES”. The process proceeds to step SB19. In step SB19, the difficulty (cost) of the type (type) designated by the pointer i is read from the register iCMTypeCost [i] and added to the register iCMCost. Then, the process proceeds to step SB20, the pointer i is incremented and stepped, and then the process returns to step SB17 described above.

以後、歩進されるポインタi(タイプ番号)がレジスタcmtypenに格納される種類(タイプ)の数を超えるまでの間、上述したステップSB17〜SB20を繰り返し、これによりポインタi(タイプ番号)に応じてレジスタiCMTypeCost[i]から読み出され、楽曲データ中に存在する種類(タイプ)毎の難易度(コスト)をレジスタiCMCostに加算し、曲を両手で弾く難易度に相当する累算コストiCMCostを取得する。   Thereafter, the above steps SB17 to SB20 are repeated until the incremented pointer i (type number) exceeds the number of types (types) stored in the register cmtypen, and according to the pointer i (type number). Then, the difficulty (cost) for each type (type) that is read from the register iCMTypeCost [i] and added in the music data is added to the register iCMCost, and an accumulated cost iCMCost corresponding to the difficulty of playing the music with both hands is obtained. get.

以上のように、難易度評価処理では、右手パートを主体とした場合と、左手パートを主体とした場合とに分け、各場合毎に楽曲データ中の評価対象となる音符データ(レジスタmeの音符データ)を更新する都度、難易度(コスト)の種類(タイプ)の判別に用いる4つの音符データ(レジスタme、レジスタnext、レジスタotherおよびレジスタdiagonalにストアされる各音符データ)を楽曲データ中から検索し、該当する4つの音符データに含まれる指番号Figに基づいて両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を判定し、その種類(タイプ)の数を累算する動作を、楽曲データ中の全ての音符データを評価の対象にし終えるまで繰り返すことによって、楽曲データ中に存在する難易度(コスト)の種類(タイプ)毎の数を得る。   As described above, the difficulty evaluation process is divided into a case where the right-hand part is the main part and a case where the left-hand part is the main part. In each case, the note data to be evaluated (the notes in the register me) Each time data is updated, four note data (each note data stored in a register me, a register next, a register other, and a register diagonal) used for determining the type (type) of difficulty (cost) are stored in the music data. Search, determine the type (type) of difficulty (cost) of keyboard performance using both hands based on the finger number Fig contained in the corresponding four note data, and accumulate the number of types (type) The difficulty (cost) that exists in the song data by repeating the operation until all the note data in the song data has been evaluated. Get the number of each type (type).

そして、種類(タイプ)毎の難易度(コスト)を予め記憶したレジスタiCMTypeCost[1]〜[N]の中から楽曲データ中に存在する種類(タイプ)毎の難易度(コスト)を読み出して加算することで累算コストiCMCostを取得する。累算コストiCMCostは、楽曲データで表される曲を両手を使って鍵盤演奏する際の難易度に相当するので、両手を使った鍵盤演奏の難易度を評価することが可能になる。   Then, the difficulty level (cost) for each type (type) existing in the music data is read out from the register iCMTypeCost [1] to [N] in which the difficulty level (cost) for each type (type) is stored in advance. As a result, the accumulated cost iCMCost is obtained. Since the accumulated cost iCMCost corresponds to the difficulty level when playing the music represented by the music data using both hands, it is possible to evaluate the difficulty level of the keyboard performance using both hands.

(3)コスト判定処理の動作
次に、図6〜図8を参照してコスト判定処理の動作を説明する。上述した難易度評価処理のステップSB11(図4参照)を介して本処理が実行されると、CPU10は図6に図示するステップSC1に処理を進める。ステップSC1では、レジスタmeの音符データ中の指番号Figをレジスタf0にストアし、レジスタnextの音符データ中の指番号Figをレジスタfnにストアする。また、レジスタotherの音符データ中の指番号Figをレジスタfoにストアし、レジスタdiagonalの音符データ中の指番号Figをレジスタfdにストアする。さらに、レジスタotherの音符データ中の指番号Figの換算値(小指側から数え直した指番号6−fo)をレジスタfo2にストアし、レジスタdiagonalの音符データ中の指番号Figの換算値(小指側から数え直した指番号6−fd)をレジスタfd2にストアする。
(3) Operation of Cost Determination Process Next, the operation of the cost determination process will be described with reference to FIGS. When this process is executed via step SB11 (see FIG. 4) of the difficulty level evaluation process described above, CPU 10 advances the process to step SC1 shown in FIG. In step SC1, the finger number Fig in the note data of the register me is stored in the register f0, and the finger number Fig in the note data of the register next is stored in the register fn. Further, the finger number Fig in the note data of the register other is stored in the register fo, and the finger number Fig in the note data of the register diagonal is stored in the register fd. Further, the converted value of finger number Fig in the note data of register other (finger number 6-fo counted again from the little finger side) is stored in register fo2, and the converted value of finger number Fig in the note data of register diagonal (small finger) The finger number 6-fd) counted again from the side is stored in the register fd2.

続いて、ステップSC2では、レジスタme、next、otherおよびdiagonalの全てについて欠落無く音符データがストアされているか否かを判断する。以下、「欠落の無い場合」、「1つ欠落した場合」、「2つ欠落した場合」および「3つ以上欠落した場合」に分けて動作説明を進める。   Subsequently, in step SC2, it is determined whether or not the note data is stored without omission for all of the registers me, next, other, and diagonal. Hereinafter, the operation description will be divided into “when there is no missing”, “when one is missing”, “when two are missing”, and “when three or more are missing”.

a.欠落の無い場合
レジスタme、next、otherおよびdiagonalの全てについて欠落無く音符データがストアされていると、上記ステップSC2の判断結果は「YES」となり、図7に図示するステップSC3に進む。ステップSC3では、和音の有無を判断する。すなわち、レジスタme、next、otherおよびdiagonalに格納される音符データが和音を構成する音高関係にあるかどうかを判断する。以下、和音を構成しない場合と、和音を構成する場合とに分けて動作説明を進める。
a. When there is no omission If the note data is stored without omission for all of the registers me, next, other, and diagonal, the determination result at step SC2 is "YES", and the process proceeds to step SC3 shown in FIG. In step SC3, it is determined whether or not a chord is present. That is, it is determined whether or not the note data stored in the registers me, next, other, and diagonal have a pitch relationship that constitutes a chord. In the following, the description of the operation will be divided into a case where a chord is not configured and a case where a chord is configured.

a−1.和音を構成しない場合
和音を構成しない場合には、上記ステップSC3の判断結果が「YES」になり、ステップSC4に進む。ステップSC4では、レジスタf0にストアされたレジスタmeの音符データ中の指番号Figと、レジスタfoにストアされたレジスタotherの音符データ中の指番号Figとが一致し、かつレジスタfnにストアされたレジスタnextの音符データ中の指番号Figと、レジスタfdにストアされたレジスタdiagonalの音符データ中の指番号Figとが一致するか否かを判断する。
a-1. When a chord is not formed When a chord is not formed, the determination result at step SC3 is “YES”, and the flow proceeds to step SC4. In step SC4, the finger number Fig in the note data of the register me stored in the register f0 matches the finger number Fig in the note data of the register other stored in the register fo and stored in the register fn. It is determined whether or not the finger number Fig in the note data of the register next matches the finger number Fig in the note data of the register diagonal stored in the register fd.

ここで、レジスタmeの音符データを評価対象となる第1音me、レジスタotherの音符データを第1音meと同じ発音タイミングで反対パートの第2音other、レジスタnextの音符データを第1音meの次に発音タイミングとなる第3音next、レジスタdiagonalの音符データを第1音meと同じ発音タイミングで反対のパートの第2音otherの次に発音タイミングとなる第4音diagonalと言い換える。   Here, the note data in the register me is the first note me to be evaluated, the note data in the register other is the second note other in the opposite part at the same sounding timing as the first note me, and the note data in the register next is the first note. In other words, the note data in the third sound next and the register diagonal which is the sound generation timing next to the me is the fourth sound diagonal which is the sound generation timing next to the second sound other of the opposite part at the same sound generation timing as the first sound me.

そうすると、上記ステップSC4が意味するところは、第1音meおよび第2音otherを左右両手の同じ指で弾き、次に第3音nextおよび第4音diagonalを左右両手の同じ指で弾く運指パターンであるかどうかを判別することになる。この運指パターンに該当すると、上記ステップSC4の判断結果が「YES」になり、ステップSC5に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「1」をレジスタiCMTypeにストアして本処理を終える。   Then, step SC4 means that the first sound me and the second sound other are played with the same fingers of both left and right hands, and then the third sound next and the fourth sound diagonal are played with the same fingers of both left and right hands. Whether or not the pattern is a pattern is determined. If it corresponds to this fingering pattern, the determination result in step SC4 is “YES”, the process proceeds to step SC5, and the type number “1” indicating the type (type) of difficulty (cost) of keyboard performance using both hands. Is stored in the register iCMType and the process is terminated.

一方、第1音meおよび第2音otherを左右両手の同じ指で弾き、次に第3音nextおよび第4音diagonalを左右両手の同じ指で弾く運指パターンに該当しなければ、上記ステップSC4の判断結果は「NO」になり、ステップSC6に進む。   On the other hand, if it does not correspond to the fingering pattern of playing the first sound me and the second sound other with the same fingers of both left and right hands, and then playing the third sound next and the fourth sound diagonal with the same fingers of both left and right hands, The determination result in SC4 is “NO”, and the flow proceeds to step SC6.

ステップSC6では、5通りの指使い(「一方の手の親指および他方の手の小指」、「一方の手の人差し指および他方の手の薬指」、「一方の手の中指および他方の手の中指」、「一方の手の薬指および他方の手の人差し指」、「一方の手の小指および他方の手の親指」)の何れかで第1音meおよび第2音otherを弾き、次に上記5通りの指使いの何れかで第3音nextおよび第4音diagonalを弾く運指パターンであるかどうかを判別する。   In step SC6, there are five ways to use fingers ("thumb of one hand and little finger of the other hand", "index finger of one hand and ring finger of the other hand", "middle finger of one hand and middle finger of the other hand). ”,“ Ring finger of one hand and forefinger of the other hand ”,“ the little finger of one hand and the thumb of the other hand ”), the first sound me and the second sound other, It is determined whether the fingering pattern is to play the third sound “next” and the fourth sound “diagonal” with any of the street fingering.

そして、この運指パターンに該当すると、上記ステップSC6の判断結果が「YES」になり、ステップSC7に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「2」をレジスタiCMTypeにストアして本処理を終える。   If this fingering pattern is met, the determination result in step SC6 is “YES”, and the process proceeds to step SC7, where the type number “type” indicating the type (type) of difficulty (cost) of keyboard performance using both hands is entered. 2 "is stored in the register iCMType, and this process is terminated.

これに対し、上記の運指パターンに該当しなければ、上記ステップSC6の判断結果は「NO」になり、ステップSC8に進む。ステップSC8では、レジスタfnにストアされたレジスタnextの音符データ中の指番号Figからレジスタf0にストアされたレジスタmeの音符データ中の指番号Figを減算した値(fn−f0)と、レジスタfdにストアされたレジスタdiagonalの音符データ中の指番号Figからレジスタfoにストアされたレジスタotherの音符データ中の指番号Figを減算した値(fd−fo)との差分を算出してレジスタaにストアする。   On the other hand, if it does not correspond to the above fingering pattern, the determination result in step SC6 is “NO”, and the process proceeds to step SC8. In step SC8, a value (fn-f0) obtained by subtracting the finger number Fig in the note data of the register me stored in the register f0 from the finger number Fig in the note data of the register next stored in the register fn, and the register fd. The difference between the finger number Fig in the note data in the register other stored in the register fo and the value (fd-fo) subtracted from the finger number in the note data in the register diagonal stored in the register fo is calculated in the register a. Store.

ここで、fn−f0は一方の手で第1音meを弾く指と第3音nextを弾く指との離れ具合(指の数)となり、fd−foは他方の手で第2音otherを弾く指と第4音diagonalを弾く指との離れ具合(指の数)となる。したがって、レジスタaには、一方の手で弾く指の離れ具合(指の数)と他方の手で弾く指の離れ具合(指の数)との差分値、換言すれば両手の指使いの左右対称性を表す値がストアされる。つまり、両手の指使いが左右対称であれば、一方の手で弾く指の離れ具合(指の数)と他方の手で弾く指の離れ具合(指の数)との差分値は「0」となり、両手の指使いが左右非対称になるほど差分値は増加(最大値は「3」)する。   Here, fn-f0 is the distance (number of fingers) between the finger playing the first sound me and the finger playing the third sound next with one hand, and fd-fo is the second sound other with the other hand. This is the degree of separation (number of fingers) between the finger that plays and the finger that plays the fourth sound diagonal. Accordingly, the register a has a difference value between the degree of finger separation (number of fingers) played with one hand and the degree of finger separation (number of fingers) played with the other hand, in other words, the left and right of the finger usage of both hands. A value representing symmetry is stored. That is, if the finger usage of both hands is symmetrical, the difference value between the degree of finger separation (number of fingers) played with one hand and the degree of finger separation (number of fingers) played with the other hand is “0”. The difference value increases (the maximum value is “3”) as the finger usage of both hands becomes asymmetrical.

続いて、ステップSC9では、レジスタaにストアされた差分値(両手の指使いの左右対称性を表す値)が「0」であるか否かを判断する。差分値が「0」であれば、判断結果は「YES」になり、ステップSC10に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「3」をレジスタiCMTypeにストアして本処理を終える。   Subsequently, in step SC9, it is determined whether or not the difference value stored in the register a (a value representing the left / right symmetry of finger usage of both hands) is “0”. If the difference value is “0”, the determination result is “YES”, the process proceeds to step SC10, and the type number “3” indicating the type (type) of difficulty (cost) of keyboard performance using both hands is registered. Store in iCMType and finish this process.

一方、レジスタaにストアされた差分値が「0」でなければ、上記ステップSC9の判断結果は「NO」になり、ステップSC11に進み、レジスタaにストアされた差分値(両手の指使いの左右対称性を表す値)が「1」であるか否かを判断する。差分値が「1」ならば、判断結果は「YES」になり、ステップSC12に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「4」をレジスタiCMTypeにストアして本処理を終える。   On the other hand, if the difference value stored in the register a is not “0”, the determination result in step SC9 is “NO”, and the process proceeds to step SC11. It is determined whether or not (value representing left-right symmetry) is “1”. If the difference value is “1”, the determination result is “YES”, the process proceeds to step SC12, and the type number “4” representing the type (type) of difficulty (cost) of keyboard performance using both hands is registered in the register iCMType. To store the data and finish the process.

これに対し、レジスタaにストアされた差分値が「1」でなければ、上記ステップSC11の判断結果は「NO」になり、ステップSC13に進み、レジスタaにストアされた差分値(両手の指使いの左右対称性を表す値)が「2」であるか否かを判断する。差分値が「2」であると、判断結果は「YES」になり、ステップSC14に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「5」をレジスタiCMTypeにストアして本処理を終える。   On the other hand, if the difference value stored in the register a is not “1”, the determination result in step SC11 is “NO”, and the process proceeds to step SC13. It is determined whether or not (a value representing left-right symmetry of use) is “2”. If the difference value is “2”, the determination result is “YES”, and the process proceeds to step SC14 to register the type number “5” indicating the type (type) of difficulty (cost) of keyboard performance using both hands. Store in iCMType and finish this process.

一方、レジスタaにストアされた差分値が「2」でなければ、上記ステップSC13の判断結果は「NO」になり、ステップSC15に進み、レジスタaにストアされた差分値(両手の指使いの左右対称性を表す値)が「3」であるか否かを判断する。レジスタaにストアされた差分値(両手の指使いの左右対称性を表す値)が「3」でない場合、つまり両手の指使いが成立しない状況ならば、判断結果は「NO」になり、難易度(コスト)の種類(タイプ)を判定せずに本処理を終えるが、差分値が「3」であると、上記ステップSC15の判断結果は「YES」になり、ステップSC16に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「6」をレジスタiCMTypeにストアして本処理を終える。   On the other hand, if the difference value stored in the register a is not “2”, the determination result in step SC13 is “NO”, and the process proceeds to step SC15. It is determined whether or not (value representing left-right symmetry) is “3”. If the difference value stored in the register a (a value representing the left / right symmetry of the finger usage of both hands) is not “3”, that is, if the finger usage of both hands is not established, the determination result is “NO”, which is difficult. This process ends without determining the type (type) of the degree (cost), but if the difference value is “3”, the determination result in step SC15 is “YES”, and the process proceeds to step SC16. The type number “6” representing the type (type) of difficulty (cost) of the keyboard performance used is stored in the register iCMType, and the process is terminated.

a−2.和音を構成する場合
和音を構成する場合には、前述したステップSC3の判断結果が「NO」になり、図8に図示するステップSC17に進む。ステップSC17では、前述したステップSC4(図7参照)と同様、第1音meおよび第2音otherを左右両手の同じ指で弾き、次に第3音nextおよび第4音diagonalを左右両手の同じ指で弾く運指パターンであるかどうかを判別する。この運指パターンに該当すると、判断結果は「YES」になり、ステップSC18に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「8」をレジスタiCMTypeにストアして本処理を終える。
a-2. When Constructing a Chord When composing a chord, the determination result of step SC3 is “NO”, and the process proceeds to step SC17 shown in FIG. In step SC17, as in step SC4 (see FIG. 7) described above, the first sound me and the second sound other are played with the same fingers of both left and right hands, and then the third sound next and the fourth sound diagonal are the same in both left and right hands. It is determined whether the fingering pattern is to play with a finger. If it corresponds to this fingering pattern, the determination result is “YES”, and the process proceeds to step SC18, where the type number “8” indicating the type (type) of difficulty (cost) of keyboard performance using both hands is stored in the register iCMType. Store and finish this process.

一方、第1音meおよび第2音otherを左右両手の同じ指で弾き、次に第3音nextおよび第4音diagonalを左右両手の同じ指で弾く運指パターンに該当しなければ、上記ステップSC17の判断結果は「NO」になり、ステップSC19に進む。   On the other hand, if it does not correspond to the fingering pattern of playing the first sound me and the second sound other with the same fingers of both left and right hands, and then playing the third sound next and the fourth sound diagonal with the same fingers of both left and right hands, The determination result in SC17 is “NO”, and the flow proceeds to step SC19.

ステップSC19では、5通りの指使い(「一方の手の親指および他方の手の小指」、「一方の手の人差し指および他方の手の薬指」、「一方の手の中指および他方の手の中指」、「一方の手の薬指および他方の手の人差し指」、「一方の手の小指および他方の手の親指」)の何れかで第1音meおよび第2音otherを弾き、次に上記5通りの指使いの何れかで第3音nextおよび第4音diagonalを弾く運指パターンであるかどうかを判別する。   In step SC19, there are five ways to use fingers ("thumb of one hand and little finger of the other hand", "index finger of one hand and ring finger of the other hand", "middle finger of one hand and middle finger of the other hand). ”,“ Ring finger of one hand and forefinger of the other hand ”,“ the little finger of one hand and the thumb of the other hand ”), the first sound me and the second sound other, It is determined whether the fingering pattern is to play the third sound “next” and the fourth sound “diagonal” with any of the street fingering.

そして、この運指パターンに該当すると、上記ステップSC19の判断結果が「YES」になり、ステップSC20に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「9」をレジスタiCMTypeにストアして本処理を終える。   If this fingering pattern is met, the determination result in step SC19 is “YES”, and the process proceeds to step SC20, where the type number “type” indicating the type (type) of difficulty (cost) of keyboard performance using both hands is entered. 9 "is stored in the register iCMType, and this process is terminated.

これに対し、上記の運指パターンに該当しなければ、上記ステップSC19の判断結果は「NO」になり、ステップSC21に進む。ステップSC21では、前述したステップSC8(図7参照)と同様、一方の手で弾く指の離れ具合(指の数)fn−f0と他方の手で弾く指の離れ具合(指の数)fd−foとの差分値、すなわち両手の指使いの左右対称性を表す値をレジスタaにストアする。   On the other hand, if it does not correspond to the above fingering pattern, the determination result in step SC19 is “NO”, and the process proceeds to step SC21. In step SC21, as in step SC8 (see FIG. 7) described above, the degree of finger separation (number of fingers) fn−f0 and the degree of finger separation (number of fingers) fd− with the other hand fd− A difference value from fo, that is, a value representing left-right symmetry of finger usage of both hands is stored in the register a.

続いて、ステップSC22では、レジスタaにストアされた差分値(両手の指使いの左右対称性を表す値)が「0」であるか否かを判断する。差分値が「0」であれば、判断結果は「YES」になり、ステップSC23に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「10」をレジスタiCMTypeにストアして本処理を終える。   Subsequently, in step SC22, it is determined whether or not the difference value stored in the register a (a value representing the left / right symmetry of finger usage of both hands) is “0”. If the difference value is “0”, the determination result is “YES”, and the process proceeds to step SC23 to register the type number “10” representing the type (type) of difficulty (cost) of keyboard performance using both hands. Store in iCMType and finish this process.

一方、レジスタaにストアされた差分値が「0」でなければ、上記ステップSC22の判断結果は「NO」になり、ステップSC24に進み、レジスタaにストアされた差分値(両手の指使いの左右対称性を表す値)が「1」であるか否かを判断する。差分値が「1」ならば、判断結果は「YES」になり、ステップSC25に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「11」をレジスタiCMTypeにストアして本処理を終える。   On the other hand, if the difference value stored in the register a is not “0”, the determination result in step SC22 is “NO”, and the process proceeds to step SC24. It is determined whether or not (value representing left-right symmetry) is “1”. If the difference value is “1”, the determination result is “YES”, the process proceeds to step SC25, and the type number “11” indicating the type (type) of difficulty (cost) of keyboard performance using both hands is registered in the register iCMType. To store the data and finish the process.

これに対し、レジスタaにストアされた差分値が「1」でなければ、上記ステップSC24の判断結果は「NO」になり、ステップSC26に進み、レジスタaにストアされた差分値(両手の指使いの左右対称性を表す値)が「2」であるか否かを判断する。差分値が「2」であると、判断結果は「YES」になり、ステップSC27に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「12」をレジスタiCMTypeにストアして本処理を終える。   On the other hand, if the difference value stored in the register a is not “1”, the determination result in step SC24 is “NO”, and the process proceeds to step SC26. It is determined whether or not (a value representing left-right symmetry of use) is “2”. If the difference value is “2”, the determination result is “YES”, the process proceeds to step SC27, and the type number “12” representing the type (type) of difficulty (cost) of keyboard performance using both hands is registered. Store in iCMType and finish this process.

一方、レジスタaにストアされた差分値が「2」でなければ、上記ステップSC26の判断結果は「NO」になり、ステップSC28に進み、レジスタaにストアされた差分値(両手の指使いの左右対称性を表す値)が「3」であるか否かを判断する。レジスタaにストアされた差分値(両手の指使いの左右対称性を表す値)が「3」でない場合、つまり両手の指使いが成立しない状況ならば、判断結果は「NO」になり、難易度(コスト)の種類(タイプ)を判定せずに本処理を終えるが、差分値が「3」であると、上記ステップSC28の判断結果は「YES」になり、ステップSC29に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「13」をレジスタiCMTypeにストアして本処理を終える。   On the other hand, if the difference value stored in the register a is not “2”, the determination result in step SC26 is “NO”, and the process proceeds to step SC28. It is determined whether or not (value representing left-right symmetry) is “3”. If the difference value stored in the register a (a value representing the left / right symmetry of the finger usage of both hands) is not “3”, that is, if the finger usage of both hands is not established, the determination result is “NO”, which is difficult. This process ends without determining the type (type) of the degree (cost), but if the difference value is “3”, the determination result in step SC28 is “YES”, and the process proceeds to step SC29. The type number “13” representing the type (type) of difficulty (cost) of the keyboard performance used is stored in the register iCMType, and this processing is completed.

b.1つが欠落した場合
レジスタme、next、otherおよびdiagonalの内、1つの音符データが欠落していると、ステップSC30(図6参照)の判断結果が「YES」となり、ステップSC31に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「15」をレジスタiCMTypeにストアして本処理を終える。
b. When one is missing If one note data is missing from the registers me, next, other and diagonal, the determination result in step SC30 (see FIG. 6) is “YES”, and the process proceeds to step SC31. The type number “15” representing the type (type) of difficulty (cost) of the keyboard performance used is stored in the register iCMType, and this processing is completed.

c.2つが欠落した場合
レジスタme、next、otherおよびdiagonalの内、2つの音符データが欠落していると、ステップSC32の判断結果が「YES」となり、ステップSC33に進み、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「19」をレジスタiCMTypeにストアして本処理を終える。
c. When two are missing If two note data are missing from the registers me, next, other, and diagonal, the determination result in step SC32 is “YES”, and the process proceeds to step SC33 to play the keyboard performance using both hands. The type number “19” representing the type (type) of the difficulty level (cost) is stored in the register iCMType, and this processing is completed.

d.3つ以上欠落した場合
レジスタme、next、otherおよびdiagonalの内、3つ以上の音符データが欠落していると、上記ステップSC32の判断結果が「NO」となり、ステップSC34に進み、両手を使った鍵盤演奏が成立せず難易度(コスト)が存在しない旨を表す「0」を、レジスタiCMTypeにストアして本処理を終える。
d. When three or more are missing If three or more note data are missing from the registers me, next, other, and diagonal, the determination result in step SC32 is “NO”, and the process proceeds to step SC34. “0” indicating that the keyboard performance is not established and the difficulty level (cost) does not exist is stored in the register iCMType, and this processing is completed.

以上のように、評価対象となる第1音me、第1音meと同じ発音タイミングで反対パートの第2音other、第1音meの次に発音タイミングとなる第3音nextおよび第1音meと同じ発音タイミングで反対のパートの第2音otherの次に発音タイミングとなる第4音diagonalが前述の難易度評価処理によって楽曲データ中から検索されると、コスト判定処理では、それら4音が和音を構成する場合と和音を構成しない場合と分け、各場合毎に4音の音符データに各々含まれる指番号Figに基づき両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号を判定する他、上記4音の中から1音が欠落した場合や、2音が欠落した場合における難易度(コスト)の種類(タイプ)を表すタイプ番号を判定し、さらに3音が欠落して両手を使った鍵盤演奏が成立しない場合には、タイプ番号として難易度(コスト)が存在しない旨を表す「0」を判定する。   As described above, the first sound me to be evaluated, the second sound other of the opposite part at the same sounding timing as the first sound me, the third sound next and the first sound that are the sounding timing next to the first sound me. When the fourth sound diagonal, which is the sound generation timing next to the second sound other of the opposite part at the same sound generation timing as me, is searched from the music data by the above-described difficulty evaluation process, the four sound sounds in the cost determination process. The type of difficulty (cost) of playing the keyboard with both hands based on the finger number Fig included in the note data of 4 notes for each case, separately from the case of forming a chord and the case of not forming a chord In addition to determining the type number representing the type number, the type number representing the type (type) of difficulty (cost) when one sound is missing from the above four sounds or when two sounds are missing. Constant and, in the case of a further 3 keyboard playing sound with both hands missing is not satisfied, it is determined to "0" indicating that the degree of difficulty (cost) does not exist as a type number.

C.具体的な動作例
次に、図9を参照して難易度評価処理の具体的な動作例を説明する。図9(a)は、右手パートおよび左手パートからなる楽曲データの一部を楽譜表示した一例、同図(b)は当該楽曲データの一部を左右両手で弾く場合の運指を示す。なお、図9(a)の楽譜において音符近傍に図示される数値は指番号Figを示す。
C. Specific Operation Example Next, a specific operation example of the difficulty level evaluation process will be described with reference to FIG. FIG. 9A shows an example in which a part of music data composed of a right hand part and a left hand part is displayed as a score, and FIG. 9B shows fingering when a part of the music data is played with both left and right hands. The numerical value shown in the vicinity of the note in the score of FIG. 9A indicates the finger number FIG.

図9に図示する楽譜において、右手パートの1小節目第2音(C5音)を、評価対象となる第1音meとした場合、難易度評価処理のステップSB8(図4参照)により、右手パートの2小節目第1音(G5音)が第3音nextとなり、難易度評価処理のステップSB9により、左手パートの1小節目第2音(C4音)が第2音otherとなり、難易度評価処理のステップSB10により、左手パートの2小節目第1音(E4音)が第4音diagonalとなる。   In the score shown in FIG. 9, when the second sound (C5 sound) of the first bar of the right hand part is the first sound me to be evaluated, the right hand is obtained by step SB8 (see FIG. 4) of the difficulty level evaluation process. The first sound (G5 sound) of the second measure of the part becomes the third sound next, and the second sound of the first measure (C4 sound) of the left hand part becomes the second sound other by the step SB9 of the difficulty evaluation process, and the difficulty level By the step SB10 of the evaluation process, the second measure first sound (E4 sound) of the left hand part becomes the fourth sound diagonal.

そして、難易度評価処理のステップSB11を介してコスト判定処理が実行されると、この場合、右手で第1音meを弾く親指「1」と第3音nextを弾く薬指「4」との離れ具合(指の数)fn−f0が「3」、左手で第2音otherを弾く親指「1」と第4音diagonalを弾く人差し指「2」との離れ具合(指の数)fd−foが「1」となるので、両手の指使いの左右対称性を表す値としてレジスタaに「2」がストアされる結果、コスト判定処理のステップSC14(図7参照)により、両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を表すタイプ番号「5」がレジスタiCMTypeにストアされる。   Then, when the cost determination process is executed through step SB11 of the difficulty level evaluation process, in this case, the thumb “1” playing the first sound me with the right hand and the ring finger “4” playing the third sound next are separated. The condition (number of fingers) fn−f0 is “3”, the left finger “1” playing the second sound other and the index finger “2” playing the fourth sound diagonal (number of fingers) fd−fo is Since “1” is set, “2” is stored in the register a as a value representing the left / right symmetry of the finger usage of both hands. As a result, the keyboard performance using both hands is performed in step SC14 (see FIG. 7) of the cost determination process. The type number “5” indicating the type (type) of the difficulty (cost) is stored in the register iCMType.

以後、同様に右手パートを主体として、評価対象となる音符データ(レジスタmeの音符データ)を更新する毎に、難易度(コスト)の種類(タイプ)の判別に用いる4つの音符データ(レジスタme、レジスタnext、レジスタotherおよびレジスタdiagonalにストアされる各音符データ)を楽曲データ中から検索し、該当する音符データに基づき両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を判定し、その種類(タイプ)の数を累算する動作を、楽曲データ中の右手パートの全ての音符データを評価対象として読み出し終えるまで繰り返す。   Thereafter, each time the note data to be evaluated (note data in the register me) is updated, with the right-hand part as the subject, the four note data (register me) used to determine the type (type) of the difficulty (cost) , Register next, register other and each note data stored in register diagonal) are searched from the music data, and the type (type) of difficulty (cost) of keyboard performance using both hands is determined based on the corresponding note data. Then, the operation of accumulating the number of types is repeated until all the note data of the right-hand part in the music data is read out as the evaluation target.

そして、右手パートを主体とした難易度(コスト)の種類(タイプ)の判別を終えると、次に左手パートを主体として同様の難易度(コスト)の種類(タイプ)の判別を行い、楽曲データ中に存在する難易度(コスト)の種類(タイプ)毎の数を得る。そして、種類(タイプ)毎の難易度(コスト)を予め記憶したレジスタiCMTypeCost[1]〜[N]の中から楽曲データ中に存在する種類(タイプ)毎の難易度(コスト)を読み出して加算し、曲を両手で弾く難易度に相当する累算コストiCMCostを取得する。   When the determination of the type (type) of the difficulty level (cost) with the right hand part as the subject is completed, the same difficulty type (cost) type (type) is determined with the left hand part as the subject. Get the number of difficulty (cost) for each type. Then, the difficulty level (cost) for each type (type) existing in the music data is read out from the register iCMTypeCost [1] to [N] in which the difficulty level (cost) for each type (type) is stored in advance. Then, an accumulated cost iCMCost corresponding to the difficulty level of playing a song with both hands is acquired.

以上説明したように、本実施形態では、評価対象となる第1音me、第1音meと同じ発音タイミングで反対パートの第2音other、第1音meの次に発音タイミングとなる第3音nextおよび第1音meと同じ発音タイミングで反対のパートの第2音otherの次に発音タイミングとなる第4音diagonalの各音符データを楽曲データ中から検索し、該当する4つの音符データに含まれる指番号Figに基づいて両手を使った鍵盤演奏の難易度(コスト)の種類(タイプ)を判定し、その種類(タイプ)の数を累算する動作を、楽曲データ中の全ての音符データを評価の対象にし終えるまで繰り返して楽曲データ中に存在する難易度(コスト)の種類(タイプ)毎の数を得る。そして、種類(タイプ)毎の難易度(コスト)を予め記憶したレジスタiCMTypeCost[1]〜[N]の中から楽曲データ中に存在する種類(タイプ)毎の難易度(コスト)を読み出して加算し、曲を両手で弾く難易度に相当する累算コストiCMCostを取得するので、両手を使った鍵盤演奏の難易度を評価することができる。   As described above, in the present embodiment, the first sound me to be evaluated, the second sound other of the opposite part at the same sounding timing as the first sound me, and the third sounding timing next to the first sound me. The musical note data is searched for each note data of the fourth sound diagonal, which is the next pronunciation other than the second sound other of the opposite part at the same sound generation timing as the sound next and the first sound me, and the corresponding four note data is obtained. Based on the included finger number Fig, the type (type) of the difficulty (cost) of keyboard performance using both hands is determined, and the operation of accumulating the number of types (types) is performed for all notes in the music data. It repeats until it finishes making data into the object of evaluation, and the number for every kind (type) of difficulty (cost) which exists in music data is obtained. Then, the difficulty level (cost) for each type (type) existing in the music data is read out from the register iCMTypeCost [1] to [N] in which the difficulty level (cost) for each type (type) is stored in advance. Since the accumulated cost iCMCost corresponding to the difficulty level of playing a song with both hands is acquired, the difficulty level of keyboard performance using both hands can be evaluated.

なお、上述した実施形態では、楽曲データ中に存在する種類(タイプ)毎の難易度(コスト)を累算して難易度を評価する態様としたが、これに加えて、楽曲データ中に存在する難易度(コスト)の種類(タイプ)毎の数に応じて、その種類(タイプ)に対応する難易度(コスト)を重み付けしてから累算することも可能である。   In the above-described embodiment, the difficulty (cost) for each type (type) present in the music data is accumulated to evaluate the difficulty, but in addition to this, it exists in the music data. Depending on the number of difficulty levels (costs) for each type (type), the difficulty level (cost) corresponding to the type (type) may be weighted and accumulated.

また、本実施形態では、ユーザの演奏技量を考慮した難易度評価を行っていないが、例えば「右手小指を動かし難い」、「左手薬指での押鍵が苦手」、「手が小さく所定音高差以上の2音を同時押鍵できない」等のユーザ個別の演奏技能を加味すべく、両手を使った鍵盤演奏において特定の運指が為される場合の難易度(コスト)を調整する態様とすることも可能であり、このようにすることでユーザの演奏技量にマッチした難易度評価を具現出来る。   In the present embodiment, the difficulty level evaluation is not performed in consideration of the user's performance skill, but for example, “It is difficult to move the right hand little finger”, “It is difficult to press the key with the left ring finger”, “The hand is small and the predetermined pitch is high. A mode of adjusting the difficulty (cost) when a specific fingering is performed in keyboard performance using both hands in order to take into account the user's individual performance skills such as "cannot simultaneously press two sounds exceeding the difference" In this way, it is possible to implement a difficulty evaluation that matches the performance skill of the user.

加えて、上述した実施形態では、評価対象となる第1音me、第1音meと同じ発音タイミングで反対パートの第2音other、第1音meの次に発音タイミングとなる第3音nextおよび第1音meと同じ発音タイミングで反対のパートの第2音otherの次に発音タイミングとなる第4音diagonalを弾く指の組み合わせで難易度(コスト)を評価できるものと仮定しているが、これに限らず4音以上弾く指の組み合わせで難易度(コスト)を評価する態様も当然可能であることは言うまでもない。   In addition, in the above-described embodiment, the first sound me to be evaluated, the second sound other of the opposite part at the same sounding timing as the first sound me, and the third sound next that is the sounding timing next to the first sound me. Also, it is assumed that the difficulty (cost) can be evaluated by a combination of fingers playing the fourth sound diagonal which is the sounding timing next to the second sound other of the opposite part at the same sounding timing as the first sound me. Of course, the present invention is not limited to this, and it is of course possible to evaluate the difficulty (cost) with a combination of fingers that play four or more sounds.

以上、本発明の実施の一形態について説明したが、本発明はそれに限定されるものではなく、本願出願の特許請求の範囲に記載された発明とその均等の範囲に含まれる。以下では、本願出願当初の特許請求の範囲に記載された各発明について付記する。   As mentioned above, although one Embodiment of this invention was described, this invention is not limited to it, It is included in the invention described in the claim of this-application, and its equivalent range. Hereinafter, each invention described in the scope of claims at the beginning of the present application will be additionally described.

(付記)
[請求項1]
曲を構成する音符夫々を演奏するに必要な指を表す指番号および当該音符の演奏パートを識別するパートデータを含む音符データの中から、当該音符データに含まれるパートデータに基づいて所定の関係にある第1乃至第4の音符データを検索し、該当する第1乃至第4の音符データにそれぞれ含まれる指番号に基づき両手で演奏する場合の難易度のタイプを判定するタイプ判定手段と、
前記タイプ判定手段により判定されたタイプ毎の難易度値を曲を両手で演奏する場合の難易度として取得する難易度取得手段と
を具備することを特徴とする演奏難易度評価装置。
(Appendix)
[Claim 1]
A predetermined relationship based on the part data included in the note data from among the note data including the finger number indicating the finger necessary to play each note constituting the song and the part data for identifying the performance part of the note. Type determination means for searching for the first to fourth note data and determining the type of difficulty when playing with both hands based on the finger numbers respectively included in the corresponding first to fourth note data;
A difficulty level evaluation device comprising: difficulty level acquisition means for acquiring a difficulty level value for each type determined by the type determination means as a difficulty level when a song is played with both hands.

[請求項2]
前記タイプ判定手段は、前記音符データに含まれるパートデータに基づいて所定の関係にある第1乃至第4の音符データを順次検索し、該当する第1乃至第4の音符データにそれぞれ含まれる指番号に基づき両手で演奏する場合の難易度のタイプを判定し、
前記難易度取得手段は、前記タイプ判定手段により判定されたタイプ毎の難易度値を順次累算し、曲を両手で演奏する場合の難易度を取得することを特徴とする請求項1記載の演奏難易度評価装置。
[Claim 2]
The type determination means sequentially searches the first to fourth note data having a predetermined relationship based on the part data included in the note data, and specifies the finger data included in the corresponding first to fourth note data. Determine the type of difficulty when playing with both hands based on the number,
2. The difficulty level acquiring unit according to claim 1, wherein the difficulty level acquisition unit sequentially accumulates the difficulty level value determined for each type determined by the type determination unit, and acquires the level of difficulty when playing a song with both hands. Performance difficulty evaluation device.

[請求項3]
前記タイプ判定手段は、評価対象となる第1音me、第1音meと同じ発音タイミングで反対パートの第2音other、第1音meの次に発音タイミングとなる第3音nextおよび第1音meと同じ発音タイミングで反対のパートの第2音otherの次に発音タイミングとなる第4音diagonalの各音符データを前記第1乃至第4の音符データとして順次検索する検索手段を備えることを特徴とする請求項1記載の演奏難易度評価装置。
[Claim 3]
The type determination means includes the first sound me to be evaluated, the second sound other of the opposite part at the same sound generation timing as the first sound me, the third sound next and the first sound next to the sound generation timing after the first sound me. Search means for sequentially searching each note data of the fourth sound diagonal which is the sound generation timing next to the second sound other of the opposite part at the same sound generation timing as the sound me as the first to fourth note data. The performance difficulty evaluation device according to claim 1, wherein:

[請求項4]
前記タイプ判定手段は、
右手パートを主体として、評価対象となる第1の音符データを更新する毎に、難易度のタイプ判別に用いる第1乃至第4の音符データを順次検索し、該当する第1乃至第4の音符データにそれぞれ含まれる指番号に基づき両手で弾く難易度のタイプを判定する第1の判定手段と、
左手パートを主体として、評価対象となる第1の音符データを更新する毎に、難易度のタイプ判別に用いる第1乃至第4の音符データを順次検索し、該当する第1乃至第4の音符データにそれぞれ含まれる指番号に基づき両手で弾く難易度のタイプを判定する第2の判定手段と
を備えることを特徴とする請求項1記載の演奏難易度評価装置。
[Claim 4]
The type determining means includes
Each time the first note data to be evaluated is updated with the right hand part as the subject, the first to fourth note data used for type determination of the difficulty level are sequentially searched, and the corresponding first to fourth note data are retrieved. First determination means for determining the type of difficulty to play with both hands based on the finger numbers included in each data;
Each time the first note data to be evaluated is updated with the left hand part as the subject, the first to fourth note data used for the type determination of the difficulty level are sequentially searched, and the corresponding first to fourth note data are retrieved. The performance difficulty evaluation device according to claim 1, further comprising: a second determination unit that determines a type of difficulty level to play with both hands based on finger numbers included in each data.

[請求項5]
前記第1および第2の判定手段は、第1乃至第4の音符データにそれぞれ含まれる指番号に基づき、一方の手で弾く指の離れ具合と他方の手で弾く指の離れ具合とで定まる両手の指使いの左右対称性に応じて両手で弾く難易度のタイプを判定することを特徴とする請求項4記載の演奏難易度評価装置。
[Claim 5]
The first and second determination means are determined by the degree of separation of a finger played with one hand and the degree of separation of a finger played with the other hand, based on finger numbers included in the first to fourth note data, respectively. 5. The performance difficulty evaluation device according to claim 4, wherein the type of difficulty of playing with both hands is determined in accordance with the left / right symmetry of finger usage of both hands.

[請求項6]
前記第1および第2の判定手段は、第1乃至第4の音符データが揃わない場合、欠落する音符データの数に応じて、両手で弾く難易度のタイプを判定することを特徴とする請求項4記載の演奏難易度評価装置。
[Claim 6]
The first and second determining means, when the first to fourth note data are not prepared, determines the type of difficulty of playing with both hands according to the number of missing note data. Item 4. The performance difficulty evaluation device according to Item 4.

[請求項7]
前記第1および第2の判定手段は、第1乃至第4の音符データが和音を構成するか否かを判別する和音判別手段を備え、和音を構成する場合と和音を構成しない場合と分けて難易度のタイプを判定することを特徴とする請求項4記載の演奏難易度評価装置。
[Claim 7]
The first and second determining means include chord discriminating means for discriminating whether or not the first to fourth note data constitutes a chord, and is divided into a case where a chord is constituted and a case where no chord is constituted. 5. The performance difficulty evaluation device according to claim 4, wherein a difficulty type is determined.

[請求項8]
コンピュータに、
曲を構成する音符を演奏するに必要な指を表す指番号および当該音符の演奏パートを識別するパートデータを含む音符データの中から、当該音符データに含まれるパートデータに基づいて所定の関係にある第1乃至第4の音符データを順次検索し、該当する第1乃至第4の音符データにそれぞれ含まれる指番号に基づき両手で演奏する場合の難易度のタイプを判定するタイプ判定ステップと、
前記タイプ判定ステップで判定されたタイプ毎の難易度値を曲を両手で演奏する場合の難易度として取得する難易度取得ステップと
を実行させることを特徴とするプログラム。
[Claim 8]
On the computer,
Among the note data including the finger number indicating the finger necessary for playing the notes constituting the song and the part data for identifying the performance part of the note, a predetermined relationship is established based on the part data included in the note data. A type determination step of sequentially searching for certain first to fourth note data and determining a difficulty type when performing with both hands based on finger numbers included in the corresponding first to fourth note data;
A difficulty level acquisition step of acquiring a difficulty level value for each type determined in the type determination step as a difficulty level when playing a song with both hands.

10 CPU
11 ROM
12 RAM
13 鍵盤
14 操作部
15 表示部
16 音源
17 サウンドシステム
100 電子楽器
10 CPU
11 ROM
12 RAM
13 keyboard 14 operation unit 15 display unit 16 sound source 17 sound system 100 electronic musical instrument

Claims (7)

曲を構成する音符夫々について弾くべき指を表す指番号および、右手パートと左手パートの何れのパートの音符かを識別する識別子を含む音符データから、右手パートの音符データと、前記右手パートの音符データに対応する左手パートの音符データとを読み込む読込処理部と、
前記読込処理部により読み込まれる右手パートの2つの指番号と、前記右手パートの2つの指番号に対応する前記左手パートの2つの指番号とから夫々決定される運指パターンであって且つ前記右手パート及び前記左手パートの夫々の指番号の組み合わせによって互いに異なる夫々の運指パターンに応じて、左手パートのコストを判定する第1の判定部と、
前記読込処理部により読み込まれる左手パートの2つの指番号と、前記左手パートの2つの指番号に対応する前記右手パートの2つの指番号とから夫々決定される運指パターンであって且つ前記左手パート及び前記右手パートの夫々の指番号の組み合わせによって互いに異なる夫々の運指パターンに応じて、右手パートのコストを判定する第2の判定部と、
前記第1の判定部が判定する左手パートのコストと前記第2の判定部が判定する右手パートのコストに基づいて算出される両手で演奏する場合の難易度を示すデータを取得する難易度取得と、
を具備することを特徴とする演奏難易度評価装置。
From note data including a finger number representing a finger to be played for each note constituting the song and an identifier identifying which of the right hand part and the left hand part , the right hand part note data and the right hand part note A reading processing unit for reading the note data of the left-hand part corresponding to the data,
A fingering pattern determined from two finger numbers of the right hand part read by the reading processing unit and two finger numbers of the left hand part corresponding to the two finger numbers of the right hand part, and the right hand part A first determination unit that determines the cost of the left hand part according to each fingering pattern different from each other by a combination of the finger numbers of the part and the left hand part;
A fingering pattern determined from two finger numbers of the left hand part read by the reading processing unit and two finger numbers of the right hand part corresponding to the two finger numbers of the left hand part, and the left hand A second determination unit that determines the cost of the right hand part according to each fingering pattern different from each other by a combination of the finger numbers of the part and the right hand part;
The difficulty level acquisition for acquiring data indicating the difficulty level when playing with both hands calculated based on the cost of the left hand part determined by the first determination unit and the cost of the right hand part determined by the second determination unit and parts,
A performance difficulty evaluation device comprising:
前記運指パターンは、前記読込処理部により読み込まれる前記左手パート或いは前記右手パートの指番号の欠落の有無によって異なるThe fingering pattern differs depending on whether or not the left hand part or right hand part is missing the finger number read by the read processing unit.
ことを特徴とする請求項1に記載の演奏難易度評価装置。The performance difficulty evaluation device according to claim 1, wherein:
前記読込処理部は、評価対象となる一方のパートの第1音、第1音と同じパートで当該第1音の次に発音タイミングとなる第2音、第1音と同じ発音タイミングで他方のパートの第3音および第3音と同じパートで当該第3音の次に発音タイミングとなる第4音の各音符データを読み込むことを特徴とする請求項1記載の演奏難易度評価装置。The reading processing unit has a first sound of one part to be evaluated, a second sound that is the same as the first sound, a second sound that is the next sound generation timing after the first sound, and the same sound generation timing as the first sound. 2. The performance difficulty evaluation device according to claim 1, wherein the musical note data of the fourth sound, which is the next sound generation timing after the third sound, is read in the same part as the third sound and the third sound of the part. 前記第1および第2の判定部は、一方の手で弾く指の離れ具合と他方の手で弾く指の離れ具合とで定まる両手の指使いの左右対称性に応じてコストを判定することを特徴とする請求項1記載の演奏難易度評価装置。The first and second determination units determine the cost according to the left / right symmetry of finger usage of both hands, which is determined by the degree of separation of a finger played with one hand and the degree of separation of a finger played with the other hand. The performance difficulty evaluation device according to claim 1, wherein: 前記第1および第2の判定部は、評価対象となる右手パートの2音および左手パートの2音の各音符データが和音を構成するか否かを判別し、和音を構成する場合と和音を構成しない場合と分けてコストを判定することを特徴とする請求項1記載の演奏難易度評価装置。The first and second determination units determine whether or not the note data of the two sounds of the right-hand part and the two sounds of the left-hand part to be evaluated constitute a chord. The performance difficulty evaluation device according to claim 1, wherein the cost is determined separately from the case of not configuring. コンピュータに、
曲を構成する音符夫々について弾くべき指を表す指番号および、右手パートと左手パートの何れのパートの音符かを識別する識別子を含む音符データから、右手パートの音符データと、前記右手パートの音符データに対応する左手パートの音符データとを読み込む読込処理ステップと、
前記読込処理ステップにより読み込まれる右手パートの2つの指番号と、前記右手パートの2つの指番号に対応する前記左手パートの2つの指番号とから夫々決定される運指パターンであって且つ前記右手パート及び前記左手パートの夫々の指番号の組み合わせによって互いに異なる夫々の運指パターンに応じて、左手パートのコストを判定する第1の判定ステップと、
前記読込処理ステップにより読み込まれる左手パートの2つの指番号と、前記左手パートの2つの指番号に対応する前記右手パートの2つの指番号とから夫々決定される運指パターンであって且つ前記左手パート及び前記右手パートの夫々の指番号の組み合わせによって互いに異なる夫々の運指パターンに応じて、右手パートのコストを判定する第2の判定ステップと、
前記第1の判定ステップが判定する左手パートのコストと前記第2の判定ステップが判定する右手パートのコストに基づいて算出される両手で演奏する場合の難易度を示すデータを取得する難易度取得ステップと、
を実行させることを特徴とするプログラム。
On the computer,
From note data including a finger number representing a finger to be played for each note constituting the song and an identifier identifying which of the right hand part and the left hand part , the right hand part note data and the right hand part note A reading process step for reading the note data of the left-hand part corresponding to the data;
A fingering pattern determined from two finger numbers of the right hand part read by the reading processing step and two finger numbers of the left hand part corresponding to the two finger numbers of the right hand part, and the right hand part A first determination step of determining the cost of the left hand part according to each fingering pattern different from each other by the combination of the respective finger numbers of the part and the left hand part;
A fingering pattern determined from two finger numbers of the left hand part read by the reading processing step and two finger numbers of the right hand part corresponding to the two finger numbers of the left hand part, and the left hand A second determination step of determining the cost of the right hand part according to each fingering pattern different from each other by a combination of the respective finger numbers of the part and the right hand part;
The difficulty level acquisition for acquiring data indicating the difficulty level when playing with both hands calculated based on the cost of the left hand part determined by the first determination step and the cost of the right hand part determined by the second determination step Steps ,
A program characterized by having executed.
請求項1に記載の演奏難易度評価装置と、
演奏操作に応じて演奏情報を発生する鍵盤と、
前記演奏情報に基づいた楽音を発生する音源と、
を有する電子楽器。
The performance difficulty evaluation device according to claim 1,
A keyboard that generates performance information in response to performance operations;
A sound source for generating musical sounds based on the performance information;
Electronic musical instrument with
JP2012171201A 2012-08-01 2012-08-01 Performance difficulty evaluation device, program, and electronic musical instrument Active JP6090644B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012171201A JP6090644B2 (en) 2012-08-01 2012-08-01 Performance difficulty evaluation device, program, and electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012171201A JP6090644B2 (en) 2012-08-01 2012-08-01 Performance difficulty evaluation device, program, and electronic musical instrument

Publications (3)

Publication Number Publication Date
JP2014032244A JP2014032244A (en) 2014-02-20
JP2014032244A5 JP2014032244A5 (en) 2015-09-17
JP6090644B2 true JP6090644B2 (en) 2017-03-08

Family

ID=50282117

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012171201A Active JP6090644B2 (en) 2012-08-01 2012-08-01 Performance difficulty evaluation device, program, and electronic musical instrument

Country Status (1)

Country Link
JP (1) JP6090644B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101714432B1 (en) * 2015-09-03 2017-03-09 동국대학교 산학협력단 Apparatus and method for estimating difficulty level of music score
CN113450741A (en) * 2021-06-15 2021-09-28 吴昊臻 Piano partner training evaluation method and system based on audio and hand joints

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5272900B2 (en) * 2009-06-02 2013-08-28 カシオ計算機株式会社 Music difficulty calculation device and music difficulty calculation program

Also Published As

Publication number Publication date
JP2014032244A (en) 2014-02-20

Similar Documents

Publication Publication Date Title
JP6040809B2 (en) Chord selection device, automatic accompaniment device, automatic accompaniment method, and automatic accompaniment program
JP5360510B2 (en) Performance evaluation apparatus and program
JP2007114539A (en) Device and program for playing practice
JP5440961B2 (en) Performance learning apparatus, performance learning method and program
TWI326608B (en)
JP5051530B2 (en) Performance evaluation apparatus and performance evaluation processing program
JP6090644B2 (en) Performance difficulty evaluation device, program, and electronic musical instrument
JP6340755B2 (en) Performance evaluation apparatus, performance evaluation method and program
JP2021003286A5 (en) Program and information processing device
JP3266934B2 (en) Performance practice equipment
JP6268674B2 (en) Musical sound generating device, electronic musical instrument, musical sound generating method and program
JP6421811B2 (en) Code selection method and code selection device
KR101380159B1 (en) instrument playing system
JP6606844B2 (en) Genre selection device, genre selection method, program, and electronic musical instrument
JP4924317B2 (en) Singing diagnosis apparatus and waveform diagnosis processing program
JP4442144B2 (en) Performance support apparatus and performance support program
JPH05297794A (en) Musical performance practicing device
JP2014032244A5 (en) Performance difficulty evaluation device, program, and electronic musical instrument
JP6658785B2 (en) Automatic accompaniment method and automatic accompaniment device
JP5029770B2 (en) Performance support information generation apparatus and performance support information generation program
JP2004341385A (en) Apparatus and program for musical performance recording and reproduction
JP6217896B2 (en) Rhythm display device, electronic musical instrument, rhythm display method and program
JP2015040924A (en) Musical score display device, musical score display method, and program
JP2013011658A (en) Performance instructing device and program
JP4816930B2 (en) Performance support information generation apparatus and performance support information generation program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150729

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150729

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160531

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160801

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170126

R150 Certificate of patent or registration of utility model

Ref document number: 6090644

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150