[go: up one dir, main page]

JPH08190378A - Automatically performing device - Google Patents

Automatically performing device

Info

Publication number
JPH08190378A
JPH08190378A JP7017539A JP1753995A JPH08190378A JP H08190378 A JPH08190378 A JP H08190378A JP 7017539 A JP7017539 A JP 7017539A JP 1753995 A JP1753995 A JP 1753995A JP H08190378 A JPH08190378 A JP H08190378A
Authority
JP
Japan
Prior art keywords
track
performance data
button
tempo
copy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7017539A
Other languages
Japanese (ja)
Inventor
Ayumi Takahashi
歩 高橋
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.)
Roland Corp
Original Assignee
Roland 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 Roland Corp filed Critical Roland Corp
Priority to JP7017539A priority Critical patent/JPH08190378A/en
Publication of JPH08190378A publication Critical patent/JPH08190378A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE: To improve operability when the performance data are copied by storing only the performance data of a range specified by an operation element in a storage means. CONSTITUTION: By also operating a track 1 button 44, a track 2 button 46, a track 3 button and a track 4 button 50 before operating a start button 34 and specifying the track, the performance data of the specified track are reproduced, and automatic performance is performed. Further, when the track is specified by operating the track 1 button 44, the track 2 button 46 or the track 3 button 48 after the automatic performance is started, the performance data stored in the specified track are written and stored in the track 4 according to a mode. In such a manner, by specifying the required range of the performance data by the operation key while reproducing the performance data, the performance data of the required range are stored in the storage means by a storage control means.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、自動演奏装置に関し、
さらに詳細には、任意の演奏データをコピーして、それ
により新たな演奏データを作成することのできる自動演
奏装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic performance device,
More specifically, the present invention relates to an automatic performance device capable of copying arbitrary performance data and thereby creating new performance data.

【0002】[0002]

【従来の技術】従来、自動演奏装置においては、既存の
演奏データから新たな演奏データを作成する方法の一つ
として、新たな演奏データの元となる既存の演奏データ
(以下、適宜「元演奏データ」と称す。)をコピーする
方法が知られている。
2. Description of the Related Art Conventionally, in an automatic performance device, as one of the methods of creating new performance data from existing performance data, existing performance data (hereinafter referred to as "original performance" as a source of new performance data is referred to as appropriate. It is known to copy data).

【0003】こうしたコピー方法としては、元演奏デー
タを全てコピーする方法と、元演奏データの一部をコピ
ーする方法とがある。そして、元演奏データの一部をコ
ピーする場合には、元演奏データに対してコピー範囲を
指定して、コピーを実行する必要がある。
As such a copying method, there are a method of copying all the original performance data and a method of copying a part of the original performance data. When copying a part of the original performance data, it is necessary to specify a copy range for the original performance data and execute the copy.

【0004】従って、元演奏データの複数箇所を組み合
わせて新しい演奏データを作成する場合などでは、当該
複数箇所のそれぞれに対してコピー範囲を指定して、コ
ピーの実行をそれぞれ行い、新しい演奏データを作成し
なければならないものであった。
Therefore, in the case of creating new performance data by combining a plurality of parts of the original performance data, a copy range is specified for each of the plurality of parts and copying is performed to create new performance data. It was something that had to be created.

【0005】また、複数の元演奏データの一部を組み合
わせて新しい演奏データを作成する場合などでは、複数
の元演奏データのそれぞれに対してコピー範囲を指定し
て、コピーの実行をそれぞれ行い、新しい演奏データを
作成しなければならないものであった。
In addition, when a part of a plurality of original performance data is combined to create new performance data, a copy range is specified for each of the plurality of original performance data, and copying is performed. It was necessary to create new performance data.

【0006】[0006]

【発明が解決しようとする課題】ところで、従来の自動
演奏装置においては、演奏データのコピーを行う際のコ
ピー範囲の指定にあたっては、操作パネルに設けられた
表示器に表示されている小節番号を参照しながら、小節
数を指定することにより行う必要があり、コピー範囲の
指定作業が煩雑なものとならざるを得ないという問題点
があった。
By the way, in the conventional automatic performance apparatus, when designating the copy range when copying the performance data, the measure number displayed on the display provided on the operation panel is used. It is necessary to specify the number of measures while referencing, and there is a problem in that the work of specifying the copy range must be complicated.

【0007】特に、元演奏データの複数箇所をコピーし
たり、複数の元演奏データをコピーしたりする場合など
では、小節番号を参照しながら小節数を指定するという
コピー範囲の指定作業を、コピーを行う回数分だけ行わ
なければならず、コピー範囲の指定作業が一層煩雑なも
のとなってしまうという問題点があった。
In particular, when copying a plurality of parts of the original performance data or copying a plurality of original performance data, the copy range specifying operation of specifying the number of measures while referring to the measure number is copied. However, there is a problem in that the work of specifying the copy range becomes even more complicated.

【0008】さらに、元演奏データからコピーした演奏
データを組み合わせる際にも、操作パネルに設けられた
表示器に表示されている小節番号を参照しながら、小節
数を指定することによりコピー先の領域を指定しなけれ
ならないものであり、コピー範囲の指定と同様にその指
定作業が煩雑なものとなっていたという問題点があっ
た。
Further, when combining the performance data copied from the original performance data, the copy destination area can be specified by designating the number of measures while referring to the measure number displayed on the display provided on the operation panel. However, there is a problem that the designation work is complicated as in the designation of the copy range.

【0009】本発明は、従来の技術の有する上記したよ
うな種々の問題点に鑑みてなされたものであり、その目
的とするところは、演奏データをコピーする際の操作性
を向上させた自動演奏装置を提供しようとするものであ
る。
The present invention has been made in view of the above-mentioned various problems of the prior art, and an object of the present invention is to provide an automatic operation with improved operability in copying performance data. It is intended to provide a musical instrument.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、本発明による自動演奏装置は、演奏データを再生す
る再生手段と、上記再生手段により再生される演奏デー
タを記憶可能な記憶手段と、上記再生手段による演奏デ
ータの再生中に、再生中の演奏データの任意の範囲を演
奏データの再生と同期して指定する操作子と、上記操作
子により指定された範囲の演奏データのみを上記記憶手
段に記憶させる記憶制御手段とを有するようにしたもの
である。
In order to achieve the above object, an automatic performance apparatus according to the present invention comprises a reproducing means for reproducing performance data and a storage means capable of storing the performance data reproduced by the reproducing means. While the performance data is being reproduced by the reproducing means, only the operator for designating an arbitrary range of the performance data being reproduced in synchronization with the reproduction of the performance data and the performance data in the range designated by the operator are described above. And a storage control means for storing in the storage means.

【0011】[0011]

【作用】再生手段により演奏データを再生させながら、
演奏データの所望の範囲を操作子によって指定すること
により、記憶制御手段によって当該所望の範囲の演奏デ
ータを記憶手段に記憶させることができるので、コピー
したい演奏データの範囲の指定が容易になる。
[Operation] While reproducing the performance data by the reproducing means,
By designating the desired range of the performance data with the operator, the storage control means can store the performance data in the desired range in the storage means, so that the range of the performance data to be copied can be easily designated.

【0012】[0012]

【実施例】以下、添付の図面に基づいて、本発明による
自動演奏装置の実施例を詳細に説明する。なお、この自
動演奏装置は、後述するように、音高、音長を示すイベ
ント・データとイベント・データの発生時間を示す時間
データとから構成される演奏データたる、所謂、イベン
ト・データ形式の演奏データを取り扱うようになされて
いる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of an automatic performance device according to the present invention will be described in detail below with reference to the accompanying drawings. As will be described later, this automatic performance device is in a so-called event data format, which is performance data composed of event data indicating a pitch and a duration and time data indicating an occurrence time of the event data. It is designed to handle performance data.

【0013】図1には、本発明の一実施例による自動演
奏装置のブロック構成図が示されている。
FIG. 1 is a block diagram of an automatic performance apparatus according to an embodiment of the present invention.

【0014】この自動演奏装置は、その全体の動作の制
御をCPU10を用いて制御するように構成されてい
る。このCPU10には、バス12を介して、CPU1
0の制御プログラムなどが格納されたプログラム・メモ
リとしてのリード・オンリ・メモリ(ROM)14と、
CPU10によるプログラムの実行に必要な後述する各
種レジスタあるいはフラグなどや後述するフォーマット
による演奏データを記憶するトラック1乃至トラック3
より構成される演奏データ・エリア(図2参照)が設定
されたワーキング・エリアとしてのランダム・アクセス
・メモリ(RAM)16と、テンポ・クロックとして1
拍(1拍は4分音符1つに相当する)について96クロ
ック発生するテンポ・クロック発生器18と、後述する
本発明の実施に関連する各種操作子を備えた操作子部2
0と、操作子部20の操作状態などを表示するための表
示部22と、CPU10によってRAM16から読み出
された演奏データに基づき楽音信号を生成するトーン・
ジェネレータ24と、トーン・ジェネレータ24におい
て生成された楽音信号を増幅するためのアンプ26と、
アンプ26によって増幅された楽音信号を聴取し得る楽
音として空間に放音するためのスピーカー28とを有し
ている。
This automatic performance device is configured to control the overall operation thereof by using the CPU 10. The CPU 10 is connected to the CPU 1 via the bus 12.
A read only memory (ROM) 14 as a program memory in which a control program of 0 is stored,
Tracks 1 to 3 for storing various registers or flags described later required for execution of a program by the CPU 10 and performance data in a format described later.
Random access memory (RAM) 16 as a working area in which a performance data area (see FIG. 2) is configured, and 1 as a tempo clock.
A tempo clock generator 18 that generates 96 clocks for each beat (one beat corresponds to one quarter note), and an operator unit 2 including various operators related to the implementation of the present invention described later.
0, a display section 22 for displaying the operation state of the operation section 20, and a tone generating a tone signal based on the performance data read from the RAM 16 by the CPU 10.
A generator 24 and an amplifier 26 for amplifying the tone signal generated by the tone generator 24,
It has a speaker 28 for emitting the musical tone signal amplified by the amplifier 26 to the space as a audible musical tone.

【0015】図2には、RAM16に設定された演奏デ
ータ・エリアの構成が図表的に示されているが、演奏デ
ータ・エリアにはトラック1、トラック2ならびにトラ
ック3の各領域が設定されており、各トラックには、予
めイベント・データ形式の演奏データがそれぞれ記憶さ
れている。即ち、各トラックに記憶された演奏データ
は、放音される音符の音高を示す音高データおよび放音
される音符の音長を示す音長データよりなるイベント・
データとイベント・データの発生時間を示す時間データ
とから構成されている。
In FIG. 2, the structure of the performance data area set in the RAM 16 is shown diagrammatically. In the performance data area, track 1, track 2 and track 3 areas are set. The performance data in the event data format is stored in advance in each track. That is, the performance data stored in each track is an event data consisting of pitch data indicating the pitch of a note to be emitted and pitch data indicating the pitch of a note to be emitted.
It is composed of data and time data indicating the occurrence time of event data.

【0016】ここにおいて、音高データは、音名とオク
ターブとにより表されており、例えば、「C3」は、
「第3オクターブのC音」を表している。
Here, the pitch data is represented by a pitch name and an octave. For example, "C3" is
It represents the "third octave C tone".

【0017】また、音長データは、4分音符を96クロ
ックとして、音符のクロック数を示している。
The note length data indicates the number of clocks of a note, with quarter note as 96 clocks.

【0018】さらに、時間データは、「数字A−数字B
−数字C」のようにハイフォンでつながれた数字列の形
式で示されており、「数字A」によりイベント・データ
(音高データおよび音長データ)によって決定される音
符が放音される小節番号(何小節目かを示す)を示し、
「数字B」により上記音符が放音される拍番号(何拍目
かを示す)を示し、「数字C」により上記音符が放音さ
れるクロック数(拍番号の示す拍内の何クロック目かを
示す)を示している。
Further, the time data is "Number A-Number B.
-A measure number which is shown in the form of a string of numbers connected by hyphens like "Number C" and in which a note determined by the event data (pitch data and duration data) is emitted by "Number A". (Indicates the number of measures),
The "number B" indicates the beat number at which the note is emitted (indicating what beat), and the "number C" indicates the number of clocks at which the note is emitted (the number of clocks in the beat indicated by the beat number). Is shown).

【0019】従って、例えば、トラック1の最初の演奏
データ(図2において、トラック1の最も左側に位置す
るデータである。)を参照すると、時間データが「1−
1−00」とされ、音高データが「C3」とされ、音長
データが「96」とされているが、これは、「1小節目
の1拍目の0クロック」のときに、「C3(第3オクタ
ーブのC音)」の音高で、「96クロック」分のクロッ
ク数の長さに対応する「4分音符」の楽音が放音するこ
とを示している。
Therefore, for example, referring to the first performance data of the track 1 (the data located on the leftmost side of the track 1 in FIG. 2), the time data is "1-
1-00 ", the pitch data is" C3 ", and the pitch length data is" 96 ". This is" 0 clock at the 1st beat of the 1st measure ". It indicates that a tone of "quarter note" corresponding to the length of the number of clocks of "96 clocks" is emitted at the pitch of "C3 (C tone of the third octave)".

【0020】なお、RAM16は、電源が遮断されても
その記憶内容を保持することができるように、この自動
演奏装置の内蔵電池(図示せず)によりバックアップさ
れているものとし、トラック1乃至トラック3には、工
場出荷時に予め所定の演奏データを記憶させておき、従
来より知られているRAMへの演奏データの書き込み技
術を利用して、使用者が所望の演奏データに適宜書き換
えることができるようになされている。
The RAM 16 is assumed to be backed up by a built-in battery (not shown) of this automatic musical instrument so that the stored contents can be retained even if the power is cut off. In FIG. 3, predetermined performance data is stored in advance at the time of factory shipment, and the user can appropriately rewrite the performance data into desired performance data by using the conventionally known performance data writing technology to RAM. It is done like this.

【0021】また、上記したトラック1乃至トラック3
と同様な構成の演奏データ・エリアとして、CPU10
のRAMエリアにはトラック4が設けられている。即
ち、トラック4には、トラック1乃至トラック3と同様
なフォーマットにより、時間データ、音高データおよび
音長データを書き込むことができる。そして、後述する
モードに応じて、トラック1乃至トラック3に記憶され
た演奏データが、トラック4にコピーされることにな
る。なお、このトラック4の記憶内容は、電源が遮断さ
れるとクリアされる。
Also, the above-mentioned tracks 1 to 3
CPU10 as a performance data area having the same structure as
A track 4 is provided in the RAM area. That is, the time data, the pitch data, and the sound length data can be written in the track 4 in the same format as the tracks 1 to 3. Then, the performance data stored in the tracks 1 to 3 is copied to the track 4 according to the mode described later. The stored contents of the track 4 are cleared when the power is cut off.

【0022】図3には、操作子部20を構成する操作子
および表示部22を構成する表示器30が配設された操
作パネル32の概略構成説明図である。
FIG. 3 is a schematic structural explanatory view of the operation panel 32 in which the operators constituting the operator section 20 and the display 30 constituting the display section 22 are arranged.

【0023】この操作パネル32には、操作子部20を
構成する操作子として、トラック1乃至トラック4に記
憶された演奏データを再生して自動演奏を開始させる指
示を行うためのスタート・ボタン34と、上記自動演奏
を停止させるための指示を行うためのストップ・ボタン
36と、上記自動演奏を早送りする指示を行うためのフ
ォワード・ボタン38と、上記自動演奏を巻き戻しする
指示を行うためのバックワード・ボタン40と、トラッ
ク1乃至トラック3に記憶された演奏データをトラック
4へコピーする指示を行うためのレコード・ボタン42
と、トラック1乃至トラック4を指定するためのトラッ
ク・ボタン(トラック1ボタン44、トラック2ボタン
46、トラック3ボタン48、トラック4ボタン50:
トラック1ボタン、トラック2ボタン46、トラック3
ボタン48ならびにトラック4ボタン50をスタート・
ボタン34の操作前に操作してトラックを指定すること
により、当該指定されたトラックの演奏データが再生さ
れて自動演奏が行われる。また、自動演奏の開始後にト
ラック1ボタン44、トラック2ボタン46あるいはト
ラック3ボタン48を操作してトラックを指定すると、
指定されたトラックに記憶された演奏データが、モード
に従ってトラック4に書き込まれて記憶されることにな
る。)と、放音される楽音の音量を調節するためのボリ
ューム52と、後述するモード1乃至モード4のいずれ
かのモードを選択するためのモード選択スイッチ54
と、電源のオン/オフを行うためのメイン・スイッチ5
6とが配設されている。
On the operation panel 32, a start button 34 for giving an instruction to start the automatic performance by reproducing the performance data stored in the tracks 1 to 4 as an operator constituting the operator section 20. A stop button 36 for giving an instruction to stop the automatic performance, a forward button 38 for giving an instruction to fast-forward the automatic performance, and an instruction to rewind the automatic performance. A backward button 40 and a record button 42 for giving an instruction to copy the performance data stored in tracks 1 to 3 to track 4.
And a track button (track 1 button 44, track 2 button 46, track 3 button 48, track 4 button 50:
Track 1 button, track 2 button 46, track 3
Start button 48 and track 4 button 50
By operating the button 34 to specify a track, the performance data of the specified track is reproduced and an automatic performance is performed. If the track 1 button 44, the track 2 button 46, or the track 3 button 48 is operated to specify a track after the start of the automatic performance,
The performance data stored in the designated track is written and stored in the track 4 according to the mode. ), A volume 52 for adjusting the volume of the emitted musical sound, and a mode selection switch 54 for selecting one of modes 1 to 4 described later.
And the main switch 5 for turning the power on and off
6 are provided.

【0024】以上の構成において、メイン・スイッチ5
6の操作により電源がオンされて、この自動演奏装置に
電源が投入されると、CPU10は、メイン・ルーチン
(図4)を実行することになる。そして、テンポ・クロ
ック発生器18により発生されるテンポ・クロックがC
PU10に到来する毎に、図示しないテンポ割り込みル
ーチンを実行するものである。
In the above configuration, the main switch 5
When the power is turned on by the operation 6 and the power is turned on to the automatic musical instrument, the CPU 10 executes the main routine (FIG. 4). The tempo clock generated by the tempo clock generator 18 is C
A tempo interrupt routine (not shown) is executed each time the PU 10 arrives.

【0025】即ち、この自動演奏装置にあっては、通常
はメイン・ルーチンを高速で繰り返しているが、テンポ
・クロック発生器18により発生されるテンポ・クロッ
クがCPU10に到来する度に割り込みがかかり、テン
ポ割り込みルーチンを実行するものであり、このテンポ
割り込みルーチンの実行の後は、再びメイン・ルーチン
を繰り返し続けるものである。テンポ・クロック発生器
18によるテンポ・クロックの発生は定期的であるの
で、テンポ割り込みルーチンも定期的に実行される。
That is, in this automatic musical instrument, the main routine is usually repeated at high speed, but an interrupt is generated each time the tempo clock generated by the tempo clock generator 18 arrives at the CPU 10. The tempo interrupt routine is executed, and after the execution of the tempo interrupt routine, the main routine is repeated again. Since the tempo clock generator 18 generates the tempo clock periodically, the tempo interrupt routine is also executed periodically.

【0026】なお、メイン・ルーチンならびにテンポ割
り込みルーチンにおいては、本発明の要旨をなすトラッ
ク1乃至トラック3に記憶された演奏データのトラック
4への書き込みに関する処理についてのみ詳細に説明す
ることとし、その他の一般的に自動演奏装置において行
われている処理の説明については、詳細な説明を省略す
る。
In the main routine and the tempo interrupt routine, only the process relating to the writing of the performance data stored in the tracks 1 to 3 to the track 4 which is the subject of the present invention will be described in detail. The detailed description of the processing generally performed by the automatic performance device is omitted.

【0027】また、以下の説明においては、スタート・
ボタン34の操作前にトラック1ボタン44、トラック
2ボタン46およびトラック3ボタン48が操作され
て、再生して自動演奏させる演奏データとしてトラック
1、トラック2およびトラック3に記憶された演奏デー
タが選択され、トラック1乃至トラック3の3トラック
に記憶された演奏データが全て同期して読み出されて再
生されるものとする。なお、スピーカー28からはトラ
ック1乃至トラック3に記憶された演奏データによる楽
音を同時に放音させてもよいし、あるいは放音用のトラ
ックの選択スイッチなどを設けて、スピーカー28から
楽音を放音させるトラックとして、トラック1乃至トラ
ック3から任意のトラックを選択してもよいものとする
が、こうした本発明の要旨から外れた処理の説明に関し
ても、上記したように詳細な説明を省略する。
In the following description, the start
The track 1 button 44, the track 2 button 46, and the track 3 button 48 are operated before the button 34 is operated, and the performance data stored in the track 1, track 2 and track 3 is selected as the performance data to be reproduced and automatically played. It is assumed that all the performance data stored in the three tracks of track 1 to track 3 are read out and reproduced in synchronization. It should be noted that from the speaker 28, musical tones according to the performance data stored in the tracks 1 to 3 may be simultaneously emitted, or a musical tone may be emitted from the speaker 28 by providing a track selection switch for emitting the sound. It is assumed that any of the tracks 1 to 3 may be selected as the track to be performed, but the detailed description of the processing outside the scope of the present invention is omitted as described above.

【0028】さらに、以下の説明においては、トラック
4へのトラック1乃至トラック3に記憶された演奏デー
タの書き込みは、所謂、「オーバー・ライト」され、ト
ラック4には常に最新の書き込みによる演奏データが記
憶されるものとする。
Further, in the following description, the writing of the performance data stored in the tracks 1 to 3 to the track 4 is a so-called “overwrite”, and the performance data by the latest writing is always written in the track 4. Shall be stored.

【0029】さらにまた、以下の説明においては、トラ
ック1ボタン44乃至トラック3ボタン48のいずれか
二つあるいは三つ全てが同時に押されたときには、トラ
ック番号の若い方のトラック・ボタンが優先されるもの
とする。
Furthermore, in the following description, when any two or all three of the track 1 button 44 to the track 3 button 48 are pressed at the same time, the track button with the smaller track number has priority. I shall.

【0030】なお、RAM16には、メイン・ルーチン
ならびにテンポ割り込みルーチンにおいて用いられる、
以下に説明するような変数を記憶するレジスタやフラグ
などが設定されている。なお、以下の説明においては、
各レジスタなどの内容(データ等)は、特に断らない限
り、同一のラベル名で表すものとする。
The RAM 16 is used in the main routine and the tempo interrupt routine.
Registers and flags that store variables as described below are set. In the following explanation,
Unless otherwise specified, the contents (data, etc.) of each register are represented by the same label name.

【0031】(1)スタート・フラグ 自動演奏の開始が指示されたか否かを表すフラグであ
る。このフラグが「オン」であるならば、スタート・ボ
タン34が押されて自動演奏の開始が指示されたことを
示し、このフラグが「オフ」であるならば、自動演奏の
開始が指示されていないことを示す。
(1) Start flag This flag indicates whether or not the start of automatic performance is instructed. If this flag is "on", it means that the start button 34 has been pressed to instruct the start of automatic performance. If this flag is "off", the start of automatic performance is instructed. Indicates that there is no.

【0032】(2)レコード・フラグ トラック4への演奏データの書き込みが指示されたか否
かを表すフラグである。このフラグが「オン」であるな
らば、レコード・ボタン42が押されてトラック4への
演奏データの書き込みが指示されたことを示し、このフ
ラグが「オフ」であるならば、トラック4への演奏デー
タの書き込みが指示されていないことを示す。
(2) Record flag This is a flag indicating whether or not writing of performance data to the track 4 is instructed. If this flag is "ON", it indicates that the record button 42 has been pressed to instruct the writing of performance data to the track 4, and if this flag is "OFF", the track 4 is written. Indicates that writing of performance data has not been instructed.

【0033】(3)トラック1フラグ トラック4へ書き込む演奏データを記憶したトラックと
して、トラック1が選択されたか否かを表すフラグであ
る。このフラグが「オン」であるならば、トラック1が
選択されたことを示し、このフラグが「オフ」であるな
らば、トラック1が選択されていないことを示す。
(3) Track 1 flag This is a flag indicating whether or not track 1 is selected as the track storing the performance data to be written to track 4. When this flag is "on", it indicates that track 1 is selected, and when this flag is "off", it indicates that track 1 is not selected.

【0034】(4)トラック2フラグ トラック4へ書き込む演奏データを記憶したトラックと
して、トラック2が選択されたか否かを表すフラグであ
る。このフラグが「オン」であるならば、トラック2が
選択されたことを示し、このフラグが「オフ」であるな
らば、トラック2が選択されていないことを示す。
(4) Track 2 flag This is a flag indicating whether or not the track 2 is selected as the track storing the performance data to be written to the track 4. When this flag is "on", it indicates that track 2 is selected, and when this flag is "off", it indicates that track 2 is not selected.

【0035】(5)トラック3フラグ トラック4へ書き込む演奏データを記憶したトラックと
して、トラック3が選択されたか否かを表すフラグであ
る。このフラグが「オン」であるならば、トラック3が
選択されたことを示し、このフラグが「オフ」であるな
らば、トラック3が選択されていないことを示す。
(5) Track 3 flag This is a flag indicating whether or not the track 3 is selected as the track storing the performance data to be written to the track 4. When this flag is "on", it indicates that the track 3 is selected, and when this flag is "off", it indicates that the track 3 is not selected.

【0036】(6)MOD モード選択スイッチ54により選択されたモードを示す
値をセットするレジスタである。モード選択スイッチ5
4によりモード1が選択された場合には「1」をセット
し、モード選択スイッチ54によりモード2が選択され
た場合には「2」をセットし、モード選択スイッチ54
によりモード3が選択された場合には「3」をセット
し、モード選択スイッチ54によりモード4が選択され
た場合には「4」をセットする。
(6) MOD This is a register for setting a value indicating the mode selected by the mode selection switch 54. Mode selection switch 5
If the mode 1 is selected by 4, the mode is set to "1", and if the mode 2 is selected by the mode selection switch 54, the mode is set to "2".
When mode 3 is selected by, "3" is set, and when mode 4 is selected by the mode selection switch 54, "4" is set.

【0037】(7)テンポ・クロック・カウンタ スタート・ボタン34を押した時点からのテンポ・クロ
ック数を記憶するレジスタである。
(7) Tempo clock counter This is a register for storing the number of tempo clocks from the time when the start button 34 is pressed.

【0038】(8)拍フラグ1 後述するモード2およびモード4において、トラック4
への演奏データの書き込みを拍単位で行うために用いる
フラグである。
(8) Beat flag 1 Track 4 in mode 2 and mode 4 described later.
This is a flag used to write performance data in units of beats.

【0039】(9)拍フラグ2 後述するモード2およびモード4において、トラック4
への演奏データの書き込みを拍単位で行うために用いる
フラグである。
(9) Beat flag 2 Track 4 in mode 2 and mode 4 described later.
This is a flag used to write performance data in units of beats.

【0040】(10)拍フラグ3 後述するモード2およびモード4において、トラック4
への演奏データの書き込みを拍単位で行うために用いる
フラグである。
(10) Beat flag 3 Track 4 in mode 2 and mode 4 described later.
This is a flag used to write performance data in units of beats.

【0041】(11)コピー・クロック・カウンタ 後述するモード2およびモード4において、トラック4
への演奏データの書き込み中におけるテンポ・クロック
数を記憶するレジスタである。
(11) Copy clock counter Track 4 in mode 2 and mode 4 described later.
This is a register for storing the number of tempo clocks during the writing of performance data to.

【0042】まず、図4に示すメイン・ルーチンを説明
すると、メイン・スイッチ56の操作によりこの自動演
奏装置に電源が投入されたならば、ステップS402に
おいて初期設定を行うことになる。この初期設定におい
ては、RAM16に設定された上記した全てのフラグを
「オフ」にクリアするとともに、全てのカウンタの値を
「0」にする。さらに、MODなどの各種レジスタの値
も「0」にクリアする。
First, the main routine shown in FIG. 4 will be described. When the power of the automatic musical instrument is turned on by the operation of the main switch 56, the initial setting is performed in step S402. In this initial setting, all the above-mentioned flags set in the RAM 16 are cleared to "off" and the values of all counters are set to "0". Further, the values of various registers such as MOD are also cleared to "0".

【0043】ステップS402の初期設定の処理を終了
すると、ステップS404へ進み、モード選択スイッチ
54の操作状態を検出し、選択されたモードを示す値を
MODに設定する。
When the initial setting process of step S402 is completed, the process proceeds to step S404, the operating state of the mode selection switch 54 is detected, and the value indicating the selected mode is set to MOD.

【0044】さらに、ステップS404の処理を終了す
ると、ステップS406へ進み、スタート・フラグが
「オン」であるか否かを判断する。
Further, when the process of step S404 is completed, the process proceeds to step S406, and it is determined whether or not the start flag is "ON".

【0045】ステップS406の判断結果が肯定
(Y)、即ち、スタート・フラグが「オン」であったな
らば、ステップS416へ進み、一方、ステップS40
6の判断結果が否定(N)、即ち、スタート・フラグが
「オフ」であったならば、ステップS408へ進む。
If the determination result of step S406 is affirmative (Y), that is, if the start flag is "ON", the process proceeds to step S416, while step S40.
If the determination result of 6 is negative (N), that is, if the start flag is "off", the process proceeds to step S408.

【0046】なお、スタート・フラグは、スタート・ボ
タン34が押されることにより、後述するステップS4
14において「オン」にセットされる。
The start flag is set in step S4, which will be described later, by pressing the start button 34.
At 14, it is set to "on".

【0047】ステップS408においては、レコード・
ボタン42が押されたか否かを判断する。そして、この
ステップS408の判断結果が肯定、即ち、レコード・
ボタン42が押されていた場合には、ステップS410
へ進み、レコード・フラグを「オン」にセットし、それ
からステップS412へ進む。
In step S408, the record
It is determined whether the button 42 has been pressed. Then, the determination result of step S408 is positive, that is, the record
If the button 42 has been pressed, step S410.
, The record flag is set to "ON", and then the process proceeds to step S412.

【0048】一方、ステップS408の判断結果が否
定、即ち、レコード・ボタン42が押されていなかった
場合には、そのままステップS412へ進む。
On the other hand, if the result of the determination in step S408 is negative, that is, if the record button 42 has not been pressed, the process proceeds directly to step S412.

【0049】ステップS412においては、スタート・
ボタン34が押されたか否かを判断する。そして、この
ステップS412の判断結果が肯定、即ち、スタート・
ボタン34が押されていた場合には、ステップS414
へ進み、スタート・フラグを「オン」にセットし、それ
からステップS416へ進む。
In step S412, start
It is determined whether the button 34 has been pressed. Then, the determination result of step S412 is affirmative, that is, the start
If the button 34 has been pressed, step S414
Then, the start flag is set to "ON", and then the process proceeds to step S416.

【0050】一方、ステップS412の判断結果が否
定、即ち、スタート・ボタン34が押されていなかった
場合には、そのままステップS416へ進む。
On the other hand, if the determination result in step S412 is negative, that is, if the start button 34 has not been pressed, the process directly proceeds to step S416.

【0051】ステップS416においては、ストップ・
ボタン36が押されたか否かを判断する。このステップ
S416の判断結果が肯定、即ち、ストップ・ボタン3
6が押されていた場合には、ステップS418へ進み、
レコード・フラグを「オフ」にクリアし、さらにステッ
プS420へ進み、スタート・フラグを「オフ」にクリ
アしてから、ステップS422へ進む。
In step S416, a stop
It is determined whether the button 36 has been pressed. The determination result of step S416 is affirmative, that is, the stop button 3
If 6 is pressed, the process proceeds to step S418,
The record flag is cleared to "off", the process further proceeds to step S420, the start flag is cleared to "off", and the process proceeds to step S422.

【0052】一方、ステップS416の判断結果が否
定、即ち、ストップ・ボタン36が押されていなかった
場合には、そのままステップS422へ進む。
On the other hand, if the determination result in step S416 is negative, that is, if the stop button 36 has not been pressed, the process directly proceeds to step S422.

【0053】ステップS422では、トラック1フラグ
乃至トラック3フラグの設定状態に応じて、トラック4
に書き込む演奏データを選択するフラグ処理が行われ
る。このフラグ処理は、メイン・ルーチンのサブ・ルー
チンであって図示しないフラグ処理ルーチンにより実行
される。
In step S422, the track 4 is tracked according to the setting status of the track 1 flag to the track 3 flag.
A flag process for selecting performance data to be written in is performed. This flag processing is executed by a flag processing routine (not shown) which is a sub routine of the main routine.

【0054】ステップS422のフラグ処理を終了する
と、ステップS424へ進み、表示器30への各種操作
子の操作状態の表示などの処理を行う。そして、ステッ
プS424の処理を終了すると、ステップS404へ戻
り、メイン・スイッチ56により電源がオフされて、こ
の自動演奏装置への電源の投入が遮断されるまで、メイ
ン・ルーチンを繰り返し実行する。
When the flag processing in step S422 is completed, the flow advances to step S424 to display the operation states of various operators on the display 30 and the like. When the process of step S424 ends, the process returns to step S404, and the main routine is repeatedly executed until the power is turned off by the main switch 56 and the power supply to the automatic musical instrument is cut off.

【0055】前述のフラグ処理ルーチンにあっては、そ
れぞれのトラック・ボタンに対応するトラック・フラグ
を、その操作に対応して「オン」、「オフ」する。例え
ば、トラック1ボタン44が押されている場合にはトラ
ック1フラグを「オン」にセットし、押されていない場
合には「オフ」にセットする。同様に、トラック2ボタ
ン46が押されている場合にはトラック2フラグを「オ
ン」にセットし、押されていない場合には「オフ」にセ
ットするものであり、トラック3ボタン48が押されて
いる場合にはトラック3フラグを「オン」にセットし、
押されていない場合には「オフ」にセットする。それぞ
れの処理を終了すると、メイン・ルーチンへリターンす
る。
In the above-mentioned flag processing routine, the track flag corresponding to each track button is turned "on" and "off" in response to the operation. For example, if the track 1 button 44 is pressed, the track 1 flag is set to "on", and if it is not pressed, it is set to "off". Similarly, when the track 2 button 46 is pressed, the track 2 flag is set to "on", and when it is not pressed, it is set to "off", and the track 3 button 48 is pressed. If so, set the track 3 flag to “on”,
If not pressed, set to "off". When each process is completed, the process returns to the main routine.

【0056】次に、テンポ・クロック発生器18により
発生されるテンポ・クロックがCPU10に到来する毎
に、テンポ割り込みルーチンが起動される。このテンポ
割り込みルーチンにおいては、まずメイン・ルーチンの
ステップS404でセットされたMODの値によって、
モード1、モード2、モード3あるいはモード4が選択
され、各々割り込み処理1ルーチン(図6)、割り込み
処理2ルーチン(図9)、割り込み処理3ルーチン(図
14)、割り込み処理4ルーチン(図17)が実行され
るものであり、これらの割り込み処理を終了すると、メ
イン・ルーチンへリターンする。
Next, each time the tempo clock generated by the tempo clock generator 18 arrives at the CPU 10, the tempo interrupt routine is activated. In this tempo interrupt routine, first, according to the MOD value set in step S404 of the main routine,
Mode 1, mode 2, mode 3 or mode 4 is selected, and interrupt processing 1 routine (FIG. 6), interrupt processing 2 routine (FIG. 9), interrupt processing 3 routine (FIG. 14), interrupt processing 4 routine (FIG. 17) ) Is executed, and when these interrupt processes are completed, the process returns to the main routine.

【0057】次に、各モード毎の処理をそれぞれ実行す
る割り込み処理1ルーチン、割り込み処理2ルーチン、
割り込み処理3ルーチンおよび割り込み処理4ルーチン
について、各モード毎に分けてそれぞれ説明する。
Next, the interrupt processing 1 routine, the interrupt processing 2 routine, which execute the processing for each mode,
The interrupt processing 3 routine and the interrupt processing 4 routine will be described separately for each mode.

【0058】〔モード1〕モード1とは、使用者が演奏
データが予め記憶されているトラック1乃至トラック3
を適宜選択し、選択したトラックに対応するトラック1
ボタン44乃至トラック3ボタン48を操作している間
だけ、操作されたトラック1ボタン44乃至トラック3
ボタン48に対応するトラック1乃至トラック3に記憶
された演奏データを、当該演奏データの時間データに従
ってトラック4にコピーするモードである。
[Mode 1] Mode 1 means that the user stores track 1 to track 3 in which performance data is stored in advance.
Is selected as appropriate, and the track 1 corresponding to the selected track
Only the buttons 44 to 3 are operated while the buttons 44 to 3 are operated.
In this mode, the performance data stored in the tracks 1 to 3 corresponding to the button 48 is copied to the track 4 according to the time data of the performance data.

【0059】なお、このモード1においては、トラック
1乃至トラック3とトラック4とは、スタート・ボタン
34が押されると、同期して再生、記憶が行われるよう
に動作する。
In this mode 1, the tracks 1 to 3 and the track 4 operate so that when the start button 34 is pressed, they are reproduced and stored in synchronization.

【0060】図5には、モード1の動作例が示されてお
り、トラック1乃至トラック3にそれぞれ対応するトラ
ック1ボタン44乃至トラック3ボタン48が押されて
いる間だけ、押されたトラック1ボタン44乃至トラッ
ク3ボタン48に対応するトラック1乃至トラック3に
記憶されている演奏データが、トラック4に書き込まれ
る状況が示されている。
FIG. 5 shows an operation example of the mode 1, in which the track 1 button 44 to the track 3 button 48 corresponding to the track 1 to the track 3 are pressed while the track 1 button 3 is pressed. The situation in which the performance data stored in the tracks 1 to 3 corresponding to the button 44 to the track 3 button 48 is written to the track 4 is shown.

【0061】即ち、テンポ・クロック・カウンタの値が
「A」のときに、トラック2ボタン46が押されて(O
N)、テンポ・クロック・カウンタの値が「B」のとき
に、トラック2ボタン46が離されると(OFF)、ト
ラック2の1小節目(2A)および2小節目(2B)の
演奏データが、そのまま読み出されたタイミングでトラ
ック4の1小節目と2小節目とにそれぞれ書き込まれ
る。
That is, when the value of the tempo clock counter is "A", the track 2 button 46 is pressed (O
N), when the value of the tempo clock counter is “B” and the track 2 button 46 is released (OFF), the performance data of the first measure (2A) and the second measure (2B) of track 2 is , Are written in the first bar and the second bar of the track 4 at the timing of being read as they are.

【0062】そして、トラック2ボタン46が離された
テンポ・クロック・カウンタの値が「B」のタイミング
のときから、トラック2の演奏データはトラック4に書
き込まれなくなるが、このテンポ・クロック・カウンタ
の値が「B」のタイミングのときに、トラック1ボタン
44が押され、テンポ・クロック・カウンタの値が
「C」のタイミングのときに、トラック1ボタン44が
離されるので、トラック1の3小節目(1C)の演奏デ
ータが、そのまま読み出されたタイミングでトラック4
の3小節目に書き込まれる。
Then, from the time when the value of the tempo clock counter when the track 2 button 46 is released is "B", the performance data of the track 2 is not written to the track 4, but this tempo clock counter is not written. Track 1 button 44 is pressed when the value of "1" is "B" and the track 1 button 44 is released when the value of the tempo clock counter is "C". Track 4 at the timing when the performance data of measure (1C) is read as it is
It is written in the 3rd measure of.

【0063】そして、トラック1ボタン44が離された
テンポ・クロック・カウンタの値が「C」のタイミング
のときから、トラック1の演奏データはトラック4に書
き込まれなくなる
Then, from the time when the value of the tempo clock counter is "C" when the track 1 button 44 is released, the performance data of track 1 is no longer written to track 4.

【0064】さらに、テンポ・クロック・カウンタの値
が「D」のタイミングのときに、トラック2ボタン46
が押され、テンポ・クロック・カウンタの値が「E」の
タイミングのときに、トラック2ボタン46が離される
ので、トラック2の5小節目(2E)の演奏データが、
そのまま読み出されたタイミングでトラック4の5小節
目に書き込まれる。
Further, when the value of the tempo clock counter is "D", the track 2 button 46
When is pressed and the value of the tempo clock counter is “E”, the track 2 button 46 is released, so that the performance data of the second measure (2E) of track 2 is
It is written in the fifth bar of the track 4 at the timing of being read as it is.

【0065】そして、トラック2ボタン46が離された
テンポ・クロック・カウンタの値が「E」のタイミング
のときから、トラック2の演奏データはトラック4に書
き込まれなくなるが、このテンポ・クロック・カウンタ
の値が「E」のタイミングのときに、トラック3ボタン
48が押され、テンポ・クロック・カウンタの値が
「F」のタイミングのときに、トラック3ボタン48が
離されるので、トラック3の6小節目(3F)および7
小節目(3G)の演奏データが、そのまま読み出された
タイミングでトラック4の6小節目とに7小節目とにそ
れぞれ書き込まれる。
Then, from the time when the value of the tempo clock counter when the track 2 button 46 is released is "E", the performance data of the track 2 is not written to the track 4, but this tempo clock counter is not written. Track 3 button 48 is pressed when the value of is equal to "E" and the track 3 button 48 is released when the value of the tempo clock counter is equal to "F". Measures (3F) and 7
The performance data of the measure (3G) is written in the measure 6 and measure 7 of the track 4 at the timing of being read as it is.

【0066】そして、トラック3ボタン48が離された
テンポ・クロック・カウンタの値が「F」のタイミング
のときから、トラック3の演奏データはトラック4に書
き込まれなくなるが、このテンポ・クロック・カウンタ
の値が「F」のタイミングのときに、トラック1ボタン
44が押され、テンポ・クロック・カウンタの値が
「G」のタイミングのときに、トラック1ボタン44が
離されるので、トラック1の8小節目(1H)の演奏デ
ータが、そのまま読み出されたタイミングでトラック4
の3小節目に書き込まれる。
From the time when the value of the tempo clock counter when the track 3 button 48 is released is "F", the performance data of the track 3 is not written to the track 4, but this tempo clock counter Track 1 button 44 is pressed when the value of "1" is "F", and track 1 button 44 is released when the value of the tempo clock counter is "G". Track 4 at the timing when the performance data of measure (1H) is read as it is
It is written in the 3rd measure of.

【0067】このように、モード1においては、元演奏
データの任意の部分だけ簡単に選択してコピーすること
ができるので、複数の楽曲の演奏データを組み合わせ、
メドレー演奏のような新たな演奏データを容易に作成す
ることができる。
As described above, in the mode 1, since it is possible to easily select and copy only an arbitrary portion of the original performance data, it is possible to combine the performance data of a plurality of musical pieces,
It is possible to easily create new performance data such as a medley performance.

【0068】図6には、こうしたモード1を実現するた
めの割り込み処理1ルーチンが示されており、トラック
1乃至トラック3およびトラック4とは、上記したよう
に同期して再生、記憶が行われるように動作するものと
する。
FIG. 6 shows an interrupt processing 1 routine for realizing such a mode 1. Playback and storage are performed in synchronization with tracks 1 to 3 and 4 as described above. Behave like.

【0069】この割り込み処理1ルーチンにおいては、
まずステップS602において、スタート・フラグが
「オン」にセットされているか否かについて判断する。
このステップS602の判断結果が否定、即ち、スター
ト・フラグが「オフ」にクリアされていれば、そのまま
テンポ割り込みルーチンへリターンする。
In this interrupt processing 1 routine,
First, in step S602, it is determined whether or not the start flag is set to "ON".
If the determination result of step S602 is negative, that is, if the start flag is cleared to "OFF", the process directly returns to the tempo interrupt routine.

【0070】一方、ステップS602の判断結果が肯
定、即ち、スタート・フラグが「オン」にセットされて
いれば、ステップS604へ進んで発音処理を行い、そ
れからステップS606へ進む。
On the other hand, if the result of the determination in step S602 is affirmative, that is, if the start flag is set to "ON", the flow proceeds to step S604 to perform sound generation processing, and then to step S606.

【0071】ステップS606においては、レコード・
フラグが「オン」にセットされているか否かについて判
断する。このステップS606の判断結果が否定、即
ち、レコード・フラグが「オフ」にクリアされていれ
ば、ステップS620へ進み、テンポ・クロック・カウ
ンタを「1」インクリメントした後に、テンポ割り込み
ルーチンへリターンする。
In step S606, the record
Determine if the flag is set to "on". If the determination result in step S606 is negative, that is, if the record flag is cleared to "OFF", the process proceeds to step S620, the tempo clock counter is incremented by "1", and then the process returns to the tempo interrupt routine.

【0072】一方、ステップS606の判断結果が肯
定、即ち、レコード・フラグが「オン」にセットされて
いれば、ステップS608へ進み、トラック1フラグが
「オン」にセットされているか否かを判断する。
On the other hand, if the result of the determination in step S606 is affirmative, that is, if the record flag is set to "on", the flow advances to step S608 to determine whether or not the track 1 flag is set to "on". To do.

【0073】そして、ステップS608の判断結果が肯
定、即ち、トラック1フラグが「オン」にセットされて
いるならば、ステップS610へ進み、トラック1に記
憶された演奏データの中の現在のテンポ・クロック・カ
ウンタの値に対応する箇所の演奏データを、イベント・
データと時間データとを単位にしてトラック4の現在の
テンポ・クロック・カウンタの値に対応する箇所に書き
込む。このステップS610の処理を終了すると、ステ
ップS620へ進み、テンポ・クロック・カウンタを
「1」インクリメントした後に、テンポ割り込みルーチ
ンへリターンする。
If the determination result of step S608 is affirmative, that is, if the track 1 flag is set to "ON", the process proceeds to step S610, where the current tempo in the performance data stored in track 1 The performance data at the location corresponding to the clock counter value
The data and the time data are used as a unit and written in the location corresponding to the current tempo clock counter value of the track 4. When the process of step S610 is completed, the process proceeds to step S620, the tempo clock counter is incremented by "1", and then the process returns to the tempo interrupt routine.

【0074】一方、ステップS608の判断結果が否
定、即ち、トラック1フラグが「オフ」にクリアされて
いるならば、ステップS612へ進み、トラック2フラ
グが「オン」にセットされているか否かを判断する。
On the other hand, if the decision result in the step S608 is negative, that is, if the track 1 flag is cleared to "OFF", the flow advances to a step S612 to check whether or not the track 2 flag is set to "ON". to decide.

【0075】そして、ステップS612の判断結果が肯
定、即ち、トラック2フラグが「オン」にセットされて
いるならば、ステップS614へ進み、トラック2に記
憶された演奏データの中の現在のテンポ・クロック・カ
ウンタの値に対応する箇所の演奏データを、イベント・
データと時間データとを単位にしてトラック4の現在の
テンポ・クロック・カウンタの値に対応する箇所に書き
込む。このステップS614の処理を終了すると、ステ
ップS620へ進み、テンポ・クロック・カウンタを
「1」インクリメントした後に、テンポ割り込みルーチ
ンへリターンする。
If the determination result of step S612 is affirmative, that is, if the track 2 flag is set to "ON", the process proceeds to step S614, where the current tempo in the performance data stored in track 2 is set. The performance data at the location corresponding to the clock counter value
The data and the time data are used as a unit and written in the location corresponding to the current tempo clock counter value of the track 4. When the process of step S614 ends, the process proceeds to step S620, the tempo clock counter is incremented by "1", and then the process returns to the tempo interrupt routine.

【0076】一方、ステップS612の判断結果が否
定、即ち、トラック2フラグが「オフ」にクリアされて
いるならば、ステップS616へ進み、トラック3フラ
グが「オン」にセットされているか否かを判断する。
On the other hand, if the decision result in the step S612 is negative, that is, if the track 2 flag is cleared to "OFF", the flow advances to a step S616 to check whether or not the track 3 flag is set to "ON". to decide.

【0077】そして、ステップS616の判断結果が肯
定、即ち、トラック3フラグが「オン」にセットされて
いるならば、ステップS618へ進み、トラック3に記
憶された演奏データの中の現在のテンポ・クロック・カ
ウンタの値に対応する箇所の演奏データを、イベント・
データと時間データとを単位にしてトラック4の現在の
テンポ・クロック・カウンタの値に対応する箇所に書き
込む。このステップS618の処理を終了すると、ステ
ップS620へ進み、テンポ・クロック・カウンタを
「1」インクリメントした後に、テンポ割り込みルーチ
ンへリターンする。
If the determination result of step S616 is affirmative, that is, if the track 3 flag is set to "ON", the process proceeds to step S618, and the current tempo in the performance data stored in track 3 The performance data at the location corresponding to the clock counter value
The data and the time data are used as a unit and written in the location corresponding to the current tempo clock counter value of the track 4. When the process of step S618 is completed, the process proceeds to step S620, the tempo clock counter is incremented by "1", and then the process returns to the tempo interrupt routine.

【0078】一方、ステップS616の判断結果が否
定、即ち、トラック3フラグが「オフ」にクリアされて
いるならば、そのままステップS620へ進み、テンポ
・クロック・カウンタを「1」インクリメントした後
に、テンポ割り込みルーチンへリターンする。
On the other hand, if the decision result in the step S616 is negative, that is, if the track 3 flag is cleared to "OFF", the process proceeds to a step S620 as it is, after incrementing the tempo clock counter by "1", the tempo is increased. Return to the interrupt routine.

【0079】このようにして、トラック1ボタン44乃
至トラック3ボタン48を押すという簡単な操作のみ
で、トラック1乃至トラック3に記憶された演奏データ
の所望の箇所を適宜コピーして組み合わせた演奏データ
を、トラック4に記憶させることができる。
In this way, by simply pressing the track 1 button 44 to the track 3 button 48, the desired position of the performance data stored in the tracks 1 to 3 is appropriately copied and combined. Can be stored in track 4.

【0080】〔モード2〕モード2とは、使用者が演奏
データが予め記憶されているトラック1乃至トラック3
を適宜選択し、選択したトラックに対応するトラック1
ボタン44乃至トラック3ボタン48を操作している間
だけ、操作されたトラック1ボタン44乃至トラック3
ボタン48に対応するトラック1乃至トラック3に記憶
された演奏データを、トラック1乃至トラック3の再生
とトラック4への記録を同期させず、非同期でトラック
4に順次コピーするモードである。
[Mode 2] Mode 2 means that the user stores track 1 to track 3 in which performance data is stored in advance.
Is selected as appropriate, and the track 1 corresponding to the selected track
Only the buttons 44 to 3 are operated while the buttons 44 to 3 are operated.
In this mode, the performance data stored in the tracks 1 to 3 corresponding to the button 48 is sequentially copied to the track 4 asynchronously without the reproduction of the tracks 1 to 3 and the recording on the track 4 being synchronized.

【0081】即ち、このモード2においては、トラック
1乃至トラック3はそれぞれ同期して再生するが、トラ
ック4はトラック1ボタン44乃至トラック3ボタン4
8を押すことによるコピーの指示に基づき順次記憶す
る。
That is, in this mode 2, tracks 1 to 3 are reproduced in synchronization with each other, but track 4 is track 1 button 44 to track 3 button 4
Data is sequentially stored based on the copy instruction by pressing 8.

【0082】図7には、モード2の動作例が示されてお
り、トラック1乃至トラック3にそれぞれ対応するトラ
ック1ボタン44乃至トラック3ボタン48が押されて
いる間だけ、押されたトラック1ボタン44乃至トラッ
ク3ボタン48に対応するトラック1乃至トラック3に
記憶されている演奏データが、トラック4に順次連続的
に書き込まれる状況が示されている。
FIG. 7 shows an operation example of the mode 2 in which the track 1 button 44 to the track 3 button 48 corresponding to the track 1 to the track 3 is pressed only while the track 1 button 44 is pressed. The situation is shown in which the performance data stored in the tracks 1 to 3 corresponding to the button 44 to the track 3 button 48 are sequentially and continuously written to the track 4.

【0083】即ち、上記した割り込み処理2ルーチンな
らびにそのサブ・ルーチンのコピー1処理ルーチン乃至
コピー6処理ルーチンに示されるように、トラック1乃
至トラック3に記憶された演奏データは、テンポ・クロ
ック・カウンタに同期して演奏が行われ、トラック4へ
の演奏データの書き込みは、コピー・クロック・カウン
タに同期して行われる。
That is, as shown in the above-mentioned interrupt processing 2 routine and its sub-routine copy 1 processing routine to copy 6 processing routine, the performance data stored in tracks 1 to 3 is stored in the tempo clock counter. And the performance data is written to the track 4 in synchronization with the copy clock counter.

【0084】そして、コピー・クロック・カウンタは、
トラック1ボタン44乃至トラック3ボタン48が押さ
れている間だけインクリメントされるので、トラック4
への書き込みは、トラック1ボタン44乃至トラック3
ボタン48のいずれかが押されているときに限り、トラ
ック1乃至トラック3に記憶された演奏データの演奏と
同期して行われる。その結果、トラック1乃至トラック
3にそれぞれ対応するトラック1ボタン44乃至トラッ
ク3ボタン48が押されている間だけ、押されたトラッ
ク1ボタン44乃至トラック3ボタン48に対応するト
ラック1乃至トラック3に記憶されている演奏データ
が、トラック4に空白部分を設けることなく順次連続的
に書き込まれる。この際に、演奏データの時間データ
を、コピー・クロック・カウンタの示す値に対応するよ
うに書き換える。
Then, the copy clock counter is
The track 1 button 44 to the track 3 button 48 are incremented only while they are being pressed.
Writing to the track 1 button 44 to track 3
Only when one of the buttons 48 is pressed, the performance is synchronized with the performance of the performance data stored in the tracks 1 to 3. As a result, only while the track 1 button 44 to the track 3 button 48 corresponding to the track 1 to the track 3 are being pressed, the track 1 to the track 3 corresponding to the pressed track 1 button 44 to the track 3 button 48 are changed. The stored performance data is sequentially and continuously written without providing a blank portion on the track 4. At this time, the time data of the performance data is rewritten so as to correspond to the value indicated by the copy clock counter.

【0085】図7を参照して説明すると、テンポ・クロ
ック・カウンタの値が「A」である演奏の開始と同時
に、トラック2ボタン46が押されると、テンポ・クロ
ック・カウンタのインクリメントと同期して、コピー・
クロック・カウンタがインクリメントされる。従って、
テンポ・クロック・カウンタの値が「B」のタイミング
のときに、トラック2ボタン46が離されると、トラッ
ク2の1小節目(2A)および2小節目(2B)の演奏
データが、そのまま読み出されたタイミングでトラック
4の1小節目と2小節目とにそれぞれ書き込まれる。
Explaining with reference to FIG. 7, when the track 2 button 46 is pressed at the same time as the start of the performance in which the value of the tempo clock counter is "A", it is synchronized with the increment of the tempo clock counter. Copy
The clock counter is incremented. Therefore,
When the track 2 button 46 is released when the tempo clock counter value is "B", the performance data of the first bar (2A) and the second bar (2B) of track 2 are read out as they are. It is written in the first bar and the second bar of the track 4 at the specified timing.

【0086】そして、トラック2ボタン46が離された
テンポ・クロック・カウンタの値が「B」のタイミング
のときから、トラック2の演奏データはトラック4に書
き込まれなくなるが、このテンポ・クロック・カウンタ
の値が「B」のタイミングのときに、トラック1ボタン
44が押されるので、テンポ・クロック・カウンタとコ
ピー・クロック・カウンタとのインクリメントは同期し
て続行されることになる。従って、テンポ・クロック・
カウンタの値が「C」のタイミングのときに、トラック
1ボタン44が離されると、トラック1の3小節目(1
C)の演奏データが、そのまま読み出されたタイミング
でトラック4の3小節目に書き込まれることになる。そ
して、トラック1ボタン44が離されたテンポ・クロッ
ク・カウンタの値が「C」のタイミングのときから、ト
ラック1の演奏データはトラック4に書き込まれなくな
Then, from the timing when the value of the tempo clock counter when the track 2 button 46 is released is "B", the performance data of the track 2 is no longer written to the track 4, but this tempo clock counter Since the track 1 button 44 is pressed when the value of is at the timing "B", the increments of the tempo clock counter and the copy clock counter are continued in synchronization. Therefore, the tempo clock
When the track 1 button 44 is released when the counter value is “C”, the third measure (1) of track 1 is released.
The performance data of C) will be written in the third bar of the track 4 at the timing of being read as it is. Then, from the time when the value of the tempo clock counter is "C" when the track 1 button 44 is released, the performance data of track 1 is no longer written to track 4.

【0087】その後、テンポ・クロック・カウンタの値
が「C」のタイミングからテンポ・クロック・カウンタ
の値が「D」のタイミングまでは、トラック1ボタン4
4乃至トラック3ボタン48のいずれも押されておら
ず、テンポ・クロック・カウンタの値が「D」のタイミ
ングのときに、トラック2ボタン46が押される。
Thereafter, from the timing when the value of the tempo clock counter is “C” to the timing when the value of the tempo clock counter is “D”, the track 1 button 4 is pressed.
When none of the track 4 to track 3 buttons 48 is pressed and the timing of the tempo clock counter is "D", the track 2 button 46 is pressed.

【0088】従って、テンポ・クロック・カウンタの値
が「C」のタイミングからテンポ・クロック・カウンタ
の値が「D」のタイミングまでの間では、テンポ・クロ
ック・カウンタはインクリメントされるが、コピー・ク
ロック・カウンタはインクリメントされない。そして、
テンポ・クロック・カウンタの値が「D」のタイミング
でトラック2ボタン46が押されたときに、テンポ・ク
ロック・カウンタのインクリメントと同期して、コピー
・クロック・カウンタのインクリメントが開始される。
このため、テンポ・クロック・カウンタの値が「E」の
タイミングのときに、トラック2ボタン46が離される
と、トラック2の5小節目(2E)の演奏データが、そ
のまま読み出されたタイミングでトラック4の4小節目
に書き込まれる。
Therefore, between the timing when the value of the tempo clock counter is "C" and the timing when the value of the tempo clock counter is "D", the tempo clock counter is incremented, but the copy The clock counter is not incremented. And
When the track 2 button 46 is pressed at the timing when the value of the tempo clock counter is "D", the increment of the copy clock counter is started in synchronization with the increment of the tempo clock counter.
Therefore, when the track 2 button 46 is released when the tempo clock counter value is "E", the performance data of the 5th bar (2E) of track 2 is read as it is. It is written in the fourth bar of track 4.

【0089】そして、トラック2ボタン46が離された
テンポ・クロック・カウンタの値が「E」のタイミング
のときから、トラック2の演奏データはトラック4に書
き込まれなくなるが、このテンポ・クロック・カウンタ
の値が「E」のタイミングのときに、トラック3ボタン
48が押されるので、テンポ・クロック・カウンタとコ
ピー・クロック・カウンタとのインクリメントは同期し
て続行されることになる。従って、テンポ・クロック・
カウンタの値が「F」のタイミングのときに、トラック
3ボタン48が離されると、トラック3の6小節目(3
F)および7小節目(3G)の演奏データが、そのまま
読み出されたタイミングでトラック4の5小節目と6小
節目とにそれぞれ書き込まれることになる。そして、ト
ラック3ボタン48が離されたテンポ・クロック・カウ
ンタの値が「F」のタイミングのときから、トラック3
の演奏データはトラック4に書き込まれなくなる。
From the time when the value of the tempo clock counter when the track 2 button 46 is released is "E", the performance data of track 2 is no longer written to track 4, but this tempo clock counter Since the track 3 button 48 is pressed when the value of is equal to "E", the increments of the tempo clock counter and the copy clock counter are continued in synchronization. Therefore, the tempo clock
When the track 3 button 48 is released when the counter value is "F", the 6th bar (3
The performance data of F) and 7th bar (3G) are written in the 5th bar and the 6th bar of the track 4 at the timing of being read out as they are. Then, from the time when the value of the tempo clock counter when the track 3 button 48 is released is “F”,
The performance data of is no longer written to track 4.

【0090】図8には、図7を参照しながら上記におい
て説明した操作によって作成されたトラック4に記憶さ
れた演奏データの演奏タイミングが示されており、トラ
ック4に記憶された演奏データは、当該演奏データの時
間データがコピー・クロック・カウンタの示す値に対応
するように書き換えられてトラック4に記憶されるもの
であり、テンポ・クロック・カウンタの進行と同期して
連続的に読み出されることになる。
FIG. 8 shows the performance timing of the performance data stored in the track 4 created by the operation described above with reference to FIG. 7. The performance data stored in the track 4 is The time data of the performance data is rewritten so as to correspond to the value indicated by the copy clock counter and stored in the track 4, and is continuously read in synchronization with the progress of the tempo clock counter. become.

【0091】従って、モード2においては、トラック1
乃至トラック3に記憶された演奏データの任意の部分だ
け簡単に選択してコピーすることができるので、複数の
楽曲の演奏データを組み合わせ、メドレー演奏のような
新たな演奏データを容易に作成することができる。しか
もモード2においては、トラック1乃至トラック3の演
奏データをコピーすることによって、トラック4に新た
に作成される演奏データは、モード1の場合とは異なり
トラック4に順次時間的に前からつめられて記憶される
ようになるので、トラック4に新たに作成された演奏デ
ータには無音の箇所がなくなる。このため、モード2に
おいては、トラック4に新たに作成された演奏データか
ら無音の箇所を編集、削除するという面倒な処理を行わ
なくてもよくなる。
Therefore, in mode 2, track 1
Since any part of the performance data stored in the track 3 can be easily selected and copied, performance data of a plurality of musical pieces can be combined to easily create new performance data such as a medley performance. You can Moreover, in mode 2, the performance data newly created in track 4 by copying the performance data of tracks 1 to 3 is sequentially packed in the track 4 from the front in time, unlike in the case of mode 1. The performance data newly created on the track 4 has no silence. Therefore, in the mode 2, it is not necessary to perform the troublesome process of editing and deleting the silent portion from the performance data newly created on the track 4.

【0092】なお、このモード2においては、トラック
1ボタン44乃至トラック3ボタン48が押されたタイ
ミングの次の拍のタイミングから、押されたトラック1
ボタン44乃至トラック3ボタン48に対応するトラッ
ク1乃至トラック3に記憶されている演奏データのトラ
ック4への書き込みを行い、トラック1ボタン44乃至
トラック3ボタン48が押されなくなっても、その押さ
れなくなったタイミングの次の拍のタイミングまで、演
奏データのトラック4への書き込みは続行される。この
ように、拍単位でトラック4への演奏データの書き込み
を行うことによって、モード1の場合に示したようなク
ロック単位でのトラック4への演奏データの書き込みに
比べて、トラック1ボタン44乃至トラック3ボタン4
8を押すタイミングにおけるクロック単位での微少なズ
レを防止することができる。
In this mode 2, the pressed track 1 is started from the timing of the beat next to the timing at which the track 1 button 44 to the track 3 button 48 are pressed.
Even if the performance data stored in the track 1 to the track 3 corresponding to the button 44 to the track 3 button 48 is written to the track 4 and the track 1 button 44 to the track 3 button 48 are not pressed, they are pressed. The writing of the performance data to the track 4 is continued until the timing of the beat next to the lost timing. In this way, by writing the performance data to the track 4 in beat units, as compared with the writing of the performance data to the track 4 in clock units as in the case of mode 1, the track 1 buttons 44 to Track 3 button 4
It is possible to prevent a slight deviation in clock units at the timing of pressing 8.

【0093】図9には、こうしたモード2を実現するた
めの割り込み処理2ルーチンが示されており、トラック
1乃至トラック3は同期して再生されるとともに、トラ
ック4はそれらの再生と同期させて記憶状態になるよう
に設定されるものとする。
FIG. 9 shows an interrupt processing 2 routine for realizing such a mode 2. Tracks 1 to 3 are reproduced synchronously, and track 4 is synchronously reproduced. It shall be set to be in a memory state.

【0094】この割り込み処理2ルーチンにおいては、
まずステップS902において、スタート・フラグが
「オン」にセットされているか否かについて判断する。
このステップS902の判断結果が否定、即ち、スター
ト・フラグが「オフ」にクリアされていれば、そのまま
テンポ割り込みルーチンへリターンする。
In this interrupt processing 2 routine,
First, in step S902, it is determined whether or not the start flag is set to "ON".
If the determination result of step S902 is negative, that is, if the start flag is cleared to "OFF", the process directly returns to the tempo interrupt routine.

【0095】一方、ステップS902の判断結果が肯
定、即ち、スタート・フラグが「オン」にセットされて
いれば、ステップS904へ進んで発音処理を行い、そ
れからステップS906へ進む。
On the other hand, if the result of the determination in step S902 is affirmative, that is, if the start flag is set to "ON", the flow advances to step S904 to perform sound generation processing, and then to step S906.

【0096】ステップS906においては、レコード・
フラグが「オン」にセットされているか否かについて判
断する。このステップS906の判断結果が否定、即
ち、レコード・フラグが「オフ」にクリアされていれ
ば、ステップS932へ進み、テンポ・クロック・カウ
ンタを「1」インクリメントした後に、テンポ割り込み
ルーチンへリターンする。
In step S906, the record
Determine if the flag is set to "on". If the determination result in step S906 is negative, that is, if the record flag is cleared to "OFF", the flow advances to step S932 to increment the tempo clock counter by "1" and then returns to the tempo interrupt routine.

【0097】一方、ステップS906の判断結果が肯
定、即ち、レコード・フラグが「オン」にセットされて
いれば、ステップS908へ進み、トラック1フラグが
「オン」にセットされているか否かを判断する。
On the other hand, if the decision result in the step S906 is affirmative, that is, if the record flag is set to "ON", the flow advances to a step S908 to decide whether or not the track 1 flag is set to "ON". To do.

【0098】そして、ステップS908の判断結果が肯
定、即ち、トラック1フラグが「オン」にセットされて
いるならば、ステップS910へ進み、コピー1処理を
行う。このコピー1処理は、割り込み処理2ルーチンの
サブ・ルーチンとして、図10(a)にそのフローチャ
ートが示されており、後に詳述する。そして、このステ
ップS910のコピー1処理を終了すると、ステップS
932へ進み、テンポ・クロック・カウンタを「1」イ
ンクリメントした後に、テンポ割り込みルーチンへリタ
ーンする。
If the determination result of step S908 is affirmative, that is, if the track 1 flag is set to "ON", the flow advances to step S910 to perform copy 1 processing. This copy 1 process is shown in the flowchart of FIG. 10A as a sub-routine of the interrupt process 2 routine, which will be described in detail later. When the copy 1 process in step S910 is completed, step S
After proceeding to 932 and incrementing the tempo clock counter by "1", the process returns to the tempo interrupt routine.

【0099】一方、ステップS908の判断結果が否
定、即ち、トラック1フラグが「オフ」にクリアされて
いるならば、ステップS912へ進み、拍フラグ1が
「オン」にセットされているか否かを判断する。なお、
拍フラグ1を「オン」にセットする処理は、ステップS
910におけるコピー1処理において行われる。
On the other hand, if the decision result in the step S908 is negative, that is, if the track 1 flag is cleared to "OFF", the flow advances to a step S912 to check whether or not the beat flag 1 is set to "ON". to decide. In addition,
The process of setting the beat flag 1 to “on” is the step S
This is performed in the copy 1 process at 910.

【0100】そして、ステップS912の判断結果が肯
定、即ち、拍フラグ1が「オン」にセットされているな
らば、ステップS914へ進み、コピー2処理を行う。
このコピー2処理は、割り込み処理2ルーチンのサブ・
ルーチンとして、図11(a)にそのフローチャートが
示されており、後に詳述する。そして、このステップS
914の処理を終了すると、ステップS932へ進み、
テンポ・クロック・カウンタを「1」インクリメントし
た後に、テンポ割り込みルーチンへリターンする。な
お、拍フラグ1を「オフ」にクリアする処理は、このコ
ピー2処理において行われる。
Then, if the determination result of step S912 is affirmative, that is, if the beat flag 1 is set to "ON", the process proceeds to step S914, and the copy 2 process is performed.
This copy 2 process is a sub-process of the interrupt process 2 routine.
As a routine, a flowchart thereof is shown in FIG. 11A, which will be described in detail later. And this step S
When the processing of 914 ends, the flow proceeds to step S932,
After incrementing the tempo clock counter by "1", the process returns to the tempo interrupt routine. The process of clearing the beat flag 1 to "OFF" is performed in this copy 2 process.

【0101】一方、ステップS912の判断結果が否
定、即ち、拍フラグ1が「オフ」にクリアされているな
らば、ステップS916へ進み、トラック2フラグが
「オン」にセットされているか否かを判断する。
On the other hand, if the decision result in the step S912 is negative, that is, if the beat flag 1 is cleared to "OFF", the flow advances to a step S916 to check whether or not the track 2 flag is set to "ON". to decide.

【0102】そして、ステップS916の判断結果が肯
定、即ち、トラック2フラグが「オン」にセットされて
いるならば、ステップS918へ進み、コピー3処理を
行う。このコピー3処理は、割り込み処理2ルーチンの
サブ・ルーチンとして、図10(b)にそのフローチャ
ートが示されており、後に詳述する。そして、このステ
ップS918のコピー3処理を終了すると、ステップS
932へ進み、テンポ・クロック・カウンタを「1」イ
ンクリメントした後に、テンポ割り込みルーチンへリタ
ーンする。
Then, if the determination result of step S916 is affirmative, that is, if the track 2 flag is set to "ON", the process proceeds to step S918, and the copy 3 process is performed. The copy 3 process is shown in a flowchart of FIG. 10B as a sub-routine of the interrupt process 2 routine, which will be described in detail later. When the copy 3 process of step S918 is completed, step S
After proceeding to 932 and incrementing the tempo clock counter by "1", the process returns to the tempo interrupt routine.

【0103】一方、ステップS916の判断結果が否
定、即ち、トラック2フラグが「オフ」にクリアされて
いるならば、ステップS920へ進み、拍フラグ2が
「オン」にセットされているか否かを判断する。なお、
拍フラグ2を「オン」にセットする処理は、ステップS
918におけるコピー3処理において行われる。
On the other hand, if the decision result in the step S916 is negative, that is, if the track 2 flag is cleared to "OFF", the flow advances to a step S920 to check whether or not the beat flag 2 is set to "ON". to decide. In addition,
The process of setting the beat flag 2 to “on” is the step S
This is performed in the copy 3 processing in 918.

【0104】そして、ステップS920の判断結果が肯
定、即ち、拍フラグ2が「オン」にセットされているな
らば、ステップS922へ進み、コピー4処理を行う。
このコピー4処理は、割り込み処理2ルーチンのサブ・
ルーチンとして、図11(b)にそのフローチャートが
示されており、後に詳述する。そして、このステップS
922のコピー4処理を終了すると、ステップS932
へ進み、テンポ・クロック・カウンタを「1」インクリ
メントした後に、テンポ割り込みルーチンへリターンす
る。なお、拍フラグ2を「オフ」にクリアする処理は、
このコピー4処理において行われる。
Then, if the determination result of step S920 is affirmative, that is, if the beat flag 2 is set to "ON", the process proceeds to step S922, and the copy 4 process is performed.
This copy 4 process is a sub-process of the interrupt process 2 routine.
As a routine, a flowchart thereof is shown in FIG. 11B, which will be described later in detail. And this step S
When the copy 4 process of 922 is completed, step S932
Then, the process proceeds to (1) to increment the tempo clock counter by "1" and then returns to the tempo interrupt routine. The process of clearing the beat flag 2 to "off" is
This copy 4 process is performed.

【0105】一方、ステップS920の判断結果が否
定、即ち、拍2フラグが「オフ」にクリアされているな
らば、ステップS924へ進み、トラック3フラグが
「オン」にセットされているか否かを判断する。
On the other hand, if the decision result in the step S920 is negative, that is, if the beat 2 flag is cleared to "OFF", the flow advances to a step S924 to check whether or not the track 3 flag is set to "ON". to decide.

【0106】そして、ステップS924の判断結果が肯
定、即ち、トラック3フラグが「オン」にセットされて
いるならば、ステップS926へ進み、コピー5処理を
行う。このコピー5処理は、割り込み処理2ルーチンの
サブ・ルーチンとして、図10(c)にそのフローチャ
ートが示されており、後に詳述する。そして、このステ
ップS926のコピー5処理を終了すると、ステップS
932へ進み、テンポ・クロック・カウンタを「1」イ
ンクリメントした後に、テンポ割り込みルーチンへリタ
ーンする。
If the determination result of step S924 is affirmative, that is, if the track 3 flag is set to "ON", the flow advances to step S926 to execute copy 5 processing. The copy 5 process is shown in the flowchart of FIG. 10C as a sub-routine of the interrupt process 2 routine, which will be described in detail later. When the copy 5 process of step S926 is completed, step S
After proceeding to 932 and incrementing the tempo clock counter by "1", the process returns to the tempo interrupt routine.

【0107】一方、ステップS924の判断結果が否
定、即ち、トラック3フラグが「オフ」にクリアされて
いるならば、ステップS928へ進み、拍フラグ3が
「オン」にセットされているか否かを判断する。なお、
拍フラグ3を「オン」にセットする処理は、ステップS
926におけるコピー4処理において行われる。
On the other hand, if the decision result in the step S924 is negative, that is, if the track 3 flag is cleared to "OFF", the flow advances to a step S928 to check whether or not the beat flag 3 is set to "ON". to decide. In addition,
The process of setting the beat flag 3 to “on” is the step S
This is performed in the copy 4 process at 926.

【0108】そして、ステップS928の判断結果が肯
定、即ち、拍フラグ3が「オン」にセットされているな
らば、ステップS930へ進み、コピー6処理を行う。
このコピー6処理は、割り込み処理2ルーチンのサブ・
ルーチンとして、図11(c)にそのフローチャートが
示されており、後に詳述する。そして、このステップS
930のコピー6処理を終了すると、ステップS932
へ進み、テンポ・クロック・カウンタを「1」インクリ
メントした後に、テンポ割り込みルーチンへリターンす
る。なお、拍フラグ3を「オフ」にクリアする処理は、
このコピー6処理において行われる。
Then, if the determination result of step S928 is affirmative, that is, if the beat flag 3 is set to "ON", the process proceeds to step S930, and the copy 6 process is performed.
This copy 6 process is a sub-process of the interrupt process 2 routine.
As a routine, a flowchart thereof is shown in FIG. 11C, which will be described in detail later. And this step S
When the copy 6 processing of 930 is completed, step S932
Then, the process proceeds to (1) to increment the tempo clock counter by "1" and then returns to the tempo interrupt routine. The process of clearing the beat flag 3 to "off" is
This copy 6 process is performed.

【0109】一方、ステップS928の判断結果が否
定、即ち、拍3フラグが「オフ」にクリアされているな
らば、そのままステップS932へ進み、テンポ・クロ
ック・カウンタを「1」インクリメントした後に、テン
ポ割り込みルーチンへリターンする。
On the other hand, if the decision result in the step S928 is negative, that is, if the beat 3 flag is cleared to "OFF", the process proceeds to a step S932 as it is, and after incrementing the tempo clock counter by "1", the tempo is increased. Return to the interrupt routine.

【0110】図10(a)には、ステップS910のコ
ピー1処理のサブ・ルーチンが示されており、まずステ
ップS1002において、現在のテンポ・クロックを調
べて、現在のテンポ・クロックが拍の先頭であるか否か
を判断する。
FIG. 10A shows a sub-routine for the copy 1 process in step S910. First, in step S1002, the current tempo clock is checked to find that the current tempo clock is the beginning of the beat. Or not.

【0111】ステップS1002の判断結果が肯定、即
ち、現在のテンポ・クロックが拍の先頭であるならば、
ステップS1004へ進み、拍フラグ1を「オン」にセ
ットした後に、ステップS1006へ進む。
If the determination result of step S1002 is affirmative, that is, if the current tempo clock is at the beginning of the beat,
After proceeding to step S1004 and setting the beat flag 1 to "ON", proceed to step S1006.

【0112】一方、ステップS1002の判断結果が否
定、即ち、現在のテンポ・クロックが拍の先頭でないな
らば、そのままステップS1006へ進む。
On the other hand, if the result of the determination in step S1002 is negative, that is, if the current tempo clock is not at the beginning of the beat, the process proceeds directly to step S1006.

【0113】ステップS1006では、拍フラグ1が
「オン」にセットされているか否かを判断し、その判断
結果が否定、即ち、拍フラグ1が「オフ」にクリアされ
ているならば、そのまま割り込み処理2ルーチンへリタ
ーンする。
In step S1006, it is determined whether or not the beat flag 1 is set to "ON", and if the result of the determination is negative, that is, if the beat flag 1 is cleared to "OFF", the interrupt is interrupted as it is. Return to process 2 routine.

【0114】一方、ステップS1006の判断結果が肯
定、即ち、拍フラグ1が「オン」にセットされているな
らば、ステップS1008へ進み、トラック1に記憶さ
れた演奏データの中の現在のテンポ・クロック・カウン
タの値に対応する箇所の演奏データを、トラック4の現
在のコピー・クロック・カウンタの値に対応する箇所に
書き込む。この際に、演奏データの時間データを、コピ
ー・クロック・カウンタの示す値に対応するように書き
換える。このステップS1008の処理を終了すると、
ステップS1010へ進み、コピー・クロック・カウン
タを「1」インクリメントした後に、割り込み処理2ル
ーチンへリターンする。
On the other hand, if the determination result of step S1006 is affirmative, that is, if the beat flag 1 is set to "ON", the process proceeds to step S1008, and the current tempo in the performance data stored in track 1 is set. The performance data at the location corresponding to the value of the clock counter is written to the location corresponding to the current copy clock counter value of track 4. At this time, the time data of the performance data is rewritten so as to correspond to the value indicated by the copy clock counter. When the process of step S1008 is completed,
The process advances to step S1010, the copy clock counter is incremented by "1", and then the process returns to the interrupt processing 2 routine.

【0115】図11(a)には、ステップS914のコ
ピー2処理のサブ・ルーチンが示されており、まずステ
ップS1102において、現在のテンポ・クロックを調
べて、現在のテンポ・クロックが拍の先頭であるか否か
を判断する。
FIG. 11A shows a sub-routine of the copy 2 process in step S914. First, in step S1102, the current tempo clock is checked to find that the current tempo clock is the beginning of the beat. Or not.

【0116】ステップS1102の判断結果が肯定、即
ち、現在のテンポ・クロックが拍の先頭であるならば、
ステップS1104へ進み、拍フラグ1を「オフ」にク
リアした後に、割り込み処理2ルーチンへリターンす
る。
If the determination result of step S1102 is affirmative, that is, if the current tempo clock is at the beginning of the beat,
After proceeding to step S1104 and clearing the beat flag 1 to "off", the routine returns to the interrupt processing 2 routine.

【0117】一方、ステップS1102の判断結果が否
定、即ち、現在のテンポ・クロックが拍の先頭でないな
らば、ステップS1106へ進み、トラック1に記憶さ
れた演奏データの中の現在のテンポ・クロック・カウン
タの値に対応する箇所の演奏データを、トラック4の現
在のコピー・クロック・カウンタの値に対応する箇所に
書き込む。この際に、演奏データの時間データを、コピ
ー・クロック・カウンタの示す値に対応するように書き
換える。このステップS1106の処理を終了すると、
ステップS1108へ進み、コピー・クロック・カウン
タを「1」インクリメントした後に、割り込み処理2ル
ーチンへリターンする。
On the other hand, if the decision result in the step S1102 is negative, that is, if the current tempo clock is not the beginning of a beat, the process advances to a step S1106, and the current tempo clock in the performance data stored in the track 1 The performance data at the location corresponding to the counter value is written to the location corresponding to the current copy clock counter value on track 4. At this time, the time data of the performance data is rewritten so as to correspond to the value indicated by the copy clock counter. When the processing of step S1106 is completed,
The process advances to step S1108 to increment the copy clock counter by "1", and then returns to the interrupt processing 2 routine.

【0118】図10(b)には、ステップS918のコ
ピー3処理のサブ・ルーチンが示されており、まず図1
0(a)のステップS1002と同じ処理によって、現
在のテンポ・クロックを調べて、現在のテンポ・クロッ
クが拍の先頭であるか否かを判断する。
FIG. 10B shows a sub-routine for the copy 3 process in step S918.
By the same processing as step S1002 of 0 (a), the current tempo clock is checked to determine whether or not the current tempo clock is the beginning of a beat.

【0119】図10(a)のステップS1002と同じ
処理の判断結果が肯定、即ち、現在のテンポ・クロック
が拍の先頭であるならば、ステップS1004’へ進
み、拍フラグ2を「オン」にセットした後に、ステップ
S1006’へ進む。
If the determination result of the same process as step S1002 in FIG. 10A is affirmative, that is, if the current tempo clock is at the beginning of the beat, the process proceeds to step S1004 'and the beat flag 2 is turned "on". After setting, proceed to step S1006 '.

【0120】一方、図10(a)のステップS1002
と同じ処理の判断結果が否定、即ち、現在のテンポ・ク
ロックが拍の先頭でないならば、そのままステップS1
006’へ進む。
On the other hand, step S1002 of FIG.
If the determination result of the same process as is negative, that is, if the current tempo clock is not the beginning of the beat, then step S1 is performed as it is.
Proceed to 006 '.

【0121】ステップS1006’では、拍フラグ2が
「オン」にセットされているか否かを判断し、その判断
結果が否定、即ち、拍フラグ2が「オフ」にクリアされ
ているならば、そのまま割り込み処理2ルーチンへリタ
ーンする。
In step S1006 ', it is determined whether or not the beat flag 2 is set to "ON", and if the result of the determination is negative, that is, if the beat flag 2 is cleared to "OFF", it is left as it is. Return to the interrupt processing 2 routine.

【0122】一方、ステップS1006’の判断結果が
肯定、即ち、拍フラグ2が「オン」にセットされている
ならば、ステップS1008’へ進み、トラック2に記
憶された演奏データの中の現在のテンポ・クロック・カ
ウンタの値に対応する箇所の演奏データを、トラック4
の現在のコピー・クロック・カウンタの値に対応する箇
所に書き込む。この際に、演奏データの時間データを、
コピー・クロック・カウンタの示す値に対応するように
書き換える。このステップS1008’の処理を終了す
ると、図10(a)のステップS1010と同じ処理へ
進み、コピー・クロック・カウンタを「1」インクリメ
ントした後に、割り込み処理2ルーチンへリターンす
る。
On the other hand, if the decision result in the step S1006 'is affirmative, that is, if the beat flag 2 is set to "ON", the process advances to a step S1008', and the present performance data in the track 2 is stored. The performance data at the location corresponding to the value of the tempo clock counter is recorded in track 4
Write to the location corresponding to the current copy clock counter value of. At this time, the time data of the performance data is
Rewrite to correspond to the value indicated by the copy clock counter. When the process of step S1008 ′ is completed, the process proceeds to the same process as step S1010 of FIG. 10A, the copy clock counter is incremented by “1”, and then the process returns to the interrupt process 2 routine.

【0123】図11(b)には、ステップS922のコ
ピー4処理のサブ・ルーチンが示されており、まず図1
1(a)のステップS1102と同じ処理によって、現
在のテンポ・クロックを調べて、現在のテンポ・クロッ
クが拍の先頭であるか否かを判断する。
FIG. 11B shows a sub-routine for the copy 4 process in step S922.
By the same processing as step S1102 of 1 (a), the current tempo clock is checked to determine whether or not the current tempo clock is the beginning of a beat.

【0124】図11(a)のステップS1102と同じ
処理の判断結果が肯定、即ち、現在のテンポ・クロック
が拍の先頭であるならば、ステップS1104’へ進
み、拍フラグ2を「オフ」にクリアした後に、割り込み
処理2ルーチンへリターンする。
If the determination result of the same process as step S1102 in FIG. 11A is affirmative, that is, if the current tempo clock is at the beginning of the beat, the process proceeds to step S1104 ', and the beat flag 2 is turned off. After clearing, return to the interrupt processing 2 routine.

【0125】一方、図11(a)のステップS1102
と同じ処理の判断結果が否定、即ち、現在のテンポ・ク
ロックが拍の先頭でないならば、ステップS1106’
へ進み、トラック2に記憶された演奏データの中の現在
のテンポ・クロック・カウンタの値に対応する箇所の演
奏データを、トラック4の現在のコピー・クロック・カ
ウンタの値に対応する箇所に書き込む。この際に、演奏
データの時間データを、コピー・クロック・カウンタの
示す値に対応するように書き換える。このステップS1
106’の処理を終了すると、図11(a)のステップ
S1108と同じ処理へ進み、コピー・クロック・カウ
ンタを「1」インクリメントした後に、割り込み処理2
ルーチンへリターンする。
On the other hand, step S1102 of FIG.
If the determination result of the same processing as is negative, that is, if the current tempo clock is not the beginning of the beat, step S1106 '
And proceeds to write the performance data of the performance data stored in track 2 corresponding to the current tempo clock counter value to the location of track 4 corresponding to the current copy clock counter value. . At this time, the time data of the performance data is rewritten so as to correspond to the value indicated by the copy clock counter. This step S1
When the process of 106 'is completed, the process proceeds to the same process as step S1108 of FIG. 11A, the copy clock counter is incremented by "1", and then the interrupt process 2 is performed.
Return to routine.

【0126】図10(c)には、ステップS926のコ
ピー5処理のサブ・ルーチンが示されており、まず図1
0(a)のステップS1002と同じ処理によって、現
在のテンポ・クロックを調べて、現在のテンポ・クロッ
クが拍の先頭であるか否かを判断する。
FIG. 10C shows a sub-routine for the copy 5 process in step S926.
By the same processing as step S1002 of 0 (a), the current tempo clock is checked to determine whether or not the current tempo clock is the beginning of a beat.

【0127】図10(a)のステップS1002と同じ
処理の判断結果が肯定、即ち、現在のテンポ・クロック
が拍の先頭であるならば、ステップS1004’’へ進
み、拍フラグ3を「オン」にセットした後に、ステップ
S1006’’へ進む。
If the determination result of the same process as step S1002 in FIG. 10A is affirmative, that is, if the current tempo clock is at the beginning of the beat, the process proceeds to step S1004 '' and the beat flag 3 is turned "on". After setting to, the process proceeds to step S1006 ″.

【0128】一方、図10(a)のステップS1002
と同じ処理の判断結果が否定、即ち、現在のテンポ・ク
ロックが拍の先頭でないならば、そのままステップS1
006’’へ進む。
On the other hand, step S1002 of FIG.
If the determination result of the same process as is negative, that is, if the current tempo clock is not the beginning of the beat, then step S1 is performed as it is.
Proceed to 006 ''.

【0129】ステップS1006’’では、拍フラグ3
が「オン」にセットされているか否かを判断し、その判
断結果が否定、即ち、拍フラグ3が「オフ」にクリアさ
れているならば、そのまま割り込み処理2ルーチンへリ
ターンする。
In step S1006 '', the beat flag 3
Is set to "ON", and if the determination result is negative, that is, if the beat flag 3 is cleared to "OFF", the routine directly returns to the interrupt processing 2 routine.

【0130】一方、ステップS1006’’の判断結果
が肯定、即ち、拍フラグ3が「オン」にセットされてい
るならば、ステップS1008’’へ進み、トラック3
に記憶された演奏データの中の現在のテンポ・クロック
・カウンタの値に対応する箇所の演奏データを、トラッ
ク4の現在のコピー・クロック・カウンタの値に対応す
る箇所に書き込む。この際に、演奏データの時間データ
を、コピー・クロック・カウンタの示す値に対応するよ
うに書き換える。このステップS1008’’の処理を
終了すると、図10(a)のステップS1010と同じ
処理へ進み、コピー・クロック・カウンタを「1」イン
クリメントした後に、割り込み処理2ルーチンへリター
ンする。
On the other hand, if the determination result of step S1006 ″ is affirmative, that is, the beat flag 3 is set to “ON”, the process proceeds to step S1008 ″, and the track 3
The performance data at the location corresponding to the current tempo clock counter value in the performance data stored in is written in the location corresponding to the current copy clock counter value on track 4. At this time, the time data of the performance data is rewritten so as to correspond to the value indicated by the copy clock counter. When the process of step S1008 ″ is completed, the process proceeds to the same process as step S1010 of FIG. 10A, the copy clock counter is incremented by “1”, and then the process returns to the interrupt process 2 routine.

【0131】図11(c)には、ステップS930のコ
ピー6処理のサブ・ルーチンが示されており、まず図1
1(c)のステップS1102と同じ処理によって、現
在のテンポ・クロックを調べて、現在のテンポ・クロッ
クが拍の先頭であるか否かを判断する。
FIG. 11C shows a sub-routine for the copy 6 process in step S930.
By the same processing as step S1102 of 1 (c), the current tempo clock is checked to determine whether or not the current tempo clock is the beginning of a beat.

【0132】図11(c)のステップS1102と同じ
処理の判断結果が肯定、即ち、現在のテンポ・クロック
が拍の先頭であるならば、ステップS1104’’へ進
み、拍フラグ3を「オフ」にクリアした後に、割り込み
処理2ルーチンへリターンする。
If the judgment result of the same process as step S1102 in FIG. 11C is affirmative, that is, if the current tempo clock is at the beginning of the beat, the process proceeds to step S1104 '' and the beat flag 3 is turned off. After clearing to 1, the routine returns to the interrupt processing 2 routine.

【0133】一方、図11(c)のステップS1102
と同じ処理の判断結果が否定、即ち、現在のテンポ・ク
ロックが拍の先頭でないならば、ステップS110
6’’へ進み、トラック3に記憶された演奏データの中
の現在のテンポ・クロック・カウンタの値に対応する箇
所の演奏データを、トラック4の現在のコピー・クロッ
ク・カウンタの値に対応する箇所に書き込む。この際
に、演奏データの時間データを、コピー・クロック・カ
ウンタの示す値に対応するように書き換える。このステ
ップS1106’’の処理を終了すると、図11(a)
のステップS1108と同じ処理へ進み、コピー・クロ
ック・カウンタを「1」インクリメントした後に、割り
込み処理2ルーチンへリターンする。
On the other hand, step S1102 of FIG. 11C.
If the determination result of the same process as is negative, that is, if the current tempo clock is not the beginning of the beat, step S110.
6 ", the performance data at the location corresponding to the current tempo clock counter value in the performance data stored in track 3 is assigned to the current copy clock counter value in track 4. Write in the place. At this time, the time data of the performance data is rewritten so as to correspond to the value indicated by the copy clock counter. When the process of step S1106 ″ is completed, FIG.
The process proceeds to the same process as step S1108, the copy clock counter is incremented by "1", and then the process returns to the interrupt process 2 routine.

【0134】このように、モード2においては、トラッ
ク1ボタン44乃至トラック3ボタン48を押すという
簡単な操作のみで、トラック1乃至トラック3に記憶さ
れた演奏データの所望の箇所を適宜コピーして組み合わ
せた演奏データを、トラック4に空白部分を設けること
なく連続的に記憶させて演奏させることができる。
As described above, in the mode 2, only the simple operation of pressing the track 1 button 44 to the track 3 button 48 makes it possible to appropriately copy a desired portion of the performance data stored in the track 1 to the track 3. The combined performance data can be continuously stored and played without providing a blank portion on the track 4.

【0135】〔モード3〕モード3とは、自動リズム演
奏を行う場合に関するモードである。ここにおいて、自
動リズム演奏とは、演奏データとして所定の小節数(本
実施例においては、4小節とした。)のリズム・パター
ンよりなる自動リズム演奏データ(イベント・データと
イベント・データの発生時間データとより構成され
る。)を用い、自動リズム演奏データを順次繰り返して
ループ演奏を行うものであって、本実施例においては、
4小節のリズム・パターンによりトラック1乃至トラッ
ク3に演奏データが記憶されており、トラック1乃至ト
ラック3に記憶された演奏データを、適宜トラック4に
書き込むことができるようになされている。そして、ト
ラック1乃至トラック4に記憶された演奏データは、テ
ンポ・クロック・カウンタに同期して演奏され、4小節
目まで演奏されると、先頭に戻って繰り返し演奏され
る。
[Mode 3] Mode 3 is a mode relating to the case of performing an automatic rhythm performance. Here, the term "automatic rhythm performance" means automatic rhythm performance data (event data and the time at which the event data is generated) consisting of a rhythm pattern having a predetermined number of measures (4 measures in this embodiment) as performance data. Data) and automatic rhythm performance data are sequentially repeated to perform a loop performance. In the present embodiment,
Performance data is stored in tracks 1 to 3 by a rhythm pattern of four measures, and the performance data stored in tracks 1 to 3 can be written in track 4 as appropriate. Then, the performance data stored in the tracks 1 to 4 is played in synchronization with the tempo clock counter, and when it is played up to the 4th measure, it returns to the beginning and is repeatedly played.

【0136】なお、所定数の演奏データを繰り返し読み
出して自動リズム演奏を行うための技術自体は公知であ
るので、その詳細な説明は省略する。
Since a technique itself for repeatedly reading a predetermined number of performance data to perform an automatic rhythm performance is known, its detailed description will be omitted.

【0137】このモード3においては、使用者が演奏デ
ータが予め記憶されているトラック1乃至トラック3を
適宜選択し、選択したトラックに対応するトラック1ボ
タン44乃至トラック3ボタン48を操作している間だ
け、操作されたトラック1ボタン44乃至トラック3ボ
タン48に対応するトラック1乃至トラック3に記憶さ
れた演奏データを、当該演奏データの時間データに従っ
てトラック4にコピーするモードである。
In the mode 3, the user appropriately selects the tracks 1 to 3 in which the performance data is stored in advance and operates the track 1 button 44 to the track 3 button 48 corresponding to the selected track. During this period, the performance data stored in the tracks 1 to 3 corresponding to the operated track 1 button 44 to the track 3 button 48 is copied to the track 4 according to the time data of the performance data.

【0138】なお、このモード3においては、トラック
1乃至トラック3とトラック4とは、スタート・ボタン
34が押されると、同期して再生、記憶が行われるよう
に動作する。
In the mode 3, the tracks 1 to 3 and the track 4 operate so that when the start button 34 is pressed, they are reproduced and stored in synchronization with each other.

【0139】図12には、モード3の動作例が示されて
おり、トラック1乃至トラック3にそれぞれ対応するト
ラック1ボタン44乃至トラック3ボタン48が押され
ている間だけ、押されたトラック1ボタン44乃至トラ
ック3ボタン48に対応するトラック1乃至トラック3
に記憶されている演奏データが、トラック4に書き込ま
れる状況が示されている。
FIG. 12 shows an operation example of the mode 3, in which the track 1 button 44 to the track 3 button 48 corresponding to the track 1 to the track 3 are pressed while the track 1 button 3 is pressed. Button 44 to Track 3 Track 1 to Track 3 corresponding to Button 48
The situation is shown in which the performance data stored in is written in the track 4.

【0140】即ち、テンポ・クロック・カウンタの値が
「A」のタイミングときに、トラック2ボタン46が押
されて、テンポ・クロック・カウンタの値が「B」(最
終クロック(4小節目の最後のクロック))のときに、
トラック2ボタン46が離されると、トラック2の4小
節目(2D)の演奏データが、そのまま読み出されたタ
イミングでトラック4の4小節目に書き込まれる。
That is, when the value of the tempo clock counter is "A", the track 2 button 46 is pressed and the value of the tempo clock counter is "B" (the last clock (the end of the fourth measure). Clock)) when
When the track 2 button 46 is released, the performance data of the 4th bar (2D) of the track 2 is written in the 4th bar of the track 4 at the timing of being read as it is.

【0141】そして、トラック2ボタン46が離された
テンポ・クロック・カウンタの値が「B」のタイミング
のときから、トラック2の演奏データはトラック4に書
き込まれなくなり、それと同時に1小節目の先頭に戻っ
てトラック1乃至トラック3に記憶された演奏データの
再生が行われる。
Then, from the time the track 2 button 46 is released and the value of the tempo clock counter is "B", the performance data of track 2 is no longer written to track 4, and at the same time, the beginning of the first measure. Then, the performance data stored in tracks 1 to 3 is reproduced.

【0142】さらに、このテンポ・クロック・カウンタ
の値が「C」のタイミングのときに、トラック3ボタン
48が押されて、テンポ・クロック・カウンタの値が
「D」のタイミングのときに、トラック3ボタン48が
離されると、トラック3の2小節目(3B)および3小
節目(3C)の演奏データが、そのまま読み出されたタ
イミングでトラック4の2小節目および3小節目にそれ
ぞれ書き込まれる。
Further, when the value of the tempo clock counter is "C", the track 3 button 48 is pressed, and when the value of the tempo clock counter is "D", the track 3 is pressed. When the 3 button 48 is released, the performance data of the second bar (3B) and the third bar (3C) of the track 3 are written in the second bar and the third bar of the track 4, respectively, at the timing of being read out as they are. .

【0143】そして、トラック3ボタン48が離された
テンポ・クロック・カウンタの値が「D」のタイミング
のときから、トラック3の演奏データはトラック4に書
き込まれなくなる。
Then, from the time when the value of the tempo clock counter is "D" when the track 3 button 48 is released, the performance data of track 3 is no longer written to track 4.

【0144】さらに、テンポ・クロック・カウンタの値
が「E」のタイミングのときに、1小節目の先頭に戻っ
てトラック1乃至トラック3に記憶された演奏データの
再生が行われることになるが、このテンポ・クロック・
カウンタの値が「E」のタイミングのときに、トラック
1ボタン44が押されて、テンポ・クロック・カウンタ
の値が「F」のときに、トラック1ボタン44が離され
ると、トラック1の1小節目(1A)の演奏データが、
そのまま読み出されたタイミングでトラック4の1小節
目に書き込まれる。
Further, when the value of the tempo clock counter is "E", the performance data stored in tracks 1 to 3 is reproduced by returning to the beginning of the first measure. , This tempo clock
When the track 1 button 44 is pressed when the counter value is "E", and when the track 1 button 44 is released when the tempo clock counter value is "F", the track 1 button 1 Performance data of measure (1A)
It is written in the first measure of the track 4 at the timing of being read as it is.

【0145】そして、トラック1ボタン44が離された
テンポ・クロック・カウンタの値が「F」のタイミング
のときから、トラック1の演奏データはトラック4に書
き込まれなくなる
Then, from the time when the value of the tempo clock counter is "F" when the track 1 button 44 is released, the performance data of track 1 is no longer written to track 4.

【0146】図13には、図12を参照しながら上記に
おいて説明した操作によって作成されたトラック4に記
憶された演奏データの演奏タイミングが示されており、
トラック4に記憶された演奏データは、トラック1乃至
トラック3に記憶された演奏データの小節番号順に、テ
ンポ・クロック・カウンタの進行と同期して連続的に読
み出されることになる。
FIG. 13 shows the performance timing of the performance data stored in the track 4 created by the operation described above with reference to FIG.
The performance data stored in the track 4 is continuously read in synchronization with the progress of the tempo clock counter in the order of bar numbers of the performance data stored in the tracks 1 to 3.

【0147】従って、繰り返し演奏されるリズム・パタ
ーンの演奏データの任意の部分を選択して、新たな繰り
返し演奏されるリズム・パターンの演奏データを作成す
る際には、当該選択が小節番号の順番を相前後して行わ
れる場合があるが、モード3においては、選択された順
番に影響を受けずに、本来の正しい小節番号順に新たな
演奏データが作成されることになる。このため、モード
3においては、簡単に素早く新たなリズム・パターンを
作成することができる。
Therefore, when selecting an arbitrary portion of the performance data of a rhythm pattern to be repeatedly played and creating performance data of a new rhythm pattern to be repeatedly played, the selection is made in the order of bar numbers. However, in mode 3, new performance data is created in the original correct measure number order without being affected by the selected order. Therefore, in mode 3, a new rhythm pattern can be created easily and quickly.

【0148】図14には、こうしたモード3を実現する
ための割り込み処理3ルーチンが示されており、トラッ
ク1乃至トラック3とトラック4とは、上記したように
同期して再生、記憶が行われるように動作する。
FIG. 14 shows an interrupt processing 3 routine for realizing such a mode 3. Tracks 1 to 3 and track 4 are reproduced and stored in synchronization with each other as described above. Works like.

【0149】この割り込み処理3ルーチンにおいては、
まずステップS1402において、スタート・フラグが
「オン」にセットされているか否かについて判断する。
このステップS1402の判断結果が否定、即ち、スタ
ート・フラグが「オフ」にクリアされていれば、そのま
まテンポ割り込みルーチンへリターンする。
In this interrupt processing 3 routine,
First, in step S1402, it is determined whether or not the start flag is set to "on".
If the determination result of step S1402 is negative, that is, if the start flag is cleared to "OFF", the process directly returns to the tempo interrupt routine.

【0150】一方、ステップS1402の判断結果が肯
定、即ち、スタート・フラグが「オン」にセットされて
いれば、ステップS1404へ進んで発音処理を行い、
それからステップS1406へ進む。
On the other hand, if the decision result in the step S1402 is affirmative, that is, if the start flag is set to "ON", the flow advances to a step S1404 to carry out sound generation processing,
Then, the process proceeds to step S1406.

【0151】ステップS1406においては、レコード
・フラグが「オン」にセットされているか否かについて
判断する。このステップS1406の判断結果が否定、
即ち、レコード・フラグが「オフ」にクリアされていれ
ば、ステップS1420へ進み、テンポ・クロックが最
終クロック(4小節目の最後のクロック)まで到達した
か否かを判断する。
In step S1406, it is determined whether the record flag is set to "on". The determination result of step S1406 is negative,
That is, if the record flag has been cleared to "off", the flow advances to step S1420 to determine whether the tempo clock has reached the final clock (the last clock of the fourth measure).

【0152】ステップS1420の判断結果が否定、即
ち、テンポ・クロックが最終クロックに到達していない
ならば、ステップS1422へ進み、テンポ・クロック
・カウンタを「1」インクリメントした後に、テンポ割
り込みルーチンへリターンする。
If the determination result in step S1420 is negative, that is, if the tempo clock has not reached the final clock, the process proceeds to step S1422, the tempo clock counter is incremented by "1", and then the process returns to the tempo interrupt routine. To do.

【0153】一方、ステップS1420の判断結果が肯
定、即ち、テンポ・クロックが最終クロックに到達した
ならば、ステップS1424へ進み、テンポ・クロック
・カウンタをクリアした後に、テンポ割り込みルーチン
へリターンする。
On the other hand, if the decision result in the step S1420 is affirmative, that is, if the tempo clock reaches the final clock, the process advances to a step S1424 to clear the tempo clock counter and then return to the tempo interrupt routine.

【0154】また、ステップS1406の判断結果が肯
定、即ち、レコード・フラグが「オン」にセットされて
いれば、ステップS1408へ進み、トラック1フラグ
が「オン」にセットされているか否かを判断する。
If the decision result in the step S1406 is affirmative, that is, if the record flag is set to "ON", the flow advances to a step S1408 to judge whether or not the track 1 flag is set to "ON". To do.

【0155】そして、ステップS1408の判断結果が
肯定、即ち、トラック1フラグが「オン」にセットされ
ているならば、ステップS1410へ進み、トラック1
に記憶された演奏データの中の現在のテンポ・クロック
・カウンタの値に対応する箇所の演奏データを、トラッ
ク4の現在のテンポ・クロック・カウンタの値に対応す
る箇所に書き込む。このステップS1410の処理を終
了すると、ステップS1420へ進み、テンポ・クロッ
クが最終クロックまで到達したか否かを判断する。この
ステップS1420の判断結果が否定、即ち、テンポ・
クロックが最終クロックに到達していないならば、ステ
ップS1422へ進み、テンポ・クロック・カウンタを
「1」インクリメントした後に、テンポ割り込みルーチ
ンへリターンし、一方、ステップS1420の判断結果
が肯定、即ち、テンポ・クロックが最終クロックに到達
したならば、ステップS1424へ進み、テンポ・クロ
ック・カウンタをクリアした後に、テンポ割り込みルー
チンへリターンする。
If the determination result of step S1408 is affirmative, that is, if the track 1 flag is set to "ON", the process proceeds to step S1410 and the track 1
The performance data at the location corresponding to the current tempo clock counter value in the performance data stored in is written in the location corresponding to the current tempo clock counter value on track 4. When the process of step S1410 is completed, the process advances to step S1420 to determine whether or not the tempo clock has reached the final clock. The determination result of step S1420 is negative, that is, the tempo
If the clock has not reached the final clock, the process proceeds to step S1422, the tempo clock counter is incremented by “1”, and then the process returns to the tempo interrupt routine, while the determination result of step S1420 is affirmative, that is, the tempo. If the clock has reached the final clock, the process advances to step S1424 to clear the tempo clock counter, and then returns to the tempo interrupt routine.

【0156】一方、ステップS1408の判断結果が否
定、即ち、トラック1フラグが「オフ」にクリアされて
いるならば、ステップS1412へ進み、トラック2フ
ラグが「オン」にセットされているか否かを判断する。
On the other hand, if the decision result in the step S1408 is negative, that is, if the track 1 flag is cleared to "OFF", the flow advances to a step S1412 to check whether or not the track 2 flag is set to "ON". to decide.

【0157】そして、ステップS1412の判断結果が
肯定、即ち、トラック2フラグが「オン」にセットされ
ているならば、ステップS1414へ進み、トラック2
に記憶された演奏データの中の現在のテンポ・クロック
・カウンタの値に対応する箇所の演奏データを、トラッ
ク4の現在のテンポ・クロック・カウンタの値に対応す
る箇所に書き込む。このステップS1414の処理を終
了すると、ステップS1420へ進み、テンポ・クロッ
クが最終クロックまで到達したか否かを判断する。この
ステップS1420の判断結果が否定、即ち、テンポ・
クロックが最終クロックに到達していないならば、ステ
ップS1422へ進み、テンポ・クロック・カウンタを
「1」インクリメントした後に、テンポ割り込みルーチ
ンへリターンし、一方、ステップS1420の判断結果
が肯定、即ち、テンポ・クロックが最終クロックに到達
したならば、ステップS1424へ進み、テンポ・クロ
ック・カウンタをクリアした後に、テンポ割り込みルー
チンへリターンする。
If the determination result of step S1412 is affirmative, that is, if the track 2 flag is set to "ON", the flow advances to step S1414 to track 2
The performance data at the location corresponding to the current tempo clock counter value in the performance data stored in is written in the location corresponding to the current tempo clock counter value on track 4. Upon completion of the processing in step S1414, the flow advances to step S1420 to determine whether or not the tempo clock has reached the final clock. The determination result of step S1420 is negative, that is, the tempo
If the clock has not reached the final clock, the process proceeds to step S1422, the tempo clock counter is incremented by “1”, and then the process returns to the tempo interrupt routine, while the determination result of step S1420 is affirmative, that is, the tempo. If the clock has reached the final clock, the process advances to step S1424 to clear the tempo clock counter, and then returns to the tempo interrupt routine.

【0158】一方、ステップS1412の判断結果が否
定、即ち、トラック2フラグが「オフ」にクリアされて
いるならば、ステップS1416へ進み、トラック3フ
ラグが「オン」にセットされているか否かを判断する。
On the other hand, if the decision result in the step S1412 is negative, that is, if the track 2 flag is cleared to "OFF", the flow advances to a step S1416 to check whether or not the track 3 flag is set to "ON". to decide.

【0159】そして、ステップS1416の判断結果が
肯定、即ち、トラック3フラグが「オン」にセットされ
ているならば、ステップS1418へ進み、トラック3
に記憶された演奏データの中の現在のテンポ・クロック
・カウンタの値に対応する箇所の演奏データを、トラッ
ク4の現在のテンポ・クロック・カウンタの値に対応す
る箇所に書き込む。このステップS1418の処理を終
了すると、ステップS1420へ進み、テンポ・クロッ
クが最終クロックまで到達したか否かを判断する。この
ステップS1420の判断結果が否定、即ち、テンポ・
クロックが最終クロックに到達していないならば、ステ
ップS1422へ進み、テンポ・クロック・カウンタを
「1」インクリメントした後に、テンポ割り込みルーチ
ンへリターンし、一方、ステップS1420の判断結果
が肯定、即ち、テンポ・クロックが最終クロックに到達
したならば、ステップS1424へ進み、テンポ・クロ
ック・カウンタをクリアした後に、テンポ割り込みルー
チンへリターンする。
If the determination result of step S1416 is affirmative, that is, if the track 3 flag is set to "ON", the process proceeds to step S1418 and the track 3
The performance data at the location corresponding to the current tempo clock counter value in the performance data stored in is written in the location corresponding to the current tempo clock counter value on track 4. Upon completion of the processing in step S1418, the flow advances to step S1420 to determine whether the tempo clock has reached the final clock. The determination result of step S1420 is negative, that is, the tempo
If the clock has not reached the final clock, the process proceeds to step S1422, the tempo clock counter is incremented by “1”, and then the process returns to the tempo interrupt routine, while the determination result of step S1420 is affirmative, that is, the tempo. If the clock has reached the final clock, the process advances to step S1424 to clear the tempo clock counter, and then returns to the tempo interrupt routine.

【0160】一方、ステップS1416の判断結果が否
定、即ち、トラック3フラグが「オフ」にクリアされて
いるならば、そのままステップS1420へ進み、テン
ポ・クロックが最終クロックまで到達したか否かを判断
する。このステップS1420の判断結果が否定、即
ち、テンポ・クロックが最終クロックに到達していない
ならば、ステップS1422へ進み、テンポ・クロック
・カウンタを「1」インクリメントした後に、テンポ割
り込みルーチンへリターンし、一方、ステップS142
0の判断結果が肯定、即ち、テンポ・クロックが最終ク
ロックに到達したならば、ステップS1424へ進み、
テンポ・クロック・カウンタをクリアした後に、メイン
・ルーチンへリターンする。
On the other hand, if the decision result in the step S1416 is negative, that is, if the track 3 flag is cleared to "OFF", the flow advances to a step S1420 as it is to decide whether or not the tempo clock has reached the final clock. To do. If the determination result of step S1420 is negative, that is, if the tempo clock has not reached the final clock, the process proceeds to step S1422, after incrementing the tempo clock counter by "1", and then returning to the tempo interrupt routine. On the other hand, step S142
If the determination result of 0 is affirmative, that is, if the tempo clock reaches the final clock, the process proceeds to step S1424,
After clearing the tempo clock counter, return to the main routine.

【0161】このように、モード3においては、トラッ
ク1ボタン44乃至トラック3ボタン48を押すという
簡単な操作のみで、トラック1乃至トラック3に記憶さ
れた演奏データの所望の箇所を適宜コピーして組み合わ
せた演奏データを、トラック1乃至トラック3に記憶さ
れた演奏データの小節番号順でトラック4に記憶させて
演奏させることができる。
As described above, in the mode 3, only the simple operation of pressing the track 1 button 44 to the track 3 button 48 can copy desired portions of the performance data stored in the tracks 1 to 3 as appropriate. The combined performance data can be stored in the track 4 and played in the order of the bar numbers of the performance data stored in the tracks 1 to 3.

【0162】〔モード4〕モード4とは、モード3と同
様に演奏データとして自動リズム演奏データを用いて自
動リズム演奏を行う場合に関するモードであり、使用者
が演奏データが予め記憶されているトラック1乃至トラ
ック3を適宜選択し、選択したトラックに対応するトラ
ック1ボタン44乃至トラック3ボタン48を操作して
いる間だけ、操作されたトラック1ボタン44乃至トラ
ック3ボタン48に対応するトラック1乃至トラック3
に記憶された演奏データを、トラック1乃至トラック3
の再生とトラック4への記録を同期させず、非同期でト
ラック4に順次コピーするモードである。
[Mode 4] Mode 4 is a mode related to a case where an automatic rhythm performance is performed using the automatic rhythm performance data as the performance data, like the mode 3, and the user stores the performance data in advance. Tracks 1 to 4 corresponding to the operated Track 1 button 44 to Track 3 button 48 are selected only while 1 to Track 3 are appropriately selected and the Track 1 button 44 to Track 3 button 48 corresponding to the selected track are being operated. Truck 3
The performance data stored in
In this mode, the reproduction and the recording on the track 4 are not synchronized but sequentially copied to the track 4 asynchronously.

【0163】即ち、このモード4においては、トラック
1乃至トラック3はそれぞれ同期して再生するが、トラ
ック4はトラック1ボタン44乃至トラック3ボタン4
8を押すことによるコピーの指示に基づき順次記憶す
る。
That is, in this mode 4, tracks 1 to 3 are reproduced in synchronization with each other, but track 4 has track 1 button 44 to track 3 button 4
Data is sequentially stored based on the copy instruction by pressing 8.

【0164】図15には、モード4の動作例が示されて
おり、トラック1乃至トラック3にそれぞれ対応するト
ラック1ボタン44乃至トラック3ボタン48が押され
ている間だけ、押されたトラック1ボタン44乃至トラ
ック3ボタン48に対応するトラック1乃至トラック3
に記憶されている演奏データが、トラック4に書き込ま
れる状況が示されている。
FIG. 15 shows an operation example of the mode 4, in which the track 1 button 44 to the track 3 button 48 corresponding to the track 1 to the track 3 are pressed while the track 1 button 3 is pressed. Button 44 to Track 3 Track 1 to Track 3 corresponding to Button 48
The situation is shown in which the performance data stored in is written in the track 4.

【0165】即ち、上記した割り込み処理4ルーチンな
らびにコピー7処理ルーチン乃至コピー12処理ルーチ
ンに示されるように、トラック1乃至トラック3に記憶
された演奏データは、テンポ・クロック・カウンタに同
期して演奏が行われ、トラック4への演奏データの書き
込みは、コピー・クロック・カウンタに同期して行われ
る。
That is, as shown in the above-mentioned interrupt processing 4 routine and copy 7 processing routine to copy 12 processing routine, the performance data stored in tracks 1 to 3 are played in synchronization with the tempo clock counter. The performance data is written to the track 4 in synchronization with the copy clock counter.

【0166】そして、コピー・クロック・カウンタは、
トラック1ボタン44乃至トラック3ボタン48が押さ
れている間だけインクリメントされるので、トラック4
への書き込みは、トラック1ボタン44乃至トラック3
ボタン48のいずれかが押されているときに限り、トラ
ック1乃至トラック3に記憶された演奏データの演奏と
同期して行われる。その結果、トラック1乃至トラック
3にそれぞれ対応するトラック1ボタン44乃至トラッ
ク3ボタン48が押されている間だけ、押されたトラッ
ク1ボタン44乃至トラック3ボタン48に対応するト
ラック1乃至トラック3に記憶されている演奏データ
が、トラック4に空白部分を設けることなく順次連続的
に書き込まれる。この際に、演奏データの時間データ
は、コピー・クロック・カウンタの示す値に対応するよ
うに書き換えられる。
Then, the copy clock counter is
The track 1 button 44 to the track 3 button 48 are incremented only while they are being pressed.
Writing to the track 1 button 44 to track 3
Only when one of the buttons 48 is pressed, the performance is synchronized with the performance of the performance data stored in the tracks 1 to 3. As a result, only while the track 1 button 44 to the track 3 button 48 corresponding to the track 1 to the track 3 are being pressed, the track 1 to the track 3 corresponding to the pressed track 1 button 44 to the track 3 button 48 are changed. The stored performance data is sequentially and continuously written without providing a blank portion on the track 4. At this time, the time data of the performance data is rewritten so as to correspond to the value indicated by the copy clock counter.

【0167】図15を参照して説明すると、テンポ・ク
ロック・カウンタの値が「A」のタイミングときに、ト
ラック2ボタン46が押されると、コピー・クロック・
カウンタのインクリメントが開始され、テンポ・クロッ
ク・カウンタのインクリメントと同期する。従って、テ
ンポ・クロック・カウンタの値が「B」のタイミングの
ときに、トラック2ボタン46が離されると、トラック
2の4小節目(2D)の演奏データが、そのまま読み出
されたタイミングでトラック4の1小節目に書き込まれ
てコピーが行われる。
Referring to FIG. 15, when the track 2 button 46 is pressed at the timing when the tempo clock counter value is "A", the copy clock
The counter increment starts and is synchronized with the tempo clock counter increment. Therefore, when the track 2 button 46 is released when the tempo clock counter value is "B", the performance data of the 4th measure (2D) of track 2 is tracked at the same timing as it is read. It is written in the first measure of 4 and copied.

【0168】そして、トラック2ボタン46が離された
テンポ・クロック・カウンタの値が「B」のタイミング
のときから、トラック2の演奏データはトラック4に書
き込まれなくなり、それと同時に1小節目の先頭に戻っ
てトラック1乃至トラック3に記憶された演奏データの
再生が行われる。
From the timing when the value of the tempo clock counter when the track 2 button 46 is released is "B", the performance data of track 2 is not written to track 4, and at the same time, the beginning of the first measure. Then, the performance data stored in tracks 1 to 3 is reproduced.

【0169】さらに、このテンポ・クロック・カウンタ
の値が「C」のタイミングのときに、トラック3ボタン
48が押されると、コピー・クロック・カウンタのイン
クリメントが再び開始され、テンポ・クロック・カウン
タのインクリメントと同期する。従って、テンポ・クロ
ック・カウンタの値が「D」のタイミングのときに、ト
ラック3ボタン48が離されると、トラック3の2小節
目(3B)および3小節目(3C)の演奏データが、そ
のまま読み出されたタイミングでトラック4の2小節目
と3小節目とに順次書き込まれてコピーが行われる。
Further, when the track 3 button 48 is pressed when the value of the tempo clock counter is "C", the increment of the copy clock counter is restarted, and the tempo clock counter Synchronize with increment. Therefore, when the track 3 button 48 is released when the tempo clock counter value is "D", the performance data of the second bar (3B) and the third bar (3C) of the track 3 remains unchanged. At the read timing, the second and third measures of the track 4 are sequentially written and copied.

【0170】そして、トラック3ボタン48が離された
テンポ・クロック・カウンタの値が「D」のタイミング
のときから、トラック3の演奏データはトラック4に書
き込まれなくなる。
Then, from the time when the value of the tempo clock counter is "D" when the track 3 button 48 is released, the performance data of track 3 is no longer written to track 4.

【0171】さらに、テンポ・クロック・カウンタの値
が「E」のタイミングのときに、1小節目の先頭に戻っ
てトラック1乃至トラック3に記憶された演奏データの
再生が行われることになるが、それと同時にトラック1
ボタン44が押されると、コピー・クロック・カウンタ
のインクリメントが再び開始され、テンポ・クロック・
カウンタのインクリメントと同期する。従って、テンポ
・クロック・カウンタの値が「F」のタイミングのとき
に、トラック3ボタン48が離されると、トラック1の
1小節目(1A)の演奏データが、そのまま読み出され
たタイミングでトラック4の4小節目に書き込まれてコ
ピーが行われる。
Furthermore, when the value of the tempo clock counter is "E", the performance data stored in tracks 1 to 3 is reproduced by returning to the beginning of the first measure. , At the same time, track 1
When button 44 is pressed, the copy clock counter increments again and the tempo clock counter
Synchronize with the counter increment. Therefore, when the track 3 button 48 is released when the tempo clock counter value is "F", the performance data of the first measure (1A) of track 1 is read at the timing when it is read as it is. It is written in the 4th bar of 4 and copied.

【0172】そして、トラック1ボタン44が離された
テンポ・クロック・カウンタの値が「F」のタイミング
のときから、トラック1の演奏データはトラック4に書
き込まれなくなる。
Then, from the time when the value of the tempo clock counter is "F" when the track 1 button 44 is released, the performance data of track 1 is not written to track 4.

【0173】図16には、図15を参照しながら上記に
おいて説明した操作によって作成されたトラック4に記
憶された演奏データの演奏タイミングが示されており、
トラック4に記憶された演奏データの時間データは、コ
ピー・クロック・カウンタの示す値に対応するように書
き換えられているものであって、トラック1乃至トラッ
ク3に記憶された演奏データの小節番号にかかわらず、
トラック4に書き込まれた順番で、テンポ・クロック・
カウンタの進行と同期して連続的に読み出されることに
なる。
FIG. 16 shows the performance timing of the performance data stored in the track 4 created by the operation described above with reference to FIG.
The time data of the performance data stored in the track 4 is rewritten so as to correspond to the value indicated by the copy clock counter, and the time numbers of the performance data stored in the tracks 1 to 3 are stored in the bar numbers. regardless of,
In the order written in track 4, the tempo clock,
It will be read continuously in synchronization with the progress of the counter.

【0174】このように、モード4においては、トラッ
ク1乃至トラック3の演奏データが、順次時間的に前に
つめられてトラック4にコピーされることになり、トラ
ック4に新たに作成された演奏データには無音の箇所が
なくなる。このため、モード4においては、トラック1
乃至トラック3に記憶された演奏データを任意に組み合
わせて簡単に素早く新たなリズム・パターンを作成する
ことができ、しかも、トラック4に新たに作成された演
奏データから無音の箇所を編集、削除するという面倒な
処理を行わなくてもよくなる。
As described above, in the mode 4, the performance data of the tracks 1 to 3 are sequentially pasted in time and copied to the track 4, so that the performance newly created in the track 4 is reproduced. There is no silence in the data. Therefore, in mode 4, track 1
Through, it is possible to easily and quickly create a new rhythm pattern by arbitrarily combining the performance data stored in the track 3, and edit or delete a silent portion from the performance data newly created in the track 4. There is no need to perform the troublesome process.

【0175】つまり、本実施例においては、4小節のリ
ズム・パターンによりトラック1乃至トラック3に演奏
データが記憶されており、トラック1乃至トラック3に
記憶された演奏データを、適宜トラック4に書き込むこ
とができるようになされている。そして、トラック1乃
至トラック4に記憶された演奏データは、テンポ・クロ
ック・カウンタに同期して演奏され、4小節目まで演奏
されると、先頭に戻って繰り返し演奏される。
That is, in this embodiment, the performance data is stored in the tracks 1 to 3 by the rhythm pattern of 4 bars, and the performance data stored in the tracks 1 to 3 is written in the track 4 as appropriate. Is made possible. Then, the performance data stored in the tracks 1 to 4 is played in synchronization with the tempo clock counter, and when it is played up to the 4th measure, it returns to the beginning and is repeatedly played.

【0176】また、コピー・クロック・カウンタは、ト
ラック1ボタン44乃至トラック3ボタン48が押され
ている間だけインクリメントし、トラック4はコピー・
クロック・カウンタに同期して記憶動作をするようにな
されており、従って、トラック4は、トラック1ボタン
44乃至トラック3ボタン48のいずれかがオンされて
いるときに限り、トラック1乃至トラック3と同期して
動作する。
Further, the copy clock counter is incremented only while the track 1 button 44 to the track 3 button 48 are pressed, and the copy clock counter of the track 4 is copied.
The storage operation is performed in synchronism with the clock counter, and therefore, the track 4 is regarded as the track 1 to the track 3 only when any of the track 1 button 44 to the track 3 button 48 is turned on. Operates synchronously.

【0177】なお、このモード4においては、トラック
1ボタン44乃至トラック3ボタン48が押されたタイ
ミングの次の拍のタイミングから、トラック4への演奏
データの書き込みを行い、トラック1ボタン44乃至ト
ラック3ボタン48が押されなくなっても、その押され
なくなったタイミングの次の拍のタイミングまで、演奏
データのトラック4への書き込みは続行される。このよ
うに、拍単位でトラック4への演奏データの書き込みを
行うことによって、モード3の場合に示したようなクロ
ック単位でのトラック4への演奏データの書き込みに比
べて、トラック1ボタン44乃至トラック3ボタン48
を押すタイミングにおけるクロック単位での微少なズレ
を防止することができる。
In this mode 4, the performance data is written to the track 4 from the timing of the beat next to the timing at which the track 1 button 44 to the track 3 button 48 are pressed, and the track 1 button 44 to the track 4 are recorded. Even if the 3 button 48 is not pressed, the writing of the performance data to the track 4 is continued until the timing of the beat next to the timing when the button is not pressed. As described above, by writing the performance data to the track 4 in units of beats, as compared with the writing of the performance data to the track 4 in units of clocks as shown in the case of the mode 3, the track 1 buttons 44 to 44 can be used. Track 3 button 48
It is possible to prevent a slight deviation in clock units at the timing of pressing.

【0178】図17には、こうしたモード4を実現する
ための割り込み処理4ルーチンが示されており、トラッ
ク1乃至トラック3は同期して再生されるとともに、ト
ラック4はそれらの再生と同期させて記憶状態になるよ
うに動作する。
FIG. 17 shows an interrupt processing 4 routine for realizing such a mode 4. Tracks 1 to 3 are reproduced in synchronization with each other, and track 4 is synchronized with the reproduction thereof. Operates so that it can be stored.

【0179】この割り込み処理4ルーチンにおいては、
まずステップS1702において、スタート・フラグが
「オン」にセットされているか否かについて判断する。
このステップS1702の判断結果が否定、即ち、スタ
ート・フラグが「オフ」にクリアされていれば、そのま
まテンポ割り込みルーチンへリターンする。
In this interrupt processing 4 routine,
First, in step S1702, it is determined whether or not the start flag is set to "ON".
If the determination result of step S1702 is negative, that is, if the start flag is cleared to "OFF", the process directly returns to the tempo interrupt routine.

【0180】一方、ステップS1702の判断結果が肯
定、即ち、スタート・フラグが「オン」にセットされて
いれば、ステップS1704へ進んで発音処理を行い、
それからステップS1706へ進む。
On the other hand, if the decision result in the step S1702 is affirmative, that is, if the start flag is set to "ON", the flow advances to a step S1704 to perform a tone generation process,
Then, the process proceeds to step S1706.

【0181】ステップS1706においては、レコード
・フラグが「オン」にセットされているか否かについて
判断する。このステップS1706の判断結果が否定、
即ち、レコード・フラグが「オフ」にクリアされていれ
ば、ステップS1732へ進み、テンポ・クロックが最
終クロック(4小節目の最後のクロック)まで到達した
か否かを判断する。
In step S1706, it is determined whether the record flag is set to "on". The determination result of step S1706 is negative,
That is, if the record flag is cleared to "OFF", the flow advances to step S1732 to determine whether the tempo clock has reached the final clock (the last clock of the fourth measure).

【0182】ステップS1732の判断結果が否定、即
ち、テンポ・クロックが最終クロックに到達していない
ならば、ステップS1734へ進み、テンポ・クロック
・カウンタを「1」インクリメントした後に、テンポ割
り込みルーチンへリターンする。
If the determination result in step S1732 is negative, that is, if the tempo clock has not reached the final clock, the process proceeds to step S1734, the tempo clock counter is incremented by "1", and then the process returns to the tempo interrupt routine. To do.

【0183】一方、ステップS1732の判断結果が肯
定、即ち、テンポ・クロックが最終クロックに到達した
ならば、ステップS1736へ進み、テンポ・クロック
・カウンタをクリアした後に、テンポ割り込みルーチン
へリターンする。
On the other hand, if the decision result in the step S1732 is affirmative, that is, if the tempo clock reaches the final clock, the process advances to a step S1736, the tempo clock counter is cleared, and then the process returns to the tempo interrupt routine.

【0184】また、ステップS1706の判断結果が肯
定、即ち、レコード・フラグが「オン」にセットされて
いれば、ステップS1708へ進み、トラック1フラグ
が「オン」にセットされているか否かを判断する。
If the decision result in the step S1706 is affirmative, that is, if the record flag is set to "ON", the flow advances to a step S1708 to decide whether or not the track 1 flag is set to "ON". To do.

【0185】そして、ステップS1708の判断結果が
肯定、即ち、トラック1フラグが「オン」にセットされ
ているならば、ステップS1710へ進み、コピー7処
理を行う。このコピー7処理は、テンポ割り込み4ルー
チンのサブ・ルーチンとして、図18(a)にそのフロ
ーチャートが示されており、後に詳述する。そして、こ
のステップS1710のコピー7処理を終了すると、ス
テップS1732へ進み、テンポ・クロックが最終クロ
ックまで到達したか否かを判断する。このステップS1
732の判断結果が否定、即ち、テンポ・クロックが最
終クロックに到達していないならば、ステップS173
4へ進み、テンポ・クロック・カウンタを「1」インク
リメントした後に、テンポ割り込みルーチンへリターン
し、一方、ステップS1732の判断結果が肯定、即
ち、テンポ・クロックが最終クロックに到達したなら
ば、ステップS1736へ進み、テンポ・クロック・カ
ウンタをクリアした後に、テンポ割り込みルーチンへリ
ターンする。
If the decision result in the step S1708 is affirmative, that is, if the track 1 flag is set to "ON", the flow advances to a step S1710 to execute the copy 7 process. This copy 7 processing is shown in the flowchart of FIG. 18A as a sub routine of the tempo interrupt 4 routine, which will be described in detail later. When the copy 7 process of step S1710 is completed, the process advances to step S1732, and it is determined whether the tempo clock has reached the final clock. This step S1
If the determination result of 732 is negative, that is, if the tempo clock has not reached the final clock, step S173.
4, the tempo clock counter is incremented by "1", and then the process returns to the tempo interrupt routine. On the other hand, if the determination result of step S1732 is affirmative, that is, the tempo clock reaches the final clock, step S1736. Then, after clearing the tempo clock counter, the process returns to the tempo interrupt routine.

【0186】一方、ステップS1708の判断結果が否
定、即ち、トラック1フラグが「オフ」にクリアされて
いるならば、ステップS1712へ進み、拍フラグ1が
「オン」にセットされているか否かを判断する。なお、
拍フラグ1を「オン」にセットする処理は、ステップS
1710におけるコピー7処理において行われる。
On the other hand, if the decision result in the step S1708 is negative, that is, if the track 1 flag is cleared to "OFF", the flow advances to a step S1712 to check whether or not the beat flag 1 is set to "ON". to decide. In addition,
The process of setting the beat flag 1 to “on” is the step S
This is performed in the copy 7 processing in 1710.

【0187】そして、ステップS1712の判断結果が
肯定、即ち、拍フラグ1が「オン」にセットされている
ならば、ステップS1714へ進み、コピー8処理を行
う。このコピー8処理は、テンポ割り込みルーチンのサ
ブ・ルーチンとして、図19(a)にそのフローチャー
トが示されており、後に詳述する。そして、このステッ
プS1714の処理を終了すると、ステップS1732
へ進み、テンポ・クロックが最終クロックまで到達した
か否かを判断する。このステップS1732の判断結果
が否定、即ち、テンポ・クロックが最終クロックに到達
していないならば、ステップS1734へ進み、テンポ
・クロック・カウンタを「1」インクリメントした後
に、テンポ割り込みルーチンへリターンし、一方、ステ
ップS1732の判断結果が肯定、即ち、テンポ・クロ
ックが最終クロックに到達したならば、ステップS17
36へ進み、テンポ・クロック・カウンタをクリアした
後に、テンポ割り込みルーチンへリターンする。
If the decision result in the step S1712 is affirmative, that is, if the beat flag 1 is set to "ON", the flow advances to a step S1714 to execute the copy 8 process. The copy 8 process is shown in the flowchart of FIG. 19A as a sub-routine of the tempo interrupt routine, which will be described in detail later. When the process of step S1714 is completed, step S1732
Proceed to and determine whether the tempo clock has reached the final clock. If the determination result in step S1732 is negative, that is, if the tempo clock has not reached the final clock, the process proceeds to step S1734, the tempo clock counter is incremented by "1", and then the process returns to the tempo interrupt routine. On the other hand, if the result of the determination in step S1732 is affirmative, that is, if the tempo clock has reached the final clock, step S17
After proceeding to 36, the tempo clock counter is cleared, and then the process returns to the tempo interrupt routine.

【0188】一方、ステップS1712の判断結果が否
定、即ち、拍フラグ1が「オフ」にクリアされているな
らば、ステップS1716へ進み、トラック2フラグが
「オン」にセットされているか否かを判断する。
On the other hand, if the decision result in the step S1712 is negative, that is, if the beat flag 1 is cleared to "OFF", the flow advances to a step S1716 to check whether or not the track 2 flag is set to "ON". to decide.

【0189】そして、ステップS1716の判断結果が
肯定、即ち、トラック2フラグが「オン」にセットされ
ているならば、ステップS1718へ進み、コピー9処
理を行う。このコピー9処理は、テンポ割り込みルーチ
ンのサブ・ルーチンとして、図18(b)にそのフロー
チャートが示されており、後に詳述する。そして、この
ステップS1718のコピー9処理を終了すると、ステ
ップS1732へ進み、テンポ・クロックが最終クロッ
クまで到達したか否かを判断する。このステップS17
32の判断結果が否定、即ち、テンポ・クロックが最終
クロックに到達していないならば、ステップS1734
へ進み、テンポ・クロック・カウンタを「1」インクリ
メントした後に、テンポ割り込みルーチンへリターン
し、一方、ステップS1732の判断結果が肯定、即
ち、テンポ・クロックが最終クロックに到達したなら
ば、ステップS1736へ進み、テンポ・クロック・カ
ウンタをクリアした後に、テンポ割り込みルーチンへリ
ターンする。
If the decision result in the step S1716 is affirmative, that is, if the track 2 flag is set to "ON", the flow advances to a step S1718 to execute the copy 9 process. The copy 9 process is shown in the flowchart of FIG. 18B as a sub-routine of the tempo interrupt routine, which will be described in detail later. When the copy 9 process of step S1718 is completed, the process advances to step S1732 to determine whether the tempo clock has reached the final clock. This step S17
If the determination result of 32 is negative, that is, if the tempo clock has not reached the final clock, step S1734.
If the determination result of step S1732 is affirmative, that is, if the tempo clock reaches the final clock, the process proceeds to step S1736. After proceeding to clear the tempo clock counter, return to the tempo interrupt routine.

【0190】一方、ステップS1716の判断結果が否
定、即ち、トラック2フラグが「オフ」にクリアされて
いるならば、ステップS1720へ進み、拍フラグ2が
「オン」にセットされているか否かを判断する。なお、
拍フラグ2を「オン」にセットする処理は、ステップS
1718におけるコピー9処理において行われる。
On the other hand, if the decision result in the step S1716 is negative, that is, if the track 2 flag is cleared to "OFF", the flow advances to a step S1720 to check whether or not the beat flag 2 is set to "ON". to decide. In addition,
The process of setting the beat flag 2 to “on” is the step S
This is performed in the copy 9 process in 1718.

【0191】そして、ステップS1720の判断結果が
肯定、即ち、拍フラグ2が「オン」にセットされている
ならば、ステップS1722へ進み、コピー10処理を
行う。このコピー10処理は、テンポ割り込みルーチン
のサブ・ルーチンとして、図19(b)にそのフローチ
ャートが示されており、後に詳述する。そして、このス
テップS1722のコピー10処理を終了すると、ステ
ップS1732へ進み、テンポ・クロックが最終クロッ
クまで到達したか否かを判断する。このステップS17
32の判断結果が否定、即ち、テンポ・クロックが最終
クロックに到達していないならば、ステップS1734
へ進み、テンポ・クロック・カウンタを「1」インクリ
メントした後に、テンポ割り込みルーチンへリターン
し、一方、ステップS1732の判断結果が肯定、即
ち、テンポ・クロックが最終クロックに到達したなら
ば、ステップS1736へ進み、テンポ・クロック・カ
ウンタをクリアした後に、テンポ割り込みルーチンへリ
ターンする。
If the determination result of step S1720 is affirmative, that is, if the beat flag 2 is set to "ON", the flow advances to step S1722 to perform copy 10 processing. The copy 10 process is shown in the flowchart of FIG. 19B as a sub-routine of the tempo interrupt routine, which will be described later in detail. When the copy 10 process of step S1722 is completed, the process advances to step S1732 to determine whether the tempo clock has reached the final clock. This step S17
If the determination result of 32 is negative, that is, if the tempo clock has not reached the final clock, step S1734.
If the determination result of step S1732 is affirmative, that is, if the tempo clock reaches the final clock, the process proceeds to step S1736. After proceeding to clear the tempo clock counter, return to the tempo interrupt routine.

【0192】一方、ステップS1720の判断結果が否
定、即ち、拍2フラグが「オフ」にクリアされているな
らば、ステップS1724へ進み、トラック3フラグが
「オン」にセットされているか否かを判断する。
On the other hand, if the decision result in the step S1720 is negative, that is, if the beat 2 flag is cleared to "OFF", the flow advances to a step S1724 to check whether or not the track 3 flag is set to "ON". to decide.

【0193】そして、ステップS1724の判断結果が
肯定、即ち、トラック3フラグが「オン」にセットされ
ているならば、ステップS1726へ進み、コピー11
処理を行う。このコピー11処理は、テンポ割り込みル
ーチンのサブ・ルーチンとして、図18(c)にそのフ
ローチャートが示されており、後に詳述する。そして、
このステップS1726のコピー11処理を終了する
と、ステップS1732へ進み、テンポ・クロックが最
終クロックまで到達したか否かを判断する。このステッ
プS1732の判断結果が否定、即ち、テンポ・クロッ
クが最終クロックに到達していないならば、ステップS
1734へ進み、テンポ・クロック・カウンタを「1」
インクリメントした後に、テンポ割り込みルーチンへリ
ターンし、一方、ステップS1732の判断結果が肯
定、即ち、テンポ・クロックが最終クロックに到達した
ならば、ステップS1736へ進み、テンポ・クロック
・カウンタをクリアした後に、テンポ割り込みルーチン
へリターンする。
If the decision result in the step S1724 is affirmative, that is, if the track 3 flag is set to "ON", the flow advances to a step S1726 to copy 11
Perform processing. The copy 11 process is shown in the flowchart of FIG. 18C as a sub-routine of the tempo interrupt routine, which will be described in detail later. And
Upon completion of the copy 11 process in step S1726, the flow advances to step S1732 to determine whether the tempo clock has reached the final clock. If the determination result in step S1732 is negative, that is, if the tempo clock has not reached the final clock, step S1732.
Proceed to 1734 and set the tempo clock counter to "1"
After the increment, the process returns to the tempo interrupt routine. On the other hand, if the determination result of step S1732 is affirmative, that is, if the tempo clock reaches the final clock, the process proceeds to step S1736, and after clearing the tempo clock counter, Return to the tempo interrupt routine.

【0194】一方、ステップS1724の判断結果が否
定、即ち、トラック3フラグが「オフ」にクリアされて
いるならば、ステップS1728へ進み、拍フラグ3が
「オン」にセットされているか否かを判断する。なお、
拍フラグ3を「オン」にセットする処理は、ステップS
1726におけるコピー11処理において行われる。
On the other hand, if the decision result in the step S1724 is negative, that is, if the track 3 flag is cleared to "OFF", the flow advances to a step S1728 to check whether or not the beat flag 3 is set to "ON". to decide. In addition,
The process of setting the beat flag 3 to “on” is the step S
This is performed in the copy 11 process at 1726.

【0195】そして、ステップS1728の判断結果が
肯定、即ち、拍フラグ3が「オン」にセットされている
ならば、ステップS3170へ進み、コピー12処理を
行う。このコピー12処理は、テンポ割り込みルーチン
のサブ・ルーチンとして、図19(c)にそのフローチ
ャートが示されており、後に詳述する。そして、このス
テップS1730のコピー12処理を終了すると、ステ
ップS1732へ進み、テンポ・クロックが最終クロッ
クまで到達したか否かを判断する。このステップS17
32の判断結果が否定、即ち、テンポ・クロックが最終
クロックに到達していないならば、ステップS1734
へ進み、テンポ・クロック・カウンタを「1」インクリ
メントした後に、テンポ割り込みルーチンへリターン
し、一方、ステップS1732の判断結果が肯定、即
ち、テンポ・クロックが最終クロックに到達したなら
ば、ステップS1736へ進み、テンポ・クロック・カ
ウンタをクリアした後に、テンポ割り込みルーチンへリ
ターンする。
If the determination result of step S1728 is affirmative, that is, if the beat flag 3 is set to "ON", the flow advances to step S3170 to perform the copy 12 process. The copy 12 process is shown in the flowchart of FIG. 19C as a sub routine of the tempo interrupt routine, which will be described later in detail. When the copy 12 process in step S1730 is completed, the process advances to step S1732, and it is determined whether the tempo clock has reached the final clock. This step S17
If the determination result of 32 is negative, that is, if the tempo clock has not reached the final clock, step S1734.
If the determination result of step S1732 is affirmative, that is, if the tempo clock reaches the final clock, the process proceeds to step S1736. After proceeding to clear the tempo clock counter, return to the tempo interrupt routine.

【0196】一方、ステップS1728の判断結果が否
定、即ち、拍3フラグが「オフ」にクリアされているな
らば、そのままステップS1732へ進み、テンポ・ク
ロックが最終クロックまで到達したか否かを判断する。
このステップS1732の判断結果が否定、即ち、テン
ポ・クロックが最終クロックに到達していないならば、
ステップS1734へ進み、テンポ・クロック・カウン
タを「1」インクリメントした後に、テンポ割り込みル
ーチンへリターンし、一方、ステップS1732の判断
結果が肯定、即ち、テンポ・クロックが最終クロックに
到達したならば、ステップS1736へ進み、テンポ・
クロック・カウンタをクリアした後に、メイン・ルーチ
ンへリターンする。
On the other hand, if the result of the determination in step S1728 is negative, that is, if the beat 3 flag is cleared to "OFF", the flow proceeds to step S1732 and it is determined whether or not the tempo clock has reached the final clock. To do.
If the determination result of step S1732 is negative, that is, if the tempo clock has not reached the final clock,
In step S1734, the tempo clock counter is incremented by "1", and then the process returns to the tempo interrupt routine, while if the determination result in step S1732 is affirmative, that is, if the tempo clock reaches the final clock, step S1736, tempo
After clearing the clock counter, return to the main routine.

【0197】図18(a)には、ステップS1710の
コピー7処理のサブ・ルーチンが示されており、まずス
テップS1802において、現在のテンポ・クロックを
調べて、現在のテンポ・クロックが拍の先頭であるか否
かを判断する。
FIG. 18A shows a sub-routine for the copy 7 process in step S1710. First, in step S1802, the current tempo clock is checked to find that the current tempo clock is the beginning of the beat. Or not.

【0198】ステップS1802の判断結果が肯定、即
ち、現在のテンポ・クロックが拍の先頭であるならば、
ステップS1804へ進み、拍フラグ1を「オン」にセ
ットした後に、ステップS1806へ進む。
If the determination result of step S1802 is affirmative, that is, if the current tempo clock is at the beginning of the beat,
After proceeding to step S1804 and setting the beat flag 1 to “ON”, proceed to step S1806.

【0199】一方、ステップS1802の判断結果が否
定、即ち、現在のテンポ・クロックが拍の先頭でないな
らば、そのままステップS1806へ進む。
On the other hand, if the result of the determination in step S1802 is negative, that is, if the current tempo clock is not the beginning of the beat, the flow proceeds directly to step S1806.

【0200】ステップS1806では、拍フラグ1が
「オン」にセットされているか否かを判断し、その判断
結果が否定、即ち、拍フラグ1が「オフ」にクリアされ
ているならば、そのまま割り込み処理4ルーチンへリタ
ーンする。
In step S1806, it is determined whether or not the beat flag 1 is set to "ON". If the result of the determination is negative, that is, if the beat flag 1 is cleared to "OFF", the interrupt is interrupted as it is. Return to the processing 4 routine.

【0201】一方、ステップS1806の判断結果が肯
定、即ち、拍フラグ1が「オン」にセットされているな
らば、ステップS1808へ進み、トラック1に記憶さ
れた演奏データの中の現在のテンポ・クロック・カウン
タの値に対応する箇所の演奏データを、トラック4の現
在のコピー・クロック・カウンタの値に対応する箇所に
書き込む。この際に、演奏データの時間データを、コピ
ー・クロック・カウンタの示す値に対応するように書き
換える。このステップS1808の処理を終了すると、
ステップS1810へ進み、コピー・クロック・カウン
タの値が最終クロック(4小節目の最後のクロック)の
値まで到達したか否かを判断する。このステップS18
10の判断結果が否定、即ち、コピー・クロック・カウ
ンタの値が最終クロックの値に到達していないならば、
ステップS1812へ進み、コピー・クロック・カウン
タを「1」インクリメントした後に、割り込み処理4ル
ーチンへリターンし、一方、ステップS1814の判断
結果が肯定、即ち、コピー・クロック・カウンタの値が
最終クロックの値に到達したならば、ステップS181
4へ進み、コピー・クロック・カウンタをクリアした後
に、割り込み処理4ルーチンへリターンする。
On the other hand, if the decision result in the step S1806 is affirmative, that is, if the beat flag 1 is set to "ON", the flow advances to a step S1808, and the current tempo in the performance data stored in the track 1 is set. The performance data at the location corresponding to the value of the clock counter is written to the location corresponding to the current copy clock counter value of track 4. At this time, the time data of the performance data is rewritten so as to correspond to the value indicated by the copy clock counter. When the process of step S1808 ends,
In step S1810, it is determined whether the value of the copy clock counter has reached the value of the final clock (the last clock of the fourth bar). This step S18
If the determination result of 10 is negative, that is, if the value of the copy clock counter has not reached the value of the final clock,
After proceeding to step S1812 and incrementing the copy clock counter by "1", the routine returns to the interrupt processing 4 routine, while the determination result of step S1814 is affirmative, that is, the value of the copy clock counter is the value of the final clock. Is reached, step S181
4, the copy clock counter is cleared, and then the process returns to the interrupt processing 4 routine.

【0202】図19(a)には、ステップS1714の
コピー8処理のサブ・ルーチンが示されており、まずス
テップS1902において、現在のテンポ・クロックを
調べて、現在のテンポ・クロックが拍の先頭であるか否
かを判断する。
FIG. 19A shows a sub-routine for the copy 8 process in step S1714. First, in step S1902, the current tempo clock is checked to find that the current tempo clock is the beginning of the beat. Or not.

【0203】ステップS1902の判断結果が肯定、即
ち、現在のテンポ・クロックが拍の先頭であるならば、
ステップS1904へ進み、拍フラグ1を「オフ」にク
リアした後に、割り込み処理4ルーチンへリターンす
る。
If the determination result of step S1902 is affirmative, that is, if the current tempo clock is at the beginning of the beat,
After proceeding to step S1904 and clearing the beat flag 1 to "OFF", the routine returns to the interrupt processing 4 routine.

【0204】一方、ステップS1902の判断結果が否
定、即ち、現在のテンポ・クロックが拍の先頭でないな
らば、ステップS1906へ進み、トラック1に記憶さ
れた演奏データの中の現在のテンポ・クロック・カウン
タの値に対応する箇所の演奏データを、トラック4の現
在のコピー・クロック・カウンタの値に対応する箇所に
書き込む。この際に、演奏データの時間データを、コピ
ー・クロック・カウンタの示す値に対応するように書き
換える。このステップS1906の処理を終了すると、
ステップS1908へ進み、コピー・クロック・カウン
タの値が最終クロック(4小節目の最後のクロック)の
値まで到達したか否かを判断する。このステップS19
08の判断結果が否定、即ち、コピー・クロック・カウ
ンタの値が最終クロックの値に到達していないならば、
ステップS1910へ進み、コピー・クロック・カウン
タを「1」インクリメントした後に、割り込み処理4ル
ーチンへリターンし、一方、ステップS1908の判断
結果が肯定、即ち、コピー・クロック・カウンタの値が
最終クロックの値に到達したならば、ステップS191
2へ進み、コピー・クロック・カウンタをクリアした後
に、割り込み処理4ルーチンへリターンする。
On the other hand, if the result of the determination in step S1902 is negative, that is, if the current tempo clock is not the beginning of a beat, the process proceeds to step S1906, and the current tempo clock in the performance data stored in track 1 The performance data at the location corresponding to the counter value is written to the location corresponding to the current copy clock counter value on track 4. At this time, the time data of the performance data is rewritten so as to correspond to the value indicated by the copy clock counter. When the processing of step S1906 is completed,
In step S1908, it is determined whether or not the value of the copy clock counter has reached the value of the final clock (the last clock of the fourth measure). This step S19
If the determination result of 08 is negative, that is, if the value of the copy clock counter has not reached the value of the final clock,
After proceeding to step S1910 and incrementing the copy clock counter by "1", the routine returns to the interrupt processing 4 routine, while the determination result of step S1908 is affirmative, that is, the value of the copy clock counter is the value of the final clock. Is reached, step S191
After proceeding to step 2 and clearing the copy clock counter, the routine returns to the interrupt processing 4 routine.

【0205】図18(b)には、ステップS1718の
コピー9処理のサブ・ルーチンが示されており、まず図
18(a)のステップS1802と同じ処理によって、
現在のテンポ・クロックを調べて、現在のテンポ・クロ
ックが拍の先頭であるか否かを判断する。
FIG. 18B shows a sub-routine for the copy 9 process in step S1718. First, the same process as step S1802 in FIG.
Examine the current tempo clock to determine if it is the beginning of a beat.

【0206】図18(a)のステップS1802と同じ
処理の判断結果が肯定、即ち、現在のテンポ・クロック
が拍の先頭であるならば、ステップS1804’へ進
み、拍フラグ2を「オン」にセットした後に、ステップ
S1806’へ進む。
If the determination result of the same process as step S1802 in FIG. 18A is affirmative, that is, if the current tempo clock is at the beginning of the beat, the flow advances to step S1804 'to set the beat flag 2 to "ON". After setting, go to step S1806 '.

【0207】一方、図18(a)のステップS1802
と同じ処理の判断結果が否定、即ち、現在のテンポ・ク
ロックが拍の先頭でないならば、そのままステップS1
806’へ進む。
On the other hand, step S1802 of FIG.
If the determination result of the same process as is negative, that is, if the current tempo clock is not the beginning of the beat, then step S1 is performed as it is.
Proceed to 806 '.

【0208】ステップS1806’では、拍フラグ2が
「オン」にセットされているか否かを判断し、その判断
結果が否定、即ち、拍フラグ2が「オフ」にクリアされ
ているならば、そのまま割り込み処理4ルーチンへリタ
ーンする。
In step S1806 ', it is determined whether or not the beat flag 2 is set to "on", and if the result of the determination is negative, that is, if the beat flag 2 is cleared to "off", then it is left as it is. Return to the interrupt processing 4 routine.

【0209】一方、ステップS1806’の判断結果が
肯定、即ち、拍フラグ2が「オン」にセットされている
ならば、ステップS1808’へ進み、トラック2に記
憶された演奏データの中の現在のテンポ・クロック・カ
ウンタの値に対応する箇所の演奏データを、トラック4
の現在のコピー・クロック・カウンタの値に対応する箇
所に書き込む。この際に、演奏データの時間データを、
コピー・クロック・カウンタの示す値に対応するように
書き換える。このステップS1808’の処理を終了す
ると、図18(a)のステップS1810と同じ処理へ
進み、コピー・クロック・カウンタの値が最終クロック
(4小節目の最後のクロック)の値まで到達したか否か
を判断する。この図18(a)のステップS1810と
同じ処理の判断結果が否定、即ち、コピー・クロック・
カウンタの値が最終クロックの値に到達していないなら
ば、図18(a)のステップS1812と同じ処理へ進
み、コピー・クロック・カウンタを「1」インクリメン
トした後に、割り込み処理4ルーチンへリターンし、一
方、図18(a)のステップS1810と同じ処理の判
断結果が肯定、即ち、コピー・クロック・カウンタの値
が最終クロックの値に到達したならば、図18(a)の
ステップS1814と同じ処理へ進み、コピー・クロッ
ク・カウンタをクリアした後に、割り込み処理4ルーチ
ンへリターンする。
On the other hand, if the decision result in the step S1806 'is affirmative, that is, if the beat flag 2 is set to "ON", the process advances to a step S1808', and the present performance data in the performance data stored in the track 2 is read. The performance data at the location corresponding to the value of the tempo clock counter is recorded in track 4
Write to the location corresponding to the current copy clock counter value of. At this time, the time data of the performance data is
Rewrite to correspond to the value indicated by the copy clock counter. When the process of step S1808 'is completed, the process proceeds to the same process as step S1810 of FIG. 18A, and it is determined whether or not the value of the copy clock counter reaches the value of the final clock (the last clock of the fourth bar). To judge. The determination result of the same process as step S1810 of FIG. 18A is negative, that is, the copy clock
If the value of the counter has not reached the value of the final clock, the process proceeds to the same process as step S1812 of FIG. 18A, the copy clock counter is incremented by “1”, and then the process returns to the interrupt processing 4 routine. On the other hand, if the determination result of the same process as step S1810 of FIG. 18A is affirmative, that is, if the value of the copy clock counter reaches the value of the final clock, the same as step S1814 of FIG. 18A. After proceeding to the processing and clearing the copy clock counter, the routine returns to the interrupt processing 4 routine.

【0210】図19(b)には、ステップS1722の
コピー10処理のサブ・ルーチンが示されており、まず
図19(a)のステップS1902と同じ処理によっ
て、現在のテンポ・クロックを調べて、現在のテンポ・
クロックが拍の先頭であるか否かを判断する。
FIG. 19B shows a sub-routine of the copy 10 process of step S1722. First, the current tempo clock is checked by the same process as step S1902 of FIG. 19A. Current tempo
Determine if the clock is at the beginning of the beat.

【0211】図19(a)のステップS1902と同じ
処理の判断結果が肯定、即ち、現在のテンポ・クロック
が拍の先頭であるならば、ステップS1904’へ進
み、拍フラグ2を「オフ」にクリアした後に、割り込み
処理4ルーチンへリターンする。
If the determination result of the same process as step S1902 in FIG. 19A is affirmative, that is, if the current tempo clock is at the beginning of the beat, the process proceeds to step S1904 'and the beat flag 2 is set to "OFF". After clearing, return to the interrupt processing 4 routine.

【0212】一方、図19(a)のステップS1902
と同じ処理の判断結果が否定、即ち、現在のテンポ・ク
ロックが拍の先頭でないならば、ステップS1906’
へ進み、トラック2に記憶された演奏データの中の現在
のテンポ・クロック・カウンタの値に対応する箇所の演
奏データを、トラック4の現在のコピー・クロック・カ
ウンタの値に対応する箇所に書き込む。この際に、演奏
データの時間データを、コピー・クロック・カウンタの
示す値に対応するように書き換える。このステップS1
906’の処理を終了すると、図19(a)のステップ
S1908と同じ処理へ進み、コピー・クロック・カウ
ンタの値が最終クロック(4小節目の最後のクロック)
の値まで到達したか否かを判断する。この図19(a)
のステップS1908と同じ処理の判断結果が否定、即
ち、コピー・クロック・カウンタの値が最終クロックの
値に到達していないならば、図19(a)のステップS
1910と同じ処理へ進み、コピー・クロック・カウン
タを「1」インクリメントした後に、割り込み処理4ル
ーチンへリターンし、一方、図19(a)のステップS
1908と同じ処理の判断結果が肯定、即ち、コピー・
クロック・カウンタの値が最終クロックの値に到達した
ならば、図19(a)のステップS1912と同じ処理
へ進み、コピー・クロック・カウンタをクリアした後
に、割り込み処理4ルーチンへリターンする。
On the other hand, step S1902 of FIG.
If the determination result of the same processing as is negative, that is, if the current tempo clock is not the beginning of the beat, step S1906 ′.
And proceeds to write the performance data of the performance data stored in track 2 corresponding to the current tempo clock counter value to the location of track 4 corresponding to the current copy clock counter value. . At this time, the time data of the performance data is rewritten so as to correspond to the value indicated by the copy clock counter. This step S1
When the processing of 906 ′ is completed, the processing proceeds to the same processing as step S1908 of FIG. 19A, and the value of the copy clock counter is the final clock (the last clock of the fourth measure).
It is determined whether or not the value of has reached. This FIG. 19 (a)
19A is negative, that is, if the value of the copy clock counter has not reached the value of the final clock, the step S of FIG.
After proceeding to the same processing as 1910 and incrementing the copy clock counter by "1", it returns to the interrupt processing 4 routine, while step S of FIG.
The determination result of the same processing as 1908 is affirmative, that is, copy /
If the value of the clock counter reaches the value of the final clock, the process proceeds to the same process as step S1912 of FIG. 19A, the copy clock counter is cleared, and then the process returns to the interrupt processing 4 routine.

【0213】図18(c)には、ステップS1726の
コピー11処理のサブ・ルーチンが示されており、まず
図18(a)のステップS1802と同じ処理におい
て、現在のテンポ・クロックを調べて、現在のテンポ・
クロックが拍の先頭であるか否かを判断する。
FIG. 18C shows a sub-routine of the copy 11 process of step S1726. First, in the same process as step S1802 of FIG. 18A, the current tempo clock is checked, Current tempo
Determine if the clock is at the beginning of the beat.

【0214】図18(a)のステップS1802と同じ
処理の判断結果が肯定、即ち、現在のテンポ・クロック
が拍の先頭であるならば、ステップS1804’’へ進
み、拍フラグ3を「オン」にセットした後に、ステップ
S1806’’へ進む。
If the determination result of the same process as step S1802 in FIG. 18A is affirmative, that is, if the current tempo clock is at the beginning of the beat, the flow advances to step S1804 '' to set the beat flag 3 to "ON". After setting to, the process proceeds to step S1806 ″.

【0215】一方、図18(a)のステップS1802
と同じ処理の判断結果が否定、即ち、現在のテンポ・ク
ロックが拍の先頭でないならば、そのままステップS1
806’’へ進む。
On the other hand, step S1802 of FIG.
If the determination result of the same process as is negative, that is, if the current tempo clock is not the beginning of the beat, then step S1 is performed as it is.
Proceed to 806 ''.

【0216】ステップS1806’’では、拍フラグ3
が「オン」にセットされているか否かを判断し、その判
断結果が否定、即ち、拍フラグ3が「オフ」にクリアさ
れているならば、そのまま割り込み処理4ルーチンへリ
ターンする。
In step S1806 '', the beat flag 3
Is set to "ON", and if the result of the judgment is negative, that is, the beat flag 3 is cleared to "OFF", the routine directly returns to the interrupt processing 4 routine.

【0217】一方、ステップS1806’’の判断結果
が肯定、即ち、拍フラグ3が「オン」にセットされてい
るならば、ステップS1808’’へ進み、トラック3
に記憶された演奏データの中の現在のテンポ・クロック
・カウンタの値に対応する箇所の演奏データを、トラッ
ク4の現在のコピー・クロック・カウンタの値に対応す
る箇所に書き込む。この際に、演奏データの時間データ
を、コピー・クロック・カウンタの示す値に対応するよ
うに書き換える。このステップS1808’’の処理を
終了すると、図18(a)のステップS1810と同じ
処理へ進み、コピー・クロック・カウンタの値が最終ク
ロック(4小節目の最後のクロック)の値まで到達した
か否かを判断する。この図18(a)のステップS18
10と同じ処理の判断結果が否定、即ち、コピー・クロ
ック・カウンタの値が最終クロックの値に到達していな
いならば、図18(a)のステップS1812と同じ処
理へ進み、コピー・クロック・カウンタを「1」インク
リメントした後に、割り込み処理4ルーチンへリターン
し、一方、図18(a)のステップS1810と同じ処
理の判断結果が肯定、即ち、コピー・クロック・カウン
タの値が最終クロックの値に到達したならば、図18
(a)のステップS1814と同じ処理へ進み、コピー
・クロック・カウンタをクリアした後に、割り込み処理
4ルーチンへリターンする。
On the other hand, if the decision result in the step S1806 ″ is affirmative, that is, if the beat flag 3 is set to “ON”, the process advances to a step S1808 ″, and the track 3
The performance data at the location corresponding to the current tempo clock counter value in the performance data stored in is written in the location corresponding to the current copy clock counter value on track 4. At this time, the time data of the performance data is rewritten so as to correspond to the value indicated by the copy clock counter. When the process of step S1808 '' is completed, the process proceeds to the same process as step S1810 of FIG. 18A, and the value of the copy clock counter has reached the value of the final clock (the last clock of the fourth bar). Determine whether or not. Step S18 of FIG. 18 (a)
If the determination result of the same process as 10 is negative, that is, if the value of the copy clock counter has not reached the value of the final clock, the process proceeds to the same process as step S1812 of FIG. After incrementing the counter by “1”, the routine returns to the interrupt processing 4 routine, while the determination result of the same processing as step S1810 of FIG. 18A is affirmative, that is, the value of the copy clock counter is the value of the final clock. 18 is reached,
After proceeding to the same processing as step S1814 in (a) and clearing the copy clock counter, the routine returns to the interrupt processing 4 routine.

【0218】図19(c)には、ステップS1730の
コピー12処理のサブ・ルーチンが示されており、まず
図19(a)のステップS1902と同じ処理によっ
て、現在のテンポ・クロックを調べて、現在のテンポ・
クロックが拍の先頭であるか否かを判断する。
FIG. 19C shows a sub-routine of the copy 12 process of step S1730. First, the current tempo clock is checked by the same process as step S1902 of FIG. 19A. Current tempo
Determine if the clock is at the beginning of the beat.

【0219】図19(a)のステップS1902と同じ
処理の判断結果が肯定、即ち、現在のテンポ・クロック
が拍の先頭であるならば、ステップS1904’’へ進
み、拍フラグ3を「オフ」にクリアした後に、割り込み
処理4ルーチンへリターンする。
If the determination result of the same process as step S1902 in FIG. 19A is affirmative, that is, if the current tempo clock is at the beginning of the beat, the process proceeds to step S1904 '' and the beat flag 3 is set to "OFF". After clearing to 1, the routine returns to the interrupt processing 4 routine.

【0220】一方、図19(a)のステップS1902
と同じ処理の判断結果が否定、即ち、現在のテンポ・ク
ロックが拍の先頭でないならば、ステップS190
6’’へ進み、トラック3に記憶された演奏データの中
の現在のテンポ・クロック・カウンタの値に対応する箇
所の演奏データを、トラック4の現在のコピー・クロッ
ク・カウンタの値に対応する箇所に書き込む。この際
に、演奏データの時間データを、コピー・クロック・カ
ウンタの示す値に対応するように書き換える。このステ
ップS1906’’の処理を終了すると、図19(a)
のステップS1908と同じ処理へ進み、コピー・クロ
ック・カウンタの値が最終クロック(4小節目の最後の
クロック)の値まで到達したか否かを判断する。この図
19(a)のステップS1908と同じ処理の判断結果
が否定、即ち、コピー・クロック・カウンタの値が最終
クロックの値に到達していないならば、図19(a)の
ステップS1910と同じ処理へ進み、コピー・クロッ
ク・カウンタを「1」インクリメントした後に、割り込
み処理4ルーチンへリターンし、一方、図19(a)の
ステップS1908と同じ処理の判断結果が肯定、即
ち、コピー・クロック・カウンタの値が最終クロックの
値に到達したならば、図19(a)のステップS191
2と同じ処理へ進み、コピー・クロック・カウンタをク
リアした後に、割り込み処理4ルーチンへリターンす
る。
On the other hand, step S1902 of FIG.
If the determination result of the same processing as is negative, that is, if the current tempo clock is not the beginning of the beat, step S190
6 ", the performance data at the location corresponding to the current tempo clock counter value in the performance data stored in track 3 is assigned to the current copy clock counter value in track 4. Write in the place. At this time, the time data of the performance data is rewritten so as to correspond to the value indicated by the copy clock counter. When the processing of step S1906 ″ is completed, FIG.
Then, the process proceeds to the same process as step S1908, and it is determined whether the value of the copy clock counter has reached the value of the final clock (the last clock of the fourth measure). If the determination result of the same process as step S1908 of FIG. 19A is negative, that is, if the value of the copy clock counter has not reached the value of the final clock, the same as step S1910 of FIG. 19A. After advancing to the processing and incrementing the copy clock counter by "1", it returns to the interrupt processing 4 routine, while the judgment result of the same processing as step S1908 of FIG. 19A is affirmative, that is, the copy clock counter. If the value of the counter reaches the value of the final clock, step S191 of FIG.
After proceeding to the same processing as 2 and clearing the copy clock counter, the routine returns to the interrupt processing 4 routine.

【0221】このように、モード4においては、トラッ
ク1ボタン44乃至トラック3ボタン48を押すという
簡単な操作のみで、トラック1乃至トラック3に記憶さ
れた演奏データの所望の箇所を、トラック4に空白部分
を設けることなくトラック1ボタン44乃至トラック3
ボタン48の操作順にトラック4に記憶させることがで
きるので、トラック1乃至トラック3に記憶された演奏
データの所望の箇所を組み合わせた演奏データによる演
奏を、容易に行うことができるようになる。
As described above, in the mode 4, only a simple operation of pressing the track 1 button 44 to the track 3 button 48 causes the desired portion of the performance data stored in the tracks 1 to 3 to be recorded in the track 4. Track 1 button 44 to track 3 without providing a blank portion
Since the data can be stored in the track 4 in the order in which the buttons 48 are operated, it is possible to easily perform a performance with performance data in which desired portions of the performance data stored in the tracks 1 to 3 are combined.

【0222】[0222]

【発明の効果】本発明は、以上説明したように構成され
ているので、以下に記載されるような効果を奏する。
Since the present invention is configured as described above, it has the following effects.

【0223】演奏データを再生する再生手段と、再生手
段により再生される演奏データを記憶可能な記憶手段
と、再生手段による演奏データの再生中に、再生中の演
奏データの任意の範囲を演奏データの再生と同期して指
定する操作子と、操作子により指定された範囲の演奏デ
ータのみを記憶手段に記憶させる記憶制御手段とを有す
るようにしたため、再生手段により演奏データを再生さ
せながら、演奏データの所望の範囲を操作子によって指
定することにより、記憶制御手段によって当該所望の範
囲の演奏データを記憶手段に記憶させることができるの
で、コピーしたい演奏データの範囲の指定を容易に行う
ことができる。
Playback means for playing back the performance data, storage means for storing the performance data reproduced by the playback means, and performance data being played back by the playback means while playing back the performance data. Since there is provided an operator designated in synchronism with the playback of the performance data and a storage control means for storing only the performance data in the range designated by the operator in the storage means, the performance data is reproduced while being reproduced by the playback means. By designating a desired range of data with the operator, the performance control data of the desired range can be stored in the storage means by the storage control means, so that the range of performance data to be copied can be easily designated. it can.

【0224】このため、演奏データのコピーを行う際の
操作性を、著しく向上することができる。
Therefore, the operability in copying the performance data can be remarkably improved.

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

【図1】本発明の一実施例による自動演奏装置を示すブ
ロック構成図である。
FIG. 1 is a block diagram showing an automatic performance device according to an embodiment of the present invention.

【図2】トラック1乃至トラック3によって構成される
RAMの演奏データ・エリアを図表的に示す説明図であ
る。
FIG. 2 is an explanatory diagram schematically showing a performance data area of a RAM constituted by tracks 1 to 3;

【図3】図1に示す自動演奏装置の操作パネルの概略構
成説明図である。
FIG. 3 is a schematic configuration explanatory diagram of an operation panel of the automatic musical instrument shown in FIG.

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

【図5】モード1の動作例を示す説明図である。FIG. 5 is an explanatory diagram showing an operation example of mode 1;

【図6】割り込み処理1ルーチンを示すフローチャート
である。
FIG. 6 is a flowchart showing an interrupt processing 1 routine.

【図7】モード2の動作例を示す説明図である。FIG. 7 is an explanatory diagram showing an operation example of mode 2;

【図8】図7に示すモード2の動作例によりトラック4
に記憶された演奏データの演奏タイミング示す説明図で
ある。
8 shows a track 4 according to the operation example of mode 2 shown in FIG.
It is explanatory drawing which shows the performance timing of the performance data memorize | stored in.

【図9】割り込み処理2ルーチンを示すフローチャート
である。
FIG. 9 is a flowchart showing an interrupt processing 2 routine.

【図10】コピー処理ルーチンを示すフローチャートで
あり、(a)はコピー1処理ルーチンを示すフローチャ
ートであり、(b)はコピー3処理ルーチンを示すフロ
ーチャートであり、(c)はコピー5処理ルーチンを示
すフローチャートである。
FIG. 10 is a flowchart showing a copy processing routine, (a) is a flowchart showing a copy 1 processing routine, (b) is a flowchart showing a copy 3 processing routine, and (c) is a copy 5 processing routine. It is a flowchart shown.

【図11】コピー処理ルーチンを示すフローチャートで
あり、(a)はコピー2処理ルーチンを示すフローチャ
ートであり、(b)はコピー4処理ルーチンを示すフロ
ーチャートであり、(c)はコピー6処理ルーチンを示
すフローチャートである。
FIG. 11 is a flowchart showing a copy processing routine, (a) is a flowchart showing a copy 2 processing routine, (b) is a flowchart showing a copy 4 processing routine, and (c) is a copy 6 processing routine. It is a flowchart shown.

【図12】モード3の動作例を示す説明図である。FIG. 12 is an explanatory diagram showing an operation example of mode 3;

【図13】図12に示すモード3の動作例によりトラッ
ク4に記憶された演奏データの演奏タイミング示す説明
図である。
13 is an explanatory diagram showing performance timings of performance data stored in a track 4 in the operation example of mode 3 shown in FIG.

【図14】割り込み処理3ルーチンを示すフローチャー
トである。
FIG. 14 is a flowchart showing an interrupt processing 3 routine.

【図15】モード4の動作例を示す説明図である。FIG. 15 is an explanatory diagram showing an operation example of mode 4;

【図16】図15に示すモード4の動作例によりトラッ
ク4に記憶された演奏データの演奏タイミング示す説明
図である。
16 is an explanatory diagram showing performance timings of performance data stored in a track 4 in the operation example of mode 4 shown in FIG.

【図17】割り込み処理4ルーチンを示すフローチャー
トである。
FIG. 17 is a flowchart showing an interrupt processing 4 routine.

【図18】コピー処理ルーチンを示すフローチャートで
あり、(a)はコピー7処理ルーチンを示すフローチャ
ートであり、(b)はコピー9処理ルーチンを示すフロ
ーチャートであり、(c)はコピー11処理ルーチンを
示すフローチャートである。
FIG. 18 is a flowchart showing a copy processing routine, (a) is a flowchart showing a copy 7 processing routine, (b) is a flowchart showing a copy 9 processing routine, and (c) is a copy 11 processing routine. It is a flowchart shown.

【図19】コピー処理ルーチンを示すフローチャートで
あり、(a)はコピー8処理ルーチンを示すフローチャ
ートであり、(b)はコピー10処理ルーチンを示すフ
ローチャートであり、(c)はコピー12処理ルーチン
を示すフローチャートである。
FIG. 19 is a flowchart showing a copy processing routine, (a) is a flowchart showing a copy 8 processing routine, (b) is a flowchart showing a copy 10 processing routine, and (c) is a copy 12 processing routine. It is a flowchart shown.

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

10 CPU 12 バス 14 ROM 16 RAM 18 テンポ・クロック発生器 20 操作子部 22 表示部 24 トーン・ジェネレータ 26 アンプ 28 スピーカー 44 トラック1ボタン 46 トラック2ボタン 48 トラック3ボタン 50 トラック4ボタン 54 モード選択スイッチ 10 CPU 12 Bus 14 ROM 16 RAM 18 Tempo Clock Generator 20 Control Part 22 Display Part 24 Tone Generator 26 Amplifier 28 Speaker 44 Track 1 Button 46 Track 2 Button 48 Track 3 Button 50 Track 4 Button 54 Mode Selection Switch

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 演奏データを再生する再生手段と、 前記再生手段により再生される演奏データを記憶可能な
記憶手段と、 前記再生手段による演奏データの再生中に、再生中の演
奏データの任意の範囲を演奏データの再生と同期して指
定する操作子と、 前記操作子により指定された範囲の演奏データのみを前
記記憶手段に記憶させる記憶制御手段とを有することを
特徴とする自動演奏装置。
1. Playback means for playing back performance data, storage means for storing performance data played back by the playback means, and any of the performance data being played back during playback of the performance data by the playback means. An automatic performance device comprising: an operator for designating a range in synchronization with reproduction of performance data; and storage control means for storing only performance data in the range designated by the operator in the storage means.
【請求項2】 演奏データを少なくとも1つ以上選択可
能な選択手段と、 前記選択手段によって選択された演奏データを再生する
再生手段と、 前記再生手段により再生される演奏データを記憶可能な
記憶手段と、 前記再生手段による演奏データの再生中に、再生中の演
奏データの任意の範囲を演奏データの再生と同期して、
前記選択手段によって選択された演奏データ毎に指定可
能な操作子と、 前記操作子により指定された範囲の演奏データのみを前
記記憶手段に記憶させる記憶制御手段とを有することを
特徴とする自動演奏装置。
2. A selection means capable of selecting at least one performance data, a reproduction means for reproducing the performance data selected by the selection means, and a storage means capable of storing the performance data reproduced by the reproduction means. While the performance data is being reproduced by the reproducing means, an arbitrary range of the performance data being reproduced is synchronized with the reproduction of the performance data,
An automatic performance comprising: an operator that can be designated for each performance data selected by the selecting means; and a storage control means that stores in the storage means only performance data in a range designated by the operator. apparatus.
【請求項3】 前記演奏データはイベント・データと前
記イベント・データの発生時間を表す時間データとを有
して構成され、前記記憶手段は前記演奏データを前記イ
ベント・データと前記時間データとの単位で記憶する請
求項2記載の自動演奏装置。
3. The performance data is configured to include event data and time data representing a generation time of the event data, and the storage means stores the performance data into the event data and the time data. The automatic musical instrument according to claim 2, wherein the automatic musical instrument is stored in units.
【請求項4】 請求項3記載の自動演奏装置において、
前記記憶制御手段によって前記記憶手段に記憶される演
奏データの時間データを変更する変更手段を有する自動
演奏装置。
4. The automatic performance device according to claim 3,
An automatic performance device having a changing means for changing time data of performance data stored in the storage means by the storage control means.
【請求項5】 前記演奏データは自動リズム演奏データ
であって、前記再生手段は前記自動リズム演奏データを
繰り返し再生する請求項2、3または4のいずれか1項
に記載の自動演奏装置。
5. The automatic performance device according to claim 2, 3 or 4, wherein the performance data is automatic rhythm performance data, and the reproducing means repeatedly reproduces the automatic rhythm performance data.
JP7017539A 1995-01-09 1995-01-09 Automatically performing device Pending JPH08190378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7017539A JPH08190378A (en) 1995-01-09 1995-01-09 Automatically performing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7017539A JPH08190378A (en) 1995-01-09 1995-01-09 Automatically performing device

Publications (1)

Publication Number Publication Date
JPH08190378A true JPH08190378A (en) 1996-07-23

Family

ID=11946730

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7017539A Pending JPH08190378A (en) 1995-01-09 1995-01-09 Automatically performing device

Country Status (1)

Country Link
JP (1) JPH08190378A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7424586B2 (en) 2003-07-09 2008-09-09 Hitachi, Ltd. Data processing method with restricted data arrangement, storage area management method, and data processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7424586B2 (en) 2003-07-09 2008-09-09 Hitachi, Ltd. Data processing method with restricted data arrangement, storage area management method, and data processing system

Similar Documents

Publication Publication Date Title
KR920008291B1 (en) Auto-playing recording device
JP2001306069A (en) Playing information editing device
JP4159669B2 (en) Karaoke device characterized by control to switch from fast forward / rewind mode to playback mode
JPH08190378A (en) Automatically performing device
JP3980750B2 (en) Electronic musical instruments
JP2743808B2 (en) Automatic performance device
JP3428410B2 (en) Karaoke equipment
JP4265452B2 (en) Performance data reproducing apparatus and program
JP3318944B2 (en) Automatic performance device
JP3217591B2 (en) Electronic musical instrument
JP3939421B2 (en) Tempo setting device
JP3147111B2 (en) Automatic performance recording and playback device
JP2770767B2 (en) Automatic performance device
JP2570630B2 (en) Automatic performance device
JP3933122B2 (en) Music data production apparatus, music data production method and program thereof
JP2676754B2 (en) Automatic performance recorder
JPH01245677A (en) Method for editing video of 'karaoke' (recorded orchestral accompaniment)
JP3980751B2 (en) Electronic musical instruments
JPH068994B2 (en) Automatic playing device
JPS63231498A (en) audio editing device
JP2570631B2 (en) Automatic performance device
JP2006267173A (en) Device and program to edit performance data
JPH07101348B2 (en) Automatic playing device
JPH1138969A (en) Recording and reproducing device
JP2002169548A (en) Rhythm playing device and rhythm playing method