JP2011028105A - Musical performance-practicing device and program - Google Patents
Musical performance-practicing device and program Download PDFInfo
- Publication number
- JP2011028105A JP2011028105A JP2009175549A JP2009175549A JP2011028105A JP 2011028105 A JP2011028105 A JP 2011028105A JP 2009175549 A JP2009175549 A JP 2009175549A JP 2009175549 A JP2009175549 A JP 2009175549A JP 2011028105 A JP2011028105 A JP 2011028105A
- Authority
- JP
- Japan
- Prior art keywords
- section
- data
- song
- performance
- key
- 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.)
- Pending
Links
Images
Landscapes
- Auxiliary Devices For Music (AREA)
- Electrophonic Musical Instruments (AREA)
Abstract
【課題】意欲を失わせることなく飽きずに練習させる演奏練習装置を実現する。
【解決手段】CPU13は、複数区間に区切られた曲の各区間(区間曲)の曲データを、ユーザ指定の順序で再生するポインタを生成する。生成されたポインタの歩進に応じて読み出される区間曲の曲データに基づき弾くべき鍵をユーザにガイドし、そのガイドされた鍵が押鍵されたら演奏採点値を加点する一方、間違った押鍵ならば演奏採点値を減点する演奏練習を行いつつ、ユーザの鍵操作を演奏データとして記録し、所定点以上得点したならば、記録した演奏データを曲区間に対応付けてメモリ保存する。全ての曲区間の演奏データをメモリ保存し終えると、それら曲区間の演奏データを曲本来の並びで再生するので、曲の最初から最後まで独力で弾けるようになるまで何度も繰り返し演奏練習する必要が無くなり、意欲を失わせることなく飽きずに練習させ得る。
【選択図】図5The present invention provides a performance practice device that allows a user to practice without getting tired without losing motivation.
A CPU generates a pointer for reproducing music data of each section (section music) of a music divided into a plurality of sections in a user-specified order. The key to be played is guided to the user based on the song data of the section music read in accordance with the step of the generated pointer, and when the guided key is pressed, the performance scoring value is added, while the wrong key is pressed. Then, while performing the performance practice of deducting the performance scoring value, the user's key operation is recorded as performance data, and when the score is higher than a predetermined point, the recorded performance data is stored in the memory in association with the music section. When the performance data for all the song sections has been stored in memory, the performance data for those song sections are played back in the original order, so you can practice repeatedly until you can play the song from the beginning to the end of the song. There is no need, and you can practice without getting tired without losing motivation.
[Selection] Figure 5
Description
本発明は、ユーザの意欲を失わせることなく飽きずに練習させ得る演奏練習装置およびプログラムに関する。 The present invention relates to a performance practicing apparatus and a program that can be practiced without getting tired without losing the user's will.
発音すべき音高とその発音タイミングとを表す曲データに基づき、鍵盤の各鍵に設けられた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,
ところで、音楽に慣れ親しんでいない初心者ユーザでは、上記特許文献1に開示の教習形態であっても、ガイドされた鍵を押鍵することだけに専心してしまう為、曲進行に沿った鍵操作(押離鍵操作)として会得し難い。そのため、曲の最初から最後まで独力で弾けるようになるまで何度も繰り返し演奏練習しなければならないが、その過程ではかばかしい進歩が見られないと練習意欲を失ったり練習に飽きたりすることが多い。つまり、換言すれば、意欲を失わせることなく飽きずに練習させることが出来ない、という問題がある。
By the way, a novice user who is not familiar with music, even in the teaching form disclosed in the above-mentioned
本発明は、このような事情に鑑みてなされたもので、意欲を失わせることなく飽きずに練習させることができる演奏練習装置およびプログラムを提供することを目的としている。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide a performance practice device and program that can be practiced without getting tired without losing motivation.
上記目的を達成するため、請求項1に記載の発明では、複数区間に区切られた曲の各区間をそれぞれ構成する各音を表す区間曲データを記憶する曲データ記憶手段と、前記曲データ記憶手段に記憶された各区間曲データの読み出し順序を指定する順序指定手段と、前記順序指定手段により指定された読み出し順序に従って前記曲データ記憶手段から読み出される区間曲データに応じて鍵操作をガイドするガイド手段と、前記ガイド手段によりガイドされる鍵操作に対してユーザが適正な演奏操作を行ったか否かに応じて、当該ユーザの演奏操作を採点する採点手段と、前記ガイド手段によりガイドされる鍵操作に対応したユーザの演奏操作を演奏データとして記録する演奏データ記録手段と、曲区間別の記憶エリアを備え、前記採点手段により採点されたユーザの演奏操作が所定得点以上の場合に、前記演奏データ記録手段により記録された演奏データを、対応する曲区間の記憶エリアに保存する演奏データ保存手段と、前記演奏データ保存手段における曲区間別の記憶エリアの全てに演奏データが保存された場合に、それら各記憶エリアの演奏データを曲本来の順序で再生する再生手段とを具備することを特徴とする。 In order to achieve the above object, according to the first aspect of the present invention, there is provided music data storage means for storing section music data representing each sound constituting each section of a music divided into a plurality of sections, and the music data storage. An order designating means for designating the reading order of each section music data stored in the means, and a key operation is guided according to the section music data read from the music data storage means according to the reading order designated by the order designating means. Guide means, scoring means for scoring the user's performance operation according to whether or not the user has performed an appropriate performance operation for the key operation guided by the guide means, and the guide means guides A performance data recording means for recording a user's performance operation corresponding to a key operation as performance data, and a storage area for each song section, the scoring means In the performance data storage means for storing the performance data recorded by the performance data recording means in the storage area of the corresponding song section when the scored user's performance operation is a predetermined score or more, the performance data storage means When the performance data is stored in all the storage areas for each song section, it is characterized by comprising reproducing means for reproducing the performance data in each storage area in the original order of the songs.
上記請求項1に従属する請求項2に記載の発明では、前記曲データ記憶手段は、曲の区間数および各曲区間の演奏の難易度を表す曲属性データを更に記憶し、前記順序指定手段は、前記曲データ記憶手段に記憶される曲属性データを参照し、ユーザ指定される各曲区間の並び方に対応した各区間曲データの読み出し順序を指定することを特徴とする。
In the invention according to
上記請求項1に従属する請求項3に記載の発明では、前記採点手段の採点結果が所定得点未満の場合、当該採点手段により採点されるユーザの演奏操作が所定得点以上になる迄、前記ガイド手段にガイドのやり直しを指示する指示手段を更に備えることを特徴とする。
In the invention according to
上記請求項1に従属する請求項4に記載の発明では、前記採点手段の採点結果が所定得点未満の場合、前記演奏データ記録手段により記録された演奏データを消去する消去手段を更に備えることを特徴とする。
The invention according to
請求項5に記載の発明では、コンピュータに、予めメモリに記憶されたデータであって、複数区間に区切られた曲の各区間をそれぞれ構成する各音を表す区間曲データの読み出し順序を指定する順序指定ステップと、前記順序指定ステップにより指定された読み出し順序に従ってメモリから読み出される区間曲データに応じて鍵操作をガイドするガイドステップと、前記ガイドステップによりガイドされる鍵操作に対してユーザが適正な演奏操作を行ったか否かに応じて、当該ユーザの演奏操作を採点する採点ステップと、前記ガイドステップによりガイドされる鍵操作に対応したユーザの演奏操作を演奏データとして記録する演奏データ記録ステップと、前記採点ステップにて採点されたユーザの演奏操作が所定得点以上の場合に、前記演奏データ記録ステップで記録された演奏データを、対応する曲区間別にメモリ保存する演奏データ保存ステップと、前記演奏データ保存ステップによって全ての曲区間の演奏データがメモリ保存された場合に、それら全ての曲区間の演奏データを曲本来の順序で再生する再生ステップとを実行させることを特徴とする。 According to the fifth aspect of the present invention, the reading order of the section music data representing each sound constituting the sections of the music divided into a plurality of sections is designated in the computer in advance. The user is appropriate for the order designation step, the guide step for guiding the key operation according to the section music data read from the memory according to the read order designated by the order designation step, and the key operation guided by the guide step. A scoring step for scoring the user's performance operation, and a performance data recording step for recording the user's performance operation corresponding to the key operation guided by the guide step as performance data, depending on whether or not the performance operation has been performed. And when the user's performance operation scored in the scoring step exceeds a predetermined score, The performance data recorded in the data recording step is stored in the performance data storage step for each corresponding song section, and when the performance data of all the song sections is stored in the memory by the performance data storage step, all the songs are recorded. A playback step of playing back the performance data of the section in the original order of the music is executed.
本発明では、意欲を失わせることなく飽きずに練習させることができる。 In the present invention, it is possible to practice without getting tired without losing motivation.
以下、図面を参照して本発明の実施形態について説明する。
A.構成
図1は、実施の一形態による演奏練習装置100の構成を示すブロック図である。この図において、鍵盤10は押離鍵操作に応じたキーオン/キーオフイベント、鍵番号およびベロシティ等の演奏情報を発生する。LED部11は、鍵盤10の各鍵毎に配設されるLED(発光素子)と、これらLEDを点灯駆動するドライバ(不図示)とから構成され、CPU13から供給される制御信号に従って指定される鍵のLEDを点灯(又は点滅)させて現在弾くべき鍵(又は次に弾くべき鍵)をユーザにガイドする。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
A. Configuration FIG. 1 is a block diagram showing a configuration of a
スイッチ部12は、装置パネルに配設される各種操作スイッチを有し、ユーザ操作されるスイッチ種に対応したスイッチイベントを発生する。スイッチ部12に配設される主要なスイッチとしては、例えば練習に供する曲を選択する曲選択スイッチの他、この曲選択スイッチ操作により選択された曲の各区間をノーマル順に曲再生するよう指示するノーマルスイッチ、選択された曲の各区間をランダム順に曲再生するよう指示するランダムスイッチおよび選択された曲の各区間をイージー順に曲再生するよう指示するイージースイッチを備える。これらスイッチ(ノーマル、ランダムおよびイージー)が意図するところについては追って述べる。
The
CPU13は、スイッチ部12が発生する各種スイッチイベントに応じて装置各部を制御する。本発明の要旨に係わるCPU12の処理動作については追って詳述する。ROM14には、CPU13にロードされる各種の制御プログラムが記憶される。各種の制御プログラムとは、後述するメインルーチン、配列生成処理、区間再生処理、区間ガイド処理および区間録音処理を含む。
The
RAM15は、ワークエリアおよびデータエリアを備える。RAM15のワークエリアには、CPU13の処理に使用される各種レジスタ・フラグデータが一時記憶される。RAM15のデータエリアは、曲データエリア、区間配列データエリア、録音データエリアおよび演奏データエリアから構成される。
The
RAM15の録音データエリアには、区間曲(後述する)において、ユーザによって演奏されるメロディパートの演奏データと、メロディパート以外のパートの曲データとを含む録音データが記録される。RAM15の演奏データエリアには、録音データエリアの内容が区間曲別に記録される。なお、この演奏データエリアは、RAM15に限らず、例えばフラッシュメモリなどの外部記憶媒体に設ける態様であっても構わない。
In the recording data area of the
RAM15の曲データエリアには、図2に図示するように、練習に供する複数曲の曲データが記憶される。1つの練習曲は、曲ヘッダおよび複数の区間(1)〜(M)から構成される。複数の区間(1)〜(M)とは、例えば曲をフレーズ単位もしくは複数小節単位で区切ったものであり、区切られた1つの区間の曲部分を区間曲と称す。曲ヘッダは、区間曲の数や区間曲の難易度を表すデータを備える。難易度を表すデータとは、具体的には各区間曲(各区間(1)〜(M))の演奏し易さ(又は演奏し難さ)の順序を表す。
In the song data area of the
1つの区間曲は、その区間の曲を形成する各パート(メロディパートや伴奏パート等)の構成音をそれぞれ表す曲データ(1)〜(n)から構成される。1つの曲データは、タイムTIMEとイベントEVENTとが組となって曲進行に対応した時系列のアドレス順に記憶される、いわゆる相対時間方式と呼ばれるデータ形式で表現される。タイムTIMEは、前イベントからの経過時間で現イベントのタイミングを表す。イベントEVENTは、主に発音すべき楽音の音高および音量を表すノートオンイベントおよび消音すべき楽音の音高を表すノートオフイベントから構成される。 One section music is composed of music data (1) to (n) each representing a constituent sound of each part (melody part, accompaniment part, etc.) forming the music of the section. One piece of music data is expressed in a data format called a so-called relative time system in which time TIME and event EVENT are combined and stored in the order of time-series addresses corresponding to the progress of music. The time TIME represents the timing of the current event with the elapsed time from the previous event. The event EVENT mainly includes a note-on event that represents the pitch and volume of a musical tone to be pronounced and a note-off event that represents the pitch of a musical tone to be muted.
RAM15の区間配列データエリアは、図3に図示するように、ランダム配列データエリア、イージー配列データエリアおよびノーマル配列データエリアから構成される。ランダム配列データエリアには、曲選択スイッチ操作に応じて選択される曲の曲ヘッダに含まれる区間曲の数を参照して各区間曲(区間(1)〜(M))をランダム順に並べた配列を指定するランダム配列データが格納される。ランダム配列データは、ランダムスイッチ操作に応じて、後述する配列生成処理(図6参照)にて生成される。
As shown in FIG. 3, the section array data area of the
イージー配列データエリアには、曲選択スイッチ操作に応じて選択される曲の曲ヘッダに含まれる区間曲の難易度を表すデータを参照して各区間曲(区間(1)〜(M))を演奏し易い順に並べた配列を指定するイージー配列データが格納される。イージー配列データは、イージースイッチ操作に応じて、後述する配列生成処理(図6参照)にて生成される。 In the easy arrangement data area, each section song (sections (1) to (M)) is referred to by referring to data representing the difficulty level of the section song included in the song header of the song selected according to the song selection switch operation. Easy array data for designating an array arranged in order of ease of performance is stored. The easy array data is generated by an array generation process (see FIG. 6) described later in response to an easy switch operation.
ノーマル配列データエリアには、曲選択スイッチ操作に応じて選択される曲の曲ヘッダに含まれる区間曲の数を参照して各区間曲(区間(1)〜(M))をノーマル順(曲本来の並び)に並べた配列を指定するノーマル配列データが格納される。ノーマル配列データは、ノーマルスイッチ操作に応じて、後述する配列生成処理(図6参照)にて生成される。これらランダム、イージー、ノーマルの各配列データは、各区間曲の並びに従って曲データのアドレスを指定するポインタ(1)〜(P)から構成される。 The normal arrangement data area refers to the number of segment songs included in the song header of the song selected according to the song selection switch operation, and each segment song (section (1) to (M)) is in normal order (song Normal array data for specifying the array arranged in the original array is stored. The normal array data is generated by an array generation process (see FIG. 6) to be described later in response to a normal switch operation. Each of the random, easy, and normal array data is composed of pointers (1) to (P) for designating the address of the music data according to the arrangement of the music of each section.
ここで、図4を参照してランダム配列データ、イージー配列データおよびノーマル配列データによって指定される区間曲の並びの一例について説明する。例えば、曲選択スイッチ操作により選択された曲の各区間曲が図4に図示する一例のように、区間(1)〜区間(7)から構成され、かつ曲ヘッダに含まれる各区間曲の難易度が易しい順に「区間(7)」、「区間(1)」、「区間(4)」、「区間(2)」、「区間(5)」、「区間(3)、「区間(6)」だったとする。 Here, with reference to FIG. 4, an example of the arrangement of segment songs designated by random sequence data, easy sequence data, and normal sequence data will be described. For example, each section song of the song selected by the song selection switch operation is composed of section (1) to section (7) as shown in the example shown in FIG. 4, and the difficulty of each section song included in the song header is shown in FIG. “Section (7)”, “Section (1)”, “Section (4)”, “Section (2)”, “Section (5)”, “Section (3),“ Section (6) "
このような場合、ランダムスイッチ操作に応じて生成されるランダム配置データは、図4(a)に図示するように、区間曲をランダムに並べた順序、例えば「区間(5)」、「区間(2)」、「区間(7)」、「区間(1)」、「区間(3)」、「区間(6)、「区間(4)」となる配列を指定するポインタから構成される。 In such a case, the random arrangement data generated in response to the random switch operation is, as illustrated in FIG. 4A, an order in which section songs are randomly arranged, for example, “section (5)”, “section ( 2) ”,“ Section (7) ”,“ Section (1) ”,“ Section (3) ”,“ Section (6), ”and“ Section (4) ”.
イージスイッチ操作に応じて生成されるイージー配列データは、図4(b)に図示するように、区間曲を易しい順に並べた「区間(7)」、「区間(1)」、「区間(4)」、「区間(2)」、「区間(5)」、「区間(3)、「区間(6)」となる配列を指定するポインタから構成される。 As shown in FIG. 4B, the easy arrangement data generated in response to the easy switch operation includes “section (7)”, “section (1)”, “section (4) in which section songs are arranged in an easy order. ) ”,“ Section (2) ”,“ Section (5) ”,“ Section (3) ”, and“ Section (6) ”.
ノーマルスイッチ操作に応じて生成されるノーマル配列データは、図4(c)に図示するように、曲本来の並びである「区間(1)」、「区間(2)」、「区間(3)」、「区間(4)」、「区間(5)」、「区間(6)、「区間(7)」となる配列を指定するポインタから構成される。 As shown in FIG. 4C, the normal arrangement data generated in response to the normal switch operation is “section (1)”, “section (2)”, “section (3), which is the original arrangement of the songs. ”,“ Section (4) ”,“ Section (5) ”,“ Section (6), “Section (7)”.
再び図1を参照して実施形態の構成について説明を進める。図1において、表示部16は、LCDパネル等から構成され、CPU13から供給される表示制御信号に応じて各種設定状態や動作状態など画面表示する。音源17は、周知の波形メモリ読み出し方式によって構成され、時分割動作する複数の発音チャンネルを備える。この音源17は、各種音色の波形データを記憶しており、これらの内、CPU13から供給される楽音パラメータに応じた波形データを読み出して楽音出力を発生する。サウンドシステム18は、音源17の楽音出力をアナログ形式の楽音信号に変換した後、その楽音信号から不要ノイズを除去する等のフィルタリングを施してからレベル増幅してスピーカより発音させる。
The configuration of the embodiment will be described with reference to FIG. 1 again. In FIG. 1, the
B.動作
次に、図5〜図11を参照して上記構成による実施形態の動作について説明する。以下では、最初にメインルーチンの動作を説明し、続いてメインルーチンからコールされる配列生成処理、区間再生処理、区間ガイド処理および区間録音処理の各動作について述べる。
B. Operation Next, the operation of the embodiment having the above-described configuration will be described with reference to FIGS. In the following, the operation of the main routine will be described first, and then the operations of array generation processing, section reproduction processing, section guide processing, and section recording processing called from the main routine will be described.
(1)メインルーチンの動作
演奏練習装置100がパワーオンされると、CPU13は図5に図示するメインルーチンを実行してステップSA1に処理を進め、RAM15のワークエリアに格納される各種レジスタやフラグデータをゼロリセット又は初期値セットする他、音源17に対して初期化を指示するイニシャライズを行う。イニシャライズが完了すると、CPU113は、ステップSA2に進み、例えば曲選択スイッチ操作に応じて演奏練習に供する曲の曲データを選択したり、上述したランダムスイッチ、イージスイッチおよびノーマルスイッチの何れかの操作に応じて区間配列(ランダム配列、イージー配列およびノーマル配列の何れか)を選択したりするスイッチ処理を実行する。
(1) Operation of Main Routine When the
続いて、ステップSA3では、配列生成処理を実行する。後述するように、配列生成処理では、ノーマルスイッチがオン操作された場合には、選択された曲の各区間曲をノーマル順(曲本来の並び)に並べた配列を指定するノーマル配列データを生成し、その配列先頭のポインタ(1)を指定する。ランダムスイッチがオン操作された場合には、選択された曲の各区間曲をランダム順に並べた配列を指定するランダム配列データを生成し、その配列先頭のポインタ(1)を指定する。イージースイッチがオン操作された場合には、選択された曲の曲ヘッダに含まれる区間曲の難易度を表すデータを参照し、各区間曲を演奏し易い順に並べた配列を指定するイージー配列データを生成し、その配列先頭のポインタ(1)を指定する。 Subsequently, in step SA3, an array generation process is executed. As will be described later, in the array generation process, when the normal switch is turned on, normal array data for specifying an array in which the sections of the selected song are arranged in normal order (original arrangement of songs) is generated. The pointer (1) at the top of the array is designated. When the random switch is turned on, random array data for specifying an array in which the section songs of the selected music are arranged in random order is generated, and the pointer (1) at the head of the array is specified. When the easy switch is turned on, easy array data that refers to data representing the difficulty level of the section songs included in the song header of the selected song, and specifies an array in which each section song is arranged in the order in which it is easy to play And the pointer (1) at the top of the array is designated.
次いで、ステップSA4では、区間再生処理を実行する。後述するように、区間再生処理では、ポインタの歩進に応じて順次読み出される曲データを再生する一方、読み出された曲データがメロディパートのノートオンイベントを含む場合には、そのノートオンイベントで指定される音高の鍵に配設されるLEDを点灯し、読み出された曲データがメロディパートのノートオフイベントを含む場合には、そのノートオフイベントで指定される音高の鍵に配設されるLEDを消灯することによって、区間曲を弾くお手本として押離又は離鍵する鍵の位置をユーザに教示する。 Next, in step SA4, section reproduction processing is executed. As will be described later, in the section reproduction process, the song data that is sequentially read out according to the step of the pointer is reproduced, and when the read song data includes the note-on event of the melody part, the note-on event When the LED that is placed on the key of the pitch specified in the above is lit and the read song data includes a note-off event of the melody part, the key of the pitch specified by the note-off event is used. By turning off the arranged LED, the user is instructed of the position of the key to be pressed or released as a model for playing the section music.
次に、ステップSA5では、区間ガイド処理を実行する。後述するように、区間ガイド処理では、ポインタの歩進に応じて順次曲データを読み出して再生すると同時に、歩進中のポインタから最も近いメロディパートのノートオンイベントを検索し、該当するノートオンイベントに含まれる音高の鍵に配設されるLEDを点滅させて次に押鍵すべき鍵をユーザにガイドする。そして、ガイドされた点滅鍵が押鍵される毎に演奏採点値を加点する一方、押鍵するタイミングとなって点滅鍵から点灯鍵となった後に、間違った押鍵を行ったならば演奏採点値を減点し、区間曲の曲データを全て読み出し終えた時の採点結果(演奏採点値)が所定点未満ならば、区間曲の最初からやり直し、所定点以上を得点出来るようになるまで繰り返す。 Next, in step SA5, section guide processing is executed. As will be described later, in the section guide processing, the song data is sequentially read and played according to the progress of the pointer, and at the same time, the note-on event of the closest melody part from the stepping pointer is searched and the corresponding note-on event is detected. The LED disposed on the key of the pitch included in is blinked to guide the user to the key to be pressed next. Each time the guided flashing key is pressed, the performance scoring value is added. On the other hand, if the wrong key is pressed after the flashing key has been turned on, the performance scoring is performed. If the scoring result (performance scoring value) is less than a predetermined point when the music data of the section music has been read out, the value is subtracted from the beginning of the section music, and repeated until it is possible to score more than the predetermined point.
続いて、ステップSA6では、区間録音処理を実行する。後述するように、区間録音処理では、ポインタの歩進に応じて順次曲データを読み出し、読み出した曲データのイベントタイミングに達する以前にユーザが鍵操作すると、曲データ読み出し時点から鍵操作する迄の経過時間に相当するタイムTIMEと、鍵操作に対応するイベントEVENTとから構成される演奏データを形成してRAM15の録音データエリアにストアする一方、曲データに対応した正しい鍵操作ならば演奏採点値を加点し、間違った鍵操作ならば減点する。
Subsequently, in step SA6, section recording processing is executed. As will be described later, in the section recording process, the song data is sequentially read in accordance with the progress of the pointer, and if the user performs a key operation before reaching the event timing of the read song data, the time from the song data reading time to the key operation is read. Performance data composed of the time TIME corresponding to the elapsed time and the event EVENT corresponding to the key operation is formed and stored in the recording data area of the
そして、読み出した曲データのイベントタイミングに達し、かつその曲データがメロディパートのノートオンイベントであると、当該ノートオンイベントに対応する鍵のLEDを点灯してユーザに弾くべき鍵をガイドし、これに応じてユーザが押鍵すると、その押鍵を表す演奏データを形成してRAM15の録音データエリアにストアする。
Then, when the event timing of the read song data is reached and the song data is a note-on event of the melody part, the key LED corresponding to the note-on event is turned on to guide the key to be played to the user, When the user presses the key in response, performance data representing the key press is formed and stored in the recording data area of the
ガイドされた鍵が押鍵されず、間違った押鍵操作を行う毎に演奏採点値を減点し、正しい押鍵操作が為されると、押鍵された鍵のLEDが消灯する。こうした一連の処理を区間曲の曲データを全て読み出し終えるまで行い、全て読み出し終えた時の採点結果(演奏採点値)が所定点未満であると、RAM15の録音データエリアをクリアして区間曲の最初からやり直し、所定点以上の採点結果が得られるようになるまで繰り返す。
When the guided key is not pressed and the wrong key pressing operation is performed, the performance scoring value is decremented. When the correct key pressing operation is performed, the LED of the pressed key is turned off. This series of processing is performed until all the music data of the section music has been read, and if the scoring result (performance scoring value) when all the reading has been completed is less than a predetermined point, the recording data area of the
次いで、ステップSA7では、上記ステップSA6の区間録音処理によってRAM15の録音データエリアに記録された録音データ(区間曲の演奏データおよびメロディパート以外の曲データ)を、RAM15の演奏データエリアに区間曲別に保存する。そして、ステップSA8に進むと、全区間終了したか否か、すなわち全ての区間曲について上述したステップSA4〜SA6の各処理を実行し終えたかどうかを判断する。全区間終了していなければ、判断結果は「NO」になり、ステップSA9に進み、次の区間曲のポインタを指定した後、上述のステップSA4に処理を戻す。
Next, in step SA7, the recording data (the performance data of the section music and the music data other than the melody part) recorded in the recording data area of the
一方、全区間終了すると、上記ステップSA8の判断結果は「YES」になり、ステップSA10に進み、RAM15の演奏データエリアに保存された各区間曲の録音データを、ノーマル配列順(曲本来の並び)に結合し、続くステップSA11において、ノーマル配列順(曲本来の並び)に結合された各区間曲の録音データをRAM15の演奏データエリアから読み出して再生する。
On the other hand, when all the sections are completed, the judgment result at the above step SA8 is “YES”, and the process proceeds to step SA10, where the recording data of each section music stored in the performance data area of the
(2)配列生成処理の動作
次に、図6を参照して配列生成処理の動作を説明する。上述したメインルーチンのステップSA3(図5参照)を介して本処理が実行されると、CPU13は図6に図示するステップSB1、ステップSB3およびステップSB5において、ノーマルスイッチ、ランダムスイッチおよびイージースイッチの何れのスイッチがオン操作されたかを判断する。
(2) Operation of Array Generation Process Next, the operation of the array generation process will be described with reference to FIG. When this processing is executed through step SA3 (see FIG. 5) of the main routine described above, the
ノーマルスイッチがオン操作された場合には、ステップSB1の判断結果が「YES」となり、ステップSB2に進み、曲選択スイッチ操作に応じて選択された曲を構成する各区間曲(区間(1)〜(M))をノーマル順(曲本来の並び)に並べた配列を指定するノーマル配列データを生成してノーマル配列データエリア(図3参照)にストアする。 If the normal switch is turned on, the determination result in step SB1 is “YES”, and the process proceeds to step SB2, where each piece of music (section (1) ˜1) constituting the music selected according to the music selection switch is operated. (M)) is generated in the normal sequence (original arrangement of the music), and normal sequence data designating the sequence is generated and stored in the normal sequence data area (see FIG. 3).
例えば、曲選択スイッチ操作により選択された曲の曲データが図4に図示する一例のように、区間(1)〜区間(7)から構成されていれば、図4(c)に図示するように、曲本来の並びである「区間(1)」、「区間(2)」、「区間(3)」、「区間(4)」、「区間(5)」、「区間(6)、「区間(7)」となる配列を指定するノーマル配列データが生成される。この後、ステップSB7に進み、ノーマル配列データにおける配列先頭のポインタ(1)を指定して本処理を終える。 For example, if the song data of the song selected by the song selection switch operation is composed of section (1) to section (7) as in the example illustrated in FIG. 4, it is illustrated in FIG. 4 (c). In addition, “Section (1)”, “Section (2)”, “Section (3)”, “Section (4)”, “Section (5)”, “Section (6),“ Normal sequence data designating the sequence to be “section (7)” is generated. Thereafter, the process proceeds to step SB7, where the pointer (1) at the head of the array in the normal array data is designated, and this process ends.
ランダムスイッチがオン操作された場合には、ステップSB3の判断結果が「YES」となり、ステップSB4に進み、曲選択スイッチ操作に応じて選択された曲を構成する各区間曲(区間(1)〜(M))をランダム順に並べた配列を指定するランダム配列データを生成してランダム配列データエリア(図3参照)にストアする。 If the random switch is turned on, the determination result in step SB3 is “YES”, and the process proceeds to step SB4, where each piece of music (section (1) ˜ (M)) is generated and random array data specifying an array arranged in random order is generated and stored in the random array data area (see FIG. 3).
例えば、曲選択スイッチ操作により選択された曲の曲データが図4に図示する一例のように、区間(1)〜区間(7)から構成されていれば、図4(a)に図示するように、区間曲をランダムに並べた順序、すなわち「区間(5)」、「区間(2)」、「区間(7)」、「区間(1)」、「区間(3)」、「区間(6)、「区間(4)」となる配列を指定するランダム配列データが生成される。この後、ステップSB7に進み、ランダム配列データにおける配列先頭のポインタ(1)を指定して本処理を終える。 For example, if the song data of the song selected by the song selection switch operation is composed of sections (1) to (7) as in the example shown in FIG. 4, it is shown in FIG. 4 (a). In addition, the order of section songs randomly arranged, that is, "section (5)", "section (2)", "section (7)", "section (1)", "section (3)", "section ( 6) Random array data designating the array to be “section (4)” is generated. Thereafter, the process proceeds to step SB7, where the pointer (1) at the top of the array in the random array data is designated, and this process ends.
イージースイッチがオン操作された場合には、ステップSB5の判断結果が「YES」になり、ステップSB6に進み、曲選択スイッチ操作に応じて選択された曲の曲ヘッダに含まれる区間曲の難易度を表すデータを参照し、各区間曲(区間(1)〜(M))を演奏し易い順に並べた配列を指定するイージー配列データを生成してイージー配列データエリア(図3参照)にストアする。 When the easy switch is turned on, the determination result in step SB5 is “YES”, the process proceeds to step SB6, and the difficulty level of the section song included in the song header of the song selected in accordance with the song selection switch operation Referring to the data representing, easy array data for designating an array in which each piece of music (sections (1) to (M)) is arranged in order of performance is generated and stored in the easy array data area (see FIG. 3). .
例えば、曲選択スイッチ操作により選択された曲の曲データが図4に図示する一例のように、区間(1)〜区間(7)から構成され、かつ曲ヘッダに含まれる各区間曲の難易度が易しい順に「区間(7)」、「区間(1)」、「区間(4)」、「区間(2)」、「区間(5)」、「区間(3)、「区間(6)」ならば、図4(b)に図示するように、区間曲を易しい順に並べた「区間(7)」、「区間(1)」、「区間(4)」、「区間(2)」、「区間(5)」、「区間(3)、「区間(6)」となる配列を指定するイージー配列データが生成される。この後、ステップSB7に進み、イージー配列データにおける配列先頭のポインタ(1)を指定して本処理を終える。 For example, as shown in FIG. 4, the song data selected by the song selection switch operation is composed of the sections (1) to (7), and the difficulty level of each section song included in the song header. “Section (7)”, “Section (1)”, “Section (4)”, “Section (2)”, “Section (5)”, “Section (3),“ Section (6) ” Then, as illustrated in FIG. 4B, “section (7)”, “section (1)”, “section (4)”, “section (2)”, “ Easy array data designating an array to be “section (5)”, “section (3), and“ section (6) ”is generated. Thereafter, the process proceeds to step SB7, and the pointer (1) at the top of the array in the easy array data is designated, and this process is terminated.
このように、配列生成処理では、ノーマルスイッチがオン操作された場合には、選択された曲の各区間曲をノーマル順(曲本来の並び)に並べた配列を指定するノーマル配列データを生成し、その配列先頭のポインタ(1)を指定する。ランダムスイッチがオン操作された場合には、選択された曲の各区間曲をランダム順に並べた配列を指定するランダム配列データを生成し、その配列先頭のポインタ(1)を指定する。イージースイッチがオン操作された場合には、選択された曲の曲ヘッダに含まれる区間曲の難易度を表すデータを参照し、各区間曲を演奏し易い順に並べた配列を指定するイージー配列データを生成し、その配列先頭のポインタ(1)を指定する。 In this way, in the array generation processing, when the normal switch is turned on, normal array data that specifies an array in which the section songs of the selected song are arranged in normal order (original arrangement of the songs) is generated. The pointer (1) at the head of the array is designated. When the random switch is turned on, random array data for specifying an array in which the section songs of the selected music are arranged in random order is generated, and the pointer (1) at the head of the array is specified. When the easy switch is turned on, easy array data that refers to data representing the difficulty level of the section songs included in the song header of the selected song, and specifies an array in which each section song is arranged in the order in which it is easy to play And the pointer (1) at the top of the array is designated.
(3)区間再生処理の動作
次に、図7を参照して区間再生処理の動作を説明する。上述したメインルーチンのステップSA4(図5参照)を介して本処理が実行されると、CPU13は図7に図示するステップSC1に進み、現在指定されているポインタに従って区間曲の曲データを読み出す。続いて、ステップSC2では、読み出した曲データ中のタイムTIMEが経過するまで待機する。すなわち、イベントタイミングに達するまで待機する。
(3) Operation of Section Reproduction Process Next, the operation of the section reproduction process will be described with reference to FIG. When this process is executed via step SA4 (see FIG. 5) of the main routine described above, the
そして、読み出した曲データのイベントタイミングに達すると、上記ステップSC2の判断結果は「YES」になり、ステップSC3に進む。ステップSC3では、読み出した曲データ中のイベントEVENTがメロディパートのノートオンイベントであるか否かを判断する。イベントEVENTがメロディパートのノートオンイベントならば、判断結果は「YES」になり、ステップSC4に進み、そのノートオンイベントに含まれる音高の鍵に配設されるLEDを点灯するようLED部11に指示した後、後述のステップSC7に進む。
When the event timing of the read music data is reached, the determination result in step SC2 is “YES”, and the flow proceeds to step SC3. In step SC3, it is determined whether or not the event EVENT in the read music data is a melody part note-on event. If the event EVENT is a note-on event of the melody part, the determination result is “YES”, the process proceeds to step SC4, and the
一方、読み出した曲データ中のイベントEVENTがメロディパートのノートオンイベントでなければ、上記ステップSC3の判断結果は「NO」になり、ステップSC5に進む。ステップSC5では、読み出した曲データのイベントEVENTがメロディパートのノートオフイベントであるか否かを判断する。ノートオフイベントでなければ、判断結果は「NO」になり、後述のステップSC7に進む。 On the other hand, if the event EVENT in the read music data is not a melody part note-on event, the determination result in step SC3 is “NO”, and the flow advances to step SC5. In step SC5, it is determined whether or not the event EVENT of the read music data is a melody part note-off event. If it is not a note-off event, the determination result is “NO”, and the flow proceeds to Step SC7 described later.
これに対し、読み出した曲データ中のイベントEVENTがメロディパートのノートオフイベントであると、上記ステップSC5の判断結果が「YES」になり、ステップSC6に進み、そのノートオフイベントに含まれる音高の鍵に配設されるLEDを消灯するようLED部11に指示する。
On the other hand, if the event EVENT in the read music data is a note-off event of the melody part, the determination result in step SC5 is “YES”, the process proceeds to step SC6, and the pitch included in the note-off event is determined. The
そして、ステップSC7に進み、イベントに対応した曲再生を音源17に指示する。すなわち、読み出した曲データのイベントEVENTがノートオンイベントならば、当該ノートオンイベントで指定される楽音の発音を音源17に指示し、一方、読み出した曲データのイベントEVENTがノートオフイベントならば、当該ノートオフイベントで指定される楽音の消音を音源17に指示する。
In step SC7, the
次いで、ステップSC8では、ポインタを歩進させ、続くステップSC9では、歩進させたポインタに対応する曲データの有無、つまり1つの区間曲の曲データを全て読み出し終えたかどうかを判断する。区間曲の曲データを全て読み出し終えていなければ、判断結果は「NO」になり、上述したステップSC1に処理を戻す。以後、区間曲の曲データを全て読み出し終えるまでの間、上述したステップSC1〜SC9を繰り返す。 Next, in step SC8, the pointer is incremented, and in the subsequent step SC9, it is determined whether or not there is music data corresponding to the incremented pointer, that is, whether all music data of one section music has been read. If all the music data of the section music has not been read, the determination result is “NO”, and the process returns to step SC1 described above. Thereafter, the above-described steps SC1 to SC9 are repeated until all the music data of the section music are read out.
このように、区間再生処理では、ポインタの歩進に応じて順次読み出される曲データを再生する一方、読み出された曲データがメロディパートのノートオンイベントを含む場合には、そのノートオンイベントで指定される音高の鍵に配設されるLEDを点灯し、読み出された曲データがメロディパートのノートオフイベントを含む場合には、そのノートオフイベントで指定される音高の鍵に配設されるLEDを消灯することによって、区間曲を弾くお手本として押離又は離鍵する鍵の位置をユーザに教示するようになっている。 As described above, in the section reproduction process, the music data sequentially read according to the step of the pointer is reproduced. On the other hand, when the read music data includes the note-on event of the melody part, the note-on event When the LED arranged on the key of the specified pitch is lit and the read song data includes a note-off event of the melody part, it is allocated to the key of the pitch specified by the note-off event. By turning off the LED provided, the user is instructed of the position of the key to be pressed or released as a model for playing the section music.
(4)区間ガイド処理の動作
次に、図8〜図9を参照して区間ガイド処理の動作を説明する。前述したメインルーチンのステップSA5(図5参照)を介して本処理が実行されると、CPU13は図8に図示するステップSD1に進み、指定されたポインタに対応する区間曲の曲データから最も近いメロディパートのノートオンイベントを含む曲データをサーチする。続いて、ステップSD2では、サーチされた曲データのノートオンイベントに含まれる音高の鍵に配設されるLEDを点滅するようLED部11に指示する。これにより、次に押鍵すべき鍵がユーザにガイドされる。
(4) Operation of Section Guide Process Next, the operation of the section guide process will be described with reference to FIGS. When this process is executed through step SA5 (see FIG. 5) of the main routine described above, the
次いで、ステップSD3では、指定されたポインタに対応する区間曲の曲データを読み出す。そして、ステップSD4では、読み出した曲データ中のタイムTIMEが経過したか否か、すなわちイベントタイミングに達したかどうかを判断する。以下、イベントタイミング以前の動作と、イベントタイミング以後の動作とに分けて説明を進める。 Next, in step SD3, the music data of the section music corresponding to the designated pointer is read out. In step SD4, it is determined whether or not the time TIME in the read music data has elapsed, that is, whether or not the event timing has been reached. Hereinafter, the description will be divided into an operation before the event timing and an operation after the event timing.
<イベントタイミング以前の動作>
イベントタイミングに達していなければ、上記ステップSD4の判断結果は「NO」になり、ステップSD5に進む。ステップSD5では、LED点滅により次に押鍵すべき鍵としてガイドされている点滅鍵の押鍵の有無を判断する。点滅鍵を押鍵しなければ、判断結果は「NO」になり、上記ステップSD4に戻り、再度イベントタイミングに達したかどうかを判断する。
<Operation before event timing>
If the event timing has not been reached, the determination result in step SD4 is “NO”, and the flow proceeds to step SD5. In step SD5, it is determined whether or not a blinking key is pressed as a key to be pressed next by blinking the LED. If the blinking key is not pressed, the determination result is “NO”, the process returns to step SD4, and it is determined again whether the event timing has been reached.
そして、イベントタイミングに達する以前にユーザが点滅鍵を押鍵したとする。そうすると、上記ステップSD5の判断結果は「YES」になり、ステップSD6に進み、演奏採点値として所定値を加点する。つまり、本来弾くべきタイミングになる前に、点滅鍵を押鍵してしまった場合、本実施形態では加点するようになっている。なお、本来弾くべきタイミングより所定時間以前に押鍵したら減点する処理を更に備える態様としてもよい。 Then, it is assumed that the user has pressed the blinking key before the event timing is reached. If it does so, the judgment result of the said step SD5 will become "YES", will progress to step SD6, and will add a predetermined value as a performance scoring value. In other words, if the flashing key is pressed before the timing to play, the present embodiment adds points. In addition, it is good also as an aspect further equipped with the process which deducts, if a key is pressed before the predetermined time from the timing which should be played originally.
次いで、ステップSD7では、上記ステップSD1においてサーチされた曲データ(メロディパートのノートオンイベントを含む曲データ)にポインタを合わせる。この後、ステップSD17に進み、ポインタを歩進させ、続くステップSD18では、歩進させたポインタに対応する曲データの有無、つまり1つの区間曲の曲データを全て読み出し終えたかどうかを判断する。区間曲の曲データを全て読み出し終えていなければ、判断結果は「NO」になり、上述したステップSD3(図8参照)に処理を戻す。 Next, in step SD7, the pointer is set to the music data searched in step SD1 (music data including the note-on event of the melody part). Thereafter, the process proceeds to step SD17, where the pointer is incremented, and in the subsequent step SD18, it is determined whether or not there is music data corresponding to the incremented pointer, that is, whether all music data of one section music has been read out. If all the music data of the section music has not been read, the determination result is “NO”, and the process returns to step SD3 (see FIG. 8).
<イベントタイミング以後の動作>
さて、ステップSD3に戻り、歩進させたポインタに対応する曲データを読み出し、読み出した曲データ中のタイムTIMEが経過してイベントタイミングに達すると、上述したステップSD4の判断結果が「YES」になり、ステップSD8に進む。ステップSD8では、読み出した曲データのイベントEVENTが、上記ステップSD1においてサーチしたメロディパートのノートオンイベントであるか否かを判断する。
<Operation after event timing>
Now, returning to step SD3, the music data corresponding to the stepped pointer is read, and when the time TIME in the read music data has passed and the event timing is reached, the determination result in step SD4 described above becomes “YES”. Thus, the process proceeds to step SD8. In step SD8, it is determined whether or not the event EVENT of the read music data is a note-on event of the melody part searched in step SD1.
サーチしたメロディパートのノートオンイベントでなければ、ここでの判断結果は「NO」になり、ステップSD9に進み、読み出した曲データのイベントEVENTに対応した曲再生を音源17に指示した後、上述したステップSD17に進む。
If it is not a note-on event of the searched melody part, the determination result here is “NO”, the process proceeds to step SD9, the music source corresponding to the event EVENT of the read music data is instructed to the
一方、読み出した曲データのイベントEVENTが、上記ステップSD1においてサーチしたメロディパートのノートオンイベントであると、上記ステップSD8の判断結果が「YES」になり、ステップSD10に進み、点滅中のLEDを点灯させるようLED部11に指示する。これにより、点滅鍵の押鍵タイミングになったことをユーザにガイドする。
On the other hand, if the event EVENT of the read music data is a note-on event of the melody part searched in step SD1, the determination result in step SD8 is “YES”, and the process proceeds to step SD10. The
次いで、ステップSD11では、上述したステップSD1と同様、次のポインタに対応する区間曲の曲データから最も近いメロディパートのノートオンイベントを含む曲データをサーチし、続くステップSD12では、サーチされた曲データのノートオンイベントに含まれる音高の鍵に配設されるLEDを点滅するようLED部11に指示する。これにより、次に押鍵すべき鍵がユーザにガイドされる。
Next, in step SD11, as in step SD1, the song data including the note-on event of the nearest melody part is searched from the song data of the section song corresponding to the next pointer, and in the subsequent step SD12, the searched song data is searched. The
この後、図9に図示するステップSD13に進み、ユーザが押鍵操作するまで待機する。そして、ユーザが押鍵操作すると、判断結果は「YES」になり、ステップSD14に進み、その押鍵操作が正しい押鍵であるか否か、すなわちLED点滅からLED点灯に変化した鍵が押鍵されたかどうかを判断する。間違った鍵を押鍵した場合には、判断結果が「NO」になり、ステップSD15に進み、演奏採点値として所定値を減点した後、上記ステップSD13に戻る。 Thereafter, the process proceeds to step SD13 shown in FIG. 9 and waits until the user performs a key pressing operation. When the user performs a key pressing operation, the determination result is “YES”, and the process proceeds to step SD14 to determine whether or not the key pressing operation is the correct key pressing, that is, the key that has changed from blinking to lighting the LED. Determine whether it was done. If the wrong key is pressed, the determination result is “NO”, the process proceeds to step SD15, a predetermined value is deducted as a performance scoring value, and then the process returns to step SD13.
これに対し、正しい押鍵ならば、上記ステップSD14の判断結果は「YES」になり、ステップSD16に進み、押鍵された鍵に配設されるLEDの消灯をLED部11に指示する。この後、ステップSD17に進み、ポインタを歩進させ、続くステップSD18では、歩進させたポインタに対応する曲データの有無、つまり1つの区間曲の曲データを全て読み出し終えたかどうかを判断する。区間曲の曲データを全て読み出し終えていなければ、判断結果は「NO」になり、上述したステップSD3(図8参照)に処理を戻す。
On the other hand, if the key is pressed correctly, the determination result in step SD14 is “YES”, the process proceeds to step SD16, and the
一方、区間曲の曲データを全て読み出し終えると、上記ステップSD18の判断結果が「YES」になり、ステップSD19に進む。ステップSD19では、採点結果(演奏採点値)が所定点(例えば85点)以上であるか否かを判断する。採点結果が所定点以上であったならば、判断結果は「YES」になり、本処理を終える。 On the other hand, when all the music data of the section music have been read out, the determination result in step SD18 is “YES”, and the process proceeds to step SD19. In step SD19, it is determined whether or not the scoring result (performance scoring value) is a predetermined point (for example, 85 points) or more. If the scoring result is equal to or higher than the predetermined score, the determination result is “YES”, and the present process ends.
これに対し、所定点未満の採点結果であると、上記ステップSD19の判断結果は「NO」になり、ステップSD20に進み、ポインタを区間曲の先頭の曲データに対応させるようにポインタを最初に戻した後、図8に図示するステップSD1に処理を戻す。したがって、所定点以上の採点結果が得られるようになるまで区間ガイド処理を繰り返す。 On the other hand, if the score is less than the predetermined score, the determination result in step SD19 is “NO”, and the process proceeds to step SD20. The pointer is first set so that the pointer corresponds to the first song data of the section song. After returning, the process returns to step SD1 shown in FIG. Therefore, the section guide process is repeated until a scoring result equal to or higher than a predetermined point is obtained.
以上のように、区間ガイド処理では、ポインタの歩進に応じて順次曲データを読み出して再生すると同時に、歩進中のポインタから最も近いメロディパートのノートオンイベントを検索し、該当するノートオンイベントに含まれる音高の鍵に配設されるLEDを点滅させて次に押鍵すべき鍵をユーザにガイドする。そして、ガイドされた点滅鍵が押鍵される毎に演奏採点値を加点する一方、間違った押鍵ならば演奏採点値を減点し、区間曲の曲データを全て読み出し終えた時の採点結果(演奏採点値)が所定点未満ならば、区間曲の最初からやり直し、所定点以上の採点結果が得られたら本処理を終える。 As described above, in the section guide processing, the song data is sequentially read and played according to the stepping of the pointer, and at the same time, the note-on event of the melody part closest to the stepping pointer is searched and the corresponding note-on event is detected. The LED disposed on the key of the pitch included in is blinked to guide the user to the key to be pressed next. Each time the guided flashing key is pressed, the performance scoring value is added. On the other hand, if the key is wrong, the performance scoring value is deducted, and the scoring result when all the song data of the section music has been read ( If the performance score is less than the predetermined score, the section music is re-executed from the beginning, and the processing ends when a score result equal to or higher than the predetermined score is obtained.
(5)区間録音処理の動作
次に、図10〜図11を参照して区間録音処理の動作を説明する。前述したメインルーチンのステップSA6(図5参照)を介して本処理が実行されると、CPU13は図10に図示するステップSE1に進み、指定されたポインタに対応する区間曲の曲データを読み出す。続いて、ステップSE2では、読み出した曲データ中のタイムTIMEが経過したか否か、すなわちイベントタイミングに達したかどうかを判断する。以下、イベントタイミング以前の動作と、イベントタイミング以降の動作とに分けて説明を進める。
(5) Operation of Section Recording Process Next, the operation of the section recording process will be described with reference to FIGS. When this process is executed via step SA6 (see FIG. 5) of the main routine described above, the
<イベントタイミング以前の動作>
イベントタイミングに達していなければ、上記ステップSE2の判断結果は「NO」になり、ステップSE3に進む。ステップSE3では、鍵変化が有るか否か、つまり鍵イベントの有無を判断する。鍵操作されず、鍵イベントが発生していなければ、判断結果は「NO」になり、上述のステップSE2に処理を戻す。
<Operation before event timing>
If the event timing has not been reached, the determination result in step SE2 is “NO”, and the flow proceeds to step SE3. In step SE3, it is determined whether there is a key change, that is, whether there is a key event. If no key operation has been performed and no key event has occurred, the determination result is “NO”, and the process returns to step SE2.
一方、鍵操作(押鍵又は離鍵)されて鍵イベントが発生すると、上記ステップSE3の判断結果は「YES」になり、ステップSE4に進む。ステップSE4では、曲データ読み出し時点から鍵変化する迄の経過時間をタイムTIMEに設定し、続くステップSE5では、鍵変化に対応するイベントEVENTを発生する。具体的には、押鍵ならばノートオンイベントを、離鍵ならばノートオフイベントを発生する。また、ステップSE5では、生成したイベントに対応した楽音の発音(又は消音)を音源17に指示する。そして、ステップSE6に進むと、ユーザの鍵操作を表すデータとして、上記ステップSE5〜SE6で生成されたタイムTIMEとイベントEVENTとから構成される演奏データを形成してRAM15の録音データエリアにストアする。
On the other hand, when a key event occurs due to a key operation (key depression or key release), the determination result in step SE3 is “YES”, and the flow proceeds to step SE4. In step SE4, the elapsed time from the music data read time to the key change is set to the time TIME, and in the subsequent step SE5, an event EVENT corresponding to the key change is generated. Specifically, a note-on event is generated when the key is pressed, and a note-off event is generated when the key is released. In step SE5, the
この後、ステップSE7に進み、その鍵操作(押鍵又は離鍵)が正しい鍵操作であるか否かを判断する。具体的には、現ポインタで指定される曲データに対応した音高の鍵操作(押鍵又は離鍵)ならば、正しい鍵操作であるとして判断結果が「YES」になり、ステップSE8に進み、演奏採点値を加点した後、上述のステップSE2に処理を戻す。これに対し、現ポインタで指定される曲データに対応した音高の鍵操作(押鍵又は離鍵)でなければ、間違った鍵操作であるとして、上記ステップSE7の判断結果は「NO」になり、ステップSE9に進み、演奏採点値を減点した後、上述のステップSE2に処理を戻す。 Thereafter, the process proceeds to step SE7, where it is determined whether or not the key operation (key pressing or key release) is a correct key operation. Specifically, if the pitch key operation (key depression or key release) corresponding to the music data designated by the current pointer is performed, the determination result is “YES” as the correct key operation, and the process proceeds to step SE8. After adding the performance scoring value, the process returns to step SE2. On the other hand, if the key operation (key depression or key release) of the pitch corresponding to the music data designated by the current pointer is not performed, it is determined that the key operation is incorrect and the determination result in step SE7 is “NO”. Thus, the process proceeds to step SE9, the performance scoring value is deducted, and the process returns to step SE2.
<イベントタイミング以降の動作>
現ポインタに従って読み出した曲データのイベントタイミングに達すると、上述したステップSE2の判断結果が「YES」になり、ステップSE10に進む。ステップSE10では、読み出した曲データ中のイベントEVENTがメロディパートのノートオンイベントであるか否かを判断する。以下、メロディパートのノートオンイベントの場合と、メロディパート以外のイベントの場合とに分けて動作説明を進める。
<Operation after event timing>
When the event timing of the music data read according to the current pointer is reached, the determination result in step SE2 described above becomes “YES”, and the process proceeds to step SE10. In step SE10, it is determined whether or not the event EVENT in the read music data is a melody part note-on event. Hereinafter, the description of the operation will be made separately for the case of a note-on event for a melody part and the case for an event other than a melody part.
a.メロディパート以外のイベントの場合
読み出した曲データ中のイベントEVENTがメロディパート以外のイベントであると、上記ステップSE10の判断結果は「NO」となり、ステップSE19に進み、その曲データをRAM15の録音データエリアにストアする。そして、図11に図示するステップSE20に進み、ポインタを歩進させ、続くステップSE21では、歩進させたポインタで指定される曲データの有無を判断する。すなわち、区間曲の全ての曲データを読み出し終えたかどうかを判断する。区間曲の全ての曲データを読み出し終えていなければ、判断結果は「NO」になり、前述したステップSE1に処理を戻す。
a. In the case of an event other than the melody part If the event EVENT in the read music data is an event other than the melody part, the determination result in step SE10 is “NO”, and the process proceeds to step SE19. Store in the area. Then, the process proceeds to step SE20 shown in FIG. 11, and the pointer is incremented. In the subsequent step SE21, it is determined whether or not there is music data designated by the incremented pointer. That is, it is determined whether or not all the music data of the section music has been read. If all the music data of the section music has not been read, the determination result is “NO”, and the process returns to step SE1 described above.
b.メロディパートのノートオンイベントの場合
一方、読み出した曲データ中のイベントEVENTがメロディパートのノートオンイベントであると、上述したステップSE7(図10参照)の判断結果が「YES」になり、ステップSE11に進む。ステップSE11では、当該ノートオンイベントに含まれる音高に対応した鍵に配設されるLEDを点灯するようLED部11に指示する。これにより、ユーザに弾くべき鍵がガイドされる。
b. In the case of a melody part note-on event On the other hand, if the event EVENT in the read song data is a melody part note-on event, the determination result in step SE7 (see FIG. 10) is “YES”, and step SE11 is performed. Proceed to In step SE11, the
次いで、ステップSE12では、ユーザが押鍵操作するまで待機する。そして、ユーザが押鍵操作すると、ここでの判断結果が「YES」になり、ステップSE13に進む。ステップSE13では、曲データ読み出し時点から押鍵操作されるまでの経過時間をタイムTIMEに設定し、続くステップSE14では、押鍵に対応するイベントEVENT(押鍵された鍵の音高を含むノートオンイベント)を発生する。また、ステップSE14では、生成したノートオンイベントに対応した楽音の発音を音源17に指示する。そして、ステップSE15では、ユーザの押鍵操作を表すデータとして、上記ステップSE13〜SE14にて生成されたタイムTIMEとイベントEVENTとから構成される演奏データを形成してRAM15の録音データエリアにストアする。
Next, in step SE12, the process waits until the user performs a key pressing operation. When the user presses the key, the determination result here is “YES”, and the flow proceeds to step SE13. In step SE13, an elapsed time from the time when the music data is read until the key is pressed is set to time TIME, and in step SE14, event EVENT corresponding to the key press (note-on including the pitch of the key pressed) Event). In step SE14, the
次いで、ステップSE16では、上記ステップSE12において為された押鍵が正しい押鍵であるかどうかを判断する。間違った押鍵、つまりLED点灯によりガイドされた鍵とは異なる鍵を押鍵した場合には、判断結果が「NO」になり、ステップSE17に進み、演奏採点値を減点した後、上述のステップSE12に処理を戻す。以後、LED点灯によりガイドされた鍵が押鍵されるまでステップSE12〜SE17を繰り返す。そして、正しい押鍵が為されると、上記ステップSE16の判断結果が「YES」になり、ステップSE18に進み、押鍵された鍵に配設されるLEDの消灯をLED部11に指示する。
Next, in step SE16, it is determined whether or not the key depression performed in step SE12 is a correct key depression. If a wrong key is pressed, that is, a key different from the key guided by the LED lighting is pressed, the determination result is “NO”, the process proceeds to step SE17, and the performance scoring value is decremented. The process returns to SE12. Thereafter, steps SE12 to SE17 are repeated until the key guided by the LED lighting is depressed. When a correct key is pressed, the determination result in step SE16 is “YES”, and the process proceeds to step SE18, where the
この後、図11に図示するステップSE20に進み、ポインタを歩進させ、続くステップSE21では、歩進させたポインタで指定される曲データの有無を判断する。すなわち、区間曲の全ての曲データを読み出し終えたかどうかを判断する。そして、区間曲の全ての曲データを読み出し終えたならば、判断結果が「YES」になり、ステップSE22に進む。 Thereafter, the process proceeds to step SE20 shown in FIG. 11, and the pointer is incremented. In the subsequent step SE21, it is determined whether or not there is music data designated by the incremented pointer. That is, it is determined whether or not all the music data of the section music has been read. If all the music data of the section music has been read, the determination result is “YES”, and the process proceeds to Step SE22.
ステップSE22では、採点結果(演奏採点値)が所定点(例えば85点)以上であるか否かを判断する。採点結果が所定点以上であったならば、判断結果が「YES」になり、本処理を終えるが、所定点未満の採点結果であると、上記ステップSE22の判断結果は「NO」になり、ステップSE23に進み、ポインタを区間曲の先頭の曲データに対応させるようにポインタを最初に戻し、続くステップSE24では、RAM15の録音データエリアをクリアした後、前述したステップSE1(図10参照)に処理を戻す。
In step SE22, it is determined whether or not the scoring result (performance scoring value) is a predetermined point (for example, 85 points) or more. If the scoring result is equal to or higher than the predetermined score, the determination result is “YES”, and the present process is finished. If the scoring result is less than the predetermined score, the determination result in step SE22 is “NO”. Proceeding to step SE23, the pointer is returned to the beginning so that the pointer corresponds to the beginning music data of the section music, and in the subsequent step SE24, the recording data area of the
このように、区間録音処理では、ポインタの歩進に応じて順次曲データを読み出し、読み出した曲データのイベントタイミングに達する以前にユーザが鍵操作すると、曲データ読み出し時点から鍵操作する迄の経過時間に相当するタイムTIMEと、鍵操作に対応するイベントEVENTとから構成される演奏データを生成してRAM15の録音データエリアにストアする一方、曲データに対応した正しい鍵操作ならば演奏採点値を加点し、間違った鍵操作ならば減点する。
As described above, in the section recording process, the song data is sequentially read out according to the step of the pointer, and if the user performs a key operation before reaching the event timing of the read song data, the process from the time when the song data is read until the key operation is performed. Performance data composed of a time TIME corresponding to time and an event EVENT corresponding to a key operation is generated and stored in the recording data area of the
そして、読み出した曲データのイベントタイミングに達し、かつその曲データがメロディパートのノートオンイベントであると、当該ノートオンイベントに対応する鍵のLEDを点灯してユーザに弾くべき鍵をガイドし、これに応じてユーザが押鍵すると、その押鍵を表す演奏データを形成してRAM15の録音データエリアにストアする。
Then, when the event timing of the read song data is reached and the song data is a note-on event of the melody part, the key LED corresponding to the note-on event is turned on to guide the key to be played to the user, When the user presses the key in response, performance data representing the key press is formed and stored in the recording data area of the
ガイドされた鍵が押鍵されず、間違った押鍵操作を行う毎に演奏採点値を減点し、正しい押鍵操作が為されると、押鍵された鍵のLEDが消灯する。こうした一連の処理を区間曲の曲データを全て読み出し終えるまで行い、全て読み出し終えた時の採点結果(演奏採点値)が所定点未満であると、RAM15の録音データエリアをクリアして区間曲の最初からやり直し、所定点以上の採点結果が得られるようになるまで繰り返す。
When the guided key is not pressed and the wrong key pressing operation is performed, the performance scoring value is decremented. When the correct key pressing operation is performed, the LED of the pressed key is turned off. This series of processing is performed until all the music data of the section music has been read, and if the scoring result (performance scoring value) when all the reading has been completed is less than a predetermined point, the recording data area of the
以上説明したように、本実施形態では、例えばフレーズ単位などの複数区間に区切られた各区間の曲データ(区間曲)を、ユーザ指定の順序(ランダム順、イージー順、ノーマル順の何れか)で再生するポインタを生成した後、手本再生(区間再生処理)を行う。手本再生では、生成されたポインタの歩進に応じて区間曲の曲データを再生しながら、当該曲データに基づき区間曲を弾く手本として押離又は離鍵する鍵の位置をユーザに教示する。
As described above, in the present embodiment, for example, song data (section music) of each section divided into a plurality of sections such as phrase units, the user-specified order (any of random order, easy order, or normal order) After generating the pointer to be played in
手本再生が完了すると、区間練習(区間ガイド処理)を行う。区間練習では、生成されたポインタの歩進に応じて読み出される区間曲の曲データに基づき鍵に配設されるLEDを点滅させて次に押鍵すべき鍵をユーザにガイドし、そのガイドに従って点滅鍵が押鍵されたら演奏採点値を加点する一方、間違った押鍵ならば演奏採点値を減点する演奏練習を、所定点以上得点出来るようになるまで繰り返す。 When sample reproduction is completed, section practice (section guide processing) is performed. In the interval practice, the LED arranged on the key blinks based on the song data of the interval song that is read according to the generated step of the pointer to guide the user to the key to be pressed next, and according to the guide If the blinking key is pressed, the performance scoring value is added, while if the wrong key is pressed, the performance practice of decrementing the performance scoring value is repeated until a predetermined score or more can be scored.
区間練習により所定点以上得点出来るまでに鍵操作に慣れたら、区間録音(区間録音処理)を行う。区間録音では、生成されたポインタの歩進に応じて読み出される区間曲の曲データに基づき鍵に配設されるLEDを点灯させて弾くべき鍵をユーザにガイドし、そのガイドされた鍵が押鍵されたら演奏採点値を加点する一方、間違った押鍵ならば演奏採点値を減点する演奏練習を行う。また、区間録音では、そうした演奏練習におけるユーザの鍵操作を演奏データとして記録(録音)しておき、所定点以上得点した演奏練習の演奏データをメモリ保存する。 When you get used to the key operation until you can score more than a predetermined point by segment practice, perform segment recording (segment recording process). In section recording, an LED arranged on a key is lit on the basis of song data of a section song that is read according to the step of the generated pointer to guide the user to the key to be played, and the guided key is pressed. If the key is played, the performance scoring value is added, and if the key is pressed wrongly, the performance scoring is performed by deducting the performance scoring value. In section recording, the user's key operation in such performance practice is recorded (recorded) as performance data, and performance data for performance practice scored at a predetermined point or more is stored in memory.
ユーザ指定の順序に従い、一連の練習(手本再生、区間練習および区間録音)を全ての区間曲について実行し終えると、メモリ保存しておいた各区間曲の演奏データを曲本来の並びで再生する。こうすることによって、従来のように曲の最初から最後まで独力で弾けるようになるまで何度も繰り返し演奏練習する必要が無く、しかも各区間曲を一つ一つ弾けるように練習を積み重ねて1曲分の演奏データを形成し、それを再生すれば、あたかも自分で1曲通して弾いたかのような自身の演奏を聞いたり、他の人に聞かせる等の楽しみや励みが生まれる結果、意欲を失わせることなく飽きずに練習させることが出来る、という効果を奏する。 When a series of exercises (example playback, section practice, and section recording) has been executed for all section songs according to the order specified by the user, the performance data of each section song stored in memory is played back in the original order of the song To do. By doing this, it is not necessary to practice repeatedly over and over again until it becomes possible to play from the beginning to the end of the song as before, and practice is repeated so that each song can be played one by one. If you create performance data for the song and play it back, you will be able to listen to your own performance as if you played through one song, or to let others hear you. There is an effect that you can practice without getting tired without losing.
なお、上述した実施形態では、説明の簡略化を図る為、図5に図示したステップSA4〜SA6の区間再生処理、区間ガイド処理および区間録音処理を連続して実行する態様としたが、これに替えて、上記各処理のそれぞれの実行前に、ユーザにどのような処理を行うか、例えば区間再生処理(ステップSA4)であれば、その開始前に「区間曲を弾く手本として押離又は離鍵する鍵の位置を教示する動作を行う」旨を画面表示してユーザに案内する案内表示動作を設ける態様としても構わない。そのようにすれば、より一層分かりやすく演奏練習を進めることが出来る。 In the embodiment described above, in order to simplify the description, the section reproduction process, the section guide process, and the section recording process in steps SA4 to SA6 illustrated in FIG. 5 are continuously performed. Instead, what kind of processing is performed on the user before each of the above-described processes is performed, for example, in the case of section playback processing (step SA4), before the start, It is also possible to provide a guidance display operation for guiding the user by displaying on the screen that the operation of teaching the position of the key to be released is performed. By doing so, the performance practice can be further facilitated.
10 鍵盤
11 LED部
12 スイッチ部
13 CPU
14 ROM
15 RAM
16 表示部
17 音源
18 サウンドシステム
100 演奏練習装置
10
14 ROM
15 RAM
16
Claims (5)
前記曲データ記憶手段に記憶された各区間曲データの読み出し順序を指定する順序指定手段と、
前記順序指定手段により指定された読み出し順序に従って前記曲データ記憶手段から読み出される区間曲データに応じて鍵操作をガイドするガイド手段と、
前記ガイド手段によりガイドされる鍵操作に対してユーザが適正な演奏操作を行ったか否かに応じて、当該ユーザの演奏操作を採点する採点手段と、
前記ガイド手段によりガイドされる鍵操作に対応したユーザの演奏操作を演奏データとして記録する演奏データ記録手段と、
曲区間別の記憶エリアを備え、前記採点手段により採点されたユーザの演奏操作が所定得点以上の場合に、前記演奏データ記録手段により記録された演奏データを、対応する曲区間の記憶エリアに保存する演奏データ保存手段と、
前記演奏データ保存手段における曲区間別の記憶エリアの全てに演奏データが保存された場合に、それら各記憶エリアの演奏データを曲本来の順序で再生する再生手段と
を具備することを特徴とする演奏練習装置。 Song data storage means for storing section song data representing each sound constituting each section of a song divided into a plurality of sections;
Order designating means for designating the reading order of each section song data stored in the song data storage means;
Guide means for guiding a key operation according to section music data read from the music data storage means in accordance with the reading order specified by the order specifying means;
Scoring means for scoring the user's performance operation according to whether or not the user has performed an appropriate performance operation for the key operation guided by the guide means;
Performance data recording means for recording a user's performance operation corresponding to the key operation guided by the guide means as performance data;
When the performance operation of the user scored by the scoring means exceeds a predetermined score, the performance data recorded by the performance data recording means is stored in the corresponding music section storage area. Performance data storage means to perform,
When the performance data is stored in all the storage areas for each song section in the performance data storage means, the playback data is provided with playback means for playing back the performance data in each storage area in the original order of the songs. Performance practice device.
前記順序指定手段は、前記曲データ記憶手段に記憶される曲属性データを参照し、ユーザ指定される各曲区間の並び方に対応した各区間曲データの読み出し順序を指定することを特徴とする請求項1記載の演奏練習装置。 The song data storage means further stores song attribute data representing the number of song sections and the difficulty of performance of each song section,
The order designation means refers to song attribute data stored in the song data storage means, and designates the reading order of each section song data corresponding to the arrangement of each song section designated by the user. Item 1. The performance practice device according to Item 1.
予めメモリに記憶されたデータであって、複数区間に区切られた曲の各区間をそれぞれ構成する各音を表す区間曲データの読み出し順序を指定する順序指定ステップと、
前記順序指定ステップにより指定された読み出し順序に従ってメモリから読み出される区間曲データに応じて鍵操作をガイドするガイドステップと、
前記ガイドステップによりガイドされる鍵操作に対してユーザが適正な演奏操作を行ったか否かに応じて、当該ユーザの演奏操作を採点する採点ステップと、
前記ガイドステップによりガイドされる鍵操作に対応したユーザの演奏操作を演奏データとして記録する演奏データ記録ステップと、
前記採点ステップにて採点されたユーザの演奏操作が所定得点以上の場合に、前記演奏データ記録ステップで記録された演奏データを、対応する曲区間別にメモリ保存する演奏データ保存ステップと、
前記演奏データ保存ステップによって全ての曲区間の演奏データがメモリ保存された場合に、それら全ての曲区間の演奏データを曲本来の順序で再生する再生ステップと
を実行させることを特徴とするプログラム。 On the computer,
An order designating step for designating a reading order of section music data representing each sound, which is data stored in advance in a memory and each constituting each section of the music divided into a plurality of sections;
A guide step for guiding the key operation according to the section music data read from the memory in accordance with the reading order specified by the order specifying step;
A scoring step of scoring the user's performance operation according to whether or not the user has performed an appropriate performance operation for the key operation guided by the guide step;
A performance data recording step for recording a user's performance operation corresponding to the key operation guided by the guide step as performance data;
A performance data storage step for storing the performance data recorded in the performance data recording step in a corresponding song section when the performance operation of the user scored in the scoring step is a predetermined score or more;
When the performance data of all the song sections is stored in the memory by the performance data storing step, the program is configured to execute a reproduction step of reproducing the performance data of all the song sections in the original order of the songs.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009175549A JP2011028105A (en) | 2009-07-28 | 2009-07-28 | Musical performance-practicing device and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009175549A JP2011028105A (en) | 2009-07-28 | 2009-07-28 | Musical performance-practicing device and program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2011028105A true JP2011028105A (en) | 2011-02-10 |
Family
ID=43636896
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009175549A Pending JP2011028105A (en) | 2009-07-28 | 2009-07-28 | Musical performance-practicing device and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2011028105A (en) |
-
2009
- 2009-07-28 JP JP2009175549A patent/JP2011028105A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4094236B2 (en) | Performance support apparatus, performance support method, and performance support program for realizing the method on a computer | |
| US7288711B2 (en) | Chord presenting apparatus and storage device storing a chord presenting computer program | |
| JP7035697B2 (en) | Singing practice device, singing practice method, and program | |
| US6337434B2 (en) | Music teaching instrument | |
| JP2001242859A (en) | Automatic accompaniment apparatus and automatic accompaniment method | |
| JP2007147792A (en) | Performance learning apparatus and performance learning program | |
| JP2002189466A (en) | Performance training device and performance training method | |
| JP4650182B2 (en) | Automatic accompaniment apparatus and program | |
| JP2010243617A (en) | Performance guide apparatus and program | |
| JP2011028105A (en) | Musical performance-practicing device and program | |
| JP4221567B2 (en) | Performance practice device, performance practice method and performance practice program | |
| JP2009198657A (en) | Musical performance training apparatus and musical performance training program | |
| JP2002182642A (en) | Performance guidance device and performance guidance method | |
| JP3781167B2 (en) | Performance information input device and performance information input method | |
| JP4517299B2 (en) | Code learning device and code learning program | |
| JP4697666B2 (en) | Music score display device and music score display program | |
| JP2017125955A (en) | Keyboard with accompaniment function | |
| JP2000259151A (en) | Automatic accompaniment device | |
| JP3809751B2 (en) | Performance guidance device and performance guidance method | |
| JP2013160871A (en) | Performance guide device and program | |
| JP4534926B2 (en) | Image display apparatus and program | |
| JP2021026141A (en) | Chord detection device and chord detection program | |
| JP2009294678A (en) | Musical performance training apparatus and musical performance training program | |
| JP3809789B2 (en) | Performance guidance device and performance guidance method | |
| JP4635577B2 (en) | Performance practice device and performance practice program |