JP2011033752A - Musical performance-training apparatus and musical performance-training program - Google Patents

Musical performance-training apparatus and musical performance-training program Download PDF

Info

Publication number
JP2011033752A
JP2011033752A JP2009178698A JP2009178698A JP2011033752A JP 2011033752 A JP2011033752 A JP 2011033752A JP 2009178698 A JP2009178698 A JP 2009178698A JP 2009178698 A JP2009178698 A JP 2009178698A JP 2011033752 A JP2011033752 A JP 2011033752A
Authority
JP
Japan
Prior art keywords
performance
key
area
operator
belonging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009178698A
Other languages
Japanese (ja)
Other versions
JP5423213B2 (en
Inventor
Yoshito Yamaguchi
善登 山口
Junichiro Kawahara
潤一郎 川原
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 JP2009178698A priority Critical patent/JP5423213B2/en
Publication of JP2011033752A publication Critical patent/JP2011033752A/en
Application granted granted Critical
Publication of JP5423213B2 publication Critical patent/JP5423213B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a musical performance-training apparatus and a musical performance-training program wherein, in a state where an instructor and a student play music side by side, the instructor can give advice to the student while paying attention to the student's performance. <P>SOLUTION: When any key belonging to a second key region is operated, a CPU 21 gives instruction to a sound source section 26 to generate musical sound data of the pitch corresponding to a key belonging to a first key region having specific corresponding relation with a key belonging to the second key region with respect to the pitch, and turns on an LED corresponding to the key belonging to the first key region. Also, the CPU 21 stores, in a RAM 23, the record of performance data based on the operation of a key belonging to the second key region. The CPU 21 turns on an LED corresponding to the key belonging to the first key region based on the record of the performance data stored in the RAM 23. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、演奏の教習に用いることができる演奏教習装置および演奏教習プログラムに関する。   The present invention relates to a performance learning apparatus and a performance learning program that can be used for performance learning.

従来、自動演奏される曲に合わせて、鍵盤の鍵などの演奏操作子の内部、或いは、演奏操作子の上部に配置されたLEDを点灯して、操作すべき演奏操作子を指示するような演奏教習装置が知られている。上述した自動教習装置を利用した自動教習装置よりも、実際に、講師から直接教わる方が、演奏練習を行なう者(生徒)の技量に応じてその演奏形態を柔軟に変更できるうえ、適切なアドバイスを与えられ得るため、より緻密な教習が実現できる。   Conventionally, in accordance with a song to be automatically played, an LED arranged on the top of the performance operator such as a keyboard key or the upper part of the performance operator is lit to indicate the performance operator to be operated. A performance learning device is known. Compared to the automatic learning device using the automatic learning device described above, the person who is directly taught by the instructor can change the performance form flexibly according to the skill of the person who performs the performance (student), and appropriate advice Therefore, more precise lessons can be realized.

しかしながら、講師から直接教わるには、講師用の演奏装置と生徒用の演奏装置とをそれぞれ用意する必要があり、音楽教室など特定の場所でしか教習を実現することができず、一般家庭で上述したような教習を実現することは困難であった。   However, in order to teach directly from the instructor, it is necessary to prepare a performance device for the instructor and a performance device for the student, and the teaching can only be realized in a specific place such as a music classroom. It was difficult to realize such lessons.

そこで、特許文献1には、一つの演奏装置に設けられた演奏操作子群を2つに分割して、2つの連続する演奏操作子の領域を設けることが提案されている。特許文献1に提案された演奏教習装置において、分割された一方の演奏操作子群の何れかの演奏操作子を操作すれば、他方の演奏操作子群のうち、当該操作された演奏操作子と所定の音高関係のある演奏操作子を指示できる。   Therefore, Patent Document 1 proposes to divide a group of performance operators provided in one performance device into two to provide two continuous performance operator regions. In the performance learning apparatus proposed in Patent Document 1, if any one of the divided performance operators is operated, the operated performance operator of the other performance operators is A performance operator having a predetermined pitch can be designated.

特許第3586754号公報Japanese Patent No. 3586754

しかしながら、講師が傍らに居るからといって、生徒が、講師の演奏に合わせた演奏を行なうことは実質的に不可能である。したがって、講師は、生徒を指導する際には、生徒の演奏に注意しつつアドバイスを与えることを、生徒がある程度演奏ができるようになるまで繰り返す必要があった。   However, it is virtually impossible for students to perform along with the instructor's performance just because the instructor is there. Therefore, when instructing a student, the instructor had to repeat giving advice while paying attention to the student's performance until the student can perform to some extent.

本発明は、講師と生徒とが並んで演奏をする状態で、講師が生徒の演奏に注意しながら、アドバイスを与えることが可能な演奏教習装置および演奏教習プログラムを提供することを目的とする。   An object of the present invention is to provide a performance learning apparatus and a performance learning program that can give advice while a teacher and a student perform side by side while paying attention to the performance of the student.

本発明の目的は、音高順に配置された複数の演奏操作子であって、第1の領域と、第2の領域とを有する複数の演奏操作子と、
少なくとも前記第1の領域の演奏操作子に対応し、当該演奏操作子を指定する複数の操作子指定手段と、
前記第2の領域に属する演奏操作子の操作に基づく演奏データを格納する演奏データ記憶手段と、
前記演奏操作子の操作に基づいて、当該演奏操作子に対応する音高の楽音データの生成を楽音データ生成手段に指示する制御手段と、を備え、
前記制御手段が、前記第2の領域に属する演奏操作子の何れかが操作されたときに、前記演奏操作子と音高的に一定の対応関係にある、前記第1の領域に属する演奏操作子に対応する音高の楽音データを生成するように前記楽音データ生成手段に指示するとともに、前記第1の領域に属する前記演奏操作子に対応する操作子指定手段を動作させ、かつ、
前記制御手段が、前記第2の領域に属する演奏操作子の操作に基づく演奏データを、前記演奏データ記憶手段に格納し、その後、当該演奏データ記憶手段に格納された演奏データに基づき、前記第1の領域に属する前記演奏操作子に対応する操作子指定手段を動作させることを特徴とする演奏教習装置により達成される。
An object of the present invention is a plurality of performance operators arranged in pitch order, a plurality of performance operators having a first area and a second area,
A plurality of operation element designating means for designating the performance operation element corresponding to at least the performance operation element of the first region;
Performance data storage means for storing performance data based on operation of a performance operator belonging to the second area;
Control means for instructing the musical sound data generating means to generate musical tone data corresponding to the musical performance operator based on the operation of the musical performance operator;
A performance operation belonging to the first region, wherein the control means has a certain correspondence in pitch with the performance operator when any one of the performance operators belonging to the second region is operated. Instructing the musical tone data generating means to generate musical tone data of a pitch corresponding to a child, operating an operator specifying means corresponding to the performance operator belonging to the first area, and
The control means stores performance data based on the operation of the performance operator belonging to the second area in the performance data storage means, and then, based on the performance data stored in the performance data storage means, the first data This is achieved by a performance learning apparatus that operates an operation element designating unit corresponding to the performance operation element belonging to one area.

好ましい実施態様においては、前記制御手段が、前記第1の領域の演奏操作子、および、第2の領域の演奏操作子が操作されなくなってから所定時間経過したときに、前記演奏データ記憶手段に格納された演奏データに基づき、前記第1の領域に属する前記演奏操作子に対応する操作子指定手段を動作させることを特徴とする請求項1に記載の演奏教習装置。   In a preferred embodiment, the control means stores the performance data storage means when a predetermined time elapses after the performance operators in the first area and the performance operators in the second area are not operated. 2. The performance learning apparatus according to claim 1, wherein an operation element designating unit corresponding to the performance operation element belonging to the first area is operated based on the stored performance data.

別の好ましい実施態様においては、前記演奏データが、前記演奏操作子がオンされたことを示すノートオンイベント、演奏操作子がオフされたことを示すノートオフイベント、イベント間の時間間隔を示すタイムピリオドのレコードを含み、
前記制御手段が、前記演奏データ記憶手段に格納された演奏データのレコードのうち、まだ読み取られていない先頭のノートオンイベントを読み出して、当該ノートオンイベントが示す第1の領域に属する演奏操作子に対応する操作子指定手段を動作させ、また、タイムピリオドが示す時間の経過後、次のレコードを読み出し、前記動作中の操作子指定手段に対応する演奏操作子に関するノートオフイベントを読み出すと、前記動作中の操作子指定手段の動作を停止させる。
In another preferred embodiment, the performance data includes a note-on event indicating that the performance operator is turned on, a note-off event indicating that the performance operator is turned off, and a time indicating a time interval between events. Including period records,
The control means reads the first note-on event that has not been read from the record of the performance data stored in the performance data storage means, and the performance operator belonging to the first area indicated by the note-on event When the operating element specifying means corresponding to the operating period is operated, and after the time indicated by the time period has elapsed, the next record is read, and the note-off event related to the performance operating element corresponding to the operating element specifying means in operation is read. The operation of the operating element specifying means during the operation is stopped.

別の好ましい実施態様においては、前記制御手段が、前記演奏データ記憶手段に格納された演奏データに基づき、前記第1の領域に属する前記演奏操作子に対応する操作子指定手段を動作させるとともに、前記演奏データに基づく音高の楽音データを生成するように前記楽音データ生成手段に指示する。   In another preferred embodiment, the control means operates an operator designating means corresponding to the performance operator belonging to the first area based on performance data stored in the performance data storage means, The musical tone data generating means is instructed to generate musical pitch data based on the performance data.

好ましい実施態様においては、前記操作子指定手段が、発光素子である。   In a preferred embodiment, the operation element designating means is a light emitting element.

また、本発明の目的は、音高順に配置された複数の演奏操作子であって、第1の領域と、第2の領域とを有する複数の演奏操作子と、少なくとも前記第1の領域の演奏操作子に対応し、当該演奏操作子を指定する複数の操作子指定手段と、前記第2の領域に属する演奏操作子の操作に基づく演奏データを格納する演奏データ記憶手段とを備えたコンピュータにおいて、
前記演奏操作子の操作に基づいて、当該演奏操作子に対応する音高の楽音データの生成を楽音データ生成手段に指示する制御ステップを実行させ、
前記制御ステップが、
前記第2の領域に属する演奏操作子の何れかが操作されたときに、前記演奏操作子と音高的に一定の対応関係にある、前記第1の領域に属する演奏操作子に対応する音高の楽音データを生成するように前記楽音データ生成手段に指示するとともに、前記第1の領域に属する前記演奏操作子に対応する操作子指定手段を動作させるステップと、
前記第2の領域に属する演奏操作子の操作に基づく演奏データを、前記演奏データ記憶手段に格納し、その後、当該演奏データ記憶手段に格納された演奏データに基づき、前記第1の領域に属する前記演奏操作子に対応する操作子指定手段を動作させるステップと、を有することを特徴とする演奏教習プログラムにより達成される。
Another object of the present invention is a plurality of performance operators arranged in pitch order, a plurality of performance operators having a first area and a second area, and at least the first area. A computer comprising a plurality of operation unit specifying means for specifying a performance operation unit corresponding to the performance operation unit, and a performance data storage unit for storing performance data based on operation of the performance operation unit belonging to the second area In
Based on the operation of the performance operator, a control step is performed to instruct the musical sound data generation means to generate musical tone data corresponding to the musical performance operator,
The control step comprises:
When one of the performance operators belonging to the second area is operated, the sound corresponding to the performance operator belonging to the first area and having a certain pitch relationship with the performance operator Instructing the musical tone data generating means to generate high musical tone data, and operating an operator specifying means corresponding to the performance operator belonging to the first area;
Performance data based on the operation of the performance operator belonging to the second area is stored in the performance data storage means, and then belongs to the first area based on the performance data stored in the performance data storage means. And a step of operating an operator specifying means corresponding to the performance operator.

本発明によれば、講師と生徒とが並んで演奏をする状態で、講師が生徒の演奏に注意しながら、アドバイスを与えることが可能な演奏教習装置および演奏教習プログラムを提供することが可能となる。   According to the present invention, it is possible to provide a performance learning apparatus and a performance learning program capable of giving advice while the instructor and the student perform side by side while paying attention to the performance of the student. Become.

図1は、本発明の実施の形態にかかる演奏教習装置の概略を示す図である。FIG. 1 is a diagram showing an outline of a performance learning apparatus according to an embodiment of the present invention. 図2は、本実施の形態にかかる演奏教習装置の構成を示すブロックダイヤグラムである。FIG. 2 is a block diagram showing the configuration of the performance learning apparatus according to the present embodiment. 図3は、本実施の形態にかかる電子楽器のメインフローの概略を示すフローチャートである。FIG. 3 is a flowchart showing an outline of the main flow of the electronic musical instrument according to the present embodiment. 図4は、本実施の形態にかかるスイッチ処理の例を示すフローチャートである。FIG. 4 is a flowchart illustrating an example of the switch processing according to the present embodiment. 図5は、本実施の形態にかかる鍵盤処理の例を示すフローチャートである。FIG. 5 is a flowchart showing an example of keyboard processing according to the present embodiment. 図6は、本実施の形態にかかる鍵盤処理の例を示すフローチャートである。FIG. 6 is a flowchart showing an example of keyboard processing according to the present embodiment. 図7は、本実施の形態にかかる鍵盤処理の例を示すフローチャートである。FIG. 7 is a flowchart showing an example of keyboard processing according to the present embodiment. 図8は、本実施の形態にかかる鍵盤処理の例を示すフローチャートである。FIG. 8 is a flowchart showing an example of keyboard processing according to the present embodiment. 図9は、本実施の形態にかかる鍵盤処理の例を示すフローチャートである。FIG. 9 is a flowchart showing an example of keyboard processing according to the present embodiment. 図10は、本実施の形態において生成された演奏データのデータ構成例を示す図である。FIG. 10 is a diagram showing a data configuration example of performance data generated in the present embodiment. 図11は、本実施の形態にかかるナビゲート処理の例を示すフローチャートであるFIG. 11 is a flowchart showing an example of the navigation process according to the present embodiment. 図12は、本実施の形態にかかるナビゲート処理の例を示すフローチャートであるFIG. 12 is a flowchart showing an example of the navigation process according to the present embodiment. 図13(a)は、本実施の形態にかかる第1のタイマインクリメント処理、図13(b)は、本実施の形態にかかる第2のタイマインクリメント処理の例を示すフローチャートである。FIG. 13A is a flowchart illustrating an example of a first timer increment process according to the present embodiment, and FIG. 13B is a flowchart illustrating an example of a second timer increment process according to the present embodiment. 図14(a)〜(d)は、第1の教習モードにおいて、キーナンバーKN1およびKN2の鍵が、順次押鍵・離鍵されたときの演奏教習装置における動作を説明する図である。FIGS. 14A to 14D are diagrams for explaining the operation in the performance learning apparatus when the keys of the key numbers KN1 and KN2 are sequentially pressed and released in the first learning mode. 図15(a)〜(j)は、第2の教習モードにおいて、キーナンバーKN1およびKN2の鍵が順次押鍵・離鍵され、その後、一定時間、新規の押鍵、離鍵がなかったときの演奏教習装置における動作を説明する図である。FIGS. 15A to 15J show the case where the keys of the key numbers KN1 and KN2 are sequentially pressed / released in the second learning mode, and then there is no new key press / release after a certain period of time. It is a figure explaining the operation | movement in a performance learning apparatus.

以下、添付図面を参照して、本発明の実施の形態について説明する。図1は、本発明の実施の形態にかかる演奏教習装置の概略を示す図である。図1に示すように、本実施の形態にかかる演奏教習装置10は、電子鍵盤楽器の形態をとり、鍵盤11を有する。鍵盤11は、キーナンバー「0」の鍵からキーナンバー「SP」までの鍵を含む第1の鍵域11aと、キーナンバー「SP+1」からキーナンバー「N−1」までの鍵を含む第2の鍵域11bとを備える。たとえば、本実施の形態において、第1の鍵域11aは2オクターブの音域を有する。キーナンバー「SP」がスプリットポイントを示す。後述するように、本実施の形態においては、後述する教習モードにおいて、第1の鍵域11aの鍵を押鍵すれば、キーナンバー「n」に対応する音高の楽音が発音される。その一方、教習モードにおいて第2の鍵域11bの鍵(キーナンバー「m」)を押鍵すると、キーナンバー「m−24」に対応する音高の楽音、つまり、キーナンバー「m」より2オクターブ低い音高の楽音が発音される。   Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a diagram showing an outline of a performance learning apparatus according to an embodiment of the present invention. As shown in FIG. 1, a performance training apparatus 10 according to the present embodiment takes the form of an electronic keyboard instrument and has a keyboard 11. The keyboard 11 includes a first key range 11a including keys from the key number “0” to the key number “SP”, and a second key range including keys from the key number “SP + 1” to the key number “N−1”. Key area 11b. For example, in the present embodiment, the first key range 11a has a 2-octave range. The key number “SP” indicates the split point. As will be described later, in the present embodiment, a musical tone having a pitch corresponding to the key number “n” is generated by pressing a key in the first key range 11a in a learning mode described later. On the other hand, when the key of the second key range 11b (key number “m”) is pressed in the learning mode, the musical tone having the pitch corresponding to the key number “m-24”, that is, 2 from the key number “m”. A tone with a pitch that is one octave lower is produced.

また、本実施の形態にかかる演奏教習装置10において、少なくとも第1の鍵域11aの鍵のそれぞれに対応したLEDが配置されたナビゲータ表示領域16が設けられる。本実施の形態においては、ナビゲータ表示領域16は、第1の鍵域11aの上部に設けられているがこれに限定されるものではなく、少なくとも第1の鍵域11aの各鍵の内部にLEDが設けられても良い。本実施の形態においては、ナビゲータ表示領域16が設けられた第1の鍵域11aが生徒用の鍵域であり、第2の鍵域11bが講師用の鍵域となる。   In the performance learning apparatus 10 according to the present embodiment, a navigator display area 16 is provided in which LEDs corresponding to at least the keys of the first key area 11a are arranged. In the present embodiment, the navigator display area 16 is provided in the upper part of the first key area 11a. However, the present invention is not limited to this, and an LED is provided at least inside each key of the first key area 11a. May be provided. In the present embodiment, the first key area 11a provided with the navigator display area 16 is a student key area, and the second key area 11b is a teacher key area.

図1には示していないが、演奏教習装置10は、発音すべき楽音の音色を指定する音色指定スイッチ、当該演奏教習装置10における動作モードを指定するモードスイッチを含む入力部12を備える。また、図1には示していないが、演奏教習装置10には液晶表示装置14が設けられ、音色など種々の情報を含む画像を表示することができる。本実施の形態にかかる演奏教習装置10においてはモードスイッチの操作により、通常モード、第1の教習モードおよび第2の教習モードの何れかの演奏モードの下で動作する。   Although not shown in FIG. 1, the performance learning apparatus 10 includes an input unit 12 including a timbre designation switch for designating a tone color of a musical tone to be generated and a mode switch for designating an operation mode in the performance learning apparatus 10. Although not shown in FIG. 1, the performance learning apparatus 10 is provided with a liquid crystal display device 14 and can display an image including various information such as a timbre. The performance learning apparatus 10 according to the present embodiment operates in one of the normal mode, the first learning mode, and the second learning mode by operating a mode switch.

通常モードにおいては、鍵盤11を単一の鍵域として用いて、押鍵された鍵のキーナンバーに対応する音高の楽音が発生される。第1の教習モードにおいては、第1の鍵域の鍵については押鍵された鍵のキーナンバーに対応する音高の楽音が発生され、その一方、第2の鍵域の鍵については押鍵された鍵のキーナンバーより2オクターブ低い音高の楽音が発音され、かつ、第2の鍵域の押鍵に応答して、第1の鍵域における一定の関係を有する鍵に対応するLEDが点灯する。第2の教習モードにおいては、第1の鍵域の鍵については押鍵された鍵のキーナンバーに対応する音高の楽音が発生され、その一方、第2の鍵域の鍵については押鍵された鍵のキーナンバーより2オクターブ低い音高の楽音が発音される。さらに、第2の教習モードにおいては、生徒および教師の双方の新規の押鍵、離鍵がなくなり、その後、所定時間が経過したときに、再生済みでない(つまり、LEDの点灯、消灯がされていない)演奏データについて、第1の鍵域11aにおいてLEDの点灯、消灯することにより、講師の演奏をガイドする。   In the normal mode, a musical tone having a pitch corresponding to the key number of the depressed key is generated using the keyboard 11 as a single key range. In the first learning mode, a musical tone having a pitch corresponding to the key number of the pressed key is generated for the key in the first key range, while the key pressing is performed for the key in the second key range. A tone corresponding to a key having a certain relationship in the first key range is generated in response to a key depression in the second key range, and a musical tone having a pitch two octaves lower than the key number of the key is generated. Light. In the second learning mode, a musical tone having a pitch corresponding to the key number of the pressed key is generated for the key in the first key range, while the key pressing is performed for the key in the second key range. A musical tone with a pitch that is two octaves lower than the key number of the recorded key is produced. Furthermore, in the second learning mode, when there is no new key pressing or key release for both the student and the teacher, and after a predetermined time has elapsed, the reproduction has not been completed (that is, the LED is turned on / off). No) With respect to the performance data, the performance of the instructor is guided by turning on and off the LED in the first key range 11a.

図2は、本実施の形態にかかる演奏教習装置の構成を示すブロックダイヤグラムである。図2に示すように、本実施の形態にかかる演奏教習装置10は、CPU21、ROM22、RAM23、サウンドシステム24、鍵盤11、入力部12および表示部13を備える。   FIG. 2 is a block diagram showing the configuration of the performance learning apparatus according to the present embodiment. As shown in FIG. 2, the performance learning apparatus 10 according to the present embodiment includes a CPU 21, a ROM 22, a RAM 23, a sound system 24, a keyboard 11, an input unit 12, and a display unit 13.

入力部12は、音色指定スイッチやモードスイッチを有する。表示部13は、液晶表示装置14およびLED群15を有する。LED群15を構成するLEDは、電子楽器の第1の鍵域11aの上部位置するナビゲータ表示領域16において、第1の鍵域11aの鍵に対応付けられて配置されている。   The input unit 12 includes a tone color designation switch and a mode switch. The display unit 13 includes a liquid crystal display device 14 and an LED group 15. The LEDs constituting the LED group 15 are arranged in association with the keys of the first key range 11a in the navigator display area 16 located above the first key range 11a of the electronic musical instrument.

CPU21は、演奏教習装置10全体の制御、鍵盤11の鍵の押鍵や入力部12を構成するスイッチ(モードスイッチ)の操作の検出、鍵やスイッチの操作にしたがったサウンドシステム24の制御、LEDの点灯など種々の処理を実行する。   The CPU 21 controls the performance learning apparatus 10 as a whole, detects keys pressed on the keyboard 11 and operations of switches (mode switches) constituting the input unit 12, controls the sound system 24 according to the keys and switch operations, LED Various processes such as lighting are performed.

ROM22は、CPU21に実行させる種々の処理、鍵盤11の鍵の押鍵や入力部12を構成するスイッチ(モードスイッチ)の操作の検出、鍵やスイッチの操作にしたがったサウンドシステム24の制御、LEDの点灯など種々の処理プログラムを格納する。また、ROM22は、ピアノ、ギター、バスドラム、スネアドラム、シンバルなどの楽音を生成するための波形データを格納した波形データエリアを有する。   The ROM 22 performs various processes to be executed by the CPU 21, detection of key pressing of the keyboard 11 and operation of a switch (mode switch) constituting the input unit 12, control of the sound system 24 according to operation of the key and switch, LED Stores various processing programs such as lighting. The ROM 22 has a waveform data area that stores waveform data for generating musical sounds such as piano, guitar, bass drum, snare drum, and cymbal.

RAM23は、ROM22から読み出されたプログラムや、処理の過程で生成されたデータを記憶する。また、本実施の形態においては、第2の教習モードにおいて、第2の鍵域11bにおいて押鍵された鍵に基づくイベントおよびタイムピリオドのレコードが生成され、イベントおよびタイムピリオドのレコードから構成される演奏データがRAM23に格納される。   The RAM 23 stores a program read from the ROM 22 and data generated in the course of processing. In the present embodiment, in the second learning mode, an event and time period record based on the key pressed in the second key range 11b is generated, and is configured from the event and time period record. Performance data is stored in the RAM 23.

サウンドシステム24は、音源部26、オーディオ回路27およびスピーカ28を有する。音源部26は、たとえば、ノートオンイベントをCPU21から受信すると、ROM22の波形データエリアから所定の波形データを読み出して、所定の音高の楽音データを生成して出力する。オーディオ回路27は、楽音データをD/A変換して増幅する。これによりスピーカ28から音響信号が出力される。   The sound system 24 includes a sound source unit 26, an audio circuit 27, and a speaker 28. For example, when the sound source unit 26 receives a note-on event from the CPU 21, it reads predetermined waveform data from the waveform data area of the ROM 22, generates musical tone data of a predetermined pitch, and outputs it. The audio circuit 27 D / A converts and amplifies the musical sound data. Thereby, an acoustic signal is output from the speaker 28.

図3は、本実施の形態にかかる電子楽器のメインフローの概略を示すフローチャートである。電源の投入とともに、メインフローは起動し、イニシャライズ処理(ステップ301)の後、ステップ302以降の処理が繰り返し実行される。図3に示すように、演奏教習装置10のCPU21は、演奏教習装置10の電源が投入されると、RAM23中のデータのクリア、液晶表示装置14の画像のクリアおよびLED群15のクリアを含むイニシャライズ処理を実行する(ステップ301)。イニシャライズ処理(ステップ301)が終了すると、CPU21は、入力部12を構成するスイッチのそれぞれの操作を検出し、検出された操作にしたがった処理を実行するスイッチ処理を実行する(ステップ302)。図4は、本実施の形態にかかるスイッチ処理の例を示すフローチャートである。   FIG. 3 is a flowchart showing an outline of the main flow of the electronic musical instrument according to the present embodiment. When the power is turned on, the main flow starts, and after the initialization process (step 301), the processes after step 302 are repeatedly executed. As shown in FIG. 3, the CPU 21 of the performance learning apparatus 10 includes clearing of data in the RAM 23, clearing of the image on the liquid crystal display device 14, and clearing of the LED group 15 when the performance learning apparatus 10 is turned on. An initialization process is executed (step 301). When the initialization process (step 301) ends, the CPU 21 detects each operation of the switches constituting the input unit 12, and executes a switch process that executes a process according to the detected operation (step 302). FIG. 4 is a flowchart illustrating an example of the switch processing according to the present embodiment.

図4に示すように、スイッチ処理において、CPU21は、入力部12のいずれかのスイッチの操作があったかを判断する(ステップ401)。ステップ401でNoと判断された場合には、スイッチ処理を終了する。ステップ401でYesと判断された場合には、CPU21は、操作されたスイッチが、モードスイッチであるかを判断する(ステップ402)。ステップ402でNoと判断された場合には、CPU21は、操作されたスイッチ(たとえば、音色指定スイッチ)にしたがった処理(その他のスイッチ処理)を実行する(ステップ408)。   As shown in FIG. 4, in the switch process, the CPU 21 determines whether any switch of the input unit 12 has been operated (step 401). If it is determined No in step 401, the switch process is terminated. When it is determined Yes in step 401, the CPU 21 determines whether the operated switch is a mode switch (step 402). When it is determined No in step 402, the CPU 21 executes processing (other switch processing) according to the operated switch (for example, tone color designation switch) (step 408).

ステップ402でYesと判断された場合には、CPU21は、モードスイッチにより通常モードが指定されたかを判断する(ステップ403)。ステップ403でYesと判断された場合には、CPU21は、RAM23中のモード指定フラグNFに「0」をセットする(ステップ404)。ステップ403でNoと判断された場合には、CPU21は、モードスイッチにより第1の教習モードが指定されたかを判断する(ステップ405)。ステップ405でYesと判断された場合には、RAM23中のモード指定フラグNFに「1」をセットする(ステップ406)。ステップ405でNoと判断された場合には、RAM23中のモード指定フラグNFに「2」をセットする(ステップ407)。   If it is determined Yes in step 402, the CPU 21 determines whether the normal mode is designated by the mode switch (step 403). If it is determined Yes in step 403, the CPU 21 sets “0” to the mode designation flag NF in the RAM 23 (step 404). When it is determined No in step 403, the CPU 21 determines whether the first learning mode is designated by the mode switch (step 405). If it is determined Yes in step 405, “1” is set to the mode designation flag NF in the RAM 23 (step 406). If it is determined No in step 405, “2” is set to the mode designation flag NF in the RAM 23 (step 407).

スイッチ処理(ステップ302)が終了すると、CPU21は、鍵盤処理を実行する(ステップ303)。図5ないし図9は、本実施の形態にかかる鍵盤処理の例を示すフローチャートである。   When the switch process (step 302) ends, the CPU 21 executes a keyboard process (step 303). 5 to 9 are flowcharts showing an example of keyboard processing according to the present embodiment.

本実施の形態にかかる鍵盤処理においては、キーナンバーの小さい鍵(キーナンバー「0」)から順に、鍵の状態が判定され、必要な処理が実行される。図5に示すように、CPU21は、キーナンバーを特定するパラメータKNを「0」に初期化して(ステップ501)。パラメータKNが示す鍵の状態を判断する(ステップ502)。ステップ502においては、パラメータKNが示す件が新規に「オン」状態となったこと、新規に「オフ」状態となったこと、或いは、鍵の状態が「変化なし」であること、の何れかが判断される。   In the keyboard processing according to the present embodiment, the key state is determined in order from the key with the smallest key number (key number “0”), and necessary processing is executed. As shown in FIG. 5, the CPU 21 initializes a parameter KN for specifying the key number to “0” (step 501). The key state indicated by the parameter KN is determined (step 502). In step 502, any of the cases indicated by the parameter KN is newly “on”, newly “off”, or the key state is “no change”. Is judged.

ステップ502で鍵が「オン」状態と判断された場合には、CPU21は、モード指定フラグNFが「0」であるか、つまり、演奏教習装置10が「通常モード」の下で動作しているかを判断する(ステップ503)。ステップ503でYesと判断された場合に、CPU21は、KNに対応する鍵、つまり、キーナンバーKNの鍵のノートオンイベントを生成して、音源部26に送出する(ステップ504)。音源部26は、ノートオンイベントにしたがって、指定された音色の波形データを、指定された音高に基づいて読み出して、かつ、読み出された波形データに、エンベロープに基づく乗算値を乗算して楽音データを生成し、オーディオ回路27に出力する。   If it is determined in step 502 that the key is in the “on” state, the CPU 21 determines whether the mode designation flag NF is “0”, that is, whether the performance learning device 10 is operating under the “normal mode”. Is determined (step 503). If it is determined Yes in step 503, the CPU 21 generates a note-on event for the key corresponding to KN, that is, the key having the key number KN, and sends it to the sound source unit 26 (step 504). The sound source unit 26 reads the waveform data of the specified tone color based on the specified pitch according to the note-on event, and multiplies the read waveform data by the multiplication value based on the envelope. Musical sound data is generated and output to the audio circuit 27.

次いで、CPU21は、パラメータKNをインクリメントして(ステップ507)、パラメータKNが、最大数(本実施の形態では「N−1」)以下であれば(ステップ508でNo)、ステップ502に戻る。   Next, the CPU 21 increments the parameter KN (step 507). If the parameter KN is equal to or less than the maximum number (“N−1” in the present embodiment) (No in step 508), the process returns to step 502.

ステップ502で鍵が「オフ」状態と判断された場合にも、CPU21は、モード指定フラグNFが「0」であるか、つまり、演奏教習装置10が「通常モード」の下で動作しているかを判断する(ステップ505)。ステップ505でYesと判断された場合には、CPU21は、KNに対応する鍵、つまり、キーナンバーKNの鍵のノートオフイベントを生成して、音源部26に送出する(ステップ506)。音源部26は、ノートオフイベントにしたがって、読み出された波形データに、リリースエンベロープに基づく乗算値を乗算して、徐々に減衰する楽音データを生成し、オーディオ回路27に出力する。   Even when it is determined in step 502 that the key is in the “off” state, the CPU 21 determines whether the mode designation flag NF is “0”, that is, whether the performance learning device 10 is operating under the “normal mode”. Is determined (step 505). If it is determined Yes in step 505, the CPU 21 generates a note-off event for the key corresponding to KN, that is, the key having the key number KN, and sends it to the sound source unit 26 (step 506). The sound source unit 26 multiplies the read waveform data by the multiplication value based on the release envelope in accordance with the note-off event, generates musical sound data that gradually attenuates, and outputs it to the audio circuit 27.

ステップ502において、鍵状態が「変化なし」と判断された場合には後述する。次に、ステップ503でNoと判断された場合、つまり、演奏教習装置10が、「第1の教習モード」或いは「第2の教習モード」の何れかの動作モードの下で動作していることになる。ステップ503でNoと判断された場合には、CPU21は、モード指定フラグNFが「1」であるかを判断する(ステップ601)。ステップ601でYesと判断された場合には、CPU21は、パラメータKNが、スプリットポイントSPより大きいかを判断する(ステップ604)。ステップ604でNoと判断された場合には、CPU21は、KNに対応する鍵、つまり、キーナンバーKNの鍵のノートオンイベントを生成して、音源部26に送出する(ステップ603)。音源部26は、ノートオンイベントにしたがって、指定された音色の波形データを、指定された音高に基づいて読み出して、かつ、読み出された波形データに、エンベロープに基づく乗算値を乗算して楽音データを生成し、オーディオ回路27に出力する。   If it is determined in step 502 that the key state is “no change”, it will be described later. Next, when it is determined No in step 503, that is, the performance learning device 10 is operating under one of the operation modes of the “first learning mode” or the “second learning mode”. become. When it is determined No in step 503, the CPU 21 determines whether or not the mode designation flag NF is “1” (step 601). If it is determined Yes in step 601, the CPU 21 determines whether the parameter KN is larger than the split point SP (step 604). If it is determined No in step 604, the CPU 21 generates a note-on event for the key corresponding to KN, that is, the key having the key number KN, and sends it to the sound source unit 26 (step 603). The sound source unit 26 reads the waveform data of the specified tone color based on the specified pitch according to the note-on event, and multiplies the read waveform data by the multiplication value based on the envelope. Musical sound data is generated and output to the audio circuit 27.

ステップ604でYesと判断されることは、第1の教習モードにおいて、第2の鍵域11bの鍵が押鍵されたことを意味している。ステップ604でYesと判断された場合には、CPU21は、LED点灯フラグTFを「1」にセットし(ステップ605)、かつ、講師の演奏に基づくキーナンバーTKNとして、「KN−24」をセットする(ステップ606)。LED点灯フラグTFおよびキーナンバーTKNは、RAM23に格納される。また、本実施の形態において、キーナンバーTKNは、キーナンバーKNより2オクターブ低い音高を示している。   Determination of Yes in step 604 means that the key in the second key area 11b has been pressed in the first learning mode. If YES is determined in step 604, the CPU 21 sets the LED lighting flag TF to “1” (step 605), and sets “KN-24” as the key number TKN based on the performance of the lecturer. (Step 606). The LED lighting flag TF and the key number TKN are stored in the RAM 23. In the present embodiment, the key number TKN indicates a pitch that is two octaves lower than the key number KN.

次いで、CPU21は、TKNに対応する鍵、つまり、キーナンバーTKN(=KN−12)の鍵のノートオンイベントを生成して、音源部26に送出する(ステップ607)。音源部26は、ノートオンイベントにしたがって、指定された音色の波形データを、指定された音高に基づいて読み出して、かつ、読み出された波形データに、エンベロープに基づく乗算値を乗算して楽音データを生成し、オーディオ回路27に出力する。   Next, the CPU 21 generates a note-on event for the key corresponding to TKN, that is, the key having the key number TKN (= KN-12), and sends it to the sound source unit 26 (step 607). The sound source unit 26 reads the waveform data of the specified tone color based on the specified pitch according to the note-on event, and multiplies the read waveform data by the multiplication value based on the envelope. Musical sound data is generated and output to the audio circuit 27.

また、ステップ601でNoと判断された場合、つまり、モード指定フラグNFが「2」である場合には、CPU21は、パラメータKNが、スプリットポイントSPより大きいかを判断する(ステップ602)。ステップ602でNoと判断された場合には、CPU21は、KNに対応する鍵、つまり、キーナンバーKNの鍵のノートオンイベントを生成して、音源部26に送出する(ステップ603)。音源部26は、ノートオンイベントにしたがって、指定された音色の波形データを、指定された音高に基づいて読み出して、かつ、読み出された波形データに、エンベロープに基づく乗算値を乗算して楽音データを生成し、オーディオ回路27に出力する。   On the other hand, if it is determined No in step 601, that is, if the mode designation flag NF is “2”, the CPU 21 determines whether the parameter KN is larger than the split point SP (step 602). If it is determined No in step 602, the CPU 21 generates a note-on event for the key corresponding to KN, that is, the key having the key number KN, and sends it to the sound source unit 26 (step 603). The sound source unit 26 reads the waveform data of the specified tone color based on the specified pitch according to the note-on event, and multiplies the read waveform data by the multiplication value based on the envelope. Musical sound data is generated and output to the audio circuit 27.

その一方、ステップ602でYesと判断された場合には、CPU21は、RAM23を参照して、RAM23に格納されている記録停止フラグSTFが「1」であるかを判断する(ステップ701)。記録停止フラグSTFは、第2の教習モードにおいて、ナビゲート処理におけるタイマインタラプトの解除、および、演奏データの記録・記録動作の停止を制御する。   On the other hand, if it is determined Yes in step 602, the CPU 21 refers to the RAM 23 and determines whether the recording stop flag STF stored in the RAM 23 is “1” (step 701). The recording stop flag STF controls the cancellation of the timer interrupt in the navigation process and the stop of the recording / recording operation of the performance data in the second learning mode.

ステップ701でYesと判断された場合には、CPU21は、記録停止フラグSTFを「0」に」リセットするとともに(ステップ702)、第1のタイマ値Tを「0」にセットする(ステップ703)。その後、CPU21は、第1タイマインタラプトを解除する(ステップ704)。なお、本明細書において、インタラプトの解除とは、インタラプトの動作制限をやめて、動作可能とすること、つまり、インタラプト処理が実行され得る状態となることを意味している。   If YES is determined in step 701, the CPU 21 resets the recording stop flag STF to “0” (step 702) and sets the first timer value T to “0” (step 703). . Thereafter, the CPU 21 releases the first timer interrupt (step 704). In this specification, the cancellation of the interrupt means that the interrupt operation restriction is stopped and the interrupt operation is enabled, that is, the interrupt process can be executed.

その一方、ステップ702でNoと判断された場合、つまり、記録停止フラグSTFが「0」である場合には、CPU21は、第1のタイマのタイマ値Tを、演奏データのレコードとしてRAM23に格納する(ステップ705)。その後、CPU21は、第1のタイマをリセットしてタイマ値Tを「0」にする(ステップ706)。   On the other hand, if it is determined No in step 702, that is, if the recording stop flag STF is “0”, the CPU 21 stores the timer value T of the first timer in the RAM 23 as a record of performance data. (Step 705). Thereafter, the CPU 21 resets the first timer to set the timer value T to “0” (step 706).

ステップ704或いはステップ706が終了した後、CPU21は、講師の演奏に基づくキーナンバーTKNとして、「KN−24」をセットして(ステップ707)、TKNに対応する鍵、つまり、キーナンバーTKN(=KN−12)の鍵のノートオンイベントを生成して、演奏データのレコードとしてRAM23に格納する(ステップ708)。その後、ステップ607において、生成されたノートオンイベントが音源部26に送出される。   After step 704 or step 706 is completed, the CPU 21 sets “KN-24” as the key number TKN based on the performance of the instructor (step 707), and the key corresponding to TKN, that is, the key number TKN (= KN-12) key-on event is generated and stored in the RAM 23 as a record of performance data (step 708). Thereafter, in step 607, the generated note-on event is sent to the sound source unit 26.

以下、本実施の形態にかかる演奏データについて説明する。ステップ705において、タイマ値Tが演奏データのレコードとしてRAM23に格納され、ステップ708では、ノートオンイベントが演奏データのレコードとして格納される。さらに、後述するように、ステップ809において、タイマ値Tが演奏データのレコードとしてRAM23に格納され、ステップ809では、ノートオフイベントが演奏データのレコードとして格納される。   The performance data according to this embodiment will be described below. In step 705, the timer value T is stored in the RAM 23 as a record of performance data, and in step 708, a note-on event is stored as a record of performance data. Further, as described later, in step 809, the timer value T is stored as a record of performance data in the RAM 23, and in step 809, a note-off event is stored as a record of performance data.

図10は、生成された演奏データのデータ構成例を示す図である。図10に示すように、演奏データ1000においては、たとえば、ノートオンイベント、タイムピリオド、ノートオフイベント、タイムピリオドという順にレコードが格納されている(たとえば、符号1001参照)。ノートオンイベント#00(符号1011参照)には、押鍵された鍵のキーナンバーが含まれる。また、引き続くタイムピリオド#00(符号1012参照)は、ノートオンイベント#00と、次のイベント(ノートオフイベント#0)までのタイマ値が格納される。   FIG. 10 is a diagram illustrating a data configuration example of the generated performance data. As shown in FIG. 10, in the performance data 1000, for example, records are stored in the order of a note-on event, a time period, a note-off event, and a time period (see, for example, reference numeral 1001). Note-on event # 00 (see reference numeral 1011) includes the key number of the pressed key. The subsequent time period # 00 (see reference numeral 1012) stores a note-on event # 00 and a timer value until the next event (note-off event # 0).

次に、ステップ505でNoと判断された場合、つまり、キーナンバーKNの鍵が「オフ」状態で、かつ、演奏教習装置10が、「第1の教習モード」或いは「第2の教習モード」の何れかの下で動作している場合には、CPU21は、モード指定フラグNFが「1」であるかを判断する(ステップ801)。ステップ801でYesと判断された場合には、CPU21は、パラメータKNが、スプリットポイントSPより大きいかを判断する(ステップ802)。   Next, when it is determined No in step 505, that is, the key of the key number KN is in the “off” state, and the performance learning device 10 is in the “first learning mode” or “second learning mode”. In any case, the CPU 21 determines whether or not the mode designation flag NF is “1” (step 801). If it is determined Yes in step 801, the CPU 21 determines whether the parameter KN is larger than the split point SP (step 802).

ステップ802でYesと判断された場合には、CPU21は、「TKN+24=KN」であるかを判断する(ステップ803)。ステップ803では、新たに「オフ状態」となった鍵のキーナンバーに対応するパラメータKNが、講師の演奏に基づくキーナンバーTKNの2オクターブ上の音高に対応するかを判断している。ステップ803でYesと判断された場合には、LED点灯フラグTFを「0」にリセットする(ステップ804)。次いで、CPU21は、TKNに対応する鍵のノートオフイベントを生成して、音源部26に送出する(ステップ805)。音源部26は、ノートオフイベントにしたがって、読み出された波形データに、リリースエンベロープに基づく乗算値を乗算して、徐々に減衰する楽音データを生成し、オーディオ回路27に出力する。その後、ステップ507に進む。また、ステップ803でNoと判断された場合にも、ステップ507に進む。   If it is determined Yes in step 802, the CPU 21 determines whether “TKN + 24 = KN” (step 803). In step 803, it is determined whether or not the parameter KN corresponding to the key number of the key that is newly in the “off state” corresponds to the pitch two octaves higher than the key number TKN based on the performance of the instructor. If it is determined Yes in step 803, the LED lighting flag TF is reset to “0” (step 804). Next, the CPU 21 generates a key note-off event corresponding to TKN and sends it to the sound source unit 26 (step 805). The sound source unit 26 multiplies the read waveform data by the multiplication value based on the release envelope in accordance with the note-off event, generates musical sound data that gradually attenuates, and outputs it to the audio circuit 27. Thereafter, the process proceeds to step 507. Also, if it is determined No in step 803, the process proceeds to step 507.

ステップ802でNoと判断された場合、つまり、パラメータKNが、スプリットポイントSP以下である場合には、CPU21は、KNに対応する鍵のノートオフイベントを生成して、音源部26に送出する(ステップ806)。音源部26は、ノートオフイベントにしたがって、読み出された波形データに、リリースエンベロープに基づく乗算値を乗算して、徐々に減衰する楽音データを生成し、オーディオ回路27に出力する。その後、ステップ507に進む。   If it is determined No in step 802, that is, if the parameter KN is equal to or less than the split point SP, the CPU 21 generates a note-off event for the key corresponding to KN and sends it to the sound source unit 26 ( Step 806). The sound source unit 26 multiplies the read waveform data by the multiplication value based on the release envelope in accordance with the note-off event, generates musical sound data that gradually attenuates, and outputs it to the audio circuit 27. Thereafter, the process proceeds to step 507.

次に、ステップ801でNoと判断された場合について説明する。ステップ801でNoと判断されることは、モード指定フラグNFが「2」、つまり、演奏教習装置10が、第2の教習モードの下で動作していることを意味する。この場合には、CPU21は、パラメータKNが、スプリットポイントSPより大きいかを判断する(ステップ807)。ステップ807でNoと判断された場合には、CPU21は、KNに対応する鍵のノートオフイベントを生成して、音源部26に送出する(ステップ806)。   Next, the case where No is determined in step 801 will be described. The determination of No in step 801 means that the mode designation flag NF is “2”, that is, the performance learning device 10 is operating under the second learning mode. In this case, the CPU 21 determines whether the parameter KN is larger than the split point SP (step 807). When it is determined No in step 807, the CPU 21 generates a key note-off event corresponding to KN and sends it to the sound source unit 26 (step 806).

ステップ807でYesと判断された場合には、CPU21は、「TKN+24=KN」であるかを判断する(ステップ808)。ステップ808でNoと判断された場合には、ステップ507に進む。ステップ808でYesと判断された場合には、第1のタイマのタイマ値Tを、演奏データのレコードとしてRAM23に格納する(ステップ809)。その後、CPU21は、第1のタイマをリセットしてタイマ値Tを「0」にする(ステップ810)。その後、CPU21は、TKNに対応する鍵のノートオフイベントを生成して、演奏データのレコードとしてRAM23に格納する(ステップ811)。ステップ811において生成されたノートオフイベントは、ステップ805において音源部26に送出される。   If it is determined Yes in step 807, the CPU 21 determines whether “TKN + 24 = KN” (step 808). If it is determined No in step 808, the process proceeds to step 507. If YES is determined in step 808, the timer value T of the first timer is stored in the RAM 23 as a record of performance data (step 809). Thereafter, the CPU 21 resets the first timer to set the timer value T to “0” (step 810). Thereafter, the CPU 21 generates a note-off event for the key corresponding to TKN and stores it in the RAM 23 as a record of performance data (step 811). The note-off event generated in step 811 is sent to the sound source unit 26 in step 805.

次に、ステップ802において、「変化なし」と判断された場合について説明する。この場合には、CPU21は、記録停止フラグSTFが「0」であるかを判断する(ステップ901)。ステップ901でYesと判断された場合には、CPU21は、RAM23に格納された時間情報(タイマ値T)が、所定値を超えているかを判断する(ステップ902)。ステップ901でNo、或いは、ステップ902でNoと判断された場合には、ステップ507に進む。   Next, a case where it is determined in step 802 that “no change” will be described. In this case, the CPU 21 determines whether the recording stop flag STF is “0” (step 901). If it is determined Yes in step 901, the CPU 21 determines whether the time information (timer value T) stored in the RAM 23 exceeds a predetermined value (step 902). If NO in step 901 or NO in step 902, the process proceeds to step 507.

ステップ902でYesと判断された場合には、CPU21は、演奏データにおいてまだ読み出されていないレコードのうち、先頭に位置するレコードのノートオンイベントを読み出して、ノートオンイベントが示す音高に対応するLEDを点灯する(ステップ904)。次いで、CPU21は、演奏データにおいて引き続くレコード中のタイムピリオドを読み出して(ステップ905)、第2のタイマ値tとして、レコードに含まれるタイムピリオドをセットする(ステップ906)。その後、CPU21は、第2タイマインタラプトを解除する(ステップ907)。また、CPU21は、ガイドフラグGFを「1」にセットする(ステップ908)。このガイドフラグGFもRAM23に格納される。   If it is determined Yes in step 902, the CPU 21 reads the note-on event of the record at the head of the records that have not been read in the performance data, and corresponds to the pitch indicated by the note-on event. The LED to be turned on is turned on (step 904). Next, the CPU 21 reads the time period in the subsequent record in the performance data (step 905), and sets the time period included in the record as the second timer value t (step 906). Thereafter, the CPU 21 releases the second timer interrupt (step 907). Further, the CPU 21 sets the guide flag GF to “1” (step 908). This guide flag GF is also stored in the RAM 23.

鍵盤処理(ステップ303)の後、CPU21は、ナビゲート処理を実行する(ステップ304)。図11および図12は、本実施の形態にかかるナビゲート処理の例を示すフローチャートである。図11に示すように、CPU21は、モード指定フラグNFが「1」であるかを判断する(ステップ1101)。   After the keyboard process (step 303), the CPU 21 executes a navigation process (step 304). 11 and 12 are flowcharts showing an example of the navigation processing according to the present embodiment. As shown in FIG. 11, the CPU 21 determines whether or not the mode designation flag NF is “1” (step 1101).

ステップ1101でYesと判断された場合には、LED点灯フラグTFが「1」であるかを判断する。ステップ1102でYesと判断された場合には、CPU21は、RAM23に格納されたTKNを参照して、TKNが示す音高に対応するLEDを点灯する(ステップ1103)。その一方、LED点灯フラグTFが「0」である場合には、TKNが示す音高に対応するLEDを消灯する(ステップ1104)。   When it is determined Yes in step 1101, it is determined whether the LED lighting flag TF is “1”. If it is determined Yes in step 1102, the CPU 21 refers to the TKN stored in the RAM 23 and turns on the LED corresponding to the pitch indicated by the TKN (step 1103). On the other hand, if the LED lighting flag TF is “0”, the LED corresponding to the pitch indicated by TKN is turned off (step 1104).

ステップ1101でNoと判断された場合には、モード指定フラグNFが「2」であるかを判断する(ステップ1105)。ステップ1105でYesと判断された場合には、CPU21は、ガイドフラグGFが「1」であるかを判断する(ステップ1106)。ステップ1106でYesと判断された場合には、CPU21は、第2のタイマ値tが「0」以下であるかを判断する(ステップ1107)。ステップ1105〜1107の何れかでNoと判断された場合には、処理を終了する。   If it is determined No in step 1101, it is determined whether the mode designation flag NF is “2” (step 1105). If it is determined Yes in step 1105, the CPU 21 determines whether the guide flag GF is “1” (step 1106). When it is determined Yes in step 1106, the CPU 21 determines whether or not the second timer value t is “0” or less (step 1107). If it is determined No in any of steps 1105 to 1107, the process is terminated.

ステップ1107でYesと判断された場合には、演奏データから、読み出されていないレコードのうち、先頭のレコード、つまり、先の処理で読み出されたレコードの次のレコードを読み出す(ステップ1202)。読み出すレコードが存在した場合には(ステップ1202でNo)、CPU21は、レコードの種別を判断する(ステップ1203)。   If YES is determined in step 1107, the first record among the records that have not been read out from the performance data, that is, the next record after the record read in the previous process is read (step 1202). . If there is a record to be read (No in step 1202), the CPU 21 determines the type of record (step 1203).

レコード種別がタイムピリオドである場合には、第2のタイマ値tに、読み出されたレコードに含まれる値をセットして(ステップ1204)、処理を終了する。   If the record type is a time period, the value included in the read record is set as the second timer value t (step 1204), and the process ends.

その一方、レコード種別がイベントである場合には、CPU21は、イベント種別を判断する(ステップ1205)。イベントがノートオンイベントである場合には、CPU21は、ノートオンイベントが示す音高に対応するLEDを点灯する(ステップ1206)。その一方、イベントがノートオフイベントである場合には、CPU21は、ノートオフイベントが示す音高に対応するLEDを消灯する(ステップ1207)。ステップ1206、1207の後、ステップ1201に戻る。   On the other hand, if the record type is an event, the CPU 21 determines the event type (step 1205). If the event is a note-on event, the CPU 21 turns on the LED corresponding to the pitch indicated by the note-on event (step 1206). On the other hand, if the event is a note-off event, the CPU 21 turns off the LED corresponding to the pitch indicated by the note-off event (step 1207). After steps 1206 and 1207, the process returns to step 1201.

ステップ1202においてNoと判断された場合、つまり、演奏データのレコードが末尾まで読み出された場合には、CPU21は、第1インタラプトおよび第2インタラプトを停止する(ステップ1208)。また、CPU21は、記録停止フラグSTFを「1」にセットするとともに(ステップ1209)、ガイドフラグGFを「0」にリセットする(ステップ1210)。   If it is determined No in step 1202, that is, if the performance data record has been read to the end, the CPU 21 stops the first interrupt and the second interrupt (step 1208). Further, the CPU 21 sets the recording stop flag STF to “1” (step 1209) and resets the guide flag GF to “0” (step 1210).

ナビゲート処理(ステップ304)が終了すると、CPU21は、その他の処理、たとえば、液晶表示装置14の画像の生成および表示などを実行する(ステップ305)。   When the navigation process (step 304) ends, the CPU 21 executes other processes, for example, generation and display of an image on the liquid crystal display device 14 (step 305).

なお、第1のタイマインタラプト、および、第2のタイマインタラプトが解除されると、第1のタイマインタラプト処理および第2のタイマインタラプト処理が、図13(a)、(b)に示すようにそれぞれ実行される。第1のインタラプト処理、および、第2のインタラプト処理は、所定の単位時間ごとに実行される。図13(a)に示すように、第1のタイマインタラプト処理においては、第1のタイマ値Tがインクリメントされる(ステップ1301)。その一方、図13(b)に示すように、第2のタイマインタラプト処理においては、第2のタイマ値がデクリメントされる(ステップ1302)。   When the first timer interrupt and the second timer interrupt are released, the first timer interrupt process and the second timer interrupt process are respectively performed as shown in FIGS. 13 (a) and 13 (b). Executed. The first interrupt process and the second interrupt process are executed every predetermined unit time. As shown in FIG. 13A, in the first timer interrupt process, the first timer value T is incremented (step 1301). On the other hand, as shown in FIG. 13B, in the second timer interrupt process, the second timer value is decremented (step 1302).

上述した処理、特に、鍵盤処理およびナビゲート処理により、第1の鍵域11aにおける生徒の演奏、および、第2の鍵域11bにおける講師の演奏によって、LEDの点灯、消灯が以下のように行われる。   By the above-described processing, particularly the keyboard processing and the navigation processing, the LED is turned on and off as follows according to the performance of the student in the first key range 11a and the performance of the instructor in the second key range 11b. Is called.

第1の教習モードの下では、第2の鍵域11bの鍵が押鍵されると、その2オクターブ下の音高の楽音が発音されるとともに、当該2オクターブしたの鍵に対応するLEDが点灯する。図14(a)〜(d)は、第1の教習モードにおいて、キーナンバーKN1およびKN2の鍵が、順次押鍵・離鍵されたときの演奏教習装置10における動作を説明する図である。   Under the first learning mode, when a key in the second key range 11b is pressed, a musical tone having a pitch two octaves below is generated, and an LED corresponding to the two octave key is displayed. Light. FIGS. 14A to 14D are diagrams for explaining the operation in the performance learning apparatus 10 when the keys of the key numbers KN1 and KN2 are sequentially pressed and released in the first learning mode.

キーナンバーKN1の鍵がオン状態となったときに、ステップ605においてLED点灯フラグTFが「1」にセットされ、ステップ607において、TKN1=KN1−24が示す音高の楽音が発生される。また、ナビゲート処理のステップ1102においてYesと判断されるため、ステップ1103において、TKN1が示す音高のLEDが点灯される(図14(a)参照)。   When the key of the key number KN1 is turned on, the LED lighting flag TF is set to “1” in step 605, and in step 607, a musical tone having a pitch indicated by TKN1 = KN1-24 is generated. Further, since Yes is determined in Step 1102 of the navigation process, the LED of the pitch indicated by TKN1 is turned on in Step 1103 (see FIG. 14A).

また、キーナンバーKN1の鍵がオフ状態となったときに、ステップ804においてLED点灯フラグTFが「0」にリセットされ、ステップ805において、TKN1が示す音高の楽音が消音される。また、ナビゲート処理において、ステップ1102においてNoと判断され、ステップ1104において、TKN1が示す音高のLEDが消灯される(図14(b)参照)。   When the key of the key number KN1 is turned off, the LED lighting flag TF is reset to “0” in step 804, and in step 805, the musical tone having the pitch indicated by TKN1 is muted. Further, in the navigation process, it is determined No in step 1102, and in step 1104, the tone LED indicated by TKN1 is turned off (see FIG. 14B).

同様に、第2の鍵域11bのキーナンバーKN2の鍵がオン状態となると、TKN2=KN2−24が示す音高の楽音が発生されると共に、TKN2が示す音高のLEDが点灯される(図14(c)参照)。また、キーナンバーKN2の鍵がオン状態となると、TKN2が示す音高の楽音が消音されるとともに、TKN2が示す音高のLEDが消灯される(図14(d)参照)。   Similarly, when the key having the key number KN2 in the second key range 11b is turned on, a musical tone having a pitch indicated by TKN2 = KN2-24 is generated and an LED having a pitch indicated by TKN2 is turned on ( (Refer FIG.14 (c)). When the key of key number KN2 is turned on, the musical tone having the pitch indicated by TKN2 is muted and the LED having the pitch indicated by TKN2 is turned off (see FIG. 14D).

次に、第2の教習モードにおけるLEDの点灯、消灯についてより具体的に説明する。図15(a)〜(j)は、第2の教習モードにおいて、キーナンバーKN1およびKN2の鍵が順次押鍵・離鍵され、その後、一定時間、新規の押鍵・離鍵がなかったときの演奏教習装置10における動作を説明する図である。   Next, the lighting and extinguishing of the LED in the second learning mode will be described more specifically. FIGS. 15A to 15J show the case where the keys having the key numbers KN1 and KN2 are sequentially pressed / released in the second learning mode, and then there is no new key press / release for a certain period of time. It is a figure explaining the operation | movement in the performance learning apparatus 10 of.

第2の鍵域11bのキーナンバーKN1の鍵がオン状態になると、ステップ705において、演奏データのレコードとしてタイマ値Tが格納されるとともに、ステップ708において、その次の演奏データのレコードとしてTKN1(=KN1−24)に対応する音高のノートオンイベント(KOnTKN1)が格納される(図15(a)参照)。符号1501が、キーナンバーKN1の鍵が押鍵されたときの、演奏データのレコードの状態を示す。また、この状態では、記録停止フラグSTFは「0」であり、第1のタイマインタラプトは解除されている。また、ステップ607において、TKN1が示す音高の楽音が発音される。   When the key of the key number KN1 in the second key range 11b is turned on, in step 705, the timer value T is stored as a record of performance data, and in step 708, TKN1 ( = KN1-24) is stored as a note-on event (KOnTKN1) corresponding to the pitch (see FIG. 15A). Reference numeral 1501 indicates the state of the performance data record when the key number KN1 is pressed. In this state, the recording stop flag STF is “0”, and the first timer interrupt is released. In step 607, a musical tone having a pitch indicated by TKN1 is generated.

キーナンバーKN1の鍵がオフ状態となると、ステップ809において、演奏データのレコード(符号1502参照)。としてタイマ値Tが格納されるとともに、ステップ811において、TKN1に対応する音高のノートオフイベント(KOffTKN1)が格納される(図15(b)参照)。また、ステップ805において、TKN1が示す音高の楽音が消音される。   When the key of the key number KN1 is turned off, in step 809, a record of performance data (see reference numeral 1502). As a timer value T and a note-off event (KOffTKN1) of a pitch corresponding to TKN1 is stored in step 811 (see FIG. 15B). In step 805, the musical tone having the pitch indicated by TKN1 is muted.

その後、キーナンバーKN2の鍵がオン状態となると、演奏データのレコード(符号1423参照)としてタイマ値Tが格納されるとともに、その次の演奏データのレコードとしてTKN2(=KN2−24)に対応する音高のノートオンイベント(KOnTKN2)が格納される(図15(c)参照)。また、TKN2が示す音高の楽音が発音される。キーナンバーKN2の鍵がオフ状態となると、演奏データのレコード(符号1504参照)。としてタイマ値Tが格納されるとともに、TKN2に対応する音高のノートオフイベント(KOffTKN2)が格納される(図15(d)参照)。また、TKN2が示す音高の楽音が消音される。   Thereafter, when the key of the key number KN2 is turned on, the timer value T is stored as a performance data record (see reference numeral 1423), and TKN2 (= KN2-24) corresponds to the next performance data record. A note-on event (KOnTKN2) of the pitch is stored (see FIG. 15C). In addition, a musical tone having a pitch indicated by TKN2 is generated. When the key of key number KN2 is turned off, a record of performance data (see reference numeral 1504). As a timer value T and a note-off event (KOffTKN2) of a pitch corresponding to TKN2 is stored (see FIG. 15D). Also, the musical tone having the pitch indicated by TKN2 is muted.

その後、第1の鍵域11aおよび第2の鍵域11bの双方において、所定値より長い時間だけ、新たな鍵の押鍵或いは離鍵が無かったとする。図15(e)に示すように、第1のタイマ値Tが、所定値より大きくなると、ステップ903において、最初のノートオンイベント(KOnTKN1)が読み出され、ステップ904において、TKN1が示す音高のLEDが点灯する。また、ステップ906〜908において、第2のタイマ値tとして演奏レコード中のタイムピリオドT2がセットされ、第2のタイマインタラプトが解除され、さらに、ガイドフラグGFが「1」にセットされる。   Thereafter, in both the first key range 11a and the second key range 11b, it is assumed that no new key is pressed or released for a time longer than a predetermined value. As shown in FIG. 15 (e), when the first timer value T becomes larger than a predetermined value, the first note-on event (KOnTKN1) is read out in step 903, and the pitch indicated by TKN1 in step 904. LED lights up. In steps 906 to 908, the time period T2 in the performance record is set as the second timer value t, the second timer interrupt is canceled, and the guide flag GF is set to “1”.

図15(f)は、演奏データのレコード(符号1504)が示されている。図15(g)に示すように、第2のタイマインタラプトが解除されたことにより、第2のタイマ値tが「0」以下になると、ステップ1202、1203、1205および1206を経て、演奏データの次のレコード(ノートオフイベントKOffTKN1)が読み出され、TKN1が示す音高のLEDが消灯する。また、ステップ1202、1203、1204を経て、第2のタイマ値tとして演奏データ中のタイムピリオドT3がセットされる。   FIG. 15F shows a performance data record (reference numeral 1504). As shown in FIG. 15 (g), when the second timer value t becomes “0” or less due to the cancellation of the second timer interrupt, the performance data is passed through steps 1202, 1203, 1205 and 1206. The next record (note-off event KOffTKN1) is read, and the LED of the pitch indicated by TKN1 is turned off. Further, after steps 1202, 1203, and 1204, a time period T3 in the performance data is set as the second timer value t.

図15(h)に示すように、第2のタイマ値tが「0」以下になると、ステップ1202、1203、1205および1207を経て、演奏データの次のレコード(ノートオンイベントKOnTKN2)が読み出され、TKN2が示す音高のLEDが点灯する。また、ステップ1202、1203、1204を経て、第2のタイマ値tとして演奏データ中のタイムピリオドT4がセットされる。   As shown in FIG. 15H, when the second timer value t becomes “0” or less, the next record of performance data (note-on event KOnTKN2) is read through steps 1202, 1203, 1205, and 1207. The LED of the pitch indicated by TKN2 is turned on. Further, after steps 1202, 1203, and 1204, the time period T4 in the performance data is set as the second timer value t.

図15(i)に示すように、さらに、第2のタイマ値tが「0」以下になると、ステップ1202、1203、1205および1206を経て、演奏データの次のレコード(ノートオフイベントKOffTKN2)が読み出され、TKN1が示す音高のLEDが消灯する。また、ステップ1202、1208、1209を経て、第1のタイマインタラプトおよび第2のインタラプトが停止され、STFが「1」にセットされるとともに、GFが「0」にリセットされる。その後、新たに第2の鍵域11bにおいて、キーナンバーKN3の鍵が押鍵されると、STFが「0」にリセットされ、第1のタイマインタラプトが解除される。   As shown in FIG. 15 (i), when the second timer value t becomes “0” or less, the next record (note-off event KOffTKN2) of the performance data is passed through steps 1202, 1203, 1205, and 1206. The tone LED indicated by TKN1 is turned off. In addition, through steps 1202, 1208, and 1209, the first timer interrupt and the second interrupt are stopped, STF is set to “1”, and GF is reset to “0”. Thereafter, when the key of the key number KN3 is newly depressed in the second key range 11b, the STF is reset to “0” and the first timer interrupt is canceled.

本実施の形態においては、CPU21は、第2の鍵域に属する鍵の何れかが操作されたときに、当該第2の鍵域に属する鍵と音高的に一定の対応関係にある、第1の鍵域に属する鍵に対応する音高の楽音データを生成するように音源部26に指示を与えるとともに、第1の鍵域に属する鍵に対応するLEDを点灯させる。また、CPU21は、第2の鍵域に属する鍵の操作に基づく演奏データのレコードをRAM23に格納する。CPU21は、RAM23に格納された演奏データのレコードに基づき、第1の鍵域に属する鍵に対応するLEDを点灯させる。   In the present embodiment, when any of the keys belonging to the second key range is operated, the CPU 21 has a constant correspondence relationship with the keys belonging to the second key range. The sound source unit 26 is instructed to generate musical tone data corresponding to a key belonging to one key range, and an LED corresponding to a key belonging to the first key range is turned on. Further, the CPU 21 stores in the RAM 23 a record of performance data based on the operation of keys belonging to the second key range. The CPU 21 turns on the LED corresponding to the key belonging to the first key range based on the record of the performance data stored in the RAM 23.

本実施の形態によれば、第2の鍵域において講師が第2の鍵域における一連の鍵を操作すると、当該一連の鍵のそれぞれと一定の対応関係にある第1の鍵域の、一連の鍵のそれぞれに対応付けられたLEDが順次点灯する。したがって、生徒は、第1の鍵域の一連の鍵のそれぞれに対応付けられたLEDの点灯を参照して、一連の鍵の操作に基づくフレーズを練習することができる。その一方、講師も一連の鍵の操作をした後、LEDの点灯に基づく生徒による、当該一連の鍵と同等の鍵の操作に注意をしてアドバイスを与えることができる。   According to the present embodiment, when an instructor operates a series of keys in the second key area in the second key area, a series of first key areas having a certain correspondence with each of the series of keys. The LEDs associated with each of the keys are sequentially turned on. Therefore, the student can practice the phrase based on the operation of the series of keys by referring to the lighting of the LEDs associated with each of the series of keys in the first key range. On the other hand, the instructor can give advice by paying attention to the operation of keys equivalent to the series of keys by the students based on the lighting of the LEDs after operating the series of keys.

また、本実施の形態において、CPU21は、第1の鍵域の鍵、および、第2の鍵域の鍵が操作されなくなってから所定時間経過したときに、RAM23に格納された演奏データに基づき、第1の鍵域に属する鍵に対応するLEDを点灯させる。したがって、講師および生徒の双方の演奏が中断して所定時間が経過すると、講師の操作による一連の鍵のそれぞれと一定の対応関係にある第1の鍵域の、一連の鍵のそれぞれに対応付けられたLEDが順次点灯する。したがって、講師は、生徒の演奏が中断したときに自分の演奏も中断させることにより、所定時間後にLEDの点灯によるガイドを開始させることができる。   Further, in the present embodiment, the CPU 21 is based on the performance data stored in the RAM 23 when a predetermined time has elapsed after the keys of the first key range and the second key range are not operated. The LED corresponding to the key belonging to the first key range is turned on. Therefore, when the performance of both the instructor and the student is interrupted and a predetermined time elapses, it corresponds to each of the series of keys in the first key range having a certain correspondence with each of the series of keys operated by the instructor. LEDs are lit in sequence. Therefore, when the student's performance is interrupted, the instructor can also start his / her performance by suspending his / her performance, thereby starting the LED lighting guide after a predetermined time.

また、本実施の形態において、演奏データは、鍵がオンされたことを示すノートオンイベント、鍵がオフされたことを示すノートオフイベント、イベント間の時間間隔を示すタイムピリオドのレコードを含む。CPU21は、演奏データのレコードのうち、まだ読み取られていない先頭のノートオンイベントを読み出して、当該ノートオンイベントが示す第1の鍵域に属する鍵に対応するLEDを点灯させ、また、タイムピリオドが示す時間の経過後、次のレコードを読み出し、また、点灯中のLEDに対応する鍵に関するノートオフイベントを読み出すと、当該点灯中のLEDを消灯させる。したがって、LEDの点滅は、講師が鍵の押鍵および離鍵のタイミングに合致させることができる。   In the present embodiment, the performance data includes a note-on event indicating that the key is turned on, a note-off event indicating that the key is turned off, and a record of a time period indicating the time interval between the events. The CPU 21 reads the first note-on event that has not yet been read from the performance data record, lights up the LED corresponding to the key belonging to the first key range indicated by the note-on event, and also displays the time period. After the elapse of time, the next record is read, and when the note-off event relating to the key corresponding to the LED that is lit is read, the LED that is lit is extinguished. Therefore, the blinking of the LED can be matched with the timing of key pressing and key release by the instructor.

本実施の形態においては、演奏操作子である鍵のそれぞれを指定する操作子指定手段としてLEDが用いられている。LEDは、鍵のそれぞれに隣接して配置されていても良いし、鍵のそれぞれの内部に配置されていても良い。LEDを点灯させることにより、生徒は、押鍵すべき鍵を即座に知ることが可能となる。   In the present embodiment, an LED is used as an operator designating means for designating each key that is a performance operator. The LED may be arranged adjacent to each of the keys, or may be arranged inside each of the keys. By turning on the LED, the student can immediately know the key to be pressed.

本発明は、以上の実施の形態に限定されることなく、特許請求の範囲に記載された発明の範囲内で、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   The present invention is not limited to the above embodiments, and various modifications can be made within the scope of the invention described in the claims, and these are also included in the scope of the present invention. Needless to say.

前記実施の形態において、演奏操作子である鍵を指定する操作子指定手段としてLEDが用いられているがこれに限定されるものではない。たとえば、液晶表示装置の画面上に第1の鍵域に相当する画像を生成して、当該画像中、所定の鍵を指定する印を含ませることにより、操作すべき鍵を指定しても良い。   In the above-described embodiment, the LED is used as an operator specifying means for specifying a key that is a performance operator, but the present invention is not limited to this. For example, a key to be operated may be specified by generating an image corresponding to the first key range on the screen of the liquid crystal display device and including a mark for specifying a predetermined key in the image. .

また、前記実施の形態において、低音域側の第1の鍵域11aを生徒用として使用し、第1の鍵域11aの上部にナビゲータ表示領域16を設け、ナビゲータ表示領域中に、第1の鍵域11aの鍵に対応付けてLEDを配置している。しかしながら、鍵域の位置関係は上述したものに限定されず、低音域側を講師用の第2の鍵域、高音域側を生徒用の第1の鍵域として、第1の鍵域の上部にナビゲータ表示領域を設けても良い。   In the above embodiment, the first key range 11a on the low frequency range side is used for students, the navigator display area 16 is provided above the first key range 11a, and the first key range 11a includes the first key range 11a in the navigator display area. LEDs are arranged in association with the keys in the key range 11a. However, the positional relationship of the key range is not limited to the above, and the upper side of the first key range is defined as the second key range for the instructor for the low frequency range and the first key range for the student for the high frequency range. A navigator display area may be provided.

また、本実施の形態においては、CPU21は、第1の鍵域の鍵、および、第2の鍵域の鍵が操作されなくなってから所定時間経過したときに、RAM23に格納された演奏データに基づき、第1の鍵域に属する鍵に対応するLEDを点灯させる。しかしながら、LEDの点灯だけではなく、第1の鍵域に属する鍵の音高の楽音を発音させても良い。   In the present embodiment, the CPU 21 stores the performance data stored in the RAM 23 when a predetermined time has elapsed after the keys of the first key range and the second key range are not operated. Based on this, the LED corresponding to the key belonging to the first key range is turned on. However, not only the lighting of the LED but also a musical tone having the pitch of the key belonging to the first key range may be generated.

以下、第2の教習モード(モード指定フラグNF=2)のときに、LEDの点灯および楽音の発音をさせるような処理について説明する。モード指定フラグNFが「2」のときに、演奏データからノートオンイベントが読み出され、ノートオンイベントが示す音高のLEDを点灯する処理が実行される(図9のステップ904、図12のステップ1206)。このときに、つまり、ステップ904、ステップ1206において、CPU21は、ノートオンイベントを音源部26に送出して、楽音データの生成を指示する。また、演奏データからノートオフイベントが読み出され、ノートオフイベントが示す音高のLEDが消灯されている(図12のステップ107)。このとき、つまり、ステップ1207において、CPU21は、ノートオフイベントを音源部26に送出して、発音中の楽音の消音を指示する。   Hereinafter, a process for turning on the LED and generating a tone in the second learning mode (mode designation flag NF = 2) will be described. When the mode designation flag NF is “2”, a note-on event is read from the performance data, and a process of turning on the LED of the pitch indicated by the note-on event is executed (steps 904 in FIG. 9 and FIG. 12). Step 1206). At this time, that is, in step 904 and step 1206, the CPU 21 sends a note-on event to the sound source unit 26 to instruct generation of musical sound data. Further, a note-off event is read out from the performance data, and the LED of the pitch indicated by the note-off event is turned off (step 107 in FIG. 12). At this time, that is, in step 1207, the CPU 21 sends a note-off event to the sound source unit 26 to instruct to mute the musical sound being generated.

上述したように第2の教習モードにおいて、LEDの点灯および楽音の発音をする構成としても良いし、第2の教習モードは、前記実施の形態と同様にLEDの点灯のみを行い、さらに他の教習モードとして第3の教習モードを設け、演奏教習装置10が、第3の教習モード(モード指定フラグNF=3)のときに、上述したように、ノートオンイベントが示す音高のLEDを点灯する処理が実行される際に、CPU21がノートオンイベントを音源部26に送出し、かつ、ノートオフイベントが示す音高のLEDが消灯される際に、CPU21がノートオフイベントを音源部26に送出しても良い。   As described above, in the second learning mode, the LED may be turned on and a musical tone may be generated. In the second learning mode, only the LED is turned on as in the above-described embodiment. A third learning mode is provided as a learning mode, and when the performance learning device 10 is in the third learning mode (mode designation flag NF = 3), the LED of the pitch indicated by the note-on event is lit as described above. The CPU 21 sends a note-on event to the sound source unit 26 when the processing is performed, and the CPU 21 sends the note-off event to the sound source unit 26 when the LED of the pitch indicated by the note-off event is turned off. It may be sent out.

このような構成を採用すると、講師の一連の鍵の操作に基づくフレーズを構成する鍵を、LEDの点灯により示すことができるとともに、楽音を発音することで聴かせることも可能となる。すなわち、LEDの点灯により目によりフレーズを覚えさせ、同時に、楽音を聴かせることにより耳でフレーズを覚えさせることが可能となる。   By adopting such a configuration, it is possible to indicate the key constituting the phrase based on the instructor's series of key operations by turning on the LED, and to hear the musical sound. That is, the phrase can be remembered by eyes by turning on the LED, and at the same time, the phrase can be remembered by ear by listening to a musical sound.

10 演奏教習装置
11 鍵盤
11a 第1の鍵域
11b 第2の鍵域
12 入力部
13 表示部
14 液晶表示装置
15 LED群
16 ナビゲータ表示領域
21 CPU
22 ROM
23 RAM
24 サウンドシステム
26 音源部
27 オーディオ回路
28 スピーカ
DESCRIPTION OF SYMBOLS 10 Performance learning apparatus 11 Keyboard 11a 1st key range 11b 2nd key range 12 Input part 13 Display part 14 Liquid crystal display device 15 LED group 16 Navigator display area 21 CPU
22 ROM
23 RAM
24 Sound System 26 Sound Source 27 Audio Circuit 28 Speaker

Claims (6)

音高順に配置された複数の演奏操作子であって、第1の領域と、第2の領域とを有する複数の演奏操作子と、
少なくとも前記第1の領域の演奏操作子に対応し、当該演奏操作子を指定する複数の操作子指定手段と、
前記第2の領域に属する演奏操作子の操作に基づく演奏データを格納する演奏データ記憶手段と、
前記演奏操作子の操作に基づいて、当該演奏操作子に対応する音高の楽音データの生成を楽音データ生成手段に指示する制御手段と、を備え、
前記制御手段が、前記第2の領域に属する演奏操作子の何れかが操作されたときに、前記演奏操作子と音高的に一定の対応関係にある、前記第1の領域に属する演奏操作子に対応する音高の楽音データを生成するように前記楽音データ生成手段に指示するとともに、前記第1の領域に属する前記演奏操作子に対応する操作子指定手段を動作させ、かつ、
前記制御手段が、前記第2の領域に属する演奏操作子の操作に基づく演奏データを、前記演奏データ記憶手段に格納し、その後、当該演奏データ記憶手段に格納された演奏データに基づき、前記第1の領域に属する前記演奏操作子に対応する操作子指定手段を動作させることを特徴とする演奏教習装置。
A plurality of performance operators arranged in pitch order, a plurality of performance operators having a first region and a second region;
A plurality of operation element designating means for designating the performance operation element corresponding to at least the performance operation element of the first region;
Performance data storage means for storing performance data based on operation of a performance operator belonging to the second area;
Control means for instructing the musical sound data generating means to generate musical tone data corresponding to the musical performance operator based on the operation of the musical performance operator;
A performance operation belonging to the first area, wherein the control means has a certain correspondence in pitch with the performance operator when any of the performance operators belonging to the second area is operated. Instructing the musical tone data generating means to generate musical tone data of a pitch corresponding to a child, operating an operator specifying means corresponding to the performance operator belonging to the first area, and
The control means stores performance data based on an operation of a performance operator belonging to the second area in the performance data storage means, and then, based on the performance data stored in the performance data storage means, A performance learning apparatus for operating an operation element designating unit corresponding to the performance operation element belonging to one area.
前記制御手段が、前記第1の領域の演奏操作子、および、第2の領域の演奏操作子が操作されなくなってから所定時間経過したときに、前記演奏データ記憶手段に格納された演奏データに基づき、前記第1の領域に属する前記演奏操作子に対応する操作子指定手段を動作させることを特徴とする請求項1に記載の演奏教習装置。   The control means stores the performance data stored in the performance data storage means when a predetermined time elapses after the performance operators in the first area and the performance operators in the second area are not operated. 2. The performance learning apparatus according to claim 1, wherein an operation element designating unit corresponding to the performance operation element belonging to the first area is operated. 前記演奏データが、前記演奏操作子がオンされたことを示すノートオンイベント、演奏操作子がオフされたことを示すノートオフイベント、イベント間の時間間隔を示すタイムピリオドのレコードを含み、
前記制御手段が、前記演奏データ記憶手段に格納された演奏データのレコードのうち、まだ読み取られていない先頭のノートオンイベントを読み出して、当該ノートオンイベントが示す第1の領域に属する演奏操作子に対応する操作子指定手段を動作させ、また、タイムピリオドが示す時間の経過後、次のレコードを読み出し、前記動作中の操作子指定手段に対応する演奏操作子に関するノートオフイベントを読み出すと、前記動作中の操作子指定手段の動作を停止させることを特徴とする請求項1ないし3の何れか一項に記載の演奏教習装置。
The performance data includes a note-on event indicating that the performance operator is turned on, a note-off event indicating that the performance operator is turned off, and a record of a time period indicating a time interval between events,
The control means reads the first note-on event that has not been read from the record of the performance data stored in the performance data storage means, and the performance operator belonging to the first area indicated by the note-on event When the operating element specifying means corresponding to the operating period is operated, and after the time indicated by the time period has elapsed, the next record is read, and the note-off event related to the performance operating element corresponding to the operating element specifying means in operation is read. The performance learning apparatus according to claim 1, wherein the operation of the operating element specifying means during the operation is stopped.
前記制御手段が、前記演奏データ記憶手段に格納された演奏データに基づき、前記第1の領域に属する前記演奏操作子に対応する操作子指定手段を動作させるとともに、前記演奏データに基づく音高の楽音データを生成するように前記楽音データ生成手段に指示することを特徴とする請求項1ないし3の何れか一項に記載の演奏教習装置。   Based on the performance data stored in the performance data storage means, the control means operates an operation element designating means corresponding to the performance operator belonging to the first area, and the pitch of the pitch based on the performance data is adjusted. 4. The performance learning apparatus according to claim 1, wherein the musical sound data generating means is instructed to generate musical sound data. 前記操作子指定手段が、発光素子であることを特徴とする請求項1ないし4の何れか一項に記載の演奏教習装置。   The performance learning apparatus according to claim 1, wherein the operation element designating unit is a light emitting element. 音高順に配置された複数の演奏操作子であって、第1の領域と、第2の領域とを有する複数の演奏操作子と、少なくとも前記第1の領域の演奏操作子に対応し、当該演奏操作子を指定する複数の操作子指定手段と、前記第2の領域に属する演奏操作子の操作に基づく演奏データを格納する演奏データ記憶手段とを備えたコンピュータにおいて、
前記演奏操作子の操作に基づいて、当該演奏操作子に対応する音高の楽音データの生成を楽音データ生成手段に指示する制御ステップを実行させ、
前記制御ステップが、
前記第2の領域に属する演奏操作子の何れかが操作されたときに、前記演奏操作子と音高的に一定の対応関係にある、前記第1の領域に属する演奏操作子に対応する音高の楽音データを生成するように前記楽音データ生成手段に指示するとともに、前記第1の領域に属する前記演奏操作子に対応する操作子指定手段を動作させるステップと、
前記第2の領域に属する演奏操作子の操作に基づく演奏データを、前記演奏データ記憶手段に格納し、その後、当該演奏データ記憶手段に格納された演奏データに基づき、前記第1の領域に属する前記演奏操作子に対応する操作子指定手段を動作させるステップと、を有することを特徴とする演奏教習プログラム。
A plurality of performance operators arranged in pitch order, corresponding to a plurality of performance operators having a first area and a second area, and at least the performance operators in the first area; In a computer comprising a plurality of operation element specifying means for specifying performance operators, and performance data storage means for storing performance data based on operations of performance operators belonging to the second area,
Based on the operation of the performance operator, a control step is performed to instruct the musical sound data generation means to generate musical tone data corresponding to the musical performance operator,
The control step comprises:
When one of the performance operators belonging to the second area is operated, the sound corresponding to the performance operator belonging to the first area and having a certain pitch relationship with the performance operator Instructing the musical tone data generating means to generate high musical tone data, and operating an operator specifying means corresponding to the performance operator belonging to the first area;
Performance data based on the operation of the performance operator belonging to the second area is stored in the performance data storage means, and then belongs to the first area based on the performance data stored in the performance data storage means. And a step of operating an operator specifying means corresponding to the performance operator.
JP2009178698A 2009-07-31 2009-07-31 Performance learning apparatus and performance learning program Active JP5423213B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009178698A JP5423213B2 (en) 2009-07-31 2009-07-31 Performance learning apparatus and performance learning program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009178698A JP5423213B2 (en) 2009-07-31 2009-07-31 Performance learning apparatus and performance learning program

Publications (2)

Publication Number Publication Date
JP2011033752A true JP2011033752A (en) 2011-02-17
JP5423213B2 JP5423213B2 (en) 2014-02-19

Family

ID=43762905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009178698A Active JP5423213B2 (en) 2009-07-31 2009-07-31 Performance learning apparatus and performance learning program

Country Status (1)

Country Link
JP (1) JP5423213B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108630177A (en) * 2017-03-24 2018-10-09 卡西欧计算机株式会社 The control method and recording medium of electronic musical instrument, electronic musical instrument
CN110678310A (en) * 2017-05-26 2020-01-10 应用材料公司 Energy transfer in the same path with rotating polygon and multiple beams for additive manufacturing
US11518100B2 (en) 2018-05-09 2022-12-06 Applied Materials, Inc. Additive manufacturing with a polygon scanner

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6331120Y2 (en) * 1982-09-01 1988-08-19
JPH03213894A (en) * 1990-01-18 1991-09-19 Yamaha Corp Electronic musical instrument
JPH0934349A (en) * 1995-07-21 1997-02-07 Casio Comput Co Ltd Musical performance learning device
JP2001100746A (en) * 1999-09-30 2001-04-13 Casio Comput Co Ltd Automatic performing device and recording medium recording program of automatic performance processing
JP2001125568A (en) * 1999-10-28 2001-05-11 Roland Corp Electronic musical instrument
JP2002182553A (en) * 2000-12-11 2002-06-26 Casio Comput Co Ltd Playing training apparatus and playing training method
JP2004177893A (en) * 2002-11-29 2004-06-24 Casio Comput Co Ltd Musical sound playing apparatus and program for musical sound playing process
WO2007145079A1 (en) * 2006-06-12 2007-12-21 Kazuo Ishikawa Repetition reproduction learning machine and program
JP2008152054A (en) * 2006-12-18 2008-07-03 Kawai Musical Instr Mfg Co Ltd Electronic instrument with performance recording function
JP2009048044A (en) * 2007-08-22 2009-03-05 Casio Comput Co Ltd Performance evaluation device and program for performance evaluation processing
JP2009222763A (en) * 2008-03-13 2009-10-01 Yamaha Corp Electronic musical device and performance guide processing program

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6331120Y2 (en) * 1982-09-01 1988-08-19
JPH03213894A (en) * 1990-01-18 1991-09-19 Yamaha Corp Electronic musical instrument
JPH0934349A (en) * 1995-07-21 1997-02-07 Casio Comput Co Ltd Musical performance learning device
JP2001100746A (en) * 1999-09-30 2001-04-13 Casio Comput Co Ltd Automatic performing device and recording medium recording program of automatic performance processing
JP2001125568A (en) * 1999-10-28 2001-05-11 Roland Corp Electronic musical instrument
JP2002182553A (en) * 2000-12-11 2002-06-26 Casio Comput Co Ltd Playing training apparatus and playing training method
JP2004177893A (en) * 2002-11-29 2004-06-24 Casio Comput Co Ltd Musical sound playing apparatus and program for musical sound playing process
WO2007145079A1 (en) * 2006-06-12 2007-12-21 Kazuo Ishikawa Repetition reproduction learning machine and program
JP2008152054A (en) * 2006-12-18 2008-07-03 Kawai Musical Instr Mfg Co Ltd Electronic instrument with performance recording function
JP2009048044A (en) * 2007-08-22 2009-03-05 Casio Comput Co Ltd Performance evaluation device and program for performance evaluation processing
JP2009222763A (en) * 2008-03-13 2009-10-01 Yamaha Corp Electronic musical device and performance guide processing program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108630177A (en) * 2017-03-24 2018-10-09 卡西欧计算机株式会社 The control method and recording medium of electronic musical instrument, electronic musical instrument
CN110678310A (en) * 2017-05-26 2020-01-10 应用材料公司 Energy transfer in the same path with rotating polygon and multiple beams for additive manufacturing
CN110678310B (en) * 2017-05-26 2022-01-11 应用材料公司 Energy transfer in the same path with rotating polygon and multiple beams for additive manufacturing
US11518100B2 (en) 2018-05-09 2022-12-06 Applied Materials, Inc. Additive manufacturing with a polygon scanner

Also Published As

Publication number Publication date
JP5423213B2 (en) 2014-02-19

Similar Documents

Publication Publication Date Title
JP2001092456A (en) Electronic instrument provided with performance guide function and storage medium
US11250722B2 (en) Performance training apparatus and method
WO2018088382A1 (en) Keyboard instrument
JP6729052B2 (en) Performance instruction device, performance instruction program, and performance instruction method
JP5423213B2 (en) Performance learning apparatus and performance learning program
JP4038836B2 (en) Karaoke equipment
JP2006106641A (en) Electronic musical device
JP5304525B2 (en) Performance learning apparatus and performance learning program
US20210074250A1 (en) Resonance Sound Signal Generation Method, Resonance Sound Signal Generation Device, Non-Transitory Computer Readable Medium Storing Resonance Sound Signal Generation Program and Electronic Musical Apparatus
US10805475B2 (en) Resonance sound signal generation device, resonance sound signal generation method, non-transitory computer readable medium storing resonance sound signal generation program and electronic musical apparatus
JP4618704B2 (en) Code practice device
JP6720797B2 (en) Performance training device, performance training program, and performance training method
JP2002304176A (en) Electronic music device, control method therefor and program
JP5912269B2 (en) Electronic musical instruments
JP5338101B2 (en) Electronic music apparatus and performance processing program
JP2018146716A (en) Training device, training program, and training method
JP7425558B2 (en) Code detection device and code detection program
JP5482058B2 (en) Performance learning device and performance learning processing program
JP2018072708A (en) Keyboard instrument
JP2009222763A (en) Electronic musical device and performance guide processing program
JP2002333877A (en) Playing practice device, method for controlling the playing practice device, program for playing aid and recording medium
JP2006251821A (en) Apparatus and method for supporting performance, and performance support program for realizing the method by computer
JP3719696B2 (en) Rhythm display method
JP2017129611A (en) Electronic sound apparatus
JP2024053765A (en) Electronic device, electronic musical instrument system, playback control method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120726

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130528

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130703

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130806

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131003

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131111

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5423213

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150