JP2555560B2 - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JP2555560B2
JP2555560B2 JP6291682A JP29168294A JP2555560B2 JP 2555560 B2 JP2555560 B2 JP 2555560B2 JP 6291682 A JP6291682 A JP 6291682A JP 29168294 A JP29168294 A JP 29168294A JP 2555560 B2 JP2555560 B2 JP 2555560B2
Authority
JP
Japan
Prior art keywords
key
pitch
melody
mode
generation processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP6291682A
Other languages
Japanese (ja)
Other versions
JPH07219548A (en
Inventor
茂 松山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP6291682A priority Critical patent/JP2555560B2/en
Publication of JPH07219548A publication Critical patent/JPH07219548A/en
Application granted granted Critical
Publication of JP2555560B2 publication Critical patent/JP2555560B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、音高指定手段の操作に
応じて予め記憶されているメロディが演奏される電子楽
器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument in which a pre-stored melody is played in response to an operation of pitch specifying means.

【0002】[0002]

【従来の技術】従来の電子楽器において、メロディガイ
ドモードと呼称されるモードを備えたものがある。これ
は、ROMパック等に記憶されているメロディが鍵盤の
押鍵操作に応じて自動的に進行していくものであり、発
音すべきメロディ音の音高に対応する鍵を指示するLE
D(発効ダイオード)等を点灯させることにより、押鍵
すべき鍵が報知されるようになっている。そして、メロ
ディ進行に応じて順次点灯するLEDの指示する鍵が押
鍵されたときのみ当該メロディ音が発音され、指示され
ていない誤った鍵を押鍵されるとメロディ音が発音され
ず、メロディの進行が止まるので、初心者でもメロディ
演奏の正しい押鍵操作を容易に習得することができる。
2. Description of the Related Art Some conventional electronic musical instruments have a mode called a melody guide mode. This is because the melody stored in the ROM pack or the like automatically advances in response to a key depression operation on the keyboard, and an LE that indicates a key corresponding to the pitch of the melody tone to be pronounced.
The key to be pressed is notified by turning on D (effect diode) or the like. Then, the melody sound is generated only when the keys designated by the LEDs that are sequentially turned on according to the progress of the melody are pressed, and when the wrong key that is not designated is pressed, the melody sound is not generated and the melody sound is not generated. Since the progress of the procedure stops, even a beginner can easily learn the correct key-press operation for playing a melody.

【0003】また、従来の電子楽器において、上記メロ
ディガイドモードに加えANY KEY PLAYモードと呼称され
るモードも備えたものもある。このANY KEY PLAYモード
においては、鍵盤の任意の鍵の押鍵される毎に、その押
鍵タイミングで、その押鍵により指定される音高の楽音
ではなく、予め記憶されているメロディ音が順次発音さ
れる。したがって、ANY KEY PLAYモードを選択すれば、
演奏するメロディのリズムに合わせて押鍵を行うことに
より、その押鍵タイミングでメロディが自動的に進行し
ていくので、初心者でも種々のメロディを正しいリズム
で容易に演奏することができる。
Some conventional electronic musical instruments have a mode called ANY KEY PLAY mode in addition to the melody guide mode. In this ANY KEY PLAY mode, every time any key on the keyboard is pressed, the melody sound that is stored in advance is not stored at the key-press timing but the musical tone specified by that key. Is pronounced. Therefore, if you select ANY KEY PLAY mode,
By pressing a key in accordance with the rhythm of the melody to be played, the melody automatically advances at the key pressing timing, so that even a beginner can easily play various melody with the correct rhythm.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記二つのモ
ードを備えた従来の電子楽器は、一方のモードから他方
のモードに切り換えると選曲待ちの状態になり、同じメ
ロディの演奏を継続して行うことができない。このた
め、改めて選曲を行った後メロディの初めの部分から再
び演奏することになり、極めて不便であった。
However, the conventional electronic musical instrument provided with the above two modes is in a state of waiting for selection of music when switching from one mode to the other mode, and continues to play the same melody. I can't. For this reason, after selecting the music again, it is extremely inconvenient to play again from the beginning of the melody.

【0005】例えば、メロディガイドモードで、途中ま
でしか正しく演奏できない最初の部分が演奏の易しい曲
を、演奏の難しい個所からさらに正しく演奏したい場合
は、一旦押鍵操作の容易なANY KEY PLAYモードに切り換
えてから、同じ曲を選択し、その後でその曲を最初から
演奏し直さなければならなかった。すなわち、このよう
な場合、曲全体を連続して演奏したい場合には、ANY KE
Y モードで演奏するしかなかった。
For example, in the melody guide mode, if you want to play a song that is easy to play in the first part that can only be played correctly halfway, and want to play it more correctly from a difficult place to play, switch to the ANY KEY PLAY mode where the key operation is easy. After switching, I had to select the same song and then replay it from the beginning. That is, in this case, if you want to play the entire song continuously, use ANY KE
I had no choice but to play in Y mode.

【0006】また、逆に、初めの部分が演奏の難しい曲
は、ANY KEY PLAYモードで演奏を開始するしかなく、演
奏の易しい部分からメロディガイドモードに切り換え
て、演奏を続けることは不可能であり、この場合にも結
局ANY KEY PLAYモードのまま全ての演奏を行うしかなか
った。しかしながら、ANY KEY モードにおける演奏は、
実際に演奏を行ったという実感に乏しくユーザにとって
満足感の得られるものではなかった。
On the contrary, for a song whose beginning part is difficult to play, it is only possible to start playing in the ANY KEY PLAY mode, and it is impossible to switch from the easy-to-play part to the melody guide mode and continue playing. Yes, even in this case, I had no choice but to perform all the performances in ANY KEY PLAY mode. However, the performance in ANY KEY mode is
The feeling of actually playing was not good enough for the user.

【0007】本発明の課題は、曲の一部に難解な部分が
あっても、演奏を中断することなく最後まで継続して演
奏でき、かつ、演奏の容易な部分は実際のメロディ演奏
と同様な操作により演奏できる電子楽器を提供すること
である。
An object of the present invention is that even if there is a difficult part in a piece of music, the performance can be continued to the end without interruption, and the easy-to-play part is the same as the actual melody performance. It is to provide an electronic musical instrument that can be played by various operations.

【0008】[0008]

【課題を解決するための手段】本発明の手段は次の通り
である。請求項1記載の発明では、音高指定手段は、例
えば請求項5記載のように複数個の鍵等から成り、任意
の音高を指定する。
The means of the present invention are as follows. In the invention according to claim 1, the pitch designating means is composed of a plurality of keys as described in claim 5, for example, and designates an arbitrary pitch.

【0009】音高情報記憶手段は、例えば装置本体に脱
着可能なROMパック、若しくはROMチップ等から成
り、任意のメロディを構成する各メロディ音の音高を示
す音高情報を記憶する。上記音高情報は例えば各音高に
対して1対1に対応づけられた2進値もしくは16進値
のデータから成り、メロディの進行順に記憶される。
The pitch information storage means is composed of, for example, a ROM pack or a ROM chip that can be attached to and detached from the main body of the apparatus, and stores pitch information indicating the pitch of each melody sound that constitutes an arbitrary melody. The pitch information is composed of binary or hexadecimal value data, which is associated with each pitch one-to-one, and is stored in the order of progression of the melody.

【0010】読出手段は、例えばマイクロプロセッサ等
から成り、上記音高情報記憶手段から上記音高情報をメ
ロディ進行順に順次読み出す。指示手段は、例えば発光
ダイオード等から成り、現在操作すべき音高指定手段を
順次指示する。
The reading means is composed of, for example, a microprocessor or the like, and sequentially reads the pitch information from the pitch information storage means in the order of melody progression. The instructing means is composed of, for example, a light emitting diode or the like, and sequentially instructs the pitch specifying means to be currently operated.

【0011】発音処理手段は、上記読出手段にて読み出
された上記音高情報に基づいて発音処理を行う。この発
音処理手段による発音は、例えばMIDI(Musical Ins
trument digital Interface)に基づくMIDI情報の送
信によりMIDI音源を制御したり、内蔵または外部の
デジタル音源、アナログ音源を制御することにより行
う。
The sound generation processing means performs sound generation processing based on the pitch information read by the reading means. The pronunciation by this pronunciation processing means is, for example, MIDI (Musical Ins
It is performed by controlling the MIDI sound source by transmitting MIDI information based on the digital audio interface (Trument Digital Interface) or by controlling the built-in or external digital sound source or analog sound source.

【0012】検出手段は、例えばマイクロプロセッサ等
から成り、上記指示手段により指示された音高指定手段
と操作された音高指定手段との一致/不一致を検出す
る。一致数計数手段は、例えばRAM内のレジスタ等で
あり、検出手段により検出された一致の数を計数する。
The detection means is composed of, for example, a microprocessor, and detects the match / mismatch between the pitch designation means designated by the designation means and the pitch designation means operated. The coincidence counting means is, for example, a register in the RAM, and counts the number of coincidences detected by the detecting means.

【0013】不一致数計数手段も、例えばRAM内のレ
ジスタ等であり、上記検出手段により検出された不一致
の数を計数する。第1の制御手段は、例えばマイクロプ
ロセッサ等であり、上記複数の音高指定手段が操作され
る毎に上記発音処理手段に発音処理を行うよう指示す
る。
The disagreement number counting means is also a register in the RAM, for example, and counts the number of disagreements detected by the detection means. The first control means is, for example, a microprocessor, and instructs the sound generation processing means to perform sound generation processing each time the plurality of pitch designating means is operated.

【0014】第2の制御手段も、例えばマイクロプロセ
ッサ等であり、上記複数の音高指定手段が操作され、な
おかつ、上記検出手段により一致が検出されると上記発
音処理手段に発音処理を行うよう指示する。
The second control means is also, for example, a microprocessor and the like, and when the plurality of pitch designating means is operated and the coincidence is detected by the detecting means, the sound producing processing means is made to perform sound producing processing. Give instructions.

【0015】選択手段は、上記第1の制御手段により上
記発音処理手段を制御するか、或いは、上記第2の制御
手段により上記発音処理手段を制御するか択一的に選択
する。
The selecting means selectively selects whether the first control means controls the sounding processing means or the second control means controls the sounding processing means.

【0016】第3の制御手段は、上記不一致数計数手段
により計数された数が第1の所定値に達すると上記選択
手段に対し、上記第1の制御手段により上記発音処理手
段を制御することを選択するよう指示し、上記一致計数
手段により計数された数が第2の所定値に達すると上記
選択手段に対し、上記第2の制御手段により上記発音処
理手段を制御することを選択するよう指示する。
The third control means controls the sound generation processing means by the first control means with respect to the selection means when the number counted by the mismatch count counting means reaches a first predetermined value. When the number counted by the coincidence counting means reaches a second predetermined value, the selecting means is selected to control the sound generation processing means by the second control means. Give instructions.

【0017】上記第1または第2の所定値は、例えば請
求項2記載のようにそれぞれ任意の数であってよく、ま
た、例えば請求項3記載のように上記メロディの複雑さ
に応じてそれぞれ自動的に設定されるようにでき、さら
にまた、請求項4記載のようにそれぞれユーザが設定す
るようにもできる。
The first or second predetermined value may be an arbitrary number, for example, as described in claim 2, or, for example, as described in claim 3, depending on the complexity of the melody. It can be set automatically, and can also be set by the user, respectively.

【0018】[0018]

【作用】本発明の手段の作用は次の通りである。読出手
段により、メロディ音の音高を示す音高情報が音高情報
記憶手段から順次読み出されると、指示手段によりその
音高を示す音高情報に対応する次に操作すべき音高指定
手段が順次指示される。
The operation of the means of the present invention is as follows. When the reading means sequentially reads out the pitch information indicating the pitch of the melody tone from the pitch information storage means, the pitch specifying means to be operated next corresponding to the pitch information indicating the pitch is specified by the instructing means. Instructed sequentially.

【0019】その指示に応じて音高指定手段が操作され
ると、検出手段により、指示手段により指示された音高
指定手段と操作された音高指定手段との一致/不一致が
検出される。
When the pitch designating means is operated in response to the instruction, the detecting means detects a match / mismatch between the pitch designating means designated by the designating means and the operated pitch designating means.

【0020】そして、一致数計数手段により一致の数が
計数され、不一致数計数手段により不一致の数が計数さ
れる。そして、不一致数計数手段により計数された数が
第1の所定値に達すると、第3の制御手段は、選択手段
に対し、第1の制御手段により発音処理手段を制御する
選択を行うように指示する。また、第3の制御手段は、
一致計数手段により計数された数が第2の所定値に達す
ると、選択手段に対し、第2の制御手段により発音処理
手段を制御する選択を行うように指示する。
The number of coincidences is counted by the coincidence number counting means, and the number of disagreements is counted by the disagreement number counting means. When the number counted by the mismatch count counting means reaches the first predetermined value, the third control means causes the selection means to make a selection for controlling the sound generation processing means by the first control means. Give instructions. In addition, the third control means,
When the number counted by the coincidence counting means reaches the second predetermined value, the selecting means is instructed to make a selection for controlling the sound generation processing means by the second control means.

【0021】そして、選択手段により、第1の制御手段
が選択されたときは、複数の音高指定手段が操作される
毎に発音処理手段に対し発音処理が指示されるが、第2
の制御手段が選択されたときは、複数の音高指定手段が
操作され、なおかつ、検出手段により一致が検出された
ときのみ発音処理手段に対し発音処理が指示される。
When the selection means selects the first control means, the sound generation processing means is instructed to perform sound generation processing each time the plurality of pitch designating means is operated.
When the control means is selected, a plurality of pitch designating means are operated, and the sound generation processing means is instructed to generate sound only when the matching means is detected by the detection means.

【0022】そして、発音処理手段は、第1の制御手段
または第2の制御手段の指示に応じて発音処理を行う。
したがって、指示手段により指示される音高指定手段と
実際に操作された音高指定手段との一致、不一致の数が
計数され、一致数が第1の所定値に達すると、以後一致
したときのみ発音処理が行われ、一方、不一致の数が第
2の所定値に達したときは以後いずれの音高指定手段の
操作によっても発音処理が行われる。このため、曲の平
易な部分は、音高指定手段により正しい音高を指示しな
がら演奏でき、演奏の困難な部分になったときは、任意
の音高指定手段を操作しながら、曲を中断することなく
演奏を継続できる。
Then, the sound generation processing means performs sound generation processing in accordance with an instruction from the first control means or the second control means.
Therefore, the number of coincidences and non-coincidences between the pitch designating means designated by the designating means and the actually operated pitch designating means are counted, and when the number of coincidences reaches the first predetermined value, only when the subsequent coincidences occur. The tone generation process is performed. On the other hand, when the number of mismatches reaches the second predetermined value, the tone generation process is performed by any operation of the pitch designating means. Therefore, the simple part of the song can be played while instructing the correct pitch by the pitch designating means, and when it becomes difficult to play, the song can be interrupted while operating any pitch designating means. You can continue playing without doing.

【0023】[0023]

【実施例】以下、図面を参照しながら本発明の実施例に
ついて説明する。 {構 成}図1は、本発明に係わる一実施例のシステム
構成図である。
Embodiments of the present invention will be described below with reference to the drawings. {Configuration} FIG. 1 is a system configuration diagram of an embodiment according to the present invention.

【0024】同図において、CPU1は、リード・オン
リ・メモリであるプログラムROM2に格納されている
プログラムに従って動作する中央演算処理装置(Centra
l Processing Unit)であり、例えばマイクロプロセッサ
等から成る。
In FIG. 1, a CPU 1 is a central processing unit (Centra) which operates according to a program stored in a program ROM 2 which is a read only memory.
l Processing Unit), which includes, for example, a microprocessor.

【0025】また、演奏データメモリ3は、メロディデ
ータ及びそのメロディデータに対する伴奏データ(コー
ド、リズム、ベース等の各パターンから成る)から成る
自動演奏用の楽曲データを記憶しているメモリであり、
例えば装置本体に脱着自在なROMパック等から成る。
この演奏データメモリ3に記憶されている楽曲データは
後述する ANY KEY PLAY モード、もしくはメロディガ
イドモードにおいてCPU1により読み出される。
The performance data memory 3 is a memory for storing music data for automatic performance, which is composed of melody data and accompaniment data (consisting of patterns of chords, rhythms, basses, etc.) for the melody data,
For example, it is composed of a ROM pack or the like that can be attached to and detached from the apparatus body.
The music data stored in the performance data memory 3 is read by the CPU 1 in an ANY KEY PLAY mode or a melody guide mode described later.

【0026】さらに、鍵盤部4は図2に示すように「F
2 」〜「C5 」までの2.5オクターブの音域内の半音
毎の各音高(これらの音高には、最低音高から順に連続
番号である音階データが割り当てられている)を指定す
る32個の鍵を有しており、鍵を押鍵したときにはオン
信号が、鍵を押鍵していないときにはオフ信号が、各鍵
毎に独立に、押鍵検出回路5を介してCPU1に出力さ
れる。
Further, as shown in FIG. 2, the keyboard section 4 is "F".
Specify each pitch for each semitone in the 2.5 octave range from "2" to "C5" (these pitches are assigned scale data that are consecutive numbers in order from the lowest pitch). It has 32 keys, and outputs an ON signal when a key is pressed and an OFF signal when no key is pressed to the CPU 1 independently for each key through the key detection circuit 5. To be done.

【0027】CPU1は、押鍵検出回路5を介して鍵盤
部4の各鍵から出力されるステイタス信号(オン信号/
オフ信号)を所定周期で順次スキャンして、そのスキャ
ン毎に各鍵のステイタス(オン状態/オフ状態)をラン
ダム・アクセス・メモリであるワーキングRAM8内の
キー・ステイタス格納域8a内に格納する。
The CPU 1 outputs a status signal (ON signal / ON signal / output from each key of the keyboard section 4 via the key pressing detection circuit 5).
The OFF signal) is sequentially scanned at a predetermined cycle, and the status (ON state / OFF state) of each key is stored in the key status storage area 8a in the working RAM 8 which is a random access memory for each scan.

【0028】また、スイッチ部6は、PLAYモード、AUTO
モード、メロディガイドモード、並びにANY KEY PLAYモ
ードの各モードを択一的に選択するスライド操作式のモ
ード選択スイッチ、後述詳しく説明するように、誤った
所定回数の連続押鍵操作、もしくは、正しい所定回数の
連続押鍵操作に応じて上記メロディガイドモードとANY
KEY PLAYモードとが自動的に交互に切り換わるように設
定する自動切換スイッチ、演奏データメモリ3に記憶さ
れている最大10曲の中から任意の1曲を選曲するため
の「0」〜「9」の曲番号が付与された曲セレクトスイ
ッチ等から成っており、各スイッチのステイタス(オン
状態/オフ状態)は、スイッチ検出回路7を介してCP
U1へ出力される。
Further, the switch section 6 has a PLAY mode, an AUTO mode.
Mode, melody guide mode, and ANY KEY PLAY mode, a slide-operated mode selection switch that selectively selects each mode. Depending on the number of consecutive key press operations, the melody guide mode and ANY
Automatic changeover switch to set to alternate automatically with KEY PLAY mode, "0" to "9" for selecting any one song from the maximum 10 songs stored in the performance data memory 3 The song selection switch or the like is given a song number, and the status (on / off state) of each switch is controlled by the CP through the switch detection circuit 7.
Output to U1.

【0029】ここで、上記各モードを説明する。 PLAYモード・・・鍵盤部4の各鍵の押鍵に応じて、その
押鍵された鍵に対応する音高の楽音が発生されるモー
ド。 AUTOモード・・・演奏データメモリ3に記憶されている
メロディデータ及び伴奏データ(リズム、コード、ベー
ス)に基づいて、メロディ並びにリズム、コード、ベー
スから成る伴奏が自動演奏されるモード。 メロディガイドモード・・・演奏データメモリ3に記憶
されているメロディデータに基づいて、押鍵すべき鍵に
対応するLEDが点灯して押鍵すべき鍵を指示し、その
指示された鍵が押鍵されると、当該メロディ音が発音さ
れると共に、点灯していたLEDが消灯し、次に押鍵す
べき鍵に対応するLEDが新たに点灯する。また、指示
されていない間違った鍵が押鍵された場合には、当該メ
ロディ音の発音は行われない。また、上記自動切換スイ
ッチがオンとなっていれば、連続する所定回数の誤った
押鍵操作が続いた場合、自動的にANY KEY PLAYモードに
切り換わる。 ANY KEY PLAYモード・・・押鍵中、離鍵中を問わず、新
たな押鍵操作毎にメロディが1音ずつ進行する。また、
自動切換スイッチがオンとなっていれば、正しい押鍵操
作が所定回数連続して行われると、自動的にメロディガ
イドモードに切り換わる。
Here, each of the above modes will be described. PLAY mode: a mode in which, when a key of the keyboard section 4 is pressed, a musical tone having a pitch corresponding to the pressed key is generated. AUTO mode: A mode in which the melody and the accompaniment consisting of rhythm, chord, and bass are automatically played based on the melody data and accompaniment data (rhythm, chord, bass) stored in the performance data memory 3. Melody guide mode: Based on the melody data stored in the performance data memory 3, the LED corresponding to the key to be pressed lights up to indicate the key to be pressed, and the specified key is pressed. When the key is pressed, the melody sound is sounded, the LED that has been turned on goes out, and the LED corresponding to the key to be pressed next is newly turned on. When a wrong key which is not instructed is pressed, the melody sound is not sounded. Further, if the automatic changeover switch is turned on, the ANY KEY PLAY mode is automatically switched to after a predetermined number of consecutive erroneous key pressing operations. ANY KEY PLAY mode: A melody advances one note each time a new key is pressed, regardless of whether the key is being pressed or released. Also,
If the automatic changeover switch is turned on, the melody guide mode is automatically switched to when the correct key pressing operation is continuously performed a predetermined number of times.

【0030】また、ワーキングRAM8は、後述するよ
うに上記メロディガイドモードまたはANY KEY PLAYモー
ドにおいて、CPU1が使用する各種レジスタ、フラ
グ、上記鍵盤部4の各鍵の最新のキースキャン時のステ
イタスを記憶するキーステイタス格納領域8a、さら
に、各鍵の前回のキースキャン時のステイタスを記憶す
るキーステイタス格納領域8b等を有している。
Further, the working RAM 8 stores various registers and flags used by the CPU 1 in the melody guide mode or the ANY KEY PLAY mode, as described later, and status of the latest key scan of each key of the keyboard section 4. It also has a key status storage area 8a, and a key status storage area 8b for storing the status of each key at the time of the previous key scan.

【0031】さらに、楽音発生回路9は、例えばPCM
音源、CD音源等のデジタル音源を有し、CPU1から
加わる楽音制御信号に応じて、デジタル楽音信号の発生
を行う。そして、楽音発生回路9から発生されるデジタ
ル楽音信号はD/A変換器(デジタル/アナログ変換
器)10により、アナログ楽音信号に変換された後、ア
ンプ11、及びスピーカ12を介して外部に放音され
る。
Further, the tone generating circuit 9 is, for example, a PCM.
It has a digital sound source such as a sound source and a CD sound source, and generates a digital tone signal in accordance with a tone control signal applied from the CPU 1. The digital tone signal generated from the tone generation circuit 9 is converted into an analog tone signal by a D / A converter (digital / analog converter) 10 and then released to the outside via an amplifier 11 and a speaker 12. Is sounded.

【0032】図3(a) 〜(g) は、メロディガイドモード
又はANY KEY PLAYモードが選択されているときに、CP
U1が使用するワーキングRAM8内の主要領域並びに
レジスタを示す構成図である。
FIGS. 3A to 3G show the CP when the melody guide mode or the ANY KEY PLAY mode is selected.
It is a block diagram which shows the main area and register in the working RAM8 which U1 uses.

【0033】キーステイタス格納域 同図(a) は、鍵盤部4に設けられた32個の鍵の最新の
キースキャンにより得られたステイタス(オン/オフ状
態)を記憶するキーステイタス格納域8aの構成図であ
る。
Key status storage area FIG. 3A shows a key status storage area 8a for storing the status (on / off state) obtained by the latest key scan of 32 keys provided in the keyboard section 4. It is a block diagram.

【0034】ワーキングRAM8は、1ワードが8ビッ
ト構成であり、キーステイタス格納域8aはアドレスS
T0 、ST1 、ST2 、及びST3 で指定される4ワー
ド(32ビット)の容量を有する。そして、32ビット
の各ビットには、同図(a) に示すように、「F2 」〜
「C5 」までの半音単位の各音高の鍵のステイタスがそ
れぞれ格納される。尚、上記各ビットには、押鍵されて
いるときに「1」が、離鍵されているときに「0」がセ
ットされる。
The working RAM 8 has an 8-bit structure for one word, and the key status storage area 8a has an address S.
It has a capacity of 4 words (32 bits) designated by T0, ST1, ST2, and ST3. Then, for each of the 32 bits, as shown in FIG.
The key statuses of each pitch in semitones up to "C5" are stored. In addition, "1" is set to each bit when the key is pressed, and "0" is set when the key is released.

【0035】次に、同図(b) は、前回のキースキャンに
より得られた上記32個の鍵のステイタスを記憶するキ
ーステイタス格納域8bの構成図である。キーステイタ
ス格納域8bは、アドレスがST´0 、ST´1 、ST
´2 、及びST´3 から成る4ワード(32ビット)構
成であり、そのビット構成は上記キーステイタス格納域
8aと同一である。
Next, FIG. 6B is a block diagram of the key status storage area 8b for storing the statuses of the 32 keys obtained by the previous key scan. The key status storage area 8b has addresses ST'0, ST'1, ST
It has a four-word (32-bit) configuration consisting of '2 and ST'3, and its bit configuration is the same as that of the key status storage area 8a.

【0036】音階データ格納域 同図(c) に示す音階データ格納域Kdは、CPU1によ
り演奏データメモリ3から読み出された音階データが格
納される1ワード(8ビット)の領域であり、「F2 」
〜「C5 」の各音高の音階データが、それぞれ「000000
00」(=「F2」)、「00000001」(「F2#」)、・・
・「00011111」(「C5 」)のシリアル番号で格納され
る。
Scale Data Storage Area The scale data storage area Kd shown in FIG. 3C is a 1-word (8-bit) area in which the scale data read from the performance data memory 3 by the CPU 1 is stored. F2 "
~ Scale data of each pitch of "C5" is "000000"
"00" (= "F2"), "00000001"("F2#"), ...
-It is stored with the serial number of "00011111"("C5").

【0037】モードフラグMD モードフラグMDは、同図(d) に示すように8ビットの
レジスタであり、下位の3ビットがフラグとして使用さ
れる。その下位3ビットは、PLAYモードのときは「000
」(「0」)を、AUTOモードのときは「001 」
(「1」)を、メロディガイドモードのときは「X10 」
をセットされる。「X10 」のX で示すビットには、モー
ド固定のときは「0」が、モード自動切り換えのときは
「1」がセットされる。即ちメロディガイドモードが固
定であるときはフラグは「010 」(「2」)となり、自
動切換えのときは「110 」(「6」)となる。
Mode flag MD The mode flag MD is an 8-bit register as shown in FIG. 3D, and the lower 3 bits are used as a flag. The lower 3 bits are "000 when in PLAY mode.
"(" 0 "), or" 001 "in AUTO mode
("1") is displayed as "X10" when in melody guide mode
Is set. The bit indicated by X in "X10" is set to "0" when the mode is fixed and to "1" when the mode is automatically switched. That is, the flag is "010"("2") when the melody guide mode is fixed, and "110"("6") when the automatic switching is performed.

【0038】また、モードフラグMDは、ANY KEY PLAY
モードのときは「X11 」をセットされる。この場合もX
で示すビットには、モード固定のときは「0」が、モー
ド自動切り換えのときは「1」がセットされる。即ちAN
Y KEY PLAYモードが固定であるときはフラグは「011 」
(「3」)となり、自動切り換えのときは「111 」
(「7」)となる。
The mode flag MD is ANY KEY PLAY.
"X11" is set in mode. Again, X
The bit indicated by is set to "0" when the mode is fixed and "1" when the mode is automatically switched. Ie AN
The flag is "011" when the Y KEY PLAY mode is fixed.
(“3”), and “111” when switching automatically
(“7”).

【0039】カウンタOC カウンタOCは、同図(e) に示すように8ビット構成の
カウンタであり、「0」にリセットすることにより初期
設定され、メロディガイドモードにおいては間違った押
鍵の連続操作回数を、ANY KEY PLAYモードにおいては正
しい押鍵の連続操作回数を計数する。
Counter OC The counter OC is an 8-bit counter as shown in (e) of the figure, which is initialized by resetting to "0", and in the melody guide mode, the wrong continuous key depression operation is performed. In the ANY KEY PLAY mode, the number of correct key pressing operations is counted.

【0040】正鍵レジスタMV1 正鍵レジスタMV1も同図(f) に示すように、8ビット
から成る領域を有し、自動切換スイッチがオンとなって
いるとき、ANY KEY PLAYモードからメロディガイドモー
ドへ切換えるための正しい押鍵の連続操作回数が予め設
定される。
Primary key register MV1 The primary key register MV1 also has an area consisting of 8 bits as shown in FIG. 6 (f), and when the automatic changeover switch is on, the mode changes from ANY KEY PLAY mode to melody guide mode. The correct number of consecutive key pressing operations for switching to is preset.

【0041】誤鍵レジスタMV2 誤鍵レジスタMV2も同図(g) に示すように、8ビット
から成る領域を有し、自動切換スイッチがオンとなって
いるとき、メロディガイドモードからANY KEYPLAYモー
ドへ切換えるための間違った押鍵の連続操作回数が予め
設定される。
Wrong key register MV2 Wrong key register MV2 also has an area consisting of 8 bits as shown in FIG. 9 (g), and when the automatic changeover switch is on, the melody guide mode is changed to the ANY KEY PLAY mode. The number of consecutive wrong key press operations for switching is preset.

【0042】{動 作}次に、上記構成の実施例の動作
を説明する。概略動作 まず、本発明に係わる要部であるメロディガイドモード
(又はANY KEY PLAYモード)が選択され、かつ自動切換
スイッチがオンとなったときの動作を説明する。
{Operation} Next, the operation of the embodiment having the above configuration will be described. General Operation First, the operation when the melody guide mode (or ANY KEY PLAY mode), which is the main part of the present invention, is selected and the automatic changeover switch is turned on will be described.

【0043】演奏者は、まずモード選択スイッチの操作
によりメロディガイドモードを選択し、さらに、自動切
換スイッチをオン操作する。このことにより、鍵盤部4
の32鍵それぞれに対応して配設されているLEDが、
発音されるメロディ音の音高に対応する鍵に属するもの
から逐次メロディの進行に応じて点灯されるようにな
り、この点灯したLEDに対応する鍵を順次押鍵操作す
ることによりメロディ演奏ができる。
The player first selects the melody guide mode by operating the mode selection switch, and further turns on the automatic changeover switch. As a result, the keyboard 4
The LEDs arranged for each of the 32 keys of
The keys belonging to the key corresponding to the pitch of the melody tone to be sounded are sequentially turned on in accordance with the progress of the melody, and the keys corresponding to the turned-on LEDs are sequentially pressed to perform a melody performance. .

【0044】このメロディガイドモードにおいては、鍵
盤部4の各鍵は、直接対応する音高を指定する鍵として
は機能せず、メロディを1音づつ進行させるためのトリ
ガー手段として機能する。ただし、その進行する当該メ
ロディ音に対応している鍵のみが有効に機能する。そし
て、上記メロディ音に対応しない鍵が連続して所定回数
以上操作されると、自動的にANY KEY PLAYモードに切り
換わり、32鍵全てがトリガー手段として有効に機能す
るようになる。したがって、上記同様に発音されるメロ
ディ音の音高に対応する鍵に属するLEDの点灯が行わ
れていても、その点灯したLEDにより示される鍵の押
鍵操作が難しく困難なときは、任意の鍵を押鍵操作して
演奏を進めることができる。また、LEDにより示され
る鍵の押鍵操作が容易となり正しい押鍵操作を連続して
所定回数以上行うと、ANY KEY PLAYモードからメロディ
ガイドモードに自動的に切り換わる。
In this melody guide mode, each key of the keyboard section 4 does not function as a key for directly specifying the corresponding pitch, but as a trigger means for advancing the melody one note at a time. However, only the key corresponding to the melody sound that progresses works effectively. When a key that does not correspond to the melody tone is operated a predetermined number of times or more in succession, the mode automatically switches to the ANY KEY PLAY mode, and all 32 keys function effectively as trigger means. Therefore, even if the LED belonging to the key corresponding to the pitch of the melody sound produced in the same manner as described above is turned on, if it is difficult and difficult to press the key indicated by the turned-on LED, an arbitrary You can proceed with the performance by pressing the keys. Further, the key pressing operation indicated by the LED becomes easy, and when the correct key pressing operation is continuously performed a predetermined number of times or more, the ANY KEY PLAY mode is automatically switched to the melody guide mode.

【0045】また、初めに、ANY KEY PLAYモードが選択
されている場合でも、上記同様に正しい押鍵操作を連続
して所定回数以上行うことにより、メロディガイドモー
ドに切り換わる。このように、正しい押鍵操作が難しい
ときはANY KEY PLAYモードに、正しい押鍵操作を容易に
行うことができるようになるとメロディガイドモード
に、自動的にモードが切り換わる。
Further, even when the ANY KEY PLAY mode is initially selected, the melody guide mode is switched by continuously performing the correct key-depressing operation a predetermined number of times in the same manner as described above. In this way, the mode is automatically switched to the ANY KEY PLAY mode when the correct key pressing operation is difficult, and to the melody guide mode when the correct key pressing operation can be easily performed.

【0046】続いて、上述したようなメロディガイドモ
ード又はANY KEY PLAYモードにおけるメロディ演奏の制
御を行っているCPU1の動作を説明する。ゼネラル・フロー 図4は、プログラムROM2に格納されているプログラ
ムに従ってCPU1が行う処理の全体を説明するゼネラ
ル・フローチャートである。
Next, the operation of the CPU 1 which controls the melody performance in the melody guide mode or the ANY KEY PLAY mode as described above will be described. General Flow FIG. 4 is a general flowchart for explaining the overall processing performed by the CPU 1 according to the program stored in the program ROM 2.

【0047】特に図示しないスイッチの操作により電源
がオンにされると、CPU1はまずワーキングRAM8
内のキーステイタス格納域8a及び8b内の全ビットの
「0」クリア、キーオン・一致不一致カウンタOCの
「0」クリアを行い、さらに演奏データメモリ3からメ
ロディの最初の音階データを音階データ格納域Kdに格
納する等のイニシャライズ処理を行う(S1)。
When the power is turned on by the operation of a switch (not shown), the CPU 1 first determines the working RAM 8
All the bits in the key status storage areas 8a and 8b are cleared to "0", and the key-on / match / mismatch counter OC is cleared to "0". Furthermore, the first scale data of the melody from the performance data memory 3 is stored in the scale data storage area. Initialization processing such as storing in Kd is performed (S1).

【0048】続いて、押鍵検出回路5を介して鍵盤部4
の各鍵のステイタスを順次スキャン(走査)して、各鍵
のステイタスをキーステイタス格納域8aの各鍵に対応
するビットに格納する。さらに、続けてスイッチ検出回
路7を介してスイッチ部6のモード選択スイッチの状態
を読み出し、GUIDE スイッチがオンであればモードフラ
グMDに「010」を、ANY KEY PLAYモードが選択され
ていれば「011」をモードフラグMDにセットし、続
けて自動切換スイッチの状態を読み出して、オンとなっ
ていればモードフラグMDの第2ビットに「1」をセッ
トする。また、曲セレクトスイッチ操作により設定され
た曲番号を所定のレジスタに設定する等の処理も行う
(S2)。
Subsequently, the keyboard section 4 is passed through the key depression detection circuit 5.
The status of each key is sequentially scanned (scanned), and the status of each key is stored in the bit corresponding to each key in the key status storage area 8a. Further, subsequently, the state of the mode selection switch of the switch unit 6 is read out via the switch detection circuit 7. If the GUIDE switch is on, "010" is set to the mode flag MD, and if the ANY KEY PLAY mode is selected, ""011" is set in the mode flag MD, the state of the automatic changeover switch is subsequently read, and if it is on, "1" is set in the second bit of the mode flag MD. In addition, processing such as setting the song number set by operating the song select switch in a predetermined register is also performed (S2).

【0049】上記動作により、各スイッチの操作により
指定されるモードを示す値が、モードフラグMDにセッ
トされる。上記処理S2に続いて、CPU1は、上記モ
ードフラグMDの値を参照し、現在メロディガイドモー
ド又はANY KEY PLAYモードが選択されているか否か判別
する(S3)。
By the above operation, the value indicating the mode designated by the operation of each switch is set in the mode flag MD. Subsequent to the processing S2, the CPU 1 refers to the value of the mode flag MD to determine whether the melody guide mode or the ANY KEY PLAY mode is currently selected (S3).

【0050】そして、メロディガイドモード又はANY KE
Y PLAYモードが選択されていれば、続いて後述詳しく説
明する鍵盤処理を行う(S4)。次に、演奏データメモ
リ3に記憶されている、リズム、コード、ベース等の各
パートから成る伴奏情報に基づいてリズム音、コード
音、ベース音等の発音処理を行った後(S5)、再び前
記キースキャン処理S2に戻る。
Then, the melody guide mode or ANY KE
If the Y PLAY mode is selected, then a keyboard process described later in detail is performed (S4). Next, after performing the sound generation processing of the rhythm sound, the chord sound, the bass sound, etc. based on the accompaniment information composed of each part such as the rhythm, chord, bass, etc. stored in the performance data memory 3 (S5), again. The process returns to the key scan process S2.

【0051】このように、メロディガイドモード又はAN
Y KEY PLAYモードが選択されているときには、前記処理
S2〜処理S5が繰り返し行われる。一方、前記判別処
理S3で、メロディガイドモード又はANY KEY PLAYモー
ド以外のモードが選択されていれば、PLAYモード又はAU
TOモードの各モードに対応する処理を行う(S6)。こ
の処理S6は、本発明の要部ではないので、詳しい説明
は省略する。
In this way, the melody guide mode or AN
When the Y KEY PLAY mode is selected, the processes S2 to S5 are repeated. On the other hand, if a mode other than the melody guide mode or the ANY KEY PLAY mode is selected in the discrimination processing S3, the PLAY mode or AU
Processing corresponding to each mode of the TO mode is performed (S6). Since this processing S6 is not an essential part of the present invention, detailed description thereof will be omitted.

【0052】鍵盤処理 次に、前記鍵盤処理S4の詳細を図5のフローチャート
を参照しながら説明する。
Keyboard Processing Next, details of the keyboard processing S4 will be described with reference to the flowchart of FIG.

【0053】CPU1は、まずキーステイタス格納域8
aの鍵番号「1」〜「32」の各鍵のビットのステイタ
スを順次走査し、「1」となっている各ビットについ
て、キーステイタス格納域8bの対応するビットのステ
イタスが「0」であるか否か判別する(SB1)。そし
て、その対応ビットが「0」、すなわちステイタスが
「0」から「1」に変化していれば、すなわち、新たに
押鍵された鍵があれば、その番号(音階データの番号と
等しい)が音階データ格納域Kdに格納されているメロ
ディの音階データと一致するか否か判別する(SB
2)。そして、一致すれば、LEDで点灯案内されてい
る正しい鍵が押鍵操作されたと判断し、次に、モードフ
ラグMDの値を判別する(SB3)。
The CPU 1 firstly stores the key status storage area 8
The status of the bit of each key of the key numbers "1" to "32" of a is sequentially scanned, and for each bit of "1", the status of the corresponding bit of the key status storage area 8b is "0". It is determined whether or not there is (SB1). If the corresponding bit is "0", that is, the status changes from "0" to "1", that is, if there is a newly pressed key, its number (equal to the scale data number). Whether or not coincides with the scale data of the melody stored in the scale data storage area Kd (SB
2). If they match, it is determined that the correct key whose lighting is guided by the LED is pressed, and then the value of the mode flag MD is determined (SB3).

【0054】そして、モードフラグMDの値が「3」ま
たは「7」、すなわち、現在ANY KEY PLAYモードが選択
されていれば、さらに、そのモードフラグMDの値が
「7」すなわち自動切り換えが指定されているか否か判
別する(SB5)。そして、自動切り換えが指定されて
いれば、次に、カウンタOCを「1」加算して、正しい
押鍵操作の連続回数を計数する(SB6)。続いて、そ
のカウンタOCの値が、正鍵レジスタMV2に予め設定
されている値と一致するか否か判別し(SB7)、一致
しなければ直ちに後述する処理SB10〜SB12を行
うが、一致すれば、メロディガイドモードに移行可能な
回数まで連続して正しい押鍵操作が行なわれたと判断
し、モードフラグMDに「6」をセットしメロディガイ
ドモードに自動的に切り換える(SB8)。そして、カ
ウンタOCを「0」にリセットして(SB9)、後述す
る処理SB10〜SB12を行う。
If the value of the mode flag MD is "3" or "7", that is, if the ANY KEY PLAY mode is currently selected, the value of the mode flag MD is "7", that is, automatic switching is designated. It is determined whether or not it has been done (SB5). If automatic switching is designated, the counter OC is then incremented by "1" to count the number of consecutive correct key pressing operations (SB6). Then, it is determined whether or not the value of the counter OC matches the value preset in the primary key register MV2 (SB7), and if they do not match, the processes SB10 to SB12 to be described later are immediately performed. For example, it is determined that the correct key depression operation has been performed continuously up to the number of times that the melody guide mode can be entered, the mode flag MD is set to "6", and the melody guide mode is automatically switched (SB8). Then, the counter OC is reset to "0" (SB9), and the processes SB10 to SB12 described later are performed.

【0055】上記動作により、ANY KEY PLAYモードにお
いて、自動切換スイッチがオンとなってメロディガイド
モードへの自動切り換えが指定されていれば、正しい押
鍵操作が行われる毎にその操作回数が計数されていき、
正しい押鍵操作の連続回数が所定回数以上になると、正
しい押鍵操作のみが有効となるメロディガイドモードに
自動的に切り換わる。
By the above operation, in the ANY KEY PLAY mode, if the automatic changeover switch is turned on and the automatic changeover to the melody guide mode is designated, the number of times of operation is counted every time a correct key depression operation is performed. Continue
When the number of consecutive correct key-depressing operations exceeds a predetermined number, the melody guide mode in which only the correct key-depressing operation is valid is automatically switched.

【0056】一方、前記処理SB5でモードフラグMD
の値が「7」、すなわち自動切り換えを指定されていな
いANY KEY PLAYモードである場合は直ちに後述する処理
SB10に移行する。
On the other hand, in the process SB5, the mode flag MD
If the value of is "7", that is, in the ANY KEY PLAY mode in which automatic switching is not designated, the process immediately proceeds to processing SB10 described below.

【0057】上記動作により、ANY KEY PLAYモードにお
いてメロディガイドモードへの自動切り換えが指定され
ていなければ、正しい押鍵操作の連続押鍵操作回数は計
数されず、メロディガイドモードへの自動切り換えは行
われず、ANY KEY PLAYモードに固定される。
By the above operation, if the automatic switching to the melody guide mode is not specified in the ANY KEY PLAY mode, the number of continuous continuous key pressing operations of the correct key pressing operation is not counted, and the automatic switching to the melody guide mode is performed. Instead, it is fixed to ANY KEY PLAY mode.

【0058】ところで、前記処理SB3で、モードフラ
グMDの値が「2」又は「6」、すなわち現在メロディ
ガイドモードとなっていれば、誤った連続押鍵操作回数
を計数するカウンタOCを「0」にリセットする(SB
4)。
By the way, in the process SB3, if the value of the mode flag MD is "2" or "6", that is, if the melody guide mode is currently set, the counter OC for counting the number of erroneous continuous key pressing operations is set to "0". Reset to (SB
4).

【0059】続いて、音階データ格納域Kdに格納され
ている音階データを読み出し、その読み出した音階デー
タに対応する音高の楽音が発音されるように楽音発生回
路9を制御した後(SB10)、演奏データメモリ3か
らメロディの次の音階データを読み出し、音階データ格
納域Kdに格納する(SB11)。さらに、続いて、キ
ーステイタス格納域8aの各ビットの状態をキーステイ
タス格納域8bの対応する各ビットに転送して、今回の
キー走査により得られた32鍵の全てのステイタスをキ
ーステイタス格納域8bに記憶させ(SB12)、ゼネ
ラルフローに復帰する。
Subsequently, the scale data stored in the scale data storage area Kd is read out, and the tone generation circuit 9 is controlled so that a tone having a pitch corresponding to the read scale data is generated (SB10). The scale data next to the melody is read from the performance data memory 3 and stored in the scale data storage area Kd (SB11). Further, subsequently, the state of each bit of the key status storage area 8a is transferred to each corresponding bit of the key status storage area 8b, and all the statuses of the 32 keys obtained by this key scanning are transferred to the key status storage area. It is stored in 8b (SB12) and the flow returns to the general flow.

【0060】上記動作により、メロディガイドモードに
おいては、正しい押鍵操作(LEDが点灯している鍵の
押鍵)が行われる毎に、メロディガイドモードにおける
誤った押鍵操作の連続回数を計数するカウンタOCが
「0」にリセットされ、キーデータ格納域Kdに記憶さ
れている音階データに対応するメロディ音が発音され、
次のメロディ音の音階データがキーデータ格納域Kdに
格納される。
With the above operation, in the melody guide mode, every time a correct key depression operation (key depression of a key whose LED is lit) is performed, the number of consecutive wrong key depression operations in the melody guide mode is counted. The counter OC is reset to "0", the melody tone corresponding to the scale data stored in the key data storage area Kd is sounded,
The scale data of the next melody tone is stored in the key data storage area Kd.

【0061】一方、前記処理SB2で、押鍵操作された
鍵の番号が音階データ格納域Kdに格納されているメロ
ディの音階データと一致しない、すなわち誤った押鍵操
作が行われた場合は、次に、モードフラグMDの値を参
照して、現在メロディガイドモードが選択されているか
否か判別する(SB13)。そして、モードフラグMD
の値が「2」または「6」であれば現在メロディガイド
モードが選択されていると判別し、再び、モードフラグ
MDの値が「6」に等しいか否か判別することにより、
現在、自動切換スイッチがオンとなっているか否か判別
する(SB15)。そして、モードフラグMDの値が
「6」となっており自動切換スイッチがオンとなってい
れば、次に、カウンタOCに「1」を加算する(SB1
6)。さらに、続いて、そのカウンタOCの値が、誤鍵
レジスタMV1に設定されている値と一致するか否か判
別し(SB17)、一致しなければ直ちに前記処理SB
12を行うが、一致した場合は、誤った押鍵操作の連続
操作回数が押鍵操作の容易なANY KEY PLAYモードに切り
換えるべき回数に達したと判断し、モードフラグMDを
「7」に設定してANY KEY PLAYモードに切換え(SB1
8)、カウンタOCを「0」にリセットした後(SB1
9)、前記処理SB12を行う。
On the other hand, in the process SB2, when the key number of the depressed key does not match the scale data of the melody stored in the scale data storage area Kd, that is, when the wrong key operation is performed, Next, referring to the value of the mode flag MD, it is determined whether or not the melody guide mode is currently selected (SB13). Then, the mode flag MD
If the value of "2" or "6", it is determined that the melody guide mode is currently selected, and again by determining whether the value of the mode flag MD is equal to "6",
It is determined whether the automatic changeover switch is currently on (SB15). If the value of the mode flag MD is "6" and the automatic changeover switch is on, then "1" is added to the counter OC (SB1).
6). Further, subsequently, it is determined whether or not the value of the counter OC matches the value set in the error key register MV1 (SB17), and if they do not match, the process SB is immediately executed.
12 is performed, but if they match, it is determined that the number of continuous incorrect key pressing operations has reached the number of times to switch to the ANY KEY PLAY mode in which the key pressing operation is easy, and the mode flag MD is set to "7". And switch to ANY KEY PLAY mode (SB1
8) After resetting the counter OC to "0" (SB1
9), the process SB12 is performed.

【0062】上記動作により、メロディガイドモードに
おいて、自動切換スイッチがオン操作されて自動切り換
えが指定されると、誤った押鍵を行う毎にカウンタOC
が「1」加算されて誤った連続する押鍵操作が計数され
ていき、その計数値がメロディガイドモードにおいて許
容限界である誤った連続押鍵操作回数に達すると、押鍵
操作が容易なANY KEY PLAYモードに自動的に切り換わ
る。
With the above operation, in the melody guide mode, when the automatic changeover switch is turned on and the automatic changeover is designated, the counter OC is set every time a wrong key is pressed.
Is incremented by 1 and erroneous consecutive key pressing operations are counted, and when the count reaches the number of erroneous consecutive key pressing operations that is the allowable limit in the melody guide mode, ANY The mode automatically switches to KEY PLAY mode.

【0063】一方、前記処理SB15でモードフラグM
Dの値が「6」(自動切り換えを指示されているメロデ
ィガイドモード)でない場合は、前記処理SB16は行
わず直ちに前記処理SB12に移行する。
On the other hand, in the process SB15, the mode flag M
If the value of D is not "6" (melody guide mode for which automatic switching is instructed), the process SB16 is not performed and the process immediately proceeds to the process SB12.

【0064】上記動作により、メロディガイドモードに
おいて自動切り換えが指示されていない場合は、誤った
押鍵操作を何回連続してもANY KEY PLAYモードに切り換
わることはなく、メロディガイドモードに固定される。
According to the above operation, when the automatic switching is not instructed in the melody guide mode, the melody guide mode is fixed without being switched to the ANY KEY PLAY mode no matter how many times the erroneous key pressing operation is continued. It

【0065】一方、前記処理SB13で、モードフラグ
MDの値が「3」または「7」、すなわち、現在ANY KE
Y PLAYモードであれば、カウンタOCを「0」にリセッ
トしてANY KEY PLAYモードにおける正しい押鍵操作の連
続操作回数の計数をリセットする(SB14)。そし
て、直ちに前記処理SB10〜SB12を行う。
On the other hand, in the process SB13, the value of the mode flag MD is "3" or "7", that is, the current ANY KE.
In the Y PLAY mode, the counter OC is reset to "0" and the count of the number of consecutive correct key-press operations in the ANY KEY PLAY mode is reset (SB14). Then, the processes SB10 to SB12 are immediately performed.

【0066】上記動作により、ANY KEY PLAYモードにお
いて、誤った押鍵操作が行われる毎に、カウンタOCに
よる正しい押鍵操作の連続操作回数の計数がリセットさ
れる。
With the above operation, in the ANY KEY PLAY mode, every time an erroneous key depression operation is performed, the count of the number of consecutive correct key depression operations by the counter OC is reset.

【0067】したがって、ANY KEY PLAYモードにおい
て、メロディガイドモードへの自動切り換えが指定され
ている場合、誤った押鍵操作を行うと、正しい押鍵操作
の連続操作回数の計数が再び最初から開始される。
Therefore, in the ANY KEY PLAY mode, when automatic switching to the melody guide mode is designated, if an incorrect key pressing operation is performed, counting of the number of consecutive correct key pressing operations is restarted from the beginning. It

【0068】このように本実施例では、メロディガイド
モードにおいて、自動切換スイッチがオンに設定される
と、誤った押鍵操作の連続回数が計数され、その誤った
連続する押鍵操作回数が所定回数に達すると、押鍵操作
が容易な、即ち誤った押鍵操作でもメロディが進行する
ANY KEY PLAYモードに自動的に切り換わる。また、ANY
KEY PLAYモードにおいて、自動切換スイッチがオンに設
定されると、正しい押鍵操作の連続回数が計数され、そ
の正しい押鍵操作の連続回数が所定回数に達すると、正
しい押鍵操作のときのみメロディが進行するメロディガ
イドモードに自動的に切り換わる。
As described above, in this embodiment, when the automatic changeover switch is set to ON in the melody guide mode, the number of consecutive incorrect key pressing operations is counted, and the number of consecutive incorrect key pressing operations is predetermined. When the number of times is reached, it is easy to press the key, that is, the melody progresses even if the key is pressed incorrectly.
The mode automatically switches to ANY KEY PLAY mode. Also, ANY
In the KEY PLAY mode, when the automatic changeover switch is set to ON, the number of consecutive correct key pressing operations is counted, and when the number of consecutive correct key pressing operations reaches the predetermined number, the melody is played only when the correct key pressing operation is performed. Is automatically switched to the melody guide mode in which is progressing.

【0069】したがって、メロディガイドモードにおい
て、演奏の難しい個所になって押鍵ミスが連続して所定
回数以上に達した場合、自動的にANY KEY PLAYモードに
切り換わるので、ANY KEY PLAYモードでその演奏の難し
い個所から連続して演奏を行うことができる。そして、
演奏の容易な個所になったところで正しい押鍵操作を所
定回数以上続けることにより、メロディガイドモードに
自動的に切り換わるので、再び正しい押鍵操作により演
奏を継続できる。
Therefore, in the melody guide mode, when a key-playing error reaches a predetermined number of times in succession due to a difficult playing point, the mode automatically switches to the ANY KEY PLAY mode. You can play continuously from a difficult place to play. And
By continuing the correct key-pressing operation a predetermined number of times or more at a position where it is easy to play, the melody guide mode is automatically switched, so that the correct key-pressing operation can be continued again.

【0070】ところで、上記誤鍵数レジスタMV1また
は正鍵数レジスタMV2に設定する正しいもしくは誤っ
た連続押鍵操作回数は、ユーザが曲の難易度に応じて自
由に設定するようにしてよい。そのような設定を実現す
る第2実施例を次に説明する。
By the way, the number of correct or erroneous continuous key depression operations set in the erroneous key number register MV1 or the correct key number register MV2 may be freely set by the user according to the difficulty level of the music. A second embodiment for realizing such setting will be described below.

【0071】この第2実施例においては、図1に示すス
イッチ部6に設けられた「0」〜「9」のテンキーは、
音色を選択する際の音色指定キーと、上記誤鍵数レジス
タMV1または正鍵数レジスタMV2に正しいもしくは
誤った連続押鍵操作回数を設定する設定値キーの双方を
兼ねる。
In the second embodiment, the numeric keys "0" to "9" provided on the switch section 6 shown in FIG.
It also serves both as a tone color designation key for selecting a tone color and as a set value key for setting the correct or incorrect number of continuous key depression operations in the false key number register MV1 or the correct key number register MV2.

【0072】次に、図6のフローチャートを参照して、
テンキーの操作により、上記誤鍵数レジスタMV1また
は正鍵数レジスタMV2に正しいもしくは誤った連続押
鍵操作回数を設定するテンキー処理を説明する。このテ
ンキー処理は図4のフローチャートに示すイニシャライ
ズ処理S1において、メロディ選曲操作待ちの状態のと
きに行われる。
Next, referring to the flowchart of FIG.
A ten-key process for setting the correct or wrong number of continuous key-depressing operations in the erroneous key number register MV1 or the correct key number register MV2 by operating the ten key will be described. This ten-key process is performed in the initialization process S1 shown in the flowchart of FIG. 4 while waiting for a melody selection operation.

【0073】図6において、まず、モードフラグMDの
値に基づいて、現在設定されているモードを判別する
(SC1)。そして、モードがメロディガイドモードと
なっていれば、特に図示しないレジスタiに「1」をセ
ットし(SC2)、一方、モードがANY KEY PALYモード
であればレジスタiに「2」をセットする(SC3)。
続いて、曲セレクト待ち(選曲待ち)状態であるか否か
判別し(SC4)、曲セレクト待ち状態であれば、テン
キー操作により指定される数値をレジスタMVi(i=
1、2)にセットする(SC5)。次に、そのレジスタ
MViの値が「0」か否か判別し(SC7)、「0」す
なわち、操作回数が指定されていない場合は、デフォル
ト値である「1」をレジスタMViにセットした後、図
4に示すゼネラルフローに復帰する。
In FIG. 6, first, the mode currently set is discriminated based on the value of the mode flag MD (SC1). Then, if the mode is the melody guide mode, "1" is set in the register i (not shown) (SC2), while if the mode is the ANY KEY PALY mode, "2" is set in the register i ( SC3).
Subsequently, it is determined whether or not the music selection wait (music selection wait) state is set (SC4). If the music selection wait state is set, the numerical value designated by the ten key operation is set in the register MVi (i =
Set to 1, 2) (SC5). Next, it is determined whether or not the value of the register MVi is "0" (SC7), and if "0", that is, the number of operations is not specified, the default value "1" is set in the register MVi. , And returns to the general flow shown in FIG.

【0074】一方、前記処理SC6で、レジスタMVi
が「0」でなければレジスタMViに操作回数が設定済
みであると判別し、直ちに図4に示すゼネラルフローに
復帰する。
On the other hand, in the processing SC6, the register MVi
Is not "0", it is determined that the number of operations has been set in the register MVi, and the process immediately returns to the general flow shown in FIG.

【0075】また、前記処理SC4で、曲セレクト待ち
でなければ、操作回数の設定と、メロディの選曲が既に
終了していると判断し、最初の音階データを音階データ
格納域Kdに格納して(SC8)、ゼネラルフローに復
帰する。
If it is not in the music selection waiting state in the process SC4, it is determined that the number of operations and the selection of the melody have already been completed, and the first scale data is stored in the scale data storage area Kd. (SC8) Return to general flow.

【0076】上記動作により、曲セレクト待ち状態のと
きに、テンキー操作を行うことにより、正誤の連続押鍵
操作回数をレジスタMV2もしくはレジスタMV1に設
定することができる。
With the above operation, the number of consecutive correct key-depression operations can be set in the register MV2 or the register MV1 by operating the ten keys in the music selection waiting state.

【0077】尚、本実施例においては、メロディガイド
モードにおいて誤った連続する押鍵操作回数を計数する
ようにし、上記誤った連続する押鍵操作回数が所定回数
に達する前に正しい押鍵操作が行われた場合にはその計
数を最初から設定し改めて計数するようにしているが、
間違った押鍵操作を累算して計数するようにしてもよ
い。それは、図5に示す処理SB4のカウンタOCのリ
セット処理を省くことにより実現できる。
In the present embodiment, the number of erroneous continuous key pressing operations is counted in the melody guide mode so that a correct key pressing operation is performed before the erroneous continuous key pressing operations reach a predetermined number. When it is done, the count is set from the beginning and it is counted again,
It is also possible to accumulate and count erroneous key depression operations. This can be realized by omitting the reset process of the counter OC of the process SB4 shown in FIG.

【0078】また、ANY KEY PLAYモードにおいても、正
しい連続する押鍵操作回数を計数するようにしている
が、正しい押鍵操作の累積を計数するようにしてもよ
く、この場合も図5に示す処理SB14のカウンタOC
のリセット処理を省くことにより実現できる。
Also in the ANY KEY PLAY mode, the correct number of consecutive key-depressing operations is counted, but the cumulative number of correct key-depressing operations may be counted, and this case is also shown in FIG. Counter OC of processing SB14
This can be realized by omitting the reset process of.

【0079】[0079]

【発明の効果】本発明によれば、指示された音高指定手
段の正しい操作回数並びに誤った操作回数を計数し、正
しい操作回数が所定回数以上になったときは正しい音高
指定操作が行われたときのみメロディを進行させ、誤っ
た音高指定操作が所定回数以上になったときは、任意の
音高指定操作でメロディを進行させるようにしたので、
音高指定操作が容易な部分は正しい音高指定操作により
演奏を進行させ、音高指定操作が難しい部分は任意の音
高指定操作により演奏できるので、音高指定操作の難し
い部分を含むメロディも途中で中断することなく最後ま
で継続して演奏できる。しかも、平易な部分は、正しい
音高指定操作により演奏できるので、演奏を満喫でき
る。
According to the present invention, the number of correct operations and the number of incorrect operations of the instructed pitch designating means are counted, and when the correct number of operations exceeds a predetermined number, the correct pitch designating operation is performed. The melody is made to progress only when the pitch is specified, and when the number of erroneous pitch designation operations exceeds the predetermined number of times, the melody is made to progress by any pitch designation operation.
The part where the pitch specification operation is easy can be performed by the correct pitch specification operation, and the part where the pitch specification operation is difficult can be performed by any pitch specification operation. You can continue playing to the end without interruption. Moreover, since the simple portion can be played by a correct pitch designation operation, the performance can be enjoyed.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明に係る一実施例のシステム構成図であ
る。
FIG. 1 is a system configuration diagram of an embodiment according to the present invention.

【図2】鍵盤部の外観図である。FIG. 2 is an external view of a keyboard section.

【図3】(a) 〜(g) はワーキングRAMの主要な内部構
成図である。
3A to 3G are main internal configuration diagrams of a working RAM.

【図4】CPUのゼネラルフローチャートである。FIG. 4 is a general flowchart of a CPU.

【図5】鍵盤処理の詳細を示すフローチャートである。FIG. 5 is a flowchart showing details of keyboard processing.

【図6】テンキー処理の動作を説明するフローチャート
である。
FIG. 6 is a flowchart illustrating an operation of ten-key processing.

【符号の説明】[Explanation of symbols]

1 CPU 2 プログラムROM 3 演奏データメモリ 4 鍵盤部 5 押鍵検出回路 6 スイッチ部 7 スイッチ検出回路 8 ワーキングRAM 9 楽音発生回路 10 D/A変換器(デジタル/アナログ変換器) 11 アンプ 12 スピーカ 1 CPU 2 Program ROM 3 Performance Data Memory 4 Keyboard Section 5 Key Press Detection Circuit 6 Switch Section 7 Switch Detection Circuit 8 Working RAM 9 Musical Sound Generation Circuit 10 D / A Converter (Digital / Analog Converter) 11 Amplifier 12 Speaker

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 音高を指定するために設けられた複数の
音高指定手段と、 メロディを構成する各メロディ音の音高を示す音高情報
を記憶する音高情報記憶手段と、 この音高情報記憶手段から前記音高情報を順次読み出す
読出手段と、 この読出手段にて読み出された前記楽音情報に基づい
て、前記複数の音高指定手段のうち、現在操作すべき音
高指定手段を順次指示する指示手段と、 上記読出手段にて読み出された前記音高情報に基づいて
発音処理を行う発音処理手段と、 上記指示手段により指示された音高指定手段と操作され
た音高指定手段との一致/不一致を検出する検出手段
と、 この検出手段により検出された一致の数を計数する一致
数計数手段と、 上記検出手段により検出された不一致の数を計数する不
一致数計数手段と、 上記複数の音高指定手段が操作される毎に前記発音処理
手段に発音処理を行うよう指示する第1の制御手段と、 上記複数の音高指定手段が操作され、なおかつ、前記検
出手段により一致が検出されると上記発音処理手段に発
音処理を行うよう指示する第2の制御手段と、 上記第1の制御手段により前記発音処理手段を制御する
か、或いは、上記第2の制御手段により前記発音処理手
段を制御するか択一的に選択する選択手段と、 上記不一致数計数手段により計数された数が第1の所定
値に達すると上記選択手段に対し、上記第1の制御手段
により上記発音処理手段を制御することを選択するよう
指示し、上記一致計数手段により計数された数が第2の
所定値に達すると上記選択手段に対し、上記第2の制御
手段により上記発音処理手段を制御することを選択する
よう指示する第3の制御手段と、 を有することを特徴とする電子楽器。
1. A plurality of pitch designating means provided for designating a pitch, a pitch information storing means for storing pitch information indicating a pitch of each melody note constituting a melody, and this pitch A reading means for sequentially reading out the pitch information from the high information storage means, and a pitch designating means to be currently operated among the plurality of pitch designating means based on the musical tone information read by the reading means. Instructing means, a tone generation processing means for performing tone generation processing based on the tone pitch information read by the reading means, a tone pitch designating means instructed by the instructing means, and an operated tone pitch. Detecting means for detecting a match / mismatch with the designating means, match number counting means for counting the number of matches detected by the detecting means, and mismatch number counting means for counting the number of mismatches detected by the detecting means And the above First control means for instructing the sound generation processing means to perform sound generation processing every time the pitch specification means of the above is operated, and the plurality of pitch specification means are operated, and the coincidence is detected by the detection means. Then, the second control means for instructing the sound generation processing means to perform sound generation processing, and the sound generation processing means controlled by the first control means, or the sound generation processing by the second control means. Selecting means for controlling or selectively selecting the means, and when the number counted by the disagreement number counting means reaches a first predetermined value, the first control means performs the sound generation processing on the selecting means. When the number counted by the coincidence counting means reaches a second predetermined value, the selection control means is instructed to control the means, and the second control means controls the sound generation processing means. Electronic musical instrument and having a third control means for instructing to select and.
【請求項2】 上記第1及び第2の所定値は夫々任意の
数であることを特徴とする請求項1記載の電子楽器。
2. The electronic musical instrument according to claim 1, wherein the first and second predetermined values are arbitrary numbers.
【請求項3】 上記第1及び第2の所定値は夫々前記メ
ロディの複雑さに応じて自動的に設定されることを特徴
とする請求項1記載の電子楽器。
3. The electronic musical instrument according to claim 1, wherein the first and second predetermined values are automatically set in accordance with the complexity of the melody.
【請求項4】 上記第1及び第2の所定値は夫々ユーザ
により設定されることを特徴とする請求項1記載の電子
楽器。
4. The electronic musical instrument according to claim 1, wherein the first and second predetermined values are set by a user.
【請求項5】 上記複数の音高指定手段は、複数の鍵で
あることを特徴とする請求項1、2、3、または4記載
の電子楽器。
5. The electronic musical instrument according to claim 1, wherein the plurality of pitch designating means are a plurality of keys.
JP6291682A 1994-11-25 1994-11-25 Electronic musical instrument Expired - Fee Related JP2555560B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6291682A JP2555560B2 (en) 1994-11-25 1994-11-25 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6291682A JP2555560B2 (en) 1994-11-25 1994-11-25 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH07219548A JPH07219548A (en) 1995-08-18
JP2555560B2 true JP2555560B2 (en) 1996-11-20

Family

ID=17772058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6291682A Expired - Fee Related JP2555560B2 (en) 1994-11-25 1994-11-25 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JP2555560B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007139929A (en) * 2005-11-16 2007-06-07 Casio Comput Co Ltd Apparatus for practicing musical performance, and program for musical performance practice processing

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6541692B2 (en) * 2000-07-07 2003-04-01 Allan Miller Dynamically adjustable network enabled method for playing along with music
JP4973215B2 (en) * 2007-02-01 2012-07-11 ヤマハ株式会社 Performance device and program
JP2009294678A (en) * 2009-09-18 2009-12-17 Casio Comput Co Ltd Musical performance training apparatus and musical performance training program
JP7143576B2 (en) * 2017-09-26 2022-09-29 カシオ計算機株式会社 Electronic musical instrument, electronic musical instrument control method and its program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007139929A (en) * 2005-11-16 2007-06-07 Casio Comput Co Ltd Apparatus for practicing musical performance, and program for musical performance practice processing

Also Published As

Publication number Publication date
JPH07219548A (en) 1995-08-18

Similar Documents

Publication Publication Date Title
JP2623809B2 (en) Automatic key press indicating device
JPH0448234B2 (en)
JP2555560B2 (en) Electronic musical instrument
US5182414A (en) Motif playing apparatus
JPH05188956A (en) Electronic musical instrument with automatic playing function
JP2536596B2 (en) Electronic musical instrument
JP2530744Y2 (en) Electronic musical instrument
JP2546467B2 (en) Electronic musical instrument
JP2640992B2 (en) Pronunciation instruction device and pronunciation instruction method for electronic musical instrument
JP2543307Y2 (en) Electronic musical instrument
JP3902207B2 (en) Arpeggiator
JP2580872Y2 (en) Electronic musical instrument
JP4631222B2 (en) Electronic musical instrument, keyboard musical instrument, electronic musical instrument control method and program
JP3625913B2 (en) Arpeggiator
US5418324A (en) Auto-play apparatus for generation of accompaniment tones with a controllable tone-up level
JP2943560B2 (en) Automatic performance device
JP2636393B2 (en) Automatic performance device
JP3082294B2 (en) Accompaniment sound signal forming device
JP2694788B2 (en) Electronic musical instrument
JPH0527762A (en) Electronic musical instrument
JPS6261280B2 (en)
JP3630266B2 (en) Automatic accompaniment device
JP2621835B2 (en) Automatic performance device
JP3005911B2 (en) Performance control device
JP2565152B2 (en) Automatic accompaniment device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960702

LAPS Cancellation because of no payment of annual fees