JP3185885B2 - Fingering information analysis device and electronic musical instrument to which the device is applied - Google Patents

Fingering information analysis device and electronic musical instrument to which the device is applied

Info

Publication number
JP3185885B2
JP3185885B2 JP08649399A JP8649399A JP3185885B2 JP 3185885 B2 JP3185885 B2 JP 3185885B2 JP 08649399 A JP08649399 A JP 08649399A JP 8649399 A JP8649399 A JP 8649399A JP 3185885 B2 JP3185885 B2 JP 3185885B2
Authority
JP
Japan
Prior art keywords
finger
information
pitch
key
fingering
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
JP08649399A
Other languages
Japanese (ja)
Other versions
JPH11344977A (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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP08649399A priority Critical patent/JP3185885B2/en
Publication of JPH11344977A publication Critical patent/JPH11344977A/en
Application granted granted Critical
Publication of JP3185885B2 publication Critical patent/JP3185885B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、一連の音符列の各
音高をそれぞれ表す複数の音高情報を自動的に分析して
各音符のための演奏指を表す指情報及び各音符を演奏す
る際に手を置く位置を表す位置情報を生成する運指情報
分析装置、及び同分析装置を適用して前記生成した位置
情報を運指指示に利用するようにした電子楽器に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of automatically analyzing a plurality of pitch information representing each pitch of a series of note strings and playing finger information indicating a performance finger for each note and playing each note. The present invention relates to a fingering information analyzer that generates position information indicating a position at which a hand is to be placed, and an electronic musical instrument that uses the analyzer to use the generated position information for fingering instructions.

【0002】[0002]

【従来の技術及びその欠点】従来、この種の装置は、例
えば特公昭60−46432号公報及び実公昭63−3
6346号公報に示されているように、一連の音符列の
各音高及び各音長をそれぞれ表す複数の音符情報中に各
音符のための演奏指を表す指情報を混在させて予め記憶
させておき、楽曲の進行にしたがって音高情報及び指情
報を読み出して、同読み出した音高情報及び指情報を用
いて押鍵されるべき鍵及び同押鍵に用いられるべき指を
指示するようにしている。
2. Description of the Related Art Conventionally, this type of apparatus is disclosed in, for example, Japanese Patent Publication No. 60-46432 and Japanese Utility Model Publication No. 63-3.
As shown in Japanese Patent No. 6346, finger information indicating a performance finger for each note is mixed and stored in advance in a plurality of pieces of note information indicating each pitch and each pitch of a series of note strings. In advance, the pitch information and the finger information are read in accordance with the progress of the music, and the key to be pressed and the finger to be used for the key pressing are indicated using the read pitch information and finger information. ing.

【0003】しかし、上記従来の装置にあっては、複数
の音符情報中に各音符のための指情報を混在させて予め
記憶しておく必要があるため、一連の音符列の各音高及
び各音長をそれぞれ表す複数の音符情報からなる通常の
自動演奏情報を楽器の運指練習に利用することができな
い。
However, in the above-mentioned conventional apparatus, it is necessary to previously store finger information for each note in a plurality of pieces of note information. Normal automatic performance information including a plurality of pieces of note information each representing a note length cannot be used for fingering practice of a musical instrument.

【0004】[0004]

【本発明の目的及びその特徴】本発明は、一連の音符を
それぞれ表す複数の音符情報からなる通常の自動演奏情
報を記憶したフレキシブルディスク、コンパクトディス
クなどの記憶媒体が近年多数用意されていることに鑑み
てなされたもので、その目的は、この種の自動演奏情報
を楽器の運指練習にも利用できるようにした運指情報分
析装置を提供することにある。また、他の目的は、この
運指情報分析装置を適用して、前記自動演奏情報さえ用
意すれば、簡単に運指練習を可能とする電子楽器を提供
しようとするものである。
[Object of the present invention and its features] In the present invention, in recent years, a large number of storage media such as a flexible disk and a compact disk storing ordinary automatic performance information including a plurality of note information respectively representing a series of notes have been prepared. SUMMARY OF THE INVENTION It is an object of the present invention to provide a fingering information analyzing apparatus which can use such automatic performance information for practicing fingering of musical instruments. Another object of the present invention is to provide an electronic musical instrument that can easily practice fingering by applying the fingering information analyzer and preparing the automatic performance information.

【0005】前記目的を達成するために、本発明の第1
の特徴は、一連の音符列の各音高をそれぞれ表す複数の
音高情報を供給する音高情報供給手段と、前記供給され
た複数の音高情報を自動的に分析して同複数の音高情報
から各音符のための演奏指を表す指情報を生成する指情
報生成手段と、前記供給された音高情報及び前記生成さ
れた指情報に基づいて、演奏されるべき音符の音高位置
であって演奏指の位置を表す第1指示情報と、前記演奏
されるべき音符の音高と隣接した音高位置であって前記
演奏指の属する手の5本の指のうちで前記演奏指以外の
指の位置を表す第2指示情報とを生成する位置情報生成
手段とを備えたことある。この場合、前記第1及び第2
指示情報に基づいて、前記演奏指の位置と前記演奏指以
外の指の位置とをそれぞれ異なる態様で指示する指示手
段を設けるとよい。
[0005] To achieve the above object, the first aspect of the present invention is as follows.
Is characterized by a plurality of notes, each representing a pitch in a sequence of notes.
Pitch information supply means for supplying pitch information;
Automatically analyze multiple pitch information
To generate finger information representing the playing finger for each note from the note
Report generating means, the supplied pitch information and the generated pitch information.
Pitch position of the note to be played based on the finger information
And first instruction information indicating a position of a playing finger;
The pitch position adjacent to the pitch of the note to be
Of the five fingers to which the playing finger belongs,
Position information generation for generating second instruction information indicating the position of a finger
With means. In this case, the first and second
Based on the instruction information, the position of the playing finger and the
Pointers that indicate the position of the outer finger in different ways
A step may be provided.

【0006】また、本発明の第2の特徴は、このような
運指情報分析装置を演奏操作子を有する電子楽器に適用
して、音高情報供給手段から供給された音高情報を自動
的に分析して各音符のための演奏指を表す指情報を生成
するとともに、同複数の音高情報及び前記生成した指情
報に基づいて前記第1及び第2指示情報を生成し、この
生成された第1及び第2指示情報に基づいて前記演奏指
の位置と前記演奏指以外の指の位置とをそれぞれ異なる
態様で指示するようにしたことにある。
The second feature of the present invention is that
Applying fingering information analyzer to electronic musical instruments with performance operators
The pitch information supplied from the pitch information supply means
Analysis to generate finger information representing the playing finger for each note
And the plurality of pitch information and the generated
Generating the first and second instruction information based on the
The performance finger is generated based on the generated first and second instruction information.
Is different from the position of the finger other than the performance finger.
That is, the instruction is made in the mode.

【0007】また、この場合、前記生成された指情報を
前記複数の音高情報と共に記憶手段に記憶しておくとと
もに、前記記憶された音高情報及び指情報を後に順次読
み出して、同読み出した指情報を音高情報に基づいて前
記第1及び第2指示情報を生成するようにしてもよい。
In this case, the generated finger information is
When stored in the storage means together with the plurality of pitch information
The stored pitch information and finger information are sequentially read later.
And reads out the read finger information based on the pitch information.
The first and second instruction information may be generated.

【0008】[0008]

【発明の作用及び効果】上記のように構成した本発明に
よれば、音高情報を含む通常の自動演奏情報を記憶した
記憶媒体さえ用意すれば、同演奏情報を用いて、演奏さ
れるべき音符の音高位置であって演奏指の位置を表す第
1指示情報と、演奏されるべき音符の音高と隣接した音
高位置であって演奏指の属する手の5本の指のうちで演
奏指以外の指の位置を表す第2指示情報とからなる運指
情報が自動的に得られるので、多数の自動演奏情報を音
楽教育に利用できるようになる。また、本発明に係る運
指情報分析装置又は電子楽器にて、前記運指情報を用い
て手の位置が指示されるので、簡単に多数の楽曲に対し
て演奏練習の効果を発揮させることができる。
According to the operation and effect of the present invention configured as described above, if only prepare conventional storage medium storing automatic performance information including tone pitch information, using the same performance information, is playing
The pitch position of the note to be played, which represents the position of the playing finger
(1) Instruction information and the pitch adjacent to the pitch of the note to be played
Performed among the five fingers of the hand to which the performance finger belongs at the high position
Since the fingering information including the second instruction information indicating the position of the finger other than the playing finger is automatically obtained, a large number of automatic performance information can be used for music education. Further, in the fingering information analyzing apparatus or the electronic musical instrument according to the present invention, since the position of the hand is indicated using the fingering information, the effect of performance practice can be easily exerted on a large number of music pieces. it can.

【0009】[0009]

【実施の形態】以下、本発明の一実施形態を図面を用い
て説明すると、図1は本発明に係る運指情報分析装置を
適用した電子楽器の全体をブロック図により示してい
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an entire electronic musical instrument to which a fingering information analyzing apparatus according to the present invention is applied.

【0010】この電子楽器は、演奏装置としての鍵盤装
置10、操作パネル20、メモリ装置30、楽音信号形
成回路40及びマイクロコンピュータを構成するCPU
50を備えている。
This electronic musical instrument has a keyboard device 10 as a performance device, an operation panel 20, a memory device 30, a musical tone signal forming circuit 40, and a CPU constituting a microcomputer.
50.

【0011】鍵盤装置10は、図2に示すように、所定
の順序で配列された白鍵及び黒鍵からなる演奏操作子と
しての多数の鍵10aを備えているとともに、各鍵10
aの上方には押鍵すべき鍵とその演奏指を指示する指示
手段として鍵位置に対応させた多数の発光素子10bを
備えている。各鍵10aの押離鍵は鍵スイッチ回路11
内に各鍵10aにそれぞれ対応して設けた鍵スイッチに
より検出されるようになっている。発光素子10bは異
なる2色(例えば赤色と青色)の光を発光可能な素子に
より構成されており、それらの発光は点灯制御回路12
によって制御されるようになっている。これらの鍵スイ
ッチ回路11及び点灯制御回路12はバス60に接続さ
れている。
As shown in FIG. 2, the keyboard device 10 includes a large number of keys 10a as a performance operator composed of white keys and black keys arranged in a predetermined order.
Above "a", a number of light emitting elements 10b corresponding to the key positions are provided as an instruction means for instructing a key to be depressed and a performance finger thereof. A key switch circuit 11 is used to depress and release each key 10a.
The keys are detected by key switches provided corresponding to the respective keys 10a. The light emitting element 10b is configured by an element capable of emitting light of two different colors (for example, red and blue), and the light emission is controlled by the lighting control circuit 12
Is controlled by the The key switch circuit 11 and the lighting control circuit 12 are connected to the bus 60.

【0012】操作パネル20は電子楽器の種々の動作態
様を指示する複数の操作子(各操作子については作動説
明の項にて説明する)を備えており、各操作子の操作は
操作子スイッチ回路21内に各操作子にそれぞれ対応し
て設けた操作子スイッチによって検出されるようになっ
ている。操作子スイッチ回路21もバス60に接続され
ている。
The operation panel 20 is provided with a plurality of operators for instructing various operation modes of the electronic musical instrument (each of the operators is described in the section of the operation description). The operation is detected by an operation switch provided in the circuit 21 corresponding to each operation. The operation switch circuit 21 is also connected to the bus 60.

【0013】メモリ装置30はRAMにより構成されて
おり、図4に示すようなデータフォーマットで演奏情報
を記憶する演奏情報メモリ30a、キャラクタメモリ3
0b及び運指メモリ30cを備えている。これらの各メ
モリ30a〜30cはバス60に接続されており、演奏
情報メモリ30aには外部記憶媒体としてのフレキシブ
ルディスクFDに記憶した演奏情報がディスクドライバ
31、インターフェース32及びバス60を介して供給
されるようになっている。
The memory device 30 is constituted by a RAM, a performance information memory 30a for storing performance information in a data format as shown in FIG.
0b and a fingering memory 30c. These memories 30a to 30c are connected to a bus 60, and the performance information stored in a flexible disk FD as an external storage medium is supplied to the performance information memory 30a via a disk driver 31, an interface 32, and a bus 60. It has become so.

【0014】楽音信号形成回路40は複数の楽音信号形
成チャンネルからなり、バス60を介して供給されるキ
ーコード、キーオン信号、キーオフ信号、音色制御デー
タなどの制御データに応じて楽音信号を発生する。楽音
信号形成回路40にはアンプ、スピーカなどからなるサ
ウンドシステム41が接続されている。
The tone signal forming circuit 40 includes a plurality of tone signal forming channels, and generates tone signals in accordance with control data such as a key code, a key-on signal, a key-off signal, and tone color control data supplied via the bus 60. . A sound system 41 including an amplifier, a speaker, and the like is connected to the tone signal forming circuit 40.

【0015】CPU50は、バス60に接続したワーキ
ングメモリ(RAM)51と協働して、同バス60に接
続したプログラムメモリ(ROM)52に記憶され図5
〜12のフローチャートに対応したプログラムを実行し
て、電子楽器の作動を制御する。CPU50にはタイマ
53が接続されており、同タイマ53は所定時間(例え
ば96分音符長に相当する時間)毎に割り込み信号を発
生して前記プログラム中の図11,12のプログラムを
CPU50に割り込み実行させる。また、プログラムメ
モリ52中には、指番号を決定するための図3に示すよ
うな第1及び第2運指テーブルTBLA,TBLBも設
けられている。次に、上記のように構成した実施形態の
動作を図5〜12のプログラムに沿って説明する。電源
スイッチ(図示しない)が投入されると、CPU50は
図5のステップ100にてプログラムの実行を開始し、
ステップ101にて各種変数を初期値に設定した後、ス
テップ102〜116からなる処理を繰り返し実行す
る。これらの処理中、ステップ116においては、操作
パネル20の音色、音量、効果などに関する操作子の操
作に応答して、音色、音量、効果などを制御するための
制御データを楽音信号形成回路40に出力する。楽音信
号形成回路40はこれらの制御データに基づいて発生さ
れる楽音信号の音色、音量、効果などを制御するための
準備をする。以下、電子楽器の各動作態様毎にその動作
を説明する。 (a)鍵盤演奏 まず、演奏者が単に鍵盤演奏をして同演奏に応じた楽音
信号を発生する動作について説明する。演奏者が鍵盤1
0の各鍵10aを押離鍵すると、CPU50はステップ
102にて「YES」すなわちキーイベント有りと判定
して、プログラムをステップ103のキーイベントルー
チンに進める。
The CPU 50 cooperates with a working memory (RAM) 51 connected to the bus 60 and is stored in a program memory (ROM) 52 connected to the bus 60.
12 to control the operation of the electronic musical instrument. A timer 53 is connected to the CPU 50. The timer 53 generates an interrupt signal every predetermined time (for example, a time corresponding to a 96th note length), and interrupts the program of FIGS. Let it run. In the program memory 52, first and second fingering tables TBLA and TBLB as shown in FIG. 3 for determining a finger number are also provided. Next, the operation of the embodiment configured as described above will be described with reference to the programs in FIGS. When a power switch (not shown) is turned on, the CPU 50 starts executing the program in step 100 of FIG.
After setting various variables to initial values in step 101, the processing consisting of steps 102 to 116 is repeatedly executed. During these processes, in step 116, control data for controlling the tone, volume, effect, and the like is transmitted to the musical tone signal forming circuit 40 in response to the operation of the operator regarding the tone, volume, effect, and the like of the operation panel 20. Output. The tone signal forming circuit 40 prepares for controlling the tone color, volume, effect, and the like of the tone signal generated based on these control data. Hereinafter, the operation will be described for each operation mode of the electronic musical instrument. (a) Keyboard Performance First, a description will be given of an operation in which a performer simply plays a keyboard and generates a tone signal according to the performance. Performer plays keyboard 1
When each key 10a of “0” is pressed and released, the CPU 50 determines “YES” in step 102, that is, there is a key event, and advances the program to the key event routine of step 103.

【0016】キーイベントルーチンは図6に詳細に示さ
れており、ステップ200における同ルーチンの実行開
始後、ステップ201にて前記キーイベントがキーオン
イベントであるか否かを判定する。キーオンイベントで
あれば、ステップ202にて押鍵された鍵を表すキーコ
ードをキーコードデータKCとして設定して、ステップ
203にて発音処理を実行する。この発音処理において
は、前記キーコードデータKC及び押鍵を表すキーオン
信号を楽音信号形成回路40に出力する。楽音信号形成
回路40は空いている楽音信号形成チャンネルにて前記
キーコードデータKCに対応した音高の楽音信号を形成
して、サウンドシステム41に出力する。一方、前記キ
ーイベントがキーオンイベントでなければ、ステップ2
01にて「NO」すなわちキーオフイベントであると判
定して、ステップ204にて消音処理を実行する。この
消音処理においては、離鍵された鍵を表すキーコードデ
ータKC及び同離鍵を表すキーオフ信号を楽音信号形成回
路40に出力する。楽音信号形成回路40は前記キーコ
ードデータKCに対応した楽音信号を形成中の楽音信号形
成チャンネルを探し、同チャンネルにて形成中の楽音信
号を減衰させた後、その発生を停止する。したがって、
演奏者による鍵盤10の押離鍵に応じた楽音がサウンド
システムから発音される。 (b)演奏情報の転送 演奏情報の転送について説明すると、演奏者は演奏情報
の記憶されたフレキシブルディスクFDを用意してディ
スクドライバ31にセットする。一楽曲分の演奏情報は
複数のパート(本実施形態では9パート)に対応して区
分けされており、同区分けされた各パート毎の演奏情報
は本実施形態で説明する各種メモリ装置の複数のトラッ
ク(0〜8トラックからなる9つの記憶領域)にそれぞ
れ記憶されるようになっている。各パート毎の演奏情報
は、図4(A)のデータフォーマットに示すように、時系
列で現れる各音符をそれぞれ表す複数のキーイベントデ
ータと、各音符間の時間間隔をそれぞれ表す複数のデュ
レーションイベントデータと、楽曲の各フレーズの区切
りをそれぞれ表すフレーズコードと、楽曲の終わりを表
すエンドコードとからなる。キーイベントデータは、後
続データが音符に関するデータであることを表すキーイ
ベントコードと、音符の音高を表すキーコード(音高情
報)と、音符のオン時間(キーオン時間)を表すゲート
タイムとからなる。デュレーションイベントデータは、
後続データが音符間の時間間隔に関するデータであるこ
とを表すデュレーションコードと、音符間の時間間隔を
表すデュレーションタイム(音長情報)とからなる。こ
れらのキーイベントデータ及びデュレーションイベント
データは音符列を表す各音符情報を構成している。
The key event routine is shown in detail in FIG. 6. After execution of the routine in step 200, it is determined in step 201 whether the key event is a key-on event. If it is a key-on event, a key code representing a key depressed in step 202 is set as key code data KC, and in step 203 sound generation processing is executed. In this tone generation process, the key code data KC and a key-on signal indicating a key press are output to the tone signal forming circuit 40. The tone signal forming circuit 40 forms a tone signal having a pitch corresponding to the key code data KC in a vacant tone signal forming channel and outputs the tone signal to the sound system 41. On the other hand, if the key event is not a key-on event, step 2
At 01, it is determined that the event is a key-off event, and at step 204, a mute process is executed. In this mute processing, key code data KC representing a released key and a key-off signal representing the same key are output to the tone signal forming circuit 40. The tone signal forming circuit 40 searches for a tone signal forming channel in which a tone signal corresponding to the key code data KC is being formed, attenuates the tone signal being formed in the channel, and stops its generation. Therefore,
A tone corresponding to a key pressed or released by the player on the keyboard 10 is generated from the sound system. (b) Transfer of performance information To explain the transfer of performance information, a player prepares a flexible disk FD in which performance information is stored and sets it in the disk driver 31. The performance information for one music piece is divided into a plurality of parts (in this embodiment, nine parts), and the performance information for each of the divided parts is stored in a plurality of memory devices of various types described in this embodiment. Tracks (nine storage areas including 0 to 8 tracks) are respectively stored. As shown in the data format of FIG. 4A, the performance information of each part includes a plurality of key event data representing each note appearing in chronological order, and a plurality of duration events each representing a time interval between the notes. It is composed of data, a phrase code indicating a break of each phrase of the music, and an end code indicating the end of the music. The key event data includes a key event code indicating that the subsequent data is data relating to a note, a key code (pitch information) indicating a pitch of a note, and a gate time indicating an on-time (key-on time) of the note. Become. Duration event data is
It consists of a duration code indicating that the subsequent data is data on a time interval between notes, and a duration time (note length information) indicating a time interval between notes. These key event data and duration event data constitute each note information representing a note sequence.

【0017】前記フレキシブルディスクFDのセット
後、演奏者は操作パネル20に設けたロードスイッチを
オン操作する。これにより、CPU50は図5のステッ
プ104にて「YES」と判定して、ステップ105に
てフレキシブルディスクFDのトラック0〜8から9パ
ート分の演奏情報を順次読み取って、インターフェース
32を介して演奏情報メモリ30aのトラック0〜8に
書き込む。 (c)運指分析及び運指データ付与 このようにして、9パート分の演奏情報が演奏情報メモ
リ30aに記憶された後、演奏者が操作パネル20の分
析操作子をオン操作すると、CPU50は図5のステッ
プ106にて「YES」と判定して、プログラムをステ
ップ107,108のキャラクタ分析ルーチン及び運指
分析ルーチンに進める。 (c1)キャラクタ分析 キャラクタ分析ルーチンの詳細は図7に示されており、
CPU50はステップ300にて同ルーチンの実行を開
始し、ステップ301にてトラック番号TRを「0」に
設定し、ステップ302にてトラック番号TR(=0)
の読み出し及び書き込みポインタを演奏情報メモリ30
a及びキャラクタメモリ30bのトラック0〜8の各先
頭アドレス値に設定する。次に、ステップ303にてト
ラック番号TR(=0)の読み出しポインタが指すアド
レス以降で最も近いキーイベントデータ(キーイベント
コード、キーコード及びゲートタイム)を読み出し、同
ポインタを次データのアドレスまで歩進しておく(図4
(A)参照)。すなわち、読み出しポインタをデュレーシ
ョンイベントデータの先頭アドレス値に設定する。
After setting the flexible disk FD, the player turns on a load switch provided on the operation panel 20. Accordingly, the CPU 50 determines “YES” in step 104 of FIG. 5 and sequentially reads the performance information of nine parts from tracks 0 to 8 on the flexible disk FD in step 105, and performs the performance via the interface 32. Data is written to tracks 0 to 8 of the information memory 30a. (c) Fingering Analysis and Fingering Data Assignment After the performance information for nine parts is stored in the performance information memory 30a in this way, when the player turns on the analysis operator on the operation panel 20, the CPU 50 If "YES" is determined in the step 106 of FIG. 5, the program proceeds to the character analysis routine and the fingering analysis routine of the steps 107 and 108. (c1) Character analysis The details of the character analysis routine are shown in FIG.
The CPU 50 starts the execution of this routine in step 300, sets the track number TR to “0” in step 301, and sets the track number TR (= 0) in step 302.
The read and write pointers are stored in the performance information memory 30.
a and the head address values of tracks 0 to 8 in the character memory 30b. Next, in step 303, the closest key event data (key event code, key code, and gate time) after the address indicated by the read pointer of the track number TR (= 0) is read, and the pointer is moved to the next data address. Advance (Fig. 4
(A)). That is, the read pointer is set to the start address value of the duration event data.

【0018】ステップ304にてトラック番号TR(=
0)の書き込みポインタが指すキャラクタメモリ30b
のアドレスに前記読み出したキーイベントデータ(キー
イベントコード、キーコード及びゲートタイム)を書き
込み、同ポインタを次の空きエリアまで歩進しておく
(図4(B)参照)。次に、ステップ305にて前記書き
込んだキーコードを旧キーコードデータKC1として一
時記憶しておき、ステップ306にてトラック番号TR
(=0)の読み出しポインタが指すアドレスのデータす
なわちデュレーションイベントデータ(デュレーション
コード及びデュレーションタイム)を読み出し、同ポイ
ンタを次データのアドレスまで歩進しておく(図4(A)
参照)。そして、ステップ307にて前記読み出したデ
ータがキーイベントデータであるか否かを判定する。こ
の場合、読み出したデータはデュレーションイベントデ
ータであるので、ステップ307にて「NO」と判定し
てプログラムをステップ312に進める。ステップ31
2においては、トラック番号TR(=0)の書き込みポ
インタが指すキャラクタメモリ30bのアドレスに前記
読み出したデュレーションイベントデータ(デュレーシ
ョンコード及びデュレーションタイム)を書き込み、同
ポインタを次の空きエリアまで歩進しておく(図4(B)
参照)。
At step 304, the track number TR (=
0) Character memory 30b pointed by the write pointer
Then, the read key event data (key event code, key code and gate time) is written to the address (1), and the pointer is advanced to the next empty area (see FIG. 4B). Next, in step 305, the written key code is temporarily stored as old key code data KC1, and in step 306, the track number TR
The data at the address indicated by the read pointer (= 0), that is, the duration event data (duration code and duration time) is read, and the pointer is advanced to the address of the next data (FIG. 4A).
reference). Then, in step 307, it is determined whether or not the read data is key event data. In this case, since the read data is duration event data, "NO" is determined in the step 307, and the program proceeds to the step 312. Step 31
In 2, the read duration event data (duration code and duration time) is written to the address of the character memory 30 b pointed to by the write pointer of the track number TR (= 0), and the pointer is advanced to the next empty area. Leave (Fig. 4 (B)
reference).

【0019】前記ステップ312の処理後、ステップ3
13にて前記書き込んだデータがフレーズコード又はエ
ンドコードであるか否かを判定する。フレーズコード又
はエンドコードでなければ、ステップ313にて「N
O」と判定してプログラムをステップ306に戻す。ス
テップ306においては、前記と同様に、ステップ30
6にてトラック番号TR(=0)の読み出しポインタが
指すアドレスのデータを読み出すとともに同ポインタを
次データのアドレスまで歩進しておき、ステップ307
にて前記読み出したデータがキーイベントデータである
か否かを判定する。キーイベントデータであれば、ステ
ップ307にて「YES」と判定し、ステップ308に
て前記読み出したキーコードを新キーコードデータKC
2として一時記憶して、プログラムをステップ309に
進める。
After the processing in step 312, step 3
At 13, it is determined whether the written data is a phrase code or an end code. If it is not a phrase code or end code, "N"
O is determined, and the program returns to step 306. In step 306, as described above, step 30 is executed.
At step 6, the data at the address pointed to by the read pointer of the track number TR (= 0) is read, and the pointer is advanced to the address of the next data.
It is determined whether or not the read data is key event data. If it is key event data, "YES" is determined in the step 307, and the read key code is replaced in the step 308 with the new key code data KC.
2 and the program proceeds to step 309.

【0020】ステップ309においては、新旧キーコー
ドデータKC2,KC1を用いて、スケールデータS
C、アップダウンデータUD及びキータイプデータKT
YPを次の〜のようにして決定する。 |KC2−KC1|≦2であればSC=0に、3≦|
KC2−KC1|≦11であればSC=1に、12≦|
KC2−KC1|であればSC=0に設定する。KC
2≧KC1であればUD=0に、KC2<KC1であれ
ばUD=1に設定する。 KC1,KC2が共に白鍵を表せばKTYP=0に、
KC1が白鍵を表しかつKC2が黒鍵を表せばKTYP
=1に、KC1が黒鍵を表しかつKC2が白鍵を表せば
KTYP=2に、KC1,KC2が共に黒鍵を表せばK
TYP=3に設定する。
In step 309, the scale data S is calculated using the new and old key code data KC2 and KC1.
C, up / down data UD and key type data KT
YP is determined as follows. If | KC2-KC1 | ≦ 2, SC = 0 and 3 ≦ |
If KC2−KC1 | ≦ 11, SC = 1 and 12 ≦ |
If KC2−KC1 |, SC = 0 is set. KC
If 2 ≧ KC1, set UD = 0, and if KC2 <KC1, set UD = 1. If KC1 and KC2 both represent a white key, KTYP = 0,
KTYP if KC1 represents a white key and KC2 represents a black key
= 1, KC1 represents a black key and KC2 represents a white key, KTYP = 2, and KK1 and KC2 represent a black key, K
Set TYP = 3.

【0021】前記ステップ309の処理後、ステップ3
10にて、トラック番号TR(=0)の書き込みポイン
タが指すキャラクタメモリ30bのアドレスに、次デー
タがキャラクタデータであることを表すキャラクタコー
ド、前記設定したスケールデータSC、アップダウンデ
ータUD及びキータイプデータKTYPを書き込み、ひ
きつづき前記ステップ306の処理により今回読み出し
たキーイベントデータ(キーイベントコード、キーコー
ド及びゲートタイム)を書き込む(図4(B)参照)。次
に、ステップ311にて旧キーコードKC1を新キーコ
ードKC2に更新して、プログラムをステップ306に
戻す。このようなステップ306〜313の処理によ
り、演奏情報メモリ30aに記憶されていたキーイベン
トデータ及びデュレーションイベントデータからなる一
連のデータが、キーイベントデータの前にてキャラクタ
データを挿入した形の一連のデータに変換されてキャラ
クタメモリ30bに再記憶される。
After the processing of step 309, step 3
At 10, at the address of the character memory 30b pointed to by the write pointer of the track number TR (= 0), a character code indicating that the next data is character data, the set scale data SC, up / down data UD, and key type The data KTYP is written, and then the key event data (key event code, key code, and gate time) read this time by the processing of step 306 is written (see FIG. 4B). Next, in step 311, the old key code KC1 is updated to the new key code KC2, and the program returns to step 306. By the processing of steps 306 to 313, a series of data including the key event data and the duration event data stored in the performance information memory 30a is changed to a series of data in which character data is inserted before the key event data. It is converted into data and stored again in the character memory 30b.

【0022】前記ステップ306〜313の繰り返し処
理中、ステップ312にてキャラクタメモリ30bに書
き込んだデータがフレーズコードになると、ステップ3
13にて「YES」、ステップ314にて「NO」と判
定してプログラムをステップ303に戻す。この場合、
前述のように、ステップ303,304の処理により、
演奏情報メモリ30aから読み出したキーイベントデー
タがそのままキャラクタメモリ30bに書き込まれるの
で、フレーズの最初のキーイベントデータの前にはキャ
ラクタデータが書き込まれない。そして、前述したステ
ップ306〜313の処理により、次のフレーズに関す
るキーイベントデータ、デュレーションイベントデー
タ、キャラクタデータ及びフレーズコードがキャラクタ
メモリ30bに書き込まれる。
During the repetition of steps 306 to 313, if the data written in the character memory 30b in step 312 becomes a phrase code, step 3
The determination is “YES” at 13, “NO” at step 314, and the program returns to step 303. in this case,
As described above, by the processing of steps 303 and 304,
Since the key event data read from the performance information memory 30a is directly written into the character memory 30b, no character data is written before the first key event data of the phrase. Then, the key event data, duration event data, character data, and phrase code for the next phrase are written to the character memory 30b by the processing of steps 306 to 313 described above.

【0023】一方、最終フレーズに関するデータの書き
込みが終了すると、ステップ312にてエンドコードが
キャラクタメモリ30bに書き込まれる。そして、この
場合には、ステップ313,314にて共に「YES」
と判定してプログラムをステップ315に進める。ステ
ップ315においては、トラック番号TRに「1」を加
算することにより、同番号TRを「1」に変更する。そ
して、ステップ316にて「NO」と判定してプログラ
ムをステップ302に戻し、前述のステップ302〜3
14の処理を実行するので、演奏情報メモリ30a内の
トラック1に関する演奏情報に前記と同様にキャラクタ
データが付加されてキャラクタメモリ30bに再記憶さ
れる。そして、この再記憶が終了すると、ステップ31
5の処理によりトラック番号TRが「2」に変更され
て、ステップ316にて「YES」と判定される。した
がって、トラック0,1に関するキャラクタメモリ30
bへのデータの書き込み終了後、ステップ317にてキ
ャラクタ分析ルーチンの実行が終了される。なお、トラ
ック0の演奏情報は右手で演奏されるべきパートの演奏
情報であり、トラック1の演奏情報は左手で演奏される
べきパートの演奏情報である。 (c2)運指分析 運指分析ルーチンの詳細は図8に示されており、CPU
50はステップ400にて同ルーチンの実行を開始し、
ステップ401にてトラック番号TRを「0」に設定
し、ステップ402にてフレーズの最初に使われるのに
最適な指を決定するための変数としての最適指番号MF
Nを「1」に初期設定する。指番号とは、両手とも親指
を「1」とし、人差指、中指、薬指及び小指の順に
「2」〜「5」により表されるもので、これが演奏情報
中の演奏指を表す指情報として機能する。次に、ステッ
プ403にてキャラクタメモリ30b及び運指メモリ3
0c内のトラックTR(=0)の先頭アドレスをフレー
ズ先頭アドレス値RFA,WFAとして設定して、プロ
グラムをステップ404以降に進める。ステップ404
においては、フレーズの最初の指を仮に表す仮指番号B
FNを「1」に初期設定するとともに、運指を進める上
で指が最初に交差した最初の音符(いわゆる指くぐりの
あった音符)に対応したアドレスのうちの最大値を表す
最大アドレス値MADRを仮に「0」に設定しておく。
On the other hand, when the writing of the data relating to the final phrase is completed, an end code is written to the character memory 30b in step 312. In this case, "YES" is made in both steps 313 and 314.
And the program proceeds to step 315. In step 315, the track number TR is changed to "1" by adding "1" to the track number TR. Then, in step 316, “NO” is determined, and the program returns to step 302.
Since the processing of step 14 is executed, the character data is added to the performance information on the track 1 in the performance information memory 30a in the same manner as described above, and is stored again in the character memory 30b. Then, when this re-storage is completed, step 31
The track number TR is changed to “2” by the process of 5, and “YES” is determined in the step 316. Therefore, the character memory 30 for tracks 0 and 1
After the data has been written into b, the execution of the character analysis routine is terminated in step 317. The performance information of track 0 is performance information of a part to be played with the right hand, and the performance information of track 1 is performance information of a part to be played with the left hand. (c2) Fingering Analysis The details of the fingering analysis routine are shown in FIG.
50 starts execution of the same routine in step 400,
In step 401, the track number TR is set to "0", and in step 402, the optimal finger number MF as a variable for determining the optimal finger to be used at the beginning of the phrase
Initially set N to “1”. The finger numbers are represented by “2” to “5” in the order of the index finger, the middle finger, the ring finger, and the little finger, with the thumb being “1” for both hands, which function as finger information indicating the performance finger in the performance information. I do. Next, at step 403, the character memory 30b and the fingering memory 3
The start address of the track TR (= 0) in 0c is set as the phrase start address values RFA and WFA, and the program proceeds to step 404 and subsequent steps. Step 404
In, the temporary finger number B temporarily representing the first finger of the phrase
FN is initially set to “1”, and the maximum address value MADR representing the maximum value of the addresses corresponding to the first note (the so-called fingered note) that the finger first crossed in advancing the fingering Is temporarily set to “0”.

【0024】前記ステップ404の処理後、ステップ4
05にてキャラクタメモリ30bの読み出しポインタ及
び運指メモリ30cの書き込みポインタを前記フレーズ
先頭アドレス値RFA,WFAに設定し、ステップ40
6にて指番号FNを仮指番号BFNに設定して、プログ
ラムをステップ407のフレーズルーチンに進める。
After the processing of step 404, step 4
At step 05, the read pointer of the character memory 30b and the write pointer of the fingering memory 30c are set to the phrase head address values RFA and WFA.
At step 6, the finger number FN is set to the temporary finger number BFN, and the program proceeds to the phrase routine of step 407.

【0025】フレーズルーチンの詳細は図9に示されて
おり、CPU50はステップ450にて同ルーチンの実
行を開始し、ステップ451にて”1”により運指不能
を表す運指不能フラグFLG及び”1”により指の交差
があったことを表す指交差フラグFCNGをそれぞれ”
0”に初期設定した後、プログラムをステップ452以
降に進める。
The details of the phrase routine are shown in FIG. 9. The CPU 50 starts the execution of the routine at step 450, and at step 451 a fingering disabled flag FLG and "1" indicating fingering disabled by "1". The finger crossing flag FCNG indicating that there is a finger crossing by 1 "is respectively set to"
After initial setting to "0", the program proceeds to step 452 and subsequent steps.

【0026】ステップ452においては、トラック番号
TR(=0)の読み出しポインタが指すアドレスに記憶
されているキャラクタメモリ30b内のデータを読み出
し、同ポインタを次データのアドレスまで歩進しておく
(図4(B)参照)。なお、この場合も、各データはキー
イベントデータ、デュレーションイベントデータ、キャ
ラクタデータ、フレーズコード及びエンドコードをそれ
ぞれ単位とする。次に、ステップ453にて前記読み出
したデータがキャラクタデータであるか否かを判定す
る。キャラクタデータでなければ、ステップ453にて
「NO」と判定してプログラムをステップ454に進め
る。ステップ454においては、前記読み出しデータを
トラック番号TR(=0)の書き込みポインタが指す運
指メモリ30cのアドレスに書き込み、同ポインタを次
の空エリアまで進めておく(図4(C)参照)。そして、
ステップ455にて前記書き込んだデータがキーイベン
トデータであるか否かを判定する。キャラクタメモリ3
0bには、キーイベントデータ、デュレーションイベン
トデータ及びキャラクタデータの順に記憶されているの
で、最初、ステップ455にて「YES」と判定して、
プログラムをステップ456に進める。
In step 452, the data in the character memory 30b stored at the address indicated by the read pointer of the track number TR (= 0) is read, and the pointer is advanced to the address of the next data (FIG. 4 (B)). Also in this case, each data is in units of key event data, duration event data, character data, phrase code, and end code. Next, at step 453, it is determined whether or not the read data is character data. If it is not character data, "NO" is determined in the step 453, and the program proceeds to a step 454. In step 454, the read data is written to the address of the fingering memory 30c indicated by the write pointer of the track number TR (= 0), and the pointer is advanced to the next empty area (see FIG. 4C). And
At step 455, it is determined whether or not the written data is key event data. Character memory 3
In 0b, key event data, duration event data, and character data are stored in that order.
The program proceeds to step 456.

【0027】ステップ456においては、トラック番号
TR(=0)の書き込みポインタが指す運指メモリ30
cのアドレスに指番号FNを書き込み、同ポインタを次
の空エリアまで進めておく(図4(C)参照)。次に、ス
テップ457にて旧キーコードKC1を新キーコードK
C2に変更するとともに旧指番号FN1を新指番号FN
2に変更しておき、ステップ458にて新キーコードK
C2を前記ステップ454の処理によって書き込んだキ
ーコードに変更するとともに新指番号FN2を前記ステ
ップ456の処理によって書き込んだ指番号FNに変更
しておく。これらのステップ457,458の処理後、
ステップ459にて前記ステップ454の処理により書
き込んだキーイベントデータが現在のフレーズの最初の
音符に相当するか否かを判定する。この判定において
は、キャラクタメモリ30bのアドレスを後退させてデ
ータの先頭又はフレーズコードが出現するまでにキーイ
ベントデータが存在するか否かを調べればよい。この場
合、前記キーイベントデータはフレーズの最初の音符に
相当するので、ステップ459にて「YES」と判定し
てプログラムをステップ452に戻す。
In step 456, the fingering memory 30 pointed to by the write pointer of the track number TR (= 0)
The finger number FN is written at the address c, and the pointer is advanced to the next empty area (see FIG. 4C). Next, in step 457, the old key code KC1 is replaced with the new key code K.
Change to C2 and change old finger number FN1 to new finger number FN
2 and the new key code K
C2 is changed to the key code written by the process of step 454, and the new finger number FN2 is changed to the finger number FN written by the process of step 456. After the processing of these steps 457 and 458,
At step 459, it is determined whether or not the key event data written by the processing at step 454 corresponds to the first note of the current phrase. In this determination, the address of the character memory 30b is moved backward to check whether or not key event data exists before the beginning of the data or the appearance of the phrase code. In this case, since the key event data corresponds to the first note of the phrase, "YES" is determined in step 459, and the program returns to step 452.

【0028】前述のように、キャラクタメモリ30bに
はキーイベントデータ、デュレーションイベントデータ
及びキャラクタデータがこの順に記憶されているので、
今回ステップ452の処理によってキャラクタメモリ3
0bから読み出されるデータはデュレーションイベント
データである。したがって、ステップ453にて「N
O」と判定し、ステップ454にて前記読み出したデュ
レーションイベントデータを運指メモリ30cに書き込
んだ後、ステップ455,465にて共に「NO」と判
定してプログラムをふたたびステップ452に戻す。次
に、ステップ452の処理によりキャラクタメモリ30
bから読み出されるデータはキャラクタデータになるの
で、ステップ453にて「YES」と判定してプログラ
ムをステップ466以降に進める。
As described above, the key event data, the duration event data and the character data are stored in this order in the character memory 30b.
This time, the character memory 3
Data read from 0b is duration event data. Therefore, in step 453, “N
"O" is determined, and the read duration event data is written in the fingering memory 30c at step 454. Then, at steps 455 and 465, both are determined to be "NO" and the program is returned to step 452 again. Next, the character memory 30
Since the data read from b is character data, "YES" is determined in step 453, and the program proceeds to step 466 and subsequent steps.

【0029】ステップ466においては前記読み出した
キャラクタデータ中のスケールデータSCを変数Sとし
て設定するとともに、キータイプデータKTYPを変数
Xとして設定した後、トラック番号TR、前記変数S,
X、前回の指番号FNに基づいてプログラムメモリ52
に設けた第1運指テーブルTBLAを参照して新たな指
番号FNを決定する。
In step 466, the scale data SC in the read character data is set as a variable S, and the key type data KTYP is set as a variable X. Then, the track number TR, the variables S,
X, the program memory 52 based on the previous finger number FN
, A new finger number FN is determined with reference to the first fingering table TBLA provided in.

【0030】この第1運指テーブルTBLAについて説
明しておくと、図3(A)に示すように、同テーブルTB
LAはトラック番号TRとスケールデータSC(変数
S)とで決まる各組合せにそれぞれ対応した複数のサブ
テーブルからなり、各サブテーブルにはキータイプKT
YP(変数X)と前回の指番号FNとで決まる各組合せ
に対応した次の指番号FNが記憶されている。ただし、
図3(A)中の5より大きな指番号FN(サブテーブル番
号TN)は第2運指テーブルTBLBのサブテーブルを
指示するものである。第2運指テーブルTBLBは、図
3(B)に示すように、前記サブテーブル番号TNにそれ
ぞれ対応した複数のサブテーブルからなり、各サブテー
ブルにはアップダウンデータUDとスケールデータ(変
数S)とで決まる各組合せに対応した次の指番号FNが
記憶されている。ただし、この第2運指テーブル内にも
6以上の指番号FNが記憶されており、同指番号FNは
運指不能であることを表している。
The first fingering table TBLA will be described. As shown in FIG.
LA includes a plurality of sub-tables corresponding to each combination determined by the track number TR and the scale data SC (variable S), and each sub-table has a key type KT.
The next finger number FN corresponding to each combination determined by YP (variable X) and the previous finger number FN is stored. However,
A finger number FN (sub-table number TN) larger than 5 in FIG. 3A indicates a sub-table of the second fingering table TBLB. As shown in FIG. 3B, the second fingering table TBLB includes a plurality of sub-tables respectively corresponding to the sub-table numbers TN, and each sub-table has up-down data UD and scale data (variable S). The next finger number FN corresponding to each combination determined by is stored. However, six or more finger numbers FN are also stored in the second fingering table, which indicates that fingering is impossible.

【0031】ふたたび、プログラムの説明に戻ると、ス
テップ467の処理により決定された指番号FNが5以
下であれば、ステップ468にて「NO」と判定すると
ともに、ステップ474にて「NO」と判定してプログ
ラムをステップ452に戻す。また、前記ステップ46
7の処理により決定した指番号FNが5より大きい場合
には、ステップ468にて「YES」と判定してプログ
ラムをステップ469に進める。ステップ469におい
ては、キャラクタメモリ30b内のキャラクタデータの
うちでトラックTRの読み出しポインタが指すアドレス
以降の最も近いキャラクタデータを読み出す。そして、
ステップ470にて、前記読み出したキャラクタデータ
がフレーズコード又はエンドコードの前にあったか否
か、すなわち同キャラクタデータが現在のフレーズ内の
データであるか否かを判定する。
Returning to the description of the program, if the finger number FN determined by the processing in step 467 is 5 or less, "NO" is determined in step 468, and "NO" is determined in step 474. The determination is made and the program returns to step 452. Step 46
If the finger number FN determined by the process in step 7 is larger than 5, the determination in step 468 is “YES” and the program proceeds to step 469. In step 469, of the character data in the character memory 30b, the closest character data after the address indicated by the read pointer of the track TR is read. And
At step 470, it is determined whether or not the read character data is before the phrase code or the end code, that is, whether or not the character data is data in the current phrase.

【0032】前記読み出したキャラクタデータが現在の
フレーズ内のデータであれば、ステップ470にて「Y
ES」と判定して、ステップ471にて変数S,Uを同
キャラクタデータ中のスケールデータSC及びアップダ
ウンデータUDに設定する。前記読み出したキャラクタ
データが現在のフレーズ内のデータでなければ、ステッ
プ470にて「NO」と判定して、ステップ472にて
変数S,Uを共に「0」に設定する。これらのステップ
471,472の処理後、ステップ473にて前記ステ
ップ467の処理により決定した指番号FN(サブテー
ブル番号TN)及び変数S,Uに基づいて第2運指テー
ブルTBLBを参照して指番号FNを再度決定する。こ
のようにステップ467の処理により決定した指番号F
Nが6以上であるときには、次のキャラクタデータが現
在のフレーズ内に属する限り同キャラクタデータを考慮
して新たな指番号FNが決定される。次のキャラクタデ
ータが次のフレーズに関するものであれば、次のキャラ
クタデータが考慮されることなく、新たな指番号FNが
決定される。
If the read character data is data in the current phrase, "Y" in step 470
In step 471, the variables S and U are set to the scale data SC and the up / down data UD in the character data. If the read character data is not data in the current phrase, "NO" is determined in step 470, and both variables S and U are set to "0" in step 472. After the processing in steps 471 and 472, the finger is referred to in the second fingering table TBLB based on the finger number FN (sub table number TN) and the variables S and U determined in step 467 in step 473. The number FN is determined again. Thus, the finger number F determined by the processing in step 467
When N is 6 or more, a new finger number FN is determined in consideration of the next character data as long as the character data belongs to the current phrase. If the next character data is related to the next phrase, a new finger number FN is determined without considering the next character data.

【0033】そして、ステップ473の処理により決定
した指番号FNが5以下であれば、ステップ474にて
「NO」と判定してプログラムをステップ452に戻
し、キャラクタメモリ30b内のキーイベントデータ及
びデュレーションイベントデータが運指メモリ30cに
転送記憶されるとともに、同キーイベントデータに演奏
指を表す指情報が付けられていく(図4(C)参照)。ま
た、ステップ473の処理により決定した指番号FNが
「6」であれば、ステップ474にて「YES」と判定
し、ステップ475にて運指不能フラグFLGを”1”
に設定した後、ステップ476にてこのフレーズルーチ
ンの実行を終了する。
If the finger number FN determined by the processing in step 473 is 5 or less, "NO" is determined in step 474, and the program returns to step 452, where the key event data and the duration in the character memory 30b are stored. The event data is transferred and stored in the fingering memory 30c, and finger information indicating a performance finger is added to the key event data (see FIG. 4C). If the finger number FN determined by the process of step 473 is “6”, “YES” is determined in step 474, and in step 475, the fingering impossible flag FLG is set to “1”.
, The execution of the phrase routine is terminated in step 476.

【0034】このような運指メモリ30cへのデータの
書き込み中、前記ステップ454の処理により運指メモ
リ30cに書き込まれたキーイベントデータがフレーズ
の最初のキーイベントデータでなくなれば、ステップ4
59にて「NO」と判定してプログラムをステップ46
0以降に進める。ステップ460においては、指交差フ
ラグFCNGが前記ステップ451の処理によって初期
設定した”0”に保たれているか否かを判定する。指交
差フラグFCNGが”0”に保たれていれば、ステップ
460にて「YES」と判定して、ステップ461にて
トラック番号TRが「0」か否か、すなわち右手に関す
る演奏情報の処理中であるか否かを判定する。右手に関
する演奏情報の処理中であれば、ステップ461におけ
る「YES」との判定の基に、ステップ462にて下記
数1の不等式が成立するか否かを判定する。
If the key event data written in the fingering memory 30c is not the first key event data of the phrase during the writing of data into the fingering memory 30c by the processing of the step 454, the process proceeds to the step 4
The determination at 59 is "NO" and the program is executed at step 46.
Advance to 0 or later. In step 460, it is determined whether or not the finger crossing flag FCNG is kept at “0” initialized by the processing in step 451. If the finger crossing flag FCNG is kept at "0", "YES" is determined in the step 460, and in the step 461, whether or not the track number TR is "0", that is, during the processing of the performance information on the right hand Is determined. If the performance information relating to the right hand is being processed, it is determined in step 462 whether or not the following inequality expression 1 holds, based on the determination of “YES” in step 461.

【0035】[0035]

【数1】(KC2−KC1)・(FN2−FN1)<0 この数1の右辺は右手に関して音高の変化方向と指の変
更方向とが一致する場合に正となるもので、指交差のな
い運指が決定された場合には、ステップ462にて「N
O」と判定してプログラムをステップ452に戻す。ま
た、トラック番号TRが「1」すなわち左手に関する演
奏情報の処理中であれば、ステップ461における「N
O」との判定の基に、ステップ463にて下記数2の不
等式が成立するか否かを判定する。
## EQU1 ## (KC2-KC1). (FN2-FN1) <0 The right side of the equation 1 is positive when the pitch change direction and the finger change direction of the right hand coincide with each other. If no fingering is determined, “N
O "is determined, and the program returns to step 452. If the track number TR is “1”, that is, the performance information relating to the left hand is being processed, “N” in step 461
Based on the determination of “O”, it is determined in step 463 whether or not the following inequality expression 2 holds.

【0036】[0036]

【数2】(KC2−KC1)・(FN2−FN1)>0 この数2の右辺は左手に関して音高の変化方向と指の変
更方向とが一致する場合に負となるもので、指交差のな
い運指が決定された場合には、ステップ463にて「N
O」と判定してプログラムをステップ452に戻す。こ
れにより、指交差のない指番号FNが決定されていく限
り、指交差フラグFCNGが”0”に保たれたまま指番
号FNを含むキーイベントデータ及びデュレーションイ
ベントデータが運指メモリ30cにこの順に書き込まれ
ていく。
(KC2−KC1) · (FN2−FN1)> 0 The right side of the equation (2) becomes negative when the pitch change direction and the finger change direction coincide with each other with respect to the left hand. If no fingering is determined, "N" is determined in step 463.
O "is determined, and the program returns to step 452. As a result, as long as the finger number FN having no finger intersection is determined, the key event data and the duration event data including the finger number FN are stored in the fingering memory 30c in this order while the finger intersection flag FCNG is kept at “0”. It is written.

【0037】一方、指交差になる指番号FNが新たに決
定された場合には、前記数1,2の不等式が成立するの
で、ステップ462,463にて「YES」と判定して
プログラムをステップ464に進める。ステップ464
においては、指交差フラグFCNGを”1”に設定する
とともに、トラックTRの読み出しポインタ値をアドレ
ス値ADRとして設定する。そして、一旦指交差フラグ
FCNGが”1”に設定されると、ステップ460にて
「NO」すなわち指交差フラグFCNGが”0”でない
と判定してプログラムをステップ452に戻すようにな
る。したがって、指交差が生じた場合には、指交差フラ
グFCNGが”1”に設定されるとともに、指交差がフ
レーズ内で初めて発生した音符に関するキャラクタメモ
リ30bのアドレスがアドレス値ADRとして記憶され
る。
On the other hand, if the finger number FN at which the finger intersects is newly determined, the inequalities of Equations 1 and 2 are established. Proceed to 464. Step 464
In, the finger intersection flag FCNG is set to “1” and the read pointer value of the track TR is set as the address value ADR. Then, once the finger crossing flag FCNG is set to "1", it is determined in step 460 that the finger crossing flag FCNG is not "0", and the program returns to step 452. Therefore, when a finger crossing occurs, the finger crossing flag FCNG is set to “1”, and the address of the note in which the finger crossing occurs for the first time in the phrase in the character memory 30b is stored as the address value ADR.

【0038】このように、1フレーズ内の指番号FNを
含むキーイベントデータ及びデュレーションイベントデ
ータの運指メモリ30cに対する書き込みが終了する
と、前記ステップ454の処理によりフレーズコードが
同メモリ30cに書き込まれる。そして、ステップ46
5にて「YES」と判定して、ステップ476にてこの
フレーズルーチンの実行を終了する。また、前記ステッ
プ454の処理により、エンドコードが運指メモリ30
cに書き込まれた場合にも、ステップ465にて「YE
S」と判定して、ステップ476にてこのフレーズルー
チンの実行を終了する。
As described above, when the writing of the key event data including the finger number FN in one phrase and the duration event data to the fingering memory 30c is completed, the phrase code is written to the memory 30c by the process of step 454. And step 46
It is determined "YES" at 5 and the execution of the phrase routine is terminated at step 476. Further, by the processing of the step 454, the end code is stored in the fingering memory 30.
c, "YE" in step 465.
In step 476, the execution of the phrase routine is terminated.

【0039】このフレーズルーチンの実行終了後、プロ
グラムは図8のステップ408に戻されて、同ステップ
408にて運指不能フラグFLGが”0”であるか否か
を判定する。この運指不能フラグFLGが前記フレーズ
ルーチンの実行によって”1”に設定されていれば、同
ステップ408にて「NO」と判定してプログラムをス
テップ412に進める。ステップ412においては仮指
番号BFNに「1」を加算して、ステップ413におけ
る「YES」との判定の基に仮指番号BFNが5より大
きくなるまで、プログラムをステップ405に戻す。し
たがって、フレーズの最初の音符を押鍵する指を仮指番
号BFNに設定し、前述した1フレーズ内の音符に関す
る指番号FNを決定して、運指メモリ30c内の前記1
フレーズに関するデータを書き換える。
After the execution of the phrase routine is completed, the program returns to step 408 in FIG. 8, where it is determined whether or not the fingering impossible flag FLG is "0". If the fingering impossible flag FLG has been set to "1" by executing the phrase routine, "NO" is determined in step 408, and the program proceeds to step 412. In step 412, “1” is added to the provisional finger number BFN, and the program returns to step 405 until the provisional finger number BFN becomes larger than 5 based on the determination of “YES” in step 413. Therefore, the finger which presses the first note of the phrase is set as the temporary finger number BFN, the finger number FN relating to the note in one phrase is determined, and the 1st finger number in the fingering memory 30c is determined.
Rewrite the phrase data.

【0040】一方、前記運指不能フラグFLGが”0”
に設定されたままであれば、ステップ408にて「YE
S」と判定して、ステップ409にて指交差フラグFC
NGが”1”であるか否かを判定する。前記フレーズル
ーチンの実行後にも、指交差フラグFCNGが”0”に
保たれていれば、ステップ409にて「NO」と判定し
てプログラムをステップ417に進める。ステップ41
7においては運指メモリ30c内のトラック番号TRに
より指定されたトラックにエンドコードが書き込まれて
いるか否かを判定する。同トラックにエンドコードが書
き込まれていなければ、ステップ417にて「NO」と
判定してプログラムをステップ418に進める。ステッ
プ418においてはフレーズ先頭アドレス値RFA,W
FAをトラック番号TRにより指定されるキャラクタメ
モリ30bの読み出しポインタ値及び運指メモリ30c
の書き込みポインタ値にそれぞれ設定して、プログラム
をステップ404に戻す。この場合には、前回のフレー
ズルーチンの実行により運指メモリ30c内に書き込ま
れた一連の指番号FNが確定されて、次のフレーズのデ
ータの書き込みを始める。
On the other hand, the fingering impossible flag FLG is "0".
If it is still set to “YE” in step 408
S ”, and at step 409, the finger crossing flag FC
It is determined whether or not NG is “1”. If the finger crossing flag FCNG is kept at “0” even after the execution of the phrase routine, it is determined “NO” in step 409 and the program proceeds to step 417. Step 41
At 7, it is determined whether an end code has been written to the track specified by the track number TR in the fingering memory 30c. If the end code has not been written in the same track, “NO” is determined in the step 417, and the program proceeds to the step 418. In step 418, the phrase head address value RFA, W
The read pointer value of the character memory 30b and the fingering memory 30c where FA is specified by the track number TR
, And the program returns to step 404. In this case, a series of finger numbers FN written in the fingering memory 30c by execution of the previous phrase routine is determined, and writing of data for the next phrase is started.

【0041】フレーズルーチンの実行によって指番号F
Nの付与を終了したフレーズ内の指番号FNに指交差が
あって指交差フラグFCNGが”1”であれば、前記ス
テップ409にて「YES」と判定してプログラムをス
テップ410に進める。ステップ410においては、最
大アドレス値MADRと前記フレーズルーチンの実行に
よって設定されたアドレス値ADRとを比較する。アド
レス値ADRが最大アドレス値MADR以下であれば、
ステップ410にて「NO」と判定してプログラムをス
テップ412に進める。アドレス値ADRが最大アドレ
ス値MADRより大きれば、ステップ410にて「YE
S」と判定して、ステップ411にて最大アドレス値M
ADRをアドレス値ADRに変更するとともに、最適指
番号MFNを前記ステップ404,412により設定し
た仮指番号BFNに変更する。この後、ステップ412
にて仮指番号BFNに「1」を加算し、同加算結果が5
より大きくなるまで、プログラムをステップ405に戻
して前記ステップ405〜412の処理を繰り返し実行
する。
By executing the phrase routine, the finger number F
If the finger number FN in the phrase for which N has been given has a finger intersection and the finger intersection flag FCNG is "1", "YES" is determined in step 409, and the program proceeds to step 410. In step 410, the maximum address value MADR is compared with the address value ADR set by executing the phrase routine. If the address value ADR is equal to or less than the maximum address value MADR,
At step 410, “NO” is determined, and the program proceeds to step 412. If the address value ADR is larger than the maximum address value MADR, at step 410 "YE
S ”, and at step 411, the maximum address value M
ADR is changed to the address value ADR, and the optimal finger number MFN is changed to the temporary finger number BFN set in steps 404 and 412. After this, step 412
Adds “1” to the provisional finger number BFN, and the result of the addition is 5
Until it becomes larger, the program returns to step 405 and the processing of steps 405 to 412 is repeatedly executed.

【0042】このようなステップ405〜413の処理
により、フレーズの最初の音符に関する1〜5の全ての
仮指番号BFNに対して、不能フラグFLGが”1”に
設定されているかまたは1フレーズ内の指交差する指番
号FNが存在した場合には、不能フラグFLGが”0”
であって指交差が最も遅く現れた仮指番号BFNが最適
指番号MFNとして保存されることになる。そして、こ
のステップ405〜413の処理後には、ステップ41
4にて前記ステップ405の処理と同様にキャラクタメ
モリ30bの読み出しポインタ及び運指メモリ30cの
書き込みポインタを前記フレーズ先頭アドレス値RF
A,WFAに設定し、ステップ415にて指番号FNを
最適指番号MFNに設定して、ステップ416にて前述
した図9のフレーズルーチンをふたたび実行する。
According to the processing of steps 405 to 413, the disable flag FLG is set to "1" for all the temporary finger numbers BFN of 1 to 5 relating to the first note of the phrase, or within one phrase. If the finger number FN that intersects the finger exists, the disable flag FLG is set to “0”.
Thus, the temporary finger number BFN at which the finger intersection appears latest is stored as the optimum finger number MFN. After the processing of steps 405 to 413, step 41 is executed.
In step 4, the read pointer of the character memory 30b and the write pointer of the fingering memory 30c are stored in the same manner as in the processing of step 405.
A and WFA are set, the finger number FN is set to the optimum finger number MFN at step 415, and the above-described phrase routine of FIG. 9 is executed again at step 416.

【0043】そして、このフレーズルーチンの実行によ
り、フレーズの最初の音符に対応した指番号を最適指番
号MFNとして指番号FNの付与を再度行い、前記ステ
ップ405〜413の処理で扱ったフレーズに関する指
番号FNを含むキーイベントデータ、デュレーションイ
ベントデータ及びフレーズコードを運指メモリ30cに
再記憶する。これにより、前記フレーズに関する一連の
指番号FNが確定される。前記ステップ416の処理
後、前記と同様にして、次のフレーズに関するデータを
処理する。このようにして、運指メモリ30cにエンド
コードが書き込まれると、ステップ417にて「YE
S」と判定してプログラムをステップ419に進める。
ステップ419においては、トラック番号TRに「1」
を加算することにより同番号TRを「1」に変更し、ス
テップ420における「NO」との判定の基にプログラ
ムを前述したステップ402に戻す。これにより、トラ
ック1すなわち左手に関する演奏情報に指番号FNを付
与するとともに、運指メモリ30cに同指番号FNの付
与された演奏情報が書き込まれる(図4(C)参照)。そ
して、トラック1に関する前記データ処理が終了する
と、ステップ419の処理によってトラック番号TRは
「2」に変更され、ステップ420における「YES」
との判定の基に、ステップ421にて運指分析ルーチン
の実行を終了する。
By executing the phrase routine, the finger number corresponding to the first note of the phrase is set as the optimum finger number MFN, and the finger number FN is assigned again. The key event data including the number FN, the duration event data, and the phrase code are stored again in the fingering memory 30c. Thus, a series of finger numbers FN relating to the phrase is determined. After the processing in step 416, data on the next phrase is processed in the same manner as described above. When the end code is written in the fingering memory 30c in this way, in step 417, “YE
S ”is determined, and the program proceeds to step 419.
In step 419, the track number TR is set to "1".
To change the same number TR to “1”, and the program returns to the above-described step 402 based on the determination of “NO” in the step 420. Thus, the finger number FN is assigned to the performance information relating to the track 1, that is, the left hand, and the performance information assigned the same finger number FN is written to the fingering memory 30c (see FIG. 4C). When the data processing for track 1 is completed, the track number TR is changed to “2” by the processing of step 419, and “YES” in step 420
In step 421, the execution of the fingering analysis routine is terminated.

【0044】以上のように、運指情報の解析にあたって
は、まずフレキシブルディスクFDに予め記憶されてい
る音符情報を含む演奏情報を一旦演奏情報メモリ30a
に転送し、同転送された演奏情報メモリ30a内の演奏
情報を自動的に分析して、連続する音符情報に応じて各
音符情報にキャラクタデータを付与して同キャラクタデ
ータの付与された演奏情報をキャラクタメモリ30bに
記憶させるようにした。そして、前記キャラクタデータ
に基づいて指番号FN(指情報)を決定し、キャラクタ
メモリ30bに記憶されているキャラクタデータに代え
て指番号FN(指情報)を採用して、同指番号FNを演
奏情報(音符情報)に挿入して運指メモリ30cに同演
奏情報と共に指番号FNを記憶する。したがって、フレ
キシブルディスクFDは演奏情報(音高情報、音符情
報)を供給する手段として機能し、演奏情報メモリ30
aは演奏情報を供給する手段として機能すると同時にバ
ッファメモリとしても機能し、キャラクタメモリ30b
はバッファメモリとして機能する。
As described above, in analyzing the fingering information, first, the performance information including the note information stored in advance in the flexible disk FD is temporarily stored in the performance information memory 30a.
And automatically analyzes the transferred performance information in the performance information memory 30a, assigns character data to each piece of note information in accordance with continuous note information, and assigns the character information to the performance information. Is stored in the character memory 30b. Then, the finger number FN (finger information) is determined based on the character data, and the finger number FN (finger information) is employed instead of the character data stored in the character memory 30b, and the finger number FN is played. The finger number FN is stored in the fingering memory 30c together with the performance information by inserting it into the information (note information). Therefore, the flexible disk FD functions as a means for supplying performance information (pitch information, note information), and the performance information memory 30
a functions not only as a means for supplying performance information but also as a buffer memory.
Functions as a buffer memory.

【0045】なお、本実施形態においては、演奏情報メ
モリ30a、キャラクタメモリ30b及び運指メモリ3
0cからなる3つのメモリを設けたが、3つのメモリを
設けなくても一つのメモリのみを設け、フレキシブルデ
ィスクFDから供給された演奏情報にキャラクタデータ
を付与して演奏情報メモリ30aに重ね記憶し、かつ同
キャラクタデータを運指情報に変えた演奏情報を演奏情
報メモリ30aに再度重ね記憶させるようにしてもよ
い。 (d)自動演奏 次に、演奏情報メモリ30a及び運指メモリ30cに記
憶されているデータに基づく自動演奏及び運指表示につ
いて説明する。この場合、演奏者は操作パネル20内の
モード切り換え操作子を操作する。このモード切り換え
操作子の操作に応答して、CPU50は図5のステップ
109にて「YES」と判定して、モードデータMOD
を順に切り換える。例えば、現在のモードデータMOD
が「0」であれば「1」に変更し、「1」であれば
「2」に変更し、「2」であれば「3」に変更し、かつ
「3」であれば「0」に変更する。このモードデータM
ODは、「0」によりトラック0〜8の演奏情報を単に
再生する通常再生モードを表し、「1」によりトラック
1〜8の演奏情報を単に再生するとともにトラック0の
演奏情報を右手用の運指表示に利用する右手ガイドモー
ドを表し、「2」によりトラック0,2〜8の全ての演
奏情報を再生するとともにトラック1の演奏情報を左手
用の運指表示に利用する左手ガイドモードを表し、
「3」によりトラック2〜8の演奏情報を単に再生する
とともにトラック0,1の演奏情報を右手用及び左手用
の運指表示にそれぞれ利用する両手ガイドモードを表
す。
In this embodiment, the performance information memory 30a, the character memory 30b and the fingering memory 3
Although the three memories 0c are provided, only one memory is provided without providing the three memories. Character data is added to the performance information supplied from the flexible disk FD, and the performance information is overlaid on the performance information memory 30a. The performance information obtained by converting the character data into fingering information may be stored again in the performance information memory 30a. (d) Automatic Performance Next, automatic performance and fingering display based on data stored in the performance information memory 30a and the fingering memory 30c will be described. In this case, the player operates the mode switching operator in the operation panel 20. In response to the operation of the mode switching operator, the CPU 50 determines "YES" in step 109 of FIG.
Are sequentially switched. For example, the current mode data MOD
Is changed to "1" if "0", changed to "2" if "1", changed to "3" if "2", and "0" if "3". Change to This mode data M
OD indicates a normal reproduction mode in which the performance information of tracks 0 to 8 is simply reproduced by "0", and the reproduction information of tracks 1 to 8 is simply reproduced by "1", and the performance information of track 0 is used for right hand operation. Represents a right hand guide mode used for finger display, and "2" represents a left hand guide mode in which all the performance information of tracks 0, 2 to 8 are reproduced and the performance information of track 1 is used for fingering display for the left hand. ,
"3" indicates a two-handed guide mode in which the performance information of tracks 2 to 8 is simply reproduced and the performance information of tracks 0 and 1 is used for fingering display for right and left hands, respectively.

【0046】前記モードの設定後、演奏者は操作パネル
20のスタート/ストップ操作子を操作する。このスタ
ート/ストップ操作子の操作に応答して、CPU50は
ステップ111にて「YES」と判定して、ステップ1
12にて”1”により自動演奏の動作中であることを表
すランフラグRUNを反転、すなわち現ランフラグRU
Nが”0”であれば”1”に変更し、現ランフラグRU
Nが”1”であれば”0”に変更する。前記反転の結
果、ランフラグRUNが”1”になると、ステップ11
3にて「YES」と判定してステップ114にて自動演
奏スタートルーチンを実行する。この自動演奏スタート
ルーチン(詳細には図10参照)は自動演奏の開始のた
めの準備を行うもので、この処理後、タイマ53からの
割り込み信号の発生毎に割り込みプログラム(図11)
を実行して、演奏情報メモリ30b及び運指メモリ30
cに記憶されているデータを用いて前記各モード毎に自
動再生動作又は運指動作が行なわれる。一方、前記反転
の結果、ランフラグRUNが”0”になると、ステップ
113にて「NO」と判定してステップ115にて自動
演奏を停止させる。
After setting the mode, the player operates the start / stop operator on the operation panel 20. In response to the operation of the start / stop operator, the CPU 50 determines “YES” in step 111, and proceeds to step 1
At 12, the run flag RUN indicating that the automatic performance is in operation by “1” is inverted, ie, the current run flag RU is
If N is "0", it is changed to "1" and the current run flag RU
If N is "1", it is changed to "0". When the run flag RUN becomes “1” as a result of the inversion, step 11
In step 3, “YES” is determined, and in step 114, an automatic performance start routine is executed. This automatic performance start routine (see FIG. 10 for details) prepares for the start of automatic performance. After this processing, every time an interrupt signal is generated from the timer 53, an interrupt program (FIG. 11)
To perform the performance information memory 30b and the fingering memory 30
An automatic reproduction operation or a fingering operation is performed for each mode using the data stored in c. On the other hand, when the run flag RUN becomes "0" as a result of the inversion, "NO" is determined in the step 113, and the automatic performance is stopped in the step 115.

【0047】以下、各モード毎に電子楽器の動作を説明
する。 (d1)通常再生モード モードデータMDが「0」であって、当該電子楽器が通
常再生モードに設定されている場合の動作について説明
する。図10の自動演奏スタートルーチンはステップ5
00にて開始され、CPU50はステップ501にて全
トラック0〜8の読み出しポインタを演奏情報メモリ3
0aの各トラックの先頭アドレス値に設定し、ステップ
502にて各トラック毎の音符の時間間隔(音長)を計
測するためのデュレーションタイムカウント値TM(0)
〜TM(8)を「0」に初期設定する。次に、ステップ5
03にて運指表示と並行して正しい鍵が押鍵されるまで
自動演奏の進行を一時的に停止させるためのトラック
0,1に対応した待ちフラグWAIT(0),WAIT
(1)を”0”に初期設定し、ステップ504にて鍵盤装
置10にて押鍵された鍵を表すキーコードを一時的に記
憶する演奏キーコードリストPKCLをクリアする。そ
して、ステップ505にてモードデータMODに基づき
当該電子楽器が設定されているモードを判定する。この
場合、モードデータMODは「0」に設定されているの
で、ステップ505の判定処理によりプログラムをステ
ップ515に進め、同ステップ515にて自動演奏スタ
ートルーチンの実行を終了する。
The operation of the electronic musical instrument for each mode will be described below. (d1) Normal playback mode The operation when the mode data MD is "0" and the electronic musical instrument is set to the normal playback mode will be described. The automatic performance start routine of FIG.
In step 501, the CPU 50 stores the read pointers of all tracks 0 to 8 in the performance information memory 3 in step 501.
0a is set to the head address value of each track, and in step 502, a duration time count value TM (0) for measuring a time interval (note length) of a note for each track.
.TM. (8) is initialized to "0". Next, step 5
At 03, wait flags WAIT (0) and WAIT corresponding to tracks 0 and 1 for temporarily stopping the progress of the automatic performance until a correct key is pressed in parallel with the fingering display.
(1) is initialized to "0", and in step 504, the performance key code list PKCL for temporarily storing the key code representing the key pressed by the keyboard device 10 is cleared. Then, in step 505, the mode in which the electronic musical instrument is set is determined based on the mode data MOD. In this case, since the mode data MOD is set to "0", the program proceeds to step 515 by the determination processing in step 505, and the execution of the automatic performance start routine is ended in step 515.

【0048】この自動演奏スタートルーチンの実行後、
タイマ53から割り込み信号がCPU50に到来する毎
に、CPU50は図11の割り込みプログラムを実行す
る。この割り込みプログラムの実行はステップ600に
て開始され、ステップ601にてランフラグRUNが”
1”であり、かつ両待ちフラグWAIT(0),WAIT
(0)が共に”0”であるか否かを判定する。この場合、
ランフラグが”1”に設定されるとともに両待ちフラグ
WAIT(0),WAIT(0)が共に”0”に設定されて
いるので、同ステップ601にて「YES」と判定し
て、ステップ602にてトラック番号TRを「0」に設
定した後、プログラムをステップ603以降に進める。
After executing the automatic performance start routine,
Each time an interrupt signal from the timer 53 arrives at the CPU 50, the CPU 50 executes the interrupt program of FIG. The execution of this interrupt program is started in step 600, and in step 601, the run flag RUN is set to "
1 "and both wait flags WAIT (0), WAIT
It is determined whether both (0) are “0”. in this case,
Since the run flag is set to "1" and both wait flags WAIT (0) and WAIT (0) are both set to "0", "YES" is determined in step 601 and step 602 is performed. After setting the track number TR to “0”, the program proceeds to step 603 and subsequent steps.

【0049】ステップ603においてはトラック番号T
Rにより指定されるデュレーションタイムカウント値T
M(TR)(=TM(0))が「0」以下であるか否かを判定
する。このデュレーションタイムカウント値TM(TR)は
最初前述の自動演奏スタートルーチンにて「0」に設定
されているので、同ステップ603にて「YES」と判
定して、ステップ604にてトラック番号TRの読み出
しポインタ(トラック0の先頭アドレス)によりアドレ
ス指定される自動演奏メモリ30a内の記憶データが読
み出される。さらに、同ステップ604においては、前
記読み出しポインタを次のデータすなわちデュレーショ
ンイベントデータの記憶位置まで進めておく。この記憶
データはキーイベントデータであるので、ステップ60
5にて「NO」と判定してプログラムをステップ606
の再生ルーチンに進める。
In step 603, the track number T
Duration time count value T specified by R
It is determined whether or not M (TR) (= TM (0)) is equal to or less than “0”. Since the duration time count value TM (TR) is initially set to "0" in the above-described automatic performance start routine, "YES" is determined in step 603, and the track number TR of the track number TR is determined in step 604. Data stored in the automatic performance memory 30a addressed by the read pointer (the head address of the track 0) is read. Further, in step 604, the read pointer is advanced to the next data, that is, the storage position of the duration event data. Since this stored data is key event data, step 60
In step 5, “NO” is determined, and the program is executed.
To the reproduction routine.

【0050】再生ルーチンの詳細は図12に示されてお
り、同ルーチンの実行はステップ650にて開始され、
ステップ651,653にて前記読み出したデータがデ
ュレーションイベントデータ又はキーイベントデータで
あるか否かをそれぞれ判定する。したがって、ステップ
653にて「YES」と判定してプログラムをステップ
655に進める。ステップ655においては、モードデ
ータMODが「1」若しくは「3」かつトラック番号T
Rが「0」、又はモードデータMODが「2」若しくは
「3」かつトラック番号TRが「1」であるか否かを判
定する。この場合、モードデータMODは「0」である
ので、ステップ655にて「NO」と判定して、ステッ
プ656にて発音処理を実行する。この発音処理によ
り、前記読み出したキーイベントデータ中のキーコード
及びキーオン信号を楽音信号形成回路40に出力するの
で、同回路40は前記キーコードにより表された音高の
楽音信号を形成してサウンドシステム41に出力する。
これにより、トラック0の演奏情報に基づく楽音信号が
発生し始める。前記ステップ656の処理後、ステップ
657にて前記読み出しキーイベントデータ中のゲート
タイムがゲートタイムカウント値GT(TR)として設定さ
れて、ステップ668の処理により再生ルーチンの実行
を終了する。
The details of the reproduction routine are shown in FIG. 12, and the execution of the routine is started at step 650.
At steps 651 and 653, it is determined whether the read data is duration event data or key event data. Therefore, the determination at step 653 is “YES” and the program proceeds to step 655. In step 655, the mode data MOD is "1" or "3" and the track number T
It is determined whether R is “0”, the mode data MOD is “2” or “3”, and the track number TR is “1”. In this case, since the mode data MOD is “0”, “NO” is determined in the step 655, and the sound generation processing is executed in the step 656. By this sound generation processing, the key code and the key-on signal in the read key event data are output to the tone signal forming circuit 40. The circuit 40 forms the tone signal of the pitch represented by the key code, and Output to the system 41.
Thus, a tone signal based on the performance information of the track 0 starts to be generated. After the process of step 656, the gate time in the read key event data is set as the gate time count value GT (TR) in step 657, and the execution of the reproduction routine is terminated by the process of step 668.

【0051】この再生ルーチン(図11のステップ60
6)の実行終了後、プログラムはふたたびステップ60
3に戻される。デュレーションタイムカウント値TM(T
R)は「0」に保たれたままであるので、前記と同様に、
ステップ603にて「YES」と判定して、ステップ6
04にて前記トラック番号TRの読み出しポインタによ
りアドレス指定される自動演奏メモリ30a内の記憶デ
ータが読み出されるとともに、同ポインタは次データ位
置まで進められる。この読み出されたデータはデュレー
ションイベントデータであるので、前記再生ルーチン
(図12)のステップ651にて「YES」と判定し、
ステップ652にてデュレーションイベントデータ中の
デュレーションタイムをデュレーションタイムカウント
値TM(TR)として設定して、ステップ668にて再生ル
ーチンの実行を終了する。これにより、デュレーション
タイムカウント値TM(TR)は「0」より大きな値になる
ので、次のステップ603の判定処理においては「N
O」と判定してプログラムをステップ608に進める。
This reproduction routine (step 60 in FIG. 11)
After the execution of step 6), the program returns to step 60.
Returned to 3. Duration time count value TM (T
R) remains at "0", so that
In step 603, “YES” is determined, and step 6 is performed.
At 04, the stored data in the automatic performance memory 30a addressed by the read pointer of the track number TR is read, and the pointer is advanced to the next data position. Since the read data is duration event data, “YES” is determined in step 651 of the reproduction routine (FIG. 12),
In step 652, the duration time in the duration event data is set as the duration time count value TM (TR), and in step 668, the execution of the reproduction routine ends. As a result, the duration time count value TM (TR) becomes a value larger than “0”.
O is determined, and the program proceeds to step 608.

【0052】ステップ608においては、トラック番号
TRにより指定されるゲートタイムカウント値GT(TR)
が「0」以下であるか否かを判定する。このゲートタイ
ムカウント値GT(TR)は前記図12のステップ657の
処理により「0」より大きな値に設定されているので、
ステップ608にて「NO」と判定してプログラムをス
テップ610,611に進める。ステップ610におい
てはゲートタイムカウント値GT(TR)から「1」が減算
され、ステップ611においてはデュレーションタイム
カウント値TM(TR)から「1」が減算される。次に、ス
テップ612にてトラック番号TRに「1」を加算し、
ステップ613にて前記加算されたトラック番号TRが
「9」に等しいか否かを判定する。トラック番号TRが
「9」になるまで、プログラムはステップ603に戻さ
れ、前述した場合と同様に、トラック1〜8の演奏情報
メモリ30a内のキーイベントデータ及びデュレーショ
ンイベントデータが読み出されるとともに、同読み出し
たデータに基づいて楽音信号の発生が制御されるととも
に、デュレーションタイムカウント値TM(TR)及びゲー
トタイムカウント値GT(TR)が前記読み出したデュレー
ションタイム及びゲートタイムにそれぞれ設定される。
そして、トラック番号TRが「9」になると、すなわち
トラック0〜8の関する各音符に対応したデータの読み
出しが終了すると、ステップ613にて「YES」と判
定してステップ614にて割り込みプログラムの実行を
終了する。
In step 608, the gate time count value GT (TR) specified by the track number TR
Is smaller than or equal to “0”. Since the gate time count value GT (TR) has been set to a value larger than “0” by the processing of step 657 in FIG. 12,
At step 608, “NO” is determined, and the program proceeds to steps 610 and 611. In step 610, “1” is subtracted from the gate time count value GT (TR), and in step 611, “1” is subtracted from the duration time count value TM (TR). Next, at step 612, "1" is added to the track number TR,
At step 613, it is determined whether or not the added track number TR is equal to "9". Until the track number TR becomes "9", the program returns to step 603, and the key event data and the duration event data in the performance information memory 30a of the tracks 1 to 8 are read out and the same as described above. The generation of a tone signal is controlled based on the read data, and the duration time count value TM (TR) and the gate time count value GT (TR) are set to the read duration time and gate time, respectively.
Then, when the track number TR becomes "9", that is, when reading of data corresponding to each note relating to tracks 0 to 8 is completed, "YES" is determined in step 613, and execution of the interrupt program is performed in step 614. To end.

【0053】そして、次にタイマ53からCPU50に
割り込み信号が入力されると、CPU50はふたたび図
11のステップ600にて割り込みプログラムの実行を
開始する。この場合も、ランフラグRUNは”1”であ
りかつ待ちフラグWAIT(0),WAIT(1)も共に”
0”であるので、ステップ602,612,613の処
理により、トラック番号TRを「0」から順次「1」ず
つ「8」まで変更しながら、ステップ603〜611の
処理を実行する。デュレーションタイムカウント値TM
(TR)及びゲートタイムカウント値GT(TR)が「0」よ
り大きい間、ステップ603,608にて共に「NO」
と判定して、ステップ610,611の処理によってゲ
ートタイムカウント値GT(TR)及びデュレーションタ
イムカウント値TM(TR)が「1」ずつ減算される。この
ような減算処理により、トラック番号TRにより指定さ
れるゲートタイムカウント値GT(TR)が「0」になる
と、ステップ608にて「YES」と判定して、ステッ
プ609にてトラックTRのデータに基づいて発生中の
楽音信号をオフするための制御信号を楽音信号形成回路
40に出力する。楽音信号形成回路40はトラックTR
の楽音信号を減衰させた後、その発生を停止する。
Then, when an interrupt signal is input from the timer 53 to the CPU 50, the CPU 50 starts executing the interrupt program again in step 600 of FIG. Also in this case, the run flag RUN is “1” and the wait flags WAIT (0) and WAIT (1) are both “1”.
Since it is "0", the processing of steps 603 to 611 is executed while the track number TR is sequentially changed from "0" to "8" in steps of "1" by the processing of steps 602, 612 and 613. Duration time count value TM
While (TR) and the gate time count value GT (TR) are larger than "0", "NO" in both steps 603 and 608.
Is determined, the gate time count value GT (TR) and the duration time count value TM (TR) are decremented by "1" by the processing of steps 610 and 611. When the gate time count value GT (TR) specified by the track number TR becomes “0” by such a subtraction process, “YES” is determined in the step 608, and the data of the track TR is determined in the step 609. A control signal for turning off the tone signal being generated is output to the tone signal forming circuit 40 based on the tone signal. The tone signal forming circuit 40 is a track TR
After the tone signal is attenuated, its generation is stopped.

【0054】また、さらに時間が経過して、トラック番
号TRにより指定されるデュレーションタイムカウント
値TM(TR)が「0」になると、ステップ603にて
「YES」と判定してプログラムをステップ604に進
める。したがって、前述したステップ603〜606の
処理により、次の音符に関するキーイベントデータ及び
デュレーションイベントデータを読み出して次の楽音信
号の発生を制御する。このような楽音信号の発生制御
中、演奏情報メモリ30aからフレーズコードが読み出
されたとき、図12のステップ651,653にてそれ
ぞれ「NO」と判定して、ステップ668にて再生ルー
チンの実行を終了する。この場合、トラック番号TRに
よって指定される読み出しポインタはステップ604の
処理により次のキーイベントデータのアドレスに設定さ
れている。したがって、ひきつづき実行される図11の
ステップ603〜606の処理により、次のフレーズの
先頭の音符に関するキーイベントデータ及びデュレーシ
ョンイベントデータが読み出されて、同音符に関する楽
音信号の発生が制御される。
When the duration time count value TM (TR) specified by the track number TR becomes "0" after a further time has elapsed, "YES" is determined in the step 603, and the program proceeds to the step 604. Proceed. Therefore, through the processing of steps 603 to 606 described above, the key event data and the duration event data relating to the next note are read and the generation of the next musical tone signal is controlled. When the phrase code is read from the performance information memory 30a during such tone signal generation control, "NO" is determined in each of steps 651 and 653 in FIG. 12, and a reproduction routine is executed in step 668. To end. In this case, the read pointer designated by the track number TR has been set to the address of the next key event data by the processing of step 604. Accordingly, the key event data and duration event data relating to the first note of the next phrase are read out by the processing of steps 603 to 606 in FIG.

【0055】また、前記読み出したデータがエンドコー
ドであれば、ステップ605にて「YES」と判定し
て、ステップ607にて前記読み出しポインタをエンド
コードが記憶されているアドレスに再び戻す。したがっ
て、この場合には、ひきつづき実行される図11のステ
ップ603〜605の処理により、常にエンドコードが
読み出されるとともに、プログラムはステップ607を
介してステップ612,613に進められる。このよう
にして、トラック0〜8の楽音信号が順次再生される。 (d2)右手ガイドモード モードデータMDが「1」であって、当該電子楽器が右
手ガイドモードに設定されている場合の動作について説
明する。図10の自動演奏スタートルーチンにおいて
は、前記ステップ501〜504の処理により、トラッ
ク0の読み出しポインタは運指メモリ30cのトラック
の先頭アドレス値にそれぞれ設定されるとともに残りの
トラック1〜8の読み出しポインタは演奏情報メモリ3
0aの各トラックの先頭アドレス値にそれぞれ設定さ
れ、デュレーションタイムカウント値TM(0)〜TM
(8)及び待ちフラグWAIT(0),WAIT(1)が”
0”に初期設定され、かつ演奏キーコードリストPKC
Lがクリアされる。そして、ステップ505の判定処理
により、ステップ506〜508の処理が実行される。
If the read data is an end code, "YES" is determined in step 605, and the read pointer is returned to the address where the end code is stored in step 607. Therefore, in this case, the end code is always read out by the processing of steps 603 to 605 in FIG. 11 to be executed subsequently, and the program proceeds to steps 612 and 613 via step 607. In this way, the tone signals of tracks 0 to 8 are sequentially reproduced. (d2) Right Hand Guide Mode The operation when the mode data MD is “1” and the electronic musical instrument is set to the right hand guide mode will be described. In the automatic performance start routine shown in FIG. 10, the read pointer of the track 0 is set to the head address value of the track in the fingering memory 30c, and the read pointers of the remaining tracks 1 to 8 are set by the processing of steps 501 to 504. Is the performance information memory 3
0a is set to the start address value of each track, and the duration time count values TM (0) to TM (TM)
(8) and the wait flags WAIT (0) and WAIT (1)
0 "and the performance key code list PKC
L is cleared. Then, the processing of steps 506 to 508 is executed by the determination processing of step 505.

【0056】ステップ506においては、トラック0の
最初のキーイベントデータ中のキーコード及び指番号F
Nが読み出される。なお、この場合の読み出しポインタ
の歩進は行われない。ステップ507においては、前記
読み出されたキーコード及び指番号FNに基づいて右手
のための発光素子10bの点灯を制御するための指示情
報が形成されて、同指示情報が点灯制御回路12に供給
され、同制御回路12が発光素子10bの点灯を制御す
る。この制御においては、まず、図2に示すように、キ
ーコードにより表された鍵に対応した発光素子10bが
赤色に点灯される。次に、赤色に点灯した発光素子10
bの左側にて同素子10bに隣り合うFN−1個の発光
素子10bを青色に点灯させるとともに、前記赤色の発
光素子10bの右側にて同素子10bに隣り合う5−F
N個の発光素子10bを青色に点灯させる。これによ
り、右手の各指に対応した合計5個の発光素子10bが
点灯されるとともに押鍵に使われるべき指が赤色に指示
され、押鍵されるべき鍵及び使われるべき指が同時に発
光素子10bによって指示される。また、この合計5つ
の発光素子10bの点灯は右手を置く位置を指示してお
り、これらの発光素子10bの点灯を指示するための指
示信号の形成が右手を置く位置を表す情報の生成に相当
する。ステップ508においては、トラック0内のキー
コードであって演奏者によって次に押鍵されるべき鍵す
なわち赤色に点灯された鍵を表す自動側キーコードAK
C(0)が、前記読み出したキーコードに設定される。
In step 506, the key code and finger number F in the first key event data of track 0
N is read. In this case, the read pointer is not incremented. In step 507, instruction information for controlling lighting of the light emitting element 10b for the right hand is formed based on the read key code and finger number FN, and the instruction information is supplied to the lighting control circuit 12. Then, the control circuit 12 controls lighting of the light emitting element 10b. In this control, first, as shown in FIG. 2, the light emitting element 10b corresponding to the key represented by the key code is lit red. Next, the light emitting element 10 illuminated in red
b, the FN-1 light emitting elements 10b adjacent to the same element 10b are turned on in blue, and 5-F adjacent to the same element 10b on the right side of the red light emitting element 10b.
The N light emitting elements 10b are turned on in blue. Thereby, a total of five light emitting elements 10b corresponding to each finger of the right hand are turned on, the finger to be used for key pressing is indicated in red, and the key to be pressed and the finger to be used are simultaneously light emitting elements. Indicated by 10b. The lighting of these five light emitting elements 10b indicates the position where the right hand is placed, and the formation of the instruction signal for instructing the lighting of these light emitting elements 10b corresponds to the generation of information indicating the position where the right hand is placed. I do. In step 508, the automatic key code AK representing the key to be pressed next by the player, that is, the key lit in red, which is the key code in the track 0
C (0) is set to the read key code.

【0057】この自動演奏スタートルーチンの実行後、
タイマ53から割り込み信号がCPU50に到来する毎
に、CPU50は図11の割り込みプログラムを実行す
る。この割り込みプログラムの実行により、演奏情報メ
モリ30aのトラック1〜8に記憶されている演奏情報
は前述のようにして楽音信号として再生され、同演奏情
報に基づく自動演奏がなされる。運指メモリ30cのト
ラック0に関しては楽音信号として再生されず、キーイ
ベントデータが読み出されると、割り込みプログラムの
再生ルーチンのステップ655にてモードデータMOD
が「1」かつトラック番号TRが「0」であることに基
づいて「YES」と判定して、プログラムをステップ6
58〜660に進める。ステップ658,659におい
ては、トラック0から読み出したキーコード及び指番号
をキーコードデータKC及び指番号データFNとして設
定する。ステップ660においては、前記キーコードデ
ータKCが演奏キーコードリストPKCL中に含まれて
いるか否かを判定する。
After the execution of the automatic performance start routine,
Each time an interrupt signal from the timer 53 arrives at the CPU 50, the CPU 50 executes the interrupt program of FIG. By executing the interrupt program, the performance information stored in the tracks 1 to 8 of the performance information memory 30a is reproduced as a tone signal as described above, and an automatic performance is performed based on the performance information. The track 0 in the fingering memory 30c is not reproduced as a tone signal, and when the key event data is read, the mode data MOD is read in step 655 of the reproduction routine of the interrupt program.
Is “YES” based on the fact that the track number is “1” and the track number TR is “0”,
Proceed to 58-660. In steps 658 and 659, the key code and finger number read from track 0 are set as key code data KC and finger number data FN. In step 660, it is determined whether or not the key code data KC is included in the performance key code list PKCL.

【0058】一方、この間に、演奏者は前記運指表示さ
れている鍵を押鍵することにより鍵盤演奏をしているの
で、図6のキーイベントルーチンの実行により、この押
鍵に応答して楽音信号が発生されている。このキーイベ
ントルーチンにおいては、ステップ203の発音処理
後、ステップ205にて待ちフラグWAIT(0)又はW
AIT(1)が”1”であるか否かを判定する。この右手
ガイドモードでは、待ちフラグWAIT(1)は常に”
0”に保たれている。待ちフラグWAIT(0)に関して
は、鍵演奏が自動演奏によるタイミングと一致又は早け
れば”0”に保たれるが、鍵演奏が自動演奏によるタイ
ミングから遅れた場合には後述の処理により”1”に変
更される。
On the other hand, during this time, the performer plays the keyboard by depressing the key indicated by the fingering, so that the key event routine shown in FIG. A tone signal is being generated. In this key event routine, after the tone generation processing in step 203, in step 205, the wait flag WAIT (0) or W
It is determined whether or not AIT (1) is “1”. In the right hand guide mode, the wait flag WAIT (1) is always "
The wait flag WAIT (0) is maintained at "0" if the key performance coincides with or is earlier than the timing of the automatic performance, but if the key performance is delayed from the timing of the automatic performance. Is changed to “1” by the processing described later.

【0059】まず、押鍵タイミングが自動演奏によるタ
イミングと一致又は同タイミングに比べて早い場合につ
いて説明する。この場合、前記ステップ205にて「N
O」と判定され、ステップ207にて演奏された鍵を表
すキーコードKCはワーキングメモリ51内に設けた演
奏キーコードリストPKCL中に蓄えられる。したがっ
て、前記図12のステップ660にて「YES」すなわ
ちトラック0から読み出したキーコードは演奏キーコー
ドリストPKCL中に含まれていると判定して、プログ
ラムをステップ661〜664に進める。ステップ66
1においては演奏キーコードリストPKCLから前記読
み出されたキーコードが削除される。次に、ステップ6
62にてトラック0の読み出しポインタが指すアドレス
以降で最も近いキーイベントデータを読み出す。なお、
この場合も読み出しポインタを進めない。ステップ66
3においては、前記と同様に読み出しデータ中のキーコ
ード及び指番号FNに基づいて押鍵されるべき鍵及び使
われるべき指が同時に発光素子10bによって表示され
る。ステップ664においては自動側キーコードAKC
(0)が前記読み出したキーコードに設定される。
First, the case where the key pressing timing coincides with or is earlier than the timing of the automatic performance will be described. In this case, "N
The key code KC representing the key played in step 207 is stored in the performance key code list PKCL provided in the working memory 51. Therefore, in step 660 of FIG. 12, "YES", that is, it is determined that the key code read from track 0 is included in the performance key code list PKCL, and the program proceeds to steps 661 to 664. Step 66
In step 1, the read key code is deleted from the performance key code list PKCL. Next, step 6
At 62, the closest key event data after the address indicated by the read pointer of track 0 is read. In addition,
Also in this case, the read pointer is not advanced. Step 66
In No. 3, the key to be pressed and the finger to be used are simultaneously displayed by the light emitting element 10b based on the key code and the finger number FN in the read data as described above. In step 664, the automatic side key code AKC
(0) is set in the read key code.

【0060】前記ステップ664の処理後、ステップ6
65にて「YES」すなわち両待ちフラグWAIT
(0),WAIT(1)が共に”0”であると判定して、ス
テップ666にて演奏キーコードリストPKCLをクリ
アした後、ステップ668にて再生ルーチンの実行を終
了する。したがって、押鍵タイミングが自動演奏による
タイミングと一致又は同タイミングより早ければ、まず
一音符分前に運指表示がなされ、同表示された鍵が押鍵
されると、同鍵を表すキーコードが演奏キーコードリス
トPKCLに書き込まれる。そして、自動演奏による本
来のタイミングになると、次の音符に関する運指表示が
なされるとともに、演奏キーコードリストPKCLがク
リアされていき、自動演奏は予め決められた速度で進行
していく。
After step 664, step 6
"YES" at 65, that is, a double wait flag WAIT
It is determined that both (0) and WAIT (1) are "0", the performance key code list PKCL is cleared in step 666, and the execution of the reproduction routine is terminated in step 668. Therefore, if the key depression timing matches or is earlier than the timing by the automatic performance, first, a fingering display is performed one note before, and when the displayed key is pressed, a key code representing the key is displayed. It is written to the performance key code list PKCL. Then, when the original timing of the automatic performance is reached, the fingering display for the next note is made, the performance key code list PKCL is cleared, and the automatic performance proceeds at a predetermined speed.

【0061】次に、押鍵タイミングが自動演奏によるタ
イミングより遅い場合について説明する。この場合、運
指メモリ30cから読み出したトラック0のキーコード
が演奏キーコードリストPKCLには含まれていないの
で、図12のステップ660にて「NO」と判定してプ
ログラムをステップ667に進める。ステップ667に
て待ちフラグWAIT(0)を”1”に設定した後、ステ
ップ668にて再生ルーチンの実行を終了する。このよ
うに待ちフラグWAIT(0)が”1”に設定されると、
図11の割り込みプログラムが実行されても、ステップ
601にて「NO」と判定されて、演奏情報メモリ30
a及び運指メモリ30cからの演奏情報の読み出しが停
止し、自動演奏は一時停止する。また、押鍵に応答した
図6のキーイベントルーチンにおいては、ステップ20
5にて「YES」すなわち待ちフラグWAIT(0)が”
1”であると判定して、プログラムをステップ206に
進める。
Next, a case where the key pressing timing is later than the timing of the automatic performance will be described. In this case, since the key code of the track 0 read from the fingering memory 30c is not included in the performance key code list PKCL, “NO” is determined in the step 660 of FIG. After setting the wait flag WAIT (0) to "1" in step 667, the execution of the reproduction routine is terminated in step 668. When the wait flag WAIT (0) is set to "1",
Even if the interrupt program of FIG. 11 is executed, “NO” is determined in step 601 and the performance information memory 30
The reading of the performance information from "a" and the fingering memory 30c is stopped, and the automatic performance is temporarily stopped. Also, in the key event routine of FIG.
5 "YES", that is, the wait flag WAIT (0)
The program is determined to be 1 ", and the program proceeds to step 206.

【0062】ステップ206においては、トラック0の
前記読み出した自動側キーコードAKC(0)と鍵盤10
aにて押鍵された鍵を表すキーコードKCを比較する。
押された鍵が正しくなくて前記両キーコードAKC
(0),KCが一致しなければ、ステップ206にて「N
O」と判定してプログラムをステップ207に進める。
ステップ207においては押鍵された鍵を表すキーコー
ドKCを演奏キーコードリストPKCLに追加して、ス
テップ216にてキーイベントルーチンの実行を終了す
る。一方、前記両キーコードAKC(0),KCが一致す
れば、ステップ206にて「YES」と判定してプログ
ラムをステップ208,209に進める。
In step 206, the read-out automatic key code AKC (0) of the track 0 and the keyboard 10
The key code KC representing the key depressed at a is compared.
The key pressed is incorrect and the two-key code AKC
If (0) and KC do not match, "N"
O is determined, and the program proceeds to step 207.
In step 207, the key code KC representing the pressed key is added to the performance key code list PKCL, and in step 216, the execution of the key event routine ends. On the other hand, if the two key codes AKC (0), KC match, “YES” is determined in step 206, and the program proceeds to steps 208, 209.

【0063】ステップ208においては一致した自動側
キーコードAKC(0)が含まれるトラック番号を変数J
として設定、この場合には変数Jを「0」に設定する。
ステップ209においては変数Jにより指定される待ち
フラグWAIT(J)すなわち待ちフラグWAIT(0)
を”0”に変更する。次に、ステップ210にて現在点
灯している右手のための発光素子10bを消灯して、ス
テップ211にて両待ちフラグWAIT(0),WAIT
(1)が共に”0”であるか否かを判定する。この場合、
待ちフラグWAIT(1)は前述のように”0”に維持さ
れており、かつ待ちフラグWAIT(0)は前記ステップ
209の処理により”0”に変更されたので、同ステッ
プ211にて「YES」と判定してプログラムをステッ
プ212〜215に進める。ステップ212において
は、演奏キーコードリストPKCLをクリアする。ステ
ップ213においては、トラックTR(=0)の読み出
しポインタが指すアドレス以降であって最も近いアドレ
スのキーイベントデータすなわち次の音符に関するキー
イベントデータ中のキーコード及び指番号FNを読み出
す。なお、この場合も、読み出しポインタの歩進は行わ
れない。ステップ214においては、前記図10のステ
ップ507の処理と同様に、前記読み出したキーコード
及び指番号FNに基づいて右手のための発光素子10b
を点灯させる。これにより、次の音符に関して、押鍵さ
れるべき鍵及び使われるべき指が赤色の発光素子によっ
て表示されるとともに、その他の指が青色の発光素子に
より表示される。ステップ215においては前記読み出
したキーコードを自動側キーコードAKC(0)として設
定する。そして、ステップ216にてキーイベントルー
チンの実行を終了する。
In step 208, the track number including the coincident automatic key code AKC (0) is set in the variable J
In this case, the variable J is set to “0”.
In step 209, the wait flag WAIT (J) designated by the variable J, that is, the wait flag WAIT (0)
To “0”. Next, in step 210, the light-emitting element 10b for the right hand that is currently lit is turned off, and in step 211, the double wait flag WAIT (0), WAIT
It is determined whether both (1) are "0". in this case,
Since the wait flag WAIT (1) is maintained at "0" as described above, and the wait flag WAIT (0) has been changed to "0" by the processing of the step 209, "YES" in the step 211. And the program proceeds to steps 212 to 215. In step 212, the performance key code list PKCL is cleared. In step 213, the key code and the finger number FN in the key event data of the nearest address after the address indicated by the read pointer of the track TR (= 0), that is, the key event data of the next note are read. In this case, the read pointer is not incremented. In step 214, similarly to the processing of step 507 in FIG. 10, the light emitting element 10b for the right hand is determined based on the read key code and finger number FN.
Lights up. Thus, for the next note, the key to be pressed and the finger to be used are displayed by the red light emitting element, and the other fingers are displayed by the blue light emitting element. In step 215, the read key code is set as the automatic key code AKC (0). Then, in step 216, the execution of the key event routine ends.

【0064】その後、図11の割り込みプログラムがふ
たたび実行されると、この時点では、両待ちフラグWA
IT(0),WAIT(1)は共に”0”に設定されている
ので、ステップ601にて「YES」と判定されて、プ
ログラムはステップ602以降へ進められる。したがっ
て、このように押鍵タイミングが自動演奏によるタイミ
ングに比べて遅ければ、まず一音符分前に運指表示がな
され、同音符に関する押鍵タイミングで自動演奏が一時
停止する。その後に、運指表示されている鍵が押鍵され
ると、同押鍵タイミングで次の音符に関する運指表示が
なされるとともに、自動演奏もふたたびスタートする。
Thereafter, when the interrupt program of FIG. 11 is executed again, at this point, the double wait flag WA
Since both IT (0) and WAIT (1) are set to “0”, “YES” is determined in step 601 and the program proceeds to step 602 and subsequent steps. Therefore, if the key pressing timing is later than the timing of the automatic performance, the fingering display is first performed one note before, and the automatic performance is temporarily stopped at the key pressing timing related to the same note. Thereafter, when the key indicated by the fingering is pressed, the fingering display for the next note is made at the same keying timing, and the automatic performance is started again.

【0065】以上の説明のように、この右手ガイドモー
ドにおいては、右手用の運指表示が本来のタイミングよ
り一音符分前になされ、演奏者はこの運指表示にしたが
って押鍵を順次行っていけば、この押鍵に関する楽音信
号が発生されるとともに、トラック1〜8に関する演奏
情報は自動的に楽音信号に再生される。 (d3)左手ガイドモード モードデータMDが「2」であって、当該電子楽器が左
手ガイドモードに設定されている場合の動作について説
明する。図10の自動演奏スタートルーチンにおいて
は、前記と同様なステップ501〜504の処理が行わ
れた後、ステップ505の判定処理により、ステップ5
09〜511の処理が実行される。ただし、この場合に
おける前記ステップ501においては、トラック1の読
み出しポインタが運指メモリ30cのトラックの先頭ア
ドレスに設定されるとともに、残りのトラック0,2〜
8の読み出しポインタが演奏情報メモリ30aの各トラ
ックの先頭アドレスに設定される。ステップ509〜5
11の処理においては、トラック1に関する最初のキー
イベントデータ中のキーコード及び指番号FNが読み出
され、これらのキーコード及び指番号FNに基づいて左
手用の運指表示がなされ、かつ同キーコードは自動側キ
ーコードAKC(1)として設定される。また、前記左手
用の運指表示においては、図2に示すように、キーコー
ドにより表された鍵に対応した発光素子10bが赤色に
点灯され、同赤色に点灯した発光素子10bの左側にて
同素子10bに隣り合う5−FN個の発光素子10bを
青色に点灯されるとともに、前記発光素子10bの右側
にて同素子10bに隣り合うFN−1個の発光素子10
bが青色に点灯される。
As described above, in the right hand guide mode, the fingering display for the right hand is made one note before the original timing, and the player sequentially presses the keys according to the fingering display. In this case, a tone signal relating to the key depression is generated, and the performance information relating to the tracks 1 to 8 is automatically reproduced as a tone signal. (d3) Left Hand Guide Mode The operation when the mode data MD is “2” and the electronic musical instrument is set to the left hand guide mode will be described. In the automatic performance start routine of FIG. 10, after the same processing of steps 501 to 504 as described above is performed,
Steps 09 to 511 are executed. However, in step 501 in this case, the read pointer of the track 1 is set to the head address of the track in the fingering memory 30c, and the remaining tracks 0, 2 to 2 are set.
8 is set to the start address of each track in the performance information memory 30a. Step 509-5
In the process of No. 11, the key code and the finger number FN in the first key event data relating to the track 1 are read out, the fingering display for the left hand is performed based on the key code and the finger number FN, and the same key is displayed. The code is set as an automatic key code AKC (1). In the fingering display for the left hand, as shown in FIG. 2, the light emitting element 10b corresponding to the key represented by the key code is illuminated in red, and the left side of the light emitting element 10b illuminated in red. The 5-FN light-emitting elements 10b adjacent to the element 10b are lit in blue, and the FN-1 light-emitting elements 10 adjacent to the element 10b on the right side of the light-emitting element 10b.
b is lit blue.

【0066】そして、この左手ガイドモードにおいて
も、タイマ53から割り込み信号がCPU50に到来す
る毎に、図11の割り込みプログラムを実行されて、自
動演奏及び運指表示がなされる。ただし、このモードに
おいては、演奏情報メモリ30aのトラック0,2〜8
に記憶されている演奏情報が楽音信号として再生され、
運指メモリ30cのトラック1に記憶されている演奏情
報に基づき運指表示が制御される。したがって、図12
の再生ルーチンのステップ658〜667の処理におい
ては、前記右手ガイドモードにおけるトラック0及び右
手に代えて、トラック1及び左手に関する処理のみが行
われる。また、図6のキーイベントルーチンのステップ
205〜215に関しても、トラック1及び左手に関す
る処理のみが行われる。
Also in this left-hand guide mode, every time an interrupt signal from the timer 53 arrives at the CPU 50, the interrupt program shown in FIG. 11 is executed to perform automatic performance and fingering display. However, in this mode, the tracks 0 to 2 to 8 in the performance information memory 30a are used.
Is played back as a tone signal,
The fingering display is controlled based on the performance information stored in the track 1 of the fingering memory 30c. Therefore, FIG.
In the processing of steps 658 to 667 of the reproduction routine of the above, only the processing relating to the track 1 and the left hand is performed instead of the track 0 and the right hand in the right hand guide mode. Also, with respect to steps 205 to 215 of the key event routine in FIG.

【0067】その結果、この左手ガイドモードにおいて
は、左の押鍵タイミングが自動演奏によるタイミングと
一致又は同タイミングより早ければ、まず一音符分前に
運指表示がなされ、同表示された鍵が押鍵されると、同
鍵を表すキーコードが演奏キーコードリストPKCLに
書き込まれる。そして、自動演奏による本来のタイミン
グになると、次の音符に関する左手用の運指表示がなさ
れるとともに、演奏キーコードリストPKCLがクリア
されていき、自動演奏は予め決められた速度で進行して
いく。また、このような左手の押鍵タイミングが自動演
奏によるタイミングに比べて遅ければ、まず一音符分前
に左手用の運指表示がなされ、同音符に関する押鍵タイ
ミングで自動演奏が一時停止する。その後に、運指表示
されている鍵が押鍵されると、同押鍵タイミングで次の
音符に関する運指表示がなされるとともに、自動演奏も
ふたたびスタートする。
As a result, in the left hand guide mode, if the left key pressing timing coincides with or is earlier than the timing of the automatic performance, the fingering display is first performed one note before, and the displayed key is displayed. When a key is pressed, a key code representing the same key is written to the performance key code list PKCL. Then, when the original timing of the automatic performance comes, the fingering display for the left hand for the next note is displayed, the performance key code list PKCL is cleared, and the automatic performance proceeds at a predetermined speed. . If the left hand key press timing is later than the timing of the automatic performance, first, the fingering display for the left hand is displayed one note before, and the automatic performance is temporarily stopped at the key press timing for the same note. Thereafter, when the key indicated by the fingering is pressed, the fingering display for the next note is made at the same keying timing, and the automatic performance is started again.

【0068】以上の説明のように、この左手ガイドモー
ドにおいても、左手用の運指表示が本来のタイミングよ
り一音符分前になされ、演奏者はこの運指表示にしたが
って押鍵を順次行っていけば、この押鍵に関する楽音信
号が発生されるとともに、トラック0,2〜8に関する
演奏情報は自動的に楽音信号に再生される。 (d4)両手ガイドモード モードデータMDが「3」であって、当該電子楽器が両
手ガイドモードに設定されている場合の動作について説
明する。図10の自動演奏スタートルーチンにおいて
は、前記と同様なステップ501〜504の処理が行わ
れた後、ステップ505の判定処理により、ステップ5
09〜511の処理が実行される。ただし、この場合に
おける前記ステップ501においては、トラック0,1
の読み出しポインタが運指メモリ30cの各トラックの
先頭アドレスに設定されるとともに、残りのトラック2
〜8の読み出しポインタが演奏情報メモリ30aの各ト
ラックの先頭アドレスに設定される。ステップ509〜
511の処理においては、トラック0,1に関する最初
の各キーイベントデータ中のキーコード及び指番号FN
がそれぞれ読み出され、これらの各キーコード及び各指
番号FNに基づいて右手及び左手用の運指表示がそれぞ
れなされ、かつ各キーコードは自動側キーコードAKC
(0),AKC(1)として設定される。また、右手及び左
手用の運指表示においては、前述した右手ガイドモード
及び左手ガイドモードにて説明した両者の制御が同時に
なされる。
As described above, even in this left hand guide mode, the fingering display for the left hand is made one note before the original timing, and the player sequentially presses the keys according to the fingering display. In this case, a tone signal relating to the key depression is generated, and the performance information relating to the tracks 0 to 2 to 8 is automatically reproduced as a tone signal. (d4) Two-handed guide mode The operation when the mode data MD is "3" and the electronic musical instrument is set to the two-handed guide mode will be described. In the automatic performance start routine of FIG. 10, after the same processing of steps 501 to 504 as described above is performed,
Steps 09 to 511 are executed. However, in step 501 in this case, tracks 0, 1
Is set to the start address of each track in the fingering memory 30c, and the remaining track 2
8 are set to the head addresses of the tracks in the performance information memory 30a. Step 509-
In the process of 511, the key code and finger number FN in the first key event data for tracks 0 and 1 are used.
Are read out, fingering indications for the right hand and the left hand are respectively made based on each of these key codes and each finger number FN, and each key code is an automatic side key code AKC.
(0), set as AKC (1). In the fingering display for the right hand and the left hand, both the controls described in the right hand guide mode and the left hand guide mode are simultaneously performed.

【0069】そして、この両手ガイドモードにおいて
も、タイマ53から割り込み信号がCPU50に到来す
る毎に、図11の割り込みプログラムを実行されて、自
動演奏及び運指表示がなされる。ただし、このモードに
おいては、演奏情報メモリ30aのトラック2〜8に記
憶されている演奏情報が楽音信号として再生され、運指
メモリ30cのトラック0,1に記憶されている演奏情
報に基づき運指表示が制御される。したがって、図12
の再生ルーチンのステップ658〜667の処理におい
ては、トラック0,1及び両手に関する処理がそれぞれ
行われる。また、図6のキーイベントルーチンのステッ
プ205〜215に関しても、トラック0,1及び両手
に関する処理が行われる。
Also in this two-hand guide mode, every time an interrupt signal from the timer 53 arrives at the CPU 50, the interrupt program shown in FIG. 11 is executed to perform automatic performance and fingering display. However, in this mode, the performance information stored in tracks 2 to 8 of the performance information memory 30a is reproduced as a tone signal, and fingering is performed based on the performance information stored in tracks 0 and 1 of the fingering memory 30c. The display is controlled. Therefore, FIG.
In the processing of steps 658 to 667 of the reproduction routine of FIG. Also, with respect to steps 205 to 215 of the key event routine of FIG. 6, the processing relating to tracks 0, 1 and both hands is performed.

【0070】その結果、この両手ガイドモードにおいて
は、両手の押鍵タイミングが自動演奏によるタイミング
と一致又は同タイミングより早ければ、まず一音符分前
に運指表示がなされ、同表示された鍵が押鍵されると、
同鍵を表すキーコードが演奏キーコードリストPKCL
に書き込まれる。そして、自動演奏による本来のタイミ
ングになると、次の音符に関する運指表示がなされると
ともに、演奏キーコードリストPKCLがクリアされて
いき、自動演奏は予め決められた速度で進行していく。
また、いずれか一方の手の押鍵タイミングが自動演奏に
よるタイミングに比べて遅ければ、図11のステップ6
01の判定処理により自動演奏は一時停止するととも
に、図6のステップ211及び図12のステップ665
の判定処理により次の音符に関する運指表示及び演奏キ
ーコードリストPKLCのクリアも一時停止する。な
お、この両手ガイドモードにおいては、演奏キーコード
リストPKLCは右手及び左手共通に利用される。
As a result, in this two-hand guide mode, if the key-pressing timing of both hands coincides with or is earlier than the timing of the automatic performance, first, fingering is displayed one note before, and the displayed key is displayed. When the key is pressed,
A key code representing the same key is a performance key code list PKCL.
Is written to. Then, when the original timing of the automatic performance is reached, the fingering display for the next note is made, the performance key code list PKCL is cleared, and the automatic performance proceeds at a predetermined speed.
If the key depression timing of one of the hands is later than the timing of the automatic performance, step 6 in FIG.
01, the automatic performance is temporarily stopped, and at the same time, step 211 in FIG. 6 and step 665 in FIG.
, The fingering display for the next note and the clearing of the performance key code list PKLC are also temporarily stopped. In the two-hand guide mode, the performance key code list PKLC is used commonly for the right hand and the left hand.

【0071】以上の説明のように、この両手ガイドモー
ドにおいては、右手及び左手用の運指表示が本来のタイ
ミングより一音符分前になされ、演奏者はこの運指表示
にしたがって押鍵を順次行っていけば、この押鍵に関す
る楽音信号が発生されるとともに、トラック2〜8に関
する演奏情報は自動的に楽音信号に再生される。
As described above, in the two-hand guide mode, the fingering display for the right hand and the left hand is made one note before the original timing, and the player sequentially presses the keys according to the fingering display. If this is done, a tone signal relating to the key depression is generated, and the performance information relating to the tracks 2 to 8 is automatically reproduced as a tone signal.

【0072】次に、上記のように構成した実施形態の各
種変形例について説明する。 a.第1変形例 第1変形例は、上記実施形態の指番号FNの作成方法
を、演奏情報メモリ30bに記憶されている演奏情報か
ら指番号FNを直接作成するように変形したものであ
る。この変形例においては、プログラムメモリ51に
は、図5のステップ107のキャラクタ分析ルーチンの
処理を省略したメインプログラムが記憶されている。ま
た、プログラムメモリ51からは図7のキャラクタ分析
ルーチンが省略されるとともに、同メモリ51には図8
の運指分析ルーチンに代えて図13の運指分析ルーチン
が記憶されている。したがって、この変形例では、キャ
ラクタメモリ30bは利用されない。また、同プログラ
ムメモリ51には図3(A)(B)の第1及び第2運指テー
ブルTBLA,TALBに代えて右手用テーブル及び左
手用テーブルが設けられている。これらの右手用テーブ
ル及び左手用テーブルは、図15に示すように、現在の
音高から次の音高までの音高差(下降側を正とするとと
もに上昇側を負として現在の音高から次の音高までの音
高差を半音単位として表した間隔)、現在の指番号及び
現在のキーの種類に対して次に決定される指番号の的確
度が同指番号毎に点数の形で表されており、同点数は的
確度が高いほど大きな値を示している。なお、現在のキ
ー種類(現キー)の項の「any」はいずれのキー種類
でもよいことを表し、「その他」は音高差及び現指番号
の各組み合わせ内におけるキー種類(現キー)の記述に
該当していない全てのキー種類を表している。また、次
の指番号毎の点数中の「不可」は運指不能を表してい
る。
Next, various modifications of the embodiment configured as described above will be described. a. First Modification A first modification is a modification of the method for creating a finger number FN of the above-described embodiment such that the finger number FN is directly created from the performance information stored in the performance information memory 30b. In this modification, the program memory 51 stores a main program in which the processing of the character analysis routine in step 107 in FIG. 5 is omitted. Also, the character analysis routine of FIG. 7 is omitted from the program memory 51, and
The fingering analysis routine of FIG. 13 is stored in place of the fingering analysis routine of FIG. Therefore, in this modification, the character memory 30b is not used. The program memory 51 is provided with a right-hand table and a left-hand table in place of the first and second fingering tables TBLA and TALB shown in FIGS. As shown in FIG. 15, the right-hand table and the left-hand table each have a pitch difference from the current pitch to the next pitch. The pitch difference up to the next pitch expressed as a semitone unit), the accuracy of the next finger number determined for the current finger number and the current key type, in the form of a score for each finger number The higher the accuracy, the higher the score. Note that “any” in the item of the current key type (current key) indicates that any key type may be used, and “other” indicates the key type (current key) in each combination of the pitch difference and the current finger number. All key types that do not correspond to the description are shown. In addition, “impossible” in the score for each finger number indicates that fingering is impossible.

【0073】このように構成した第1の変形例について
説明すると、操作パネル20の分析操作子が操作される
と、CPU50は上記実施形態と同様に図5のステップ
106にて「YES」と判定して、ステップ108にて
運指分析ルーチンを実行する。この運指分析ルーチンは
図13のステップ700にて開始され、ステップ701
0にてトラック番号TRを「0」に設定するとともに、
ステップ702にてフレーズ番号FLを「1」に設定し
て、ステップ703〜706の処理により、フレーズ番
号FLにより指定されるフレーズの演奏情報に対する指
番号FNの付与を行う。
The first modification configured as described above will be described. When the analysis operator of the operation panel 20 is operated, the CPU 50 determines “YES” in step 106 of FIG. Then, at step 108, a fingering analysis routine is executed. This fingering analysis routine is started in step 700 of FIG.
At 0, the track number TR is set to “0”,
In step 702, the phrase number FL is set to "1", and the processing in steps 703 to 706 assigns the finger number FL to the performance information of the phrase specified by the phrase number FL.

【0074】ステップ703においては、演奏情報メモ
リ30a内の演奏情報をサーチすることによりフレーズ
番号FLにより指定されるフレーズの演奏情報中に含ま
れるキーイベントデータの数をカウントして、そのカウ
ント値を音符数Nとして設定する。ステップ704にお
いては、ワーキングメモリ51内に音符数N分の指番号
(1〜5)の全組合せを想定して指番号組合せテーブル
を作成する。これにより、この指番号組合せテーブルに
は、図14に示すように、11・・・1〜55・・・5
までの5N 通りの組合せが書き込まれる。ステップ70
5においては、キーイベントデータ中のキーコード及び
前記作成した指番号組合せテーブル内の指番号に基づい
て図15の右手用テーブルを参照して、指番号組合せテ
ーブル内の各組合せに対してそれぞれ点数を付ける。
In step 703, the number of key event data included in the performance information of the phrase specified by the phrase number FL is counted by searching the performance information in the performance information memory 30a, and the count value is calculated. Set as the number of notes N. In step 704, a finger number combination table is created in the working memory 51 assuming all combinations of finger numbers (1 to 5) for the number N of notes. Thereby, as shown in FIG. 14, 11... 1 to 55.
Up to 5 N combinations are written. Step 70
In 5, based on the key code in the key event data and the finger number in the created finger number combination table, the right hand table in FIG. Attached.

【0075】このステップ705の処理について詳しく
説明すると、まず、フレーズ番号FLにより指定される
フレーズの第1番目及び第2番目のキーイベントデータ
を演奏情報メモリ30aから読み出すとともに各キーイ
ベントデータ中の各キーコードをそれぞれ取り出し、ま
たワーキングメモリ51内に前記作成した指番号組合せ
テーブルの第1の組み合わせの第1番目及び第2番目の
指番号をそれぞれ読み出す。次に、前記2つのキーコー
ドから音高差を計算し、前記第2番目のキーコードに基
づいて現在のキー種類を特定し、かつ前記第1番目及び
第2番目の指番号を現在及び次の指番号としてそれぞれ
設定して、これらの条件に合致する組合せを右手用テー
ブルから見つけ出すとともに同組合せに対応した点数を
仮記憶する。
The processing in step 705 will be described in detail. First, the first and second key event data of the phrase specified by the phrase number FL are read from the performance information memory 30a, and each key event data in each key event data is read out. The key codes are respectively taken out, and the first and second finger numbers of the first combination of the created finger number combination table are read out in the working memory 51, respectively. Next, a pitch difference is calculated from the two key codes, a current key type is specified based on the second key code, and the first and second finger numbers are set as the current and next finger numbers. , And a combination that meets these conditions is found from the table for the right hand, and the score corresponding to the combination is temporarily stored.

【0076】この最初の2つの音符に関する点数の付与
後、同一フレーズの第2番目及び第3番目のキーイベン
トデータを演奏情報メモリ30aから読み出すとともに
各キーイベントデータ中の各キーコードをそれぞれ取り
出し、また同指番号組合せテーブルの第1の組み合わせ
の第2番目及び第3番目の指番号をそれぞれ読み出す。
次に、前記2つのキーコードから音高差を計算し、前記
第3番目のキーコードに基づいて現在のキー種類を特定
し、かつ前記第2番目及び第3番目の指番号を現在及び
次の指番号としてそれぞれ設定して、これらの条件に合
致する組合せを右手用テーブルから見つけ出し、同組合
せに対応した点数を前記仮記憶した点数に加算する。
After the scores for the first two notes are given, the second and third key event data of the same phrase are read out from the performance information memory 30a, and each key code in each key event data is taken out. Further, the second and third finger numbers of the first combination in the same finger number combination table are read.
Next, a pitch difference is calculated from the two key codes, a current key type is specified based on the third key code, and the second and third finger numbers are set to the current and next key numbers. The combinations matching these conditions are found from the right-hand table, and the points corresponding to the combinations are added to the provisionally stored points.

【0077】このようにフレーズ番号FLにより指定さ
れるフレーズに属する2つのキーコードを一対にして順
次先頭から読み出すとともに、指番号組合せテーブルか
らも2つの指番号を一対にて順次読み出して、これらの
キーコード及び指番号に応じた音高差、現在のキー種
類、現在及び次の指番号に基づいて右手用テーブルを参
照し、指番号組合せテーブルの第1の組合せに関する点
を順次累算していく。そして、第1の組合せの(N−1)
番目すなわち最終番目に関する前記点数の累算を終了し
たとき、この最後の累算値を総得点として前記指番号組
合せテーブルの第1の組合せ欄に書き込んでおく(図1
4参照)。なお、前記右手用テーブルから見つけ出した
組合せが不可能を表していた場合には、その時点で、前
記総得点の代わりに不可能を表すコードを書き込んでお
く。
As described above, two key codes belonging to the phrase designated by the phrase number FL are read in pairs from the head, and two finger numbers are read in pairs from the finger number combination table. The right hand table is referred to based on the pitch difference according to the key code and the finger number, the current key type, the current and next finger numbers, and the points relating to the first combination in the finger number combination table are sequentially accumulated. Go. Then, the first combination of (N-1)
When the accumulation of the scores for the third, that is, the last, is completed, the last accumulated value is written as a total score in the first combination column of the finger number combination table (FIG. 1).
4). If the combination found from the table for the right hand indicates impossibility, at that time, a code indicating impossibility is written instead of the total score.

【0078】このようにして、指番号組合せテーブルの
第1の組合せに関する処理が終了した後、第2の組合せ
に関しても同様の処理を行う。そして、5N通りの組合
せが終了した時点では、指番号組合せテーブルには各指
番号の組合せに対応した総得点がそれぞれ書き込まれて
いることになる。
After the processing for the first combination in the finger number combination table is completed in this way, the same processing is performed for the second combination. When the 5 N combinations are completed, the total score corresponding to each finger number combination is written in the finger number combination table.

【0079】ステップ706においては、前記指番号組
合せテーブルに書き込まれている総得点のうちの最高得
点を探し出して、最高得点に対応した指番号組合せテー
ブル内の指番号の組合せを取り出す。そして、前記フレ
ーズ番号FLにより指定されるフレーズの演奏情報を演
奏情報メモリ30aから順次読み出すとともに、前記取
り出した各指番号を同読み出した演奏情報中のゲートタ
イムの後に一つずつ挿入しながら運指メモリ30cに書
き込む。その結果、運指メモリ30cには、フレーズ番
号FLにより指定されるフレーズのキーイベントデータ
中に指番号FNを含ませた演奏情報が書き込まれる。
In step 706, the highest score among the total scores written in the finger number combination table is searched for, and the combination of the finger numbers in the finger number combination table corresponding to the highest score is extracted. Then, the performance information of the phrase designated by the phrase number FL is sequentially read out from the performance information memory 30a, and each of the extracted finger numbers is inserted one by one after the gate time in the read performance information. Write to the memory 30c. As a result, in the fingering memory 30c, performance information in which the finger number FN is included in the key event data of the phrase specified by the phrase number FL is written.

【0080】前記ステップ706の処理後、運指メモリ
30cに全フレーズの指番号FNを含む演奏情報の書き
込みが終了するまで、すなわち演奏情報メモリ30aか
らエンドコードが読み出されて運指メモリ30cに書き
込まれるまで、ステップ707における「NO」との判
定の基に、ステップ708にてフレーズ番号FLを
「1」ずつ増加させながら、プログラムをステップ70
3に戻してステップ703〜706の処理を実行する。
その結果、全フレーズの演奏情報の運指メモリ30cへ
の書き込みが終了すると、ステップ707にて「YE
S」と判定して、ステップ709にてトラック番号TR
が「1」であるか否かを判定する。この場合、トラック
番号TRは「0」であるので、ステップ709にて「N
O」と判定して、ステップ710にてトラック番号TR
に「1」を加算して「1」に変更し、プログラムをステ
ップ702に戻す。したがって、トラック番号TRが
「1」の状態でステップ702〜708の処理が実行さ
れて、演奏情報メモリ30a内のトラック0の演奏情報
に指番号FNが付与されて運指メモリ30cに記憶され
る。そして、トラック0に関する運指メモリ30cの指
番号FNを含む演奏情報の書き込みが終了すると、ステ
ップ709にて「YES」と判定して、ステップ711
にて運指分析ルーチンの実行を終了する。
After the processing in step 706, until the writing of the performance information including the finger numbers FN of all the phrases in the fingering memory 30c is completed, that is, the end code is read out from the performance information memory 30a and stored in the fingering memory 30c. Until the writing is performed, the program is executed at step 708 while increasing the phrase number FL by “1” at step 708 based on the determination of “NO” at step 707.
3 and the processing of steps 703 to 706 is executed.
As a result, when the writing of the performance information of all the phrases into the fingering memory 30c is completed, at step 707, "YE
S ”, and in step 709, the track number TR
Is determined to be “1”. In this case, since the track number TR is "0", "N"
O ”, and at step 710, the track number TR
Is added to "1" to change to "1", and the program returns to step 702. Therefore, the process of steps 702 to 708 is executed with the track number TR being "1", the finger number FN is assigned to the performance information of the track 0 in the performance information memory 30a and stored in the fingering memory 30c. . When the writing of the performance information including the finger number FN of the fingering memory 30c for the track 0 is completed, “YES” is determined in the step 709, and the step 711 is performed.
Ends the fingering analysis routine.

【0081】このような運指分析ルーチンの処理によ
り、この第1変形例においても、指番号が付与されたト
ラック0,1の演奏情報が運指メモリ30cに記憶され
る。また、この第1変形例における他の動作は上記実施
形態と同様であるので、説明を省略する。
By the processing of the fingering analysis routine, the performance information of the tracks 0 and 1 to which the finger numbers are assigned is stored in the fingering memory 30c also in the first modification. In addition, other operations in the first modified example are the same as those in the above-described embodiment, and a description thereof will be omitted.

【0082】なお、この第1変形例においては、指番号
の各組合せに対して最高得点数のものを指番号の組合せ
として最終決定するようにしたが、運指不能でなくかつ
総点数が所定値以上の中から指番号の組合せを演奏者に
選択させるようにしてもよい。さらに、前記右手用テー
ブル及び左手用テーブルの点数などを演奏テンポに応じ
て変更したり、検出又は入力した演奏者の手の大きさに
応じて変更するようにしてもよい。 b.第2変形例 次に、第2変形例について説明する。この変形例は運指
指示に関するもので、各鍵10aの上方に各鍵位置に対
応させて一列に配置した複数の発光素子10cを有する
とともに、同素子10cの上方の適宜複数箇所に左右一
対の数字表示器10d,10eを備えている。左側の数
字表示器10dは左手の指番号を数字表示し、右側の数
字表示器10eは右手の指番号を数字表示するものであ
る。このように構成した変形例においては、図6のステ
ップ214、図10のステップ507,510,513
及び図12のステップ663の点灯制御においては、運
指メモリ30cから読み出されたキーコードにより表さ
れる鍵に対応した発光素子10cが点灯制御されるとと
もに、数字表示器10d,10eにて運指メモリ30c
から読み出された前記キーコードに対応した指番号FN
がトラック0,1毎に数字表示される。また、図6のス
テップ210の消灯処理においては、発光素子10c及
び数字表示器10d,10eが共に消灯制御される。
In the first modification, the combination with the highest score for each combination of the finger numbers is finally determined as the combination of the finger numbers. The player may be allowed to select a combination of finger numbers from among values or more. Furthermore, the points of the right-hand table and the left-hand table may be changed according to the performance tempo, or may be changed according to the size of the player's hand detected or input. b. Second Modification Next, a second modification will be described. This modification relates to a fingering instruction, and has a plurality of light emitting elements 10c arranged in a row corresponding to each key position above each key 10a, and a pair of left and right at appropriate plural places above the element 10c. Numerals 10d and 10e are provided. The left numeral display 10d displays the finger number of the left hand, and the right numeral display 10e displays the finger number of the right hand. In the modified example configured in this manner, step 214 in FIG. 6 and steps 507, 510, and 513 in FIG.
In the lighting control in step 663 of FIG. 12, the lighting of the light emitting element 10c corresponding to the key represented by the key code read from the fingering memory 30c is controlled, and the lighting of the light emitting elements 10c and 10e is performed by the numerical indicators 10d and 10e. Finger memory 30c
Finger number FN corresponding to the key code read from
Are displayed numerically for each of tracks 0 and 1. In the light-off process of step 210 in FIG. 6, the light-emitting element 10c and the numerical indicators 10d and 10e are both turned off.

【0083】また、この第2変形例を図17に示すよう
に変形することもできる。この変形例は、前記第2変形
例と同様に、各鍵10aの上方に各鍵位置に対応させて
一列に配置した複数の発光素子10cを有するととも
に、同素子10cの上方の適宜位置に左手及び右手を表
す絵10f,10g内のの各指にそれぞれ発光素子10
hを備えている。このように構成した変形例において
は、図6のステップ214、図10のステップ507,
510,513及び図12のステップ663の点灯制御
においては、運指メモリ30cから読み出されたキーコ
ードにより表される鍵に対応した発光素子10cが点灯
制御されるとともに、前記キーコードに対応した指番号
FNにより表された指の発光素子10hが点灯制御され
る。また、図6のステップ210の消灯処理において
は、発光素子10c,10hが共に消灯制御される。
The second modification can be modified as shown in FIG. This modified example has a plurality of light-emitting elements 10c arranged in a row corresponding to each key position above each key 10a and a left hand at an appropriate position above the same element 10c as in the second modified example. And each finger in the pictures 10f and 10g representing the right hand
h. In the modified example configured as above, step 214 in FIG. 6, step 507 in FIG.
In the lighting control of 510, 513 and step 663 of FIG. 12, the light emitting element 10c corresponding to the key represented by the key code read from the fingering memory 30c is controlled to be lit, and the light emitting element 10c corresponding to the key code is controlled. Lighting control of the light emitting element 10h of the finger represented by the finger number FN is performed. Further, in the light-off process in step 210 in FIG. 6, the light-emitting elements 10c and 10h are both turned off.

【0084】さらに、この第2変形例をさらに図18に
示すように変形することもできる。この変形例は、各鍵
10aの上方に各鍵位置に対応させて二列に配置した複
数の発光素子10i,10jを有する。このように構成
した変形例においては、図6のステップ214、図10
のステップ507,510,513及び図12のステッ
プ663の点灯制御においては、運指メモリ30cから
読み出されたキーコードにより表される鍵に対応した発
光素子10cが点灯制御されるとともに、前記キーコー
ドと同キーコードに対応した指番号FNとにより各指を
置く位置情報が形成され、同位置情報に基づいて5つの
発光素子10hが点灯制御される。また、図6のステッ
プ210の消灯処理においては、発光素子10i,10
jが共に消灯制御される。
Further, the second modification can be further modified as shown in FIG. This modification has a plurality of light emitting elements 10i and 10j arranged in two rows above each key 10a corresponding to each key position. In the modified example configured as described above, steps 214 in FIG.
In the lighting control in steps 507, 510, 513 of FIG. 12 and in step 663 of FIG. Position information for placing each finger is formed by the code and the finger number FN corresponding to the key code, and the lighting of the five light emitting elements 10h is controlled based on the position information. Also, in the light-off process in step 210 of FIG. 6, the light emitting elements 10i, 10
j is both turned off.

【0085】また、各種発光素子は鍵10aの上方に設
ける代わりに、各鍵10a内に埋め込むようにしてもよ
い。
Further, various light emitting elements may be embedded in each key 10a instead of being provided above the key 10a.

【0086】また、上記実施形態においては、押鍵され
るべき鍵に対応した発光素子10bを赤色点灯させると
ともに指の位置を示すための4つの発光素子10bを青
色点灯させるようにしたが、その他の色で区別するよう
にしてもよい。また、発光色で区別しなくても、一方を
点滅させるとともに他方を点灯させるようにして区別す
ることもできる。
In the above embodiment, the light emitting element 10b corresponding to the key to be depressed is turned on in red, and the four light emitting elements 10b for indicating the position of the finger are turned on in blue. The colors may be used to distinguish them. Also, without distinguishing by the emission color, it is also possible to make one blink and the other light up.

【0087】さらに、上記実施形態においては、隣り合
った5つの発光素子10bの点灯により手の位置を示す
ようにしたが、検出又は入力した手の大きさに応じて、
適当な間隔を設けて5つの発光素子10bを点灯させる
ようにしてもよい。 c.その他の変形例 上記実施形態においては、運指情報を生成する際、フレ
キシブルディスクFDに記憶されている演奏情報を一旦
演奏情報メモリ30aに転送した後、同演奏情報メモリ
30a内の演奏情報にキャラクタデータを付与してキャ
ラクタメモリ30bに再記憶させ、さらにキャラクタメ
モリ30c内のキャラクタデータを指情報に変えた演奏
情報を作成して運指メモリ30cに記憶させるようにし
て、同運指メモリ30cに記憶された演奏情報を読み出
して運指指示するようにした。しかし、演算速度さえ間
に合えば、フレキシブルディスクFDなどの外部記録媒
体から演奏情報を読み出すと同時に同演奏情報に運指情
報を付与して、リアルタイムで運指情報を作成していく
ようにしてもよい。さらに、キャラクタデータ及び指番
号をキーコードKC、デュレーションタイムデータ中に
混在させなくても、キャラクタデータ及び指番号のみを
演奏情報メモリ30a内の各キーコードに対応させて別
のメモリに記憶させておき、再生時に演奏情報メモリ3
0a内の演奏情報と並行して前記別メモリ内の指番号を
読み出すようにしてもよい。
Further, in the above embodiment, the position of the hand is indicated by the lighting of the five adjacent light emitting elements 10b. However, according to the size of the detected or inputted hand,
The five light emitting elements 10b may be turned on at appropriate intervals. c. Other Modifications In the above embodiment, when the fingering information is generated, the performance information stored in the flexible disk FD is temporarily transferred to the performance information memory 30a, and then the character information is stored in the performance information in the performance information memory 30a. Data is added and stored in the character memory 30b again, and further, performance information in which the character data in the character memory 30c is changed to finger information is created and stored in the fingering memory 30c. The stored performance information is read out and fingering is instructed. However, if the calculation speed is sufficient, the performance information may be read out from an external recording medium such as the flexible disk FD and the fingering information may be added to the performance information at the same time to create the fingering information in real time. . Further, even if the character data and the finger number are not mixed in the key code KC and the duration time data, only the character data and the finger number are stored in another memory corresponding to each key code in the performance information memory 30a. When playing, performance information memory 3
The finger number in the separate memory may be read out in parallel with the performance information in 0a.

【0088】また、外部記録媒体としては、フレキシブ
ルディスクFDに限らず、ハードディスク、光ディスク
などを用いることもできるし、他のコンピュータ内のメ
モリ装置を外部記録媒体として利用することもできる。
The external recording medium is not limited to the flexible disk FD, but may be a hard disk, an optical disk, or the like, or a memory device in another computer may be used as the external recording medium.

【0089】上記実施形態及び第1変形例においては、
フレキシブルディスクFD及び演奏情報メモリ30aに
記憶されている指番号を決定するための演奏情報中には
フレーズコードが予め含まれているが、フレーズコード
が含まれていない演奏情報が用意された場合には、演奏
者がフレーズコードを挿入するようにしてもよいし、演
奏情報をプログラム分析することにより演奏情報中にフ
レーズコードを自動的に挿入するようにしてもよい。こ
の場合、演奏テンポなどによって設定される特定符長以
上の休符の次にフレーズコードを挿入したり、簡単に
は、2小節又は4小節を単位としてフレーズコードを挿
入することもできる。また、演奏情報中にスタッカート
記号などが入っている場合には、同スタッカート記号の
前にフレーズコードを挿入するようにしてもよい。
In the above embodiment and the first modification,
When the performance information for determining the finger number stored in the flexible disk FD and the performance information memory 30a contains a phrase code in advance, but the performance information without the phrase code is prepared. The player may insert the phrase code, or may automatically analyze the performance information to insert the phrase code into the performance information by analyzing the program. In this case, a phrase code can be inserted after a rest longer than a specific note length set according to the performance tempo, or simply, a phrase code can be inserted in units of two or four measures. When a staccato symbol or the like is included in the performance information, a phrase code may be inserted before the staccato symbol.

【0090】また、上記実施形態においては右手と左手
を別々に分析したが、両手同時に分析するようにしても
よい。また、上記実施形態では右手に関しても左手に関
しても単音パートである例について説明したが、複数音
を同時に発音するパートを右手用又は左手用に採用し、
複数の鍵を右手又は左手で同時に押鍵するような運指状
態(指番号)を分析するようにしてもよい。この場合、
第1運指テーブルTBLAは前の指番号の全ての組合せ
である32通りの指番号に対してテーブルデータを用意
するようにすればよい。
Although the right hand and the left hand are separately analyzed in the above embodiment, both hands may be analyzed simultaneously. Further, in the above-described embodiment, an example in which both the right hand and the left hand are single-tone parts has been described.
A fingering state (finger number) in which a plurality of keys are simultaneously pressed with the right hand or the left hand may be analyzed. in this case,
In the first fingering table TBLA, table data may be prepared for 32 combinations of finger numbers that are all combinations of the previous finger numbers.

【0091】上記実施形態では、フレーズ内で全ての
(5本の)最初の指に対して運指不可能又は指交差が生
じた場合、指交差が最も遅く発生する指番号の組合せに
対して優先をもたせて運指状態を最終決定するようにし
たが、1フレーズ内で指交差が最小回数の指番号の組合
せ、又は特定音(例えば、C音)には優先的に親指を割
り当てるなどの条件で前記優先順を決定するようにして
もよい。
In the above embodiment, when fingering is impossible or finger crossing occurs for all (five) first fingers in the phrase, the finger number combination in which the finger crossing occurs the latest is performed. The fingering state is finally determined with priority, but a combination of finger numbers with the minimum number of finger crossings in one phrase, or a thumb is preferentially assigned to a specific sound (for example, sound C). The priority order may be determined based on conditions.

【0092】また、上記実施形態においては、押鍵され
るべき鍵が押鍵されない場合には、自動演奏の再生及び
運指表示の進行を正しい鍵が押鍵されるまで一時停止す
るようにしたが、押鍵されるべき鍵が押鍵されない場合
でも、前記自動演奏の再生及び運指表示をそのまま予め
決めた速度で進行させていくようにしてもよい。また、
演奏情報として音符情報のうちの音長情報(デュレーシ
ョンイベントデータ)を除いた音高情報(キーイベント
データ)のみを記憶しておき、同音高情報を操作子の操
作又は所定の時間間隔で順次読み出すようにした自動演
奏装置及び電子楽器にも本発明は適用できる。この場
合、一連の音高情報に基づいて同音高情報に演奏指を指
示するための指番号(指情報)を付加するようにすれば
よい。
In the above embodiment, when the key to be pressed is not pressed, the reproduction of the automatic performance and the progress of the fingering display are paused until the correct key is pressed. However, even when a key to be depressed is not depressed, the reproduction of the automatic performance and the fingering display may proceed at a predetermined speed. Also,
Only the pitch information (key event data) excluding the pitch information (duration event data) of the note information is stored as the performance information, and the pitch information is sequentially read at a predetermined time interval by operating an operation element. The present invention is also applicable to the automatic performance device and the electronic musical instrument described above. In this case, a finger number (finger information) for designating a performance finger may be added to the pitch information based on a series of pitch information.

【0093】また、本発明は鍵盤を備えない自動演奏装
置に単に運指表示装置を設けたものにも適用できる。さ
らに、パーソナルコンピュータなどで演奏情報に基づい
て運指情報を形成し、同コンピュータなどのディスプレ
イを用いて運指表示させるようにしてもよい。
The present invention can also be applied to an automatic performance apparatus having no keyboard, which is simply provided with a fingering display device. Further, fingering information may be formed on a personal computer or the like based on performance information, and the fingering may be displayed on a display of the computer or the like.

【0094】さらに、上記実施形態では指番号の分析を
テーブルを用いて行うようにしたが、アルゴリズム、演
算などを用いて行うようにしてもよい。さらに、キャラ
クタ分析、運指分析などプログラムを上記実施形態の装
置に内蔵させる必要はなく、フレキシブルディスクなど
の外部記録媒体に記録されていたものを同装置内に取り
込み、同取り込んだプログラムによりキャラクタ分析、
運指分析などを行うようにしてもよい。
Further, in the above-described embodiment, the analysis of the finger number is performed using the table. Further, it is not necessary to incorporate a program such as a character analysis and a fingering analysis into the apparatus of the above-described embodiment. What is recorded on an external recording medium such as a flexible disk is imported into the apparatus, and the character analysis is performed by the acquired program. ,
Fingering analysis or the like may be performed.

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

【図1】 本発明の一実施形態に係る電子楽器の全体ブ
ロック図である。
FIG. 1 is an overall block diagram of an electronic musical instrument according to an embodiment of the present invention.

【図2】 図1の鍵盤装置の一部を拡大して示す平面図
である。
FIG. 2 is an enlarged plan view showing a part of the keyboard device of FIG. 1;

【図3】 (A)は図1のプログラムメモリに設けられた
第1運指テーブルのデータフォーマット図、(B)は同プ
ログラムメモリに設けられた第2運指テーブルのデータ
フォーマット図である。
3A is a data format diagram of a first fingering table provided in the program memory of FIG. 1, and FIG. 3B is a data format diagram of a second fingering table provided in the program memory.

【図4】 (A)は図1の演奏情報メモリに記憶されてい
る演奏情報のデータフォーマット図、(B)は図1のキャ
ラクタメモリに記憶されている演奏情報のデータフォー
マット図、(C)は図1の運指メモリに記憶されている演
奏情報のデータフォーマット図である。
4A is a data format diagram of performance information stored in the performance information memory of FIG. 1, FIG. 4B is a data format diagram of performance information stored in the character memory of FIG. 1, and FIG. FIG. 3 is a data format diagram of performance information stored in the fingering memory of FIG. 1.

【図5】 図1のプログラムメモリに記憶されているメ
インプログラムのフローチャートである。
FIG. 5 is a flowchart of a main program stored in a program memory of FIG. 1;

【図6】 図5のキーイベントルーチンの詳細フローチ
ャートである。
FIG. 6 is a detailed flowchart of a key event routine of FIG. 5;

【図7】 図5のキャラクタ分析ルーチンの詳細フロー
チャートである。
FIG. 7 is a detailed flowchart of a character analysis routine of FIG. 5;

【図8】 図5の運指分析ルーチンの詳細フローチャー
トである。
FIG. 8 is a detailed flowchart of a fingering analysis routine of FIG. 5;

【図9】 図8のフレーズルーチンの詳細フローチャー
トである。
FIG. 9 is a detailed flowchart of a phrase routine of FIG. 8;

【図10】図5の自動演奏スタートルーチンの詳細フロ
ーチャートである。
FIG. 10 is a detailed flowchart of an automatic performance start routine of FIG. 5;

【図11】図1のプログラムメモリに記憶されている割
り込みプログラムのフローチャートである。
FIG. 11 is a flowchart of an interrupt program stored in the program memory of FIG. 1;

【図12】図11の再生ルーチンの詳細フローチャート
である。
FIG. 12 is a detailed flowchart of a reproduction routine of FIG. 11;

【図13】第1変形例に係る運指分析ルーチンの詳細フ
ローチャートである。
FIG. 13 is a detailed flowchart of a fingering analysis routine according to a first modification.

【図14】同変形例に係るワーキングメモリに設けられ
た指番号組合せテーブルのデータフォーマット図であ
る。
FIG. 14 is a data format diagram of a finger number combination table provided in a working memory according to the modification.

【図15】同変形例に係るプログラムメモリに設けられ
た右手用テーブル及び左手用テーブルのデータフォーマ
ット図である。
FIG. 15 is a data format diagram of a right-hand table and a left-hand table provided in a program memory according to the modification.

【図16】第2変形例に係る鍵盤装置の一部を示す平面
図である。
FIG. 16 is a plan view showing a part of a keyboard device according to a second modification.

【図17】同変形例をさらに変形した鍵盤装置の一部を
示す平面図である。
FIG. 17 is a plan view showing a part of a keyboard device obtained by further modifying the modification.

【図18】同変形例をさらに変形した鍵盤装置の一部を
示す平面図である。
FIG. 18 is a plan view showing a part of a keyboard device obtained by further modifying the modification.

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

10…鍵盤装置、10a…鍵、10b,10c,10
h,10i,10j…発光素子、10d,10e…数字
表示器、20…操作パネル、30…メモリ装置、30a
…演奏情報メモリ、30b…キャラクタメモリ、30c
…運指メモリ、FD…フレキシブルディスク、40…楽
音信号形成回路、50…CPU、51…ワーキングメモ
リ、52…プログラムメモリ。
10 keyboard device, 10a key, 10b, 10c, 10
h, 10i, 10j: light emitting element, 10d, 10e: numeric display, 20: operation panel, 30: memory device, 30a
... performance information memory, 30b ... character memory, 30c
... fingering memory, FD ... flexible disk, 40 ... tone signal forming circuit, 50 ... CPU, 51 ... working memory, 52 ... program memory.

フロントページの続き (72)発明者 青木 栄一郎 静岡県浜松市中沢町10番1号 ヤマハ株 式会社内 (72)発明者 中田 晧 静岡県浜松市中沢町10番1号 ヤマハ株 式会社内 (72)発明者 宗川 博 兵庫県加古郡播磨町野添1241−3 (56)参考文献 特開 平3−184076(JP,A) 実開 平3−89466(JP,U) 実開 平3−89467(JP,U) 特公 昭60−46432(JP,B2) 実公 昭63−36346(JP,Y2) 特許2526954(JP,B2) 特許2646760(JP,B2) 特許2707853(JP,B2) 特許2950138(JP,B2)Continued on the front page (72) Inventor Eiichiro Aoki 10-1 Nakazawa-cho, Hamamatsu-shi, Shizuoka Prefecture Inside Yamaha Corporation (72) Inventor Ko Ko Nakata 10-1-1 Nakazawa-cho, Hamamatsu-shi, Shizuoka Prefecture Inside Yamaha Corporation (72 ) Inventor Hiroshi Munekawa 1241-3 Nozoe, Harima-cho, Kako-gun, Hyogo Pref. , U) Japanese Patent Publication No. Sho 60-46432 (JP, B2) Japanese Utility Model Publication No. Sho 63-36346 (JP, Y2) Patent 2526954 (JP, B2) Patent 2646760 (JP, B2) Patent 2778553 (JP, B2) Patent 2950138 (JP) , B2)

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】一連の音符列の各音高をそれぞれ表す複数
の音高情報を供給する音高情報供給手段と、 前記供給された複数の音高情報を自動的に分析して同複
数の音高情報から各音符のための演奏指を表す指情報を
生成する指情報生成手段と、 前記供給された音高情報及び前記生成された指情報に基
づいて、演奏されるべき音符の音高位置であって演奏指
の位置を表す第1指示情報と、前記演奏されるべき音符
の音高と隣接した音高位置であって前記演奏指の属する
手の5本の指のうちで前記演奏指以外の指の位置を表す
第2指示情報とを生成する位置情報生成手段とを備えた
ことを特徴とする運指情報分析装置。
1. A pitch information supply means for supplying a plurality of pitch information representing respective pitches of a series of note strings, and automatically analyzing the supplied plurality of pitch information to provide the plurality of pitch information. Finger information generating means for generating finger information indicating a performance finger for each note from the pitch information; and a pitch of a note to be played based on the supplied pitch information and the generated finger information. Position and playing finger
First instruction information indicating the position of the note, and the note to be played
Pitch position adjacent to the pitch of the
Represents the positions of the fingers other than the playing finger among the five fingers of the hand
A fingering information analyzing device, comprising: position information generating means for generating second instruction information .
【請求項2】前記請求項1に記載の運指情報分析装置に
おいて、さらに前記第1及び第2指示情報に基づいて、
前記演奏指の位置と前記演奏指以外の指の位置とをそれ
ぞれ異なる態様で指示する指示手段を設けた運指情報分
析装置。
2. The fingering information analyzing apparatus according to claim 1, further comprising:
The position of the playing finger and the position of the finger other than the playing finger
A fingering information analysis device provided with instruction means for giving instructions in different modes .
【請求項3】演奏者が演奏する演奏操作子と、 一連の音符列の各音高をそれぞれ表す複数の音高情報を
供給する音高情報供給手段と、 前記供給された複数の音高情報を自動的に分析して同複
数の音高情報から各音符のための演奏指を表す指情報を
生成する指情報生成手段と、 前記供給された音高情報及び前記生成された指情報に基
づいて、演奏されるべき音符の音高位置であって演奏指
の位置を表す第1指示情報と、前記演奏されるべき音符
の音高と隣接した音高位置であって前記演奏指の属する
手の5本の指のうちで前記演奏指以外の指の位置を表す
第2指示情報とを生成する位置情報生成手段と、前記第1及び第2指示情報に基づいて、前記演奏指の位
置と前記演奏指以外の指の位置とをそれぞれ異なる態様
指示する指示手段とを備えたことを特徴とする電子楽
器。
3. A musical performance controller to be performed by a player; pitch information supply means for supplying a plurality of pitch information representing respective pitches of a series of note strings; and a plurality of supplied pitch information. Automatically generating the finger information representing the performance finger for each note from the plurality of pieces of pitch information, based on the supplied pitch information and the generated finger information The pitch position of the note to be played
First instruction information indicating the position of the note, and the note to be played
Pitch position adjacent to the pitch of the
Represents the positions of the fingers other than the playing finger among the five fingers of the hand
Position information generating means for generating second instruction information; and a position of the performance finger based on the first and second instruction information.
And the positions of the fingers other than the playing finger are different from each other.
An electronic musical instrument comprising: instruction means for instructing the electronic musical instrument.
【請求項4】演奏者が演奏する演奏操作子と、 一連の音符列の各音高をそれぞれ表す複数の音高情報を
供給する音高情報供給手段と、 前記供給された複数の音高情報を自動的に分析して同複
数の音高情報から各音符のための演奏指を表す指情報を
生成する指情報生成手段と、 前記生成された指情報を前記複数の音高情報と共に記憶
する記憶手段と、 前記記憶された音高情報及び指情報を順次読み出す読み
出し手段と、 前記読み出された音高情報及び指情報に基づいて、演奏
されるべき音符の音高位置であって演奏指の位置を表す
第1指示情報と、前記演奏されるべき音符の音高と隣接
した音高位置であって前記演奏指の属する手の5本の指
のうちで前記演奏指以外の指の位置を表す第2指示情報
とを生成する位置情報生成手段と、 前記第1及び第2指示情報に基づいて、前記演奏指の位
置と前記演奏指以外の指の位置とをそれぞれ異なる態様
指示する指示手段とを備えたことを特徴とする電子楽
器。
4. A performance operator played by a player, pitch information supply means for supplying a plurality of pieces of pitch information representing respective pitches of a series of note strings, and the supplied plurality of pitch information. Automatically generating a finger information representing a performance finger for each note from the plurality of pieces of pitch information, and storing the generated finger information together with the plurality of pieces of pitch information. Storage means, reading means for sequentially reading the stored pitch information and finger information, and performance based on the read pitch information and finger information.
The pitch position of the note to be played, representing the position of the playing finger
The first instruction information, the pitch of the note to be played and the adjacent
Five fingers of the hand at the pitch position
Instruction information indicating the position of a finger other than the performance finger
Position information generating means for generating the position of the playing finger based on the first and second instruction information.
And the positions of the fingers other than the playing finger are different from each other.
An electronic musical instrument comprising: instruction means for instructing the electronic musical instrument.
JP08649399A 1999-03-29 1999-03-29 Fingering information analysis device and electronic musical instrument to which the device is applied Expired - Fee Related JP3185885B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08649399A JP3185885B2 (en) 1999-03-29 1999-03-29 Fingering information analysis device and electronic musical instrument to which the device is applied

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08649399A JP3185885B2 (en) 1999-03-29 1999-03-29 Fingering information analysis device and electronic musical instrument to which the device is applied

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP6051517A Division JP2950138B2 (en) 1994-03-23 1994-03-23 Fingering information analyzer and electronic musical instrument using the same

Publications (2)

Publication Number Publication Date
JPH11344977A JPH11344977A (en) 1999-12-14
JP3185885B2 true JP3185885B2 (en) 2001-07-11

Family

ID=13888518

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08649399A Expired - Fee Related JP3185885B2 (en) 1999-03-29 1999-03-29 Fingering information analysis device and electronic musical instrument to which the device is applied

Country Status (1)

Country Link
JP (1) JP3185885B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3588596B2 (en) * 2001-05-29 2004-11-10 株式会社第一興商 Karaoke device with singing special training function

Also Published As

Publication number Publication date
JPH11344977A (en) 1999-12-14

Similar Documents

Publication Publication Date Title
JP2950138B2 (en) Fingering information analyzer and electronic musical instrument using the same
US6337433B1 (en) Electronic musical instrument having performance guidance function, performance guidance method, and storage medium storing a program therefor
JP4094236B2 (en) Performance support apparatus, performance support method, and performance support program for realizing the method on a computer
JPH09305171A (en) Playing idnication device
CN102148026A (en) Electronic musical instrument
JP3358292B2 (en) Electronic musical instrument
JP3185885B2 (en) Fingering information analysis device and electronic musical instrument to which the device is applied
JPH0469396B2 (en)
JPH1069273A (en) Playing instruction device
JP4354546B2 (en) Apparatus and method for detecting musical instrument performance and guiding musical instrument performance, and recording medium recording the program
JP4305386B2 (en) Electronic keyboard instrument
JP3055554B2 (en) Operation instruction device
JP2625800B2 (en) Automatic performance device
JP2714557B2 (en) Performance practice equipment
JP4402853B2 (en) Performance data generation method and electronic keyboard instrument
JP3752956B2 (en) PERFORMANCE GUIDE DEVICE, PERFORMANCE GUIDE METHOD, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING PERFORMANCE GUIDE PROGRAM
JP2601250B2 (en) Automatic performance device
JP3552279B2 (en) Keyboard instrument
JP3158944B2 (en) Phrase division device
JP2522203B2 (en) Automatic playing device
JP2650632B2 (en) Automatic performance device
JPH0822280A (en) Keyboard musical instrument
JPH10254467A (en) Lyrics display device, recording medium which stores lyrics display control program and lyrics display method
JP2607413B2 (en) Automatic performance device
JPH0348798Y2 (en)

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20001114

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010404

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090511

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100511

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees