JPH0457094A - Automatic accompanying device - Google Patents

Automatic accompanying device

Info

Publication number
JPH0457094A
JPH0457094A JP2169497A JP16949790A JPH0457094A JP H0457094 A JPH0457094 A JP H0457094A JP 2169497 A JP2169497 A JP 2169497A JP 16949790 A JP16949790 A JP 16949790A JP H0457094 A JPH0457094 A JP H0457094A
Authority
JP
Japan
Prior art keywords
pattern
rhythm
accompaniment
register
determined
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
JP2169497A
Other languages
Japanese (ja)
Inventor
Yoichiro Tajima
田島 陽一郎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2169497A priority Critical patent/JPH0457094A/en
Publication of JPH0457094A publication Critical patent/JPH0457094A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To generate an accompaniment pattern corresponding to choice, and to output an accompaniment sound signal by selecting arbitrarily accompaniment pattern data set and generated in advance by selecting and combining arbitrarily data of each part for constituting the accompaniment pattern from in plural accompaniment pattern data. CONSTITUTION:When a performer turns on a power source of a main body, an initial processing is executed. As for a tempo processing, when it is decided that a tempo-up SW is depressed, a value of a tempo data register TR is increased, and a tempo is raised. As for a rhythm switching processing, when it is decided that a rhythm selection SW is switched, the corresponding rhythm number is written in a rhythm number register, and a display processing is executed. When the display processing is executed, a rhythm switching processing is finished. Subsequently, after passing through auto operation mode processing, an acamp mix mode processing, a tone color switching processing, a rhythm reproduction processing, and various switching processings, the processing returns to a main operation. In such a way, by repeating the loop processing, a rhythm sound is sounded in accordance with the rhythm number corresponding to a value shown by the rhythm number register.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は、自動伴奏装置に係り、特に、予め設定して作
成され記憶されている複数の伴奏パターンデータの中か
ら、伴奏パターンを構成する各パートのデータを任意に
選択組合せることにより、好みに応じた伴奏パターンを
作成することができ、モードを切り換えることにより作
成された伴奏パターンデータと予め設定して作成されて
いる伴奏パターンデータとを任意に選択して伴奏音信号
を出力することのできる自動伴奏装置に関する。 [従来の技術] 一般に、伴奏パターンは、リズム、ベース、コードの3
つのパートによって構成されている。この伴奏パターン
は、本来は曲のイメージに合わせてその都度作成するの
が良いが、それもかなり専門的となるため、自動伴奏装
置における伴奏パターンデータの処理に関しては、従来
、2種類の方法が有った。 1つは、ユーザー自らが新しくリズム、ベース、コード
の3つのパートを作成して自動伴奏パターンとして確立
させる自動伴奏装置である。 もう1つは、予め作成した数種類の伴奏パターンをデー
タとして予め記憶させておき、この記憶されている伴奏
パターンデータの中から演奏者が自由に選択するように
なっている自動伴奏装置である。
The present invention relates to an automatic accompaniment device, and more particularly, the present invention relates to an automatic accompaniment device, and in particular, it is possible to arbitrarily select and combine data of each part constituting an accompaniment pattern from among a plurality of accompaniment pattern data that are created and stored in advance. It is possible to create an accompaniment pattern according to the mode, and output an accompaniment sound signal by arbitrarily selecting accompaniment pattern data created by switching the mode and accompaniment pattern data created by setting in advance. Regarding an automatic accompaniment device that can be used. [Prior art] Generally, an accompaniment pattern consists of three patterns: rhythm, bass, and chords.
It is composed of two parts. Originally, it would be best to create this accompaniment pattern each time according to the image of the song, but since it is quite specialized, there are two conventional methods for processing accompaniment pattern data in automatic accompaniment devices. There was. One is an automatic accompaniment device that allows users to create three new parts: rhythm, bass, and chord, and establish it as an automatic accompaniment pattern. The other is an automatic accompaniment device in which several types of accompaniment patterns created in advance are stored in advance as data, and the performer can freely select from among the stored accompaniment pattern data.

【発明が解決しようとする課題】[Problem to be solved by the invention]

しかしながら、従来の自動伴奏装置の内、前者にあって
は、ユーザーがリズム、ベース、コードの3つのパート
を自ら作成するには、あまりにも専門的すぎ、一般のユ
ーザーにはできず、汎用性を持たせることができないと
いう問題点を有している。 また、従来の自動伴奏装置の内、後者にあっては、プリ
セットするようになっているため、ユーザーは全く自動
伴奏パターンを変更することができず、予め用意された
自動伴奏パターン以外は自由に設定できないという問題
点を有している。 本発明は、予め設定して作成され記憶されている複数の
伴奏パターンデータの中から、伴奏パターンを構成する
各パートのデータを任意に選択組合せることにより、好
みに応じた伴奏パターンを作成することができ、モード
を切り換えることにより作成された伴奏パターンデータ
と予め設定して作成されている伴奏パターンデータとを
任意に選択して伴奏音信号を出力することのできる自動
伴奏装置を提供することを目的としている。 [課題を解決するための手段1 上記目的を達成するために、本発明における自動伴奏装
置は、複数のパートからなり、予め各パートが設定され
ている複数種類の伴奏パターンデ−タが記憶された第1
の伴奏パターン記憶手段と、前記第1の伴奏パターン記
憶手段に記憶されている複数種類の伴奏パターンデータ
を任意に選択することのできる選択手段と、少なくとも
1つの伴奏パターンデータの各パートが記憶可能な第2
の伴奏パターン記憶手段と、前記第2の伴奏パターン記
憶手段に記憶された伴奏パターンデータの各パートのデ
ータを前記選択手段にて選択された前記第1の伴奏パタ
ーン記憶手段に記憶されている伴奏パターンの対応する
各パートのデータに置き換えて新たな伴奏パターンを作
成する伴奏パターン作成手段と、第1のモードと第2の
モードとに任意に切り換えて選択可能なモード切換手段
と、前記モード切換手段が第1のモード選択時には前記
選択手段によって前記第1の伴奏パターン記憶手段から
選択された伴奏パターンデータに基づき、第2のモード
選択時には前記第2の伴奏パターン記憶手段に記憶され
た伴奏パターンデータに基づき伴奏音信号を出力する伴
奏音信号出力手段とによって構成したものである。 【作用1 曲の伴奏は、イントロ、本パターン、フィルイン、エン
デイングと4つの要素によって構成されており、このイ
ントロ、本パターン、フィルイン、エンデイングのそれ
ぞれの伴奏パターンデータが複数種類節1の伴奏パター
ン記憶手段に記憶されている。この第1の伴奏パターン
記憶手段に記憶されている複数の伴奏パターンデータを
任意に選択し、各パートのデータを読み出して新たな伴
奏パターン(第2の伴奏パターン)を作成する。この作
成した第2の伴奏パターンは一時記憶しておく機能を有
する第2の伴奏パターン記憶手段に記憶する。そして、
第1の伴奏パターン記憶手段に記憶されている伴奏パタ
ーンデータの第1モードと、第2の伴奏パターン記憶手
段に記憶されている伴奏パターンデータの第2モードと
をモード切換手段によって任意に切り換えて選択し、こ
の選択された伴奏パターンデータに基づいて伴奏音信号
出力手段によって伴奏音信号を出力して放音する。 したがって、本発明によると、予め設定して作成され記
憶されている複数の伴奏パターンデータの中から、伴奏
パターンを構成する各パートのデータを任意に選択組合
せることにより、好みに応じた伴奏パターンを作成する
ことができ、モードを切り換えることにより作成された
伴奏パターンデータ、あるいは予め設定して作成されて
いる伴奏パターンデータのいずれかの伴奏音データに基
づいて伴奏音信号を出力して自動伴奏を行うことができ
る。 [実施例] 以下、本発明に係る自動伴奏装置の実施例について説明
する。 (自動伴奏装置の構成) 第1図には、本発明に係る自動伴奏装置の一実施例が示
されている。 図において、101は、CPU (中央処理装置)で、
このCPUl0Iは、全体の動作を制御する制御装置で
あり、内部にフラグ・カウンタ・レジスタ群(FCR1
以下同じ)1011を有する。 フラグ・カウンタ・レジスタ群FCRIOIIは、第2
図及び第3図に示す如き構成を有している。このFOR
IOllは、リズムナンバーレジスタ(RR) 、パタ
ーンレジスタ(PR) 、表示レジスタ(HR)、伴奏
中フラグ(BF)、テンポデータレジスタ(TR)、パ
ートセットレジスタ(PSR)、アカンプミックスフラ
グ(AMF)、メロディ−トーンレジスタ(MTR) 
、オートオペレーションレジスタ(AOR)の各レジス
タからなっている。 これら各レジスタは、次のとおりである。 リズムナンバーレジスタ(RR)(第2図(a))第5
図に図示のリズム選択スイッチ1051の#1〜#5の
スイッチの内、現在どのスイッチのリズムが指定されて
いるかを示す3ビツトのレジスタ。 パターンレジスタ(PR)(第2図(b))現在のリズ
ムパターン又はコードパターンは、本パターンか、フィ
ルインパターンか、インド0パターンか、エンデイング
パターンかを示す2ビツトのレジスタ。 表示レジスタHR(第2図(C)) 現在自動伴奏操作しているナンバーを表示するためのレ
ジスタである。 伴奏中フラグBF(第2図(d)) 伴奏中であるか否かを示す1ビツトのレジスタで、伴奏
中は1、非伴奏時はOを示す。 テンポデータレジスタTR(第2図(e))現在のテン
ポを示す5ビツトのレジスタで、このテンポに基づいて
リズムカウンタRCがカウントアツプしていく。 パートセットレジスタPSR(第2図(f))伴奏パタ
ーンのリズム、ベース、コードの内、どのパートを選ん
でいるかを示すレジスタ。このレジスタで伴奏パターン
が1つ決まる。 アカンプミックスフラグAMF (第2図(g))現在
アカンブを作っているか(アカンプミックスを行ってい
るか)を示すレジスタで、アカンプの書き込みのときは
、この値は「1」となる。アカンプの書き込み以外では
、[mJとなる。 メロディ−トーンレジスタMTR(第2図(h))音色
のレジスタ。 オートオペレーションフラグAOF 13図)リズムが
5種類有ったが、付加的に音色とがテンポとかが入って
いる。これら5種類のリズムパターンから第5図に図示
のオートオペレーションモードスイッチ1061を選択
することにより、1つのリズムパターンを選択し、この
リズムパターンは、テンポ、メロディが決まっているの
で、それを第3図のテンポデータ(○TP) 、メロデ
イ音色Nα(OMT)に移し替える。 CPUl0Iには、鍵盤部104、スイッチ部105、
パターンメモリ部106、コード進行メモリ部107、
オートオペレーションメモリ部113、コードジャッジ
部108及びタイマークロック発生部102が接続され
ている。 鍵盤部104は、第4図に示す如く構成されている。す
なわち、鍵盤部104は、複数の鍵1041から構成さ
れ、0オクターブ(○C=O)のC2から5オクターブ
(OC=5)のC7までの5オクタ一ブ分の音階を発生
できるようになっている。このうち、C8〜C3までの
伴奏鍵1042は、通常演奏時には通常の音階指定用の
鍵として機能するが、後述する自動伴奏時には、コード
指定用の鍵として機能する。 自動伴奏を行い通常演奏時には、第1図の鍵盤部104
からC,PUl 01に第6図に示す如き鍵情報KIが
入力される。この鍵情報KIは、押鍵・離鍵を示すON
/QFF情報OF、12音階のうち1つの音階を示すキ
ーコードKC及び何オクターブ目かを示すオクターブコ
ードOCとによって構成されている。そして、鍵盤部1
04上のいずれかの鍵1041 (第4図)が押鍵され
ると、CPUl0Iは、上記キーコードKG及びオクタ
ーブコード○Cを基に、押鍵された鍵に対応する音高情
報を生成してメロデイ音発生部109に供給する。これ
により、メロデイ音発生部109が上記音高情報に基づ
くメロデイ音を発生し、サウンドシステム112を介し
て放音させる。 スイッチ部105は、鍵盤部104に隣接して配置され
る自動伴奏時の各設定を行うスイッチ群で、第5図に示
す如き構成を有している。 1051は、リズム選択スイッチで、#1〜#5の5つ
のスイッチからなる。このリズム選択スイッチ1051
は、予め設定されている演奏パターンが全部で5種類(
#]、〜#5)ある。このようにリズム選択スイッチ1
051は、いずれか1つを押すことにより自動伴奏時の
パターンの選択を行うパターン選択スイッチである。 1058は、テンポダウンスイッチで、自動伴奏のテン
ポを下げるスイッチである。1059は、テンポアップ
スイッチで、自動伴奏のテンポを上げるスイッチである
。 1053.1054.1055.1056.1057は
、自動伴奏パターンの種類を示すものである。1053
は、イントロスイッチで、操作す1す ることにより楽曲の主たるテーマに入る前に演奏される
導入部であるイントロが始まる。1054は、スタート
スイッチで、このスイッチを操作すると自動伴奏の本パ
ターンを開始させるものである。1055は、ストップ
スイッチで、このスイッチを押すことにより演奏してい
る自動伴奏の本パターンを停止させるものである。10
56は、フィルインスイッチで、このスイッチを操作す
ることにより1回だけフィルイン演奏が開始される。 1057は、エンデイングスイッチで、このスイッチを
操作することによりエンデイング演奏が開始される。 1062.1063.1064.1065はアカンプミ
ックススイッチで、リズム選択スイッチ1051によっ
て選択できる予めパターンメモリ部106のパターンメ
モリ部に記憶されている伴奏パターンの各パートの中か
ら任意のパートを選択して奏者の好みに合わせ新たな伴
奏パターンを作るときに用いるスイッチと、予めメモリ
に記憶さ九ている伴奏パターンと作成した伴奏パターン
とを任意に切り換えることのできるスイッチである。1
062がリズムパートをセットするリズムセットスイッ
チ、1063がペースパートをセットするペースセット
スイッチ、1064がコードパートをセットするコード
セットスイッチ、1065は、予めパターンメモリ部1
06のパターンメモリ部に記憶されている伴奏パターン
のモードと、作成してパターンメモリ部106のアカン
ブミックスメモリ部に記憶されている伴奏パターンのモ
ードとを任意に切り換えるモードスイッチである。 したがって、伴奏パターンを作成する場合には、リズム
パートはリズムセラl−8W1062を押して予めパタ
ーンメモリ部106のパターンメモリ部に設定されてい
る5種類(#1〜#5)の伴奏パターンの内の#1から
、ベースパートはペースセット5W1063を押して予
めパターンメモリ部106のパターンメモリ部に設定さ
れている5種類の伴奏パターンの内の#2から、コード
パートはコードセットSWI O64を押して予めパタ
−ンメモリ部106のパターンメモリ部に設定されてい
る5種類の伴奏パターンの内の#3からというように選
択すればよい。この作成された伴奏パターンは、リズム
パート、ベースパート、コードパートと作成していくに
したがって、順次パターンメモリ部106のアカンブミ
ックスメモリ部に一時的に格納される。このアカンブミ
ックスメモリ部は、1つの伴奏パターンデータの各パー
トが記憶可能に構成されている。そして、パターンメモ
リ部106のパターンメモリ部に設定されている5種類
の伴奏パターンとパターンメモリ部106のアカンブミ
ックスメモリ部に一時的に格納されている伴奏パターン
との選択は、モードスイッチ1065によって行われる
。 1061は、オートオペレーションモードスイッチで、
1060は、音色切替スイッチで、#1〜#5の5つの
音色が選択できるようになっている。 1070は、現在選択されているリズム選択スイッチ1
051の番号を表示するものである。 パターンメモリ部106は、第5図に図示のリズム選択
スイッチ1051の#1〜#5の5つのスイッチに対応
するメモリで、パターンメモリ部(第5図に図示のリズ
ム選択スイッチ1051の#1〜#5に対応)と、アカ
ンプミックスメモリ部(第5図に図示のアカンプミック
ススイッチのモードスイッチ1065に対応)とからな
っている。 パターンメモリ部106のパターンメモリエリアは、第
5図に図示のリズム選択スイッチ1051の#1〜#5
によって選択可能な5種類の伴奏パターン(#1〜#5
)が格納されているもので、その内部は、第7図に示す
如き構成を有している。 すなわち、パターンメモリエリアのメモリ内部は、本パ
ターンメモリエリア、フィルインパターンメモリエリア
、イントロパターンメモリエリア、エンデイングパター
ンメモリエリアのそれぞれに分かれている・ 本パターンメモリエリアには、本パターン伴奏パターン
が格納されており、この中にリズム、コ一ド、ベースの
各パートが入っている。そして、この本パターンの伴奏
パターンが第5図に図示のリズム選択スイッチ1051
の#1〜#5に対応して5種類格納されている。 また、フィルインパターンメモリエリア、イントロパタ
ーンメモリエリア、エンデイングパターンメモリエリア
にも本パターンメモリエリア同様、リズム、コード、ベ
ースの各パートが5種類格納されている。 パターンメモリ部106のアカンプミックスメモリ部は
、第5図に図示のモードスイッチ1065によって切り
換え選択可能な伴奏パターン(アカンプミックススイッ
チで作成した伴奏パターン)が格納されているもので、
その内部は、第8図に示す如き構成を有している。すな
わち、アカンプミックスメモリ部は、バッファエリアに
よって構成されており、リズムパート、ベースパート、
コードパートと順次作成していくにしたがって、順次記
憶していくもので、この伴奏パターンを一時的に格納す
るものである。バッファエリアは、第5図に図示のリズ
ムセットスイッチ1062、ベースセットスイッチ1.
063、コードセットスイッチ1064によって選択さ
れた各パートのデータを格納するものである。 バッファエリアは、アカンプミックススイッチによって
作成した伴奏パターン髪−時的に記憶しておくためのも
のである。このバッファエリアは、変更したいパートの
みの変更をすることもできる。 そして、このバッファエリアの内部は、第8図に示され
ている。すなわち、バッファエリアは、複数のレジスタ
によって構成されており、各レジスタは、第5図のリズ
ム選択スイッチ1o51に対応してパターンメモリ部1
06のパターンメモリ部に格納されている各パターンデ
ータのどれを選択したものであるか、それぞれのアドレ
スNαで示されるようになっている。1つは、テンポデ
ータ(ATP)とメロデイ音色Nn(AMT)を示すも
のである。1つは、イントロパターンNα(A I N
)とエンデイングパターンNo、(AEN)を示すもの
である。1つは、本パターンのリズムNα(AHR)、
本パターンのベースNα(AHB) 、本パターンのコ
ードNα(AHC)を示すもので、各5種類有るので3
ビツトが用いられている。さらに、もう1つは、フィル
インパターンのリズムNα(A P R)、フィルイン
パターンのベースNα(AFB)、フィルインパターン
のコードNα(AFC)を示すもので、各3ビツトで示
されている。 コード進行メモリ部107は、各種コードを連結させて
記憶しておくものである。オートオペレーションメモリ
部113は、音色を示すものである。また、コードジャ
ッジ部108は、Cm等のコード判定をオるものである
。 また、CPUI Olには、タイマークロック発生部1
02からのタイマークロックに基づき(+)1ずつカウ
ントアツプされるリズムカウンタ(RC1以下同じ)1
03が接続されている。 そして、CPUl01は、メロデイ音発生部109、伴
奏音発生部110及びリズム音発生部111を制御し、
サウンドシステム112を介して楽音を放音させる。 メロデイ音発生部109、伴奏音発生部110及びリズ
ム音発生部111は、伴奏音発生部110に例示するよ
うに、例えば音程及び発生楽音の基本波形を決めるD 
CO(Digital controlled○5ci
llator) 1101と、その特性の時間的な変化
を決めるエンベロープ発生器1102、DCollol
の出力波形に対して、その音色を制御するDCW (D
igital controlled Wave)  
1103と、その音色特性の時間的な変化を決めるエン
ベロープ発生器1104、並びにDCWIIO3の出力
波形に対してその音量を制御するDCA(Digita
l controlled Amplifier)  
1105と、その音量特性の時間的な変化を決めるエン
ベロープ発生器1106等によって構成され、エンベロ
ープ発生器1102.1104及び1106等に与えら
れるパラメータを変化させることにより、様々な楽音波
形の発生を実現する。なお、上記のような構成に限定さ
れるものではなく、例えばリズム音発生部111は、実
際のリズム楽器の楽音波形をメモリに記憶させ、これを
後述するリズムパターンに同期して読み出して出力する
PCM音源タイプの構成にしても良い。サウンドシステ
ム112は、メロデイ音発生部109、伴奏音発生部1
10及びリズム音発生部111から出力される楽音波形
を増幅し放音する手段であり、例えばアンプ及びスピー
カ等である。 (実施例の動作) 以下、第9図〜第24図の動作フローチャートを用いて
本実施例の動作を説明する。 まず、演奏者が、特には図示しない本体の電源を入れる
ことにより、第9図のメイン動作フローチャートがスタ
ートし、始めにステップ501でイニシャル処理が行わ
れる。 このイニシャル処理の詳細は、第10図に示されている
。すなわち、同図のステップ601〜ステツプ607に
おいて、第1図のCPUl0Iに内蔵されているフラグ
・カウンタ・レジスタFCRの各種レジスタが初期設定
される。ステップ601においてリズムナンバーレジス
タRRを[i’Jに、ステップ602においてテンボデ
ータレジスタTRをF16」に、ステップ603におい
てオートオペレーションフラグAOFをIr0Jlに、
ステップ604においてバッファイニシャル処理をし、
ステップ605においてアカンプミックスフラグAMF
を[rOjに、ステップ606においてリズムカウンタ
RCを「OJに、ステップ607においてパターンレジ
スタPRを「0」に、ステップ608においてパターン
待機中フラグPTFをIrO,!lに、ステップ609
において伴奏中フラグBFをff’o、Qに初期設定す
る。 なお、ステップ602におけるテンポデータレジスタT
Rの内容をF16.jlに初期設定するのは、同レジス
タが後述するように[rOJ] −[i’31.ilの
値を取り得るため、初期にはテンポをその中間に設定し
ておくためである。 また、ステップ604におけるバッファイニシャル処理
の詳細は、第16図に示されている。すなわち、ステッ
プ1601において、第8図に図示のアカンプミックス
メモリ部のバッファエリアのイントロNαAINに第1
図のCPUl0Iの)ラグ・カウンタ・レジスタ群FC
RのリズムナンバーレジスタRR(第2図)に格納され
ているリズムNα(リズム#1〜#5のいずれか)のイ
ントロパターン(第7図)を書き込む。 次に、ステップ1602において、第8図に図示のアカ
ンプミックスメモリ部のバッファエリアのエンデイング
Ha A E Nに第1図のCPUl0Iのフラグ・カ
ウンタ・レジスタ群FCHのリズムナンバーレジスタR
R(第2図)に格納されているリズムNα(リズム#1
〜#5のいずれか)のエンデイングパターン(第7図)
を書き込む。 そして、ステップ1603において、第8図に図示のア
カンプミックスメモリ部のバッファエリアの本パターン
の本リズムNn A HRに第1図のCPUl0Iのフ
ラグ・カウンタ・レジスタ群FCRのリズムナンバーレ
ジスタRR(第2図)に格納されているリズムNα(リ
ズム#1〜#5のいずれか)の本パータンの本リズム(
第7図)を書き込む。 さらに、ステップ1604において、第8図に図示のア
カンプミックスメモリ部のバッファエリアの本パターン
の本ベースNαAHBに第1図のCPUl0Iのフラグ
・カウンタ・レジスタ群FCRのリズムナンバーレジス
タRR(第2図)に格納されているリズムNα(リズム
#1〜#5のいずれか)の本パターンの本ベース(第7
図)を書き込む。 さらに、ステップ1605において、第8図に図示のア
カンプミックスメモリ部のバッファエリアの本パターン
の本コードNαAHCに第1図のCPUl0Iのフラグ
・カウンタ・レジスタ群FORのリズムナンバーレジス
タRR(第2図)に格納されているリズムN(1(リズ
ム#1〜#5のいずれか)の本パターンの本コード(第
7図)を書き込む。 また、ステップ1606において、第8図に図示のアカ
ンプミックスメモリ部のバッファエリアのフィルインパ
ターンのフィルインリズムNαAFRに第1図のCPU
l0Iのフラグ・カウンタ・レジスタ群FCRのリズム
ナンバーレジスタRR(第2図)に格納されているリズ
ムN(1(リズム#1〜#5のいずれか)のフィルイン
パターンのフィルインリズム(第7図)を書き込む。 さらに、ステップ1607において、第8図に図示のア
カンプミックスメモリ部のバッファエリアのフィルイン
パターンのフィルインベースN11AFBに第1図のC
PUl0Iのフラグ・カウンタ・レジスタ群FCRのリ
ズムナンバーレジスタRR(第2図)に格納されている
リズムN[l (リズム#1〜#5のいずれか)のフィ
ルインパターンのフィルインベース(第7図)を書き込
む。 さらに、ステップ1608において、第8図に図示のア
カンプミックスメモリ部のバッファエリアのフィルイン
パターンのフィルインコードNαAFCに第1図のCP
Ul0Iのフラグ・カウンタ・レジスタ群FORのリズ
ムナンバーレジスタRR(第2図)に格納されているリ
ズムNα(リズム#1〜#5のいずれか)のフィルイン
パターンのフィルインコード(第7図)を書き込む。 また、ステップ1609において、第1図のCPUIO
Iのフラグ・カウンタ・レジスタ群FCRのリズムナン
バーレジスタRR(第2図)に格納されているリズムN
n (リズム#1〜#5のいずれか)の示すオペレージ
目ンデータ(第3図)のテンポデータOTPを第8図に
図示のアカンプミックスメモリ部のバッファエリアのテ
ンポデータATPに書き込む。 さらに、ステップ1610において、第1図のCPU1
01のフラグ・カウンタ・レジスタ群FORのリズムナ
ンバーレジスタRR(第2図)に格納されているリズム
Nα(リズム#1〜#5のいずれか)の示すオペレーシ
ョンデータ(第3図)のメロデイ音色Nn OM Tを
第8図に図示のアカンプミックスメモリ部のバッファエ
リアのメロデイ音色N[L A M Tに書き込む。 これらの処理の後、ステップ610においてイニシャル
処理を終了する。 上記第9図ステップ501のイニシャル処理の後、ステ
ップ502では、テンポ処理を行う。このテンポ処理の
詳細は、第11図に示されている。 すなわち、ステップ701において、第5図のテンポア
ップSWI O59が押されたか否かを判定し、このテ
ンポアップSWが押されたと判定されたらステップ70
4においてテンポデータレジスタTRの値をインクリメ
ント(+1) L、、テンポを上昇させてステップ70
5に移る。また、ステップ701において、第5図のテ
ンポアップ5W1059が押されていないと判定すると
、ステップ703で第5図に図示のテンポダウンSWI
 O58が押されたか否かを判定する。このステップ7
03においてテンポダウンSWI 058が押されたと
判定すると、ステップ704において、テンポデータレ
ジスタTRの値をデクリメント(−1)し、テンポを下
降させてステップ705に移る。なお、同テンポデータ
レジスタの値は、特に図示していないがO以下又は31
以上にはならないよう制御される。また、ステップ70
3において、テンポダウンSWI O58が押されてい
ないと判定すると、ステップ705において、アカンプ
ミックスフラグAMFが立っているか否か(AMF=O
か?)を判定する。すなわち、アカンプミックスモード
か否かを判定する。このステップ705においてアカン
プミックスフラグAMFが立っていない(AMF=O)
と判定する(アカンプミックスモードでないと判定する
)と、テンポ処理を終了し第9図のメインフローに戻る
。また、このステップ705においてアカンブミックス
フラグAMFが立っている(AMF≠O)と判定する(
アカンプミックスモードであると判定する)と、ステッ
プ706において、第8図に図示のアカンプミックスメ
モリ部のバッファエリアのテンポデータATPに、第1
図に図示のCPUI O1に内蔵されているフラグ・カ
ウンタ・レジスタFORのテンポデータレジスタTR(
第2図)に記憶されている内容(テンポデータ)を書き
込み(ATP=TR)、テンポ処理を終了して第9図の
メインフローに戻る。 第9図のステップ502のテンポ処理が終了すると、ス
テップ503において、リズム切換処理を行う。このリ
ズム切換処理の詳細は、第12図に示されている。すな
わち、ステップ801において、第5図のリズム選択S
WI O51が切り換えられたか、すなわち押されたか
否かを判定し、ステップ801において切り換えられた
(リズム選択SWI O51が押された)と判定すると
、ステップ802において、アカンプミックスフラグA
MFが立っているか否か(AMF=Oか?)を判定する
。すなわち、アカンプミックスモードか否かを判定する
。このステップ802においてアカンプミックスフラグ
AMFが立っていない(AMF=O)と判定する(アカ
ンプミックスモードでないと判定する)と、ステップ8
03において、第5図に図示のリズム選択5W1051
 (#1〜#5)に対応したリズムナンバーをリズムナ
ンバーレジスタRR(第2図)に書き込み、ステップ8
06の表示処理を行う。 また、ステップ801において、第5図のリズム選択S
WI O51が切り換えられていない(リズム選択SW
I O51が押されていない)と判定すると、何もしな
いでステップ806の表示処理に移る。 また、ステップ802においてアカンプミックスフラグ
AMFが立っている(AMF≠0)と判定する(アカン
プミックスモードであると判定する)と、ステップ80
4において、第5図に図示のリズム選択SWI 051
のリズムナンバーに対応した値をリズムナンバーレジス
タRRに書き込む。その後、ステップ805において、
バッファ書換え処理を行い、さらにステップ806にお
いて表示処理を行う。 このステップ805におけるバッファ書換え処理の詳細
は、第13図に示されている。すなわち、ステップ12
01において、第1図に図示のCPUl0Iに内蔵され
ているフラグ・カウンタ・レジスタ群FCHのパターン
レジスタPR(第2図)にセットされているパターンが
「0」か否か(PR=Oか?)を判定する。すなわち、
パターンレジスタPRにセットされているパターンが本
パターンか否かを判定する。このステップ1201にお
いて、パターンレジスタPRにセットされているパター
ンがtro、1である(PR=O)と判定、すなわち、
パターンレジスタPRにセットされているパターンが本
パターンであると判定すると、ステップ1202におい
て、パートセットレジスタPSR(第2図)が「1」か
否か(P S R= 0か?)を判定する。すなわち、
パートセットレジスタPSRにセットされているパター
ンが本パターンのリズムパートか否かを判定する。この
ステップ1202において、パートセットレジスタPS
Rが11」、すなわち、パートセットレジスタPSRに
セットされているパターンが本パターンのリズムパート
であると判定すると、ステップ1203において1.第
8図に図示のアカンプミックスメモリ部のバッファエリ
アにセットされている本リズムNa A HRに、第1
図に図示のフラグ・カウンタ・レジスタ群FCRのリズ
ムナンバーレジスタRRの値をセットして第12図のリ
ズム切換処理フローに戻る。 また、ステップ12o2においてパートセットレジスタ
PSRにセットされている番号が(rl」でない(PS
R≠1)、すなわち、本パターンのリズムパートが選択
されていないと判定すると、ステップ1204において
、パートセットレジスタPSRにセットされている番号
がff’2jか否か(PSR=2か?)を判定する。す
なわち、本パターンのベースパートが選択されているか
否かを判定する。このステップ1204においてパート
セットレジスタPSRにセットされている番号が1i’
2jである(PSR=2)と、すなわち、本パターンの
ベースパートが選択されていると判定すると、ステップ
12o5において、第8図に図示のアカンプミックスメ
モリ部のバッファエリアにセットされている本パターン
の本ベースHa A HBに、第1図に図示のフラグ・
カウンタ・レジスタFCRのリズムナンバーレジスタR
Rの値をセットして第12図のリズム切換処理フローに
戻る。 また、ステップ12o4においてパートセットレジスタ
PSRにセットされている番号が12」でない(PSR
≠1)、すなわち、本パターンのベースパートが選択さ
れていないと判定すると、本パターンのコードパートが
選択されていると判定し、ステップ1206において、
第8図に図示のアカンプミックスメモリ部のバッファエ
リアにセットされている本パターンの本コードNαAH
Cに、第1図に図示のフラグ・カウンタ・レジスタ群F
CHのリズムナンバーレジスタRRの値をセットして第
12図のリズム切換処理フローに戻る。 また、ステップ12o1において、フラグ・カウンタ・
レジスタ群FORのパターンレジスタPRにセットされ
ているパターンが(rO」でない(PR≠0)と判定、
すなわち、パターンレジスタPR(第2図)にセットさ
れているパターンが本パターンでないと判定すると、ス
テップ1207において、パターンレジスタPRにセッ
トされているパターンが11」か否か(PR=1か?)
を判定する。すなわち、パターンレジスタPRにセット
されているパターンがフィルインパターンか否かを判定
する。このステップ1207において、パターンレジス
タPRにセットされているパターンが[rlQである(
PR=1)と判定、すなわち、パターンレジスタPRに
セットされているパターンがフィルインパターンである
と判定すると、ステップ1208において、パートセッ
トレジスタPSRが11」か否か(PSR=Oが?)を
判定する。すなわち、パートセットレジスタPSRにセ
ットされているパートがフィルインパターンのリズムパ
ートか否かを判定する。このステップ1208において
、パートセットレジスタPSRが「IJ、すなわち、パ
ートセットレジスタPSRにセットされているパートが
フィルインパターンのリズムパートであると判定すると
、ステップ1209において、第8図に図示のアヵンプ
ミックスメモリ部のバッファエリアにセットされている
フィルインリズムNCLA F Rに、第1図に図示の
フラグ・カウンタ・レジスタ群FORのリズムナンバー
レジスタRRの値をセットして第12図のリズム切換処
理フローに戻る。 また、ステップ1208においてパートセットレジスタ
PSRにセットされている番号が(rl」でない(PS
R≠1)、すなわち、本パターンのリズムパートが選択
されていないと判定すると、ステップ1210において
、パートセットレジスタPSRにセットされている番号
がlr2」か否か(P S R= 2か?)を判定する
。すなわち、本パターンのベースパートが選択されてい
るか否かを判定する。このステップ1210においてパ
ートセットレジスタPSRにセットされている番号がF
2jである(PSR=2)と、すなわち、フィルインパ
ターンのベースパートが選択されていると判定すると、
ステップ1211において、第8図に図示のアカンプミ
ックスメモリ部のバッファエリアにセットされているフ
ィルインパターンのフィルインベースNα・AFBに、
第1図に図示のフラグ・カウンタ・レジスタ群FORの
リズムナンバーレジスタRRの値をセットして第12図
のリズム切換処理フローに戻る。 また、ステップ1210においてパートセットレジスタ
PSRにセットされている番号がIi’2J]でない(
PSR≠2)、すなわち、フィルインパターンのベース
パートが選択されていないと判定すると、フィルインパ
ターンのコードパートが選択されていると判定し、ステ
ップ1212において、第8図に図示のアカンプミック
スメモリ部のバッファエリアにセットされているフィル
インパターンのフィルインコードNa A F Cに、
第1図に図示のフラグ・カウンタ・レジスタ群FORの
リズムナンバーレジスタRRの値をセットして第12図
のリズム切換処理フローに戻る。 さらに、ステップ1207において、パターンレジスタ
PRにセットされているパターンが「1」でない(PR
≠1)と判定、すなわち、パターンレジスタPRにセッ
トされているパターンがフィルインパターンでないと判
定すると、ステップ1213において、パターンレジス
タPRにセットされているパターンが12」か否か(P
R=2か?)を判定する。すなわち、パターンレジスタ
PRにセットされているパターンがイントロパターンか
否かを判定する。 このステップ1213において、パターンレジスタPR
にセットされているパターンが[r2,1で一35= ある(PR=2)、すなわちイントロパターンであると
判定すると、ステップ1214において、第8図に図示
のアカンプミックスメモリ部のバッファエリアにセット
されているイントロパターンのイントロHa A I 
Nに、第1図に図示のフラグ・カウンタ・レジスタFC
HのリズムナンバーレジスタRRの値をセットして第1
2図のリズム切換処理フローに戻る。 また、ステップ1213において、パターンレジスタP
Rにセットされているパターンがff’2.jlでない
(PR≠2)、すなわちイントロパターンでないと判定
すると、残りはエンデイングパターンということになる
(PR=3)。すると、ステップ1215において、第
8図に図示のアカンプミックスメモリ部のバッファエリ
アにセットされているエンデイングパターンのエンデイ
ングNαAEHに、第1図に図示のフラグ・カウンタ・
レジスタFORのリズムナンバーレジスタRRの値をセ
ットして第12図のリズム切換処理フローに戻る。 このようにして第12図のリズム切換処理フローのステ
ップ805のバッファ書換え処理を行うと、ステップ8
06において、表示処理を行う。 このステップ806の表示処理の詳細は、第17図に示
されている。すなわち、ステップ1301において、第
1図に図示のCPUI Olに内蔵されているフラグ・
カウンタ・レジスタ群FCHのパターンレジスタPR(
第2図)にセットされているパターンが0′0」か否か
(PR=Oか?)を判定する。すなわち、パターンレジ
スタPRにセットされているパターンが本パターンか否
かを判定する。 このステップ1301において、パターンレジスタPR
にセットされているパターンがFOJIである(PR=
O)と判定、すなわち、パターンレジスタPRにセット
されているパターンが本パターンであると判定すると、
ステップ1302において、アカンプミックスフラグA
MFが立っているか否か(AMF=1か?)を判定する
。このステップ1302においては、アカンプミックス
モ−ドか否か、すなわち、現在、伴奏パターンを自分で
作っているのか否かを判定する。このステップ1302
においてアカンプミックスフラグAMFが立ってる(A
MF=1)と判定する(アカンプミックスモードである
、伴奏パターン作成中であると判定する)と、次に、作
成中の伴奏パターンの本パターンの内、リズムパート、
ベースパート、コードパートのいずれを選んでいるのか
を見る。すなわち、ステップ1303において、第1図
に図示のCPUI Olに内蔵されているフラグ・カウ
ンタ・レジスタ群FCHのパートセットレジスタPSR
にセットされている番号が「1」か否か(PSR=1か
?)、すなわち、本パターンのリズムパートが選択され
ているか否かを判定する。 このステップ1303においてパートセットレジスタP
SRにセットされている番号がIi’ljである(PS
R=1)と、すなわち、本パターンのリズムパートが選
択されていると判定すると、ステップ1304において
、本リズムNo、 A HRに(+1)して、表示レジ
スタHRに本リズムNαAHRを表示する。 また、ステップ1302においてアカンプミックスフラ
グAMFが立っていない(AMF≠1)と判定する(ア
カンプミックスモードでないと判定する)と、ステップ
1320に移る。 また、ステップ1303においてパートセットレジスタ
PSRにセットされている番号が[′1」でない(PS
R≠1)、すなわち、本パターンのリズムパートが選択
されていないと判定すると、ステップ1305において
、パートセットレジスタPSRにセットされている番号
がIr2Jlか否か(PSR=2か?)、すなわち、本
パターンのベースパートが選択されているか否かを判定
する。 このステップ1305においてパートセットレジスタP
SRにセットされている番号が「2」である(PSR=
2)と、すなわち、本パターンのベースパートが選択さ
れていると判定すると、ステップ1306において、本
ベースN[L A HBに(+1)して、表示レジスタ
HRに本ベースNQ A HBを表示する。 また、ステップ1305においてパートセットレジスタ
PSRにセットされている番号が[i′2.1でない(
PSR≠1)、すなわち、本パターンのベースパートが
選択されていないと判定すると、本パターンのコードパ
ートが選択されていると判定し、ステップ1307にお
いて、本コードNαAHCに(+1)して、表示レジス
タHRに本コードNa A HCを表示する。 また、ステップ1301において、フラグ・カウンタ・
レジスタ群FORのパターンレジスタPRにセットされ
ているパターンが「0」でない(PR≠0)と判定、す
なわち、パターンレジスタPRにセットされているパタ
ーンが本パターンでないと判定すると、ステップ130
8において、パターンレジスタPRにセットされている
パターンが「1」か否か(PR=1か?)を判定する。 すなわち、パターンレジスタPRにセットされているパ
ターンがフィルインパターンか否かを判定する。このス
テップ13o8において、パターンレジスタPRにセッ
トされているパターンが1m1J]である(PR=1)
と判定、すなわち、パターンレジスタPRにセットされ
ているパターンがフィルインパターンであると判定する
と、ステップ1309において、アカンプミックスフラ
グAMFが立っているか否か(AMF=1か?)を判定
する。すなわち、アカンブミックスモードか否かを判定
する。このステップ1309においてアカンプミックス
フラグAMFが立ってる(AMF=1)と判定する(ア
カンプミックスモードであると判定する)と、ステップ
1310において、第1図に図示のCPUl01に内蔵
されているフラグ・カウンタ・レジスタ群FCRのパー
トセットレジスタPSRにセットされている番号が「1
」か否か(P S R= 1か?)を判定する。すなわ
ち、フィルインパターンのリズムパートが選択されてい
るか否かを判定する。このステップ1310においてパ
ートセットレジスタPSRにセットされている番号が「
1」である(PSR=1)と、すなわち、フィルインパ
ターンのリズムパートが選択されていると判定すると、
ステップ1311において、フィルインリズムNαAF
Rに(+1)L、て、表示レジスタHRにフィルインリ
ズムNa A F Rを表示する。 また、ステップ1310においてパートセットレジスタ
PSRにセットされている番号が[i’lQでない(P
SR≠1)、すなわち、フィルインパターンのリズムパ
ターンが選択されていないと判定すると、ステップ13
12において、パートセットレジスタPSRにセットさ
れている番号がF2jか否か(PSR=2か?)を判定
する。すなわち、フィルインパターンのベースパートが
選択されているか否かを判定する。このステップ131
2においてパートセットレジスタPSRにセットされて
いる番号が「2」である(PSR=2)と、すなわち、
フィルインパターンのベースパートが選択されていると
判定すると、ステップ1312において、フィルインベ
ースNa A F Bに(+1)して、表示レジスタH
R(第2図)にフィルインベースN11A F Bを表
示する。 また、ステップ1312においてパートセットレジスタ
PSRにセットされている番号が[m2Jlでない(P
SR≠1)、すなわち、フィルインパターンのベースパ
ートが選択されていないと判定すると、フィルインパタ
ーンのコードパートが選択されていると判定し、ステッ
プ1314において、フィルインコードNQ A F 
Cに(+1)して、表示レジスタHRにフィルインコー
ドNa A F Cを表示する。 また、ステップ1308において、フラグ・カウンタ・
レジスタ群FCHのパターンレジスタPRにセットされ
ているパターンがFIJでない(PR≠1)と判定、す
なわち、パターンレジスタPRにセットされているパタ
ーンがフィルインパターンでないと判定すると、ステッ
プ1315において、パターンレジスタPRにセットさ
れているパターンが[i’2jか否か(PR=2か?)
を判定する。すなわち、パターンレジスタPRにセット
されているパターンがイントロパターンか否かを判定す
る。このステップ1315において、パターンレジスタ
PRにセットされているパターンが「2」である(PR
=2)と判定、すなわち、パターンレジスタPRにセッ
トされているパターンがイントロパターンであると判定
すると、ステップ1316において、アカンプミックス
フラグAMFが立っているか否か(AMF=1か?)を
判定する。すなわち、アカンプミックスモードか否かを
判定する。このステップ1316においてアカンプミッ
クスフラグAMFが立ってる(AMF=1)と判定する
(アカンプミックスモードであると判定する)と、ステ
ップ1317において、イントロパターンNa A I
 Nに(+1)して、表示レジスタHRにイントロパタ
ーンNo、 A I Nを表示する。 また、ステップ1316において、アカンプミックスフ
ラグAMFが立っていない(AMF≠1)と判定する(
アカンプミックスモードであると判定する)と、ステッ
プ1320に移る。 また、ステップ1315において、パターンレジスタP
Rにセットされているパターンが[m2Jlでない(P
R≠2)と判定、すなわち、パターン−弱− レジスタPRにセットされているパターンがイントロパ
ターンでないと判定すると、パターンレジスタPRにセ
ットされているパターンがエンデイングパターンである
と判定する。そして、ステップ1318において、アカ
ンプミックスフラグAMFが立っているか否か(AMF
=1か?)、すなわち、アカンプミックスモード(伴奏
パターン作成中)か否かを判定する。このステップ13
18においてアカンプミックスフラグAMFが立ってる
(AMF=1)と判定する(アカンプミックスモードで
あると判定する)と、ステップ1319において、エン
デイングパターンNαAENに(+1)して、表示レジ
スタHRにエンデイングパターンN[LA E Nを表
示する。 また、ステップ1318において、アカンプミックスフ
ラグAMFが立っていない(AMF≠1)と判定する(
アカンプミックスモードである、伴奏パターン作成中と
判定する)と、ステップ1320に移る。このステップ
1320においては、表示レジスタHRにリズムナンバ
ーレジスタRRに(+1:)して現在入っているものを
表示する。 第12図のステップ806の表示処理(第17図)が行
われると、第9図のステップ503のリズム切換処理が
終わる。この第9図のステップ503のリズム切換処理
が終わると、ステップ504において、オートオペレー
ションモード処理が行われる。 このステップ504のオートオペレーションモード処理
の詳細は、第14図に示されている。すなわち、ステッ
プ1401において、アカンプミックスフラグAMFが
立っていないかどうか(AMF=Oか?)を判定する。 すなわち、アカンプミックスモード(伴奏パターン作成
中)になっていないかどうかを判定する。このステップ
1401においてアカンプミックスフラグAMFが立っ
ている(AMFf−O)と判定すると、アカンプミック
スモード(伴奏パターン作成中)であるので、ステップ
1407でリターンする。 また、ステップ1401においてアカンプミックスフラ
グAMFが立っていない(AMF=O)、すなわち、ア
カンプミックスモードになっていない(伴奏パターンを
作成していない)と判定すると、ステップ1402にお
いて、第5図に図示のオートオペレーションSWI O
61が押されたが否かを判定する。このステップ14o
2において第5図に図示のオートオペレーションSWI
 O61が押されていないと判定すると、ステップ14
07に進みリターンする。 このステップ1402においてオートオペレーションS
WI O61が押されたと判定すると、第8図に図示の
アカンプミックスメモリ部内のバッファエリアに格納さ
れている伴奏パターンは選択されず、パターンメモリ部
内のりズム#1〜#5のいずれかが選択されていること
になる。そこで、ステップ1403において、リズムナ
ンバーレジスタRR(第2図)に示されるオペレーショ
ンデータ(第3図)を読み出す。そして、第3図に示さ
れるオペレーションデータ内のりズム#1〜#5のいず
れかのエリアに格納されている伴奏パターンの各データ
を読み出した後、ステップ1404において、第1図に
図示のCPUl01に内蔵されるフラグ・カウンタ・レ
ジスタ群FORのテンポデータレジスタTR(第2図)
に第3図に図示のオペレーションデータ内のエリアに格
納されているテンポデータOTPのデータを書き込む。 そして、ステップ1405において、メロディトーンレ
ジスタMTRに第3図に図示のオペレーションデータ内
のエリアに格納されているメロデイ音色NαOMTのデ
ータを書き込む。 さらに、ステップ1406において、メロディトーンレ
ジスタMTR(第2図)の示すN[lを第1図に図示の
メロデイ音発生部109にセットして、第9図のメイン
動作フローに戻る。 第14図のオートオペレーションモード処理が終了する
と、第9図のステップ505において、アカンプミック
スモード処理が行われる。このアカンプミックスモード
処理は、第5図に図示のアカンプミックスSWを押して
任意のパートを選択組合わせて新たな自動伴奏パターン
を作成する処理である。 アカンプミックスモード処理の詳細は、第15図に示さ
れている。すなわち、ステップ15o1において、第5
図に図示のアヵンプミックスswの内、モードSWI 
O65が押されたが否が、すなわち、モードSWI O
65(7)設定がIi′o」(パターンメモリ部106
のパターンメモリ部に格納されている伴奏パターン)が
11」 (パターンメモリ部106のアカンプミックス
メモリ部に格納されている伴奏パターン)かを判定する
。 このステップ15o1においてモードSWI O65の
設定がIrJ  (パターンメモリ部106のパターン
メモリ部に格納されている伴奏パターン)であると判定
すると、ステップ15o2において、第2図に図示のア
ヵンプミックスフラグAMFが「0」か否か(AMF=
Oが?)、すなわち、アカンプミックスモード(伴奏パ
ターン作成中)が否かを判定する。このステップ15o
2においてアカンプミックスフラグAMFが立っていな
い(AMF=O)と判定する(アヵンプミックスモード
でないと判定する)と、ステップ1503において、ア
カンプミックスフラグAMFを立てる(アカンプミック
スフラグAMFに1をセットする)。このステップ15
02からステップ1503△は、イニシャル時だけであ
る。このステップ1503においてアカンプミックスフ
ラグAMFを立てることによってステップ1502から
は、常時第10図に示されるイニシャル処理フロー内の
ステップ605に移る。そして、ステップ1504にお
いて、第2図に図示のパートセットレジスタPSRにI
r1Jl  (リズムNα)をセットし、第17図の表
示処理を行う。 また、ステップ1501においてモード5W1065の
設定が「0」でない(パターンメモリ部106のアカン
プミックスメモリ部に格納されている伴奏パターンであ
る)と判定すると、ステップ1506において、第2図
に図示のアカンプミックスフラグAMFがIrO」か否
か(AMF=0か?)、すなわち、アカンプミックスモ
ード(伴奏パターン作成中)か否かを判定する。 このステップ1506においてアカンプミックスフラグ
AMFが立っていない(AMF=O)と判定する(アカ
ンプミックスモードでないと判定する)と、アカンプミ
ックスモード処理を終了する。 また、ステップ1506においてアカンプミックスフラ
グAMFが立っている(AMF≠0)と判定する(アカ
ンプミックスモードであると判定する)と、ステップ1
507において、第5図に図示のアカンプミックスSW
の内、リズムセットSWI O62が押されたか否か、
すなわち、リズムパートを選んだか否かを判定する。こ
のステップ1507において、第5図に図示のアカンプ
ミックスSWの内、リズムセットSWI O62が押さ
れた、すなわち、リズムパートが選ばれたと判定すると
、ステップ1508において、第2図に図示のパートセ
ットレジスタPSRに「1」 (リズムNα)をセット
する。 また、ステップ15o7において、第5図に図示のアカ
ンプミックスSWの内、リズムセット5W1062が押
されていない、すなわち、リズムパートが選ばれていな
いと判定すると、ステップ1509において、第5図に
図示のアカンプミックスSWの内、ベースセットSWI
 063が押されたか否か、すなわち、ベースパートを
選んだか否かを判定する。 このステップ1509において、第5図に図示のアカン
プミックスSWの内、ペースセット5W1063が押さ
れた、すなわち、ベースパートが選ばれたと判定すると
、ステップ1510において、第2図に図示のパートセ
ットレジスタPSRに「2」 (ベースNα)をセット
する。 また、ステップ1509において、第5図に図示のアカ
ンプミックスSWの内、ペースセット5W1063が押
されていない、すなわち、ベースパートが選ばれていな
いと判定すると、ステップ1511において、第5図に
図示のアカンプミックスSWの内、コードセット5W1
064が押されたか否か、すなわち、コードパートを選
んだか否かを判定する。このステップ1511において
、第5図に図示のアカンプミックスSWの内、ニードセ
ット5W1064が押された、すなわち、コードパター
ンが選ばれたと判定すると、ステップ1512において
、第2図に図示のパートセットレジスタPSRにli’
3.!l  (コードNα)をセットする。 これらのパートセットレジスタPSRに「1」(リズム
Nα)、Ir2j  (ベースNα)、[r3JJ (
コードNα)のいずれかをセットするとアカンプミック
スモード処理を終了する。 また、ステップ1511において第5図に図示のアカン
プミックスSWの内、コードセット5W1064が押さ
れていない、すなわち、コードパートが選ばれていない
と判定すると、ステップ1513において、第5図に図
示のフィルイン5W1056が押されたか否かを判定す
る。このステップ1513において第5図に図示のフィ
ルイン5W1056が押されたと判定すると、ステップ
1514において、第1図のCPUl0Iのフラグ・カ
ウンタ・レジスタ群FCRのパターンレジスタPR(第
2図)にD′1」をセットする。すなわち、フィルイン
パターンを示すアドレスNoを書き込んで、ステップ1
517において表示処理を行い第9図のメイン動作フロ
ーのステップ511に移る。 また、ステップ1513において第5図に図示のフィル
インSWI O56が押されていないと判定すると、ス
テップ1515において、第5図に図示のエンデイング
SWI O57が押されたか否かを判定する。 このステップ1515において第5図に図示のエンデイ
ングSWI O57が押されたと判定すると、ステップ
1516において第1図のCPUl01のフラグ・カウ
ンタ・レジスタ群FORのパターンレジスタPR(第2
図)にff’3J]をセットする。すなわち、エンデイ
ングパターンを示すアドレスNαを書き込んで、ステッ
プ1517において表示処理を行い第9図のメイン動作
フローのステップ511に移る。 また、ステップ1515において第5図に図示のエンデ
イングSWI O57が押されていないと判定すると、
アカンプミックスモード処理を終了して第9図のメイン
動作フローに戻る。 第9図のステップ505のアカンプミックスモード処理
が終了すると、ステップ506において、音色切換え処
理を行う。 このステップ506の音色切換え処理の詳細は、第18
図に示されている。すなわち、ステップ1901におい
て、第5図に図示のメロデイ音色選択SWI O60が
押されているか否かを判定する。 このステップ1901において第5図に図示のメロデイ
音色選択SWI O60が押されていないと判定すると
、第9図に図示のメイン動作フローにおけるステップ5
06の音色切換え処理を終了する。 また、このステップ1901において第5図に図示のメ
ロデイ音色選択SW1060が押されていると判定する
と、ステップ1902において、第5図に図示のメロデ
イ音色選択SWI O60の内の押されているSWに対
応したNnをメロディ−トーンレジスタMTR(第2図
)にセットする。 そして、第5図に図示のメロデイ音色選択5W1060
の内の押されているSWに対応したNαがメロディ−ト
ーンレジスタMTR(第2図)にセットされると、ステ
ップ1903において、CPU101からメロディ−ト
ーンレジスタMTR(第2図)にセットされたリズムパ
ート(Nα)のメロディ−トーンを第1図に図示のメロ
ディ発生部109に出力する。 次に、ステップ19o4において、アヵンプミックスフ
ラグAMFが立っていないかどうが(AMF=Oか?)
を判定する。すなわち、アヵンプミックスモードになっ
ていないかどうかを判定する。このステップ1904に
おいてアヵンプミックスフラグAMFが立っていない(
AMF=O)と判定すると、第9図に図示のメイン動作
フローに戻る。また、このステップ1904においてア
カンプミックスフラグAMFが立っている(AMF≠0
)、すなわち、アカンプミックスモードであると判定す
ると、ステップ19o5において、第8図に図示のアカ
ンプミックスメモリ部内のバツフアエリアのメロデイ音
色N(IA T Mにメロディ−トーンレジスタMTR
(第2図)にセットされているメロディ−トーンをセッ
トして第9図に図示のメイン動作フローに戻る。 第9図のステップ506において音色切換え処理を行う
と、ステップ507において、第5図に図示のイントロ
SWI O53が押されたか否がを判定する。このステ
ップ507において第5図に図示のイントロSWI O
53が押されたと判定すると、ステップ508において
、パターンレジスタPRにIr2Jlをセットする。す
なわち、イントロパターンを示すアドレスNoを書き込
んで、ステップ509において表示処理(第17図)を
行う。 また、ステップ507において第5図に図示のイントロ
SWI O53が押されていないと判定すると、ステッ
プ510において、第5図に図示のスター)−8W10
54が押されたが否かを判定する。このステップ510
において、第5図に図示のスタート5W1054が押さ
れていないと判定すると、ステップ502に戻る。また
、ステップ510において、第5図に図示のスタート5
WI054が押されたと判定すると、ステップ511に
おいて、第1図のCPUl0Iのフラグ・カウンタ・レ
ジスタ群FORの伴奏中フラグBF(第2図)がff’
l、fi  (現在伴奏中を示す)か否か、すなわち、
伴奏パターンを再生しているか否かを判定する。 このステップ511において、現在伴奏中であると判定
すると、ステップ512しこおいて、コードジャッジを
行う。すなわち、第5図に図示の伴奏鍵1042の押さ
れた伴奏鍵のコードを判定して、ステップ513におい
てベース再生処理を、ステップ514においてコード再
生処理を、ステップ515においてリズム再生処理をそ
れぞれ行う。 このステップ515のリズム再生処理の詳細は。 第19図に示されている。すなわち、ステップ2001
において、アカンプミックスフラグAMFが立っていな
いかどうか(AMF=Oか?)を判定する。すなわち、
アカンプミックスモード(伴奏パターン作成中)になっ
ていないかどうかを判定する。 このステップ2001において、アカンプミックスフラ
グAMFが立っている(AMF≠0)、すなわち、アカ
ンプミックスモードになっている(伴奏パターン作成中
)と判定すると、ステップ2004において、アカンプ
ミックスモードデータ読み込み処理を行う。 このステップ2004におけるアカンプミックスモード
データ読み込み処理の詳細は、第21図に示されている
。 すなわち、ステップ2201において、第1図に図示の
CPUl0Iに内蔵されているフラグ・カウンタ・レジ
スタ群FCRのパターンレジスタPR(第2図)の指定
パターンNαが「1」であるか否か(PR=1か?)を
判定する。すなわち、パターンレジスタPRに指定され
ているパターンがフィルインパターンであるか否かを判
定する。 このステップ2201において、パターンレジスタPR
にセットされているパターンが[rlJlである(PR
=1)と判定、すなわち、パターンレジスタPRにセッ
トされているパターンがフィルインパターンであると判
定すると、ステップ2202において、第8図に図示の
アカンプミックスメモリ部のバッファエリアにセットさ
れているフィルインリズムNa A F Rに示されて
いるフィルインパターンのりズムカウンタRC103の
カウンタNα(アドレス)の示すパターンNαのデータ
を読む。すなわち、バッファエリアの示すフィルインパ
ターンNαのデータを読む。 また、ステップ2201において、パターンレジスタP
R(第2図)にセットされているパターンがli’l、
!lでない(PR≠1)と判定、すなわち、パターンレ
ジスタPRにセットされているパターンがフィルインパ
ターンでないと判定すると、ステップ2203において
、第1図に図示のCPU101に内蔵されているフラグ
・カウンタ・レジスタ群FCHのパターンレジスタPR
(第2図)の指定パターンNαが「2」であるか否か(
PR=2か?)を判定する。すなわち、パターンレジス
タPRに指定されているパターンがイントロパターンで
あるか否かを判定する。 このステップ2203において、パターンレジスタPR
にセットされているパターンがF2jである(PR=2
)と判定、すなわち、パターンレジスタPRにセットさ
れているパターンがイントロパターンであると判定する
と、ステップ2204において、第8図に図示のアカン
プミックスメモリ部のバッファエリアにセットされてい
るフィルインリズムNαAINに示されているフィルイ
ンパターンのりズムカウンタRC103のカウンタNa
 (アドレス)の示すパターンNaのデータを読む。 すなわち、バッファエリアの示すイントロパターンNα
のデータを読む。 ステップ2203において、パターンレジスタPRにセ
ットされているパターンが[r2,1でない(PR≠2
)と判定、すなわち、パターンレジスタPRにセットさ
れているパターンがイントロパターンでないと判定する
と、ステップ2205において、第1図に図示のCPU
l0I:に内蔵されているフラグ・カウンタ・レジスタ
FCRのパターンレジスタPR(第2図)の指定パター
ンNaが「3Jであるか否か(PR=3か?)を判定す
る。 すなわち、パターンレジスタPRに指定されているパタ
ーンがエンデイングパターンであるか否かを判定する。 このステップ22o5において、パターンレジスタPR
にセットされているパターンがIi’3jである(PR
=3)と判定、すなわち、パターンレジスタPRにセッ
トされているパターンがエンデイングパターンであると
判定すると、ステップ2206において、第8図に図示
のアカンプミックスメモリ部のバラ2アエリアにセット
されているエンデイングN[L A E Nに示されて
いるエンデイングパターンのりズムカウンタRC103
のカウンタNα(アドレス)の示すパターンNOのデー
タを読む。すなわち、バッファエリアの示すエンデイン
グパターンNαのデータを読む。 また、ステップ2205において、パターンレジスタP
Rにセットされているパターンが「3■でない(PR≠
3)と判定、すなわち、パターンレジスタPRにセット
されているパターンがエンデイングパターンでないと判
定すると、パターンレジスタPRに指定されているパタ
ーンは、本パターンであると判定する。そして、ステッ
プ2207において、第8図に図示のアカンプミックス
メモリ部のバッファエリアにセットされている本リズム
NαAHRに示されている本パターンのりズムカウンタ
RC103のカウンタHa (アドレス)の示すパター
ンNαのデータを読む。すなわち、バッファエリアの示
す本パターンNnのデータを読む。 このように第22図におけるアカンプミックスモードデ
ータ読み込み処理を終了すると、第19図のリズム再生
処理のフローのステップ20o7に移る。このステップ
2007においては、リズム選択SWI Os 1によ
って選択したリズムナンバーに基づいて、選択されたパ
ターンNαのリズムパートデータに対応したリズム音を
発音する。 ステップ2001においてアカンプミックスフラグAM
Fが立っていない(AM F = O)  と判定する
と、ステップ2002において、第1図のCPUl0I
のフラグ・カウンタ・レジスタ群FCRのパターンレジ
スタPR(第2図)が[i’l、]か否か(PR=1か
?)を判定する。すなわち、パターンレジスタPRに格
納されているパターンアドレスNαがフィルインパター
ンになっているか否かを判定する。 このステップ2002において、第1図のCPU101
のフラグ・カウンタ・レジスタ群FCRのパターンレジ
スタPR(第2図)に格納されているパターンアドレス
Nαがフィルインパターン(PR=1)になっていると
判定すると、ステップ2003において、第2図(、)
に示されているリズムナンバーレジスタRRの示すフィ
ルインパターンのりズムカウンタRC103のカウンタ
Nα(アドレス)の示すパターンNQのデータを読む。 すなわち、リズムナンバーレジスタRRの示す第7図に
図示のパターンメモリ部の内のフィルインパターンNα
のデータを読む。そして、ステップ2013に移る。 また、ステップ2002において、第1図のCPUI 
O1のフラグ・カウンタ・レジスタ群FCRのパターン
レジスタPR(第2図)がUfl」でない(PR≠1−
)、すなわち、パターンレジスタPRに格納されている
パターンアドレスNαがフィルインパターンになってい
ないと判定すると、ステップ2005において、第1図
のCPUl0Iのフラグ・カウンタ・レジスタ群FCR
のパターンレジスタPR(第2図)がli’3jか否か
(PR=3か?)を判定する。すなわち、パターンレジ
スタPRに格納されているパターンアドレスNoがエン
デイングパターンになっているか否かを判定する。 このステップ2005において、第1図のCPU101
のフラグ・カウンタ・1ノジスタ群FCRのパターンレ
ジスタPR(第2図)に格納されているパターンアドレ
スNoがエンデイングパターンになっている(PR=3
)と判定すると、ステップ2006において、第2図(
、)に示されているリズムナンバーレジスタRRの示す
エンディングパターンのりズムカウンタRC103のカ
ウンタNα(アドレス)の示すパターンNαのデータを
読む。すなわち、リズムナンバーレジスタRRの示す第
7図に図示のパターンメモリの内のエンデイングパター
ンNaのリズムデータを読む。そして、ステップ2o0
7において、リズム選択SWI O51によって選択さ
れたリズムナンバーレジスタRRの示すリズムナンバー
に基づいて選択されたパターンNαのリズムパートデー
タに対応したリズム音を発音する。 また、ステップ2005において、第1図のCPUl0
Iのフラグ・カウンタ・レジスタ群FCRのパターンレ
ジスタPR(第2図)が13.!lでない(PR≠3)
、すなわち、パターンレジスタPRに格納されているパ
ターンアドレスNαがエンデイングパターンになってい
ないと判定すると、ステップ2008において、第1図
のCPUl01のフラグ・カウンタ・レジスタ群FCR
のパターンレジスタPR(第2図)がIr2jか否か(
PR=2か?)を判定する。すなわち、パターンレジス
タPRに格納されているパターンアドレスNαがイント
ロパターンになっているか否かを判定する。 このステップ2008において、第1図のCPU101
のフラグ・カウンタ・レジスタ群FCHのパターンレジ
スタPR(第2図)に格納されているパターンアドレス
Nαがイントロパターンになっている(PR=2)と判
定すると、ステップ2009において、第2図(a)に
示されているリズムナンバーレジスタRRの示すイント
ロパターンのりズムカウンタRC103のカウンタNα
(アドレス)の示すパターンNαのデータを読む。すな
わち、リズムナンバーレジスタRRの示す第7図に図示
のパターンメモリの内のイントロパターンNQのリズム
パートデータを読む。そして、ステップ2013に移る
。 このステップ2013においては、リズムカウンタRC
の値がIi’15j か否か(RC=15か?)、すな
わち、16進カウンタで構成されるリズムカウンタRC
103のカウント値が最大値のIi’15」に達したか
否かを判定する。このステップ2013においてリズム
カウンタRCの値が「15yである(RC=15)と判
定すると、ステップ2014において、第1図のCPU
l0Iのフラグ・カウンタ・レジスタ群FORのパター
ンレジスタPR(第2図)のパターンアドレスNαにf
f0Jlをセット、すなわち、パターンレジスタPR(
第2図)を本パターンにセット(PR=O)する。そし
て、ステップ2007において、リズム選択5W105
1によって選択したリズムナンバーレジスタRRの示す
リズムナンバーに基づいて選択されたパターンNaのリ
ズムパートデータに対応したリズム音を発音する。 また、ステップ2008において、第1図のCPUl0
Iのフラグ・カウンタ・レジスタ群FORのパターンレ
ジスタPR(第2図)に格納されているパターンアドレ
スNαがIi’2jでない(PR≠2)、すなわち、パ
ターンレジスタPRが本パターンである(PR=O)と
判定すると、ステップ2010において、第2図(a)
に示されているリズムナンバーレジスタRRの示す本パ
ターンのりズムカウンタRC103のカウンタNα(ア
ドレス)の示すパターンNnのデータを読む。すなわち
、リズムナンバーレジスタRRの示す第7図に図示のパ
ターンメモリの内のエンデイングパターンNαのリズム
パートデータを読む。そして、ステップ2011に移る
。 このステップ2011においては、リズムカウンタRC
の値が[i’15Jlか否か(RC=15か?)、すな
わち、16進カウンタで構成されるリズムカウンタRC
103のカウント値が最大値の(i′15Aに達したか
否かを判定する。このステップ2011においてリズム
カウンタRCの値が「15」である(RC=15)と判
定すると、ステップ2011において、リズムナンバー
レジスタRRの示す第7図に図示のパターンメモリの内
の本パターンNαのリズムパートデータに対応したリズ
ム音を発音する。そして、第10図のイニシャル処理の
ステップ605に移る。 また、ステップ2011においてリズムカウンタRCの
値が[i’lJでない(RC≠15)、すなわち、16
進カウンタで構成されるリズムカウンタRC103のカ
ウント値が最大値のr15」に達していないと判定する
と、ステップ2007に進み、リズムナンバーレジスタ
RR(第2図)の示す第7図に図示の本パターンのりズ
ムカウンタRC103(第1図)のカウンタNα(アド
レス)の示すパターンNαのデータに対応したリズム音
を発音する。 この第9図のステップ515のリズム再生処理が終了す
ると、ステップ518において、第1図のタイマークロ
ック発生部102からのタイマークロックの入力待、ち
状態になる。このステップ518においてタイマークロ
ックの入力を判定すると、ステップ519において、第
1図のりズムカウンタRC103がカウントアツプ(+
1)される。 そして、第9図に図示のメイン動作フローのステップ5
20における第11図に詳細に示されるテンポ処理(第
11図)、及び、第9図に図示のメイン動作フローのス
テップ521において各種切換処理を経た後、第9図に
図示のメイン動作フローのステップ511に戻る。 この第9図に図示のメイン動作フローのステップ521
の各種切換処理の詳細は、第21図に示されている。 すなわち、ステップ2101において、第5図に図示の
フィルインSWI O56が押されたか否かを判定する
。このステップ2101において第5図に図示のフィル
インSWI O56が押されたと判定すると、ステップ
2102において、第1図に図示のCPUl01のフラ
グ・カウンタ・レジスタ群FCHのパターンレジスタP
R・(第2図)に「IJをセットする。すなわち、ステ
ップ2102においては、フィルインパターンを示すア
ドレスHaを書き込む。このステップ2102において
フィルインパターンを示すアドレスNαを書き込むと、
ステップ2109において表示処理(第18図)を行い
第9図のメイン動作フローのステップ511に移る。 また、ステップ2101において第5図に図示のフィル
イン5W1056が押されていないと判定すると、ステ
ップ2103において、第5図に図示のエンデイングS
WI O57が押されたか否かを判定する。このステッ
プ2103において第5図に図示のエンデイング5W1
057が押されたと判定すると、ステップ2104にお
いて、第1図に図示のCPUl0Iのフラグ・カウンタ
・レジスタ群FCRのパターンレジスタPR(第2図)
に「3」をセットする。すなわち、ステップ2104に
おいては、エンデイングパターンを示すアドレスNαを
書き込む。このステップ2104においてエンデイング
パターンを示すアドレスNaを書き込むと、ステップ2
109において表示処理(第18図)を行い第9図のメ
イン動作フローのステップ511に移る。 また、ステップ2103において第5図に図示のエンデ
イングSWI O57が押されていないと判定すると、
ステップ2105において、第5図に図示のストップS
WI O55が押されたか否かを判定する。 このステップ2105において第5図に図示のストップ
SWI O55が押されたと判定すると、ステップ21
06おいて、アカンプミックスフラグAMFが立ってい
ないかどうか(AMF=Oか?)を判定する。すなわち
、アカンプミックスモードになっていないかどうかを判
定する。このステップ2106においてアカンプミック
スフラグAMFが立っていない(AMF=O)、すなわ
ち、アカンプミックスモードになっていないと判定する
と、第10図に図示のイニシャル処理フローのステップ
605に移る。 また、ステップ2106においてアカンプミックスフラ
グAMFが立っている(AMF≠0)、すなわち、アカ
ンプミックスモードになっている(伴奏パターン作成中
)と判定すると、ステップ2107において、第1図に
図示のCPUl0Iのフラグ・カウンタ・レジスタ群F
ORのパターンレジスタPR(第2図)にIrO,]を
セセラする。 すなわち、ステップ2107において、本パターンを示
すアドレスNαを書き込んで、第9図のメイン動作フロ
ーのステップ502に移る。 また、ステップ2105において第5図に図示のストッ
プSWI O55が押されていないと判定すると、ステ
ップ2108において、第12図に図示のリズム切換処
理を行い、第9図のメイン動作フローのステップ511
に移る。 第9図のメイン動作フローのステップ511において、
第1図のCPU101のフラグ・カウンタ・レジスタ群
FCRの伴奏中フラグBF(第2図)が「1」 (現在
伴奏中を示す)でない(BF≠1)、すなわち、伴奏パ
ターンを再生していないと判定すると、ステップ516
において、第1図に示される鍵盤部104(第4図)の
伴奏鍵1042を押鍵することによって出力される第6
図に図示の鍵情報データが、第1図のCPUI O1に
入力されたか否かを判定する。 このステップ516において伴奏鍵1042からの鍵情
報データ(第6図)が、第1図のCPU101に入力さ
れなかったと判定すると、ステップ515に移り、リズ
ム再生処理(第19図)螢行う。 また、ステップ516において伴奏fJ11042から
の鍵情報データ(第6図)が、第1図のcPUlolに
入力されたと判定すると、ステップ517において、伴
奏中フラグBF(第2図)を立てる。すなわち、第1図
のCPUl01のフラグ・カウンタ・レジスタ群FCR
の伴奏中フラグBF(第2図)に「IJ (現在伴奏中
を示す)をセットする(BF−4)。そして、ステップ
512に移り、コードジャッジを行う。すなわち、第5
図に図示の伴奏鍵1042の押された伴奏鍵のコードを
判定して、ステップ513においてベース再生処理を、
ステップ514においてコード再生処理を、ステップ5
15においてリズム再生処理(第19図)をそれぞれ行
う。 このように、第9図のステップ521→ステツプ511
→ステツプ512→ステツプ513→ステツプ514→
ステツプ515→ステツプ520→ステツプ521→ス
テツプ511のループ処理を繰り返すことにより、第7
図に図示の本リズムパターンの内、リズムナンバーレジ
スタRRの示す値に対応するリズムナンバー(#1〜#
5のうちのいずれか)の16(O〜15)ステップの本
リズムパターンが順次読み出され、それに対応してリズ
ム音が発音される。 このリズム音のみの再生動作において、リズム音の発音
スピードは第9図のステップ518において第1図のり
ズムカウンタRC103がカウントアツプされる速度、
すなわちステップ515において第1図のタイマークロ
ック発生部102からなるタイマークロックが入力する
速度で決まる。 そして、このタイマークロックの入力タイミングは、第
1図のcPUlolがテンポデータレジスタTR(第2
図)のO〜31の値に応じて、31段階に決定する。テ
ンポデータレジスタTRの値は、第9図のステップ50
1のイニシャル処理で中間の値「16」に初期設定され
ており(第10図のステップ602)、また、自動伴奏
の前に第9図のステップ502で変更され得る。 【発明の効果1 本発明は、上述のとおり構成されているので、次に記載
する効果を奏する。 複数のパートからなり予め各パートが設定記憶されてい
る複数種類の伴奏パターンデータの各伴奏パターンデー
タの中から、伴奏パターンを構成している各パートのデ
ータを任意に選択して組合せて新たな別種の伴奏パター
ンを作成し、この作成された伴奏パターンデータを一時
記憶しておく。 また、予め設定記憶されている伴奏パターンを用いる第
1のモードと作成して一時記憶されている伴奏パターン
を用いる第2のモードのいずれかにモードを任意に切り
換えることにより、自由に伴奏パターンを選択すること
ができる。そして、第1のモード時に発生される伴奏パ
ターンデータの各パートのデータを第2のモードの伴奏
パターンの対応する各パートのデータに置き換えて新た
な伴奏パターンを作成することができるため、予め記憶
された伴奏データの一部パートの異なる伴奏パターンを
手早く簡単に作成することができる。 このように本発明は、予め設定して作成され記憶されて
いる複数の伴奏パターンデータの中から、伴奏パターン
を構成する各パート(リズムパート、ベースパート、コ
ードパート)のデータを任意に選択組合せることにより
、音楽的な知識を持ち合わせていない人でも好みに応じ
た伴奏パターンを簡単に素早く作成することができ、モ
ードを切り換えることにより作成された伴奏パターンデ
ータと予め設定作成されている伴奏パターンデータとを
任意に選択して伴奏音信号を出力することができる。
However, among conventional automatic accompaniment devices, the former is too specialized for users to create the three parts of rhythm, bass, and chords by themselves, and is not suitable for general users. The problem is that it is not possible to have Furthermore, among conventional automatic accompaniment devices, the latter is designed to be preset, so the user cannot change the automatic accompaniment pattern at all, and can freely use automatic accompaniment patterns other than those prepared in advance. The problem is that it cannot be configured. The present invention creates an accompaniment pattern according to one's preference by arbitrarily selecting and combining the data of each part constituting an accompaniment pattern from among a plurality of accompaniment pattern data that are created and stored in advance. To provide an automatic accompaniment device capable of outputting accompaniment sound signals by arbitrarily selecting accompaniment pattern data created by switching modes and accompaniment pattern data created in advance. It is an object. [Means for Solving the Problems 1] In order to achieve the above object, the automatic accompaniment device of the present invention is composed of a plurality of parts and stores a plurality of types of accompaniment pattern data in which each part is set in advance. The first
accompaniment pattern storage means, selection means capable of arbitrarily selecting a plurality of types of accompaniment pattern data stored in the first accompaniment pattern storage means, and each part of at least one accompaniment pattern data capable of being stored. The second
accompaniment pattern storage means, and the accompaniment data stored in the first accompaniment pattern storage means selected by the selection means of each part of the accompaniment pattern data stored in the second accompaniment pattern storage means. an accompaniment pattern creating means for creating a new accompaniment pattern by replacing data of each part corresponding to the pattern; a mode switching means capable of arbitrarily switching between a first mode and a second mode; and the mode switching means. When the means selects the first mode, the accompaniment pattern is based on the accompaniment pattern data selected from the first accompaniment pattern storage means by the selection means, and when the means selects the second mode, the accompaniment pattern is stored in the second accompaniment pattern storage means. and accompaniment sound signal output means for outputting an accompaniment sound signal based on the data. [Effect 1 The accompaniment of a song is composed of four elements: intro, main pattern, fill-in, and ending. Accompaniment pattern data for each of the intro, main pattern, fill-in, and ending are stored in multiple types of accompaniment patterns for clause 1. stored in the means. A plurality of accompaniment pattern data stored in the first accompaniment pattern storage means is arbitrarily selected, data of each part is read out, and a new accompaniment pattern (second accompaniment pattern) is created. The created second accompaniment pattern is stored in a second accompaniment pattern storage means having a temporary storage function. and,
The first mode of the accompaniment pattern data stored in the first accompaniment pattern storage means and the second mode of the accompaniment pattern data stored in the second accompaniment pattern storage means are arbitrarily switched by the mode switching means. Based on the selected accompaniment pattern data, an accompaniment tone signal is outputted by the accompaniment tone signal output means and emitted. Therefore, according to the present invention, by arbitrarily selecting and combining the data of each part constituting an accompaniment pattern from among a plurality of accompaniment pattern data that are created and stored in advance, an accompaniment pattern according to one's preference can be created. Automatic accompaniment can be performed by outputting an accompaniment sound signal based on either accompaniment pattern data created by switching the mode or accompaniment pattern data created by setting in advance. It can be performed. [Example] Hereinafter, an example of the automatic accompaniment device according to the present invention will be described. (Configuration of Automatic Accompaniment Device) FIG. 1 shows an embodiment of the automatic accompaniment device according to the present invention. In the figure, 101 is a CPU (central processing unit),
This CPUl0I is a control device that controls the entire operation, and contains a flag counter register group (FCR1
(same below) 1011. The flag counter register group FCRIOII is the second
It has a configuration as shown in FIG. 3 and FIG. This FOR
IOll includes rhythm number register (RR), pattern register (PR), display register (HR), accompaniment flag (BF), tempo data register (TR), part set register (PSR), and accomp mix flag (AMF). , melody-tone register (MTR)
, auto-operation register (AOR). Each of these registers is as follows. Rhythm number register (RR) (Figure 2 (a)) No. 5
A 3-bit register indicating which switch's rhythm is currently designated among switches #1 to #5 of the rhythm selection switch 1051 shown in the figure. Pattern register (PR) (Fig. 2(b)) A 2-bit register indicating whether the current rhythm pattern or chord pattern is a main pattern, a fill-in pattern, an India 0 pattern, or an ending pattern. Display register HR (Fig. 2 (C)) This is a register for displaying the number currently being operated for automatic accompaniment. Accompaniment flag BF (FIG. 2(d)) A 1-bit register indicating whether or not accompaniment is being performed.It indicates 1 during accompaniment and O when not. Tempo data register TR (FIG. 2(e)) This is a 5-bit register indicating the current tempo, and the rhythm counter RC counts up based on this tempo. Part set register PSR (FIG. 2(f)) A register that indicates which part is selected among the rhythm, bass, and chord parts of the accompaniment pattern. This register determines one accompaniment pattern. Accomp mix flag AMF (Figure 2 (g)) This register indicates whether an accomplice is currently being created (accomp mix is being performed), and when an accomplice is being written, this value becomes "1". Other than writing in accamps, it becomes [mJ. Melody-tone register MTR (FIG. 2(h)) Tone register. Auto operation flag AOF (Figure 13) There are five types of rhythms, but additionally includes tones and tempos. By selecting the auto operation mode switch 1061 shown in FIG. 5 from these five types of rhythm patterns, one rhythm pattern is selected, and since this rhythm pattern has a fixed tempo and melody, it can be used as a third rhythm pattern. Transfer the tempo data (○TP) shown in the figure to the melody tone Nα (OMT). The CPUl0I includes a keyboard section 104, a switch section 105,
pattern memory section 106, chord progression memory section 107,
An auto-operation memory section 113, a code judge section 108, and a timer clock generation section 102 are connected. The keyboard section 104 is constructed as shown in FIG. That is, the keyboard section 104 is composed of a plurality of keys 1041, and is capable of generating a scale of one five octave from C2 of the 0th octave (○C=O) to C7 of the 5th octave (OC=5). ing. Of these, the accompaniment keys 1042 from C8 to C3 function as keys for specifying normal scales during normal performance, but function as keys for specifying chords during automatic accompaniment, which will be described later. When automatic accompaniment is performed and normal performance is performed, the keyboard section 104 in FIG.
The key information KI as shown in FIG. 6 is input to C, PUl 01 from. This key information KI is ON indicating key press/key release.
/QFF information OF, a key code KC indicating one of the 12 scales, and an octave code OC indicating the octave. And keyboard part 1
When any key 1041 (Fig. 4) on 04 is pressed, the CPU 10I generates pitch information corresponding to the pressed key based on the key code KG and octave code ○C. and supplies it to the melody sound generation section 109. As a result, the melody sound generating section 109 generates a melody sound based on the pitch information, and the sound is emitted via the sound system 112. The switch section 105 is a group of switches arranged adjacent to the keyboard section 104 for making various settings during automatic accompaniment, and has a configuration as shown in FIG. 5. Reference numeral 1051 denotes a rhythm selection switch consisting of five switches #1 to #5. This rhythm selection switch 1051
has a total of 5 preset performance patterns (
#], ~ #5) Yes. In this way, rhythm selection switch 1
051 is a pattern selection switch for selecting a pattern for automatic accompaniment by pressing any one of them. 1058 is a tempo down switch, which lowers the tempo of automatic accompaniment. 1059 is a tempo up switch, which is a switch for increasing the tempo of automatic accompaniment. 1053.1054.1055.1056.1057 indicates the type of automatic accompaniment pattern. 1053
is the intro switch, and by operating it, the intro, which is the introductory part that is played before entering the main theme of the song, starts. Reference numeral 1054 is a start switch, and when this switch is operated, the main pattern of automatic accompaniment is started. Reference numeral 1055 denotes a stop switch, which is used to stop the automatic accompaniment pattern being played by pressing this switch. 10
56 is a fill-in switch, and by operating this switch, a fill-in performance is started only once. 1057 is an ending switch, and by operating this switch, ending performance is started. Reference numerals 1062, 1063, 1064, and 1065 are accompaniment mix switches, which select any part from among the accompaniment pattern parts that can be selected by the rhythm selection switch 1051 and are stored in advance in the pattern memory section of the pattern memory section 106. This is a switch used to create a new accompaniment pattern according to the player's preference, and a switch that can arbitrarily switch between an accompaniment pattern stored in memory in advance and a created accompaniment pattern. 1
062 is a rhythm set switch for setting a rhythm part, 1063 is a pace set switch for setting a pace part, 1064 is a chord set switch for setting a chord part, and 1065 is a pattern memory section 1
This is a mode switch for arbitrarily switching between the mode of the accompaniment pattern stored in the pattern memory section 106 and the mode of the accompaniment pattern created and stored in the accumb mix memory section of the pattern memory section 106. Therefore, when creating an accompaniment pattern, press the Rhythm Sera I-8W1062 to select # of the five types of accompaniment patterns (#1 to #5) preset in the pattern memory section of the pattern memory section 106. 1, the bass part is selected from #2 of the five accompaniment patterns preset in the pattern memory section of the pattern memory section 106 by pressing the pace set 5W1063, and the chord part is selected from the pattern memory by pressing the chord set SWI O64. The accompaniment pattern #3 may be selected from among the five types of accompaniment patterns set in the pattern memory section of the section 106. The created accompaniment patterns are temporarily stored in the accumb mix memory section of the pattern memory section 106 in order as the rhythm part, bass part, and chord part are created. This accumb mix memory section is configured to be able to store each part of one accompaniment pattern data. The mode switch 1065 selects between the five types of accompaniment patterns set in the pattern memory section of the pattern memory section 106 and the accompaniment pattern temporarily stored in the accumb mix memory section of the pattern memory section 106. It will be done. 1061 is an auto operation mode switch,
Reference numeral 1060 is a tone color changeover switch that allows selection of five tone colors #1 to #5. 1070 is the currently selected rhythm selection switch 1
The number 051 is displayed. The pattern memory section 106 is a memory corresponding to five switches #1 to #5 of the rhythm selection switch 1051 shown in FIG. #5) and an accamp mix memory section (corresponding to the mode switch 1065 of the accamp mix switch shown in FIG. 5). The pattern memory area of the pattern memory section 106 is comprised of the rhythm selection switches #1 to #5 of the rhythm selection switch 1051 shown in FIG.
5 types of accompaniment patterns (#1 to #5) selectable by
) is stored therein, and its interior has a configuration as shown in FIG. In other words, the internal memory of the pattern memory area is divided into a main pattern memory area, a fill-in pattern memory area, an intro pattern memory area, and an ending pattern memory area.The main pattern accompaniment pattern is stored in the main pattern memory area. This includes the rhythm, chord, and bass parts. The accompaniment pattern of this main pattern is selected by the rhythm selection switch 1051 shown in FIG.
Five types are stored corresponding to #1 to #5. Also, in the fill-in pattern memory area, intro pattern memory area, and ending pattern memory area, five types of rhythm, chord, and bass parts are stored, as in the main pattern memory area. The accompaniment mix memory section of the pattern memory section 106 stores accompaniment patterns (accompaniment patterns created by the accompaniment mix switch) that can be switched and selected by the mode switch 1065 shown in FIG.
The inside thereof has a configuration as shown in FIG. In other words, the Accomp Mix Memory section is made up of a buffer area that stores rhythm parts, bass parts,
The accompaniment pattern is stored temporarily as the chord parts are created sequentially. The buffer area includes the rhythm set switch 1062 and the base set switch 1 shown in FIG.
063 and stores the data of each part selected by the code set switch 1064. The buffer area is for temporarily storing accompaniment patterns created by the Accomp Mix switch. This buffer area also allows you to change only the part you want to change. The inside of this buffer area is shown in FIG. That is, the buffer area is made up of a plurality of registers, and each register corresponds to the rhythm selection switch 1o51 in FIG.
Which of the pattern data stored in the pattern memory section 06 is selected is indicated by the respective address Nα. One shows tempo data (ATP) and melody tone color Nn (AMT). One is the intro pattern Nα (A I N
) and the ending pattern number (AEN). One is the rhythm Nα (AHR) of this pattern,
This indicates the base Nα (AHB) of this pattern and the code Nα (AHC) of this pattern, and there are 5 types of each, so 3
Bits are used. Furthermore, the other one indicates the rhythm Nα (APR) of the fill-in pattern, the base Nα (AFB) of the fill-in pattern, and the code Nα (AFC) of the fill-in pattern, each of which is indicated by three bits. The chord progression memory section 107 stores various chords in a concatenated manner. The auto-operation memory section 113 indicates the tone color. Further, the code judge section 108 judges chords such as Cm. In addition, the CPUI Ol includes a timer clock generator 1.
Rhythm counter (same for RC1 and below) 1 that counts up by (+) 1 based on the timer clock from 02
03 is connected. Then, the CPUl01 controls the melody sound generation section 109, the accompaniment sound generation section 110, and the rhythm sound generation section 111,
A musical tone is emitted via the sound system 112. As illustrated in the accompaniment sound generation section 110, the melody sound generation section 109, accompaniment sound generation section 110, and rhythm sound generation section 111, for example, determine the pitch and basic waveform of the generated musical tone.
CO (Digital controlled○5ci
llator) 1101, an envelope generator 1102 that determines temporal changes in its characteristics, and DColol
DCW (D
(digital controlled wave)
1103, an envelope generator 1104 that determines temporal changes in its timbre characteristics, and a DCA (Digital Amplifier) that controls the volume of the output waveform of DCWIIO3.
l controlled Amplifier)
1105, an envelope generator 1106, etc. that determines temporal changes in the volume characteristics, and by changing parameters given to the envelope generators 1102, 1104, 1106, etc., various musical sound waveforms can be generated. . Note that the configuration is not limited to the above configuration, and for example, the rhythm sound generation unit 111 stores the musical sound waveform of an actual rhythm instrument in a memory, and reads and outputs it in synchronization with a rhythm pattern to be described later. A PCM sound source type configuration may also be used. The sound system 112 includes a melody sound generation section 109 and an accompaniment sound generation section 1.
10 and the rhythm sound generating section 111, and is a means for amplifying the musical sound waveforms and emitting the sound, and is, for example, an amplifier, a speaker, or the like. (Operation of the Embodiment) The operation of the embodiment will be described below using the operation flowcharts shown in FIGS. 9 to 24. First, when the player turns on the power of the main body (not shown), the main operation flowchart shown in FIG. 9 starts, and initial processing is first performed in step 501. Details of this initial processing are shown in FIG. That is, in steps 601 to 607 in the figure, various registers of the flag counter register FCR built in the CPU10I in FIG. 1 are initialized. In step 601, the rhythm number register RR is set to [i'J, in step 602, the tempo data register TR is set to F16', and in step 603, the auto operation flag AOF is set to Ir0Jl,
In step 604, buffer initial processing is performed,
In step 605, the accamp mix flag AMF is
to [rOj, in step 606 the rhythm counter RC is set to "OJ", in step 607 the pattern register PR is set to "0", in step 608 the pattern waiting flag PTF is set to IrO,! l, step 609
In this step, the accompaniment flag BF is initially set to ff'o and Q. Note that the tempo data register T in step 602
F16. jl is initially set to [rOJ] - [i'31. This is because since the value of il can be taken, the tempo is initially set to an intermediate value. Further, details of the buffer initial processing in step 604 are shown in FIG. That is, in step 1601, the first intro NαAIN of the buffer area of the accumulating mix memory section shown in FIG.
Lag counter register group FC of CPUl0I in the figure
The intro pattern (FIG. 7) of the rhythm Nα (any of rhythms #1 to #5) stored in the R rhythm number register RR (FIG. 2) is written. Next, in step 1602, the rhythm number register R of the flag/counter register group FCH of CPU10I of FIG.
Rhythm Nα (rhythm #1) stored in R (Figure 2)
- #5) Ending pattern (Figure 7)
Write. Then, in step 1603, the main rhythm Nn A HR of the main pattern in the buffer area of the accumulative mix memory section shown in FIG. The main rhythm (of the main pattern of the rhythm Nα (any of rhythms #1 to #5) stored in Figure 2)
Figure 7). Furthermore, in step 1604, the rhythm number register RR of the flag/counter register group FCR of the CPUl0I of FIG. 1 (see FIG. ) of the main pattern of the rhythm Nα (any of rhythms #1 to #5) stored in the main base (7th
Figure). Further, in step 1605, the main code NαAHC of the main pattern in the buffer area of the accumulative mix memory section shown in FIG. ) is written in the main code (Fig. 7) of the main pattern of rhythm N (1 (any of rhythms #1 to #5)). Also, in step 1606, the accamp mix shown in Fig. The fill-in rhythm NαAFR of the fill-in pattern of the buffer area of the memory section is used by the CPU shown in Figure 1.
Fill-in rhythm (Fig. 7) of the fill-in pattern of rhythm N (1 (any of rhythms #1 to #5)) stored in the rhythm number register RR (Fig. 2) of the flag/counter register group FCR of l0I (Fig. 7) Furthermore, in step 1607, C in FIG.
Fill-in base of the fill-in pattern of rhythm N[l (any of rhythm #1 to #5) (Figure 7) stored in the rhythm number register RR (Figure 2) of the flag/counter register group FCR of PUl0I (Figure 7) Write. Furthermore, in step 1608, the fill-in code NαAFC of the fill-in pattern of the buffer area of the accumulative mix memory section shown in FIG.
Write the fill-in code (Figure 7) of the fill-in pattern of the rhythm Nα (any of rhythms #1 to #5) stored in the rhythm number register RR (Figure 2) of the flag/counter register group FOR of Ul0I. . Further, in step 1609, the CPUIO of FIG.
Rhythm N stored in rhythm number register RR (Figure 2) of flag/counter/register group FCR of I
The tempo data OTP of the operation data (FIG. 3) indicated by Rhythm n (any of rhythms #1 to #5) is written into the tempo data ATP of the buffer area of the accumulative mix memory section shown in FIG. Furthermore, in step 1610, the CPU 1 in FIG.
The melody tone Nn of the operation data (Fig. 3) indicated by the rhythm Nα (any of rhythms #1 to #5) stored in the rhythm number register RR (Fig. 2) of the flag/counter register group FOR 01 (Fig. 2) OMT is written to the melody tone N[LAMT in the buffer area of the Accomp Mix memory section shown in FIG. After these processes, the initial process ends in step 610. After the initial processing at step 501 in FIG. 9, tempo processing is performed at step 502. Details of this tempo processing are shown in FIG. That is, in step 701, it is determined whether or not the tempo up switch O59 in FIG.
4, increment the value of the tempo data register TR (+1) L,, increase the tempo and step 70
Move on to 5. If it is determined in step 701 that the tempo up 5W 1059 in FIG. 5 is not pressed, in step 703 the tempo down SWI shown in FIG.
It is determined whether or not O58 is pressed. This step 7
If it is determined that the tempo down SWI 058 has been pressed in step 03, the value of the tempo data register TR is decremented (-1) in step 704, the tempo is lowered, and the process moves to step 705. Note that the value of the tempo data register is not particularly shown, but is less than or equal to O or 31.
It is controlled so that it does not exceed this level. Also, step 70
If it is determined in step 3 that the tempo down SWI O58 is not pressed, it is determined in step 705 whether or not the accomp mix flag AMF is set (AMF=O
mosquito? ) is determined. That is, it is determined whether or not the accumulating mix mode is selected. In this step 705, the accumulating mix flag AMF is not set (AMF=O).
If it is determined that the mode is not the Accomp Mix mode, the tempo processing is terminated and the process returns to the main flow shown in FIG. Also, in this step 705, it is determined that the accumulating mix flag AMF is set (AMF≠O) (
In step 706, the first tempo data ATP in the buffer area of the accomp mix memory section shown in FIG.
The tempo data register TR (
The contents (tempo data) stored in FIG. 2) are written (ATP=TR), the tempo processing is ended, and the process returns to the main flow of FIG. When the tempo processing in step 502 in FIG. 9 is completed, rhythm switching processing is performed in step 503. Details of this rhythm switching process are shown in FIG. That is, in step 801, the rhythm selection S in FIG.
It is determined whether WI O51 has been switched, that is, whether it has been pressed. If it is determined in step 801 that it has been switched (rhythm selection SWI O51 has been pressed), in step 802, the accomp mix flag A is
It is determined whether MF is set (AMF=O?). That is, it is determined whether or not the accumulating mix mode is selected. If it is determined in this step 802 that the accumulating mix flag AMF is not set (AMF=O) (determining that it is not the accumulating mix mode), step 8
03, the rhythm selection 5W1051 shown in FIG.
Write the rhythm number corresponding to (#1 to #5) in the rhythm number register RR (Fig. 2), and step 8
06 display processing is performed. Further, in step 801, the rhythm selection S in FIG.
WI O51 is not switched (rhythm selection SW
If it is determined that the IO51 is not pressed, the process moves to display processing in step 806 without doing anything. Further, if it is determined in step 802 that the accumulative mix flag AMF is set (AMF≠0) (it is determined that the accumulative mix mode is in effect), step 80
4, the rhythm selection SWI 051 shown in FIG.
A value corresponding to the rhythm number of is written into the rhythm number register RR. Then, in step 805,
Buffer rewriting processing is performed, and display processing is further performed in step 806. Details of the buffer rewriting process in step 805 are shown in FIG. That is, step 12
At 01, it is determined whether the pattern set in the pattern register PR (FIG. 2) of the flag/counter register group FCH built in the CPUl0I shown in FIG. 1 is "0" (PR=O? ) is determined. That is,
It is determined whether the pattern set in the pattern register PR is the main pattern. In this step 1201, it is determined that the pattern set in the pattern register PR is tro, 1 (PR=O), that is,
When it is determined that the pattern set in the pattern register PR is the main pattern, in step 1202, it is determined whether the part set register PSR (FIG. 2) is "1" (PSR=0?). . That is,
It is determined whether the pattern set in the part set register PSR is the rhythm part of this pattern. In this step 1202, the part set register PS
R is 11'', that is, if it is determined that the pattern set in the part set register PSR is the rhythm part of this pattern, 1. The first rhythm Na A HR set in the buffer area of the Accomp Mix memory section shown in FIG.
The value of the rhythm number register RR of the flag/counter register group FCR shown in the figure is set, and the process returns to the rhythm switching process flow of FIG. 12. Also, in step 12o2, the number set in the part set register PSR is not (rl) (PS
R≠1), that is, the rhythm part of this pattern is not selected, in step 1204, it is determined whether the number set in the part set register PSR is ff'2j (PSR=2?). judge. That is, it is determined whether the base part of this pattern is selected. In this step 1204, the number set in the part set register PSR is 1i'
2j (PSR=2), that is, if it is determined that the bass part of this pattern is selected, in step 12o5, the book set in the buffer area of the Accomp Mix memory section shown in FIG. The flag shown in Fig. 1 is attached to the pattern book base Ha A HB.
Rhythm number register R of counter register FCR
The value of R is set and the process returns to the rhythm switching process flow shown in FIG. Also, the number set in the part set register PSR in step 12o4 is not 12'' (PSR
≠1), that is, if it is determined that the bass part of this pattern is not selected, it is determined that the chord part of this pattern is selected, and in step 1206,
The main code NαAH of the main pattern set in the buffer area of the accamp mix memory section shown in FIG.
C, flag counter register group F shown in FIG.
The value of the CH rhythm number register RR is set and the process returns to the rhythm switching process flow of FIG. Also, in step 12o1, the flag counter
It is determined that the pattern set in the pattern register PR of the register group FOR is not (rO) (PR≠0),
That is, if it is determined that the pattern set in the pattern register PR (FIG. 2) is not the main pattern, in step 1207, it is determined whether the pattern set in the pattern register PR is 11'' (PR=1?).
Determine. That is, it is determined whether the pattern set in the pattern register PR is a fill-in pattern. In this step 1207, the pattern set in the pattern register PR is [rlQ(
PR=1), that is, if it is determined that the pattern set in the pattern register PR is a fill-in pattern, it is determined in step 1208 whether the part set register PSR is 11'' (PSR=O?). do. That is, it is determined whether the part set in the part set register PSR is a rhythm part of a fill-in pattern. In this step 1208, if the part set register PSR is determined to be "IJ", that is, the part set in the part set register PSR is a rhythm part of a fill-in pattern, in step 1209, the accompaniment shown in FIG. The value of the rhythm number register RR of the flag/counter register group FOR shown in FIG. 1 is set in the fill-in rhythm NCLA F R set in the buffer area of the mix memory section, and the rhythm switching process flow of FIG. 12 is performed. In addition, in step 1208, if the number set in the part set register PSR is not (rl) (PS
R≠1), that is, if it is determined that the rhythm part of this pattern is not selected, in step 1210, it is determined whether the number set in the part set register PSR is "lr2" (PSR=2?) Determine. That is, it is determined whether the base part of this pattern is selected. In this step 1210, the number set in the part set register PSR is F.
2j (PSR=2), that is, when it is determined that the bass part of the fill-in pattern is selected,
In step 1211, the fill-in base Nα·AFB of the fill-in pattern set in the buffer area of the accumulative mix memory section shown in FIG.
The value of the rhythm number register RR of the flag/counter register group FOR shown in FIG. 1 is set, and the process returns to the rhythm switching process flow of FIG. 12. Also, the number set in the part set register PSR in step 1210 is not Ii'2J] (
PSR≠2), that is, if it is determined that the bass part of the fill-in pattern is not selected, it is determined that the chord part of the fill-in pattern is selected, and in step 1212, the accamp mix memory section shown in FIG. The fill-in code Na A F C of the fill-in pattern set in the buffer area of
The value of the rhythm number register RR of the flag/counter register group FOR shown in FIG. 1 is set, and the process returns to the rhythm switching process flow of FIG. 12. Furthermore, in step 1207, the pattern set in the pattern register PR is not "1" (PR
≠ 1), that is, it is determined that the pattern set in the pattern register PR is not a fill-in pattern, in step 1213, it is determined whether the pattern set in the pattern register PR is 12 (P
Is R=2? ) is determined. That is, it is determined whether the pattern set in the pattern register PR is an intro pattern. In this step 1213, the pattern register PR
If it is determined that the pattern set in [r2,1 is -35= (PR=2), that is, it is an intro pattern, in step 1214, the pattern is stored in the buffer area of the accamp mix memory section shown in FIG. Intro Ha A I of the set intro pattern
N, the flag counter register FC shown in FIG.
Set the value of the rhythm number register RR of H and enter the first
Returning to the rhythm switching process flow shown in FIG. Also, in step 1213, the pattern register P
The pattern set in R is ff'2. jl (PR≠2), that is, if it is determined that it is not an intro pattern, the remaining patterns are ending patterns (PR=3). Then, in step 1215, the flag counter shown in FIG.
The value of the rhythm number register RR of the register FOR is set and the process returns to the rhythm switching process flow of FIG. 12. When the buffer rewriting process in step 805 of the rhythm switching process flow in FIG. 12 is performed in this way, step 8
In step 06, display processing is performed. Details of the display processing in step 806 are shown in FIG. That is, in step 1301, the flags built in the CPUI Ol shown in FIG.
Pattern register PR of counter register group FCH (
It is determined whether the pattern set in FIG. 2) is 0'0'' (PR=O?). That is, it is determined whether the pattern set in the pattern register PR is the main pattern. In this step 1301, the pattern register PR
The pattern set in is FOJI (PR=
O), that is, when it is determined that the pattern set in the pattern register PR is the main pattern,
In step 1302, the accumulating mix flag A
It is determined whether MF is set (AMF=1?). In step 1302, it is determined whether the accompaniment mix mode is selected, that is, whether or not the accompaniment pattern is currently being created by oneself. This step 1302
The accamp mix flag AMF is set in (A
MF=1) (determined that the accompaniment mix mode is in progress, and that the accompaniment pattern is being created), the rhythm part,
See whether the bass part or chord part is selected. That is, in step 1303, the part set register PSR of the flag counter register group FCH built in the CPU Ol shown in FIG.
It is determined whether the number set in is "1" (PSR=1?), that is, whether or not the rhythm part of this pattern is selected. In this step 1303, part set register P
The number set in SR is Ii'lj (PS
If it is determined that R=1), that is, that the rhythm part of the main pattern is selected, in step 1304, the main rhythm No. A HR is incremented by (+1), and the main rhythm NαAHR is displayed on the display register HR. If it is determined in step 1302 that the accumulative mix flag AMF is not set (AMF≠1) (it is determined that the accumulative mix mode is not set), the process moves to step 1320. Also, the number set in the part set register PSR in step 1303 is not ['1] (PS
R≠1), that is, the rhythm part of this pattern is not selected, in step 1305, it is determined whether the number set in the part set register PSR is Ir2Jl (PSR=2?), that is, Determine whether the base part of this pattern is selected. In this step 1305, part set register P
The number set in SR is “2” (PSR=
2), that is, when it is determined that the base part of the main pattern is selected, in step 1306, the main base N[LA HB is incremented by (+1), and the main base NQ A HB is displayed in the display register HR. . Also, the number set in the part set register PSR in step 1305 is not [i'2.1 (
PSR≠1), that is, if it is determined that the base part of this pattern is not selected, it is determined that the chord part of this pattern is selected, and in step 1307, the main code NαAHC is set to (+1) and displayed. Display this code Na A HC in register HR. Also, in step 1301, the flag counter
If it is determined that the pattern set in the pattern register PR of the register group FOR is not "0" (PR≠0), that is, if it is determined that the pattern set in the pattern register PR is not the main pattern, step 130
At step 8, it is determined whether the pattern set in the pattern register PR is "1" (Is PR=1?). That is, it is determined whether the pattern set in the pattern register PR is a fill-in pattern. In this step 13o8, the pattern set in the pattern register PR is 1m1J] (PR=1)
In other words, when it is determined that the pattern set in the pattern register PR is a fill-in pattern, it is determined in step 1309 whether or not the accumulative mix flag AMF is set (AMF=1?). That is, it is determined whether or not the accumulating mix mode is selected. If it is determined in this step 1309 that the accumulative mix flag AMF is set (AMF=1) (it is determined that the accumulative mix mode is set), then in step 1310, a flag built in the CPU101 shown in FIG. - The number set in the part set register PSR of the counter register group FCR is "1".
” (Is PSR=1?). That is, it is determined whether the rhythm part of the fill-in pattern is selected. In this step 1310, the number set in the part set register PSR is “
1” (PSR=1), that is, when it is determined that the rhythm part of the fill-in pattern is selected,
In step 1311, fill-in rhythm NαAF
(+1)L to R, and the fill-in rhythm Na A F R is displayed on the display register HR. Also, in step 1310, the number set in the part set register PSR is not [i'lQ(P
SR≠1), that is, if it is determined that the rhythm pattern of the fill-in pattern is not selected, step 13
At step 12, it is determined whether the number set in the part set register PSR is F2j (PSR=2?). That is, it is determined whether the base part of the fill-in pattern is selected. This step 131
2, the number set in the part set register PSR is "2" (PSR=2), that is,
If it is determined that the base part of the fill-in pattern is selected, in step 1312, the fill-in base Na A F B is set to (+1) and the display register H is set.
Fill-in base N11A F B is displayed on R (Fig. 2). Also, in step 1312, the number set in the part set register PSR is not [m2Jl (P
SR≠1), that is, if it is determined that the base part of the fill-in pattern is not selected, it is determined that the chord part of the fill-in pattern is selected, and in step 1314, the fill-in chord NQ A F is determined.
(+1) to display the fill-in code Na A F C in the display register HR. Also, in step 1308, the flag counter
If it is determined that the pattern set in the pattern register PR of the register group FCH is not FIJ (PR≠1), that is, if it is determined that the pattern set in the pattern register PR is not a fill-in pattern, in step 1315, the pattern register PR is Is the pattern set to [i'2j or not (PR=2?)
Determine. That is, it is determined whether the pattern set in the pattern register PR is an intro pattern. In this step 1315, the pattern set in the pattern register PR is "2" (PR
= 2), that is, when it is determined that the pattern set in the pattern register PR is an intro pattern, it is determined in step 1316 whether or not the accumulating mix flag AMF is set (AMF = 1?). do. That is, it is determined whether or not the accumulating mix mode is selected. If it is determined in this step 1316 that the accomp mix flag AMF is set (AMF=1) (it is determined that the accomp mix mode is set), the intro pattern Na A I is determined in step 1317.
Set it to N (+1) and display the intro pattern number, A I N, on the display register HR. Further, in step 1316, it is determined that the accumulating mix flag AMF is not set (AMF≠1) (
If it is determined that the accumulating mix mode is in effect, the process moves to step 1320. Also, in step 1315, the pattern register P
The pattern set in R is not [m2Jl (P
R≠2), that is, when it is determined that the pattern set in the pattern-weak register PR is not an intro pattern, it is determined that the pattern set in the pattern register PR is an ending pattern. Then, in step 1318, it is determined whether the accumulating mix flag AMF is set (AMF
=1? ), that is, it is determined whether the accompaniment mix mode (accompaniment pattern creation in progress) is in progress. This step 13
If it is determined in step 18 that the accomp mix flag AMF is set (AMF=1) (determined to be in accomp mix mode), in step 1319, the ending pattern NαAEN is set (+1) and the ending pattern is set in the display register HR. Display pattern N [LA E N. Further, in step 1318, it is determined that the accumulating mix flag AMF is not set (AMF≠1) (
If it is determined that the accompaniment mix mode is in progress (that is, the accompaniment pattern is being created), the process moves to step 1320. In this step 1320, the rhythm number register RR (+1:) is displayed in the display register HR to display what is currently stored in the rhythm number register RR. When the display process in step 806 in FIG. 12 (FIG. 17) is performed, the rhythm switching process in step 503 in FIG. 9 ends. When the rhythm switching process in step 503 in FIG. 9 is completed, auto operation mode processing is performed in step 504. Details of the auto operation mode processing in step 504 are shown in FIG. That is, in step 1401, it is determined whether the accumulative mix flag AMF is not set (AMF=O?). That is, it is determined whether or not the accompaniment mix mode (accompaniment pattern creation in progress) is in progress. If it is determined in step 1401 that the accompaniment mix flag AMF is set (AMFf-O), the process returns to step 1407 because the accompaniment mix mode is in progress (accompaniment pattern is being created). Further, if it is determined in step 1401 that the accomplice mix flag AMF is not set (AMF=O), that is, the accomplice mix mode is not set (accompaniment pattern has not been created), in step 1402, the accompaniment mix flag AMF is not set (AMF=O). The auto operation SWI O shown in
It is determined whether or not 61 has been pressed. This step 14o
2, the auto operation SWI shown in FIG.
If it is determined that O61 is not pressed, step 14
Proceed to 07 and return. In this step 1402, auto operation S
If it is determined that the WI O61 has been pressed, the accompaniment pattern stored in the buffer area in the accomp mix memory section shown in FIG. 8 is not selected, but one of rhythms #1 to #5 in the pattern memory section is selected. This means that it has been done. Therefore, in step 1403, the operation data (FIG. 3) shown in the rhythm number register RR (FIG. 2) is read out. After reading each data of the accompaniment pattern stored in any of the areas of rhythm #1 to #5 in the operation data shown in FIG. 3, in step 1404, Tempo data register TR of flag/counter register group FOR (Figure 2)
The data of the tempo data OTP stored in the area within the operation data shown in FIG. 3 is written. Then, in step 1405, the data of the melody tone NαOMT stored in the area within the operation data shown in FIG. 3 is written into the melody tone register MTR. Furthermore, in step 1406, N[l indicated by the melody tone register MTR (FIG. 2) is set in the melody tone generator 109 shown in FIG. 1, and the process returns to the main operation flow shown in FIG. When the auto operation mode process in FIG. 14 is completed, the accumulative mix mode process is performed in step 505 in FIG. 9. This accomp mix mode process is a process in which a new automatic accompaniment pattern is created by pressing the accomp mix SW shown in FIG. 5 to select and combine arbitrary parts. Details of the Accomp Mix mode processing are shown in FIG. That is, in step 15o1, the fifth
Of the accamp mix sw shown in the figure, mode SWI
Whether O65 is pressed or not, that is, mode SWI O
65 (7) Setting is Ii'o" (pattern memory section 106
It is determined whether the accompaniment pattern (accompaniment pattern stored in the pattern memory section of the pattern memory section 106) is 11'' (the accompaniment pattern stored in the accumulator mix memory section of the pattern memory section 106). If it is determined in this step 15o1 that the setting of the mode SWI O65 is IrJ (the accompaniment pattern stored in the pattern memory section of the pattern memory section 106), then in step 15o2, the amplification mix flag AMF shown in FIG. is “0” or not (AMF=
O? ), that is, it is determined whether the accompaniment mix mode (accompaniment pattern creation in progress) is in progress. This step 15o
If it is determined in step 2 that the accomp mix flag AMF is not set (AMF=O) (determined that it is not the accamp mix mode), in step 1503, the accomp mix flag AMF is set (the accamp mix flag AMF is set). (set to 1). This step 15
Steps 02 to 1503Δ are performed only at the initial time. By setting the accumulative mix flag AMF in step 1503, the process always moves from step 1502 to step 605 in the initial processing flow shown in FIG. Then, in step 1504, the part set register PSR shown in FIG.
r1Jl (rhythm Nα) is set, and the display processing shown in FIG. 17 is performed. Further, if it is determined in step 1501 that the setting of mode 5W 1065 is not "0" (this is an accompaniment pattern stored in the acoustic mix memory section of the pattern memory section 106), then in step 1506 It is determined whether the comp mix flag AMF is "IrO" (AMF=0?), that is, whether or not the comp mix mode is in accompaniment mix mode (accompaniment pattern is being created). If it is determined in this step 1506 that the accumulative mix flag AMF is not set (AMF=O) (it is determined that the accumulative mix mode is not set), the accumulative mix mode processing is terminated. Further, if it is determined in step 1506 that the accumulative mix flag AMF is set (AMF≠0) (determined to be the accumulative mix mode), step 1
507, the accamp mix SW shown in FIG.
Among them, whether rhythm set SWI O62 was pressed or not,
That is, it is determined whether or not a rhythm part has been selected. In this step 1507, if it is determined that the rhythm set SWI O62 of the accomp mix SW shown in FIG. 5 has been pressed, that is, the rhythm part has been selected, in step 1508, the part set shown in FIG. Set register PSR to "1" (rhythm Nα). Further, in step 15o7, if it is determined that the rhythm set 5W1062 of the Accomp Mix SW shown in FIG. 5 is not pressed, that is, the rhythm part is not selected, in step 1509, Of the accamp mix SW, the base set SWI
It is determined whether or not 063 has been pressed, that is, whether or not the bass part has been selected. In this step 1509, if it is determined that the pace set 5W 1063 of the Accomp Mix SW shown in FIG. 5 has been pressed, that is, the bass part has been selected, in step 1510, the part set register shown in FIG. Set PSR to "2" (base Nα). If it is determined in step 1509 that the pace set 5W 1063 of the Accomp Mix SW shown in FIG. 5 is not pressed, that is, the bass part is not selected, in step 1511 Of the accamp mix SW, cord set 5W1
It is determined whether or not 064 was pressed, that is, whether or not a chord part was selected. In this step 1511, if it is determined that the need set 5W 1064 of the Accomp Mix SW shown in FIG. 5 has been pressed, that is, the chord pattern has been selected, in step 1512, the part set register shown in FIG. PSR to li'
3. ! Set l (code Nα). “1” (rhythm Nα), Ir2j (base Nα), [r3JJ (
When any one of the codes Nα) is set, the accumulating mix mode processing ends. If it is determined in step 1511 that the chord set 5W 1064 of the Accomp Mix SW shown in FIG. 5 is not pressed, that is, the chord part is not selected, in step 1513, the It is determined whether fill-in 5W1056 has been pressed. If it is determined in this step 1513 that the fill-in 5W 1056 shown in FIG. 5 has been pressed, in step 1514, the pattern register PR (FIG. 2) of the flag/counter register group FCR of the CPUl0I in FIG. 1 is set to "D'1". Set. That is, write the address number indicating the fill-in pattern, and proceed to step 1.
At step 517, display processing is performed and the process moves to step 511 of the main operation flow in FIG. If it is determined in step 1513 that the fill-in SWI O56 shown in FIG. 5 has not been pressed, then in step 1515 it is determined whether or not the ending SWI O57 shown in FIG. 5 has been pressed. If it is determined in step 1515 that the ending SWI O57 shown in FIG. 5 has been pressed, in step 1516 the pattern register PR (second
ff'3J] is set in (Figure). That is, the address Nα indicating the ending pattern is written, display processing is performed in step 1517, and the process moves to step 511 of the main operation flow in FIG. Further, if it is determined in step 1515 that the ending SWI O57 shown in FIG. 5 is not pressed,
The accumulating mix mode process is completed and the process returns to the main operation flow shown in FIG. When the accumulating mix mode processing in step 505 in FIG. 9 is completed, timbre switching processing is performed in step 506. The details of the tone switching process in step 506 are as follows.
As shown in the figure. That is, in step 1901, it is determined whether the melody tone selection SWIO60 shown in FIG. 5 is pressed. If it is determined in this step 1901 that the melody tone selection SWI O60 shown in FIG. 5 is not pressed, step 5 in the main operation flow shown in FIG.
The tone color switching process of 06 ends. If it is determined in this step 1901 that the melody tone selection SW 1060 shown in FIG. 5 is pressed, in step 1902 the melody tone selection SW 1060 shown in FIG. Set Nn in the melody-tone register MTR (FIG. 2). Then, the melody tone selection 5W1060 shown in FIG.
When Nα corresponding to the pressed SW of The melody tone of part (Nα) is output to the melody generating section 109 shown in FIG. Next, in step 19o4, it is determined whether the accamp mix flag AMF is not set (AMF=O?)
Determine. That is, it is determined whether or not the amplifier mix mode is set. In this step 1904, the accamp mix flag AMF is not set (
If it is determined that AMF=O), the process returns to the main operation flow shown in FIG. Also, in this step 1904, the accumulating mix flag AMF is set (AMF≠0
), that is, if it is determined that the accomp mix mode is selected, in step 19o5, the melody tone N (melody tone register MTR
The melody tone set in (FIG. 2) is set and the process returns to the main operation flow shown in FIG. When the tone color switching process is performed in step 506 of FIG. 9, it is determined in step 507 whether or not the intro SWI O53 shown in FIG. 5 has been pressed. In this step 507, the intro SWIO shown in FIG.
If it is determined that 53 has been pressed, Ir2Jl is set in the pattern register PR in step 508. That is, an address number indicating an intro pattern is written, and display processing (FIG. 17) is performed in step 509. Further, if it is determined in step 507 that the intro SWI O53 shown in FIG. 5 is not pressed, in step 510 the STAR)-8W10 shown in FIG.
54 is pressed or not. This step 510
If it is determined that the start 5W 1054 shown in FIG. 5 is not pressed, the process returns to step 502. Also, in step 510, the start 5 shown in FIG.
If it is determined that WI054 has been pressed, in step 511, the accompaniment flag BF (FIG. 2) of the flag counter register group FOR of CPUl0I in FIG. 1 is set to ff'.
l, fi (indicates that accompaniment is currently being performed), that is,
It is determined whether an accompaniment pattern is being played back. If it is determined in step 511 that accompaniment is currently being played, a chord judgment is performed in step 512. That is, the chord of the pressed accompaniment key 1042 shown in FIG. 5 is determined, and bass reproduction processing is performed in step 513, chord reproduction processing is performed in step 514, and rhythm reproduction processing is performed in step 515. The details of the rhythm playback process in step 515 are as follows. It is shown in FIG. That is, step 2001
At , it is determined whether the accumulating mix flag AMF is not set (AMF=O?). That is,
Determine whether the accompaniment mix mode (accompaniment pattern creation in progress) is in progress. In this step 2001, if it is determined that the accomp mix flag AMF is set (AMF≠0), that is, the accomp mix mode is selected (accompaniment pattern is being created), in step 2004, the accomp mix mode data is read. Perform processing. Details of the accumulating mix mode data reading process in step 2004 are shown in FIG. That is, in step 2201, it is determined whether the specified pattern Nα of the pattern register PR (FIG. 2) of the flag/counter register group FCR built in the CPUl0I shown in FIG. 1 is "1" (PR= 1?). That is, it is determined whether the pattern specified in the pattern register PR is a fill-in pattern. In this step 2201, the pattern register PR
The pattern set in is [rlJl (PR
= 1), that is, if it is determined that the pattern set in the pattern register PR is a fill-in pattern, in step 2202, the fill-in pattern set in the buffer area of the accumulating mix memory section shown in FIG. The data of the fill-in pattern indicated by the rhythm NaAFR is read from the pattern Nα indicated by the counter Nα (address) of the rhythm counter RC103. That is, the data of the fill-in pattern Nα indicated by the buffer area is read. Further, in step 2201, the pattern register P
The pattern set in R (Fig. 2) is li'l,
! If it is determined that PR is not l (PR≠1), that is, if it is determined that the pattern set in the pattern register PR is not a fill-in pattern, in step 2203, the flag counter register built in the CPU 101 shown in FIG. Group FCH pattern register PR
Whether the designated pattern Nα in (Figure 2) is "2" or not (
Is PR=2? ) is determined. That is, it is determined whether the pattern specified in the pattern register PR is an intro pattern. In this step 2203, the pattern register PR
The pattern set in is F2j (PR=2
), that is, if it is determined that the pattern set in the pattern register PR is an intro pattern, in step 2204, the fill-in rhythm NαAIN set in the buffer area of the accumulative mix memory section shown in FIG. Counter Na of fill-in pattern rhythm counter RC103 shown in
Read the data of pattern Na indicated by (address). In other words, the intro pattern Nα indicated by the buffer area
Read the data. In step 2203, the pattern set in the pattern register PR is not [r2,1 (PR≠2
), that is, if it is determined that the pattern set in the pattern register PR is not an intro pattern, in step 2205, the CPU shown in FIG.
Determine whether the specified pattern Na of the pattern register PR (Fig. 2) of the flag counter register FCR built in l0I: is "3J" (PR=3?). That is, the pattern register PR It is determined whether the pattern specified in the pattern is an ending pattern.In this step 22o5, the pattern register PR
The pattern set in is Ii'3j (PR
=3), that is, if it is determined that the pattern set in the pattern register PR is an ending pattern, in step 2206, the pattern is set in the rose 2 area of the accumulating mix memory section shown in FIG. Ending N [Ending pattern rhythm counter RC103 shown in L A E N
Read the data of the pattern No. indicated by the counter Nα (address). That is, the data of the ending pattern Nα indicated by the buffer area is read. Also, in step 2205, the pattern register P
The pattern set in R is not “3■ (PR≠
3), that is, when it is determined that the pattern set in the pattern register PR is not an ending pattern, it is determined that the pattern specified in the pattern register PR is the main pattern. Then, in step 2207, the pattern Nα indicated by the counter Ha (address) of the rhythm counter RC103 is Read the data. That is, the data of the main pattern Nn indicated by the buffer area is read. After completing the accumulating mix mode data reading process in FIG. 22 in this way, the process moves to step 20o7 of the rhythm playback process flow in FIG. 19. In this step 2007, based on the rhythm number selected by the rhythm selection SWI Os 1, a rhythm sound corresponding to the rhythm part data of the selected pattern Nα is generated. In step 2001, the accamp mix flag AM
If it is determined that F is not set (AM F = O), in step 2002, CPU10I in FIG.
It is determined whether the pattern register PR (FIG. 2) of the flag counter register group FCR is [i'l,] (is PR=1?). That is, it is determined whether the pattern address Nα stored in the pattern register PR is a fill-in pattern. In this step 2002, the CPU 101 in FIG.
When it is determined that the pattern address Nα stored in the pattern register PR (FIG. 2) of the flag/counter register group FCR of is a fill-in pattern (PR=1), in step 2003, the pattern address Nα stored in the pattern register PR (FIG. 2) of the flag/counter register group FCR is )
The data of the pattern NQ indicated by the counter Nα (address) of the rhythm counter RC103 is read. That is, the fill-in pattern Nα in the pattern memory section shown in FIG. 7 indicated by the rhythm number register RR is
Read the data. Then, the process moves to step 2013. Further, in step 2002, the CPU
The pattern register PR (Figure 2) of the flag/counter/register group FCR of O1 is not "Ufl" (PR≠1-
), that is, if it is determined that the pattern address Nα stored in the pattern register PR is not a fill-in pattern, in step 2005, the flag/counter/register group FCR of CPUl0I in FIG.
It is determined whether the pattern register PR (FIG. 2) is li'3j (is PR=3?). That is, it is determined whether the pattern address No. stored in the pattern register PR is an ending pattern. In this step 2005, the CPU 101 in FIG.
The pattern address No. stored in the pattern register PR (Fig. 2) of the flag/counter/1 register group FCR is the ending pattern (PR=3
), in step 2006, it is determined that FIG.
, ), the ending pattern indicated by the rhythm number register RR is read, and the data of the pattern Nα indicated by the counter Nα (address) of the rhythm counter RC103 is read. That is, the rhythm data of the ending pattern Na in the pattern memory shown in FIG. 7 indicated by the rhythm number register RR is read. And step 2o0
At step 7, a rhythm sound corresponding to the rhythm part data of the pattern Nα selected based on the rhythm number indicated by the rhythm number register RR selected by the rhythm selection SWI O51 is generated. Further, in step 2005, CPU10 in FIG.
The pattern register PR (Fig. 2) of the flag counter register group FCR of I is 13. ! Not l (PR≠3)
That is, if it is determined that the pattern address Nα stored in the pattern register PR is not an ending pattern, in step 2008, the flag/counter/register group FCR of the CPU101 in FIG.
Whether the pattern register PR (Figure 2) is Ir2j or not (
Is PR=2? ) is determined. That is, it is determined whether the pattern address Nα stored in the pattern register PR is an intro pattern. In this step 2008, the CPU 101 in FIG.
If it is determined that the pattern address Nα stored in the pattern register PR (FIG. 2) of the flag/counter register group FCH is an intro pattern (PR=2), in step 2009, the pattern address Nα stored in the pattern register PR (FIG. 2) of ) The counter Nα of the intro pattern rhythm counter RC103 indicated by the rhythm number register RR shown in )
Read the data of pattern Nα indicated by (address). That is, the rhythm part data of the intro pattern NQ in the pattern memory shown in FIG. 7 indicated by the rhythm number register RR is read. Then, the process moves to step 2013. In this step 2013, the rhythm counter RC
Whether the value of is Ii'15j (RC=15?), that is, the rhythm counter RC consisting of a hexadecimal counter
It is determined whether the count value of 103 has reached the maximum value "Ii'15". If it is determined in this step 2013 that the value of the rhythm counter RC is "15y (RC=15)," in step 2014, the CPU of FIG.
f at the pattern address Nα of the pattern register PR (Figure 2) of the flag/counter/register group FOR of l0I.
Set f0Jl, that is, pattern register PR(
2) as the main pattern (PR=O). Then, in step 2007, rhythm selection 5W105
Based on the rhythm number indicated by the rhythm number register RR selected by 1, a rhythm sound corresponding to the rhythm part data of the pattern Na selected is generated. Further, in step 2008, CPU10 in FIG.
The pattern address Nα stored in the pattern register PR (Fig. 2) of the flag counter register group FOR of I is not Ii'2j (PR≠2), that is, the pattern register PR is the main pattern (PR= O), in step 2010, as shown in FIG. 2(a).
The data of the pattern Nn indicated by the counter Nα (address) of the rhythm counter RC103 is read. That is, the rhythm part data of the ending pattern Nα in the pattern memory shown in FIG. 7 indicated by the rhythm number register RR is read. Then, the process moves to step 2011. In this step 2011, the rhythm counter RC
Whether the value of is [i'15Jl (RC=15?), that is, the rhythm counter RC composed of a hexadecimal counter
It is determined whether the count value of 103 has reached the maximum value (i'15A). If it is determined in this step 2011 that the value of the rhythm counter RC is "15" (RC=15), in step 2011, A rhythm sound corresponding to the rhythm part data of the main pattern Nα in the pattern memory shown in FIG. 7, which is indicated by the rhythm number register RR, is generated. Then, the process moves to step 605 of the initial processing in FIG. 10. In 2011, the value of the rhythm counter RC is not [i'lJ (RC≠15), that is, 16
If it is determined that the count value of the rhythm counter RC103 composed of a digit counter has not reached the maximum value "r15", the process proceeds to step 2007, and the main pattern shown in FIG. 7 indicated by the rhythm number register RR (FIG. 2) is executed. A rhythm sound corresponding to the data of the pattern Nα indicated by the counter Nα (address) of the rhythm counter RC103 (FIG. 1) is generated. When the rhythm reproduction process in step 515 in FIG. 9 is completed, in step 518 the system waits for input of a timer clock from the timer clock generator 102 in FIG. 1. When the input of the timer clock is determined in step 518, the rhythm counter RC103 in FIG. 1 counts up (+) in step 519.
1) To be done. Then, step 5 of the main operation flow shown in FIG.
After passing through the tempo process (FIG. 11) shown in detail in FIG. 11 in FIG. 20 and various switching processes in step 521 of the main operation flow shown in FIG. Return to step 511. Step 521 of the main operation flow shown in FIG.
Details of the various switching processes are shown in FIG. That is, in step 2101, it is determined whether the fill-in SWI O56 shown in FIG. 5 has been pressed. If it is determined in this step 2101 that the fill-in SWI O56 shown in FIG.
"IJ" is set in R.
In step 2109, display processing (FIG. 18) is performed and the process moves to step 511 of the main operation flow in FIG. Further, if it is determined in step 2101 that the fill-in 5W 1056 shown in FIG. 5 is not pressed, in step 2103, the ending S shown in FIG.
It is determined whether or not WI O57 has been pressed. In this step 2103, the ending 5W1 shown in FIG.
If it is determined that 057 has been pressed, in step 2104, the pattern register PR (FIG. 2) of the flag/counter register group FCR of CPUl0I shown in FIG.
Set "3" to "3". That is, in step 2104, an address Nα indicating an ending pattern is written. When address Na indicating the ending pattern is written in step 2104, step 2
In step 109, display processing (FIG. 18) is performed, and the process moves to step 511 of the main operation flow in FIG. Further, if it is determined in step 2103 that the ending SWI O57 shown in FIG. 5 is not pressed,
In step 2105, the stop S shown in FIG.
It is determined whether or not WI O55 has been pressed. If it is determined in step 2105 that the stop SWI O55 shown in FIG. 5 has been pressed, the process proceeds to step 21.
At step 06, it is determined whether the accumulating mix flag AMF is not set (AMF=O?). That is, it is determined whether or not the accumulating mix mode is set. If it is determined in step 2106 that the accumulative mix flag AMF is not set (AMF=O), that is, the accumulative mix mode is not set, the process moves to step 605 of the initial processing flow shown in FIG. Further, if it is determined in step 2106 that the accomplice mix flag AMF is set (AMF≠0), that is, the accompaniment mix mode is set (accompaniment pattern is being created), in step 2107, the accompaniment mix flag AMF is set (AMF≠0). Flag/counter/register group F of CPU10I
IrO, ] is stored in the OR pattern register PR (FIG. 2). That is, in step 2107, the address Nα indicating this pattern is written, and the process moves to step 502 of the main operation flow in FIG. If it is determined in step 2105 that the stop SWI O55 shown in FIG. 5 is not pressed, in step 2108 the rhythm switching process shown in FIG. 12 is performed, and step 511 of the main operation flow in FIG.
Move to. In step 511 of the main operation flow in FIG.
The accompaniment flag BF (Figure 2) of the flag counter register group FCR of the CPU 101 in Figure 1 is not "1" (indicating that accompaniment is currently being performed) (BF≠1), that is, the accompaniment pattern is not being played. If it is determined that
, the sixth sound output by pressing the accompaniment key 1042 of the keyboard section 104 (FIG. 4) shown in FIG.
It is determined whether the key information data shown in the figure has been input to the CPU I O1 in FIG. If it is determined in this step 516 that the key information data (FIG. 6) from the accompaniment key 1042 has not been input to the CPU 101 in FIG. 1, the process moves to step 515 and rhythm reproduction processing (FIG. 19) is performed. If it is determined in step 516 that the key information data from accompaniment fJ11042 (FIG. 6) has been input to cPUlol in FIG. 1, then in step 517 the accompaniment flag BF (FIG. 2) is set. That is, the flag/counter/register group FCR of CPU101 in FIG.
The accompaniment flag BF (FIG. 2) is set to "IJ (indicating that accompaniment is currently being performed)" (BF-4). Then, the process moves to step 512, where chord judgment is performed. That is, the fifth
The chord of the pressed accompaniment key 1042 shown in the figure is determined, and in step 513, the bass reproduction process is performed.
In step 514, the code playback process is performed, and in step 5
In step 15, rhythm reproduction processing (FIG. 19) is performed. In this way, step 521→step 511 in FIG.
→Step 512→Step 513→Step 514→
By repeating the loop process of step 515 → step 520 → step 521 → step 511, the seventh
Among the main rhythm patterns shown in the figure, the rhythm numbers (#1 to #
The main rhythm pattern of 16 (0 to 15) steps of any one of 5) is sequentially read out, and rhythm sounds are produced in accordance with the 16 (0 to 15) steps. In this operation of reproducing only the rhythm sound, the sounding speed of the rhythm sound is the speed at which the rhythm counter RC103 of FIG. 1 is counted up in step 518 of FIG.
That is, in step 515, the speed is determined by the input speed of the timer clock formed by the timer clock generator 102 in FIG. The input timing of this timer clock is determined by cPUlol in FIG.
31 steps are determined according to the values from 0 to 31 in the figure). The value of the tempo data register TR is determined at step 50 in FIG.
It is initialized to the intermediate value "16" in the initial processing of 1 (step 602 in FIG. 10), and can be changed in step 502 in FIG. 9 before automatic accompaniment. Effects of the Invention 1 Since the present invention is configured as described above, it produces the effects described below. A new accompaniment pattern is created by arbitrarily selecting and combining the data of each part constituting an accompaniment pattern from among multiple types of accompaniment pattern data in which each part is set and stored in advance. A different type of accompaniment pattern is created and the created accompaniment pattern data is temporarily stored. In addition, you can freely change the accompaniment pattern by arbitrarily switching the mode between the first mode, which uses accompaniment patterns that have been set and stored in advance, and the second mode, which uses accompaniment patterns that have been created and temporarily stored. You can choose. Since it is possible to create a new accompaniment pattern by replacing the data of each part of the accompaniment pattern data generated in the first mode with the data of each corresponding part of the accompaniment pattern of the second mode, it is possible to create a new accompaniment pattern. It is possible to quickly and easily create different accompaniment patterns for some parts of accompaniment data. In this way, the present invention can arbitrarily select and combine data for each part (rhythm part, bass part, chord part) constituting an accompaniment pattern from among a plurality of accompaniment pattern data that are created and stored in advance. This allows even people with no musical knowledge to easily and quickly create accompaniment patterns according to their preferences, and by switching modes, you can easily and quickly create accompaniment pattern data and accompaniment patterns that have been created in advance. It is possible to arbitrarily select data and output an accompaniment sound signal.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明に係る自動伴奏装置の実施例を示すブロ
ック図、 第2図は第1図に図示のフラグ・カウンタ・レジスタ群
FCRを示す図、 第3図は第1図に図示のオートオペレーションメモリ部
のオートオペレーションデータを示す図、第4図は第1
図に図示の鍵盤部の外観構成図、第5図は第1図に図示
のスイッチ部の外観構成図、 第6図は第4図に図示の鍵盤部から出力される鍵情報の
データ構成図、 第7図は第1図に図示のパターンメモリ部のパターンメ
モリの内部構成図、 第8図は第1図に図示のパターンメモリ部のアカンプミ
ックスメモリの内部構成図。 第9図は自動伴奏装置のメイン動作フローチャート、 第10図はイニシャル処理の動作フローチャート、 第11図はテンポ処理の動作フローチャー1へ、第12
図はリズム切換処理の動作フローチャート、 第13図はバッファ書換処理の動作フローチャート、 第14図はオートオペレーションモード処理の動作フロ
ーチャート、 第15図はアカンプミックスモード処理の動作フローチ
ャート、 第16図はバッファイニシャル処理の動作フローチャー
ト、 第17図は表示処理の動作フローチャート、第18図は
音色切換処理の動作フローチャート、第19図はリズム
再生処理の動作フローチャート、 第20図は各種切換処理の動作フローチャート、第21
図はアカンプミックスモードデータ読み込み処理の動作
フローチャートである。 PU リズムカウンタ 鍵盤部 スイッチ部 パターンメモリ部 コード進行メモリ部 コードジャッジ部 メロデイ音発生部 伴奏音発生部 リズム音発生部 1011・・・・・・・・・・・・フラグ・カウンタ・
レジスタ群1051・・・・・・・・・・・・・・・・
・・・・・・・・・・リズム選択スイッチ1053・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・イントロスイッチ1054・・・・・・・・・・
・・・・・・・・・・・・・・・・・・スタートスイッ
チ1055・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・ストップスイッチ1056・・・
・・・・・・・・・・・・・・・・・・・・・・・・フ
ィルインスイッチ1057・・・・・・・・・・・・・
・・・・・・・・・・・エンデイングスイッチ1060
・・・・・・・・・・・・・・・・・・メロデイ音色選
択スイッチ1061・・・・・・・・・・・・オートオ
ペレーションスイッチ1062・・・・・・・・・・・
・・・・・・・・・・・・・リズムセットスイッチ10
63・・・・・・・・・・・・・・・・・・・・・・・
・ペースセットスイッチ1064・・・・・・・・・・
・・・・・・・・・・・・・・コードセットスイッチ1
065・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・モードスイッチ1070・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・表示部特許出願人 
カシオ計算機株式会社
FIG. 1 is a block diagram showing an embodiment of the automatic accompaniment device according to the present invention, FIG. 2 is a diagram showing the flag counter register group FCR shown in FIG. 1, and FIG. 3 is a diagram showing the flag counter register group FCR shown in FIG. 1. A diagram showing auto-operation data in the auto-operation memory section.
Figure 5 is an external configuration diagram of the keyboard section shown in Figure 5, Figure 5 is an external configuration diagram of the switch unit shown in Figure 1, and Figure 6 is a data configuration diagram of key information output from the keyboard unit shown in Figure 4. , FIG. 7 is an internal configuration diagram of the pattern memory of the pattern memory section shown in FIG. 1, and FIG. 8 is an internal configuration diagram of the accumulative mix memory of the pattern memory section shown in FIG. 1. Fig. 9 is a main operation flowchart of the automatic accompaniment device, Fig. 10 is an operation flowchart of initial processing, Fig. 11 is an operation flowchart 1 of tempo processing, and Fig. 12 is an operation flowchart of the automatic accompaniment device.
Figure 13 is an operational flowchart of rhythm switching processing, Figure 13 is an operational flowchart of buffer rewriting processing, Figure 14 is an operational flowchart of auto operation mode processing, Figure 15 is an operational flowchart of accumulating mix mode processing, and Figure 16 is a buffer FIG. 17 is an operation flowchart of display processing; FIG. 18 is an operation flowchart of tone switching processing; FIG. 19 is an operation flowchart of rhythm playback processing; FIG. 20 is an operation flowchart of various switching processing; 21
The figure is an operational flowchart of the accumulating mix mode data reading process. PU Rhythm counter Keyboard section Switch section Pattern memory section Chord progression memory section Chord judgment section Melody sound generation section Accompaniment sound generation section Rhythm sound generation section 1011...Flag counter...
Register group 1051・・・・・・・・・・・・・・・
......Rhythm selection switch 1053...
・・・・・・・・・・・・・・・・・・・・・・・・
...Intro switch 1054...
・・・・・・・・・・・・・・・・・・Start switch 1055・・・・・・・・・・・・・・・・・・・
・・・・・・・・・Stop switch 1056...
・・・・・・・・・・・・・・・・・・・・・ Fill-in switch 1057・・・・・・・・・・・・・・・
・・・・・・・・・・・・Ending switch 1060
・・・・・・・・・・・・・・・Melody tone selection switch 1061・・・・・・・・・Auto operation switch 1062・・・・・・・・・・・・・・・
・・・・・・・・・・・・Rhythm set switch 10
63・・・・・・・・・・・・・・・・・・・・・
・Pace set switch 1064・・・・・・・・・・
・・・・・・・・・・・・・・・Cord set switch 1
065・・・・・・・・・・・・・・・・・・・・・
......Mode switch 1070...
・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・Display section patent applicant
Casio Computer Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] (1)複数のパートからなり、予め各パートが設定され
ている複数種類の伴奏パターンデータが記憶された第1
の伴奏パターン記憶手段と、 前記第1の伴奏パターン記憶手段に記憶されている複数
種類の伴奏パターンデータを任意に選択することのでき
る選択手段と、 少なくとも1つの伴奏パターンデータの各パートが記憶
可能な第2の伴奏パターン記憶手段と、前記第2の伴奏
パターン記憶手段に記憶された伴奏パターンデータの各
パートのデータを前記選択手段にて選択された前記第1
の伴奏パターン記憶手段に記憶されている伴奏パターン
の対応する各パートのデータに置き換えて新たな伴奏パ
ターンを作成する伴奏パターン作成手段と、 第1のモードと第2のモードとに任意に切り換えて選択
可能なモード切換手段と、 前記モード切換手段が第1のモード選択時には前記選択
手段によって前記第1の伴奏パターン記憶手段から選択
された伴奏パターンデータに基づき、第2のモード選択
時には前記第2の伴奏パターン記憶手段に記憶された伴
奏パターンデータに基づき伴奏音信号を出力する伴奏音
信号出力手段と、 を具備したことを特徴とする自動伴奏装置。
(1) A first device that stores multiple types of accompaniment pattern data that consists of multiple parts and each part is set in advance.
accompaniment pattern storage means; selection means capable of arbitrarily selecting a plurality of types of accompaniment pattern data stored in the first accompaniment pattern storage means; each part of at least one accompaniment pattern data capable of being stored. and a second accompaniment pattern storage means, and data of each part of the accompaniment pattern data stored in the second accompaniment pattern storage means are selected by the first accompaniment pattern storage means.
accompaniment pattern creation means for creating a new accompaniment pattern by replacing data of each part corresponding to the accompaniment pattern stored in the accompaniment pattern storage means; and for arbitrarily switching between a first mode and a second mode. selectable mode switching means; when the mode switching means selects a first mode, the accompaniment pattern data is selected from the first accompaniment pattern storage means by the selection means, and when the second mode is selected, the second An automatic accompaniment device comprising: accompaniment sound signal output means for outputting an accompaniment sound signal based on accompaniment pattern data stored in an accompaniment pattern storage means.
JP2169497A 1990-06-27 1990-06-27 Automatic accompanying device Pending JPH0457094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2169497A JPH0457094A (en) 1990-06-27 1990-06-27 Automatic accompanying device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2169497A JPH0457094A (en) 1990-06-27 1990-06-27 Automatic accompanying device

Publications (1)

Publication Number Publication Date
JPH0457094A true JPH0457094A (en) 1992-02-24

Family

ID=15887621

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2169497A Pending JPH0457094A (en) 1990-06-27 1990-06-27 Automatic accompanying device

Country Status (1)

Country Link
JP (1) JPH0457094A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06202658A (en) * 1992-12-28 1994-07-22 Yamaha Corp Accompaniment registration device and automatic accompaniment device
US7358433B2 (en) 2001-03-05 2008-04-15 Yamaha Corporation Automatic accompaniment apparatus and a storage device storing a program for operating the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06202658A (en) * 1992-12-28 1994-07-22 Yamaha Corp Accompaniment registration device and automatic accompaniment device
US7358433B2 (en) 2001-03-05 2008-04-15 Yamaha Corporation Automatic accompaniment apparatus and a storage device storing a program for operating the same

Similar Documents

Publication Publication Date Title
CA2345316C (en) Automatic music generation procedure and system
US4418598A (en) Electronic percussion synthesizer
US4685370A (en) Automatic rhythm playing apparatus having plurality of rhythm patterns for a rhythm sound
US4887504A (en) Automatic accompaniment apparatus realizing automatic accompaniment and manual performance selectable automatically
JPH07219536A (en) Automatic arrangement device
JPH0457094A (en) Automatic accompanying device
JP3625914B2 (en) Arpeggiator
JP4318194B2 (en) Automatic accompaniment apparatus and automatic accompaniment method for electronic musical instrument
JPH0451198A (en) Automatic accompanying device
JP2518356B2 (en) Automatic accompaniment device
JP2737169B2 (en) Automatic accompaniment device
JP3902207B2 (en) Arpeggiator
JP3055352B2 (en) Accompaniment pattern creation device
JPH0863159A (en) Automatic player
JPH0535268A (en) Automatic player device
JP3625913B2 (en) Arpeggiator
JPH02161499A (en) Automatic accompaniment device
JPH0437440B2 (en)
JP2848322B2 (en) Automatic accompaniment device
JPH0253098A (en) Automatic accompaniment device
JP3120806B2 (en) Automatic accompaniment device
JP2546272B2 (en) Automatic musical instrument accompaniment device
ZA200102423B (en) Automatic music generating method and device.
JPH06318072A (en) Automatic playing device
JPH0299996A (en) Automatic accompaniment device