JP2848322B2 - Automatic accompaniment device - Google Patents

Automatic accompaniment device

Info

Publication number
JP2848322B2
JP2848322B2 JP8053068A JP5306896A JP2848322B2 JP 2848322 B2 JP2848322 B2 JP 2848322B2 JP 8053068 A JP8053068 A JP 8053068A JP 5306896 A JP5306896 A JP 5306896A JP 2848322 B2 JP2848322 B2 JP 2848322B2
Authority
JP
Japan
Prior art keywords
pattern
accompaniment
normal
pattern data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP8053068A
Other languages
Japanese (ja)
Other versions
JPH08234757A (en
Inventor
勤 今泉
稔 北村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP8053068A priority Critical patent/JP2848322B2/en
Publication of JPH08234757A publication Critical patent/JPH08234757A/en
Application granted granted Critical
Publication of JP2848322B2 publication Critical patent/JP2848322B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、和音構成音、ベー
ス音、打楽器音などの伴奏音を自動的に発生する自動伴
奏装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic accompaniment apparatus for automatically generating accompaniment sounds such as chords, bass sounds, and percussion sounds.

【0002】[0002]

【従来の技術】従来、この種の装置は、例えば特公昭6
3−1598号公報、特開平2−178697号公報な
どに示されているように、マーチ、ワルツ、ロックなど
の伴奏スタイル毎に、ノーマルパターンデータ、イント
ロパターンデータ及びフィルインパターンデータからな
る伴奏パターンデータを記憶した伴奏パターンメモリを
備えており、ノーマルパターンデータによる自動伴奏の
開始前にイントロパターンデータによる自動伴奏を付加
したり、ノーマルパターンデータによる自動伴奏中にフ
ィルインパターンデータによる自動伴奏を挿入できるよ
うにして、自動伴奏の単調さを解消するようにしてい
る。
2. Description of the Related Art Conventionally, this type of apparatus has been disclosed in, for example,
As shown in JP-A-3-1598, JP-A-2-17897, etc., accompaniment pattern data composed of normal pattern data, intro pattern data, and fill-in pattern data for each accompaniment style such as march, waltz, and rock. An automatic accompaniment based on intro pattern data can be added before automatic accompaniment based on normal pattern data can be added, or an automatic accompaniment based on fill-in pattern data can be inserted during automatic accompaniment based on normal pattern data. In this way, the monotony of the automatic accompaniment is eliminated.

【0003】[0003]

【発明が解決しようとする課題】しかるに、上記従来の
装置にあっては、ノーマル、イントロ、フィルインなど
の各パターンデータは伴奏スタイル毎に一種類ずつ用意
されているだけであるので、必ずしも演奏曲の曲想に適
した自動伴奏音を発生させることができないという問題
があった。
However, in the above-described conventional apparatus, only one type of pattern data such as normal, intro, and fill-in is prepared for each accompaniment style. However, there is a problem that it is not possible to generate an automatic accompaniment sound suitable for the musical composition.

【0004】本発明は上記問題に対処するためになされ
たもので、その目的は、前記ノーマル、イントロ、フィ
ルインなどの各パターンデータを伴奏スタイル毎に複数
種類ずつ用意して、種々の演奏曲の曲想に適した自動伴
奏音の発生を可能とするとともに、簡単な操作で、音楽
的に自然なノーマル、イントロ、フィルイン、エンディ
ングなどの各パターンの切り換えを可能とした自動伴奏
装置を提供しようとするものである。
SUMMARY OF THE INVENTION The present invention has been made to address the above-described problem, and an object of the present invention is to prepare a plurality of types of pattern data, such as the normal, intro, and fill-in, for each accompaniment style, and to prepare various types of music pieces. To provide an automatic accompaniment device that can generate an automatic accompaniment sound suitable for a musical idea and that can switch between musically natural patterns such as normal, intro, fill-in, and ending with a simple operation. Things.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、上記請求項1に記載の発明の構成上の特徴は、複数
の伴奏スタイル毎に少なくとも第1及び第2ノーマルパ
ターンデータと少なくとも第1及び第2フィルインパタ
ーンデータとを記憶した伴奏データメモリ(図6のPLDT
(STLN,SCTN,TRKN))と、前記複数の伴奏スタイルのうち
のいずれかを選択する伴奏スタイル選択手段(図3の2
2)と、前記伴奏スタイル選択手段により選択された伴
奏スタイルに属する第1及び第2ノーマルパターンデー
タのうちのいずれかを選択するノーマルパターン選択手
段(図3の25a〜25d)と、前記ノーマルパターン
選択手段により第1ノーマルパターンデータが選択され
たとき前記伴奏スタイル選択手段により選択された伴奏
スタイルに属する第1フィルインパターンデータを指定
し、また前記ノーマルパターン選択手段により第2ノー
マルパターンデータが選択されたとき前記伴奏スタイル
選択手段により選択された伴奏スタイルに属する第2フ
ィルインパターンデータを指定するフィルインパターン
指定手段(図15のステップ302〜308,318、
図21のステップ464〜478)と、前記フィルイン
パターン指定手段により第1フィルインパターンデータ
が指定されたとき前記伴奏スタイル選択手段により選択
された伴奏スタイルに属する第2ノーマルパターンデー
タを復帰パターンデータとして指定し、また前記フィル
インパターン指定手段により第2フィルインパターンデ
ータが指定されたとき前記伴奏スタイル選択手段により
選択された伴奏スタイルに属する第1ノーマルパターン
データを復帰パターンデータとして指定する復帰パター
ン指定手段(図22のステップ504〜512)と、フ
ィルインパターン演奏を指示するフィルインスイッチ
(図3の26b)と、前記ノーマルパターン選択手段に
より選択された第1又は第2ノーマルパターンデータを
繰り返し読み出すとともに、同第1又は第2ノーマルパ
ターンデータの読み出し中における前記フィルインスイ
ッチの操作に応答して、前記フィルインパターン指定手
段により指定された第1又は第2フィルインパターンデ
ータを前記第1又は第2ノーマルパターンデータに代え
て所定期間だけ読み出し、同所定期間の経過後に前記復
帰パターン指定手段により復帰パターンデータとして指
定された第1又は第2ノ ーマルパターンデータを読み出
す読み出し手段(図20のステップ440〜458)
と、前記読み出した第1又は第2ノーマルパターンデー
タと第1又は第2フィルインパターンデータとに応じて
伴奏音信号を発生する伴奏音信号発生手段(図2の4
0)とを備えたことにある。
To achieve the above object, according to the solution to ##, the feature in construction of the invention described in claim 1, a plurality
At least the first and second normal
Turn data and at least first and second fill impatters
Accompaniment data memory (PLDT in FIG. 6)
(STLN, SCTN, TRKN)) and the multiple accompaniment styles
Of the accompaniment style selecting means (2 in FIG. 3)
2) and the accompaniment selected by the accompaniment style selecting means.
First and second normal pattern days belonging to the playing style
Normal pattern selector to select one of the
Steps (25a to 25d in FIG. 3) and the normal pattern
The first normal pattern data is selected by the selecting means.
Accompaniment selected by the accompaniment style selection means
Specify the first fill-in pattern data belonging to the style
The second normal pattern is selected by the normal pattern selecting means.
When the pattern data is selected, the accompaniment style
The second f belonging to the accompaniment style selected by the selecting means
Fill-in pattern to specify file-in pattern data
Specifying means (steps 302 to 308, 318 in FIG. 15;
21. Steps 464 to 478 in FIG.
First fill-in pattern data by pattern designating means
Is selected by the accompaniment style selection means when is specified
Normal pattern day belonging to the specified accompaniment style
Data as return pattern data, and
The second fill-in pattern data
Data is specified by the accompaniment style selection means
1st normal pattern belonging to the selected accompaniment style
A return pattern that specifies data as return pattern data
Means (steps 504 to 512 in FIG. 22)
Fill-in switch to instruct the play-in pattern
(26b in FIG. 3) and the normal pattern selecting means
The first or second normal pattern data selected from
Repeatedly read out the first or second normal
The fill-in switch during read-out of turn data
In response to the switch operation, the fill-in pattern
The first or second fill-in pattern specified by the column
Data for the first or second normal pattern data
For a predetermined period, and after the predetermined period has elapsed,
Return pattern data is specified by the return pattern
Read out the constant is the first or second node on Mar pattern data has been
Reading means (steps 440 to 458 in FIG. 20)
And the read first or second normal pattern data
Data and the first or second fill-in pattern data
Accompaniment sound signal generation means (4 in FIG. 2) for generating an accompaniment sound signal
0).

【0006】[0006]

【0007】[0007]

【0008】また、上記請求項2に記載の発明の構成上
の特徴は、複数の伴奏スタイル毎に複数組のノーマルパ
ターンデータと同ノーマルパターンデータの組数より少
ない組数の複数組のエンディングパターンデータとを記
憶し、一つのエンディングパターンに複数のノーマルパ
ターンを共通に対応させることにより、前記複数組のノ
ーマルパターンデータを前記複数組のエンディングパタ
ーンデータにそれぞれ対応させた伴奏データメモリ(図
6のPLDT(STLN,SCTN,TRKN))と、前記複数の伴奏スタイ
ルのうちのいずれか一つを選択する伴奏スタイル選択手
段(図3の22)と、前記伴奏スタイル選択手段により
選択された伴奏スタイルに属する複数組のノーマルパタ
ーンデータのうちのいずれか一組のノーマルパターンデ
ータを選択するノーマルパターン選択手段(図3の25
a〜25d)と、前記伴奏スタイル選択手段により選択
された伴奏スタイルに属する複数組のエンディングパタ
ーンデータのうちで、前記ノーマルパターン選択手段に
より選択された一組のノーマルパターンデータと対応関
係にある一組のエンディングパターンデータを指定する
エンディングパターン指定手段(図16のステップ34
2〜348,358、図21のステップ464〜47
8)と、エンディングパターン演奏を指示するエンディ
ングスイッチ(図3の26c)と、前記ノーマルパター
ン選択手段により選択された一組のノーマルパターンデ
ータを繰り返し読み出すとともに、同一組のノーマルパ
ターンデータの読み出し中における前記エンディングス
イッチの操作に応答して、前記エンディングパターン指
定手段により指定された一組のエンディングパターンデ
ータを所定期間だけ読み出した後に同読み出しを終了す
る読み出し手段(図20のステップ440〜458)
と、前記読み出した一組のノーマルパターンデータ及び
一組のエンディングパターンデータに応じて伴奏音信号
を発生する伴奏音信号発生手段(図2の40)とを備え
たことにある。
A second feature of the present invention is that a plurality of sets of normal pattern data for each of a plurality of accompaniment styles and a plurality of sets of ending patterns of a number smaller than the number of sets of the normal pattern data are provided. By storing data and a plurality of normal patterns in common with one ending pattern, an accompaniment data memory (FIG. 6) in which the plurality of sets of normal pattern data respectively correspond to the plurality of sets of ending pattern data. PLDT (STLN, SCTN, TRKN)), an accompaniment style selecting means (22 in FIG. 3) for selecting any one of the plurality of accompaniment styles, and an accompaniment style selected by the accompaniment style selecting means. A normal that selects one set of normal pattern data from a plurality of sets of normal pattern data to which the set belongs Turn selection means (25 in FIG. 3
a to 25d), and among a plurality of sets of ending pattern data belonging to the accompaniment style selected by the accompaniment style selecting means, one set corresponding to the set of normal pattern data selected by the normal pattern selecting means. Ending pattern designating means for designating a set of ending pattern data (step 34 in FIG. 16)
2 to 348, 358, steps 464 to 47 in FIG.
8), an ending switch (26c in FIG. 3) for instructing an ending pattern performance, and a set of normal pattern data selected by the normal pattern selecting means are repeatedly read out, and during reading of the same set of normal pattern data. Read means for reading out a set of ending pattern data designated by the ending pattern designating means for a predetermined period in response to the operation of the ending switch, and terminating the reading (steps 440 to 458 in FIG. 20).
And an accompaniment sound signal generating means (40 in FIG. 2) for generating an accompaniment sound signal in accordance with the set of read normal pattern data and the set of ending pattern data.

【0009】[0009]

【発明の作用及び効果】上記のように構成した請求項1
に記載の発明においては、伴奏データメモリには複数の
伴奏スタイル毎にそれぞれ少なくとも第1及び第2ノー
マルパターンデータと少なくとも第1及び第2フィルイ
ンパターンデータとが記憶されており、伴奏スタイル選
択手段により一つの伴奏スタイルが選択されるととも
に、ノーマルパターン選択手段により第1又は第2ノー
マルパターンが選択されると、読み出し手段が、前記選
択された伴奏スタイルに属するとともにノーマルパター
ン選択手段により選択された第1又は第2ノーマルパタ
ーンデータを繰り返し読み出して、伴奏音信号発生手段
が同読み出したノーマルパターンデータに応じた伴奏音
信号を発生する。そして、フィルインスイッチが操作さ
れると、前記読み出していたノーマルパターンデータが
第1ノーマルパターンデータであれば、読み出し手段
は、フィルインパターン指定手段により指定された第1
フィルインパターンデータを読み出す。また、前記読み
出していたノーマルパターンデータが第2ノーマルパタ
ーンデータであれば、読み出し手段は、フィルインパタ
ーン指定手段により指定された第2フィルインパターン
データを読み出す。そして、伴奏音信号発生手段が前記
読み出した第1又は第2フィルインパターンデータに応
じた伴奏音信号を発生する。また、所定期間が経過し
て、このフィルインパターンデータの読み出しが終了す
ると、前記読み出していたフィルインパターンデータが
第1フィルインパターンデータであれば、読み出し手段
は、復帰パターン指定手段により指定された第2ノーマ
ルパターンデータの読み出す。また、前記読み出してい
たフィルインパターンデータが第2フィルインパターン
データであれば、読み出し手段は、前記復帰パターン指
定手段により指定された第1ノーマルパターンデータの
読み出す。そして、伴奏音信号発生手段が前記読み出し
た第1又は第2ノーマルパターンデータに応じた伴奏音
信号を発生する。
According to the first aspect of the present invention, there is provided:
In the invention described in above, the accompaniment data memory
At least the first and second nos for each accompaniment style
Multiple pattern data and at least first and second fill
Pattern data is stored, and the accompaniment style selection
One accompaniment style is selected by the selection means
First, the first or second normal
When the round pattern is selected, the reading means sets the selection.
Belongs to the selected accompaniment style and has a normal putter
The first or second normal pattern selected by the
Sound data generation means
Accompaniment sound according to the normal pattern data read by
Generate a signal. And the fill-in switch is operated
Is read, the read normal pattern data is
Reading means if it is the first normal pattern data
Is the first specified by the fill-in pattern specifying means.
Read fill-in pattern data. In addition, the reading
The normal pattern data that was output is the second normal pattern.
Read data, the readout means fills the
Second fill-in pattern specified by the pattern specifying means
Read data. And the accompaniment sound signal generating means is
According to the read first or second fill-in pattern data,
To generate an accompaniment sound signal. Also, after a predetermined period
Reading of the fill-in pattern data is completed.
Then, the read-in fill-in pattern data is
Reading means for the first fill-in pattern data
Is the second normal specified by the return pattern specifying means.
Read the pattern data. In addition, the reading
Fill-in pattern data is the second fill-in pattern
If the data is data, the reading means operates as the return pattern finger.
Of the first normal pattern data designated by the setting means
read out. Then, the accompaniment sound signal generating means reads out the
Accompaniment sound according to the first or second normal pattern data
Generate a signal.

【0010】その結果、この発明によれば、選択した同
一伴奏スタイルの中で、第1又は第2ノーマルパターン
データの選択により第1及び第2ノーマルパターンのう
ちの一方が選択的に演奏されるとともに(図1のNOR1〜
NOR4)、フィルインスイッチの操作により、前記演奏さ
れたノーマルパターンに対応したフィルインパターンの
演奏に移行し(図1の4個のFIL2)、このフィルインパ
ターンの演奏後、以前のノーマルパターンと異なるノー
マルパターンの演奏に復帰するので(図1のNOR1,2−FI
L2−NOR3,4)、種々の演奏曲の曲想に適したノーマルパ
ターン演奏及びフィルインパターン演奏を実現できると
ともに、演奏楽曲の流れに沿ったノーマルパターン演奏
及びフィルインパターン演奏の移行を実現できる。特
に、一つの伴奏スタイルの中に少なくとも2種類のノー
マルパターン及びフィルインパターンが用意され、前記
移行は同じ伴奏スタイルの中で行われるので、バラエテ
ィに富むと同時にきわめて自然な伴奏音を発生させるこ
とができる。
As a result, according to the present invention, the selected
1st or 2nd normal pattern in one accompaniment style
The first and second normal patterns are selected by selecting data.
One of them is played selectively (NOR 1 to NOR 1 in FIG. 1).
NOR4), the performance is performed by operating the fill-in switch.
Fill-in pattern corresponding to the normal pattern
The performance shifts to the performance (four FIL2s in Fig. 1),
After playing a turn, a note that differs from the previous normal pattern
Since it returns to the performance of the round pattern (NOR1, 2-FI of FIG. 1)
L2-NOR3,4), normal pas suitable for various musical compositions
If turn performance and fill-in pattern performance can be realized
Both perform normal patterns along the flow of the music
And the transition of the fill-in pattern performance can be realized. Special
In addition, at least two types of no
A round pattern and a fill-in pattern are prepared.
Since the transition takes place in the same style of accompaniment,
It produces rich and at the same time very natural accompaniment sounds.
Can be.

【0011】[0011]

【0012】[0012]

【0013】[0013]

【0014】[0014]

【0015】上記のように構成した請求項2に記載の発
明においては、伴奏データメモリには複数の伴奏スタイ
ル毎にそれぞれ複数組のノーマルパターンデータ及びエ
ンディングパターンデータが記憶されており、伴奏スタ
イル選択手段により一つの伴奏スタイルが選択されると
ともに、ノーマルパターン選択手段により一組のノーマ
ルパターンデータが選択されると、読み出し手段が、前
記選択された伴奏スタイルに属する複数組のノーマルパ
ターンデータのうちで、前記選択された一組のノーマル
パターンデータを読み出して、伴奏音信号発生手段が同
読み出したノーマルパターンデータに応じた伴奏音信号
を発生する。そして、エンディングスイッチが操作され
ると、読み出し手段が、エンディングパターン指定手段
により指定されたエンディングパターンであって、前記
選択された伴奏スタイルに属する複数組のエンディング
パターンデータのうちで、前記選択された一組のノーマ
ルパターンデータと対応関係にある一組のエンディング
パターンデータを読み出し、伴奏音信号発生手段が同読
み出したエンディングパターンデータに応じた伴奏音信
号を発生する。
In the second aspect of the invention, the accompaniment data memory stores a plurality of sets of normal pattern data and ending pattern data for each of a plurality of accompaniment styles. When one accompaniment style is selected by the means and one set of normal pattern data is selected by the normal pattern selecting means, the reading means sets the normal pattern data among the plural sets of normal pattern data belonging to the selected accompaniment style. The selected set of normal pattern data is read, and the accompaniment sound signal generating means generates an accompaniment sound signal corresponding to the read normal pattern data. Then, when the ending switch is operated, the reading means is the ending pattern designated by the ending pattern designating means, and is selected from the plurality of sets of ending pattern data belonging to the selected accompaniment style. A set of ending pattern data corresponding to the set of normal pattern data is read out, and the accompaniment sound signal generating means generates an accompaniment sound signal corresponding to the read out ending pattern data.

【0016】その結果、この発明によれば、選択した同
一伴奏スタイルの中で、ノーマルパターンデータの選択
により複数組のノーマルパターンの任意のものが演奏さ
れるとともに(図1のNOR1〜NOR4)、エンディングスイ
ッチの操作により、前記演奏されたノーマルパターンに
対応したエンディングパターンの演奏に移行して(図1
のEND1〜END3)、自動伴奏の発生が終了するので、種々
の演奏曲の曲想に適したノーマルパターン演奏及びエン
ディングパターン演奏を実現できるとともに、演奏者が
格別にエンディングパターンデータを選択しなくても、
ノーマルパターン演奏から音楽的に自然なエンディング
パターン演奏へ移行させることができる。特に、一つの
伴奏スタイルの中に複数種類のノーマルパターン及びエ
ンディングパターンが用意され、前記移行は同じ伴奏ス
タイルの中で行われるので、バラエティに富むと同時に
きわめて自然な伴奏音を発生させることができる。
た、一つのエンディングパターンに複数のノーマルパタ
ーンを共通に対応させることにより、伴奏データメモリ
にはエンディングパターンデータの組数よりも多い組数
のノーマルパターンデータが用意されているので、用意
されているエンディングパターンデータの数に拘束され
ないで、多種類のノーマルパターンデータの中から自由
に一つのノーマルパターンデータによる自動伴奏が可能
になり、よりバラエティに富んだ自然な伴奏音を発生さ
せることができる。
As a result, according to the present invention, any one of a plurality of sets of normal patterns is played by selecting the normal pattern data in the selected same accompaniment style (NOR1 to NOR4 in FIG. 1). By operating the ending switch, the operation shifts to the performance of the ending pattern corresponding to the played normal pattern (FIG. 1).
END1 to END3), since the generation of the automatic accompaniment ends, it is possible to realize the normal pattern performance and the ending pattern performance suitable for the musical ideas of various performances, and it is possible for the player to not select the ending pattern data particularly. ,
It is possible to shift from a normal pattern performance to a musically natural ending pattern performance. In particular, a plurality of normal patterns and ending patterns are prepared in one accompaniment style, and the transition is performed in the same accompaniment style, so that it is possible to generate a variety of and very natural accompaniment sounds. . Ma
Also, multiple normal patterns in one ending pattern
Acne data memory
Has more sets than the number of sets of ending pattern data
The normal pattern data of
Is limited by the number of ending pattern data
Free from many types of normal pattern data
Automatic accompaniment with one normal pattern data
To produce more varied and natural accompaniment sounds.
Can be made.

【0017】[0017]

【発明の実施の形態】以下、本発明の一実施形態を図面
を用いて説明すると、図2は本発明に係る自動伴奏装置
を備えた電子楽器の全体をブロック図により示してい
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a block diagram showing an entire electronic musical instrument having an automatic accompaniment device according to the present invention.

【0018】この電子楽器は左鍵盤11、右鍵盤12及
び操作パネル20を備えている。左鍵盤11は複数の鍵
からなり、和音演奏のために利用される。右鍵盤12も
複数の鍵からなり、メロディ演奏のために利用される。
これらの各鍵の押離鍵は、押鍵検出回路13内に各鍵に
対応して設けた複数の鍵スイッチの開閉成により検出さ
れるようになっている。
This electronic musical instrument includes a left keyboard 11, a right keyboard 12, and an operation panel 20. The left keyboard 11 includes a plurality of keys and is used for playing a chord. The right keyboard 12 also includes a plurality of keys, and is used for melody performance.
Pressing and releasing of these keys is detected by opening and closing a plurality of key switches provided for each key in the key press detection circuit 13.

【0019】操作パネル20には、図3に示すように、
多数の音色選択スイッチ群21、多数の伴奏スタイルス
イッチ群22、アップスイッチ23a、ダウンスイッチ
23b、スタートスイッチ24a、ストップスイッチ2
4b、4個のノーマルパターンスイッチ25a〜25
d、3個の特殊パターンスイッチ26a〜26c、切り
換え条件スイッチ27及び6個のランプ28a〜28f
が設けられている。
As shown in FIG. 3, the operation panel 20
A large number of tone selection switch groups 21, a large number of accompaniment style switch groups 22, an up switch 23a, a down switch 23b, a start switch 24a, a stop switch 2
4b, four normal pattern switches 25a to 25
d, three special pattern switches 26a to 26c, a switching condition switch 27, and six lamps 28a to 28f
Is provided.

【0020】音色選択スイッチ群21は、バイオリン、
ギター、ピアノ等、複数の音色にそれぞれ対応してお
り、各スイッチは前記複数の音色の中からメロディ音の
ための前記複数の音色の1つを指定するものである。伴
奏スタイルスイッチ群22は、マーチ、ワルツ、ロック
等、複数の伴奏スタイルにそれぞれ対応しており、各ス
イッチは前記複数の伴奏スタイルの1つを指定するもの
である。アップスイッチ23a及びダウンスイッチ23
bは、自動伴奏のテンポの上昇及び下降を指示するもの
である。スタートスイッチ24aは自動伴奏の開始を指
示し、またストップスイッチ24bは同伴奏の停止を指
示するものである。ノーマルパターンスイッチ25a〜
25dは4個のノーマルパターンNOR1〜NOR4(図1参
照)にそれぞれ対応しており、各スイッチは前記指定さ
れた伴奏スタイルに属する前記4個のノーマルパターン
の1つを指定するものである。特殊パターンスイッチ2
6a〜26cは3個のイントロパターンINT1〜INT3(図
1参照)にそれぞれ対応するとともに、第1フィルイン
パターンFIL1、第2フィルインパターンFIL2及びエンデ
ィングパターンEND1〜END3(図1参照)にそれぞれ対応
しており、各スイッチは前記指定された伴奏スタイルに
属する前記3個のイントロパターンの1つを指定する
か、前記第1,2フィルインパターン又はエンディング
パターンの1つを指定するものである。切り換え条件ス
イッチ27は、ノーマルパターンからフィルインパター
ン又はエンディングパターンに移行する場合に、所定の
条件付き(1拍目又は奇数拍目で移行)で移行するか、
条件なく移行するかを指示するものである。ランプ28
a〜28fはそれぞれ発光ダイオードで構成されてお
り、ランプ28aはイントロパターンを演奏中であるこ
とを表示し、ランプ28b〜28eは第1〜第4ノーマ
ルパターンを演奏中であることを表示し、かつランプ2
8fはエンディングパターンを演奏中であることを表示
する。これらの各スイッチ21〜27の操作はスイッチ
操作検出回路20aにより検出されるようになっている
とともに、各ランプ28a〜28fは表示制御回路20
bにより点灯及び消灯制御されるようになっている。
The tone selection switch group 21 includes a violin,
Each switch corresponds to a plurality of tones such as a guitar and a piano, and each switch designates one of the plurality of tones for a melody tone from among the plurality of tones. The accompaniment style switch group 22 corresponds to each of a plurality of accompaniment styles such as march, waltz, rock, and the like, and each switch designates one of the plurality of accompaniment styles. Up switch 23a and down switch 23
b indicates that the tempo of the automatic accompaniment increases and decreases. The start switch 24a instructs the start of the automatic accompaniment, and the stop switch 24b instructs the stop of the accompaniment. Normal pattern switch 25a ~
Reference numeral 25d corresponds to each of the four normal patterns NOR1 to NOR4 (see FIG. 1), and each switch specifies one of the four normal patterns belonging to the specified accompaniment style. Special pattern switch 2
6a to 26c correspond to the three intro patterns INT1 to INT3 (see FIG. 1), respectively, and correspond to the first fill-in pattern FIL1, the second fill-in pattern FIL2, and the ending patterns END1 to END3 (see FIG. 1). Each switch designates one of the three intro patterns belonging to the designated accompaniment style, or designates one of the first, second fill-in pattern or ending pattern. The switching condition switch 27 determines whether to shift with a predetermined condition (shift at the first beat or odd-numbered beat) when shifting from the normal pattern to the fill-in pattern or the ending pattern,
It indicates whether to shift without any conditions. Lamp 28
a to 28f are each formed of a light emitting diode, a lamp 28a indicates that the intro pattern is being played, lamps 28b to 28e indicate that the first to fourth normal patterns are being played, And lamp 2
8f indicates that the ending pattern is being played. The operation of each of the switches 21 to 27 is detected by a switch operation detection circuit 20a, and each of the lamps 28a to 28f is connected to the display control circuit 20.
Lighting and turning off are controlled by b.

【0021】押鍵検出回路13a、スイッチ操作検出回
路20a及び表示制御回路20bはバス30に接続され
ており、同バス30には、楽音信号形成回路40、マイ
クロコンピュータ部50及び伴奏データメモリ60が接
続されている。
The key press detection circuit 13a, the switch operation detection circuit 20a, and the display control circuit 20b are connected to a bus 30. The bus 30 includes a tone signal forming circuit 40, a microcomputer unit 50, and an accompaniment data memory 60. It is connected.

【0022】楽音信号形成回路40は複数の楽音信号形
成チャンネルを備えており、各楽音信号形成チャンネル
は、マイクロコンピュータ部50からバス30を介して
供給されるキーコードKC、音色番号VOIN、音量データVO
L、キーオン信号KON等の制御データに基づき、ピアノ、
クラリネット等の音高の変化するメロディ音信号及び伴
奏音信号を形成するとともに、ドラム、シンバル等の打
楽器音信号(本件では伴奏音信号の一部として定義され
る)を形成して出力する。楽音信号形成回路40の出力
はアンプ41を介してスピーカ42に接続されている。
The tone signal forming circuit 40 has a plurality of tone signal forming channels. Each tone signal forming channel is provided with a key code KC, tone number VOIN, and volume data supplied from the microcomputer unit 50 via the bus 30. VO
Based on control data such as L, key-on signal KON, piano,
In addition to forming a melody sound signal and accompaniment sound signal of a clarinet or the like whose pitch changes, a percussion sound signal (defined in this case as a part of the accompaniment sound signal) of a drum, cymbal or the like is formed and output. The output of the tone signal forming circuit 40 is connected to a speaker 42 via an amplifier 41.

【0023】マイクロコンピュータ部50は、バス30
にそれぞれ接続されたプログラムメモリ51、テンポク
ロック発生器52、CPU53及びワーキングメモリ5
4からなる。プログラムメモリ51はROMにより構成
され、図7〜26に示すフローチャートに対応したプロ
グラムを記憶している。テンポクロック発生器52は可
変周波数発振器で構成され、CPU53からバス30を
介して供給される微小時間ΔTを表す制御データに応じ
た周期でテンポクロック信号を発生する。CPU53
は、電源スイッチ(図示しない)の投入後、図7〜19
に示すフローチャートに対応したプログラムを実行し続
けるとともに、前記テンポクロック信号の到来により前
記プログラムの実行を中断して、図20〜26に示すフ
ローチャートに対応したプログラムを割り込み実行する
ものである。ワーキングメモリ54はRAMにより構成
され、前記プログラムの実行に必要なデータを一時的に
記憶するものである。
The microcomputer unit 50 includes a bus 30
Memory 51, tempo clock generator 52, CPU 53 and working memory 5 connected to
Consists of four. The program memory 51 is constituted by a ROM and stores programs corresponding to the flowcharts shown in FIGS. The tempo clock generator 52 is constituted by a variable frequency oscillator, and generates a tempo clock signal at a cycle corresponding to control data representing a minute time ΔT supplied from the CPU 53 via the bus 30. CPU53
7 to 19 after the power switch (not shown) is turned on.
The program corresponding to the flowcharts shown in FIGS. 20 to 26 is continuously executed, the execution of the program is interrupted by the arrival of the tempo clock signal, and the program corresponding to the flowcharts shown in FIGS. The working memory 54 is constituted by a RAM, and temporarily stores data necessary for executing the program.

【0024】伴奏データメモリ60はROMにより構成
され、スタイルテーブルSTLTBL、セクションテーブルSC
TTBL及び演奏データテーブルPLDTを備えるとともに、そ
の他の伴奏用データを記憶する領域も備えている。
The accompaniment data memory 60 is constituted by a ROM, and includes a style table STLTBL and a section table SC.
Along with the TTBL and the performance data table PLDT, it also has an area for storing other accompaniment data.

【0025】スタイルテーブルSTLTBLは、図4に示すよ
うに、各伴奏スタイルに対応した記憶領域STLTBL(STLN)
に分割されており、各記憶領域STLTBL(STLN)は各伴奏ス
タイルを表すスタイル番号STLNにより指定されるように
なっている。これらの各記憶領域STLTBL(STLN)には、セ
クション毎の小節数BAR(SCTN) 、拍子数MTR 、標準テン
ポSTMP及びセクション切り換え条件SCCが記憶されてい
る。ここで、各小節数BAR(SCTN)は各セクション毎のパ
ターンの1周期の小節数を示しており、各伴奏スタイル
毎に18個の各パターンを表すセクション番号SCTNによ
り指定されるようになっている。なお、セクション番号
SCTNは、図1に示すように、0〜2により3個のイント
ロパターンINT1〜INT3をそれぞれ表し、3〜6により4
個のノーマルパターンNOR1〜NOR4をそれぞれ表し、7〜
10により4個の第1フィルインパターンFIL1をそれぞ
れ表し、11〜14により4個の第2フィルインパター
ンFIL2をそれぞれ表し、15〜17によりエンディング
パターンEND1〜END3をそれぞれ表す。拍子数MTR は1小
節内の4分音符の数、すなわち3拍子の場合には「3」
に設定され、4拍子の場合には「4」に設定されてい
る。標準テンポSTMPは各伴奏スタイル毎に標準的なテン
ポ、すなわち1分間当りの標準的な4分音符の数を表し
ている。切り換え条件SCC は、ノーマルパターンからフ
ィルインパターン又はエンディングパターンに条件付き
で移行する場合に、前記条件を指示するもので、”0”
により特殊パターンスイッチ26a〜26cの投入後に
おける奇数拍目の到来時に前記移行を実現することを表
し、かつ”1”により前記投入後における1拍目の到来
時に前記移行を実現することを表す。
As shown in FIG. 4, the style table STLTBL has a storage area STLTBL (STLN) corresponding to each accompaniment style.
Each storage area STLTBL (STLN) is specified by a style number STLN representing each accompaniment style. Each of these storage areas STLTBL (STLN) stores the number of bars BAR (SCTN), the number of beats MTR, the standard tempo STMP, and the section switching condition SCC for each section. Here, each bar number BAR (SCTN) indicates the number of bars in one cycle of the pattern for each section, and is designated by the section number SCTN representing 18 patterns for each accompaniment style. I have. In addition, section number
The SCTN indicates three intro patterns INT1 to INT3 by 0 to 2 as shown in FIG.
Represents the normal patterns NOR1 to NOR4, respectively.
Numeral 10 denotes four first fill-in patterns FIL1, 11 to 14 denote four second fill-in patterns FIL2, and 15 to 17 denote ending patterns END1 to END3. The number of beats MTR is the number of quarter notes in one bar, ie "3" for 3 beats
And in the case of quadruple, it is set to “4”. The standard tempo STMP indicates a standard tempo for each accompaniment style, that is, a standard number of quarter notes per minute. The switching condition SCC indicates the above condition when the condition is shifted from the normal pattern to the fill-in pattern or the ending pattern conditionally.
Indicates that the transition is realized when an odd-numbered beat arrives after the special pattern switches 26a to 26c are turned on, and "1" indicates that the shift is realized when the first beat arrives after the turn-on.

【0026】セクションテーブルSCTTBLは、図5に示す
ように、各伴奏スタイル及び各セクションに対応した記
憶領域SCTTBL(STLN,SCTN) に分割されており、各記憶領
域SCTTBL(STLN,SCTN) はスタイル番号STLN及びセクショ
ン番号SCTNにより指定されるようになっている。各記憶
領域SCTTBL(STLN,SCTN) には、各トラック番号TRKN(0〜
8)毎に小節数BAR及び音量VOLが記憶されている。このト
ラック番号TRKNは、0〜5により和音の構成音列を表
し、6によりベース音列を表し、7,8により打楽器音
列を表している。また、小節数BAR(TRKN) は各トラック
毎の音列の1周期の小節数を示しており、音量VOL は各
トラック毎の音列の相対音量を表している。
As shown in FIG. 5, the section table SCTTBL is divided into storage areas SCTTBL (STLN, SCTN) corresponding to each accompaniment style and each section, and each storage area SCTTBL (STLN, SCTN) has a style number. It is specified by STLN and section number SCTN. Each storage area SCTTBL (STLN, SCTN) has a track number TRKN (0 to
8) The bar number BAR and volume VOL are stored for each bar. The track number TRKN represents a chord component sound sequence from 0 to 5, 6 represents a bass tone sequence, and 7, 8 represent a percussion instrument tone sequence. The bar number BAR (TRKN) indicates the number of bars in one cycle of the sound sequence for each track, and the volume VOL indicates the relative volume of the sound sequence for each track.

【0027】演奏データテーブルPLDTは、図6(A)に示
すように、各伴奏スタイル、各セクション及び各トラッ
クに対応した記憶領域PLDT(STLN,SCTN,TRKN)に分割され
ており、各記憶領域PLDT(STLN,SCTN,TRKN)はスタイル番
号STLN、セクション番号SCTN及びトラック番号TRKNによ
り指定されるようになっている。各記憶領域PLDT(STLN,
SCTN,TRKN)には、ノートデータNOTE、音色データTC及び
小節線データBARLからなる一連の演奏データ列が前記各
トラック毎に時間経過に従って記憶されている。ノート
データNOTEは、図6(B)に示すように、識別コード、イ
ベントタイムEVT 、キーコードKC、キータッチKT及びキ
ーオン時間KOT からなる1組のデータにより構成されて
いる。この場合、識別コードはこの1組のデータがノー
トデータNOTEであることを表すもので、イベントタイム
EVT は同データNOTEの読み出しタイミングを小節の頭か
らの時間で表すもので、キーコードKCは伴奏音の音高を
メジャ和音を基準としてC音からの半音間隔数で表す
(ただし、打楽器音に関してはその種類を表す)もの
で、キータッチKTは各伴奏音の相対音量を表し、かつキ
ーオン時間KOT は伴奏音の持続時間を表す。音色データ
TCは、図6(C)に示すように、識別コード、イベントタ
イムEVT 、音色番号VOINからなる1組のデータにより構
成されている。この場合、識別コードはこの1組のデー
タが音色データTCであることを示すもので、イベントタ
イムEVT は同データTCの読み出しタイミングを小節の頭
からの時間で示すもので、かつ音色番号VOINは伴奏音の
音色を表す(ただし、打楽器音に関しては同一音の微妙
な変化を表す)ものである。小節線データBARLは、伴奏
音列が小節の句切りであることを表す識別コードのみか
らなる。また、これらの演奏データ列は、図1の上方の
パターンから下方のパターンへ向かうに従って(イント
ロパターン、ノーマルパターン、第1及び第2フィルイ
ンパターン、エンディングパターンにおいて、それぞれ
セクション番号SCTNが増加するに従って)、自動伴奏が
盛り上がるように、設定されている。その結果、図1の
実線又は破線で接続された各パターンは互いに対応した
ものとなっている。
As shown in FIG. 6A, the performance data table PLDT is divided into storage areas PLDT (STLN, SCTN, TRKN) corresponding to each accompaniment style, each section and each track. The PLDT (STLN, SCTN, TRKN) is specified by the style number STLN, section number SCTN, and track number TRKN. Each storage area PLDT (STLN,
SCTN, TRKN) stores a series of performance data strings including note data NOTE, timbre data TC, and bar line data BARL as time elapses for each track. As shown in FIG. 6B, the note data NOTE is composed of a set of data including an identification code, an event time EVT, a key code KC, a key touch KT, and a key-on time KOT. In this case, the identification code indicates that this set of data is note data NOTE, and the event time
EVT indicates the read timing of the same data NOTE as the time from the beginning of the bar, and key code KC indicates the pitch of the accompaniment sound in semitone intervals from the C sound based on the major chord (however, the KT represents the relative volume of each accompaniment sound, and key-on time KOT represents the duration of the accompaniment sound. Tone data
As shown in FIG. 6C, the TC is composed of a set of data including an identification code, an event time EVT, and a timbre number VOIN. In this case, the identification code indicates that this set of data is timbre data TC, the event time EVT indicates the read timing of the data TC by the time from the beginning of the bar, and the timbre number VOIN is It represents the timbre of the accompaniment sound (however, a percussion instrument sound represents a subtle change of the same sound). The bar line data BARL is composed of only an identification code indicating that the accompaniment sound sequence is a bar break of a bar. These performance data strings are arranged from the upper pattern to the lower pattern in FIG. 1 (in the intro pattern, the normal pattern, the first and second fill-in patterns, and the ending pattern, as the section number SCTN increases, respectively). , So that the automatic accompaniment is excited. As a result, the patterns connected by solid lines or broken lines in FIG. 1 correspond to each other.

【0028】その他の伴奏データを記憶する領域には、
和音を検出するための和音検出テーブルと、伴奏音を検
出和音に基づいて同和音の構成音に変換する変換テーブ
ルが設けられている。
In an area for storing other accompaniment data,
A chord detection table for detecting a chord and a conversion table for converting an accompaniment tone into a constituent tone of the chord based on the detected chord are provided.

【0029】次に、上記実施形態の動作をフローチャー
トを参照しながら説明する。
Next, the operation of the above embodiment will be described with reference to flowcharts.

【0030】まず、電源スイッチ(図示しない)が投入
されると、CPU53は図7のステップ100にてプロ
グラムの実行を開始し、ステップ102にて楽音信号形
成回路40及びワーキングメモリ54を初期状態に設定
する。なお、前記初期設定処理においては、セクション
番号SCTNがノーマルパターンNOR1(図1参照)を示す
「3」に設定される。
First, when a power switch (not shown) is turned on, the CPU 53 starts execution of a program in step 100 of FIG. Set. In the initial setting process, the section number SCTN is set to “3” indicating the normal pattern NOR1 (see FIG. 1).

【0031】この初期設定後、CPU53はステップ1
04〜110からなる循環処理を実行し、ステップ10
4にて左鍵盤11及び右鍵盤12のいずれかの鍵の操作
を検出するとともに、ステップ108にて操作パネル2
0上のいずれかのスイッチの操作を検出する。いずれか
の鍵が操作された場合には、CPU53は、ステップ1
04における「YES」すなわちキーイベント有りとの
判定の基に、ステップ106の「キーイベントルーチ
ン」を実行する。この「キーイベントルーチン」は、図
8に詳細に示されているように、ステップ120〜13
2からなり、このルーチンにて、左鍵盤11及び右鍵盤
12の演奏に応じて、メロディ音の発生が制御されると
ともに演奏和音が検出される。また、操作パネル20上
のいずれかのスイッチが操作された場合には、CPU5
3は、ステップ108における「YES」すなわちスイ
ッチイベント有りとの判定の基に、ステップ110にて
「スイッチイベントルーチン」を実行する。この「スイ
ッチイベントルーチン」は、図9に詳細に示されている
ように、ステップ140〜166からなり、スイッチ群
21〜27の操作に応じて、メロディ音の音色が設定さ
れるとともに、伴奏音の発生が制御される。
After this initialization, the CPU 53 proceeds to step 1
A circulation process consisting of steps 04 to 110 is executed, and step 10
4 detects the operation of any key of the left keyboard 11 and the right keyboard 12, and at step 108, the operation panel 2
Operation of any switch on 0 is detected. If any key is operated, the CPU 53 proceeds to step 1
Based on “YES” in 04, that is, determination that there is a key event, the “key event routine” of step 106 is executed. This "key event routine" includes steps 120 to 13 as shown in detail in FIG.
In this routine, the generation of a melody sound is controlled and the performance chord is detected in accordance with the performance of the left keyboard 11 and the right keyboard 12. When any switch on the operation panel 20 is operated, the CPU 5
3 executes a “switch event routine” in step 110 based on “YES” in step 108, that is, determination that there is a switch event. As shown in detail in FIG. 9, the "switch event routine" includes steps 140 to 166. In response to the operation of the switch groups 21 to 27, the melody tone is set and the accompaniment tone is set. Is controlled.

【0032】次に、前記メロディ音の発生及び伴奏音の
発生について、項を分けて詳細に説明する。
Next, the generation of the melody sound and the generation of the accompaniment sound will be described in detail in separate sections.

【0033】a.メロディ音の発生及び和音検出 左鍵盤11及び右鍵盤12のいずれかの鍵が操作される
と、上述のように、CPU53は、ステップ106にて
「キーイベントルーチン」(図8)の処理を実行する。
右鍵盤12のいずれかの鍵が押鍵された場合、ステップ
122,124にて共に「YES」と判定して、ステッ
プ126にてキーオン処理を実行する。このキーオン処
理においては、押鍵された鍵名を表すキーコードKC及び
キーオン信号KON が楽音信号形成回路40に出力され、
同形成回路40は前記キーコードKCにより表された音高
のメロディ音信号を形成し、同信号をアンプ41を介し
てスピーカ42へ出力する。また、右鍵盤12のいずれ
かの鍵が離鍵された場合、ステップ122にて「YE
S」と判定し、かつステップ124にて「NO」と判定
して、ステップ128にてキーオフ処理を実行する。こ
のキーオフ処理においては、前記離鍵された鍵名を表す
キーコードKC及びキーオフ信号KOF が楽音信号形成回路
40に出力され、同形成回路40は前記キーコードKCに
より表された音高のメロディ音信号の形成を停止する。
これにより、右鍵盤12の演奏に応じてメロディ音がス
ピーカ42から発音される。なお、この場合、メロディ
音の音色は音色選択スイッチ群21の操作により選択さ
れるもので、同スイッチ群21のいずれかが操作される
と、CPU53は、上述のように、「メインプログラ
ム」のステップ110にて「スイッチイベントルーチ
ン」(図9)の処理を実行する。この「スイッチイベン
トルーチン」においては、ステップ142における判定
処理の基に、ステップ144にて前記操作された音色選
択スイッチ21を表す音色番号データVOINが楽音信号形
成回路40へ出力されて、同形成回路40が前記メロデ
ィ音の音色を制御する。
A. Generation of Melody Sound and Chord Detection When any key of the left keyboard 11 and the right keyboard 12 is operated, as described above, the CPU 53 executes the processing of the “key event routine” (FIG. 8) in step 106. I do.
If any key of the right keyboard 12 is depressed, it is determined “YES” in steps 122 and 124, and a key-on process is executed in step 126. In this key-on process, a key code KC and a key-on signal KON representing the name of the depressed key are output to the tone signal forming circuit 40,
The forming circuit 40 forms a melody sound signal having a pitch represented by the key code KC, and outputs the signal to the speaker 42 via the amplifier 41. If any key on the right keyboard 12 is released, the process proceeds to step 122 where "YE
S "and" NO "in step 124, and a key-off process is executed in step 128. In this key-off process, a key code KC representing the name of the released key and a key-off signal KOF are output to the tone signal forming circuit 40, and the forming circuit 40 produces a melody tone having a pitch represented by the key code KC. Stop signal formation.
As a result, a melody sound is emitted from the speaker 42 according to the performance of the right keyboard 12. In this case, the tone color of the melody tone is selected by operating the tone color selection switch group 21, and when any one of the switch group 21 is operated, the CPU 53 executes the “main program” as described above. In step 110, the process of the "switch event routine" (FIG. 9) is executed. In this "switch event routine", based on the determination processing in step 142, the tone color number data VOIN representing the operated tone color selection switch 21 is output to the musical tone signal forming circuit 40 in step 144, and 40 controls the tone of the melody sound.

【0034】一方、左鍵盤11のいずれかの鍵が押鍵又
は離鍵されると、上述のように、CPU53は、「キー
イベントルーチン」(図8)のステップ122にて「N
O」と判定し、ステップ130にて和音検出処理を実行
する。この処理においては、左鍵盤11にて押鍵されて
いる鍵の組合せに応じて伴奏データメモリ60内の和音
検出テーブルが参照されて、和音が検出されるととも
に、同検出和音の根音及びタイプを表すデータが和音根
音CRT 及び和音タイプCTPとして記憶される。
On the other hand, when any key on the left keyboard 11 is depressed or released, the CPU 53 proceeds to step 122 of the "key event routine" (FIG. 8) as described above.
O ", and a chord detection process is executed at step 130. In this process, the chord is detected by referring to the chord detection table in the accompaniment data memory 60 in accordance with the combination of keys pressed on the left keyboard 11, and the root and type of the detected chord are detected. Is stored as a chord root CRT and a chord type CTP.

【0035】b.伴奏スタイル、テンポ及び切り換え条
件フラグの設定 操作パネル20上の伴奏スタイルスイッチ群22、アッ
プスイッチ23a、ダウンスイッチ23b及び切り換え
条件スイッチ27のいずれかが操作されると、上述のよ
うに、CPU53はステップ110(図7)にて「スイ
ッチイベントルーチン」(図9)を実行する。
B. Setting of Accompaniment Style, Tempo, and Switching Condition Flag When any one of the accompaniment style switch group 22, the up switch 23a, the down switch 23b, and the switching condition switch 27 on the operation panel 20 is operated, the CPU 53 executes the step as described above. At 110 (FIG. 7), the "switch event routine" (FIG. 9) is executed.

【0036】伴奏スタイルスイッチ群22が操作された
場合、CPU53は、ステップ142(図9)の判定処
理の基に、ステップ146にて「スタイルルーチン」を
実行する。この「スタイルルーチン」においては、図1
0に詳細に示されているように、その実行がステップ1
70にて開始され、ステップ172にて操作された伴奏
スタイルスイッチ22を表す番号がスタイル番号STLNと
して記憶され、ステップ174にて伴奏データメモリ6
0内のスタイルテーブルSTLTBLが参照され、かつスタイ
ル番号STLNにより指定される同テーブルSTLTBL内の標準
テンポSTLTBL(STLN).STMPが読出されて、自動伴奏の速
さを決定するテンポTMPとして記憶される。なお、これ
らの標準テンポSTLTBL(STLN).STMP及びテンポTMPは1分
間当りの4分音符の数を表している。
When the accompaniment style switch group 22 is operated, the CPU 53 executes a “style routine” in step 146 based on the determination processing in step 142 (FIG. 9). In this “style routine”, FIG.
0, as detailed in FIG.
Starting at 70, the number representing the accompaniment style switch 22 operated at step 172 is stored as the style number STLN, and at step 174 the accompaniment data memory 6
The standard tempo STLTBL (STLN) in the table STLTBL specified by the style number STLN is referred to by referring to the style table STLTBL in 0.STMP is read out and stored as the tempo TMP for determining the speed of the automatic accompaniment. . The standard tempo STLTBL (STLN) .STMP and tempo TMP represent the number of quarter notes per minute.

【0037】次に、ステップ176にて前記テンポTMP
を用いた下記数1に示す演算の実行により、微小時間Δ
Tが計算され、ステップ178にて同時間ΔTを表すデ
ータがテンポクロック発生器52へ出力される。
Next, at step 176, the tempo TMP
By executing the calculation shown in the following equation 1 using
T is calculated, and data representing the same time ΔT is output to the tempo clock generator 52 in step 178.

【0038】[0038]

【数1】ΔT=(60×103)/(TMP×24) この場合、前記微小時間ΔTは4分音符の1/24に相
当する時間をミリ秒の単位で表すものであり、テンポク
ロック発生器52はこの微小時間ΔT毎にテンポクロッ
ク信号をCPU53に供給するようになる。
ΔT = (60 × 10 3 ) / (TMP × 24) In this case, the short time ΔT represents a time corresponding to 1/24 of a quarter note in a unit of millisecond, and The generator 52 supplies a tempo clock signal to the CPU 53 every minute time ΔT.

【0039】このテンポの設定後、ステップ180,1
82にて、スタイルテーブル(図4)が参照されて、ス
タイル番号STLN及びセクション番号SCTNにより指定され
る拍子数STLTBL(STLN).MTR及び小節数STLTBL(STLN).BAR
(SCTN)が同テーブルから読み出されて、下記数2に示す
各演算の実行によって1小節時間BTM 及び1パターン時
間PTM が計算されて、ステップ184にて「スタイルル
ーチン」の実行が終了する。
After setting the tempo, steps 180 and 1
At 82, the style table (FIG. 4) is referred to and the number of beats STLTBL (STLN) .MTR and the number of measures STLTBL (STLN) .BAR specified by the style number STLN and section number SCTN.
(SCTN) is read from the same table, and one measure time BTM and one pattern time PTM are calculated by executing the respective operations shown in the following equation 2, and the execution of the "style routine" is terminated in step 184.

【0040】[0040]

【数2】BTM=24×STL(STLN).MTR PTM=BTM×STLTBL(STLN).BAR(SCTN) この場合、1小節時間BTM は選択した伴奏スタイルにお
いて1小節間にカウントされるテンポクロック信号の数
を表し、1パターン時間PTM は同スタイルの指定セクシ
ョン番号SCTNにおいて1パターン間にカウントされるテ
ンポクロック信号の数を表すことになる。
(2) BTM = 24 × STL (STLN) .MTR PTM = BTM × STLTBL (STLN) .BAR (SCTN) In this case, one bar time BTM is a tempo clock signal counted during one bar in the selected accompaniment style. And one pattern time PTM represents the number of tempo clock signals counted during one pattern in the designated section number SCTN of the same style.

【0041】また、アップスイッチ23a又はダウンス
イッチ23bが操作されると、CPU53は、ステップ
142(図9)の判定処理の基に、ステップ148にて
「テンポルーチン」を実行する。この「テンポルーチ
ン」においては、図11に詳細に示されているように、
その実行がステップ190にて開始され、ステップ19
2にてアップスイッチ23aが操作されたか、ダウンス
イッチ23bが操作されたかが判定される。アップスイ
ッチ23aが操作された場合には、ステップ192にお
ける「YES」との判定の基に、ステップ194にてテ
ンポTMP に「1」が加算され、ダウンスイッチ23bが
操作された場合には、ステップ192における「NO」
との判定の基に、ステップ196にてテンポTMP から
「1」が減算される。これらのステップ194,196
の処理後、ステップ198,200にて上述のステップ
176,178の処理と同様な処理により、微小時間Δ
TがテンポTMP に応じて変更されるとともに、この変更
された微小時間ΔTを表す制御データがテンポクロック
発生器52へ出力される。これにより、選択した伴奏ス
タイルの標準的な伴奏の速さが、アップスイッチ23a
及びダウンスイッチ23bの操作により、演奏者の好み
に応じて変更されようになる。
When the up switch 23a or the down switch 23b is operated, the CPU 53 executes a "tempo routine" in step 148 based on the determination processing in step 142 (FIG. 9). In this "tempo routine", as shown in detail in FIG.
Its execution starts at step 190 and step 19
At 2, it is determined whether the up switch 23a has been operated or the down switch 23b has been operated. If the up switch 23a is operated, “1” is added to the tempo TMP in step 194 based on the determination of “YES” in step 192, and if the down switch 23b is operated, the step "NO" in 192
In step 196, "1" is subtracted from the tempo TMP. These steps 194, 196
After the processing in step 198 and step 200, the processing similar to the processing in steps 176 and 178 described above is performed.
T is changed according to the tempo TMP, and control data representing the changed minute time ΔT is output to the tempo clock generator 52. Thereby, the standard accompaniment speed of the selected accompaniment style is increased by the up switch 23a.
By the operation of the down switch 23b and the operation of the down switch 23b, it is changed according to the preference of the player.

【0042】また、切り換え条件スイッチ27が操作さ
れると、CPU53は、ステップ142(図9)の判定
処理の基に、ステップ148にて前記操作毎に切り換え
条件フラグCNGFを反転する(”1”から”0”へ、又
は”0”から”1”へ切り換える)。この場合、切り換
え条件フラグCNGFは、”0”により条件なし移行モー
ド、すなわち特殊パターンスイッチ26a〜26cの投
入後即座にノーマルパターンからフィルインパターン又
はエンディングパターンに移行するモードを表し、か
つ”1”により条件付き移行モード、すなわち特殊パタ
ーンスイッチ26a〜26cの投入後の次の奇数拍目又
は1拍目(セクション切り換え条件SCC に応じて決定さ
れる)を待って前記パターンの移行を行うことを表す。
When the switching condition switch 27 is operated, the CPU 53 inverts the switching condition flag CNGF for each of the operations at step 148 based on the determination processing of step 142 (FIG. 9) ("1"). To "0" or from "0" to "1"). In this case, the switching condition flag CNGF indicates “0” indicating an unconditional transition mode, that is, a mode in which transition from the normal pattern to the fill-in pattern or the ending pattern immediately after the special pattern switches 26a to 26c are turned on, and “1”. This represents a conditional transition mode, that is, the transition of the pattern after the next odd-numbered beat or the first beat (determined in accordance with the section switching condition SCC) after the special pattern switches 26a to 26c are turned on.

【0043】c.ノーマルパターン演奏 ノーマルパターン演奏を行なおうとする場合、演奏者
は、操作パネル20上の伴奏スタイルスイッチ群22に
より所望の伴奏スタイルを選択するとともに、ノーマル
パターンスイッチ25a〜25dにより所望のノーマル
パターンを選択し、スタートスイッチ24aを操作す
る。
C. Normal Pattern Performance To perform a normal pattern performance, the player selects a desired accompaniment style with the accompaniment style switch group 22 on the operation panel 20 and selects a desired normal pattern with the normal pattern switches 25a to 25d. Then, the start switch 24a is operated.

【0044】伴奏スタイルスイッチ群22が操作された
場合については、上述のとおりであり、この操作によ
り、スタイル番号STLN、テンポクロック発生器52のテ
ンポクロック信号の周期、1小節時間BTM及び1パター
ン時間PTMが選択された伴奏スタイルに対応して設定さ
れる。
The case where the accompaniment style switch group 22 is operated is as described above. By this operation, the style number STLN, the period of the tempo clock signal of the tempo clock generator 52, one bar time BTM and one pattern time PTM is set according to the selected accompaniment style.

【0045】ノーマルパターンスイッチ25a〜25d
のいずかが操作されると、CPU53は、ステップ14
2(図9)の判定処理の基に、ステップ152にて「ノ
ーマルパターンルーチン」を実行する。この「ノーマル
パターンルーチン」においては、図12に詳細に示され
ているように、その実行がステップ210にて開始さ
れ、ステップ212にて操作されたノーマルパターンス
イッチ25a〜25dを表すセクション番号3〜6(図
1の各ボックスの左上に表示)が変数iとして一時記憶
される。次に、ステップ214にて、ランフラグRUN に
基づき、自動伴奏が停止中か作動中かを判定する。この
ランフラグRUN は”0”により前記停止中を表しかつ”
1”により前記作動中を表すもので、現在、自動伴奏は
停止中であって同フラグRUN は”0”であるので、前記
ステップ214における「NO」との判定の基に、ステ
ップ224にてセクション番号SCTNが前記変数iに設定
される。このセクション番号SCNTの設定後、ステップ2
26にて「パターン切り換えルーチン」が実行されて、
ステップ228にて「ノーマルパターンルーチン」の実
行が終了する。
Normal pattern switches 25a to 25d
When any one of them is operated, the CPU 53 proceeds to step 14
Based on the determination process of FIG. 2 (FIG. 9), a “normal pattern routine” is executed in step 152. In this "normal pattern routine", as shown in detail in FIG. 6 (displayed at the upper left of each box in FIG. 1) is temporarily stored as a variable i. Next, in step 214, it is determined whether the automatic accompaniment is stopped or in operation based on the run flag RUN. The run flag RUN indicates “stop” by “0” and “
1 indicates that the operation is in progress. At this time, the automatic accompaniment is stopped and the flag RUN is set to "0". The section number SCTN is set in the variable i. After setting this section number SCNT, step 2
At 26, the “pattern switching routine” is executed,
In step 228, the execution of the “normal pattern routine” ends.

【0046】「パターン切り換えルーチン」は、図17
に詳細に示されているように、ステップ370〜394
からなるが、ステップ372〜390の処理は自動伴奏
の作動中に必要な処理であり、自動伴奏の作動前には不
要であるので、今回はその説明を省略する。これらのス
テップ372〜390の処理後、ステップ392にて
「ランプルーチン」が実行される。この「ランプルーチ
ン」は、図18に詳細に示されているように、ステップ
400にてその実行が開始され、CPU53は、ステッ
プ402にて一旦全てのランプ28a〜28fを消灯
し、前記設定されたセクション番号SCTN(=3〜6)に
基づき、ステップ406〜412のうちのいずれかのス
テップにて「YES」と判定し、ステップ418〜42
4のいずかのステップにてランプ28b〜28eのいず
れかを点灯する。これにより、前記ノーマルパターンNO
R1〜NOR4の選択に対応して、ランプ28b〜28eが点
灯する。
The "pattern switching routine" is described in FIG.
Steps 370-394, as shown in detail in FIG.
However, the processing in steps 372 to 390 is necessary during the operation of the automatic accompaniment, and is not necessary before the operation of the automatic accompaniment. After the processing in steps 372 to 390, a “ramp routine” is executed in step 392. As shown in detail in FIG. 18, the "ramp routine" is started to be executed in step 400, and the CPU 53 turns off all the lamps 28a to 28f once in step 402, and Based on the section number SCTN (= 3 to 6), "YES" is determined in any one of the steps 406 to 412, and the steps 418 to 42 are performed.
In any one of the steps 4, any one of the lamps 28b to 28e is turned on. Thereby, the normal pattern NO
The lamps 28b to 28e are turned on in response to the selection of R1 to NOR4.

【0047】次に、スタートスイッチ24aが操作され
ると、CPU53は、ステップ142(図7)の判定処
理の基に、ステップ156にてランフラグRUN を”1”
に設定し、ステップ158にて「パターン起動ルーチ
ン」を実行する。この「パターン起動ルーチン」におい
ては、図19に詳細に示されているように、その実行が
ステップ430にて開始され、ステップ432にてカレ
ントタイミングCTIM、カレントビートCBET、カレントバ
ーCBAR及びカレントトラックバーCRTB(0)〜CRTB(8)が初
期値「0」に設定される。なお、これらの各変数CTIM,C
BET,CBAR,CRTB(0)〜CRTB(8) は自動伴奏の進行位置を表
すもので、カレントタイミングCTIMは各小節内において
4分音符を24分割した各進行タイミング0〜95(4
拍子),0〜71(3拍子)を表す。カレントビートCB
ETは各小節内における進行拍0〜3(4拍子),0〜2
(3拍子)を表し、カレントバーCBARは各パターン内に
おける進行小節0〜n−1(nは各パターンの繰り返し
周期に対応した小節数)を表す。カレントトラックバー
CRTB(0)〜CRTB(8)は、各トラック0〜8毎の進行小節数
0〜n−1(nは各トラックの繰り返し周期に対応した
小節数)を表す。この各変数CTIM,CBET,CBAR,CRTB(0)〜
CRTB(8) の初期値設定後、ステップ434にて「パター
ン切り換えルーチン」の処理が実行されて、ステップ4
36にて「パターン起動ルーチン」の実行が終了する。
Next, when the start switch 24a is operated, the CPU 53 sets the run flag RUN to "1" in step 156 based on the determination processing in step 142 (FIG. 7).
, And a “pattern activation routine” is executed in step 158. As shown in detail in FIG. 19, the execution of this “pattern activation routine” is started in step 430, and in step 432, the current timing CTIM, current beat CBET, current bar CBAR and current track bar are executed. CRTB (0) to CRTB (8) are set to the initial value “0”. Note that each of these variables CTIM, C
BET, CBAR, CRTB (0) to CRTB (8) represent the progression position of the automatic accompaniment, and the current timing CTIM is a progression timing 0 to 95 (4
Time signature) and 0 to 71 (three time signatures). Current beat CB
ET is progressing beat 0-3 (4 beats), 0-2 in each bar
(3 beats), and the current bar CBAR indicates the progressing bars 0 to n-1 (n is the number of bars corresponding to the repetition period of each pattern) in each pattern. Current track bar
CRTB (0) to CRTB (8) represent the progress bar numbers 0 to n-1 (n is the number of bars corresponding to the repetition period of each track) for each track 0 to 8. Each of these variables CTIM, CBET, CBAR, CRTB (0) ~
After setting the initial value of CRTB (8), the process of “pattern switching routine” is executed in step 434, and
At 36, the execution of the "pattern activation routine" ends.

【0048】「パターン切り換えルーチン」の実行は、
前述のように、図17のステップ370にて開始され、
ステップ372〜376にて下記数3の演算の実行によ
り、1パターン時間PTM、カレントバーCBAR及びカレン
トトラックバーCRTB(0)〜CRTB(8)が更新される。
The execution of the "pattern switching routine"
As described above, starting at step 370 of FIG.
In Steps 372 to 376, the one pattern time PTM, the current bar CBAR, and the current track bars CRTB (0) to CRTB (8) are updated by executing the calculation of the following Expression 3.

【0049】[0049]

【数3】PTM=BTM×STLTBL(STLN).BAR(SCTN) CBAR=CBAR mod STLTBL(STLN).BAR(SCTN) CTRB(i)=CBAR mod SCTTBL(STLN,SCTN,i).BAR なお、前記数3において、演算子modは、演算子modの前
の値を後の値で除算した余りを算出することを意味し、
変数iは0〜8に渡って変化するものである。これによ
り、1パターン時間PTM は前記ノーマルパターンスイッ
チ25a〜25dの操作に応じて設定されたセクション
番号SCTNに応じた値に設定される。また、この場合、カ
レントバーCBAR及びカレントトラックバーCRTB(0)〜CRT
B(8)は上述の初期値設定により「0」に設定されていた
ので、前記演算によっても「0」に維持される。
PTM = BTM × STLTBL (STLN) .BAR (SCTN) CBAR = CBAR mod STLTBL (STLN) .BAR (SCTN) CTRB (i) = CBAR mod SCTTBL (STLN, SCTN, i) .BAR In Equation 3, the operator mod means to calculate a remainder obtained by dividing a value before the operator mod by a value after the operator mod.
The variable i changes from 0 to 8. As a result, the one pattern time PTM is set to a value corresponding to the section number SCTN set according to the operation of the normal pattern switches 25a to 25d. In this case, the current bar CBAR and the current track bar CRTB (0) to CRT
Since B (8) has been set to “0” by the above-described initial value setting, it is maintained at “0” also by the above calculation.

【0050】次に、ステップ378にて、カレントトラ
ックバーCTRB(0)〜CTRB(8)及びカレントタイミングCTIM
に基づいて、スタイル番号STLN及びセクション番号SCTN
により指定される各トラック毎の記憶領域PLDT(STLN,SC
TN,0)〜PLDT(STLN,SCTN,8)内の演奏データを読み出すた
めの9個のポインタ値がそれぞれ変更される。この場
合、カレントトラックバーCTRB(0)〜CTRB(8)及びカレン
トタイミングCTIMは「0」であるので、各ポインタは前
記各記憶領域PLDT(STLN,SCTN,0)〜PLDT(STLN,SCTN,8)の
先頭番地を示す値に設定される。このステップ378の
処理後、ステップ380にてセクションスイッチフラグ
SCSWが”0”に初期設定され、ステップ382にて「Y
ES」すなわちセクション番号SCTNが3≦SCTN≦6であ
ると判定されて、前記ステップ392の処理後、ステッ
プ394にて「パターン切り換えルーチン」の処理が終
了する。なお、この場合も、ステップ392にて「ラン
プルーチン」の実行によってランプ28a〜28eの点
灯及び消灯が制御されるが、セクション番号SCTNが以前
の3〜6に保たれているので、各ランプ28a〜28e
の点灯状態は変更されない。
Next, in step 378, the current track bars CTRB (0) to CTRB (8) and the current timing CTIM
Based on the style number STLN and section number SCTN
Storage area PLDT (STLN, SC
Nine pointer values for reading performance data in TN, 0) to PLDT (STLN, SCTN, 8) are respectively changed. In this case, since the current track bars CTRB (0) to CTRB (8) and the current timing CTIM are “0”, each pointer points to each of the storage areas PLDT (STLN, SCTN, 0) to PLDT (STLN, SCTN, 8). ) Is set to a value indicating the start address. After the processing in step 378, the section switch flag is set in step 380.
SCSW is initialized to “0”, and “Y”
ES ”, that is, it is determined that the section number SCTN satisfies 3 ≦ SCTN ≦ 6, and after the processing in step 392, the processing of the“ pattern switching routine ”ends in step 394. In this case as well, the lighting and extinguishing of the lamps 28a to 28e are controlled by executing the "ramp routine" in step 392. ~ 28e
Is not changed.

【0051】このような状態で、テンポクロック信号発
生器52が微小時間ΔT毎にテンポクロック信号をCP
U53へ出力すると、同CPU53は、同微小時間ΔT
毎に「メインプログラム」の実行を中断して、図20の
ステップ440にて「インタラプトプログラム」を実行
し始め、ステップ442にて前記”1”に設定されてい
るランフラグRUN に基づいて「YES」と判定して、ス
テップ444〜458の処理を実行する。ステップ44
4においては、図21に示す「条件付き切り換えルーチ
ン」が実行されるが、ステップ462にて「YES」す
なわちセクション番号SCTNが3≦SCTN≦6であると判定
されるとともに、ステップ464にて「NO」すなわち
セクションスイッチフラグSCSWが”1”でないと判定さ
れて、ステップ484にてこの「条件付き切り換えルー
チン」が終了するので、この場合には、同ルーチンの実
質的な処理がなされない。
In such a state, the tempo clock signal generator 52 outputs the tempo clock signal to the CP every minute time ΔT.
When output to U53, the CPU 53 outputs the same minute time ΔT
Every time the execution of the “main program” is interrupted, the “interrupt program” is started to be executed in step 440 of FIG. 20, and “YES” is determined in step 442 based on the run flag RUN set to “1”. Is determined, and the processing of steps 444 to 458 is executed. Step 44
In step 4, the "conditional switching routine" shown in FIG. 21 is executed. In step 462, "YES", that is, it is determined that the section number SCTN satisfies 3 ≦ SCTN ≦ 6, and in step 464 “ "NO", that is, it is determined that the section switch flag SCSW is not "1", and this "conditional switching routine" is terminated in step 484. In this case, the substantial processing of this routine is not performed.

【0052】次に、CPU53は、ステップ446,4
50,452の処理により、変数iを「1」ずつ「0」
から「8」まで増加させながら、ステップ448にて
「再生ルーチン」を繰り返し実行する。この「再生ルー
チン」は、図23に詳細に示すように、ステップ530
にて実行が開始され、ステップ532にて、スタイル番
号STLN、セクション番号SCTN及び各トラックを示す変数
iにより指定される各記憶領域PLDT(STLN,SCTN,i) から
各トラック毎のポインタにより指示された1組の演奏デ
ータが順次読み出されて、ステップ534以降の処理が
実行される。
Next, the CPU 53 executes steps 446, 4
By the processing of 50 and 452, the variable i is set to “0” by “1” at a time.
In step 448, the “reproduction routine” is repeatedly executed while increasing from “1” to “8”. This “reproduction routine” is performed at step 530 as shown in detail in FIG.
In step 532, the pointer is indicated by a pointer for each track from each storage area PLDT (STLN, SCTN, i) specified by the style number STLN, section number SCTN, and variable i indicating each track. The set of performance data is sequentially read out, and the processing after step 534 is executed.

【0053】この場合、前記1組の演奏データが小節線
データBARLであれば、ステップ534にて「YES」と
判定され、ステップ544にてそのトラックのポインタ
が進められるとともに、プログラムは再度ステップ53
2に戻されて、同一トラックの次の演奏データが読み出
される。また、前記1組の演奏データがノートデータNO
TEであり、かつそのイベントタイムEVT がカレントタイ
ミングCTIMに等しければ、ステップ534,536,5
38にてそれぞれ「NO」、「YES」、「YES」と
判定され、ステップ540にて「ノートルーチン」の処
理が実行されて楽音の発生が制御される。また、前記1
組の演奏データが音色データTCであり、かつそのイベン
トタイムEVTがカレントタイミングCTIMに等しければ、
ステップ534,536,538にてそれぞれ「N
O」、「YES」、「NO」と判定され、ステップ54
2にて発生楽音の音色が制御される。これらのステップ
540,542の処理後も、ステップ544にてそのト
ラックのポインタが進められるとともに、プログラムは
再度ステップ532に戻されて、同一トラックの次の演
奏データが読み出される。一方、前記1組の演奏データ
がノートデータNOTE又は音色データTCであり、かつそれ
らのイベントタイムEVT がカレントタイミングCTIMに等
しくければ、ステップ534,536にて共に「NO」
と判定され、ステップ546にて「再生ルーチン」が終
了する。これにより、記憶領域PLDT(STLN,SCTN,0)〜PLD
T(STLN,SCTN,8)に記憶されているノートデータNOTE及び
音色データTCがポインタの指示により順次読み出され、
それらのイベントタイムEVT がカレントタイミングCTIM
に等しくなる毎に、楽音の発生及び発生楽音の音色が制
御される。
In this case, if the set of performance data is the bar line data BARL, "YES" is determined in the step 534, the pointer of the track is advanced in the step 544, and the program is again executed in the step 53.
2 and the next performance data on the same track is read. Also, the set of performance data is the note data NO.
If it is TE and the event time EVT is equal to the current timing CTIM, steps 534, 536, 5
At 38, “NO”, “YES”, and “YES” are determined, respectively, and at step 540, the processing of the “note routine” is executed to control the generation of musical tones. The above 1
If the set of performance data is timbre data TC and its event time EVT is equal to the current timing CTIM,
In steps 534, 536, and 538, "N
O ”,“ YES ”,“ NO ”,
At 2, the tone color of the generated musical tone is controlled. After the processing of steps 540 and 542, the pointer of the track is advanced at step 544, and the program returns to step 532 again to read the next performance data of the same track. On the other hand, if the set of performance data is the note data NOTE or the tone color data TC, and their event time EVT is equal to the current timing CTIM, both of them are "NO" in steps 534 and 536.
Is determined, and the "reproduction routine" ends in step 546. Thereby, the storage areas PLDT (STLN, SCTN, 0) to PLD
Note data NOTE and timbre data TC stored in T (STLN, SCTN, 8) are sequentially read out according to the instruction of the pointer,
The event time EVT is the current timing CTIM
Each time is equal to, the generation of a musical tone and the tone color of the generated musical tone are controlled.

【0054】次に、これらの楽音の発生及び発生楽音の
音色の制御について詳しく説明する。まず、音色の制御
について説明すると、前記ステップ542の処理におい
ては、音色データTC中の音色番号VOIN及び変数iが楽音
信号形成回路40へ出力される。楽音信号形成回路40
は、これらの音色番号VOIN及び変数iに基づいて、変数
iにより指定されたトラックの伴奏音の音色を音色番号
VOINにより指定される音色に制御する。
Next, generation of these tones and control of the tone color of the generated tones will be described in detail. First, the control of the timbre will be described. In the process of step 542, the timbre number VOIN and the variable i in the timbre data TC are output to the tone signal forming circuit 40. Tone signal forming circuit 40
Uses the tone number VOIN and the variable i to assign the tone of the accompaniment tone of the track specified by the variable i to the tone number.
Controls the tone specified by VOIN.

【0055】また、前記ステップ540の「ノートルー
チン」は図24のステップ550にて開始され、変数i
が「6」以下であれば、ステップ552にて「YES」
と判定され、ステップ554にて前記読み出されたノー
トデータNOTEを構成するキーコードKCが、上記検出した
和音根音CRT及び和音タイプCTPに基づき、左鍵盤11に
て演奏された和音に対応した和音構成音又はベース音を
表すキーコードKCに変換される。また、変数iが「7」
以上であれば、ステップ552にて「NO」と判定さ
れ、ステップ554の変換処理はなされない。これは、
変数iは0〜6により和音の構成音列及びベース音列の
トラックを示しており、7,8により打楽器音列を示し
ているためである(図5参照)。次に、ステップ55
6,558にて、スタイル番号STLN、セクション番号SC
TN及び変数i(トラック番号)により指定されるセクシ
ョンテーブルSCTTBL(STLN,SCTN,i)内の音量データVOL
(図5参照)と、前記読み出したノートデータNOTE中の
キーオン時間KOT及びキータッチKT(図6参照)とに基
づく下記数4の演算の実行により、音量VOL及びキーオ
フタイムKOFT(i)が計算される。
The "note routine" of step 540 is started in step 550 of FIG.
Is less than or equal to “6”, “YES” in step 552
And the key code KC constituting the note data NOTE read out in step 554 corresponds to the chord played on the left keyboard 11 based on the detected chord root CRT and chord type CTP. It is converted into a key code KC representing a chord component sound or a bass sound. Also, the variable i is “7”
If so, the determination at step 552 is “NO” and the conversion process at step 554 is not performed. this is,
This is because the variable i indicates a track of a constituent sound sequence of a chord and a base sound sequence by 0 to 6 and a percussion sound sequence by 7 and 8 (see FIG. 5). Next, step 55
At 6,558, style number STLN, section number SC
Volume data VOL in section table SCTTBL (STLN, SCTN, i) specified by TN and variable i (track number)
The volume VOL and the key-off time KOFT (i) are calculated by executing the calculation of the following Expression 4 based on the key-on time KOT and the key touch KT (see FIG. 6) in the read note data NOTE (see FIG. 5). Is done.

【0056】[0056]

【数4】VOL=SCTTBL(STLN,SCTN,i).VOL+KT KOFT(i)=TIME+KOT この場合、タイムTIMEは後述する「カウントルーチン」
にて0〜5000まで順次カウントアップする絶対的な
経過時間を表すものであり、キーオフタイムKOFT(i) は
発生楽音の終了タイミングを前記絶対的な時間に基づい
て規定するものである。前記ステップ558の処理後、
ステップ560,562の処理により、前記数4の結
果、キーオフタイムKOFT(i) が「5000」より大きく
なった場合には、同タイムKOFT(i) の値から「500
0」を減算することにより、同値「5000」未満の値
に変更される。
VOL = SCTTBL (STLN, SCTN, i) .VOL + KT KOFT (i) = TIME + KOT In this case, the time TIME is a “count routine” to be described later.
Represents the absolute elapsed time for sequentially counting up from 0 to 5000, and the key-off time KOFT (i) defines the end timing of the generated musical tone based on the absolute time. After the processing of the step 558,
When the key-off time KOFT (i) becomes larger than “5000” as a result of the above Expression 4 by the processing of steps 560 and 562, the value of the same time KOFT (i) is changed to “500”.
By subtracting “0”, the value is changed to a value less than the same value “5000”.

【0057】次に、ステップ564にて前記変換された
キーコードKC(ただし、変数iが7,8であれば変換さ
れないキーコードKC)、音量VOL、キーオン信号KON及び
変数iが楽音信号形成回路40へ出力されて、ステップ
566にて「ノートルーチン」が終了する。楽音信号形
成回路40は、これらのキーコードKC、音量VOL 、キー
オン信号KON 及び変数iに基づいて、変数iにより指定
されたトラックの伴奏音信号を形成してアンプ41を介
してスピーカ42へ出力し始める。この場合、伴奏音信
号の音高は前記キーコードKCにより指定されたものであ
り(変数iが7,8の場合には、打楽器音の種類が前記
キーコードKCにより指定されたものであり)、伴奏音信
号の音色は前記音色番号VOINにより設定されものであ
り、また伴奏音信号の音量は前記音量VOL に指定された
ものである。その結果、スピーカ42からは、和音構成
音、ベース音及び打楽器音からなる一連の伴奏音が発音
される。
Next, at step 564, the converted key code KC (the key code KC which is not converted if the variable i is 7, 8), the volume VOL, the key-on signal KON, and the variable i are stored in the tone signal forming circuit. 40, and the "note routine" ends in step 566. The tone signal forming circuit 40 forms an accompaniment sound signal of the track specified by the variable i based on the key code KC, the volume VOL, the key-on signal KON and the variable i, and outputs it to the speaker 42 via the amplifier 41. Begin to. In this case, the pitch of the accompaniment sound signal is specified by the key code KC (when the variable i is 7 or 8, the type of the percussion sound is specified by the key code KC). The tone color of the accompaniment sound signal is set by the tone color number VOIN, and the volume of the accompaniment sound signal is specified by the volume VOL. As a result, a series of accompaniment sounds composed of chord constituent sounds, bass sounds, and percussion sounds are emitted from the speakers 42.

【0058】ふたたび、図20の「インタラプトプログ
ラム」に戻り、上記ステップ446〜452の処理後、
ステップ454にて「キーオフルーチン」が実行され、
ステップ456にて「カウントルーチン」が実行され
る。「キーオフルーチン」は、図25に詳細に示すよう
に、ステップ570〜578からなり、ステップ572
〜576にて、変数iを0〜8まで変化させながらタイ
ムTIMEと一致するキーオフタイムKOFT(i)を検索し、そ
の結果、一致したキーオフタイムKOFT(i)に関する変数
iとキーオフ信号を楽音信号形成回路40へ出力する。
楽音信号形成回路40は変数iにより表されたトラック
の伴奏音信号の形成を終了するので、スピーカ42から
同信号に対応した伴奏音の発音が終了する。
Returning again to the "interrupt program" in FIG. 20, after the processing of the above steps 446 to 452,
At step 454, a “key-off routine” is executed.
At step 456, a “count routine” is executed. The "key-off routine" includes steps 570 to 578, as shown in detail in FIG.
At ~ 576, the key-off time KOFT (i) that matches the time TIME is searched while changing the variable i from 0 to 8, and as a result, the variable i and the key-off signal relating to the matching key-off time KOFT (i) are converted to a tone signal. Output to the forming circuit 40.
Since the musical sound signal forming circuit 40 ends the formation of the accompaniment sound signal of the track represented by the variable i, the sounding of the accompaniment sound corresponding to the signal from the speaker 42 ends.

【0059】「カウントルーチン」は図26に詳細に示
されており、その実行がステップ580にて開始され、
ステップ582,588の処理により、タイムTIME及び
カレントタイミングCTIMが「1」ずつカウントアップす
るとともに、タイムTIMEはステップ584,586の処
理により「5000」に達すると「0」にクリアされ、
またカレントタイミングCTIMはステップ594,596
の処理により1小節時間BTM に達すると「0」にクリア
される。これにより、テンポクロック信号発生器52が
テンポクロック信号を発生する毎に、すなわち4分音符
を24分割したタイミング毎に、タイムTIMEは「0」か
ら「4999」まで順次「1」ずつ増加する。なお、こ
の「4999」は値自体には意味がなく、他の時間を表
す変数に比べてきわめて大きな値であれば、いかなる値
でもよい。カレントタイミングCTIMは、各小節区間にお
いて前記タイミング毎に、「0」から「95」まで(3
拍子の場合には「0」から「71」まで)「1」ずつ増
加する。また、カレントビートCBETは、ステップ590
〜596の処理により、各小節区間において拍(4分音
符長)毎に、「0」から「3」まで(3拍子の場合には
「0」から「2」まで)「1」ずつ増加する。カレント
バーCBARは、ステップ594,598〜602の処理に
より、スタイル番号STLN及びセクション番号SCTNにより
指定されるパターンの一周期に渡って、1小節時間BTM
毎に、「0」から小節数「STLTBL(STLN).BAR(SCTN)−
1」まで「1」ずつ増加する。
The "count routine" is shown in detail in FIG. 26, and its execution is started at step 580.
By the processing of steps 582 and 588, the time TIME and the current timing CTIM are counted up by “1”, and when the time TIME reaches “5000” by the processing of steps 584 and 586, the time TIME is cleared to “0”,
Also, the current timing CTIM is determined in steps 594 and 596.
Is cleared to "0" when the one-measure time BTM has been reached. As a result, every time the tempo clock signal generator 52 generates a tempo clock signal, that is, each time a quarter note is divided into 24, the time TIME is sequentially increased by “1” from “0” to “4999”. The value of "4999" has no meaning, and any value may be used as long as it is extremely large as compared with other variables indicating time. The current timing CTIM ranges from “0” to “95” (3
In the case of a beat, it increases by "1" from "0" to "71". Also, the current beat CBET is calculated in step 590.
By the processing of steps 5 to 596, the value is increased by “1” from “0” to “3” (from “0” to “2” in the case of triple time) for each beat (quarter note length) in each bar section. . The current bar CBAR performs one bar time BTM over one cycle of the pattern specified by the style number STLN and the section number SCTN by the processing of steps 594, 598 to 602.
Each time, from “0”, the number of measures “STLTBL (STLN) .BAR (SCTN) −
"1" to "1".

【0060】以上説明したように、伴奏スタイルスイッ
チ群22、ノーマルパターンスイッチ25a〜25d及
びスタートスイッチ24aの操作により、伴奏スタイル
及びノーマルパターンNOR1〜NOR4が指定されるととも
に、自動伴奏が動作し始めて、テンポクロック信号発生
器52がテンポクロック信号を発生する毎(4分音符を
24分割したタイミング毎)に「インタラプトプログラ
ム」が実行され、同プログラムにおいて、タイムTIME、
カレントタイミングCTIM、カレントビートCBET及びカレ
ントバーCBARが順次更新されるとともに、伴奏データメ
モリ60内の演奏データが読み出されてノーマルパター
ンの伴奏音の発音が制御される。
As described above, by operating the accompaniment style switch group 22, the normal pattern switches 25a to 25d and the start switch 24a, the accompaniment style and the normal patterns NOR1 to NOR4 are designated, and the automatic accompaniment starts to operate. Each time the tempo clock signal generator 52 generates a tempo clock signal (each time a quarter note is divided into 24), an "interrupt program" is executed.
The current timing CTIM, current beat CBET, and current bar CBAR are sequentially updated, and the performance data in the accompaniment data memory 60 is read to control the sounding of the accompaniment sound in the normal pattern.

【0061】この伴奏音の発音中、ストップスイッチ2
4bが操作されると、CPU53は、ステップ142
(図7)の判定処理の基に、ステップ160にてランフ
ラグRUN を”0”に変更するとともに、セクション番号
SCTNを「3」に初期設定し、ステップ162にて前述し
た「ランプルーチン」(図18)を実行し、かつステッ
プ164にて楽音信号形成回路40にて形成中の伴奏音
信号の形成を停止制御する。その結果、「インタラプト
プログラム」(図20)においては、ステップ442に
て「NO」すなわちランフラグRUN が”1”でないと判
定されて、ステップ444〜456の前記処理が実行さ
れなくなるので、タイムTIME、カレントタイミングCTI
M、カレントビートCBET及びカレントバーCBARも更新さ
れなくなると同時に、伴奏音の発音も制御されなくな
る。また、前記セクション番号SCTNの「3」への初期設
定、及び「ランプルーチン」の実行により、ランプ28
bが点灯する。
During the production of the accompaniment sound, the stop switch 2
4b is operated, the CPU 53 proceeds to step 142
Based on the determination processing (FIG. 7), the run flag RUN is changed to “0” in step 160 and the section number is changed.
The SCTN is initialized to "3", the "ramp routine" (FIG. 18) described above is executed in step 162, and the formation of the accompaniment sound signal being formed in the tone signal forming circuit 40 is stopped in step 164. Control. As a result, in the "interrupt program" (FIG. 20), it is determined in step 442 that "NO", that is, the run flag RUN is not "1", and the processing of steps 444 to 456 is not executed. Current timing CTI
M, the current beat CBET and the current bar CBAR are no longer updated, and the sounding of the accompaniment sound is no longer controlled. Also, the initialization of the section number SCTN to “3” and the execution of the “ramp routine” cause the lamp 28
b lights up.

【0062】d.イントロパターンからノーマルパター
ンへの移行 自動伴奏が停止中(ランフラグRUN が”0”であると
き)に、特殊パターンスイッチ26a〜26cのいずか
が操作されると、CPU53は、ステップ142(図
9)の判定処理の基に、ステップ154にて「特殊パタ
ーンルーチン」を実行する。この「特殊パターンルーチ
ン」においては、図13に詳細に示されているように、
その実行がステップ230にて開始され、ステップ23
2にて特殊パターンスイッチ26a〜26cのうちでい
ずれのスイッチが操作されたか判定される。
D. Shift from Intro Pattern to Normal Pattern While the automatic accompaniment is stopped (when the run flag RUN is "0"), if any of the special pattern switches 26a to 26c is operated, the CPU 53 proceeds to step 142 (FIG. 9). In step 154, a "special pattern routine" is executed based on the determination processing of ()). In this "special pattern routine", as shown in detail in FIG.
Its execution is started in step 230 and step 23
At 2, it is determined which of the special pattern switches 26a to 26c has been operated.

【0063】特殊パターンスイッチ26aが操作された
場合には、前記ステップ232の判定処理により、ステ
ップ234にて「第1特殊パターンルーチン」が実行さ
れる。この「第1特殊パターンルーチン」は、図14に
詳細に示されているように、ステップ250にて開始さ
れ、ステップ252にて「NO」すなわちランフラグRU
Nが”1”でないと判定され、ステップ254にてラン
フラグRUNが”1”に変更されるとともにセクション番
号SCTNが「0」に設定されて、ステップ256にて「パ
ターン起動ルーチン」(図19)が実行される。また、
特殊パターンスイッチ26bが操作された場合には、前
記ステップ232(図13)の判定処理により、ステッ
プ236にて「第2特殊パターンルーチン」(図15)
が実行されて、ステップ290〜296の処理により、
ランフラグRUN が”1”に変更されるとともにセクショ
ン番号SCTNが「1」に設定され、かつ「パターン起動ル
ーチン」(図19)が実行される。さらに、特殊パター
ンスイッチ26cが操作された場合には、前記ステップ
232の判定処理により、ステップ238にて「第3特
殊パターンルーチン」(図16)が実行されて、ステッ
プ330〜336の処理により、ランフラグRUN が”
1”に変更されるとともにセクション番号SCTNが「2」
に設定され、かつ「パターン起動ルーチン」(図19)
が実行される。
If the special pattern switch 26a has been operated, the "first special pattern routine" is executed in step 234 by the determination processing in step 232. This "first special pattern routine" is started in step 250 and "NO" in step 252, that is, the run flag RU, as shown in detail in FIG.
It is determined that N is not "1", the run flag RUN is changed to "1" in step 254, and the section number SCTN is set to "0". In step 256, the "pattern activation routine" (FIG. 19) Is executed. Also,
When the special pattern switch 26b is operated, the "second special pattern routine" (FIG. 15) is determined in step 236 by the determination processing in step 232 (FIG. 13).
Is executed, and by the processing of steps 290 to 296,
The run flag RUN is changed to "1", the section number SCTN is set to "1", and the "pattern start routine" (FIG. 19) is executed. Further, when the special pattern switch 26c is operated, the "third special pattern routine" (FIG. 16) is executed in step 238 by the judgment processing in step 232, and the processing in steps 330 to 336 is executed. Run flag RUN is
"1" and section number SCTN is "2"
And "Pattern activation routine" (FIG. 19)
Is executed.

【0064】この「パターン起動ルーチン」において
は、上述したように、カレントタイミングCTIM、カレン
トビートCBET、カレントバーCBAR及びカレントトラック
バーCRTB(0)〜CRTB(8) が初期値「0」に設定されると
ともに、「パターン切り換えルーチン」(図17)が実
行される。この「パターン切り換えルーチン」において
は、上述の場合と同様、1パターン時間PTM 及び各トラ
ック毎のポインタがスタイル番号STLN及びセクション番
号SCTNに応じて設定され、カレントバーCBAR及びカレン
トトラックバーCRTB(0)〜CRTB(8)が「0」に設定され、
かつセクションスイッチフラグSCSWが”0”に設定され
る。
In the "pattern activation routine", as described above, the current timing CTIM, current beat CBET, current bar CBAR, and current track bars CRTB (0) to CRTB (8) are set to the initial value "0". At the same time, a “pattern switching routine” (FIG. 17) is executed. In this "pattern switching routine", as in the case described above, one pattern time PTM and a pointer for each track are set according to the style number STLN and section number SCTN, and the current bar CBAR and the current track bar CRTB (0) are set. ~ CRTB (8) is set to “0”,
In addition, the section switch flag SCSW is set to “0”.

【0065】また、この場合には、セクション番号SCTN
は0〜2に設定されているので、図17のステップ38
2にて「NO」と判定され、ステップ384,386に
て下記数5の演算の実行により、特殊パターンに切り換
えられてから同パターンが終了するまでの時間を表す残
り時間RTIMと、同パターンの終了時点を絶対的な時刻で
表すエンドタイムETIMが計算される。
In this case, the section number SCTN
Is set to 0 to 2 so that step 38 in FIG.
2 is determined to be “NO”, and in Steps 384 and 386, the calculation of the following Expression 5 is executed, and the remaining time RTIM representing the time from the switching to the special pattern to the end of the same pattern is determined. An end time ETIM representing the end time point in absolute time is calculated.

【0066】[0066]

【数5】RTIM=PTM−CBAR×BTM−CTIM ETIM=TIME+RTIM この場合、カレントタイミングCTIM及びカレントバーCB
ARは前記「起動ルーチン」の処理により「0」に初期設
定されているので、残り時間RTIMはイントロパターンIN
T1〜INT3(セクション番号SCTN=0〜2)の1パターン
時間PTM になるとともに、エンドタイムETIMは現在の時
刻に前記1パターン時間PTM を加算した時刻になる。な
お、このエンドタイムETIMが前記演算の結果「500
0」以上になった場合には、ステップ388,390の
処理により同タイムETIMから「5000」が減算され
る。
[Expression 5] RTIM = PTM−CBAR × BTM−CTIM ETIM = TIME + RTIM In this case, the current timing CTIM and the current bar CB
Since AR is initially set to “0” by the processing of the “start routine”, the remaining time RTIM is set to the intro pattern IN.
One pattern time PTM of T1 to INT3 (section number SCTN = 0 to 2) is reached, and the end time ETIM is a time obtained by adding the one pattern time PTM to the current time. It should be noted that this end time ETIM is the result of the above calculation "500
If it is equal to or greater than "0", "5000" is subtracted from the same time ETIM by the processing of steps 388 and 390.

【0067】次に、「パターン切り換えルーチン」のス
テップ392にて「ランプルーチン」(図18)が実行
される。この「ランプルーチン」においては、セクショ
ン番号SCTNが0〜2に設定されているので、ステップ4
02〜416の処理により、イントロパターンを示すラ
ンプ28aのみの点灯が制御される。
Next, at step 392 of the "pattern switching routine", a "ramp routine" (FIG. 18) is executed. In this “ramp routine”, since the section number SCTN is set to 0 to 2, step 4
By the processes of 02 to 416, lighting of only the lamp 28a indicating the intro pattern is controlled.

【0068】このような状態で、テンポクロック信号発
生器52が微小時間ΔT毎にテンポクロック信号をCP
U53へ出力すると、上述のように、同CPU53は同
微小時間ΔT毎に「メインプログラム」の実行を中断し
て、図20の「インタラプトプログラム」を実行する。
この「インタラプトプログラム」においては、ランフラ
グRUN が”1”に設定されているので、自動伴奏が動作
し始めて、「カウントルーチン」(図26)の処理によ
り、タイムTIME、カレントタイミングCTIM、カレントビ
ートCBET及びカレントバーCBARが順次更新されるととも
に、「再生ルーチン」(図23,24)及び「キーオフ
ルーチン」(図25)の処理により、伴奏データメモリ
60内の演奏データが読み出されてイントロパターンの
伴奏音が発音される。なお、この場合のイントロパター
ンは、前記操作された特殊パターンスイッチ26a〜2
6cに対応したイントロパターンINT1〜INT3(SCTN=0
〜2)である。
In this state, the tempo clock signal generator 52 outputs the tempo clock signal to the CP every minute time ΔT.
When output to U53, as described above, the CPU 53 interrupts the execution of the "main program" at the same minute time ΔT and executes the "interrupt program" of FIG.
In the "interrupt program", the run flag RUN is set to "1", so that the automatic accompaniment starts to operate, and the time TIME, the current timing CTIM, the current beat CBET are executed by the processing of the "count routine" (FIG. 26). And the current bar CBAR are sequentially updated, and the performance data in the accompaniment data memory 60 is read out by the processing of the “reproduction routine” (FIGS. 23 and 24) and the “key-off routine” (FIG. 25), and the intro pattern Accompaniment sounds are pronounced. The intro pattern in this case is the special pattern switches 26a to 26
Intro patterns INT1 to INT3 corresponding to 6c (SCTN = 0
2).

【0069】一方、このイントロパターンITN1〜INT3の
演奏中、セクション番号SCTNは0〜2に設定されている
ので、前記「インタラプトプログラム」(図20)のス
テップ444にて実行される「条件付き切り換えルーチ
ン」(図21)においては、ステップ462にて「N
O」すなわちセクション番号SCTNが3≦SCTN≦6でない
と判定され、ステップ480にてタイムTIMEが前記設定
したエンドタイムETIMに等しいか否かが判定される。イ
ントロパターンの演奏開始から1パターン時間PTM が経
過していなければ、同ステップ480にて「NO」と判
定されて、同イントロパターンの演奏が続行されるが、
前記1パターン時間PTM が経過すると、前記ステップ4
80における「YES」との判定の基に、ステップ48
2にて「特殊パターン切り換えルーチン」(図22)が
実行される。
On the other hand, during the performance of the intro patterns ITN1 to ITN3, since the section number SCTN is set to 0 to 2, the "conditional switching" executed in step 444 of the "interrupt program" (FIG. 20) In the “routine” (FIG. 21), “N
O ", that is, it is determined that the section number SCTN is not 3 ≦ SCTN ≦ 6, and it is determined in step 480 whether or not the time TIME is equal to the set end time ETIM. If one pattern time PTM has not elapsed from the start of the performance of the intro pattern, the result of the determination in step 480 is “NO”, and the performance of the intro pattern is continued.
When the one pattern time PTM has elapsed, the step 4
Based on the determination of “YES” in 80, step 48
At 2, the "special pattern switching routine" (FIG. 22) is executed.

【0070】この「特殊パターン切り換えルーチン」の
実行は、ステップ490にて開始され、ステップ492
にてセクションスイッチフラグSCSWが”0”であること
に基づき「NO」と判定され、ステップ496にてセク
ション番号SCTNが0〜2であることに基づき「YES」
と判定されて、ステップ498にてセクション番号SCTN
に「3」が加算される。その結果、セクション番号SCTN
が「0」であったならば同番号SCTNは「3」に変更さ
れ、セクション番号SCTNが「1」であったならば同番号
SCTNは「4」に変更され、セクション番号SCTNが「2」
であったならば同番号SCTNは「5」に変更される。この
ステップ498の処理後、ステップ512にて「パター
ン切り換えルーチン」(図17)が実行される。この場
合、タイムTIMEがエンドタイムETIMに一致した時点にお
ける「カウントルーチン」(図26)の処理により、カ
レントタイミングCTIM、カレントビートCBET及びカレン
トバーCBARは「0」に初期設定されているので、各トラ
ックのポインタはスタイル番号STLN及びセクション番号
SCTN(=3〜5)により指定された記憶領域PLDT(STLN,
SCTN,i) の各先頭番地を示し、セクション番号SCTN(=
3〜5)により指定されたノーマルパターンNOR1〜NOR3
が先頭から演奏開始されるようになる。また、「ランプ
ルーチン」(図18)の実行により、セクション番号SC
TN(=3〜5)に対応したランプ28b〜28dのいず
れかが点灯するようなる。
The execution of the “special pattern switching routine” is started in step 490, and is executed in step 492.
Is determined as "NO" based on the section switch flag SCSW being "0", and "YES" based on the section number SCTN being 0 to 2 in step 496.
Is determined, and in step 498, the section number SCTN
Is added to "3". As a result, section number SCTN
Is "0", the same number SCTN is changed to "3", and if the section number SCTN is "1", the same number
SCTN is changed to “4” and section number SCTN is “2”
If so, the same number SCTN is changed to "5". After the processing in step 498, a “pattern switching routine” (FIG. 17) is executed in step 512. In this case, the current timing CTIM, the current beat CBET, and the current bar CBAR are initially set to “0” by the processing of the “count routine” (FIG. 26) when the time TIME matches the end time ETIM. Track pointer is style number STLN and section number
The storage area PLDT (STLN,
SCTN, i), and the section number SCTN (=
Normal pattern NOR1 to NOR3 specified by 3 to 5)
Will start playing from the beginning. Also, by executing the “ramp routine” (FIG. 18), the section number SC
One of the lamps 28b to 28d corresponding to TN (= 3 to 5) is turned on.

【0071】以上の説明のように、自動伴奏の停止中
に、特殊パターンスイッチ26a〜26cのいずれかが
操作された場合には、図1に示すように、同操作スイッ
チ26a〜26cに対応したイントロパターンINT1〜IN
T3(セクション番号SCTN=0〜2)の演奏が自動的に開
始され、同パターンINT1〜INT3の終了時点で、自動的に
ノーマルパターンNOR1〜NOR3(セクション番号SCTN=3
〜5)の演奏に移行する。その結果、演奏者はイントロ
パターンINT1〜INT3の1つを選択するのみで、ノーマル
パターンNOR1〜NOR3に適したイントロパターンINT1〜IN
T3を自動的に付与することができる。
As described above, when any one of the special pattern switches 26a to 26c is operated during the stop of the automatic accompaniment, as shown in FIG. Intro pattern INT1 to IN
The performance of T3 (section number SCTN = 0 to 2) is automatically started, and at the end of the same pattern INT1 to INT3, the normal patterns NOR1 to NOR3 (section number SCTN = 3)
5). As a result, the performer only selects one of the intro patterns INT1 to INT3, and the intro patterns INT1 to IN3 suitable for the normal patterns NOR1 to NOR3.
T3 can be automatically given.

【0072】一方、前記イントロパターンINT1〜INT3
の演奏中、ノーマルパターンスイッチ25a〜25dの
いずれかが操作されると、上述のように、図12の「ノ
ーマルパターンルーチン」が実行される。この場合、ラ
ンフラグRUN は”1”に設定されているとともにセクシ
ョン番号SCTNは0〜2に設定されているので、ステップ
222にて次セクション番号NSCTN が操作されたノーマ
ルパターンスイッチ25a〜25dに対応した変数i
(=3〜6)に設定されるとともに、セクションスイッ
チフラグSCSWが”1”に設定される。
On the other hand, the intro patterns INT1 to INT3
When any of the normal pattern switches 25a to 25d is operated during the performance of the "", the "normal pattern routine" of FIG. 12 is executed as described above. In this case, since the run flag RUN is set to "1" and the section number SCTN is set to 0 to 2, in step 222 the corresponding to the normal pattern switches 25a to 25d for which the next section number NSCTN is operated. Variable i
(= 3 to 6), and the section switch flag SCSW is set to “1”.

【0073】そして、イントロパターンの1パターン分
の演奏が終了して、タイムTIMEがエンドタイムETIMに等
しくなると、図21のステップ480にて「YES」と
判定され、ステップ482にて「特殊パターン切り換え
ルーチン」(図22)が実行される。この場合、「特殊
パターン切り換えルーチン」においては、ステップ49
2にて「YES」すなわちセクションスイッチフラグSC
SWが”1”であると判定され、ステップ494にてセク
ション番号SCTN が次セクション番号NSCTNに変更され
て、ステップ512にて前記「パターン切り換えルーチ
ン」が実行される。その結果、イントロパターンINT1〜
INT3(セクション番号SCTN=0〜2)の演奏が終了した
時点で、自動伴奏は自動的に演奏者が選択したノーマル
パターンNOR1〜NOR4(セクション番号SCTN=3〜6)の
演奏に移行する。このように、イントロパターンINT1〜
INT3の演奏中に、演奏者がノーマルパターンスイッチ2
5a〜25dを操作すると、自動伴奏はイントロパター
ンINT1〜INT3から演奏者が選択したノーマルパターンNO
R1〜NOR4に移行するので、前述のような自動的なパター
ンの移行を演奏者の好みに応じて変更することもでき
る。
When the performance of one pattern of the intro pattern ends and the time TIME becomes equal to the end time ETIM, "YES" is determined in the step 480 of FIG. 21 and "special pattern switching" is performed in the step 482. Routine "(FIG. 22) is executed. In this case, in the “special pattern switching routine”, step 49 is executed.
"YES" at 2 that is, the section switch flag SC
It is determined that SW is "1", the section number SCTN is changed to the next section number NSCTN in step 494, and the "pattern switching routine" is executed in step 512. As a result, the intro pattern INT1 ~
When the performance of INT3 (section number SCTN = 0 to 2) is completed, the automatic accompaniment automatically shifts to the performance of the normal patterns NOR1 to NOR4 (section number SCTN = 3 to 6) selected by the player. Thus, the intro pattern INT1 ~
During the performance of INT3, the performer switches to normal pattern switch 2.
When 5a to 25d are operated, the automatic accompaniment is performed using the normal pattern NO selected by the player from the intro patterns INT1 to INT3.
Since the process shifts to R1 to NOR4, the automatic pattern shift as described above can be changed according to the player's preference.

【0074】また、前記イントロパターンINT1〜INT3の
演奏中、特殊パターンスイッチ26a〜26cのいずれ
かが操作されると、上述のように、図13の「特殊パタ
ーンルーチン」が実行されるとともに、操作されたスイ
ッチ26a〜26cに応じて図14の「第1特殊パター
ンルーチン」、図15の「第2特殊パターンルーチン」
又は図16の「第3特殊パターンルーチン」が実行され
て、これらの「第1〜第3特殊パターンルーチン」のス
テップ260,300,340にてセクション番号SCTN
が0〜2に設定され、同各ルーチンのステップ278,
318,358に「パターン切り換えルーチン」が実行
される。これにより、以前から演奏されていたイントロ
パターンINT1〜INT3は、操作された特殊パターンスイッ
チ26a〜26cに対応したイントロパターンINT1〜IN
T3に即座に切り換えられる。また、このパターンの切り
換え時には、「パターン切り換えルーチン」(図17)
のステップ374〜378の処理により、カレントバー
CBAR、カレントトラックバーCTRB(i)(i=0〜8) 及
び各トラック毎のポインタは、切り換え後のイントロパ
ターンの進行位置を表す値に変更され、かつステップ3
84〜390の処理により、エンドタイムETIMも切り換
え後のイントロパターンの終了時刻を表す値に変更され
る。その結果、切り換え後のイントロパターンINT1〜IN
T3は途中から演奏されて、同パターンINT1〜INT3の残り
時間RTIM分だけ演奏される。
When one of the special pattern switches 26a to 26c is operated during the performance of the intro patterns INT1 to INT3, the "special pattern routine" of FIG. The "first special pattern routine" in FIG. 14 and the "second special pattern routine" in FIG. 15 according to the switches 26a to 26c set.
Alternatively, the “third special pattern routine” of FIG. 16 is executed, and in steps 260, 300, and 340 of these “first to third special pattern routines”, the section number SCTN is set.
Are set to 0 to 2 and steps 278 and
At 318 and 358, a “pattern switching routine” is executed. As a result, the previously played intro patterns INT1 to INT3 are replaced by the intro patterns INT1 to IN corresponding to the operated special pattern switches 26a to 26c.
Switch to T3 immediately. When the pattern is switched, a “pattern switching routine” (FIG. 17)
By the processing of steps 374 to 378, the current bar
The CBAR, the current track bar CTRB (i) (i = 0 to 8) and the pointer for each track are changed to a value indicating the progress position of the intro pattern after switching, and
By the processing of 84 to 390, the end time ETIM is also changed to a value indicating the end time of the intro pattern after the switching. As a result, the intro patterns INT1 to IN
T3 is played from the middle and played for the remaining time RTIM of the same pattern INT1 to INT3.

【0075】e.フィルインパターンの挿入 上記ノーマルパターンNOR1〜NOR4の演奏中、特殊パター
ンスイッチ26aが操作されると、CPU53は、ステ
ップ142(図9)の判定処理の基に、ステップ154
にて「特殊パターンルーチン」(図13)を実行し、こ
の「特殊パターンルーチン」のステップ232の判定処
理の基に、ステップ234の「第1特殊パターンルーチ
ン」(図14)を実行する。この場合、ランフラグRUN
は”1”に設定されているとともに、セクション番号SC
TNは3〜6に設定されているので、ステップ252,2
58,262にてそれぞれ「YES」、「NO」、「Y
ES」と判定され、ステップ264にて切り換え条件フ
ラグCNGFが”0”か否かが判定される。
E. Insertion of fill-in pattern During the performance of the normal patterns NOR1 to NOR4, when the special pattern switch 26a is operated, the CPU 53 executes step 154 based on the determination processing of step 142 (FIG. 9).
Then, the "special pattern routine" (FIG. 13) is executed, and the "first special pattern routine" of step 234 (FIG. 14) is executed based on the determination processing in step 232 of the "special pattern routine". In this case, the run flag RUN
Is set to “1” and the section number SC
Since TN is set to 3 to 6, steps 252 and 2
"YES", "NO", and "Y" at 58 and 262, respectively.
ES ”, and it is determined in step 264 whether or not the switching condition flag CNGF is“ 0 ”.

【0076】今、切り換え条件スイッチ27の操作によ
り、切り換え条件フラグCNGFが”0”に設定されていれ
ば(図9のステップ150)、前記ステップ264にて
「YES」と判定され、ステップ266にてセクション
番号SCTNに「4」が加算されるとともに、ステップ27
8にて「パターン切り換えルーチン」の処理が実行され
る。これにより、以前のセクション番号SCTN(=3〜
6)は7〜10にそれぞれ変更され、図1に示すよう
に、以前のノーマルパターンNOR1〜NOR4は新たなセクシ
ョン番SCTN(=7〜10)により指定された4個の第1
フィルインパターンFIL1のいずれかに即座に切り換えら
れる。なお、この場合も、上述の場合と同様、切り換え
後の第1フィルインパターンFIL1は途中から演奏され
て、同パターンFIL1はその残り時間RTIM分だけ演奏され
る。
If the switching condition flag CNGF is set to "0" by operating the switching condition switch 27 (step 150 in FIG. 9), "YES" is determined in step 264, and the process proceeds to step 266. In step 27, “4” is added to the section number SCTN.
At step 8, the processing of the "pattern switching routine" is executed. As a result, the previous section number SCTN (= 3 to
6) are changed to 7 to 10, respectively. As shown in FIG. 1, the previous normal patterns NOR1 to NOR4 are replaced with four first patterns designated by new section numbers SCTN (= 7 to 10).
It is immediately switched to one of the fill-in patterns FIL1. Also in this case, as in the case described above, the switched first fill-in pattern FIL1 is played from the middle, and the same pattern FIL1 is played for the remaining time RTIM.

【0077】一方、前述の図14のステップ264の判
定時に、切り換え条件フラグCNGFが”1”に設定されて
いれば(図9のステップ150)、前記ステップ264
にて「NO」と判定され、ステップ268にてセクショ
ン番号SCTNに「4」を加算した結果が次セクション番号
NSCTN として設定されるとともに、セクションスイッチ
フラグSCSWが”1”に設定される。その結果、この場合
には、特殊パターンスイッチ26aが操作された時点で
は、ノーマルパターンNOR1〜NOR4の演奏が切り換えられ
ずに続行する。そして、図20の「インタラプトプログ
ラム」のステップ444にて「条件付き切り換えルーチ
ン」(図21)が実行された際に、図21のステップ4
62,464にて共に「YES」と判定されるととも
に、カレントタイミングCTIMが「24」の倍数にならな
ければ、すなわち拍の頭を示すタイミングにならなけれ
ば、ステップ468における「NO」との判定の基に、
依然としてノーマルパターンNOR1〜NOR4の演奏が続行す
る。また、カレントタイミングCTIMが「24」の倍数に
なれば、すなわち拍の頭を示すタイミングになれば、ス
テップ468にて「YES」と判定されて、プログラム
はステップ470以降へ進められる。
On the other hand, if the switching condition flag CNGF is set to "1" at the time of the determination at step 264 in FIG.
Is determined to be "NO", and the result of adding "4" to the section number SCTN in step 268 is the next section number.
As well as being set as NSCTN, the section switch flag SCSW is set to "1". As a result, in this case, when the special pattern switch 26a is operated, the performance of the normal patterns NOR1 to NOR4 continues without being switched. Then, when the “conditional switching routine” (FIG. 21) is executed in step 444 of the “interrupt program” in FIG. 20, step 4 in FIG.
If both are determined to be “YES” in 62 and 464 and the current timing CTIM does not become a multiple of “24”, that is, if it does not become the timing indicating the beginning of the beat, the determination in step 468 is “NO”. Based on
The performance of the normal patterns NOR1 to NOR4 still continues. If the current timing CTIM is a multiple of “24”, that is, a timing indicating the start of a beat, “YES” is determined in step 468, and the program proceeds to step 470 and subsequent steps.

【0078】ステップ470においては、スタイルテー
ブルSTLTBLに記憶されていてスタイル番号STLNにより指
定される切り換え条件STLTBL(STLN).SCCが読み出され
て、同条件STLTBL(STLN).SCCが”0”であるか否かが判
定される。この切り換え条件STLTBL(STLN).SCCは”0”
により奇数拍目(1拍目又は3拍目)にパターンの切り
換えを許容することを表し、かつ”1”により1拍目の
みにパターンの切り換えを許容することを表しているの
で、同条件STLTBL(STLN).SCCが”0”であれば、ステッ
プ472にてカレントビートCBETを「2」で除した余り
が「0」であるか否か、すなわちノーマルパターンNOR1
〜NOR4の演奏が1拍目又は3拍目であるか否かが判定さ
れ、また同条件STLTBL(STLN).SCCが”1”であれば、ス
テップ474にてカレントタイミングCTIMが「0」であ
るか否か、すなわちノーマルパターンNOR1〜NOR4の演奏
が1拍目であるか否かが判定される。そして、前記判定
の結果、切り換え条件STLTBL(STLN).SCCが”0”であ
り、かつカレントビートCBETを「2」で除した余りが
「0」であるか、または切り換え条件STLTBL(STLN).SCC
が”1”であり、かつカレントタイミングCTIMが「0」
であれば、ステップ476にて次セクション番号NSCTN
がセクション番号SCTNとして設定されて、ステップ47
8にて「パターン切り換えルーチン」が実行され、それ
以外のときには、前記ステップ476,478の処理が
実行されないでステップ484にて「条件付き切り換え
ルーチン」が終了する。その結果、切り換え条件フラグ
CNGFが”1”に設定されているときには、伴奏スタイル
毎の切り換え条件STLTBL(STLN).SCCに応じて現在のノー
マルパターンNOR1〜NOR4の演奏が奇数拍目又は1拍目に
なった時点で、自動伴奏がノーマルパターンNOR1〜NOR4
から第1フィルインパターンFIL1にそれぞれ移行する。
なお、この場合も、上述の場合と同様、切り換え後の第
1フィルインパターンFIL1はその残り時間RTIM分だけ演
奏される。
In step 470, the switching condition STLTBL (STLN) .SCC stored in the style table STLTBL and specified by the style number STLN is read, and the condition STLTBL (STLN) .SCC is set to "0". It is determined whether there is. This switching condition STLTBL (STLN) .SCC is "0"
Indicates that pattern switching is allowed on odd-numbered beats (1st or 3rd beat), and that "1" indicates that pattern switching is allowed on only the 1st beat. If (STLN) .SCC is “0”, it is determined in step 472 whether the remainder obtained by dividing the current beat CBET by “2” is “0”, that is, the normal pattern NOR1
It is determined whether or not the performance of NOR4 is the first beat or the third beat. If the condition STLTBL (STLN) .SCC is "1", the current timing CTIM is set to "0" in step 474. It is determined whether or not there is, that is, whether or not the performance of the normal patterns NOR1 to NOR4 is the first beat. As a result of the determination, the switching condition STLTBL (STLN) .SCC is “0” and the remainder obtained by dividing the current beat CBET by “2” is “0”, or the switching condition STLTBL (STLN). SCC
Is “1” and the current timing CTIM is “0”
If so, in step 476 the next section number NSCTN
Is set as section number SCTN, and step 47
At step 8, the "pattern switching routine" is executed. Otherwise, the processing at steps 476 and 478 is not executed and the "conditional switching routine" ends at step 484. As a result, the switching condition flag
When CNGF is set to "1", when the performance of the current normal patterns NOR1 to NOR4 reaches the odd-numbered beat or the first beat according to the switching condition STLTBL (STLN) .SCC for each accompaniment style, Automatic accompaniment is normal pattern NOR1-NOR4
To the first fill-in pattern FIL1.
In this case, as in the case described above, the switched first fill-in pattern FIL1 is played for the remaining time RTIM.

【0079】そして、前述のように、切り換え条件フラ
グCNGFが”0”である場合も、”1”である場合も、第
1フィルインパターンが前記残り時間RTIM分だけ演奏さ
れると、タイムTIMEがエンドタイムETIMに等しなり、図
21のステップ480における「YES」との判定の基
に、ステップ482にて「特殊パターン切り換えルーチ
ン」(図22)が実行される。この場合、「特殊パター
ン切り換えルーチン」においては、ステップ492,4
96,500にてそれぞれ「NO」、「NO」、「YE
S」と判定され、ステップ502にてセクション番号SC
TNから「4」が減算されるとともに、ステップ512に
て「パターン切り換えルーチン」の処理が実行される。
これにより、以前のセクション番号SCTN(=7〜10)
はふたたび3〜6にそれぞれ戻され、図1に示すよう
に、以前のノーマルパターンNOR1〜NOR4が再び演奏され
るようになる。
As described above, regardless of whether the switching condition flag CNGF is “0” or “1”, when the first fill-in pattern is played for the remaining time RTIM, the time TIME is changed. The end time ETIM is equal, and based on the determination of “YES” in step 480 of FIG. 21, a “special pattern switching routine” (FIG. 22) is executed in step 482. In this case, in the “special pattern switching routine”, steps 492 and 4
"NO", "NO", "YE" at 96,500
S ”, and the section number SC
“4” is subtracted from TN, and the process of “pattern switching routine” is executed in step 512.
As a result, the previous section number SCTN (= 7 to 10)
Are returned to 3 to 6, respectively, and the previous normal patterns NOR1 to NOR4 are played again as shown in FIG.

【0080】このように、ノーマルパターンNOR1〜NOR4
(セクション番号SCTN=3〜6)の演奏中に、特殊パタ
ーンスイッチ26aを操作することにより、以前のノー
マルパターンNOR1〜NOR4に適した4個の第1フィルイン
パターンFIL1の演奏が自動的に挿入されるので、曲想に
適したフィルインパターンの演奏を簡単に楽しむことが
できる。また、この場合、切り換え条件スイッチ27の
操作により、ノーマルパターンNOR1〜NOR4から4個の第
1フィルインパターンFIL1の切り換え態様が条件付き
(次の奇数拍目又は1拍目)で切り換えられるか、即座
に切り換えられるかが選択され、演奏者の意志をこのフ
ィルイン演奏に反映することもできる。
As described above, the normal patterns NOR1 to NOR4
By operating the special pattern switch 26a during the performance of (section number SCTN = 3 to 6), the performances of the four first fill-in patterns FIL1 suitable for the previous normal patterns NOR1 to NOR4 are automatically inserted. Therefore, it is possible to easily enjoy the performance of the fill-in pattern suitable for the musical composition. In this case, by operating the switching condition switch 27, the switching mode of the four first fill-in patterns FIL1 from the normal patterns NOR1 to NOR4 can be switched conditionally (the next odd-numbered beat or the first beat) or immediately. Is selected, and the player's will can be reflected in this fill-in performance.

【0081】また、上記ノーマルパターンNOR1〜NOR4の
演奏中、特殊パターンスイッチ26bが操作されると、
CPU53は、前述の場合と同様にして図13の「特殊
パターンルーチン」を実行する。この「特殊パターンル
ーチン」においては、ステップ232の判定処理の基
に、ステップ236にて「第2特殊パターンルーチン」
(図15)が実行される。この場合も、ランフラグRUN
は”1”に設定されているとともに、セクション番号SC
TNは3〜6に設定されているので、ステップ292,2
98,302にてそれぞれ「YES」、「NO」、「Y
ES」と判定され、ステップ304にて切り換え条件フ
ラグCNGFが”0”か否かが判定される。
When the special pattern switch 26b is operated during the performance of the normal patterns NOR1 to NOR4,
The CPU 53 executes the “special pattern routine” of FIG. 13 in the same manner as described above. In this “special pattern routine”, the “second special pattern routine” is executed in step 236 based on the determination processing in step 232.
(FIG. 15) is executed. Also in this case, the run flag RUN
Is set to “1” and the section number SC
Since TN is set to 3 to 6, steps 292 and 2
"YES", "NO", and "Y" at 98 and 302, respectively.
ES ”, and in step 304, it is determined whether or not the switching condition flag CNGF is“ 0 ”.

【0082】まず、前記「第1特殊パターンルーチン」
の場合と同様、切り換え条件フラグCNGFが”0”に設定
されている場合について説明すると、前記ステップ30
4にて「YES」と判定され、ステップ306にてセク
ション番号SCTNに「8」が加算されるとともに、ステッ
プ318にて「パターン切り換えルーチン」の処理が実
行される。これにより、以前のセクション番号SCTN(=
3〜6)は11〜14にそれぞれ変更され、図1に示す
ように、以前のノーマルパターンNOR1〜NOR4は新たなセ
クション番SCTN(=11〜14)により指定された4個
の第2フィルインパターンFIL2のいずれかに即座に切り
換えられる。次に、切り換え条件フラグCNGFが”1”に
設定されている場合について説明すると、前記ステップ
304にて「NO」と判定され、ステップ308にてセ
クション番号SCTNに「8」を加算した結果が次セクショ
ン番号NSCTN として設定されるとともに、セクションス
イッチフラグSCSWが”1”に設定される。その結果、こ
の場合には、特殊パターンスイッチ26bが操作された
時点では、ノーマルパターンNOR1〜NOR4の演奏が切り換
えられずに続行し、切り換え条件STLTBL(STLN).SCCによ
り決定される条件(奇数拍目又は1拍目)になった時点
で、同パターンNOR1〜NOR4が第2フインパターンFIL2に
切り換えられる。なお、この場合も、上述の場合と同
様、切り換え後の第2フィルインパターンFIL2はその残
り時間RTIM分だけ演奏される。
First, the "first special pattern routine"
The case where the switching condition flag CNGF is set to “0” as in the case of
At step 4, “YES” is determined, and at step 306, “8” is added to the section number SCTN, and at step 318, the processing of the “pattern switching routine” is executed. As a result, the previous section number SCTN (=
3 to 6) are changed to 11 to 14, respectively. As shown in FIG. 1, the previous normal patterns NOR1 to NOR4 are four second fill-in patterns specified by the new section numbers SCTN (= 11 to 14). Switch to one of FIL2 immediately. Next, the case where the switching condition flag CNGF is set to “1” will be described. The result of adding “8” to the section number SCTN in step 308 is determined to be “NO” in step 304, and The section number is set as the section number NSCTN, and the section switch flag SCSW is set to "1". As a result, in this case, when the special pattern switch 26b is operated, the performance of the normal patterns NOR1 to NOR4 is continued without being switched, and the condition (odd beat) determined by the switching condition STLTBL (STLN) .SCC is used. At the point of time (the first or first beat), the same patterns NOR1 to NOR4 are switched to the second fin pattern FIL2. In this case, as in the case described above, the switched second fill-in pattern FIL2 is played for the remaining time RTIM.

【0083】そして、前述のように、切り換え条件フラ
グCNGFが”0”である場合も、”1”である場合も、第
2フィルインパターンが前記残り時間RTIM分だけ演奏さ
れると、タイムTIMEがエンドタイムETIMに等しなり、図
21のステップ480における「YES」との判定の基
に、ステップ482にて「特殊パターン切り換えルーチ
ン」(図22)が実行される。この場合、「特殊パター
ン切り換えルーチン」においては、ステップ492,4
96,500,504にて、それぞれ「NO」、「N
O」、「NO」、「YES」と判定されて、ステップ5
06にてセクション番号SCTNが「12」以下であるか否
かが判定される。セクション番号SCTNが「12」以下で
あれば、ステップ506にて「YES」と判定され、ス
テップ508にてセクション番号SCTNから「6」が減算
されるとともに、ステップ512にて「パターン切り換
えルーチン」の処理が実行される。また、セクション番
号SCTNが「13」以上であれば、ステップ506にて
「NO」と判定され、ステップ510にてセクション番
号SCTNから「10」が減算されるとともに、ステップ5
12にて「パターン切り換えルーチン」の処理が実行さ
れる。これにより、図1に示すように、セクション番号
SCTN=11,12の第2フィルインパターンFIL2が演奏
されていた場合には、伴奏パターンはセクション番号SC
TN=5,6のノーマルパターンNOR3,NOR4 に移行し、セ
クション番号SCTN=13,14の第2フィルインパター
ンFIL2が演奏されていた場合には、伴奏パターンはセク
ション番号SCTN=3,4のノーマルパターンNOR1,NOR2
に移行する。
As described above, regardless of whether the switching condition flag CNGF is “0” or “1”, when the second fill-in pattern is played for the remaining time RTIM, the time TIME is changed. The end time ETIM is equal, and based on the determination of “YES” in step 480 of FIG. 21, a “special pattern switching routine” (FIG. 22) is executed in step 482. In this case, in the “special pattern switching routine”, steps 492 and 4
At 96, 500 and 504, "NO" and "N
O "," NO "," YES "
At 06, it is determined whether the section number SCTN is equal to or less than "12". If the section number SCTN is equal to or smaller than "12", "YES" is determined in step 506, "6" is subtracted from the section number SCTN in step 508, and the "pattern switching routine" is executed in step 512. The processing is executed. If the section number SCTN is "13" or more, "NO" is determined in step 506, "10" is subtracted from the section number SCTN in step 510, and step 5 is performed.
At 12, the processing of the "pattern switching routine" is executed. As a result, as shown in FIG.
If the second fill-in pattern FIL2 of SCTN = 11 or 12 is being played, the accompaniment pattern is the section number SC
When the normal pattern NOR3 and NOR4 of TN = 5 and 6 are transferred and the second fill-in pattern FIL2 of section numbers SCTN = 13 and 14 is played, the accompaniment pattern is the normal pattern of section numbers SCTN = 3 and 4. NOR1, NOR2
Move to

【0084】このように、ノーマルパターンNOR1,NOR2
(セクション番号SCTN=3,4) の演奏中に、特殊パ
ターンスイッチ26bを操作することにより、以前のノ
ーマルパターンNOR1,NOR2に適したセクション番号SCTN
=11,12の第2フィルインパターンFIL2が演奏さ
れ、その後、自動的に自動伴奏パターンはノーマルパタ
ーンNOR3,NOR4(セクション番号SCTN=5,6) に移行
する。また、ノーマルパターンNOR3,NOR4(セクション
番号SCTN=5,6) の演奏中に、特殊パターンスイッ
チ26bを操作することにより、以前のノーマルパター
ンNOR3,NOR4に適したセクション番号SCTN=13,14
の第2フィルインパターンFIL2が演奏され、その後、自
動的に自動伴奏パターンはノーマルパターンNOR1,NOR2
(セクション番号SCTN=3,4)に移行する。その結
果、曲の流れに応じて、自動伴奏のパターンを自動的に
変更させることができるので、簡単な操作により、変化
に富んだ伴奏音を楽しむことができる。また、この場合
も、切り換え条件スイッチ27の操作により、ノーマル
パターンNOR1〜NOR4から4個の第2フィルインパターン
FIL2の切り換え態様が条件付き(次の奇数拍目又は1拍
目)で切り換えられるか、即座に切り換えられるかが選
択され、演奏者の意志をこのフィルイン演奏に反映する
こともできる。
As described above, the normal patterns NOR1, NOR2
By operating the special pattern switch 26b during the performance of (section number SCTN = 3, 4), the section number SCTN suitable for the previous normal patterns NOR1 and NOR2.
The second fill-in pattern FIL2 of = 11, 12 is played, and then the automatic accompaniment pattern automatically shifts to the normal pattern NOR3, NOR4 (section number SCTN = 5, 6). By operating the special pattern switch 26b during the performance of the normal patterns NOR3, NOR4 (section numbers SCTN = 5, 6), the section numbers SCTN = 13, 14 suitable for the previous normal patterns NOR3, NOR4.
The second fill-in pattern FIL2 is played, and then the automatic accompaniment pattern is automatically changed to the normal pattern NOR1, NOR2
(Section number SCTN = 3, 4). As a result, the pattern of the automatic accompaniment can be automatically changed according to the flow of the music, so that a variety of accompaniment sounds can be enjoyed with a simple operation. Also in this case, the operation of the switching condition switch 27 causes the four second fill-in patterns from the normal patterns NOR1 to NOR4.
Whether the switching mode of FIL2 is switched conditionally (the next odd-numbered beat or the first beat) or switched immediately is selected, and the intention of the player can be reflected in this fill-in performance.

【0085】また、第1フィルインパターンFIL1(セク
ション番号SCTN=7〜10)又は第2フィルインパター
ンFIL2(セクション番号SCTN=11〜14)の演奏中、
ノーマルパターンスイッチ25a〜25dが操作される
と、CPU53は、上述の場合と同様にして図12の
「ノーマルパターンルーチン」を実行する。この「ノー
マルパターンルーチン」においては、ステップ212に
て変数iが操作されたノーマルパターンスイッチ25a
〜25dに対応した値(3〜6)に設定された後、”
1”に設定されているランフラグRUN と、7〜14に設
定されているセクション番号SCTNとに基づき、ステップ
214,216,218,220にてそれぞれ「YE
S」、「NO」、「NO」、「NO」と判定され、ステ
ップ222にて変数iが次セクション番号NSCTN として
設定されるとともに、セクションスイッチフラグSCSW
が”1”に設定される。これにより、この場合には、ノ
ーマルパターンスイッチ25a〜25dが操作された時
点では、演奏中のパターンが切り換えられず、第1又は
第2フィルインパターンFIL1,FIL2 の終了時点で、図2
1のステップ462,480,482の処理、及び図2
2のステップ492,494の処理により、以前に操作
されたノーマルパターンスイッチ25a〜25dに対応
したノーマルパターンNOR1〜NOR4(セクション番号SCTN
=3〜6)に切り換えられる。その結果、上述のよう
に、自動伴奏パターンが第1又は第2フィルインパター
ンFIL1,FIL2から予め決められたノーマルパターンNOR1
〜NOR4 へ移行するのではなく、演奏者が移行先のノー
マルパターンNOR1〜NOR4を指定できるようになる。
During the performance of the first fill-in pattern FIL1 (section number SCTN = 7 to 10) or the second fill-in pattern FIL2 (section number SCTN = 11 to 14),
When the normal pattern switches 25a to 25d are operated, the CPU 53 executes the "normal pattern routine" of FIG. 12 in the same manner as described above. In the "normal pattern routine", the normal pattern switch 25a in which the variable i is operated in step 212
After being set to a value (3 to 6) corresponding to 2525d, “
Based on the run flag RUN set to "1" and the section number SCTN set to 7-14, in steps 214, 216, 218 and 220, "YE
S, "NO", "NO", "NO", the variable i is set as the next section number NSCTN in step 222, and the section switch flag SCSW
Is set to “1”. Thus, in this case, when the normal pattern switches 25a to 25d are operated, the pattern being played is not switched, and at the end of the first or second fill-in pattern FIL1, FIL2, FIG.
2 and the processing in steps 462, 480, and 482 of FIG.
The normal patterns NOR1 to NOR4 (section number SCTN) corresponding to the previously operated normal pattern switches 25a to 25d by the processing of steps 492 and 494 of the second step.
= 3 to 6). As a result, as described above, the automatic accompaniment pattern is determined from the first or second fill-in patterns FIL1 and FIL2 as a predetermined normal pattern NOR1.
Instead of shifting to NOR4, the performer can specify the normal patterns NOR1 to NOR4 to which the player will shift.

【0086】なお、上記ノーマルパターンNOR1〜NOR4
(セクション番号SCTN=3〜6)の演奏中、ノーマルパ
ターンスイッチ25a〜25dが操作されると、CPU
53は、上述の場合と同様にして図12の「ノーマルパ
ターンルーチン」を実行する。この「ノーマルパターン
ルーチン」においては、ステップ212にて変数iが操
作されたノーマルパターンスイッチ25a〜25dに対
応した値(3〜6)に設定され、ステップ214におけ
る「YES」すなわちランフラグRUN が”1”であると
の判定の基に、ステップ216以降のプログラムが実行
される。この場合、操作されたノーマルパターンスイッ
チ25a〜25dが演奏中のノーマルパターンNOR1〜NO
R4と同じであって、変数iがセクション番号SCTNに等し
ければ、ステップ216にて「YES」と判定されて、
パターンの切り換え処理は行われない。一方、操作され
たノーマルパターンスイッチ25a〜25dが演奏中の
ノーマルパターンNOR1〜NOR4と異なっていれば、ステッ
プ216,218における共に「NO」との判定の基
に、ノーマルパターンNOR1〜NOR4(セクション番号SCTN
=3〜6)が演奏中であって、かつ切り換え条件フラグ
CNGFが”0”であるときのみ、ステップ220にて「Y
ES」と判定されて、ステップ224にてセクション番
号SCTNが変数iに変更されるとともに、ステップ226
にて「パターン切り換えルーチン」が実行されて、自動
伴奏パターンは、操作されたノーマルパターンスイッチ
25a〜25dに対応したノーマルパターンNOR1〜NOR4
(セクション番号SCTN=3〜6)に即座に切り換えられ
る。また、それ以外の場合、すなわちノーマルパターン
NOR1〜NOR4(セクション番号SCTN=3〜6)が演奏中で
あっても切り換え条件フラグCNGFが”1”である場合に
は、ステップ220にて「NO」と判定され、ステップ
222にて変数iが次セクション番号NSCTN として設定
されるとともに、セクションスイッチフラグSCSWが”
1”に設定されるので、この場合には、ノーマルパター
ンスイッチ25a〜25dが操作された時点では、演奏
中のパターンが切り換えられず、上述した切り換え条件
STLTBL(STLN).SCC(奇数拍目又は1拍目)に従って、演
奏中のノーマルパターンNOR1〜NOR4(セクション番号SC
TN=3〜6)が、操作されたノーマルパターンスイッチ
25a〜25dに対応したノーマルパターンNOR1〜NOR4
(セクション番号SCTN=3〜6)に切り換えられる。
The above normal patterns NOR1 to NOR4
When the normal pattern switches 25a to 25d are operated during the performance of (section number SCTN = 3 to 6), the CPU
53 executes the “normal pattern routine” of FIG. 12 in the same manner as described above. In this "normal pattern routine", the variable i is set to a value (3 to 6) corresponding to the operated normal pattern switch 25a to 25d in step 212, and "YES" in step 214, that is, the run flag RUN is set to "1". ", The program from step 216 is executed. In this case, the operated normal pattern switches 25a to 25d operate the normal patterns NOR1 to NO
If it is the same as R4 and the variable i is equal to the section number SCTN, "YES" is determined in the step 216, and
No pattern switching process is performed. On the other hand, if the operated normal pattern switches 25a to 25d are different from the normal patterns NOR1 to NOR4 being played, both of the normal patterns NOR1 to NOR4 (section number) are determined based on the determination of “NO” in both steps 216 and 218. SCTN
= 3 to 6) are being played and the switching condition flag
Only when CNGF is "0", "Y"
ES ”, the section number SCTN is changed to the variable i in step 224, and
The "pattern switching routine" is executed, and the automatic accompaniment patterns are changed to the normal patterns NOR1 to NOR4 corresponding to the operated normal pattern switches 25a to 25d.
(Section number SCTN = 3 to 6). In other cases, that is, the normal pattern
If the switching condition flag CNGF is "1" even during the performance of NOR1 to NOR4 (section number SCTN = 3 to 6), "NO" is determined in step 220, and the variable i is determined in step 222. Is set as the next section number NSCTN, and the section switch flag SCSW is set to "
In this case, when the normal pattern switches 25a to 25d are operated, the pattern being played is not switched, and the above-described switching condition is set.
Normal patterns NOR1 to NOR4 (section number SC
TN = 3 to 6) are the normal patterns NOR1 to NOR4 corresponding to the operated normal pattern switches 25a to 25d.
(Section number SCTN = 3 to 6).

【0087】また、上記第1又は第2フィルインパター
ンFIL1,FIL2 (セクション番号SCTN=7〜8,11〜1
4)の演奏中、特殊パターンスイッチ26a,26bが
操作されると、CPU53は、前述の場合と同様にして
図13の「特殊パターンルーチン」を実行する。この
「特殊パターンルーチン」においては、特殊パターンス
イッチ26aが操作された場合、図14の「第1特殊パ
ターンルーチン」が実行され、演奏中のパターンが第1
フィルインパターンFIL1であれば、ステップ270にお
ける「YES」との判定の基に、パターンの切り換えは
行われない。しかし、演奏中のパターンが第2フィルイ
ンパターンFIL2であれば、ステップ270,272にお
ける「NO」、「YES」との判定の基に、ステップ2
74にてセクション番号SCTNから「4」が減算されると
ともに、ステップ278にて「パターン切り換えルーチ
ン」が実行されて、第1フィルインパターンFIL1は即座
に第2フィルインパターンFIL2へ切り換えられる。ま
た、特殊パターンスイッチ26bが操作された場合、図
15の「第2特殊パターンルーチン」が実行され、演奏
中のパターンが第2フィルインパターンFIL2であれば、
ステップ314における「YES」との判定の基に、パ
ターンの切り換えは行われないが、演奏中のパターンが
第1フィルインパターンFIL1であれば、ステップ310
における「YES」との判定の基に、ステップ312に
てセクション番号SCTNに「4」が加算されるとともに、
ステップ318にて「パターン切り換えルーチン」が実
行されて、第2フィルインパターンFIL2は即座に第1フ
ィルインパターンFIL1へ切り換えられる。
The first or second fill-in pattern FIL1, FIL2 (section number SCTN = 7-8, 11-1)
When the special pattern switches 26a and 26b are operated during the performance of 4), the CPU 53 executes the "special pattern routine" of FIG. 13 in the same manner as described above. In the "special pattern routine", when the special pattern switch 26a is operated, the "first special pattern routine" of FIG. 14 is executed, and the pattern being played is changed to the first pattern.
If the pattern is the fill-in pattern FIL1, pattern switching is not performed based on the determination of “YES” in step 270. However, if the pattern being played is the second fill-in pattern FIL2, the process proceeds to step 2 based on the determination of “NO” or “YES” in steps 270 and 272.
At step 74, “4” is subtracted from the section number SCTN, and at step 278, a “pattern switching routine” is executed, and the first fill-in pattern FIL1 is immediately switched to the second fill-in pattern FIL2. When the special pattern switch 26b is operated, the “second special pattern routine” of FIG. 15 is executed, and if the pattern being played is the second fill-in pattern FIL2,
The pattern is not switched based on the determination of “YES” in step 314, but if the pattern being played is the first fill-in pattern FIL1, step 310
In step 312, “4” is added to the section number SCTN based on the determination of “YES” in
In step 318, the "pattern switching routine" is executed, and the second fill-in pattern FIL2 is immediately switched to the first fill-in pattern FIL1.

【0088】f.エンディングパターンの付加 上記ノーマルパターンNOR1〜NOR4の演奏中、特殊パター
ンスイッチ26cが操作されると、CPU53は、ステ
ップ142(図9)の判定処理の基に、ステップ154
にて「特殊パターンルーチン」(図13)を実行し、こ
の「特殊パターンルーチン」のステップ232の判定処
理の基に、ステップ238の「第3特殊パターンルーチ
ン」(図16)を実行する。この場合、ランフラグRUN
は”1”に設定されているとともに、セクション番号SC
TNは3〜6に設定されているので、ステップ332,3
38,342にてそれぞれ「YES」、「NO」、「Y
ES」と判定され、ステップ344にて切り換え条件フ
ラグCNGFが”0”か否かが判定される。
F. Addition of Ending Pattern During the performance of the normal patterns NOR1 to NOR4, if the special pattern switch 26c is operated, the CPU 53 proceeds to step 154 based on the determination processing of step 142 (FIG. 9).
Executes the "special pattern routine" (FIG. 13), and executes the "third special pattern routine" of step 238 (FIG. 16) based on the determination processing of step 232 of the "special pattern routine". In this case, the run flag RUN
Is set to “1” and the section number SC
Since TN is set to 3 to 6, steps 332 and 3
"YES", "NO", and "Y" at 38 and 342, respectively.
ES ”, and in step 344, it is determined whether the switching condition flag CNGF is“ 0 ”.

【0089】今、切り換え条件スイッチ27の操作によ
り、切り換え条件フラグCNGFが”0”に設定されていれ
ば(図9のステップ150)、前記ステップ344にて
「YES」と判定され、ステップ346にてセクション
番号SCTNに「11」が加算される(ただし、セクション
番号SCTNが「3」であった場合には、同番号SCTNは「1
5」に設定される)とともに、ステップ358にて「パ
ターン切り換えルーチン」の処理が実行される。これに
より、以前のセクション番号SCTN(=3〜6)は15〜
17にそれぞれ変更され、図1に示すように、以前のノ
ーマルパターンNOR1〜NOR4は新たなセクション番号SCTN
(=15〜17)により指定されたエンディングパター
ンEND1〜END3に即座に切り換えられるとともに、ランプ
28fのみが点灯する。なお、この場合も、上述の場合
と同様、切り換え後のエンディングパターンEND1〜END3
は途中から演奏されて、同パターンEND1〜END3はその残
り時間RTIM分だけ演奏される。
If the switching condition flag CNGF is set to "0" by operating the switching condition switch 27 (step 150 in FIG. 9), "YES" is determined in the step 344, and the process proceeds to the step 346. “11” is added to the section number SCTN (however, if the section number SCTN is “3”, the same number SCTN becomes “1”
5 "), and the process of the" pattern switching routine "is executed in step 358. As a result, the previous section number SCTN (= 3 to 6) becomes 15 to
17 and the previous normal patterns NOR1 to NOR4 have new section numbers SCTN as shown in FIG.
(= 15 to 17), the ending pattern is immediately switched to the ending pattern END1 to END3, and only the lamp 28f is turned on. In this case, as in the case described above, the ending patterns END1 to END3 after the switching are performed.
Is played from the middle, and the same patterns END1 to END3 are played for the remaining time RTIM.

【0090】一方、前述の図16のステップ344の判
定時に、切り換え条件フラグCNGFが”1”に設定されて
いれば(図9のステップ150)、前記ステップ344
にて「NO」と判定され、ステップ348にてセクショ
ン番号SCTNに「11」を加算した結果が次セクション番
号NSCTN として設定される(ただし、セクション番号SC
TNが「3」であった場合には、次セクション番号NSCTN
は「15」に設定される)とともに、セクションスイッ
チフラグSCSWが”1”に設定される。その結果、この場
合には、特殊パターンスイッチ26cが操作された時点
では、ノーマルパターンNOR1〜NOR4の演奏が切り換えら
れずに続行する。そして、図20の「インタラプトプロ
グラム」のステップ444にて「条件付き切り換えルー
チン」が実行された際に、図21のステップ462,4
64にて共に「YES」と判定されて、ステップ468
〜478の処理により、切り換え条件STLTBL(STLN).SCC
により規定された条件(奇数拍目又は1拍目)が成立し
た時点で、ノーマルパターンNOR1〜NOR4がエンディング
パターンEND1〜END3に自動的に切り換えられる。なお、
この場合も、上述の場合と同様、切り換え後のエンディ
ングパターンEND1〜END3はその残り時間RTIM分だけ演奏
される。
On the other hand, if the switching condition flag CNGF is set to "1" (step 150 in FIG. 9) at the time of the determination in step 344 in FIG.
Is determined to be "NO", and the result of adding "11" to the section number SCTN in step 348 is set as the next section number NSCTN (however, the section number SC
If TN is "3", the next section number NSCTN
Is set to “15”), and the section switch flag SCSW is set to “1”. As a result, in this case, when the special pattern switch 26c is operated, the performance of the normal patterns NOR1 to NOR4 continues without being switched. Then, when the “conditional switching routine” is executed in step 444 of the “interrupt program” in FIG. 20, steps 462 and 4 in FIG.
At 64, both are determined to be “YES”, and step 468 is performed.
The switching conditions STLTBL (STLN) .SCC
Are satisfied, the normal patterns NOR1 to NOR4 are automatically switched to the ending patterns END1 to END3. In addition,
In this case, as in the case described above, the ending patterns END1 to END3 after switching are played for the remaining time RTIM.

【0091】そして、前述のように、切り換え条件フラ
グCNGFが”0”である場合も、”1”である場合も、エ
ンディングパターンEND1〜END3が前記残り時間RTIM分だ
け演奏されると、タイムTIMEがエンドタイムETIMに等し
なり、図21のステップ480における「YES」との
判定の基に、ステップ482にて「特殊パターン切り換
えルーチン」(図22)が実行される。この場合、「特
殊パターン切り換えルーチン」においては、セクション
スイッチフラグSCSWは”0”であり、かつセクション番
号SCTNは15〜17であるので、ステップ492,49
6,500,504にて全て「NO」と判定されて、ス
テップ514〜518にて、上述したストップスイッチ
24bを操作したときと同様(図9のステップ160〜
164)、ランフラグRUN が”0”に変更され、セクシ
ョン番号SCTNが「3」に初期設定され、「ランプルーチ
ン」が実行され、ステップ518にて消音処理が実行さ
れるので、自動伴奏の動作が停止する。
As described above, regardless of whether the switching condition flag CNGF is “0” or “1”, when the ending patterns END1 to END3 are played for the remaining time RTIM, the time TIME is set. Is equal to the end time ETIM, and based on the determination of “YES” in step 480 of FIG. 21, the “special pattern switching routine” (FIG. 22) is executed in step 482. In this case, in the “special pattern switching routine”, since the section switch flag SCSW is “0” and the section number SCTN is 15 to 17, steps 492 and 49
6, 500, and 504, all of which are determined to be "NO," and steps 514 to 518 are the same as when the above-described stop switch 24b is operated (see steps 160 to 160 in FIG. 9).
164) The run flag RUN is changed to "0", the section number SCTN is initialized to "3", the "ramp routine" is executed, and the mute processing is executed in step 518, so that the automatic accompaniment operation is started. Stop.

【0092】このように、ノーマルパターンNOR1〜NOR4
の演奏中に、特殊パターンスイッチ26cを操作するこ
とにより、ノーマルパターンNOR1〜NOR4に適したエンデ
ィングパターンEND1〜END3が演奏され、その後、自動伴
奏が停止する。その結果、簡単な操作で、ノーマルパタ
ーンNOR1〜NOR4に適したエンディングパターンEND1〜EN
D3を自動的に付加できる。また、この場合も、切り換え
条件スイッチ27の操作により、ノーマルパターンNOR1
〜NOR4からエンディングパターンEND1〜END3の切り換え
態様が条件付き(次の奇数拍目又は1拍目)で切り換え
られるか、即座に切り換えられるかが選択され、演奏者
の意志をこのエンディングパターンEND1〜END3に反映す
ることもできる。
As described above, the normal patterns NOR1 to NOR4
By operating the special pattern switch 26c during the performance of, the ending patterns END1 to END3 suitable for the normal patterns NOR1 to NOR4 are played, and then the automatic accompaniment is stopped. As a result, ending patterns END1 to EN suitable for normal patterns NOR1 to NOR4 can be obtained with simple operation.
D3 can be added automatically. Also in this case, the normal pattern NOR1
~ NOR4 to ending pattern END1 ~ END3 can be switched conditionally (the next odd-numbered beat or the first beat) or can be switched immediately, and the player's will is determined by this ending pattern END1-END3. Can also be reflected in

【0093】また、上記第1又は第2フィルインパター
ンFIL1,FIL2 (セクション番号SCTN=7〜14)の演奏
中、特殊パターンスイッチ26cが操作されると、CP
U53は、前述のように、図16の「特殊パターンルー
チン」を実行し、ステップ350〜356の処理によ
り、以前のセクション番号SCTNが7〜10ならば、セク
ション番号SCTNに「7」を加算して同番号SCTNを15〜
17に設定し(ただし、以前のセクション番号SCTNが7
のときは、セクション番号SCTNを「15」に設定し)、
かつ以前のセクション番号SCTNが11〜14ならば、セ
クション番号SCTNに「3」を加算して同番号SCTNを15
〜17に設定し(ただし、以前のセクション番号SCTNが
11のときは、セクション番号SCTNを「15」に設定
し)、ステップ358にて「パターン切り換えルーチ
ン」を実行する。これにより、第1又は第2フィルイン
パターンFIL1,FIL2はエンディングパターンEND1〜END3
に即座に切り換えられる。
When the special pattern switch 26c is operated during the performance of the first or second fill-in pattern FIL1, FIL2 (section number SCTN = 7-14), the CP
As described above, U53 executes the “special pattern routine” in FIG. 16 and adds “7” to the section number SCTN if the previous section number SCTN is 7 to 10 by the processing of steps 350 to 356. Same number SCTN 15 ~
17 (except that the previous section number SCTN was 7)
, Set section number SCTN to “15”),
And if the previous section number SCTN is 11 to 14, "3" is added to the section number SCTN and the same number SCTN is set to 15
1717 (however, when the previous section number SCTN is 11, the section number SCTN is set to “15”), and in step 358, the “pattern switching routine” is executed. As a result, the first or second fill-in patterns FIL1 and FIL2 become ending patterns END1 to END3.
Can be switched instantly.

【0094】さらに、このようなエンディングパターン
END1〜END3の演奏中に、ノーマルパターンスイッチ25
a〜25dが操作されると、図12のステップ218,
224,226の処理により、前記エンディングパター
ンEND1〜END3は操作されたノーマルパターンスイッチ2
5a〜25dに対応したノーマルパターンNOR〜1NOR4に
即座に切り換えられる。また、前記エンディングパター
ンEND1〜END3の演奏中に、特殊パターンスイッチ26a
又は特殊パターンスイッチ26bが操作されると、図1
4のステップ272,276,278又は図15のステ
ップ314,316,318の処理により、前記エンデ
ィングパターンEND1〜END3は第1フィルインパターン
(セクション番号SCTN=8〜10)又は第2フィルイン
パターン(セクション番号SCTN=12〜14)に即座に
切り換えられる。
Further, such an ending pattern
During the performance of END1 to END3, the normal pattern switch 25
When a to 25d are operated, steps 218 and 218 in FIG.
By the processing of 224 and 226, the ending patterns END1 to END3 are operated by the operated normal pattern switch 2.
The normal patterns NOR to NOR4 corresponding to 5a to 25d are immediately switched. During the performance of the ending patterns END1 to END3, the special pattern switch 26a
Alternatively, when the special pattern switch 26b is operated, FIG.
By the processing of steps 272, 276, 278 of FIG. 4 or steps 314, 316, 318 of FIG. 15, the ending patterns END1 to END3 become the first fill-in pattern (section number SCTN = 8 to 10) or the second fill-in pattern (section number). SCTN = 12-14) is immediately switched.

【0095】なお、上記実施形態においては、伴奏デー
タメモリ60内には、予め決められた演奏データを記憶
するようにしたが、このメモリ60をRAMで構成し、
演奏者が任意のデータを書き込めるようにしてもよい
し、磁気テープ、磁気ディスクなどの外部記録媒体から
任意のデータを書き込めるようにしてもよい。
In the above embodiment, predetermined performance data is stored in the accompaniment data memory 60. However, this memory 60 is constituted by a RAM.
The player may be able to write arbitrary data, or may be able to write arbitrary data from an external recording medium such as a magnetic tape or a magnetic disk.

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

【図1】 自動伴奏の各種パターンの切り換え態様を
説明するための説明図である。
FIG. 1 is an explanatory diagram for explaining a switching mode of various patterns of automatic accompaniment.

【図2】 本発明の一実施形態を示す自動伴奏装置を
備えた電子楽器の全体ブロック図である。
FIG. 2 is an overall block diagram of an electronic musical instrument including an automatic accompaniment device according to an embodiment of the present invention.

【図3】 図2の操作パネルの詳細図である。FIG. 3 is a detailed view of an operation panel of FIG. 2;

【図4】 図2の伴奏データメモリ内のスタイルテー
ブルのデータフォーマット図である。
FIG. 4 is a data format diagram of a style table in the accompaniment data memory of FIG. 2;

【図5】 図2の伴奏データメモリ内のセクションテ
ーブルのデータフォーマット図である。
FIG. 5 is a data format diagram of a section table in the accompaniment data memory of FIG. 2;

【図6】 図2の伴奏データメモリ内の演奏データテ
ーブルのデータフォーマット図である。
FIG. 6 is a data format diagram of a performance data table in the accompaniment data memory of FIG. 2;

【図7】 図2のマイクロコンピュータ部により実行
される「メインプログラム」のフローチャートである。
FIG. 7 is a flowchart of a “main program” executed by the microcomputer unit of FIG. 2;

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

【図9】 図7の「スイッチイベントルーチン」の詳
細フローチャートである。
FIG. 9 is a detailed flowchart of a “switch event routine” of FIG. 7;

【図10】 図9の「スタイルルーチン」の詳細フロー
チャートである。
FIG. 10 is a detailed flowchart of a “style routine” of FIG. 9;

【図11】 図9の「テンポルーチン」の詳細フローチ
ャートである。
FIG. 11 is a detailed flowchart of a “tempo routine” of FIG. 9;

【図12】 図9の「ノーマルパターンルーチン」の詳
細フローチャートである。
FIG. 12 is a detailed flowchart of a “normal pattern routine” in FIG. 9;

【図13】 図9の「特殊パターンルーチン」の詳細フ
ローチャートである。
FIG. 13 is a detailed flowchart of a “special pattern routine” of FIG. 9;

【図14】 図13の「第1特殊パターンルーチン」の
詳細フローチャートである。
FIG. 14 is a detailed flowchart of a “first special pattern routine” in FIG. 13;

【図15】 図13の「第2特殊パターンルーチン」の
詳細フローチャートである。
FIG. 15 is a detailed flowchart of a “second special pattern routine” in FIG. 13;

【図16】 図13の「第3特殊パターンルーチン」の
詳細フローチャートである。
FIG. 16 is a detailed flowchart of a “third special pattern routine” in FIG. 13;

【図17】 図12,14〜16,19,21,22の
「パターン切り換えルーチン」の詳細フローチャートで
ある。
FIG. 17 is a detailed flowchart of a “pattern switching routine” in FIGS. 12, 14 to 16, 19, 21, and 22.

【図18】 図9,17,22の「ランプルーチン」の
詳細フローチャートである。
FIG. 18 is a detailed flowchart of a “ramp routine” of FIGS.

【図19】 図9,14〜16の「パターン起動ルーチ
ン」の詳細フローチャートである。
FIG. 19 is a detailed flowchart of a “pattern activation routine” of FIGS.

【図20】 図2のマイクロコンピュータ部により実行
される「インタラプトプログラム」のフローチャートで
ある。
FIG. 20 is a flowchart of an “interrupt program” executed by the microcomputer unit of FIG. 2;

【図21】 図20の「条件付き切り換えルーチン」の
詳細フローチャートである。
FIG. 21 is a detailed flowchart of a “conditional switching routine” in FIG. 20.

【図22】 図21の「特殊パターン切り換えルーチ
ン」の詳細フローチャートである。
FIG. 22 is a detailed flowchart of a “special pattern switching routine” in FIG. 21.

【図23】 図20の「再生ルーチン」の詳細フローチ
ャートである。
FIG. 23 is a detailed flowchart of a “reproduction routine” in FIG. 20.

【図24】 図23の「ノートルーチン」の詳細フロー
チャートである。
FIG. 24 is a detailed flowchart of a “note routine” of FIG. 23.

【図25】 図20の「キーオフルーチン」の詳細フロ
ーチャートである。
FIG. 25 is a detailed flowchart of a “key-off routine” in FIG. 20.

【図26】 図20の「カウントルーチン」の詳細フロ
ーチャートである。
FIG. 26 is a detailed flowchart of a “count routine” of FIG. 20.

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

11…左鍵盤、12…右鍵盤、20…操作パネル、22
…伴奏スタイルスイッチ群、24a…スタートスイッ
チ、24b…ストップスイッチ、25a〜25dノーマ
ルパターンスイッチ、26a〜26c…特殊パターンス
イッチ、27…切り換え条件スイッチ、40…楽音信号
形成回路、50…マイクロコンピュータ部、60…伴奏
データメモリ。
11 left keyboard, 12 right keyboard, 20 operation panel, 22
... accompaniment style switch group, 24a ... start switch, 24b ... stop switch, 25a-25d normal pattern switch, 26a-26c ... special pattern switch, 27 ... switching condition switch, 40 ... musical tone signal forming circuit, 50 ... microcomputer section, 60 ... accompaniment data memory.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭59−3483(JP,A) 特開 昭63−318598(JP,A) 実開 昭63−100797(JP,U) 実開 昭63−199300(JP,U) 特公 昭60−28000(JP,B2) (58)調査した分野(Int.Cl.6,DB名) G10H 1/40 G10H 1/00 102 G10H 1/36──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-59-3483 (JP, A) JP-A-63-318598 (JP, A) Fully open 63-1797 (JP, U) Really open 199300 (JP, U) JP 60-28000 (JP, B2) (58) Fields investigated (Int. Cl. 6 , DB name) G10H 1/40 G10H 1/00 102 G10H 1/36

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の伴奏スタイル毎に少なくとも第1及
び第2ノーマルパターンデータと少なくとも第1及び第
2フィルインパターンデータとを記憶した伴奏データメ
モリと、 前記複数の伴奏スタイルのうちのいずれかを選択する伴
奏スタイル選択手段と、 前記伴奏スタイル選択手段により選択された伴奏スタイ
ルに属する第1及び第2ノーマルパターンデータのうち
のいずれかを選択するノーマルパターン選択手段と、 前記ノーマルパターン選択手段により第1ノーマルパタ
ーンデータが選択されたとき前記伴奏スタイル選択手段
により選択された伴奏スタイルに属する第1フィルイン
パターンデータを指定し、また前記ノーマルパターン選
択手段により第2ノーマルパターンデータが選択された
とき前記伴奏スタイル選択手段により選択された伴奏ス
タイルに属する第2フィルインパターンデータを指定す
るフィルインパターン指定手段と、 前記フィルインパターン指定手段により第1フィルイン
パターンデータが指定されたとき前記伴奏スタイル選択
手段により選択された伴奏スタイルに属する第2ノーマ
ルパターンデータを復帰パターンデータとして指定し、
また前記フィルインパターン指定手段により第2フィル
インパターンデータが指定されたとき前記伴奏スタイル
選択手段により選択された伴奏スタイルに属する第1ノ
ーマルパターンデータを復帰パターンデータとして指定
する復帰パターン指定手段と、 フィルインパターン演奏を指示するフィルインスイッチ
と、 前記ノーマルパターン選択手段により選択された第1又
は第2ノーマルパターンデータを繰り返し読み出すとと
もに、同第1又は第2ノーマルパターンデータの読み出
し中における前記フィルインスイッチの操作に応答し
て、前記フィルインパターン指定手段により指定された
第1又は第2フィルインパターンデータを前記第1又は
第2ノーマルパターンデータに代えて所定期間だけ読み
出し、同所定期間の経過後に前記復帰パターン指定手段
により復帰パターンデータとして指 定された第1又は第
2ノーマルパターンデータを読み出す読み出し手段と、 前記読み出した第1又は第2ノーマルパターンデータと
第1又は第2フィルインパターンデータとに応じて伴奏
音信号を発生する伴奏音信号発生手段とを備えた自動伴
奏装置。
1. A method according to claim 1 , wherein the first and second accompaniment styles include
And at least the first and second normal pattern data
Accompaniment data stored with 2 fill-in pattern data
Mori and an accompaniment for selecting one of the plurality of accompaniment styles
Playing style selecting means, and the accompaniment style selected by the accompaniment style selecting means.
Of the first and second normal pattern data belonging to the
And a first normal pattern by the normal pattern selecting means.
Means for selecting the accompaniment style when the
First fill-in belonging to the accompaniment style selected by
Specify the pattern data and select the normal pattern
The second normal pattern data is selected by the selecting means
The accompaniment style selected by the accompaniment style selection means
Specify the second fill-in pattern data belonging to the tile
A fill-in pattern designating means, and a first fill-in pattern
Selection of accompaniment style when pattern data is specified
Second norma belonging to the accompaniment style selected by the means
File pattern data as return pattern data,
The second fill-in pattern is specified by the fill-in pattern designating means.
Accompaniment style when in-pattern data is specified
The first note belonging to the accompaniment style selected by the selecting means
-Specify normal pattern data as return pattern data
Return pattern designating means and a fill-in switch for instructing a fill-in pattern performance
If the first addition selected by the normal pattern selecting means
When repeatedly reading the second normal pattern data
Reading of the first or second normal pattern data
Responding to the operation of the fill-in switch during the
And specified by the fill-in pattern specifying means.
The first or second fill-in pattern data is converted into the first or second fill-in pattern data.
Read for a predetermined period instead of the second normal pattern data
The return pattern designating means after the elapse of the predetermined period.
First or is specified as the return pattern data by
Reading means for reading 2 normal pattern data; and said read first or second normal pattern data.
Accompaniment according to the first or second fill-in pattern data
Automatic accompaniment comprising an accompaniment sound signal generating means for generating a sound signal
Playing device.
【請求項2】複数の伴奏スタイル毎に複数組のノーマル
パターンデータと同ノーマルパターンデータの組数より
少ない組数の複数組のエンディングパターンデータとを
記憶し、一つのエンディングパターンに複数のノーマル
パターンを共通に対応させることにより、前記複数組の
ノーマルパターンデータを前記複数組のエンディングパ
ターンデータにそれぞれ対応させた伴奏データメモリ
と、 前記複数の伴奏スタイルのうちのいずれか一つを選択す
る伴奏スタイル選択手段と、 前記伴奏スタイル選択手段により選択された伴奏スタイ
ルに属する複数組のノーマルパターンデータのうちのい
ずれか一組のノーマルパターンデータを選択するノーマ
ルパターン選択手段と、 前記伴奏スタイル選択手段により選択された伴奏スタイ
ルに属する複数組のエンディングパターンデータのうち
で、前記ノーマルパターン選択手段により選択された一
組のノーマルパターンデータと対応関係にある一組のエ
ンディングパターンデータを指定するエンディングパタ
ーン指定手段と、 エンディングパターン演奏を指示するエンディングスイ
ッチと、 前記ノーマルパターン選択手段により選択された一組の
ノーマルパターンデータを繰り返し読み出すとともに、
同一組のノーマルパターンデータの読み出し中における
前記エンディングスイッチの操作に応答して、前記エン
ディングパターン指定手段により指定された一組のエン
ディングパターンデータを所定期間だけ読み出した後に
同読み出しを終了する読み出し手段と、 前記読み出した一組のノーマルパターンデータ及び一組
のエンディングパターンデータに応じて伴奏音信号を発
生する伴奏音信号発生手段とを備えた自動伴奏装置。
2. A plurality of normal sets for each of a plurality of accompaniment styles.
From the number of sets of pattern data and normal pattern data
A small number of sets of ending pattern data
Remember, multiple normals in one ending pattern
By making the patterns correspond in common,
The normal pattern data is transferred to the plurality of ending patterns.
Accompaniment data memory corresponding to each turn data
And one of the plurality of accompaniment styles is selected.
An accompaniment style selecting means, and an accompaniment style selected by the accompaniment style selecting means.
Of multiple sets of normal pattern data belonging to
Normal to select a set of normal pattern data
Pattern selecting means, and the accompaniment style selected by the accompaniment style selecting means.
Out of multiple sets of ending pattern data belonging to
The one selected by the normal pattern selecting means
A set of patterns that are in correspondence with the set of normal pattern data
Ending pattern that specifies the ending pattern data
End designating means and an ending switch for instructing ending pattern performance.
Switch, and a pair of normal patterns selected by the normal pattern selecting means.
While repeatedly reading normal pattern data,
During reading of the same set of normal pattern data
In response to the operation of the ending switch,
Set of encoding patterns specified by the
After reading the reading pattern data for a predetermined period
Reading means for ending the reading, the read set of normal pattern data and the read set
Accompaniment sound signal according to the ending pattern data
An automatic accompaniment device including a generated accompaniment sound signal generating means.
JP8053068A 1996-03-11 1996-03-11 Automatic accompaniment device Expired - Lifetime JP2848322B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8053068A JP2848322B2 (en) 1996-03-11 1996-03-11 Automatic accompaniment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8053068A JP2848322B2 (en) 1996-03-11 1996-03-11 Automatic accompaniment device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP3017039A Division JP2576700B2 (en) 1991-01-16 1991-01-16 Automatic accompaniment device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP12363998A Division JP3171436B2 (en) 1998-05-06 1998-05-06 Automatic accompaniment device

Publications (2)

Publication Number Publication Date
JPH08234757A JPH08234757A (en) 1996-09-13
JP2848322B2 true JP2848322B2 (en) 1999-01-20

Family

ID=12932511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8053068A Expired - Lifetime JP2848322B2 (en) 1996-03-11 1996-03-11 Automatic accompaniment device

Country Status (1)

Country Link
JP (1) JP2848322B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0652473B2 (en) * 1982-06-30 1994-07-06 ヤマハ株式会社 Autorhythm playing device
JP2530692Y2 (en) * 1986-12-18 1997-03-26 カシオ計算機株式会社 Rhythm playing device for electronic musical instruments
JPS63199300U (en) * 1987-06-04 1988-12-22

Also Published As

Publication number Publication date
JPH08234757A (en) 1996-09-13

Similar Documents

Publication Publication Date Title
JP2576700B2 (en) Automatic accompaniment device
US8314320B2 (en) Automatic accompanying apparatus and computer readable storing medium
JPS6367193B2 (en)
JPH09179559A (en) Device and method for automatic accompaniment
JP2848322B2 (en) Automatic accompaniment device
JP2536596B2 (en) Electronic musical instrument
JP3171436B2 (en) Automatic accompaniment device
JP3120806B2 (en) Automatic accompaniment device
WO2022201945A1 (en) Automatic performance device, electronic musical instrument, performance system, automatic performance method, and program
JP2586744B2 (en) Automatic accompaniment device for electronic musical instruments
JP2576296B2 (en) Automatic accompaniment device for electronic musical instruments
JP2663506B2 (en) Automatic performance device
JP3296182B2 (en) Automatic accompaniment device
JP2833229B2 (en) Automatic accompaniment device for electronic musical instruments
JP2541021B2 (en) Electronic musical instrument
JP2513003B2 (en) Electronic musical instrument
JP3630266B2 (en) Automatic accompaniment device
JP3082294B2 (en) Accompaniment sound signal forming device
JP2022151485A (en) Automatic performance device, electronic musical instrument, performance system, automatic performance method and program
JPH04186299A (en) Electronic musical instrument
JPH0299996A (en) Automatic accompaniment device
JPS6342272B2 (en)
JPH01177089A (en) Automatic accompanying device
JPH0253098A (en) Automatic accompaniment device
JPS6339918B2 (en)

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20071106

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081106

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081106

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091106

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101106

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20101106

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20111106

Year of fee payment: 13