JP3245916B2 - Automatic performance device - Google Patents

Automatic performance device

Info

Publication number
JP3245916B2
JP3245916B2 JP00178692A JP178692A JP3245916B2 JP 3245916 B2 JP3245916 B2 JP 3245916B2 JP 00178692 A JP00178692 A JP 00178692A JP 178692 A JP178692 A JP 178692A JP 3245916 B2 JP3245916 B2 JP 3245916B2
Authority
JP
Japan
Prior art keywords
performance
recording
data
register
intro
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP00178692A
Other languages
Japanese (ja)
Other versions
JPH0619470A (en
Inventor
長谷部  雅彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP00178692A priority Critical patent/JP3245916B2/en
Publication of JPH0619470A publication Critical patent/JPH0619470A/en
Application granted granted Critical
Publication of JP3245916B2 publication Critical patent/JP3245916B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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 for performing automatic performance of music.

【0001】[0001]

【従来の技術】演奏データを記憶するメモリを備え、演
奏者によって指示された場合にメモリから演奏データを
逐次読み出し自動演奏を行う自動演奏装置が知られてい
る。従来、この種の自動演奏装置においては、演奏デー
タの入力はステップ入力方式によって行われており、楽
音の特徴を表す各データのうち音長データは音長スイッ
チにより、それ以外のデータを鍵盤等により入力されて
いた。
2. Description of the Related Art There is known an automatic performance apparatus which includes a memory for storing performance data and sequentially reads performance data from the memory when instructed by a player to perform an automatic performance. Conventionally, in this type of automatic performance apparatus, the input of performance data is performed by a step input method. Among the data representing the characteristics of musical tones, the duration data is transmitted by a duration switch, and the other data is input to a keyboard or the like. Was entered.

【0002】[0002]

【発明が解決しようとする課題】ところで、上述した従
来の自動演奏装置は、メモリに記録するすべての演奏デ
ータに対応した音長データを入力せねばならず、操作に
係る演奏者の負担が大きいという問題があった。また、
誤った音長データを入力してしまうことがあり、そのよ
うな場合に小節線とは異なったタイミングでエンディン
グ部等、曲を構成する特殊な部分の演奏が開始されてし
まい、意図しない変拍子演奏になってしまうなど、演奏
が不自然になるという問題があった。この発明は上述し
た事情に鑑みてなされたものであり、フィルイン部ある
いはエンディング部といった曲を構成する特殊な部分の
演奏データの入力を容易にすると共にこれらの各部分の
演奏を音長データの入力誤りがあった場合においても適
正なタイミングで開始することができる自動演奏装置を
提供することを目的とする。
In the above-mentioned conventional automatic performance apparatus, however, it is necessary to input the length data corresponding to all the performance data recorded in the memory. There was a problem. Also,
Incorrect pitch data may be input, and in such a case, the performance of special parts that compose the song, such as the ending part, will start at a different timing from the bar line, and There was a problem that the performance became unnatural, such as becoming a performance. SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and facilitates the input of performance data of special parts constituting a song, such as a fill-in section or an ending section, and inputs the performance of each of these sections by inputting duration data. It is an object of the present invention to provide an automatic performance device that can start at an appropriate timing even when an error occurs.

【0003】[0003]

【課題を解決するための手段】請求項1に係る発明は、
固定長のイントロ演奏、および任意長のメイン演奏の組
み合わせからなる自動演奏データを記録するものにおい
て、前記自動演奏データ中にイントロ演奏の記録を指示
する第1の記録指示手段と、前記自動演奏データ中にメ
イン演奏の記録を指示する第2の記録指示手段であっ
て、前記第2の記録指示手段はメイン演奏における任意
の演奏長を指示する長さ指示手段を含むものと、前記第
1の記録指示手段による記録指示に応じて、前記イント
ロ演奏の前記固定長分だけ記録位置を自動更新するとと
もに、前記第2の記録指示手段による記録指示に応じ
て、該第2の記録指示手段によって指示された任意の演
奏長分だけ記録位置を更新する記録位置更新手段と、前
記第1の記録指示手段による記録指示に応じて、自動演
奏データの先頭にイントロ演奏を記録するとともに、前
記第2の記録指示手段よる記録指示に応じて、前記記録
位置更新手段によって更新された記録位置へとメイン演
奏を記録する記録手段とを具備することを特徴とする。
また、請求項2に係る発明では、請求項1に記載の構成
に加え、前記記録位置更新手段によって更新された記録
位置を表示する表示手段を有することを特徴とする。
The invention according to claim 1 is
A device for recording automatic performance data comprising a combination of a fixed-length intro performance and an arbitrary-length main performance, wherein first recording instruction means for instructing recording of an intro performance in the automatic performance data; Second recording instructing means for instructing recording of a main performance therein, wherein the second recording instructing means includes a length instructing means for instructing an arbitrary playing length in the main performance; The recording position is automatically updated by the fixed length of the intro performance according to the recording instruction by the recording instruction means, and the recording position is instructed by the second recording instruction means in response to the recording instruction by the second recording instruction means. Recording position updating means for updating the recording position by a given arbitrary play length, and input to the head of the automatic performance data in response to a recording instruction by the first recording instruction means. Recording means for recording the performance and recording the main performance to the recording position updated by the recording position updating means in response to a recording instruction by the second recording instruction means. .
According to a second aspect of the present invention, in addition to the configuration of the first aspect, a display unit for displaying the recording position updated by the recording position updating unit is provided.

【0004】[0004]

【作用】上記請求項1に係る発明によれば、曲の特定部
については音長データの入力を省略することができる。
上記請求項2に係る発明によれば、誤って音長を指定し
た場合など、第1の演奏データによる発音期間が不適当
であっても第1の演奏データの指定する音長が変更され
るので、第2の演奏データによる演奏は所定の位置から
行われる。
According to the first aspect of the present invention, it is possible to omit the input of the sound duration data in the music identification section.
According to the second aspect of the invention, even when the tone length is incorrectly specified, for example, when the tone length of the first performance data is inappropriate, the tone length specified by the first performance data is changed. Therefore, the performance based on the second performance data is performed from a predetermined position.

【0005】[0005]

【実施例】以下、図面を参照し、本発明の一実施例を説
明する。図1はこの発明の一実施例による自動演奏装置
の構成を示すブロック図である。この図において、1は
パッドスイッチ群、2は演奏制御に係るパラメータ設定
あるいはモード設定を指示するための操作子群、3は表
示器である。なお、これらの要素の詳細については後述
する。4はこの自動演奏装置を構成する各部を制御する
CPU(中央処理ユニット)である。5はタイマ発振器
であり、CPU4に対し一定周期間隔でタイマ割込み信
号RINTを出力する。また、6はROMであり、CP
U4が実行する各種制御プログラムの他、制御に必要な
制御情報あるいは各種演奏パターン等が記憶されてい
る。また、7はRAM(ランダムアクセスメモリ)であ
り、後述のコードシーケンス演奏のための演奏データが
記憶される他、CPU3が行う制御に使用されるレジス
タ、フラグなどが設定される。なお、RAM7に設定さ
れるレジスタ、フラグについては後述する。8はリズム
音源であり、CPU1から与えられる発音指示に従って
リズム音を形成する。また、9は音階音音源であり、C
PU1からの発音指示によって指定された音高の楽音を
形成する。これらの各音源によって形成された楽音はサ
ウンドシステム10によって発音される。Bはバスであ
り、以上説明した各要素1、2、3、4、6、7、8お
よび9によって行われる各種データの授受のための通信
経路として使用される。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an automatic performance device according to one embodiment of the present invention. In this figure, reference numeral 1 denotes a pad switch group, 2 denotes an operator group for instructing parameter setting or mode setting relating to performance control, and 3 denotes a display. The details of these elements will be described later. Reference numeral 4 denotes a CPU (Central Processing Unit) that controls each unit constituting the automatic performance device. Reference numeral 5 denotes a timer oscillator, which outputs a timer interrupt signal RINT to the CPU 4 at regular intervals. Reference numeral 6 denotes a ROM, and CP
In addition to various control programs executed by U4, control information necessary for control or various performance patterns are stored. Reference numeral 7 denotes a RAM (random access memory) which stores performance data for a chord sequence to be described later, and sets registers, flags, and the like used for control performed by the CPU 3. The registers and flags set in the RAM 7 will be described later. Reference numeral 8 denotes a rhythm sound source, which forms a rhythm sound in accordance with a pronunciation instruction given from the CPU 1. 9 is a scale sound source;
A musical tone having a pitch specified by a sounding instruction from PU1 is formed. The tone generated by each of these sound sources is generated by the sound system 10. A bus B is used as a communication path for transmitting and receiving various data performed by the above-described elements 1, 2, 3, 4, 6, 7, 8, and 9.

【0006】次に図2はこの自動演奏装置の外観を示す
平面図である。図2において、PA1〜PAkは各々パ
ッドであり、これらの各パッドの下部に図1におけるパ
ッドスイッチ群1を構成する各パッドスイッチが設けら
れている。SPLおよびSPRは図1におけるサウンド
システム10を構成する左右のスピーカである。また、
20は操作パネル部であり、この部分に図1における操
作子スイッチ群2および表示器3が配備されている。図
3は操作パネル部20に配備された操作子群2および表
示器3を示す平面図である。この図に示すように表示器
3は7セグメント2桁の表示器によって構成されてい
る。また、操作パネル部20には、操作子群2に相当す
る主な操作子として、数値入力のためのテンキー20
1、記録あるいは再生を行う曲番号を指示するためのソ
ングスイッチ202〜204、音量調整用のボリューム
205、記録の開始を指示するためのレコードスイッチ
206、シフトスイッチ207、フィルイン部の記録/
再生の指示を行うためのフィルインスイッチ208、イ
ントロ部あるいはエンデイグ部の記録/再生の指示を行
うためのイントロ/エンディングスイッチ209および
自動演奏の開始を指示するためのスタート/ストップス
イッチ210などが設けられている。また、この他、操
作パネル部20には電源スイッチ301が配備されてい
る。
FIG. 2 is a plan view showing the appearance of the automatic performance device. In FIG. 2, PA1 to PAk are pads, and each of the pad switches constituting the pad switch group 1 in FIG. 1 is provided below these pads. SPL and SPR are left and right speakers constituting the sound system 10 in FIG. Also,
Reference numeral 20 denotes an operation panel section, on which the operator switch group 2 and the display 3 in FIG. 1 are provided. FIG. 3 is a plan view showing the operator group 2 and the display 3 provided in the operation panel section 20. As shown in this figure, the display 3 is constituted by a 7-segment 2-digit display. The operation panel unit 20 includes, as main operation elements corresponding to the operation element group 2, numeric keys 20 for inputting numerical values.
1. Song switches 202 to 204 for indicating the number of a song to be recorded or reproduced, a volume 205 for adjusting the volume, a record switch 206 for instructing the start of recording, a shift switch 207, and recording / recording of a fill-in section.
There are provided a fill-in switch 208 for instructing reproduction, an intro / ending switch 209 for instructing recording / reproducing of an intro or ending part, and a start / stop switch 210 for instructing start of automatic performance. ing. In addition, a power switch 301 is provided on the operation panel unit 20.

【0007】次にROM6に記憶された主な制御データ
について説明する。 パッド番号テーブルPAD(i)(i=1〜k):この
パッド番号テーブルPAD(i)(i=1〜k)にはパ
ッドPA1〜PAkの各々のパッド番号0〜k−1が各
々記憶されている。 根音テーブルTBLRT(i)(i=0〜k−1):こ
の根音テーブルTBLRT(i)(i=0〜k−1)に
は、パッド番号0〜k−1の各々に対して割り当てられ
た根音に対応した情報が各々記憶されている。 コードタイプテーブルTBLTYP(i)(i=0〜k
−1):このコードタイプテーブルTBLTYP(i)
(i=0〜k−1)には、パッド番号0〜k−1の各々
に対して割り当てられたコードタイプに対応した情報が
各々記憶されている。
Next, main control data stored in the ROM 6 will be described. Pad number table PAD (i) (i = 1 to k): This pad number table PAD (i) (i = 1 to k) stores pad numbers 0 to k-1 of pads PA1 to PAk, respectively. ing. Root note table TBLRT (i) (i = 0 to k-1): This root note table TBLRT (i) (i = 0 to k-1) is assigned to each of pad numbers 0 to k-1. Information corresponding to each of the roots is stored. Code type table TBLTYP (i) (i = 0 to k
-1): This code type table TBLTYP (i)
In (i = 0 to k-1), information corresponding to the code type assigned to each of the pad numbers 0 to k-1 is stored.

【0008】次にRAM7の記憶エリアを使用して構成
される制御用のレジスタおよびフラグ類を以下列挙し説
明する。 コードメモリエリアCRDMEM(ADR):このコー
ドメモリエリアCRDMEM(ADR)にはコードシー
ケンス演奏のための演奏データが記憶される。コードシ
ーケンス演奏とは、曲の進行に合せてコード進行と各ア
ンサンブルパートの演奏パターン進行とを記録し再生
し、それらのコードと演奏パターンとを組み合わせて演
奏音を決め、曲の自動演奏を行うものである。本実施例
においては、コードメモリエリアCRDMEM(AD
R)に3曲分の演奏データを記録することができる。図
4はコードメモリエリアCRDMEM(ADR)に記憶
される演奏データのフォーマットを示すものである。こ
の図に示すように、1個の演奏データは、モードデー
タ、根音データ、コードタイプデータおよび音長データ
からなる。ここで、モードデータは演奏データの最上位
2ビットを構成するデータであり、ROM6内に記憶さ
れた種々の演奏パターンのうち再生すべき演奏パターン
を指定する。すなわち、モードデータの内容が00B
(Bはバイナリの意)である演奏データはイントロパタ
ーンを指定するものであり、モードデータの内容が01
Bである演奏データはフィルインパターンを指定するも
のであり、モードデータの内容が10Bである演奏デー
タはエンディングパターン(1小節に固定)を指定す
る。また、モードデータの内容が11Bである演奏デー
タが根音データ、コードタイプデータおよび音長データ
に基づく通常の自動演奏パターン(以下、ノーマルパタ
ーンという)を指定する。演奏データにおけるモードデ
ータが11B以外の場合は音長データの入力は不要であ
る。根音データおよびコードタイプデータは、発音すべ
きコード(和音)を指定し、音長データはコードの時間
的な長さ、すなわち、音符長を指定する。図5〜図7は
各々コードメモリエリアCRDMEM(ADR)に記憶
された演奏データの例を楽譜のイメージで表わしたもの
である。これらの図において、上段の枠内に記載された
数字はモードデータを表わしており、下段の枠内に記載
された記号は根音データおよびコードタイプデータによ
って指定されたコードを表わしている。なお、音長デー
タは図示が省略されている。また、これらの各図におい
て下から上に向う矢印が多数示されているが、これらの
矢印は各々小節線タイミングを示している。図5は全小
節がノーマルパターンの曲の例であり、各小節毎にコー
ドがC、G7、Em、C7、…Cと進行することが示され
ている。この実施例の場合、この曲は、スタートストッ
プスイッチが押されない限り、第1小節から最後の小節
までがエンドレスに繰り返される。図6は、最後の小節
のみがエンディングパターン、他はノーマルパターンで
ある曲の例であり、コード進行は図5の場合と同様であ
る。この実施例の場合、この曲は、第1小節から順次演
奏された後、最後のエンディングパターンを演奏した
後、終了する。図7は、第1小節の前の2小節分(ファ
クトリプリセットによる固定値)がイントロパターンで
あってそれ以降がノーマルパターンである曲の例であ
り、コード進行は図5の場合と同様である。また、イン
トロパターンのコードは指定されておらず、リズム演奏
のみが行われる。何等かのコードを指定した場合にはベ
ースやコードバッキングの演奏も加えられる。この実施
例の場合、この曲は、イントロパターン2小節が演奏さ
れた後、スタートストップスイッチが押されない限り、
イントロパターンを除いた第1小節から最終小節までが
エンドレスに繰り返される。
Next, control registers and flags constructed using the storage area of the RAM 7 will be listed and described below. Code memory area CRDMEM (ADR): This code memory area CRDMEM (ADR) stores performance data for performing a chord sequence. Chord sequence performance means that the chord progression and the performance pattern progression of each ensemble part are recorded and played back as the music progresses, and the chords and performance patterns are combined to determine the performance sound and perform the music automatically. Things. In this embodiment, the code memory area CRDMEM (AD
R) can record performance data for three songs. FIG. 4 shows the format of performance data stored in the code memory area CRDMEM (ADR). As shown in this figure, one piece of performance data includes mode data, root note data, chord type data, and note length data. Here, the mode data is data constituting the most significant 2 bits of the performance data, and designates a performance pattern to be reproduced among various performance patterns stored in the ROM 6. That is, the content of the mode data is 00B
The performance data (B means binary) specifies an intro pattern, and the content of the mode data is 01.
The performance data of B specifies a fill-in pattern, and the performance data of mode data of 10B specifies an ending pattern (fixed to one bar). The performance data whose mode data content is 11B specifies a normal automatic performance pattern (hereinafter, referred to as a normal pattern) based on root data, chord type data, and duration data. When the mode data in the performance data is other than 11B, it is not necessary to input the sound length data. The root note data and the chord type data specify a chord (chord) to be pronounced, and the note length data specifies a time length of the chord, that is, a note length. FIGS. 5 to 7 show examples of performance data stored in the code memory area CRDMEM (ADR) in the form of a musical score. In these figures, the numbers described in the upper frame represent the mode data, and the symbols described in the lower frame represent the chord specified by the root data and the chord type data. Note that the sound length data is not shown. Further, in each of these figures, a large number of arrows pointing from bottom to top are shown, and each of these arrows indicates a bar line timing. FIG. 5 shows an example of a tune having a normal pattern in all measures, and shows that the chord progresses in each measure in the order of C, G 7 , Em , C 7 ,. In the case of this embodiment, this song repeats endlessly from the first bar to the last bar unless the start / stop switch is pressed. FIG. 6 shows an example of a song in which only the last bar has an ending pattern and the others have a normal pattern, and the chord progression is the same as in FIG. In the case of this embodiment, the music is played sequentially from the first bar, then the last ending pattern is played, and the song ends. FIG. 7 shows an example of a song in which two bars (fixed value by factory preset) before the first bar are an intro pattern and subsequent portions are normal patterns, and the chord progression is the same as in FIG. . Also, the code of the intro pattern is not specified, and only the rhythm performance is performed. If any chord is specified, bass and chord backing performances are also added. In the case of this embodiment, this song is played as long as the start / stop switch is not pressed after the second bar of the intro pattern is played.
The first bar to the last bar excluding the intro pattern are repeated endlessly.

【0009】回数レジスタCNT:この回数レジスタC
NTは、パッドが叩かれた回数を記憶するのに用いられ
る。根音レジスタRTBUF:この根音レジスタRTB
UFには、パッド操作によって指定された根音に対応し
た情報が書き込まれる。コードタイプレジスタCRDT
YP:この根音レジスタRTBUFには、パッド操作に
よって指定されたコードタイプに対応した情報が書き込
まれる。ビートレジスタBT:このビートレジスタBT
には、現在再生中の演奏データあるいは現在書込中の演
奏データが当該小節内における何拍目のものであるかを
示す値が記憶される。小節番号レジスタBAR:この小
節番号レジスタBARには、現在再生中の演奏データあ
るいは現在書込中の演奏データが曲の先頭から何番目の
小節であるかを示す値が記憶される。タイミングレジス
タLN:このタイミングレジスタLNは、表示器3の上
位桁に表示される数値を記憶する上位桁記憶エリアと下
位桁に表示される数値を記憶する下位桁記憶エリアとか
らなり、上位桁記憶エリアには小節番号レジスタBAR
の内容が書き込まれ、下位桁記憶エリアにはビートレジ
スタBTの内容が書き込まれる。最終小節番号レジスタ
SONG(i)(i=1〜3):これらの最終小節数レ
ジスタSONG(i)(i=1〜3)には、コードメモ
リエリアCRDMEM(ADR)に記憶された演奏デー
タに対応した第1〜第3の曲の最後の小節の番号が記憶
される。テンポカウンタレジスタTCL:このテンポカ
ウンタレジスタTCLは、再生中における計時を行うた
めに用いられるレジスタであり、タイマ5からCPU4
へ割込み信号が送られる毎にインクリメントされる。小
節線カウンタレジスタBARCTR:この小節線カウン
タレジスタBARCTRは、再生を終えた小節の数を記
憶のに使用される。イントロフラグINTR:このイン
トロフラグINTRは、イントロ演奏を指示する演奏デ
ータを読み出した場合、イントロ/エンディングスイッ
チ209が押下された場合、あるいは最終小節の演奏デ
ータの再生を終えた場合にセットされる。自動演奏中に
イントロフラグINTRがセットされると、イントロ演
奏が行われる。フィルインフラグFI:このフィルイン
フラグFIは、フィルイン演奏を指示する演奏データを
読み出した場合あるいはフィルインスイッチ208が押
下された場合にセットされる。自動演奏中にフィルイン
フラグFIがセットされると、フィルイン演奏が行われ
る。エンディングフラグEND:このエンディングフラ
ENDは、エンディング演奏を指示する演奏データを
読み出した場合あるいはイントロ/エンディングスイッ
チ209が押下された場合にセットされる。自動演奏中
にエンディングフラグENDがセットされると、エンデ
ィング演奏が行われ、自動演奏が終了する。レコードフ
ラグREC:このレコードフラグRECは、レコードス
イッチ206が押下されることにより、セットされる。
ランフラグRUN:このランフラグRUNがセットされ
ることにより、自動演奏が開始される。シフトフラグS
FT:このシフトフラグSFTは、シフトスイッチ20
7が押下されている期間、セットされる。オートベース
モードフラグAB:このオートベースモードフラグAB
は、図示しないオートベーススイッチが押下され、オー
トベース演奏を行うモードとなった場合にセットされ
る。コードメモリフラグCMFRG:このコードメモリ
フラグCMFRGの内容により、以下に示すようにコー
ドメモリエリアCRDMEMにおける記録/再生の制御
が行われる。CMFRG=00B(ただし、Bはバイナ
リの意味)…記録および再生は共に禁止。この状態にお
いて、この自動演奏装置は、自動演奏機能を有さず、演
奏操作によってのみ発音する通常の電子楽器として動作
する。CMFRG=01B…再生のみ許可。CMFRG
=10B…記録のみ許可。この状態においてマニュアル
ステップ入力によるコード入力が行われる。CMFRG
=11B…記録および再生の両方を許可。この状態にお
いて、コードメモリエリアCRDMEMからの演奏デー
タを再生しながらコード入力によってコードメモリエリ
アCRDMEMの内容の更新とをするリアルタイムコー
ド入力が行われる。
Number register CNT: This number register C
NT is used to store the number of times the pad has been hit. Root register RTBUF: This root register RTB
In the UF, information corresponding to the root specified by the pad operation is written. Code type register CRDT
YP: Information corresponding to the code type specified by the pad operation is written in this root register RTBUF. Beat register BT: This beat register BT
Stores a value indicating the number of beats in the bar of the currently reproduced performance data or the currently written performance data. Measure number register BAR: The measure number register BAR stores a value indicating the number of measures from the beginning of the music piece of the currently reproduced performance data or the currently written performance data. Timing register LN: This timing register LN includes an upper digit storage area for storing a numerical value displayed in the upper digit of the display 3 and a lower digit storage area for storing a numerical value displayed in the lower digit. Bar number register BAR in area
Is written, and the content of the beat register BT is written in the lower digit storage area. Last measure number register SONG (i) (i = 1 to 3): These last measure number registers SONG (i) (i = 1 to 3) store performance data stored in the code memory area CRDMEM (ADR). The number of the last bar of the corresponding first to third music pieces is stored. Tempo counter register TCL: This tempo counter register TCL is a register used to measure the time during playback.
Is incremented each time an interrupt signal is sent to Bar line counter register BARCTR: This bar line counter register BARCTR is used to store the number of bars that have been played. Intro flag INTR: This intro flag INTR is set when the performance data instructing the intro performance is read, when the intro / ending switch 209 is pressed, or when the reproduction of the performance data of the last bar is finished. When the intro flag INTR is set during the automatic performance, the intro performance is performed. Fill-in flag FI: This fill-in flag FI is set when performance data instructing a fill-in performance is read or when the fill-in switch 208 is pressed. When the fill-in flag FI is set during the automatic performance, the fill-in performance is performed. Ending flag END: This ending flag END is set when performance data indicating an ending performance is read out or when the intro / ending switch 209 is pressed. If the ending flag END is set during the automatic performance, the ending performance is performed and the automatic performance ends. Record flag REC: The record flag REC is set when the record switch 206 is pressed.
Run flag RUN: Automatic performance is started by setting this run flag RUN. Shift flag S
FT: The shift flag SFT is determined by the shift switch 20
It is set while 7 is pressed. Auto base mode flag AB: This auto base mode flag AB
Is set when an auto bass switch (not shown) is pressed to enter a mode for performing auto bass performance. Code memory flag CMFRG: The content of the code memory flag CMFRG controls recording / reproduction in the code memory area CRDMEM as described below. CMFRG = 00B (B means binary) ... Both recording and reproduction are prohibited. In this state, the automatic performance device operates as a normal electronic musical instrument that has no automatic performance function and emits sound only by a performance operation. CMFRG = 01B: Only reproduction is permitted. CMFRG
= 10B: Only recording is permitted. In this state, code input by manual step input is performed. CMFRG
= 11B Both recording and reproduction are permitted. In this state, real-time code input for updating the contents of the code memory area CRDMEM by code input is performed while playing back performance data from the code memory area CRDMEM.

【0010】以下、図8〜図17に示すフローチャート
を参照し、この電子楽器の動作を説明する。この自動演
奏装置の電源スイッチ301がオン状態にされると、C
PU4は図8にフローを示すメインルーチンを実行す
る。まず、ステップS1に進み、RAM6における制御
用レジスタ、フラグ類に初期値を設定する。次にステッ
プS2に進み、その時点においてパッドスイッチ群1に
おけるいずれかのパッドスイッチのオンイベントが検出
されている場合には図9にフローを示すパッドスイッチ
処理ルーチンを実行する。次にステップS3に進み、そ
の時点においてテンキー201におけるいずれかのキー
のオンイベントが検出されている場合には図10にフロ
ーを示すテンキーオンイベント処理ルーチンを実行す
る。次にステップS4に進み、その時点においてレコー
ドスイッチ206のオンイベントあるいはオフイベント
が検出されている場合には図11にフローを示すレコー
ドスイッチオン/オフイベント処理ルーチンを実行す
る。次にステップS5に進み、その時点においてソング
スイッチ202〜204のうちいずれかのスイッチのオ
ンイベントが検出されている場合には図12にフローを
示すソングスイッチオンイベント処理ルーチンを実行す
る。次にステップS6に進み、その時点においてイント
ロ/エンディングスイッチ209のオンイベントが検出
されている場合には図13にフローを示すイントロ/エ
ンディングスイッチオンイベント処理ルーチンを実行す
る。次にステップS7に進み、その時点においてスター
ト/ストップスイッチ210のオンイベントが検出され
ている場合には図14にフローを示すスタート/ストッ
プスイッチオンイベント処理ルーチンを実行する。次に
ステップS8に進み、その時点においてシフトスイッチ
207のオンイベントが検出されている場合には図15
にフローを示すシフトスイッチオン/オフイベント処理
ルーチンを実行する。次にステップS9に進み、その時
点においてフィルインスイッチ208のオンイベントが
検出されている場合には図16にフローを示すフィルイ
ンスイッチオン/オフイベント処理ルーチンを実行す
る。次にステップS10に進み、その時点においてオー
トベーススイッチ(図示略)のオンイベントが検出され
ている場合には図17にフローを示すオートベーススイ
ッチオンイベント処理ルーチンを実行し、オートベース
モードフラグABの内容を反転する。そして、ステップ
S2に戻り、以後、ステップS2〜S10の各処理を繰
り返す。一方、一定周期毎にタイマ5からCPU4に割
込み信号RINTが入力される。そして、CPU4は割
込み信号RINTが入力される毎にその時点において実
行中の処理を中断し、図18および19にフローを示す
リズムインタラプトルーチンを実行する。まず、ステッ
プS1001に進み、ランフラグRUNの内容が“1”
か否かを判断する。この判断結果が「YES」である場
合はステップS1002以降の処理へ進む。また、ステ
ップS1001の判断結果が「NO」の場合はリズムイ
ンタラプトルーチンを終了する。そして、CPU4は中
断していた処理を再開する。
The operation of the electronic musical instrument will be described below with reference to flowcharts shown in FIGS. When the power switch 301 of the automatic performance device is turned on, C
The PU 4 executes a main routine whose flow is shown in FIG. First, the process proceeds to step S1, where initial values are set in control registers and flags in the RAM 6. Next, proceeding to step S2, if an ON event of any of the pad switches in the pad switch group 1 has been detected at that time, a pad switch processing routine shown in FIG. 9 is executed. Next, the process proceeds to step S3, and if an ON event of any key of the ten keys 201 is detected at that time, a ten key ON event processing routine shown in FIG. 10 is executed. Next, proceeding to step S4, if an ON event or an OFF event of the record switch 206 is detected at that time, a record switch ON / OFF event processing routine shown in FIG. 11 is executed. Next, proceeding to step S5, if an ON event of any of the song switches 202 to 204 is detected at that time, a song switch ON event processing routine shown in FIG. 12 is executed. Next, proceeding to step S6, if the on event of the intro / ending switch 209 is detected at that time, the intro / ending switch on event processing routine shown in FIG. 13 is executed. Next, the process proceeds to step S7, and if an ON event of the start / stop switch 210 is detected at that time, a start / stop switch ON event processing routine whose flow is shown in FIG. 14 is executed. Next, the process proceeds to step S8. If the on event of the shift switch 207 is detected at that time,
The shift switch on / off event processing routine shown in FIG. Next, proceeding to step S9, if an ON event of the fill-in switch 208 is detected at that time, a fill-in switch ON / OFF event processing routine shown in FIG. 16 is executed. Next, the process proceeds to step S10. If an on event of the auto base switch (not shown) is detected at that time, an auto base switch on event processing routine shown in FIG. 17 is executed to execute the auto base mode flag AB. Invert the contents of Then, the process returns to step S2, and thereafter, the processes of steps S2 to S10 are repeated. On the other hand, the interrupt signal RINT is input from the timer 5 to the CPU 4 at regular intervals. Then, every time the interrupt signal RINT is input, the CPU 4 interrupts the process being executed at that time and executes a rhythm interrupt routine shown in the flow charts of FIGS. First, the process proceeds to step S1001, where the content of the run flag RUN is "1".
It is determined whether or not. If the result of this determination is “YES”, the flow proceeds to processing from step S1002. If the decision result in the step S1001 is "NO", the rhythm interrupt routine is ended. Then, the CPU 4 resumes the interrupted processing.

【0011】<楽器モード(CMFRG=00B)>演
奏者がパッドPA1〜PAkのうちいずれかのパッドP
Nを叩くと、そのパッドに対応したパッドスイッチの
オンイベントがCPU4によって検出される。この結
果、メインルーチンのステップS2において以下説明す
るようにパッドスイッチオンイベント処理ルーチンが実
行される。まず、ステップS201に進み、コードメモ
リフラグCMFRGの内容が10Bであるか否かを判断
する。初期化がなされた時点においては、コードメモリ
フラグCRDFLGには通常の電子楽器としての動作モ
ードに対応したデータ00Bが書き込まれており、ステ
ップS201の判断結果は「NO」となってステップS
202に進む。そして、パッドPANに対応したパッド
番号テーブルの内容PAD(N)を音階音音源9へ送
る。この結果、音階音音源9により、パッド番号PAD
(N)に対応した音階の楽音が発音される。そして、パ
ッドオンイベント処理ルーチンを終了し、メインルーチ
ンに戻る。
<Musical instrument mode (CMFRG = 00B)> The player can select one of the pads PA1 to PAk P
When tapping the A N, ON event of the pad switch corresponding to that pad is detected by the CPU 4. As a result, a pad switch-on event processing routine is executed in step S2 of the main routine as described below. First, the process proceeds to step S201, and it is determined whether or not the content of the code memory flag CMFRG is 10B. At the time of initialization, data 00B corresponding to the operation mode as a normal electronic musical instrument is written in the code memory flag CRDFLG, and the determination result in step S201 becomes "NO" and the
Proceed to 202. Then, send the contents of the pad number table corresponding to the pad PA N PAD (N) is to scale sound source 9. As a result, the pad number PAD
A musical tone of a scale corresponding to (N) is generated. Then, the pad-on event processing routine ends, and the process returns to the main routine.

【0012】<記録モード(CMFRG=10B)>演
奏者は演奏データの記録を行うに際し、演奏者はレコー
ドスイッチ206をオン状態にする。この結果、レコー
ドスイッチ206のオンイベントがCPU4によって検
知され、メインルーチンのステップS4においてレコー
ドスイッチオン/オフイベント処理ルーチンが実行され
る。まず、ステップS401に進み、検出したのがオン
イベントであるか否かを判断する。この場合、ステップ
S402の判断結果は「YES」となり、レコードフラ
グRECに“1”をセットし(ステップS402)、メ
インルーチンに戻る。次に演奏者はソングスイッチ20
2〜204のうち演奏データの記録を行おうとする曲の
番号に対応したスイッチをオン状態にする。このソング
スイッチのオンイベントがCPU4によって検知される
と、メインルーチンのステップS5においてソングスイ
ッチオンイベント処理ルーチンが実行される。まず、ス
テップS501に進み、検出したオンイベントに基づ
き、押されたソングスイッチに対応した番号を変数レジ
スタiに書き込む。次いでステップS502に進み、レ
コードフラグRECの内容が“1”であるか否かを判断
する。この場合のようにレコードフラグRECに“1”
がセットされている場合は、ステップS502の判断結
果が「YES」となってステップS503に進み、コー
ドメモリフラグCMFRGに記録モードに対応したモー
ドデータ10Bを書き込む。そして、メインルーチンに
戻る。
<Recording Mode (CMFRG = 10B)> The player turns on the record switch 206 when recording performance data. As a result, the ON event of the record switch 206 is detected by the CPU 4, and the record switch ON / OFF event processing routine is executed in step S4 of the main routine. First, the process proceeds to step S401, and it is determined whether or not an ON event is detected. In this case, the result of the determination in step S402 is "YES", the record flag REC is set to "1" (step S402), and the process returns to the main routine. Next, the player switches to song switch 20.
The switch corresponding to the number of the music piece for which the performance data is to be recorded among 2 to 204 is turned on. When the song switch ON event is detected by the CPU 4, a song switch ON event processing routine is executed in step S5 of the main routine. First, in step S501, the number corresponding to the pressed song switch is written to the variable register i based on the detected ON event. Next, the process proceeds to step S502, and it is determined whether or not the content of the record flag REC is "1". As in this case, the record flag REC is set to "1".
Is set, the result of the determination in step S502 is "YES", the flow advances to step S503, and the mode data 10B corresponding to the recording mode is written in the code memory flag CMFRG. Then, the process returns to the main routine.

【0013】このようにして演奏データの記録が可能と
なり、演奏者は以下説明するようにパッドとテンキーを
操作することにより、演奏データを入力する。まず、演
奏者は記録しようとするコードの根音に対応したパッ
ド、例えばパッドPANを叩く。この結果、叩かれたパ
ッドのパッドスイッチオンイベントがCPU4によって
検出され、メインルーチンのステップS2においてパッ
ドスイッチオンイベント処理ルーチンが実行される。ま
ず、ステップS201に進み、コードメモリフラグCM
FLGの内容が10Bであるか否かを判断する。この場
合、CMFLG=10Bとなっていることからステップ
S201の判断結果は「YES」となり、ステップS2
03に進む。そして、回数レジスタCNTの内容をイン
クリメントする。今回のパッド操作が第1回目のパッド
操作である場合にはインクリメントによってCNT=
「1」となる。なお、“第1回目のパッド操作”の意味
するところについては後述する。次にステップS204
に進み、回数レジスタCNTの内容が「1」であるか否
か、すなわち、今回のパッド操作が第1回目か否かを判
断する。第1回目のパッド操作の場合はステップS20
4の判断結果が「YES」となってステップS205に
進み、ROM6における根音テーブルTBLRT(i)
(i=0〜k−1)から叩かれたパッドPANに対応し
た根音データTBLRT(PAD(N))を読み出し、
根音レジスタRTBUFに書き込む。また、根音レジス
タRTBUFの内容を音階音音源9へ送る。この結果、
パッドPANに対応した根音が音階音音源9によって発
音される。次にステップS206に進み、シフトフラグ
SFTの内容が“1”であるか否かを判断する。この時
点においてシフトスイッチ207がオフ状態である場合
はSFT=“0”となっており、ステップS206の判
断結果は「NO」となってステップS207に進む。そ
して、回数レジスタCNTの内容が「2」以上であるか
否かを判断する。この場合、ステップS207の判断結
果は「NO」となってメインルーチンに戻る。そして、
演奏者は発音された根音を確認し、根音が所望のコード
のものである場合には、所望のコードのコードタイプに
対応したパッド、例えばパッドPAMを叩く。この結
果、メインルーチンのステップS2において再びパッド
スイッチオンイベント処理ルーチンが実行される。この
場合、ステップS203に進んだ時、回数レジスタCN
Tがインクリメントされることにより、CNT=「2」
となる。このため、ステップS204に進んだ時、その
判断結果が「NO」となり、ステップS207に進む。
そして、回数レジスタCNTの内容が「2」以上である
か否か、すなわち、今回のパッド操作が第2回目以降の
パッド操作であるか否かを判断する。この場合、CNT
=「2」であるころからステップS208の判断結果は
「YES」となってステップS208に進み、シフトフ
ラグSFTの内容が“1”であるか否かを判断する。こ
の時点においてシフトスイッチ207がオフ状態である
場合はSFT=“0”となっており、ステップS208
の判断結果は「NO」となり、ステップS209に進
む。そして、ROM6におけるコードタイプテーブルT
BLTYP[i](i=0〜k−1)から叩かれたパッ
ドPAMに対応したコードタイプデータTBLTYP
(PAD(M))を読み出し、コードタイプレジスタT
YPBUFに書き込む。また、根音レジスタRTBUF
の内容およびコードタイプレジスタTYPBUFの内容
を音階音音源9へ送る。この結果、根音レジスタRTB
UFの内容に対応した根音であり、かつ、コードタイプ
レジスタTYPBUFの内容に対応したコードタイプの
コードが音階音音源9によって発音される。次にステッ
プS210に進んで回数レジスタCNTに「0」を書き
込み、メインルーチンに戻る。このようにパッド操作が
繰り返されることにより、所望のコードの根音とコード
タイプとが順次指定され、指定が完了した場合に回数レ
ジスタCNTが「0」とされる。そして、このようにし
てCNT=「0」となった後にパッド操作がなされた場
合、そのパッド操作は根音指定のための第1回目のパッ
ド操作となる。
The performance data can be recorded in this manner, and the player inputs the performance data by operating the pads and numeric keys as described below. First of all, the player is hit pad that corresponds to the root of the chord to be recorded, for example, the pad PA N. As a result, the pad switch-on event of the struck pad is detected by the CPU 4, and the pad switch-on event processing routine is executed in step S2 of the main routine. First, the process proceeds to step S201, where the code memory flag CM
It is determined whether or not the content of the FLG is 10B. In this case, since CMFLG = 10B, the result of determination in step S201 is “YES”, and step S2
Go to 03. Then, the content of the number register CNT is incremented. If the current pad operation is the first pad operation, CNT =
It becomes "1". The meaning of the “first pad operation” will be described later. Next, step S204
To determine whether or not the content of the count register CNT is “1”, that is, whether or not the current pad operation is the first time. In the case of the first pad operation, step S20
4 becomes “YES”, and proceeds to the step S205, where the root note table TBLRT (i) in the ROM 6 is stored.
Reads the (i = 0~k-1) root data corresponding to the hit the pad PA N from TBLRT (PAD (N)),
Write to root register RTBUF. The contents of the root register RTBUF are sent to the scale sound source 9. As a result,
A root sound corresponding to the pad PAN is generated by the scale sound source 9. Next, the process proceeds to step S206, and it is determined whether or not the content of the shift flag SFT is "1". At this time, if the shift switch 207 is in the off state, SFT = "0", and the determination in step S206 is "NO", and the flow proceeds to step S207. Then, it is determined whether or not the content of the count register CNT is “2” or more. In this case, the result of the determination in step S207 is “NO” and the process returns to the main routine. And
The player sure root which is pronounced, neon when those of the desired code, pads corresponding to the code type of the desired coding, for example, strike the pad PA M. As a result, the pad switch-on event processing routine is executed again in step S2 of the main routine. In this case, when the process proceeds to step S203, the count register CN
By incrementing T, CNT = “2”
Becomes Therefore, when the process proceeds to step S204, the determination result is “NO”, and the process proceeds to step S207.
Then, it is determined whether or not the content of the count register CNT is “2” or more, that is, whether or not the current pad operation is the second or subsequent pad operation. In this case, CNT
= 2, the result of the determination in step S208 is "YES", the flow proceeds to step S208, and it is determined whether or not the content of the shift flag SFT is "1". At this time, if the shift switch 207 is in the off state, SFT = "0" and step S208
Is "NO", and the process proceeds to step S209. Then, the code type table T in the ROM 6
BLTYP [i] (i = 0~k -1) chord type data corresponding to the pads PA M was struck from TBLTYP
(PAD (M)) and reads the code type register T
Write to YPBUF. Also, the root register RTBUF
And the contents of the chord type register TYPBUF to the scale sound source 9. As a result, the root register RTB
A chord type chord that is a root note corresponding to the contents of the UF and corresponding to the contents of the chord type register TYPBUF is generated by the scale sound source 9. Next, proceeding to step S210, "0" is written to the number register CNT, and the process returns to the main routine. By repeating the pad operation in this way, the root of the desired chord and the chord type are sequentially designated, and when the designation is completed, the count register CNT is set to "0". Then, when the pad operation is performed after CNT = “0”, the pad operation is the first pad operation for specifying the root note.

【0014】第1回目のパッド操作によって発音された
根音が所望のものでなかった場合、演奏者はシフトスイ
ッチ207を押して別のパッド、例えばパッドPAN+1
を叩くことにより、根音指定のやり直しを行う。以下、
この場合の動作を説明する。まず、シフトスイッチ20
7のオンイベントがCPU4によって検出され、メイン
ルーチンのステップS8においてシフトスイッチオン/
オフイベント処理ルーチンが実行される。ステップS8
01において検出したのがオンイベントであるか否かを
判断する。この場合、ステップS801の判断結果は
「YES」となり、シフトフラグSFTに“1”をセッ
トし(ステップS802)、メインルーチンに戻る。次
にパッドPAN+1に対応したパッドスイッチオンイベン
トがCPU4に検知されることにより、パッドスイッチ
オンイベント処理ルーチンが実行される。この場合、第
2回目のパッド操作であるため、ステップS203を実
行することによってCNT=「2」となり、ステップS
204に進む。そして、CNT=「2」であるため、ス
テップS204の判断結果が「NO」となってステップ
S207に進む。このステップS207における判断結
果は「YES」となり、ステップS208に進み、シフ
トフラグSFTの内容が“1”であるか否かを判断す
る。この場合、SFT=“1”であることによりステッ
プS208の判断結果は「YES」となってステップS
205に進み、ROM6における根音テーブルTBLR
T[i](i=0〜k−1)から叩かれたパッドPA
N+1に対応した根音データTBLRT(PAD(N+
1))を読み出し、根音レジスタRTBUFに書き込
む。また、根音レジスタRTBUFの内容を音階音音源
9へ送る。この結果、パッドPAN+1に対応した根音が
音階音音源9によって発音される。次にステップS20
6に進み、シフトフラグSFTの内容が“1”であるか
否かを判断する。この場合、SFT=“1”であるた
め、ステップS206の判断結果は「YES」となって
メインルーチンに戻る。
If the root sound produced by the first pad operation is not the desired one, the player presses the shift switch 207 to press another pad, for example, pad PAN + 1.
By hitting, the root note designation is redone. Less than,
The operation in this case will be described. First, the shift switch 20
7 is detected by the CPU 4, and in step S8 of the main routine, the shift switch on / off is detected.
An off event processing routine is executed. Step S8
At 01, it is determined whether or not the detected event is an ON event. In this case, the result of the determination in step S801 is “YES”, the shift flag SFT is set to “1” (step S802), and the process returns to the main routine. Next, when the pad switch-on event corresponding to the pad PAN + 1 is detected by the CPU 4, the pad switch-on event processing routine is executed. In this case, since it is the second pad operation, CNT = “2” by executing step S203, and step S203 is executed.
Proceed to 204. Then, since CNT = “2”, the determination result of step S204 is “NO”, and the process proceeds to step S207. The result of the determination in step S207 is "YES", the flow proceeds to step S208, and it is determined whether or not the content of the shift flag SFT is "1". In this case, since SFT = “1”, the result of determination in step S208 is “YES”, and
Proceeding to 205, the root table TBLR in the ROM 6
Pad PA struck from T [i] (i = 0 to k-1)
Root data TBLRT corresponding to N + 1 (PAD (N +
1)) is read and written to the root register RTBUF. The contents of the root register RTBUF are sent to the scale sound source 9. As a result, the root sound corresponding to the pad PAN + 1 is generated by the scale sound source 9. Next, step S20
Then, the process proceeds to step S6, where it is determined whether or not the content of the shift flag SFT is "1". In this case, since SFT = “1”, the result of the determination in step S206 is “YES”, and the process returns to the main routine.

【0015】そして、演奏者は新たに発音された根音を
確認する。根音が所望のコードのものである場合には、
シフトスイッチ207から指を離し、所望のコードのコ
ードタイプに対応したパッド、例えばパッドPAMを叩
く。以下。この場合の動作を説明する。まず、シフトス
イッチ207のオフイベントがCPU4によって検知さ
れ、シフトスイッチオン/オフイベント処理ルーチンが
実行される。この場合、CPU4が検知したのがオフイ
ベントであるため、ステップS801の判断結果は「N
O」となり、シフトフラグSFTに“0”を書き込み
(ステップS803)、メインルーチンに戻る。そし
て、パッドパッドPAMのパッドスイッチオンイベント
がCPU4によって検知され、パッドスイッチオンイベ
ント処理ルーチンのステップS207〜S210の処理
が実行される。この結果、新たなパッド操作によって指
定された根音およびコードタイプに対応したコードが音
階音音源9によって発音される。また、再度のパッド操
作によって指定しなおした根音が所望のコードのもので
ない場合、演奏者はさらに再びシフトスイッチ207を
押し、別のパッドを叩く。この場合も上述と同様にパッ
ドスイッチオンイベント処理ルーチンが実行され、新た
なパッドに対応した根音が発音される。
Then, the player confirms the newly pronounced root note. If the root note is for the desired chord,
Release the shift switch 207, pads corresponding to the code type of the desired coding, for example, strike the pad PA M. Less than. The operation in this case will be described. First, an off event of the shift switch 207 is detected by the CPU 4, and a shift switch on / off event processing routine is executed. In this case, since the off event was detected by the CPU 4, the result of the determination in step S801 is “N”.
It becomes "O", "0" is written in the shift flag SFT (step S803), and the process returns to the main routine. Then, the pad switch-on event of the pad the pad PA M is detected by the CPU 4, the process of step S207~S210 pad switch-on event processing routine is executed. As a result, a chord corresponding to the root note and chord type specified by the new pad operation is generated by the scale sound source 9. If the root note specified by the pad operation again is not the desired chord, the player presses the shift switch 207 again and strikes another pad. Also in this case, the pad switch-on event processing routine is executed in the same manner as described above, and the root note corresponding to the new pad is generated.

【0016】所望のコードが音階音音源9によって発音
され、記録すべき根音およびコードタイプが確定する
と、演奏者は音長データの入力を行う。4分音符に対応
した音長データを入力する場合、演奏者はテンキー部2
01における数値「6」に対応したキーを押す。この結
果、CPU4により、数値「6」に対応したテンキース
イッチオンイベントが検知され、メインルーチンのステ
ップS3においてテンキースイッチオンイベント処理ル
ーチンが実行される。まず、ステップS301に進み、
コードメモリフラグCMFRGの内容が10Bであるか
否かを判断する。この場合のようにCMFRG=10B
である場合にはステップS301の判断結果が「YE
S」となってステップS302に進み、根音レジスタR
TBUFおよびコードタイプレジスタCRDTYPにデ
ータが書き込まれているか否かを判断する。これらのレ
ジスタに既に何等かの根音データおよびコードタイプデ
ータが書き込まれている場合にはステップS302の判
断結果が「YES」となり、ステップS303に進む。
そして、検知したテンキースイッチオンイベントに基づ
き、押されたキーに対応したステップに分岐する。この
場合、数値「6」に対応したキーが押されたのであるか
らステップS304に進む。そして、アドレスレジスタ
ADRSをインクリメントし、コードメモリエリアCR
DMEM(ADR)に対し、根音データおよびコードタ
イプデータとして、根音レジスタRTBUFおよびコー
ドタイプレジスタCRDTYPの内容を書き込む。ま
た、4分音符に対応した音長データをコードメモリエリ
アCRDMEM(ADR)に対し書き込むと共にノーマ
ル演奏に対応したモードデータ11Bをコードメモリエ
リアCRDMEM(ADR)の最上位2ビットのエリア
に書き込む。次にステップS307に進み、前ステップ
(この場合はステップS304)においてコードメモリ
エリアCRDMEM(ADR)に書き込んだ音長データ
をテンポカウンタレジスタTCLに累算する。次にステ
ップS308に進み、テンポカウンタレジスタTCLの
内容が1小節の時間長に対応した最大値「96」を越え
たか否かを判断する。この判断結果が「Yes」である
場合はステップS309に進み、テンポカウンタレジス
タTCLの内容から「96」を減算し、その結果をテン
ポカウンタレジスタTCLに書き込み、小節番号レジス
タBARを「1」だけインクリメントする。そして、ス
テップS310に進む。一方、ステップS308の判断
結果が「No」である場合はステップS309を実行し
ないでステップS310に進む。次にステップS310
に進むと、テンポカウンタレジスタTCLの内容を1拍
の時間長に相当するカウント値「24」によって除した
結果に「1」を加算した結果をビート番号レジスタBT
に書き込む。次にステップS311に進み、次にステッ
プS311に進み、変数レジスタiの内容に対応した最
終小節番号レジスタSONG(i)に小節番号レジスタ
BARの内容を書き込む。次いでステップS312に進
み、タイミングレジスタLNの上位桁エリアに小節番号
レジスタBARの内容を書き込むと共に下位桁エリアに
ビート番号レジスタBTの内容を書き込み、タイミング
レジスタLNの内容を表示器3に表示させる。そして、
メインルーチンに戻る。
When the desired chord is generated by the scale sound source 9 and the root note and the chord type to be recorded are determined, the performer inputs the duration data. When inputting note length data corresponding to a quarter note, the performer uses the numeric keypad 2
Press the key corresponding to the numerical value "6" in 01. As a result, the numeric keypad switch-on event corresponding to the numerical value "6" is detected by the CPU 4, and a numeric keyswitch-on event processing routine is executed in step S3 of the main routine. First, proceed to step S301,
It is determined whether or not the content of the code memory flag CMFRG is 10B. CMFRG = 10B as in this case
, The determination result of step S301 is “YE
S ”, the process proceeds to step S302, and the root register R
It is determined whether or not data has been written to the TBUF and the code type register CRDTYP. If any root data and chord type data have already been written in these registers, the result of the determination in step S302 is "YES", and the flow proceeds to step S303.
Then, based on the detected keypad switch-on event, the process branches to a step corresponding to the pressed key. In this case, since the key corresponding to the numerical value "6" has been pressed, the process proceeds to step S304. Then, the address register ADRS is incremented and the code memory area CR is incremented.
The contents of the root register RTBUF and the chord type register CRDTYP are written to the DMEM (ADR) as root data and chord type data. Also, note length data corresponding to a quarter note is written to the code memory area CRDMEM (ADR), and mode data 11B corresponding to normal performance is written to the most significant 2-bit area of the code memory area CRDMEM (ADR). Next, the process proceeds to step S307, and the sound length data written in the code memory area CRDMEM (ADR) in the previous step (in this case, step S304) is accumulated in the tempo counter register TCL. Next, the process proceeds to step S308, and it is determined whether or not the content of the tempo counter register TCL has exceeded the maximum value "96" corresponding to the time length of one measure. If the determination is "Yes", the flow proceeds to step S309 to subtract "96" from the content of the tempo counter register TCL, write the result to the tempo counter register TCL, and increment the bar number register BAR by "1". I do. Then, the process proceeds to step S310. On the other hand, if the determination result in step S308 is “No”, the process proceeds to step S310 without executing step S309. Next, step S310
, The result obtained by dividing the content of the tempo counter register TCL by the count value “24” corresponding to the time length of one beat and adding “1” to the result is the beat number register BT.
Write to. Next, the process proceeds to step S311, and then proceeds to step S311 to write the contents of the measure number register BAR to the last measure number register SONG (i) corresponding to the contents of the variable register i. Next, in step S312, the contents of the bar number register BAR are written in the upper digit area of the timing register LN, the contents of the beat number register BT are written in the lower digit area, and the content of the timing register LN is displayed on the display 3. And
Return to the main routine.

【0017】一方、演奏者が数値「7」に対応したキー
を押下した場合には、ステップS303からステップS
305に進む。この場合、音長データとして2分音符に
対応したデータをコードメモリエリアCRDMEM(A
DR)に書き込む。他の処理内容については上述した数
値「6」の入力の場合と同様である。また、演奏者が数
値「8」に対応したキーを押下した場合には、ステップ
S303からステップS306に進む。この場合、音長
データとして全音符に対応したデータをコードメモリエ
リアCRDMEM(ADR)に書き込む。他の処理内容
については上述した数値「6」の入力の場合と同様であ
る。演奏者が数値「6」、「7」および「8」以外の数
値を入力した場合にはステップS303の後、何も処理
を行わずにメインルーチンに戻る。なお、コードメモリ
フラグCMFRGの内容が10B以外である場合にはス
テップS301からステップS313に進み、テンキー
入力された数値に基づいた他の設定処理(例えば音色設
定)を行ってメインルーチンに戻る。
On the other hand, when the player presses the key corresponding to the numerical value "7", the process proceeds from step S303 to step S303.
Proceed to 305. In this case, data corresponding to a half note is stored in the code memory area CRDMEM (A
DR). The other processing contents are the same as in the case of inputting the numerical value “6” described above. If the player has pressed the key corresponding to the numerical value "8", the process proceeds from step S303 to step S306. In this case, data corresponding to the whole note is written to the code memory area CRDMEM (ADR) as the tone length data. The other processing contents are the same as in the case of inputting the numerical value “6” described above. If the player has input a numerical value other than "6", "7" and "8", after step S303, the process returns to the main routine without performing any processing. If the content of the code memory flag CMFRG is other than 10B, the process proceeds from step S301 to step S313, performs another setting process (for example, tone color setting) based on the numeric value input on the ten keys, and returns to the main routine.

【0018】イントロ部、フィルイン部あるいはエンデ
ィング部の演奏データを作成する場合には、イントロ/
エンディングスイッチあるいはフィルインスイッチを押
すことにより、イントロパターン、フィルインパターン
あるいはエンディングパターンに対応したモードデータ
をコードメモリアリアCRDMEM[ADR]に設定
し、各パターンを構成する音符の個々の音長データの入
力を省略することができる。以下、この場合の処理につ
いて説明する。演奏者がパッド操作により、演奏データ
における最初のコードの根音およびコードタイプを入力
した後、イントロ/エンディングスイッチ209を押す
と、CPU4により、イントロ/エンディングスイッチ
オンイベントが検知され、メインルーチンのステップS
6においてイントロ/エンディングスイッチオンイベン
ト処理ルーチンが実行される。まず、ステップS601
に進み、コードメモリフラグCMFRGの内容が10B
であるか否かを判断する。この場合、CMFRG=10
Bであるため、ステップS601の判断結果は「YE
S」となり、ステップS602に進む。そして、根音レ
ジスタRTBUFおよびコードタイプレジスタCRDT
YPにデータが書き込まれているか否かを判断する。こ
れらのレジスタに既に何等かの根音データおよびコード
タイプデータが書き込まれている場合にはステップS6
02の判断結果が「YES」となってステップS603
に進み、根音レジスタRTBUFおよびコードタイプレ
ジスタCRDTYPの内容をコードメモリエリアCRD
MEM(ADR)における各々対応する記憶エリアに書
き込む。そして、ステップS604に進む。一方、レジ
スタRTBUFおよびCRDTYPに根音データおよび
コードタイプデータが書き込まれていない場合にはステ
ップS602の判断結果が「NO」となり、ステップS
603を実行しないでステップS604に進む。次にス
テップS604に進むと、小節番号レジスタBARおよ
びビート番号レジスタBTの内容が共に「1」であるか
否かを判断する。この判断結果が「YES」である場合
はステップS605に進み、イントロ演奏に対応したモ
ードデータ00BをコードメモリエリアCRDMEM
(ADR)の最上位2ビットに書き込む。次にステップ
S606に進み、アドレスレジスタADRを「1」だけ
インクリメントすると共に小節番号レジスタBARをイ
ントロ演奏に対応した小節数「2」(ファクトリプリセ
ットによる固定値)だけインクリメントする。次いでス
テップS607に進み、タイミングレジスタLNの上位
桁エリアに小節番号レジスタBARの内容(この場合、
「3」)を書き込み、下位桁エリアにビート番号レジス
タBTの内容(この場合、「1」)をセットし、タイミ
ングレジスタLNの内容を表示器3に表示され、メイン
ルーチンに戻る。このようにしてイントロ部に対応した
演奏データがコードメモリエリアCRDMEM(AD
R)に書き込まれる。以後、演奏者はパッド操作および
テンキー操作等により、第3小節第1拍以降の演奏デー
タを入力する。
When creating performance data for an intro, fill-in or ending section, an intro /
By pressing the ending switch or fill-in switch, the mode data corresponding to the intro pattern, fill-in pattern or ending pattern is set in the code memory area CRDMEM [ADR], and the input of individual note length data of the notes constituting each pattern is performed. Can be omitted. Hereinafter, processing in this case will be described. When the player presses the intro / ending switch 209 after inputting the root note and chord type of the first chord in the performance data by operating the pad, the CPU 4 detects the intro / ending switch on event, and the main routine steps. S
At 6, an intro / ending switch-on event processing routine is executed. First, step S601
And the content of the code memory flag CMFRG is 10B
Is determined. In this case, CMFRG = 10
B, the determination result in step S601 is “YE
S ", and the process proceeds to step S602. The root register RTBUF and the chord type register CRDT
It is determined whether or not data has been written to YP. If some root data and chord type data have already been written in these registers, step S6
02 is "YES", and the result of step S603 is "YES".
The contents of the root register RTBUF and the code type register CRDTYP are stored in the code memory area CRD.
Write to the corresponding storage area in MEM (ADR). Then, the process proceeds to step S604. On the other hand, if the root note data and the chord type data are not written in the registers RTBUF and CRDTYP, the determination result in step S602 is “NO”, and the
The process proceeds to step S604 without executing 603. Next, in step S604, it is determined whether the contents of the bar number register BAR and the beat number register BT are both "1". If the result of this determination is "YES", the flow proceeds to step S605, in which the mode data 00B corresponding to the intro performance is stored in the code memory area CRDMEM.
Write to the two most significant bits of (ADR). Next, in step S606, the address register ADR is incremented by "1", and the bar number register BAR is incremented by the bar number "2" (a fixed value by factory preset) corresponding to the intro performance. Next, the process proceeds to step S607, where the contents of the bar number register BAR (in this case,
"3") is written, the content of the beat number register BT (in this case, "1") is set in the lower digit area, the content of the timing register LN is displayed on the display 3, and the process returns to the main routine. In this way, the performance data corresponding to the intro section is stored in the code memory area CRDMEM (AD
R). Thereafter, the player inputs the performance data of the third bar and the first beat after the pad operation and the ten key operation.

【0019】演奏者がフィルィンスイッチ208を押
し、フィルインスイッチオンイベントがCPU4によっ
て検知されると、メインルーチンのステップS9におい
てフィルインスイッチオンイベント処理ルーチンが実行
される。まず、ステップS901に進み、コードメモリ
フラグCMFRGの内容が10Bであるか否かを判断す
る。この場合、CMFRG=10Bであるため、ステッ
プS901の判断結果は「YES」となり、ステップS
902に進む。そして、根音レジスタRTBUFおよび
コードタイプレジスタCRDTYPにデータが書き込ま
れているか否かを判断する。これらのレジスタに既に何
等かの根音データおよびコードタイプデータが書き込ま
れている場合にはステップS902の判断結果が「YE
S」となってステップS903に進み、根音レジスタR
TBUFおよびコードタイプレジスタCRDTYPの内
容をコードメモリエリアCRDMEM(ADR)におけ
る各々対応する記憶エリアに書き込む。そして、ステッ
プS904に進む。一方、レジスタRTBUFおよびC
RDTYPに根音データおよびコードタイプデータが書
き込まれていない場合にはステップS902の判断結果
が「NO」となり、ステップS903を実行しないでス
テップS904に進む。次にステップS904に進む
と、ビート番号レジスタBTの内容が「1」であるか否
かを判断する。この判断結果が「YES」である場合は
ステップS905に進み、「NO」である場合、すなわ
ち、フィルイン演奏の開始タイミングが小節線タイミン
グに対応していない場合にはビートレジスタBTに強制
的に「1」をセットし(ステップS906)、ステップ
S905に進む。次にステップS905に進むと、フィ
ルインパターンに対応したデータ01Bをコードメモリ
エリアCRDMEM(ADR)の最上位2ビットに書き
込む。次にステップS907に進み、アドレスレジスタ
ADRを「1」だけインクリメントすると共に小節番号
レジスタBARをフィルイン演奏に対応した小節数
「1」だけインクリメントする。次いでステップS90
8に進み、タイミングレジスタLNの上位桁エリアに小
節番号レジスタBARの内容を書き込むと共に下位桁エ
リアにビート番号レジスタBTの内容を書き込み、タイ
ミングレジスタLNの内容を表示器3に表示させ、メイ
ンルーチンに戻る。このようにしてフィルイン部に対応
した演奏データがコードメモリエリアCRDMEM(A
DR)に書き込まれる。
When the player presses the fill-in switch 208 and a fill-in switch-on event is detected by the CPU 4, a fill-in switch-on event processing routine is executed in step S9 of the main routine. First, the process proceeds to step S901, and it is determined whether or not the content of the code memory flag CMFRG is 10B. In this case, since CMFRG = 10B, the determination result of step S901 is “YES”, and the
Proceed to 902. Then, it is determined whether data is written in the root register RTBUF and the code type register CRDTYP. If some root data and chord type data have already been written in these registers, the result of the determination in step S902 is “YE
S ”, the process proceeds to step S903, and the root register R
The contents of the TBUF and the code type register CRDTYP are written into corresponding storage areas in the code memory area CRDMEM (ADR). Then, the process proceeds to step S904. On the other hand, registers RTBUF and C
If the root data and the chord type data are not written in the RDTYP, the result of the determination in step S902 is “NO”, and the process proceeds to step S904 without executing step S903. Next, in step S904, it is determined whether or not the content of the beat number register BT is "1". If the determination is "YES", the flow proceeds to step S905. If the determination is "NO", that is, if the start timing of the fill-in performance does not correspond to the bar timing, the beat register BT is forcibly added to the beat register BT. "1" is set (step S906), and the process proceeds to step S905. Next, in step S905, data 01B corresponding to the fill-in pattern is written into the most significant two bits of the code memory area CRDMEM (ADR). Next, in step S907, the address register ADR is incremented by "1" and the bar number register BAR is incremented by the bar number "1" corresponding to the fill-in performance. Next, step S90
Proceeding to step 8, the contents of the bar number register BAR are written in the upper digit area of the timing register LN, and the contents of the beat number register BT are written in the lower digit area. Return. In this way, the performance data corresponding to the fill-in portion is stored in the code memory area CRDMEM (A
DR).

【0020】以上のようにしてエンディング部よりも前
の部分の演奏データが作成された後、演奏者によってイ
ントロ/エンディングスイッチ209が押されると、イ
ントロ/エンディグスイッチオンイベント処理ルーチン
が実行される。この場合、ステップS601〜S603
を実行してステップS604まで進んだ時、小節番号レ
ジスタBARの内容が「1」より大きくなっているた
め、ステップS604の判断結果は「NO」となってス
テップS608に進む。そして、ビート番号レジスタB
Tの内容が「1」であるか否かを判断する。この判断結
果が「YES」である場合はステップS609に進み、
「NO」である場合、すなわち、エンディング演奏の開
始タイミングが小節線タイミングに対応していない場合
にはビートレジスタBTに強制的に「1」をセットし
(ステップS610)、ステップS609に進む。次に
ステップS609に進むと、エンディング演奏に対応し
たモードデータ10BをコードメモリエリアCRDME
M(ADR)の最上位2ビットのエリアに書き込む。次
にステップS611に進み、アドレスレジスタADRを
「1」だけインクリメントすると共に小節番号レジスタ
BARをエンディングパターンに対応した小節数「1」
だけインクリメントする。次いでステップS612に進
み、タイミングレジスタLNの上位桁エリアに小節番号
レジスタBARの内容を書き込むと共に下位桁エリアに
ビート番号レジスタBTの内容を書き込み、タイミング
レジスタLNの内容を表示器3に表示させ、メインルー
チンに戻る。このようにしてエンディング部に対応した
演奏データがコードメモリエリアCRDMEM(AD
R)に書き込まれる。
When the intro / ending switch 209 is pressed by the player after the performance data of the part before the ending section is created as described above, an intro / end switch ON event processing routine is executed. In this case, steps S601 to S603
Is executed, and the process proceeds to step S604, the content of the bar number register BAR is larger than "1", so that the determination result in step S604 is "NO" and the process proceeds to step S608. And beat number register B
It is determined whether or not the content of T is “1”. If this determination is "YES", the flow proceeds to step S609, and
If “NO”, that is, if the start timing of the ending performance does not correspond to the bar timing, “1” is forcibly set to the beat register BT (step S610), and the process proceeds to step S609. Next, in step S609, the mode data 10B corresponding to the ending performance is stored in the code memory area CRDME.
Write to the most significant 2-bit area of M (ADR). Next, in step S611, the address register ADR is incremented by "1" and the bar number register BAR is set to the bar number "1" corresponding to the ending pattern.
Only increment. Next, in step S612, the contents of the bar number register BAR are written in the upper digit area of the timing register LN, the contents of the beat number register BT are written in the lower digit area, and the content of the timing register LN is displayed on the display unit 3. Return to routine. In this way, the performance data corresponding to the ending section is stored in the code memory area CRDMEM (AD
R).

【0021】<再生モード>演奏者がスタート/ストッ
プスイッチを押下すると、CPU4はステップS7にお
いてスタート/ストップ処理ルーチンを実行する。ま
ず、ステップS701に進み、コードメモリフラグCM
FRGの内容が10Bであるか否かを判断する。この判
断結果が「No」の場合はステップS702に進み、ラ
ンフラグRUNの内容を反転する。そして、メインルー
チンに戻る。また、演奏者がマニュアルステップ入力モ
ードにおいてスタート/ストップスイッチを押下した場
合は、ステップS701の判断結果は「Yes」となっ
てステップS703に進み、楽器モードに対応したデー
タ00BをコードメモリフラグCMFRGに書き込む。
そして、メインルーチンに戻る。すなわち、マニュアル
ステップ入力モードにおいてスタート/ストップスイッ
チが押下されると、同モードが解除される。
<Reproduction Mode> When the player presses the start / stop switch, the CPU 4 executes a start / stop processing routine in step S7. First, the process proceeds to step S701, where the code memory flag CM
It is determined whether or not the content of the FRG is 10B. If the result of this determination is "No", the operation proceeds to step S702, where the contents of the run flag RUN are inverted. Then, the process returns to the main routine. If the player presses the start / stop switch in the manual step input mode, the result of the determination in step S701 is "Yes" and the process proceeds to step S703, where data 00B corresponding to the musical instrument mode is stored in the code memory flag CMFRG. Write.
Then, the process returns to the main routine. That is, when the start / stop switch is pressed in the manual step input mode, the mode is released.

【0022】演奏者がスタート/ストップスイッチを操
作することによってランフラグRUNの内容が“1”に
なると、CPU4がリズムインタラプトルーチンを実行
した場合にステップS1001における判断結果が「Y
es」となってステップS1002に進む。そして、そ
の時点におけるテンポカウンタレジスタTCLの内容が
「0」であると共に小節カウンタレジスタBARCTR
の内容が「0」であり、さらにその時点におけるアドレ
スレジスタADRによって指定されるコードメモリエリ
アCRDMEM(ADR)の上位2ビットが00Bであ
るか否かを判断する。この判断結果が「YES」である
場合はステップS1020に進んでイントロフラグIN
TRに“1”を書き込んだ後、ステップS1003に進
み、「NO」である場合はステップS1020を実行し
ないでステップS1003に進む。ここで、図5および
図6に示すように、モードデータが00Bである演奏デ
ータがコードメモリエリアCRDMEM(ADR)に全
く記憶されていない場合は、リズムインタラプトルーチ
ンが実行される時、ステップS1002の判断結果は常
に「NO」となる。一方、図7に示すように、イントロ
パターンに対応したモードデータ00Bを含む演奏デー
タがコードメモリエリアCRDMEM(0)に記憶され
ている場合は、ADR=「0」の状態でリズムインタラ
プトルーチンが実行された時にステップS1020が実
行され、INTR=“1”となる。この結果、以後、2
小節相当の期間、リズムインタラプトルーチンが実行さ
れる際、後述するステップS1021以降の処理により
イントロ演奏が行われる。次にステップS1003へ進
むと、テンポカウンタレジスタTCLの内容が「96」
であるか否か、すなわち、現在が小節の終了タイミング
であるか否かを判断する。この判断結果が「No」の場
合にはステップS1021へ進む。そして、小節線カウ
ンタレジスタBARCTRの内容に「1」を加算した結
果を小節番号レジスタBARに書き込み、テンポカウン
タレジスタTCLの内容を「24」によって除した結果
の整数部に「1」を加算した結果をビート番号レジスタ
BTへ書き込む。そして、小節番号レジスタBARおよ
びビート番号レジスタBTの内容を表示用タイミングレ
ジスタLNに書き込み、このレジスタLNの内容を表示
器3に表示させる。演奏者は表示器3の表示を見ること
により、現在、何小節目の何拍目を演奏しているかを確
認することができる。
When the player operates the start / stop switch and the content of the run flag RUN becomes "1", when the CPU 4 executes the rhythm interrupt routine, the judgment result in step S1001 is "Y".
es ", and proceeds to step S1002. Then, the content of the tempo counter register TCL at that time is “0” and the bar counter register BARCTR
Of the code memory area CRDMEM (ADR) designated by the address register ADR at that time is 00B. If the result of this determination is "YES", the flow proceeds to step S1020 and the intro flag IN
After writing “1” in TR, the process proceeds to step S1003. If “NO”, the process proceeds to step S1003 without executing step S1020. Here, as shown in FIGS. 5 and 6, when no performance data whose mode data is 00B is stored at all in the code memory area CRDMEM (ADR), when the rhythm interrupt routine is executed, the process proceeds to step S1002. The determination result is always "NO". On the other hand, as shown in FIG. 7, when the performance data including the mode data 00B corresponding to the intro pattern is stored in the code memory area CRDMEM (0), the rhythm interrupt routine is executed with ADR = "0". When this is done, step S1020 is executed, and INTR = "1". As a result, hereafter, 2
When the rhythm interrupt routine is executed during a period corresponding to a bar, an intro performance is performed by the processing of step S1021 and thereafter, which will be described later. Next, when the flow advances to step S1003, the content of the tempo counter register TCL becomes "96".
, That is, whether the current time is the end timing of the bar. If the result of this determination is "No", the flow proceeds to step S1021. Then, the result of adding "1" to the contents of the bar line counter register BARCTR is written to the bar number register BAR, and the result of adding "1" to the integer part of the result obtained by dividing the contents of the tempo counter register TCL by "24". To the beat number register BT. Then, the contents of the bar number register BAR and the beat number register BT are written in the display timing register LN, and the contents of the register LN are displayed on the display 3. By looking at the display on the display 3, the player can confirm at what bar and at what beat the player is currently playing.

【0023】次にステップS1022に進み、その時点
におけるイントロフラグINTR、フィルインフラグF
IおよびエンディングフラグENDの状態に基づいてリ
ズム音の再生処理を行う。すなわち、イントロフラグ
NTRが“1”である場合は、ROM6内のリズムパタ
ーンエリアに記憶された各リズムパターンの中から、操
作パネルのリズムスイッチ(図示略)によって指定され
たリズム種類(ロック、ワルツ等)に対応したリズムの
イントロパターンを選択し、そのイントロパターンを構
成する各データのうちその時点におけるテンポカウント
レジスタTCLの値に対応したデータを読み出し、リズ
ム音源8へ供給する。また、フィルインフラグFIある
いはエンディングフラグENDが“1”である場合はフ
ィルインパターン、エンディングパターンのうちフラグ
によって指定されたパターンを選択し、イントロフラグ
INTR、フィルインフラグFIおよびエンディングフ
ラグENDの内容がすべて“0”である場合はノーマル
パターンを選択し、INTR=“1”である場合と同様
な処理を行う。次にステップS1023に進み、オート
ベースモードフラグABの内容が“1”であるか否かを
判断する。この判断結果が「Yes」である場合はステ
ップS1025へ進み、「No」の場合はステップS1
024に進む。次にステップS1024に進むと、コー
ドメモリフラグCRDFRGの内容が01Bか否かを判
断する。この判断結果が「Yes」の場合はステップS
1025に進み、「No」の場合はステップS1026
へ進む。
Next, the process proceeds to step S1022, where the intro flag INTR and the fill-in flag F at that time are entered.
A rhythm sound reproduction process is performed based on the state of I and the ending flag END. That is, the intro flag I
When the NTR is “1”, the rhythm pattern (rock, waltz, etc.) specified by the rhythm switch (not shown) on the operation panel is selected from the rhythm patterns stored in the rhythm pattern area in the ROM 6. The intro pattern of the selected rhythm is selected, the data corresponding to the value of the tempo count register TCL at that time is read out of each data constituting the intro pattern, and supplied to the rhythm sound source 8. When the fill-in flag FI or the ending flag END is “1”, a pattern specified by the flag is selected from the fill-in pattern and the ending pattern, and the contents of the intro flag INTR, the fill-in flag FI and the ending flag END are all “ If it is "0", a normal pattern is selected, and the same processing as when INTR = "1" is performed. Next, the process proceeds to step S1023, and it is determined whether or not the content of the auto base mode flag AB is "1". If the result of this determination is “Yes”, the flow proceeds to step S1025, and if “No”, the flow proceeds to step S1.
Go to 024. Next, in step S1024, it is determined whether or not the content of the code memory flag CRDFRG is 01B. If the result of this determination is “Yes”, then step S
Proceed to 1025, and if “No”, step S1026
Proceed to.

【0024】次にステップS1025に進むと、その時
点におけるイントロフラグINTR、フィルインフラグ
FIおよびエンディングフラグENDの状態に基づいて
ベース音の再生処理を行う。すなわち、イントロフラグ
INTRが“1”である場合は、ROM6内のオートベ
ースパターンエリアに記憶された各オートベースパター
ンの中から、操作パネルのリズムスイッチ(図示略)に
よって指定されたリズム種類(ロック、ワルツ等)に対
応したオートベースのイントロパターンを選択し、その
イントロパターンを構成する各データのうちその時点に
おけるテンポカウントレジスタTCLの値に対応したデ
ータを読み出し、音階音源9へ供給する。また、フィル
インフラグFIあるいはエンディングフラグENDが
“1”である場合はフィルインパターン、エンディング
パターンのうちフラグによって指定されたパターンを選
択し、イントロフラグINTR、フィルインフラグFI
およびエンディングフラグENDの内容がすべて“0”
である場合はノーマルパターンを選択し、INTR=
“1”である場合と同様な処理を行う。次にステップS
1026に進むと、コードメモリフラグCMFRGの内
容が01Bであるか否かを判断する。この判断結果が
「YES」の場合はステップS1027に進み、「N
O」の場合はステップS1028に進む。
Next, at step S1025, a bass sound reproduction process is performed based on the states of the intro flag INTR, fill-in flag FI and ending flag END at that time. That is, the intro flag
When INTR is "1", the rhythm type (rock, waltz, etc.) specified by the rhythm switch (not shown) on the operation panel is selected from the auto base patterns stored in the auto base pattern area in the ROM 6. Is selected, the data corresponding to the value of the tempo count register TCL at that time is read out from each data constituting the intro pattern, and is supplied to the scale sound source 9. When the fill-in flag FI or the ending flag END is “1”, a pattern specified by the flag is selected from the fill-in pattern and the ending pattern, and the intro flag INTR and the fill-in flag FI are selected.
And the contents of the ending flag END are all "0"
, A normal pattern is selected, and INTR =
The same processing as in the case of “1” is performed. Next, step S
In step 1026, it is determined whether or not the content of the code memory flag CMFRG is 01B. If the result of this determination is "YES", the flow proceeds to step S1027 and "N
If “O”, the process proceeds to step S1028.

【0025】次にステップS1027に進むと、その時
点におけるイントロフラグINTR、フィルインフラグ
FIおよびエンディングフラグENDの状態に基づいて
コードバッキング音の再生処理を行う。すなわち、イン
トロフラグINTRが“1”である場合は、ROM6内
のコードパターンエリアに記憶された各コードパターン
の中から操作パネルのリズムスイッチによって指定され
たリズム種類に対応したコードバキングのイントロパタ
ーンを選択し、そのイントロパターンを構成する各デー
タ(コード音を発音するか否かを指定するデータ)のう
ちその時点におけるテンポカウントレジスタTCLの値
に対応したデータを読み出し、コードバッキング音の発
音を指示するデータを読み出した場合にはコードメモリ
エリアCRDMEM(ADR)内の根音データおよびコ
ードタイプデータを音階音音源9へ供給する。また、フ
ィルインフラグFIあるいはエンディングフラグEND
が“1”である場合はフィルインパターン、エンディン
グパターンのうちフラグによって指定されたパターンを
選択し、INTR=“1”である場合と同様な処理を行
う。また、イントロフラグINTR、フィルインフラグ
FIおよびエンディングフラグENDの内容がすべて
“0”である場合は、上述の場合と異なってROM6内
のコードパターンエリアは参照されない。この場合、そ
の時点におけるテンポカウンタレジスタTCLの内容と
当該小節内における再生済みの演奏データにおける音長
データの累算値と一致した場合にアドレスレジスタAD
Rをインクリメントし、コードメモリエリアCRDME
M(ADR)内の根音データおよびコードタイプデータ
を音階音音源9に送り、コードメモリエリアCRDME
M(ADR)から新たな音長データを読み出してそれま
での音長データの累算値に加算する。ここで、音長デー
タの累算値が「96」を越えた場合には累算値から「9
6」を減算する。次にステップS1028に進み、テン
ポカウンタレジスタTCLの内容をインクリメントしリ
ズムインタラプトルーチンを終了する。
Next, at step S1027, the chord backing sound is reproduced based on the state of the intro flag INTR, fill-in flag FI and ending flag END at that time. That is, when the intro flag INTR is "1", the chord backing intro pattern corresponding to the rhythm type designated by the rhythm switch on the operation panel is selected from the chord patterns stored in the chord pattern area in the ROM 6. And reads out the data corresponding to the value of the tempo count register TCL at that time from among the data (data designating whether or not to generate a chord sound) of the intro pattern, and determines the sound of the chord backing sound. When the instructed data is read, the root note data and the chord type data in the code memory area CRDMEM (ADR) are supplied to the scale sound source 9. Also, the fill-in flag FI or the ending flag END
Is "1", a pattern specified by the flag is selected from the fill-in pattern and the ending pattern, and the same processing as when INTR = "1" is performed. When the contents of the intro flag INTR, the fill-in flag FI and the ending flag END are all "0", the code pattern area in the ROM 6 is not referred to unlike the above-mentioned case. In this case, if the content of the tempo counter register TCL at that time matches the accumulated value of the tone length data in the reproduced performance data in the bar, the address register AD
R is incremented and the code memory area CRDME
The root note data and chord type data in the M (ADR) are sent to the scale sound source 9, and the chord memory area CRDME
New pitch data is read from M (ADR) and added to the accumulated value of the pitch data up to that time. Here, when the accumulated value of the duration data exceeds “96”, the accumulated value is changed to “9”.
6 "is subtracted. Next, proceeding to step S1028, the content of the tempo counter register TCL is incremented, and the rhythm interrupt routine ends.

【0026】以後、所定時間が経過する毎に上述のよう
にリズムインタラプトルーチンが実行される。そして、
CPU4がリズムインタラプトルーチンを実行した際、
テンポカウンタレジスタTCLの内容が「96」である
と、ステップS1003の判断結果が「Yes」となっ
てステップS1004に進む。次にステップS1004
に進むと、テンポカウンタレジスタTCLに「0」を書
き込み、小節線カウンタレジスタBARCTRの内容を
インクリメントする。次にステップS1005に進み、
イントロフラグINTRが“1”であり、かつ、小節線
カウンタレジスタBARCTRの内容が「2」であるか
否かを判断する。この判断結果が「YES」である場合
はステップS1006に進んでINTR=“0”とす
る。そして、ステップS1006が終るとステップS1
007に進む。一方、ステップS1005の判断結果が
「NO」である場合はステップS1006を実行しない
でステップS1007に進む。図5および図6に示すよ
うにイントロ演奏に対応したモードデータがコードメモ
リエリアに記憶されていない場合は、ステップS100
5の判断結果は常に「NO」となる。これに対し、図7
に示すように、イントロ演奏に対応したモードデータ0
0Bがコードメモリエリアに記憶されている場合は、そ
のモードデータが読み出された時点でINTR=“1”
とされ(ステップS1020)、以後、2小節に相当す
る期間、リズムインタラプトルーチンのステップS10
21以降の処理が行われることによってイントロ演奏が
行われる。リズムインタラプトルーチンが実行されて2
小節あるイントロ部の再生が終了すると、INTR=
“1”かつBARCTR=「2」となり、ステップS1
005における判断結果が「YES」となり、INTR
=“0”とされ(ステップS1006)、イントロ演奏
が終了する。
Thereafter, every time a predetermined time elapses, the rhythm interrupt routine is executed as described above. And
When the CPU 4 executes the rhythm interrupt routine,
If the content of the tempo counter register TCL is "96", the result of the determination in step S1003 is "Yes", and the flow advances to step S1004. Next, step S1004
Then, "0" is written to the tempo counter register TCL, and the contents of the bar line counter register BARCTR are incremented. Next, the process proceeds to step S1005,
It is determined whether the intro flag INTR is “1” and the content of the bar line counter register BARCTR is “2”. If the result of this determination is “YES”, the flow advances to step S1006 to set INTR = “0”. When step S1006 ends, step S1 is executed.
Proceed to 007. On the other hand, if the decision result in the step S1005 is “NO”, the process proceeds to the step S1007 without executing the step S1006. If the mode data corresponding to the intro performance is not stored in the code memory area as shown in FIGS. 5 and 6, step S100
The determination result of No. 5 is always “NO”. In contrast, FIG.
As shown in the figure, mode data 0 corresponding to the intro performance
If 0B is stored in the code memory area, INTR = "1" when the mode data is read out.
(Step S1020), and thereafter, during a period corresponding to two measures, step S10 of the rhythm interrupt routine is performed.
The intro performance is performed by performing the processing after 21. Rhythm interrupt routine is executed and 2
When the playback of the intro with a bar ends, INTR =
"1" and BARCTR = "2", and step S1
005 is “YES” and INTR
= "0" (step S1006), and the intro performance ends.

【0027】次にステップS1007に進み、小節線カ
ウンタレジスタBARCTRの内容が最終小節番号レジ
スタSONG(i)に記憶された小節番号より「1」だ
け小さい値であるか否かを判断する。この判断結果が
「NO」である場合はステップS1010に進む。一
方、ステップS1007の判断結果が「Yes」である
場合はステップS1008に進み、現時点のアドレスレ
ジスタADRによって指定されるコードメモリエリアC
RDMEM(ADR)内にエンデイングパターンに対応
したモードデータ10Bがあるか否かを判断する。この
判断結果が「Yes」である場合はステップS1009
に進んでエンディングフラグENDに“1”を書き込
み、ステップS1010に進む。この結果、以後、1小
節に相当する期間、リズムインタラプトルーチンのステ
ップS1021以降の処理が行われることによってエン
ディング演奏が行われる。一方、ステップS1008の
判断結果が「No」である場合はステップS1009を
実行しないでステップS1010に進む。このように、
最終小節に対応する演奏データとしてエンディングパタ
ーンに対応するモードデータ10Bを含んだ演奏データ
がコードメモリエリアに記憶されている場合は、その演
奏データよりも1小節前の演奏データが読み出された時
点でEND=“1”とされる。
Then, the flow advances to step S1007 to determine whether or not the content of the bar counter register BARCTR is smaller than the bar number stored in the last bar number register SONG (i) by "1". If the result of this determination is “NO”, the flow proceeds to step S1010. On the other hand, if the result of the determination in step S1007 is “Yes”, the flow proceeds to step S1008, where the code memory area C specified by the current address register ADR is read.
It is determined whether or not the mode data 10B corresponding to the ending pattern exists in the RDMEM (ADR). If the result of this determination is “Yes”, step S1009
And writes "1" in the ending flag END, and proceeds to step S1010. As a result, after that, during the period corresponding to one bar, the ending performance is performed by performing the processing after step S1021 of the rhythm interrupt routine. On the other hand, if the result of the determination in step S1008 is “No”, the process proceeds to step S1010 without executing step S1009. in this way,
When the performance data including the mode data 10B corresponding to the ending pattern is stored in the code memory area as the performance data corresponding to the last measure, the performance data one bar before the performance data is read out. END = "1".

【0028】次にステップS1010に進むと、小節線
カウントレジスタBARCTRの内容が最終小節番号レ
ジスタSONG(i)の内容と一致しているか否かを判
断する。この判断結果が「No」である場合はステップ
S1015に進む。一方、ステップS1010の判断結
果が「Yes」である場合はステップS1011に進
み、小節線カウンタレジスタBARCTRおよびアドレ
スレジスタADRに「0」を書き込む。次にステップS
1012に進み、コードメモリフラグCMFRGの内容
が01Bであるか否かを判断する。この判断結果が「N
O」である場合はステップS1015に進む。一方、ス
テップS1012の判断結果が「YES」である場合は
ステップS1013に進み、アドレスレジスタADRに
よって指定されるコードメモリエリアCRDMEM(A
DR)、すなわち、この場合はCRDMEM(0)にイ
ントロパターンに対応したモードデータ00Bが記憶さ
れているか否かを判断する。この判断結果が「NO」で
ある場合はステップS1015に進む。一方、ステップ
S1013の判断結果が「YES」である場合はステッ
プS1014に進み、小節線カウンタレジスタBACT
Rに「2」を書き込み、アドレスレジスタADRを
「1」だけインクリメントし、ステップS1015に進
む。このように、イントロ演奏に対応した演奏データが
コードメモリエリアCRDMEM(0)に記憶されてい
る場合は、最終小節の演奏データの再生を終えた後、A
DR=「1」とされ、イントロ演奏に対応した演奏デー
タの次の演奏データから再生が行われる。すなわち、イ
ントロ演奏をバイパスして演奏が繰り返される。
Next, in step S1010, it is determined whether or not the contents of the measure line count register BARCTR match the contents of the last measure number register SONG (i). If the result of this determination is “No”, the flow proceeds to step S1015. On the other hand, if the result of the determination in step S1010 is “Yes”, the flow advances to step S1011 to write “0” into the bar line counter register BARCTR and the address register ADR. Next, step S
Proceeding to 1012, it is determined whether the content of the code memory flag CMFRG is 01B. The result of this determination is “N
If “O”, the process proceeds to step S1015. On the other hand, if the result of the determination in step S1012 is “YES”, the flow proceeds to step S1013, where the code memory area CRDMEM (A) specified by the address register ADR is set.
DR), that is, in this case, it is determined whether or not the mode data 00B corresponding to the intro pattern is stored in CRDMEM (0). If the result of this determination is “NO”, the flow proceeds to step S1015. On the other hand, if the result of the determination in step S1013 is “YES”, the flow proceeds to step S1014, and the bar line counter register BACT
“2” is written to R, the address register ADR is incremented by “1”, and the process proceeds to step S1015. As described above, when the performance data corresponding to the intro performance is stored in the code memory area CRDMEM (0), after the reproduction of the performance data of the last bar is completed, the A
DR is set to "1", and reproduction is performed from the performance data next to the performance data corresponding to the intro performance. That is, the performance is repeated, bypassing the intro performance.

【0029】次にステップS1015に進むと、エンデ
ィグフラグENDの内容が“1”であるか否かを判断す
る。この判断結果が「NO」の場合は上述したステップ
S1021以降の処理を実行してリズムインタラプトル
ーチンを終了する。一方、ステップS1015の判断結
果が「YES」の場合にはステップS1016に進み、
エンディングフラグENDおよびランフラグRUNに
“0”を書き込むと共に小節線カウンタレジスタBAR
CTRに「0」を書き込む。そして、リズムインタラプ
トルーチンを終了する。このように最終小節に対応する
演奏データとしてエンディング演奏に対応するモードデ
ータ10Bを含んだ演奏データがコードメモリエリアに
記憶されている場合は、その演奏データによる1小節の
エンディング演奏を開始する前にEND=“1”とされ
る(ステップS1009)。そして、END=“1”と
なってエンディング演奏が終ると、RUN=“0”とな
り(ステップS1016)、自動演奏が停止する。これ
に対し、エンディング演奏に対応するモードデータ10
Bを含んだ演奏データがコードメモリエリアに記憶され
ていない場合、エンディングフラグENDに対する
“1”の書込(ステップS1009)は実行されない。
従って、最終小節に相当する演奏データの再生が終わっ
た場合にADR=「0」とされ(ステップS101
1)、再び、コードメモリエリアにおける最初の演奏デ
ータから順に再生される。
Next, in step S1015, it is determined whether or not the content of the end flag END is "1". If the result of this determination is "NO", the above-described processing from step S1021 is executed, and the rhythm interrupt routine ends. On the other hand, if the result of the determination in step S1015 is “YES”, the flow proceeds to step S1016,
"0" is written to the ending flag END and the run flag RUN, and the bar line counter register BAR is written.
Write "0" to CTR. Then, the rhythm interrupt routine ends. When the performance data including the mode data 10B corresponding to the ending performance is stored in the code memory area as the performance data corresponding to the last measure, before the ending performance of one measure based on the performance data is started. END is set to "1" (step S1009). Then, when END = "1" and the ending performance ends, RUN = "0" (step S1016), and the automatic performance stops. On the other hand, the mode data 10 corresponding to the ending performance
If the performance data including B is not stored in the code memory area, writing “1” to the ending flag END (step S1009) is not executed.
Therefore, when the reproduction of the performance data corresponding to the last bar is completed, ADR is set to "0" (step S101).
1) The music data is reproduced again in order from the first performance data in the code memory area.

【0030】また、上記の通り、各小節線タイミングに
おいて、当該小節において再生すべき演奏データがエン
ディングパターンに対応したものであるかを判断し(ス
テップS1008)、この判断結果が「Yes」である
場合に当該小節タイミングにおいてエンデイング演奏の
開始の指示を行っている(ステップS1009)。従っ
て、エンディング部以前の音長データの総和が1小節の
時間長の整数倍でない場合であっても、最終小節の小節
線タイミングにおいてエンディング演奏が開始される。
例えば、最終小節より1つ前の第4拍目に相当する演奏
データとして、2拍相当の音長データを有する演奏デー
タを誤って記録した場合、その演奏データは再生時にお
いて1拍の音長でしか発音されず、最終小節の小節線タ
イミングにおいてエンディング演奏が開始される。これ
により、誤って不合理な変拍子演奏にならずに済む。
As described above, at each bar line timing, it is determined whether or not the performance data to be reproduced in the bar corresponds to the ending pattern (step S1008), and the determination result is "Yes". In this case, an instruction to start the ending performance is given at the bar timing (step S1009). Therefore, even if the sum of the tone length data before the ending part is not an integral multiple of the time length of one measure, the ending performance is started at the measure line timing of the last measure.
For example, if the performance data having the length data corresponding to two beats is erroneously recorded as the performance data corresponding to the fourth beat immediately before the last bar, the performance data is recorded at the time of reproduction by one beat. And the ending performance is started at the bar timing of the last bar. As a result, it is possible to prevent the performance from being erroneously performed in an irregular time signature.

【0031】次に自動演奏が行われている期間にフィル
インスイッチが押下された場合の動作を説明する。この
場合、CPU4がフィルインスイッチオンイベント処理
ルーチンを実行する際、コードメモリフラグCMFRG
には10B以外のデータが書き込まれているため、ステ
ップS901の判断結果が「NO」となってステップS
911に進み、ランフラグRUNが“1”であるか否か
を判断する。この判断結果が「YES」となり、ステッ
プS912に進んでフィルインフラグFIに“1”をセ
ットする。この結果、リズムインタラプトルーチンのス
テップS1022およびS1025において、ROM6
からフィルインパターンが読み出され、フィルインパタ
ーンによるリズム伴奏およびオートベース伴奏が行われ
る。
Next, the operation when the fill-in switch is pressed during the period in which the automatic performance is being performed will be described. In this case, when the CPU 4 executes the fill-in switch-on event processing routine, the code memory flag CMFRG is used.
Is written with data other than 10B, the result of the determination in step S901 is "NO" and the
Proceeding to 911, it is determined whether the run flag RUN is "1". The result of this determination is "YES" and the flow proceeds to step S912 to set "1" to the fill-in flag FI. As a result, in steps S1022 and S1025 of the rhythm interrupt routine, the ROM 6
, A rhythm accompaniment and an auto-bass accompaniment based on the fill-in pattern are performed.

【0032】次に自動演奏が行われている期間にイント
ロ/エンディングスイッチが押下された場合の動作を説
明する。この場合も、CPU4がイントロ/エンディン
グスイッチオンイベント処理ルーチンを実行する際、コ
ードメモリフラグCMFRGには10B以外のデータが
書き込まれているため、ステップS601の判断結果が
「NO」となってステップS621に進み、ランフラグ
RUNが“1”であるか否かを判断する。この場合、ス
テップS621の判断結果が「YES」となり、ステッ
プS623に進んでエンディングフラグENDに“1”
をセットする。この結果、リズムインタラプトルーチン
のステップS1022およびS1025において、RO
M6からエンディングパターンが読み出され、エンディ
ング演奏が行われ、その後、自動演奏が終了する。
Next, the operation when the intro / ending switch is depressed during the automatic performance is described. Also in this case, when the CPU 4 executes the intro / ending switch-on event processing routine, since data other than 10B is written in the code memory flag CMFRG, the result of the determination in step S601 is “NO” and the result in step S621 is “NO”. To determine whether the run flag RUN is "1". In this case, the result of the determination in step S621 is "YES", the flow proceeds to step S623, and the ending flag END is set to "1".
Is set. As a result, in steps S1022 and S1025 of the rhythm interrupt routine, RO
The ending pattern is read from M6, the ending performance is performed, and then the automatic performance ends.

【0033】自動演奏を行っておらず、コードメモリエ
リアに対する書き込みも行っていない場合(CMFRG
が10B以外の値)にイントロ/エンディングスイッチ
が押下された場合の動作を説明する。この場合、イント
ロ/エンディングスイッチオンイベント処理ルーチンの
ステップS601、S621を介しステップS624が
実行され、INTR=“1”、RUN=“1”とされ
る。この結果、リズムインタラプトルーチンが実行され
る際、ステップS1002以降の処理が実行される。こ
こで、INTR=“1”であるため、ステップS102
2およびS1025において、ROM6からイントロパ
ターンが読み出され、イントロ演奏が行われる。なお、
上記実施例では、イントロパターンを2小節に、エンデ
ィングパターンを1小節に固定した場合を説明したが、
これらの各パターンの長さはこれに限定されるものでは
なく、任意に設定することが可能である。
When automatic performance is not performed and writing to the code memory area is not performed (CMFRG).
The operation when the intro / ending switch is depressed to (a value other than 10B) will be described. In this case, step S624 is executed via steps S601 and S621 of the intro / ending switch on event processing routine, and INTR = "1" and RUN = "1". As a result, when the rhythm interrupt routine is executed, the processing after step S1002 is executed. Here, since INTR = "1", step S102
At 2 and S1025, an intro pattern is read from the ROM 6, and an intro performance is performed. In addition,
In the above embodiment, the case where the intro pattern is fixed to two measures and the ending pattern is fixed to one measure has been described.
The length of each of these patterns is not limited to this, and can be set arbitrarily.

【0034】[0034]

【発明の効果】以上説明したように、この発明によれ
ば、イントロ部、フィルイン部、エンディング部といっ
た特定部の演奏データの入力が容易になり、また、記録
時において音長データの入力に誤りがあった場合におい
ても、再生時においてはエンディング部等の特定部の自
動演奏が適正なタイミングで行われるという効果が得ら
れる。
As described above, according to the present invention, it is easy to input performance data of a specific portion such as an intro portion, a fill-in portion, and an ending portion. Even when there is, there is an effect that the automatic performance of the specific part such as the ending part is performed at an appropriate timing during reproduction.

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

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

【図2】 同実施例の外観を示す平面図である。FIG. 2 is a plan view showing the appearance of the embodiment.

【図3】 同実施例のパネル面に配備された操作子およ
び表示器を示す平面図である。
FIG. 3 is a plan view showing the controls and indicators provided on the panel surface of the embodiment.

【図4】 同実施例のRAM7に記憶された演奏データ
のフォーマットを説明する図である。
FIG. 4 is a diagram illustrating a format of performance data stored in a RAM 7 of the embodiment.

【図5】 同実施例のRAM7に記憶された演奏データ
を例示する図である。
FIG. 5 is a diagram exemplifying performance data stored in a RAM 7 of the embodiment.

【図6】 同実施例のRAM7に記憶された演奏データ
を例示する図である。
FIG. 6 is a diagram exemplifying performance data stored in a RAM 7 of the embodiment.

【図7】 同実施例のRAM7に記憶された演奏データ
を例示する図である。
FIG. 7 is a diagram illustrating performance data stored in a RAM 7 of the embodiment.

【図8】 同実施例の動作を説明するフローチャートで
ある。
FIG. 8 is a flowchart illustrating the operation of the embodiment.

【図9】 同実施例の動作を説明するフローチャートで
ある。
FIG. 9 is a flowchart illustrating the operation of the embodiment.

【図10】 同実施例の動作を説明するフローチャート
である。
FIG. 10 is a flowchart illustrating the operation of the embodiment.

【図11】 同実施例の動作を説明するフローチャート
である。
FIG. 11 is a flowchart illustrating the operation of the embodiment.

【図12】 同実施例の動作を説明するフローチャート
である。
FIG. 12 is a flowchart illustrating the operation of the embodiment.

【図13】 同実施例の動作を説明するフローチャート
である。
FIG. 13 is a flowchart illustrating the operation of the embodiment.

【図14】 同実施例の動作を説明するフローチャート
である。
FIG. 14 is a flowchart illustrating the operation of the embodiment.

【図15】 同実施例の動作を説明するフローチャート
である。
FIG. 15 is a flowchart illustrating the operation of the embodiment.

【図16】 同実施例の動作を説明するフローチャート
である。
FIG. 16 is a flowchart illustrating the operation of the embodiment.

【図17】 同実施例の動作を説明するフローチャート
である。
FIG. 17 is a flowchart illustrating the operation of the embodiment.

【図18】 同実施例の動作を説明するフローチャート
である。
FIG. 18 is a flowchart illustrating the operation of the embodiment.

【図19】 同実施例の動作を説明するフローチャート
である。
FIG. 19 is a flowchart illustrating the operation of the embodiment.

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

1……パッドスイッチ群、2……操作子スイッチ群、4
……CPU、5……タイマ、8……リズム音源、9……
音階音音源。
1 ... pad switch group, 2 ... operator switch group, 4
... CPU, 5 ... timer, 8 ... rhythm sound source, 9 ...
Scale sound source.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G10H 1/00 102 G10H 1/38 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G10H 1/00 102 G10H 1/38

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 固定長のイントロ演奏、および任意長の
メイン演奏の組み合わせからなる自動演奏データを記録
するものにおいて、 前記自動演奏データ中にイントロ演奏の記録を指示する
第1の記録指示手段と、 前記自動演奏データ中にメイン演奏の記録を指示する第
2の記録指示手段であって、前記第2の記録指示手段は
メイン演奏における任意の演奏長を指示する長さ指示手
段を含むものと、 前記第1の記録指示手段による記録指示に応じて、前記
イントロ演奏の前記固定長分だけ記録位置を自動更新す
るとともに、前記第2の記録指示手段による記録指示に
応じて、該第2の記録指示手段によって指示された任意
の演奏長分だけ記録位置を更新する記録位置更新手段
と、 前記第1の記録指示手段による記録指示に応じて、自動
演奏データの先頭にイントロ演奏を記録するとともに、
前記第2の記録指示手段よる記録指示に応じて、前記記
録位置更新手段によって更新された記録位置へとメイン
演奏を記録する記録手段とを具備することを特徴とする
自動演奏装置。
1. A fixed length intro performance and an arbitrary length
Record automatic performance data consisting of combinations of main performances
In those, for instructing recording of the intro in the automatic performance data
First recording instructing means; and a second recording instruction means for instructing recording of a main performance in the automatic performance data.
Recording instruction means, wherein the second recording instruction means is
Length indicator to indicate an arbitrary performance length in the main performance
A step including a step and a recording instruction by the first recording instruction means.
Automatically updates the recording position for the fixed length of the intro performance
At the same time as the recording instruction by the second recording instruction means.
Arbitrarily designated by the second recording instructing means.
Recording position updating means for updating the recording position by the playing length of
When, in accordance with the recording instruction by said first recording instruction means, automatic
Record the intro performance at the beginning of the performance data,
In response to the recording instruction by the second recording instruction means, the recording
Maintains the recording position updated by the recording position updating means.
Recording means for recording performances
Automatic performance device.
【請求項2】さらに前記記録位置更新手段によって更新
された記録位置を表示する表示手段を有することを特徴
とする請求項1記載の自動演奏装置。
2. The apparatus according to claim 2, further comprising: a recording position updating unit for updating the recording position.
Display means for displaying the recorded recording position
The automatic performance device according to claim 1, wherein
JP00178692A 1992-01-08 1992-01-08 Automatic performance device Expired - Fee Related JP3245916B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00178692A JP3245916B2 (en) 1992-01-08 1992-01-08 Automatic performance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00178692A JP3245916B2 (en) 1992-01-08 1992-01-08 Automatic performance device

Publications (2)

Publication Number Publication Date
JPH0619470A JPH0619470A (en) 1994-01-28
JP3245916B2 true JP3245916B2 (en) 2002-01-15

Family

ID=11511262

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00178692A Expired - Fee Related JP3245916B2 (en) 1992-01-08 1992-01-08 Automatic performance device

Country Status (1)

Country Link
JP (1) JP3245916B2 (en)

Also Published As

Publication number Publication date
JPH0619470A (en) 1994-01-28

Similar Documents

Publication Publication Date Title
US4539882A (en) Automatic accompaniment generating apparatus
JPH045995B2 (en)
US4448104A (en) Electronic apparatus having a tone generating function
JPS6157640B2 (en)
JPS5913291A (en) Electronic musical instrument
JP3562333B2 (en) Performance information conversion device, performance information conversion method, and recording medium storing performance information conversion control program
JP4134945B2 (en) Automatic performance device and program
JP3245916B2 (en) Automatic performance device
JP3252425B2 (en) Automatic performance device
US5070758A (en) Electronic musical instrument with automatic music performance system
JP3909677B2 (en) Automatic performance device
JP3752956B2 (en) PERFORMANCE GUIDE DEVICE, PERFORMANCE GUIDE METHOD, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING PERFORMANCE GUIDE PROGRAM
JP4402853B2 (en) Performance data generation method and electronic keyboard instrument
JP2660471B2 (en) Automatic performance device
JPH0451198A (en) Automatic accompanying device
JPH10288987A (en) Electronic musical instrument and musical sound control data generating device
JP2572317B2 (en) Automatic performance device
JP2674454B2 (en) Automatic accompaniment device
JP2670944B2 (en) Electronic keyboard instrument
JP3479141B2 (en) Automatic performance device
JP3760938B2 (en) Performance information conversion device, performance information conversion method, and recording medium recording performance information conversion control program
JP4029710B2 (en) Registration data calling device and registration data calling program
JPS6321040Y2 (en)
JP3758041B2 (en) Musical sound control data generator
JP2586227B2 (en) Electronic musical instrument

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011002

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20071102

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081102

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees