JPH08335082A - Electronic musical instrument having automatic playing function - Google Patents

Electronic musical instrument having automatic playing function

Info

Publication number
JPH08335082A
JPH08335082A JP7140950A JP14095095A JPH08335082A JP H08335082 A JPH08335082 A JP H08335082A JP 7140950 A JP7140950 A JP 7140950A JP 14095095 A JP14095095 A JP 14095095A JP H08335082 A JPH08335082 A JP H08335082A
Authority
JP
Japan
Prior art keywords
performance
data
key
performance information
sounding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7140950A
Other languages
Japanese (ja)
Other versions
JP3194850B2 (en
Inventor
Sadasuke Wakuta
定資 和久田
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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP14095095A priority Critical patent/JP3194850B2/en
Priority to US08/656,787 priority patent/US5866833A/en
Publication of JPH08335082A publication Critical patent/JPH08335082A/en
Application granted granted Critical
Publication of JP3194850B2 publication Critical patent/JP3194850B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To perform the ensemble between one step automatic playing and manual playing by preparing a first sounding operating means for one step automatic playing and a plurality of second sounding operation means for manual playing, assigning the information according to the operation of the sounding operating means to musical sound generating channels to make the both means simultaneously perform. CONSTITUTION: When a playing mode for every playing part is inputted by a mode switching key 15 and a part designating key 16, the mode flag by part according to this is stored in a mode flag resistor. The, full-key/partial-key one step mode is released, or a general sounding processing of manual playing is performed when no on-key is contained in the one step area, and the data according to on-key is outputted through a MIDI circuit 9. Thus, manual playing and full automatic playing can be performed as well as one step automatic playing, and the ensemble of two or more playings of the three playing can be performed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は自動演奏機能を有する電
子楽器に関し、特に発音操作ごとに自動演奏がワンステ
ップずつ進められる装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument having an automatic performance function, and more particularly, to a device capable of advancing an automatic performance step by step for each sounding operation.

【0002】[0002]

【従来技術】このワンステップの自動演奏装置は公知で
はなく、このワンステップの自動演奏装置は以下のよう
なものである。自動演奏の演奏データは図13に示され
るように複数のノートデータ等からなり、このノートデ
ータはキーナンバデータKN、ゲートタイムデータG
T、タッチデータTC等からなっており、このノートデ
ータに基づいてキーオンごとに発音される。この演奏デ
ータには「同時コマンド」がいくつか記憶されており、
この「同時コマンド」からの次の「同時コマンド」まで
の間の各ノートデータが、キーボードの各キーの1つの
キーオンに応じて同時に発音される。そして、キーオン
ごとに自動演奏が順次進められていく。
2. Description of the Related Art This one-step automatic performance device is not known, and the one-step automatic performance device is as follows. As shown in FIG. 13, the performance data of the automatic performance is composed of a plurality of note data and the like, and these note data are key number data KN and gate time data G.
It is composed of T, touch data TC, etc., and is sounded every key-on based on the note data. Some "simultaneous commands" are stored in this performance data,
Each note data from this "simultaneous command" to the next "simultaneous command" is sounded simultaneously in response to one key-on of each key of the keyboard. Then, each time the key is turned on, the automatic performance is sequentially advanced.

【0003】[0003]

【発明が解決しようとする課題】このようなワンステッ
プ自動演奏では、キーボードの一部または全キーがワン
ステップ自動演奏に使われるため、ワンステップ自動演
奏にあわせて手動演奏を行い、これにより、両演奏の合
奏を行うことができなかった。このような合奏は、演奏
の練習には非常に有益である。
In such a one-step automatic performance, since some or all keys of the keyboard are used for the one-step automatic performance, a manual performance is performed in accordance with the one-step automatic performance. I couldn't perform the ensemble of both performances. Such ensemble is very useful for practice of performance.

【0004】[0004]

【課題を解決するための手段及び作用】上記目的を達成
するために、本発明は、ワンステップ自動演奏用の第一
の発音操作手段と手動演奏用の複数の第二の発音操作手
段とを用意し、これらの発音操作手段の操作に応じた情
報を楽音発生チャンネルに割り当てて、同時に発音また
は演奏されるようにした。これにより、ワンステップ自
動演奏と手動演奏とが合奏される。
In order to achieve the above object, the present invention provides a first sounding operation means for one-step automatic performance and a plurality of second sounding operation means for manual performance. The information is prepared, and information corresponding to the operation of these sounding operation means is assigned to the tone generation channels so that they can be sounded or played simultaneously. As a result, the one-step automatic performance and the manual performance are performed together.

【0005】[0005]

【実施例】【Example】

《1》全体回路 図1は、電子楽器の全体回路を示す。キーボード1の各
キーは、楽音の発音/消音の操作を行うものであり、キ
ースキャン回路2によってスキャンされ、キー操作、す
なわちキーオン、キーオフを示すデータが検出され、C
PU5によってRAM6に書き込まれる。そして、それ
までRAM6に記憶されていた各キーのオン、オフの状
態を示すデータと比較され、各キーのオンイベント、オ
フイベントの判別が、CPU5によって行われる。
<< 1 >> Overall Circuit FIG. 1 shows an overall circuit of an electronic musical instrument. Each key of the keyboard 1 is for performing a sounding / silence operation of a musical sound, and is scanned by the key scanning circuit 2 to detect data indicating a key operation, that is, a key-on and a key-off.
The data is written to the RAM 6 by the PU 5. Then, the CPU 5 compares the data, which has been stored in the RAM 6 up to now, with the ON / OFF state of each key, and the CPU 5 discriminates the ON event / OFF event of each key.

【0006】これにより、オン/オフに係るキーのポジ
ションが検出される。また、上記スキャンは周期的に行
われるので、キーのオン/オフのタイミングも検出され
る。なお、上記キーボード1は、電子弦楽器、電子管
(リード)楽器、電子打(パッド)楽器、コンピュータ
のキーボード等で代用される。このキーボード1の全部
または特定のキー群またはキーによって、ワンステップ
自動演奏が行われる。このワンステップ自動演奏では、
このキーの発音操作すなわち押鍵(または離鍵)ごとに
1ステップずつ自動演奏が実行される。
As a result, the position of the on / off key is detected. Further, since the scan is periodically performed, the on / off timing of the key is also detected. The keyboard 1 may be replaced by an electronic string instrument, an electronic wind (lead) instrument, an electronic percussion (pad) instrument, a computer keyboard, or the like. One-step automatic performance is performed by all or a specific key group or keys of the keyboard 1. In this one-step automatic performance,
The automatic performance is executed step by step for each sounding operation of this key, that is, every key depression (or key release).

【0007】パネルスイッチ群3の後述する各スイッチ
は、パネルスキャン回路4によって、スキャンされる。
このスキャンにより、各スイッチのオン、オフを示すデ
ータが検出され、CPU5によってRAM6に書き込ま
れる。そして、それまでRAM6に記憶されていた各ス
イッチのオン、オフの状態を示すデータと比較され、各
スイッチのオンイベント、オフイベントの判別が、CP
U5によって行われる。
Each switch, which will be described later, of the panel switch group 3 is scanned by the panel scan circuit 4.
By this scan, data indicating ON / OFF of each switch is detected and written in the RAM 6 by the CPU 5. The data indicating the on / off state of each switch, which has been stored in the RAM 6 up to that point, is compared to determine whether the on event or off event of each switch is CP.
Performed by U5.

【0008】上記キーオン、キーオフ、オンイベント、
オフイベント、各スイッチのオンイベント、オフイベン
トのデータは、MIDI(ミュージカルインスツルメン
トデジタルインターフェイス)回路9を介して、他の処
理装置(電子楽器)からも発生され受け取られ、または
他の処理装置(電子楽器)へも発生され送られる。
The above key-on, key-off, on-event,
The off event, the on event of each switch, and the off event data are also generated and received from other processing devices (electronic musical instruments) via the MIDI (Musical Instrument Digital Interface) circuit 9, or other processing devices. It is also generated and sent to (electronic musical instrument).

【0009】パネルスイッチ群3には、モード切換キー
15、パート指定キー16、選曲キー17、音色キー1
8等が設けられている。上記モード切換キー15によっ
て、全自動モード、全鍵ワンステップモード、一部ワン
ステップモードまたは手動モード等が切り換えられる。
The panel switch group 3 includes a mode switching key 15, a part designation key 16, a music selection key 17, and a tone color key 1.
8 etc. are provided. The mode switching key 15 switches the fully automatic mode, the all-key one-step mode, the partial one-step mode, the manual mode, or the like.

【0010】全自動モードでは、キー操作に関係ない通
常の全自動演奏が行われる。全鍵ワンステップモードで
は、キーボード1の全鍵にわたって、キー操作ごとに自
動演奏が進められるワンステップ自動演奏が可能とな
る。一部ワンステップモードでは、このワンステップ自
動演奏がキーボード1の一部キー群でのみ可能となる。
他のキー群では手動演奏が可能となり、ワンステップ自
動演奏と手動演奏との合奏が可能となる。この一部のキ
ー群は、例えば上鍵盤、下鍵盤、足鍵盤、リズムキー群
等であり、これに応じて上記キーボード1はこれら各鍵
盤及びキー群に分けられている。手動モードでは、キー
ボード1の全鍵にわたって手動演奏が可能となる。
In the fully automatic mode, a normal fully automatic performance irrespective of key operation is performed. In the all-keys one-step mode, it is possible to perform one-step automatic performance in which the automatic performance is advanced for every key operation over all keys of the keyboard 1. In the partial one-step mode, this one-step automatic performance is possible only with a partial key group of the keyboard 1.
With other keys, manual performance is possible, and one-step automatic performance and manual performance are possible. This partial key group is, for example, an upper keyboard, a lower keyboard, a foot keyboard, a rhythm key group, etc., and accordingly, the keyboard 1 is divided into these keyboards and key groups. In the manual mode, all keys of the keyboard 1 can be manually played.

【0011】上記パート指定キー16によって、演奏パ
ートごとに上述の全自動モード、全鍵ワンステップモー
ド、一部ワンステップモードと、手動モードの切換選択
が可能となる。この演奏パートは、例えば、メロディ、
伴奏(コード、ベース、バッキング、アルペジオ等)、
リズム等である。この演奏パートの選択指定は、上述の
上鍵盤、下鍵盤、足鍵盤、リズムキー群の選択指定によ
って間接的に行われる。
The part designation key 16 makes it possible to switch between the fully automatic mode, the all-key one-step mode, the partial one-step mode, and the manual mode for each performance part. This performance part is, for example, a melody,
Accompaniment (chord, bass, backing, arpeggio, etc.),
Rhythm etc. The selection designation of the performance part is indirectly performed by the selection designation of the upper keyboard, the lower keyboard, the foot keyboard, and the rhythm key group.

【0012】なお、このモード切換選択、演奏パートの
選択指定は、上述以外の方法によってもよいし、1つの
キーによってより簡易な処理であってもよい。例えば、
第一モード、第二モード及び第三モードだけの切換選択
である。第一モードでは、リズムまたは伴奏が全自動演
奏され、キーボード1の全鍵で伴奏またはメロディがワ
ンステップ自動演奏される。第二モードでは、リズムが
全自動演奏され、下鍵盤で伴奏がワンステップ自動演奏
され、上鍵盤でメロディが手動演奏される。第三モード
ではキーボード1の全鍵で手動演奏が行われる。
The mode switching selection and the performance part selection designation may be performed by a method other than the above, or may be a simpler process with one key. For example,
It is a switching selection only in the first mode, the second mode and the third mode. In the first mode, the rhythm or accompaniment is fully automatically played, and all keys of the keyboard 1 are automatically played one step as an accompaniment or melody. In the second mode, the rhythm is fully played automatically, the accompaniment is automatically played one step on the lower keyboard, and the melody is manually played on the upper keyboard. In the third mode, all keys of the keyboard 1 are used for manual performance.

【0013】またパネルスイッチ群3には、図示されて
いないが、全自動スタートキー、リズム種類キー等も設
けられている。全自動スタートキーによって上記全自動
演奏がスタートされる。リズム種類キーによって上述の
全自動演奏されるリズムの種類が切換選択される。この
リズムの種類はワルツ、ディスコ、マーチ、ロック、1
6ビート等である。
Although not shown, the panel switch group 3 is also provided with a fully automatic start key, a rhythm type key, and the like. The fully automatic start key starts the fully automatic performance. The rhythm type key is used to switch and select the type of rhythm to be automatically played. The types of this rhythm are waltz, disco, march, rock, 1
6 beats, etc.

【0014】選曲キー17によって、上記ワンステップ
自動演奏において、演奏される演奏情報MPの曲が選択
される。音色キー18によって、上記キーボード1の演
奏によって発音される楽音の音色が選択される。この音
色キー18によって、演奏情報MPの音色(トーンナン
バデータTN)が設定/変更されることもできる。
The music selection key 17 is used to select the music of the performance information MP to be played in the one-step automatic performance. The tone color key 18 is used to select the tone color of the musical tone produced by the performance of the keyboard 1. The tone color of the performance information MP (tone number data TN) can be set / changed by the tone color key 18.

【0015】RAM6には、上述した各種データのほ
か、CPU5が処理する各種データ及び処理に必要な各
種データが記憶される。このRAM6には、後述するワ
ーキングメモリ32も形成されている。ROM7には、
後述するフローチャートに対応し、かつCPU5が実行
するプログラム、その他の処理に対応するプログラムが
記憶されている。
The RAM 6 stores various data described above, various data processed by the CPU 5 and various data necessary for the processing. A working memory 32 described later is also formed in the RAM 6. In ROM7,
A program that corresponds to a flowchart described below and that is executed by the CPU 5 and that corresponds to other processing is stored.

【0016】自動演奏メモリ8には、複数曲の演奏情報
MPが記憶されている。この演奏情報MPは、CPU5
によって読み出し発生され、上記ワンステップ自動演奏
が行われる。自動演奏メモリ8は、RAMまたはROM
よりなるが、上記RAM6、ROM7と一体であっても
よいし、RAM/ROMカード、フロッピーディスク、
CD−RAM/ROM等であってもよい。上記演奏情報
MP、キーオン/オフイベント、ノートデータ等は、M
IDI回路9を介して、他の処理装置(電子楽器)から
も発生され送られ受け取られるし、他の処理装置(電子
楽器)へ発生され送られる。
The automatic performance memory 8 stores performance information MP of a plurality of songs. This performance information MP is stored in the CPU 5
Is read out and generated, and the one-step automatic performance is performed. The automatic performance memory 8 is RAM or ROM
However, the RAM 6 and the ROM 7 may be integrated, or a RAM / ROM card, a floppy disk,
It may be a CD-RAM / ROM or the like. The performance information MP, key on / off event, note data, etc. are M
Via the IDI circuit 9, it is also generated, sent and received from another processing device (electronic musical instrument), or generated and sent to another processing device (electronic musical instrument).

【0017】上記演奏情報MPに応じた楽音データ及び
上記キーボード1の各キーのオン/オフに応じた楽音デ
ータは、トーンジェネレータ10へ送られ、サウンドシ
ステム11で発音される。このトーンジェネレータ10
には、複数チャンネル分、例えば16チャンネル分の楽
音生成システム(チャンネル)が時分割処理により形成
されており、楽音がポリフォニックに発音される。この
トーンジェネレータ10にはアサインメントメモリ31
が設けられている。
The tone data corresponding to the performance information MP and the tone data corresponding to ON / OFF of each key of the keyboard 1 are sent to the tone generator 10 and sounded by the sound system 11. This tone generator 10
In this case, a tone generation system (channels) for a plurality of channels, for example, 16 channels is formed by time division processing, and the tone is polyphonically generated. The tone generator 10 has an assignment memory 31.
Is provided.

【0018】このアサインメントメモリ31は16チャ
ンネル分のメモリエリアが形成されており、上記各チャ
ンネルに割り当てられた楽音の演奏情報または操作/指
示情報がこの楽音の発音開始時に書き込まれ、この情報
に応じて各楽音がトーンジェネレータ10より同時に発
音される。この情報は、オン/オフデータ、キーナンバ
データKN、トーンナンバデータTN、タッチデータT
C、ゲートタイムデータGT等である。オン/オフデー
タは、キーボード1の各キーまたは自動演奏の各演奏情
報MPの楽音のオン/発音(“1”)、オフ/消音
(“0”)を示す。他のデータKN、TN、TC、GT
は次述される。
The assignment memory 31 is formed with a memory area for 16 channels, and performance information or operation / instruction information of the musical tone assigned to each of the above-mentioned channels is written at the start of sounding the musical tone, and this information is stored in this information. Accordingly, the tone generators 10 generate the musical tones at the same time. This information includes on / off data, key number data KN, tone number data TN, touch data T.
C, gate time data GT, etc. The ON / OFF data indicates ON / sound (“1”) and OFF / mute (“0”) of the musical sound of each key of the keyboard 1 or each performance information MP of the automatic performance. Other data KN, TN, TC, GT
Is described next.

【0019】《2》演奏情報MP 図2は、上述の自動演奏メモリ8の記憶内容を示す。こ
の自動演奏メモリ8には、先頭にディレクトリデータD
R及び再生条件データRCが記憶され、このデータD
R、RCの後に複数曲の演奏情報MPが記憶されてい
る。この演奏情報MPは、メロディパートのデータであ
るが、コード、ベース、バッキング、アルペジオ、リズ
ム等のパートについても記憶可能である。
<< 2 >> Performance Information MP FIG. 2 shows the stored contents of the automatic performance memory 8 described above. This automatic performance memory 8 has the directory data D at the beginning.
R and reproduction condition data RC are stored, and this data D
Performance information MP of a plurality of songs is stored after R and RC. The performance information MP is data of a melody part, but can also store parts such as chords, bass, backing, arpeggio, rhythm and the like.

【0020】上記演奏情報MPは、ノートデータ群と、
このノートデータ群の間に挿入されるバーマークデータ
BM、エンドマークデータEM等からなっている。ノー
トデータは、キーナンバ(音高)データKN、ステップ
タイムデータST、ゲートタイムデータGT、タッチ
(ベロシティ)データTC等よりなっている。
The performance information MP includes a note data group,
It is composed of bar mark data BM, end mark data EM and the like inserted between the note data groups. The note data includes key number (pitch) data KN, step time data ST, gate time data GT, touch (velocity) data TC and the like.

【0021】キーナンバデータKNは、キーボード1の
各キーのナンバすなわち、各キーのポジションを示して
おり、音高を表わしている。このキーナンバデータKN
には、セントデータCTが含まれてもよい。ステップタ
イムデータSTは、曲の先頭または小節の先頭すなわち
バーマークデータBMからノートデータに応じた楽音の
発音開始またはコマンド実行までの時間を示すデータで
ある。このコマンドは、音色変更、テンポ変更、移調等
である。ゲートタイムデータGTは、キーオンからキー
オフまでの発音継続時間を示すデータである。
The key number data KN represents the number of each key of the keyboard 1, that is, the position of each key, and represents the pitch. This key number data KN
May include cent data CT. The step time data ST is data indicating the time from the beginning of a music piece or the beginning of a bar, that is, the bar mark data BM to the start of sounding a musical tone according to the note data or the execution of a command. This command is to change the tone color, change the tempo, transpose, etc. The gate time data GT is data indicating a sounding duration time from key-on to key-off.

【0022】タッチ(ベロシティ)データTCはキーオ
ン/オフの速さまたは強さを示すデータである。このタ
ッチデータTCは、複数のキースイッチのオン/オフの
時間差に応じており、この複数のキースイッチはキーボ
ード1の各キーに設けられ、キー操作時にタイミングが
ずれてオン/オフする。このタッチデータTCに応じ
て、楽音の音量、周波数成分等の制御が行われる。上記
バーマークデータBMは各小節の区切りを示すデータで
ある。エンドマークデータEMは、曲の終わりを示すデ
ータである。
Touch (velocity) data TC is data indicating the speed or strength of key on / off. The touch data TC corresponds to the on / off time difference of the plurality of key switches, and the plurality of key switches are provided for each key of the keyboard 1 and are turned on / off at different timings when the key is operated. The tone volume, frequency component, etc. are controlled according to the touch data TC. The bar mark data BM is data indicating the division of each bar. The end mark data EM is data indicating the end of a song.

【0023】また演奏情報MPの先頭には、演奏条件デ
ータPCが記憶されており、この演奏条件データPC
は、ソングネームデータSN、テンポデータTP、ビー
トデータBE、トーンナンバデータTN等からなってい
る。テンポデータTP、ビートデータBEはこの演奏情
報MPによる自動演奏のテンポ、拍子を示すデータであ
る。
Performance condition data PC is stored at the head of the performance information MP, and this performance condition data PC is stored.
Is composed of song name data SN, tempo data TP, beat data BE, tone number data TN, and the like. The tempo data TP and the beat data BE are data indicating the tempo and time signature of the automatic performance based on the performance information MP.

【0024】上記トーンナンバデータTNは、ピアノ、
バイオリン、フルート、ドラム等の楽器音の音色を示
す。このトーンナンバデータTNは、さらに楽音波形デ
ータの読み出しのスタート、ループトップ、ループエン
ドの各アドレスデータ、エンベロープ波形データ、フォ
ルマント形状、周波数スペクトル成分、高調波成分、タ
ッチデータTC、キースケーリングデータに対応するデ
ータも示す。なお、トーンナンバデータTN、テンポデ
ータTP、移調データは、1つの曲の演奏情報MPの途
中に記憶されて、曲の途中で音色、テンポ、調が変化し
てもよい。
The tone number data TN is a piano,
Indicates the timbre of instrument sounds such as violin, flute, and drum. The tone number data TN corresponds to the start of reading of musical tone waveform data, loop top and loop end address data, envelope waveform data, formant shape, frequency spectrum component, harmonic component, touch data TC, and key scaling data. The data to be shown are also shown. The tone number data TN, the tempo data TP, and the transposition data may be stored in the middle of the performance information MP of one song, and the tone color, tempo, and tone may change during the song.

【0025】上記1つの曲の演奏情報MPは、複数トラ
ックに上述の演奏パートごとに分けて記憶される。図2
の演奏情報MPはメロディパートのためのものである。
伴奏(コード等)パートでは、このノートデータがコー
ドデータCDとステップタイムデータSTとからなる。
コードデータCDは、コードのタイプとルートを示す。
リズムパートでは、上記ノートデータがタッチデータT
CまたはトーンナンバデータTNとステップタイムデー
タSTとからなる。このトーンナンバデータTNは、リ
ズムの楽器、例えばバスドラム、スネアドラム、ハイハ
ット、シンバル、ボンゴ等である。なお、上記演奏パー
トは楽器パート(上、下、足等の鍵盤、弦、管、打)等
も含む。また、各トラックの先頭にトーンナンバデータ
TNが記憶され、各トラックごとに音色が異なっていて
もよい。
The performance information MP of one piece of music is stored in a plurality of tracks separately for each performance part. Figure 2
The performance information MP of is for the melody part.
In the accompaniment (chord etc.) part, this note data is composed of chord data CD and step time data ST.
The code data CD indicates the type of code and the route.
In the rhythm part, the above note data is touch data T
C or tone number data TN and step time data ST. The tone number data TN is a rhythm instrument such as a bass drum, a snare drum, a hi-hat, a cymbal, and a bongo. The performance parts include musical instrument parts (upper, lower, keys such as feet, strings, pipes, strikes). Further, tone number data TN may be stored at the head of each track, and tone colors may be different for each track.

【0026】さらに、リズムパートの演奏情報MPは、
メロディパート、伴奏パートから独立して、上記リズム
の種類ごとに自動演奏メモリ8に記憶され、上記リズム
種類キーによって選択されたリズムが全自動演奏されて
もよい。また、メロディパート、伴奏パート及びリズム
パートの演奏情報MPは、複数のトラックに分けられ
ず、いっしょに記憶されてもよい。この場合、各ノート
データはパートデータをさらに有し、このパートデータ
はメロディ、伴奏またははリズムを示す。さらにこのパ
ートデータが省略されてもよい。この場合、キーナンバ
データKNが特定の音高より高ければ(高音域)、この
ノートはメロディパートに属し、キーナンバデータKN
がこの特定の音高より低ければ(低音域)、このノート
は伴奏パートに属する。あるいは、ノートデータがコー
ドデータCDを有するかキーナンバデータKNを有する
かによって、パートが決定される。
Further, the performance information MP of the rhythm part is
Independently from the melody part and the accompaniment part, the rhythms stored in the automatic performance memory 8 for each rhythm type may be fully automatically played by the rhythm type key. The performance information MP of the melody part, accompaniment part and rhythm part may be stored together without being divided into a plurality of tracks. In this case, each note data further includes part data, and this part data indicates a melody, accompaniment or rhythm. Further, this part data may be omitted. In this case, if the key number data KN is higher than a specific pitch (high range), this note belongs to the melody part, and the key number data KN
If is lower than this specific pitch (bass range), this note belongs to the accompaniment part. Alternatively, the part is determined depending on whether the note data has the chord data CD or the key number data KN.

【0027】《3》ワーキングメモリ32 図3は、RAM6のワーキングメモリ32を示す。この
ワーキングメモリ32は、図3に示す各種レジスタ、各
種バッファ、各種カウンタ、各種メモリからなってい
る。
<< 3 >> Working Memory 32 FIG. 3 shows the working memory 32 of the RAM 6. The working memory 32 includes various registers, various buffers, various counters, and various memories shown in FIG.

【0028】モードフラグレジスタ41には、電子楽器
の動作を示すフラグデータが記憶される。このフラグ
は、パート別モードフラグ、オンキーフラグ、バー待機
モードフラグ等である。パート別モードフラグは、メロ
ディ、伴奏(コード、ベース)、リズムの各演奏パート
ごと、または上鍵盤、下鍵盤、足鍵盤、リズムキー群ご
との演奏モードを示す。
The mode flag register 41 stores flag data indicating the operation of the electronic musical instrument. This flag is a part-specific mode flag, an on-key flag, a bar standby mode flag, or the like. The mode flag for each part indicates a performance mode for each performance part of melody, accompaniment (chord, bass), rhythm, or for each of the upper keyboard, lower keyboard, foot keyboard, and rhythm key group.

【0029】この演奏モードは、上述した全自動演奏
(全自動モード)、ワンステップ自動演奏(全鍵ワンス
テップモード/一部ワンステップモード)及び手動演奏
(手動モード)である。このパート別モードフラグは、
例えば8ビットデータであり、上位4ビットは全自動ビ
ットであって4つの演奏パートの全自動オン/オフを示
し、下位4ビットはワンステップビットであって4つの
演奏パートのワンステップオン/オフを示す。
This performance mode is the above-mentioned fully automatic performance (fully automatic mode), one-step automatic performance (all-key one-step mode / partial one-step mode) and manual performance (manual mode). This part-wise mode flag is
For example, it is 8-bit data, the upper 4 bits are fully automatic bits indicating the automatic on / off of four performance parts, and the lower 4 bits are one-step bits and the one-step on / off of four performance parts. Indicates.

【0030】そして各パートごとの全自動ビットとワン
ステップビットがともに“0”であれば、当該パートは
上記手動モードとなる。また、下位4ビットすべてが
“1111”であればモードは上記全鍵ワンステップモ
ードとなり、いずれかのビットが“1”で、かついずれ
かのビットが“0”であれば、モードは上記一部ワンス
テップモードとなる。これらのモード判別は各ビットの
論理積及び論理和によって行われる。なお、パート別モ
ードフラグのスタイルは上述以外のものでもよい。
If both the fully automatic bit and the one-step bit for each part are "0", the part is in the manual mode. If all the lower 4 bits are "1111", the mode is the all-key one-step mode. If any bit is "1" and any bit is "0", the mode is the above-mentioned one. Part one-step mode. These mode discriminations are performed by the logical product and logical sum of each bit. The style of the mode flag for each part may be other than the above.

【0031】オンキーフラグは、ワンステップ自動演奏
モードにおいて、キーボード1のキーのオンを示す。バ
ー待機モードフラグは、全自動演奏でバーマークデータ
BMが読み出されたとき、バーの区切りまで処理が待機
されることを示す。
The on-key flag indicates that the key of the keyboard 1 is on in the one-step automatic performance mode. The bar standby mode flag indicates that when the bar mark data BM is read in the fully automatic performance, the process is on standby until the bar breaks.

【0032】再生レジスタ43には、上記演奏情報MP
に応じた楽音データ(キーナンバデータKN、ステップ
タイムデータST、ゲートタイムデータGT、タッチデ
ータTC、コードデータKD、トーンナンバデータTN
等)がストアされる。この再生レジスタ43には、各ト
ラックごとに複数の楽音データがストア可能である。ト
ーンナンバレジスタ45には、上記パネルスイッチ群3
の音色キー18によって入力されたトーンナンバデータ
TNまたは上記演奏情報MP内のトーンナンバデータT
Nが各トラックごとにストアされる。なお、再生レジス
タ43は省略され、読み出された演奏情報MPが直接ア
サインメントメモリ31へ送られてもよい。
The reproduction register 43 stores the performance information MP.
Corresponding to the tone data (key number data KN, step time data ST, gate time data GT, touch data TC, code data KD, tone number data TN
Etc.) are stored. The reproduction register 43 can store a plurality of musical sound data for each track. In the tone number register 45, the panel switch group 3
Tone number data TN input by the tone color key 18 or tone number data T in the performance information MP.
N is stored for each track. The reproduction register 43 may be omitted, and the read performance information MP may be directly sent to the assignment memory 31.

【0033】ステップカウンタ47は、後述するワンス
テップ自動演奏処理及び全自動演奏処理において、CP
U5によって+1され、ステップカウントデータSCの
カウントが行われる。このステップカウントデータSC
は、上記ノートデータ内のステップデータSTと比較さ
れ、発音開始タイミングが判別される。このステップカ
ウンタ47は、ワンステップ自動演奏処理のためのもの
と及び全自動演奏処理のためのものと2つ設けられてい
る。
In the one-step automatic performance processing and the fully automatic performance processing, which will be described later, the step counter 47 controls the CP.
The value is incremented by 1 by U5, and the step count data SC is counted. This step count data SC
Is compared with the step data ST in the note data to determine the sounding start timing. Two step counters 47 are provided, one for one-step automatic performance processing and one for full-automatic performance processing.

【0034】読出アドレスカウンタ48には、自動演奏
メモリ8の各トラックの演奏データMPの読出アドレス
データRAが各トラックごとに記憶され、このアドレス
データRAは演奏データMPの読み出しごとにインクリ
メントされる。
The read address counter 48 stores the read address data RA of the performance data MP of each track of the automatic performance memory 8 for each track, and this address data RA is incremented each time the performance data MP is read.

【0035】リセットタイムカウンタ49には、上記キ
ーボード1のワンステップエリアのキーのキーオンごと
に所定の値の初期化/解除タイムデータICがストアさ
れ、一定周期ごとに“0”になるまでデクリメントさ
れ、初期化/解除タイムデータICが“0”になると、
上記読出アドレスカウンタ48の演奏データMPの読出
アドレスデータRAが“0”にクリア/リセットされ、
または上記モードフラグレジスタ41のワンステップフ
ラグがクリアされる。これにより、ワンステップ自動演
奏中にキーオンから初期化/解除タイムデータICの時
間が経過すると、ワンステップ自動演奏が曲の先頭に戻
る(初期化/リセットされる)か、またはワンステップ
自動演奏が解除(取消)される。
The reset time counter 49 stores initialization / cancellation time data IC of a predetermined value each time the key of the one-step area of the keyboard 1 is turned on, and is decremented to "0" at regular intervals. , When the initialization / release time data IC becomes “0”,
The read address data RA of the performance data MP of the read address counter 48 is cleared / reset to "0",
Alternatively, the one-step flag of the mode flag register 41 is cleared. As a result, when the time of the initialization / release time data IC has elapsed from key-on during the one-step automatic performance, the one-step automatic performance returns to the beginning of the song (initialized / reset) or the one-step automatic performance is Canceled (cancelled).

【0036】同時操作カウンタ51には、キーオンがあ
ると同時操作タイムデータTOがストアされ、このデー
タTOは“0”になるまで一定周期ごとにデクリメント
される。この同時操作タイムデータTOが“0”になる
までの間は、次のキーオンに応じたワンステップ自動演
奏が禁止される。これにより手動演奏のように複数キー
が同時押されても、ワンステップ自動演奏が進み過ぎる
ことがなくなり、ワンステップ自動演奏において演奏者
が外見上上手な手動演奏をしているように見せることが
できる。
When the key is turned on, the simultaneous operation counter 51 stores simultaneous operation time data TO, and this data TO is decremented at regular intervals until it becomes "0". Until the simultaneous operation time data TO becomes "0", the one-step automatic performance in response to the next key-on is prohibited. This prevents the one-step automatic performance from advancing too much even if multiple keys are pressed at the same time as in the manual performance, and makes it appear that the performer seems to be performing a good manual performance in the one-step automatic performance. it can.

【0037】ステップレジスタ52には、各トラックの
次に読み出す演奏情報MPのステップタイムデータST
のうち、次に発音すべき最小のものがストアされる。こ
の最小のステップタイムデータSTは複数のことがあ
り、複数のトラックの楽音が次に同時に発音される。ト
ラックレジスタ53には、この次に発音されるノートデ
ータの属するトラックナンバがストアされる。トラック
カウンタ54は、上述の各トラックの最小のステップタ
イムデータSTがサーチ検出される時に使用される。
The step register 52 stores the step time data ST of the performance information MP read next to each track.
Of these, the smallest one to be pronounced next is stored. The minimum step time data ST may be plural, and musical tones of plural tracks are next sounded simultaneously. The track number to which the note data to be sounded next belongs is stored in the track register 53. The track counter 54 is used when the minimum step time data ST of each track described above is searched and detected.

【0038】テンポビートレジスタ56には、上記演奏
情報MP内のテンポデータTP及びビートデータBEに
応じたテンポビートデータTBがストアされる。このテ
ンポビートデータTBは1小節分の時間を示す。演奏タ
イムカウンタ57は、クロック信号φ3がハイレベルに
なるごとにCPU5によってインクリメント(+1)さ
れ、タイムカウントデータTMのカウントが行われる。
このタイムカウントデータTMが上記テンポビートデー
タTBに一致すると、タイムカウントデータTMはクリ
アされる。上記クロック信号φ3がハイレベルになるご
とに、後述する全自動サイクルインタラプト処理が行わ
れる。
The tempo beat register 56 stores tempo beat data TB corresponding to the tempo data TP and the beat data BE in the performance information MP. This tempo beat data TB indicates the time for one bar. The performance time counter 57 is incremented (+1) by the CPU 5 each time the clock signal φ3 becomes high level, and the time count data TM is counted.
When the time count data TM matches the tempo beat data TB, the time count data TM is cleared. Every time the clock signal φ3 goes high, the fully automatic cycle interrupt process described later is performed.

【0039】《4》メインルーチン 図4は、CPU5が実行するメインルーチンのフローチ
ャートを示す。この処理は、電源投入によりスタートす
る。まず、RAM6、ワーキングメモリ32、等がクリ
アされ、各種イニシャライズ処理が行われる(ステップ
02)。次いで、パネルスイッチ群3の各キー15〜1
8等のオン/オフ、オン/オフイベントが検出され、こ
の検出に係るキーの操作に応じた処理が行われる(ステ
ップ04)。そして、キーボード1の各キーのオン/オ
フ、オン/オフイベントが検出され、この検出に係るキ
ーの操作に応じた発音/消音等が行われる(ステップ0
5)。
<< 4 >> Main Routine FIG. 4 shows a flowchart of the main routine executed by the CPU 5. This process starts when the power is turned on. First, the RAM 6, the working memory 32, etc. are cleared, and various initialization processes are performed (step 02). Next, each key 15 to 1 of the panel switch group 3
On / off and on / off events of 8 and the like are detected, and processing according to the key operation related to this detection is performed (step 04). Then, ON / OFF of each key of the keyboard 1 and an ON / OFF event are detected, and sounding / silence is performed according to the operation of the key related to the detection (step 0).
5).

【0040】次いで、上記MIDI回路9に、他の装置
から受け取られ発生されたキーボード1のキーオン/オ
フイベント、ノートデータ、各キー15〜18の操作イ
ベント等のデータ/情報があれば、このデータ/情報が
RAM6、トーンジェネレータ10等に取り込まれて発
音/消音等が行われる(ステップ06)。また、RAM
6等に、他の装置へ発生され送り出されるキーボード1
のキーオン/オフイベント、ノートデータ、各キー15
〜18の操作イベント等のデータ/情報があれば、この
データ/情報がMIDI回路9へ送り出されて、他の装
置で発音/消音等が行われる(ステップ06)。なお、
このMIDI回路9へのデータ送出は一定時間ごとに行
われるインタラプト処理で実行されてもよい。
Next, if the MIDI circuit 9 has data / information such as a key-on / off event of the keyboard 1 received from another device and generated, note data, an operation event of each key 15-18, etc., this data. / The information is taken into the RAM 6, the tone generator 10 and the like and sounded / silenced etc. are performed (step 06). RAM
Keyboard 1 that is generated and sent to other devices such as 6
Key on / off event, note data, each key 15
If there is data / information such as an operation event of .about.18, this data / information is sent to the MIDI circuit 9 and sounding / silenced etc. is performed by another device (step 06). In addition,
The data transmission to the MIDI circuit 9 may be executed by an interrupt process performed at regular time intervals.

【0041】そして、上述の演奏情報MPに応じたワン
ステップの自動演奏が行われる(ステップ10)。さら
に、同じく上述の演奏情報MPに応じた全自動演奏が行
われる(ステップ11)。これらの処理は後に詳しく述
べられる。次いで他の処理が行われる(ステップ1
2)。これらステップ04〜12の処理は、電源オフさ
れるまで繰り返される。
Then, one-step automatic performance is performed according to the above-mentioned performance information MP (step 10). Further, similarly, a fully automatic performance is performed according to the above-mentioned performance information MP (step 11). These processes will be described in detail later. Then other processing is performed (step 1).
2). The processing of these steps 04 to 12 is repeated until the power is turned off.

【0042】《5》スイッチ処理 図5は、上記ステップ04のスイッチ処理のフローチャ
ートを示す。まず、モード切換キー15及びパート指定
キー16によって、各演奏パートごとの演奏モードが入
力されると(ステップ20)、これに応じたパート別モ
ードフラグがモードフラグレジスタ41にストアされる
(ステップ21)。そして、読出アドレスカウンタ48
の各トラックの読出アドレスデータRAがクリアされる
(ステップ24)。次いで、選曲キー17またはリズム
種類キーで選曲された演奏情報MPの先頭からノートデ
ータ等が1つまたは複数読み出されて再生レジスタ43
にストアされ、読出アドレスデータRAがインクリメン
ト(+1)される(ステップ25)。そして、ステップ
カウンタ47がクリアされる(ステップ30)。
<< 5 >> Switch Processing FIG. 5 shows a flowchart of the switch processing in step 04. First, when the performance mode for each performance part is input by the mode switching key 15 and the part designation key 16 (step 20), the mode flag for each part corresponding thereto is stored in the mode flag register 41 (step 21). ). Then, the read address counter 48
The read address data RA of each track is cleared (step 24). Next, one or a plurality of note data or the like is read from the beginning of the performance information MP selected by the music selection key 17 or the rhythm type key, and the reproduction register 43 is read.
And the read address data RA is incremented (+1) (step 25). Then, the step counter 47 is cleared (step 30).

【0043】次いで、その他のスイッチ処理が行われ
(ステップ31)、ルーチンがリターンされる。このそ
の他のスイッチ処理では、選曲キー17の操作に応じた
選曲処理、音色キー18の操作に応じた音色設定/変更
(切換)処理等が行われる。なお、上記ステップ20〜
21のモード設定は、上述の第一モード、第二モード、
第三モードがリング動作によって順次切換選択されても
よい。
Next, other switch processing is performed (step 31), and the routine is returned. In the other switch processes, a music selection process according to the operation of the music selection key 17, a tone color setting / change (switching) process according to the operation of the tone color key 18, and the like are performed. In addition, the above step 20-
The mode setting 21 is the first mode, the second mode,
The third mode may be sequentially selected by ring operation.

【0044】《6》キー処理(ステップ05) 図6は、上記ステップ05のキー処理のフローチャート
を示す。まずキーボード1のキーオンイベントが検出さ
れると(ステップ40)、全鍵/一部ワンステップモー
ドが設定され(ステップ41)、上記オンキーがワンス
テップエリアに含まれている場合(ステップ42)、リ
セットタイムカウンタ49に初期化/解除タイムデータ
ICがストアされる(ステップ43)。そして、ワーキ
ングメモリ32の同時操作カウンタ51の同時操作タイ
ムデータTOが“0”になっていれば(ステップ4
5)、モードフラグレジスタ41のオンキーフラグが
“1”にセットされ(ステップ46)、あらためて同時
操作タイムデータTOが同時操作カウンタ51にストア
される(ステップ47)。
<< 6 >> Key Processing (Step 05) FIG. 6 shows a flowchart of the key processing of step 05. First, when a key-on event of the keyboard 1 is detected (step 40), the all-keys / partial one-step mode is set (step 41), and if the on-key is included in the one-step area (step 42), it is reset. The initialization / release time data IC is stored in the time counter 49 (step 43). If the simultaneous operation time data TO of the simultaneous operation counter 51 of the working memory 32 is "0" (step 4)
5), the on-key flag of the mode flag register 41 is set to "1" (step 46), and the simultaneous operation time data TO is stored again in the simultaneous operation counter 51 (step 47).

【0045】キーオンが発生しても、同時操作タイムデ
ータTOが“0”に達していなければ(ステップ4
5)、オンキーフラグが“1”にセットされず、後述す
るワンステップ自動演奏が行われない。これにより、ワ
ンステップ自動演奏において演奏者がキーボートの同時
押しを行って見かけ上の手動演奏を行うことができる。
Even if the key-on occurs, if the simultaneous operation time data TO has not reached "0" (step 4)
5), the on-key flag is not set to "1", and the one-step automatic performance described later is not performed. As a result, the player can perform an apparent manual performance by simultaneously pressing the keyboards in the one-step automatic performance.

【0046】全鍵/一部ワンステップモードが解除さ
れ、または上記オンキーがワンステップエリアに含まれ
ていなければ(ステップ41、42)、オンキーに応じ
た通常のマニュアル演奏の発音処理が行われるととも
に、オンキーに応じたデータがMIDI回路9を介して
出力される(ステップ48)。
If the all-keys / partial one-step mode is released, or if the above-mentioned on-key is not included in the one-step area (steps 41 and 42), the sound generation processing of the normal manual performance corresponding to the on-key is performed and , Data corresponding to the ON key is output via the MIDI circuit 9 (step 48).

【0047】また、キーボード1のキーオフイベントが
検出されると(ステップ50)、全鍵/一部ワンステッ
プモードが解除され、かつ上記オフキーがワンステップ
エリアに含まれていない場合(ステップ51、52)、
オフキーに応じたマニュアル演奏の消音処理が行われる
(ステップ53)。そして、その他のキー処理が行われ
(ステップ55)、ルーチンがリターンされる。
When a key-off event of the keyboard 1 is detected (step 50), the all-key / partial one-step mode is released, and the off-key is not included in the one-step area (steps 51, 52). ),
The mute processing of the manual performance according to the off key is performed (step 53). Then, other key processing is performed (step 55), and the routine is returned.

【0048】上記ワンステップエリアは、ワンステップ
の自動演奏を行うキーエリアであって、上鍵盤、下鍵
盤、足鍵盤、リズムキー群等である。このワンステップ
エリアの判定は以下のように行われる。オンキーが上記
上鍵盤、下鍵盤、足鍵盤、リズムキー群のいずれに属す
るか判別される。そして、この判別鍵盤、キー群に対応
した演奏パートのワンステップビットが“1”であれ
ば、オンキーはワンステップエリアに属し、そうでなけ
れば属さない。ワンステップビットは上述したようにモ
ードフラグレジスタ41のパート別モードフラグの下位
4ビットである。
The one-step area is a key area for performing one-step automatic performance, and includes an upper keyboard, a lower keyboard, a foot keyboard, a rhythm key group, and the like. The determination of this one-step area is performed as follows. It is determined whether the ON key belongs to the upper keyboard, the lower keyboard, the foot keyboard, or the rhythm key group. If the one-step bit of the performance part corresponding to the discriminative keyboard and the key group is "1", the on-key belongs to the one-step area, and if not, it does not belong. The one-step bit is the lower 4 bits of the mode flag for each part of the mode flag register 41 as described above.

【0049】《7》ワンステップの自動演奏処理(ステ
ップ10) 図7は上記ステップ10のワンステップの自動演奏処理
のフローチャートを示す。まず、上記オンキーフラグが
“1”にセットされていれば(ステップ60)、ステッ
プカウンタ47のステップカウントデータSCが再生レ
ジスタ43の各ステップタイムデータSTに一致または
越えるまでインクリメントされる(ステップ61、6
2、63)。
<< 7 >> One-step automatic performance process (step 10) FIG. 7 is a flowchart of the one-step automatic performance process of step 10 described above. First, if the on-key flag is set to "1" (step 60), it is incremented until the step count data SC of the step counter 47 matches or exceeds each step time data ST of the reproduction register 43 (step 61, 6
2, 63).

【0050】一致すれば(ステップ61)、上記オンキ
ーフラグが“0”にクリアされ(ステップ70)、一致
したステップタイムデータSTがノートデータのもので
あれば(ステップ71)、このノートデータがトーンナ
ンバデータTN等とともにトーンジェネレータ10へ送
られ発音されるとともに、、MIDI回路9を介して出
力される(ステップ72)。
If they match (step 61), the on-key flag is cleared to "0" (step 70). If the matched step time data ST is the note data (step 71), this note data is the tone. It is sent to the tone generator 10 together with the number data TN and the like to be sounded, and is output via the MIDI circuit 9 (step 72).

【0051】そして、再生レジスタ43のこのノートデ
ータがクリアされて除外され、次のノートデータ等が1
つまたは複数読み出されて再生レジスタ43にストアさ
れ、当該トラックの読出アドレスデータRAがインクリ
メント(+1)される(ステップ73)。この後、再び
ステップカウントデータSCがこの新たなノートデータ
のステップタイムデータSTの値以上であれば同様にこ
のノートデータが発音出力される(ステップ70、7
1、72)。こうして、ステップタイムSTが同じまた
はほぼ同じノートデータが同時に時分割に並行して発音
される。
Then, this note data in the reproduction register 43 is cleared and excluded, and the next note data or the like becomes 1
One or more of them are read and stored in the reproduction register 43, and the read address data RA of the track is incremented (+1) (step 73). After this, if the step count data SC is again equal to or greater than the value of the step time data ST of this new note data, this note data is output in the same manner (steps 70 and 7).
1, 72). In this way, note data with the same or almost the same step time ST are simultaneously sounded in parallel in time division.

【0052】次いで、ステップカウントデータSCの値
以上のステップデータSTが発見されなくなると(ステ
ップ73、61)、ステップカウントデータSCがイン
クリメントされ(ステップ62)、オンキーが上記ステ
ップ70でクリアされているので、ルーチンがリターン
される。なお、上記ステップ72の発音処理は、場合に
よって、ノートデータ等がMIDI回路9へ送られる。
Next, when the step data ST equal to or larger than the step count data SC is no longer found (steps 73 and 61), the step count data SC is incremented (step 62), and the ON key is cleared in step 70. So the routine returns. Note that in the sound generation process of step 72, note data or the like is sent to the MIDI circuit 9 in some cases.

【0053】また、上記ステップ25、73では、次の
ノートデータ等が読み出され、このノートデータと同じ
ステップデータSTと同じステップデータSTと同じ値
のステップデータSTをもつノートデータ等がいっしょ
に読み出され、再生レジスタ43にストアされてもよ
い。これにより、再生レジスタ43には、ステップデー
タSTが同じノートデータ等のみが記憶される。さら
に、上記ステップ61では、複数のノートデータのステ
ップタイムデータSTがステップカウントデータSCと
比較されてもよい。
In the steps 25 and 73, the next note data and the like are read, and the note data and the like having the same step data ST as this note data and the same step data ST and the same step data ST as the note data are also read. It may be read and stored in the reproduction register 43. As a result, only the note data or the like having the same step data ST is stored in the reproduction register 43. Further, in the step 61, the step time data ST of the plurality of note data may be compared with the step count data SC.

【0054】こうして、キーボード1のキーオンに応じ
て自動演奏が行われる。この後は、キーオンがないと、
オンキーフラグがセットされないので(ステップ40〜
46)、次のキーオンがあるまで自動演奏は待機される
(ステップ60)。このように、キーオンがあるごとに
ステップカウントデータSCが高速でインクリメントさ
れ、一致したステップタイムデータSTのノートデータ
が発音され、次のキーオンまで自動演奏が待機される。
こうして、ステップタイムデータSTを有する演奏情報
MPによっても、発音操作ごとにワンステップずつ自動
演奏が行われる。
In this way, the automatic performance is performed in response to the key-on of the keyboard 1. After this, without key on,
Since the on-key flag is not set (step 40-
46), the automatic performance is on standby until the next key-on (step 60). As described above, each time the key is turned on, the step count data SC is incremented at high speed, the note data of the matched step time data ST is sounded, and the automatic performance is waited until the next key is turned on.
In this way, the performance information MP having the step time data ST also allows one-step automatic performance for each sounding operation.

【0055】また、上記一致したステップタイムデータ
STがバーマークデータBMであれば(ステップ8
0)、ステップカウンタ47のステップカウントデータ
SCの値が、このバーマークデータBMのステップタイ
ムデータSTの値とされ(ステップ81)、再生レジス
タ43のこのバーマークデータBMがクリアされて除外
され次のノートデータ等が再生レジスタ43にストアさ
れる(ステップ73)。こうしてワンステップ自動演奏
が次の小節の先頭まで進められる。
If the coincident step time data ST is the bar mark data BM (step 8)
0), the value of the step count data SC of the step counter 47 is set as the value of the step time data ST of the bar mark data BM (step 81), and the bar mark data BM of the reproduction register 43 is cleared and excluded. The note data and the like are stored in the reproduction register 43 (step 73). In this way, the one-step automatic performance advances to the beginning of the next bar.

【0056】また上記一致したステップタイムデータS
Tが、その他のトーンナンバデータTN等であれば(ス
テップ80)、このデータがワーキングメモリ32にス
トアされ(ステップ83)、音色、テンポ、調等が変更
される。なお、ワンステップ自動演奏される演奏情報M
Pの各ステップデータSTが各小節の先頭すなわちバー
マークデータBMからの時間を示すデータであれば、上
記ステップ81では、ステップカウンタ47のステップ
カウントデータSCはクリアされる。
Further, the step time data S that coincides with the above
If T is other tone number data TN or the like (step 80), this data is stored in the working memory 32 (step 83), and the tone color, tempo, tone, etc. are changed. It should be noted that the performance information M that is automatically played in one step
If each step data ST of P is data indicating the time from the beginning of each bar, that is, the bar mark data BM, the step count data SC of the step counter 47 is cleared at step 81.

【0057】また、上記ステップ70のオンキーフラグ
のクリアは、ステップ72の発音処理の後で行われても
よい。これにより、オンキーによってバーマークBM、
トーンナンバデータTN等が実行されるのみならず、さ
らに次のノートデータもいっしょに実行発音される。さ
らに、上記ステップ25、73、72等では、読出アド
レスデータRAで指定されている自動演奏メモリ8の演
奏情報が直接読み出され、再生レジスタ43は省略され
てもよい。
The clearing of the on-key flag in step 70 may be performed after the sounding process in step 72. As a result, the bar key BM,
Not only the tone number data TN and the like are executed, but also the next note data is also executed and sounded. Further, in the above steps 25, 73, 72, etc., the performance information of the automatic performance memory 8 designated by the read address data RA is directly read out, and the reproduction register 43 may be omitted.

【0058】《8》データ読込処理(ステップ25、7
3) 図8は上記ステップ25、73の演奏情報MPのノート
データ等の読み込み処理のフローチャートを示す。この
処理では、自動演奏メモリ8の演奏情報MPの各トラッ
クのうち、最もステップタイムデータSTの小さい、す
ぐ次に発音すべきノートデータがサーチ検出される。
<< 8 >> Data reading process (steps 25 and 7)
3) FIG. 8 shows a flowchart of a process of reading note data and the like of the performance information MP in steps 25 and 73. In this process, among the tracks of the performance information MP of the automatic performance memory 8, the note data having the smallest step time data ST and the note data to be sounded immediately next is detected.

【0059】まず、ワーキングメモリ32のトラックレ
ジスタ53及びトラックカウンタ54がクリアされ、ス
テップレジスタ52に可能な最大値がストアされる(ス
テップ100、101)。そして、モードフラグレジス
タ41のワンステップビットが“1”になって、ワンス
テップ自動演奏が行われるべきトラックにつき(ステッ
プ102)、演奏情報MPのステップタイムデータST
が読み出される(ステップ103)。この読出アドレス
データRAは上記読出アドレスカウンタ48に各トラッ
クごとに記憶されている。
First, the track register 53 and the track counter 54 of the working memory 32 are cleared, and the maximum possible value is stored in the step register 52 (steps 100 and 101). Then, the one-step bit of the mode flag register 41 becomes "1", and for the track on which the one-step automatic performance is to be performed (step 102), the step time data ST of the performance information MP is set.
Is read (step 103). The read address data RA is stored in the read address counter 48 for each track.

【0060】次いで、各トラックごとに(ステップ10
8、109)、最小のステップタイムデータSTnがサ
ーチ検出される(ステップ104)。このサーチされた
ステップタイムデータSTnがステップレジスタ52に
ストアされ、そのときのトラックカウンタ54のトラッ
クナンバTRnがトラックレジスタ53にストアされる
(ステップ105)。
Then, for each track (step 10
8, 109), the minimum step time data STn is searched and detected (step 104). The searched step time data STn is stored in the step register 52, and the track number TRn of the track counter 54 at that time is stored in the track register 53 (step 105).

【0061】また最小のステップタイムデータSTnが
複数のトラックに発見されれば(ステップ106)、こ
の複数のトラックのステップタイムデータSTnとトラ
ックナンバTRnとがストアされる(ステップ10
7)。
When the minimum step time data STn is found in a plurality of tracks (step 106), the step time data STn and the track number TRn of the plurality of tracks are stored (step 10).
7).

【0062】全トラックについてサーチが終了すると
(ステップ108、109)、上記サーチされたトラッ
クナンバTRnに応じた読出アドレスデータRAによっ
てノートデータ等が読み出されて再生レジスタ43にス
トアされ(ステップ110)、このトラックの読出アド
レスデータRAがインクリメント(+1)される(ステ
ップ111)。
When the search is completed for all tracks (steps 108 and 109), note data and the like are read by the read address data RA corresponding to the searched track number TRn and stored in the reproduction register 43 (step 110). The read address data RA of this track is incremented (+1) (step 111).

【0063】こうして、各トラックに分かれた全演奏パ
ートのワンステップ自動演奏がステップタイムデータS
Tの順番で実行される。このとき、ある演奏パートのワ
ンステップビットが“0”で、この演奏モードがワンス
テップモードになければ(ステップ102)、この演奏
パート(トラック)はサーチ対象から除外され、演奏情
報MP(ノートデータ)の読み出し発生が禁止される。
In this way, the one-step automatic performance of all performance parts divided into each track is the step time data S.
It is executed in the order of T. At this time, if the one-step bit of a certain performance part is "0" and this performance mode is not in the one-step mode (step 102), this performance part (track) is excluded from the search target and the performance information MP (note data). ) Is prohibited from being read out.

【0064】これにより、ワンステップ自動演奏におい
て特定の演奏パートの演奏が除外禁止され、ミュート
(マスキング)される。この場合、ステップ102の処
理が省略され、全演奏パートについて読み出しが行わ
れ、上記ステップ72の発音処理でワンステップモード
にない演奏パートのノートデータがアサインメントメモ
リ31への送出が禁止されたり、このノートデータにミ
ュートフラグが付加されてアサインメントメモリ31へ
送られ、トーンジェネレータ10での発音/演奏が禁止
されてもよい。
As a result, in the one-step automatic performance, the performance of a specific performance part is prohibited from being excluded and muted (masked). In this case, the processing of step 102 is omitted, all the playing parts are read out, and note data of the playing part not in the one-step mode is prohibited from being sent to the assignment memory 31 in the sounding processing of step 72. A mute flag may be added to the note data and sent to the assignment memory 31 to prohibit the tone generator 10 from producing / playing.

【0065】なお、各演奏パートの演奏情報MPは、複
数のトラックに分けられず、演奏パートを示すパートデ
ータがノートデータに含まれているときは、上記ステッ
プ102では、モードフラグレジスタ41のワンステッ
プビットが“1”になって、ワンステップ自動演奏が行
われるべき演奏パートに、上記パートデータが一致する
か否かが判定される。
When the performance information MP of each performance part is not divided into a plurality of tracks and the part data indicating the performance part is included in the note data, at step 102, the one of the mode flag register 41 is read. When the step bit becomes "1", it is determined whether or not the part data matches the performance part in which the one-step automatic performance is to be performed.

【0066】また、このミュートされた演奏パートで
は、上述のステップ48で手動演奏が可能であるし、ま
たはステップ11の後述する全自動演奏も可能である。
これにより例えば、伴奏またはリズムがワンステップ自
動演奏され、メロディまたは伴奏が手動演奏されること
ができるし、リズムが全自動演奏され、メロディまたは
伴奏(コード、ベース等)がワンステップ自動演奏され
ることができる。このミュートされた演奏パートにつ
き、ワンステップ自動演奏に沿って手動演奏の練習がで
きる。
With this muted performance part, the manual performance is possible in the above-mentioned step 48, or the fully automatic performance described later in step 11 is also possible.
As a result, for example, an accompaniment or rhythm can be automatically played in one step, a melody or accompaniment can be manually performed, a rhythm can be fully automatically played, and a melody or accompaniment (chord, bass, etc.) can be automatically performed in one step. be able to. For this muted performance part, you can practice manual performance along with one-step automatic performance.

【0067】《9》全自動演奏処理(ステップ11) 図9は上記ステップ11の全自動演奏処理のフローチャ
ートを示す。この処理では全自動ビットが“1”で、全
自動モードにある演奏パートにつき、時間の経過に従っ
て演奏順に演奏情報が自動的に実行されていく。
<< 9 >> Fully Automatic Performance Processing (Step 11) FIG. 9 shows a flowchart of the fully automatic performance processing of the above step 11. In this process, the fully automatic bit is "1", and the performance information is automatically executed for the performance parts in the fully automatic mode in the order of performance over time.

【0068】まず、モードフラグレジスタ41のパート
別モードフラグの全自動ビットが“1”で、全自動モー
ドにセットされていれば(ステップ140)、バー待機
モードが設定されていることが判定される(ステップ1
41)。バー待機モードでなければ、演奏タイムカウン
タ57のタイムカウントデータTMが再生レジスタ43
にストアされているステップタイムデータSTに達して
いるか否かが判定される(ステップ142)。
First, if the fully automatic bit of the mode flag for each part of the mode flag register 41 is "1" and the fully automatic mode is set (step 140), it is determined that the bar standby mode is set. (Step 1
41). If it is not in the bar standby mode, the time count data TM of the performance time counter 57 is displayed in the reproduction register 43.
It is determined whether or not the step time data ST stored in is reached (step 142).

【0069】達していれば、再生レジスタ43内のデー
タ等の内容が判定される(ステップ143)。キーナン
バデータKN等のノートデータであれば、このノートデ
ータは、トーンジェネレータ10のアサインメントメモ
リ31へ送られて発音されるとともに、MIDI回路9
を介して出力される(ステップ144)。
If it has reached, the contents of data and the like in the reproduction register 43 are judged (step 143). If it is note data such as key number data KN, this note data is sent to the assignment memory 31 of the tone generator 10 to be sounded, and the MIDI circuit 9
(Step 144).

【0070】このとき、場合によってトーンナンバレジ
スタ45のトーンナンバデータTNもアサインメントメ
モリ31へ送られる。これにより、演奏情報MPに応じ
た発音/消音が行われ、全自動演奏が実行される。次い
で、次のノートデータが読み出され、再生レジスタ43
に書き込まれ、読出アドレスカウンタ48の読み出しア
ドレスデータRAがインクリメントされる(ステップ1
45)。
At this time, the tone number data TN of the tone number register 45 is also sent to the assignment memory 31 in some cases. As a result, the sound is produced / muted according to the performance information MP, and the fully automatic performance is executed. Next, the next note data is read out, and the reproduction register 43
And the read address data RA of the read address counter 48 is incremented (step 1
45).

【0071】また、上記ステップ143において、バー
マークデータBMが判定されれば、このバーマークデー
タBMに含まれる拍子データに応じたテンポビートデー
タTBがテンポビートレジスタ56に書き込まれ(ステ
ップ146)、モードフラグレジスタ41のバー待機モ
ードフラグが“1”にセットされる(ステップ14
7)。
If the bar mark data BM is determined in step 143, the tempo beat data TB corresponding to the time signature data included in the bar mark data BM is written in the tempo beat register 56 (step 146). The bar standby mode flag of the mode flag register 41 is set to "1" (step 14).
7).

【0072】さらに、上記ステップ143において、エ
ンドマークデータEDが判定されれば、モードフラグレ
ジスタ41の全自動モードがクリアされる(ステップ1
48)。こうして、自動演奏が停止される。また、上記
ステップ143において、その他のトーンナンバデータ
TN等が判定されれば、このデータがワーキングメモリ
32にストアされ(ステップ149)、音色、テンポ、
調等が変更される。なお、このステップ11の全自動サ
イクルインタラプト処理はスタートキー操作によって開
始されてもよい。このスタートキーが操作された否かは
上記ステップ140の前で判定される。
Furthermore, if the end mark data ED is determined in step 143, the fully automatic mode of the mode flag register 41 is cleared (step 1
48). In this way, the automatic performance is stopped. Further, if other tone number data TN or the like is determined in step 143, this data is stored in the working memory 32 (step 149) and the tone color, tempo,
The key is changed. The fully automatic cycle interrupt process in step 11 may be started by operating the start key. Whether or not this start key is operated is determined before the above step 140.

【0073】こうして、ワンステップ自動演奏とともに
(ステップ72)、手動演奏(ステップ48)、全自動
演奏(ステップ144)も可能となり、これら3つの演
奏のうちの2つ以上の演奏の合奏が可能となる。これに
より、例えば、リズムが全自動演奏され、伴奏(コー
ド、ベース等)が下鍵盤または足鍵盤でワンステップ自
動演奏され、メロディが上鍵盤で手動演奏されることが
できる。
In this way, along with the one-step automatic performance (step 72), the manual performance (step 48) and the fully automatic performance (step 144) are possible, and the ensemble of two or more of these three performances is possible. Become. Thus, for example, the rhythm can be fully automatically played, the accompaniment (chord, bass, etc.) can be automatically played by one step on the lower keyboard or the foot keyboard, and the melody can be manually played on the upper keyboard.

【0074】なお、各演奏パートの演奏情報MPは、複
数のトラックに分けられず、演奏パートを示すパートデ
ータがノートデータに含まれているときは、上記ステッ
プ140では、モードフラグレジスタ41の全自動ビッ
トが“1”になって、全自動演奏が行われるべき演奏パ
ートに、上記パートデータが一致するか否かが判定され
る。
When the performance information MP of each performance part is not divided into a plurality of tracks and the part data indicating the performance part is included in the note data, in step 140, all of the mode flag register 41 is recorded. The automatic bit becomes "1", and it is determined whether or not the above-mentioned part data matches the performance part for which the fully automatic performance is to be performed.

【0075】《10》全自動サイクルインタラプト処理 図10は、全自動サイクルインタラプト処理のフローチ
ャートを示す。この処理は、クロックジェネレータ(図
示せず)からの一定周期のクロック信号φ3がハイレベ
ルになるごとにCPU5によって実行される。まずモー
ドフラグレジスタ41の記憶内容に基づいて、全自動モ
ードが設定されていることが判定されれば(ステップ1
30)、演奏タイムカウンタ57のタイムカウントデー
タTMがインクリメント(+1)される(ステップ13
1)。
<< 10 >> Fully Automatic Cycle Interrupt Process FIG. 10 shows a flowchart of the fully automatic cycle interrupt process. This processing is executed by the CPU 5 every time the clock signal φ3 of a constant cycle from the clock generator (not shown) goes high. First, based on the stored contents of the mode flag register 41, it is determined that the fully automatic mode is set (step 1
30), the time count data TM of the performance time counter 57 is incremented (+1) (step 13).
1).

【0076】このタイムカウントデータTMの値が、テ
ンポビートレジスタ56のテンポビートデータTBに一
致すれば(ステップ132)、タイムカウントデータT
Mがクリアされ(ステップ133)、上記モードフラグ
レジスタ41のバー待機モードフラグデータがクリアさ
れる(ステップ134)。これにより、1小節分の待機
が完了する。
If the value of the time count data TM matches the tempo beat data TB of the tempo beat register 56 (step 132), the time count data T
M is cleared (step 133), and the bar standby mode flag data in the mode flag register 41 is cleared (step 134). This completes the waiting for one bar.

【0077】《11》同時操作サイクルインタラプト処
理 図11は一定時間ごとに行われる同時操作サイクルイン
タラプト処理のフローチャートを示す。クロックジェネ
レータ(図示せず)からの一定周期のクロック信号φ2
がインタラプト信号としてCPU5に供給され、これに
よりこの処理がCPU5によって実行される。
<< 11 >> Simultaneous Operation Cycle Interrupt Process FIG. 11 shows a flowchart of the simultaneous operation cycle interrupt process performed at regular time intervals. Clock signal φ2 with a constant period from a clock generator (not shown)
Is supplied to the CPU 5 as an interrupt signal, so that this processing is executed by the CPU 5.

【0078】まずモードフラグレジスタ41のパート別
モードフラグがワンステップモードであり(ステップ1
20)、上記ステップ47でストアされた同時操作カウ
ンタ51の同時操作タイムデータTOが“0”に達して
いなければ(ステップ121)、この同時操作タイムデ
ータTOがデクリメント(−1)される(ステップ12
2)。
First, the mode flag for each part of the mode flag register 41 is the one-step mode (step 1
20) If the simultaneous operation time data TO of the simultaneous operation counter 51 stored in step 47 has not reached "0" (step 121), the simultaneous operation time data TO is decremented (-1) (step). 12
2).

【0079】上述したように、この同時操作タイムデー
タTOが“0”になるまではキーオンがあってもワンス
テップ自動演奏が禁止される(ステップ45、46、6
0)。これによりワンステップ自動演奏が行われていて
も、みかけ上同時押しの手動演奏を行うことができる。
As described above, the one-step automatic performance is prohibited until the simultaneous operation time data TO becomes "0" even if there is a key-on (steps 45, 46, 6).
0). As a result, even if the one-step automatic performance is being performed, it is possible to perform a manual performance of apparently simultaneous pressing.

【0080】《12》初期化/解除サイクルインタラプ
ト処理 図12は一定時間ごとに行われる初期化/解除サイクル
インタラプト処理のフローチャートを示す。クロックジ
ェネレータ(図示せず)からの一定周期のクロック信号
φ1がインタラプト信号としてCPU5に供給され、こ
れによりこの処理がCPU5によって実行される。
<< 12 >> Initialization / Cancellation Cycle Interrupt Process FIG. 12 shows a flowchart of the initialization / cancellation cycle interrupt process performed at regular intervals. A clock signal φ1 having a constant cycle from a clock generator (not shown) is supplied to the CPU 5 as an interrupt signal, whereby the CPU 5 executes this processing.

【0081】まず、ワンステップフラグが“1”にセッ
トされていれば(ステップ90)、リセットタイムカウ
ンタ49の初期化/解除タイムデータICが“0”にな
るまでデクリメント(−1)される(ステップ92)。
このデクリメントは一定周期ごとに行われ、オンキーか
ら所定時間経過して、初期化/解除タイムデータICが
“0”になれば(ステップ94)、読出アドレスカウン
タ48の読出アドレスデータが“0”にクリアされる
(ステップ96)。こうして、ワンステップ自動演奏に
おいて、キーオンから初期化/解除タイムデータICに
応じた時間の間、演奏者が次にキーオンしないと、演奏
データMPの読出ポインタは曲の先頭に戻り、ワンステ
ップ自動演奏が初期化(リセット)される。
First, if the one-step flag is set to "1" (step 90), it is decremented (-1) until the initialization / release time data IC of the reset time counter 49 becomes "0" ( Step 92).
This decrement is performed at regular intervals, and when the initialization / release time data IC becomes "0" after a predetermined time has elapsed from the ON key (step 94), the read address data of the read address counter 48 becomes "0". It is cleared (step 96). Thus, in the one-step automatic performance, the read pointer of the performance data MP returns to the beginning of the music if the performer does not key-on again during the time corresponding to the initialization / release time data IC from the key-on, and the one-step automatic performance. Is initialized (reset).

【0082】なお、このステップ96では、さらにモー
ドフラグレジスタ41のワンステップビットがクリアさ
れてワンステップモードが解除され、ステップカウンタ
47のステップカウントデータSCがクリアされてもよ
い。これにより、上記所定時間キーオンがないと、ワン
ステップ自動演奏自体が解除/取消される。
In step 96, the one step bit of the mode flag register 41 may be further cleared to release the one step mode, and the step count data SC of the step counter 47 may be cleared. As a result, if there is no key-on for the predetermined time, the one-step automatic performance itself is canceled / cancelled.

【0083】また、ワンステップ自動演奏を行う演奏デ
ータは図13に示されるものであってもよい。この場
合、上記ステップ25、73等で「同時コマンド」から
次の「同時コマンド」までのすべての演奏データMPが
一度にまたは繰り返し読み出される。そして、上記ステ
ップ61で、「同時コマンド」か否かが判別され、次の
「同時コマンド」が読み出されるまでステップ70〜8
3の処理が繰り返され、「同時コマンド」が読み出され
れば、ステップ62で読出アドレスデータRAがインク
リメント(+1)されてリターンされ、ステップ61へ
は戻らず、ステップ63は省略される。
The performance data for the one-step automatic performance may be as shown in FIG. In this case, all the performance data MP from the "simultaneous command" to the next "simultaneous command" are read at once or repeatedly in steps 25, 73 and the like. Then, in step 61, it is determined whether or not the "simultaneous command" is present, and steps 70 to 8 are executed until the next "simultaneous command" is read.
If the "simultaneous command" is read by repeating the process of 3, the read address data RA is incremented (+1) and returned in step 62, and the process does not return to step 61 and step 63 is omitted.

【0084】なお、上記ステップ92、122では、初
期化/解除タイムデータIC、同時操作タイムデータT
Oに対して加算、乗算、除算等の各種演算が行われ、ス
テップ94、45では演算された初期化/解除タイムデ
ータIC、同時操作タイムデータTOが所定値に達した
または越えたか否かが判別されてもよい。また、上記各
クロック信号φ1、φ2、φ3のいずれか2つまたは全
部は、同じ信号、同じ周期の信号であってもよい。これ
により、各サイクルインタラプト処理を合体させること
ができる。
In steps 92 and 122, the initialization / release time data IC and the simultaneous operation time data T are set.
Various operations such as addition, multiplication, and division are performed on O. At steps 94 and 45, it is determined whether the calculated initialization / cancellation time data IC and the simultaneous operation time data TO have reached or exceeded a predetermined value. It may be determined. Further, any two or all of the clock signals φ1, φ2, and φ3 may be the same signal or the same period signal. This makes it possible to combine the cycle interrupt processes.

【0085】本発明は上記実施例に限定されず、本発明
の趣旨を逸脱しない範囲で種々変更可能である。例え
ば、上記図7のステップ62のステップカウントデータ
SCのインクリメントは、+4、+8、+16等ずつイ
ンクリメントされもよい。これにより、処理がより速く
なる。
The present invention is not limited to the above embodiments, and various modifications can be made without departing from the spirit of the present invention. For example, the increment of the step count data SC in step 62 of FIG. 7 may be incremented by +4, +8, +16, etc. This results in faster processing.

【0086】また、ワンステップ自動演奏は、キーボー
ド1のキーのほか、パネルスイッチ群3に設けられたキ
ー、スイッチ、ペダル、レバー等の操作ごとに行われて
もよい。さらに、上記ステップ62では、再生レジスタ
43にストアされている各ノートデータのステップタイ
ムデータSTのうち最も値が小さいものがサーチされ、
このサーチされたステップタイムデータSTの値がステ
ップカウンタ47にストアされてもよい。これにより、
同じように演奏順で次に発音すべきノートデータがサー
チされる。
The one-step automatic performance may be performed for each operation of the keys, switches, pedals, levers, etc. provided on the panel switch group 3 in addition to the keys of the keyboard 1. Further, in step 62, the step time data ST of each note data stored in the reproduction register 43 is searched for the smallest value,
The value of the searched step time data ST may be stored in the step counter 47. This allows
Similarly, the note data to be pronounced next in the performance order is searched.

【0087】また、キーオフごとにワンステップ自動演
奏が実行されてもよい。この場合、上記ステップ46の
オンキーフラグの設定が、ステップ52でYESの後
に、ワンステップフラグが“1”にセットされていれば
実行される。さらに、ステップ43のリセットタイムカ
ウンタ49への初期化/解除タイムデータICのストア
は、ステップ52でYESの後に、ワンステップフラグ
が“1”にセットされていれば実行されてもよい。ま
た、上記クロック信号φ1、φ2、φ3は設定テンポに
応じて周期が変化してもよく、これにより図12のサイ
クルインタラプト処理のステップ96によるキーオンか
ら初期化/解除までの経過時間、ステップ45による同
時操作と見なされる時間の長さ、ステップ130〜13
4による全自動演奏の速度は、設定テンポに応じて変化
する。
Further, the one-step automatic performance may be executed every time the key is turned off. In this case, the setting of the on-key flag in step 46 is executed if the one-step flag is set to "1" after YES in step 52. Further, the storage of the initialization / cancellation time data IC in the reset time counter 49 in step 43 may be executed if the one-step flag is set to "1" after YES in step 52. The clock signals φ1, φ2, and φ3 may change in cycle in accordance with the set tempo, so that the elapsed time from key-on to initialization / cancellation in step 96 of the cycle interrupt processing of FIG. Length of time considered as simultaneous operation, steps 130-13
The speed of fully automatic performance by 4 changes according to the set tempo.

【0088】さらに、上記図7のワンステップの自動演
奏処理は、一定周期のクロック信号がハイレベルになる
ごとに実行されてもよい。この場合、ステップ63は省
略され、ステップ62の後と、ルーチンがリターンされ
る。これにより、1拍ごと1/n(n=2,3,4…)
拍ごとのタイミングをキーオンでとることになる。
Further, the one-step automatic performance process of FIG. 7 may be executed every time the clock signal of a constant cycle becomes high level. In this case, step 63 is omitted and the routine returns after step 62. By this, 1 / n for each beat (n = 2, 3, 4 ...)
The timing for each beat will be keyed on.

【0089】本発明の実施の態様は以下のとうりであ
る。 (4)上記電子楽器は、上記第一の発音操作手段または
上記発音操作手段の発音操作または演奏指示から所定時
間を判定する時間判定手段と、 この時間判定手段によ
って判定された所定時間内は上記第一の発音操作手段ま
たは上記発音操作手段の発音操作または演奏指示があっ
ても新たなチャンネル割り当てを禁止する、上記演奏手
段の出力を禁止する、または上記第二の演奏実行手段の
実行を禁止する禁止手段とをさらに備えていることを特
徴とする請求項1、2または3記載の自動演奏機能を有
する電子楽器。
The embodiment of the present invention is as follows. (4) The electronic musical instrument has a time determination means for determining a predetermined time from the sounding operation of the first sounding operation means or the sounding operation means or a performance instruction, and the predetermined time determined by the time determination means is the above Even if there is a sounding operation of the first sounding operation means or the sounding operation means or a performance instruction, new channel assignment is prohibited, output of the performance means is prohibited, or execution of the second performance executing means is prohibited. 4. An electronic musical instrument having an automatic performance function according to claim 1, 2 or 3, further comprising: prohibiting means for controlling.

【0090】(5)上記所定時間は上記第一の発音操作
手段または上記発音操作手段の同時操作と認められる範
囲内の時間であり、上記時間判定手段は、一定時間ごと
に所定値を演算し、この演算値が上記所定時間に応じた
値となったことを判定することを特徴とする請求項4記
載の自動演奏機能を有する電子楽器。
(5) The predetermined time is a time within a range recognized as simultaneous operation of the first sounding operation means or the sounding operation means, and the time determination means calculates a predetermined value at regular intervals. 5. The electronic musical instrument having an automatic performance function according to claim 4, wherein it is determined that the calculated value has become a value according to the predetermined time.

【0091】(6)上記演奏情報発生手段または演奏情
報記憶手段は、各演奏情報を複数の演奏パートまたは楽
器パートごとに発生または記憶し、この演奏情報は演奏
パートまたは楽器パートごとに分かれて発生または記憶
され、またはこの演奏情報は演奏パートまたは楽器パー
トを示す情報が付加されており、これにより各演奏パー
トまたは楽器パートの区別が行われる請求項1、2また
は3記載の自動演奏機能を有する電子楽器。
(6) The performance information generating means or performance information storage means generates or stores each performance information for each of a plurality of performance parts or musical instrument parts, and the performance information is generated separately for each performance part or musical instrument part. 4. The automatic performance function according to claim 1, 2 or 3, wherein the performance information is added with information indicating a performance part or a musical instrument part, and the performance information is added to the performance information. Electronic musical instrument.

【0092】(7)上記電子楽器は、上記演奏情報発生
手段によって発生されたまたは演奏情報読み出し手段に
よって読み出された複数の演奏情報のうち、タイミング
情報が最も小さい少なくとも1つの演奏情報を検出する
タイミング検出手段をさらに備えていることを特徴とす
る請求項1、2または3記載の自動演奏機能を有する電
子楽器。
(7) The electronic musical instrument detects at least one performance information having the smallest timing information among the plurality of performance information generated by the performance information generating means or read by the performance information reading means. The electronic musical instrument having an automatic performance function according to claim 1, 2 or 3, further comprising timing detecting means.

【0093】[0093]

【発明の効果】以上詳述したように、本発明は、ワンス
テップ自動演奏用の第一の発音操作手段と手動演奏用の
複数の第二の発音操作手段とを用意し、これらの発音操
作手段の操作に応じた情報を楽音発生チャンネルに割り
当てて、同時に発音または演奏されるようにした。従っ
て、ワンステップ自動演奏と手動演奏とが合奏される等
の効果を奏する。
As described above in detail, according to the present invention, the first sounding operation means for one-step automatic performance and the plurality of second sounding operation means for manual performance are prepared. Information corresponding to the operation of the means is assigned to the musical tone generation channel so that the musical tone is generated or played at the same time. Therefore, the one-step automatic performance and the manual performance are performed together.

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

【図1】電子楽器の全体回路図である。FIG. 1 is an overall circuit diagram of an electronic musical instrument.

【図2】自動演奏メモリ8の演奏情報MPを示す図であ
る。
FIG. 2 is a diagram showing performance information MP in an automatic performance memory 8.

【図3】RAM6のワーキングメモリ32を示す図であ
る。
FIG. 3 is a diagram showing a working memory 32 of a RAM 6.

【図4】メインルーチンのフローチャートを示す図であ
る。
FIG. 4 is a diagram showing a flowchart of a main routine.

【図5】スイッチ処理(ステップ04)のフローチャー
トを示す図である。
FIG. 5 is a diagram showing a flowchart of a switch process (step 04).

【図6】キー処理(ステップ05)のフローチャートを
示す図である。
FIG. 6 is a diagram showing a flowchart of key processing (step 05).

【図7】ワンステップの自動演奏処理(ステップ10)
のフローチャートを示す図である。
FIG. 7: One-step automatic performance processing (step 10)
It is a figure which shows the flowchart of.

【図8】演奏情報MPのノートデータ等の読み込み処理
(ステップ25、73)のフローチャートを示す図であ
る。
FIG. 8 is a diagram showing a flowchart of a reading process (steps 25 and 73) of note data and the like of performance information MP.

【図9】全自動演奏処理(ステップ11)のフローチャ
ートを示す図である。
FIG. 9 is a diagram showing a flowchart of a fully automatic performance process (step 11).

【図10】全自動サイクルインタラプト処理のフローチ
ャートを示す図である。
FIG. 10 is a diagram showing a flowchart of a fully automatic cycle interrupt process.

【図11】同時操作サイクルインタラプト処理のフロー
チャートを示す図である。
FIG. 11 is a diagram showing a flowchart of a simultaneous operation cycle interrupt process.

【図12】初期化/解除サイクルインタラプト処理のフ
ローチャートを示す図である。
FIG. 12 is a diagram showing a flowchart of initialization / cancellation cycle interrupt processing.

【図13】自動演奏メモリ8の演奏データMPの別の実
施例を示す図である。
FIG. 13 is a diagram showing another embodiment of the performance data MP of the automatic performance memory 8.

【符号の説明】 1…キーボード、3…パネルスイッチ群、5…CPU、
6…RAM、7…ROM、8…自動演奏メモリ、9…M
IDI回路、10…トーンジェネレータ、15…モード
切換キー、16…パート指定キー、17…選曲キー、1
8…音色キー、31…アサインメントメモリ、32…ワ
ーキングメモリ、41…モードフラグレジスタ、43…
再生レジスタ、45…トーンナンバレジスタ、47…ス
テップカウンタ、48…読出アドレスカウンタ、49…
リセットタイムカウンタ、51…同時操作カウンタ、5
2…ステップレジスタ、53…トラックレジスタ、54
…トラックカウンタ、56…テンポビートレジスタ、5
7…演奏タイムカウンタ。
[Explanation of Codes] 1 ... Keyboard, 3 ... Panel switch group, 5 ... CPU,
6 ... RAM, 7 ... ROM, 8 ... Automatic performance memory, 9 ... M
IDI circuit, 10 ... Tone generator, 15 ... Mode switching key, 16 ... Part designation key, 17 ... Song selection key, 1
8 ... Tone key, 31 ... Assignment memory, 32 ... Working memory, 41 ... Mode flag register, 43 ...
Playback register, 45 ... Tone number register, 47 ... Step counter, 48 ... Read address counter, 49 ...
Reset time counter, 51 ... Simultaneous operation counter, 5
2 ... Step register, 53 ... Track register, 54
… Track counter, 56… Tempo beat register, 5
7 ... Performance time counter.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】発音される楽音の内容を示すデータを、こ
の楽音の発音のタイミングを示すタイミング情報に対応
させた複数の演奏情報を発生する演奏情報発生手段と、 楽音の発音または演奏の操作または指示を行う第一の発
音操作手段と、 同時に発音または演奏可能な楽音の最大数に対応する数
の楽音発生チャンネルと、 この発音操作手段の発音操作または演奏指示があるごと
に、上記演奏情報発生手段に対し、発生される各演奏情
報をタイミング情報の順番に発生させて上記楽音発生チ
ャンネルに割り当てる第一のチャンネル割当手段と、 楽音の発音または演奏の操作または指示を行う複数の第
二の発音操作手段と、 この複数の第二の発音操作手段の操作または指示を検出
して、この検出された発音操作手段に応じた操作/指示
情報を発生する操作/指示発生手段と、 この操作/指示発生手段から発生された操作/指示情報
を上記楽音発生チャンネルに割り当てる第二のチャンネ
ル割当手段とを備えたことを特徴とする自動演奏機能を
有する電子楽器。
1. Performance information generating means for generating a plurality of performance information in which data indicating the content of a musical tone to be sounded is associated with timing information indicating the timing of sounding the musical tone, and operation of musical tone sounding or performance. Or a first sounding operation means for giving an instruction, a number of tone generation channels corresponding to the maximum number of tones that can be sounded or played at the same time, and the above-mentioned performance information each time there is a sounding operation or performance instruction of this sounding operation means. To the generating means, a first channel assigning means for generating each performance information to be generated in the order of the timing information and assigning it to the musical tone generating channel, and a plurality of second channel assigning means for operating or instructing to produce or play musical tones. The sounding operation means and the operation or instruction of the plurality of second sounding operation means are detected, and the operation / instruction information according to the detected sounding operation means is detected. And a second channel assigning means for assigning the operation / instruction information generated by the operation / instruction generating means to the musical tone generating channel. Electronic musical instrument.
【請求項2】上記演奏情報発生手段は、発音される楽音
の内容を示す内容データと、曲の先頭または小節から発
音タイミングまでの時間を示すステップタイムデータと
からなる複数の演奏情報を複数の演奏パートまたは楽器
パートごとに記憶する演奏情報記憶手段と、この演奏情
報記憶手段より各演奏パートまたは楽器パートの演奏情
報を読み出す演奏情報読み出し手段とよりなり、 上記第一のチャンネル割当手段は、上記第一の発音操作
手段または発音操作手段の発音操作または演奏指示に応
じて、上記演奏情報発生手段から発生された演奏情報の
うち、まだ発音または演奏されていない演奏情報のタイ
ミング情報に基づいて、発音または演奏タイミングの早
い少なくとも1つの演奏情報を検出してチャンネルを割
り当て、または上記タイミング情報に基づいて、当該第
一のチャンネル割当手段で割り当てられた演奏情報の次
に発音または演奏すべき少なくとも1つの演奏情報であ
って、上記タイミング情報がほぼ同じものを上記演奏情
報発生手段より発生させるものであることを特徴とする
請求項1記載の自動演奏機能を有する電子楽器。
2. The musical performance information generating means comprises a plurality of musical performance information consisting of content data indicating the content of a musical tone to be sounded and step time data indicating the time from the beginning or bar of a piece of music to the sounding timing. The performance information storage means stores each performance part or musical instrument part, and the performance information read-out means reads out the performance information of each performance part or musical instrument part from the performance information storage means. Based on the timing information of the performance information that has not yet been sounded or played, among the performance information generated from the performance information generation means in response to the sounding operation or the performance instruction of the first sounding operation means or the sounding operation means, Detects at least one performance information that has a sounding or performance timing and assigns a channel, or From the performance information generating means, at least one performance information to be sounded or played next to the performance information assigned by the first channel assigning means on the basis of the ming information, the timing information being substantially the same. The electronic musical instrument having the automatic performance function according to claim 1, which is generated.
【請求項3】上記楽音発生チャンネルは、上記第一の発
音操作手段の数と第二の発音操作手段の数の合計数より
少なく、 上記電子楽器は、上記複数の演奏パートまたは楽器パー
トに関して自動演奏するか否かを各演奏パートまたは楽
器パートごとに選択指示する選択指示手段をさらに備
え、 上記第一のチャンネル割当手段は、この選択指示手段に
よって自動演奏しないように選択指示された演奏パート
または楽器パートに関する演奏情報を上記楽音発生チャ
ンネルに割り当てることを禁止する、または上記演奏情
報発生手段は、この選択指示手段によって自動演奏しな
いように選択指示された演奏パートまたは楽器パートに
関する演奏情報を発生することを禁止し、 上記第一及び第二の発音操作手段は、上記演奏パートま
たは楽器パートごとに分かれており、 上記電子楽器は、発音される楽音の内容を示すデータ
を、この楽音の発音のタイミングを示すタイミング情報
に対応させた複数の演奏情報を発生する第二の演奏情報
発生手段と、 この演奏情報発生手段から発生される各
演奏情報をタイミング情報の順番に時間経過に応じて自
動的に上記楽音発生チャンネルに割り当てる第三のチャ
ンネル割当手段と、 演奏のモードを切換選択するモー
ド切換選択手段と、 このモード切換手段の切換選択に
応じて、上記第二の発音操作手段を上記第一の発音操作
手段と同じものとする、または上記演奏パートまたは楽
器パートごとに分かれた各発音操作手段を同じものと
し、上記操作/指示手段及び第二のチャンネル割当手段
の動作を停止させる制御手段とをさらに備えたことを特
徴とする請求項1または2記載の自動演奏機能を有する
電子楽器。
3. The tone generation channel is less than the total number of the first sounding operation means and the second sounding operation means, and the electronic musical instrument is automatically operated with respect to the plurality of performance parts or musical instrument parts. The present invention further comprises a selection instructing means for instructing whether to perform or not for each performance part or musical instrument part, and the first channel assigning means is a performance part or a part instructed by the selection instructing means not to be automatically performed. It is prohibited to assign the performance information related to the musical instrument part to the tone generation channel, or the performance information generation means generates the performance information related to the performance part or the musical instrument part which is instructed not to be automatically performed by the selection instructing means. The above-mentioned first and second sounding operation means are the same as the above-mentioned performance part or musical instrument part. The electronic musical instrument has a second performance information generating means for generating a plurality of performance information in which data indicating the content of a musical sound to be generated is associated with timing information indicating the timing of sounding the musical sound. , A third channel assigning means for automatically assigning each performance information generated from the performance information generating means to the musical tone generating channel in the order of timing information according to the passage of time, and a mode switching for selecting a performance mode. Depending on the selection means and the switching selection of the mode switching means, the second sounding operation means is made to be the same as the first sounding operation means, or each sounding operation divided into the performance part or the musical instrument part. It is characterized in that the means are the same, and the operation / instruction means and the control means for stopping the operations of the second channel allocation means are further provided. Electronic musical instrument having an automatic playing function according to claim 1 or 2 wherein.
JP14095095A 1995-05-31 1995-06-07 Electronic musical instrument with automatic performance function Expired - Fee Related JP3194850B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP14095095A JP3194850B2 (en) 1995-06-07 1995-06-07 Electronic musical instrument with automatic performance function
US08/656,787 US5866833A (en) 1995-05-31 1996-05-31 Automatic performance system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14095095A JP3194850B2 (en) 1995-06-07 1995-06-07 Electronic musical instrument with automatic performance function

Publications (2)

Publication Number Publication Date
JPH08335082A true JPH08335082A (en) 1996-12-17
JP3194850B2 JP3194850B2 (en) 2001-08-06

Family

ID=15280589

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14095095A Expired - Fee Related JP3194850B2 (en) 1995-05-31 1995-06-07 Electronic musical instrument with automatic performance function

Country Status (1)

Country Link
JP (1) JP3194850B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003099049A (en) * 2001-09-26 2003-04-04 Kawai Musical Instr Mfg Co Ltd Electronic musical instrument
JP2008020876A (en) * 2006-06-15 2008-01-31 Casio Comput Co Ltd Performance apparatus, performance implementing method and program
JP2008020875A (en) * 2006-06-15 2008-01-31 Casio Comput Co Ltd Performance apparatus, performance implementation method and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003099049A (en) * 2001-09-26 2003-04-04 Kawai Musical Instr Mfg Co Ltd Electronic musical instrument
JP2008020876A (en) * 2006-06-15 2008-01-31 Casio Comput Co Ltd Performance apparatus, performance implementing method and program
JP2008020875A (en) * 2006-06-15 2008-01-31 Casio Comput Co Ltd Performance apparatus, performance implementation method and program

Also Published As

Publication number Publication date
JP3194850B2 (en) 2001-08-06

Similar Documents

Publication Publication Date Title
US5777251A (en) Electronic musical instrument with musical performance assisting system that controls performance progression timing, tone generation and tone muting
JP3194850B2 (en) Electronic musical instrument with automatic performance function
JP4628725B2 (en) Tempo information output device, tempo information output method, computer program for tempo information output, touch information output device, touch information output method, and computer program for touch information output
US5866833A (en) Automatic performance system
JP3143039B2 (en) Automatic performance device
JPH08335077A (en) Automatic playing device
JP3344872B2 (en) Automatic performance device
JP3090589B2 (en) Automatic performance device
JP2640992B2 (en) Pronunciation instruction device and pronunciation instruction method for electronic musical instrument
JP2714455B2 (en) Motif playing device and motif playing method
JP3807333B2 (en) Melody search device and melody search program
JP2513014B2 (en) Electronic musical instrument automatic performance device
JP2833229B2 (en) Automatic accompaniment device for electronic musical instruments
JP3235160B2 (en) Music control device
JP2601039B2 (en) Electronic musical instrument
JP2001154667A (en) Automatic player
JP2001242864A (en) Device and method for automatic playing
JP4253607B2 (en) Electronic musical instrument tuning correction apparatus, electronic musical instrument tuning correction method, computer program, and recording medium
JP2641612B2 (en) Phrase playing device and phrase playing method
JPH10133660A (en) Musical factor controller
JP2001100737A (en) Device and method for displaying music information
JPS6292997A (en) Electronic musical apparatus
JP2814479B2 (en) Electronic musical instrument
JPH10133661A (en) Automatic playing device
JP2001100739A (en) Device and method for displaying music information

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090601

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100601

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees