JP4529175B2 - Fingering candidate display device and fingering candidate display processing program - Google Patents

Fingering candidate display device and fingering candidate display processing program Download PDF

Info

Publication number
JP4529175B2
JP4529175B2 JP2004251416A JP2004251416A JP4529175B2 JP 4529175 B2 JP4529175 B2 JP 4529175B2 JP 2004251416 A JP2004251416 A JP 2004251416A JP 2004251416 A JP2004251416 A JP 2004251416A JP 4529175 B2 JP4529175 B2 JP 4529175B2
Authority
JP
Japan
Prior art keywords
fingering
sequence
stored
event
sound
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.)
Expired - Fee Related
Application number
JP2004251416A
Other languages
Japanese (ja)
Other versions
JP2006071674A (en
JP2006071674A5 (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 JP2004251416A priority Critical patent/JP4529175B2/en
Publication of JP2006071674A publication Critical patent/JP2006071674A/en
Publication of JP2006071674A5 publication Critical patent/JP2006071674A5/ja
Application granted granted Critical
Publication of JP4529175B2 publication Critical patent/JP4529175B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、鍵盤を備えた電子楽器に用いて好適な運指候補表示装置および運指候補表示処理プログラムに関する。   The present invention relates to a fingering candidate display device and a fingering candidate display 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 a player to play a key position and a key operation fingering (fingering). 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, in the apparatus disclosed in the above-mentioned patent document 1, since a typical fingering that is uniquely determined from a song is generated, a plurality of different fingerings cannot be presented to the user for a range specified by the user in the song. There is a problem.
Therefore, the present invention has been made in view of such circumstances, and provides a fingering candidate display device and a fingering candidate display processing program capable of presenting a plurality of different fingerings within a specified range in a song. It is an object.

上記目的を達成するため、請求項1に記載の発明では、曲を構成する複数のイベント及び当該各イベントを演奏するための指の種類を表す運指情報からなる運指系列を複数記憶する曲記憶手段と、予め設定された値が記憶されたレジスタと、運指系列を記憶するバッファと、この曲記憶手段に記憶された運指系列を順次選択する運指系列選択手段と、この運指系列選択手段により運指系列が順次選択される毎に、前記曲記憶手段に記憶されたイベントを順次読み出すとともに、当該読み出されたイベントに対応しかつ前記選択された運指系列に含まれる運指情報と、前記読み出されたイベントに続くイベントに対応しかつ前記選択された運指系列に含まれる運指情報とに基づき、演奏のし易さを評価する評価値を前記イベント毎に算出し、この算出された評価値を累算することにより選択された運指系列の評価値を生成する運指系列評価手段と、この運指系列評価手段により生成された運指系列の評価値が演奏不可を表す値でなく、かつ当該評価値が前記レジスタに記憶された値以下であるという条件を満たすか否か判別する判別手段と、この判別手段により条件を満たすと判別された場合に、対応する運指系列を前記バッファに記憶する記憶制御手段と、前記バッファに運指系列が記憶される毎に、前記レジスタに記憶された値を当該記憶された運指系列の評価値に更新する更新手段と、前記運指系列選択手段により前記曲記憶手段に記憶された運指系列が全て選択された後、前記バッファに記憶された運指系列を所定の表示手段に表示させる表示制御手段と、を具備することを特徴とする。 In order to achieve the above object, according to the first aspect of the present invention, there is provided a song storing a plurality of fingering sequences comprising fingering information representing a plurality of events constituting the song and a finger type for playing each event. A storage means; a register storing preset values; a buffer for storing a fingering sequence; a fingering sequence selection means for sequentially selecting a fingering sequence stored in the song storage means; Each time a fingering sequence is sequentially selected by the sequence selection means, the events stored in the music storage means are read sequentially, and the events corresponding to the read events and included in the selected fingering sequence are read. An evaluation value for evaluating ease of playing is calculated for each event based on the finger information and the fingering information corresponding to the event following the read event and included in the selected fingering sequence This The fingering sequence evaluation means for generating the evaluation value of the selected fingering sequence by accumulating the calculated evaluation values, and the evaluation value of the fingering sequence generated by the fingering sequence evaluation means A determination means for determining whether or not a condition that the evaluation value is not more than a value stored in the register is satisfied, and a corresponding operation when the determination means determines that the condition is satisfied. Storage control means for storing a finger sequence in the buffer; and update means for updating a value stored in the register to an evaluation value of the stored fingering sequence each time a fingering sequence is stored in the buffer; Display control means for causing the predetermined display means to display the fingering series stored in the buffer after all the fingering series stored in the music storage means are selected by the fingering series selection means. To do And butterflies.

また請求項2に記載のように、前記運指候補表示装置はさらに、前記曲記憶手段に記憶された複数のイベントの内から任意のイベントを指定する指定手段と、前記指定手段により指定されたイベントの前後で所定数分の範囲を設定する曲範囲設定手段と、を有し、前記運指系列選択手段は、前記曲範囲設定手段により設定された曲範囲の先頭および後端に各々対応する開始イベントから終了イベントまでの各イベントに夫々対応して記憶された複数の運指系列を順番に選択する、ように構成してもよい。In addition, as described in claim 2, the fingering candidate display device is further designated by a designation unit for designating an arbitrary event from a plurality of events stored in the music storage unit, and the designation unit. Song range setting means for setting a predetermined number of ranges before and after the event, and the fingering sequence selection means respectively corresponds to the beginning and the rear end of the song range set by the song range setting means You may comprise so that the several fingering series memorize | stored corresponding to each event from a start event to an end event may be selected in order.

また請求項3に記載のように、前記運指候補表示装置はさらに、前記各イベントに対応して当該各イベントに含まれる音高の高低傾向を表す傾向データを有するとともに、前記曲記憶手段に記憶された複数のイベントの内から任意のイベントを指定する指定手段と、前記指定手段により指定されたイベントの前後夫々に存在するイベントのうち、対応する傾向データが極値を表すイベント間の区間を検索する曲区間検索手段と、を有し、前記運指系列選択手段は、前記曲区間検索手段により検索された曲区間の先頭および後端に各々対応する開始イベントから終了イベントまでの各イベントに夫々対応して記憶された複数の運指系列を順番に選択する、ように構成してもよい In addition, as described in claim 3, the fingering candidate display device further includes trend data representing a pitch trend of pitches included in each event corresponding to each event, and the music storage means includes An interval between events in which the corresponding trend data represents an extreme value among the events existing before and after the event specified by the specifying means, and a specifying means for specifying an arbitrary event from a plurality of stored events Song segment search means for searching for, and the fingering sequence selection means for each event from the start event to the end event respectively corresponding to the beginning and the end of the song section searched by the song section search means A plurality of fingering sequences stored in correspondence with each other may be selected in order .

さらに請求項4に記載の発明は、曲を構成する複数の音高及び当該各音高を演奏するための指の種類を表す運指情報からなる運指系列を複数記憶する曲記憶手段と、予め設定された値が記憶されたレジスタと、運指系列を記憶するバッファと、を有する運指候補表示装置として用いられるコンピュータに、前記曲記憶手段に記憶された運指系列を順次選択する運指系列選択ステップと、前記運指系列が順次選択される毎に、前記曲記憶手段に記憶されたイベントを順次読み出すとともに、当該読み出されたイベントに対応しかつ前記選択された運指系列に含まれる運指情報と、前記読み出されたイベントに続くイベントに対応しかつ前記選択された運指系列に含まれる運指情報とに基づき、演奏のし易さを評価する評価値を前記イベント毎に算出し、この算出された評価値を累算することにより選択された運指系列の評価値を生成する運指系列評価ステップと、この生成された運指系列の評価値が演奏不可を表す値でなく、かつ当該評価値が前記レジスタに記憶された値以下であるという条件を満たすか否か判別する判別ステップと、この条件を満たすと判別された場合に、対応する運指系列を前記バッファに記憶する記憶制御ステップと、前記バッファに運指系列が記憶される毎に、前記レジスタに記憶された値を当該記憶された運指系列の評価値に更新する更新ステップと、前記曲記憶手段に記憶された運指系列が全て選択された後、前記バッファに記憶された運指系列を所定の表示手段に表示させる表示制御ステップと、を実行させることを特徴とする。 Further, the invention according to claim 4 is a song storage means for storing a plurality of fingering sequences each composed of fingering information representing a plurality of pitches constituting a song and a finger type for playing each pitch, and A computer used as a fingering candidate display device having a register in which a preset value is stored and a buffer for storing a fingering sequence, and sequentially selecting the fingering sequence stored in the music storage means. Each time the fingering sequence is sequentially selected, the event stored in the music storage means is sequentially read out, and the selected fingering sequence corresponding to the read event is selected. Based on the fingering information included and the fingering information corresponding to the event following the read event and included in the selected fingering sequence, an evaluation value for evaluating ease of playing is determined as the event. Every A fingering sequence evaluation step for generating an evaluation value of the selected fingering sequence by accumulating the calculated evaluation values, and the evaluation value of the generated fingering sequence is a value indicating that performance is not possible. And a determination step for determining whether or not a condition that the evaluation value is less than or equal to a value stored in the register is satisfied, and when it is determined that the condition is satisfied, a corresponding fingering sequence is stored in the buffer. A storage control step for storing; an update step for updating a value stored in the register to an evaluation value of the stored fingering sequence each time a fingering sequence is stored in the buffer; After all the stored fingering sequences are selected, a display control step of displaying the fingering sequences stored in the buffer on a predetermined display means is executed.

請求項1、4に記載の発明によれば、曲を構成する複数の音高及び当該各音高を演奏するための指の種類を表す運指情報からなる運指系列を複数記憶する曲記憶手段から運指系列を順次選択する。そしてこの運指系列が順次選択される毎に、記憶されたイベントを順次読み出し、この読み出されたイベントに対応しかつ選択されている運指系列に含まれる運指情報と、読み出されたイベントに続くイベントに対応かつ選択された運指系列に含まれる運指情報とに基づいて、演奏のし易さを評価する評価値をイベント毎に算出し、この算出された評価値を累算することにより選択された運指系列の評価値を生成する。ここでこの生成された運指系列の評価値が演奏不可を表す値でなく、かつ当該評価値が所定のレジスタに記憶された値以下であるという条件を満たす場合には、対応する運指系列をバッファに記憶するとともに、このバッファに運指系列が記憶される毎に、レジスタの値をこの記憶された運指系列の評価値に更新する。そして運指系列が全て選択された後、記憶された運指系列を表示させる。この結果、曲中の指定範囲で複数の異なる運指を提示することができる。 According to the first and fourth aspects of the present invention, a song storage for storing a plurality of fingering sequences comprising a plurality of pitches constituting a song and fingering information representing the types of fingers for playing each pitch. The fingering sequence is sequentially selected from the means. Each time this fingering sequence is sequentially selected, the stored events are read sequentially, and the fingering information corresponding to the read event and included in the selected fingering sequence is read. Based on the fingering information included in the selected fingering sequence corresponding to the event that follows the event, an evaluation value that evaluates the ease of playing is calculated for each event, and the calculated evaluation value is accumulated. By doing so, an evaluation value of the selected fingering sequence is generated. Here, when the generated fingering sequence evaluation value is not a value indicating that the performance is not possible and the condition that the evaluation value is equal to or less than a value stored in a predetermined register is satisfied, the corresponding fingering sequence Is stored in the buffer, and each time a fingering sequence is stored in the buffer, the value of the register is updated to the evaluation value of the stored fingering sequence. Then, after all the fingering sequences are selected, the stored fingering sequence is displayed. As a result, a plurality of different fingerings can be presented within a specified range in the song.

請求項に記載の発明によれば、さらに、記憶された複数のイベントの内から任意のイベントを指定し、この指定されたイベントの前後で所定数分の範囲を設定するとともに、この設定された曲範囲の先頭および後端に各々対応する開始イベントから終了イベントまでの各イベントに夫々対応して記憶された複数の運指系列を順番に選択することにより、曲中の1イベントを指定するだけで曲範囲が設定され、設定された曲範囲で複数の異なる運指を提示することができる。 According to the second aspect of the present invention, an arbitrary event is designated from among a plurality of stored events, and a predetermined number of ranges are set before and after the designated event. A single event in a song is specified by sequentially selecting a plurality of fingering sequences stored corresponding to each event from the start event to the end event corresponding to the beginning and end of the song range, respectively. A song range is set only by this, and a plurality of different fingerings can be presented within the set song range.

請求項3に記載の発明によれば、各イベントに含まれる音高の高低傾向を表す傾向データをイベント夫々に対応して有し、記憶された複数のイベントの内から任意のイベントを指定して、指定されたイベントの前後夫々に存在するイベントのうち、対応する傾向データが極値を表すイベント間の区間を検索し、検索された曲区間の先頭および後端に各々対応する開始イベントから終了イベントまでの各イベントに夫々対応して記憶された複数の運指系列を順番に選択する。この結果、曲中の1イベントを指定するだけで音高の高低が入れ替われる曲区間の、音楽的に自然な運指系列を複数提示することができる。 According to the third aspect of the present invention, the trend data indicating the pitch tendency of the pitch included in each event is associated with each event, and an arbitrary event is designated from among the plurality of stored events. Among the events existing before and after the specified event, the section between the events for which the corresponding trend data represents the extreme value is searched, and the start event corresponding to the beginning and the end of the searched song section respectively is searched. A plurality of fingering sequences stored corresponding to each event up to the end event are sequentially selected. As a result, it is possible to present a plurality of musically natural fingering sequences in song sections in which pitches are switched by simply specifying one event in the song.

以下、図面を参照して本発明の実施形態について説明する。
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 candidate display device according to the first embodiment. The fingering candidate display 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、運指候補cfigAlt[0]〜cfigAlt[N]を有する。鍵盤座標iPosxは、対応する音のピッチ(音高)の鍵盤位置を表す。運指候補cfigAlt[0]〜cfigAlt[N]とは、曲データで表される音に対応した運指の候補を表す。なお、ここで言う運指とは、鍵操作する指を表す値(「0:親指」、「1:人差し指」、「2:中指」、「3:薬指」および「4:小指」)を指す。したがって、1つの音について運指候補は、親指から小指まで最大5通りの系列が定義可能になっている。後述するように、各音に割当てられた運指候補cfigAlt[0]〜cfigAlt[N]は、ポインタiで指定される。ポインタiで指定される各音の運指の候補は、運指系列と総称される。   On the other hand, the fingering data has keyboard coordinates iPosx and fingering candidates cfigAlt [0] to cfigAlt [N] corresponding to the sound represented by the music data. The keyboard coordinate iPosx represents the keyboard position of the pitch (pitch) of the corresponding sound. The fingering candidates cfigAlt [0] to cfigAlt [N] represent fingering candidates corresponding to the sound represented by the song data. Note that the fingering referred to here indicates values (“0: thumb”, “1: index finger”, “2: middle finger”, “3: ring finger”, and “4: little finger”) representing the key to be operated. . Therefore, a maximum of five types of fingering candidates can be defined from one thumb to the little finger for one sound. As will be described later, fingering candidates cfigAlt [0] to cfigAlt [N] assigned to each sound are designated by a pointer i. The fingering candidates for each sound specified by the pointer i are collectively referred to as a fingering sequence.

表示部2は、CPU4の制御の下に、例えば図4に図示するように、上述した楽曲データに基づき曲データを楽譜表示したり、その表示された楽譜上で運指候補の表示範囲を指定したりする運指表示画面UG等を表示する。データ指定部3は、マウスあるいはキーボード等の入力デバイスを備え、表示部2に画面表示された運指表示画面UG中(図4参照)で運指候補の表示範囲(開始音および終了音)を指定したり、当該画面UGに配設される「複数候補生成ボタン」や、運指候補の表示切替えを指示する「候補1」〜「候補3」の各ボタンをクリックして対応するクリックイベントを発生する。CPU4は、装置各部を制御するものであり、本発明の要旨に関わる処理動作については追って詳述する。   Under the control of the CPU 4, for example, as shown in FIG. 4, the display unit 2 displays music data based on the music data described above, and designates a display range of fingering candidates on the displayed music score. A fingering display screen UG or the like is displayed. The data designating unit 3 includes an input device such as a mouse or a keyboard, and displays a fingering candidate display range (start sound and end sound) in the fingering display screen UG displayed on the display unit 2 (see FIG. 4). Click the corresponding “click event” by clicking the “candidate 1” to “candidate 3” buttons for designating or clicking the “multiple candidate generation buttons” arranged on the screen UG and the fingering candidate display switching. appear. 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.

ROM5は、上記CPU4にロードされる各種制御プログラムやテーブル等を記憶する。ここで言う各種制御プログラムとは、後述するメインルーチンおよび評価処理を含む。また、ROM5には、コストテーブルcCostTwoFingerが設けられる。コストテーブルcCostTwoFingerとは、隣り合う2音、つまり現在評価対象としている音と次の音とを勘案して、現在評価対象としている音に割当てられた運指の容易さを表す評価値を読み出すテーブルである。具体的には、黒鍵/白鍵の別を表すiBW、次の音が現在評価対象としている音の高音側か低音側かを表すiPM、現在評価対象としている音にアサインされる運指cfigを表すiFt、次の音にアサインされる運指cfigを表すiTt、現在評価対象としている音の鍵盤位置と次の音の鍵盤位置との離間距離iIntに応じた評価値が登録される。さらに、ROM5には、例えば図4に図示した運指表示画面UG等を構成する各種画像データが記憶される。   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 and an evaluation process described later. The ROM 5 is provided with a cost table cCostTwoFinger. The cost table cCostTwoFinger is a table that reads out an evaluation value representing the ease of fingering assigned to the current evaluation target sound, taking into account two adjacent sounds, that is, the current evaluation target sound and the next sound. It is. 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. Further, the ROM 5 stores various image data constituting the fingering display screen UG shown in FIG.

RAM6は、データエリアおよびワークエリアを備える。RAM6のデータエリアには、データ入力部1を介して取り込んだ楽曲データがストアされる。RAM6のワークエリアには、CPU4が実行するメインルーチンおよび評価処理において用いられる各種レジスタ・フラグデータが一時記憶される。   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 registers and flag data used in the main routine executed by the CPU 4 and evaluation processing are temporarily stored.

(2)動作
次に、図3〜図6を参照して第1実施形態の動作について説明する。以下では、図2に図示した楽曲データがデータ入力部1を介してRAM6のデータエリアに格納されていることを前提として、メインルーチンの動作を説明した後、評価処理の動作について述べる。
(2) Operation Next, the operation of the first embodiment will be described with reference to FIGS. In the following, the operation of the main routine will be described on the assumption that the music data shown in FIG. 2 is stored in the data area of the RAM 6 via the data input unit 1, and then the operation of the evaluation process will be described.

<メインルーチンの動作>
装置電源の投入に応じて、図3に図示するメインルーチンが実行されると、CPU4は、ステップSA1に進み、ROM5に格納される画像データを読み出して図4に図示する運指表示画面UGを表示部2に画面表示した後、この運指表示画面UGに表示される楽譜中でユーザ設定される開始音および終了音をそれぞれ指定するポインタを、ポインタmef(開始音),met(終了音)にストアする。
次いで、ステップSA2では、運指表示画面UGに配設される「複数候補生成ボタン」がクリック操作されるまで待機し、当該ボタンがクリック操作されると、判断結果が「YES」になり、ステップSA3に進む。ステップSA3では、運指系列を指定するポインタiおよび運指系列の評価値costsを保持するバッファBuf[k]を指定するポインタkをそれぞれゼロリセットする。
<Main routine operation>
When the main routine shown in FIG. 3 is executed in response to the power-on of the apparatus, the CPU 4 proceeds to step SA1, reads the image data stored in the ROM 5, and displays the fingering display screen UG shown in FIG. After the screen is displayed on the display unit 2, pointers for designating the start sound and the end sound set by the user in the score displayed on the fingering display screen UG are pointers mef (start sound) and met (end sound). To store.
Next, in step SA2, the process waits until the “multiple candidate generation button” arranged on the fingering display screen UG is clicked. When the button is clicked, the determination result is “YES”. Proceed to SA3. In step SA3, the pointer i designating the fingering sequence and the pointer k designating the buffer Buf [k] holding the evaluation value costs of the fingering sequence are each reset to zero.

続いて、ステップSA4では、ポインタiの値がNに達したか、すなわち全ての運指系列について評価し終えたかどうかを判断する。評価し終えていなければ、判断結果は「NO」になり、ステップSA5を介して評価処理(後述する)を実行し、ポインタiが指定する運指系列の評価値costs(後述する)を求める。そして、ステップSA6では、上記ステップSA5の評価処理にて求めた評価値costsが禁止値NOT_PERMITでなく、かつレジスタiCbufに格納される、前回評価した運指系列の評価値costs以下であるか否か、つまり前回評価した運指系列より今回評価した運指系列の方が弾き易いかどうかを判断する。前回評価した運指系列の方が弾き易い場合には、判断結果が「NO」になり、ステップSA7に進み、運指系列を指定するポインタiをインクリメントして歩進させた後、上述のステップSA4に処理を戻す。   Subsequently, in step SA4, it is determined whether or not the value of the pointer i has reached N, that is, whether or not all the fingering sequences have been evaluated. If the evaluation has not been completed, the determination result is “NO”, and an evaluation process (described later) is executed via step SA5 to obtain an evaluation value costs (described later) of the fingering sequence designated by the pointer i. In step SA6, whether or not the evaluation value costs obtained in the evaluation process in step SA5 is not the prohibited value NOT_PERMIT and is equal to or less than the evaluation value costs of the previously evaluated fingering sequence stored in the register iCbuf. That is, it is determined whether the fingering sequence evaluated this time is easier to play than the fingering sequence evaluated last time. If the fingering sequence evaluated last time is easier to play, the determination result is “NO”, the process proceeds to step SA7, the pointer i designating the fingering sequence is incremented and stepped, and then the above-described steps. Return the process to SA4.

一方、前回評価した運指系列より今回評価した運指系列の方が弾き易い場合には、上記ステップSA6の判断結果が「YES」になり、ステップSA8に進み、ポインタkで指定されるバッファBuf[k]に、今回評価した運指系列とその評価値costsをストアする。次いで、ステップSA9では、ポインタkを歩進させ、続くステップSA10では、今回評価した運指系列の評価値costsをレジスタiCbufに格納して前回値に更新する一方、ポインタiを歩進させてから上述のステップSA4に処理を戻す。   On the other hand, if the fingering sequence evaluated this time is easier to play than the fingering sequence evaluated last time, the determination result in step SA6 is “YES”, the process proceeds to step SA8, and the buffer Buf specified by the pointer k is displayed. In [k], the fingering series evaluated this time and the evaluation value costs are stored. Next, in step SA9, the pointer k is incremented, and in the subsequent step SA10, the evaluation value costs of the fingering sequence evaluated this time is stored in the register iCbuf and updated to the previous value, while the pointer i is incremented. The process returns to step SA4.

以後、全ての運指系列について評価し終えるまで上述のステップSA4〜SA10を繰り返す。これにより、ポインタiが歩進される毎に、前回評価した運指系列の評価値と今回評価した評価値とを比較し、より弾き易い運指系列とその評価値costsがバッファBuf[k]にストアされる。そして、全ての運指系列について評価し終えると、ステップSA4の判断結果が「YES」となり、ステップSA11に進み、運指系列表示を行う。
運指系列表示とは、バッファBuf[k]の内容を、評価値costsが小さい順、つまり弾き易い順に運指系列を並び替え、並び替えた順序を、例えば運指候補の表示切替えを指示する「候補1」〜「候補3」の各ボタンに割当てる。そして、例えばユーザが運指表示画面UGに配設される「候補1」ボタンをクリック操作した場合には、「候補1」の運指系列をバッファBuf[k]から読み出し、図5に図示するように、運指表示画面UGの運指表示部UGAにおいて、開始音から終了音までの運指を表示する。
Thereafter, the above-described steps SA4 to SA10 are repeated until all fingering sequences have been evaluated. As a result, each time the pointer i is incremented, the evaluation value of the fingering sequence evaluated last time is compared with the evaluation value evaluated this time, and the fingering sequence that is easier to play and its evaluation value costs are stored in the buffer Buf [k]. Stored in When all the fingering sequences have been evaluated, the determination result in step SA4 is “YES”, and the process proceeds to step SA11 to display the fingering sequence.
In the fingering sequence display, the contents of the buffer Buf [k] are rearranged in the order from the smallest evaluation value costs, that is, in the order in which it is easy to play, and the rearranged order indicates, for example, display switching of fingering candidates. Assigned to each button of “candidate 1” to “candidate 3”. For example, when the user clicks the “candidate 1” button arranged on the fingering display screen UG, the fingering sequence of “candidate 1” is read from the buffer Buf [k] and illustrated in FIG. Thus, the fingering from the start sound to the end sound is displayed in the fingering display part UGA of the fingering display screen UG.

<評価処理の動作>
次に、図6を参照して評価処理の動作を説明する。上述したメインルーチンのステップSA5(図3参照)を介して本処理が実行されると、CPU4は図6に図示するステップSB1に処理を進め、レジスタcostsをゼロリセットすると共に、ポインタmefの開始音を評価対象音に設定すべくポインタmeにストアする。続いて、ステップSC2では、評価対象音の運指候補me[cfigAlt[i]]をレジスタiFtに、評価対象音の鍵盤座標me[iPosx]をレジスタiFpに、評価対象音が黒鍵/白鍵のいずれであるかを識別する値me[iPosx]%2(評価対象音の鍵盤座標2の2の剰余値)をレジスタiBWにそれぞれストアする。なお、me[iPosx]%2は、「0」の場合に白鍵を、「1」の場合に黒鍵を表す。
<Operation of evaluation process>
Next, the operation of the evaluation 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 proceeds to step SB1 shown in FIG. 6, resets the registers costs to zero, and starts the start sound of the pointer mef. Is stored in the pointer me so as to be set as the evaluation target sound. Subsequently, in step SC2, the fingering candidate me [cfigAlt [i]] of the evaluation target sound is stored in the register iFt, the keyboard coordinates me [iPosx] of the evaluation target sound is stored in the register iFp, and the evaluation target sound is a black key / white key. The value me [iPosx]% 2 (2 remainder value of the keyboard coordinate 2 of the evaluation target sound) is stored in the register iBW. Note that me [iPosx]% 2 represents a white key when “0” and a black key when “1”.

次いで、ステップSB3では、評価対象音の次の音me[next]を指定するポインタをポインタmenにセットする。そして、ステップSB4では、ポインタmenにて指定される次の音の運指候補men[cfigAlt[i]]をレジスタiTfに、次の音の鍵盤座標men[iPosx]をレジスタiTpにそれぞれストアする。
続いて、ステップSB5では、レジスタiFpに格納された評価対象音の鍵盤座標と、レジスタiTpに格納された次の音の鍵盤座標とを大小比較し、iFp<iTpなら「0」を、iFpiTpなら「1」をレジスタiPMにストアする。つまり次の音が評価対象音より高音側なら「0」、それ以外なら「1」となる値をレジスタiPMにストアする。また、ステップSB5では、評価対象音の鍵盤座標と次の音の鍵盤座標から両鍵の離間距離(iTp−iFp又はiFp−iTp)をレジスタiIntにストアする。
Next, in step SB3, a pointer for designating the next sound me [next] of the evaluation target sound is set in the pointer men. In step SB4, the fingering candidate men [cfigAlt [i]] of the next sound designated by the pointer men is stored in the register iTf, and the keyboard coordinates men [iPosx] of the next sound are stored in the register iTp.
Subsequently, in step SB5, the keyboard coordinates of the evaluation target sound stored in the register iFp are compared with the keyboard coordinates of the next sound stored in the register iTp, 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 evaluation target sound, and “1” is stored otherwise. In Step SB5, the distance (iTp-iFp or iFp-iTp) between both keys is stored in the register iInt from the keyboard coordinates of the evaluation target sound and the keyboard coordinates of the next sound.

そして、ステップSB6では、上記ステップSB2〜SB5において得たレジスタiBW、iPM、iFt、iTt、iIntの各値に従い、ROM5に格納されるコストテーブルcCostTwoFingerから評価対象音にアサインされる運指系列iの運指候補について運指の容易さを表す評価値iCostを読み出す。次いで、ステップSB7では、評価対象音にアサインされる運指系列iの運指候補が、「黒鍵の運指に親指や小指を割り当てない」、「和音時の運指逆転」および「運指可能幅を超えない」とする禁止条件のいずれかに合致するかどうかを判断する。いずれかの禁止条件に該当する場合には、判断結果が「YES」になり、ステップSB8に進み、レジスタcostsに禁止値NOT_PERMITをストアして本処理を終える。
なお、レジスタcostsに禁止値NOT_PERMITがストアされた場合、前述したメインルーチンのステップSA6(図3参照)の判断結果が「NO」となり、対応する運指系列iが比較対象から除外されるようになっている。
In step SB6, according to each value of the registers iBW, iPM, iFt, iTt, iInt obtained in steps SB2 to SB5, the fingering sequence i assigned to the evaluation target sound from the cost table cCostTwoFinger stored in the ROM 5 is obtained. An evaluation value iCost representing the ease of fingering is read for the fingering candidates. Next, in step SB7, the fingering candidates of the fingering sequence i assigned to the evaluation target sound are “no thumb or little finger assigned to the black key fingering”, “fingering reversal during chord” and “fingering” It is determined whether or not any of the prohibition conditions “not exceeding the possible width” is met. If any of the prohibition conditions is satisfied, the determination result is “YES”, the process proceeds to step SB8, the prohibition value NOT_PERMIT is stored in the register costs, and the present process ends.
When the prohibition value NOT_PERMIT is stored in the register costs, the determination result in step SA6 (see FIG. 3) of the main routine is “NO”, and the corresponding fingering sequence i is excluded from the comparison target. It has become.

一方、評価対象音にアサインされる運指系列iの運指候補が禁止条件に該当しなければ、上記ステップSB7の判断結果は「NO」となり、ステップSB9に進む。ステップSB9では、上記ステップSB6にて求めた評価値iCostを、ポインタmeで指定される評価対象音の評価値を一時記憶するレジスタme[iCost]にストアする。続いて、ステップSB10では、レジスタme[iCost]の値をレジスタcostsに加算して運指系列iの評価値costsを累算する。   On the other hand, if the fingering candidate of the fingering sequence i assigned to the evaluation target sound does not meet the prohibition condition, the determination result in Step SB7 is “NO”, and the flow proceeds to Step SB9. In step SB9, the evaluation value iCost obtained in step SB6 is stored in a register me [iCost] that temporarily stores the evaluation value of the evaluation target sound designated by the pointer me. Subsequently, in step SB10, the value of the register me [iCost] is added to the register costs to accumulate the evaluation value costs of the fingering sequence i.

次いで、ステップSB11では、ポインタmeが終了音を指定するポインタmetに一致したか否か、すなわち運指系列iにおける開始音から終了音までの全ての運指候補について評価し終えたかどうかを判断する。評価し終えていなければ、判断結果は「NO」になり、ステップSB12に進み、評価対象音を次の音に移すべくポインタmeを歩進させた後、上述のステップSB2に処理を戻す。以後、ユーザ指定された開始音から終了音までの曲範囲において、運指系列iの全ての運指候補について評価し終えるまで上記ステップSB2〜SB12を繰り返す。そして、全ての運指候補について評価し終えると、上記ステップSB11の判断結果が「YES」になり、本処理を完了させる。   Next, in step SB11, it is determined whether or not the pointer me matches the pointer met designating the end sound, that is, whether or not all the fingering candidates from the start sound to the end sound in the fingering sequence i have been evaluated. . If the evaluation has not been completed, the determination result is “NO”, the process proceeds to step SB12, the pointer me is incremented to move the evaluation target sound to the next sound, and then the process returns to step SB2. Thereafter, the above steps SB2 to SB12 are repeated until evaluation is completed for all fingering candidates of the fingering sequence i in the music range from the start sound to the end sound designated by the user. When the evaluation is completed for all fingering candidates, the determination result in step SB11 is “YES”, and the process is completed.

以上のように、第1実施形態では、曲を構成する各音毎に複数の運指候補を備えた楽曲データの内からユーザが開始音から終了音までの曲範囲を指定すると、指定された開始音から終了音までを評価対象音として変化させ、評価対象音とその次の音との関係に応じて定まる当該評価対象音の運指候補の評価値iCostを累算して運指系列の評価値costsを生成する。こうした運指系列の評価値costsを複数の運指候補に対応して複数系列分求める。評価値costsが生成される毎に前回の評価値costsと比較し、より値が小さく弾き易い運指系列とその評価値costsとをバッファBuf[k]に保存し、全ての運指系列について評価し終えた時点でバッファBuf[k]に保存された運指系列の内、弾き易い順に運指系列を表示するので、曲中の指定範囲で複数の異なる運指を提示することが可能になっている。   As described above, in the first embodiment, when the user designates a song range from the start sound to the end sound from among the music data having a plurality of fingering candidates for each sound constituting the music, the music is designated. The sound from the start sound to the end sound is changed as the evaluation target sound, and the evaluation value iCost of the fingering candidate of the evaluation target sound determined according to the relationship between the evaluation target sound and the next sound is accumulated, An evaluation value costs is generated. Such fingering series evaluation values costs are obtained for a plurality of series corresponding to a plurality of fingering candidates. Each time the evaluation value costs is generated, it is compared with the previous evaluation value costs, and the fingering sequence whose value is easier to play and the evaluation value costs are stored in the buffer Buf [k], and all the fingering sequences are evaluated. Since the fingering sequences are displayed in the order in which they are easy to play among the fingering sequences stored in the buffer Buf [k] at the time of completion, it is possible to present a plurality of different fingerings within a specified range in the song. ing.

B.第2実施形態
次に、図7〜図8を参照して第2実施形態の動作を説明する。第2実施形態が上述の第1実施形態と相違する点は、ユーザが曲中の任意の1音を指定するだけで、その指定した音を含む前後の所定音数分を範囲指定することにある。以下、こうした第1実施形態による「メインルーチン」および「範囲評価処理」の各動作を説明する。なお、第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 user designates one arbitrary sound in a song and designates a predetermined number of sounds before and after the designated sound. is there. The operations of the “main routine” and “range evaluation process” according to the first embodiment will be described below. Note that the “evaluation process” of the second embodiment is the same as that of the first embodiment described above, and a description thereof will be omitted.

<メインルーチンの動作>
装置電源の投入に応じて、図7に図示するメインルーチンが実行されると、CPU4は、ステップSC1を介して範囲指定処理を実行する。範囲指定処理では、後述するように、ROM5に格納される各種画像データを読み出して図4に図示する運指表示画面UGを表示部2に画面表示した後、その運指表示画面UGにおいて楽譜表示される各音の内からユーザが任意の1音を指定すると、その指定した音を含む前後の所定音数分を範囲指定し、その範囲の開始音をポインタmefに、終了音をポインタmetにストアするようになっている。
<Main routine operation>
When the main routine shown in FIG. 7 is executed in response to the turning on of the apparatus power, the CPU 4 executes a range specifying process via step SC1. In the range designating process, as will be described later, various image data stored in the ROM 5 are read out and the fingering display screen UG shown in FIG. 4 is displayed on the display unit 2, and then a score is displayed on the fingering display screen UG. When the user designates an arbitrary one of the sounds to be played, the range is designated for a predetermined number of sounds before and after the designated sound, the start sound of the range is designated as the pointer mef, and the end sound is designated as the pointer met. It is supposed to store.

次いで、ステップSC2では、運指表示画面UGに配設される「複数候補生成ボタン」がクリック操作されるまで待機し、当該ボタンがクリック操作されると、判断結果が「YES」になり、ステップSC3に進む。ステップSC3では、運指系列を指定するポインタiおよび運指系列の評価値costを保持するバッファBuf[k]を指定するポインタkをそれぞれゼロリセットする。   Next, in step SC2, the process waits until the “multiple candidate generation button” arranged on the fingering display screen UG is clicked, and when the button is clicked, the determination result is “YES”. Proceed to SC3. In step SC3, the pointer i designating the fingering sequence and the pointer k designating the buffer Buf [k] holding the evaluation value cost of the fingering sequence are each reset to zero.

続いて、ステップSC4では、ポインタiの値がNに達したか、すなわち全ての運指系列について評価し終えたかどうかを判断する。評価し終えていなければ、判断結果は「NO」になり、ステップSC5を介して前述の評価処理(図6参照)を実行し、ポインタiが指定する運指系列の評価値costsを求める。そして、ステップSC6では、上記ステップSC5の評価処理にて求めた評価値costsが禁止値NOT_PERMITでなく、かつレジスタiCbufに格納される、前回評価した運指系列の評価値costs以下であるか否か、つまり前回評価した運指系列より今回評価した運指系列の方が弾き易いかどうかを判断する。前回評価した運指系列の方が弾き易い場合には、判断結果が「NO」になり、ステップSC7に進み、運指系列を指定するポインタiをインクリメントして歩進させた後、上述のステップSC4に処理を戻す。   Subsequently, in step SC4, it is determined whether or not the value of the pointer i has reached N, that is, whether or not all the fingering sequences have been evaluated. If the evaluation has not been completed, the determination result is “NO”, and the above-described evaluation process (see FIG. 6) is executed via step SC5 to obtain the evaluation value costs of the fingering sequence designated by the pointer i. In step SC6, whether or not the evaluation value costs obtained in the evaluation process in step SC5 is not the prohibition value NOT_PERMIT and is equal to or less than the evaluation value costs of the previously evaluated fingering sequence stored in the register iCbuf. That is, it is determined whether the fingering sequence evaluated this time is easier to play than the fingering sequence evaluated last time. If the fingering sequence evaluated last time is easier to play, the determination result is “NO”, the process proceeds to step SC7, the pointer i designating the fingering sequence is incremented and stepped, and then the above-described step Return processing to SC4.

一方、前回評価した運指系列より今回評価した運指系列の方が弾き易い場合には、上記ステップSC6の判断結果が「YES」になり、ステップSC8に進み、ポインタkで指定されるバッファBuf[k]に、今回評価した運指系列とその評価値costsをストアする。次いで、ステップSC9では、ポインタkを歩進させ、続くステップSC10では、今回評価した運指系列の評価値costsをレジスタiCbufに格納して前回値に更新する一方、ポインタiを歩進させてから上述のステップSC4に処理を戻す。   On the other hand, if the fingering sequence evaluated this time is easier to play than the fingering sequence evaluated last time, the determination result in step SC6 is “YES”, the process proceeds to step SC8, and the buffer Buf specified by the pointer k is displayed. In [k], the fingering series evaluated this time and the evaluation value costs are stored. Next, in step SC9, the pointer k is incremented, and in the subsequent step SC10, the evaluation value costs of the fingering sequence evaluated this time is stored in the register iCbuf and updated to the previous value, while the pointer i is incremented. The process returns to step SC4 described above.

以後、全ての運指系列について評価し終えるまで上述のステップSC4〜SC10を繰り返す。これにより、ポインタiが歩進される毎に、前回評価した運指系列の評価値と今回評価した評価値とを比較し、より弾き易い運指系列とその評価値costsがバッファBuf[k]にストアされる。そして、全ての運指系列について評価し終えると、ステップSA4の判断結果が「YES」となり、ステップSC11に進み、前述した第1実施形態と同様に運指系列表示を行う。   Thereafter, the above-described steps SC4 to SC10 are repeated until all the fingering sequences have been evaluated. As a result, each time the pointer i is incremented, the evaluation value of the fingering sequence evaluated last time is compared with the evaluation value evaluated this time, and the fingering sequence that is easier to play and its evaluation value costs are stored in the buffer Buf [k]. Stored in Then, when all the fingering sequences have been evaluated, the determination result in step SA4 is “YES”, the process proceeds to step SC11, and the fingering sequence display is performed as in the first embodiment described above.

<範囲指定処理の動作>
次に、図8を参照して範囲指定処理の動作を説明する。上記メインルーチンのステップSC1(図7参照)を介して本処理が実行されると、CPU4は図8に図示するステップSD1に処理を進める。ステップSD1では、運指表示画面UG(図4参照)に楽譜表示される各音の内、ユーザが所望の音meAを指定(クリック操作)するまで待機する。そして、音meAが指定されると、判断結果が「YES」になり、ステップSD2に進む。ステップSD2では、ユーザ指定された音meAの一つ前の音meA[prev]を指定するポインタをレジスタmetmpにストアすると共に、音符数をカウントするカウンタiCntをゼロリセットする。
<Operation of range specification processing>
Next, the operation of the range specifying process will be described with reference to FIG. When this process is executed via step SC1 (see FIG. 7) of the main routine, the CPU 4 advances the process to step SD1 shown in FIG. In step SD1, it waits until the user designates (clicks on) a desired sound meA among the sounds displayed on the score on the fingering display screen UG (see FIG. 4). When the sound meA is designated, the determination result is “YES”, and the process proceeds to Step SD2. In step SD2, a pointer that specifies the sound meA [prev] immediately before the user-specified sound meA is stored in the register metmp, and a counter iCnt that counts the number of notes is reset to zero.

続いて、ステップSD3では、レジスタmetmpで指定される音が曲先頭でなく、かつカウンタiCntの値が音符数iNoteCntより小さいかどうかを判断する。音符数iNoteCntは予め設定される規定音符数である。したがって、このステップSD3では、ユーザ指定された音meAから音符数iNoteCnt分を隔てた範囲先頭の音に達していないかどうかを判断する。範囲先頭の音に達していなければ、判断結果は「YES」となり、ステップSD4に進み、レジスタmetmpに格納されるポインタをポインタmefにセットする。次いで、ステップSD5では、ポインタmefで指定される音の一つ前の音mef[prev]を指定するポインタをレジスタmetmpにストアする。そして、ステップSD6では、音を一つ前に進めたのに応じてカウンタiCntを歩進させた後、上記ステップSD3に戻す。   Subsequently, in step SD3, it is determined whether or not the sound designated by the register metmp is not at the beginning of the song and the value of the counter iCnt is smaller than the number of notes iNoteCnt. The number of notes iNoteCnt is a preset number of notes. Accordingly, in this step SD3, it is determined whether or not the first sound in the range separated from the user-specified sound meA by the number of notes iNoteCnt has been reached. If the sound at the head of the range has not been reached, the determination result is “YES”, the process proceeds to step SD4, and the pointer stored in the register metmp is set to the pointer mef. Next, in step SD5, a pointer for specifying the sound mef [prev] immediately before the sound specified by the pointer mef is stored in the register metmp. In step SD6, the counter iCnt is incremented in accordance with the advance of the sound by one step, and then the process returns to step SD3.

以後、ステップSD3〜SD6を繰り返してユーザ指定の音meAから音符数iNoteCnt分を隔てた範囲先頭の音へ1音づつ前に進める。そして、ユーザ指定の音meAから音符数iNoteCnt分を隔てた範囲先頭の音に達すると、ステップSD3の判断結果が「NO」になり、ステップSD7に進む。なお、この時にポインタmefは範囲先頭の音を指定するポインタとなる。続いて、ステップSD7では、ユーザ指定された音meAの一つ後の音meA[next]を指定するポインタをレジスタmetmpにストアすると共に、音符数をカウントするカウンタiCntをゼロリセットする。   Thereafter, steps SD3 to SD6 are repeated, and the sound is advanced by one note to the beginning of the range separated from the user-specified sound meA by the number of notes iNoteCnt. When the first sound in the range separated from the user-specified sound meA by the number of notes iNoteCnt is reached, the determination result in step SD3 is “NO”, and the process proceeds to step SD7. At this time, the pointer mef becomes a pointer for designating the sound at the head of the range. Subsequently, in step SD7, a pointer for specifying the sound meA [next] immediately after the user-specified sound meA is stored in the register metmp, and the counter iCnt for counting the number of notes is reset to zero.

次に、ステップSD8では、レジスタmetmpで指定される音が曲終端ENDでなく、かつカウンタiCntの値が音符数iNoteCntより小さいかどうかを判断する。したがって、このステップSD8では、ユーザ指定された音meAから音符数iNoteCnt分を隔てた範囲後端の音に達していないかどうかを判断する。範囲後端の音に達していなければ、判断結果は「YES」となり、ステップSD9に進み、レジスタmetmpに格納されるポインタをポインタmetにセットする。次いで、ステップSD10では、ポインタmetで指定される音の一つ後の音met[next]を指定するポインタをレジスタmetmpにストアする。そして、ステップSD11では、音を一つ後に進めたのに応じてカウンタiCntを歩進させた後、上記ステップSD8に戻す。   Next, in step SD8, it is determined whether or not the sound designated by the register metmp is not the music end END and the value of the counter iCnt is smaller than the number of notes iNoteCnt. Therefore, in step SD8, it is determined whether or not the sound has reached the rear end of the range separated from the user-specified sound meA by the number of notes iNoteCnt. If the sound at the end of the range has not been reached, the determination result is “YES”, the flow proceeds to step SD9, and the pointer stored in the register metmp is set to the pointer met. Next, in step SD10, a pointer that specifies the sound met [next] immediately after the sound specified by the pointer met is stored in the register metmp. In step SD11, the counter iCnt is incremented in response to the sound being advanced one step later, and then the process returns to step SD8.

以後、ステップSD8〜SD11を繰り返してユーザ指定の音meAから音符数iNoteCnt分を隔てた範囲後端の音へ1音づつ後に進める。そして、ユーザ指定の音meAから音符数iNoteCnt分を隔てた範囲後端の音に達すると、ステップSD8の判断結果が「NO」になり、本処理を終える。なお、ステップSD8の判断結果が「NO」になる時には、ポインタmetは範囲後端の音を指定するようセットされる。   Thereafter, steps SD8 to SD11 are repeated, and the sound is advanced by one sound to the sound at the rear end of the range separated from the user-specified sound meA by the number of notes iNoteCnt. When the sound at the rear end of the range separated from the user-specified sound meA by the number of notes iNoteCnt is reached, the determination result in step SD8 is “NO”, and this processing is terminated. When the determination result in step SD8 is “NO”, the pointer met is set to designate the sound at the end of the range.

以上のように、第2実施形態によれば、ユーザが曲中の任意の1音を指定するだけで、その指定した音を含む前後の所定音数分の範囲指定が行われ、その後は前述の第1実施形態と同様、指定された範囲の開始音から終了音までを評価対象音として変化させ、評価対象音とその次の音との関係に応じて定まる当該評価対象音の運指候補の評価値iCostを累算して運指系列の評価値costsを生成し、そうした運指系列の評価値costsを複数の運指候補に対応して複数系列分求め、評価値costsが生成される毎に前回の評価値costsと比較して、より値が小さく弾き易い運指系列とその評価値costsとをバッファBuf[k]に保存し、全ての運指系列について評価し終えた時点でバッファBuf[k]に保存された運指系列の内、弾き易い順に運指系列を表示するので、ユーザが曲中の任意の1音を指定するだけで、それに応じて定まる曲範囲で複数の異なる運指を提示することが可能になっている。   As described above, according to the second embodiment, the user designates one arbitrary sound in a song, and a range is designated for a predetermined number of sounds before and after the designated sound. As in the first embodiment, a fingering candidate for the evaluation target sound that is determined according to the relationship between the evaluation target sound and the next sound is changed from the start sound to the end sound in the specified range as the evaluation target sound. The evaluation value iCost is accumulated to generate an evaluation value costs of the fingering sequence, and the evaluation value costs of the fingering sequence is obtained for a plurality of sequences corresponding to a plurality of fingering candidates, and the evaluation value costs is generated. Compared with the previous evaluation value costs every time, the fingering sequence whose value is easier to play and the evaluation value costs are stored in the buffer Buf [k], and buffered when all the fingering sequences have been evaluated. Luck stored in Buf [k] Since the fingering sequences are displayed in the order in which they are easy to play, it is possible for the user to present a plurality of different fingerings within a song range determined by the user simply by specifying an arbitrary sound in the song. ing.

C.第3実施形態
次に、図9を参照して第3実施形態の動作を説明する。第3実施形態が上述の第2実施形態と相違する点は、運指データ中に音列(曲データ)の高低傾向を表すデータcTendencyを設け、このデータcTendencyを参照して、ユーザが指定した音の前後において音の高低が入れ替われる区間を範囲指定することにある。以下では、こうした第3実施形態による範囲指定処理の動作を説明する。なお、第3実施形態のメインルーチンは、上述の第2実施形態と同一なので、その説明については省略する。
C. Third Embodiment Next, the operation of the third embodiment will be described with reference to FIG. The third embodiment is different from the second embodiment described above in that the data cTendency indicating the high and low tendency of the sound sequence (song data) is provided in the fingering data, and the user specified with reference to this data cTendency The purpose is to specify a range in which the pitch of the sound is switched before and after the sound. Hereinafter, the operation of the range specifying process according to the third embodiment will be described. Since the main routine of the third embodiment is the same as that of the second embodiment described above, the description thereof is omitted.

上述した第2実施形態と同様、メインルーチンのステップSC1(図6参照)を介して本処理が実行されると、CPU4は図9に図示するステップSE1に処理を進める。ステップSE1では、運指表示画面UG(図4参照)に楽譜表示される各音の内、ユーザが所望の音meAをクリック操作して音指定するまで待機する。そして、音meAが指定されると、判断結果が「YES」になり、ステップSE2に進む。ステップSE2では、ユーザ指定された音meAの一つ前の音meA[prev]を指定するポインタをレジスタmetmpにストアする。次いで、ステップSE3では、レジスタmetmpに格納されるポインタを、区間先頭ポインタmefにセットする。   As in the second embodiment described above, when this process is executed via step SC1 (see FIG. 6) of the main routine, the CPU 4 advances the process to step SE1 shown in FIG. In step SE1, it waits until the user clicks the desired sound meA among the sounds displayed on the score on the fingering display screen UG (see FIG. 4) and designates the sound. When the sound meA is designated, the determination result is “YES”, and the flow proceeds to step SE2. In step SE2, a pointer for designating the sound meA [prev] immediately before the user-designated sound meA is stored in the register metmp. In step SE3, the pointer stored in the register metmp is set in the section head pointer mef.

続いて、ステップSE4では、mef[cTendency]、すなわち区間先頭ポインタmefで指定される音の運指データとして設けられた高低傾向cTendencyが「0」であるかどうかを判断する。高低傾向cTendencyは、音列(曲データ)の高低傾向を表すデータであり、「0」の場合に極値(ピーク)を表す。したがって、このステップSE4では、区間先頭ポインタmefが極値であるかどうかを判断する。区間先頭ポインタmefが極値でなければ、判断結果は「NO」になり、ステップSE5に進み、区間先頭ポインタmefをさらに一つ前の音に進めて上記ステップSE3に処理を戻す。以後、極値の高低傾向cTendencyを有する音が見つかるまで区間先頭ポインタmefを前に進ませ、極値の高低傾向cTendencyを有する音が見つかり、区間先頭の音が定まると、ステップSE4の判断結果が「YES」となり、ステップSE6に進む。   Subsequently, in step SE4, it is determined whether or not mef [cTendency], that is, the high and low tendency cTendency provided as the fingering data of the sound 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 SE4, it is determined whether or not the section head pointer mef is an extreme value. If the section head pointer mef is not an extreme value, the determination result is “NO”, the process proceeds to step SE5, the section head pointer mef is further advanced to the previous sound, and the process returns to step SE3. Thereafter, the section head pointer mef is advanced until a sound having an extreme value cTendency is found, and when a sound having an extreme value cTendency is found and the sound at the section top is determined, the determination result in step SE4 is determined. "YES" is determined, and the process proceeds to Step SE6.

そして、ステップSE6では、ユーザ指定された音meAの一つ後の音meA[next]を指定するポインタをレジスタmetmpにストアする。次いで、ステップSE7では、レジスタmetmpに格納されるポインタを、区間後端ポインタmetにセットする。続いて、ステップSE8では、met[cTendency]、すなわち区間後端ポインタmefで指定される音の運指データの高低傾向cTendencyが「0」であるかどうか、つまり区間後端ポインタmetで指定される音が極値であるかどうかを判断する。区間後端ポインタmetの音が極値でなければ、判断結果は「NO」になり、ステップSE9に進み、区間後端ポインタmetをさらに一つ後の音に進めて上記ステップSE7に処理を戻す。   In step SE6, a pointer for specifying the sound meA [next] immediately after the user-specified sound meA is stored in the register metmp. Next, in step SE7, the pointer stored in the register metmp is set to the section rear end pointer met. Subsequently, in step SE8, met [cTendency], that is, whether or not the tendency cTendency of the fingering data of the sound specified by the section trailing end pointer mef is “0”, that is, specified by the section trailing end pointer met. Determine if the sound is extreme. If the sound of the section rear end pointer met is not an extreme value, the determination result is “NO”, the process proceeds to step SE9, the section rear end pointer met is further advanced to the next subsequent sound, and the process returns to step SE7. .

以後、極値の高低傾向cTendencyを有する音が見つかるまで区間後端ポインタmetを後に進ませ、極値の高低傾向cTendencyを有する音が見つかり、区間後端の音が定まると、ステップSE8の判断結果が「YES」となり、本処理を終える。
このように、第3実施形態による範囲指定処理では、ユーザ指定の音meAの前後において音の高低が入れ替われる音列区間を範囲指定する為、音楽的に自然な運指系列を複数提示し得るようになっている。
Thereafter, the section rear end pointer met is advanced until a sound having an extreme value cTendency is found. When a sound having an extreme value cTendency is found and the sound at the end of the section is determined, the determination result of step SE8 is determined. Becomes “YES”, and this processing is completed.
As described above, in the range specifying process according to the third embodiment, a range of sound train segments in which the pitch of sound is switched before and after the user-specified sound meA can be specified, so that a plurality of musically natural fingering sequences can be presented. It is like that.

本発明による第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. 運指表示画面UGの一例を示す図である。It is a figure which shows an example of a fingering display screen UG. 運指表示画面UGにおける運指系列表示の一例を示す図である。It is a figure which shows an example of a fingering series display in the fingering display screen UG. 評価処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of an evaluation process. 第2実施形態によるメインルーチンの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the main routine by 2nd Embodiment. 第2実施形態による範囲指定処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the range designation | designated process by 2nd Embodiment. 第3実施形態による範囲指定処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the range designation | designated process by 3rd 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)

曲を構成する複数のイベント及び当該各イベントを演奏するための指の種類を表す運指情報からなる運指系列を複数記憶する曲記憶手段と、
予め設定された値が記憶されたレジスタと、
運指系列を記憶するバッファと、
この曲記憶手段に記憶された運指系列を順次選択する運指系列選択手段と、
この運指系列選択手段により運指系列が順次選択される毎に、前記曲記憶手段に記憶されたイベントを順次読み出すとともに、当該読み出されたイベントに対応しかつ前記選択された運指系列に含まれる運指情報と、前記読み出されたイベントに続くイベントに対応しかつ前記選択された運指系列に含まれる運指情報とに基づき、演奏のし易さを評価する評価値を前記イベント毎に算出し、この算出された評価値を累算することにより選択された運指系列の評価値を生成する運指系列評価手段と、
この運指系列評価手段により生成された運指系列の評価値が演奏不可を表す値でなく、かつ当該評価値が前記レジスタに記憶された値以下であるという条件を満たすか否か判別する判別手段と、
この判別手段により条件を満たすと判別された場合に、対応する運指系列を前記バッファに記憶する記憶制御手段と、
前記バッファに運指系列が記憶される毎に、前記レジスタに記憶された値を当該記憶された運指系列の評価値に更新する更新手段と、
前記運指系列選択手段により前記曲記憶手段に記憶された運指系列が全て選択された後、前記バッファに記憶された運指系列を所定の表示手段に表示させる表示制御手段と、
を具備する運指候補表示装置。
Music storage means for storing a plurality of fingering sequences comprising fingering information representing a plurality of events constituting the music and the types of fingers for playing each event;
A register storing preset values; and
A buffer for storing fingering sequences;
Fingering sequence selection means for sequentially selecting a fingering sequence stored in the music storage means;
Each time a fingering sequence is sequentially selected by the fingering sequence selection unit, the events stored in the music storage unit are sequentially read out, and the event corresponding to the read event and the selected fingering sequence are selected. Based on the fingering information included and the fingering information corresponding to the event following the read event and included in the selected fingering sequence, an evaluation value for evaluating ease of playing is determined as the event. A fingering sequence evaluation means for generating an evaluation value of the selected fingering sequence by calculating each time and accumulating the calculated evaluation value;
Discriminating to determine whether or not the evaluation value of the fingering sequence generated by the fingering sequence evaluation means is not a value indicating that the performance is not possible and satisfies the condition that the evaluation value is less than or equal to the value stored in the register Means,
A storage control means for storing a corresponding fingering sequence in the buffer when it is determined that the condition is satisfied by the determination means;
Updating means for updating a value stored in the register to an evaluation value of the stored fingering sequence each time a fingering sequence is stored in the buffer;
Display control means for displaying the fingering series stored in the buffer on a predetermined display means after all the fingering series stored in the music storage means are selected by the fingering series selection means;
A fingering candidate display device comprising:
前記運指候補表示装置はさらに、前記曲記憶手段に記憶された複数のイベントの内から任意のイベントを指定する指定手段と、前記指定手段により指定されたイベントの前後で所定数分の範囲を設定する曲範囲設定手段と、を有し、
前記運指系列選択手段は、前記曲範囲設定手段により設定された曲範囲の先頭および後端に各々対応する開始イベントから終了イベントまでの各イベントに夫々対応して記憶された複数の運指系列を順番に選択する、請求項1に記載の運指候補表示装置。
The fingering candidate display device further includes designation means for designating an arbitrary event among a plurality of events stored in the music storage means, and a range of a predetermined number of times before and after the event designated by the designation means. Music range setting means for setting,
The fingering sequence selection means includes a plurality of fingering sequences stored corresponding to each event from the start event to the end event respectively corresponding to the beginning and the end of the song range set by the song range setting means. The fingering candidate display device according to claim 1, wherein the fingering candidate display devices are selected in order.
前記運指候補表示装置はさらに、前記各イベントに対応して当該各イベントに含まれる音高の高低傾向を表す傾向データを有するとともに、前記曲記憶手段に記憶された複数のイベントの内から任意のイベントを指定する指定手段と、前記指定手段により指定されたイベントの前後夫々に存在するイベントのうち、対応する傾向データが極値を表すイベント間の区間を検索する曲区間検索手段と、を有し、
前記運指系列選択手段は、前記曲区間検索手段により検索された曲区間の先頭および後端に各々対応する開始イベントから終了イベントまでの各イベントに夫々対応して記憶された複数の運指系列を順番に選択する、請求項1に記載の運指候補表示装置。
The fingering candidate display device further includes trend data representing a pitch tendency of pitches included in each event corresponding to each event, and is arbitrarily selected from a plurality of events stored in the music storage means And a song section search means for searching a section between events in which corresponding trend data represents an extreme value among events existing before and after the event designated by the designation means, Have
The fingering sequence selection means includes a plurality of fingering sequences stored corresponding to each event from the start event to the end event respectively corresponding to the beginning and the end of the song section searched by the song section search means. The fingering candidate display device according to claim 1, wherein the fingering candidate display devices are selected in order.
曲を構成する複数の音高及び当該各音高を演奏するための指の種類を表す運指情報からなる運指系列を複数記憶する曲記憶手段と、予め設定された値が記憶されたレジスタと、運指系列を記憶するバッファと、を有する運指候補表示装置として用いられるコンピュータに、
前記曲記憶手段に記憶された運指系列を順次選択する運指系列選択ステップと、
前記運指系列が順次選択される毎に、前記曲記憶手段に記憶されたイベントを順次読み出すとともに、当該読み出されたイベントに対応しかつ前記選択された運指系列に含まれる運指情報と、前記読み出されたイベントに続くイベントに対応しかつ前記選択された運指系列に含まれる運指情報とに基づき、演奏のし易さを評価する評価値を前記イベント毎に算出し、この算出された評価値を累算することにより選択された運指系列の評価値を生成する運指系列評価ステップと、
この生成された運指系列の評価値が演奏不可を表す値でなく、かつ当該評価値が前記レジスタに記憶された値以下であるという条件を満たすか否か判別する判別ステップと、
この条件を満たすと判別された場合に、対応する運指系列を前記バッファに記憶する記憶制御ステップと、
前記バッファに運指系列が記憶される毎に、前記レジスタに記憶された値を当該記憶された運指系列の評価値に更新する更新ステップと、
前記曲記憶手段に記憶された運指系列が全て選択された後、前記バッファに記憶された運指系列を所定の表示手段に表示させる表示制御ステップと、
を実行させる運指候補表示プログラム。
Music storage means for storing a plurality of fingering sequences composed of a plurality of pitches constituting a song and fingering information representing the types of fingers for playing each pitch, and a register storing preset values And a computer used as a fingering candidate display device having a buffer for storing a fingering sequence,
A fingering sequence selection step for sequentially selecting a fingering sequence stored in the music storage means;
Each time the fingering sequence is sequentially selected, the events stored in the music storage means are sequentially read out, and the fingering information corresponding to the read event and included in the selected fingering sequence; And calculating an evaluation value for each event based on fingering information corresponding to an event following the read event and included in the selected fingering sequence, for each event, A fingering sequence evaluation step for generating an evaluation value of the selected fingering sequence by accumulating the calculated evaluation values;
A discriminating step for discriminating whether or not the evaluation value of the generated fingering sequence is not a value indicating that the performance is impossible and satisfies the condition that the evaluation value is equal to or less than a value stored in the register;
A storage control step for storing a corresponding fingering sequence in the buffer when it is determined that this condition is satisfied;
An update step of updating a value stored in the register to an evaluation value of the stored fingering sequence each time a fingering sequence is stored in the buffer;
A display control step for displaying a fingering sequence stored in the buffer on a predetermined display unit after all the fingering sequences stored in the music storage unit are selected;
A fingering candidate display program that executes
JP2004251416A 2004-08-31 2004-08-31 Fingering candidate display device and fingering candidate display processing program Expired - Fee Related JP4529175B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004251416A JP4529175B2 (en) 2004-08-31 2004-08-31 Fingering candidate display device and fingering candidate display processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004251416A JP4529175B2 (en) 2004-08-31 2004-08-31 Fingering candidate display device and fingering candidate display processing program

Publications (3)

Publication Number Publication Date
JP2006071674A JP2006071674A (en) 2006-03-16
JP2006071674A5 JP2006071674A5 (en) 2010-04-22
JP4529175B2 true JP4529175B2 (en) 2010-08-25

Family

ID=36152428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004251416A Expired - Fee Related JP4529175B2 (en) 2004-08-31 2004-08-31 Fingering candidate display device and fingering candidate display processing program

Country Status (1)

Country Link
JP (1) JP4529175B2 (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
JPH1049152A (en) * 1996-08-02 1998-02-20 Yamaha Corp Playing method determining 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

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
JPH1049152A (en) * 1996-08-02 1998-02-20 Yamaha Corp Playing method determining 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

Also Published As

Publication number Publication date
JP2006071674A (en) 2006-03-16

Similar Documents

Publication Publication Date Title
JP5790686B2 (en) Chord performance guide apparatus, method, and program
EP3159890A1 (en) Accordion and electronic accordion
JP2010276891A (en) Music piece difficulty level evaluation device and music piece difficulty level evaluation program
JP5598681B2 (en) Note position detecting device, note position estimating method and program
JP4529175B2 (en) Fingering candidate display device and fingering candidate display processing program
JP4225362B2 (en) Code determination apparatus and code determination processing program
JP6817551B2 (en) Musical tone generator, musical tone generator, program and electronic musical instrument
JP4525924B2 (en) A modulation interval display device, a temporary symbol display device, a modulation interval display program, and a temporary symbol display program
JP4613817B2 (en) Fingering display device and program
JP4492446B2 (en) Measuring device and program for measuring positional relationship of performance operators that can be operated simultaneously
JP4482853B2 (en) Performance diagnosis apparatus and performance diagnosis program
JP5742302B2 (en) Musical score information generating apparatus and musical score information generating program
JP3278886B2 (en) Key detection device
JP6168117B2 (en) Musical score information generating apparatus, musical score information generating method, and program
JP4696808B2 (en) Temporary symbol display device and temporary symbol display program
JP2010281881A (en) Music difficulty level calculating apparatus and music difficulty level calculating method
JP5029770B2 (en) Performance support information generation apparatus and performance support information generation program
JPH05297794A (en) Musical performance practicing device
JP4635577B2 (en) Performance practice device and performance practice program
JP4816930B2 (en) Performance support information generation apparatus and performance support information generation program
JP4217978B2 (en) Code determination apparatus and code determination processing program
JP3951842B2 (en) Spectrum setting apparatus and spectrum setting method
JP4543832B2 (en) Fingering information correction device and fingering information correction processing program
JP2007178696A (en) Fingering information generating device and program
JP3916063B2 (en) Spectrum setting apparatus and spectrum setting method

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

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130618

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees