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

JP5454771B2 - Performance learning apparatus and program - Google Patents

Performance learning apparatus and program Download PDF

Info

Publication number
JP5454771B2
JP5454771B2 JP2009204394A JP2009204394A JP5454771B2 JP 5454771 B2 JP5454771 B2 JP 5454771B2 JP 2009204394 A JP2009204394 A JP 2009204394A JP 2009204394 A JP2009204394 A JP 2009204394A JP 5454771 B2 JP5454771 B2 JP 5454771B2
Authority
JP
Japan
Prior art keywords
performance
sound
guide
note data
data
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
JP2009204394A
Other languages
Japanese (ja)
Other versions
JP2011053579A (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 JP2009204394A priority Critical patent/JP5454771B2/en
Publication of JP2011053579A publication Critical patent/JP2011053579A/en
Application granted granted Critical
Publication of JP5454771B2 publication Critical patent/JP5454771B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、曲を演奏するユーザの間違う癖を矯正して練習効果を高める演奏教習装置およびプログラムに関する。   The present invention relates to a performance learning apparatus and a program for correcting a mistake of a user who plays a song and improving a practice effect.

発音すべき音高とその発音タイミングとを表す曲データに基づき、鍵盤の各鍵に設けられたLED(発光素子)の内、発音すべき音高の鍵に配設されるLEDを発音タイミングに対応して点灯させて演奏者に弾くべき鍵をガイドする装置が知られている。この種の装置として、例えば特許文献1には、発音タイミングを過ぎてもガイドされた鍵が押鍵されない時には、そのガイドされた鍵が押鍵されるまで曲データの読み出しを停止させる教習形態とし、発音タイミング前にガイドされた鍵を押鍵した時にはその発音タイミングまで曲データを早送りさせる教習形態とする装置、すなわち弾くべき鍵の押鍵タイミングに応じて教習形態を変化させる装置が開示されている。   Based on the song data indicating the pitch to be sounded and the sounding timing, the LED arranged on the key of the pitch to be sounded among the LEDs (light emitting elements) provided on each key of the keyboard is used as the sounding timing. There is known an apparatus for guiding a key to be played to a performer by lighting it correspondingly. As a device of this type, for example, Patent Literature 1 discloses a teaching form in which reading of music data is stopped until the guided key is depressed when the guided key is not depressed even after the sounding timing has passed. , A device that is used as a learning form for fast-forwarding song data until the sounding timing when a key guided before the sounding timing is pressed, that is, a device that changes the learning form according to the keying timing of the key to be played is disclosed. Yes.

特開2000−206965号公報JP 2000-206965 A

ところで、音楽に慣れ親しんでいない初心者ユーザでは、上記特許文献1に開示の教習形態であっても、ガイドされた鍵を押鍵することだけに専心する為、毎回同じ箇所(音)で同じ演奏ミスを繰り返してしまう虞があり、この結果、間違った演奏をする癖が付いてしまうことも起こり得る。つまり、換言すれば、曲を演奏するユーザの間違う癖を矯正して練習効果を高めることが叶わない、という問題がある。   By the way, in the beginner user who is not familiar with music, even if it is the teaching form disclosed in the above-mentioned Patent Document 1, since it is dedicated to pressing the guided key, the same performance mistake at the same location (sound) every time. May be repeated, and as a result, a habit of performing the wrong performance may occur. That is, in other words, there is a problem that it is not possible to improve the practice effect by correcting the wrong habit of the user who plays the song.

本発明は、このような事情に鑑みてなされたもので、曲を演奏するユーザの間違う癖を矯正して練習効果を高めることができる演奏練習装置およびプログラムを提供することを目的としている。   The present invention has been made in view of such circumstances, and it is an object of the present invention to provide a performance practice device and a program that can improve a practice effect by correcting a mistake of a user who plays a song.

上記目的を達成するため、請求項1に記載の発明では、曲を構成する各音を表す音符データを記憶する音符データ記憶手段と、前記音符データ記憶手段に記憶される音符データに従って曲を構成する各音の演奏をガイドする第1のガイド手段と、前記第1のガイド手段によるガイドに対応したユーザの演奏操作で発生する演奏データと、ガイドされた音の音符データとを比較して演奏ミスの有無を判定する第1の判定手段と、前記第1の判定手段により演奏ミスが生じたと判定された音の音符データに対応付けられ、当該演奏ミスの内容に相当する演奏ミス項目の発生回数を計数する計数手段と、前記計数手段により計数された演奏ミス項目別の発生回数を、曲を構成する各音の音符データ毎に集計した結果に基づき曲中の演奏ミス仕勝ちな音と、その音で起き易い演奏ミス項目とを抽出する抽出手段と、前記抽出手段によって曲中の演奏ミス仕勝ちな音と、その音で起き易い演奏ミス項目とが抽出された後に前記第1のガイド手段が実行するガイドに対応したユーザの演奏操作で発生する演奏データと、ガイドされた音の音符データとを比較して演奏ミスの有無を判定する第2の判定手段と、前記第2の判定手段により演奏ミスが生じたと判定された音が、前記抽出手段によって抽出された演奏ミス仕勝ちな音における起き易い演奏ミス項目に合致した場合に、その演奏ミス仕勝ちな音の音符データの演奏を所定回数繰り返しガイドする第2のガイド手段とを具備することを特徴とする。   In order to achieve the above object, according to the first aspect of the present invention, a musical piece data storage means for storing musical note data representing each sound constituting a musical composition, and a musical composition according to the musical note data stored in the musical note data storage means. The first guide means for guiding the performance of each sound to be performed, the performance data generated by the user's performance operation corresponding to the guide by the first guide means, and the musical note data of the guided sound are compared. A first determination means for determining the presence or absence of a mistake, and occurrence of a performance error item corresponding to the note data of the sound determined by the first determination means that a performance error has occurred and corresponding to the content of the performance error Counting means for counting the number of times, and the number of occurrences for each performance error item counted by the counting means is calculated based on the result of counting for each note data of each sound constituting the music. And extraction means for extracting performance mistake items that are likely to occur with the sound, and the first means after extraction of performance mistake items that are likely to occur with the sound and extraction of the performance mistake items that are likely to occur with the sound. Second determination means for comparing the performance data generated by the user's performance operation corresponding to the guide executed by the guide means and the note data of the guided sound to determine whether or not there is a performance error; and If the sound determined that the performance error has occurred matches the performance error item that is likely to occur in the performance error winning sound extracted by the extraction means, the note data of the performance error winning sound And a second guide means for repeatedly guiding the performance of a predetermined number of times.

上記請求項1に従属する請求項2に記載の発明では、前記抽出手段は、演奏ミス項目別の発生回数の内、発生回数が最大かつ所定回数以上の演奏ミス項目を有する音符データを、演奏ミス仕勝ちな音における起き易い演奏ミス項目として抽出することを特徴とする。   In the invention according to claim 2, which is dependent on claim 1, the extraction means performs note data having performance error items having the maximum number of occurrences and a predetermined number of times or more out of the number of occurrences of performance error items. It is characterized in that it is extracted as a performance error item that is likely to occur in a mistake-winning sound.

上記請求項1に従属する請求項3に記載の発明では、前記第2のガイド手段は、前記第2の判定手段により演奏ミスが生じたと判定された音に対応する演奏データが発生した時点の前後所定時間幅を繰り返し練習期間に設定する期間設定手段と、前記期間設定手段により設定された繰り返し練習期間において、演奏ミス仕勝ちな音の音符データの演奏を所定回数繰り返しガイドした後、前記第1のガイド手段にガイド再開を指示する再開指示手段とを具備することを特徴とする。   In the invention according to claim 3, which is dependent on claim 1, the second guide means has a point in time when performance data corresponding to the sound determined to have caused a performance error by the second determination means is generated. A period setting means for setting a predetermined time width before and after the repetition practice period, and after performing a predetermined number of repetitions of the performance of the musical note data of the performance mistake in the repetition practice period set by the period setting means, And a restart instruction means for instructing one guide means to resume the guide.

上記請求項1に従属する請求項4に記載の発明では、前記第2のガイド手段による繰り返しガイドに対応したユーザの演奏操作が適正であるか否かを判定する繰り返し練習判定手段と、この繰り返し練習判定手段により誤った演奏操作が行われたと判定された場合に、前記第2のガイド手段に繰り返しガイドを始めからやり直させる練習回数制御手段とを更に具備することを特徴とする。   In the invention according to claim 4 subordinate to claim 1, the repeated practice determining means for determining whether or not the user's performance operation corresponding to the repeated guide by the second guide means is appropriate, and this repetition It is further characterized by further comprising practice number control means for causing the second guide means to repeat the guide from the beginning when it is judged by the practice judging means that an erroneous performance operation has been performed.

上記請求項1に従属する請求項5に記載の発明では、曲演奏上の影響度に応じて異なる重み付け係数を予め演奏ミス項目毎に付与しておき、前記第2の判定手段により演奏ミスが生じたと判定された音が、前記抽出手段によって抽出された演奏ミス仕勝ちな音における起き易い演奏ミス項目に合致した場合に、その起き易い演奏ミス項目に付与された重み付け係数を参照して前記第2のガイド手段に指示する繰り返し回数を異ならせる回数指示手段を更に備えることを特徴とする。   In the invention according to claim 5 that is dependent on claim 1, a weighting coefficient that differs according to the degree of influence on the music performance is assigned in advance to each performance error item, and the second determination means determines whether a performance error has occurred. When the sound determined to have occurred matches a performance error item that is likely to occur in the performance error winning sound extracted by the extraction means, the weighting factor assigned to the performance error item that is likely to occur is referred to above. It is further characterized by further comprising a number instructing means for varying the number of repetitions instructed to the second guide means.

請求項6に記載の発明では、コンピュータに、曲を構成する各音を表す音符データに従って曲を構成する各音の演奏をガイドする第1のガイドステップと、前記第1のガイドステップによるガイドに対応したユーザの演奏操作で発生する演奏データと、ガイドされた音の音符データとを比較して演奏ミスの有無を判定する第1の判定ステップと、前記第1の判定ステップにより演奏ミスが生じたと判定された音の音符データに対応付けられ、当該演奏ミスの内容に相当する演奏ミス項目の発生回数を計数する計数ステップと、前記計数ステップにより計数された演奏ミス項目別の発生回数を、曲を構成する各音の音符データ毎に集計した結果に基づき曲中の演奏ミス仕勝ちな音と、その音で起き易い演奏ミス項目とを抽出する抽出ステップと、前記抽出ステップによって曲中の演奏ミス仕勝ちな音と、その音で起き易い演奏ミス項目とが抽出された後に前記第1のガイドステップが実行するガイドに対応したユーザの演奏操作で発生する演奏データと、ガイドされた音の音符データとを比較して演奏ミスの有無を判定する第2の判定ステップと、前記第2の判定ステップにより演奏ミスが生じたと判定された音が、前記抽出ステップによって抽出された演奏ミス仕勝ちな音における起き易い演奏ミス項目に合致した場合に、その演奏ミス仕勝ちな音の音符データの演奏を所定回数繰り返しガイドする第2のガイドステップとを実行させることを特徴とする。   In the invention according to claim 6, the first guide step for guiding the performance of each sound constituting the music according to the note data representing each sound constituting the music, and the guide by the first guide step. A first determination step for determining whether or not there is a performance error by comparing performance data generated by a corresponding user performance operation and the note data of the guided sound, and a performance error occurs by the first determination step. A counting step for counting the number of occurrences of performance error items corresponding to the content of the performance error, and the number of occurrences for each performance error item counted in the counting step. An extraction step for extracting the performance mistakes in the music based on the result of counting for each note data of each sound constituting the music and the performance error items likely to occur in the sound; The performance generated by the user's performance operation corresponding to the guide executed by the first guide step after the extraction step extracts the performance mistakes in the song and the performance mistake items likely to occur in the sound. A second determination step of comparing the data and note data of the guided sound to determine the presence or absence of a performance error, and the sound determined to have a performance error as a result of the second determination step is the extraction step. A second guide step that repeatedly guides the performance of the musical note data of the performance mistake winning sound when it matches the performance error item likely to occur in the performance mistake winning sound extracted by It is characterized by.

本発明では、曲を演奏するユーザの間違う癖を矯正して練習効果を高めることができる。   In the present invention, it is possible to correct the mistakes of the user who plays the music and enhance the practice effect.

実施の一形態による演奏教習装置100の構成を示すブロック図である。It is a block diagram which shows the structure of the performance learning apparatus 100 by one Embodiment. RAM14のメモリ構成を示すメモリマップである。3 is a memory map showing a memory configuration of a RAM 14; RAM14の曲データエリアMDEに格納される音符データの構成を示す図である。It is a figure which shows the structure of the note data stored in the music data area MDE of RAM14. RAM14の演奏データエリアPDEに格納される演奏データの構成を示す図である。It is a figure which shows the structure of the performance data stored in the performance data area PDE of RAM14. メインルーチンの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a main routine. 生成処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a production | generation process. スイッチ1処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a switch 1 process. ガイド1処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a guide 1 process. 鍵盤処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a keyboard process. 解析処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of an analysis process. 解析処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of an analysis process. 解析処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of an analysis process. 練習処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of practice processing. スイッチ2処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a switch 2 process. ガイド2処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a guide 2 process. ガイド2処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a guide 2 process. 制御処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a control process. 制御処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a control process.

以下、図面を参照して本発明の実施形態について説明する。
A.構成
図1は、実施の一形態による演奏教習装置100の構成を示すブロック図である。この図において、鍵盤10は演奏操作(押離鍵操作)に応じたキーオン/キーオフ信号、鍵番号およびベロシティ等の演奏情報を発生する。スイッチ部11は、装置パネルに配設される各種操作スイッチを有し、ユーザ操作されるスイッチ種に対応したスイッチイベントを発生する。スイッチ部11に配設される主要なスイッチとしては、例えば動作モード(後述する生成モード、練習モードおよびクリアモードの何れか)を設定するモードスイッチ、ガイドの開始/停止を指示するスタート/ストップスイッチ等を備える。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
A. Configuration FIG. 1 is a block diagram illustrating a configuration of a performance learning apparatus 100 according to an embodiment. In this figure, the keyboard 10 generates performance information such as a key-on / key-off signal, a key number, and velocity in accordance with a performance operation (press / release key operation). The switch unit 11 has various operation switches arranged on the device panel, and generates a switch event corresponding to the switch type operated by the user. The main switches arranged in the switch unit 11 include, for example, a mode switch for setting an operation mode (a generation mode, a practice mode, and a clear mode, which will be described later), and a start / stop switch for instructing start / stop of a guide. Etc.

CPU12は、スイッチ部11が発生する各種スイッチイベントに応じて装置各部を制御する。本発明の要旨に係わるCPU12の処理動作については追って詳述する。ROM13には、CPU12にロードされる各種の制御プログラムが記憶される。各種の制御プログラムとは、後述するメインルーチン、生成処理、練習処理およびクリア処理を含む。なお、生成処理は、スイッチ1処理、ガイド1処理、鍵盤処理および解析処理から構成される。また、練習処理は、スイッチ2処理、ガイド2処理、鍵盤処理および制御処理から構成される。   The CPU 12 controls each part of the apparatus according to various switch events generated by the switch part 11. The processing operation of the CPU 12 according to the gist of the present invention will be described in detail later. The ROM 13 stores various control programs loaded on the CPU 12. The various control programs include a main routine, generation processing, practice processing, and clear processing described later. The generation process includes a switch 1 process, a guide 1 process, a keyboard process, and an analysis process. The practice process includes a switch 2 process, a guide 2 process, a keyboard process, and a control process.

RAM14は、図2に図示するように、ワークエリアWE、曲データエリアMDEおよび演奏データエリアPDEを備える。ワークエリアWEには、CPU12の処理に用いられる各種レジスタ・フラグデータが一時記憶される。また、ワークエリアWEの一部は、演奏データバッファとして用いられ、押離鍵操作に応じて発生する一連の演奏データが一時記憶される。この一時記憶された一連の演奏データは、後述の演奏データエリアPDEにストアされる。   The RAM 14 includes a work area WE, a song data area MDE, and a performance data area PDE, as shown in FIG. In the work area WE, various register / flag data used for the processing of the CPU 12 are temporarily stored. A part of the work area WE is used as a performance data buffer, and a series of performance data generated in response to a key press / release operation is temporarily stored. The series of performance data temporarily stored is stored in a performance data area PDE described later.

RAM14の曲データエリアMDEには、図3に図示するように、曲を構成する各音を表す音符データ[0]〜[N]が曲進行順にアドレッシングされて格納される。一つの音符データは、発音ピッチを表す「音高」と、曲開始時点からの経過時間(絶対時間)で発音タイミングを表す「ステップタイム」と、発音期間(音長)を表す「ゲートタイム」、演奏ミスした回数を記録する「ミス回数エリア」と、「終了フラグ」と、「判別フラグ」とから構成される。   In the music data area MDE of the RAM 14, note data [0] to [N] representing each sound constituting the music are addressed and stored in the order of music progress, as shown in FIG. One piece of note data consists of “pitch” representing the pronunciation pitch, “step time” representing the pronunciation timing in terms of elapsed time (absolute time) from the beginning of the song, and “gate time” representing the pronunciation period (sound length). The “Miss number area” for recording the number of performance mistakes, “End flag”, and “Determination flag”.

「ミス回数エリア」は、演奏ミスの内容を分類して計数する演奏ミス項目として「遅れ回数」、「進み回数」、「誤り回数」および「抜け回数」を備える。「遅れ回数」は、上記「ステップタイム」に対して予め定義される適正な押鍵タイミング許容範囲より遅れて押鍵した場合にカウントされる。「進み回数」は、同様に適正な押鍵タイミング許容範囲より早く押鍵した場合にカウントされる。「誤り回数」は、音符データ中の「音高」と一致しない他の鍵を誤って押鍵した場合にカウントされる。「抜け回数」は、音符データ中の「音高」に一致する鍵を押鍵しなかった場合にカウントされる。   The “miss count area” includes “delay count”, “advance count”, “error count”, and “miss count” as performance error items for classifying and counting the content of performance errors. The “number of delays” is counted when the key is pressed after an appropriate key pressing timing allowable range defined in advance with respect to the “step time”. Similarly, the “advance count” is counted when the key is pressed earlier than the appropriate key pressing timing allowable range. The “number of errors” is counted when another key that does not match the “pitch” in the note data is accidentally pressed. The “number of omissions” is counted when a key corresponding to “pitch” in the note data is not pressed.

「終了フラグ」は、音符データが解析処理(後述する)に用いられた場合に「1」、用いられていない場合に「0」となるフラグである。「判別フラグ」は、ユーザの間違う癖(起き易い演奏ミスの内容)を表すものであり、後述する解析処理によって付与される。具体的には、演奏ミス項目の中で「遅れ回数」が所定値以上かつ最も多い場合に、押鍵が遅れるというユーザの間違う癖が付いた音符データと判別されてフラグ値「1」がセットされる。   The “end flag” is a flag that is “1” when the note data is used for analysis processing (described later), and “0” when the note data is not used. The “discriminating flag” represents a mistake by the user (contents of performance mistakes that easily occur), and is given by an analysis process described later. Specifically, among the performance mistake items, when the “number of delays” is greater than or equal to a predetermined value and is the largest, it is determined that the note data has a wrong habit that the key is delayed and the flag value “1” is set. Is done.

また、演奏ミス項目の中で「進み回数」が所定値以上かつ最も多い場合に、早めに押鍵されるというユーザの間違う癖が付いた音符データと判別されてフラグ値「2」がセットされる。さらに、演奏ミス項目の中で「誤り回数」が所定値以上かつ最も多い場合に、誤押鍵されるというユーザの間違う癖が付いた音符データと判別されてフラグ値「3」がセットされる。また、演奏ミス項目の中で「抜け回数」が所定値以上かつ最も多い場合に、押鍵し忘れるというユーザの間違う癖が付いた音符データと判別されてフラグ値「4」がセットされる。なお、所定値以上かつ最多の演奏ミス項目が複数存在する場合には、ユーザの間違う癖を特定することが出来ない為、フラグ値「0」がセットされる。   In addition, when the “advance count” is greater than or equal to a predetermined value among the performance mistake items, it is determined that the note data has a wrong habit of being pressed early and the flag value “2” is set. The Further, in the performance error item, when the “number of errors” is greater than or equal to a predetermined value and the largest, it is determined as the note data with the wrong key that the user is erroneously pressed, and the flag value “3” is set. . If the number of “missing times” is greater than or equal to a predetermined value among the performance mistake items, it is determined that the note data has a wrong habit of forgetting to press the key, and a flag value “4” is set. Note that when there are a plurality of performance error items that are greater than or equal to the predetermined value and the maximum number of performance errors, it is not possible to specify an incorrect habit of the user, and therefore a flag value “0” is set.

演奏データエリアPDEは、図4に図示するように、演奏回数に対応した演奏(1)〜(N)のエリアに分割されており、一つのエリアには曲の始めから終わりまで弾くユーザの押鍵操作に応じて発生する一連の演奏データ、すなわち上述のワークエリアWEに一時記憶された演奏データ[0]〜[n]が転送格納される。一つの演奏データは、押鍵された鍵の音高を表す「KEY」と、曲開始時点からの経過時間(絶対時間)で押鍵されたタイミングを表す「ST(ステップタイム)」と、「終了フラグ」とから構成される。終了フラグは、演奏データが解析処理(後述する)に用いられた場合に「1」、用いられていない場合に「0」となるフラグである。   As shown in FIG. 4, the performance data area PDE is divided into performance (1) to (N) areas corresponding to the number of performances, and one area is pressed by the user who plays from the beginning to the end of the song. A series of performance data generated in response to a key operation, that is, performance data [0] to [n] temporarily stored in the work area WE is transferred and stored. One piece of performance data includes “KEY” that indicates the pitch of the key that has been pressed, “ST (step time)” that indicates the timing at which the key was pressed by the elapsed time (absolute time) from the beginning of the song, End flag ". The end flag is a flag that is “1” when the performance data is used for analysis processing (described later), and “0” when the performance data is not used.

再び図1を参照して実施形態の構成について説明を進める。図1において、表示部15は、LCDパネル等から構成され、CPU12から供給される表示制御信号に応じて装置の設定状態や動作状態など画面表示したりガイド表示したりする。なお、ここで言うガイド表示とは、鍵盤10の各鍵を示す画像を表示部15に画面表示しておき、その画面表示された鍵画像の表示形態を変化させて弾くべき鍵をユーザに案内する表示形態を指す。   The configuration of the embodiment will be described with reference to FIG. 1 again. In FIG. 1, the display unit 15 is configured by an LCD panel or the like, and displays a screen such as a setting state or an operation state of the apparatus or a guide display according to a display control signal supplied from the CPU 12. Here, the guide display means that an image showing each key of the keyboard 10 is displayed on the screen of the display unit 15, and a key to be played is guided to the user by changing the display form of the key image displayed on the screen. This refers to the display form.

音源16は、周知の波形メモリ読み出し方式によって構成され、時分割動作する複数の発音チャンネルを備える。この音源16は、各種音色の波形データを記憶しており、これらの内、CPU12から供給される楽音パラメータに応じた波形データを読み出して楽音出力を発生する。サウンドシステム17は、音源16の楽音出力をアナログ形式の楽音信号に変換した後、その楽音信号から不要ノイズを除去する等のフィルタリングを施してからレベル増幅してスピーカより発音させる。   The sound source 16 is configured by a well-known waveform memory reading method and includes a plurality of sound generation channels that perform time-division operation. The tone generator 16 stores waveform data of various timbres, and among these, reads out waveform data corresponding to a tone parameter supplied from the CPU 12 and generates a tone output. The sound system 17 converts the musical tone output of 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 level-amplifies the musical tone output from the speaker.

B.動作
次に、図5〜図18を参照して上記構成による実施形態の動作について説明する。以下では、最初にメインルーチンの動作を説明し、続いてメインルーチンからコールされる各処理(生成処理および練習処理)の動作について述べる。
B. Operation Next, the operation of the embodiment having the above-described configuration will be described with reference to FIGS. Hereinafter, the operation of the main routine will be described first, and then the operation of each process (generation process and practice process) called from the main routine will be described.

(1)メインルーチンの動作
演奏教習装置100がパワーオンされると、CPU12は図3に図示するメインルーチンを実行してステップSA1に処理を進め、RAM14のワークエリアWEに格納される各種レジスタやフラグデータをゼロリセット又は初期値セットする他、音源16に対して初期化を指示するイニシャライズを行う。イニシャライズが完了すると、CPU12は、ステップSA2に進み、現在設定されている動作モードが「生成モード」、「練習モード」および「クリアモード」の何れであるかを判別する。なお、動作モードは、後述するように、モードスイッチ操作に応じて変更設定される。また、演奏教習装置100のパワーオン当初では、上記ステップSA1のイニシャライズにおいて「生成モード」がデフォルト設定される。
(1) Operation of Main Routine When the performance learning apparatus 100 is powered on, the CPU 12 executes the main routine shown in FIG. 3 and proceeds to step SA1, where various registers stored in the work area WE of the RAM 14 In addition to resetting the flag data to zero or setting an initial value, initialization is performed to instruct the sound source 16 to perform initialization. When the initialization is completed, the CPU 12 proceeds to step SA2, and determines whether the currently set operation mode is “generation mode”, “practice mode”, or “clear mode”. The operation mode is changed and set according to the mode switch operation, as will be described later. In addition, at the beginning of power-on of the performance learning apparatus 100, the “generation mode” is set as a default in the initialization in step SA1.

動作モードが「生成モード」ならば、ステップSA3に進み、生成処理を実行する。後述するように、生成処理では、ガイドの開始が指示されると、音符データに基づきガイド表示を行い、このガイド表示に従ってユーザが行う押鍵操作に応じて発生する一連の演奏データ[0]〜[n]を、演奏データエリアPDE中で演奏回数Nで指定される演奏(N)のエリアにストアする。   If the operation mode is “generation mode”, the process proceeds to step SA3 to execute generation processing. As will be described later, in the generation process, when the start of the guide is instructed, a guide display is performed based on the note data, and a series of performance data [0] to [0] to be generated in response to a key pressing operation performed by the user according to the guide display. [N] is stored in the performance (N) area designated by the number N of performances in the performance data area PDE.

曲の始めから終わりまでをガイド表示に従って弾く演奏練習がN回以上行われると、ポインタnで指定される演奏データエリアPDE中の演奏(n)のエリアから、各音符データ[0]〜[N]の発音タイミングに最も近い演奏データをそれぞれ探し出し、探し出した演奏データとそれに対応する音符データとの比較に基づき演奏ミスの有無を判断し、演奏ミスが有れば、その内容(誤押鍵、押鍵タイミングの遅れ、押鍵タイミングの進み、押鍵抜け)を解析した結果に応じて、対応する音符データ中のミス回数エリアに設けられた演奏ミス項目(「遅れ回数」、「進み回数」、「誤り回数」および「抜け回数」)の中で合致する項目の回数をカウントして各音符データ[0]〜[N]毎に演奏ミスの内容を分類集計する。   When the performance practice of playing from the beginning to the end of the song according to the guide display is performed N or more times, each note data [0] to [N] from the performance (n) area in the performance data area PDE designated by the pointer n. ] Is searched for the performance data closest to the sound generation timing, and the presence or absence of a performance error is determined based on a comparison between the searched performance data and the corresponding note data. Performance error items ("delay count", "advance count") provided in the miss count area in the corresponding note data according to the analysis result of delay of key press timing, key press timing advance, key press omission) , “Number of errors” and “number of omissions”), the number of matching items is counted, and the contents of performance mistakes are classified and totaled for each note data [0] to [N].

演奏データエリアPDE中の全てのエリア(演奏(1)〜(N))の演奏データに基づいて各音符データ[0]〜[N]毎に演奏ミスの内容を分類集計し終えると、分類集計された各音符データ[0]〜[N]毎の演奏ミスの内容に基づきユーザの間違う癖(演奏ミス仕勝ちな音と、その音において起き易い演奏ミスの内容)を判別し、その結果を表すフラグ値の判別フラグを各音符データ[0]〜[N]に付与する。こうした生成処理が完了すると、再び上記ステップSA2に戻り、現在設定されている動作モードを判別する。   When the contents of performance mistakes for each note data [0] to [N] are classified and totaled for each note data [0] to [N] based on the performance data of all areas (performances (1) to (N)) in the performance data area PDE, the classification is totaled. Based on the contents of the performance mistakes for each of the recorded note data [0] to [N], the user is discriminated from the wrong habits (the sound of the performance mistakes and the performance mistakes that are likely to occur in the sounds), and the results are determined. A flag for determining the flag value to be represented is assigned to each note data [0] to [N]. When such a generation process is completed, the process returns to step SA2 again to determine the currently set operation mode.

動作モードが「練習モード」であると、ステップSA4に進み、練習処理を実行する。後述するように、練習処理では、スタート/ストップスイッチ操作によりガイド開始が指示されると、音符データに基づきガイド表示を行い、そのガイド表示に従ったユーザの押離鍵操作に応じて楽音の発音/消音を音源16に指示する一方、押鍵操作に対応して押鍵音高KEYと、押鍵時点におけるレジスタTの値で表されるステップタイムSTと、フラグ値「0」の終了フラグとから構成される演奏データを生成し、生成した演奏データに対応する音符データをRAM14の曲データエリアMDEから検索する。   If the operation mode is the “practice mode”, the process proceeds to step SA4 and practice processing is executed. As will be described later, in the practice process, when the start of the guide is instructed by operating the start / stop switch, a guide is displayed based on the note data, and a tone is generated according to the user's key release operation according to the guide display. / Instructing the sound source 16 to mute, while corresponding to the key depression operation, the key depression pitch KEY, the step time ST represented by the value of the register T at the time of the key depression, and the end flag of the flag value “0” The performance data composed of the musical performance data is generated, and the musical note data corresponding to the generated performance data is retrieved from the music data area MDE of the RAM.

検索された該当音符データと演奏データとの比較に基づき演奏ミスの有無を判別し、演奏ミスが有ると、その演奏ミスした音符データ中の判別フラグを参照して同じ過ちを繰り返したかどうかを判断する。すなわち、早めに押鍵仕勝ちな音を早めに押鍵したり、遅れて押鍵仕勝ちな音を遅れて押鍵したりする演奏ミスや、押鍵間違い仕勝ちな音を誤押鍵したり、押鍵抜け仕勝ちな音を押鍵し忘れたりする演奏ミスが発生すると、その間違う癖を矯正する繰り返し練習期間を設定する。繰り返し練習期間が設定されると、その繰り返し練習期間において繰り返し回数Mに達するまで間違う癖を矯正するガイドを繰り返し行い、それが完了すると、通常のガイドを再開する。こうした練習処理が完了すると、再び上記ステップSA2に戻り、現在設定されている動作モードを判別する。   Based on the comparison between the searched note data and performance data, the presence or absence of a performance error is determined. If there is a performance error, it is determined whether the same mistake has been repeated by referring to the determination flag in the performance error data. To do. In other words, mistakes in performance such as pressing a key-pressed sound early, keying a delayed key-pressed sound late, and key-incorrect key-pressed sound. If a performance error occurs, such as when a key is missed or a key is missed, a repeated practice period is set to correct the mistake. When the repetition practice period is set, the guide for correcting the wrong wrinkles is repeatedly performed until the repetition count M is reached in the repetition practice period, and when the guide is completed, the normal guide is resumed. When such practice processing is completed, the process returns to step SA2 again to determine the currently set operation mode.

動作モードが「クリアモード」であると、ステップSA5に進み、クリア処理を実行する。クリア処理では、RAM15の曲データエリアMDE(図3参照)に格納される各音符データ[0]〜[N]におけるミス回数エリアをゼロクリアすると共に、演奏データエリアPDE(図4参照)の演奏(1)〜(N)の各エリアに格納される演奏データ[0]〜[n]を全てクリアする。そして、クリア処理が完了すると、再び上記ステップSA2に戻り、現在設定されている動作モードを判別する。   If the operation mode is “clear mode”, the process proceeds to step SA5 to execute a clear process. In the clear process, the number-of-misses area in each note data [0] to [N] stored in the song data area MDE (see FIG. 3) of the RAM 15 is cleared to zero and the performance (see FIG. 4) in the performance data area PDE (see FIG. 4). All the performance data [0] to [n] stored in the areas 1) to (N) are cleared. When the clear process is completed, the process returns to step SA2 again to determine the currently set operation mode.

(2)生成処理の動作
次に、図6を参照して生成処理の動作を説明する。上述したメインルーチンのステップSA3(図5参照)を介して本処理が実行されると、CPU12は図6に図示するステップSB1に進み、スイッチ1処理を実行する。スイッチ1処理では、後述するように、モードスイッチがオン操作された場合には動作モードの変更を指示する。また、スタート/ストップスイッチのオン操作に応じてスタートフラグSTFが「1」となり、ガイドの開始が指示された場合には、レジスタTおよび解析フラグKFをゼロリセットすると共に、タイマインタラプト禁止を解除する。一方、スタート/ストップスイッチのオン操作に応じてスタートフラグSTFが「0」となり、ガイドの停止が指示された場合には、表示部15のガイド表示を消去してタイマインタラプトを禁止する。
(2) Operation of Generation Process Next, the operation of the generation process will be described with reference to FIG. When this process is executed via step SA3 (see FIG. 5) of the main routine described above, the CPU 12 proceeds to step SB1 shown in FIG. 6 and executes the switch 1 process. In the switch 1 process, as described later, when the mode switch is turned on, an instruction to change the operation mode is given. When the start flag STF is set to “1” in response to the start / stop switch being turned on and the start of the guide is instructed, the register T and the analysis flag KF are reset to zero and the timer interrupt prohibition is canceled. . On the other hand, when the start flag STF becomes “0” in response to the ON operation of the start / stop switch and the guide stop is instructed, the guide display on the display unit 15 is deleted and the timer interrupt is prohibited.

続いて、ステップSB2では、ガイド1処理を実行する。ガイド1処理では、後述するように、ガイド進行中(スタートフラグSTFが「1」)であると、最小単位時間(ティック)の経過毎にレジスタTの値を歩進し、歩進されたレジスタTの値と一致するステップタイムを有し、発音タイミングに達した音符データが有れば、その音符データに基づき弾くべき鍵を案内するガイド表示を行い、歩進されたレジスタTの値が、ステップタイムとゲートタイムとの加算値に一致し、消音タイミングに達した音符データが有れば、その音符データに基づきガイド表示を消去する。こうしたガイドが曲終了まで行われると、そのガイドに従ってユーザが行った押鍵操作に応じて発生した一連の演奏データ[0]〜[n]を、演奏データエリアPDE中で演奏回数Nで指定される演奏(N)のエリアにストアする。   Subsequently, in step SB2, guide 1 processing is executed. In the guide 1 process, as described later, if the guide is in progress (the start flag STF is “1”), the value of the register T is incremented every time the minimum unit time (tick) has elapsed, and the incremented register is incremented. If there is note data that has a step time that matches the value of T and has reached the sounding timing, a guide display that guides the key to be played based on the note data is performed, and the value of the incremented register T is If there is note data that matches the added value of the step time and the gate time and has reached the mute timing, the guide display is erased based on the note data. When such a guide is performed until the end of the song, a series of performance data [0] to [n] generated in response to the key pressing operation performed by the user according to the guide is designated by the number N of performances in the performance data area PDE. Store in the performance (N) area.

次いで、ステップSB3では、押離鍵操作に応じて楽音の発音/消音を音源16に指示する一方、ガイド進行中であれば、ユーザの押鍵操作に応じて、押鍵音高KEYと、押鍵時点におけるレジスタTの値で表されるステップタイムSTと、フラグ値「0」の終了フラグとから構成される演奏データを発生してRAM14のワークエリアWEにストアする鍵盤処理を実行する。   Next, in step SB3, the tone generator 16 is instructed to generate / mute a musical sound in response to a key pressing operation, and if the guide is in progress, a key pressing pitch KEY and a key pressing key KEY are pressed in response to the user's key pressing operation. A keyboard process is performed in which performance data composed of a step time ST represented by the value of the register T at the time of the key and an end flag of the flag value “0” is generated and stored in the work area WE of the RAM 14.

そして、ステップSB4では、解析処理を実行する。解析処理では、後述するように、ポインタnで指定される演奏データエリアPDE中の演奏(n)のエリアから、曲データエリアPDE中の各音符データ[0]〜[N]の発音タイミングに最も近い演奏データをそれぞれ探し出し、探し出した演奏データとそれに対応する音符データとの比較に基づき演奏ミスの有無を判断する。演奏ミスが有れば、その内容(誤押鍵、押鍵タイミングの遅れ、押鍵タイミングの進み、押鍵抜け)を解析した結果に応じて、対応する音符データ中のミス回数エリアに設けられた演奏ミス項目(「遅れ回数」、「進み回数」、「誤り回数」および「抜け回数」)の中で合致する項目の回数をカウントして各音符データ[0]〜[N]毎に演奏ミスの内容を分類集計する。演奏データエリアPDE中の全てのエリア(演奏(1)〜(N))の演奏データに基づいて各音符データ[0]〜[N]毎に演奏ミスの内容を分類集計し終えると、分類集計された各音符データ[0]〜[N]毎の演奏ミスの内容に基づきユーザの間違う癖(演奏ミス仕勝ちな音と、その音において起き易い演奏ミスの内容)を判別し、その結果を表すフラグ値の判別フラグを各音符データ[0]〜[N]に付与する。   In step SB4, an analysis process is executed. In the analysis processing, as will be described later, from the performance (n) area in the performance data area PDE designated by the pointer n, the sound generation timing of each note data [0] to [N] in the music data area PDE is the most. Each piece of near performance data is searched, and the presence or absence of a performance error is determined based on a comparison between the searched performance data and the corresponding note data. If there is a performance mistake, it is provided in the number-of-misses area in the corresponding note data according to the result of analyzing its contents (wrong key press, delay in key press timing, key press timing advance, key press omission). The number of matching items among the performance error items ("delay count", "advance count", "error count", and "miss count") is counted and played for each note data [0] to [N]. Classify and aggregate the contents of mistakes. When the contents of performance mistakes for each note data [0] to [N] are classified and totaled for each note data [0] to [N] based on the performance data of all areas (performances (1) to (N)) in the performance data area PDE, the classification is totaled. Based on the contents of the performance mistakes for each of the recorded note data [0] to [N], the user is discriminated from the wrong habits (the sound of the performance mistakes and the performance mistakes that are likely to occur in the sounds), and the results are determined. A flag for determining the flag value to be represented is assigned to each note data [0] to [N].

次いで、ステップSB5に進み、生成モード以外の他の動作モードに変更されたか否かを判断する。他の動作モードに変更されなければ、判断結果は「NO」になり、上述したステップSB1に処理を戻す。以後、生成モードから他の動作モードに変更されるまで上記ステップSB1〜SB4を繰り返す。そして、上述したモードスイッチのオン操作に応じて、生成モードから他の動作モードに変更されると、上記ステップSB5の判断結果が「YES」となり、本処理を終える。   Next, the process proceeds to step SB5, and it is determined whether or not the operation mode has been changed to a mode other than the generation mode. If the mode is not changed to another operation mode, the determination result is “NO”, and the process returns to step SB1 described above. Thereafter, the above steps SB1 to SB4 are repeated until the generation mode is changed to another operation mode. Then, when the generation mode is changed to another operation mode in response to the above-described operation of turning on the mode switch, the determination result in step SB5 is “YES”, and this processing is finished.

このように、生成処理では、ガイドの開始が指示されると、最小単位時間(ティック)の経過毎に歩進されるレジスタTの値と一致するステップタイムの音符データ(発音タイミングの音)が有れば、その音符データに基づき弾くべき鍵を案内するガイド表示を行い、歩進されたレジスタTの値がステップタイムとゲートタイムとの加算値に一致する音符データ(消音タイミングの音)が有れば、その音符データに基づきガイド表示を消去するという動作を曲終了するまで行う一方、ガイド表示に従ってユーザが行った演奏操作に応じて発生する一連の演奏データ[0]〜[n]を、演奏データエリアPDE中で演奏回数Nで指定される演奏(N)のエリアにストアする。   In this way, in the generation process, when the start of the guide is instructed, the note data of the step time (sound at the sounding timing) that matches the value of the register T advanced every time the minimum unit time (tick) elapses. If there is, a guide display for guiding the key to be played is performed based on the note data, and note data (sound at the mute timing) in which the value of the incremented register T matches the added value of the step time and the gate time is provided. If there is, the operation of erasing the guide display based on the note data is performed until the end of the song, while a series of performance data [0] to [n] generated according to the performance operation performed by the user according to the guide display is performed. The performance data area PDE stores the performance (N) area designated by the number of performances N.

こうした演奏練習がN回以上行われると、ポインタnで指定される演奏データエリアPDE中の演奏(n)のエリアから、各音符データ[0]〜[N]の発音タイミングに最も近い演奏データをそれぞれ探し出し、探し出した演奏データとそれに対応する音符データとの比較に基づき演奏ミスの有無を判断し、演奏ミスが有れば、その内容(誤押鍵、押鍵タイミングの遅れ、押鍵タイミングの進み、押鍵抜け)を解析した結果に応じて、対応する音符データ中のミス回数エリアに設けられた演奏ミス項目(「遅れ回数」、「進み回数」、「誤り回数」および「抜け回数」)の中で合致する項目の回数をカウントして各音符データ[0]〜[N]毎に演奏ミスの内容を分類集計する。   When such performance practice is performed N times or more, the performance data closest to the sounding timing of each note data [0] to [N] is obtained from the performance (n) area in the performance data area PDE designated by the pointer n. Each of them is searched, and the presence or absence of a performance error is judged based on comparison between the searched performance data and the corresponding note data. If there is a performance error, its contents (wrong key press, delay in key press timing, key press timing Performance error items ("delay count", "advance count", "error count", and "miss count") provided in the miss count area in the corresponding note data according to the result of analyzing the advance and key depression) ), The number of matching items is counted and the contents of performance mistakes are classified and totaled for each note data [0] to [N].

演奏データエリアPDE中の全てのエリア(演奏(1)〜(N))の演奏データに基づいて各音符データ[0]〜[N]毎に演奏ミスの内容を分類集計し終えると、分類集計された各音符データ[0]〜[N]毎の演奏ミスの内容に基づきユーザの間違う癖(演奏ミス仕勝ちな音と、その音において起き易い演奏ミスの内容)を判別し、その結果を表すフラグ値の判別フラグを各音符データ[0]〜[N]に付与する。   When the contents of performance mistakes for each note data [0] to [N] are classified and totaled for each note data [0] to [N] based on the performance data of all areas (performances (1) to (N)) in the performance data area PDE, the classification is totaled. Based on the contents of the performance mistakes for each of the recorded note data [0] to [N], the user is discriminated from the wrong habits (the sound of the performance mistakes and the performance mistakes that are likely to occur in the sounds), and the results are determined. A flag for determining the flag value to be represented is assigned to each note data [0] to [N].

(3)スイッチ1処理の動作
次に、図7を参照してスイッチ1処理の動作を説明する。上述した生成処理のステップSB1(図6参照)を介して本処理が実行されると、CPU12は図7に図示するステップSC1に進み、スイッチ部11に配設されるモードスイッチがオン操作された否かを判断する。
(3) Operation of Switch 1 Process Next, the operation of the switch 1 process will be described with reference to FIG. When this process is executed via step SB1 (see FIG. 6) of the generation process described above, the CPU 12 proceeds to step SC1 shown in FIG. 7, and the mode switch provided in the switch unit 11 is turned on. Judge whether or not.

モードスイッチがオン操作されると、判断結果は「YES」となり、ステップSC2に進み、動作モードを変更して本処理を終える。すなわち、モードスイッチはオン操作される毎に「生成モード」、「練習モード」、「クリアモード」をサイクリックに指定するものであり、例えば「生成モード」においてモードスイッチをオン操作した場合には、「生成モード」から「練習モード」に設定変更するようになっている。   When the mode switch is turned on, the determination result is “YES”, the process proceeds to step SC2, the operation mode is changed, and this process is terminated. That is, every time the mode switch is turned on, “generation mode”, “practice mode”, and “clear mode” are cyclically specified. For example, when the mode switch is turned on in “generation mode”, The setting is changed from “generation mode” to “practice mode”.

一方、モードスイッチがオン操作されなければ、上記ステップSC1の判断結果は「NO」になり、ステップSC3に進み、スタート/ストップスイッチのオン操作の有無を判断する。スタート/ストップスイッチがオン操作されなければ、判断結果は「NO」になり、本処理を終えるが、オン操作されると、判断結果が「YES」になり、ステップSC4に進む。   On the other hand, if the mode switch is not turned on, the determination result in step SC1 is “NO”, and the process proceeds to step SC3 to determine whether or not the start / stop switch is turned on. If the start / stop switch is not turned on, the determination result is “NO”, and the present process ends. If the start / stop switch is turned on, the determination result is “YES”, and the process proceeds to step SC4.

ステップSC4では、スタートフラグSTFを反転する。スタートフラグSTFとは、フラグ値「1」の場合にガイドの開始を表し、フラグ値「0」の場合にガイドの停止を表すフラグである。また、スタート/ストップスイッチは所謂トグル動作するスイッチであり、オン操作に応じてガイドの開始/停止を交互に指示する。次いで、ステップSC5では、スタート/ストップスイッチのオン操作に応じて反転されたスタートフラグSTFが「1」であるか否かを判断する。   In step SC4, the start flag STF is inverted. The start flag STF is a flag that indicates the start of the guide when the flag value is “1” and the stop of the guide when the flag value is “0”. The start / stop switch is a so-called toggle switch, and alternately instructs the start / stop of the guide according to the ON operation. Next, in step SC5, it is determined whether or not the start flag STF inverted in response to the ON operation of the start / stop switch is “1”.

反転されたスタートフラグSTFが「1」(ガイドの開始)であると、上記ステップSC5の判断結果は「YES」になり、ステップSC6に進み、レジスタTをゼロリセットする。次いで、ステップSC7では、タイマインタラプト禁止を解除し、続くステップSC8では、解析フラグKF(後述する)をゼロリセットして本処理を終える。なお、CPU12では、上記ステップSC7においてタイマインタラプト禁止を解除すると、タイマ機能を具現するタイマインタラプト(不図示)をスタートさせ、曲再生テンポに対応した最小単位時間(ティック)をカウントし始める。   If the inverted start flag STF is “1” (start of guide), the determination result in step SC5 is “YES”, and the process proceeds to step SC6 to reset the register T to zero. Next, in step SC7, the timer interrupt prohibition is canceled, and in the subsequent step SC8, the analysis flag KF (described later) is reset to zero and the process is terminated. When the CPU 12 cancels the timer interrupt inhibition in step SC7, the CPU 12 starts a timer interrupt (not shown) that implements the timer function and starts counting the minimum unit time (tick) corresponding to the music playback tempo.

一方、スタート/ストップスイッチのオン操作に応じて反転されたスタートフラグSTFが「0」(ガイドの停止)ならば、上記ステップSC5の判断結果は「NO」になり、ステップSC9に進み、表示部15のガイド表示を消去する。そして、ステップSC10に進み、曲進行時間を計時するタイマインタラプトを禁止して本処理を終える。   On the other hand, if the start flag STF inverted according to the ON operation of the start / stop switch is “0” (stop of the guide), the determination result in step SC5 is “NO”, and the process proceeds to step SC9. 15 guide display is deleted. Then, the process proceeds to step SC10, the timer interrupt for measuring the music progression time is prohibited, and this process is finished.

このように、スイッチ1処理では、モードスイッチがオン操作された場合には動作モードの変更を指示する。また、スタート/ストップスイッチのオン操作に応じてスタートフラグSTFが「1」となり、ガイドの開始が指示された場合には、レジスタTおよび解析フラグKFをゼロリセットすると共に、タイマインタラプト禁止を解除する。一方、スタート/ストップスイッチのオン操作に応じてスタートフラグSTFが「0」となり、ガイドの停止が指示された場合には、表示部15のガイド表示を消去してタイマインタラプトを禁止する。   In this way, in the switch 1 process, when the mode switch is turned on, an instruction to change the operation mode is given. When the start flag STF is set to “1” in response to the start / stop switch being turned on and the start of the guide is instructed, the register T and the analysis flag KF are reset to zero and the timer interrupt prohibition is canceled. . On the other hand, when the start flag STF becomes “0” in response to the ON operation of the start / stop switch and the guide stop is instructed, the guide display on the display unit 15 is deleted and the timer interrupt is prohibited.

(3)ガイド1処理の動作
次に、図8を参照してガイド1処理の動作を説明する。前述した生成処理のステップSB2(図6参照)を介して本処理が実行されると、CPU12は図8に図示するステップSD1に進み、スタートフラグSTFが「1」(ガイドの開始)であるかどうかを判断する。スタートフラグSTFが「0」(ガイドの停止)ならば、判断結果は「NO」になり、本処理を終えるが、スタートフラグSTFが「1」(ガイドの開始)であると、判断結果は「YES」になり、ステップSD2に進む。
(3) Operation of Guide 1 Process Next, the operation of the guide 1 process will be described with reference to FIG. When this process is executed via step SB2 (see FIG. 6) of the generation process described above, the CPU 12 proceeds to step SD1 shown in FIG. 8, and whether the start flag STF is “1” (start of guide). Judge whether. If the start flag STF is “0” (stop of the guide), the determination result is “NO”, and this processing is terminated. If the start flag STF is “1” (start of the guide), the determination result is “ "YES", the process proceeds to step SD2.

ステップSD2では、タイマ機能(タイマインタラプト)が曲再生テンポに対応した最小単位時間(ティック)をカウントしたか否か、つまり最小単位時間が経過したかどうかを判断する。最小単位時間が経過していなければ、判断結果は「NO」となり、本処理を終えるが、最小単位時間が経過していると、上記ステップSD2の判断結果は「YES」になり、ステップSD3に進み、レジスタTの値をインクリメントして歩進させる。そして、ステップSD4では、歩進されたレジスタTの値と一致するステップタイムを有する音符データをRAM14の曲データエリアMDEから検索し、続くステップSD5では、該当する音符データの有無、つまり発音タイミングに達した音符データが有るか否かを判断する。   In step SD2, it is determined whether or not the timer function (timer interrupt) has counted the minimum unit time (tick) corresponding to the music playback tempo, that is, whether or not the minimum unit time has elapsed. If the minimum unit time has not elapsed, the determination result is “NO”, and the present process ends. However, if the minimum unit time has elapsed, the determination result in step SD2 is “YES”, and the process proceeds to step SD3. Advance and increment the value of the register T to advance. In step SD4, note data having a step time that matches the value of the incremented register T is searched from the music data area MDE of the RAM 14, and in the subsequent step SD5, the presence or absence of the corresponding note data, that is, the sounding timing is determined. It is determined whether or not there is reached note data.

発音タイミングに達した音符データが有ると、判断結果は「YES」になり、ステップSD6に進み、表示部15に画面表示される鍵盤画像において、発音タイミングに達した音符データ中の音高に対応した鍵の画像の表示形態を変化させるガイド表示を実行してユーザに弾くべき鍵を案内した後、後述のステップSD10に進む。   If there is note data that has reached the sounding timing, the determination result is “YES”, and the process proceeds to step SD6 to correspond to the pitch in the note data that has reached the sounding timing in the keyboard image displayed on the display unit 15. The guide display for changing the display form of the key image is executed to guide the user to the key to be played, and the process proceeds to step SD10 described later.

一方、発音タイミングに達した音符データが検索されなければ、上記ステップSD5の判断結果が「NO」になり、ステップSD7に進む。ステップSD7では、歩進されたレジスタTの値が、ステップタイムとゲートタイムとの加算値に一致する音符データをRAM14の曲データエリアMDEから検索し、続くステップSD8では、該当する音符データの有無、つまり消音タイミングに達した音符データが有るか否かを判断する。   On the other hand, if the note data that has reached the sounding timing is not searched, the determination result in step SD5 is “NO”, and the process proceeds to step SD7. In step SD7, the musical note data in which the value of the incremented register T matches the added value of the step time and the gate time is searched from the music data area MDE of the RAM 14, and in the subsequent step SD8, the presence or absence of the corresponding musical note data is detected. That is, it is determined whether or not there is note data that has reached the mute timing.

消音タイミングに達した音符データが無ければ、判断結果は「NO」になり、後述のステップSD10に進む。これに対し、消音タイミングに達した音符データが有ると、上記ステップSD8の判断結果が「YES」になり、ステップSD9に進み、表示部15に画面表示される鍵盤画像において、消音タイミングに達した音符データ中の音高に対応した鍵の画像の表示形態を元に戻してガイド表示を消去した後、ステップSD10に進む。   If there is no note data that has reached the mute timing, the determination result is “NO”, and the process proceeds to Step SD10 described later. On the other hand, if there is note data that has reached the mute timing, the determination result in step SD8 is “YES”, the process proceeds to step SD9, and the mute timing has been reached in the keyboard image displayed on the display unit 15. After returning the display form of the key image corresponding to the pitch in the note data to erase the guide display, the process proceeds to step SD10.

こうして、発音タイミングに達した音符データが有れば、その音符データに基づき弾くべき鍵を案内するガイド表示を行い、消音タイミングに達した音符データが有れば、その音符データに基づきガイド表示を消去すると、CPU12はステップSD10に進み、レジスタTの値が曲終了タイム以上であるか否かを判断する。   Thus, if there is note data that has reached the sounding timing, a guide display that guides the key to be played is performed based on the note data, and if there is note data that has reached the mute timing, a guide display is performed based on the note data. When erased, the CPU 12 proceeds to step SD10 and determines whether or not the value of the register T is equal to or greater than the music end time.

レジスタTの値が曲終了タイムに達せず、音符データに基づくガイドが進行中であるならば、判断結果は「NO」となり、本処理を終えるが、レジスタTの値が曲終了タイム以上となって、音符データに基づくガイドが完了すると、上記ステップSD10の判断結果は「YES」となり、ステップSD11に進む。ステップSD11では、ユーザの押鍵操作に応じて発生した一連の演奏データ、すなわち後述する鍵盤処理(図9参照)においてRAM14のワークエリアWEに一時記憶された一連の演奏データ[0]〜[n]を、RAM14の演奏データエリアPDE中において演奏回数Nで指定される演奏(N)のエリアにストアする。この後、ステップSD12に進み、演奏回数Nをインクリメントして歩進させ、続くステップSD13では、レジスタTをゼロリセットして本処理を終える。   If the value of the register T does not reach the song end time and the guide based on the note data is in progress, the determination result is “NO” and the process ends. However, the value of the register T becomes equal to or greater than the song end time. When the guide based on the note data is completed, the determination result in step SD10 is “YES”, and the flow proceeds to step SD11. In step SD11, a series of performance data generated in response to the user's key pressing operation, that is, a series of performance data [0] to [n] temporarily stored in the work area WE of the RAM 14 in a keyboard process (see FIG. 9) described later. ] Is stored in the performance (N) area designated by the number N of performances in the performance data area PDE of the RAM 14. Thereafter, the process proceeds to step SD12, where the number of performances N is incremented and stepped, and in step SD13, the register T is reset to zero and the process is terminated.

このように、ガイド1処理では、ガイド進行中(スタートフラグSTFが「1」)であると、曲再生テンポに対応した最小単位時間(ティック)が経過する毎にレジスタTの値を歩進し、歩進されたレジスタTの値と一致するステップタイムを有し、発音タイミングに達した音符データが存在すると、その音符データに基づき弾くべき鍵を案内するガイド表示を行う。また、歩進されたレジスタTの値が、ステップタイムとゲートタイムとの加算値に一致し、消音タイミングに達した音符データが存在すると、その音符データに基づきガイド表示を消去する。こうしたガイドが曲終了まで行われると、そのガイドに従ってユーザが行った押鍵操作に応じて発生した一連の演奏データ[0]〜[n]を、演奏データエリアPDE中で演奏回数Nで指定される演奏(N)のエリアにストアする。   Thus, in the guide 1 process, if the guide is in progress (the start flag STF is “1”), the value of the register T is incremented every time the minimum unit time (tick) corresponding to the music playback tempo elapses. If there is note data that has a step time that matches the value of the incremented register T and has reached the sounding timing, guide display for guiding the key to be played is performed based on the note data. If the stepped register T value matches the added value of the step time and the gate time and there is note data that has reached the mute timing, the guide display is erased based on the note data. When such a guide is performed until the end of the song, a series of performance data [0] to [n] generated in response to the key pressing operation performed by the user according to the guide is designated by the number N of performances in the performance data area PDE. Store in the performance (N) area.

(4)鍵盤処理の動作
次に、図9を参照して鍵盤処理の動作を説明する。前述した生成処理のステップSB3(図6参照)を介して本処理が実行されると、CPU12は図9に図示するステップSE1に進み、鍵盤10の各鍵についてキーオン/キーオフ信号の有無を検出する鍵走査を行い、続くステップSE2では、上記ステップSE1の鍵走査結果に基づき鍵変化を判別する。
(4) Keyboard Processing Operation Next, the keyboard processing operation will be described with reference to FIG. When this process is executed via step SB3 (see FIG. 6) of the generation process described above, the CPU 12 proceeds to step SE1 shown in FIG. 9 and detects the presence / absence of a key-on / key-off signal for each key of the keyboard 10. A key scan is performed, and in a subsequent step SE2, a key change is determined based on the key scan result in step SE1.

押離鍵操作が行われず、鍵変化が生じなければ、ステップSE2において鍵変化無しと判別して本処理を終える。押鍵操作に応じて発生するキーオン信号を検出した場合には、ステップSE2を介してステップSE3に進み、押鍵された鍵の音高(鍵番号)をレジスタKEYにストアする。以下、レジスタKEYの内容を音高KEYと称す。次いで、ステップSE4では、音高KEYおよびベロシティを含むノートオンイベントに基づき生成した楽音パラメータを音源16に供給する。これにより、音源16は押鍵された鍵の音高の楽音を発音する。   If the key release operation is not performed and no key change occurs, it is determined in step SE2 that there is no key change, and this process is terminated. If a key-on signal generated in response to a key pressing operation is detected, the process proceeds to step SE3 via step SE2, and the pitch (key number) of the key pressed is stored in the register KEY. Hereinafter, the content of the register KEY is referred to as a pitch KEY. Next, in step SE4, the musical sound parameter generated based on the note-on event including the pitch KEY and velocity is supplied to the sound source 16. As a result, the sound source 16 generates a musical tone having the pitch of the depressed key.

次に、ステップSE5では、スタートフラグSTFが「1」、すなわちガイド進行中であるかどうかを判断する。ガイド停止中(スタートフラグSTFが「0」)であると、判断結果は「NO」になり、本処理を終えるが、ガイド進行中ならば、判断結果は「YES」になり、ステップSE6に進み、音高KEYと、押鍵時点におけるレジスタTの値で表されるステップタイムSTと、フラグ値「0」の終了フラグとから構成される演奏データを発生してRAM14のワークエリアWEにストアして本処理を終える。   Next, in step SE5, it is determined whether the start flag STF is “1”, that is, whether the guide is in progress. If the guide is stopped (the start flag STF is “0”), the determination result is “NO”, and the present process ends. If the guide is in progress, the determination result is “YES” and the process proceeds to step SE6. , Performance data composed of a pitch KEY, a step time ST represented by the value of the register T at the time of key depression, and an end flag with a flag value “0” is generated and stored in the work area WE of the RAM 14. To finish this process.

一方、離鍵操作に応じて発生するキーオフ信号を検出した場合には、ステップSE2を介してステップSE7に進み、離鍵された鍵の音高(鍵番号)をレジスタKEYにストアする。そして、ステップSE8では、離鍵された鍵の音高KEYを含むノートオフイベントに基づき生成した楽音パラメータを音源16に供給する。これにより、音源16は、離鍵された鍵の音高の楽音を消音する。   On the other hand, when a key-off signal generated in response to the key release operation is detected, the process proceeds to step SE7 via step SE2, and the pitch (key number) of the key released is stored in the register KEY. In step SE8, the musical tone parameter generated based on the note-off event including the pitch KEY of the key that has been released is supplied to the sound source 16. As a result, the sound source 16 mutes the musical tone at the pitch of the released key.

以上のように、鍵盤処理では、押離鍵操作に応じて楽音の発音/消音を音源16に指示する一方、ガイド進行中であれば、押鍵された鍵の音高KEYと、押鍵時点におけるレジスタTの値で表されるステップタイムSTと、フラグ値「0」の終了フラグとから構成される演奏データを発生してRAM14のワークエリアWEにストアする。なお、押鍵毎に生成されてワークエリアWEに一時記憶される一連の演奏データは、前述したガイド1処理のステップSD11(図8参照)においてRAM14の演奏データエリアPDEに退避格納される。   As described above, in the keyboard processing, the tone generator 16 is instructed to generate / mute a musical sound in response to a key release operation. On the other hand, if the guide is in progress, the pitch KEY of the pressed key and the key pressing time point The performance data composed of the step time ST represented by the value of the register T and the end flag of the flag value “0” is generated and stored in the work area WE of the RAM 14. A series of performance data generated for each key press and temporarily stored in the work area WE is stored in the performance data area PDE of the RAM 14 in step SD11 (see FIG. 8) of the guide 1 process described above.

(5)解析処理の動作
次に、図10〜図12を参照して解析処理の動作を説明する。前述した生成処理のステップSB4(図6参照)を介して本処理が実行されると、CPU12は図10に図示するステップSF1に進み、解析フラグKFが「0」、つまりガイドに従った演奏練習により発生した演奏データに基づいてユーザの演奏ミスの癖を解析する解析処理が未完であるかどうかを判断する。解析フラグKFが「1」(解析処理完了済み)ならば、判断結果は「NO」になり、本処理を終えるが、解析フラグKFが「0」(解析処理未完)であると、判断結果は「YES」になり、ステップSF2に進む。
(5) Analysis Processing Operation Next, the analysis processing operation will be described with reference to FIGS. When this process is executed through step SB4 (see FIG. 6) of the generation process described above, the CPU 12 proceeds to step SF1 shown in FIG. 10, and the analysis flag KF is “0”, that is, a performance practice according to the guide. Based on the performance data generated by the above, it is determined whether or not the analysis process for analyzing the habit of the user's performance error is incomplete. If the analysis flag KF is “1” (analysis process completed), the determination result is “NO”, and the present process ends. If the analysis flag KF is “0” (analysis process incomplete), the determination result is It becomes "YES" and progresses to step SF2.

続いて、ステップSF2では、スタートフラグSTFが「0」(ガイド停止中)であるか否かを判断する。ガイド進行中(スタートフラグSTFが「1」)であると、判断結果は「NO」となり、本処理を終えるが、ガイド停止中ならば、判断結果が「YES」になり、ステップSF3に進む。そして、ステップSF3では、演奏回数Nが所定回数以上であるか否かを判断する。演奏回数Nが所定回数未満であれば、判断結果は「NO」になり、本処理を終えるが、所定回数以上ならば、判断結果が「YES」になり、ステップSF4に進む。   Subsequently, in step SF2, it is determined whether or not the start flag STF is “0” (when the guide is stopped). If the guide is in progress (the start flag STF is “1”), the determination result is “NO”, and the present process ends. If the guide is stopped, the determination result is “YES” and the process proceeds to step SF3. In step SF3, it is determined whether or not the performance number N is a predetermined number or more. If the number N of performances is less than the predetermined number, the determination result is “NO”, and the present process is terminated. If the number of performances is not less than the predetermined number, the determination result is “YES” and the process proceeds to step SF4.

つまり、解析処理が未完であって、かつガイド停止中の状態で演奏回数Nが所定回数以上であると、上記ステップSF1〜SF3の各判断結果が何れも「YES」となってステップSF4に進む。そして、ステップSF4〜SF5では、演奏データエリアPDEにおける演奏エリア指定用のポインタnを初期値「1」に、曲データエリアMDEにおける音符データ指定用のポインタaを初期値「0」にそれぞれセットする。続いて、ステップSF6では、ポインタaで指定される音符データ[a]のステップタイムに最も近いステップタイムSTを有する演奏データを、ポインタnで指定される演奏(n)のエリアの中から検索する。   In other words, if the analysis process is incomplete and the number of performances N is equal to or greater than the predetermined number in the state where the guide is stopped, the determination results in steps SF1 to SF3 are all “YES” and the process proceeds to step SF4. . In steps SF4 to SF5, the performance area designation pointer n in the performance data area PDE is set to the initial value “1”, and the note data designation pointer a in the music data area MDE is set to the initial value “0”. . Subsequently, in step SF6, performance data having a step time ST closest to the step time of the note data [a] designated by the pointer a is searched from the performance (n) area designated by the pointer n. .

次いで、ステップSF7では、演奏(n)のエリアの中から検索された該当演奏データ中の終了フラグが「0」であるか否か、つまり未処理の演奏データであるかどうかを判断する。該当演奏データが処理済み(終了フラグが「1」)ならば、判断結果は「NO」となり、ステップSF8に進み、該当演奏データを検索対象から除外して上記ステップSF6に処理を戻す。   Next, in step SF7, it is determined whether or not the end flag in the performance data retrieved from the performance (n) area is “0”, that is, whether or not the performance data is unprocessed. If the performance data has been processed (the end flag is “1”), the determination result is “NO”, the process proceeds to step SF8, the performance data is excluded from the search target, and the process returns to step SF6.

一方、該当演奏データが未処理(終了フラグが「0」)であると、上記ステップSF7の判断結果は「YES」となり、ステップSF9に進む。ステップSF9では、演奏(n)のエリアの中から検索された該当演奏データ中の音高KEYと、ポインタaで指定される音符データ[a]の音高とが一致するか否かを判断する。両音高が不一致であれば、判断結果は「NO」になり、ステップSF10に進み、ポインタaで指定される音符データ[a]のミス回数エリアにおける誤り回数(図3参照)をインクリメントして歩進させる。これにより、音符データ[a]における誤押鍵の回数がカウントされる。この後、図11に図示するステップSF15に進む。   On the other hand, if the performance data is unprocessed (the end flag is “0”), the determination result in step SF7 is “YES”, and the process proceeds to step SF9. In step SF9, it is determined whether or not the pitch KEY in the performance data retrieved from the performance (n) area matches the pitch of the note data [a] designated by the pointer a. . If the pitches do not match, the determination result is “NO”, and the process proceeds to step SF10 to increment the number of errors (see FIG. 3) in the number-of-misses area of the note data [a] designated by the pointer a. Step forward. As a result, the number of erroneous key presses in the note data [a] is counted. Thereafter, the process proceeds to step SF15 shown in FIG.

これに対し、演奏(n)のエリアの中から検索された該当演奏データ中の音高KEYと、ポインタaで指定される音符データ[a]の音高とが一致すると、上記ステップSF9の判断結果は「YES」となり、図11に図示するステップSF11に進む。ステップSF11〜SF14では、音符データ[a]の発音タイミングに対し、該当演奏データの押鍵タイミングが許容範囲外であるかどうかや、許容範囲外ならば、押鍵タイミングの遅れ/進みを判別する。   On the other hand, if the pitch KEY in the performance data retrieved from the performance (n) area matches the pitch of the note data [a] specified by the pointer a, the determination at step SF9 is made. The result is “YES”, and the flow proceeds to step SF11 illustrated in FIG. In steps SF11 to SF14, it is determined whether or not the key pressing timing of the corresponding performance data is out of the allowable range with respect to the sound generation timing of the note data [a], and if it is out of the allowable range, the delay / advance of the key pressing timing is determined. .

すなわち、ステップSF11では、ポインタaで指定される音符データ[a]のステップタイム(発音タイミング)に対し、該当演奏データ中のステップタイムST(押鍵タイミング)が予め定められた許容範囲外であるか否かを判断する。該当演奏データが上記許容範囲に収まる適正なタイミングで押鍵されていれば、判断結果は「NO」となり、後述のステップSF15に進む。   That is, in step SF11, the step time ST (key press timing) in the corresponding performance data is outside the predetermined allowable range with respect to the step time (sound generation timing) of the note data [a] designated by the pointer a. Determine whether or not. If the performance data is pressed at an appropriate timing within the allowable range, the determination result is “NO”, and the process proceeds to Step SF15 described later.

一方、音符データ[a]の発音タイミングに対し、該当演奏データの押鍵タイミングが許容範囲外であると、上記ステップSF11の判断結果は「YES」となり、ステップSF12に進み、許容範囲外の押鍵タイミングが発音タイミングに対して遅れであるか否かを判断する。発音タイミングに対して遅れであると、判断結果は「YES」になり、ステップSF13に進み、ポインタaで指定される音符データ[a]のミス回数エリアにおける遅れ回数(図3参照)をインクリメントして歩進させた後、ステップSF15に進む。   On the other hand, if the key pressing timing of the corresponding performance data is out of the allowable range with respect to the sound generation timing of the note data [a], the determination result in step SF11 is “YES”, and the process proceeds to step SF12 to press the key outside the allowable range. It is determined whether the key timing is delayed with respect to the sound generation timing. If it is delayed with respect to the sound generation timing, the determination result is “YES”, and the process proceeds to step SF13 to increment the number of delays (see FIG. 3) in the miss number area of the note data [a] designated by the pointer a. Then, the process proceeds to step SF15.

これに対し、発音タイミングに対して進み(早め)であれば、上記ステップSF12の判断結果は「NO」になり、ステップSF14に進み、ポインタaで指定される音符データ[a]のミス回数エリアにおける進み回数(図3参照)をインクリメントして歩進させた後、ステップSF15に進む。   On the other hand, if it is advanced (early) with respect to the sound generation timing, the determination result in step SF12 is “NO”, and the process proceeds to step SF14, where the number of misses in the note data [a] designated by the pointer a is After incrementing the number of times of advance (see FIG. 3), the process proceeds to step SF15.

次いで、ステップSF15では、解析処理の対象として用いられた該当演奏データ中の終了フラグと、音符データ[a]中の終了フラグとにそれぞれ「1」をセットする。続いて、ステップSF16に進むと、ポインタaで指定される音符データ[a]が曲終端であるかどうかを判断する。曲終端でなければ、判断結果は「NO」になり、ステップSF17に進み、ポインタaをインクリメントして歩進させた後、前述のステップSF6(図10参照)に処理を戻す。   Next, in step SF15, “1” is set to each of the end flag in the corresponding performance data used as the analysis processing target and the end flag in the note data [a]. Subsequently, when the process proceeds to step SF16, it is determined whether or not the note data [a] designated by the pointer a is the end of the music piece. If it is not the end of the song, the determination result is “NO”, the process proceeds to step SF17, the pointer a is incremented and stepped, and then the process returns to step SF6 (see FIG. 10).

一方、ポインタaで指定される音符データ[a]が曲終端ならば、上記ステップSF16の判断結果が「YES」になり、ステップSF18に進む。ステップSF18では、曲データエリアMDE中で終了フラグが「0」の音符データ、すなわち解析処理の対象として用いられていない音符データの有無を判断する。演奏抜けが無く、該当する音符データが存在しなければ、判断結果は「NO」になり、後述のステップSF20に進む。   On the other hand, if the note data [a] designated by the pointer a is the end of the music piece, the determination result in step SF16 is “YES”, and the flow advances to step SF18. In step SF18, it is determined whether or not there is musical note data whose end flag is “0” in the music data area MDE, that is, musical note data that is not used as an analysis processing target. If there is no missing performance and there is no corresponding note data, the determination result is “NO”, and the process proceeds to Step SF20 described later.

これに対し、演奏抜けが有り、終了フラグが「0」の音符データが存在すると、上記ステップSF18の判断結果は「YES」となり、ステップSF19に進み、終了フラグが「0」の音符データのミス回数エリアにおける抜け回数(図3参照)をインクリメントして歩進させた後、ステップSF20に進み、曲データエリアMDEの全ての音符データ[0]〜[N]の終了フラグをゼロクリアする。   On the other hand, if there is a missing performance and there is note data with an end flag of “0”, the determination result at step SF18 is “YES”, the process proceeds to step SF19, and a note data with an end flag of “0” is missed. After incrementing the number of omissions in the frequency area (see FIG. 3), the process proceeds to step SF20, and the end flags of all the note data [0] to [N] in the music data area MDE are cleared to zero.

この後、ステップSF21に進み、演奏データエリアPDEにおける演奏エリア指定用のポインタnをインクリメントして歩進させ、続くステップSF21では、歩進されたポインタnが演奏回数Nを超えたかどうかを判断する。歩進されたポインタnが演奏回数Nを超えていなければ、判断結果は「NO」になり、前述したステップSF5に処理を戻す。   Thereafter, the process proceeds to step SF21, where the performance area designation pointer n in the performance data area PDE is incremented to be incremented, and in the subsequent step SF21, it is determined whether or not the incremented pointer n has exceeded the number of performances N. . If the incremented pointer n does not exceed the number of performances N, the determination result is “NO”, and the process returns to step SF5 described above.

以後、上記ステップSF21において歩進されたポインタnで新たに指定される演奏データエリアPDE中の演奏(n)のエリアから、各音符データ[0]〜[N]の発音タイミングに最も近い演奏データをそれぞれ探し出し、探し出した演奏データとそれに対応する音符データとの比較に基づき演奏ミスの有無を判断する。そして、演奏ミスが有れば、その内容(誤押鍵、押鍵タイミングの遅れ、押鍵タイミングの進み、押鍵抜け)を解析した結果に応じて、対応する音符データ中のミス回数エリアに設けられた演奏ミス項目(「遅れ回数」、「進み回数」、「誤り回数」および「抜け回数」)の中で合致する項目の回数をカウントする。こうすることによって曲を構成する各音毎に演奏ミスの内容が分類集計される。   Thereafter, the performance data closest to the sounding timing of each note data [0] to [N] from the performance (n) area in the performance data area PDE newly designated by the pointer n advanced in step SF21. And the presence or absence of a performance error is determined based on a comparison between the retrieved performance data and the corresponding note data. Then, if there is a performance mistake, the content of the mistake (incorrect key press, delay in key press timing, key press timing advance, key press missing) is analyzed in the number of misses area in the corresponding note data according to the result of analysis. The number of matching items among the provided performance error items (“delay count”, “advance count”, “error count”, and “miss count”) is counted. By doing this, the contents of performance mistakes are classified and totaled for each sound constituting the song.

そして、演奏データエリアPDE中の全てのエリア(演奏(1)〜(N))の演奏データに基づいて各音符データ[0]〜[N]毎に演奏ミスの内容を分類集計し終えると、上記ステップSF22の判断結果が「YES」になり、図12に図示するステップSF23に処理を進める。ステップSF23以降では、曲を構成する各音毎に分類集計された演奏ミスの内容に基づきユーザの間違う癖(演奏ミス仕勝ちな音と、その音において起き易い演奏ミスの内容)を判別する。以下、その動作を説明する。   Then, when the contents of performance mistakes for each note data [0] to [N] are classified and totaled for each note data [0] to [N] based on the performance data of all areas (performances (1) to (N)) in the performance data area PDE, The determination result in step SF22 is “YES”, and the process proceeds to step SF23 illustrated in FIG. In step SF23 and subsequent steps, the user is discriminated based on the contents of the performance mistakes classified and totaled for each sound constituting the music (accompanied by performance mistakes and the content of performance mistakes likely to occur in the sound). Hereinafter, the operation will be described.

先ずステップSF23では、ポインタaをゼロリセットする。続いて、ステップSF24では、ポインタaで指定される音符データ[a]のミス回数エリアの演奏ミス項目(「遅れ回数」、「進み回数」、「誤り回数」および「抜け回数」)の内から最大値(最大回数)を検索する。次いで、ステップSF25では、検索された最大値(最大回数)が所定値以上であるか否かを判断する。なお、ここで言う所定値とは、演奏ミス仕勝ちな音であるかどうかを判別する為の閾値である。この閾値未満であるならば、演奏ミス仕勝ちな音ではないとして、上記ステップSF25の判断結果は「NO」になり、後述のステップSF35に進む。   First, in step SF23, the pointer a is reset to zero. Subsequently, in step SF24, performance error items ("delay count", "advance count", "error count", and "miss count") in the miss count area of the note data [a] designated by the pointer a are selected. Search for the maximum value (maximum number of times). Next, in step SF25, it is determined whether or not the searched maximum value (maximum number of times) is a predetermined value or more. The predetermined value here is a threshold value for determining whether or not the sound is a performance mistake. If it is less than this threshold value, it is determined that the sound is not a performance mistake, and the determination result in step SF25 is “NO”, and the flow proceeds to step SF35 described later.

一方、検索された最大値(最大回数)が閾値以上であると、演奏ミス仕勝ちな音であるとして、上記ステップSF25の判断結果が「YES」になり、ステップSF26に進む。ステップSF26〜SF33では、検索された最大値(最大回数)が、「遅れ回数」、「進み回数」、「誤り回数」および「抜け回数」の何れに該当するのかに応じて、起き易い演奏ミスの内容(ユーザの間違う癖)を判別する。   On the other hand, if the retrieved maximum value (maximum number of times) is equal to or greater than the threshold value, it is determined that the sound is a performance mistake, and the determination result in step SF25 is “YES”, and the process proceeds to step SF26. In steps SF26 to SF33, a performance error that is likely to occur depends on whether the searched maximum value (maximum number) corresponds to “delay count”, “advance count”, “error count”, or “miss count”. The content of the user (the wrong user).

すなわち、ステップSF26では、検索された最大値(最大回数)が「遅れ回数」であるか否かを判断し、「遅れ回数」であったならば、判断結果は「YES」となり、ステップSF30に進み、ポインタaで指定される音符データ[a]中の判別フラグに「1」をセットする。これにより、音符データ[a]は押鍵が遅れるというユーザの間違う癖が付いた音と判別される。そしてこの後、後述のステップSF35に進む。   That is, in step SF26, it is determined whether or not the retrieved maximum value (maximum number of times) is the “delay number”. If it is “delay number”, the determination result is “YES”, and the process returns to step SF30. Then, “1” is set to the discrimination flag in the note data [a] designated by the pointer a. As a result, the note data [a] is determined as a sound with a wrong habit of the user that the key depression is delayed. Thereafter, the process proceeds to Step SF35 described later.

検索された最大値(最大回数)が「遅れ回数」でなければ、上記ステップSF26の判断結果は「NO」になり、ステップSF27に進む。ステップSF27では、検索された最大値(最大回数)が「進み回数」であるか否かを判断し、「進み回数」であったならば、判断結果は「YES」となり、ステップSF31に進み、ポインタaで指定される音符データ[a]中の判別フラグに「2」をセットする。これにより、音符データ[a]は早めに押鍵されるというユーザの間違う癖が付いた音と判別される。そしてこの後、後述のステップSF35に進む。   If the retrieved maximum value (maximum number) is not “delay number”, the determination result in step SF26 is “NO”, and the process proceeds to step SF27. In step SF27, it is determined whether or not the searched maximum value (maximum number) is “advance number”. If it is “advance number”, the determination result is “YES”, and the process proceeds to step SF31. “2” is set to the discrimination flag in the note data [a] designated by the pointer a. As a result, the note data [a] is discriminated as a sound with a wrong habit of being pressed by the user early. Thereafter, the process proceeds to Step SF35 described later.

検索された最大値(最大回数)が「進み回数」でなければ、上記ステップSF27の判断結果は「NO」になり、ステップSF28に進む。ステップSF28では、検索された最大値(最大回数)が「誤り回数」であるか否かを判断し、「誤り回数」であったならば、判断結果は「YES」となり、ステップSF32に進み、ポインタaで指定される音符データ[a]中の判別フラグに「3」をセットする。これにより、音符データ[a]は誤押鍵されるというユーザの間違う癖が付いた音と判別される。そしてこの後、後述のステップSF35に進む。   If the retrieved maximum value (maximum number of times) is not “the number of times of advance”, the determination result in step SF27 is “NO”, and the process proceeds to step SF28. In step SF28, it is determined whether or not the searched maximum value (maximum number) is “number of errors”. If it is “number of errors”, the determination result is “YES”, and the process proceeds to step SF32. “3” is set to the discrimination flag in the note data [a] designated by the pointer a. As a result, the note data [a] is determined as a sound with a wrong habit of the user being erroneously pressed. Thereafter, the process proceeds to Step SF35 described later.

検索された最大値(最大回数)が「誤り回数」でなければ、上記ステップSF28の判断結果は「NO」になり、ステップSF29に進む。ステップSF29では、検索された最大値(最大回数)が「抜け回数」であるか否かを判断し、「抜け回数」であったならば、判断結果は「YES」となり、ステップSF33に進み、ポインタaで指定される音符データ[a]中の判別フラグに「4」をセットする。これにより、音符データ[a]は押鍵し忘れるというユーザの間違う癖が付いた音と判別される。そしてこの後、後述のステップSF35に進む。   If the retrieved maximum value (maximum number) is not the “number of errors”, the determination result in step SF28 is “NO”, and the process proceeds to step SF29. In step SF29, it is determined whether or not the searched maximum value (maximum number of times) is “the number of omissions”. If it is “number of omissions”, the determination result is “YES”, and the process proceeds to step SF33. “4” is set to the discrimination flag in the note data [a] designated by the pointer a. As a result, the note data [a] is determined as a sound with a wrong habit of the user forgetting to press the key. Thereafter, the process proceeds to Step SF35 described later.

検索された最大値(最大回数)が閾値以上かつ同値の演奏ミス項目が複数存在する場合には、上記ステップSF26〜SF29の各判断結果が何れも「NO」となり、ステップSF34に進み、ポインタaで指定される音符データ[a]中の判別フラグに「0」をセットした後、ステップSF35に進む。ステップSF35では、ポインタaで指定される音符データ[a]中のミス回数エリア(図3参照)をクリアする。   If there are a plurality of performance error items with the maximum value (maximum number of times) searched for being equal to or greater than the threshold value, the determination results in steps SF26 to SF29 are all “NO”, the process proceeds to step SF34, and the pointer a After setting “0” to the discrimination flag in the note data [a] specified in step S35, the process proceeds to step SF35. In step SF35, the miss count area (see FIG. 3) in the note data [a] designated by the pointer a is cleared.

次いで、ステップSF36に進み、ポインタaをインクリメントして歩進させ、続くステップSF37では、歩進させたポインタaの値が曲の音符データ数を超えたか否か、つまり全ての音符データについてユーザの間違う癖(起き易い演奏ミスの内容)を判別し終えたかどうかを判断する。判別し終えていなければ、判断結果は「NO」となり、前述したステップSF24に処理を戻し、歩進させたポインタaで指定される音符データ[a]についてユーザの間違う癖(起き易い演奏ミスの内容)を判別する。そして、り全ての音符データについて判別し終えると、上記ステップSF37の判断結果が「YES」となり、ステップSF38に進み、解析フラグKFに「1」をセットし、これにより解析処理終了を表して本処理を終える。   Next, the process proceeds to step SF36, and the pointer a is incremented to be advanced. In the subsequent step SF37, it is determined whether or not the value of the advanced pointer a exceeds the number of musical note data of the music, that is, all the musical note data is processed by the user. It is determined whether or not the wrong trap (contents of performance mistakes that are likely to occur) has been determined. If the determination has not been completed, the determination result is “NO”, the process returns to the above-described step SF24, and the user is mistaken for the note data [a] specified by the stepped pointer a. Content). When the determination is completed for all the note data, the determination result in step SF37 is “YES”, the process proceeds to step SF38, and the analysis flag KF is set to “1”, thereby indicating the end of the analysis process. Finish the process.

このように、解析処理では、ポインタnで指定される演奏データエリアPDE中の演奏(n)のエリアから、各音符データ[0]〜[N]の発音タイミングに最も近い演奏データをそれぞれ探し出し、探し出した演奏データとそれに対応する音符データとの比較に基づき演奏ミスの有無を判断する。演奏ミスが有れば、その内容(誤押鍵、押鍵タイミングの遅れ、押鍵タイミングの進み、押鍵抜け)を解析した結果に応じて、対応する音符データ中のミス回数エリアに設けられた演奏ミス項目(「遅れ回数」、「進み回数」、「誤り回数」および「抜け回数」)の中で合致する項目の回数をカウントして各音符データ[0]〜[N]毎に演奏ミスの内容を分類集計する。   In this way, in the analysis process, the performance data closest to the sounding timing of each note data [0] to [N] is searched from the performance (n) area in the performance data area PDE designated by the pointer n. Based on a comparison between the searched performance data and the corresponding note data, it is determined whether or not there is a performance error. If there is a performance mistake, it is provided in the number-of-misses area in the corresponding note data according to the result of analyzing its contents (wrong key press, delay in key press timing, key press timing advance, key press omission). The number of matching items among the performance error items ("delay count", "advance count", "error count", and "miss count") is counted and played for each note data [0] to [N]. Classify and aggregate the contents of mistakes.

演奏データエリアPDE中の全てのエリア(演奏(1)〜(N))の演奏データに基づいて各音符データ[0]〜[N]毎に演奏ミスの内容を分類集計し終えると、分類集計された各音符データ[0]〜[N]毎の演奏ミスの内容に基づきユーザの間違う癖を判別し、その結果を表すフラグ値の判別フラグを各音符データ[0]〜[N]に付与する。   When the contents of performance mistakes for each note data [0] to [N] are classified and totaled for each note data [0] to [N] based on the performance data of all areas (performances (1) to (N)) in the performance data area PDE, the classification is totaled. Based on the contents of the performance mistakes for each of the note data [0] to [N], the user is discriminated as a mistake, and a flag flag indicating the result is given to each note data [0] to [N]. To do.

(6)練習処理の動作
次に、図13を参照して練習処理の動作を説明する。前述したメインルーチンのステップSA4(図5参照)を介して本処理が実行されると、CPU12は図13に図示するステップSG1に進み、スイッチ2処理を実行する。スイッチ2処理では、後述するように、モードスイッチがオン操作された場合には動作モードの変更を指示し、スタート/ストップスイッチのオン操作によりガイドの開始が指示されると、レジスタTおよび練習フラグRF(後述する)をゼロリセットすると共に、タイマインタラプト禁止を解除する。一方、ガイドの停止が指示されると、表示部15のガイド表示を消去してタイマインタラプトを禁止する。
(6) Operation of Practice Process Next, the operation of the practice process will be described with reference to FIG. When this process is executed through step SA4 (see FIG. 5) of the main routine described above, the CPU 12 proceeds to step SG1 shown in FIG. 13 and executes the switch 2 process. In the switch 2 process, as will be described later, when the mode switch is turned on, an instruction to change the operation mode is given. When the start of the guide is instructed by turning on the start / stop switch, the register T and the practice flag are set. RF (to be described later) is reset to zero and the timer interrupt prohibition is canceled. On the other hand, when an instruction to stop the guide is given, the guide display on the display unit 15 is erased and the timer interrupt is prohibited.

続いて、ステップSG2では、ガイド2処理を実行する。ガイド2処理では、後述するように、ガイド進行中ならば、曲再生テンポに対応した最小単位時間(ティック)が経過する毎にレジスタTの値を歩進し、歩進されたレジスタTの値と一致するステップタイムを有し、発音タイミングに達した音符データが存在すると、その音符データに基づき弾くべき鍵を案内するガイド表示を行う。また、歩進されたレジスタTの値が、ステップタイムとゲートタイムとの加算値に一致し、消音タイミングに達した音符データが存在すると、その音符データに基づきガイド表示を消去する。   Subsequently, in step SG2, guide 2 processing is executed. In the guide 2 process, as described later, if the guide is in progress, the value of the register T is incremented every time the minimum unit time (tick) corresponding to the music reproduction tempo elapses, and the value of the incremented register T is incremented. If there is note data that has a step time that coincides with the sound generation timing, guide display for guiding a key to be played is performed based on the note data. If the stepped register T value matches the added value of the step time and the gate time and there is note data that has reached the mute timing, the guide display is erased based on the note data.

そして、ガイド進行中に、演奏ミス仕勝ちな音において同じ演奏ミスが生じ、これに応じて後述の制御処理によって繰り返し練習期間が設定されると、その繰り返し練習期間において繰り返し回数Mに達するまで間違う癖を矯正するガイドを繰り返し行い、それが完了すると、通常のガイドを再開する。   Then, when the same performance mistake occurs in the sound that has been missed while the guide is in progress, and a repeated practice period is set by the control process described later, the mistake is repeated until the number of repetitions M is reached in the repeated practice period. Repeat the guide to correct wrinkles and resume normal guidance when it is complete.

次いで、ステップSG3では、押離鍵操作に応じて楽音の発音/消音を音源16に指示する一方、ガイド進行中であれば、押鍵音高KEYと、押鍵時点におけるレジスタTの値で表されるステップタイムSTと、フラグ値「0」の終了フラグとから構成される演奏データを発生してRAM14のワークエリアWEにストアする鍵盤処理を実行する。   Next, in step SG3, the tone generator 16 is instructed to generate / mute a musical sound in response to a key release operation. The keyboard processing is performed in which performance data composed of the step time ST and the end flag of the flag value “0” are generated and stored in the work area WE of the RAM 14.

そして、ステップSG4では、制御処理を実行する。制御処理では、後述するように、上記ステップSG3の鍵盤処理により生成される演奏データに対応する音符データをRAM14の曲データエリアMDEから検索し、検索された該当音符データと演奏データとの比較に基づき演奏ミスの有無を判別する。演奏ミスが有ると、その演奏ミスした音符データ中の判別フラグを参照して同じ過ちを繰り返したかどうかを判断する。すなわち、早めに押鍵仕勝ちな音を早めに押鍵したり、遅れて押鍵仕勝ちな音を遅れて押鍵したりする演奏ミスや、押鍵間違い仕勝ちな音を誤押鍵してたり、押鍵抜け仕勝ちな音を押鍵し忘れたりする演奏ミスが発生すると、その間違う癖(演奏ミス仕勝ちな音と、その音において起き易い演奏ミスの内容)を矯正する繰り返し練習期間を設定する。   In step SG4, control processing is executed. In the control process, as will be described later, note data corresponding to the performance data generated by the keyboard process in step SG3 is searched from the music data area MDE of the RAM 14, and the searched note data is compared with the performance data. Based on this, it is determined whether there is a performance mistake. If there is a performance mistake, it is determined whether or not the same mistake has been repeated with reference to a discrimination flag in the note data that has been missed. In other words, mistakes in performance such as pressing a key-pressed sound early, keying a delayed key-pressed sound late, and key-incorrect key-pressed sound. If there is a performance mistake that causes you to forget to press a key that has been missed, or that you have forgotten to press the key, you will repeatedly practice to correct the wrong habit (the mistake of the performance mistake and the performance mistake that is likely to occur in that sound). Set the period.

続いて、ステップSG5では、練習モード以外の他の動作モードに変更されたか否かを判断する。他の動作モードに変更されなければ、判断結果は「NO」になり、上述したステップSG1に処理を戻す。以後、練習モードから他の動作モードに変更されるまで上記ステップSG1〜SG4を繰り返す。そして、モードスイッチのオン操作に応じて、練習モードから他の動作モードに変更されると、上記ステップSG5の判断結果が「YES」となり、本処理を終える。   Subsequently, in step SG5, it is determined whether or not the operation mode has been changed to a mode other than the practice mode. If the operation mode is not changed to another operation mode, the determination result is “NO”, and the process returns to step SG1 described above. Thereafter, steps SG1 to SG4 are repeated until the practice mode is changed to another operation mode. Then, when the practice mode is changed to another operation mode in response to the ON operation of the mode switch, the determination result in step SG5 is “YES”, and this process is finished.

以上のように、練習処理では、ガイド開始が指示されると、曲再生テンポに対応した最小単位時間(ティック)が経過する毎にレジスタTの値を歩進し、歩進されたレジスタTの値と一致するステップタイムを有し、発音タイミングに達した音符データが存在すると、その音符データに基づき弾くべき鍵を案内するガイド表示を行う。また、歩進されたレジスタTの値が、ステップタイムとゲートタイムとの加算値に一致し、消音タイミングに達した音符データが存在すると、その音符データに基づきガイド表示を消去する。   As described above, in the practice process, when the guide start is instructed, the value of the register T is incremented every time the minimum unit time (tick) corresponding to the music playback tempo elapses, and the incremented register T is incremented. If there is note data that has a step time that matches the value and has reached the sounding timing, a guide display that guides the key to be played is performed based on the note data. If the stepped register T value matches the added value of the step time and the gate time and there is note data that has reached the mute timing, the guide display is erased based on the note data.

ガイドに従ったユーザの押離鍵操作に応じて楽音の発音/消音を音源16に指示する一方、押鍵に対応して押鍵音高KEYと、押鍵時点におけるレジスタTの値で表されるステップタイムSTと、フラグ値「0」の終了フラグとから構成される演奏データを生成し、生成した演奏データに対応する音符データをRAM14の曲データエリアMDEから検索する。   The sound source 16 is instructed to generate / mute a musical tone in accordance with the user's key release operation according to the guide, and is expressed by the key depression pitch KEY corresponding to the key depression and the value of the register T at the time of the key depression. Performance data composed of a step time ST and an end flag with a flag value “0” are generated, and note data corresponding to the generated performance data is retrieved from the music data area MDE of the RAM 14.

検索された該当音符データと演奏データとの比較に基づき演奏ミスの有無を判別し、演奏ミスが有ると、その演奏ミスした音符データ中の判別フラグを参照して同じ過ちを繰り返したかどうかを判断する。すなわち、早めに押鍵仕勝ちな音を早めに押鍵したり、遅れて押鍵仕勝ちな音を遅れて押鍵したりする演奏ミスや、押鍵間違い仕勝ちな音を誤押鍵したり、押鍵抜け仕勝ちな音を押鍵し忘れたりする演奏ミスが発生すると、その間違う癖を矯正する繰り返し練習期間を設定する。繰り返し練習期間が設定されると、その繰り返し練習期間において繰り返し回数Mに達するまで間違う癖を矯正するガイドを繰り返し行い、それが完了すると、通常のガイドを再開する。   Based on the comparison between the searched note data and performance data, the presence or absence of a performance error is determined. If there is a performance error, it is determined whether the same mistake has been repeated by referring to the determination flag in the performance error data. To do. In other words, mistakes in performance such as pressing a key-pressed sound early, keying a delayed key-pressed sound late, and key-incorrect key-pressed sound. If a performance error occurs, such as when a key is missed or a key is missed, a repeated practice period is set to correct the mistake. When the repetition practice period is set, the guide for correcting the wrong wrinkles is repeatedly performed until the repetition count M is reached in the repetition practice period, and when the guide is completed, the normal guide is resumed.

(7)スイッチ2処理の動作
次に、図14を参照してスイッチ2処理の動作を説明する。上述した練習処理のステップSG1(図13参照)を介して本処理が実行されると、CPU12は図14に図示するステップSH1に進み、スイッチ部11に配設されるモードスイッチのオン操作の有無を判断する。
(7) Operation of Switch 2 Process Next, the operation of the switch 2 process will be described with reference to FIG. When this process is executed through step SG1 (see FIG. 13) of the above-described practice process, the CPU 12 proceeds to step SH1 shown in FIG. Judging.

モードスイッチがオン操作されると、判断結果は「YES」となり、ステップSH2に進み、動作モードを変更して本処理を終える。すなわち、モードスイッチはオン操作される毎に「生成モード」、「練習モード」、「クリアモード」をサイクリックに指定するものであり、例えば「生成モード」においてモードスイッチをオン操作した場合には、「生成モード」から「練習モード」に設定変更するようになっている。   When the mode switch is turned on, the determination result is “YES”, the process proceeds to step SH2, the operation mode is changed, and this process is terminated. That is, every time the mode switch is turned on, “generation mode”, “practice mode”, and “clear mode” are cyclically specified. For example, when the mode switch is turned on in “generation mode”, The setting is changed from “generation mode” to “practice mode”.

一方、モードスイッチがオン操作されなければ、上記ステップSH1の判断結果は「NO」になり、ステップSH3に進み、スタート/ストップスイッチのオン操作の有無を判断する。スタート/ストップスイッチがオン操作されなければ、判断結果は「NO」になり、本処理を終えるが、オン操作されると、判断結果が「YES」になり、ステップSH4に進む。   On the other hand, if the mode switch is not turned on, the determination result in step SH1 is “NO”, and the process proceeds to step SH3 to determine whether or not the start / stop switch is turned on. If the start / stop switch is not turned on, the determination result is “NO”, and this process is completed. If the start / stop switch is turned on, the determination result is “YES”, and the process proceeds to step SH4.

ステップSH4では、スタートフラグSTFを反転し、続くステップSH5では、反転されたスタートフラグSTFが「1」であるか否かを判断する。反転されたスタートフラグSTFが「1」(ガイドの開始)であると、上記ステップSH5の判断結果は「YES」になり、ステップSH6に進み、レジスタTをゼロリセットする。そして、ステップSH7に進み、タイマインタラプト禁止を解除する。次いで、ステップSH8では、練習フラグRF(後述する)をゼロリセットして本処理を終える。なお、CPU12では、上記ステップSH7においてタイマインタラプト禁止を解除すると、タイマ機能を具現するタイマインタラプト(不図示)をスタートさせ、曲再生テンポに対応したタイマ最小時間(ティック)をカウントし始める。   In step SH4, the start flag STF is inverted, and in the subsequent step SH5, it is determined whether or not the inverted start flag STF is “1”. If the inverted start flag STF is “1” (start of the guide), the determination result in step SH5 is “YES”, the process proceeds to step SH6, and the register T is reset to zero. In step SH7, the timer interrupt prohibition is canceled. Next, in step SH8, a practice flag RF (described later) is reset to zero and the process is terminated. When the CPU 12 cancels the timer interrupt prohibition in step SH7, the CPU 12 starts a timer interrupt (not shown) that implements the timer function and starts counting the timer minimum time (tick) corresponding to the music playback tempo.

一方、スタート/ストップスイッチのオン操作に応じて反転されたスタートフラグSTFが「0」(ガイドの停止)ならば、上記ステップSH5の判断結果は「NO」になり、ステップSH9に進み、表示部15のガイド表示を消去する。この後、ステップSH10に進み、曲進行時間を計時するタイマインタラプトを禁止して本処理を終える。   On the other hand, if the start flag STF inverted according to the ON operation of the start / stop switch is “0” (stop of the guide), the determination result of the above step SH5 becomes “NO”, and the process proceeds to step SH9, where the display unit 15 guide display is deleted. Thereafter, the process proceeds to step SH10, the timer interrupt for measuring the music progression time is prohibited, and the present process is terminated.

このように、スイッチ2処理では、モードスイッチがオン操作された場合には動作モードの変更を指示する。また、スタート/ストップスイッチのオン操作に応じてスタートフラグSTFが「1」となり、ガイドの開始が指示された場合には、レジスタTおよび練習フラグRF(後述する)をゼロリセットすると共に、タイマインタラプト禁止を解除する。一方、スタート/ストップスイッチのオン操作に応じてスタートフラグSTFが「0」となり、ガイドの停止が指示された場合には、表示部15のガイド表示を消去してタイマインタラプトを禁止する。   Thus, in the switch 2 process, when the mode switch is turned on, the operation mode is instructed. When the start flag STF is set to “1” in response to the start / stop switch being turned on and the start of the guide is instructed, the register T and the practice flag RF (described later) are reset to zero and the timer interrupt is performed. Remove the ban. On the other hand, when the start flag STF becomes “0” in response to the ON operation of the start / stop switch and the guide stop is instructed, the guide display on the display unit 15 is deleted and the timer interrupt is prohibited.

(8)ガイド2処理の動作
次に、図15〜図16を参照してガイド2処理の動作を説明する。前述した練習処理のステップSG2(図13参照)を介して本処理が実行されると、CPU12は図15に図示するステップSJ1に進み、スタートフラグSTFが「1」(ガイドの開始)であるかどうかを判断する。スタートフラグSTFが「0」(ガイドの停止)ならば、判断結果は「NO」になり、本処理を終えるが、スタートフラグSTFが「1」(ガイドの開始)であると、判断結果は「YES」になり、ステップSJ2に進む。
(8) Operation of Guide 2 Process Next, the operation of the guide 2 process will be described with reference to FIGS. When this process is executed via step SG2 (see FIG. 13) of the above-described practice process, the CPU 12 proceeds to step SJ1 shown in FIG. 15, and whether the start flag STF is “1” (start of guide). Judge whether. If the start flag STF is “0” (stop of the guide), the determination result is “NO”, and this processing is terminated. If the start flag STF is “1” (start of the guide), the determination result is “ "YES", the process proceeds to step SJ2.

ステップSJ2では、タイマ機能(タイマインタラプト)が曲再生テンポに対応した最小単位時間(ティック)をカウントしたか否か、つまり最小単位時間が経過したかどうかを判断する。最小単位時間が経過していなければ、判断結果は「NO」となり、本処理を終えるが、最小単位時間が経過していると、上記ステップSJ2の判断結果は「YES」になり、ステップSJ3に進み、レジスタTの値をインクリメントして歩進させる。そして、ステップSJ4では、歩進されたレジスタTの値と一致するステップタイムを有する音符データをRAM14の曲データエリアMDEから検索し、続くステップSJ5では、該当する音符データの有無、つまり発音タイミングに達した音符データが有るか否かを判断する。   In step SJ2, it is determined whether or not the timer function (timer interrupt) has counted the minimum unit time (tick) corresponding to the music playback tempo, that is, whether or not the minimum unit time has elapsed. If the minimum unit time has not elapsed, the determination result is “NO”, and the present process ends. However, if the minimum unit time has elapsed, the determination result in step SJ2 is “YES”, and the process proceeds to step SJ3. Advance and increment the value of the register T to advance. In step SJ4, note data having a step time that matches the value of the incremented register T is searched from the music data area MDE of the RAM 14, and in the subsequent step SJ5, the presence or absence of the corresponding note data, that is, the sounding timing is determined. It is determined whether or not there is reached note data.

発音タイミングに達した音符データが有ると、判断結果は「YES」になり、ステップSJ6に進み、表示部15に画面表示される鍵盤画像において、発音タイミングに達した音符データ中の音高に対応した鍵の画像の表示形態を変化させるガイド表示を実行してユーザに弾くべき鍵を案内した後、後述のステップSJ10に進む。   If there is note data that has reached the sounding timing, the determination result is “YES”, and the process proceeds to step SJ6 to correspond to the pitch in the note data that has reached the sounding timing in the keyboard image displayed on the display unit 15. After the guide display for changing the display form of the key image is executed to guide the user to play the key, the process proceeds to step SJ10 described later.

一方、発音タイミングに達した音符データが検索されなければ、上記ステップSJ5の判断結果が「NO」になり、ステップSJ7に進む。ステップSJ7では、歩進されたレジスタTの値が、ステップタイムとゲートタイムとの加算値に一致する音符データをRAM14の曲データエリアMDEから検索し、続くステップSJ8では、該当する音符データの有無、つまり消音タイミングに達した音符データが有るか否かを判断する。   On the other hand, if the note data that has reached the sounding timing is not searched, the determination result in step SJ5 is “NO”, and the process proceeds to step SJ7. In step SJ7, the musical note data whose value of the incremented register T matches the added value of the step time and the gate time is searched from the music data area MDE of the RAM 14, and in the subsequent step SJ8, the presence or absence of the corresponding musical note data is detected. That is, it is determined whether or not there is note data that has reached the mute timing.

消音タイミングに達した音符データが無ければ、判断結果は「NO」になり、後述のステップSJ10に進む。これに対し、消音タイミングに達した音符データが有ると、上記ステップSJ8の判断結果が「YES」になり、ステップSJ9に進み、表示部15に画面表示される鍵盤画像において、消音タイミングに達した音符データ中の音高に対応した鍵の画像の表示形態を元に戻してガイド表示を消去した後、ステップSJ10に進む。   If there is no note data that has reached the mute timing, the determination result is “NO”, and the process proceeds to Step SJ10 described later. On the other hand, if there is note data that has reached the mute timing, the determination result in step SJ8 is “YES”, the process proceeds to step SJ9, and the mute timing has been reached in the keyboard image displayed on the display unit 15. After returning the display form of the key image corresponding to the pitch in the note data to erase the guide display, the process proceeds to step SJ10.

そして、ステップSJ10では、練習フラグRFが「0」であるか否かを判断する。なお、練習フラグRFとは、ユーザの間違う癖(演奏ミス仕勝ちな音において起き易い演奏ミスの内容)を矯正する為の繰り返し練習期間が、後述する制御処理(図18〜図18参照)において設定された場合に「1」、繰り返し練習期間が解除された場合に「0」となるフラグである。したがって、このステップSJ10では、繰り返し練習期間が設定されているかどうかを判断する。   In step SJ10, it is determined whether or not the practice flag RF is “0”. It should be noted that the practice flag RF is a repetitive practice period for correcting mistakes in the user (contents of performance mistakes that are likely to occur in performance mistakes) in a control process (see FIGS. 18 to 18) described later. This flag is “1” when set, and “0” when the repeated practice period is canceled. Therefore, in this step SJ10, it is determined whether or not a repeated practice period is set.

スタート/ストップスイッチの操作によりガイド開始が指示された当初、すなわち後述する制御処理(図18〜図18参照)により繰り返し練習期間が設定されていない状態であれば、練習フラグRFは「0」なので、判断結果は「YES」となり、図16に図示するステップSJ11に進む。ステップSJ11では、レジスタTの値が曲終了タイム以上であるか否か、つまり音符データに基づくガイドが完了したかどうかを判断する。   If the guide start is instructed by operating the start / stop switch, that is, if the repeated practice period is not set by the control process (see FIGS. 18 to 18) described later, the practice flag RF is “0”. The determination result is “YES”, and the process proceeds to Step SJ11 shown in FIG. In step SJ11, it is determined whether or not the value of the register T is equal to or greater than the song end time, that is, whether or not the guide based on the note data has been completed.

レジスタTの値が曲終了タイムに達せず、音符データに基づくガイドが進行中であるならば、判断結果は「NO」となり、本処理を終えるが、レジスタTの値が曲終了タイム以上となって、音符データに基づくガイドが完了すると、上記ステップSJ11の判断結果は「YES」となり、ステップSJ12に進み、曲進行時間を計時するタイマインタラプトを禁止する。この後、ステップSJ13に進み、スタートフラグSTFをゼロリセットし、続くステップSJ14では、表示部15のガイド表示を消去して本処理を終える。   If the value of the register T does not reach the song end time and the guide based on the note data is in progress, the determination result is “NO” and the process ends. However, the value of the register T becomes equal to or greater than the song end time. When the guide based on the note data is completed, the determination result in step SJ11 is “YES”, the process proceeds to step SJ12, and the timer interrupt for counting the music progression time is prohibited. Thereafter, the process proceeds to step SJ13, where the start flag STF is reset to zero. In the subsequent step SJ14, the guide display on the display unit 15 is erased and the present process is terminated.

これに対し、後述する制御処理(図17〜図18参照)により繰り返し練習期間が設定され、練習フラグRFが「1」となった以後に本ガイド2処理が再び実行されて上述したステップSJ10(図15参照)に処理を進めると、当該ステップSJ10の判断結果は「NO」になり、図16に図示するステップSJ15に進む。ステップSJ15では、レジスタTの値がレジスタT2の値以上であるか否かを判断する。   On the other hand, the repetition practice period is set by a control process (see FIGS. 17 to 18) described later, and after the practice flag RF becomes “1”, this guide 2 process is executed again, and the above-described step SJ10 ( When the process proceeds to (see FIG. 15), the determination result in step SJ10 is “NO”, and the process proceeds to step SJ15 illustrated in FIG. In step SJ15, it is determined whether or not the value of the register T is greater than or equal to the value of the register T2.

レジスタTには、現在の曲位置に相当するタイム値がストアされ、レジスタT2には、後述する制御処理によって繰り返し練習期間の終わりに相当するタイム値がストアされる。したがって、ステップSJ15では、繰り返し練習期間を過ぎたかどうかを判断する。繰り返し練習期間を過ぎていなければ、判断結果は「NO」になり、本処理を終えるが、繰り返し練習期間を過ぎると、判断結果が「YES」になり、ステップSJ16に進み、練習回数mをインクリメントして歩進させる。   A time value corresponding to the current music position is stored in the register T, and a time value corresponding to the end of the repeated practice period is stored in the register T2 by a control process described later. Therefore, in step SJ15, it is determined whether the repeated practice period has passed. If the repetitive practice period has not passed, the determination result is “NO”, and the present process ends. However, after the repetitive practice period, the determination result becomes “YES”, and the process proceeds to step SJ16 to increment the practice count m. And step forward.

次いで、ステップSJ17では、歩進された練習回数mが繰り返し回数Mを超えたか否かを判断する。練習回数mが繰り返し回数Mを超えていなければ、判断結果は「NO」になり、ステップSJ19に進み、繰り返し練習期間の始まりに相当するレジスタT1のタイム値をレジスタTにストアして一旦本処理を終える。以後、本ガイド2処理では、繰り返し練習期間の始まり(T1)から終わり(T2)までのガイドを繰り返す。   Next, in step SJ17, it is determined whether or not the stepped practice number m exceeds the number of repetitions M. If the number of exercises m does not exceed the number of repetitions M, the determination result is “NO”, the process proceeds to step SJ19, the time value of the register T1 corresponding to the start of the repetition exercise period is stored in the register T, and this process is performed once. Finish. Thereafter, in this guide 2 process, the guide from the beginning (T1) to the end (T2) of the repeated practice period is repeated.

そして、繰り返し回数Mに達するまで間違う癖(演奏ミス仕勝ちな音において起き易い演奏ミスの内容)を矯正するガイドを繰り返し行うと、上記ステップSJ17の判断結果が「YES」になり、ステップSJ18に進み、繰り返し練習期間の解除を表すべく練習フラグRFをゼロリセットし、続くステップSJ19では、繰り返し練習期間の始まりに相当するレジスタT1のタイム値をレジスタTにストアして一旦本処理を終える。以後、本処理では、レジスタT1のタイム値から通常のガイドを再開する。   When the guide for correcting a mistake (contents of performance mistakes that are likely to occur in performance mistakes) is repeated until the number of repetitions M is reached, the determination result in step SJ17 becomes “YES”, and the flow returns to step SJ18. In step SJ19, the time value of the register T1 corresponding to the start of the repeated practice period is stored in the register T, and the process is temporarily terminated. Thereafter, in this process, normal guidance is resumed from the time value of the register T1.

以上のように、ガイド2処理では、ガイド進行中(スタートフラグSTFが「1」)であると、曲再生テンポに対応した最小単位時間(ティック)が経過する毎にレジスタTの値を歩進し、歩進されたレジスタTの値と一致するステップタイムを有し、発音タイミングに達した音符データが存在すると、その音符データに基づき弾くべき鍵を案内するガイド表示を行う。また、歩進されたレジスタTの値が、ステップタイムとゲートタイムとの加算値に一致し、消音タイミングに達した音符データが存在すると、その音符データに基づきガイド表示を消去する。   As described above, in the guide 2 process, if the guide is in progress (the start flag STF is “1”), the value of the register T is incremented every time the minimum unit time (tick) corresponding to the music playback tempo elapses. When there is note data that has a step time that matches the value of the incremented register T and has reached the sounding timing, a guide display for guiding the key to be played is performed based on the note data. If the stepped register T value matches the added value of the step time and the gate time and there is note data that has reached the mute timing, the guide display is erased based on the note data.

こうしたガイドが進行中に、演奏ミス仕勝ちな音において同じ演奏ミスが生じ、これに応じて後述の制御処理によって繰り返し練習期間(レジスタT1のタイム値からレジスタT2のタイム値まで)が設定されると、繰り返し回数Mに達するまで間違う癖(演奏ミス仕勝ちな音において起き易い演奏ミスの内容)を矯正するガイドを繰り返し行い、それが完了すると、レジスタT1のタイム値から通常のガイドを再開する。   While such a guide is in progress, the same performance error occurs in a sound with a performance error, and a repetitive practice period (from the time value of the register T1 to the time value of the register T2) is set according to the control process described later. Until the number of repetitions M is reached, a guide for correcting mistakes (contents of performance mistakes that are likely to occur in performance mistakes) is repeated, and when this is completed, the normal guide is resumed from the time value of the register T1. .

(9)制御処理の動作
次に、図17〜図18を参照して制御処理の動作を説明する。前述した練習処理のステップSG4(図13参照)を介して本処理が実行されると、CPU12は図17に図示するステップSL1に進み、練習フラグRFが「1」であるか否か、つまりユーザの間違う癖を矯正する為の繰り返し練習期間が設定済みであるかどうかを判断する。繰り返し練習期間が設定済みならば、判断結果は「YES」になり、本処理を終える。
(9) Operation of Control Process Next, the operation of the control process will be described with reference to FIGS. When this process is executed through step SG4 (see FIG. 13) of the above-described practice process, the CPU 12 proceeds to step SL1 shown in FIG. 17 and determines whether or not the practice flag RF is “1”, that is, the user. Judge whether the repeated practice period to correct the wrong wrinkles has been set. If the repeated practice period has been set, the determination result is “YES”, and the present process ends.

一方、繰り返し練習期間が未設定(練習フラグRFが「0」)であれば、判断結果は「NO」になり、ステップSL2に進む。ステップSL2では、演奏データのステップタイムSTに最も近いステップタイムを有する音符データをRAM14の曲データエリアMDEから検索する。なお、演奏データは、前述の鍵盤処理(図9参照)において押鍵に応じて生成されてRAM14のワークエリアWEに一時記憶されるデータであり、押鍵された鍵の音高KEYと、押鍵時点におけるレジスタTの値で表されるステップタイムSTと、フラグ値「0」の終了フラグとから構成される。   On the other hand, if the repeated practice period is not set (practice flag RF is “0”), the determination result is “NO”, and the flow proceeds to step SL2. In step SL2, note data having a step time closest to the step time ST of the performance data is searched from the music data area MDE of the RAM. The performance data is data that is generated in response to a key press in the above-described keyboard processing (see FIG. 9) and is temporarily stored in the work area WE of the RAM 14, and the pitch key KEY of the key pressed and the key press. It consists of a step time ST represented by the value of the register T at the time of the key, and an end flag with a flag value “0”.

続いて、ステップSL3では、曲データエリアMDEから検索された該当音符データ中の終了フラグが「0」であるか否か、つまり未処理の音符データであるかどうかを判断する。該当音符データが処理済み(終了フラグが「1」)ならば、判断結果は「NO」となり、ステップSL4に進み、該当音符データを検索対象から除外して上記ステップSL2に処理を戻す。   Subsequently, in step SL3, it is determined whether or not the end flag in the corresponding note data searched from the music data area MDE is “0”, that is, whether or not it is unprocessed note data. If the corresponding note data has been processed (the end flag is “1”), the determination result is “NO”, the process proceeds to step SL4, the corresponding note data is excluded from the search target, and the process returns to step SL2.

一方、該当音符データが未処理(終了フラグが「0」)であると、上記ステップSL3の判断結果は「YES」となり、ステップSL5に進む。ステップSL5では、曲データエリアMDEから検索された該当音符データ中の音高と、演奏データの音高KEYとが一致するか否か、つまり誤押鍵であるかどうかを判断する。以下では、誤押鍵でない場合と、誤押鍵の場合とに分けて動作説明を進める。   On the other hand, if the corresponding note data is unprocessed (the end flag is “0”), the determination result in step SL3 is “YES”, and the flow proceeds to step SL5. In step SL5, it is determined whether or not the pitch in the corresponding note data retrieved from the music data area MDE matches the pitch KEY of the performance data, that is, whether or not the key has been erroneously pressed. In the following, the description of the operation will be divided into a case where the key is not erroneously pressed and a case where the key is erroneously pressed.

<誤押鍵でない場合>
この場合、曲データエリアMDEから検索された該当音符データ中の音高と、演奏データの押鍵音高KEYとが一致するので、上記ステップSL5は「YES」となり、ステップSL6に進む。ステップSL6では、該当音符データのステップタイム(発音タイミング)と、演奏データのステップタイムST(押鍵タイミング)との差分が予め定められた所定範囲に収まっているか否か、つまり適正なタイミングで押鍵されたかどうかを判断する。適正なタイミングで押鍵されていれば、判断結果は「YES」となり、ステップSL7に進み、曲データエリアMDEから検索された該当音符データ中の終了フラグを「1」にセットして本処理を終える。
<If not accidentally pressed>
In this case, since the pitch in the corresponding note data retrieved from the music data area MDE matches the key depression pitch KEY of the performance data, step SL5 is “YES”, and the flow proceeds to step SL6. In step SL6, whether or not the difference between the step time (sounding timing) of the corresponding note data and the step time ST (key pressing timing) of the performance data is within a predetermined range, that is, pressing at an appropriate timing. Determine if it was locked. If the key is pressed at an appropriate timing, the determination result is “YES”, the process proceeds to step SL7, the end flag in the corresponding note data retrieved from the music data area MDE is set to “1”, and this process is performed. Finish.

これに対し、該当音符データのステップタイム(発音タイミング)と、演奏データのステップタイムST(押鍵タイミング)との差分が予め定められた所定範囲に収まらず、適正なタイミングで押鍵されていない場合には、上記ステップSL6の判断結果が「NO」となり、ステップSL8に進む。ステップSL8では、該当音符データのステップタイム(発音タイミング)に対する演奏データのステップタイムST(押鍵タイミング)のずれが「進み」であるか否かを判断する。   On the other hand, the difference between the step time (sounding timing) of the corresponding note data and the step time ST (key pressing timing) of the performance data does not fall within a predetermined range and is not pressed at an appropriate timing. In this case, the determination result in step SL6 is “NO”, and the flow proceeds to step SL8. In step SL8, it is determined whether or not the deviation of the step time ST (key press timing) of the performance data from the step time (sound generation timing) of the corresponding note data is “advance”.

発音タイミングに対する押鍵タイミングのずれが「進み」ならば、判断結果は「YES」になり、ステップSL9に進む。ステップSL9では、該当音符データ中の判別フラグが「2」、つまり早めに押鍵仕勝ちな音を早めに押鍵してしまうという同じ過ちを繰り返したかどうかを判断する。同じ過ちを繰り返していなければ、判断結果は「NO」となり、本処理を終えるが、同じ過ちを繰り返すと、判断結果が「YES」になり、後述のステップSL17(図18参照)に進む。   If the key press timing shift with respect to the sound generation timing is “advance”, the determination result is “YES”, and the process proceeds to step SL9. In step SL9, it is determined whether or not the determination flag in the corresponding note data is “2”, that is, whether the same mistake of pressing the key-winning sound earlier is repeated. If the same mistake is not repeated, the determination result is “NO”, and the present process is terminated. However, if the same mistake is repeated, the determination result is “YES”, and the process proceeds to Step SL17 (see FIG. 18) described later.

一方、発音タイミングに対する押鍵タイミングのずれが「遅れ」であると、上記ステップSL8の判断結果は「NO」になり、ステップSL10に進む。ステップSL10では、該当音符データ中の判別フラグが「1」、つまり遅れて押鍵仕勝ちな音を遅れて押鍵してしまうという同じ過ちを繰り返したかどうかを判断する。同じ過ちを繰り返していなければ、判断結果は「NO」となり、本処理を終えるが、同じ過ちを繰り返すと、判断結果が「YES」になり、後述のステップSL17(図18参照)に進む。   On the other hand, if the shift of the key pressing timing with respect to the sound generation timing is “delayed”, the determination result in step SL8 is “NO”, and the flow proceeds to step SL10. In step SL10, it is determined whether or not the determination flag in the corresponding note data is “1”, that is, the same mistake that a delayed key-pressing sound is delayed is repeated. If the same mistake is not repeated, the determination result is “NO”, and the present process is terminated. However, if the same mistake is repeated, the determination result is “YES”, and the process proceeds to Step SL17 (see FIG. 18) described later.

このように、早めに押鍵仕勝ちな音を早めに押鍵したり、遅れて押鍵仕勝ちな音を遅れて押鍵したりするといった同じ過ちを繰り返してしまった場合には、図18に図示するステップSL17以降を実行し、その間違う癖(演奏ミス仕勝ちな音において起き易い演奏ミスの内容)を矯正する為の繰り返し練習期間を設定する。   As described above, when the same mistake is repeated such that the key-pressing sound is pressed early or the key-winning sound is pressed after a delay, as shown in FIG. Step SL17 and the subsequent steps shown in FIG. 5 are executed, and a repetition practice period is set to correct a mistake (a content of performance mistakes that are likely to occur in performance mistakes).

先ずステップSL17では、同じ過ちを繰り返した時の演奏データのステップタイムST(押鍵タイミング)より所定時間前のタイム値をレジスタT1にストアし、続くステップSL18では、当該演奏データのステップタイムST(押鍵タイミング)より所定時間後のタイム値をレジスタT2にストアする。こうして、レジスタT1にストアされたタイム値と、レジスタT2にストアされたタイム値とで繰り返し練習期間が設定されると、ステップSL19に進み、レジスタT1のタイム値(繰り返し練習期間の始端に相当)をレジスタTにストアした後、続くステップSL20では、繰り返し練習期間が設定された旨を表すべく練習フラグRFを「1」にセットして本処理を終える。   First, in step SL17, a time value a predetermined time before the step time ST (key press timing) of the performance data when the same mistake is repeated is stored in the register T1, and in the subsequent step SL18, the step time ST ( The time value after a predetermined time from the key pressing timing) is stored in the register T2. Thus, when the repeated practice period is set by the time value stored in the register T1 and the time value stored in the register T2, the process proceeds to step SL19, and the time value of the register T1 (corresponding to the beginning of the repeated practice period). Is stored in the register T, and in the subsequent step SL20, the practice flag RF is set to “1” to indicate that the repeated practice period has been set, and the process is terminated.

なお、繰り返し練習期間が設定されると、前述したガイド2処理(図15〜図16参照)では、繰り返し回数Mに達するまで間違う癖を矯正するガイドを繰り返し行うようになっている。   When the repeated practice period is set, in the above-described guide 2 process (see FIGS. 15 to 16), a guide for correcting wrong wrinkles is repeatedly performed until the repetition number M is reached.

<誤押鍵の場合>
この場合、曲データエリアMDEから検索された該当音符データ中の音高と、演奏データの音高KEYとが不一致になるので、図17に図示するステップSL5の判断結果が「NO」になり、図18に図示するステップSL11に進む。ステップSL11では、演奏データのステップタイムSTに対して2番目に近いステップタイムを有する音符データをRAM14の曲データエリアMDEから検索する。すなわち現在弾くべき音の次に弾く音の音符データを探し出す。
<Incorrect key press>
In this case, since the pitch in the corresponding note data searched from the music data area MDE and the pitch KEY of the performance data do not match, the determination result in step SL5 shown in FIG. Proceed to step SL11 shown in FIG. In step SL11, note data having a step time closest to the step time ST of the performance data is searched from the music data area MDE of the RAM. That is, it searches for note data of the sound to be played next to the sound to be played now.

次いで、ステップSL12では、曲データエリアMDEから検索された該当音符データ中の終了フラグが「0」であるか否か、つまり未処理の音符データであるかどうかを判断する。該当音符データが処理済み(終了フラグが「1」)ならば、判断結果は「NO」となり、ステップSL13に進み、該当音符データを検索対象から除外して上記ステップSL11に処理を戻す。   Next, in step SL12, it is determined whether or not the end flag in the corresponding note data retrieved from the music data area MDE is “0”, that is, whether or not it is unprocessed note data. If the corresponding note data has been processed (end flag is “1”), the determination result is “NO”, the process proceeds to step SL13, the corresponding note data is excluded from the search target, and the process returns to step SL11.

一方、該当音符データが未処理(終了フラグが「0」)であると、上記ステップSL12の判断結果は「YES」となり、ステップSL14に進み、曲データエリアMDEから検索された該当音符データ中の音高と、演奏データの押鍵音高KEYとが一致するか否かを判断する。つまり、ステップSL14では、次に弾く音を誤って弾いてしまったかどうかを判断する。該当音符データ中の音高と、演奏データの音高KEYとが不一致の場合、すなわち次に弾く音を弾いていなければ、判断結果は「NO」になり、ステップSL15に進む。   On the other hand, if the corresponding note data is unprocessed (the end flag is “0”), the determination result in step SL12 is “YES”, the process proceeds to step SL14, and the note data in the corresponding note data retrieved from the song data area MDE is included. It is determined whether or not the pitch matches the key depression pitch KEY of the performance data. That is, in step SL14, it is determined whether or not the next sound to be played has been accidentally played. If the pitch in the note data does not match the pitch KEY in the performance data, that is, if the next note is not played, the determination result is “NO”, and the flow proceeds to step SL15.

ステップSL15では、該当音符データ中の判別フラグが「3」、つまり押鍵間違い仕勝ちな音を誤押鍵してしまうという同じ過ちを繰り返したかどうかを判断する。同じ過ちを繰り返していなければ、判断結果は「NO」となり、本処理を終えるが、同じ過ちを繰り返すと、判断結果が「YES」になり、ステップSL17に進む。   In step SL15, it is determined whether the determination flag in the corresponding note data is “3”, that is, whether the same mistake of erroneously pressing a key that has been mistakenly pressed is repeated. If the same mistake is not repeated, the determination result is “NO”, and the present process is terminated. If the same mistake is repeated, the determination result is “YES”, and the process proceeds to step SL17.

これに対し、該当音符データ中の音高と、演奏データの押鍵音高KEYとが一致し、次に弾く音を誤って弾いてしまった場合には、上記ステップSL14の判断結果が「YES」になり、ステップSL16に進む。ステップSL16では、該当音符データ中の判別フラグが「4」、つまり押鍵抜け仕勝ちな音を押鍵し忘れてしまうという同じ過ちを繰り返したかどうかを判断する。同じ過ちを繰り返していなければ、判断結果は「NO」となり、本処理を終えるが、同じ過ちを繰り返すと、判断結果が「YES」になり、ステップSL17に進む。   On the other hand, when the pitch in the corresponding note data matches the key depression pitch KEY of the performance data and the next played sound is accidentally played, the determination result in step SL14 is “YES”. The process proceeds to step SL16. In step SL16, it is determined whether or not the determination flag in the corresponding note data is “4”, that is, whether the same mistake of forgetting to press the key-losing sound is repeated. If the same mistake is not repeated, the determination result is “NO”, and the present process is terminated. If the same mistake is repeated, the determination result is “YES”, and the process proceeds to step SL17.

押鍵間違い仕勝ちな音を誤押鍵したり、押鍵抜け仕勝ちな音を押鍵し忘れたりするといった同じ過ちを繰り返してしまった場合には、前述したステップSL17以降を実行し、その間違う癖(演奏ミス仕勝ちな音において起き易い演奏ミスの内容)を矯正する為の繰り返し練習期間を設定して本処理を終える。なお、繰り返し練習期間が設定されると、前述したガイド2処理(図15〜図16参照)では、繰り返し回数Mに達するまで間違う癖を矯正するガイドを繰り返し行う。   If the same mistake has been repeated, such as accidentally pressing a wrong key-pressing sound or forgetting to press a key-missing winning sound, the above-described step SL17 and subsequent steps are executed. This process is completed by setting a repeated practice period to correct mistakes (contents of performance mistakes that are likely to occur in performance mistakes). When the repeated practice period is set, in the above-described guide 2 process (see FIGS. 15 to 16), a guide for correcting wrong wrinkles is repeatedly performed until the number of repetitions M is reached.

このように、制御処理では、押鍵に応じて発生した演奏データに対応する音符データをRAM14の曲データエリアMDEから検索し、検索された該当音符データと演奏データとの比較に基づき演奏ミスの有無を判別し、演奏ミスが有れば、その演奏ミスした音符データの判別フラグを参照して同じ過ちを繰り返したかどうかを判断する。すなわち、早めに押鍵仕勝ちな音を早めに押鍵したり、遅れて押鍵仕勝ちな音を遅れて押鍵したりする演奏ミスや、押鍵間違い仕勝ちな音を誤押鍵してたり、押鍵抜け仕勝ちな音を押鍵し忘れたりする演奏ミスが発生すると、その間違う癖を矯正する繰り返し練習期間を設定する。   In this way, in the control process, the note data corresponding to the performance data generated in response to the key depression is searched from the music data area MDE of the RAM 14, and the performance error is determined based on the comparison between the searched note data and the performance data. The presence / absence is determined, and if there is a performance error, it is determined whether the same mistake has been repeated with reference to the determination flag of the note data for which the performance error has occurred. In other words, mistakes in performance such as pressing a key-pressed sound early, keying a delayed key-pressed sound late, and key-incorrect key-pressed sound. If there is a performance mistake that causes you to forget to press a key that has been missed, or if you forget to press a key, you will set a repeated practice period to correct the mistake.

以上説明したように、本実施形態では、先ず生成モードにおいて、曲を構成する各音を表す音符データに基づきユーザに弾くべき鍵を案内するガイド表示を行い、それに従ってユーザが行う押鍵操作で発生する演奏データと、それに対応する音符データとの比較に基づき演奏ミスの有無を判断し、演奏ミスが有れば、対応する演奏ミス項目別に分類して発生回数を計数する処理を複数回実行して曲を構成する各音の内から演奏ミス仕勝ちな音と、その音で起き易い演奏ミス項目とを抽出しておく。   As described above, in the present embodiment, in the generation mode, first, guide display for guiding the key to be played to the user is performed based on the note data representing each sound constituting the song, and the user performs a key pressing operation according to the guide display. Based on a comparison between the performance data that is generated and the corresponding note data, it is determined whether there is a performance error. If there is a performance error, the process is performed multiple times by categorizing by the corresponding performance error item and counting the number of occurrences. Then, from each sound constituting the music, a performance error winning sound and a performance error item that easily occurs are extracted.

そして、練習モードにおいて、曲を構成する各音を表す音符データに基づきユーザに弾くべき鍵を案内するガイド表示を行い、それに従ってユーザが行う押鍵操作で発生する演奏データと、それに対応する音符データとの比較に基づき演奏ミスの有無を判断し、演奏ミスが有れば、生成モードで抽出された演奏ミス仕勝ちな音における起き易い演奏ミス項目であるか否か、つまり同じ過ちが繰り返されたかどうかを判断し、同じ過ちが繰り返された場合には、その演奏ミス仕勝ちな音の演奏を繰り返し練習するようにガイド表示するので、曲を演奏するユーザの間違う癖を矯正して練習効果を高めることが可能になる。   In the practice mode, a guide display for guiding the key to be played to the user based on the note data representing each sound constituting the music is performed, and the performance data generated by the key pressing operation performed by the user according to the guide data and the corresponding note Based on the comparison with the data, the presence or absence of a performance error is judged. If there is a performance error, whether or not it is a performance error item that is likely to occur in the performance error winning sound extracted in the generation mode, that is, the same mistake is repeated. If the same mistake is repeated, a guide will be displayed to repeat the performance of the mistaken performance, so correct the mistakes of the user who plays the song and practice It becomes possible to increase the effect.

なお、本実施形態では、同じ過ちが繰り返された音について一律に所定回数の繰り返し練習を行わせるようにしたが、これに限らず、繰り返し練習中の押鍵操作が適正であるか否かを判定する繰り返し練習判定手段と、この繰り返し練習判定手段により誤った押鍵操作が行われたと判定された場合に、練習回数mをゼロリセットして繰り返し練習を始めからやり直させる練習回数制御手段とを更に設ける態様とすることも可能である。こうした構成を更に具備することによって、ユーザの間違う癖を矯正する効果を一層向上させ得る。   In the present embodiment, a predetermined number of repeated exercises are performed for a sound in which the same mistake is repeated, but the present invention is not limited to this, and whether or not the key pressing operation during the repeated exercise is appropriate. A repetition practice determination means for determining, and a practice number control means for resetting the practice number m to zero and starting the repeated practice from the beginning when it is determined by the repeated practice determination means that an erroneous key pressing operation has been performed. It is also possible to provide a further aspect. By further providing such a configuration, it is possible to further improve the effect of correcting a wrinkle that is incorrect by the user.

さらには、例えば誤押鍵など曲演奏上の影響度が高い演奏ミスに高い重み付けを与える等、前述した演奏ミス項目(「遅れ回数」、「進み回数」、「誤り回数」および「抜け回数」)毎に影響度に応じた重み付け係数を予め付与しておき、同じ過ちが繰り返された音の演奏ミス項目に付与された重み付け係数を参照して繰り返し練習回数を異ならせる態様にすることも可能である。こうすることで曲演奏上の影響度が高い音で間違う癖が出たら繰り返し練習回数を多くし、一方、影響度が低い音で間違う癖が出たら繰り返し練習回数を少なくするので、曲演奏上の影響度が高い音で間違う癖を重点的に矯正することが可能になる。   Furthermore, the performance error items described above ("delay count", "advance count", "error count", and "miss count"), such as giving a high weight to performance errors that have a high influence on the performance of the song, such as erroneous key presses, ) It is also possible to assign a weighting coefficient according to the degree of influence in advance and to make the number of repeated exercises different by referring to the weighting coefficient assigned to the performance error item of the sound in which the same mistake is repeated. It is. In this way, if the sound with a high influence on the music performance has a wrong habit, the number of repeated exercises is increased. On the other hand, if the sound with a lower influence has a wrong habit, the number of repeated exercises is reduced. It is possible to focus on correcting wrinkles that are mistaken for sounds with a high degree of influence.

また、上述した実施形態では、説明の簡略化を図る為、曲を構成する各音を表すデータ(音高、ステップタイムおよびゲートタイム)と、生成処理又は練習処理に供するデータ(ミス回数エリア、終了フラグおよび判別フラグ)とを一体化した音符データを用いるようにしたが、それら両データを分離した態様とすることも可能である。   Further, in the embodiment described above, in order to simplify the description, data representing each sound constituting the music (pitch, step time and gate time) and data used for generation processing or practice processing (miss count area, The note data in which the end flag and the discrimination flag) are integrated is used, but it is also possible to adopt a mode in which both data are separated.

すなわち、生成処理又は練習処理に供するデータ(ミス回数エリア、終了フラグおよび判別フラグ)を、曲を構成する各音に対応付けた別個のデータベースとして設けておき、生成処理又は練習処理の実行時にこのデータベースを参照する態様としても、上述した実施形態と同様、曲を演奏するユーザの間違う癖を矯正して練習効果を高めることができる。   That is, the data (the number of misses area, the end flag, and the discrimination flag) used for the generation process or practice process is provided as a separate database associated with each sound constituting the song, and this data is generated when the generation process or practice process is executed. As an aspect of referring to the database, the practice effect can be enhanced by correcting mistakes in the user who plays the music, as in the above-described embodiment.

10 鍵盤
11 スイッチ部
12 CPU
13 ROM
14 RAM
15 表示部
16 音源
17 サウンドシステム
100 演奏教習装置
10 Keyboard 11 Switch 12 CPU
13 ROM
14 RAM
DESCRIPTION OF SYMBOLS 15 Display part 16 Sound source 17 Sound system 100 Performance learning apparatus

Claims (6)

曲を構成する各音を表す音符データを記憶する音符データ記憶手段と、
前記音符データ記憶手段に記憶される音符データに従って曲を構成する各音の演奏をガイドする第1のガイド手段と、
前記第1のガイド手段によるガイドに対応したユーザの演奏操作で発生する演奏データと、ガイドされた音の音符データとを比較して演奏ミスの有無を判定する第1の判定手段と、
前記第1の判定手段により演奏ミスが生じたと判定された音の音符データに対応付けられ、当該演奏ミスの内容に相当する演奏ミス項目の発生回数を計数する計数手段と、
前記計数手段により計数された演奏ミス項目別の発生回数を、曲を構成する各音の音符データ毎に集計した結果に基づき曲中の演奏ミス仕勝ちな音と、その音で起き易い演奏ミス項目とを抽出する抽出手段と、
前記抽出手段によって曲中の演奏ミス仕勝ちな音と、その音で起き易い演奏ミス項目とが抽出された後に前記第1のガイド手段が実行するガイドに対応したユーザの演奏操作で発生する演奏データと、ガイドされた音の音符データとを比較して演奏ミスの有無を判定する第2の判定手段と、
前記第2の判定手段により演奏ミスが生じたと判定された音が、前記抽出手段によって抽出された演奏ミス仕勝ちな音における起き易い演奏ミス項目に合致した場合に、その演奏ミス仕勝ちな音の音符データの演奏を所定回数繰り返しガイドする第2のガイド手段と
を具備することを特徴とする演奏教習装置。
Note data storage means for storing note data representing each sound constituting a song;
First guide means for guiding the performance of each sound constituting the music according to the note data stored in the note data storage means;
First determination means for comparing the performance data generated by the user's performance operation corresponding to the guide by the first guide means and the note data of the guided sound to determine the presence or absence of a performance error;
Counting means for counting the number of occurrences of performance error items corresponding to the note data of the sound determined to have a performance error by the first determination means, and corresponding to the content of the performance error;
Based on the result of counting the number of occurrences of each performance error item counted by the counting means for each note data of each sound constituting the music, the performance error in the music and the performance errors likely to occur with the sound. Extracting means for extracting items;
A performance generated by the user's performance operation corresponding to the guide executed by the first guide means after the extraction means extracts the performance mistakes in the music and the performance mistake items likely to occur in the sound. A second determination means for comparing the data and the note data of the guided sound to determine the presence or absence of a performance mistake;
When the sound determined by the second determining means that a performance error has occurred matches a performance error item that is likely to occur in the performance error winning sound extracted by the extracting means, the performance error winning sound And a second guide means for repeatedly guiding the performance of the note data a predetermined number of times.
前記抽出手段は、演奏ミス項目別の発生回数の内、発生回数が最大かつ所定回数以上の演奏ミス項目を有する音符データを、演奏ミス仕勝ちな音における起き易い演奏ミス項目として抽出することを特徴とする請求項1記載の演奏教習装置。   The extraction means extracts note data having a performance error item having the maximum number of occurrences and a predetermined number of times or more among the number of occurrences by performance error item as a performance error item that is likely to occur in a performance error winning sound. The performance learning apparatus according to claim 1, wherein 前記第2のガイド手段は、
前記第2の判定手段により演奏ミスが生じたと判定された音に対応する演奏データが発生した時点の前後所定時間幅を繰り返し練習期間に設定する期間設定手段と、
前記期間設定手段により設定された繰り返し練習期間において、演奏ミス仕勝ちな音の音符データの演奏を所定回数繰り返しガイドした後、前記第1のガイド手段にガイド再開を指示する再開指示手段と
を具備することを特徴とする請求項1記載の演奏教習装置。
The second guide means includes
Period setting means for repeatedly setting a predetermined time width before and after a point in time when performance data corresponding to a sound determined to have caused a performance error by the second determination means as a practice period;
Resumption instructing means for instructing the first guiding means to resume the guide after repetitively guiding the performance of the note data of the mistaken performance winning sound for a predetermined number of times in the repetitive practice period set by the period setting means. The performance learning apparatus according to claim 1, wherein:
前記第2のガイド手段による繰り返しガイドに対応したユーザの演奏操作が適正であるか否かを判定する繰り返し練習判定手段と、
この繰り返し練習判定手段により誤った演奏操作が行われたと判定された場合に、前記第2のガイド手段に繰り返しガイドを始めからやり直させる練習回数制御手段と
を更に具備することを特徴とする請求項1記載の演奏教習装置。
Repeated practice determination means for determining whether or not the user's performance operation corresponding to the repeated guide by the second guide means is appropriate;
The practice number control means for causing the second guide means to repeat the guide from the beginning when it is judged by the repeated practice judgment means that an erroneous performance operation has been performed. The performance learning apparatus according to 1.
曲演奏上の影響度に応じて異なる重み付け係数を予め演奏ミス項目毎に付与しておき、前記第2の判定手段により演奏ミスが生じたと判定された音が、前記抽出手段によって抽出された演奏ミス仕勝ちな音における起き易い演奏ミス項目に合致した場合に、その起き易い演奏ミス項目に付与された重み付け係数を参照して前記第2のガイド手段に指示する繰り返し回数を異ならせる回数指示手段を更に備えることを特徴とする請求項1記載の演奏教習装置。   A weighting coefficient that differs depending on the degree of influence on the performance of the music is assigned to each performance error item in advance, and the performance determined by the second determination means as having been determined that a performance error has occurred is extracted by the extraction means. Number of instruction means for differentiating the number of repetitions instructing the second guide means with reference to a weighting coefficient assigned to an easily-occurring performance error item in the case of an unacceptable performance error item in a mistake-winning sound The performance learning apparatus according to claim 1, further comprising: コンピュータに、
曲を構成する各音を表す音符データに従って曲を構成する各音の演奏をガイドする第1のガイドステップと、
前記第1のガイドステップによるガイドに対応したユーザの演奏操作で発生する演奏データと、ガイドされた音の音符データとを比較して演奏ミスの有無を判定する第1の判定ステップと、
前記第1の判定ステップにより演奏ミスが生じたと判定された音の音符データに対応付けられ、当該演奏ミスの内容に相当する演奏ミス項目の発生回数を計数する計数ステップと、
前記計数ステップにより計数された演奏ミス項目別の発生回数を、曲を構成する各音の音符データ毎に集計した結果に基づき曲中の演奏ミス仕勝ちな音と、その音で起き易い演奏ミス項目とを抽出する抽出ステップと、
前記抽出ステップによって曲中の演奏ミス仕勝ちな音と、その音で起き易い演奏ミス項目とが抽出された後に前記第1のガイドステップが実行するガイドに対応したユーザの演奏操作で発生する演奏データと、ガイドされた音の音符データとを比較して演奏ミスの有無を判定する第2の判定ステップと、
前記第2の判定ステップにより演奏ミスが生じたと判定された音が、前記抽出ステップによって抽出された演奏ミス仕勝ちな音における起き易い演奏ミス項目に合致した場合に、その演奏ミス仕勝ちな音の音符データの演奏を所定回数繰り返しガイドする第2のガイドステップと
を実行させることを特徴とするプログラム。
On the computer,
A first guide step for guiding the performance of each sound constituting the music according to the note data representing each sound constituting the music;
A first determination step of comparing the performance data generated by the user's performance operation corresponding to the guide by the first guide step and the note data of the guided sound to determine whether or not there is a performance error;
A counting step of counting the number of occurrences of performance error items corresponding to the note data of the sound determined to have a performance error in the first determination step, and corresponding to the content of the performance error;
Based on the result of counting the number of occurrences for each performance error item counted in the counting step for each note data of each sound constituting the music, the performance error in the music and the performance errors likely to occur with the sound. An extraction step for extracting items;
The performance generated by the user's performance operation corresponding to the guide executed by the first guide step after the extraction step extracts the performance mistakes in the song and the performance mistake items likely to occur in the sound. A second determination step of comparing the data and the note data of the guided sound to determine the presence or absence of a performance error;
If the sound determined to have a performance error in the second determination step matches a performance error item likely to occur in the performance error winning sound extracted in the extraction step, the performance error winning sound And a second guide step for repeatedly guiding the performance of the note data a predetermined number of times.
JP2009204394A 2009-09-04 2009-09-04 Performance learning apparatus and program Active JP5454771B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009204394A JP5454771B2 (en) 2009-09-04 2009-09-04 Performance learning apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009204394A JP5454771B2 (en) 2009-09-04 2009-09-04 Performance learning apparatus and program

Publications (2)

Publication Number Publication Date
JP2011053579A JP2011053579A (en) 2011-03-17
JP5454771B2 true JP5454771B2 (en) 2014-03-26

Family

ID=43942614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009204394A Active JP5454771B2 (en) 2009-09-04 2009-09-04 Performance learning apparatus and program

Country Status (1)

Country Link
JP (1) JP5454771B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5440961B2 (en) 2011-09-29 2014-03-12 カシオ計算機株式会社 Performance learning apparatus, performance learning method and program

Also Published As

Publication number Publication date
JP2011053579A (en) 2011-03-17

Similar Documents

Publication Publication Date Title
TWI457867B (en) Musical performance evaluating device and musical performance evaluating method
US8502057B2 (en) Electronic musical instrument
JP5440961B2 (en) Performance learning apparatus, performance learning method and program
CN104050952B (en) Music performance apparatus and playing method
JP3922225B2 (en) Pronunciation control program and electronic keyboard instrument using the same
JP5454771B2 (en) Performance learning apparatus and program
JP5347854B2 (en) Performance learning apparatus and performance learning program
CN103377646B (en) Note locations pick-up unit, electronic musical instrument and note locations estimation method
JPH06289857A (en) Electronic musical instrument provided with speech input function
JP4221567B2 (en) Performance practice device, performance practice method and performance practice program
CN111542874B (en) Data generating device and recording medium
JP5030016B2 (en) Musical sound generator and musical sound generation processing program
JP2011095530A (en) Automatic accompaniment device and program
JP5344373B2 (en) Performance learning apparatus and program
JP6421459B2 (en) Musical sound generating device, electronic musical instrument, musical sound generating method and program
JP2010243617A (en) Performance guide apparatus and program
JP4016333B2 (en) Performance practice device and performance practice program
JP2008129032A (en) Practice procedure generation device and practice procedure generation processing program
JP2643277B2 (en) Automatic performance device
JP2009175584A (en) Performance learning apparatus and performance learning processing program
JP3823945B2 (en) Performance guide apparatus with voice input function and performance guide method
JP2000352973A (en) Performance guide device
JP3885737B2 (en) Performance evaluation apparatus and performance evaluation program
JP2007156308A (en) Code learning device and code learning program
JP2012173474A (en) Musical performance practising apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120828

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131206

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131224

R150 Certificate of patent or registration of utility model

Ref document number: 5454771

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150