Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0769697B2 - Automatic accompaniment device - Google Patents
[go: Go Back, main page]

JPH0769697B2 - Automatic accompaniment device - Google Patents

Automatic accompaniment device

Info

Publication number
JPH0769697B2
JPH0769697B2 JP63001037A JP103788A JPH0769697B2 JP H0769697 B2 JPH0769697 B2 JP H0769697B2 JP 63001037 A JP63001037 A JP 63001037A JP 103788 A JP103788 A JP 103788A JP H0769697 B2 JPH0769697 B2 JP H0769697B2
Authority
JP
Japan
Prior art keywords
information
accompaniment
register
reading
pitch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP63001037A
Other languages
Japanese (ja)
Other versions
JPH01177593A (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 JP63001037A priority Critical patent/JPH0769697B2/en
Publication of JPH01177593A publication Critical patent/JPH01177593A/en
Publication of JPH0769697B2 publication Critical patent/JPH0769697B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、変化に富んだ自動伴奏音を奏することがで
きる自動伴奏装置に関する。
TECHNICAL FIELD The present invention relates to an automatic accompaniment apparatus capable of producing a wide variety of automatic accompaniment sounds.

「従来の技術」 和音演奏用鍵盤の押鍵データから根音および和音を検出
し、この検出結果と選択されたリズム種類とに基づいて
自動伴奏を行うようにした自動伴奏装置が開発されてい
る。
"Prior Art" An automatic accompaniment device has been developed that detects roots and chords from key depression data of a chord playing keyboard and performs automatic accompaniment based on the detection result and the selected rhythm type. .

この種の自動伴奏装置においては、コード伴奏(和音伴
奏)は発音タイミングを示す情報に基づいて所定の和音
を同時に発音しており、ベース伴奏は発音タイミングを
示す情報と音高を示す情報とに基づいて音高制御発音を
行っている。(特開昭59−140495号) 「発明が解決しようとする課題」 ところで、上述した従来の自動伴奏装置においては、各
伴奏パートの発音音域が常に限られていた。すなわち、
和音演奏については和音発音領域において行い、ベース
演奏はベース発音音域において行っていた。
In this type of automatic accompaniment device, the chord accompaniment (chord accompaniment) simultaneously produces a predetermined chord based on the information indicating the sounding timing, and the bass accompaniment consists of information indicating the sounding timing and information indicating the pitch. Based on pitch control, sound is generated. (JP-A-59-140495) "Problem to be Solved by the Invention" In the conventional automatic accompaniment apparatus described above, the sound range of each accompaniment part is always limited. That is,
The chord performance was performed in the chord pronunciation range, and the bass performance was performed in the bass pronunciation range.

このように、従来の自動伴奏装置においては、演奏パー
ト毎に音域が固定されていたため、例えばエンディング
時やフィルイン時等において伴奏演奏に変化が乏しいと
いう欠点があった。
As described above, in the conventional automatic accompaniment apparatus, since the musical range is fixed for each performance part, there is a drawback that the accompaniment performance is scarcely changed at the ending time or the fill-in time, for example.

この発明は、上述した事情に鑑みてなされたもので、変
化に富んだ伴奏音を奏することができる自動伴奏装置を
提供することを目的としている。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an automatic accompaniment device that can play a variety of accompaniment sounds.

「課題を解決するための手段」 本願の請求項1の発明による自動伴奏装置は、 演奏順序に従った複数の音高情報と1つのオクターブ情
報とを対応させて1つの伴奏パターンとして記憶する記
憶手段と、(第1図 5、第4図) 前記記憶手段から前記オクターブ情報を読み出す第1の
読み出し手段と、(第13図 SPd2) 伴奏の進行に従って前記記憶手段から前記音高情報を順
次読み出す第2の読み出し手段と、(第13図 SPd3〜1
0) 前記第2の読み出し手段から読み出した前記音高情報を
前記第1の読み出し手段から読み出したオクターブ情報
によって設定される音域の音高情報に変換する変換手段
と、(第13図 SPd12) 前記変換手段によって変換された音高情報に対応する楽
音を生成する楽音生成手段と(第13図 SPd13) を具備することを特徴とする。
[Means for Solving the Problem] The automatic accompaniment apparatus according to the invention of claim 1 of the present application stores a plurality of pitch information and one octave information according to a performance order in association with each other and stores them as one accompaniment pattern. Means, (FIGS. 1 and 5) first reading means for reading the octave information from the storage means, and (FIG. 13 SPd2) for sequentially reading the pitch information from the storage means as the accompaniment progresses. Second reading means, (Fig. 13 SPd3-1)
0) conversion means for converting the pitch information read out from the second reading means into pitch information in the range set by the octave information read out from the first reading means (SPd12 in FIG. 13) It is characterized by comprising a musical tone generating means (SPd13 in FIG. 13) for generating a musical tone corresponding to the pitch information converted by the converting means.

また、請求項2の発明による自動伴奏装置は、 演奏順序に従った複数の音高情報と1つのオクターブ情
報および音色情報とを対応させて1つの伴奏パターンと
し、複数の該伴奏パターンを記憶する記憶手段と、(第
1図、 5、第4図) 前記伴奏パターンを選択する伴奏パダーン選択手段と、
(第10図 SPa1) 前記伴奏パターン選択手段によって選択された伴奏パタ
ーンに対応するオクターブ情報および音色情報を前記記
憶手段から読み出す第1の読み出し手段と、(第10図
SPa2、SPa4、第13図 SPd2) 前記伴奏パターン選択手段によって選択された伴奏パタ
ーンに対応する前記音高情報を伴奏の進行に従って前記
記憶手段から順次読み出す第2の読み出し手段と、(第
13図 SPd3〜10) 前記第2の読み出し手段から読み出した前記音高情報を
前記第1の読み出し手段から読み出したオクターブ情報
によって設定される音域の音高情報に変換する変換手段
と、(第13図 SPd12) 前記変換手段によって変換された音高情報と前記第1の
読み出し手段から読み出した音色情報とに対応する楽音
を生成する楽音生成手段と(第13図 SPd13) を具備することを特徴とする。
The automatic accompaniment apparatus according to the invention of claim 2 stores a plurality of accompaniment patterns by associating a plurality of pitch information in accordance with the performance order with one octave information and tone color information to form one accompaniment pattern. Storage means (FIGS. 1, 5, and 4) and accompaniment padder selection means for selecting the accompaniment pattern;
(FIG. 10 SPa1) First reading means for reading the octave information and the tone color information corresponding to the accompaniment pattern selected by the accompaniment pattern selection means from the storage means (FIG. 10).
SPa2, SPa4, FIG. 13 SPd2) Second reading means for sequentially reading the pitch information corresponding to the accompaniment pattern selected by the accompaniment pattern selection means from the storage means according to the progress of the accompaniment,
13 SPd3 to 10) conversion means for converting the pitch information read from the second reading means into pitch information of a range set by the octave information read from the first reading means, SPd12) a tone generation means for generating a tone corresponding to the pitch information converted by the conversion means and the tone color information read from the first reading means, and (SPd13 in FIG. 13). To do.

さらに、請求項3の発明による自動伴奏装置は、 演奏順序に従った複数の音高情報と1つのオクターブ情
報とを対応させて1つの伴奏パターンとし、複数の演奏
態様に対応させて複数の該伴奏パターンを記憶する記憶
手段と、(第1図 5、第4図) 演奏態様を選択する演奏態様選択手段と、(第9図 SP
12、SP13、第11図 SPb7〜9) 前記演奏態様選択手段によって選択された演奏態様に対
応するオクターブ情報を前記記憶手段から読み出す第1
の読み出し手段と、(第10図 SPa1、第13図 SPd12) 前記演奏態様選択手段によって選択された伴奏パターン
に対応する前記音高情報を伴奏の進行に従って前記記憶
手段から順次読み出す第2の読み出し手段と、(第13図
SPd3〜10) 前記第2の読み出し手段から読み出し前記音高情報を前
記第1の読み出し手段から読み出したオクターブ情報に
よって設定される音域の音高情報に変換する変換手段
と、(第13図 Spd12) 前記変換手段によって変換された音高情報に対応する楽
音を生成する楽音生成手段と(第13図 SPd13) を具備することを特徴とする。
Further, the automatic accompaniment apparatus according to the invention of claim 3 associates a plurality of pitch information and one octave information according to the performance order into one accompaniment pattern, and a plurality of performance patterns corresponding to a plurality of performance modes. Storage means for storing an accompaniment pattern, (FIGS. 1, 5 and 4) Performance mode selection means for selecting a performance mode, and FIG.
12, SP13, FIG. 11, SPb7 to 9) Octave information corresponding to the performance mode selected by the performance mode selection means is read out from the storage means.
And a second reading means for sequentially reading the pitch information corresponding to the accompaniment pattern selected by the performance mode selecting means from the storage means in accordance with the progress of the accompaniment. And (Fig. 13
SPd3 to 10) conversion means for reading the pitch information read from the second reading means into pitch information of a range set by the octave information read from the first reading means (Spd12 in FIG. 13). Musical tone generating means for generating musical tones corresponding to the pitch information converted by the converting means and (SPd13 in FIG. 13) are provided.

また、請求項4による自動伴奏装置は、 請求項3における演奏態様選択手段が、エンディングを
指示するエンディング指示手段(第9図 SP12、SP13)
であることを特徴とする。
Also, in the automatic accompaniment apparatus according to claim 4, the performance mode selecting means according to claim 3 instructs ending instruction (SP12, SP13 in Fig. 9).
Is characterized in that.

また、請求項5による自動伴奏装置は、 請求項3における演奏態様選択手段が、フィルインを指
示するフィルイン指示手段(P38 114〜17)であること
を特徴とする。
The automatic accompaniment apparatus according to claim 5 is characterized in that the performance mode selecting means according to claim 3 is fill-in instructing means (P38 114 to 17) for instructing fill-in.

「作用」 本願の請求項1の自動伴奏装置によれば、第2の読出し
手段から順次読み出される音高情報を、第1の読出し手
段によって読み出されるオクターブ情報によって設定さ
れる音域内の音高情報に変換し、この変換された音高情
報に基づいて楽音が発生され、伴奏がなされる。
[Operation] According to the automatic accompaniment apparatus of claim 1 of the present application, the pitch information in the range set by the octave information read by the first reading means is set as the pitch information sequentially read by the second reading means. And the musical tone is generated based on the converted pitch information, and accompaniment is performed.

また、請求項2の自動伴奏装置によれば、第2の読出し
手段によって順次読み出される音高情報を、第1の読出
し手段によって読み出されるオクターブ情報によって設
定される音域内の音高情報に変換し、この変換された音
高情報に基づいた音高であり第1の読出し手段によって
読み出される音色情報に対応する音色の楽音が発生さ
れ、伴奏がなされる。
Further, according to the automatic accompaniment apparatus of claim 2, the pitch information sequentially read by the second reading means is converted into the pitch information within the range set by the octave information read by the first reading means. A musical tone of a tone color corresponding to the tone color information read by the first reading means and having a tone pitch based on the converted tone pitch information is generated and accompaniment is performed.

さらに、請求項3に自動伴奏装置によれば、第2の読出
し手段によって順次読み出される音高情報を、演奏態様
選択手段によって選択された演奏態様に対応する音域内
の音高情報に変換し、この変換された音高情報に基づい
て楽音が発生され、伴奏がなされる。
Further, according to the automatic accompaniment apparatus of claim 3, the pitch information sequentially read by the second reading means is converted into pitch information within the pitch range corresponding to the performance mode selected by the performance mode selection means, A musical tone is generated based on the converted pitch information, and accompaniment is performed.

また、請求項4の自動伴奏装置によればエンディング時
において、請求項5の自動伴奏装置によればフィルイン
時において、第2の読出し手段によって順次読み出され
る音高情報を対応する音域内の音高情報に変換し、この
変換された音高情報に基づいて楽音が発生され、伴奏が
なされる。
Further, according to the automatic accompaniment apparatus of claim 4, at the time of ending, and according to the automatic accompaniment apparatus of claim 5, at the time of fill-in, the pitch information sequentially read by the second reading means corresponds to the pitch within the corresponding pitch range. The information is converted into information, and a musical tone is generated based on the converted pitch information, and accompaniment is performed.

「実施例」 以下、図面を参照してこの発明の実施例について説明す
る。
[Examples] Examples of the present invention will be described below with reference to the drawings.

(1:実施例の構成) 第1図は、この発明の一実施例の構成を示すブロック図
である。
(1: Configuration of Embodiment) FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

第1図において、符号1は鍵盤ユニットであり、複数の
キーと、各キーのオン/オフ状態を検出するための複数
のキースイッチと、各キースイッチのキーコードをバス
ラインBに供給するインターフェイス回路とから構成さ
れている。そこで、第2図にキーとキーコードとの対応
関係を示す。第2図は、キーコードを10進表示してあ
り、この図から判るように半音毎にキーコードの数値が
1変化するようになっており、例えば、C1音が「36」、
C3音が「60」となっている。
In FIG. 1, reference numeral 1 is a keyboard unit, a plurality of keys, a plurality of key switches for detecting the on / off state of each key, and an interface for supplying a key code of each key switch to a bus line B. It is composed of a circuit. Therefore, FIG. 2 shows the correspondence between keys and key codes. In Fig. 2, the key code is displayed in decimal, and as can be seen from this figure, the numerical value of the key code changes by 1 for each semitone. For example, C 1 sound is "36",
C 3 sound is “60”.

2は装置各部を制御するCPU(中央処理装置)、3はCPU
2のプログラムが配置されたプログラムメモリ、4は各
種レジスタおよびフラグが設定されるワーキングメモリ
である。なお、ワーキングメモリ4内の各レジスタおよ
びフラグについては、後述する。
2 is a CPU (central processing unit) that controls each part of the device, and 3 is a CPU
The program memory 2 in which the program 2 is arranged is a working memory 4 in which various registers and flags are set. The registers and flags in the working memory 4 will be described later.

次に、符号5は、伴奏音発生の際に使用されるコードパ
ターンPATCおよびベースパターンPATBが記憶されている
パターンメモリである。ここで、第3図にコードパター
ンPATCのフォーマットを示す。
Next, reference numeral 5 is a pattern memory in which a chord pattern PATC and a bass pattern PATB used when an accompaniment sound is generated are stored. Here, the format of the code pattern PATC is shown in FIG.

第3図に示すように、コードパターンPATCは17バイトの
データにより構成されており、各バイトには相対的なア
ドレス「−1」,「0」,「1」,……「15」が設定さ
れている。以下に各アドレスのデータについて説明す
る。
As shown in Fig. 3, the code pattern PATC is composed of 17 bytes of data, and relative addresses "-1", "0", "1", ... "15" are set in each byte. Has been done. The data at each address will be described below.

アドレス「−1」:このアドレスには、和音伴奏の際の
音色を指示する音色データが記憶されている。
Address "-1": This address stores tone color data that indicates a tone color for accompaniment of chords.

アドレス「0」〜「15」:これらの各アドレスには、和
音伴奏の発音態様を指示する発音態様指示データPDが第
0番から第31番まで記憶されている。このように32の発
音態様指示データPD0〜PD31が記憶されているのは、こ
の実施例においては、1小節(4拍子)を16分割して各
分割タイミングにおいて発音制御を行うようにし、か
つ、コードパターンPATCを2小節分のパターンデータと
して構成しているからである。この発音態様指示データ
PDは、16進表示の(0)〜(F)で表され4ビット
のデータであり、各発音タイミングに応じ4ビット単位
で順次使用される。
Addresses "0" to "15": In each of these addresses, the tone generation mode instruction data PD for instructing the tone mode of the chord accompaniment are stored. As described above, the 32 pronunciation mode instruction data PD 0 to PD 31 are stored in this embodiment so that one measure (4 beats) is divided into 16 parts, and sound generation control is performed at each divided timing. Also, the code pattern PATC is configured as pattern data for two measures. This pronunciation mode instruction data
PD is 4-bit data represented by (0) H to (F) H in hexadecimal notation and is sequentially used in 4-bit units according to each sounding timing.

上記フォーマットに従ったコードパターンPATCが、リズ
ム種類およびコードタイプ毎に設けられ、さらにノーマ
ルパターンとエンディングパターンに応じて各々設けら
れている。ここで、ノーマルパターンとは、曲の通常部
分に用いられるパターンであり、エンディングパターン
とは曲の最終部分において用いられるパターンである。
A chord pattern PATC according to the above format is provided for each rhythm type and chord type, and further provided according to a normal pattern and an ending pattern. Here, the normal pattern is a pattern used in the normal part of the song, and the ending pattern is a pattern used in the final part of the song.

次に、第4図はベースパターンPATBのフォーマットを示
す図である。第4図に示すように、ベースパターンPATB
は34バイトのデータである。各バイトには「−2」〜
「31」の相対アドレスが付されている。以下に各アドレ
スのデータについて説明する。
Next, FIG. 4 is a diagram showing a format of the base pattern PATB. As shown in Fig. 4, the base pattern PATB
Is 34 bytes of data. "-2" for each byte
The relative address of "31" is attached. The data at each address will be described below.

アドレス「−2」:このアドレスにはベース演奏の際の
音色を指示する音色データが記憶されている。
Address "-2": At this address, tone color data for instructing a tone color during bass performance is stored.

アドレス「−1」:このアドレスには、ベース演奏の音
高を上昇させて発音させる処理(後述)において、何オ
クターブ上昇させて発音させるかを指示するオクターブ
情報が記憶されている。
Address "-1": This address stores octave information for instructing how many octaves the pitch should be raised in the process of raising the pitch of the bass performance to generate the tone (described later).

