JPH0782326B2 - Motif playing device - Google Patents

Motif playing device

Info

Publication number
JPH0782326B2
JPH0782326B2 JP1265881A JP26588189A JPH0782326B2 JP H0782326 B2 JPH0782326 B2 JP H0782326B2 JP 1265881 A JP1265881 A JP 1265881A JP 26588189 A JP26588189 A JP 26588189A JP H0782326 B2 JPH0782326 B2 JP H0782326B2
Authority
JP
Japan
Prior art keywords
data
key
motif
register
rhythm
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
JP1265881A
Other languages
Japanese (ja)
Other versions
JPH03126997A (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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP1265881A priority Critical patent/JPH0782326B2/en
Publication of JPH03126997A publication Critical patent/JPH03126997A/en
Publication of JPH0782326B2 publication Critical patent/JPH0782326B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、自動的にモチーフを演奏するモチーフ演奏装
置に関する。
TECHNICAL FIELD The present invention relates to a motif playing device for automatically playing a motif.

[発明の概要] 本発明は、演奏のモチーフを示す情報を記憶し、楽音の
放音を指示する指示手段の各々が操作されている間、上
記モチーフ情報を個別に読み出して出力するようにした
ものである。これにより、指示手段の操作に変化がなく
ても、モチーフ情報のパターンに応じて、演奏内容が変
化する。また、指示手段の操作が続く限りは、モチーフ
情報のパターンに応じて、楽音が自動的に複数音続けて
鳴り、楽に演奏を行うことができる。さらに、指示手段
を操作している間だけ、自動演奏を行うことができ、自
動演奏を停止したければ、指示手段の操作を停止すれば
よく、演奏者が指示手段に対して演奏操作をしながら自
動演奏に関与することができる。しかも各指示手段の操
作ごとに、モチーフに応じた演奏が独立に行われ、異な
るタイミングで合奏することができる。
[Summary of the Invention] In the present invention, information indicating a performance motif is stored, and the motif information is individually read and output while each of the instructing means for instructing the sound emission of a musical tone is operated. It is a thing. As a result, the performance content changes according to the pattern of the motif information even if the operation of the instruction means does not change. Further, as long as the operation of the instructing means continues, a plurality of musical tones are automatically produced in succession according to the pattern of the motif information, so that the musical performance can be performed easily. Further, the automatic performance can be performed only while the instruction means is being operated, and if the automatic performance is to be stopped, the operation of the instruction means may be stopped. While being able to participate in automatic performance. Moreover, the performance according to the motif is performed independently for each operation of each instruction means, and the ensemble can be performed at different timings.

[従来技術] 従来、自動的に伴奏を行う自動伴奏機能を有する電子楽
器が広く知られている。このような自動伴奏楽器は、ま
ず自動リズム演奏をスタートさせておき、次いで伴奏鍵
を操作すると、自動リズム演奏に連動して、上記伴奏鍵
に割り当てられたコード及びルート(根音)の伴奏音が
放音されるものである。
[Prior Art] Conventionally, electronic musical instruments having an automatic accompaniment function for automatically performing accompaniment have been widely known. In such an automatic accompaniment instrument, when the automatic rhythm performance is started first and then the accompaniment key is operated, the chord and root (root note) accompaniment sound assigned to the accompaniment key are interlocked with the automatic rhythm performance. Is emitted.

また、キーボードの演奏によって、リズム演奏を行う電
子楽器も知られている。このような電子楽器は、キーボ
ードの各鍵にドラム音、シンバル音等のリズム演奏の各
パート音を割り当て、キーオンに応じて各パート音を1
回放音するものである。
Also, an electronic musical instrument that plays a rhythm by playing on a keyboard is known. In such an electronic musical instrument, each part sound of a rhythm performance such as a drum sound and a cymbal sound is assigned to each key of the keyboard, and each part sound is set to 1 in response to key-on.
It is a sound output.

さらに、自動的にメロディ演奏を行う電子楽器も広く知
られている。このような、自動演奏楽器は、自動演奏の
パターンデータを記憶しておき、自動演奏のスタートス
イッチの操作に応じて、この自動演奏パターンデータを
読み出し、この読み出しデータに応じた楽音を順次生成
放音していくものである。
Furthermore, electronic musical instruments that automatically perform melody are also widely known. Such an automatic musical instrument stores automatic musical performance pattern data, reads the automatic musical performance pattern data in response to an operation of the automatic musical performance start switch, and sequentially generates musical tones according to the read data. It is a sound.

[発明が解決しようとする課題] しかしながら、上記自動伴奏楽器では、1つの伴奏鍵に
割り当てられているコード及びルートは、完全に固定さ
れたものであり、この伴奏鍵を操作し続ける限りは、コ
ード及びルートは全く変化しないものであった。
[Problems to be Solved by the Invention] However, in the above-mentioned automatic accompaniment instrument, the chord and the root assigned to one accompaniment key are completely fixed, and as long as the accompaniment key is operated continuously, The code and route were unchanged at all.

また、上記キーボードでリズム演奏を行う電子楽器で
は、1回のキーオンで1回発音するのみであり、通常の
リズム演奏を行うには、かなりの熟練を要するキー操作
を行わなくてはならず、楽にリズム演奏を行うことはで
きなかった。
Further, in the electronic musical instrument for performing rhythm performance with the above-mentioned keyboard, only one key-on is pronounced once, and in order to perform normal rhythm performance, it is necessary to perform key operation which requires considerable skill, I couldn't play rhythm easily.

さらに、上記自動演奏楽器では、スタートスイッチを押
すと、機械的に自動演奏が始まり、この自動演奏に対し
演奏者が演奏をしながら関与することは全くできず、演
奏を変化させることは不可能であった。
Further, in the above-mentioned automatic musical instrument, when the start switch is pressed, the automatic musical performance starts mechanically, and the performer cannot participate in this automatic musical performance while playing, and it is impossible to change the musical performance. Met.

本発明は、上述した課題を解決するためになされたもの
であり、1つの伴奏鍵を押しているだけでも、伴奏内容
を変化させることができ、また楽にリズム演奏もでき、
さらに演奏者が演奏しながら自動演奏に関与できるモチ
ーフ演奏装置を提供することを目的としている。そし
て、異なるタイミングで合奏することができ、タイミン
グ合わせに演奏の練習の余地のあるモチーフ演奏装置を
提供することも目的としている。
The present invention has been made in order to solve the above-mentioned problems, and the content of the accompaniment can be changed even by pressing one accompaniment key, and the rhythm performance can be performed easily.
Further, it is an object of the present invention to provide a motif playing device in which a performer can participate in automatic playing while playing. It is also an object of the present invention to provide a motif playing device that allows ensemble at different timings and has room for practice of playing at the timings.

[課題を解決するための手段] 上記目的を達成するために、本発明においては、演奏の
モチーフを示す情報を記憶し、楽音の放音を指示する指
示手段の各々が操作されている間、上記モチーフ情報を
個別に読み出して出力するようにしたものである。そし
て指示手段の操作ごとに、モチーフに応じた演奏が独立
に行われるようにしたものである。
[Means for Solving the Problem] In order to achieve the above object, in the present invention, information indicating a motif of a performance is stored, and while each of the instructing means for instructing to emit a musical tone is operated, The above motif information is individually read and output. The performance according to the motif is independently performed for each operation of the instruction means.

一例が第1C図に示すもので、キーボード13の各キーに対
し、1〜16の番号で示す種々のアドリブモチーフパター
ンが割り当てられている。このパターンは、16ビートの
リズムにおけるメロディ音のアドリブモチーフを示すも
ので、他に伴奏コード音及びリズム音のアドリブモチー
フもあり、さらに他のリズムに対応するものもある。こ
のアドリブモチーフのデータフォーマット例は、メロデ
ィ音が第2A図、リズム音が第2B図、伴奏コード音が第2C
図に示す通りである。そして第17D図及び第17E図に示す
ように、メロディ1のモチーフとメロディ2のモチーフ
とのシーケンス処理、そしてリズム1のモチーフとリズ
ム2のモチーフとのシーケンス処理が、キーオンに基づ
き、各々独立に実行される。
An example is shown in FIG. 1C, in which various adlib motif patterns indicated by numbers 1 to 16 are assigned to each key of the keyboard 13. This pattern shows an adlib motif of a melody sound in a 16-beat rhythm, and there are other adlib motifs of accompaniment chord sounds and rhythm sounds, and there are also those corresponding to other rhythms. The data format example of this ad lib motif is as shown in Figure 2A for melody sounds, Figure 2B for rhythm sounds, and 2C for accompaniment chord sounds.
As shown in the figure. Then, as shown in FIGS. 17D and 17E, the sequence processing of the melody 1 motif and the melody 2 motif, and the sequence processing of the rhythm 1 motif and the rhythm 2 motif are independently performed based on key-on. To be executed.

[作用] これにより、記憶するモチーフ情報が伴奏についてのも
のであれば、指示手段の操作に変化がなくても、このモ
チーフパターンに応じて、伴奏内容が変化し、コード及
びルートが変化することになる。また、記憶するモチー
フ情報がリズムについてのものであれば、指示手段の操
作が続く限りは、このモチーフパターンに応じて、リズ
ム音が自動的に複数音続けて鳴り、楽にリズム演奏を行
うことができる。さらに、記憶するモチーフ情報がメロ
ディ演奏についてのものであれば、指示手段を操作して
いる間だけ、自動的にメロディ演奏を行うことができ、
自動メロディ演奏を停止したければ、指示手段の操作を
停止すればよく、演奏者が指示手段に対して演奏操作を
しながら自動メロディ演奏に関与することができる。そ
して各モチーフの演奏を異なるタイミングで合奏でき、
タイミング合わせに腕を磨くことができる。ここで、モ
チーフとは、フレーズ、ピリオド(楽節)、複数のピリ
オド等までも含む概念である。
[Operation] As a result, if the stored motif information is related to the accompaniment, the accompaniment content may be changed and the chord and the root may be changed according to the motif pattern even if the operation of the instruction means is not changed. become. In addition, if the stored motif information is about rhythm, as long as the operation of the instruction means continues, a plurality of rhythm sounds will automatically sound continuously in accordance with this motif pattern, and a rhythm performance can be performed comfortably. it can. Furthermore, if the memorized motif information is about melody performance, the melody performance can be automatically performed only while operating the instruction means.
If the player wants to stop the automatic melody performance, the operation of the instruction means may be stopped, and the player can participate in the automatic melody performance while operating the performance of the instruction means. And you can ensemble the performance of each motif at different timings,
You can hone your skills to match the timing. Here, the motif is a concept including a phrase, a period, a plurality of periods, and the like.

[実施例] 以下、本発明を具体化した一実施例を図面を参照して説
明する。
[Embodiment] An embodiment of the present invention will be described below with reference to the drawings.

〈アドリブモチーフのデータフォーマット〉 第1A図は、ROM19のアドリブモチーフパターンエリア42
に記憶されたアドリブモチーフデータの1つのフォーマ
ットを示すものである。このアドリブモチーフパターン
エリア42と全く同じものが、RAM20にもアドリブモチー
フパターンエリア47として転送記憶されている。このア
ドリブモチーフは、後述するアドリブモチーフ第1メロ
ディの16ビートのリズムに対応したものであり、ROM19
の「000H(Hは16進数であることを示す記号)」番地か
ら「3FFH」番地に記憶されている。
<Ad-lib motif data format> Figure 1A shows the ad-lib motif pattern area 42 of ROM19.
2 shows one format of the adlib motif data stored in. Exactly the same as the ad lib motif pattern area 42 is transferred and stored in the RAM 20 as the ad lib motif pattern area 47. This adlib motif corresponds to the 16-beat rhythm of the adlib motif first melody described later.
Are stored in the addresses from "000 H (H is a symbol indicating hexadecimal number)" to "3FF H ".

このうち「000H」番地から「020H」番地の前までが、ア
ドリブモチーフスタートアドレスエリア42a(47a)であ
り、「020H」番地から「060H」番地の前までが、アドリ
ブモチーフアサインエリア42b(47b)であり、「060H
番地から「092H」番地の前までがパターン“0"のアドリ
ブモチーフデータであり、「092H」番地から「0AEH」番
地の前までがパターン“1"のアドリブモチーフデータで
あり、これ以降同様にして、パターン“2"“3"…のアド
リブモチーフデータが続き、最後のパターン“15"のア
ドリブモチーフデータは「3C6H」番地の前まであり、こ
れ以降「3FFH」番地までは何も記憶されていない。従っ
て、このアドリブモチーフ第1メロディの16ビートのリ
ズムに対応したアドリブモチーフデータは、16種類のア
ドリブモチーフのパターンデータよりなっている。
The area from "000 H " to "020 H " is the ad-lib motif start address area 42a (47a), and the area from "020 H " to "060 H " is the ad-lib motif assign area. 42b (47b) and "060 H "
The address from the address to the address "092 H " is the ad-lib motif data of the pattern "0", and the address from the address "092 H " to the address "0AE H " is the ad-lib motif data of the pattern "1". Similarly, the pattern "2", "3" ... ad-lib motif data is a continuation of, the last of pattern "ad-lib motif data of 15" is located to the front of the "3C6 H" address, what is up after this "3FF H" address Is not remembered. Therefore, the adlib motif data corresponding to the 16-beat rhythm of the first adlib motif melody is composed of pattern data of 16 types of adlib motifs.

〈アドリブモチーフスタートアドレスリスト〉 上記「000H」番地から「020H」番地の前までのアドリブ
モチーフスタートアドレスエリア42a(47a)の記憶内容
は、第1B図に示すとうりである。このエリアには、アド
リブモチーフデータのパターン“0"からパターン“15"
までの夫々につき、記憶されているエリアの上述の先頭
番地が記憶されている。1つの先頭番地を記憶するのに
2番地分の記憶容量が必要とされる。
<Ad-lib motif start address list> The stored contents of the ad-lib motif start address area 42a (47a) from the address "000 H " to the address "020 H " are as shown in FIG. 1B. In this area, the pattern "0" to the pattern "15" of the ad lib motif data
For each of the above, the above-mentioned head address of the stored area is stored. A storage capacity of 2 addresses is required to store one head address.

〈アドリブモチーフアサインリスト〉 上記「020H」番地から「060H」番地の前までのアドリブ
モチーフアサインエリア42b(47b)はキーボード13の各
キーに割り当てられたアドリブモチーフのパターンナン
バを記憶しているもので、その記憶内容は、第1C図に示
すとおりである。
<Adlib motif assignment list> The adlib motif assignment area 42b (47b) from the above-mentioned "020 H " to "060 H " stores the pattern number of the adlib motif assigned to each key of the keyboard 13. The stored contents are as shown in FIG. 1C.

メジャクロックの番地には、拍子データが記憶されてお
り、第7図に示すように、各拍子に応じたクロック数が
4分音符あたり48個のクロック数となるように決められ
ている。このメジャクロックは、通常アドリブモチーフ
の属するリズムによって決定される。
Time signature data is stored in the address of the major clock, and as shown in FIG. 7, it is determined that the number of clocks corresponding to each time is 48 clocks per quarter note. This major clock is usually determined by the rhythm to which the adlib motif belongs.

オートアルペジオ、オートベース、第1オートリズム
(ドラム系)、第2オートリズム(シンバル系)の各番
地には、これらの伴奏として用いられるのパターンナン
バを記憶している。このオートアルペジオ、オートベー
ス、第1オートリズム、第2オートリズム(以下オート
オートモチーフト呼ぶ)にも、アドリブモチーフデータ
が用いられ、キーボード13のキーオンではなく、スター
ト/ストップスイッチ38のオンによってスタートされ
る。リズムディレイは、第1オートリズムのスタートタ
イムと第2オートリズムのスタートタイムとの間のディ
レイタイムを示している。なお、これらオートモチーフ
にメロディ、コード等も含めてもよい。
At each address of the auto arpeggio, the auto bass, the first auto rhythm (drum system), and the second auto rhythm (cymbal system), the pattern numbers of these accompaniments are stored. The ad lib motif data is also used for the auto arpeggio, auto bass, first auto rhythm, and second auto rhythm (hereinafter referred to as auto auto motif), and the start / stop switch 38 is turned on instead of the key 13 on the keyboard. To be done. The rhythm delay indicates a delay time between the start time of the first auto rhythm and the start time of the second auto rhythm. Note that these auto motifs may include melodies, chords, and the like.

キーナンバ24〜72の番地には、キーボード13の各キーに
割り当てられるアドリブモチーフのパターンナンバが記
憶されている。このパターンナンバが、第1A図に示すア
ドリブモチーフのパターンの種類を示している。キーナ
ンバ24〜72は、第5B図に示すように、キーボード13の各
キーを示しており、このうちキーナンバ24〜43はローア
キーボード13bを構成し、キーナンバ44〜72はアッパー
キーボード13aを構成している。このローアキーボード1
3b、アッパーキーボード13aの中のフィックスエリア
は、各キーに割り当てられたアドリブモチーフのパター
ンナンバを変更できない固定されたものであり、アサイ
ナブルエリアは、各キーに割り当てられたアドリブモチ
ーフのパターンナンバを変更できるものである。
At the key numbers 24 to 72, the pattern number of the adlib motif assigned to each key of the keyboard 13 is stored. This pattern number indicates the type of pattern of the adlib motif shown in FIG. 1A. As shown in FIG. 5B, the key numbers 24-72 indicate the respective keys of the keyboard 13, of which the key numbers 24-43 constitute the lower keyboard 13b and the key numbers 44-72 constitute the upper keyboard 13a. There is. This lower keyboard 1
3b, the fixed area in the upper keyboard 13a is fixed so that the pattern number of the ad lib motif assigned to each key cannot be changed, and the assignable area changes the pattern number of the ad lib motif assigned to each key. It is possible.

〈アドリブモチーフエリア指定テーブル41〉 第3図は、ROM19のアドリブモチーフエリア指定テーブ
ル41を示すものであり、上述したアドリブモチーフのそ
れぞれの記憶エリアのスタートアドレスが記憶されてい
る。このアドリブモチーフは、まずアドリブモチーフ第
1メロディ、アドリブモチーフ第2メロディ、アドリブ
モチーフベース、アドリブモチーフリズム、アドリブモ
チーフコードの5つよりなっている。この各々のアドリ
ブモチーフは、さらに16ビート、ディスコ…の16個のリ
ズムごとに異なるものが記憶され、合計5×16=80種類
のアドリブモチーフが記憶されている。そして、このう
ちの1種類のアドリブモチーフは、上述した第1A図に示
すように、さらに16個のパターンよりなり、合計80×16
=1280個のパターンのアドリブモチーフがROM19に記憶
されている。
<Adlib Motif Area Designation Table 41> FIG. 3 shows the adlib motif area designation table 41 of the ROM 19, in which the start addresses of the respective storage areas of the adlib motif are stored. The ad-lib motif is composed of five ad-lib motif first melody, ad-lib motif second melody, ad-lib motif base, ad-lib motif rhythm, and ad-lib motif chord. Each of these adlib motifs is further stored for 16 rhythms such as 16 beats and disco, and a total of 5 × 16 = 80 adlib motifs are stored. And one of these adlib motifs consists of 16 patterns, as shown in FIG. 1A, and has a total of 80 × 16.
= 1280 patterns of adlib motifs are stored in ROM19.

このアドリブモチーフ第1メロディ、アドリブモチーフ
第2メロディ、アドリブモチーフベース、アドリブモチ
ーフリズム、アドリブモチーフコードの5つの選択は、
第12A図、第12B図に示すように、各モード、操作キーボ
ードによって決定される。
Five selections of this ad lib motif first melody, ad lib motif second melody, ad lib motif base, ad lib motif rhythm, and ad lib motif chord
As shown in FIGS. 12A and 12B, each mode is determined by the operation keyboard.

この1280パターンのアドリブモチーフは、上述のアドリ
ブモチーフスタートアドレスリスト、アドリブモチーフ
アサインリストも含んだ形で、電源投入時に全てRAM20
に転送される。これは、書き込み可能なRAM20に転送す
ることで、アドリブモチーフの内容の変更や、キーボー
ド13のアサイナブルエリアに割り当てられているアドリ
ブモチーフのパターンの変更をできるようにしたもので
ある。
This 1280 patterns of ad lib motif includes the ad lib motif start address list and ad lib motif assignment list described above, and is all RAM20 when the power is turned on.
Transferred to. This is because the content of the adlib motif can be changed and the pattern of the adlib motif assigned to the assignable area of the keyboard 13 can be changed by transferring to the writable RAM 20.

〈アドリブモチーフのデータフォーマット〉 第2A図、第2B図、第2C図は、アドリブモチーフの具体的
なデータフォーマットを示すものである。このうち、第
2A図は、アドリブモチーフ第1メロディ、アドリブモチ
ーフ第2メロディ、アドリブモチーフベースのデータフ
ォーマットを示すものである。第2B図は、アドリブモチ
ーフリズムデータのデータフォーマットを示すものであ
る。第2C図は、アドリブモチーフコードデータのデータ
フォーマットを示すものである。
<Data Format of Adlib Motif> FIGS. 2A, 2B, and 2C show specific data formats of the adlib motif. Of these, the first
FIG. 2A shows a data format based on the ad lib motif first melody, the ad lib motif second melody, and the ad lib motif. FIG. 2B shows a data format of adlib motif rhythm data. FIG. 2C shows a data format of adlib motif code data.

第2A図のアドリブモチーフ第1メロディ、アドリブモチ
ーフ第2メロディ、アドリブモチーフベースのアドリブ
モチーフデータは、演奏パターンに応じた複数の音符デ
ータよりなり、音色の変化するところと、先頭番地とに
は、メロディ音の音色データが記憶されている。音符デ
ータは、キーナンバ、ゲートタイム、ベロシティ、ステ
ップタイムの各データよりなっている。音色データは、
メロディ音の音色ナンバとステップタイムとの両データ
よりなっている。
The ad-lib motif first melody, the ad-lib motif second melody, and the ad-lib motif-based ad-lib motif data shown in FIG. 2A are composed of a plurality of note data corresponding to the performance pattern. The tone color data of the melody tone is stored. The note data consists of key number, gate time, velocity and step time data. Tone data is
It consists of both the timbre number of the melody sound and the step time data.

キーナンバは、キーボード13の各キーを示すナンバであ
り、音高を示している。ゲートタイムは、キーオンから
キーオフまでの時間長を示している。ベロシティはキー
ボード13の操作キーの操作速度又は操作強度を示すデー
タである。ステップタイムは、1つ前の音符データのキ
ーオン又は音色データ変化から当該音符データのキーオ
ンまでの時間長を示している。
The key number is a number indicating each key of the keyboard 13 and indicates a pitch. The gate time indicates the length of time from key-on to key-off. The velocity is data indicating the operation speed or operation strength of the operation keys of the keyboard 13. The step time indicates the time length from the key-on of the immediately preceding note data or the change of the tone color data to the key-on of the note data.

音色ナンバは、メロディ音の音色を示すデータであり、
第6図に示すように、ストリングス(弦)なら「0
0H」、ブラス(金管)なら「04H」であり、32種類の音
色を表す。先頭番地の音色データのステップタイムは
「00…0」であり、アドリブモチーフ演奏のスタート
後、直ちにこの音色データに応じた音色の設定が行われ
る。音色の変化するところの音色データのステップタイ
ムは、1つ前の音符データのキーオン又は音色データ変
化から音色の変化するタイミングまでの時間長を示して
いる。
The timbre number is data indicating the timbre of the melody sound,
As shown in Fig. 6, if the strings are "0",
0 H ”, brass (golden tube) is“ 04 H ”, representing 32 kinds of tones. The step time of the tone color data at the leading address is "00 ... 0", and the tone color corresponding to this tone color data is set immediately after the start of the ad lib motif performance. The step time of the tone color data where the tone color changes indicates the time length from the key-on of the previous note data or the tone color data change to the timing of the tone color change.

末尾には、リピートデータが記憶されている。リピート
データは、先頭番地まで戻ることを示すコマンドであ
り、キーオンがされている限り、このアドリブモチーフ
パターンが繰り返されることになる。このリピートデー
タは、「11…1」のコマンドと、ステップタイムとより
なっている。このステップタイムは、1つ前の音符デー
タのキーオン又は音色データ変化からリピートのタイミ
ングまでの時間長を示している。この場合のリピートタ
イミングは、通常1小節の整数倍の時間を費やす。
Repeat data is stored at the end. The repeat data is a command indicating returning to the head address, and this ad-lib motif pattern is repeated as long as key-on is performed. This repeat data consists of a command of "11 ... 1" and step time. This step time indicates the time length from the key-on of the immediately preceding note data or the change of the tone color data to the repeat timing. The repeat timing in this case usually takes an integral multiple of one bar.

第2B図のアドリブモチーフリズムデータは、リズムパタ
ーンに応じた複数のビートデータよりなり、音色の変化
するところと先頭番地とには、リズム音の音色データが
記憶されている。ビートデータは、ベロシティデータと
ステップタイムデータとの両データよりなっている。音
色データは、対応するローアキーナンバとステップタイ
ムの両データよりなっている。
The ad-lib motif rhythm data in FIG. 2B is composed of a plurality of beat data corresponding to the rhythm pattern, and the timbre data of the rhythm sound is stored at the place where the timbre changes and the leading address. The beat data is composed of both velocity data and step time data. The timbre data consists of both the corresponding lower key number and step time data.

ローアキーナンバは、第5B図に示すように、ナンバ「2
4」〜「43」のキーを示しており、直接バスドラム、ハ
イハット等のリズム音色ナンバを示すものではない。し
かし、第8図に示すROM19のリズム音色テーブル44を用
いて、ローアキーナンバがバスドラム、ハイハット等を
示すリズム音色ナンバにデコードされる。このときあわ
せて発音キーナンバもデコード出力される。
The lower key number is the number "2" as shown in Figure 5B.
The keys "4" to "43" are shown, and the rhythm tone numbers of the bass drum, hi-hat, etc. are not directly shown. However, by using the rhythm tone color table 44 of the ROM 19 shown in FIG. 8, the lower key number is decoded into the rhythm tone color number indicating the bass drum, hi-hat, and the like. At this time, the pronunciation key number is also decoded and output.

リズム音色ナンバは、第6図に示すように、「00H」〜
「3CH」がドラム系の音色を示し、「40H」以上がシンバ
ル系の音色を示している。ドラム系の音色は、白鍵に割
り当てられ、シンバル系の音色は、黒鍵に割り当てられ
ており、キーの色に応じてリズムの音色の系統を変える
ことができるようになっている。むろんこれ以外の割り
当て形態を取ってもよい。
Rhythm tone color number, as shown in FIG. 6, "00 H" -
"3 C H " indicates a drum-type tone, and "40 H " or higher indicates a cymbal-type tone. The drum-type tone color is assigned to the white key, and the cymbal-type tone color is assigned to the black key, so that the rhythm tone color system can be changed according to the key color. Of course, other allocation forms may be adopted.

発音キーナンバは、リズム音であっても音高(発音周波
数)を変えるものであり、「121」〜「127」のキーナン
バが用いられる。このキーナンバは第5図に示すローア
キーナンバ、アッパーキーナンバの延長上の値である
が、発音周波数は延長上になく、全く異なり、121〜127
の7種類とも独立した値をとる。これにより、例えばロ
ータム、ミッドタム、ハイタムにつき、同じリズム音色
ナンバを用い、異なる発音キーナンバで対応することが
でき、音色の情報量を少なくすることができる。むろん
ロータム、ミッドタム、ハイタムに異なるリズム音色ナ
ンバを割り当ててもよく、これに応じて第2B図のローア
キーナンバをリズム音色ナンバとしてもよい。
The pronunciation key number changes the pitch (pronunciation frequency) of even a rhythm sound, and key numbers "121" to "127" are used. This key number is a value on the extension of the lower key number and the upper key number shown in FIG. 5, but the sounding frequency is not on the extension and is completely different.
Independent values for all seven types. As a result, for example, the same rhythm tone color number can be used for the rotom, mid-tom, and high-tom, and different tone key numbers can be used, and the amount of tone color information can be reduced. Of course, different rhythm tone numbers may be assigned to the rotom, mid tom, and high tom, and accordingly, the lower key number in FIG. 2B may be used as the rhythm tone number.

他のベロシティ、ステップタイム等は、上述の第2A図の
アドリブモチーフデータと同じである。なお、第9図
は、ROM19のキー判別デコーダ45を示すものであり、「2
4」〜「72」のキーナンバに対する、このデコーダ45の
出力により、白鍵、黒鍵、アッパー、ローアの判別が行
われる。
Other velocities, step times, etc. are the same as the adlib motif data in FIG. 2A described above. Note that FIG. 9 shows the key discrimination decoder 45 of the ROM 19,
The white key, the black key, the upper, and the lower are discriminated by the output of the decoder 45 with respect to the key numbers of "4" to "72".

このアドリブモチーフリズムデータには、ゲートタイム
が含まれていないが、ステップ197、209、507のバッフ
ァ49にセットされる段階では「1」とされる。むろんこ
れ以外も値でもよい。
The adlib motif rhythm data does not include the gate time, but is set to "1" at the stage of being set in the buffer 49 in steps 197, 209 and 507. Of course, other values may be used.

第2C図のアドリブモチーフコードデータは、コードパタ
ーンに応じた複数のコードデータよりなっている。この
コードデータは、コードとルート(根音)を示すデータ
とステップタイムデータとよりなっている。このコード
とルートとは、伴奏の内容を示すものであり、ROM19の
コードルートテーブル43によって、実際の放音楽音のキ
ーナンバがデコード出力される。
The ad lib motif code data in FIG. 2C is composed of a plurality of code data corresponding to the code pattern. This chord data is composed of chords, data indicating a root (root note), and step time data. The chord and the root indicate the contents of the accompaniment, and the chord root table 43 of the ROM 19 decodes and outputs the key number of the actual emitted music sound.

他のステップタイム等は、上述の第2A図のアドリブモチ
ーフデータと同じである。なおこのコードルートテーブ
ル43により、逆に実際の操作キーナンバからコードとル
ートとをデコード出力することもできる。
Other step times and the like are the same as the adlib motif data in FIG. 2A described above. Note that the code route table 43 can also be used to decode and output the code and route from the actual operation key number.

このようなアドリブモチーフデータは、第2A図、第2B
図、第2C図のフォーマットに限られるものではなく、さ
らに音量、エフェクト等の楽音データを付加してもよ
い。逆に第2A図、第2B図において、ベロシティを省略し
て、現在押されているキーのベロシティを使用してもよ
いし、音色データを省略して、モチーフ演奏時に音色ス
イッチ33…で選択した音色データをアサイメントメモリ
4にセットしてもよい。また音色ナンバとベロシティと
をひとまとめにして、トーンナンバの形で記憶するよう
にしてもよい。さらに第2B図のアドリブモチーフリズム
にゲートタイムを付加したり、第2C図のアドリブモチー
フコードに音色ナンバ、トーンナンバ、ベロシティ、ゲ
ートタイム等を付加したり、逆にルートを省略してアッ
パーキーボード13aの操作キーの音高に基づいて決める
等してもよい。このほか、アドリブモチーフデータの最
後のリピートデータを省略することも可能である。
Such ad-lib motif data is shown in Figures 2A and 2B.
The format is not limited to the format shown in FIG. 2C, and tone data such as volume and effect may be further added. On the contrary, in FIGS. 2A and 2B, the velocity of the currently pressed key may be used by omitting the velocity, or the tone data may be omitted and selected by the tone switch 33 when the motif is played. The tone color data may be set in the assignment memory 4. Also, the tone number and velocity may be grouped together and stored in the form of a tone number. In addition, gate time is added to the adlib motif rhythm shown in Figure 2B, tone number, tone number, velocity, gate time, etc. are added to the adlib motif chord shown in Figure 2C. It may be determined based on the pitch of the operation key of. In addition, the last repeat data of the adlib motif data can be omitted.

〈全体回路〉 第4図は、モチーフ演奏装置の全体回路図を示すもの
で、キーボード13の操作内容はキースキャン回路14でス
キャンされ、キースイッチメモリ1に記憶される。また
パネルスイッチボード15の操作内容はパネルスキャン回
路16でスキャンされ、パネルスイッチメモリ2に記憶さ
れる。パネルスイッチメモリ2の記憶内容はCPU12によ
って処理された後パネル表示メモリ3に転送され、この
転送内容に基づいてパネル表示回路18により、パネルLE
D群17の各LEDが点灯又は消灯される。
<Overall Circuit> FIG. 4 shows an overall circuit diagram of the motif playing apparatus. The operation contents of the keyboard 13 are scanned by the key scan circuit 14 and stored in the key switch memory 1. The operation contents of the panel switch board 15 are scanned by the panel scan circuit 16 and stored in the panel switch memory 2. The stored contents of the panel switch memory 2 are transferred to the panel display memory 3 after being processed by the CPU 12, and the panel display circuit 18 is operated by the panel LE based on the transferred contents.
Each LED of the D group 17 is turned on or off.

《通常の演奏時》 通常の演奏時には、キーボード13の操作キーに応じたキ
ーナンバは、CPU12によって、いったんリングバッファ4
9に書き込まれた後、楽音発生回路24のアサイメントメ
モリ4に書き込まれて、チャンネル割り当てが行われ
る。このとき、操作キーの操作速度又は操作圧力を示す
ベロシティデータと、パネルスイッチボード15で選択さ
れたメロディ音又はリズム音の音色ナンバ(音色デー
タ)もリングバッファ49に書き込まれる。そしてこのベ
ロシティデータと音色ナンバとに基づいてトーンナンバ
が決定され、アサイメントメモリ4に書き込まれる。
<Normal playing> During normal playing, the key number corresponding to the operation key on the keyboard 13 is temporarily set by the CPU 12 to the ring buffer 4
After being written in 9, the data is written in the assignment memory 4 of the tone generating circuit 24 and channel assignment is performed. At this time, velocity data indicating the operation speed or operation pressure of the operation key and the tone color number (tone color data) of the melody tone or rhythm tone selected by the panel switch board 15 are also written in the ring buffer 49. Then, the tone number is determined based on the velocity data and the tone color number, and written in the assignment memory 4.

上記トーンナンバの決定は、第6図に基づいて行われ
る。すなわちメロディ音又はリズム音の音色ナンバは6
ビットであり、この6ビットの音色ナンバの下位にベロ
シティデータの上位2ビットが付加されて、トーンナン
バが決定される。従って、同じ音色ナンバでも、ベロシ
ティデータの4つの段階(「00」「01」「10」「11」)
に応じて、トーンナンバが変化する。
The tone number is determined based on FIG. That is, the timbre number of the melody or rhythm sound is 6
It is a bit, and the upper 2 bits of velocity data are added to the lower part of the 6-bit tone color number to determine the tone number. Therefore, even with the same tone number, there are four stages of velocity data (“00”, “01”, “10”, “11”)
The tone number changes according to.

もちろん、6ビットの音色ナンバの下位にキーナンバの
上位2ビットを付加してトーンナンバとし、キースプリ
ット機能を実現してもよい。さらに、変換ROM等を用い
て、ベロシティデータやキーナンバより2ビットデータ
を得て、これをトーンナンバの下位2ビットとすること
もできる。
Of course, the key split function may be realized by adding the upper 2 bits of the key number to the lower part of the 6-bit tone color number to form a tone number. Furthermore, it is also possible to obtain 2-bit data from velocity data or a key number using a conversion ROM or the like, and use this as the lower 2 bits of the tone number.

リングバッファ49は、第10図に示す構成で、音符データ
がキー操作順に書き込まれていく。この音符データは、
キーナンバ、ゲートタイム、ベロシティ、音色ナンバよ
りなり、これらのデータは第2A図、第6図で述べた通り
である。ただしこの場合、1つの音符データは、キーオ
ンについてのものとキーオフについてのものとに分離さ
れており、ゲートタイムは、キーオンに切り換えるコマ
ンド(「11…1(255)」と、キーオフに切り換えるコ
マンド(「00…0(0)」)との2つのみである。
「1」〜「254」の値を取るときは、キーオンからキー
オフまでの時間長を示している。キーナンバの上位には
1ビットのオン/オフデータが付加されており、音符デ
ータがキーオン(1)に係るものか、キーオフ(0)に
係るものかが示される。
The ring buffer 49 has the configuration shown in FIG. 10, and note data is written in the order of key operations. This note data is
It consists of key number, gate time, velocity, and tone color number, and these data are as described in FIGS. 2A and 6. However, in this case, one note data is separated into one for key-on and one for key-off, and the gate time is a command for switching to key-on (“11 ... 1 (255)” and a command for switching to key-off ( "00 ... 0 (0)").
When a value of "1" to "254" is taken, it indicates the time length from key-on to key-off. 1-bit on / off data is added to the upper part of the key number to indicate whether the note data is key-on (1) or key-off (0).

アサイメントメモリ4には、第11図に示すように、最高
16音の楽音データが書き込み可能であり、16チャンネル
の楽音生成系が構成されている。このアサイメントメモ
リ4にセットされているトーンナンバに応じた波形デー
タ及びエンベロープデータがROM23より読み出され、D
−Aコンバータ25を介し、サウンドシステム26より放音
出力される。この場合、波形データはキーナンバに応じ
た速度で読み出される。
As shown in FIG. 11, the assignment memory 4 has the highest
16 tones can be written, and a 16-channel tone generation system is configured. The waveform data and envelope data corresponding to the tone number set in the assignment memory 4 are read out from the ROM 23, and D
Sound is output from the sound system 26 via the A converter 25. In this case, the waveform data is read at a speed according to the key number.

アサイメントメモリ4の各チャンネルエリアには、オン
/オフデータ、キーナンバ、ゲートタイム/エンベロー
プ、ベロシティ、トーンナンバが記憶される。ゲートタ
イム/エンベロープの番地には、キーオン以降はゲート
タイム(キーオンからキーオフまでの時間)がセットさ
れ、キーオフ以降はエンベロープのレベルデータがセッ
トされる。他のオン/オフデータ、キーナンバ、ベロシ
ティ、トーンナンバは、上述した通りである。
On / off data, key number, gate time / envelope, velocity, and tone number are stored in each channel area of the assignment memory 4. At the gate time / envelope address, the gate time (time from key-on to key-off) is set after key-on, and the envelope level data is set after key-off. Other on / off data, key numbers, velocities, and tone numbers are as described above.

《OFAモード時》 OFA(ワンフィンガーアドリブ)モード、即ち各キーの
操作で各キーに割り当てられたアドリブモチーフパター
ンの自動演奏を行うモードには、キーボード13の操作キ
ーに応じたキーナンバは、CPU12によって、各キーに割
り当てられたアドリブモチーフパターンのデータがRAM2
0のアドリブモチーフパターンエリア47より読み出さ
れ、いったんリングバッファ49に書き込まれた後、楽音
発生回路24のアサイメントメモリ4に書き込まれて、チ
ャンネル割り当てが行われる。このアドリブモチーフデ
ータは、数音の連続した楽音データの組み合わせよりな
る、比較的短かい演奏パターンであり、フレーズ、ピリ
オド(楽節)、複数のピリオド等までも含む概念であ
る。
<< OFA mode >> In OFA (one-finger ad lib) mode, that is, in the mode that automatically plays the ad lib motif pattern assigned to each key by operating each key, the key number corresponding to the operation key of the keyboard 13 is set by the CPU 12. , The data of the ad lib motif pattern assigned to each key is RAM2.
The data is read from the ad-lib motif pattern area 47 of 0, once written in the ring buffer 49, and then written in the assignment memory 4 of the tone generation circuit 24, and channel assignment is performed. The ad-lib motif data is a relatively short performance pattern composed of a combination of musical tone data of several tones, and is a concept including phrases, periods, and a plurality of periods.

このときも、リングバッファ49に書き込まれたアドリブ
モチーフのベロシティと音色ナンバ(ローアキーナン
バ)とに基づいてトーンナンバが決定され、アサイメン
トメモリ4に書き込まれる。またコードとルート(根
音)を示すコードデータは、ROM19のコードルートテー
ブル43に与えられ、対応する実際の放音楽音のキーナン
バが読み出され、いったんリングバッファ49に書き込ま
れた後、アサイメントメモリ4に書き込まれる。
Also at this time, the tone number is determined based on the velocity of the adlib motif written in the ring buffer 49 and the tone color (lower key number), and is written in the assignment memory 4. Further, the chord data indicating the chord and the root (root note) is given to the chord route table 43 of the ROM 19, the key number of the corresponding actual musical sound is read out, once written in the ring buffer 49, and then assigned. It is written in the memory 4.

《アドリブモチーフ記録時》 アドリブモチーフの記録モード時には、キーボード13の
操作キーに応じたキーナンバ、ベロシティ、パネルスイ
ッチボード15の選択音色スイッチ33に応じたメロディ音
の音色ナンバは、CPU12によって、RAM20のレコードバッ
ファ48に順次書き込まれた後、指定されたキーボード13
のキーに割り当てられたアドリブモチーフパターンとし
て、RAM20のアドリブモチーフパターンエリア47に書き
込まれる。レコードバッファ48は、第10図に示すよう
に、リングバッファ49と同じ構成である。
<When recording an ad-lib motif> In the recording mode of the ad-lib motif, the key number corresponding to the operation key of the keyboard 13, the velocity, and the tone number of the melody tone corresponding to the selected tone switch 33 of the panel switch board 15 are recorded in RAM20 by the CPU12. After writing sequentially to buffer 48, the specified keyboard 13
It is written in the ad lib motif pattern area 47 of the RAM 20 as the ad lib motif pattern assigned to the key. The record buffer 48 has the same structure as the ring buffer 49, as shown in FIG.

このときも、コード伴奏については、操作キーに応じた
キーナンバが、ROM19のコードルートテーブル43に与え
られ、対応するコードとルート(根音)を示すコードデ
ータが読み出されて記録される。またリズム演奏につい
ては、操作キーに応じたローアキーナンバがそのまま記
録される。
Also at this time, for the chord accompaniment, the key number corresponding to the operation key is given to the chord route table 43 of the ROM 19, and the chord data indicating the corresponding chord and the root (root note) is read and recorded. For rhythm performance, the lower key number corresponding to the operation key is recorded as it is.

このアドリブモチーフ記録時においても、通常の演奏と
同じく、キーナンバ、コードとルート等が、いったんリ
ングバッファ49に書き込まれた後、アサイメントメモリ
4に書き込まれて、楽音の生成放音が行われる。
Even during the recording of the adlib motif, the key number, the chord, the route, etc. are once written in the ring buffer 49 and then in the assignment memory 4 as in the normal performance, and the musical tone is generated and emitted.

またSCI(シリアル コミュニケーション インターフ
ェース)回路10は、外部接続される電子楽器との間で、
MIDI(ミュージカル インスツルメンツ デジタル イ
ンターフェース)仕様の楽音データのインタフェースを
行う回路である。このSCI回路10に入力された楽音デー
タは、上述した通常の演奏、アドリブモチーフパターン
の自動演奏、アドリブモチーフの記録のいずれも可能で
ある。
In addition, the SCI (serial communication interface) circuit 10 can be used to
This is a circuit for interfacing musical tone data of MIDI (Musical Instruments Digital Interface) specifications. The tone data input to the SCI circuit 10 can be used for any of the above-described normal performance, automatic performance of adlib motif pattern, and recording of adlib motif.

上記SCI回路10へ新たな楽音データの入力があったり、
キーボード13よりキースイッチメモリ1へ新たな楽音デ
ータの書き込みがあったり、パネルスイッチボード15よ
りパネルスイッチメモリ2へ新たなメロディ音色ナンバ
データやモードデータの書き込みがあったりすると、イ
ンタラプト信号INT1、INT3、INT4がCPU12に入力され
て、新たな楽音データ、音色ナンバ、モードデータに応
じた通常の演奏、アドリブモチーフパターンの自動演
奏、アドリブモチーフの記録が行われる。
There is input of new musical sound data to the SCI circuit 10,
When new musical tone data is written from the keyboard 13 to the key switch memory 1 or new melody tone number data or mode data is written from the panel switch board 15 to the panel switch memory 2, the interrupt signals INT1, INT3, INT4 is input to the CPU 12 to perform new musical tone data, tone color number, normal performance according to mode data, automatic performance of adlib motif pattern, and recording of adlib motif.

またプログラマブルタイマ11からCPU12にもインタラプ
ト信号INT2が入力されるが、このプログラマブルタイマ
11は、設定テンポに応じたデータがセットされ、一定時
間ごとに上記インタラプト信号INT2がCPU12に与えら
れ、上記アドリブモチーフパターンの実行、ゲートタイ
ムデータ及びステップタイムデータに応じたカウントが
行われる。
Also, the interrupt signal INT2 is input from the programmable timer 11 to the CPU 12, but this programmable timer
At 11, data corresponding to the set tempo is set, the interrupt signal INT2 is given to the CPU 12 at regular intervals, and execution of the adlib motif pattern and counting according to gate time data and step time data are performed.

RAM20には、上記アドリブモチーフデータのほか、各種
データが記憶され、ROM19には、CPU12が各種処理を行う
ためのプログラムやデータ等が記憶されている。具体的
には、ROM19には、プログラムエリア40の他、上述した
アドリブモチーフエリア41、アドリブモチーフパターン
エリア42、コードルートテーブル43、リズム音色テーブ
ル44、キー判別デコーダ45等が設けられ、RAM20には、
ワーキングRAM46の他、上述したアドリブモチーフパタ
ーンエリア47、レコードバッファ48、リングバッファ49
等が設けられている。
The RAM 20 stores various data in addition to the ad-lib motif data, and the ROM 19 stores programs and data for the CPU 12 to perform various processes. Specifically, the ROM 19 is provided with the program area 40, the ad-lib motif area 41, the ad-lib motif pattern area 42, the chord route table 43, the rhythm tone color table 44, the key discrimination decoder 45, etc. described above. ,
In addition to the working RAM 46, the above-mentioned ad lib motif pattern area 47, record buffer 48, ring buffer 49
Etc. are provided.

また、RAM20内のアドリブモチーフデータやその他のデ
ータ等は、フロッピーディスク制御回路21を通じてフロ
ッピーディスク22にセーブされたり、逆にロードされた
りする。さらに、ブザー28は、ブザードライバ27を介し
て、CPU12によって放音駆動される。このブザー28は、
メトロノームと同じ働きをもち、テンポに応じた一定時
間ごとに放音を行うものである。
Also, the adlib motif data and other data in the RAM 20 are saved in the floppy disk 22 through the floppy disk control circuit 21 and loaded in the reverse. Further, the buzzer 28 is driven to emit sound by the CPU 12 via the buzzer driver 27. This buzzer 28
It has the same function as the metronome, and emits sound at regular intervals according to the tempo.

〈パネルスイッチボード15〉 第5A図は、パネルスイッチボード15の各スイッチを示す
ものである。モードスイッチ31は、ノーマル(NORMA
L)、ベース/リズム(BASS/RHYTHM)、オート(AUTO)
の各演奏モードをリングシフトで切り換えるものであ
る。ノーマルは、第12A図左上段に示すように、キーボ
ード13でメロディを演奏する通常の演奏モードであり、
ベース/リズムは、キーボード13のアッパーキーボード
13aでベースの演奏、ローアキーボード13bでリズムを演
奏するモードであり、オートは、アッパーキーボード13
aでメロディの演奏、ローアキーボード13bで操作キーの
コードとルートの検出が行われ、楽音の放音は行われな
いモードである。
<Panel Switch Board 15> FIG. 5A shows each switch of the panel switch board 15. The mode switch 31 is a normal (NORMA
L), bass / rhythm (BASS / RHYTHM), auto (AUTO)
Each performance mode of is switched by ring shift. Normal is a normal playing mode in which a melody is played on the keyboard 13, as shown in the upper left part of FIG. 12A,
Bass / rhythm is keyboard 13 upper keyboard
13a is the mode for playing bass and the lower keyboard 13b is for playing rhythm.
In this mode, the melody is played with a, the chords of the operation keys and the root are detected with the lower keyboard 13b, and no musical sound is emitted.

OFA(ワンフィンガーアドリブ)スイッチ32は、キーボ
ード13の各キーの操作で各キーに割り当てられたアドリ
ブモチーフパターンの自動演奏を行うモードを指定する
ものである。
The OFA (one finger ad lib) switch 32 is used to specify a mode in which an ad lib motif pattern assigned to each key is automatically played by operating each key of the keyboard 13.

このOFAモードでは、モードスイッチ31をノーマルにす
ると、第12A図(d)に示すように、アッパーキーボー
ド13aでは、各キーに割り当てられたメロディのアドリ
ブモチーフが自動演奏され、ローアキーボード13bで
は、通常のメロディ演奏が行われる。この場合アッパー
キーボード13aでは、2つのキーを同時押しして、2種
類のメロディのアドリブモチーフを並行して自動演奏さ
せることができる。またローアキーボード13bの操作キ
ーに応じたコードとルートの検出が行われ、アッパキー
ボード13aで演奏されるメロディのアドリブモチーフの
音階がシフト修正される。このシフト修正は公知の技術
である。
In this OFA mode, when the mode switch 31 is set to normal, as shown in FIG. 12A (d), the upper keyboard 13a automatically plays the ad-lib motif of the melody assigned to each key, and the lower keyboard 13b normally operates. The melody is played. In this case, in the upper keyboard 13a, two keys can be simultaneously pressed to automatically play the adlib motifs of two types of melody in parallel. Further, the chord and the route corresponding to the operation key of the lower keyboard 13b are detected, and the scale of the ad lib motif of the melody played on the upper keyboard 13a is shift-corrected. This shift correction is a known technique.

OFAモードでモードスイッチ31をベース/リズムにする
と、第12A図(e)に示すように、アッパーキーボード1
3aでは、各キーに割り当てられたベースのアドリブモチ
ーフが自動演奏され、ローアキーボード13bでは、各キ
ーに割り当てられたリズムのアドリブモチーフが自動演
奏される。そしてローアキーボード13bの白鍵でドラム
系のリズム音の演奏が行われ、黒鍵でシンバル系のリズ
ム音の演奏が行われる。この場合アッパーキーボード13
aで演奏されるベースのアドリブモチーフの音階は、こ
のモードに入る前のコードルートレジスタに記憶されて
いたコードとルートに基づいてシフト修正される。この
シフト修正は公知の技術である。
When the mode switch 31 is set to bass / rhythm in OFA mode, as shown in FIG. 12A (e), the upper keyboard 1
In 3a, the ad lib motif of the bass assigned to each key is automatically played, and in the lower keyboard 13b, the ad lib motif of the rhythm assigned to each key is automatically played. Then, the white key of the lower keyboard 13b plays a drum-type rhythm sound, and the black key plays a cymbal-type rhythm sound. In this case the upper keyboard 13
The scale of the ad lib motif of the bass played in a is shift-corrected based on the chord and route stored in the chord route register before entering this mode. This shift correction is a known technique.

OFAモードでモードスイッチ31をオートにすると、第12A
図(f)に示すように、アッパーキーボード13aでは、
各キーに割り当てられたメロディのアドリブモチーフが
自動演奏され、ローアキーボード13bでは、各キーに割
り当てられたコードルートのアドリブモチーフが自動選
択され、楽音の放音は行われない。この場合アッパーキ
ーボード13aでは、1つのキーで第1メロディ、第2メ
ロディの2種類のメロディのアドリブモチーフを並行し
て自動演奏させることができる。またローアキーボード
13bで検出されたキーに応じた、アドリブモチーフのコ
ードとルートによって、アッパーキーボード13aで演奏
されるメロディのアドリブモチーフの音階がシフト修正
される。このシフト修正は公知の技術である。
When the mode switch 31 is set to auto in OFA mode, the 12th A
As shown in Figure (f), the upper keyboard 13a
The ad lib motif of the melody assigned to each key is automatically played, and the lower keyboard 13b automatically selects the ad lib motif of the chord root assigned to each key, so that no musical sound is emitted. In this case, with the upper keyboard 13a, it is possible to automatically perform the ad-lib motifs of the two types of melody, the first melody and the second melody, in parallel with one key. Also lower keyboard
The scale of the adlib motif of the melody played on the upper keyboard 13a is shift-corrected by the chord and route of the adlib motif corresponding to the key detected by 13b. This shift correction is a known technique.

記録/割当(REC/A.ASN)スイッチ39は、レコード/ア
サインのモードを設定するもので、キーコード13の演奏
内容又はMIDIデータをアドリブモチーフパターンとして
記録したり、キーボード13のアサイナブルなキーに、ア
ドリブモチーフパターンを割り当てたり、上述の第1C図
に示すオートアルペジオ等のオートモチーフのそれぞれ
に、アドリブモチーフパターンを割り当てたりする。こ
のアドリブモチーフパターンとして記録される楽音は、
第12A図左下段に示すように、上記ノーマルモード
(g)であれば第1メロディ音、ベース/リズムモード
(h)であればベース音及びリズム音、オートモード
(i)であれば第2メロディ音及びコード音になる。
The record / assign (REC / A.ASN) switch 39 is used to set the record / assign mode. It records the performance of the key code 13 or MIDI data as an ad lib motif pattern, or assigns it to the assignable keys of the keyboard 13. , An ad lib motif pattern is assigned, or an ad lib motif pattern is assigned to each auto motif such as the auto arpeggio shown in FIG. 1C above. The musical sound recorded as this ad lib motif pattern is
As shown in the lower left part of FIG. 12A, the first melody sound in the normal mode (g), the bass sound and rhythm sound in the bass / rhythm mode (h), and the second sound in the auto mode (i). It becomes a melody sound and a chord sound.

第15A図及び第15B図は、新たなアドリブモチーフパター
ンデータを記録させた場合の例を示しており、パターン
“2"として新たなアドリブモチーフパターンデータを書
き込むには、古いパターン“2"がクリアされ、パターン
“3"以降が順次つめてシフトされ、末尾に新たなパター
ン“2"が書き込まれる。これに応じて、第15B図に示す
ように、アドリブモチーフスタートアドレスエリアの内
容が書き換えられる。
FIGS. 15A and 15B show an example where new adlib motif pattern data is recorded. To write new adlib motif pattern data as pattern “2”, the old pattern “2” is cleared. The pattern "3" and subsequent patterns are sequentially shifted and shifted, and a new pattern "2" is written at the end. In response to this, the contents of the adlib motif start address area are rewritten as shown in FIG. 15B.

スタート/ストップ(START/STOP)スイッチ38は、上述
の第1C図に示すオートアルペジオ、オートベース、第1
オートリズム、第2オートリズムのオートモチーフをス
タートさせたりストップさせたりするものである。この
うち、オートアルペジオ、オートベースは、スタート/
ストップスイッチ38をオンしてもデータの読み出しは行
うが、発音はマスキングされており、ローアキーボード
13bを操作してはじめて、放音が開始される。このマス
キングはサウンドシステム26で行われる。
The START / STOP switch 38 is used for the auto arpeggio, the auto bass, and the first base shown in FIG. 1C above.
This is to start or stop the auto motif of the auto rhythm and the second auto rhythm. Of these, Auto Arpeggio and Auto Bass start /
Even if the stop switch 38 is turned on, the data is read, but the pronunciation is masked.
Sound emission starts only when 13b is operated. This masking is done by the sound system 26.

上記オートアルペジオ、オートベースは、第12A図
(c)(f)に示すように、オートモードでのみ実行さ
れる。また第1オートリズム、第2オートリズムは、全
てのモードで実行される。ただし、レコード/アサイン
モードでは、いづれも実行されない。なお、OFAモード
かつベース/リズムモード(e)では、実行される第1
オートリズム、第2オートリズムのうち、ローアキーボ
ード13bで演奏されるリズム音のアドリブモチーフと同
じ系列のリズム音がカットされる。
The auto arpeggio and auto base are executed only in the auto mode as shown in FIGS. 12A (c) and (f). The first autorhythm and the second autorhythm are executed in all modes. However, in the record / assign mode, neither is executed. In the OFA mode and the bass / rhythm mode (e), the first
Of the auto rhythm and the second auto rhythm, the rhythm sound of the same series as the ad lib motif of the rhythm sound played on the lower keyboard 13b is cut.

音色スイッチ33…(MELODY)は、メロディ演奏の音色を
切り換えるもので、1つのスイッチ33で、4つの音色を
リングシフトで切り換えられるようになっている。
The timbre switch 33 ... (MELODY) switches the timbre of the melody performance, and four timbres can be switched by ring shift with one switch 33.

リズムスイッチ34…(RHYTHM)は、リズム演奏の種類を
切り換えるもので、1つのスイッチ34で、2種類のリズ
ムを交互に切り換えられるようになっている。
The rhythm switch 34 (RHYTHM) switches the type of rhythm performance, and one switch 34 can switch between two types of rhythms.

電源スイッチ(POWER ON)35は、システム全体の電源の
オン/オフ用のスイッチである。
The power switch (POWER ON) 35 is a switch for turning on / off the power of the entire system.

音量スイッチ(TOTAL VOL)36は、スライドタイプのも
ので、楽器全体の出力音量を変化させるものである。
The volume switch (TOTAL VOL) 36 is of a slide type and changes the output volume of the entire musical instrument.

テンポスイッチ(TEMPO)37は、アップ用とダウン用の
2つのスイッチよりなり、各スイッチで、設定テンポ値
をアップしたりダウンしたりする。
The tempo switch (TEMPO) 37 is composed of two switches for up and down, and each switch increases or decreases the set tempo value.

〈キーボード13〉 第5B図は、キーボード13を示すものである。このキーボ
ード13は、C2(キーナンバ24)〜C6(キーナンバ72)の
49鍵よりなり、C2(24)〜G3(43)は、ローアキーボー
ド13b、C3 #(44)〜C6(72)は、アッパーキーボード13
aである。このうち、ローアキーボード13bの中のC2(2
4)〜C3 #(39)、アッパーキーボード13aの中のG3 #(4
4)〜B4(59)は、各キーに割り当てられたアドリブモ
チーフパターンが固定されて変更できないものであり、
これ以外のキーは変更可能なものである。
<Keyboard 13> FIG. 5B shows the keyboard 13. The keyboard 13 is, C 2 (key number 24) -C 6 of (key number 72)
It consists of 49 keys, C 2 (24) to G 3 (43) is the lower keyboard 13b, C 3 # (44) to C 6 (72) is the upper keyboard 13
is a. Of these, C 2 (2
4) ~ C 3 # (39), G 3 # (4 in the upper keyboard 13a
4) to B 4 (59), the ad lib motif pattern assigned to each key is fixed and cannot be changed.
The other keys can be changed.

〈ワーキングRAM46〉 第13図は、RAM20内のワーキングRAM46の内容を示すもの
である。
<Working RAM 46> FIG. 13 shows the contents of the working RAM 46 in the RAM 20.

メジャクロックレジスタ71には、リズムスイッチ34…で
選択されたリズムに応じた第7図に示すような拍子デー
タがセットされる。
In the major clock register 71, the time signature data as shown in FIG. 7 corresponding to the rhythm selected by the rhythm switch 34 ... Is set.

テンポレジスタ72には、テンポスイッチ37で設定された
テンポデータがセットされる。
The tempo data set by the tempo switch 37 is set in the tempo register 72.

モードレジスタ73には、設定されたモードの内容が記憶
される。再下位ビットの「S/S」は、スタート/ストッ
プスイッチ38のオン(1)、オフ(0)を示す。次の3
ビットの「NOR、B/R、AUT」は、モードスイッチ31の切
換えによって設定されたモード内容を示す。「R/A」の
ビットは、記録/割当スイッチ39のオン(1)、オフ
(0)を示す。「OFA」のビットは、OFAスイッチ32のオ
ン(1)、オフ(0)を示す。
The mode register 73 stores the contents of the set mode. "S / S" in the lower bit indicates that the start / stop switch 38 is on (1) or off (0). Next 3
The bits “NOR, B / R, AUT” indicate the mode contents set by switching the mode switch 31. The bit “R / A” indicates whether the recording / assignment switch 39 is on (1) or off (0). The "OFA" bit indicates whether the OFA switch 32 is on (1) or off (0).

メロディ音色レジスタ74は、音色スイッチ33…によって
選択されたメロディ音色に応じた「0」〜「31」のナン
バデータが2ビットシフトアップして記憶される。
In the melody tone color register 74, number data of "0" to "31" corresponding to the melody tone color selected by the tone color switch 33 ... Is shifted up by 2 bits and stored.

リズム種類レジスタ75は、リズムスイッチ34…によって
選択されたリズムの種類に応じた「0」〜「15」のナン
バデータが記憶される。
The rhythm type register 75 stores the number data "0" to "15" corresponding to the type of rhythm selected by the rhythm switch 34 ...

コードルートレジスタ76は、伴奏コードのコードの種類
とコードのルート(根音)の各データがセットされる。
このコードとルートは、ローアキーボード13bの操作キ
ーの状態からコード検出して得られたものと、アドリブ
モチーフ演奏時にコードデータとして記憶されているも
のとがある。
The chord root register 76 is set with the chord type of the accompaniment chord and the chord root (root note) data.
The chord and the route include those obtained by detecting the chord from the state of the operation keys of the lower keyboard 13b, and those stored as chord data when the ad lib motif is played.

キーステータレジスタ77は、ローアキーボード13bの各
キーのオン(1)、オフ(0)がセットされ、コードの
種類とコードのルート(根音)の検出が行われる。
In the key status register 77, ON (1) and OFF (0) of each key of the lower keyboard 13b are set, and the chord type and chord root (root note) are detected.

《シーケンスレジスタ群》 リズム1、リズム2、ベース、アルペジオ、メロディ
1、メロディ2、コードの各シーケンスレジスタ群78、
79、80、81、82、83、84は、上記オートアルペジオ、オ
ートベース、第1オートリズム、第2オートリズムの各
オートモチーフを実行したり、各キーに割り当てられた
アドリブモチーフを演奏するのに使用される。すなわ
ち、このレジスタ群と後述するフローチャートに応じた
プログラムにより、リズム1、リズム2、ベース、アル
ペジオ、メロディ1、メロディ2、コードの7つのアド
リブモチーフ演奏用のシーケンスシステムが構成され
る。このうちリズムとメロディとは、2つずつレジスタ
群が設けられているので、2つのアドリブモチーフパタ
ーンを並行して演奏できる。むろん、このレジスタ群の
数を増やせば、同時に演奏できるアドリブモチーフの数
を増やすことができる。また、リズム1のシーケンスシ
ステムでは、ドラム音の演奏が行われ、リズム2のシー
ケンスシステムでは、シンバル音の演奏が行われる。
<< Sequence register group >> Rhythm 1, rhythm 2, bass, arpeggio, melody 1, melody 2, chord sequence register group 78,
79, 80, 81, 82, 83, 84 execute the auto-arpeggio, auto-bass, first auto-rhythm, and second auto-rhythm auto-motifs, or play the adlib motif assigned to each key. Used for. That is, a sequence system for playing seven adlib motifs of rhythm 1, rhythm 2, bass, arpeggio, melody 1, melody 2 and chords is configured by a program according to this register group and a flowchart described later. Of these, two rhythm and melody registers are provided, so that two adlib motif patterns can be played in parallel. Of course, if you increase the number of this register group, you can increase the number of adlib motifs that can be played at the same time. The rhythm 1 sequence system plays drum sounds, and the rhythm 2 sequence system plays cymbals.

この各レジスタ群の使用は、第12B図に示す通りに分担
され、丸印はアドリブモチーフであり、三角印はオート
モチーフを示している。そして、アドリブモチーフはキ
ーボード13のキーオンでスタートし、オートモチーフは
スタート/ストップスイッチ38のオンでスタートする。
ただしアルペジオとベースのオートモチーフは、スター
ト/ストップスイッチ38のオンからキーボード13のキー
オンまで、発音がマスキングされることは、上述した通
りである。
The use of each register group is shared as shown in FIG. 12B, the circles indicate ad lib motifs, and the triangles indicate auto motifs. The ad lib motif starts when the keyboard 13 is turned on, and the auto motif starts when the start / stop switch 38 is turned on.
However, as described above, the arpeggio and bass auto-motifs are masked in their pronunciation from the start / stop switch 38 on to the keyboard 13 key on.

これらの各シーケンスレジスタ群は、A、B、C、D、
HL、Mの各レジスタよりなっている。
Each of these sequence register groups includes A, B, C, D,
It consists of HL and M registers.

Aレジスタは、このレジスタ群を使用して実行されてい
るオートモチーフ又はアドリブモチーフの第1C図に示す
パターンナンバがセットされる。最上位ビットUSEは、
このレジスタ群が使用中(1)かそうでないか(0)を
示している。
In the A register, the pattern number shown in FIG. 1C of the auto-motif or ad-lib motif executed using this register group is set. The most significant bit USE is
Indicates whether this register group is in use (1) or not (0).

Bレジスタは、このアドリブモチーフ(オートモチー
フ)にて現在選択されている音色ナンバがセットされ
る。
In the B register, the tone color number currently selected by this ad lib motif (auto motif) is set.

Cレジスタは、リズム音色の読み出しは周波数を決定す
る、発音キーナンバがセットされる。この発音キーナン
バは、第8図に示すとうりであり、リズムのアドリブモ
チーフ(オートモチーフ)においてのみ使用される。
In the C register, a tone generation key number is set, in which reading of the rhythm tone color determines the frequency. This pronunciation key number is as shown in FIG. 8 and is used only in the rhythm adlib motif (auto motif).

Dレジスタは、ステップタイムデータがセットされ、ア
ドリブモチーフ(オートモチーフ)データの読み出し時
に、次の音符データ、ビートデータ、コードデータを読
み出すまでの待機時間が計測される。
Step time data is set in the D register, and when the adlib motif (auto motif) data is read, the waiting time until the next note data, beat data, and chord data is read is measured.

HLレジスタは、現在読み出しているアドリブモチーフ
(オートモチーフ)パターンのRAM20の記憶アドレスデ
ータがセットされる。この場合ローバイト(L)とハイ
バイト(H)との2バイト分がセットされる。
In the HL register, the storage address data of the RAM 20 of the currently read adlib motif (auto motif) pattern is set. In this case, two bytes of low byte (L) and high byte (H) are set.

Mレジスタは、キーボード13の操作キーがオフされて、
リズムのアドリブモチーフ(オートモチーフ)が停止し
てから、再度リズムのアドリブモチーフ(オートモチー
フ)がスタートするまでの待機時間を小節数で表わした
データがセットされる。このMレジスタの最上位ビット
M/Aは、このリズムのアドリブモチーフ(オートモチー
フ)がスタート/ストップスイッチ38の操作によりスタ
ートしているものか(A)、ローアキーボード13bのキ
ーオンによりスタートしているものか(M)を示してい
る。
In the M register, the operation key of the keyboard 13 is turned off,
Data indicating the waiting time from the stop of the rhythm adlib motif (automotif) to the start of the rhythm adlib motif (automotif) again is set. Most significant bit of this M register
M / A indicates whether the ad-lib motif (auto motif) of this rhythm is started by operating the start / stop switch 38 (A) or by keying on the lower keyboard 13b (M). ing.

メジャクロックカウンタ85は、ローバイトが、プログラ
マブルタイマ11からのインタラプト信号INT2入力ごとに
+1され、上述したメジャクロックレジスタの値に一致
するとクリアされるとともに、ハイバイトが+1され、
テンポと拍子に応じたカウントが行われる。したがっ
て、ハイバイトはカウントが開始されてからの小節数を
示している。
In the major clock counter 85, the low byte is incremented by 1 each time the interrupt signal INT2 is input from the programmable timer 11, and is cleared when the value of the major clock register described above is matched, and the high byte is incremented by 1,
Counting is done according to the tempo and time signature. Therefore, the high byte indicates the number of bars since the count was started.

イベントオンオフ、イベントキーナンバ、イベントベロ
シティの各レジスタ89、90、91は、インタラプト信号IN
T1、INT3の入力があったときのイベントのあったキーに
ついての各データが一時的にセットされる。
Event on / off, event key number, and event velocity registers 89, 90, and 91 are interrupt signals IN
Each data for the key that has an event when T1 or INT3 is input is temporarily set.

リングトップアドリスレジスタ92とリングボトムアドレ
スレジスタ93とは、RAM20のリングバッファ49の書き込
みポイント(トップ)のアドレスデータと、読み出しポ
イント(ボトム)のアドレスデータがセットされる。こ
のリングトップアドレレスの更新は、上記インタラプト
信号INT1〜INT4の入力があったときに、割り込み処理ル
ーチンにて行われ、リングボトムアドレスの更新は、メ
インルーチンにてリングバッファ49の内容を処理すると
きに行われる。
The ring top address register 92 and the ring bottom address register 93 are set with the address data of the write point (top) and the read point (bottom) of the ring buffer 49 of the RAM 20. The update of the ring top address is performed in the interrupt processing routine when the interrupt signals INT1 to INT4 are input, and the update of the ring bottom address processes the contents of the ring buffer 49 in the main routine. Sometimes done.

ステップタイムカウンタ86では、1つ前のキーオンイベ
ントから次のキーオンイベントまでの時間データのカウ
ントが行われる。このカウントは、上記プログラマブル
タイマ11からのインタラプト信号INT2入力ごとに行われ
る。
The step time counter 86 counts time data from the immediately preceding key-on event to the next key-on event. This counting is performed every time the interrupt signal INT2 is input from the programmable timer 11.

レコーディングアドレスレジスタ87は、レコードバッフ
ァ48の書き込みが行われている番地を示すアドレスデー
タがセットされる。
In the recording address register 87, address data indicating the address where the record buffer 48 is being written is set.

リズムキーナンバレジスタ88は、最新にキーオンされた
ローアキーナンバがセットされる。この新たなキーナン
バのセットに続いて、ベロシティデータ、ステップタイ
ムデータもセットされる。
In the rhythm key number register 88, the latest key-on lower key number is set. Following this new set of key numbers, velocity data and step time data are also set.

ベロシティメモリ94は、キーボード13の各キーのキーオ
ン時のベロシティデータを一時待避的に記憶するのに使
用される。この理由は、後述する第17図のキーオン、キ
ーオフ時の処理のステップ111の処理で、ゲートタイム
を後で求めるために、ゲートタイムとベロシティを書き
込む番地にメジャクロックカウンタ85の値を書き込んで
しまうためである。またこのベロシティメモリ94は、キ
ーナンバ「127」に応じた番地まであるが、ローアキー
ナンバ「120」〜「127」に対応したものである。
The velocity memory 94 is used to temporarily store velocity data at the time of turning on each key of the keyboard 13. The reason for this is that the value of the major clock counter 85 is written to the address where the gate time and velocity are written in order to obtain the gate time later in the processing of step 111 of the processing at key-on and key-off in FIG. 17 described later. This is because. Further, the velocity memory 94 has addresses up to the key number "127", but corresponds to the lower key numbers "120" to "127".

〈アサイメントメモリ4〉 第11図は、楽音発生回路24のアサイメントメモリ4を示
すものである。このアサイメントメモリ4には、最高16
音の楽音データがセット可能である。各楽音データは、
4バイト構成となっている。
<Assignment Memory 4> FIG. 11 shows the assignment memory 4 of the tone generating circuit 24. This assignment memory 4 has a maximum of 16
The musical tone data of the sound can be set. Each tone data is
It consists of 4 bytes.

1バイト目は、キーナンバがセットされ、最上位ビット
のオン/オフデータは、キーオン状態かキーオフ状態か
を示している。
A key number is set in the first byte, and the on / off data of the most significant bit indicates whether the key is on or off.

2バイト目は、ゲートタイムがセットされる。このゲー
トタイムは、上記プログラマブルタイマ11からのインタ
ラプト信号INT2の入力ごとにデクリメントされ、「0」
になると、上記1バイト目のオン/オフデータがクリア
され、この後、2バイト目にはゲートタイムの代わりに
エンベロープのレベルを示すデータがセットされる。
The gate time is set in the second byte. This gate time is decremented by every input of the interrupt signal INT2 from the programmable timer 11 and becomes "0".
Then, the on / off data of the first byte is cleared, and thereafter, the data indicating the envelope level is set instead of the gate time at the second byte.

3バイト目は、ベロシティデータがセットされる。この
ベロシティデータは、キーオン時(オンベロシティ)と
キーオフ時(オフベロシティ)に夫々セットされるが、
OFAモードでは、キーオン時だけにセットされる。
Velocity data is set in the 3rd byte. This velocity data is set at key-on (on velocity) and key-off (off velocity) respectively.
In OFA mode, it is set only when the key is turned on.

4バイト目は、トーンナンバがセットされる。このトー
ンナンバは、第6図に示すとおり、メロディ音又はリズ
ム音の音色ナンバとベロシティデータ又は音色ナンバと
キーナンバによって決定される。
The tone number is set in the 4th byte. As shown in FIG. 6, this tone number is determined by the timbre number and velocity data of the melody or rhythm sound or the timbre number and key number.

〈楽音発生回路24〉 第14図は、上述の楽音発生回路24の具体的な回路構成を
示すものであり、ライン上の数値はデータビット数を示
している。
<Musical Sound Generating Circuit 24> FIG. 14 shows a specific circuit configuration of the musical sound generating circuit 24 described above, and the numerical value on the line indicates the number of data bits.

上記アサイメントメモリ4の各楽音データは、時分割に
読み出される。このうち、トーンナンバは、トーンナン
バラッチ51にラッチされた後、アドレスロジック回路57
を介して、上記楽音ROM23に与えられる。また、キーナ
ンバデータは、キーナンバラッチ52にラッチされた後、
周波数ナンバROM56に与えられて、対応する周波数ナン
バデータが読み出され、周波数ナンバ累算器58で、各チ
ャンネルごとに累算される。この累算周波数ナンバデー
タの上位12ビットは、アドレスロジック回路57を介し
て、上述のトーンナンバデータとともに、上記楽音ROM2
3に与えられる。
Each tone data in the assignment memory 4 is read in a time division manner. Of these, the tone number is latched by the tone number latch 51 and then the address logic circuit 57
Is given to the musical tone ROM 23 via. Also, after the key number data is latched in the key number latch 52,
The frequency number ROM 56 is supplied with the corresponding frequency number data, and the frequency number accumulator 58 accumulates the data for each channel. The upper 12 bits of the accumulated frequency number data are passed through the address logic circuit 57 together with the tone number data described above, together with the tone ROM2.
Given to 3.

これにより、トーンナンバデータに対応した波形データ
が、キーナンバデータに対応した速度で読み出されてい
く。
As a result, the waveform data corresponding to the tone number data is read out at the speed corresponding to the key number data.

この楽音ROM23からの波形データは、波形発生器70に入
力され、上記周波数ナンバ累算器58からの累算周波数ナ
ンバデータの下位4ビットと、次述するベロシティラッ
チ53からのベロシティデータとに応じた波形が発生さ
れ、この波形データは乗算機73に与えられる。上記ベロ
シティラッチ53には、上記アサイメントメモリ4から読
み出されたベロシティデータがラッチされる。
The waveform data from the musical tone ROM 23 is input to the waveform generator 70, and the lower 4 bits of the accumulated frequency number data from the frequency number accumulator 58 and the velocity data from the velocity latch 53 described below are input. The generated waveform is generated, and this waveform data is given to the multiplier 73. The velocity data read from the assignment memory 4 is latched in the velocity latch 53.

一方、エンベロープフェーズカウンタ59は、エンベロー
プ波形のアタック、ディケィ、サスティン、リリース等
の各フェーズを切り換えていくためのカウントが行われ
る。このエンベロープフェーズカウントデータは、上記
アドレスロジック回路57を介して、楽音ROM23に与えら
れ、エンベロープデータが読み出されるタイムスロット
において、対応するフェーズのエンベロープのレベルと
レートが読み出される。このエンベロープのレベルとレ
ートは、エンベロープ発生器71に入力されて、ベロシテ
ィラッチ53からのベロシティデータに応じたレベルのエ
ンベロープデータが生成され、このエンベロープデータ
は乗算器73に与えられて、上記波形データに乗算され、
D−Aコンバータ25を介して、サウンドシステム26より
放音出力される。
On the other hand, the envelope phase counter 59 performs counting for switching each phase such as attack, decay, sustain, and release of the envelope waveform. This envelope phase count data is given to the musical tone ROM 23 via the address logic circuit 57, and the level and rate of the envelope of the corresponding phase are read in the time slot in which the envelope data is read. The level and rate of this envelope are input to the envelope generator 71 to generate envelope data of a level according to the velocity data from the velocity latch 53, and this envelope data is given to the multiplier 73 and the waveform data Is multiplied by
Sound is output from the sound system 26 via the DA converter 25.

上記楽音ROM23からのエンベロープの到達レベルは、レ
ベルラッチ72にラッチされて、コンパレータ74に与えら
れ、上記エンベロープ発生器71からの順次変化している
エンベロープデータのレベルと比較される。両者が一致
すると一致信号が出力され、この一致信号は、エンベロ
ープフェーズカウンタ59にインクリメント信号として入
力され、エンベロープのフェーズが1つ進められる。
The reached level of the envelope from the musical tone ROM 23 is latched by the level latch 72 and given to the comparator 74, and is compared with the level of the envelope data which is sequentially changed from the envelope generator 71. When the two match, a match signal is output, and this match signal is input to the envelope phase counter 59 as an increment signal, and the envelope phase is advanced by one.

上記アサイメントメモリ4からのオン/オフデータは、
キーオン/オフラッチ54にラッチされて、イクシクルシ
ブオアゲート66及びアンドゲート61に与えられる。ま
た、アサイメントメモリ4からのゲートタイム/エンベ
ロープデータは、ゲートタイム/エンベロープラッチ55
にラッチされ、オール“0"検出器60、オール“1"検出器
62及びデクリメンタ67に入力される。
The on / off data from the assignment memory 4 is
It is latched by the key-on / off latch 54 and given to the exclusive OR gate 66 and the AND gate 61. Also, the gate time / envelope data from the assignment memory 4 is stored in the gate time / envelope latch 55.
Latched to all “0” detector 60, all “1” detector
62 and decrementer 67.

ゲートタイム/エンベロープラッチ55にラッチされたゲ
ートタイムが「00…0(0)」となって、キーオンから
キーオフに変わるタイミングになると、オール“0"検出
器60より検出信号が出力され、アンドゲート61を介し
て、イクスクルシブオアゲート66に入力される。この場
合、キーオン中で、オン/オフデータが「1」である
と、アンドゲート61は開成され、イクスクルシブオアゲ
ート66の出力が「1」から「0」に切り換わり、これが
新たなオン/オフデータとしてアサイメントメモリ4に
書き込まれる。また、キーオフ中で、オン/オフデータ
が「0」のときは、アンドゲート61は開成されて、その
出力は「0」であり、オン/オフデータが「1」になる
と、イクスクルシブオアゲート66の出力が「0」から
「1」に切り換わり、これが同じく新たなオン/オフデ
ータとしてアサイメントメモリ4に書き込まれる。
When the gate time latched in the gate time / envelope latch 55 becomes "00 ... 0 (0)" and the timing of changing from key-on to key-off comes, a detection signal is output from the all "0" detector 60, and the AND gate It is input to the exclusive OR gate 66 via 61. In this case, when the key is on and the on / off data is "1", the AND gate 61 is opened, the output of the exclusive OR gate 66 is switched from "1" to "0", and this is a new on / off. It is written in the assignment memory 4 as off data. When the key is off and the on / off data is "0", the AND gate 61 is opened and its output is "0". When the on / off data becomes "1", the exclusive OR gate The output of 66 switches from "0" to "1", and this is also written in the assignment memory 4 as new on / off data.

このような、オン/オフデータは、オン/オフイベント
検出器69に入力されて、オンイベント時の「0」から
「1」への変化と、オフイベント時の「1」から「0」
への変化が検出され、それぞれにおいて検出信号が出力
される。このうち、オンイベント信号は、上記周波数ナ
ンバ累算器58及びエンベロープフェーズカウンタ59に入
力されて、累算値及びカウント値がクリアされる。ま
た、オフイベント信号は、エンベロープフェーズカウン
タ59に入力されて、リリースフェーズへの切り換えが行
われる。
Such on / off data is input to the on / off event detector 69, and changes from “0” to “1” at the on event and “1” to “0” at the off event.
Is detected, and a detection signal is output for each. Of these, the on-event signal is input to the frequency number accumulator 58 and the envelope phase counter 59, and the accumulated value and count value are cleared. Further, the off-event signal is input to the envelope phase counter 59 to switch to the release phase.

上記ゲートタイム/エンベロープラッチ55からのゲート
タイムは、デクリメンタ67でデクリメントされた後、セ
レクタ68を介して、再びアサイメントメモリ4の同じチ
ャンネルエリアに書き込まれる。しかし、キーオフ後
は、セレクタ68のセレクト信号は「1」から「0」に切
り換わるので、エンベロープ発生器71からのエンベロー
プデータが代わってセレクトされる。
The gate time from the gate time / envelope latch 55 is decremented by the decrementer 67 and then written again to the same channel area of the assignment memory 4 via the selector 68. However, after the key-off, the select signal of the selector 68 switches from "1" to "0", so that the envelope data from the envelope generator 71 is selected instead.

エッジ検出器64はDタイプのフリップフロップであり、
D端子には上記プログラマブルタイマ11からのインタラ
プト信号INT2の反転信号が入力され、CK(クロックパル
ス)端子には16チャンネルの演算周期信号が入力されて
いる。これによりエッジ検出器64からは、インタラプト
信号INT2のダウンエッジが16チャンネルの演算周期信号
のアップエッジのタイミングまでディレイされて反転出
力され、アンドゲート65を介して、デクリメンタ67に入
力され、ゲートタイムがインタラプト信号INT2出力ごと
にデクリメントされる。
The edge detector 64 is a D type flip-flop,
An inverted signal of the interrupt signal INT2 from the programmable timer 11 is input to the D terminal, and a 16-channel arithmetic cycle signal is input to the CK (clock pulse) terminal. As a result, from the edge detector 64, the down edge of the interrupt signal INT2 is delayed and inverted until the timing of the up edge of the 16-channel operation cycle signal, and then inverted output is input to the decrementer 67 via the AND gate 65 and the gate time Is decremented every time the interrupt signal INT2 is output.

上記オール“0"検出器60からの検出信号及びオール“1"
検出器62からの検出信号は、ノアゲート63を介して反転
されて上記アンドゲート65に与えられ、このアンドゲー
ト65を閉成し、デクリメンタ67のデクリメントを停止さ
せる。これによりゲートタイムがオール0の「00…0
(0)」のときと、オール1の「11…1(255)」のと
きとは、ゲートタイムのデクリメントが行われず、キー
オフ状態、キーオン状態が維持される。
Detection signal from all "0" detector 60 and all "1"
The detection signal from the detector 62 is inverted via the NOR gate 63 and given to the AND gate 65, which closes the AND gate 65 and stops the decrementing of the decrementer 67. As a result, the gate time is all "0 ... 0"
In the case of “(0)” and the case of “1 ... 1 (255)” of all 1, the gate time is not decremented and the key-off state and the key-on state are maintained.

なお、システムクロック発生器78では、発振器77からの
マスタクロック信号が分周されて、各種周期の制御信号
が出力され、装置全体のシステムコントロールが行われ
る。
In the system clock generator 78, the master clock signal from the oscillator 77 is frequency-divided and control signals of various cycles are output to perform system control of the entire apparatus.

〈メインルーチン〉 第16図は、CPU12が行う処理のメインルーチンを示すも
のである。
<Main Routine> FIG. 16 shows the main routine of the processing performed by the CPU 12.

このメインルーチンは、イニシャルルーチンも含んでお
り、電源投入により実行される。まず、ROM19のアドリ
ブモチーフパターンエリア42に記憶されている、64キロ
バイト分のすべてのアドリブモチーフパターンをRAM20
に転送し(ステップ000)、RAM20のワーキングRAM46内
の各レジスタにパネルスイッチボード15の操作状態に応
じたデータをセットする。(ステップ001)。次いで、
アサイメントメモリ4をクリアし(ステップ002)、パ
ネル表示メモリ2の内容をメロディ音色についてはスト
リングス(STRINGS)のLED(発光ダイオード)、リズム
の種類については16ビート(16BEAT)のLEDが点灯する
内容とし(ステップ003)、4分音符のテンポレジスタ
の48倍の周期となるデータをプログラマブルタイマ11に
セットする(ステップ004)。以上がイニシャルルーチ
ンである。
This main routine also includes an initial routine, which is executed when the power is turned on. First, all the ad-lib motif patterns of 64 kilobytes stored in the ad-lib motif pattern area 42 of ROM19 are stored in RAM20.
(Step 000), and data corresponding to the operation state of the panel switch board 15 is set in each register in the working RAM 46 of the RAM 20. (Step 001). Then
Clear the assignment memory 4 (step 002), and display the contents of the panel display memory 2 with the strings (STRINGS) LED (light emitting diode) for melody tones and the 16-beat (16BEAT) LED for the rhythm type. (Step 003) The data having a cycle of 48 times that of the quarter note tempo register is set in the programmable timer 11 (step 004). The above is the initial routine.

次に、メインルーチンに入ってRAM20のリングバッファ4
9内にデータが書き込み済か否か判断し(ステップ00
5)、データ書き込み済であれば、RAM20のワーキングRA
M46のリングボトムアドレスレジスタ93で指定される読
み出しアドレスから4バイト分の音符データを読み出し
(ステップ006)、リングボトムアドレスレジスタ93の
値を+4する(ステップ007)。
Next, enter the main routine and ring buffer 4 in RAM20.
It is judged whether or not the data is already written in 9 (step 00
5) If the data has been written, the working RA of RAM20
The 4-byte note data is read from the read address specified by the ring bottom address register 93 of the M46 (step 006), and the value of the ring bottom address register 93 is incremented by 4 (step 007).

そして、上記読み出した音符データのオン/オフデータ
が「1」のオン状態にあるか否か判断する(ステップ00
8)。オン状態にあれば、ステップ009〜012の新たなチ
ャンネル割り当て処理を行う。まず、アサイメントメモ
リ4内の各チャンネルエリアの中に、オン/オフデータ
が「0」のオフ状態にあるチャンネルエリアをサーチす
る(ステップ009)。オフ状態にあるチャンネルエリア
があれば(ステップ010)、このオフ状態にあるチャン
ネルエリアのうち、エンベロープデータのレベルの最も
小さいチャンネルエリアをセレクトし(ステップ01
1)、「1」のオン/オフデータと、上記ステップ006で
リングバッファ49より読み出したキーナンバ、ゲートタ
イム、ベロシティ、トーンナンバの各データとを、この
チャンネルエリアに書き込む。
Then, it is determined whether or not the on / off data of the read note data is in the on state of "1" (step 00).
8). If it is in the ON state, a new channel allocation process of steps 009 to 012 is performed. First, each channel area in the assignment memory 4 is searched for a channel area in which the on / off data is "0" in the off state (step 009). If there is a channel area in the off state (step 010), the channel area with the lowest envelope data level is selected from the channel areas in the off state (step 01).
1), the on / off data of "1" and the key number, gate time, velocity and tone number data read from the ring buffer 49 in step 006 are written in this channel area.

なお、上記ステップ010で、アサイメントメモリ4の中
に、オフ状態にあるチャンネルエリアがなければ、ステ
ップ011、012のチャンネル割り当て処理は行われない。
また、上記ステップ005で、リングバッファ49にデータ
が書き込まれていなければ、ステップ006〜012の空チャ
ンネルサーチ処理、チャンネル割り当て処理は行われな
い。
If there is no channel area in the off state in the assignment memory 4 in step 010, the channel allocation processing of steps 011 and 012 is not performed.
If no data is written in the ring buffer 49 in step 005, the empty channel search process and channel assignment process in steps 006 to 012 are not performed.

この後、もしフロッピーディスク22に対するロード/セ
ーブの指示があれば(ステップ016)、フロッピーディ
スク22に対する、ロード/セーブを行う(ステップ01
7)。また、上記ステップ008で、リングバッファ49より
読み出した音符データのオン/オフデータが「1」のオ
ン状態ではなく、「0」のオフ状態であれば、ステップ
013〜015のキーオフ処理に進む。
After this, if there is an instruction to load / save the floppy disk 22 (step 016), load / save the floppy disk 22 (step 01).
7). If the on / off data of the note data read from the ring buffer 49 in the above step 008 is not the “1” on state but the “0” off state,
Proceed to the key-off processing of 013 to 015.

まず、アサイメントメモリ4内の各チャンネルエリアの
中に、ゲートタイムが「11111111(255)」のキーオン
続行中で、しかも上記ステップ006でリングバッファ49
より読み出した、音符データの中のキーナンバと同じキ
ーナンバの割り当てられているチャンネルをサーチする
(ステップ013)。該当するチャンネルがあれば(ステ
ップ014)、このチャンネルのオン/オフデータを
「0」とし、ゲートタイムデータを「00000000(0)」
として(ステップ015)、キーオフ状態に切り換える。
そして、上記ステップ016、017のフロッピーディスク22
のロード/セーブ処理に移行する。
First, in each channel area in the assignment memory 4, the key-on of the gate time "11111111 (255)" is being continued, and the ring buffer 49 is selected in step 006.
A channel to which the same key number as the key number in the note data read out is assigned is searched (step 013). If there is a corresponding channel (step 014), the on / off data of this channel is set to "0", and the gate time data is set to "00000000 (0)".
(Step 015), the key-off state is switched.
Then, the floppy disk 22 in steps 016 and 017 above.
Shift to the load / save processing of.

〈キーイベント(キーオン、キーオフ)時の処理〉 第17A図〜第17F図は、キーオン、キーオフがあり、上記
SCI回路10からCPU12にインタラプト信号INT1が出力され
たときと、上記キースキャン回路14からCPU12にインタ
ラプト信号INT3が出力されたときの楽音発音処理のフロ
ーチャートを示すものである。
<Processing at key event (key-on, key-off)> Figures 17A to 17F show key-on and key-off.
6 is a flowchart showing a musical tone generation process when an interrupt signal INT1 is output from the SCI circuit 10 to the CPU 12 and when an interrupt signal INT3 is output from the key scan circuit 14 to the CPU 12.

《OFAオフモードのアッパーキーボード》 まず、CPU12は、SCI回路10又はキースイッチメモリ1に
一時記憶されている新たなイベントのあったオン/オフ
データ、キーナンバ、ベロシティの各データをRAM20の
ワーキングRAM46のイベントオン/オフレジスタ89、イ
ベントキーナンバレジスタ90、イベントベロシティレジ
スタ91に書き込む(ステップ100)。次いで、ワーキン
グRAM46のモードレジスタにOFA(ワンフィンガーアドリ
ブ)フラグが立っているか否か判断する(ステップ10
1)。フラグが立って、OFAモードならば、イベントキー
がアッパーキーボード13aのものかローアキーボード13b
のものかを、イベントのあった新たなキーナンバより判
断する(ステップ102)。
<< OFA Off Mode Upper Keyboard >> First, the CPU 12 stores each of the on / off data, key number, and velocity data having a new event temporarily stored in the SCI circuit 10 or the key switch memory 1 in the working RAM 46 of the RAM 20. Write to the event on / off register 89, event key number register 90, and event velocity register 91 (step 100). Then, it is determined whether the OFA (one finger ad lib) flag is set in the mode register of the working RAM 46 (step 10).
1). If the flag is set and the mode is OFA, the event key belongs to the upper keyboard 13a or the lower keyboard 13b.
It is determined from the new key number where the event occurred (step 102).

アッパーキーボード13aであれば、ベース/リズムモー
ドのときのみ、イベントキーナンバを−24する(ステッ
プ103、104)。これは、音程をベース用に下げるためで
ある。オートモード、ノーマルモードのときは、音程は
下げない。このベース/リズム、オート、ノーマルのモ
ード判別は、ワーキングRAM46のモードレジスタ73の内
容に基づいて行われる。後述するステップ123、124も含
めて、このようなモード判別を行うのは、第12A図に示
すように、モードによって楽音の発音状態が異なるため
である。
If it is the upper keyboard 13a, the event key number is set to -24 only in the bass / rhythm mode (steps 103 and 104). This is to lower the pitch for the bass. The pitch is not lowered in auto mode and normal mode. The bass / rhythm, auto, and normal mode discrimination is performed based on the contents of the mode register 73 of the working RAM 46. The reason why such a mode determination is performed including steps 123 and 124 which will be described later is that, as shown in FIG. 12A, the tone generation state of the musical sound differs depending on the mode.

上記ステップ103、104の後、CPU12は、ステップ105〜10
8のリングバッファ49へのデータ書き込み処理にはい
る。この処理は、1つのサブルーチンSUB1を構成してお
り、このサブルーチンSUB1は他の処理においても実行さ
れることがある。
After the above steps 103 and 104, the CPU 12 executes steps 105 to 10
The process of writing data to the ring buffer 49 of 8 is started. This processing constitutes one subroutine SUB1, and this subroutine SUB1 may be executed in other processing.

この処理では、まず、イベントオン/オフレジスタ89の
上記イベントに係るオン/オフデータが「1」のオン状
態か否かを判断する(ステップ105)。「1」のオン状
態であれば、「1」のオン/オフデータ、このイベント
のあったキーナンバ、「11…1(255)」のゲートタイ
ム、イベントのあったキーのベロシティ、音色ナンバの
各データをリングバッファ49に書き込む(ステップ10
6)。
In this process, first, it is determined whether or not the on / off data related to the event in the event on / off register 89 is "1" (step 105). If "1" is on, "1" on / off data, key number at which this event occurred, gate time of "11 ... 1 (255)", velocity of key at event, tone number Write data to ring buffer 49 (step 10
6).

このリングバッファ49への書き込みアドレスはリングト
ップアドレスレジスタ92の値に基づいており、上記ステ
ップ106の書き込みの後、このリングトップアドレスレ
ジスタ92の値が+4される(ステップ107)。この+4
するのは、1つの音符データの記憶で4番地使用するか
らである。
The write address to the ring buffer 49 is based on the value in the ring top address register 92, and after the writing in step 106, the value in the ring top address register 92 is incremented by 4 (step 107). This +4
This is done because four notes are used to store one note data.

また、上記ステップ105で、イベントに係るオン/オフ
データが「0」のオフ状態であれば、「0」のオン/オ
フデータ、このイベントのあったキーナンバ、「00…0
(0)」のゲートタイム、イベントのあったキーのベロ
シティ、音色ナンバの各データをリングバッファ49に書
き込む(ステップ108)。
In step 105, if the on / off data related to the event is the off state of "0", the on / off data of "0", the key number of this event, "00 ... 0".
The gate time "(0)", the velocity of the key having the event, and the tone color data are written in the ring buffer 49 (step 108).

次いで、CPU12はワーキングRAM46のモードレジスタ73の
記録/割当フラグR/Aの内容から、記録モードか否か判
断する(ステップ109)。記録モードであれば、ワーキ
ングRAM46のイベントオンオフレジスタ89のオン/オフ
データが「1」のオン状態か否か判断する(ステップ11
0)。
Next, the CPU 12 determines whether or not it is the recording mode from the contents of the recording / allocation flag R / A of the mode register 73 of the working RAM 46 (step 109). If it is the recording mode, it is judged whether or not the on / off data of the event on / off register 89 of the working RAM 46 is "1" (step 11).
0).

「1」のオン状態にあれば、「1」のオン/オフデー
タ、イベントキーナンバレジスタ90の値、メジャクロッ
クカウンタ85の値、ステップタイムカウンタ86の値をRA
M20のレコードバッファ48に書き込み(ステップ111)、
ワーキングRAM46のレコーディングアドレスレジスタ87
の値を+4する(ステップ112)。そして、ワーキングR
AM46のベロシティメモリ94のイベントキーナンバに対応
した番地に、キーオン時のオンベロシティデータ、すな
わちキーオン時のメジャクロックカウンタ85の値を書き
込み(ステップ113)、ステップタイムカウンタ86をク
リアしてリターンする(ステップ114)。
If "1" is on, the on / off data of "1", the value of the event key number register 90, the value of the major clock counter 85, and the value of the step time counter 86 are RA.
Write to M20 record buffer 48 (step 111),
Recording address register 87 of working RAM 46
Is incremented by 4 (step 112). And Working R
The on-velocity data at key-on, that is, the value of the major clock counter 85 at key-on is written to the address corresponding to the event key number of the velocity memory 94 of AM46 (step 113), the step-time counter 86 is cleared, and the process returns. Step 114).

また、上記ステップ110で、イベントオンオフデータが
「0」のオフ状態であれば、レコーディングアドレスレ
ジスタ87の値と同じレコードバッファ48の番地から逆登
り、このイベントオフに係るキーナンバと同じキーナン
バをもつ音符データをサーチする(ステップ115)。そ
して、見つけた音符データの第2バイト目と第3バイト
目に記憶されているキーオン時のメジャクロックカウン
タ85の値と、今回のキーオフ時のメジャクロックカウン
タの値との差分データを求める(ステップ116)。
If the event on / off data is in the off state of "0" in the above step 110, the note which has the same key number as the key number related to this event off is climbed backward from the same address of the record buffer 48 as the value of the recording address register 87. The data is searched (step 115). Then, the difference data between the value of the major clock counter 85 at the time of key-on stored in the second and third bytes of the found note data and the value of the major clock counter at the time of key-off this time is obtained (step 116).

この差分データが「11…1(255)」以上の長いデータ
であれば、(ステップ(117)、「1」のオン/オフデ
ータ、イベントキーナンバ、「0」のゲートタイム、キ
ーオフ時のベロシティ、ステッタイムカウンタの各デー
タをRAM20のレコードバッファ48に書き込む(ステップ1
18)。これにより、上記ステップ111のキーオン時の音
符データとは分離された、キーオフ用の音符データがレ
コードバッファ48に書き込まれる。
If this difference data is a long data of “11 ... 1 (255)” or more (step (117), on / off data of “1”, event key number, gate time of “0”, velocity at key off) , Write each data of the step time counter to the record buffer 48 of the RAM 20 (step 1
18). As a result, note data for key-off, which is separated from the note data for key-on at step 111, is written in the record buffer 48.

次いで、CPU12はレコーディングアドレスレジスタ87の
値を+4し(ステップ119)、差分データを「11…1(2
55)」とする(ステップ120)。上記ステップ125で、差
分データが「11…1(255)」より小さければ、上記ス
テップ118〜120のキーオフ用の音符データの書き込み処
理は行わない。
Next, the CPU 12 increments the value of the recording address register 87 by 4 (step 119) and sets the difference data to "11 ... 1 (2
55) ”(step 120). If the difference data is smaller than "11 ... 1 (255)" in the step 125, the key-off note data writing process of the steps 118 to 120 is not performed.

この後、上記ステップ115でサーチした音符データの第
2バイト目に、上述の差分データを書き込み(ステップ
121)、ワーキングRAM46のベロシティメモリ94のイベン
トキーナンバに対応したアドレスのベロシティデータを
キースイッチメモリ1より読み出し、上記サーチしたキ
ーオン時の音符データの第3バイト目に書き込んでリタ
ーンする(ステップ130)。
After that, the above-mentioned difference data is written in the second byte of the note data searched in the above step 115 (step
121), the velocity data at the address corresponding to the event key number in the velocity memory 94 of the working RAM 46 is read from the key switch memory 1, written in the third byte of the note data at the time of the key-on searched, and the process returns (step 130). .

これにより、キーオンからキーオフまでのゲートタイム
が、「11…1(255)」より小さければ、ゲートタイム
データが上記キーオン時の音符データに書き込まれ、
「11…1(255)」より大きければ、音符データがキー
オン用とキーオフ用に分離され、キーオン用の音符デー
タの中には、キーオン続行を示す「11…1(255)」の
ゲートタイムが書き込まれ、キーオフ用の音符データの
中には、キーオフ続行を示す「00…0(0)」のゲート
タイムが書き込まれる。
As a result, if the gate time from key-on to key-off is smaller than "11 ... 1 (255)", gate time data is written in the note data at key-on,
If it is larger than "11 ... 1 (255)", the note data is separated for key-on and key-off, and in the note data for key-on, the gate time of "11 ... 1 (255)" indicating the key-on continuation is included. The gate time of "00 ... 0 (0)" indicating the key-off continuation is written in the note data for key-off written.

《OFAオフモードのローアキーボード13b》 上記ステップ102で、イベントキーがローアキーボード1
3bのものであることが判別されたときには、ワーキング
RAM46のモードレジスタ73の値から、現在ノーマルモー
ド、ベース/リズム、オートのいずれのモードかを判断
する(ステップ123、124)。ノーマルモードであれば、
上述したステップ105〜122の楽音データのレコーディン
グ処理を行う。
<< Lower keyboard 13b in OFA off mode >> In step 102 above, the event key is lower keyboard 1
When it is determined that it is 3b, working
Based on the value of the mode register 73 of the RAM 46, it is determined which one of the normal mode, bass / rhythm and auto mode is currently selected (steps 123 and 124). In normal mode,
The recording process of the musical sound data in steps 105 to 122 described above is performed.

また、ベース/リズムモードであれば、イベントオン/
オフレジスタ89のイベントオン/オフデータが「1」の
オン状態か否か判断する(ステップ125)。「1」のオ
ン状態にあれば、イベントキーナンバに基き、第8図に
示すROM19のリズム音色テーブル44より、対応するリズ
ム音色ナンバと発音キーナンバを読み出し、(ステップ
126)。「1」のオン/オフデータ、発音キーナンバ、
「1」のゲートタイム、キーオンベロシティ、音色ナン
バの各データをワーキングRAM46のリングバッファ49に
書き込んで、リングトップアドレスの値を+4する(ス
テップ127、128)。リングバッファ49の書き込み番地
は、リングトップアドレスレジスタ92の値に基づいてい
る。
In addition, if the bass / rhythm mode,
It is determined whether or not the event on / off data of the off register 89 is "1" in the on state (step 125). If "1" is on, the corresponding rhythm tone color number and tone generation key number are read out from the rhythm tone color table 44 of the ROM 19 shown in FIG. 8 based on the event key number (step
126). “1” on / off data, pronunciation key number,
The gate time, key-on velocity, and tone color data of "1" are written in the ring buffer 49 of the working RAM 46, and the value of the ring top address is incremented by 4 (steps 127 and 128). The write address of the ring buffer 49 is based on the value of the ring top address register 92.

この後、CPU12は、レコードモードにあるか否かをモー
ドレジスタ73の記憶内容から判断し(ステップ129)、
レコードモードであれば、ワーキングRAM46のリズムキ
ーナンバレジスタ88に記憶されている、今回のイベント
の前にイベントのあったローアキーナンバが、今回の新
たなイベントのローアキーナンバに一致しているか否か
判断する(ステップ130)。
Thereafter, the CPU 12 determines whether or not it is in the record mode from the stored contents of the mode register 73 (step 129),
In the record mode, it is determined whether or not the lower key number stored in the rhythm key number register 88 of the working RAM 46 and having the event before this event matches the lower key number of this new event. It is determined whether or not (step 130).

一致していなければ、今回新たに別のリズム音色のキー
がオンされたことになるから、リズムキーナンバレジス
タ88にイベントローアキーナンバを書き込み(ステップ
131)、最上位ビットに「1」を付加したイベントロー
アキーナンバと「0」のステップタイムのデータをレコ
ードバッファ48に書き込み、レコードアドレスレジスタ
87の値を+2する(ステップ132、133)。これにより、
新たなリズム音色のデータが書き込まれる。
If they do not match, it means that a new rhythm tone key has been turned on this time, so write the event lower key number to the rhythm key number register 88 (step
131), the event lower key number with "1" added to the most significant bit and the step time data of "0" are written to the record buffer 48, and the record address register
The value of 87 is incremented by 2 (steps 132 and 133). This allows
New rhythm tone data is written.

次いで、ベロシティメモリ94のベロシティデータと、ス
テップタイムカウンタ86の値をレコードバッファ48に書
き込み(ステップ134)、レコーディングアドレスレジ
スタ87の値を+2して(ステップ135)、ステップタイ
ムカウンタ86の値をクリアしてリターンする(ステップ
136)。
Next, the velocity data of the velocity memory 94 and the value of the step time counter 86 are written to the record buffer 48 (step 134), the value of the recording address register 87 is incremented by 2 (step 135), and the value of the step time counter 86 is cleared. And return (step
136).

なお、上記ステップ130で、イベントローアキーナンバ
が前回のものと一致していれば、リズムの音色は変化し
ていないので、ステップ131〜133のリズム音色データ書
き込み処理は行われない。また、ステップ129で、レコ
ードモードになければ、ステップ130〜136のレコーディ
ング処理は不要になるので、そのままリターンする。さ
らに、ステップ125で、イベントに係るオン/オフデー
タが「0」のオフ状態であれば、ベース/リズムについ
てはキーオフは考慮していないので、ステップ126〜136
のデータ書き込み処理は不要となり、そのままリターン
する。
If the event lower key number matches the previous one in step 130, the rhythm tone color has not changed, so the rhythm tone color data writing process in steps 131 to 133 is not performed. If it is not in the record mode in step 129, the recording process in steps 130 to 136 is unnecessary, and the process returns. Furthermore, in step 125, if the on / off data related to the event is in the off state of “0”, the key off is not considered for the bass / rhythm, so steps 126 to 136 are performed.
The data writing process is unnecessary and the process returns as it is.

また、上記ステップ123、124で、オートモードにあるこ
とが判別されれば、CPU12は、キーステータスレジスタ7
7のオンキーのデータ内容を修正し(ステップ137)、こ
のオンキーデータからコードとルートとを判断し、この
結果をコードルートレジスタ76に書き込む(ステップ13
8)。このコードとルートとの検出は、オンキー状態を
示すデータをアドレスとして、コードとルートとを読み
出すコードルートテーブル43に基づいて行われる。
If it is determined in steps 123 and 124 that the mode is the auto mode, the CPU 12 determines that the key status register 7
The data content of the on-key 7 is corrected (step 137), the code and the route are judged from the on-key data, and the result is written in the code route register 76 (step 13).
8). The detection of the code and the route is performed based on the code route table 43 that reads the code and the route, using the data indicating the on-key state as an address.

そして、CPU12は、記録モードにあるか否かをモードレ
ジスタ73の内容から判断し(ステップ139)、記録モー
ドであれば、ステップタイムカウンタ86の値が「48」以
上か否か判断する(ステップ140)。「48」以上であれ
ば、コードルートレジスタ76のコードとルート及びステ
ップタイムカウンタ86の値をレコードバッファ48に書き
込み(ステップ141)、レコーディングアドレスレジス
タ87の値を+2し(ステップ142)、ステップタイムカ
ウンタ86の値をクリアする(ステップ143)。
Then, the CPU 12 determines from the contents of the mode register 73 whether it is in the recording mode (step 139), and if it is the recording mode, determines whether the value of the step time counter 86 is "48" or more (step). 140). If it is "48" or more, the code of the chord route register 76, the value of the route and the step time counter 86 are written in the record buffer 48 (step 141), the value of the recording address register 87 is incremented by 2 (step 142), and the step time is set. The value of the counter 86 is cleared (step 143).

上記ステップ140で、ステップタイムカウンタ86の値が
「48」を越えていなければ、一拍分の時間が経過してい
ないため、ステップ141〜143の書き込み処理は行わな
い。また、ステップ139で、レコードモードになけれ
ば、ステップ140〜143のレコーディング処理は不要にな
るので、そのままリターンする。また、ここではリング
バッファ49へのデータ書き込みが行われないため、キー
操作に応じた発音はなされない。むろんリングバッファ
49へのデータ書き込みを行って発音させるようにしても
よい。
If the value of the step time counter 86 does not exceed "48" in the above step 140, the writing process of steps 141 to 143 is not performed because the time for one beat has not elapsed. If it is not in the record mode in step 139, the recording process in steps 140 to 143 is not necessary, and the process directly returns. Further, since no data is written to the ring buffer 49 here, no sound is produced in response to a key operation. Of course ring buffer
It is also possible to write data to 49 so that a pronunciation is generated.

上記ステップ138でコードルートレジスタ76にセットさ
れたコードルートデータは、キーオフがあってもクリア
されず、次の新たなキーオンがあるまで維持される。こ
のコードルートデータに基づき、マクロルーチンMACRO5
のステップ224(ステップ230でも同じ)で、アドリブモ
チーフアルペジオ、アドリブモチーフベースの音高修正
が行われる。むろん、この音高修正を省略してもよい。
The code route data set in the code route register 76 in step 138 is not cleared even if the key is turned off, and is maintained until the next new key is turned on. Based on this code route data, the macro routine MACRO5
In step 224 (same as in step 230), pitch correction of adlib motif arpeggio and adlib motif bass is performed. Of course, this pitch correction may be omitted.

このようにして、第12A図のOFAオフのモードと記録/割
当モードにおける、キーオン、キーオフのイベント処理
が行われる。
In this manner, the key-on and key-off event processing in the OFA off mode and the recording / assignment mode in FIG. 12A is performed.

《OFAモードのアッパーキーボード13a》 上記ステップ101でOFAモードにあることが判別されれ
ば、CPU12は、ステップ144で、イベントキーがアッパー
キーボード13aのものかローアキーボード13bのものか
を、イベントのあった新たなキーナンバより判断する
(ステップ144)。アッパーキーボード13aであれば、ワ
ーキングRAM46のモードレジスタ73の値から、現在ノー
マルモード、ベース/リズム、オートのいずれかのモー
ドかを判断する(ステップ145、146)。オートモードで
あれば、イベントオン/オフレジスタ89のイベントオン
/オフデータが「1」のオン状態か否か判断する(ステ
ップ147)。
<< OFA Mode Upper Keyboard 13a >> If it is determined in the above step 101 that it is in the OFA mode, the CPU 12 determines in step 144 whether the event key belongs to the upper keyboard 13a or the lower keyboard 13b depending on the event. It is judged from the new key number (step 144). If it is the upper keyboard 13a, it is determined from the value of the mode register 73 of the working RAM 46 whether the mode is currently the normal mode, the bass / rhythm, or the auto mode (steps 145 and 146). In the auto mode, it is determined whether the event on / off data in the event on / off register 89 is "1" (step 147).

「1」のオン状態にあれば、ステップ148〜160のメロデ
ィ1のキーオンシーケンスの処理にはいる。この処理
は、1つのサブルーチンMACRO1を構成しており、このサ
ブルーチンMACRO1は他の処理においても実行されること
がある。
If "1" is in the ON state, the process for the key-on sequence of melody 1 in steps 148 to 160 is started. This processing constitutes one subroutine MACRO1, and this subroutine MACRO1 may be executed in other processing.

この処理では、まず、「1」のUSEフラグ、このイベン
トのあったキーナンバをメロディ1のシーケンスレジス
タ群82のAレジスタに書き込み、このイベントキーの割
り当てアドリブモチーフのスタートアドレスデータを同
じくHLレジスタに書き込む(ステップ148)。このスタ
ートアドレスは次のようにして決定される。すなわち、
第3図に示すアドリブモチーフ第1メロディの選択リズ
ムに応じたアドリブモチーフパターンがまず選択され、
ついでこれに対応した第1C図に示すアドリブモチーフモ
チーフアサインリスト42b(47b)の中の上記イベントキ
ーナンバに応じたアドリブモチーフパターンナンバが選
択され、さらにこれに対応した第1B図に示すスタートア
ドレスが選択される。
In this process, first, the USE flag of "1" and the key number having this event are written in the A register of the sequence register group 82 of melody 1, and the start address data of the adlib motif assigned to this event key is also written in the HL register. (Step 148). This start address is determined as follows. That is,
First, the ad lib motif pattern according to the selection rhythm of the first melody of the ad lib motif shown in FIG. 3 is selected.
Then, the adlib motif pattern number corresponding to the above event key number in the adlib motif motif assignment list 42b (47b) shown in FIG. 1C corresponding to this is selected, and the corresponding start address shown in FIG. 1B is selected. To be selected.

次いで、HLレジスタで指定されるRAM20のアドリブモチ
ーフパターンエリア47の先頭番地より、音色ナンバを読
み出して、Bレジスタに書き込み(ステップ149)、HL
レジスタの値を+2する(ステップ150)。そして、HL
レジスタで指定されるRAM20のアドリブモチーフパター
ンエリア47の番地の記憶データの最上位ビットが「1」
か否か、すなわち第2A図に示すように、記憶データが音
色ナンバか否か判断する(ステップ151)。
Next, the timbre number is read from the start address of the adlib motif pattern area 47 of the RAM 20 specified by the HL register and written in the B register (step 149), HL
The value of the register is incremented by 2 (step 150). And HL
The most significant bit of the stored data at the address of the ad-lib motif pattern area 47 of RAM20 specified by the register is "1".
It is determined whether or not, that is, as shown in FIG. 2A, whether or not the stored data is a timbre number (step 151).

現在先頭の音色ナンバを読み出した直後であるから音色
ナンバと判断され、ステップ152に進み、次の番地のス
テップタイムデータを読み出してDレジスタに書き込み
(ステップ152)、このステップタイムデータが「0」
か否か判断する(ステップ153)。「0」であれば、待
ち時間が無く、直ちに音色をセットしなくてはならず、
上記音色ナンバをBレジスタにセットし(ステップ15
4)、HLレジスタの値を+2して(ステップ155)、ステ
ップ151に戻す。
Since it is immediately after the reading of the first tone color number, it is judged to be the tone color number, the process proceeds to step 152, the step time data of the next address is read and written in the D register (step 152), and this step time data is "0".
It is determined whether or not (step 153). If it is "0", there is no waiting time and you have to set the tone immediately.
The tone color number is set in the B register (step 15
4) Then, the value of the HL register is incremented by 2 (step 155) and the process returns to step 151.

このステップ151では、今度は音色ナンバではなく音符
データが判別されるので、3つ先の番地のステップタイ
ムデータを読み出してDレジスタに書き込み(ステップ
156)、このステップタイムデータが「0」か否か判断
する(ステップ157)。「0」であれば、待ち時間が無
く、直ちに発音しなくてはならず、上記音符データのキ
ーナンバをコードルートレジスタ76の値で修正した値
と、続くゲートタイムと、ベロシティと、上記Bレジス
タの音色ナンバとをリングバッファ49に書き込む(ステ
ップ158)。
In this step 151, note data instead of tone color number is determined this time, so the step time data of the address three ahead is read and written in the D register (step
156), it is determined whether or not this step time data is "0" (step 157). If it is "0", there is no waiting time and it is necessary to sound immediately. The value obtained by correcting the key number of the note data with the value of the chord route register 76, the following gate time, velocity, and the B register And the tone color number of that are written in the ring buffer 49 (step 158).

コードルートレジスタ76の値に基づくキーナンバの修正
は、キーナンバをルートの音高やコードの種類に基づい
て+1、+2……、−1、−2……する処理である。こ
れにより演奏全体に調和を持たせることができる。この
後、リングトップアドレスレジスタ92の値を+4し(ス
テップ159)、HLレジスタの値を+4して(ステップ16
0)、ステップ151に戻る。
The correction of the key number based on the value of the chord route register 76 is a process in which the key number is +1, +2 ..., -1, -2 ... Based on the pitch of the root and the type of chord. This allows the overall performance to be harmonious. After that, the value of the ring top address register 92 is incremented by 4 (step 159), and the value of the HL register is incremented by 4 (step 16).
0), and returns to step 151.

今回のステップ151でも音符データが判別されるので、
3つ先の番地のステップタイムデータを読み出してDレ
ジスタに書き込み(ステップ156)、このステップタイ
ムデータが「0」か否か判断する(ステップ157)。こ
の場合の音符データは先頭から2つ目の音符データであ
り、通常ステップタイムデータは「0」ではないので、
このメロディ1のキーオンシーケンス処理を終了して、
そのまま次のメロディ2のキーオンシーケンスの処理に
はいる(ステップ161)。
Since the note data is determined also in step 151 this time,
The step time data of the address three ahead is read and written in the D register (step 156), and it is determined whether this step time data is "0" (step 157). In this case, the note data is the second note data from the beginning, and the normal step time data is not "0".
Finish the key-on sequence processing of this melody 1,
As it is, the process of the key-on sequence of the next melody 2 is started (step 161).

次のメロディ2のキーオンシーケンスの処理は、上記の
メロディ1のキーオンシーケンス処理(ステップ148〜1
60、マクロルーチンMACRO1)と同じものである。ただし
使用されるシーケンスレジスタ群は、メロディ2のもの
であり、演奏されるアドリブモチーフパターンは第2メ
ロディである。また第2番目以降の音符データのセット
は、メロディ1の場合と同じく、後述する第18図のメロ
ディ2のシーケンスの処理で行われる。このように、各
マクロルーチンはプログラムは同じであるが、バラメー
タは各々異なるものである。
The next key-on sequence process for melody 2 is the key-on sequence process for melody 1 (steps 148 to 1).
60, the same as the macro routine MACRO1). However, the sequence register group used is that of melody 2, and the adlib motif pattern played is the second melody. The second and subsequent note data sets are performed by the sequence processing of melody 2 shown in FIG. As described above, each macro routine has the same program but different parameters.

こうして、1つのキーの操作で、第1メロディと第2メ
ロディとの2種類のメロディのアドリブモチーフを同じ
タイミングで並行して演奏することができる。むろん、
メロディのシーケンスレジスタ群の数と、ステップ161
のメロディのキーオンシーケンス処理のステップ数を増
やせば、1つのキーオンで同時に発音できるアドリブモ
チーフのメロディ音を増やすことができる。この1つの
キー操作で、複数のアドリブモチーフを同時演奏するの
は、メロディ以外に、リズム、ベース、アルペジオ、コ
ードにおいても同様に実行してもよい。
In this way, by operating one key, the ad lib motifs of two types of melody, the first melody and the second melody, can be played in parallel at the same timing. Of course,
The number of melody sequence register groups and step 161
By increasing the number of steps of the key-on sequence processing of the melody, it is possible to increase the number of ad-lib motif melody sounds that can be sounded simultaneously with one key-on. Simultaneous performance of a plurality of adlib motifs by this single key operation may be similarly performed for rhythm, bass, arpeggio, and chord, in addition to melody.

このように、OFAモードでのキーオン時には、このキー
に割り当てられたアドリブモチーフパターンの先頭の音
色データのセット(ステップ152〜155)と、これに続く
第1番目の音符データのセット(ステップ156〜160)と
が行われる。第2番目以降の音符データのセットは、後
述する第18図のメロディ1のシーケンスの処理で、イン
タラプト信号INT2の出力時に行われる。この場合、第1
番目の音符データのステップタイムが「0」でなく、待
ち時間があれば、この第1番目の音符データのセットも
インタラプト信号INT2の出力時に行われる。
Thus, when the key is turned on in the OFA mode, the set of the tone data at the beginning of the adlib motif pattern assigned to this key (steps 152 to 155) and the set of the first note data following this (steps 156 to 156) are set. 160) and are performed. The second and subsequent note data sets are performed at the time of outputting the interrupt signal INT2 in the processing of the sequence of the melody 1 shown in FIG. 18 which will be described later. In this case, the first
If the step time of the 1st note data is not "0" and there is a waiting time, the setting of this 1st note data is also performed when the interrupt signal INT2 is output.

また上記ステップ147で、「0」のオフ状態にあれば、
ステップ162、163のメロディ1のキーオフシーケンスの
処理にはいる。この処理も、1つのマクロルーチンMACR
O2を構成しており、このマクロルーチンMACRO2は他の処
理においても実行されることがある。
If it is in the off state of "0" in the above step 147,
The processing of the key-off sequence of melody 1 in steps 162 and 163 is started. This process is also one macro routine MACR
It constitutes O2, and this macro routine MACRO2 may be executed in other processing.

この処理では、まず上記キーオンシーケンスの処理でA
レジスタにセットしたキーナンバが、今回のキーオフの
キーナンバと一致しているか否か判断する(ステップ16
2)。一致していれば、AレジスタのUSEフラグを「0」
として(ステップ163)、メロディ1のシーケンスシス
テムの作動を停止させ、第1メロディのアドリブモチー
フの演奏を停止させる。
In this process, first, in the process of the key-on sequence, A
It is determined whether or not the key number set in the register matches the key number of this key off (step 16).
2). If they match, the USE flag of the A register is set to "0".
As a result (step 163), the operation of the sequence system of melody 1 is stopped, and the performance of the ad lib motif of the first melody is stopped.

次いで、同じキーオフシーケンス処理をメロディ2につ
いても行い(ステップ164)、同様にしてメロディ2の
シーケンスシステムの作動も停止させ、第2メロディの
アドリブモチーフの演奏も停止させる。
Next, the same key-off sequence processing is performed for melody 2 (step 164), and similarly, the operation of the sequence system for melody 2 is stopped, and the performance of the ad lib motif of the second melody is also stopped.

上記ステップ145で、ノーマルモードにあることが判別
されれば、イベントオン/オフレジスタ89のイベントオ
ン/オフデータが「1」のオン状態か否か判断する(ス
テップ165)。「1」のオン状態にあれば、メロディ1
のシーケンスレジスタ群82のAレジスタのUSEフラグが
「0」か否か判断する(ステップ166、167)。「0」で
あれば、メロディ1のキーオンシーケンス処理のマクロ
ルーチンMACRO1を行う(ステップ168)。
If it is determined in step 145 that the normal mode is set, it is determined whether the event on / off data in the event on / off register 89 is "1" (step 165). If "1" is on, melody 1
It is determined whether or not the USE flag of the A register of the sequence register group 82 is "0" (steps 166 and 167). If it is "0", the macro routine MACRO1 for the key-on sequence processing of melody 1 is executed (step 168).

上記ステップ167で、メロディ1のシーケンスレジスタ
群82のAレジスタのUSEフラグが「1」で、アドリブモ
チーフのメロディ音がすでに発音中であれば、ステップ
169に進み、今度はメロディ2のシーケンスレジスタ群8
3のAレジスタのUSEフラグが「0」か否か判断する(ス
テップ169、170)。「0」であれば、メロディ2のキー
オンシーケンス処理のマクロルーチンMACRO1を行う(ス
テップ171)。このマクロルーチンMACRO1は、上述した
ように、ステップ148〜160と同じである。
If the USE flag of the A register of the sequence register group 82 of melody 1 is "1" in the above step 167 and the melody sound of the adlib motif is already sounding, step 167
Proceed to 169, and this time the sequence register group 8 for melody 2
It is determined whether or not the USE flag of the A register 3 is "0" (steps 169 and 170). If it is "0", the macro routine MACRO1 for the key-on sequence processing of melody 2 is executed (step 171). This macro routine MACRO1 is the same as steps 148 to 160 as described above.

こうして、メロディ1のシーケンスシステムを使用し
て、アドリブモチーフのメロディ音がすでに発音中の時
に、重ねて別のキーオンがあると、メロディ2のシーケ
ンスシステムを使用して、アドリブモチーフのメロディ
音が、さらにもう1音、遅れたタイミングで発音され
る。むろん、メロディのシーケンスレジスタ群の数と、
ステップ169〜171のメロディのキーオンシーケンス処理
のステップ数を増やせば、キーの同時操作で同時に発音
できるアドリブモチーフのメロディ音を増やすことがで
きる。この複数のキー操作で、複数のアドリブモチーフ
を別々に並行して演奏するのは、メロディ以外に、リズ
ム、ベース、アルペジオ、コードにおいても同様に実行
していもよい。
Thus, when another melody tone of the adlib motif is already being sounded using the sequence system of melody 1 and another key-on is repeated, the melody tone of the adlib motif is used by using the sequence system of melody 2. Another note is sounded at a delayed timing. Of course, with the number of melody sequence register groups,
If the number of steps of the key-on sequence processing of the melody in steps 169 to 171 is increased, it is possible to increase the number of ad-lib motif melody sounds that can be sounded simultaneously by operating the keys simultaneously. The performance of a plurality of adlib motifs separately in parallel by a plurality of key operations may be performed similarly for rhythm, bass, arpeggio, and chord, in addition to melody.

なお、1つのキーで複数種類のアドリブモチーフを同じ
タイミングで演奏できるようにし、しかも異なるキーに
ついては、これらの演奏を異なるタイミングで独立に演
奏できるようにしてもよい。
It should be noted that one key may allow a plurality of types of adlib motifs to be played at the same timing, and different keys may be played independently at different timings.

このメロディ1、メロディ2のキーオンシーケンス処理
でも、このキーに割り当てられたアドリブモチーフパタ
ーンの先頭の音色データのセット(ステップ152〜155)
と、これに続く第1番目の音符データのセット(ステッ
プ156〜160)とが行われる。第2番目以降の音符データ
のセットは、後述する第18図のメロディ1、メロディ2
のシーケンスの処理で、インタラプト信号INT2の出力時
に行われる。この場合、第1番目の音符データのステッ
プタイムが「0」でなく、待ち時間があれば、この第1
番目の音符データのセットもインタラプト信号INT2の出
力時に行われることは、オートモードの場合と同じであ
る。
Even in the key-on sequence processing of the melody 1 and the melody 2, the set of the tone color data at the head of the adlib motif pattern assigned to this key (steps 152 to 155)
And the following first note data set (steps 156 to 160). The second and subsequent note data sets are melody 1 and melody 2 shown in FIG.
In the sequence processing of, the processing is performed when the interrupt signal INT2 is output. In this case, if the step time of the first note data is not "0" and there is a waiting time, this first note data
The setting of the second note data is also performed when the interrupt signal INT2 is output, as in the case of the auto mode.

また上記ステップ165で、「0」のオフ状態にあれば、
メロディ1のキーオフシーケンス処理(ステップ172)
及びメロディ2のキーオフシーケンス処理(ステップ17
3)にはいる。このマクロルーチンMACRO2は、上述した
ように、ステップ160、161と同じである。なお、メロデ
ィ1のキーオフシーケンス処理からメロディ2のキーオ
フシーケンス処理にはいるのは、メロディ1のキーオフ
シーケンス処理でNOと判別された時である。
Further, in the above step 165, if the "0" is in the off state,
Melody 1 key-off sequence processing (step 172)
And melody 2 key-off sequence processing (step 17
Enter 3). This macro routine MACRO2 is the same as steps 160 and 161 as described above. The key-off sequence process for melody 1 is followed by the key-off sequence process for melody 2 when NO is determined in the key-off sequence process for melody 1.

上記ステップ146で、ベース/リズムモードであること
が判別されれば、イベントオン/オフレジスタ89のイベ
ントオン/オフデータが「1」のオン状態か否か判断す
る(ステップ174)。「1」のオン状態にあれば、ベー
スのキーオンシーケンス処理のマクロルーチンMACRO1を
行う(ステップ175)。このマクロルーチンMACRO1は、
上述したように、ステップ148〜160と同じである。ま
た、「0」のオフ状態であれば、ベースのキーオフシー
ケンス処理のマクロルーチンMACRO2を行う(ステップ17
6)。このマクロルーチンMACRO2は、上述したように、
ステップ162、163と同じである。
If it is determined in step 146 that the bass / rhythm mode is set, it is determined whether or not the event on / off data of the event on / off register 89 is "1" (step 174). If the "1" is in the on state, the macro routine MACRO1 of the base key-on sequence processing is executed (step 175). This macro routine MACRO1
As described above, this is the same as steps 148-160. If it is in the off state of "0", the macro routine MACRO2 of the base key-off sequence process is executed (step 17).
6). This macro routine MACRO2, as described above,
This is the same as steps 162 and 163.

このステップ175内のステップ158と同じ処理でのベース
音の音高修正は、コードルートレジスタ76の値に基づく
が、このモードではコードルートレジスタ76の値は書き
換えられないため、結局このモードに入る前のコードル
ートレジスタ76の値に基づいて音高修正が行われる。む
ろん、この音高修正を省略してもよい。
The pitch correction of the bass tone in the same process as step 158 in this step 175 is based on the value of the chord route register 76, but since the value of the chord route register 76 is not rewritten in this mode, this mode is eventually entered. Pitch correction is performed based on the previous value of the chord route register 76. Of course, this pitch correction may be omitted.

こうして、ベースのアドリブモチーフについても自動演
奏を行うことができる。
In this way, it is possible to automatically perform the ad lib motif of the bass.

このベースのキーオンシーケンス処理でも、このキーに
割り当てられたアドリブモチーフパターンの先頭の音色
データのセット(ステップ152〜155)と、これに続く第
1番目の音符データのセット(ステップ156〜160)とが
行われる。第2番目以降の音符データのセットは、後述
する第18図のベースのシーケンスの処理で、インタラプ
ト信号INT2の出力時に行われる。この場合、第1番目の
音符データのステップタイムが「0」でなく、待ち時間
があれば、この第1番目の音符データのセットもインタ
ラプト信号INT2の出力時に行われることは、オートモー
ド、ノーマルモードの場合と同じである。
Even in the key-on sequence processing of this bass, the set of the tone data at the beginning of the adlib motif pattern assigned to this key (steps 152 to 155) and the set of the first note data following this (steps 156 to 160) Is done. The second and subsequent note data sets are performed at the time of outputting the interrupt signal INT2 in the processing of the base sequence shown in FIG. 18 described later. In this case, if the step time of the first note data is not "0" and there is a waiting time, the setting of the first note data is also performed at the time of outputting the interrupt signal INT2 in the auto mode and the normal mode. Same as in mode.

《OFAモードのローアキーボード13b》 上記ステップ144で、操作キーがローアキーボード13bで
あれば、ワーキングRAM46のモードレジスタ73の値か
ら、現在ノーマルモード、ベース/リズム、オートのい
ずれのモードから判断する(ステップ177、178)。オー
トモードであれば、イベントオン/オフレジスタ89のイ
ベントオン/オフデータが「1」のオン状態か否か判断
する(ステップ179)。
<< Lower Keyboard 13b in OFA Mode >> In step 144, if the operation key is the lower keyboard 13b, it is determined from the value of the mode register 73 of the working RAM 46 which mode is currently normal, bass / rhythm, or auto ( Steps 177, 178). In the auto mode, it is determined whether or not the event on / off data of the event on / off register 89 is "1" (step 179).

「1」のオン状態にあれば、「1」のUSEフラグ、この
イベントのあったキーナンバをコードのシーケンスレジ
スタ群84のAレジスタに書き込み、このイベントキーの
割り当てアドリブモチーフのスタートアドレスデータを
同じくHLレジスタに書き込む(ステップ180)。このス
タートアドレスは次のようにして決定される。すなわ
ち、第3図に示すアドリブモチーフコードの選択リズム
に応じたアドリブモチーフパターンがまず選択され、つ
いでこれに対応した第1C図に示すアドリブモチーフモチ
ーフアサインリスト42b(47b)の中の上記イベントキー
ナンバに応じたアドリブモチーフパターンナンバが選択
され、さらにこれに対応した第1B図に示すスタートアド
レスが選択される。
If the "1" is on, the USE flag of "1" and the key number of this event are written in the A register of the code sequence register group 84, and the start address data of this event key assigned adlib motif is also HL. Write to register (step 180). This start address is determined as follows. That is, the ad lib motif pattern corresponding to the selection rhythm of the ad lib motif code shown in FIG. 3 is first selected, and then the corresponding event key number in the ad lib motif motif assignment list 42b (47b) shown in FIG. 1C is selected. Is selected, and the corresponding start address shown in FIG. 1B is also selected.

次いで、HLレジスタで指定されるRAM20のアドリブモチ
ーフパターンエリア47の先頭番地より、コードルートデ
ータを読み出して、コードルートレジスタ76に書き込み
(ステップ181)、HLレジスタの値を+2する(ステッ
プ182)。そして、2番目のコードルートデータのステ
ップタイムデータを読み出してDレジスタに書き込み
(ステップ183)、このステップタイムデータが「0」
か否か判断する(ステップ184)。通常は、1番目のコ
ードルートデータと2番目のコードルートデータとの間
のステップタイムデータは、「0」ではないので、その
ままリターンする。第2番目以降の音符データのセット
は、後述する第18図のコードのシーケンスの処理で、イ
ンタラプト信号INT2の出力時に行われる。
Next, the code root data is read from the head address of the adlib motif pattern area 47 of the RAM 20 designated by the HL register, written in the code root register 76 (step 181), and the value of the HL register is incremented by 2 (step 182). Then, the step time data of the second code route data is read and written in the D register (step 183), and this step time data is "0".
It is determined whether or not (step 184). Normally, the step time data between the first chord root data and the second chord root data is not "0", so that the process returns as it is. The second and subsequent note data sets are performed when the interrupt signal INT2 is output in the processing of the chord sequence of FIG. 18 described later.

上記ステップ184で、「0」であれば、待ち時間が無
く、直ちにコードルートデータをセットしなくてはなら
ず、上記2番目のコードルートデータをコードルートレ
ジスタ76にセットして(ステップ185)、ステップ182に
戻る。
If it is "0" in the above step 184, there is no waiting time and the code root data must be set immediately, and the second code root data is set in the code root register 76 (step 185). , Return to step 182.

上記ステップ181、185でコードルートレジスタ76にセッ
トされるコードルートデータに基づき、ステップ158、2
24でキーナンバが修正されることは、上述した通りであ
る。また、ここではリングバッファ49へのデータ書き込
みが行われないため、キー操作に応じた発音はなされな
い。むろんデータ書き込みを行って発音させるようにし
てもよい。また、キーオフがあっても、ステップ179の
後、コードのシーケンスレジスタ群84の依然、使用され
続け、ステップ233〜240で、コードのアドリブモチーフ
データの読み出しが続行される。この読み出しは、ステ
ップ424〜429のモード切り換えまで続く。このアドリブ
モチーフコードのコードルートデータに基づき、マクロ
ルーチンMACRO1のステップ158(ステップ161でも同じ)
及びマクロルーチンMACRO5のステップ224(ステップ230
でも同じ)で、アドリブモチーフメロディ、アドリブモ
チーフアルペジオ、アドリブモチーフベースの音高修正
が行われる。むろん、この音高修正を省略してもよい。
Based on the chord root data set in the chord root register 76 in the above steps 181, 185, steps 158, 2
The correction of the key number at 24 is as described above. Further, since no data is written to the ring buffer 49 here, no sound is produced in response to a key operation. Of course, data writing may be performed to generate a sound. Further, even if there is a key-off, after the step 179, the code sequence register group 84 continues to be used, and in steps 233 to 240, the read of the adlib motif data of the code is continued. This reading continues until the mode is switched in steps 424 to 429. Based on the code root data of this adlib motif code, step 158 of macro routine MACRO1 (same for step 161)
And step 224 of macro routine MACRO5 (step 230
But the same), the pitch correction of ad lib motif melody, ad lib motif arpeggio, ad lib motif. Of course, this pitch correction may be omitted.

上記ステップ177で、ノーマルモードであることが判別
されれば、キーステータスレジスタ77にセットされてい
るローアキーのオンデータを修正し(ステップ186)、
このローアキーのオンデータからコードとルートとを検
出してコードルートレジスタ76にセットし(ステップ18
7)、リングバッファ49へのデータ書き込み処理にはい
る(ステップ188)。この処理は、上述したステップ105
〜108のサブルーチンSUB1と同じである。
If it is determined in the above step 177 that the normal mode is set, the lower key ON data set in the key status register 77 is corrected (step 186),
The code and root are detected from the on-data of this lower key and set in the code root register 76 (step 18
7) The process of writing data to the ring buffer 49 is started (step 188). This process is the same as step 105 described above.
It is the same as the subroutine SUB1 of ~ 108.

ここでもコードルートレジスタ76にセットされるコード
ルートデータに基づき、ステップ158、224でキーナンバ
が修正されるが、リングバッファ49へのデータ書き込み
が行われるため、キー操作に応じた発音がなされる。こ
のコードルートレジスタ76にセットされたコードルート
データは、キーオフがあってもクリアされず、次の新た
なキーオンがあるまで維持される。このコードルートデ
ータに基づき、マクロルーチンMACRO1のステップ168、1
71内のステップ158と同じステップで、アドリブモチー
フメロディの音高修正が行われる。むろん、この音高修
正を省略してもよい。
In this case as well, the key number is corrected in steps 158 and 224 based on the chord root data set in the chord root register 76, but since the data is written to the ring buffer 49, a sound is produced according to the key operation. The code route data set in the code route register 76 is not cleared even if there is a key-off, and is maintained until the next new key-on. Based on this code root data, steps 168, 1 of the macro routine MACRO1
In the same step as step 158 in 71, the pitch correction of the ad lib motif melody is performed. Of course, this pitch correction may be omitted.

上記ステップ178で、ベース/リズムモードであること
が判別されれば、イベントキーが白鍵か黒鍵かを、第9
図に示すキー判別デコーダ45の内容から判断する(ステ
ップ189)。白鍵であれば、リズム1のシーケンス処理
のスブルーチンMACRO3を実行する。この処理は、1つの
マクロルーチンMACRO3を構成しており、このマクロルー
チンMACRO3は他の処理においても実行されることがあ
る。
If it is determined in step 178 that the bass / rhythm mode is set, it is determined whether the event key is the white key or the black key by the ninth key.
Judgment is made from the contents of the key discrimination decoder 45 shown in the figure (step 189). If it is a white key, the sub routine MACRO3 of the sequence processing of rhythm 1 is executed. This processing constitutes one macro routine MACRO3, and this macro routine MACRO3 may be executed in other processing.

この処理では、まず、イベントオン/オフレジスタ89の
イベントオン/オフデータが「1」のオン状態か否か判
断する(ステップ190)。「1」のオン状態にあれば、
「1」のUSEフラグ、このイベントのあったキーナンバ
をリズム1のシーケンスレジスタ群78のAレジスタに書
き込み、このイベントキーの割り当てアドリブモチーフ
のスタートアドレスデータを同じくHLレジスタに書き込
む(ステップ191)。このスタートアドレスは次のよう
にして決定される。すなわち、第3図に示すアドリブモ
チーフリズムの選択リズムに応じたアドリブモチーフパ
ターンがまず選択され、ついでこれに対応した第1C図に
示すアドリブモチーフアサインリスト42b(47b)の中の
上記イベントキーナンバに応じたアドリブモチーフパタ
ーンナンバが選択され、さらにこれに対応した第1B図に
示すスタートアドレスが選択される。
In this process, first, it is determined whether or not the event ON / OFF data of the event ON / OFF register 89 is "1" (step 190). If "1" is on,
The USE flag of "1" and the key number having this event are written in the A register of the sequence register group 78 of rhythm 1, and the start address data of the assigned adlib motif of this event key is also written in the HL register (step 191). This start address is determined as follows. That is, the adlib motif pattern corresponding to the selection rhythm of the adlib motif rhythm shown in FIG. 3 is first selected, and then the corresponding event key number in the adlib motif assignment list 42b (47b) shown in FIG. 1C is selected. The corresponding ad lib motif pattern number is selected, and the corresponding start address shown in FIG. 1B is selected.

次いで、HLレジスタで指定されるRAM20のアドリブモチ
ーフパターンエリア47の先頭番地より、ローアキーナン
バを読み出し、このローアキーナンバから第8図に示す
リズム音色テーブル44の記憶内容に基づいて、リズム音
色ナンバと発音キーナンバを求め、おのおのBレジス
タ、Cレジスタにセットする(ステップ192)。次い
で、HLレジスタの値を+2する(ステップ193)。
Next, the lower key number is read from the start address of the ad lib motif pattern area 47 of the RAM 20 designated by the HL register, and the rhythm tone number is read from this lower key number based on the stored contents of the rhythm tone table 44 shown in FIG. Is obtained and set in the B register and the C register, respectively (step 192). Then, the value of the HL register is incremented by 2 (step 193).

そして、2番目のビートデータのステップタイムデータ
を読み出してDレジスタに書き込み(ステップ194)、
このステップタイムデータが「0」か否か判断する(ス
テップ195)。「0」であれば、待ち時間が無く、直ち
に発音しなくてはならず、HLレジスタで指定されるRAM2
0のアドリブモチーフパターンエリア47の番地の記憶デ
ータの最上位ビットが「1」か否か、すなわち第2B図に
示すように、記憶データがローアキーナンバか否か判断
する(ステップ196)。
Then, the step time data of the second beat data is read and written in the D register (step 194),
It is determined whether or not this step time data is "0" (step 195). If it is "0", there is no waiting time and the sound must be pronounced immediately. RAM2 specified by the HL register
It is determined whether or not the most significant bit of the stored data at the address of the 0 ad lib motif pattern area 47 is "1", that is, whether the stored data is the lower key number as shown in FIG. 2B (step 196).

現在先頭のビートデータを読み出した直後であるからロ
ーアキーナンバであることが判断され、ステップ197に
進み、「1」のオン/オフデータ、上記Cレジスタにセ
ットした発音キーナンバと、「1」のゲートタイムと、
このビートデータ内のベロシティと、上記Bレジスタに
セットしたリズム音色ナンバとをリングバッファ49に書
き込み(ステップ197)、リングトップアドレスレジス
タ92の値を+4し(ステップ198)、ステップ193に戻
る。
Since it is immediately after reading the first beat data, it is determined that it is the lower key number, and the process proceeds to step 197, where the on / off data of "1", the tone key number set in the C register, and the "1" are set. Gate time,
The velocity in the beat data and the rhythm tone color number set in the B register are written in the ring buffer 49 (step 197), the value of the ring top address register 92 is incremented by 4 (step 198), and the process returns to step 193.

次のステップ193〜195で、2番目のビートデータのステ
ップタイムデータが「0」か否か判断する。しかし通常
は、1番目のビートデータと2番目のビートデータとの
間のステップタイムデータは、「0」ではないので、M
レジスタのマニュアル/オートフラグM/Aを「0」のマ
ニュアルのリズム演奏状態にし、Mレジスタの小節カウ
ンタの値を「0」にして(ステップ1A2)、リターンす
る。
In the next steps 193-195, it is determined whether the step time data of the second beat data is "0". However, normally, the step time data between the first beat data and the second beat data is not "0", so M
The manual / auto flag M / A of the register is set to the manual rhythm playing state of "0", the value of the bar counter of the M register is set to "0" (step 1A2), and the process returns.

また、上記ステップ190で、「0」のオフ状態にあれ
ば、上記Aレジスタにセットしたキーオンのキーナンバ
が、今回のキーオフのキーナンバと一致しているか否か
判断する(ステップ199)。一致していれば、Aレジス
タのUSEフラグを「0」として(ステップ1A0)、Mレジ
スタのマニュアル/オートフラグM/Aを「0」のマニュ
アルのリズム演奏状態にし、Mレジスタの小節カウンタ
の値を「1」にして(ステップ1A1)、リターンする。
Further, if it is in the OFF state of "0" in the above step 190, it is judged whether or not the key number of the key-on set in the A register matches the key number of the current key-off (step 199). If they match, the USE flag of the A register is set to "0" (step 1A0), the manual / auto flag M / A of the M register is set to the manual rhythm playing state of "0", and the value of the measure counter of the M register is set. Is set to "1" (step 1A1), and the process returns.

こうして、このリズム1のシーケンス処理でも、このキ
ーに割り当てられたアドリブモチーフパターンの先頭の
リズム音色ナンバ及び発音キーナンバのセット(ステッ
プ190〜192)と、これに続く第1番目のビートデータの
セット(ステップ193〜198、1A2)と、キーオフに応じ
たリズムのアドリブモチーフの演奏停止(ステップ199
〜1A1)とが行われる。第2番目以降のビートデータの
セットは、後述する第18図のリズム1のシーケンスの処
理で、インタラプト信号INT2の出力時に行われる。この
場合、第1番目のビートデータのステップタイムが
「0」でなく、待ち時間があれば、この第1番目のビー
トデータのセットもインタラプト信号INT2の出力時に行
われることは、オートモード、ノーマルモードの場合と
同じである。このことは次述するリズム2のシーケンス
処理でも同じである。
Thus, also in the sequence processing of this rhythm 1, the leading rhythm tone color number and tone generation key number of the adlib motif pattern assigned to this key (steps 190 to 192) and the following first beat data set ( (Steps 193-198, 1A2) and stop playing the ad lib motif of the rhythm in response to the key off (Step 199
~ 1A1) is performed. The second and subsequent beat data are set at the time of outputting the interrupt signal INT2 in the processing of the rhythm 1 sequence shown in FIG. 18 which will be described later. In this case, if the step time of the first beat data is not “0” and there is a waiting time, the setting of this first beat data is also performed at the time of outputting the interrupt signal INT2 in the auto mode and the normal mode. Same as in mode. This also applies to the rhythm 2 sequence processing described below.

このリズム1のシーケンス処理はローアキーボード13b
の白鍵の操作に基づくもので、リズム1のシーケンスレ
ジスタ群82が使用され、ドラム系のリズムのアドリブモ
チーフが演奏される。このキー操作の前にスタート/ス
トップスイッチ38のオンにより、リズム1のシーケンス
レジスタ群82が使われ、リズム1のシーケンス処理が実
行されて、ドラム系の第1オートリズムのオートモチー
フが演奏されていても、リズム1のシーケンスレジスタ
82は、上記リズムのアドリブモチーフの演奏に転用さ
れ、ドラム系の第1オートリズムのオートモチーフの演
奏は中断される。そして、ローアキーボード13bのキー
オフにより、ドラム系の第1オートリズムのオートモチ
ーフが再スタートする。この再スタートまでの待機時間
が、上記ステップ1A1でセットした小節カウンタの値
「1」である。このことは次述するシンバル系のリズム
2のシーケンス処理でも同じである。
This rhythm 1 sequence processing is performed on the lower keyboard 13b.
The sequence register group 82 of rhythm 1 is used to play an ad lib motif of a drum-type rhythm based on the operation of the white key. When the start / stop switch 38 is turned on before this key operation, the sequence register group 82 of rhythm 1 is used, the sequence processing of rhythm 1 is executed, and the auto motif of the first autorhythm of the drum system is played. Even, the rhythm 1 sequence register
82 is diverted to the performance of the rhythm adlib motif, and the performance of the auto motif of the drum type first autorhythm is interrupted. Then, when the lower keyboard 13b is turned off, the auto motif of the first autorhythm of the drum system is restarted. The waiting time until the restart is the value "1" of the bar counter set in step 1A1. This also applies to the cymbal-type rhythm 2 sequence processing described below.

こうして、ドラム系の第1オートリズムの演奏中に、ロ
ーアキーボード13bの白鍵が操作されて、ドラム系のリ
ズムのアドリブモチーフの演奏が開始されると、同じド
ラム系のオートリズムが停止される。これは次述するシ
ンバル系のリズム演奏でも同じである。従って、自動演
奏とアドリブモチーフ演奏との系列が重複せず、シンプ
ルな演奏を行うことができる。
Thus, when the white key of the lower keyboard 13b is operated and the ad lib motif of the drum-type rhythm is started during the performance of the first drum-type auto-rhythm, the same drum-type auto-rhythm is stopped. . This is also the case with the cymbal rhythm performance described below. Therefore, the automatic performance and the ad lib motif performance do not overlap, and a simple performance can be performed.

上記ステップ189で、操作キーが黒鍵であることが判別
されれば、シンバル系のリズム2のシーケンス処理には
いり(ステップ1A3)、リターンする。このシンバル系
のリズム2のシーケンスの処理は、上記のドラム系のリ
ズム1のシーケンス処理(ステップ190〜1A2、マクロル
ーチンMACRO3)と同じものである。ただし使用されるシ
ーケンスレジスタ群は、シンバル系のリズム2のもので
ある。
If it is determined in step 189 that the operation key is the black key, the sequence processing of the cymbal rhythm 2 is entered (step 1A3), and the process returns. The sequence processing of the cymbal-type rhythm 2 is the same as the sequence processing of the drum-type rhythm 1 (steps 190 to 1A2, macro routine MACRO3). However, the sequence register group used is that of the cymbal rhythm 2.

こうして、ドラム系のリズム1のシーケンスシステムを
使用して、アドリブモチーフのリズム音がすでに発音中
の時に、重ねて別のキーオンがあると、シンバル系のリ
ズム2のシーケンスシステムを使用して、アドリブモチ
ーフのリズム音が、さらにもう1音、遅れたタイミング
で発音される。むろん、リズムのシーケンスレジスタ群
の数と、ステップ190〜1A2のリズムのキーオンシーケン
ス処理のステップ数を増やせば、キーの同時操作で同時
に発音できるアドリブモチーフのリズム音を増やすこと
ができる。
In this way, when the rhythm sound of the adlib motif is already being sounded using the sequence system of the rhythm 1 of the drum system, if another key-on is overlaid, the sequence system of the rhythm 2 of the cymbal system is used. The rhythm sound of the motif is pronounced one more time later. Of course, by increasing the number of rhythm sequence register groups and the number of steps of the rhythm key-on sequence processing of steps 190 to 1A2, it is possible to increase the number of ad-lib motif rhythm sounds that can be produced simultaneously by simultaneous key operation.

なお、リズムの系列をドラム系、シンバル系以上に細か
い系列に分割してもよいし、1つ1つの細かい楽器ごと
に分割したり、弦系、木管系、金管系(トランペット
系、ホルン系)、音の高さ、音の持続性等で分けてもよ
い。この系列ごとに自動演奏を停止させる形態は、リズ
ム以外にメロディ、ベース、アルペジオ、コードについ
て行ってもよい。また、逆に例えば第1オートリズムを
シンバル系として、ドラム系のアドリブモチーフ演奏
で、シンバル系のオートリズムを停止させるというよう
に、アドリブモチーフと異なる系列の自動演奏を停止さ
せてもよい。さらに、アドリブモチーフ演奏で自動演奏
を停止させる形態は、リズム全体、メロディ全体という
ように、全系統ごと、さらには全演奏について、行うよ
うにしてもよい。このほか、キーオフ後、自動演奏を再
開するまで待ち時間がなくてもよい。この場合ステップ
1A1、1A2、246〜248は省略される。また、キーオフ後、
自動演奏を再開するまで待ち時間が1小節以外の時間で
もよい。この場合、ステップ1A1のセットデータは1小
節以外のデータとなる。
The rhythm series may be divided into smaller series than the drum series and the cymbal series, and may be divided into individual fine musical instruments, string series, woodwind series, brass series (trumpet series, horn series). , Pitch of sound, duration of sound, etc. The mode of stopping the automatic performance for each sequence may be performed for melody, bass, arpeggio, and chord, in addition to rhythm. On the contrary, for example, the first autorhythm may be a cymbal type, and the cymbal type autorhythm may be stopped in a drum type adlib motif performance. Further, the form in which the automatic performance is stopped by the ad lib motif performance may be performed for each system, such as the entire rhythm or the entire melody, or for all the performances. In addition, there is no need to wait for the automatic performance to resume after the key is turned off. In this case step
1A1, 1A2, and 246-248 are omitted. Also, after key off,
The waiting time until the automatic performance is restarted may be a time other than one bar. In this case, the set data in step 1A1 is data other than one bar.

〈インタラプト信号INT2出力時の周期的割り込み処理〉 第18A図〜第18C図は、上記プログラマブルタイマ11から
CPU12にインタラプト信号INT2が出力されたときの楽音
発音処理のフローチャートを示すものである。この処理
では、リズム1、リズム2、ベース、アルペジオ、メロ
ディ1、メロディ2、コードのシーケンス処理等が行わ
れる。
<Periodic interrupt processing when the interrupt signal INT2 is output> Figures 18A to 18C are from the programmable timer 11 above.
6 is a flowchart showing a musical sound generation process when an interrupt signal INT2 is output to the CPU 12. In this processing, rhythm 1, rhythm 2, bass, arpeggio, melody 1, melody 2, chord sequence processing and the like are performed.

《リズムのシーケンス処理》 まずリズム1シーケンス処理では、リズム1のシーケン
スレジスタ群78のAレジスタのUSEフラグが「1」の使
用中か否か判別する(ステップ200)。「1」の使用中
であれば、Dレジスタのステップタイムを−1として
(ステップ201)、「0」になったか否か判別する(ス
テップ202)。このステップタイムを−1する処理は、
インタラプト信号INT2出力ごとに行われ、ステップタイ
ム分の時間が経過すると「0」になる。
<< Rhythm Sequence Processing >> First, in the rhythm 1 sequence processing, it is determined whether or not the USE flag of the A register of the sequence register group 78 of rhythm 1 is "1" (step 200). If "1" is being used, the step time of the D register is set to -1 (step 201), and it is determined whether it has become "0" (step 202). The process of reducing the step time by -1 is
It is performed every time the interrupt signal INT2 is output, and becomes "0" when the step time has elapsed.

「0」になると、HLレジスタで指定されるRAM20のアド
リブモチーフパターンエリア47の指定番地のデータの最
上位ビットが「1」か否か、すなわち音色データか否か
判別する(ステップ203)。音色データではなく、ビー
トデータであれば、ステップ209に進み、「1」のオン
/オフデータ、上記Cレジスタにセットした発音キーナ
ンバと、「1」のゲートタイムと、このビートデータ内
のベロシティと、上記Bレジスタにセットしたリズム音
色ナンバとをリングバッファ49に書き込む(ステップ20
9)。次いで、リングトップアドレスレジスタ92の値を
+4し(ステップ210)、HLレジスタの値を+2して
(ステップ211)、次のビートデータのステップタイム
をDレジスタにセットし(ステップ212)、ステップ202
に戻る。
When it becomes "0", it is judged whether or not the most significant bit of the data at the designated address of the adlib motif pattern area 47 of the RAM 20 designated by the HL register is "1", that is, whether it is timbre data or not (step 203). If it is not the tone color data but the beat data, the process proceeds to step 209, where the on / off data of "1", the tone key number set in the C register, the gate time of "1", and the velocity in this beat data are set. , The rhythm tone color number set in the B register is written in the ring buffer 49 (step 20).
9). Next, the value of the ring top address register 92 is incremented by 4 (step 210), the value of the HL register is incremented by 2 (step 211), and the step time of the next beat data is set in the D register (step 212), and step 202
Return to.

上記ステップ203で、「1」の音色データであることが
判別されれば、ステップ204に進み、HLレジスタで指定
されるRAM20のアドリブモチーフパターンエリア47の指
定番地のデータが「11…1(255)」か否か、すなわち
リピートデータか否か判別する(ステップ204)。
If it is determined in the above step 203 that the tone color data is "1", the process proceeds to step 204, and the data of the designated address of the ad lib motif pattern area 47 of the RAM 20 designated by the HL register is "11 ... 1 (255 ) ”), That is, whether it is repeat data or not (step 204).

リピートデータでなければ、ステップ207に進み、HLレ
ジスタで指定されるRAM20のアドリブモチーフパターン
エリア47の指定番地より、ローアキーナンバを読み出
し、このローアキーナンバから第8図に示すリズム音色
テーブル44の記憶内容に基づいて、リズム音色ナンバと
発音キーナンバを求め、おのおのBレジスタ、Cレジス
タにセットする(ステップ207)。次いで、HLレジスタ
の値を+2し(ステップ208)、上記ステップ209〜212
のビートデータのセットにはいり、ステップ202に戻
る。
If it is not the repeat data, the procedure proceeds to step 207, where the lower key number is read from the designated address of the adlib motif pattern area 47 of the RAM 20 designated by the HL register, and the lower key number of the rhythm tone table 44 shown in FIG. Based on the stored contents, the rhythm tone color number and the tone generation key number are obtained and set in the B register and the C register respectively (step 207). Then, the value of the HL register is incremented by 2 (step 208), and the above steps 209 to 212 are performed.
To set the beat data of and return to step 202.

上記ステップ204で、「11…1(255)」のリピートデー
タであることが判別されれば、このリピートデータのス
テップタイムをDレジスタにセットして(ステップ20
5)、HLレジスタにスタートアドレスデータを再び書き
込み(ステップ206)、ステップ202に戻る。このスター
トアドレスは、ステップ191と同じようにして決定され
る。
If it is determined in step 204 that the repeat data is "11 ... 1 (255)", the step time of this repeat data is set in the D register (step 20).
5), start address data is written again in the HL register (step 206), and the process returns to step 202. This start address is determined in the same way as step 191.

このようにして、ステップタイム経過ごとに(ステップ
200〜202)、リズムのアドリブモチーフのビートデータ
のセット(ステップ209〜212)、音色データのセット
(ステップ207、208)が行われ、リピートデータで先頭
からの繰り返しが行われる(ステップ204〜206)。
In this way, each time the step time elapses (step
200 to 202), beat data of rhythm adlib motif (steps 209 to 212), and tone data (steps 207 and 208) are set, and repeat data is repeated from the beginning (steps 204 to 206). ).

上記ステップ200で、USEフラグが「0」であることが判
別、又はステップ202で、Dレジスタのステップタイム
がまだ「0」でないことが判別されれば、リズム2のシ
ーケンス処理にはいる(ステップ213)。このリズム2
のシーケンスの処理は、上記のリズム1のシーケンス処
理(ステップ200〜212、マクロルーチンMACRO4)と同じ
ものである。ただし使用されるシーケンスレジスタ群
は、リズム2のものである。
If it is determined in step 200 that the USE flag is "0", or if it is determined in step 202 that the step time of the D register is not yet "0", the rhythm 2 sequence processing is started (step 213). This rhythm 2
The processing of the sequence of is the same as the sequence processing of rhythm 1 (steps 200 to 212, macro routine MACRO4). However, the sequence register group used is that of rhythm 2.

《ベースのシーケンス処理》 ベースのシーケンス処理では、ベースのシーケンスレジ
スタ群80のAレジスタのUSEフラグが「1」の使用中か
否か判別する(ステップ214)。「1」の使用中であれ
ば、Dレジスタのステップタイムを−1して(ステップ
215)、「0」になったか否か判別する(ステップ21
6)。このステップタイムを−1する処理は、インタラ
プト信号INT2出力ごとに行われ、ステップタイム分の時
間が経過すると「0」になる。
<< Base Sequence Processing >> In the base sequence processing, it is determined whether or not the USE flag of the A register of the base sequence register group 80 is "1" (step 214). If "1" is in use, decrement the step time of the D register by -1 (step
215), it is determined whether or not it has become "0" (step 21)
6). The process of reducing the step time by -1 is performed for each output of the interrupt signal INT2, and becomes "0" when the time corresponding to the step time has elapsed.

「0」になると、HLレジスタで指定されるRAM20のアド
リブモチーフパターンエリア47の指定番地のデータの最
上位ビットが「1」か否か、すなわち音色データか否か
判別する(ステップ217)。音色データではなく、音符
データであれば、ステップ224に進み、「1」のオン/
オフデータ、上記音符データのキーナンバをコードルー
トレジスタ76の値で修正した値と、続くゲートタイム
と、ベロシティと、上記Bレジスタの音色ナンバとをリ
ングバッファ49に書き込む(ステップ224)。次いで、
リングトップアドレスレジスタ92の値を+4し(ステッ
プ225)、HLレジスタの値を+4して(ステップ226)、
次のデータの最上位ビットが「1」で、音色データなら
(ステップ227)、1つ先の番地のステップタイムをD
レジスタにセットし(ステップ228)、「0」で音符デ
ータなら、3つ先の番地のステップタイムをDレジスタ
にセットし(ステップ228)、ステップ216に戻る。
When it becomes "0", it is judged whether or not the most significant bit of the data at the designated address of the adlib motif pattern area 47 of the RAM 20 designated by the HL register is "1", that is, whether or not it is tone color data (step 217). If it is not the tone color data but the note data, the process proceeds to step 224, and "1" is turned on /
The off data, the key number of the note data described above, which is modified by the value of the chord route register 76, the subsequent gate time, the velocity, and the tone color number of the B register are written into the ring buffer 49 (step 224). Then
The value of the ring top address register 92 is +4 (step 225), the value of the HL register is +4 (step 226),
If the most significant bit of the next data is "1" and it is tone color data (step 227), the step time of the next address is D
It is set in the register (step 228), and if it is the note data of "0", the step time of the address three ahead is set in the D register (step 228) and the process returns to step 216.

上記ステップ217で、「1」の音色データであることが
判別されれば、ステップ218に進み、HLレジスタで指定
されるRAM20のアドリブモチーフパターンエリア47の指
定番地のデータが「11…1(255)」か否か、すなわち
リピートデータか否か判別する(ステップ218)。
If it is determined in the above step 217 that the tone color data is "1", the process proceeds to step 218, and the data of the designated address of the ad lib motif pattern area 47 of the RAM 20 designated by the HL register is "11 ... 1 (255 ) ”), That is, whether or not it is repeat data (step 218).

リピートデータでなければ、ステップ221に進み、HLレ
ジスタで指定されるRAM20のアドリブモチーフパターン
エリア47の指定番地より、音色ナンバを読み出し、Bレ
ジスタにセットする(ステップ221)。次いで、HLレジ
スタの値を+2し(ステップ222)、次の音符データの
ステップタイムをDレジスタにセットし(ステップ22
3)、ステップ216に戻る。
If it is not repeat data, the process proceeds to step 221, and the tone color number is read from the designated address of the adlib motif pattern area 47 of the RAM 20 designated by the HL register and set in the B register (step 221). Then, the value of the HL register is incremented by 2 (step 222), and the step time of the next note data is set in the D register (step 22).
3) and returns to step 216.

上記ステップ218で、「11…1(255)」のリピートデー
タであることが判別されれば、このリピートデータのス
テップタイムをDレジスタにセットして(ステップ21
9)、HLレジスタにスタートアドレスデータを再び書き
込み(ステップ220)、ステップ216に戻る。このスター
トアドレスは、ステップ191と同じようにして決定され
る。
If it is determined in step 218 that the repeat data is "11 ... 1 (255)", the step time of this repeat data is set in the D register (step 21
9), start address data is written again in the HL register (step 220), and the process returns to step 216. This start address is determined in the same way as step 191.

このようにして、ステップタイム経過ごとに(ステップ
214〜216)、ベースのアドリブモチーフの音符データの
セット(ステップ224〜229)、音色データのセット(ス
テップ221〜223)が行われ、リピートデータで先頭から
の繰り返しが行われる(ステップ218〜220)。
In this way, each time the step time elapses (step
214 to 216), the note data of the bass adlib motif (steps 224 to 229) and the tone color data (steps 221 to 223) are set, and the repeat data is repeated from the beginning (steps 218 to 220). ).

上記ステップ214で、USEフラグが「0」であることが判
別、又はステップ216で、Dレジスタのステップタイム
がまだ「0」でないことが判別されれば、順番にアルペ
ジオ、メロディ1、メロディ2のシーケンス処理にはい
る(ステップ230、231、232)。このアルペジオ、メロ
ディ1、メロディ2のシーケンスの処理は、上記のベー
スのシーケンス処理(ステップ214〜229、マクロルーチ
ンMACRO5)と同じものである。ただし使用されるシーケ
ンスレジスタ群は、アルペジオ、メロディ1、メロディ
2のものである。
If it is determined in step 214 that the USE flag is "0", or if it is determined in step 216 that the step time of the D register is not yet "0", the arpeggio, melody 1, and melody 2 are sequentially displayed. The sequence processing is started (steps 230, 231, 232). The processing of the sequence of the arpeggio, melody 1 and melody 2 is the same as the above-described base sequence processing (steps 214 to 229, macro routine MACRO5). However, the sequence register groups used are those of arpeggio, melody 1 and melody 2.

《コードのシーケンス処理》 コードのシーケンス処理では、コードのシーケンスレジ
スタ群80のAレジスタのUSEフラグが「1」の使用中か
否か判別する(ステップ233)。「1」の使用中であれ
ば、Dレジスタのステップタイムを−1して(ステップ
234)、「0」になったか否か判別する(ステップ23
5)。このステップタイムを−1する処理は、インタラ
プト信号INT2出力ごとに行われ、ステップタイム分の時
間が経過すると「0」になる。
<< Code Sequence Processing >> In the code sequence processing, it is determined whether or not the USE flag of the A register of the code sequence register group 80 is "1" (step 233). If "1" is in use, decrement the step time of the D register by -1 (step
234), it is determined whether or not it has become "0" (step 23)
Five). The process of reducing the step time by -1 is performed for each output of the interrupt signal INT2, and becomes "0" when the time corresponding to the step time has elapsed.

「0」になると、HLレジスタで指定されるRAM20のアド
リブモチーフパターンエリア47の指定番地のコードルー
トデータをコードルートレジスタ76にセットし(ステッ
プ236)、HLレジスタの値を+2して(ステップ237)、
次の番地のステップタイムをDレジスタにセットし(ス
テップ238)、HLレジスタで指定されるRAM20のアドリブ
モチーフパターンエリア47の指定番地のデータが「11…
1(255)」か否か、すなわちリピートデータか否か判
別する(ステップ239)。
When it becomes "0", the code route data of the designated address of the adlib motif pattern area 47 of the RAM 20 designated by the HL register is set in the code route register 76 (step 236), and the value of the HL register is incremented by 2 (step 237). ),
The step time of the next address is set in the D register (step 238), and the data of the specified address of the ad-lib motif pattern area 47 of the RAM 20 specified by the HL register is "11 ...
1 (255) ", that is, whether it is repeat data or not (step 239).

リピートデータでなければ、ステップ235に戻り、リピ
ートデータあれば、HLレジスタにスタートアドレスデー
タを再び書き込み(ステップ240)、ステップ235に戻
る。このスタートアドレスは、ステップ191と同じよう
にして決定される。
If it is not repeat data, the process returns to step 235. If it is repeat data, the start address data is written again in the HL register (step 240) and the process returns to step 235. This start address is determined in the same way as step 191.

このようにして、ステップタイム経過ごとに(ステップ
233〜235)、コードのアドリブモチーフのコードルート
データのセットが行われ(ステップ236〜238)、リピー
トデータで先頭からの繰り返しが行われる(ステップ23
9、240)。
In this way, each time the step time elapses (step
233-235), the chord root data of the adlib motif of the chord is set (steps 236-238), and the repeat data is repeated from the beginning (step 23).
9, 240).

上記ステップ233で、USEフラグが「0」であることが判
別、又はステップ235で、Dレジスタのステップタイム
がまだ「0」でないことが判別されれば、つぎのステッ
プ241に進む。
If it is determined in step 233 that the USE flag is "0", or if it is determined in step 235 that the step time of the D register is not yet "0", the process proceeds to next step 241.

《カウント処理》 ステップ242〜245、251〜256はタイムカウント処理であ
る。この処理では、まずメジャクロックカウンタ85のロ
ーバイトを+1し(ステップ241)、メジャクロックレ
ジスタ71の拍子データに一致すると(ステップ242)、
メジャクロックカウンタ85のローバイトをクリアし(ス
テップ243)、メジャクロックカウンタ85のハイバイト
を+1する(ステップ244)。次いで、モードレジスタ7
3の値が「00100101B(Bは2進数であることを示す記
号)」、すなわちOFAモードかつベース/リズムモード
でスタート/ストップスイッチ38がオン状態でなく(ス
テップ245)、さらにモードレジスタ73の値が「0001***
1B(*は任意の値)」、すなわち記録/割当モードでス
タート/ストップスイッチ38がオン状態であれば(ステ
ップ251)、ステップタイムカウンタ86を+1し(ステ
ップ252)。
<< Counting Process >> Steps 242 to 245 and 251-256 are time counting processes. In this process, first, the low byte of the major clock counter 85 is incremented by 1 (step 241), and when it coincides with the time signature data of the major clock register 71 (step 242),
The low byte of the major clock counter 85 is cleared (step 243), and the high byte of the major clock counter 85 is incremented by 1 (step 244). Then the mode register 7
The value of 3 is "00100101 B (B is a symbol indicating that it is a binary number)", that is, the start / stop switch 38 is not in the ON state in the OFA mode and the bass / rhythm mode (step 245), and the mode register 73 If the value is "0001 ***
1 B (* is an arbitrary value) ", that is, if the start / stop switch 38 is in the ON state in the recording / assignment mode (step 251), the step time counter 86 is incremented by 1 (step 252).

そして、ステップタイムカウンタ86の値が「11…1(25
5)」に達すれば(ステップ253)、ダミーイベントデー
タをレコードバッファ48に書き込み(ステップ254)、
レコーディングアドレスレジスタ87を+2し(ステップ
255)、ステップタイムカウンタ86をクリアして(ステ
ップ256)、リターンする。上記ダミーデータは、ステ
ップタイムがオーバーフローした場合の便宜的なデータ
であり、アドリブモチーフのメロディ又はベースの場合
は2バイトの音色ナンバがセットされ、アドリブモチー
フのリズムの場合は2バイトのローアキーナンバがセッ
トされ、アドリブモチーフのコードの場合は2バイトの
コードルートデータがセットされる。
Then, the value of the step time counter 86 is "11 ... 1 (25
5) ”(step 253), write dummy event data to the record buffer 48 (step 254),
Add 2 to the recording address register 87 (step
255), clear the step time counter 86 (step 256), and return. The dummy data is a convenience data when the step time overflows. A 2-byte timbre number is set for an ad lib motif melody or bass, and a 2-byte lower key number for an ad lib motif rhythm. Is set, and in the case of the code of the ad lib motif, 2-byte code root data is set.

《リズム再スタート処理》 上記ステップ245で、OFAモードかつベース/リズムモー
ドでスタート/ストップスイッチ38がオン状態であれ
ば、第1オートリズム及び第2オートリズムの再スター
ト処理を行い、ステップ251に戻る。
<< Rhythm Restart Processing >> In the above step 245, if the start / stop switch 38 is in the ON state in the OFA mode and the bass / rhythm mode, the restart processing of the first auto rhythm and the second auto rhythm is performed, and then step 251 is performed. Return.

この第1オートリズム再スタート処理では、Mレジスタ
の値が「00H」〜「80H」か否か、すなわちマニュアルの
リズム演奏状態で、オートのリズム演奏の再スタートま
での待機時間があるか否か判別する(ステップ246)。
もしYESであれば、Mレジスタの値を−1し(ステップ2
47)、Mレジスタの値が「0」であれば(ステップ24
8)、リズム1のシーケンスレジスタ群78のセット処理
を行う(ステップ249)。このステップ249の処理は、第
20図に示す通りである。
In this first auto rhythm restart processing, whether the value of the M register is "00 H " to "80 H ", that is, whether there is a waiting time until the restart of the auto rhythm performance in the manual rhythm performance state. It is determined whether or not (step 246).
If YES, the value of the M register is decremented by 1 (step 2
47), if the value of the M register is "0" (step 24)
8), the rhythm 1 sequence register group 78 is set (step 249). The process of step 249 is
As shown in Figure 20.

次いで第2オートリズムについても、再スタート処理に
はいる(ステップ250)。この第2オートリズムの再ス
タート処理は、上記の第1オートリズムの再スタート処
理(ステップ246〜249、マクロルーチンMACRO7)と同じ
ものである。ただし使用されるシーケンスレジスタ群
は、リズム2のものである。
Next, the restart processing is also started for the second autorhythm (step 250). The restart processing for the second autorhythm is the same as the restart processing for the first autorhythm (steps 246 to 249, macro routine MACRO7). However, the sequence register group used is that of rhythm 2.

こうして、キーオフ後、待機時間が経過すると、第1オ
ートリズム、第2オートリズム、それぞれについて、独
立にオートリズムの再スタートが行われる。
In this way, when the waiting time elapses after the key is turned off, the restart of the autorhythm is independently performed for each of the first autorhythm and the second autorhythm.

〈パネルスイッチ操作時の処理〉 第19A図〜第19B図は、パネルスイッチボード15でスイッ
チ操作があり、上記パネルスキャン回路16からCPU12に
インタラプト信号INT4が出力されたときの処理のフロー
チャートを示すものである。
<Processing when the panel switch is operated> FIGS. 19A to 19B are flowcharts of the processing when the panel switch board 15 performs a switch operation and the panel scan circuit 16 outputs the interrupt signal INT4 to the CPU 12. Is.

この処理では、まずオンイベントであれば(ステップ40
0)、このイベントに係るスイッチがテンポスイッチ37
の場合、テンポレジスタ72の値及びプログラマブルタイ
マ11へのプリセット値を修正し(ステップ401、402)、
音色スイッチ33が操作された場合、メロディ音色レジス
タ74の値を修正して、パネル表示メモリ3の記憶内容を
修正し(ステップ403、404)、リズムスイッチ34が操作
された場合、リズム種類レジスタ75の値を修正して、パ
ネル表示メモリ3の記憶内容を修正し(ステップ405、4
06)、スタート/ストップスイッチ38が操作された場
合、モードレジスタ73のS/Sフラグを反転して、パネル
表示メモリ3のスタート/ストップスイッチ38に応じた
記憶内容を修正する(ステップ407、408)。
In this process, first, if it is an on event (step 40
0), the switch related to this event is tempo switch 37
In the case of, the value of the tempo register 72 and the preset value to the programmable timer 11 are corrected (steps 401, 402),
When the timbre switch 33 is operated, the value of the melody timbre register 74 is modified to modify the stored contents of the panel display memory 3 (steps 403 and 404), and when the rhythm switch 34 is operated, the rhythm type register 75. The value stored in the panel display memory 3 is corrected (steps 405 and 4).
06), when the start / stop switch 38 is operated, the S / S flag of the mode register 73 is inverted to correct the stored contents of the panel display memory 3 corresponding to the start / stop switch 38 (steps 407, 408). ).

ここで、上記S/Sフラグが「1」、すなわちスタート/
ストップスイッチ38がオン状態であれば(ステップ40
9)、リズム1及びリズム2のシーケンスレジスタ群7
8、79のセット処理を行い、オートリズムをスタートさ
せる(ステップ410)。この処理は、第20図に示す通り
である。このとき、モードレジスタ73のAUTフラグが
「1」で、オートモードであれば、ベース及びアルペジ
オのシーケンスレジスタ群80、81のセット処理を行い、
オートベース、オートアルペジオをスタートさせる(ス
テップ411、412)。さらに、モードレジスタ73のR/Aフ
ラグが「1」で、記録/割当モードであれば、レコーデ
ィングアドレスレジスタ87及びメジャクロックカウンタ
85をクリアする(ステップ413〜415)。
Here, the S / S flag is "1", that is, start /
If the stop switch 38 is on (step 40
9), rhythm 1 and rhythm 2 sequence register group 7
The set process of 8 and 79 is performed to start the autorhythm (step 410). This process is as shown in FIG. At this time, if the AUT flag of the mode register 73 is "1" and the mode is the auto mode, set processing of the sequence register groups 80 and 81 of the bass and arpeggio is performed,
Start the auto bass and auto arpeggio (steps 411, 412). Further, if the R / A flag of the mode register 73 is "1" and the recording / allocation mode is set, the recording address register 87 and the major clock counter
Clear 85 (steps 413 to 415).

また上記ステップ409で、S/Sフラグが「0」、すなわち
スタート/ストップスイッチ38がオフ状態になれば、リ
ズム1及びリズム2のシーケンスレジスタ群78、79のUS
Eフラグをクリアして、使用していない状態とし、オー
トリズムをストップさせる(ステップ416)。このと
き、モードレジスタ73のAUTフラグが「0」で、オート
モードであれば、ベース及びアルペジオのシーケンスレ
ジスタ群80、81のUSEフラグをクリアして、使用してい
ない状態とし、オートベース、オートアルペジオをスト
ップさせる(ステップ417、418)。さらに、モードレジ
スタ73のR/Aフラグが「1」で、記録/割当モードであ
れば、「11…(255)」のリピートデータとメジャクロ
ックレジスタ71の値とメジャクロックカウンタ85の値と
の差分データをレコードバッファ48に書き込み、モード
レジスタ73のR/Aフラグとパネル表示メモリ3の記録/
割当スイッチ39に応じた記憶内容をクリアする(ステッ
プ419〜421)。
In step 409, if the S / S flag is "0", that is, if the start / stop switch 38 is turned off, the rhythm 1 and rhythm 2 sequence register groups 78, 79 of US
The E flag is cleared to make it not in use, and the autorhythm is stopped (step 416). At this time, if the AUT flag of the mode register 73 is "0" and it is in the auto mode, the USE flag of the sequence register groups 80 and 81 of the base and arpeggio is cleared to make it in an unused state. Stop the arpeggio (steps 417 and 418). Further, if the R / A flag of the mode register 73 is "1" and the recording / allocation mode is set, the repeat data of "11 ... (255)", the value of the major clock register 71, and the value of the major clock counter 85 are The difference data is written in the record buffer 48, and the R / A flag of the mode register 73 and the recording / recording of the panel display memory 3 are performed.
The stored contents corresponding to the allocation switch 39 are cleared (steps 419 to 421).

ついで、キーボード13のいづれかのキーが押鍵中か否か
判別する(ステップ422)。押鍵中でなければ、モード
スイッチ31が操作された場合、モードレジスタ73の値を
修正して、パネル表示メモリ3の記憶内容を修正する
(ステップ423、424)。この場合、OFAモードかつオー
トモードであれば、コードのシーケンスレジスタ群84の
USEフラグをクリアして、使用していない状態とし、コ
ード検出をストップさせる(ステップ425)。そして、O
FAスイッチ32が操作された場合、モードレジスタ73の値
を修正して、パネル表示メモリ3の記憶内容を修正する
(ステップ426、427)。この場合、OFAフラグが「0」
になれば、やはりコードのシーケンスレジスタ群84のUS
Eフラグをクリアして、使用していない状態とし、コー
ド検出をストップさせる(ステップ428、429)。
Then, it is determined whether or not any key of the keyboard 13 is being depressed (step 422). If the mode switch 31 has not been pressed, the value of the mode register 73 is corrected to correct the contents stored in the panel display memory 3 (steps 423 and 424). In this case, in OFA mode and auto mode, the code sequence register group 84
The USE flag is cleared to make it unused, and code detection is stopped (step 425). And O
When the FA switch 32 is operated, the value of the mode register 73 is corrected to correct the stored contents of the panel display memory 3 (steps 426 and 427). In this case, the OFA flag is "0"
If so, the code sequence register group 84 US
The E flag is cleared to make it not in use, and code detection is stopped (steps 428 and 429).

これらステップ425、429により、モード切り換えがある
と、コードのアドリブモチーフの読み出しかつ出力は停
止される。むろん、別の指示、例えばスタート/ストッ
プスイッチ38のオフにより停止するようにしてもよい。
By these steps 425 and 429, when the mode is switched, the reading and output of the adlib motif of the code is stopped. Of course, it may be stopped by another instruction, for example, by turning off the start / stop switch 38.

次に、モードレジスタ73のS/Sフラグが「0」、すなわ
ちスタート/ストップスイッチ38がオフ状態であれば
(ステップ430)、記録/割当スイッチ39が操作された
場合、モードレジスタ73のR/Aフラグを反転し、パネル
表示メモリ3の記憶内容を修正して(ステップ431、43
2)、リターンする。
Next, if the S / S flag of the mode register 73 is "0", that is, if the start / stop switch 38 is in the off state (step 430), when the record / assign switch 39 is operated, the R / of the mode register 73 is set to R / S. Invert the A flag and correct the contents stored in the panel display memory 3 (steps 431, 43).
2), return.

上記ステップ422で、押鍵中であれば上述のステップ423
〜432のモード切り換え処理はなされず、押鍵中に演奏
内容が変化してしまうことがない。
In step 422, if the key is being pressed, the above step 423
The mode switching process of ~ 432 is not performed, and the performance content does not change while the key is pressed.

〈リズムのシーケンスレジスタ群78、79のセット処理〉 上記ステップ249、410のリズムのシーケンスレジスタ群
78、79のセット処理は、第20図のフローチャートに基づ
いて行われる。
<Set processing of rhythm sequence register groups 78 and 79> Rhythm sequence register groups of steps 249 and 410 above
The setting process of 78 and 79 is performed based on the flowchart of FIG.

まず、第1C図に示すアドリブモチーフアサインリスト42
b(47b)の「024H」番地の第1オートリズムのパターン
ナンバと「1」のUSEフラグとをAレジスタにセット
し、このパターンナンバに対応した第1B図に示すスター
トアドレス、すなわちアドリブスタートアドレスリスト
42a(47a)の上記パターンナンバを2倍した番地のデー
タをHLレジスタにセットする(ステップ501)。Aレジ
スタにセットするデータは通常はイベントキーナンバで
あるが、オートモチーフには対応するキーナンバがない
ため、アドリブモチーフのパターンナンバがセットされ
る。
First, the ad lib motif assignment list 42 shown in Figure 1C.
Set the pattern number of the first autorhythm and the USE flag of "1" at the address "024 H " of b (47b) in the A register, and the start address corresponding to this pattern number, that is, the ad-lib start. Address list
The data of the address which is doubled the pattern number of 42a (47a) is set in the HL register (step 501). The data set in the A register is usually an event key number, but since the auto motif does not have a corresponding key number, the pattern number of the adlib motif is set.

次いで、HLレジスタで指定されるRAM20のアドリブモチ
ーフパターンエリア47の先頭番地より、ローアキーナン
バを読み出し、このローアキーナンバから第8図に示す
リズム音色テーブル44の記憶内容に基づいて、リズム音
色ナンバと発音キーナンバを求め、おのおのBレジス
タ、Cレジスタにセットする(ステップ502)。次い
で、HLレジスタの値を+2する(ステップ503)。
Next, the lower key number is read from the start address of the ad lib motif pattern area 47 of the RAM 20 designated by the HL register, and the rhythm tone number is read from this lower key number based on the stored contents of the rhythm tone table 44 shown in FIG. Is obtained and set in the B register and the C register respectively (step 502). Then, the value of the HL register is incremented by 2 (step 503).

そして、2番目のビートデータのステップタイムデータ
を読み出してDレジスタに書き込み(ステップ504)、
このステップタイムデータが「0」か否か判断する(ス
テップ505)。「0」であれば、待ち時間が無く、直ち
に発音しなくてはならず、HLレジスタで指定されるRAM2
0のアドリブモチーフパターンエリア47の番地の記憶デ
ータの最上位ビットが「1」か否か、すなわち第2B図に
示すように、記憶データがローアキーナンバか否か判断
する(ステップ506)。
Then, the step time data of the second beat data is read and written in the D register (step 504),
It is determined whether this step time data is "0" (step 505). If it is "0", there is no waiting time and the sound must be pronounced immediately. RAM2 specified by the HL register
It is determined whether or not the most significant bit of the stored data at the address of the 0 ad-lib motif pattern area 47 is "1", that is, whether the stored data is the lower key number as shown in FIG. 2B (step 506).

現在先頭のビートデータを読み出した直後であるからロ
ーアキーナンバであることが判断され、ステップ507に
進み、「1」のオン/オフデータ、上記Cレジスタにセ
ットした発音キーナンバと、「1」のゲートタイムと、
このビートデータ内のベロシティと、上記Bレジスタに
セットしたリズム音色ナンバとをリングバッファ49に書
き込み(ステップ507)、リングトップアドレスレジス
タ92の値を+4し(ステップ508)、ステップ503に戻
る。
Since it is immediately after reading the first beat data, it is determined that it is the lower key number, and the process proceeds to step 507, where the on / off data of "1", the tone key number set in the C register and the "1" Gate time,
The velocity in the beat data and the rhythm tone color number set in the B register are written in the ring buffer 49 (step 507), the value of the ring top address register 92 is incremented by 4 (step 508), and the process returns to step 503.

次のステップ503〜505で、2番目のビートデータのステ
ップタイムデータが「0」か否か判断する。しかし通常
は、1番目のビートデータと2番目のビートデータとの
間のステップタイムデータは、「0」ではないので、そ
のままリターンする。
In the next steps 503 to 505, it is determined whether the step time data of the second beat data is "0". However, normally, the step time data between the first beat data and the second beat data is not "0", and therefore the process directly returns.

こうして、第1オートリズムのオートモチーフパターン
の先頭のリズム音色ナンバ及び発音キーナンバのセット
(ステップ502)と、これに続く第1番目のビートデー
タのセット(ステップ503〜508)とが行われる。第2番
目以降のビートデータのセットは、既に述べた第18図の
リズム1のシーケンスの処理で、インタラプト信号INT2
の出力時に行われる。このことは次述する第2オートリ
ズムでも同じである。
In this way, the setting of the leading rhythm tone color number and tone generation key number of the auto motif pattern of the first auto rhythm (step 502) and the subsequent setting of the first beat data (steps 503 to 508) are performed. The second and subsequent beat data sets are processed by the rhythm 1 sequence shown in FIG. 18 and are processed by the interrupt signal INT2.
Is done at the output of. This also applies to the second autorhythm described below.

次いで、第1C図に示すアドリブモチーフアサインリスト
42b(47b)の「025H」番地の第2オートリズムのパター
ンナンバをAレジスタにセットし、このパターンナンバ
に対応した第1B図に示すスタートアドレス、すなわちア
ドリブスタートアドレスリスト42a(47a)の上記パター
ンナンバを2倍した番地のデータをHLレジスタにセット
する(ステップ509)。
Then, the ad lib motif assignment list shown in Figure 1C.
The pattern number of the second auto rhythm at the address "025 H " of 42b (47b) is set in the A register, and the start address corresponding to this pattern number shown in FIG. 1B, that is, the ad-lib start address list 42a (47a) above Data at an address that is twice the pattern number is set in the HL register (step 509).

そして、第1C図に示すアドリブモチーフアサインリスト
42b(47b)の「026H」番地の第1オートリズムと第2オ
ートリズムの間のディレイ時間をDレジスタにセットし
(ステップ510)、このディレイ時間が「0」か否か判
別する(ステップ511)。「0」であれば、ディレイ時
間が既に経過したか、始めから「0」かであり、リズム
2のシーケンス処理にはいり(ステップ512)、リター
ンする。このリズム2のシーケンスの処理は、上記のリ
ズム1のシーケンス処理(ステップ501〜508、マクロル
ーチンMACRO8)と同じものである。ただし使用されるシ
ーケンスレジスタ群は、リズム2のものである。
And the ad lib motif assignment list shown in Figure 1C.
The delay time between the first autorhythm and the second autorhythm at the address "026 H " of 42b (47b) is set in the D register (step 510), and it is determined whether or not this delay time is "0" (step). 511). If it is "0", it means that the delay time has already passed or it is "0" from the beginning, so the sequence processing of rhythm 2 is entered (step 512) and the process returns. This rhythm 2 sequence processing is the same as the rhythm 1 sequence processing (steps 501 to 508, macro routine MACRO8). However, the sequence register group used is that of rhythm 2.

なお、上記ステップ249のリズム1のシーケンスレジス
タ群78のセット処理では、ステップ501〜508の処理が行
われ、ステップ250内の同じリズム2のシーケンスレジ
スタ群79のセット処理では、ステップ509、512の処理が
行われる。
In the setting process of the sequence register group 78 of rhythm 1 in step 249, the processes of steps 501 to 508 are performed, and in the setting process of the sequence register group 79 of the same rhythm 2 in step 250, steps 509 and 512 are performed. Processing is performed.

また、上記ステップ412のベース及びアルペジオのシー
ケンスレジスタ群80、81のセット処理では、上記ステッ
プ501〜508と同じ処理が行われる。ただし使用されるシ
ーケンスレジスタ群はベース、アルペジオのものであ
り、セットされるオートモチーフのパターンナンバは、
オートベース、オートアルペジオのものであり、ステッ
プ402はステップ221に置き変わり、ステップ504はステ
ップ229に置き変わり、ステップ507はステップ224に置
き変わる。
Further, in the setting process of the base and arpeggio sequence register groups 80 and 81 in step 412, the same process as steps 501 to 508 is performed. However, the sequence register group used is that of the base and arpeggio, and the pattern number of the auto motif that is set is
For auto bass and auto arpeggio, step 402 replaces step 221, step 504 replaces step 229, and step 507 replaces step 224.

本発明は上記実施例に限定されず、本発明の趣旨を逸脱
しない範囲で種々変更可能である。例えば、演奏のモチ
ーフを示す情報は、第2図各図に示すものに対し、情報
を付加したり削除したりしてもよい。また、楽音の放音
を指示する手段は、キーボード以外に弦、木管、金管等
のものでもよい。
The present invention is not limited to the above embodiments, and various modifications can be made without departing from the spirit of the present invention. For example, the information indicating the performance motif may be added to or deleted from the information shown in each of FIGS. The means for instructing the sound emission may be a string, a wood pipe, a brass pipe or the like other than the keyboard.

[発明の効果] 以上詳述したように、本発明は、演奏のモチーフを示す
情報を記憶し、楽音の放音を指示する指示手段の操作さ
れている間、上記モチーフ情報を読み出して出力するよ
うにした。従って、記憶するモチーフ情報が伴奏につい
てのものであれば、指示手段の操作に変化がなくても、
このモチーフパターンに応じて、伴奏内容が変化し、コ
ード及びルートが変化することになる。また、記憶する
モチーフ情報がリズムについてのものであれば、指示手
段の操作が続く限りは、このモチーフパターンに応じ
て、リズム音が自動的に複数音続けて鳴り、楽にリズム
演奏を行うことができる。さらに、記憶するモチーフ情
報がメロディ演奏についてのものであれば、指示手段を
操作している間だけ、自動的にメロディ演奏を行うこと
ができ、自動メロディ演奏を停止したければ、指示手段
の操作を停止すればよく、演奏者が指示手段に対して演
奏操作をしながら自動メロディ演奏に関与することがで
きる。そして指示手段の操作ごとに、モチーフに応じた
演奏が独立に行われるようにしたから、各モチーフの演
奏を異なるタイミングで合奏でき、タイミング合わせに
腕を磨くことができる。
[Effects of the Invention] As described above in detail, according to the present invention, the information indicating the motif of the performance is stored, and the motif information is read and output while the instruction means for instructing the sound emission of the musical tone is operated. I did it. Therefore, if the memorized motif information is related to accompaniment,
According to this motif pattern, the accompaniment content changes, and the chord and root change. In addition, if the stored motif information is about rhythm, as long as the operation of the instruction means continues, a plurality of rhythm sounds will automatically sound continuously in accordance with this motif pattern, and a rhythm performance can be performed comfortably. it can. Further, if the stored motif information is about the melody performance, the melody performance can be automatically performed only while the instruction means is operated, and if the automatic melody performance is to be stopped, the operation of the instruction means is performed. It suffices to stop the operation so that the player can participate in the automatic melody performance while performing a performance operation on the instruction means. Since the performance according to the motif is performed independently for each operation of the instructing means, the performance of each motif can be ensemble at different timings, and the skill can be refined in timing coordination.

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

第1図乃至第20図は本発明の実施例を示すもので、第1A
図〜1C図はアドリブモチーフデータ等の記憶例を示す図
であり、第2A図〜第2C図はアドリブモチーフデータの記
憶フォーマットを示す図であり、第3図はアドリブモチ
ーフエリアテーブル41を示す図であり、第4図は全体回
路図であり、第5A図及び第5B図はパネルスイッチボート
15及びキーボード13を示す図であり、第6図はトーンナ
ンバのリストを示す図であり、第7図は拍子データのリ
ストを示す図であり、第8図はリズム音色テーブル44を
示す図であり、第9図はキー判別デコーダ45を示す図で
あり、第10図はレコードバッファ48、リングバッファ49
を示す図であり、第11図はアサイメントメモリ4を示す
図であり、第12A図及び第12B図は各モードの機能を示す
図であり、第13図はワーキングRAM46を示す図であり、
第14図は楽音発生回路4を示す図であり、第15A図及び
第15B図はアドリブモチーフデータ記録による記憶内容
の変化を示す図であり、第16図はメインルーチンのフロ
ーチャートを示す図であり、第17A図〜第17F図はキーイ
ベント(キーオン、キーオフ)時の処理のフローチャー
トを示す図であり、第18A図〜第18C図はインタラプト信
号INT2出力時の一定周期ごとに行われる処理のフローチ
ャートを示す図であり、第19A図〜第19B図はパネルスイ
ッチ操作時の処理のフローチャートを示す図であり、第
20図はリズムのシーケンスレジスタ群78、79のセット処
理のフローチャートを示す図である。 4……アサイメントメモリ、12……CPU、13……キーボ
ード、15……パネルスイッチボード、19……ROM、20…
…RAM、31……モードスイッチ、32……OFA(ワンフィン
ガーアドリブ)スイッチ、33……音色スイッチ、34……
リズムスイッチ、38……スタート/ストップスイッチ、
39……記録/割当スイッチ、42(47)……アドリブモチ
ーフパターンエリア、42a(47a)……アドリブモチーフ
スタートアドレスリスト、42b(47b)……アドリブモチ
ーフアサインリスト、46……ワーキングRAM、48……レ
コードバッファ、49……リングバッファ。
1 to 20 show an embodiment of the present invention.
FIGS. 1 to 1C are diagrams showing examples of storage of ad lib motif data and the like, FIGS. 2A to 2C are diagrams showing storage format of ad lib motif data, and FIG. 3 is a diagram showing ad lib motif area table 41. Fig. 4 is an overall circuit diagram, and Figs. 5A and 5B are panel switch boats.
15 is a diagram showing the keyboard 13; FIG. 6 is a diagram showing a list of tone numbers; FIG. 7 is a diagram showing a list of time signature data; FIG. 8 is a diagram showing a rhythm tone color table 44. Yes, FIG. 9 is a diagram showing the key discrimination decoder 45, and FIG. 10 is a record buffer 48 and a ring buffer 49.
FIG. 11 is a diagram showing the assignment memory 4, FIG. 12A and FIG. 12B are diagrams showing the function of each mode, and FIG. 13 is a diagram showing the working RAM 46.
FIG. 14 is a diagram showing the musical tone generating circuit 4, FIGS. 15A and 15B are diagrams showing changes in the stored contents by ad lib motif data recording, and FIG. 16 is a diagram showing a flowchart of the main routine. , FIG. 17A to FIG. 17F are flowcharts showing the processing at the time of a key event (key on, key off), and FIG. 18A to FIG. 18C are the flowcharts of the processing performed at every constant period at the time of outputting the interrupt signal INT2. FIG. 19A to FIG. 19B are views showing a flow chart of processing at the time of operating the panel switch.
FIG. 20 is a diagram showing a flowchart of the setting process of the rhythm sequence register groups 78 and 79. 4 ... Assignment memory, 12 ... CPU, 13 ... Keyboard, 15 ... Panel switch board, 19 ... ROM, 20 ...
RAM, 31 mode switch, 32 OFA (one finger ad lib) switch, 33 tone color switch, 34
Rhythm switch, 38 ... Start / stop switch,
39 …… Record / allocation switch, 42 (47) …… Adlib motif pattern area, 42a (47a) …… Adlib motif start address list, 42b (47b) …… Adlib motif assignment list, 46 …… Working RAM, 48… … Record buffer, 49… ring buffer.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 関塚 真 静岡県浜松市寺島町200番地 株式会社河 合楽器製作所内 (56)参考文献 特開 昭60−135996(JP,A) 特開 昭59−192289(JP,A) 特開 昭59−52298(JP,A) 特開 昭61−175691(JP,A) 特開 昭62−151898(JP,A) 実開 昭61−193499(JP,U) 実開 昭59−84598(JP,U) 実開 昭63−397(JP,U) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Makoto Sekizuka 200 Terashima-cho, Hamamatsu City, Shizuoka Prefecture Kawai Musical Instruments Mfg. Co., Ltd. (56) References JP-A-60-135996 (JP, A) JP-A-59- 192289 (JP, A) JP 59-52298 (JP, A) JP 61-175691 (JP, A) JP 62-151898 (JP, A) Actual development JP 61-193499 (JP, U) Actual development Sho 59-84598 (JP, U) Actual development Sho 63-397 (JP, U)

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】演奏の複数種類のモチーフを示す情報を記
憶する記憶手段と、 楽音の発音を指示する複数の指示手段と、 この複数の指示手段のいずれが操作されたかを判別する
判別手段と、 この判別手段の判別に応じて、上記記憶手段に記憶され
た複数種類のモチーフを示す情報を選択する選択手段
と、 この選択手段によって選択された情報を記憶手段より情
報を読み出す読み出し手段と、 この読み出し手段で読み出された情報を出力する出力手
段と、 上記指示手段のオン操作を検出する第1の検出手段と、 この第1の検出手段の検出に応じて、上記読み出し手段
による情報の読み出しを開始させる第1の読み出し制御
手段と、 上記指示手段のオフ操作を検出する第2の検出手段と、 この第2の検出手段の検出に応じて、上記読み出し手段
による情報の読み出しを停止させる第2の読み出し制御
手段とを備えたことを特徴とするモチーフ演奏装置。
1. A storage means for storing information indicating a plurality of types of performance motifs, a plurality of instruction means for instructing the pronunciation of a musical sound, and a determination means for determining which of the plurality of instruction means has been operated. Selecting means for selecting information indicating a plurality of types of motifs stored in the storage means according to the determination of the determining means, and reading means for reading the information selected by the selecting means from the storage means, Output means for outputting the information read by the reading means, first detecting means for detecting an ON operation of the instructing means, and the information by the reading means for detecting the information detected by the first detecting means. First read control means for starting the read operation, second detecting means for detecting an OFF operation of the instructing means, and the read operation according to the detection by the second detecting means. Motif playing apparatus being characterized in that a second reading control means for stopping the reading of information by.
【請求項2】上記複数の指示手段それぞれは、上記記憶
手段に記憶された複数種類のモチーフの情報に対応して
いることを特徴とする請求項1記載のモチーフ演奏装
置。
2. The motif playing apparatus according to claim 1, wherein each of the plurality of instructing means corresponds to a plurality of types of motif information stored in the storage means.
【請求項3】上記複数の指示手段それぞれに対応される
複数種類のモチーフの情報は、上記記憶手段に記憶され
た他のモチーフの情報に切り換え選択されることを特徴
とする請求項1記載のモチーフ演奏装置。
3. The information of a plurality of types of motifs corresponding to each of the plurality of instruction means is switched and selected to information of another motif stored in the storage means. Motif performance device.
【請求項4】上記読み出し手段は複数のモチーフを示す
情報を並行して時分割に読み出し、上記出力手段はこの
読み出し手段で読み出された複数のモチーフを示す情報
を並行して時分割に出力することを特徴とする請求項1
記載のモチーフ演奏装置。
4. The reading means reads the information indicating a plurality of motifs in parallel in a time division manner, and the output means outputs the information indicating a plurality of motifs read by the reading means in a time division manner in parallel. Claim 1 characterized by the above.
The described motif playing device.
【請求項5】上記指示手段は、外部に接続されたもので
あることを特徴とする請求項1記載のモチーフ演奏装
置。
5. The motif playing apparatus according to claim 1, wherein the instructing means is externally connected.
JP1265881A 1989-10-12 1989-10-12 Motif playing device Expired - Fee Related JPH0782326B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1265881A JPH0782326B2 (en) 1989-10-12 1989-10-12 Motif playing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1265881A JPH0782326B2 (en) 1989-10-12 1989-10-12 Motif playing device

Publications (2)

Publication Number Publication Date
JPH03126997A JPH03126997A (en) 1991-05-30
JPH0782326B2 true JPH0782326B2 (en) 1995-09-06

Family

ID=17423396

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1265881A Expired - Fee Related JPH0782326B2 (en) 1989-10-12 1989-10-12 Motif playing device

Country Status (1)

Country Link
JP (1) JPH0782326B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05108068A (en) * 1991-10-14 1993-04-30 Kawai Musical Instr Mfg Co Ltd Phrase information input and output device

Also Published As

Publication number Publication date
JPH03126997A (en) 1991-05-30

Similar Documents

Publication Publication Date Title
JP2576700B2 (en) Automatic accompaniment device
JPH0782325B2 (en) Motif playing device
JP2714455B2 (en) Motif playing device and motif playing method
JP3289037B2 (en) Motif playing device and motif playing method
JPH0782326B2 (en) Motif playing device
JP3314079B2 (en) Motif playing device and motif playing method
JP2962546B2 (en) Motif playing device and motif playing method
JPH0782327B2 (en) Motif playing device
JP2001166771A (en) Device and method for motif playing
JPH0631977B2 (en) Electronic musical instrument
JP2636393B2 (en) Automatic performance device
JP3296182B2 (en) Automatic accompaniment device
JP2513014B2 (en) Electronic musical instrument automatic performance device
JP2663506B2 (en) Automatic performance device
JP3171436B2 (en) Automatic accompaniment device
JP2586744B2 (en) Automatic accompaniment device for electronic musical instruments
JP3120806B2 (en) Automatic accompaniment device
JP2848322B2 (en) Automatic accompaniment device
JP3055352B2 (en) Accompaniment pattern creation device
JPH08335082A (en) Electronic musical instrument having automatic playing function
JP2972362B2 (en) Musical control information processing device, musical control information processing method, performance pattern selection device, and performance pattern selection method
JP3344872B2 (en) Automatic performance device
JP2576296B2 (en) Automatic accompaniment device for electronic musical instruments
JPS6329274B2 (en)
JPS6226037B2 (en)

Legal Events

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