アドレス「0」〜「31」には、第5図に示すキー情報が
各々書き込まれている。キー情報は第5図に示すように
8ビットのデータであり、第7ビットがキーのオン/オ
フ(“1"でオン)を示し、第5ビットがアクセント
(“1"で強)を示している。また、第0ビット〜第4ビ
ットには第6図に示すように「−6」〜「+15」の数値
データNDが書き込まれるようになっている。なお、第6
図に示すように負数については2の補数表示になってい
る。また、キー情報が、(FF)のときは何もせずその
前の状態を維持することを示し、(00)のときはキー
オフを指示する。
The key information shown in FIG. 5 is written in each of the addresses "0" to "31". The key information is 8-bit data as shown in FIG. 5, the 7th bit indicates ON / OFF of the key (“1” indicates ON), and the 5th bit indicates accent (“1” indicates strong). ing. Further, the numerical data ND of "-6" to "+15" are written in the 0th bit to the 4th bit as shown in FIG. The sixth
As shown in the figure, negative numbers are displayed in 2's complement. Further, when the key information is (FF) H , it indicates that nothing is done and the previous state is maintained, and when it is (00) H , the key-off is instructed.

これらのキー情報は、発音態様指示データPD(第3図参
照)と同様に、1小節当たり16個で2小節分設けられて
いる。さらに、上記ベースパターンPATABは、リズム種
類およびコードタイプに毎に設けられており、さらに、
ノーマルパターンとエンディングパターンに毎に設けら
れている。
Similar to the tone generation mode instruction data PD (see FIG. 3), these pieces of key information are provided for 16 measures per measure for 2 measures. Further, the bass pattern PATAB is provided for each rhythm type and chord type.
It is provided for each of the normal pattern and the ending pattern.

次に、第1図に示すテーブルメモリ6には、第7図に示
すようなテーブルが記憶されている。このテーブルはア
ドレス(0)〜(E)のエリアを有し、各アドレス
には発音チャンネルch0〜ch2に対応して所定の数値が書
き込まれている。ここで、発音チャンネルch0〜ch2は、
第1図に示すトーンジェネレータ12内に設けられ、指定
された音高および音色によって楽音信号を作成するもの
であり、コード伴奏の発音を行うものである。この場
合、発音チャンネルch0は和音の最低音あるいは根音を
発音し、チャンネルch2は最高音を発音し、チャンネルc
h1は最高音から2番目の音を発音する。
Next, the table memory 6 shown in FIG. 1 stores a table as shown in FIG. This table has areas of addresses (0) H to (E) H , and a predetermined numerical value is written in each address corresponding to the tone generation channels ch0 to ch2. Here, the pronunciation channels ch0-ch2 are
It is provided in the tone generator 12 shown in FIG. 1 to create a musical tone signal with a specified pitch and tone color, and to produce a chord accompaniment. In this case, the pronunciation channel ch0 produces the lowest or root note of the chord, the channel ch2 produces the highest note, and the channel c
h1 sounds the second highest note.

また、第7図に示すアドレス(0)〜(E)は発音
態様指示データに対応するようになっており、すなわ
ち、発音態様指示データPDが(0)、(1)……
(E)のときはテーブルメモリ6のアドレス
(0)、(1)……(E)が選択されるようにな
っている。このように、発音態様指示データPDの内容に
よって、テーブルメモリ6内のデータが一義的に選択さ
れるようになっている。そして、テーブルメモリ6内の
データによって各発音チャンネルch0〜ch2の発音処理が
決定されるようになっている。
Further, the addresses (0) H to (E) H shown in FIG. 7 correspond to the sounding mode instruction data, that is, the sounding mode instruction data PD is (0) H , (1) H ...
In the case of (E) H , the addresses (0) H , (1) H ... (E) H of the table memory 6 are selected. As described above, the data in the table memory 6 is uniquely selected according to the content of the tone generation mode instruction data PD. Then, the tone generation processing of each tone generation channel ch0 to ch2 is determined by the data in the table memory 6.

ここで、発音態様指示データPDと、各発音チャンネルch
0〜ch2における発音処理の情況を第8図に示す。
Here, the pronunciation mode instruction data PD and each sound channel ch
FIG. 8 shows the situation of sound generation processing in 0 to ch2.

次に、第1図における7は、テンポクロック発生器であ
り、自動演奏者のテンポの基となる一定周期のテンポク
ロックTPをCPU2へ出力する。このテンポクロックTPによ
ってCPU2に割込みがかかる。この場合、テンポクロック
TPの周期は、CPU2からバスラインBを介して供給される
テンポデータTDに応じて決まる。
Next, 7 in FIG. 1 is a tempo clock generator, which outputs to the CPU 2 a tempo clock TP having a constant cycle which is the basis of the tempo of the automatic performer. CPU2 is interrupted by this tempo clock TP. In this case, the tempo clock
The cycle of TP is determined according to the tempo data TD supplied from the CPU 2 via the bus line B.

10は、リズム選択スイッチ、リズムスタート/ストップ
スイッチ、音色選択スイッチ、および各種効果選択スイ
ッチ等(図示略)およびエンディングスイッチSWEから
構成されているスイッチ群である。12は、トーンジェネ
レータであり、鍵盤回路1の押鍵/離鍵に従ってCPU2か
ら発せられるキーオン/キーオフ情報に基づいてプレー
ヤの鍵演奏に対応する楽音を発生するとともに、発音チ
ャンネルch0〜ch2によって和音伴奏を行い、さらに、発
音チャンネルch3によってベース演奏を行うようになっ
ている。
A switch group 10 is composed of a rhythm selection switch, a rhythm start / stop switch, a tone color selection switch, various effect selection switches and the like (not shown), and an ending switch SWE. A tone generator 12 generates musical tones corresponding to the key performance of the player based on the key-on / key-off information issued from the CPU 2 according to the key press / release of the keyboard circuit 1, and accompaniment chords by the sound generation channels ch0 to ch2. In addition, a bass performance is performed by the sound generation channel ch3.

また、トーンジェネレータ12は、パーカッション系のリ
ズム音源を有しており、選択されたリズムに対応するリ
ズム音を、テンポクロックTPに従って発生するようにな
っている。
Further, the tone generator 12 has a percussion-type rhythm sound source and generates a rhythm sound corresponding to the selected rhythm in accordance with the tempo clock TP.

ここで、上述したワーキングメモリ4内の各種レジスタ
およびフラグの主なものについて説明する。
Here, the main ones of the various registers and flags in the working memory 4 described above will be described.

フラグRUN:自動伴奏走行時に“1"、停止時に“0"が書き
込まれる。
Flag RUN: "1" is written when running with automatic accompaniment, and "0" is written when stopped.

レジスタCLK:テンポクロックTPのカウント数が書き込ま
れるレジスタであり、各小節毎に「0」〜「15」の値が
サイクリックに書き込まれる。
Register CLK: A register in which the count number of the tempo clock TP is written, and values of “0” to “15” are cyclically written for each bar.

キーコードバッファKCBUF0〜2:各々押鍵されたキー
のキーコードが書き込まれるレジスタである。
Key code buffer KCBUF 0-2 : A register in which the key code of each key pressed is written.

レジスタROOT:根音データが書き込まれる4ビットのレ
ジスタである。根音データは「0」,「1」,……「1
1」のデータであり、C音、#音、……B音に対応す
る。
Register ROOT: A 4-bit register to which root note data is written. The root data is "0", "1", ... "1"
It is data of "1" and corresponds to C sound, # sound, ... B sound.

レジスタTYPE:コードタイプデータが書き込まれるレジ
スタである。コードタイプデータは、メジャーM、マイ
ナm、セブンス7th等に応じたデータである。
Register TYPE: A register into which code type data is written. The chord type data is data corresponding to major M, minor m, 7th 7th, etc.

レジスタDT:発音態様指示データPDが書き込まれるレジ
スタである。
Register DT: A register in which the tone generation mode instruction data PD is written.

レジスタKEY0〜2:トーンジェネレータ12内の発音チ
ャンネルch0〜ch2に対応して設けられているキーコード
バッファである。このレジスタKEY0〜KEY2に書き込まれ
るキーコードによって発音チャンネルch0〜ch2が発音す
る音の音高が決定される。
Register KEY 0 to 2: a key code buffers are provided corresponding to the sound channel ch0~ch2 tone generator 12. This register KEY 0 ~KEY sound channel ch0~ch2 by the key code to be written in 2 pitch of drum sounds is determined.

フラグEND:エンディングパターンによる演奏を指示する
フラグである。
Flag END: This is a flag for instructing performance by the ending pattern.

フラグTEND:エンデングスイッチSWEが操作されると“1"
が立てられるフラグである。
Flag TEND: "1" when the ending switch SWE is operated
Is a flag that can be set.

フラグBAR:小節線の経過を示すフラグである。Flag BAR: A flag indicating the progress of the bar line.

レジスタRHY:リズム種を示すデータが書き込まれるレジ
スタである。
Register RHY: A register into which data indicating the rhythm type is written.

レジスタBS、BASS:ベースパターンPATB内のキー情報
(第4図参照)が書き込まれるレジスタである。
Registers BS and BASS: Registers in which key information (see FIG. 4) in the base pattern PATB is written.

レジスタDKC:後述する音程変換処理の際に用いられるレ
ジスタである。
Register DKC: A register used in the pitch conversion process described later.

レジスタOCT:第4図に示すオクターブ情報が書き込まれ
るレジスタである。
Register OCT: A register into which the octave information shown in FIG. 4 is written.

レジスタTONECおよびレジスタTONEB:各々第3図および
第4図に示す音色データが書き込まれるレジスタであ
る。
Register TONEC and register TONEB: registers to which the tone color data shown in FIGS. 3 and 4 are written.

以上がワーキングメモリ4内に設けられている主なレジ
スタ、フラグ等である。
The above are the main registers and flags provided in the working memory 4.

(2:実施例の動作) 次に、上記構成によるこの実施例の動作について説明す
る。
(2: Operation of Embodiment) Next, the operation of this embodiment having the above configuration will be described.

メイン処理 第9図に示すステップSP1においてはイニシャライズ処
理が行われ、レジスタTEND、キーコードバッファKCBUF
およびフラグRUNをクリアする。そして、ステップSP2に
進み、スタートスイッチがオンされたか否かが判定され
る。この判定が「YES」のときはステップSP3に至り、フ
ラグRUNの内容を反転する。このステップSP2、SP3の処
理により、スタートスイッチが押される毎にフラグRUN
の内容が反転する。次に、ステップSP4に移ると、フラ
グRUNの内容が“1"か否かが判定され、「NO」であれば
自動伴奏の停止が指示されている場合であるので、ステ
ップSP5に移ってトーンジェネレータ12内の発音チャン
ネルch0〜ch3をキーオフする。また、ステップSP4の判
定が「YES」の場合は、自動伴奏のスタートが指示され
た場合であるのでステップSP6に移ってレジスタCLK、フ
ラグBAR,TEND,ENDをクリアする。ステップSP5,SP6の処
理は後は、ステップSP7に移りリズムセレクトスイッチ
が操作されたか否かを判定する。一方、ステップSP2の
判定が「NO」の場合は、スタートスイッチが操作されて
いない場合であるから、上記処理を行わず直ちに、ステ
ップSP7に移る。
Main processing In step SP1 shown in FIG. 9, initialization processing is performed, and register TEND and key code buffer KCBUF
And clear the flag RUN. Then, in step SP2, it is determined whether or not the start switch is turned on. If this determination is "YES", the process proceeds to step SP3 and the contents of the flag RUN are inverted. By the processing of steps SP2 and SP3, the flag RUN is run every time the start switch is pressed.
The contents of are reversed. Next, in step SP4, it is determined whether or not the content of the flag RUN is "1". If "NO", it means that the automatic accompaniment stop is instructed. Key off the sound generation channels ch0 to ch3 in the generator 12. If the determination in step SP4 is "YES", it means that the start of automatic accompaniment is instructed. Therefore, the process proceeds to step SP6 and the register CLK and the flags BAR, TEND and END are cleared. After the processing of steps SP5 and SP6, the process moves to step SP7 and it is determined whether or not the rhythm select switch is operated. On the other hand, if the determination in step SP2 is "NO", it means that the start switch has not been operated, so the process immediately proceeds to step SP7 without performing the above process.

ステップSP7の判定が「YES」の場合は、新たに選択され
たリズムに対応するデータをレジスタRHYに書き込み
(ステップSP8)、音色変更処理(第10図)に進む。た
だし、未だキーが操作されていないうちには音色変更処
理は行わず、ステップSP8の後にステップSP9に進み、キ
ーイベントがあったか否かを判定する。ここで、キーイ
ベントとは、キーの操作の変化のことをいい、オフから
オンへのキーオンイベントと、オンからオフへのキーオ
フイベントとがある。
If the determination in step SP7 is "YES", the data corresponding to the newly selected rhythm is written in the register RHY (step SP8), and the tone color changing process (Fig. 10) is proceeded to. However, the tone color changing process is not performed before the key is operated, and the process proceeds to step SP9 after step SP8 to determine whether or not there is a key event. Here, a key event refers to a change in key operation, and includes a key-on event from off to on and a key-off event from on to off.

一方、ステップSP7において「NO」と判定された場合
は、直ちにステップSP9に至る。ステップSP9の判定が
「YES」の場合は、ステップSP10に進み、キーオンイベ
ントのあったキーのキーコードを、後者優先で3音まで
キーコードバッファKCBUF0〜2に記憶する。次に、ス
テップSP11に移り、キーコードバッファKCBUF0〜2
のキーコードに基づいてコードタイプおよび根音を検出
し、検出したコードタイプデータをレジスタTYPEに書き
込み、根音データをレジスタROOTに書き込む。このステ
ップSP11の処理が終わると、音色変更処理に進む。一
方、ステップSP9で「NO」と判定されると、ステップSP1
2に進み、エンディングスイッチSWEが押されたか否かを
判定し、「YES」であればステップSP13に進んでフラグT
ENDに“1"を立ててからステップSP14に進み、ステップS
P12の判定が「NO」であれば、直ちにステップSP14に進
む。
On the other hand, if it is determined "NO" in step SP7, the process immediately goes to step SP9. If the determination in step SP9 is "YES", the flow proceeds to step SP10, and the key code of the key having the key-on event is stored in the key code buffers KCBUF 0-2 up to three notes with the latter priority. Next, in step SP11, the chord type and root note are detected based on the key code in the key code buffers KCBUF 0-2 , the detected chord type data is written in the register TYPE, and the root note data is written in the register ROOT. . When the processing of this step SP11 is completed, it proceeds to the tone color changing processing. On the other hand, if “NO” is determined in step SP9, step SP1
2 to determine whether the ending switch SWE has been pressed, and if "YES", proceed to step SP13 to set the flag T
Set "1" to END, then proceed to step SP14, step S
If the determination in P12 is "NO", the process immediately proceeds to step SP14.

ステップSP14においては、スイッチ群10内の他のスイッ
チの操作に応じた処理、すなわち、テンポ、音量等の設
定/変更が行われる。
In step SP14, processing corresponding to the operation of another switch in the switch group 10, that is, setting / changing of tempo, volume, etc. is performed.

音色変更処理 次に、音色変更処理について第10図を参照して説明す
る。
Tone Color Changing Process Next, the tone color changing process will be described with reference to FIG.

始めに、ステップSPa1において、レジスタRHY、TYPE、E
NDの各内容によって特定されるコードパターンPATC、ベ
ースパターンPATB(第3図、第4図参照)を選択する。
なお、レジスタENDは、初期状態においてはリセットさ
れており、第11図に示すステップSPb8、SPb9の処理が行
われると、セットされるようになっている。そして、レ
ジスタTONEBにベースパターンPATBのアドレス「−2」
にある音色データを書き込み(ステップSPa2)、レジス
タTONECにコードパターンPATCのアドレス「−1」にあ
る音色データを書き込む(ステップSPa3)。次に、ステ
ップSPa4において、発音チャンネルch0〜ch2の音色をレ
ジスタTONEC内の音色データに従って設定し、発音チャ
ンネルch3の音色をレジスタTONEB内の音色データに従っ
て設定する。この処理が終わると、メイン処理にリター
ンする。
First, in step SPa1, register RHY, TYPE, E
A code pattern PATC and a base pattern PATB (see FIGS. 3 and 4) specified by each content of ND are selected.
The register END is reset in the initial state, and is set when the processing of steps SPb8 and SPb9 shown in FIG. 11 is performed. Then, the address "-2" of the base pattern PATB is set in the register TONEB.
The tone color data at the address "-1" of the code pattern PATC is written to the register TONEC (step SPa3). Next, in step SPa4, the tone colors of the tone generation channels ch0 to ch2 are set according to the tone color data in the register TONEC, and the tone colors of the tone generation channel ch3 are set according to the tone color data in the register TONEB. When this process ends, the process returns to the main process.

割込処理 次に、第11図を参照して割込処理について説明する。上
述した音色変更処理により、選択されたリズム、押鍵さ
れたコードのタイプおよびエンディングモードか否かに
応じたコードパターンTONECおよびベースパターンTONEB
が選択される。そして、これらの選択されたパターンに
よる自動伴奏は、第1図に示すテンポパルスTPに基づい
て行われる。すなわち、テンポパルスTPが供給される毎
に、CPU2に割り込みがかかり、第11図に示す割込処理が
行われ、この処理において発音、消音、前回状態の継続
等の自動伴奏処理が行われる。以下に割込処理について
説明する。
Interrupt Process Next, the interrupt process will be described with reference to FIG. By the tone change processing described above, the chord pattern TONEC and the bass pattern TONEB depending on the selected rhythm, the type of chord pressed and the ending mode.
Is selected. The automatic accompaniment by these selected patterns is performed based on the tempo pulse TP shown in FIG. That is, every time the tempo pulse TP is supplied, the CPU 2 is interrupted, and the interrupt processing shown in FIG. 11 is performed. In this processing, automatic accompaniment processing such as sound generation, mute, and continuation of the previous state is performed. The interrupt process will be described below.

まず、ステップSPb1においては、フラグRUNが“1"か否
かを判定し、「NO」であれば自動伴奏の停止が指示され
ているので、何の処理も行わず直ちにリターンする。ス
テップSPb1の判定が「YES」であれば、ステップSPb2に
移り、レジスタRHY内のリズムデータによって指示され
ているリズム種のリズム発音処理(パーカッション系の
音)が行われる。この発音処理は、トーンジェネレータ
12内のリズム音用の発音チャンネルによって行われ、レ
ジスタCLKの値によって指示されるタイミングでリズム
音源の発音がなされる。また、レジスタENDの内容に基
づきノーマルまたはエンディングのいずれかのパターン
によるリズム音処理を行う。このリズム音処理の後は、
コード演奏を行うコード処理と、ベース演奏を行うベー
ス処理に移る。
First, in step SPb1, it is determined whether or not the flag RUN is "1", and if "NO", it is instructed to stop the automatic accompaniment, so that no processing is performed and the process immediately returns. If the determination in step SPb1 is "YES", the process proceeds to step SPb2, and the rhythm sounding process (percussion sound) of the rhythm type designated by the rhythm data in the register RHY is performed. This pronunciation process is a tone generator
The sounding channel for the rhythm sound in 12 is used to sound the rhythm sound source at the timing indicated by the value of the register CLK. In addition, rhythm sound processing is performed according to the normal or ending pattern based on the contents of the register END. After this rhythm sound processing,
The process moves to chord processing for chord performance and bass processing for bass performance.

(イ)コード処理 まず、第12図に示すステップSPc1においは、ステップSP
10(第9図参照)で書き込んだキーコードバッファKCBU
F0〜2内のキーコードを低温順にレジスタKEY0〜2
書き込む。次に、ステップSPc2に移り、レジスタCLK2に
(BAR×16+CLK)の演算結果を書き込む。フラグBARの
値は、自動伴奏開始時にはステップSP6の処理により
“0"となっているから、この場合にはレジスタCLK2には
レジスタCLKの内容がそのまま書き込まれる。また、フ
ラグBARの内容が“1"となっているときは、16+CLKの内
容が書き込まれる。このステップSPc2の処理は、レジス
タCLKの内容から発音態様指示データPDの番号を作成す
る処理である。
(A) Code processing First, in step SPc1 shown in FIG. 12, step SP
Key code buffer KCBU written in 10 (see Fig. 9)
The keycode F within 0-2 write to a low temperature in order to register KEY 0-2. Next, in step SPc2, the calculation result of (BAR × 16 + CLK) is written in the register CLK2. Since the value of the flag BAR is "0" by the processing of step SP6 at the start of automatic accompaniment, in this case, the content of the register CLK is directly written in the register CLK2. When the content of the flag BAR is "1", the content of 16 + CLK is written. The process of step SPc2 is a process of creating the number of the tone generation mode instruction data PD from the content of the register CLK.

次に、ステップSPc3に至ると、レジスタCLK2の内容が偶
数か否かが判定され「YES」であればステップSPc4に移
ってコードパターンPATCのアドレス「CLK2/2」の下位4
ビットにある発音態様指示データPDをレジスタDTに書き
込み、「NO」であればステップSPc5に移ってコードパタ
ーンPATCのアドレス「(CLK2−1)/2」の上位4ビット
にある発音態様指示データをレジスタDTに書き込む。
Next, at step SPc3, it is determined whether or not the content of the register CLK2 is an even number, and if "YES", the process moves to step SPc4 and the lower 4 bits of the address "CLK2 / 2" of the code pattern PATC.
The tone generation mode instruction data PD in the bit is written in the register DT, and if "NO", the process proceeds to step SPc5 to output the tone mode instruction data in the upper 4 bits of the address "(CLK2-1) / 2" of the code pattern PATC. Write to register DT.

上記ステップSPc3〜SPc5の処理により、レジスタCLK2の
値に一致した番号の発音態様指示データPDがレジスタDT
に書き込まれる。例えば、レジスタCLK2の内容が「3」
であれば、アドレス「1」の上位4ビットにある発音態
様指示データPD3が書き込まれ、また、レジスタCLK2の
内容が「30」であればアドレス「15」の下位4ビットに
ある発音態様指示データPD30が書き込まれる。
By the processing of the above steps SPc3 to SPc5, the tone generation mode instruction data PD of the number that matches the value of the register CLK2 is registered in the register DT.
Written in. For example, the content of register CLK2 is "3"
If so, the pronunciation mode instruction data PD 3 in the upper 4 bits of the address “1” is written, and if the content of the register CLK2 is “30”, the pronunciation mode instruction in the lower 4 bits of the address “15” is written. The data PD 30 is written.

次に、ステップSPc6に進み、レジスタDT内の発音態様指
示データが(8)〜(E)か否かが判断される。こ
の判断は、発音態様指示データPDが根音についての特別
な処理を指示するものであるか否かの判断であり、第8
図に示すように上記範囲内にあれば特別な処理が必要と
なる。ステップSPc6の判定が「YES」の場合は、ステッ
プSPc7においてレジスタiを1にセットした後、ステッ
プSPc8に移り、KEYi.MOD.12なる演算の結果が根音と等
しいか否かを判定する。ここで、KEYi.MOD.12なる演算
は、レジスタKEYiを12で除した余りを求める演算であ
り、キーコードを「0」〜「11」の数値に変換する。そ
して、この演算結果とステップSP11でレジスタROOTに書
き込んだ根音データ(「0」〜「11」の数値)とを比較
する。そして、ステップSPc8の判定が「YES」であれ
ば、ステップSPc10に進んでレジスタKEYiのキーコード
とレジスタKEY0のキーコードを入れ換える。ステップSP
c8の判定が「NO」の場合はステップSPc9においてレジス
タiをインクリメントしてステップSPc8の判定を再度行
う。上記処理によってレジスタROOT内の根音データが示
す音名とオクターブの関係にある根音のキーコードがレ
ジスタKEY0に書き込まれる。
Next, in step SPc6, it is determined whether the tone generation mode instruction data in the register DT is (8) H to (E) H. This determination is a determination as to whether or not the pronunciation mode instruction data PD indicates a special process for the root note.
As shown in the figure, if it is within the above range, special processing is required. If the determination in step SPc6 is "YES", after setting the register i to 1 in step SPc7, the process proceeds to step SPc8 and it is determined whether or not the result of the operation KEYi.MOD.12 is equal to the root note. Here, the operation KEYi.MOD.12 is an operation for obtaining the remainder obtained by dividing the register KEYi by 12, and converts the key code into a numerical value of "0" to "11". Then, this calculation result is compared with the root note data (numerical values "0" to "11") written in the register ROOT in step SP11. Then, if the determination in step SPc8 is "YES", replacing the key code of the key code and the register KEY 0 of the register KEYi proceeds to step SPc10. Step SP
If the determination at c8 is "NO", the register i is incremented at step SPc9 and the determination at step SPc8 is performed again. By the above processing, the key code of the root note having an octave relationship with the note name indicated by the root note data in the register ROOT is written in the register KEY 0 .

ステップSPc10の処理後およびステップSPc6で「NO」と
なった場合にはステップSPc11に進み、その時点におけ
る発音態様指示データPDが(F)か否か、すなわち
「何もしない」が指示されているか否かが判定される。
この判定が「YES」の場合は、発音あるいは消音処理等
を一切行わず直ちにリターンする。ステップSPc11で「N
O」と判定された場合は、ステップSPc12でレジスタiを
クリアした後に、ステップSPc13に移る。ステップSPc13
においては、第7図に示すテーブル中のレジスタDTの内
容(=発音態様指示データPD)に一致するアドレスであ
って、チャンネル番号iの位置にあるデータが読出さ
れ、これがレジスタDKCに書き込まれる。この場合、ス
テップSPc12の処理によってi=0であるから、最初の
ステップSPc13の処理においてレジスタDKCに書き込まれ
るデータは、レジスタDT内の発音態様指示データPDと同
一のアドレスで、発音チャンネルch0に該当するデータ
である。例えば、発音態様指示データPDが(0)であ
れば「128」、(A)であれば「232」が書き込まれ
る。次に、ステップSPc14に移りレジスタDKCの内容が
「128」か否かが判定され、「YES」であればステップSP
c15に移って発音チャンネルchiをキーオフする。すなわ
ち、この実施例では「128」をキーオフを指示するデー
タとしている。このステップSPc15の処理が終わると、
ステップSPc16においてレジスタiをインクリメント
し、その後にステップSPc17介してステップSPc13に戻
る。ステップSPc17の処理は、レジスタiの値が3未満
か否かを判定する処理であり、ステップSPc16の処理が
3回行われないうちは「YES」となる。
After the processing of step SPc10 and if "NO" in step SPc6, the process proceeds to step SPc11, and it is instructed whether or not the sounding mode instruction data PD at that time is (F) H , that is, "do nothing". It is determined whether or not there is.
If this determination is "YES", no sounding or muffling processing is performed and the process immediately returns. In step SPc11, click `` N
If it is determined to be "O", the register i is cleared in step SPc12, and then the process proceeds to step SPc13. Step SPc13
In FIG. 7, the data at the address of the channel number i, which is the address matching the contents of the register DT (= sound generation mode instruction data PD) in the table shown in FIG. 7, is read and written in the register DKC. In this case, since i = 0 by the processing of step SPc12, the data written in the register DKC in the first processing of step SPc13 has the same address as the tone generation mode instruction data PD in the register DT and corresponds to the tone generation channel ch0. Data to For example, “128” is written if the pronunciation mode instruction data PD is (0) H , and “232” is written if it is (A) H. Next, in step SPc14, it is determined whether or not the content of the register DKC is "128". If "YES", step SPc
Move to c15 and key off the sound generation channel chi. That is, in this embodiment, "128" is used as the key-off instruction data. When the processing of this step SPc15 ends,
The register i is incremented in step SPc16, and then the process returns to step SPc13 via step SPc17. The process of step SPc17 is a process of determining whether or not the value of the register i is less than 3, and becomes "YES" unless the process of step SPc16 is performed three times.

一方、ステップSPc14において「NO」となると、ステッ
プSPc18に移って、レジスタKEYiの値にレジスタDKCの内
容が加算され、この加算結果がレジスタKCに書き込まれ
る。そして、ステップSPc19に進み、レジスタKC内のキ
ーコードにより発音チャンネルchiをキーオンし、ステ
ップSPc16に進む。
On the other hand, if “NO” in the step SPc14, the process moves to the step SPc18, the content of the register DKC is added to the value of the register KEYi, and the addition result is written in the register KC. Then, the process proceeds to step SPc19, the tone generation channel chi is keyed on by the key code in the register KC, and the process proceeds to step SPc16.

ここで、レジスタDKCの内容による発音態様について説
明する。レジスタDKCに書き込まれるデータの値は、第
7図に示すように「128」以外に6通りあり、その場合
の発音態様は以下の通りである。
Here, the pronunciation mode according to the contents of the register DKC will be described. There are 6 data values written in the register DKC other than "128" as shown in FIG. 7, and the tone generation mode in that case is as follows.

「0」の場合 レジスタDKCに書き込まれるデータが「0」の場合は、
レジスタSPc18の処理によりレジスタKCにはレジスタKEY
i内のキーコードがそのまま書き込まれる。したがっ
て、レジスタKEYi内のキーコードによって発音チャンネ
ルchiが発音する。
When it is "0" When the data written to the register DKC is "0",
Register KEY to register KC by processing of register SPc18
The key code in i is written as it is. Therefore, the sound channel chi is sounded by the key code in the register KEYi.

「2」の場合 ステップSPc18の処理によってレジスタKEYi内のキーコ
ードに「2」が加算されると、発音チャンネルchiが発
音する音は、全音分(半音×2)上昇した音高となる。
In the case of "2" When "2" is added to the key code in the register KEYi by the processing of step SPc18, the pitch of the sound generated by the sound generation channel chi becomes a pitch raised by a whole pitch (semitone x 2).

「232」の場合 この場合は、ステップSPc18の演算結果が、「255」を超
える。すなわち、レジスタKEYiに書き込まれているキー
コードは、伴奏音域にあるキーのキーコードであり、通
常はC3音以上の音高のものである。そして、加算値が
「255」を超えるとレジスタKCが8ビットで構成されて
いるため、オバーフロー分は無視され、結果的には加算
値から「256」を減算した残りがレジスタKCの内容とな
る。例えば、キーコードが「60(C3音)」の場合は、加
算値は「292」となるが、レジスタKCの内容は「36」と
なる。この「36」という値は、第2図に示すようにC1
のキーコードである。すなわち、C3音の2オクターブ下
の音であるC1音が、発音チャンネルchiから発音され
る。このようにレジスタDKCの内容が「232」の場合は、
レジスタKEYi内のキーコードによって指定される音の2
オクターブ下の音が発せられる。
In the case of "232" In this case, the calculation result of step SPc18 exceeds "255". That is, the key code written in the register KEYi is a key code of a key in the accompaniment tone range, and usually has a pitch of C 3 notes or more. Then, when the added value exceeds "255", the register KC is configured with 8 bits, so the overflow amount is ignored, and as a result, the remainder obtained by subtracting "256" from the added value becomes the content of the register KC. . For example, when the key code is "60 (C 3 notes)", the added value is "292", but the content of the register KC is "36". The value "36" is the key code of the C 1 note as shown in FIG. That is, the C 1 note, which is a note two octaves below the C 3 note, is sounded from the sounding channel chi. When the contents of register DKC is "232",
2 of the sound specified by the key code in register KEYi
The sound below the octave is emitted.

「251」の場合 この場合も上述と同様に、加算値から「256」を減算し
た値がレジスタKCに書き込まれる。例えば、キーコード
が「60(C3音)」の場合は、「55(=311−256)」が書
き込まれる。このキーコード「55」は、G2音のキーコー
ドであり、C3音に対し4度下の音である。このように、
レジスタDKCの内容が「251」の場合は、レジスタKC内の
キーコードによって指定される音の4度下の音が発音さ
れる。
In the case of “251” In this case as well, the value obtained by subtracting “256” from the added value is written in the register KC in the same manner as above. For example, if the key code is "60 (C 3 sound)", "55 (= 311-256)" it is written. This key code "55" is a key code of G 2 note, which is a note 4 degrees below the C 3 note. in this way,
When the content of the register DKC is “251”, the sound 4 degrees below the sound specified by the key code in the register KC is sounded.

「255」の場合 上記と同様に、レジスタKEYiとレジスタDKCの加算結果
から「256」を引いた値がレジスタKCに書き込まれる。
例えば、キーコードが「60」の場合は、「59(=315−2
56)」が書き込まれる。この「59」はB2のキーコードで
ある。すなわち、レジスタDKCの内容が「255」の場合
は、レジスタKEYi内のキーコードによって指定される音
の半音下の音が発せられる。
In the case of "255" As in the above case, the value obtained by subtracting "256" from the addition result of the register KEYi and the register DKC is written in the register KC.
For example, when the key code is "60", "59 (= 315-2
56) ”is written. This "59" is the key code of the B 2. That is, when the content of the register DKC is "255", a sound which is a semitone lower than the sound specified by the key code in the register KEYi is emitted.

「239」の場合 この場合は、上記の処理とほぼ同様であるが、数値が
7大きいため、根音の2オクターブ下の音の5度上の音
の発生が指示される。
In the case of "239" In this case, the processing is almost the same as the above processing, but since the numerical value is 7 larger, the generation of a sound 5 degrees above the sound two octaves below the root sound is instructed.

そして、上記〜の処理が行われると、第7図に示す
テーブルのデータによって第8図に示す発音処理がなさ
れる。この場合、各図から判るように発音態様指示デー
タPDが(8)〜(E)のときは、根音のみを処理す
るので、根音を決められたチャンネルに割り当てておく
ようした方が処理上有利である。この実施例では、ステ
ップSPc8,SPc9,Spc10の処理によって根音データをレジ
スタKEY0に入れ換えることにより、根音を発音チャンネ
ルch0でに割り当てるようにしている。
Then, when the above-mentioned processes (1) to (4) are performed, the sound generation process shown in FIG. In this case, as can be seen from the figures, when the pronunciation mode instruction data PD is (8) H to (E) H , only the root note is processed, so the root note should be assigned to the determined channel. Is advantageous in terms of processing. In this embodiment, the root note is assigned to the tone generation channel ch0 by replacing the root note data in the register KEY 0 by the processing of steps SPc8, SPc9 and Spc10.

上述のようにステップSPc15もしくはステップSPc19にお
いて、発音チャンネルch0から順次、消音もしくは発音
処理をしていく。そして、チャンネルch0〜2の発音処
理が全て終わると、ステップSPc17の判定が「NO」とな
ってリターンし、第13図に示すベース処理に進む。
As described above, in step SPc15 or step SPc19, mute or sound generation processing is sequentially performed from the sound generation channel ch0. Then, when all the sound generation processing of the channels ch0 to 2 is completed, the determination at step SPc17 becomes "NO" and the routine returns, and the routine proceeds to the base processing shown in FIG.

(ロ)ベース処理 まず、第13図に示すステップSPd1においてレジスタCLK2
に(BAR×16+CLK)の演算結果を書き込む。この処理
は、前述したステップSPc2の処理と同様の処理である。
次に、ステップSPd2に移り、ステップSPa1で選択したベ
ースパターンPATBのアドレス「−1」にあるオクターブ
情報をレジスタOCTに書き込む。そして、ステップSPd3
においてベースパターンPATBのアドレス「CLK2の内容」
にあるキー情報をレジスタBSに書き込む。次に、ステッ
プSPd4に移りレジスタBS内のキー情報が(FF)か否か
が検出される。そして、「YES」の場合は、前述のよう
に「何もしない」が指示されている場合であるから、以
下の処理を行わず直ちにリターンする。一方、ステップ
SPd4の判定が「NO」の場合は、ステップSPd5に移り、レ
ジスタBS内のキー情報が(00)か否かが検出される。
この判定が「YES」の場合は、前述のようにキーオフが
指示されているので、発音チャンネルch3をキーオフし
(ステップSPd6)、その後にリターンする。ステップSP
d5の判定が「NO」の場合は、ステップSPd7に移り、レジ
スタDKCにレジスタBSの下位5ビットを書き込む。この
下位5ビットのデータは、第5図に示すようにキー情報
中の数値データNDである。そして、ステップSPd8に進
み、レジスタROOT内の根音データに「12」およびレジス
タDKCの内容を加算し、その結果をレジスタBASSに書き
込む。さらに、レジスタBASSの下位5ビットのみを再び
レジスタBASSに書き込む。すなわち、ステップンSPd8に
おいて書き込んだ演算結果の上位3ビットをクリアす
る。上記ステップSPd8,SPd9の処理は、根音データの1
オクターブ上の値と数値データNDとの代数和を算出する
処理である。例えば、根音データが「0(C音)」のと
きに、数値データNDが「2」であれば演算結果は「14」
となり、数値データNDが「−2」であれば演算結果は
「10」となる。
(B) Base processing First, in step SPd1 shown in FIG. 13, register CLK2
Write the calculation result of (BAR x 16 + CLK) to. This process is similar to the process of step SPc2 described above.
Next, in step SPd2, the octave information at the address "-1" of the base pattern PATB selected in step SPa1 is written in the register OCT. And step SPd3
Address of base pattern PATB at "contents of CLK2"
Write the key information in the register BS to the register BS. Next, in step SPd4, it is detected whether the key information in the register BS is (FF) H. Then, in the case of "YES", since "do nothing" is instructed as described above, the following processing is not performed and the process immediately returns. Meanwhile, step
If the determination of SPd4 is "NO", the process proceeds to step SPd5, and it is detected whether the key information in the register BS is (00) H.
If this determination is "YES", the key-off is instructed as described above, so the tone generation channel ch3 is key-off (step SPd6), and then the process returns. Step SP
When the determination of d5 is "NO", the process proceeds to step SPd7 and the lower 5 bits of the register BS is written in the register DKC. This lower 5 bits of data is the numerical data ND in the key information as shown in FIG. Then, in step SPd8, "12" and the contents of the register DKC are added to the root note data in the register ROOT, and the result is written in the register BASS. Further, only the lower 5 bits of the register BASS are written in the register BASS again. That is, the upper 3 bits of the operation result written in Stepon SPd8 are cleared. The processing of the above steps SPd8 and SPd9 is 1
This is a process of calculating the algebraic sum of the value on the octave and the numerical data ND. For example, when the root data is "0 (C sound)" and the numerical data ND is "2", the calculation result is "14".
If the numerical data ND is "-2", the operation result is "10".

次に、ステップSPd10においては図示の演算が行われ、
その演算結果がレジスタBASSに書き込まれる。この演算
は、ステップSPd9の処理によってレジスタBASSに書き込
まれたキーコードの音域を通常のベース演奏音域に変換
する。そして、ステップSPd11に至りフラグENDが“1"か
否かを判定する。この判定結果が「NO」のときは、ステ
ップSPd13に至って発音チャンネルch3をレジスタBASS内
のキーコードでキーオンする。一方、ステップSPd11の
判定が「YES」のとき、すなわち、エンディングモード
が指定されているときは、ステップSPd12に移り、レジ
スタOCTの内容に12を乗算し、この乗算結果とレジスタB
ASSの内容を加算し、この加算結果を再びレジスタBASS
に書き込む。この処理は、レジスタBASS内のキーコード
が示す音を、オクターブ単位で上昇させる処理である。
たとえば、レジスタOCTの内容が、「1」であれば1オ
クターブ、「2」であれば2オクターブ上昇する。そし
て、ステップSPd12の処理の後は、ステップSPd13に至
り、オクターブ単位で上昇させたキーコードにより、発
音チャンネルch3をキーオンする。ステップSPd13の処理
が終わると、第11図に示す割込処理にリターンする。以
上がベース処理である。
Next, in step SPd10, the illustrated calculation is performed,
The calculation result is written in the register BASS. This calculation converts the tone range of the key code written in the register BASS by the process of step SPd9 into the normal bass tone range. Then, in step SPd11, it is determined whether or not the flag END is "1". When the result of this determination is "NO", the sound channel ch3 is keyed on with the key code in the register BASS in step SPd13. On the other hand, when the determination in step SPd11 is "YES", that is, when the ending mode is specified, the process proceeds to step SPd12, the contents of the register OCT are multiplied by 12, and the multiplication result and the register B
Add the contents of ASS, and add this result again to register BASS
Write in. This process is a process of raising the sound indicated by the key code in the register BASS in octave units.
For example, if the content of the register OCT is "1", it increases by 1 octave, and if it is "2", it increases by 2 octaves. Then, after the processing of step SPd12, the process proceeds to step SPd13, and the tone generation channel ch3 is keyed on by the key code increased in octave units. When the process of step SPd13 is completed, the process returns to the interrupt process shown in FIG. The above is the base processing.

上記ベース処理が終わると、ステップSPb3に移り、レジ
スタCLKの内容を1インクリメントする。そして、ステ
ップSPb4に至り、レジスタCLKの内容が「16」か否かを
判定する。「NO」であれば第9図に示すメイン処理にリ
ターンし、再びテンポクロックTPが出力されたときに、
この割込処理を実行する。
When the base processing is completed, the process proceeds to step SPb3 and the content of the register CLK is incremented by 1. Then, in step SPb4, it is determined whether or not the content of the register CLK is "16". If “NO”, the process returns to the main process shown in FIG. 9, and when the tempo clock TP is output again,
This interrupt processing is executed.

ステップSPb4の判定が「YES」のときは、ステップSPb5
に移りレジスタCLKをクリアする。このようにレジスタC
LKをクリアするのは、レジスタCLKの内容が「16」のと
きは次の小節の開始タイミングだからである。そして、
ステップSPb6において、フラグBARの内容を反転させ
る。フラグBARの内容が“0"のときはパターンデータの
1小節目であることを示し、“1"のときは2小節目であ
ることを示す。次に、ステップSPb7に至り、フラグBAR
が“0"かつフラグENDが“1"となっているか否かが判定
される。この判定が「YES」の場合は、エンディングモ
ードの処理が終了した場合であるため、ステップSPb10
においてフラグENDおよびフラグRUNをクリアして自動伴
奏の停止を指示した後メイン処理にリターンする。
If the determination in step SPb4 is "YES", then step SPb5
Move to and clear register CLK. Thus register C
LK is cleared because the start timing of the next bar is set when the content of the register CLK is “16”. And
At step SPb6, the content of the flag BAR is inverted. When the content of the flag BAR is "0", it indicates that it is the first measure of the pattern data, and when it is "1", it indicates that it is the second measure. Next, in step SPb7, the flag BAR
Is "0" and the flag END is "1". If this determination is "YES", it means that the processing in the ending mode has been completed, and therefore step SPb10
At, the flag END and the flag RUN are cleared to instruct to stop the automatic accompaniment, and then the process returns to the main process.

ステップSPb7の判定が「NO」のときはノーマルモードも
しくはエンディングモードの処理中であり、ステップSP
b8に進んでフラグTENDが“1"か否かが判定される。フラ
グTENDが“1"の場合は、未だエンディングモードの処理
が行われていない場合であり、ステップSPb9に進んでフ
ラグENDに“1"を立て、フラグTENDをクリアし、さら
に、音色変更処理(第10図参照)によりエンデイングパ
ターンを読出してリターンする。なお、フラグENDが
“1"になるのは、ステップSPb5の処理後、すなわち、小
節の開始タイミングにおいてである。これは、エンディ
ングモードの開始を小節の開始タイミングに合わせるた
めである。
If the determination in step SPb7 is "NO", the normal mode or ending mode is being processed, and the step SPb
The process proceeds to b8, where it is determined whether the flag TEND is "1". If the flag TEND is "1", it means that the ending mode is not yet processed, the process proceeds to step SPb9, the flag END is set to "1", the flag TEND is cleared, and the tone change processing ( The ending pattern is read out by referring to FIG. 10) and the process returns. The flag END becomes "1" after the processing of step SPb5, that is, at the start timing of the bar. This is to match the start of the ending mode with the start timing of the bar.

一方、ステップSPb8において「NO」と判定された場合に
は、エンディングモードの開始が指示されていない場合
であり、すなわち、ノーマルモードの処理継続中であ
る。したがって、メイン処理にリターンし、次の割込処
理を待つ。
On the other hand, when it is determined to be "NO" in step SPb8, it means that the ending mode is not instructed, that is, the normal mode processing is continuing. Therefore, the process returns to the main process and waits for the next interrupt process.

(総合的動作例) 次に、総合的な動作例について説明する。(Comprehensive Operation Example) Next, a comprehensive operation example will be described.

第14図は、ノーマルモードにおけるコード処理とベース
処理の発音状態を示す楽譜である。なお、第14図は和音
がCメジャの場合の発音タイミングのみを示す図であ
り、実際の発音は同図の右端に示すC3,E3,G3音である。
また、ベース音域の表記は、発生音高より1オクターブ
高く表記している。
FIG. 14 is a musical score showing the pronunciation states of the chord processing and the bass processing in the normal mode. Note that FIG. 14 is a diagram showing only the sounding timing when the chord is the C major, and the actual sounds are the C 3 , E 3 , and G 3 sounds shown at the right end of the figure.
In addition, the notation of the bass range is one octave higher than the generated pitch.

ここで、第16図(イ)に第14図に対応する発音態様指示
データPDおよびキー情報を示す。第16図(イ)に示すよ
うに第1小節の先頭の発音態様指示データPD0が(1)
であるから発音チャンネルch0〜ch2のキーオンが指示
される(第8図参照)。そして、次の発音態様指示デー
タPD1が(0)となっているから、このタイミングに
おいて発音チャンネルch0〜ch2のキーオフが指示され
る。次の発音態様指示データPD2,PD3は共に(F)
あるから消音状態が継続される。これにより、最初の和
音が8分音符のタイミングで発音され、その後に8分休
符が続く演奏となる。そして、以後は同様にして発音態
様指示データPDが内容に従う処理を行うことにより、第
14図に示す和音演奏が行われる。また、ベース演奏につ
いては、最初のキー情報が(80)となっているから、
ここでキーオンが指示されるとともに、数値データNDと
して「0」が指示される。この結果、C1音の発音が行わ
れる。そして、次のタイミングのキー情報が(00)
あるから、このタイミングにおいて前記C1音は消音され
る。次の2つのキー情報は(FF)であるから、消音状
態が継続される。これにより、C1音が8分音符のタイミ
ングで発音され、続いて8分休符が続く演奏となる。以
後同様にしてベース音演奏が行われていく。この場合、
1,2小節の3拍目のキー情報(84)によりE1音の発音
が指示され、また、1,2小節の4拍目のキー情報(87)
によってG1音が発せられる。
Here, FIG. 16 (a) shows the pronunciation mode instruction data PD and the key information corresponding to FIG. As shown in FIG. 16 (a), the pronunciation mode instruction data PD 0 at the beginning of the first measure is (1)
Since it is H , key-on of tone generation channels ch0 to ch2 is instructed (see FIG. 8). Then, since the next note mode instruction data PD 1 is in the (0) H, key-off tone generation channel ch0~ch2 In this timing is instructed. Since the next sound generation mode instruction data PD 2 and PD 3 are both (F) H , the mute state is continued. As a result, the first chord is sounded at the timing of the eighth note, and the eighth rest is subsequently played. Then, after that, by similarly performing the processing according to the contents of the pronunciation mode instruction data PD,
The chord performance shown in Fig. 14 is performed. For bass performance, the first key information is (80) H ,
Here, the key-on is instructed and "0" is instructed as the numerical data ND. As a result, the C 1 sound is produced. Then, since the key information at the next timing is (00) H , the C 1 sound is muted at this timing. Since the next two pieces of key information are (FF) H , the mute state is continued. As a result, the C 1 note is produced at the timing of the eighth note, followed by the eighth rest. After that, bass performance is performed in the same manner. in this case,
Key information for the 3rd beat of measures 1 and 2 (84) H indicates the pronunciation of the E 1 note, and key information for the 4th beat of measures 1 and 2 (87)
H produces G 1 sound.

次に、第15図は、エンディングモード時の演奏例を示す
楽譜である。この演奏に対応する発音態様指示データお
よびキー情報を第16図(ロ)に示す。この図に示す演奏
態様指示データPDは、エンディングモード時(フラグEN
Dが“1"の時)にステップSPa1において選択される。そ
して、最初の発音態様指示データPD0は(A)である
から、2オクターブ下の根音であるC1音のみがキーオン
される。次の発音態様指示データPD1,PD2は(F)
あるから上記音が継続発音される。そして、その次の発
音態様指示データPD3が(0)であるからこの時点で
上記音が消音され、これにより、C1音が4分音符の長さ
で発音される。第2小節の1拍目と3拍目における処理
も上記と同様である。また、第2小節の2拍目は発音態
様指示データが(B)であるから,2オクターブ下の根
音の5度上の音であるG1音が発音される。以上の処理に
より本来コード音域で発音されるべき音がベース音域で
発音される。したがって、実際に発音される音高は、第
15図の記載より2オクターブ下となる。
Next, FIG. 15 is a score showing an example of performance in the ending mode. The pronunciation mode instruction data and key information corresponding to this performance are shown in FIG. The performance mode instruction data PD shown in this figure is set in the ending mode (flag EN
When D is "1"), it is selected in step SPa1. Since the first tone generation mode instruction data PD 0 is (A) H , only the C 1 note which is the root note two octaves below is keyed on. Since the next sound generation mode instruction data PD 1 and PD 2 are (F) H , the above sound is continuously sounded. Then, since the next sound generation mode instruction data PD 3 is (0) H , the above sound is muted at this point, whereby the C 1 sound is sounded at the length of a quarter note. The processing at the first beat and the third beat of the second measure is the same as above. Further, since the sounding mode instruction data is (B) H in the second beat of the second bar, the G 1 sound which is a sound 5 degrees above the root sound two octaves below is sounded. By the above processing, the sound originally supposed to be produced in the chord range is produced in the bass range. Therefore, the pitch actually pronounced is
It is 2 octaves below the figure.

一方、ベース演奏を制御するキー情報は、音域を移動す
る情報を含まないが、エンディングモード時には第13図
に示すステップSPd12の処理により音域の上昇が行われ
る。したがって、この時に選択されているベースパター
ンPATB(第4図参照)のオクターブ情報が「2」である
とすれば、実際に発音される音は、第15図に示す音高よ
り2オクターブ高い音高となる。この結果、通常はベー
ス領域で発音されるべき音が、和音領域で発音される。
On the other hand, the key information for controlling the bass performance does not include the information for moving the range, but in the ending mode, the range is raised by the processing of step SPd12 shown in FIG. Therefore, if the octave information of the bass pattern PATB (see Fig. 4) selected at this time is "2", the actually sounded tone is a tone two octaves higher than the pitch shown in Fig. 15. It becomes high. As a result, a sound that should normally be produced in the bass region is produced in the chord region.

以上のように、エンディングモード時においては、コー
ド伴奏処理とベース伴奏処理の発音領域が入れ換わる。
As described above, in the ending mode, the tone generation areas of the chord accompaniment process and the bass accompaniment process are switched.

なお、上記実施例においては、エンディングモード時に
おいて発音領域の入れ換えを行ったが、フィルインモー
ド時において行うように構成してもよい。
In the above embodiment, the tone generation areas are exchanged in the ending mode, but they may be exchanged in the fill-in mode.

「発明の効果」 以上説明したように、本願の請求項1の自動伴奏装置に
よれば、オクターブ情報によって指定される音域で自動
伴奏が為されるので、変化に富んだ伴奏演奏を奏でるこ
とができる。さらに、請求項2の自動伴奏装置によれ
ば、音色情報をオクターブ情報と合わせて読み出して指
定された音域において指定された音色で自動伴奏が為さ
れるので、より効果的な伴奏を行うことができる。ま
た、請求項3の自動伴奏装置によれば、指定された演奏
態様に対応する音域で自動伴奏が為されるので、より効
果的な伴奏を行うことができる。また、請求項4の自動
伴奏装置によれば、エンディング時に対応する音域で自
動伴奏が為されるので、より効果的な伴奏を行うことが
できる。請求項5の自動伴奏装置によれば、フィルイン
時に対応する音域で自動伴奏が為されるので、より効果
的な伴奏を行うことができる。
[Advantages of the Invention] As described above, according to the automatic accompaniment apparatus of claim 1 of the present application, since the automatic accompaniment is performed in the range specified by the octave information, it is possible to play a variety of accompaniment performances. it can. Further, according to the automatic accompaniment apparatus of claim 2, since the tone color information is read out together with the octave information and the automatic tone is performed with the designated tone color in the designated tone range, more effective accompaniment can be performed. it can. Further, according to the automatic accompaniment apparatus of the third aspect, since the automatic accompaniment is performed in the musical range corresponding to the designated performance mode, more effective accompaniment can be performed. Further, according to the automatic accompaniment apparatus of claim 4, since the automatic accompaniment is performed in the musical range corresponding to the ending time, more effective accompaniment can be performed. According to the automatic accompaniment apparatus of the fifth aspect, since the automatic accompaniment is performed in the range corresponding to the fill-in, more effective accompaniment can be performed.

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

第1図は、この発明の一実施例の構成を示すブロック
図、 第2図は、同実施例におけるキーとキーコードとの関係
を示す図、 第3図は、同実施例におけるコードパターンPATCを示す
フォーマット図、 第4図は、同実施例におけるベースパターンPATBを示す
フォーマット図、 第5図は、第4図に示すキー情報の内容を示す図、 第6図は、キー情報の一部を構成する数値データNDを示
す図、 第7図は、テーブルメモリ6内のデータを示す図、 第8図は、発音態様指示データPDの内容と実際の発音制
御の態様の関係を示す図、 第9図は、同実施例のメイン処理を示すフロチャート、 第10図は、音色変更処理を示すフロチャート、 第11図は、割込処理を示すフロチャート、 第12図は、自動伴奏時に和音発音を行うコード処理を示
すフロチャート、 第13図は、自動伴奏時にベース発音を行うベース処理を
示すフロチャート、 第14図は、ノーマルモード時における自動演奏例を示す
楽譜、 第15図は、エンディングモード時における自動演奏例を
示す楽譜、 第16図は、第14図および第15図に示す演奏例に対応する
発音態様指示データとキー情報を示す図である。 2……CPU、3……プログラムメモリ、4……ワーキン
グメモリ、4……パターンメモリ、6……テーブルメモ
リ、7……テンポクロック発生器7、10……スイッチ
群、12……トーンジェネレータ、SWE……エンディング
スイッチ。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention, FIG. 2 is a diagram showing a relationship between keys and key codes in the embodiment, and FIG. 3 is a code pattern PATC in the embodiment. 4 is a format diagram showing the base pattern PATB in the embodiment, FIG. 5 is a diagram showing the contents of the key information shown in FIG. 4, and FIG. 6 is a part of the key information. FIG. 7 is a diagram showing the numerical data ND constituting the above, FIG. 7 is a diagram showing the data in the table memory 6, and FIG. 8 is a diagram showing the relationship between the content of the pronunciation mode instruction data PD and the mode of actual pronunciation control 9 is a flow chart showing the main processing of the same embodiment, FIG. 10 is a flow chart showing the tone color changing processing, FIG. 11 is a flow chart showing the interruption processing, and FIG. 12 is a chart showing the automatic accompaniment. Flowchart showing chord processing for chord pronunciation, No. 1 Fig. 3 is a flowchart showing bass processing for performing bass sounding during automatic accompaniment, Fig. 14 is a score showing an example of automatic performance in the normal mode, Fig. 15 is a score showing an example of automatic performance in the ending mode, FIG. 16 is a diagram showing sound generation mode instruction data and key information corresponding to the performance examples shown in FIGS. 14 and 15. 2 ... CPU, 3 ... program memory, 4 ... working memory, 4 ... pattern memory, 6 ... table memory, 7 ... tempo clock generator 7, 10 ... switch group, 12 ... tone generator, SWE …… Ending switch.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】演奏順序に従った複数の音高情報と1つの
オクターブ情報とを対応させて1つの伴奏パターンとし
て記憶する記憶手段と、 前記記憶手段から前記オクターブ情報を読み出す第1の
読み出し手段と、 伴奏の進行に従って前記記憶手段から前記音高情報を順
次読み出す第2の読み出し手段と、 前記第2の読み出し手段から読み出した前記音高情報を
前記第1の読み出し手段から読み出したオクターブ情報
によって設定される音域の音高情報に変換する変換手段
と、 前記変換手段によって変換された音高情報に対応する楽
音を生成する楽音生成手段と を具備することを特徴とする自動伴奏装置。
1. Storage means for storing a plurality of pitch information and one octave information corresponding to a performance order as one accompaniment pattern, and first reading means for reading the octave information from the storage means. Second read means for sequentially reading the pitch information from the storage means as the accompaniment progresses; and octave information read from the first read means for the pitch information read from the second read means. An automatic accompaniment apparatus comprising: a conversion unit that converts the pitch information of a set pitch range; and a tone generation unit that generates a musical tone corresponding to the pitch information converted by the conversion unit.
【請求項2】演奏順序に従った複数の音高情報と1つの
オクターブ情報および音色情報とを対応させて1つの伴
奏パターンとし、複数の該伴奏パターンを記憶する記憶
手段と、 前記伴奏パターンを選択する伴奏パターン選択手段と、 前記伴奏パターン選択手段によって選択された伴奏パタ
ーンに対応するオクターブ情報および音色情報を前記記
憶手段から読み出す第1の読み出し手段と、 前記伴奏パターン選択手段によって選択された伴奏パタ
ーンに対応する前記音高情報を伴奏の進行に従って前記
記憶手段から順次読み出す第2の読み出し手段と、 前記第2の読み出し手段から読み出した前記音高情報を
前記第1の読み出し手段から読み出したオクターブ情報
によって設定される音域の音高情報に変換する変換手段
と、 前記変換手段によって変換された音高情報と前記第1の
読み出し手段から読み出した音色情報とに対応する楽音
を生成する楽音生成手段と を具備することを特徴とする自動伴奏装置。
2. A storage unit for storing a plurality of accompaniment patterns by associating a plurality of pitch information in accordance with a performance order with one octave information and tone color information to form one accompaniment pattern, and the accompaniment pattern. Accompaniment pattern selecting means for selecting, first reading means for reading octave information and tone color information corresponding to the accompaniment pattern selected by the accompaniment pattern selecting means from the storage means, and the accompaniment selected by the accompaniment pattern selecting means Second reading means for sequentially reading the pitch information corresponding to the pattern from the storage means in accordance with the progress of accompaniment, and the octave for reading the pitch information read from the second reading means from the first reading means. Conversion means for converting to pitch information of a range set by information, and the conversion means Automatic accompaniment apparatus characterized by comprising a music generation means for generating a musical tone corresponding to the read-out tone color information and the converted tone pitch information from the first read means I.
【請求項3】演奏順序に従った複数の音高情報と1つの
オクターブ情報とを対応させて1つの伴奏パターンと
し、複数の演奏態様に対応させて複数の該伴奏パターン
を記憶する記憶手段と、 演奏態様を選択する演奏態様選択手段と、 前記演奏態様選択手段によって選択された演奏態様に対
応するオクターブ情報を前記記憶手段から読み出す第1
の読み出し手段と、 前記演奏態様選択手段によって選択された伴奏パターン
に対応する前記音高情報を伴奏の進行に従って前記記憶
手段から順次読み出す第2の読み出し手段と、 前記第2の読み出し手段から読み出した前記音高情報を
前記第1の読み出し手段から読み出したオクターブ情報
によって設定される音域の音高情報に変換する変換手段
と、 前記変換手段によって変換された音高情報に対応する楽
音を生成する楽音生成手段と を具備することを特徴とする自動伴奏装置。
3. Storage means for storing a plurality of accompaniment patterns in association with a plurality of performance modes by associating a plurality of pitch information and one octave information in accordance with the performance order into one accompaniment pattern. A performance mode selecting means for selecting a performance mode, and octave information corresponding to the performance mode selected by the performance mode selecting means from the storage means
Reading means, a second reading means for sequentially reading the pitch information corresponding to the accompaniment pattern selected by the performance mode selecting means from the storage means in accordance with the progress of the accompaniment, and read from the second reading means. Conversion means for converting the pitch information into pitch information of a range set by the octave information read from the first reading means, and a musical sound for generating a musical tone corresponding to the pitch information converted by the conversion means. An automatic accompaniment apparatus comprising: a generation unit.
【請求項4】前記演奏態様選択手段は、エンディングを
指示するエンディング指示手段であることを特徴とする
特許請求の範囲第3項記載の自動伴奏装置。
4. The automatic accompaniment apparatus according to claim 3, wherein the performance mode selection means is an ending instruction means for instructing ending.
【請求項5】前記演奏態様選択手段は、フィルインを指
示するフィルイン指示手段であることを特徴とする特許
請求の範囲第3項記載の自動伴奏装置。
5. The automatic accompaniment apparatus according to claim 3, wherein the performance mode selecting means is fill-in instructing means for instructing fill-in.
JP63001037A 1988-01-06 1988-01-06 Automatic accompaniment device Expired - Fee Related JPH0769697B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63001037A JPH0769697B2 (en) 1988-01-06 1988-01-06 Automatic accompaniment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63001037A JPH0769697B2 (en) 1988-01-06 1988-01-06 Automatic accompaniment device

Publications (2)

Publication Number Publication Date
JPH01177593A JPH01177593A (en) 1989-07-13
JPH0769697B2 true JPH0769697B2 (en) 1995-07-31

Family

ID=11490362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63001037A Expired - Fee Related JPH0769697B2 (en) 1988-01-06 1988-01-06 Automatic accompaniment device

Country Status (1)

Country Link
JP (1) JPH0769697B2 (en)

Also Published As

Publication number Publication date
JPH01177593A (en) 1989-07-13

Similar Documents

Publication Publication Date Title
JP3829439B2 (en) Arpeggio sound generator and computer-readable medium having recorded program for controlling arpeggio sound
US4939974A (en) Automatic accompaniment apparatus
US4887504A (en) Automatic accompaniment apparatus realizing automatic accompaniment and manual performance selectable automatically
JPH0584920B2 (en)
US4674383A (en) Electronic musical instrument performing automatic accompaniment on programmable memorized pattern
US4619176A (en) Automatic accompaniment apparatus for electronic musical instrument
JPH0769698B2 (en) Automatic accompaniment device
JPH0769697B2 (en) Automatic accompaniment device
JP3296182B2 (en) Automatic accompaniment device
JPH0727382B2 (en) Automatic accompaniment device
JPH067331B2 (en) Automatic accompaniment device
JPH0664471B2 (en) Automatic accompaniment device
JP2663506B2 (en) Automatic performance device
JPH0734158B2 (en) Automatic playing device
JP3082294B2 (en) Accompaniment sound signal forming device
JPS61292689A (en) Electronic musical instrument with automatic accompanying device
JP3143039B2 (en) Automatic performance device
JP2570562B2 (en) Automatic performance device and automatic accompaniment device
JP2513014B2 (en) Electronic musical instrument automatic performance device
JP2619237B2 (en) Automatic accompaniment device for electronic musical instruments
JP3055352B2 (en) Accompaniment pattern creation device
JP2599720B2 (en) Electronic musical instrument
JP3120806B2 (en) Automatic accompaniment device
JPH0139592B2 (en)
JPS6217756B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees