JPS6242519B2 - - Google Patents

Info

Publication number
JPS6242519B2
JPS6242519B2 JP55152167A JP15216780A JPS6242519B2 JP S6242519 B2 JPS6242519 B2 JP S6242519B2 JP 55152167 A JP55152167 A JP 55152167A JP 15216780 A JP15216780 A JP 15216780A JP S6242519 B2 JPS6242519 B2 JP S6242519B2
Authority
JP
Japan
Prior art keywords
key
pressed
circuit
keys
order
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
Application number
JP55152167A
Other languages
Japanese (ja)
Other versions
JPS5776598A (en
Inventor
Hiroshi Hirano
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.)
Nippon Gakki Co Ltd
Original Assignee
Nippon Gakki 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 Nippon Gakki Co Ltd filed Critical Nippon Gakki Co Ltd
Priority to JP55152167A priority Critical patent/JPS5776598A/en
Publication of JPS5776598A publication Critical patent/JPS5776598A/en
Publication of JPS6242519B2 publication Critical patent/JPS6242519B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 この発明は電子楽器の自動伴奏装置に関し、特
にアルペジヨ演奏のような順次発音演奏を行なう
ものに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an automatic accompaniment device for an electronic musical instrument, and more particularly to an automatic accompaniment device for performing a sequential sound performance such as an arpeggio performance.

一般にアルペジヨ演奏装置は、アツプモードあ
るいはターンモードなど、何通りかの順次発音態
様を選択的に実現し得るようになつている。従来
は、所望の順次発音態様を選択するためには電子
楽器のパネル面に設けられた選択スイツチを操作
しなければならなかつたため、鍵盤演奏中に順次
発音態様を変更するのは困難であつた。従つて、
自動アルペジヨ演奏が単調になりがちであつた。
Generally, an arpeggio playing device is capable of selectively realizing several sequential sounding modes, such as an up mode or a turn mode. Previously, in order to select the desired sequential sound mode, it was necessary to operate a selection switch provided on the panel of the electronic musical instrument, making it difficult to change the sequential sound mode while playing the keyboard. . Therefore,
The automatic arpeggio performance tended to become monotonous.

特開昭55―57895号公報には、ワンフインガー
モードにおいて、ワンフインガー伴奏鍵の押鍵数
を検出し、この押鍵数に応じてアルペジヨの発音
パターンを切り換えることが示されている。しか
し、アルペジヨ発音パターンのために押圧した鍵
と発生されるアルペジヨ音との間には関連が無
く、ただ、ワンフインガーモードにおいて自動形
成される音がアルペジヨ発音されるだけであつ
た。そのため、発音可能な音に制限があるという
問題点がある。
Japanese Unexamined Patent Publication No. 57895/1989 discloses that in one-finger mode, the number of one-finger accompaniment keys pressed is detected, and the arpeggio sound pattern is switched in accordance with the number of pressed keys. However, there was no relationship between the keys pressed for the arpeggio pattern and the arpeggio sounds that were generated, and only the sounds that were automatically formed in the one-finger mode were arpeggio-pronounced. Therefore, there is a problem that there are restrictions on the sounds that can be produced.

順番に自動的に発生される音と押圧鍵との間に
関連があるものとしては、特開昭53―103721号公
報に示されたものがある。しかし、ここに開示さ
れたものは、ポルタメント効果を得るためのもの
であり、アルペジヨとは効果が全く異なる。ま
た、低音から高音に鍵が押し変えられたならば発
音態様は必ず低音から高音にしか順次変化せず、
高音から低音への発音変化パターンのように自由
な発音パターンを選択できるわけではない。同様
のものとして特開昭55―35376号公報に示された
ものがある。ここではグリサンド効果を実現する
ようにしている。これもポルタメント効果と同様
に、その効果故の必然性によつて、低音から高音
に鍵が押し変えられたならば、低音から高音に順
に音高が変化するようになつているにすぎない。
An example of a system in which there is a relationship between sounds that are automatically generated in sequence and keys that are pressed is disclosed in Japanese Patent Application Laid-open No. 103721/1983. However, the one disclosed here is for obtaining a portamento effect, and the effect is completely different from that of an arpegillo. Also, if the key is changed from a low note to a high note, the pronunciation mode will always change sequentially from low to high note.
It is not possible to freely select a pronunciation pattern like the pronunciation change pattern from high to low. A similar method is disclosed in Japanese Patent Application Laid-Open No. 55-35376. Here we are trying to achieve a glissando effect. Similar to the portamento effect, this effect simply means that if the key is pressed from a low note to a high note, the pitch will change from low to high.

従つて、上述のような従来技術によつては、自
由に押圧した押鍵音を自動アルペジヨ演奏する場
合において鍵盤演奏中にアルペジヨ演奏のパター
ンを自由に変更することができるようにするとい
う課題に関して、何ら有効に示唆されるものはな
かつた。
Therefore, the above-mentioned prior art does not solve the problem of making it possible to freely change the arpeggio performance pattern during keyboard performance when automatically arpeggio-playing notes that are pressed freely. , nothing was effectively suggested.

この点に鑑みて、この発明の目的は、鍵盤演奏
中でも簡単に順次発音態様を切換制御し得るよう
にした電子楽器の自動伴奏装置を提供することに
ある。この目的は、アルペジヨのような伴奏演奏
のために押圧された鍵の押鍵順序(鍵の押し始め
の時間ずれ順序)を判別し、この順序に対応する
態様で各押圧鍵に対応する音を順次発音させるこ
とにより達成される。一実施例としては、アルペ
ジヨ演奏させるべき複数鍵を低音側から順に時間
的に幾分ずらして押圧した場合は、これらの押圧
鍵に対応する音を低音側から高音側に向けて順次
発音させることを繰返す「アツプモード」が自動
的に選択される。また、アルペジヨ演奏させるべ
き複数鍵を高音側から順に時間的に幾分ずらして
押圧した場合は、これらの押圧鍵に対応する音を
高音側から低音側に向けて順次発音させることを
繰返す「ダウンモード」が自動的に選択される。
また、アルペジヨ演奏させるべき複数鍵をほぼ同
時に押圧した場合は、これらの押圧鍵に対応する
音を低音側から高音側に向けて順次発音させた後
高音側から低音側に向けて順次発音させることを
繰返す「ターンモード」が自動的に選択される。
好適な実施例においては、すべての押圧鍵に関し
て押鍵順序が判別されるのではなく、1番目と2
番目の押圧鍵に関して押鍵順序が判別される。こ
れは、上述の3つのモード(アツプ,ダウン,タ
ーン)を区別するには、1番目と2番目の押圧鍵
の高低関係を調べるだけで十分であるからであ
る。
In view of this point, it is an object of the present invention to provide an automatic accompaniment device for an electronic musical instrument that can easily sequentially switch and control the sound generation mode even during keyboard performance. The purpose of this is to determine the order in which the keys are pressed for an accompaniment performance such as an arpegillo (time lag order in which the keys are pressed), and to play the notes corresponding to each pressed key in a manner that corresponds to this order. This is achieved by pronouncing them sequentially. As an example, when multiple keys to be played with an arpeggio are pressed in order from the low note side with some time shifts, the sounds corresponding to these pressed keys are sounded sequentially from the low note side to the treble side. ``Up mode'' is automatically selected. In addition, if multiple keys to be played with an arpeggio are pressed in order from the treble side with some time shifts, the notes corresponding to these pressed keys are repeatedly sounded from the treble side to the bass side. mode” will be selected automatically.
In addition, if multiple keys to be played with an arpeggio are pressed almost simultaneously, the notes corresponding to these pressed keys should be sounded in sequence from the bass side to the treble side, and then sequentially from the treble side to the bass side. ``Turn mode'' is automatically selected.
In the preferred embodiment, the order of presses is not determined for all keys pressed, but for the first and second keys pressed.
The key pressing order is determined regarding the th pressed key. This is because in order to distinguish between the above three modes (up, down, turn), it is sufficient to examine the height relationship between the first and second pressed keys.

以下、添付図面を参照してこの発明の一実施例
につき詳細に説明しよう。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図において、鍵盤部10は上鍵盤、下鍵盤
及びペダル鍵盤を具えており、そのうち下鍵盤が
アルペジヨ演奏のめに使用される。キーコーダ1
1は鍵盤部10で押圧されている鍵を検出し、そ
の押圧鍵を示すキーコードKCとその押圧鍵が所
属する鍵盤(上,下,またはペダル鍵盤)を示す
信号U,L,Pを出力する。チヤンネルプロセツ
サ12は、キーコーダ11から与えられたキーコ
ードKCを複数の発音チヤンネルのいずれかに割
当てる処理を行なう。トーンジエネレータ部13
は、各発音チヤンネルに割当てられたキーコード
KC*をチヤンネルプロセツサ12から受入れ、
これらのキーコードKC*に対応する音高の楽音
信号を発生する。
In FIG. 1, a keyboard section 10 includes an upper keyboard, a lower keyboard, and a pedal keyboard, of which the lower keyboard is used for playing arpeggios. key coder 1
1 detects a key being pressed on the keyboard section 10, and outputs a key code KC indicating the pressed key and signals U, L, and P indicating the keyboard to which the pressed key belongs (upper, lower, or pedal keyboard). do. The channel processor 12 performs a process of assigning the key code KC given from the key coder 11 to one of a plurality of sounding channels. Tone generator section 13
is the key code assigned to each pronunciation channel.
Accepts KC* from channel processor 12,
A musical tone signal with a pitch corresponding to these key codes KC* is generated.

アルペジヨ装置14は、アルペジヨ演奏のため
に下鍵盤で押圧されている鍵に対応する音を所望
の態様で順番に繰返し発音させるためのもので、
これにより自動アルペジヨ演奏が実行される。押
鍵順序判別回路15は、アルペジヨ演奏のために
下鍵盤で押圧された鍵の押鍵順序を判別し、この
判別にもとづきアルペジヨ装置14における順次
発音の態様を自動的に制御する。一例としては、
アルペジヨ演奏させるべき複数鍵に対応する音を
低音側から高音側に向けて順次発音させることを
繰返す「アツプモード」(UP)、あるいは該複数
鍵に対応する音を高音側から低音側に向けて順次
発音させることを繰返す「ダウンモード」
(DOWN)、あるいは該複数鍵に対応する音を低
音側から高音側に向けて順次発音させた後高音側
から低音側に向けて順次発音させることを繰返す
「ターンモード」(TURN)、のいずれか1つを判
別した押鍵順序に応じてアルペジヨ装置14に対
して指示する。アルペジヨ装置14では、押鍵順
序判別回路15によつて指示されたモードに対応
する態様で順次発音制御を実行する。
The arpegillo device 14 is for repeatedly producing the notes corresponding to the keys pressed on the lower keyboard in a desired manner in order to play the arpeggio.
As a result, automatic arpeggio performance is executed. The key pressing order determining circuit 15 determines the pressing order of the keys pressed on the lower keyboard for an arpeggio performance, and automatically controls the mode of sequential sound generation in the arpegillo device 14 based on this determination. As an example,
"Up mode" (UP), which repeatedly sounds the notes corresponding to multiple keys to be played in an arpeggio from the bass side to the treble side, or the notes corresponding to the multiple keys from the treble side to the bass side. "Down mode" that repeats sequential pronunciation
(DOWN), or "Turn mode" (TURN), in which the notes corresponding to the multiple keys are sounded sequentially from the bass to the treble, and then sequentially from the treble to the bass. One of these is instructed to the arpeggio device 14 according to the determined key pressing order. The arpeggio device 14 sequentially executes tone generation control in a manner corresponding to the mode instructed by the key press order determining circuit 15.

アツプモード(UP)を選択するための具体的
な鍵盤演奏法としては、アルペジヨ演奏すべき所
望の複数鍵を下鍵盤において低音側から順に時間
的に幾分ずらして押し下げる。この場合、最高音
に相当する鍵が押し下げられたときは所望の複数
鍵すべてが同時に押圧されている状態となる。ダ
ウンモード(DOWN)を選択するための具体的
な鍵盤演奏法としては、所望の複数鍵を下鍵盤に
おいて高音側から順に時間的に幾分ずらして押し
下げる。この場合、最低音に相当する鍵が押し下
げられたときは所望の複数鍵すべてが同時に押圧
されている状態となる。すなわち、アツプモード
あるいはダウンモードの場合は、所望の複数鍵の
押し始めのタイミングを低音側から順にあるいは
高音側から順にずらすのである。ターンモード
(TURN)を選択するための具体的な鍵盤演奏法
としては、所望の複数鍵を下鍵盤においてほぼ同
時に押し下げる。尚、同時に押圧したつもりでも
微視的にみれば各鍵の押圧開始タイミングには若
干の時間ずれがあるのが普通である。このような
僅かな時間ずれを吸収するために押鍵順序判別回
路15内では適宜の待ち時間設定手段を設け、そ
こで設定された待ち時間内に押圧された鍵は同時
に押圧されたものとみなすようにしている。
A specific method of playing the keyboard to select the up mode (UP) is to press down on the lower keyboard the desired keys to be played in the arpeggio, starting from the low note side and shifting them slightly in time. In this case, when the key corresponding to the highest note is pressed down, all of the desired keys are pressed at the same time. A specific method of playing the keyboard to select the down mode (DOWN) is to press down the desired keys on the lower keyboard in order from the treble side with some time shifts. In this case, when the key corresponding to the lowest note is pressed down, all desired keys are pressed at the same time. That is, in the case of up mode or down mode, the timing at which desired keys are pressed is shifted sequentially from the bass end or from the treble end. A specific method of playing the keyboard to select the turn mode (TURN) is to press down multiple desired keys on the lower keyboard almost simultaneously. Note that even if the keys are pressed at the same time, when viewed microscopically, there is usually a slight time lag in the timing at which each key starts being pressed. In order to absorb such a slight time difference, an appropriate waiting time setting means is provided in the key press order determining circuit 15, so that keys pressed within the set waiting time are considered to have been pressed at the same time. I have to.

次に第1図各部の詳細例について説明する。 Next, detailed examples of each part in FIG. 1 will be explained.

キーコーダ11としては、例えば特開昭52−
23324号公報に示された技術思想に準じて構成す
ることができる。その場合、鍵盤部10の各鍵に
対応するキースイツチを、各音名に対応する複数
のノート配線NLと各鍵盤毎のオクターブに対応
する複数のブロツク配線BLとからマトリクス配
線の交点に夫々配列し、このノート配線NLとブ
ロツク配線BLとの間で各キースイツチを介在さ
せて信号を送受することにより押圧鍵を検出す
る。キーコーダ11では、第2図に示すような手
順で押圧鍵検出処理を行なう。第2図において、
押圧鍵検出処理の1サイクルは4つの状態(ステ
ートS0,S1,S2,S3)から成る。
As the key coder 11, for example,
It can be constructed in accordance with the technical idea disclosed in Publication No. 23324. In that case, key switches corresponding to each key of the keyboard section 10 are arranged at the intersections of matrix wiring from a plurality of note wirings NL corresponding to each note name and a plurality of block wirings BL corresponding to an octave of each keyboard. A pressed key is detected by transmitting and receiving signals between the note wiring NL and the block wiring BL through each key switch. The key coder 11 performs pressed key detection processing according to the procedure shown in FIG. In Figure 2,
One cycle of pressed key detection processing consists of four states (states S0, S1, S2, and S3).

ステートS0は、待機状態であり、このときキ
ーコーダ11内のすべての記憶内容がクリアされ
る。所定のキー走査クロツクパルスφAに従つて
ステートS0からS1に移行する。
State S0 is a standby state, and at this time all memory contents in the key coder 11 are cleared. Transition is made from state S0 to S1 in accordance with a predetermined key scan clock pulse φA .

ステートS1においては、キーコーダ11から
ノート配線NLを介して各キースイツチに信号
“1”を与える。その結果、オンしているキース
イツチを介してそのオンキースイツチが所属する
ブロツク配線BLに信号“1”が現われる。キー
コーダ11では、信号“1”が現われたブロツク
配線BLを記憶する。このステートS1の処理によ
り、押圧鍵が存在しているすべてのオクターブ音
域が検出される。ブロツク配線BLのいずれか1
つにでも“1”が現われた場合は、「AB=
“1”?」(ABはエニイブロツクの意味)という
判断がYESであり、クロツクパルスφAの発生タ
イミングに従つてステートS2に移る。「AB=
“1”?」がNOの場合は押圧鍵が存在しないこと
を意味し、クロツクパルスφAの発生タイミング
に従つてアルペジヨ処理信号ARPを形成し、そ
の後、ステートS0に戻る。
In state S1, a signal "1" is applied from the key coder 11 to each key switch via the note wiring NL. As a result, a signal "1" appears on the block wiring BL to which the on-key switch belongs via the on-key switch. The key coder 11 stores the block wiring BL on which the signal "1" appears. Through the processing in state S1, all octave ranges in which pressed keys exist are detected. Any one of block wiring BL
If “1” appears at any time, “AB=
“1”? ” (AB means any block) is YES, and the state moves to state S2 in accordance with the timing of generation of clock pulse φA . “AB=
“1”? If " is NO, it means that there is no pressed key, and the arpeggio processing signal ARP is formed according to the generation timing of the clock pulse φ A , and then the process returns to state S0.

ステートS2においては、ステートS1において
記憶したブロツク配線BLの1つを選択し、その
1つのブロツク配線BLを介してそれに所属する
各キースイツチに対して信号“1”を与える。そ
の結果、その単一のブロツク配線BLに所属する
キースイツチのうちオンしているキースイツチ
(1乃至複数)を介してそのオン・キースイツチ
に対応するノート配線NL(1乃至複数)から
“1”が出力される。キーコーダ11では“1”
が現われたノート配線NLを記憶する。また、ス
テートS2においては、選択した単一のブロツク
配線BLに対応してオクターブコードOCをエンコ
ードすると共にそのブロツク配線BLが上鍵盤あ
るいは下鍵盤あいはペダル鍵盤のいずれに所属す
るものであるかに応じて鍵盤信号UまたはLまた
はPを形成する。
In state S2, one of the block wires BL stored in state S1 is selected, and a signal "1" is applied to each key switch belonging to it via that one block wire BL. As a result, "1" is output from the note wiring NL (one or more) corresponding to the on key switch via the one or more keyswitches that are on among the keyswitches belonging to that single block wiring BL. be done. “1” in key coder 11
Memorizes the note wiring NL where appears. In state S2, an octave code OC is encoded corresponding to the single selected block wiring BL, and it is determined whether the block wiring BL belongs to the upper keyboard, lower keyboard, or pedal keyboard. A keyboard signal U or L or P is formed accordingly.

こうして、ステートS2においては、選択され
た単一のブロツク配線に所属するキースイツチの
うちオン・キースイツチの音名が検出される。ノ
ート配線NLのいずれか1つにでも“1”が現わ
れた場合は「AN=“1”?」(ANはエニイノート
の意味)という判断がYESであり、クロツクパ
ルスφAの発生タイミングに従つてステートS3に
移る。「AN=“1”?」がNOの場合は「AB=
“1”?」に戻る。
Thus, in state S2, the note name of the on key switch among the key switches belonging to the selected single block wiring is detected. If “1” appears in any one of the note wiring NL, the judgment “AN=“1”?” (AN means any note) is YES, and according to the generation timing of clock pulse φ A. Move to state S3. If “AN=“1”?” is NO, “AB=
“1”? Return to ``.

ステートS3においては、ステートS2において
記憶したノート配線NL(1乃至複数)の1つを
選択してその音名を示すノートコードNCをエン
コードする。そして、このノートコードNCは、
先のステートS2のときにエンコードしたオクタ
ーブコードOCと共にキーコードKCとしてキーコ
ーダ11から出力される。同時に、ステートS2
のときに形成された鍵盤信号U,L,またはPが
キーコーダ11から出力される。
In state S3, one of the note wirings NL (one or more) stored in state S2 is selected and a note code NC indicating the note name thereof is encoded. And this note code NC is
The key code KC is output from the key coder 11 together with the octave code OC encoded in the previous state S2. At the same time, state S2
The keyboard signal U, L, or P formed at this time is output from the key coder 11.

1組のキーコードKC及び鍵盤信号U,Lまた
はPはクロツクパルスφAの1周期の間発生さ
れ、次のクロツクパルスφAの発生タイミングで
「AN=“1”?」の判断に戻る。YESの場合はス
テートS3の処理を再び行ない、今度は前回とは
別のノート配線NLを選択する。このステートS3
の繰返しにより、ステートS2において記憶され
たノート配線NL(1乃至複数)が順次選択さ
れ、その音名を示すノートコードNCとオクター
ブコードOCとの組合せから成るキーコード(す
なわち押圧鍵を示すキーコード)KC及びそれに
対応する鍵盤信号U,LまたはPが順次出力され
る。
One set of key codes KC and keyboard signals U, L, or P are generated during one period of clock pulse φ A , and the process returns to the determination of ``AN="1"?'' at the timing of generation of the next clock pulse φ A. If YES, the process in state S3 is performed again, and this time a different note wiring NL from the previous one is selected. This state S3
By repeating this, the note wiring NL (one or more) stored in state S2 is sequentially selected, and a key code consisting of a combination of a note code NC indicating the note name and an octave code OC (i.e., a key code indicating the key to be pressed) is selected. ) KC and the corresponding keyboard signals U, L or P are sequentially output.

ステートS2において記憶されたノート配線NL
が上述のステートS3の繰返しによりすべて選択
され尽すと、「AN=“1”?」がNOとなり、「AB
=“1”?」に戻る。先のステートS2において選
択したブロツク配線BLとは別のブロツク配線が
先のステートS1において記憶されていたなら
ば、「AB=“1”?」はまだYESであり、ステー
トS2に移る。今回のステートS2では先に選択し
たものとは別のブロツク配線BLを選択する。そ
の後、「AN=“1”?」がNOとなるまでステート
S3を繰返し、今回選択したブロツク配線BLに所
属する押圧鍵のキーコードKCとその鍵盤信号
U,LまたはPを順次出力する。こうして、「AB
=“1”?」がNOとなるまでステートS2とS3の
処理を繰返す。鍵盤部10におけるすべての押圧
鍵のキーコードKC(及びその鍵盤信号U,L,
P)を一通り順次出力し終えると、「AB=
“1”?」はNOとなり、アルペジヨ処理信号
ARPを出力した後ステートS0に戻る。
Note wiring NL stored in state S2
are all selected by repeating the above state S3, “AN=“1”?” becomes NO, and “AB
= “1”? Return to ``. If a block wiring different from the block wiring BL selected in the previous state S2 was stored in the previous state S1, "AB="1"?" is still YES, and the process moves to state S2. In this state S2, a block wiring BL different from the one selected earlier is selected. After that, the state continues until “AN="1"? becomes NO.
Step S3 is repeated to sequentially output the key code KC of the pressed key belonging to the currently selected block wiring BL and its keyboard signal U, L or P. In this way, “AB
= “1”? '' is NO, repeat the processing in states S2 and S3. The key codes KC of all pressed keys in the keyboard section 10 (and their keyboard signals U, L,
After outputting P) in sequence, “AB=
“1”? ” becomes NO, and the arpeggio processing signal
After outputting ARP, return to state S0.

例えば、上鍵盤でC4の鍵が押圧され、下鍵盤
でG3とC4とE4の鍵が押圧され、ペダル鍵盤
でG2の鍵が押圧されているとすると、ステート
S0〜S3は第3図のように変還し、これに伴ない
キーコードKC及び鍵盤信号U,L,P及びアル
ペジヨ処理信号ARPが同図のように出力され
る。尚、上鍵盤,下鍵盤,ペダル鍵盤の順にかつ
高音順に走査するものとし、かつ、E4とC4は
同ブロツク、G3は別ブロツクであるとする。ス
テートS0から次のステートS0の直前までが押圧
鍵検出処理の1サイクルであり、そのサイクル時
間は押圧鍵の数に応じて変動する。
For example, if the C4 key is pressed on the upper keyboard, the G3, C4, and E4 keys are pressed on the lower keyboard, and the G2 key is pressed on the pedal keyboard, the state
S0 to S3 change as shown in FIG. 3, and accordingly, the key code KC, keyboard signals U, L, P, and arpeggio processing signal ARP are output as shown in the same figure. It is assumed that the upper keyboard, lower keyboard, and pedal keyboard are scanned in the order of high notes, and that E4 and C4 are in the same block, and G3 is in a different block. The period from state S0 to immediately before the next state S0 is one cycle of pressed key detection processing, and the cycle time varies depending on the number of pressed keys.

第1図において、トーンジエネレータ部13は
16個の楽音発生チヤンネルを具えている。その内
訳は、上鍵盤音専用として7チヤンネル、下鍵盤
音専用として7チヤンネル、ペダル鍵盤音専用と
して1チヤンネル、自動アルペジヨ音専用として
1チヤンネルである。チヤンネルプロセツサ12
は、キーコーダ11から与えられるキーコード
KCを、該キーコードKCと共に与えられる鍵盤信
号U,L,Pの内容に応じて上鍵盤音専用チヤン
ネルグループあるいは下鍵盤音専用チヤンネルグ
ループあるいはペダル鍵盤音専用チヤンネルのい
ずれか1つのチヤンネルに割当てる。また、キー
コーダ11からアルペジヨ処理信号ARPが出力
されているときは、アルペジヨ装置14から出力
されるアルペジヨ音を示すキーコードAKCを自
動アルペジヨ音専用チヤンネルに割当てる。
In FIG. 1, the tone generator section 13 is
It has 16 musical sound generation channels. These include 7 channels dedicated to upper keyboard sounds, 7 channels dedicated to lower keyboard sounds, 1 channel dedicated to pedal keyboard sounds, and 1 channel dedicated to automatic arpeggio sounds. Channel processor 12
is the key code given from the key coder 11
KC is assigned to any one of the upper keyboard sound dedicated channel group, the lower keyboard sound dedicated channel group, or the pedal keyboard sound dedicated channel according to the contents of the keyboard signals U, L, and P given together with the key code KC. Furthermore, when the arpeggio processing signal ARP is being output from the key coder 11, the key code AKC indicating the arpeggio sound output from the arpeggio device 14 is assigned to the automatic arpeggio sound dedicated channel.

この例においては、アルペジヨ装置14とし
て、特開昭54−39621号公報に示されたような公
知の装置を用いるものとしている。すなわち、ア
ルペジヨ装置14は、自動アルペジヨ音の順次発
音態様を示す4ビツトのデータから成るアルペジ
ヨパターンデータAP1〜AP4を発生するパターン
ジエネレータ16と、このパターンデータAP1〜
AP4に従つて下鍵盤押圧鍵に対応する音を順次発
音させる自動アルペジヨ回路17とを具えてい
る。自動アルペジヨ回路17は、チヤンネルプロ
セツサ12から出力される各チヤンネルに割当て
済みのキーコードKC*を受入れ、そのうち下鍵
盤音専用チヤンネルに割当てられているキーコー
ドKC*を選択する。そのために、下鍵盤音専用
チヤンネルに割当てられているキーコードKC*
がチヤンネルプロセツサ12から出力されるとき
に、該キーコードKC*に対応する鍵が押圧中で
ある場合は下鍵盤キーオン信号LKO(“1”)が
チヤンネルプロセツサ12から自動アルペジヨ回
路17に与えられる。そして、自動アルペジヨ回
路17では、下鍵盤キーオン信号LKOに同期し
て与えられたキーコードKC*のみを下鍵盤押圧
鍵のキーコードとして選択する。更に、自動アル
ペジヨ回路17では、上述のようにして選択した
下鍵盤押圧鍵のキーコードKC*のうち、アルペ
ジヨパターンデータAP1〜AP4によつて指示され
た順位の1つのキーコードを選択し、そのノート
コード部分(NC)に対して該パターンデータ
AP1〜AP4にもとづいて定まるオクターブコード
(OC)を付加して1つのアルペジヨ音キーコード
AKCを作成する。アルペジヨパターンデータ
AP1〜AP4は、アルペジヨ音として発音すべき音
の順位を示す4ビツトの2進データであり、アル
ペジヨ音を発音すべきタイミングにおいて発生さ
れる。例えば、下鍵盤押圧鍵(アルペジヨ演奏す
べき複数鍵)のうち最低音を1拍目のタイミング
で発音し、2番目に低い音を3拍目のタイミング
で発音し、3番目に低い音を4拍目のタイミング
で発音する場合は、アルペジヨパターンデータ
AP1〜AP4として1拍目のタイミングで“0001”
(10進の1)が発生し、3拍目のタイミングで
“0010”(10進の2)が発生し、4拍目のタイミン
グで“0011”(10進の3)が発生される。このア
ルペジヨパターンデータAP1〜AP4の発生タイミ
ング及びその値を任意に設定することにより、任
意のアルペジヨパターン(順次発音態様)を構成
することができる。パターンジエネレータ16で
は複数のアルペジヨパターンの選択的発生が可能
であり、そのうち1つのパターンが後述のように
して選択され、そのパターンを構成するパターン
データAP1〜AP4が所定のタイミングで出力され
る。自動アルペジヨ回路17において作成された
アルペジヨ音キーコードAKCは、キーコーダ1
1からアルペジヨ処理信号ARPが与えられたと
きに該回路17から出力される。そして、チヤン
ネルプロセツサ12において、このアルペジヨ音
キーコードAKCが自動アルペジヨ音専用チヤン
ネルに割当てられる。トーンジエネレータ部13
では、自動アルペジヨ音専用チヤンネルに割当て
られたキーコードKC*(AKC)に対応する音高
の楽音信号をアルペジヨ演奏のために設定されて
いる適宜の音色で発生する。
In this example, the arpeggio device 14 is a known device as disclosed in Japanese Patent Laid-Open No. 54-39621. That is, the arpeggio device 14 includes a pattern generator 16 that generates arpeggio pattern data AP1 to AP4 consisting of 4-bit data indicating the manner in which automatic arpeggio sounds are sequentially produced, and a pattern generator 16 that generates arpeggio pattern data AP1 to AP4.
The keyboard includes an automatic arpeggio circuit 17 that sequentially generates tones corresponding to the keys pressed on the lower keyboard in accordance with AP4. The automatic arpeggio circuit 17 receives the key codes KC* already assigned to each channel output from the channel processor 12, and selects the key code KC* assigned to the channel dedicated to the lower keyboard sound. For this purpose, the key code KC* assigned to the channel dedicated to the lower keyboard sound.
is output from the channel processor 12, and if the key corresponding to the key code KC* is being pressed, a lower keyboard key-on signal LKO (“1”) is given from the channel processor 12 to the automatic arpeggio circuit 17. It will be done. Then, the automatic arpeggio circuit 17 selects only the key code KC* given in synchronization with the lower keyboard key-on signal LKO as the key code of the pressed key of the lower keyboard. Furthermore, the automatic arpeggio circuit 17 selects one key code of the order specified by the arpeggio pattern data AP1 to AP4 from among the key codes KC* of the pressed keys of the lower keyboard selected as described above, The pattern data for that note code part (NC)
An octave chord (OC) determined based on AP1 to AP4 is added to create one arpeggio key chord.
Create AKC. Arpeggio pattern data
AP1 to AP4 are 4-bit binary data indicating the order of notes to be produced as an arpeggio sound, and are generated at the timing when an arpeggio sound is to be produced. For example, among the keys pressed on the lower keyboard (multiple keys to play an arpeggio), the lowest note is played at the first beat, the second lowest note is played at the third beat, and the third lowest note is played at the 4th beat. If you want to sound at the beat timing, use the arpeggio pattern data.
“0001” at the first beat timing as AP1 to AP4
(decimal 1) is generated, “0010” (decimal 2) is generated at the third beat, and “0011” (decimal 3) is generated at the fourth beat. By arbitrarily setting the generation timing and value of the arpeggio pattern data AP1 to AP4, an arbitrary arpeggio pattern (sequential sounding mode) can be constructed. The pattern generator 16 can selectively generate a plurality of arpeggio patterns, one of which is selected as described below, and pattern data AP1 to AP4 constituting that pattern are output at a predetermined timing. . The arpeggio sound key code AKC created in automatic arpeggio circuit 17 is key coder 1.
It is output from the circuit 17 when the arpeggio processing signal ARP from 1 to 1 is applied. Then, in the channel processor 12, this arpeggio sound key code AKC is assigned to a channel dedicated to automatic arpeggio sounds. Tone generator section 13
Now, a musical tone signal with a pitch corresponding to the key code KC* (AKC) assigned to the automatic arpeggio sound channel is generated with an appropriate tone set for arpeggio performance.

押鍵順序判別回路15は、アルペジヨ演奏のた
めに押圧された鍵の押鍵順序を判別するために、
キーコードKC及び下鍵盤信号L及びステートS0
を示す信号ST0をキーコーダ11から受入れる。
第4図に詳細を示す押鍵順序判別回路15におい
て、キーコーダ11から与えられたキーコード
KCはゲート18に入力され、下鍵盤信号Lは該
ゲート18の制御入力(EN)に与えられる。こ
のゲート18において、下鍵盤信号Lが“1”の
ときのキーコードKCすなわち下鍵盤押圧鍵のキ
ーコードLKKCが選択される。この下鍵盤押圧鍵
のキーコードLKKCにもとづいて、順序検出回路
19では下鍵盤における押圧鍵の押鍵順序を検出
する。方向判別回路20では順序検出回路19で
検出した順序にもとづいて押鍵方向を判別し、こ
の押鍵方向に対応して順次発音態様としてアツプ
モード(UP)あるいはダウンモード(DOWN)
あるいはターンモード(TURN)を指示する。
The key pressing order determining circuit 15 determines the pressing order of the keys pressed for an arpeggio performance.
Key code KC, lower keyboard signal L and state S0
A signal ST0 indicating this is received from the key coder 11.
In the key press order determination circuit 15 whose details are shown in FIG. 4, the key code given from the key coder 11 is
KC is input to the gate 18, and the lower keyboard signal L is applied to the control input (EN) of the gate 18. At this gate 18, the key code KC when the lower keyboard signal L is "1", that is, the key code LKKC of the pressed key of the lower keyboard, is selected. Based on the key code LKKC of the pressed keys on the lower keyboard, the order detection circuit 19 detects the order of the pressed keys on the lower keyboard. The direction determining circuit 20 determines the key pressing direction based on the order detected by the order detecting circuit 19, and sequentially selects up mode (UP) or down mode (DOWN) as the sound generation mode corresponding to the key pressing direction.
Or instruct turn mode (TURN).

ここでいう押鍵順序とは鍵の押し始めの順序で
ある。そこで、鍵の押し始め以前の状態、すなわ
ち下鍵盤で鍵が何も押圧されていない状態を検出
するために、下鍵盤オールキーオフ検出回路21
が設けられている。キーコーダ11(第1図)に
おけるステートS0を示す信号ST0はこの下鍵盤オ
ールキーオフ検出回路21の微分回路22に入力
される。微分回路22では、キー走査クロツクパ
ルスφAよりも高速のシステムクロツクパルスφ
に従つて信号ST0の立上りが微分され、該パルス
φの1周期と同じ時間幅(これを1ビツトタイム
という)の短パルスST0′が信号ST0の立上り時
に対応して該回路22から出力される。この微分
回路22の出力(ST0′)は遅延フリツプフロツ
プ23で1ビツトタイム遅延された後、フリツプ
フロツプ24のリセツト入力(R)に加えられ
る。フリツプフロツプ24のセツト入力(S)に
は、オア回路25から下鍵盤エニイキーオン信号
LKAKOが入力される。オア回路25にはゲート
18の出力(LKKC)が入力される。該ゲート1
8で何らかの下鍵盤押圧鍵を示すキーコード
LKKCが選択された場合、該オア回路25の出力
(LKAKO)が“1”となる。すなわち、何らか
の下鍵盤押圧鍵が検出されたとき下鍵盤エニイキ
ーオン信号LKAKOが“1”となる。この信号
LKAKOはフリツプフロツプ26のセツト入力
(S)にも加わる。フリツプフロツプ26のリセ
ツト入力(R)にはアンド回路27の出力が加え
られる。アンド回路27には微分回路22の出力
(ST0′)及びフリツプフロツプ24の反転出力
が加えられる。
The key pressing order here refers to the order in which the keys are first pressed. Therefore, in order to detect the state before the start of pressing a key, that is, the state in which no keys are pressed on the lower keyboard, the lower keyboard all key-off detection circuit 21
is provided. A signal ST0 indicating state S0 in the key coder 11 (FIG. 1) is input to the differentiation circuit 22 of the lower keyboard all key-off detection circuit 21. The differentiating circuit 22 uses a system clock pulse φ that is faster than the key scanning clock pulse φ A.
The rising edge of the signal ST0 is differentiated according to this, and a short pulse ST0' having the same time width as one period of the pulse φ (this is called one bit time) is outputted from the circuit 22 in response to the rising edge of the signal ST0. The output (ST0') of the differentiating circuit 22 is delayed by one bit time in the delay flip-flop 23 and then applied to the reset input (R) of the flip-flop 24. The set input (S) of the flip-flop 24 receives the lower keyboard any key on signal from the OR circuit 25.
LKAKO is entered. The output (LKKC) of the gate 18 is input to the OR circuit 25. The gate 1
Key code where 8 indicates a key to be pressed on the lower keyboard
When LKKC is selected, the output (LKAKO) of the OR circuit 25 becomes "1". That is, when any pressed key on the lower keyboard is detected, the lower keyboard any key-on signal LKAKO becomes "1". this signal
LKAKO is also applied to the set input (S) of flip-flop 26. The output of the AND circuit 27 is applied to the reset input (R) of the flip-flop 26. The output (ST0') of the differentiating circuit 22 and the inverted output of the flip-flop 24 are applied to the AND circuit 27.

下鍵盤で何らかの鍵が押圧されている場合は、
キーコーダ11(第1図)における押圧鍵検出処
理1サイクルの間(ステートS0から次のステー
トS0までの間)に少くとも1度は下鍵盤エニイ
キーオン信号LKAKOが“1”となり、これによ
りフリツプフロツプ24及び26がセツトされ
る。従つて、ステートS0を示す信号ST0の立上り
時に1ビツトタイム幅のパルスST0′が出力され
るとき、フリツプフロツプ24の反転出力は
“0”であり、アンド回路27の条件は成立しな
い。その1ビツトタイム後に遅延フリツプフロツ
プ23の出力によりフリツプフロツプ24がリセ
ツトされることによりその反転出力が“1”と
なるが、そのときは微分回路22の出力パルス
ST0′が消滅するのでアンド回路27の条件は成
立しない。従つて、フリツプフロツプ26はリセ
ツトされることなく、常にセツト状態に置かれ
る。このフリツプフロツプ26の反転出力が下
鍵盤オールキーオフ信号LKOFFとして利用され
る。セツト状態の場合、反転出力は“0”であ
り、従つて信号LKOFFは“0”である。これは
下鍵盤で何らかの鍵が押圧されていることを示し
ている。
If any key is pressed on the lower keyboard,
During one cycle of pressed key detection processing in the key coder 11 (FIG. 1) (from state S0 to the next state S0), the lower keyboard any key-on signal LKAKO becomes "1" at least once, and as a result, the flip-flop 24 and 26 is set. Therefore, when a pulse ST0' with a 1-bit time width is output at the rise of the signal ST0 indicating the state S0, the inverted output of the flip-flop 24 is "0", and the condition of the AND circuit 27 is not satisfied. After one bit time, the flip-flop 24 is reset by the output of the delay flip-flop 23, and its inverted output becomes "1", but at that time, the output pulse of the differentiating circuit 22
Since ST0' disappears, the condition of the AND circuit 27 does not hold. Therefore, flip-flop 26 is always kept in the set state without being reset. The inverted output of the flip-flop 26 is used as the lower keyboard all key-off signal LKOFF. In the set state, the inverted output is "0" and therefore the signal LKOFF is "0". This indicates that some key is being pressed on the lower keyboard.

下鍵盤で何も鍵が押圧されていない場合は、キ
ーコーダ11(第1図)における押圧鍵検出処理
1サイクルの間において下鍵盤エニイキーオン信
号LKAKOは1度も発生されない。下鍵盤ですべ
ての鍵が離された直後のパルスSTO′のタイミン
グにおいてはフリツプフロツプ24はまだセツト
状態となつており、アンド回路27の条件は成立
しない。その1ビツトタイム後にフリツプフロツ
プ24がリセツトされる。押圧鍵検出処理1サイ
クルの間に下鍵盤エニイキーオン信号LKAKOが
1度も発生されないことにより、フリツプフロツ
プ24がリセツト状態のまま次のステートS0を
むかえる。今度は、パルスST0′のタイミングに
おいてフリツプフロツプ24はリセツト状態とな
つているため、アンド回路27の条件が成立し、
該アンド回路27の出力“1”によりフリツプフ
ロツプ26がリセツトされる。これにより、下鍵
盤オールキーオフ信号LKOFFが“1”に立上
る。これは、下鍵盤で何も鍵が押圧されていない
ことを示す。
If no key is pressed on the lower keyboard, the lower keyboard any-key-on signal LKAKO is not generated even once during one cycle of pressed key detection processing in the key coder 11 (FIG. 1). At the timing of the pulse STO' immediately after all the keys on the lower keyboard are released, the flip-flop 24 is still in the set state, and the condition of the AND circuit 27 does not hold. After one bit time, flip-flop 24 is reset. Since the lower keyboard any key-on signal LKAKO is not generated even once during one cycle of the pressed key detection process, the flip-flop 24 remains in the reset state until the next state S0 is reached. This time, since the flip-flop 24 is in the reset state at the timing of the pulse ST0', the condition of the AND circuit 27 is satisfied,
The flip-flop 26 is reset by the output "1" of the AND circuit 27. As a result, the lower keyboard all key-off signal LKOFF rises to "1". This indicates that no key is pressed on the lower keyboard.

下鍵盤オールキーオフ信号LKOFFは、順序検
出回路19内のラツチ回路28及び29のリセツ
ト入力R並びに方向判別回路20内の押鍵数カウ
ンタ30及び待ち時間設定用カウンタ31及びラ
ツチ回路32のリセツト入力Rに夫々加えられ
る。ラツチ回路28及び29はゲート18を介し
て与えられる下鍵盤押圧鍵のキーコードLKKCを
押鍵順序に従つて順送りに記憶するための回路で
ある。押鍵数カウンタ30は、下鍵盤押圧鍵の数
を早く押圧されたものから順にカウントするため
のものである。待ち時間設定用カウンタ31は、
同時押鍵とみなす短かい時間(待ち時間)を計時
するためのものである。ラツチ回路32は、押鍵
順序判別の結果得られるアツプモード信号UPあ
るいはダウンモード信号DOWNあるいはターン
モード信号TURNをラツチするための回路であ
る。
The lower keyboard all key-off signal LKOFF is the reset input R of the latch circuits 28 and 29 in the order detection circuit 19, and the reset input R of the key press number counter 30, wait time setting counter 31, and latch circuit 32 in the direction determination circuit 20. are added to each. The latch circuits 28 and 29 are circuits for sequentially storing the key codes LKKC of the pressed keys of the lower keyboard applied via the gate 18 in accordance with the key pressing order. The pressed key number counter 30 is for counting the number of pressed keys on the lower keyboard in order from the keys pressed first. The waiting time setting counter 31 is
This is to measure the short time (wait time) that is considered to be simultaneous key presses. The latch circuit 32 is a circuit for latching an up mode signal UP, a down mode signal DOWN, or a turn mode signal TURN obtained as a result of determining the key depression order.

下鍵盤で何も鍵が押圧されていないときは信号
LKOFFによつて上記ラツチ回路28,29,3
2、カウンタ30,31がすべてリセツトされて
いる。下鍵盤で最初の鍵が押圧されたとき、その
押圧鍵に対応するキーコードKCがキーコーダ1
1(第1図)から出力され、かつそのキーコード
KCがゲート18において下鍵盤押圧鍵キーコー
ドLKKCとして選択出力される。これによりオア
回路25から出力される下鍵盤エニイキーオン信
号LKAKOが“1”となり、フリツプフロツプ2
6がセツトされ、下鍵盤オールキーオフ信号
LKOFFが“0”に立下る。従つて、下鍵盤の押
鍵状態が、何も鍵が押圧されていない状態から何
らかの鍵が押圧されている状態に変化したときす
なわち最初の鍵が押圧されたとき、各ラツチ回路
28,29,32、及びカウンタ30,31のリ
セツトが解除され、それらが動作可能となる。
A signal when no key is pressed on the lower keyboard.
By LKOFF, the above latch circuits 28, 29, 3
2. All counters 30 and 31 have been reset. When the first key is pressed on the lower keyboard, the key code KC corresponding to that pressed key is key coder 1.
1 (Figure 1) and its key code
KC is selectively outputted at the gate 18 as the lower keyboard pressed key code LKKC. As a result, the lower keyboard any key-on signal LKAKO output from the OR circuit 25 becomes "1", and the flip-flop 2
6 is set and the lower keyboard all key off signal is set.
LKOFF falls to “0”. Therefore, when the key depression state of the lower keyboard changes from a state where no key is pressed to a state where some key is pressed, that is, when the first key is pressed, each latch circuit 28, 29, 32 and the counters 30 and 31 are released from reset and become operational.

ゲート18から出力された下鍵盤押圧鍵のキー
コードLKKCはラツチ回路28に入力されると共
に比較器33及び34の一方入力Aに入力され
る。比較器33及び34の他の入力Bにはラツチ
回路28及び29の出力が夫々加えられる。比較
器33及び34は2つの入力A,Bのデータが不
一致のとき出力1,2として“1”を出力
し、一致のとき“0”を出力する。最初のキーコ
ードLKKCが現われたとき、その直前までのリセ
ツトによつて両ラツチ回路28及び29の出力は
0であり、両比較器33及び34の出力1及び
2は共に“1”となる。この出力1,2は
アンド回路35に入力される。アンド回路35の
他の入力にはオア回路25から下鍵盤エニイキー
オン信号LKAKOが入力される。従つて、ゲート
18から最初のキーコードLKKCが出力されたと
きアンド回路35の条件が成立し、該アンド回路
35から“1”が出力される。微分回路36はア
ンド回路35の出力が“1”に立上つたとき、1
ビツトタイム幅のパルスLS1を出力する。このパ
ルスLS1はラツチ回路28及び29のロード制御
入力LDに加えられると共に、アンド回路37を
介して押鍵数カウンタ30のカウント入力Tに与
えられる。ラツチ回路29はパルスLS1の立上り
のタイミングでラツチ回路28の出力データを取
り込み、ラツチ回路28はパルスLS1の立下りの
タイミングでゲート18の出力キーコードLKKC
を取り込むものとする。
The key code LKKC of the pressed key of the lower keyboard outputted from the gate 18 is inputted to the latch circuit 28 and also inputted to one input A of the comparators 33 and 34. The outputs of latch circuits 28 and 29 are applied to other inputs B of comparators 33 and 34, respectively. Comparators 33 and 34 output "1" as outputs 1 and 2 when the data of the two inputs A and B do not match, and output "0" when they match. When the first key code LKKC appears, the outputs of both latch circuits 28 and 29 are 0 due to the reset just before, and the outputs 1 and 2 of both comparators 33 and 34 are 0.
Both 2 become "1". These outputs 1 and 2 are input to an AND circuit 35. The lower keyboard any key-on signal LKAKO is input from the OR circuit 25 to the other input of the AND circuit 35. Therefore, when the first key code LKKC is output from the gate 18, the condition of the AND circuit 35 is satisfied, and the AND circuit 35 outputs "1". The differentiating circuit 36 becomes 1 when the output of the AND circuit 35 rises to "1".
Outputs pulse LS1 with bit time width. This pulse LS1 is applied to the load control inputs LD of the latch circuits 28 and 29, and is also applied to the count input T of the key press number counter 30 via the AND circuit 37. The latch circuit 29 receives the output data of the latch circuit 28 at the rising timing of the pulse LS1, and the latch circuit 28 receives the output key code LKKC of the gate 18 at the falling timing of the pulse LS1.
shall be incorporated.

押鍵数カウンタ30は2ビツトのバイナリカウ
ンタであり、1ビツト目の反転出力1と2ビツ
ト目の出力Q2とがアンド回路38に入力され
る。アンド回路38は、カウンタ30のカウント
値Q2,Q1が“10”(10進数の2)のとき“1”
を出力し、それ以外のときは“0”を出力する。
アンド回路38の出力がインバータ39で反転さ
れてアンド回路37の他の入力に加わる。最初の
キーコードLKKCに対応するパルスLS1が微分回
路36から出力されるとき、カウンタ30のカウ
ント値は0であり、アンド回路38の出力が
“0”、インバータ39の出力が“1”であること
によりアンド回路37が動作可能となつており、
該パルスLS1に応答してカウンタ30が1カウン
トアツプされる。
The pressed key counter 30 is a 2-bit binary counter, and the inverted output 1 of the 1st bit and the output Q2 of the 2nd bit are input to the AND circuit 38. The AND circuit 38 is “1” when the count values Q2 and Q1 of the counter 30 are “10” (2 in decimal).
is output, and “0” is output otherwise.
The output of the AND circuit 38 is inverted by an inverter 39 and applied to the other input of the AND circuit 37. When the pulse LS1 corresponding to the first key code LKKC is output from the differentiating circuit 36, the count value of the counter 30 is 0, the output of the AND circuit 38 is "0", and the output of the inverter 39 is "1". This enables the AND circuit 37 to operate.
In response to the pulse LS1, the counter 30 is incremented by one.

第5図aに示すように下鍵盤で鍵C2,E2,
G2の順で押し始め時点をずらして3鍵が押圧さ
れたとする。この場合における第4図の回路の動
作例を第5図bに示す。最初のキーコードLKKC
が現われたときの第4図の回路の動作は上述した
通りであるが、これは第5図bでは時点t1付近
に示されている。第5図bの時点t1において、
下鍵盤押圧鍵キーコードLKKCとして鍵C2を示
すキーコードが初めてゲート18から出力された
とすると、前述の通り下鍵盤オールキーオフ信号
LKOFFが直ちに“0”に立下る。そして、前述
の通り、鍵C2のキーコードLKKCの立上りに対
応してアンド回路35から“1”が出力され、こ
れに対応して微分回路36からパルスLS1が出力
される。パルスLS1の立上りに応答してラツチ回
路29にはラツチ回路28の出力(この場合は
0)が取り込まれる。その直後に、パルスLS1の
立下りに応答して下鍵盤押圧鍵C2のキーコード
LKKCがラツチ回路28に取込まれる。また、パ
ルスLS1によつて押鍵数カウンタ30が1カウン
トアツプされ、そのカウント内容は10進数の
「1」となる。以下、第5図aのように鍵が押圧
されたと仮定して第4図の回路の説明を続ける。
As shown in Figure 5a, keys C2, E2,
Assume that three keys are pressed in the order of G2 and shifted at different times. An example of the operation of the circuit of FIG. 4 in this case is shown in FIG. 5b. First key code LKKC
The operation of the circuit of FIG. 4 is as described above when . At time t1 in FIG. 5b,
If the key code indicating key C2 is output from the gate 18 for the first time as the lower keyboard pressed key key code LKKC, then the lower keyboard all keys off signal is generated as described above.
LKOFF immediately falls to “0”. Then, as described above, "1" is outputted from the AND circuit 35 in response to the rising edge of the key code LKKC of the key C2, and in response thereto, the pulse LS1 is outputted from the differentiating circuit 36. In response to the rise of pulse LS1, the output of latch circuit 28 (0 in this case) is taken into latch circuit 29. Immediately after that, in response to the falling edge of pulse LS1, the key code of the lower keyboard pressed key C2 is
LKKC is taken into the latch circuit 28. Further, the key press number counter 30 is incremented by 1 by the pulse LS1, and the content of the count becomes "1" in decimal notation. Hereinafter, the explanation of the circuit shown in FIG. 4 will be continued assuming that the key is pressed as shown in FIG. 5a.

鍵押圧が持続されている場合は、キーコーダ1
1(第1図)から該押圧鍵のキーコードKCが押
圧鍵検出処理サイクル毎に繰返し出力される。従
つて、上述の1番目の押圧鍵C2のキーコード
KCもキーコーダ11から繰返し出力され、下鍵
盤押圧鍵キーコードLKKCとして鍵C2のキーコ
ードが繰返し現われる。しかし、第4図の順序検
出回路19及び方向判別回路20は、該押圧鍵C
2のキーコードLKKCが最初に(第5図bの時点
t1において)現われたときだけ上述のように応
答するが、2回目以降は応答しない。何故なら
ば、第5図bの時点t2に示すように2回目以降
に押圧鍵C2のキーコードLKKCが現われるとき
は、すでにラツチ回路28に該押圧鍵C2のキー
コードがラツチされている。従つて、比較器33
の両入力A,Bが一致し、その不一致出力1が
“0”となり、アンド回路35の条件が成立しな
い。従つて、ラツチ回路28及び29並びにカウ
ンタ30の状態は変化しない。
If the key press is sustained, key coder 1
1 (FIG. 1), the key code KC of the pressed key is repeatedly output for each pressed key detection processing cycle. Therefore, the key code of the above-mentioned first pressed key C2
KC is also repeatedly output from the key coder 11, and the key code of key C2 appears repeatedly as the lower keyboard pressed key key code LKKC. However, the order detection circuit 19 and direction determination circuit 20 in FIG.
It responds as described above only when the key code LKKC of No. 2 appears for the first time (at time t1 in FIG. 5b), but does not respond from the second time onwards. This is because, as shown at time t2 in FIG. 5B, when the key code LKKC of the pressed key C2 appears for the second time or later, the key code of the pressed key C2 has already been latched in the latch circuit 28. Therefore, comparator 33
Both inputs A and B match, and the mismatch output 1 becomes "0", so the condition of the AND circuit 35 is not satisfied. Therefore, the states of latch circuits 28 and 29 and counter 30 do not change.

2番目に押圧された鍵E2のキーコードLKKC
が第5図bの時点t3において最初に現われたと
き、ラツチ回路28からは1番目の押圧鍵C2の
キーコードが出力されており、ラツチ回路29か
らは0が出力されている。従つて比較器33及び
34の出力EQ1及びEQ2は共に“1”となり、ア
ンド回路35の条件が成立する。アンド回路35
の出力“1”にもとづき微分回路36からパルス
LS1が出力される。このパルスLS1にもとづいて
ラツチ回路29にはラツチ回路28から出力され
ている1番目の押圧鍵C2のキーコードが取り込
まれ、ラツチ回路28にはゲート18から出力さ
れている2番目の押圧鍵E2のキーコードが取り
込まれる。また、押鍵数カウンタ30が更に1カ
ウントアツプされ、そのカウント値が10進数の
「2」となる。
Key code LKKC of the second pressed key E2
When first appears at time t3 in FIG. 5B, the latch circuit 28 outputs the key code of the first pressed key C2, and the latch circuit 29 outputs 0. Therefore, the outputs EQ1 and EQ2 of the comparators 33 and 34 are both "1", and the condition of the AND circuit 35 is satisfied. AND circuit 35
A pulse is generated from the differentiating circuit 36 based on the output “1” of
LS1 is output. Based on this pulse LS1, the latch circuit 29 receives the key code of the first pressed key C2 outputted from the latch circuit 28, and the latch circuit 28 receives the key code of the second pressed key E2 outputted from the gate 18. The key code will be imported. Further, the key press number counter 30 is further counted up by one, and the count value becomes "2" in decimal notation.

方向判別回路20において、比較器40は、低
音から高音に向つて鍵が順に押圧されたか、ある
いは高音から低音に向つて鍵が順に押圧されたか
を判断するために使用される。この比較器40の
A入力にはラツチ回路28の出力が加えられ、B
入力にはラツチ回路29の出力が加えられる。比
較器40はA入力とB入力に加わるデータ(キー
コード)の大小を比較し、A>Bのときアンド回
路41に対して“1”を出力し、A<Bのときア
ンド回路42に対して“1”を出力する。1番目
の押圧鍵(第5図の例ではC2)のキーコードが
ラツチ回路29にラツチされ、2番目の押圧鍵
(第5図の例ではE2)のキーコードがラツチ回
路28にラツチされているとき、両キーコードの
大小(すなわち両押圧鍵の音高の高低)に応じ
て、A>BまたはA<Bのどちらか一方の条件が
比較器40で成立する。この実施例では、第1図
のキーコーダ11において高音側のキーコード
KCほど大きな値にエンコードされるものとす
る。従つて、2番目に押圧された鍵が1番目に押
圧された鍵よりも高い場合は比較器40において
「A>B」が成立し、低い場合は「A<B」が成
立する。
In the direction determining circuit 20, the comparator 40 is used to determine whether the keys are pressed in order from low tones to high tones or from high to low tones. The output of the latch circuit 28 is added to the A input of this comparator 40, and the B
The output of the latch circuit 29 is applied to the input. The comparator 40 compares the magnitude of the data (key code) applied to the A input and the B input, and outputs "1" to the AND circuit 41 when A>B, and outputs "1" to the AND circuit 42 when A<B. outputs “1”. The key code of the first pressed key (C2 in the example of FIG. 5) is latched in the latch circuit 29, and the key code of the second pressed key (E2 in the example of FIG. 5) is latched in the latch circuit 28. At this time, the comparator 40 satisfies either A>B or A<B depending on the magnitude of both key codes (that is, the pitches of both pressed keys). In this embodiment, in the key coder 11 shown in FIG.
It is assumed that the KC is encoded into a larger value. Therefore, when the second pressed key is higher than the first pressed key, "A>B" is established in the comparator 40, and when it is lower than the first pressed key, "A<B" is established.

アンド回路41及び42の他の入力にはナンド
回路44の出力をインバータ43で反転したもの
が与えられる。ナンド回路44には待ち時間設定
用カウンタ31のnビツトの出力Q1〜Qnがすべ
て入力される。カウンタ31のカウント入力Tに
はアンド回路45を介してクロツクパルスφが入
力される。1番目の鍵が押圧されたときに前述の
ように下鍵盤オールキーオフ信号LKOFFが
“0”に立下ることにより該カウンタ31のリセ
ツトが解除され、そのときからクロツクパルスφ
のカウントを開始する。カウンタ31の全ビツト
Q1〜Qnが“1”となると、ナンド回路44の出
力が“0”となり、アンド回路45が動作不能と
なつて該カウンタ31のカウントが停止する。従
つて、1番目の鍵が押圧されたときからカウンタ
31の全ビツトQ1〜Qnが“1”となる直前まで
の間(クロツクパルスφの周期と2n―1の積に
相当する時間)ナンド回路44の出力は“1”で
あり、それ以後は“0”となる。1番目の鍵が押
圧されたときからナンド回路44の出力が“0”
に立下る直前までの時間を「待ち時間」といい、
この待ち時間中に2番目の鍵が押圧された場合は
1番目と2番目の鍵が同時に押圧されたと見なさ
れる。従つて、この待ち時間は、人間によつてほ
ぼ同時と知覚される程度の時間(例えば数
10ms)に設定する。
The output of the NAND circuit 44 inverted by an inverter 43 is applied to other inputs of the AND circuits 41 and 42. All n-bit outputs Q1 to Qn of the wait time setting counter 31 are input to the NAND circuit 44. A clock pulse φ is input to the count input T of the counter 31 via an AND circuit 45. When the first key is pressed, the lower keyboard all-key-off signal LKOFF falls to "0" as described above, thereby canceling the reset of the counter 31, and from that point on, the clock pulse φ
Start counting. All bits of counter 31
When Q1 to Qn become "1", the output of the NAND circuit 44 becomes "0", the AND circuit 45 becomes inoperable, and the counter 31 stops counting. Therefore, the NAND circuit operates from the time when the first key is pressed until just before all bits Q1 to Qn of the counter 31 become "1" (a time corresponding to the product of the period of the clock pulse φ and 2 n -1). The output of 44 is "1" and thereafter becomes "0". From the moment the first key is pressed, the output of the NAND circuit 44 is “0”
The time just before falling is called the "waiting time".
If the second key is pressed during this waiting time, it is assumed that the first and second keys are pressed at the same time. Therefore, this waiting time is a time that is perceived as almost simultaneous by humans (for example, several times).
10ms).

アンド回路41及び42の出力及びナンド回路
44の出力はラツチ回路32に入力される。押鍵
数カウンタ30のカウント値が10進数の「2」に
なつたときアンド回路38の条件が成立し、該ア
ンド回路38から微分回路46に“1”が加えら
れる。微分回路46は、アンド回路38の出力が
“1”に立上つたときすなわち押鍵数カウンタ3
0のカウント値が10進数の「2」に変わつた瞬間
に1ビツトタイム幅のパルスを出力する。このパ
ルスは遅延回路47で数ビツトタイム遅延された
後、ラツチ回路32のロード制御入力LDに供給
される。従つて、2番目の押圧鍵のキーコード
LKKCがゲート18から初めて出力されたときか
ら数ビツトタイム後に遅延回路47からラツチ回
路32にロードパルスLS2が与えられる。第5図
bの例では時点t3において押鍵数カウンタ30
のカウント値が「2」に立上つたときから数ビツ
トタイム後にロードパルスLS2が発生することが
示されている。ロードパルスLS2の発生タイミン
グを遅延回路47によつて数ビツトタイム遅らせ
た理由は、ラツチ回路28及び29におけるデー
タの書換え動作が確実に完了するのを待ち、比較
器40における1番目と2番目の押圧鍵の正確な
比較結果をラツチ回路32にラツチするためであ
る。
The outputs of AND circuits 41 and 42 and the output of NAND circuit 44 are input to latch circuit 32. When the count value of the key press number counter 30 reaches "2" in decimal notation, the condition of the AND circuit 38 is satisfied, and "1" is added from the AND circuit 38 to the differentiation circuit 46. The differentiating circuit 46 operates when the output of the AND circuit 38 rises to "1", that is, when the key press number counter 3
At the moment the count value of 0 changes to decimal number "2", a pulse with a width of 1 bit time is output. This pulse is delayed by several bit times in the delay circuit 47 and then supplied to the load control input LD of the latch circuit 32. Therefore, the key code of the second pressed key
Several bit times after LKKC is first output from gate 18, load pulse LS2 is applied from delay circuit 47 to latch circuit 32. In the example of FIG. 5b, at time t3, the key press number counter 30
It is shown that the load pulse LS2 is generated several bit times after the count value rises to "2". The reason for delaying the generation timing of the load pulse LS2 by several bit times by the delay circuit 47 is to wait for the data rewriting operation in the latch circuits 28 and 29 to be surely completed, and This is to latch the accurate comparison result of the keys in the latch circuit 32.

ラツチ回路32は3ビツトのラツチ位置を有
し、アンド回路41の出力をラツチしたデータは
アツプモード信号UPとして、またアンド回路4
2の出力をラツチしたデータはダウンモード信号
DOWNとして、またナンド回路44の出力をラ
ツチしたデータはターンモード信号TURNとし
て、アルペジヨ装置14に夫々送出される。
The latch circuit 32 has a 3-bit latch position, and the data latched at the output of the AND circuit 41 is used as the up mode signal UP, and
The data latched from the output of 2 is the down mode signal.
DOWN and data obtained by latching the output of the NAND circuit 44 are respectively sent to the arpeggio device 14 as a turn mode signal TURN.

第5図bの例では、3番目の押圧鍵E2が押圧
される以前に待ち時間設定用カウンタ31による
待ち時間計数が終了し、時点t3においてナンド
回路44の出力は“0”となつている(第5図b
のナンド44の欄参照)。ラツチ回路32にロー
ドパルスLS2が与えられるとき、ラツチ回路28
には2番目の押圧鍵E2のキーコードがラツチさ
れており、ラツチ回路29には1番目の押圧鍵C
2のキーコードがラツチされているので、比較器
40ではA>Bが成立している。従つて、ロード
パルスLS2のタイミングでアンド回路41の出力
信号“1”、アンド回路42の出力信号“0”、ナ
ンド回路44の出力信号“0”がラツチ回路32
に夫々取り込まれる。これにより、ラツ回路32
から出力されるアツプモード信号UPが“1”、ダ
ウンモード信号DOWNが“0”、ターンモード信
号TURNが“0”、となり、アルペジヨ装置14
内のパターンジエネレータ16に対してアツプモ
ードUPを指示する。押鍵数カウンタ30のカウ
ント値が10進数の「2」になると、アンド回路3
8の出力が“1”、インバータ39の出力が
“0”となることによりアンド回路37が動作不
能となり、該カウンタ30はカウント値を「2」
に保持したままカウント動作を停止する。従つ
て、それ以後は微分回路36からパルスLS1が如
何に発生されようとも、あるいはラツチ回路28
及び29のラツチ内容が如何に変わろうとも、ロ
ードパルスLS2は発生されず、ラツチ回路32の
内容UP,DOWN,TURNは変化しない。こうし
て、1番目と2番目の押圧鍵にもとづいて1つの
順次発音態様(UP,DOWN,TURNのいずれ
か)が一旦定まると、以後は鍵がすべて離される
まで(下鍵盤オールキーオフ信号LKOFFによつ
てラツチ回路32等がリセツトされるまで)その
態様を保持する。
In the example of FIG. 5b, the waiting time counting by the waiting time setting counter 31 ends before the third press key E2 is pressed, and the output of the NAND circuit 44 becomes "0" at time t3. (Figure 5b
(See Nando 44 column). When the load pulse LS2 is applied to the latch circuit 32, the latch circuit 28
The key code of the second pressed key E2 is latched, and the latch circuit 29 has the key code of the first pressed key C
Since the key code No. 2 is latched, A>B holds true in the comparator 40. Therefore, at the timing of the load pulse LS2, the output signal "1" of the AND circuit 41, the output signal "0" of the AND circuit 42, and the output signal "0" of the NAND circuit 44 are output to the latch circuit 32.
are incorporated into each. As a result, the rat circuit 32
The up mode signal UP output from the UP becomes "1", the down mode signal DOWN becomes "0", and the turn mode signal TURN becomes "0", and the arpeggio device 14
UP mode is instructed to the pattern generator 16 inside. When the count value of the key press number counter 30 reaches "2" in decimal notation, the AND circuit 3
Since the output of the inverter 8 becomes "1" and the output of the inverter 39 becomes "0", the AND circuit 37 becomes inoperable, and the counter 30 sets the count value to "2".
Stop the counting operation while holding the position. Therefore, no matter how the pulse LS1 is generated from the differentiating circuit 36 or the latch circuit 28,
No matter how the contents of the latches and 29 change, the load pulse LS2 is not generated and the contents UP, DOWN and TURN of the latch circuit 32 do not change. In this way, once one sequential sounding mode (UP, DOWN, TURN) is determined based on the first and second pressed keys, it will continue until all keys are released (by the lower keyboard all key off signal LKOFF). This state is maintained until the latch circuit 32 or the like is reset.

第6図aに示されるように高音から順に鍵G
2,E2,C2が押圧された場合は、ラツチ回路
28及び29にラツチされるキーコードは第6図
bのように変化する。2番目の押圧鍵E2にもと
づいてロードパルスLS2がラツチ回路32に与え
られるとき、ラツチ回路28には2番目の押圧鍵
E2のキーコードがラツチされており、ラツチ回
路29には1番目の押圧鍵G2のキーコードがラ
ツチされている。従つて、比較器40ではA<B
が成立する。このとき待ち時間が既に終了してい
るとすると、アンド回路41の出力A>Bが
“0”、アンド回路42の出力A<Bが“1”、ナ
ンド回路44の出力が“0”であり、これらがラ
ツチ回路32にラツチされる。従つて、ラツチ回
路32の出力は、アツプモード信号UPが“0”、
ダウンモード信号DOWNが“1”、ターンモード
信号TURNが“0”となり、ダウンモード
DOWNを指示する。
As shown in Figure 6a, the key G is
When keys 2, E2, and C2 are pressed, the key codes latched by the latch circuits 28 and 29 change as shown in FIG. 6b. When the load pulse LS2 is applied to the latch circuit 32 based on the second pressed key E2, the key code of the second pressed key E2 is latched in the latch circuit 28, and the key code of the second pressed key E2 is latched in the latch circuit 29. The key code for key G2 is latched. Therefore, in the comparator 40, A<B
holds true. At this time, assuming that the waiting time has already ended, the output A>B of the AND circuit 41 is "0", the output A<B of the AND circuit 42 is "1", and the output of the NAND circuit 44 is "0". , these are latched by the latch circuit 32. Therefore, the output of the latch circuit 32 is when the up mode signal UP is "0",
The down mode signal DOWN becomes “1” and the turn mode signal TURN becomes “0”, and the down mode is activated.
Instruct DOWN.

1番目の押圧鍵と2番目の押圧鍵がほぼ同時に
押圧された場合は、2番目の押圧鍵に対応してロ
ードパルスLS2がラツチ回路32に与えられると
き、待ち時間設定用カウンタ31ではまだ待ち時
間の計時を終了していず、ナンド回路44は
“1”を出力している。従つて、インバータ43
の出力は“0”であり、比較器40の出力A>B
及びA<Bはアンド回路41及び42で阻止され
る。これにより、アンド回路41の出力信号
“0”、アンド回路42の出力信号“0”、ナンド
回路44の出力信号“1”がラツチ回路32に
夫々ラツチされ、アツプモード信号UPが“0”、
ダウンモード信号DOWNが“0”、ターンモード
信号TURNが“1”となり、ターンモードTURN
をを指示する。
If the first pressed key and the second pressed key are pressed at almost the same time, when the load pulse LS2 is applied to the latch circuit 32 in response to the second pressed key, the waiting time setting counter 31 is still waiting. The time measurement has not yet been completed, and the NAND circuit 44 is outputting "1". Therefore, inverter 43
The output of the comparator 40 is “0”, and the output A>B of the comparator 40
And A<B is blocked by AND circuits 41 and 42. As a result, the output signal "0" of the AND circuit 41, the output signal "0" of the AND circuit 42, and the output signal "1" of the NAND circuit 44 are respectively latched in the latch circuit 32, and the up mode signal UP is "0",
The down mode signal DOWN becomes “0”, the turn mode signal TURN becomes “1”, and the turn mode TURN is activated.
Instruct.

一例として、パターンジエネレータ16は第4
図に示すようにアルペジヨパターンメモリ48を
含んでいる。アルペジヨパターンメモリ48には
複数のアルペジヨパターンが予じめ記憶されてい
る。リズム選択スイツチ49は演奏しようとする
曲のリズム種類を選択するためのものであり、こ
のスイツチ49によるリズム選択に連動してアル
ペジヨパターンメモリ48において該リズムに対
応する所定のアルペジヨパターンが選択される。
リズム選択スイツチ49により選択されるアルペ
ジヨパターンは、アツプモードUP、ダウンモー
ドDOWN及びターンモードTURNの3種類のバ
リエーシヨンモードに対応する3つのパターンか
ら成り、押鍵順序判別回路15から与えられるモ
ード信号UP,DOWN,TURNに応じてそのうち
1つのパターンが更に選択される。テンポカウン
タ50は可変型のテンポクロツク発振器51から
与えられるテンポクロツクパルスをカウントし、
そのカウント内容に応じてアルペジヨパターンメ
モリ48からアルペジヨパターンデータAP1〜
AP4を読み出す。すなわち、リズム選択スイツチ
49及びモード信号UP,DOWN,TURNによつ
て選択された1つのアルペジヨパターンを構成す
る1組のアルペジヨパターンデータAP1〜AP4が
テンポカウンタ50の出力にもとづいてメモリ4
8から読み出される。1つのアルペジヨパターン
はアルペジヨ演奏の1フレーズにおける各発音タ
イミングに対応してアルペジヨパターンデータ
AP1〜AP4を夫々具備しており、テンポカウンタ
50によつて或る発音タイミングが指示されると
そのタイミングに対応する1つのデータAP1〜
AP4がメモリ48から読み出される。
As an example, the pattern generator 16 may
As shown in the figure, it includes an arpeggio pattern memory 48. A plurality of arpeggio patterns are stored in advance in the arpeggio pattern memory 48. The rhythm selection switch 49 is used to select the rhythm type of the song to be played, and in conjunction with the rhythm selection by this switch 49, a predetermined arpeggio pattern corresponding to the rhythm is selected in the arpeggio pattern memory 48. be done.
The arpeggio pattern selected by the rhythm selection switch 49 consists of three patterns corresponding to three types of variation modes: up mode UP, down mode DOWN, and turn mode TURN. One of the patterns is further selected according to the signals UP, DOWN, and TURN. A tempo counter 50 counts tempo clock pulses given from a variable tempo clock oscillator 51,
Arpeggio pattern data AP1~ from arpeggio pattern memory 48 according to the count contents.
Read AP4. That is, a set of arpeggio pattern data AP1 to AP4 constituting one arpeggio pattern selected by the rhythm selection switch 49 and the mode signals UP, DOWN, and TURN is stored in the memory 4 based on the output of the tempo counter 50.
8. One arpeggio pattern contains arpeggio pattern data corresponding to each sound timing in one phrase of an arpeggio performance.
AP1 to AP4 are provided respectively, and when a certain sound generation timing is specified by the tempo counter 50, one data AP1 to AP4 corresponding to that timing is provided.
AP4 is read from memory 48.

比較的単純なアルペジヨ演奏を実現するアルペ
ジヨパターン(データAP1〜AP4)の一例を第7
図に示す。第7図には、アルペジヨ演奏の繰返し
1フレーズが4分の3拍子(または8分の6拍
子)のリズムの1小節に相当する例が示されてい
る。各発音タイミングTa1乃至Ta6は8分音符の
長さに対応するものとする。第7図bのUP,
DOWN,TURNの欄に示された数字1〜6は、
アツプモードUP、ダウンモードDOWN及びター
ンモードTURNのパターンを構成する1組のデー
タAP1〜AP4を夫々10進数で表わしたものであ
る。例えばアツプモードUPの場合は、最初の発
音タイミングTa1で10進数の「1」に相当するデ
ータAP1〜AP4が発生され、以後の順次発音タイ
ミングTa2,Ta3…Ta6では10進数の「2」,
「3」…「6」に相当するデータAP1〜AP4が順
次発生されることを第7図は示している。これに
準じて、ダウンモードDOWN及びターンモード
TURNにおけるデータAP1〜AP4の発生態様も第
7図から容易に理解できるであろう。
An example of an arpeggio pattern (data AP1 to AP4) that realizes a relatively simple arpeggio performance is shown in section 7.
As shown in the figure. FIG. 7 shows an example in which one repeated phrase of an arpeggio performance corresponds to one measure of a three-quarter time (or six-eighth time) rhythm. It is assumed that each sound generation timing Ta1 to Ta6 corresponds to the length of an eighth note. Figure 7b UP,
The numbers 1 to 6 shown in the DOWN and TURN columns are
A set of data AP1 to AP4 constituting the patterns of up mode UP, down mode DOWN, and turn mode TURN are each expressed in decimal numbers. For example, in the case of up mode UP, data AP1 to AP4 corresponding to decimal number "1" are generated at the first sound generation timing Ta1, and at subsequent sound generation timings Ta2, Ta3...Ta6, decimal number "2",
FIG. 7 shows that data AP1 to AP4 corresponding to "3" to "6" are sequentially generated. According to this, down mode DOWN and turn mode
The manner in which data AP1 to AP4 are generated in TURN can also be easily understood from FIG.

自動アルペジヨ回路17(第1図)では、デー
タAP1〜AP4が0以外の何らかの値になつたとき
(すなわちアルペジヨ発音タイミングが到来した
とき)、下鍵盤押圧鍵に対応する音名の数(1乃
至複数)を低音から順に数えていき、その数がデ
ータAP1〜AP4と同じ値になつたときの該下鍵盤
押圧鍵の音名を今回発音すべきアルペジヨ音の音
名として選択する。下鍵盤押圧鍵に対応する音名
の数がデータAP1〜AP4の値よりも少ない場合
は、押圧鍵の音名数を1通り数え終つた後再び最
低音の音名に戻つて計数を続行し、その計数値が
データAP1〜AP4の値に一致するまで繰返し数え
る。発音すべきアルペジヨ音のオクターブ音域
は、原則として所定のアルペジヨ最低オクターブ
(例えばC2〜B2)とし、押圧鍵の音名数を1
通り数え終る毎に1オクターブづつアツプするも
のとする。そのようにして定まるオクターブ音域
を示すオクターブコードと前記のようにして選択
された音名を示すノートコードとから成るキーコ
ードがアルペジヨ音キーコードAKCとして自動
アルペジヨ回路17から出力される。
In the automatic arpeggio circuit 17 (Fig. 1), when the data AP1 to AP4 reach some value other than 0 (that is, when the arpeggio generation timing arrives), the number of note names (1 to 1) corresponding to the pressed key on the lower keyboard is determined. (plurality) are counted in order from the lowest note, and when the number reaches the same value as data AP1 to AP4, the note name of the pressed key of the lower keyboard is selected as the note name of the arpeggio note to be sounded this time. If the number of note names corresponding to the pressed keys on the lower keyboard is less than the values of data AP1 to AP4, after counting the number of note names of the pressed keys once, return to the note name of the lowest note and continue counting. , repeat counting until the counted value matches the value of data AP1 to AP4. As a general rule, the octave range of the arpeggio note to be produced is the lowest octave of the specified arpeggio (for example, C2 to B2), and the number of notes of the pressed key is 1.
It is assumed that the number increases by one octave each time the count is completed. A key code consisting of an octave code indicating the octave range thus determined and a note code indicating the note name selected as described above is outputted from the automatic arpeggio circuit 17 as an arpeggio sound key code AKC.

第7図cには、下鍵盤押圧鍵の音名がC,E,
Gのときに同図bのパターンに従つて発音される
アルペジヨ音が各モードUP,DOWN,TURN毎
に示されている。データAP1〜AP4の値が押圧鍵
の音名数(この場合は3)以下の場合は、所定の
アルペジヨ最低オクターブで各アルペジヨ音C
2,E2,G2が発生される。データAP1〜AP4
の値が「4」,「5」あるいは「6」の場合は、そ
の1オクターブ上の音域で各アルペジヨ音C3,
E3,G3が発生される。第7図cから明らかな
ように、アツプモードUPのときは下鍵盤押圧鍵
に対応する音C2,E2,G2,C3,E3,G
3が低音から高音に向けて順次発音される。ま
た、ダウンモードDOWNのときは下鍵盤押圧鍵
に対応する音G3,E3,C3,G2,E2,C
2が高音から低音に向けて順次発音される。ま
た、ターンモードTURNのときは下鍵盤押圧鍵に
対応する音C2,E2,G2,C3,G2,E2
が低音から高音に向けて順次発音された後高音か
ら低音に向けて順次発音される。
In Figure 7c, the note names of the keys pressed on the lower keyboard are C, E,
The arpeggio sounds that are produced in accordance with the pattern b in the same figure when playing G are shown for each mode: UP, DOWN, and TURN. If the value of data AP1 to AP4 is less than or equal to the number of notes of the pressed key (3 in this case), each arpeggio note C will be played in the specified lowest octave.
2, E2, and G2 are generated. Data AP1~AP4
If the value is "4", "5" or "6", each arpeggio note C3,
E3 and G3 are generated. As is clear from Fig. 7c, in the UP mode, the sounds corresponding to the keys pressed on the lower keyboard are C2, E2, G2, C3, E3, G.
3 is pronounced sequentially from low to high. In addition, when the down mode is DOWN, the sounds corresponding to the keys pressed on the lower keyboard are G3, E3, C3, G2, E2, C.
2 are pronounced sequentially from high to low. In addition, when the turn mode is TURN, the sounds corresponding to the keys pressed on the lower keyboard are C2, E2, G2, C3, G2, E2.
is pronounced sequentially from low to high, then from high to low.

尚、上記ではアルペジヨ装置14として特開昭
54−39621号公報に示されたような自動アルペジ
ヨ装置を用いるものとして説明しているが、その
他の如何なる方式の自動アルペジヨ装置を用いる
電子楽器においてもこの発明を適用することがで
きる。すなわち、自動アルペジヨ装置に関連して
従来設けられていた順次発音モード選択スイツチ
の代わりに押鍵順序判別回路15に相当する回路
を設けることによりこの発明を実施することがで
きる。
In addition, in the above, the arpeggio device 14 is
Although the present invention has been described as using an automatic arpeggio device such as that shown in Japanese Patent No. 54-39621, the present invention can be applied to electronic musical instruments that use any other type of automatic arpeggio device. That is, the present invention can be implemented by providing a circuit corresponding to the key press order determining circuit 15 in place of the sequential sound mode selection switch conventionally provided in connection with the automatic arpeggio device.

また、上記実施例において押鍵順序判別回路1
5は特開昭52−23324号公報に示されたようなキ
ーコーダ11の出力にもとづいて押鍵順序を判別
するようにしているが、これに限らず他の如何な
る方式の押鍵検出回路を使用する電子楽器におい
てもこの発明を適用することができる。その場
合、押鍵順序判別回路は、押鍵検出回路から出力
される押鍵情報の形式に応じて必要な設計変更が
施されることは勿論である。
Further, in the above embodiment, the key press order determining circuit 1
5 is designed to determine the key press order based on the output of the key coder 11 as shown in Japanese Patent Application Laid-Open No. 52-23324, but the present invention is not limited to this, and any other type of key press detection circuit may be used. The present invention can also be applied to electronic musical instruments. In that case, it goes without saying that the key press order determining circuit is subject to necessary design changes depending on the format of the key press information output from the key press detecting circuit.

また、アルペジヨ装置14に限らず、グリサン
ド等の順次発音演奏を自動的に実行するものにお
いてもこの発明を適用することができる。
Furthermore, the present invention is applicable not only to the arpeggio device 14 but also to devices that automatically perform sequential sound performance such as glisando.

また、上記実施例では低音側から高音側に向つ
て押鍵した場合は低音側から高音側に向うアツプ
モードUPを選択し、その逆に押鍵した場合はダ
ウンモードDOWNを選択し、ほぼ同時に押鍵し
た場合はターンモードTURNを選択しているが、
押鍵方向と順次発音モードとの関係はこれに限定
されずに任意に定めることができる。また、押鍵
操作によつて選択可能なモードの種類も上記3種
類に限らず、任意に定めることができる。
Also, in the above example, when a key is pressed from the bass side to the treble side, the up mode UP, which goes from the bass side to the treble side, is selected, and when the key is pressed in the opposite direction, the down mode DOWN is selected, and almost simultaneously. If the key is pressed, turn mode TURN is selected,
The relationship between the key depression direction and the sequential sound generation mode is not limited to this, and can be arbitrarily determined. Furthermore, the types of modes that can be selected by key press operations are not limited to the above three types, and can be arbitrarily determined.

以上説明したようにこの発明によれば、順次発
音させるべき複数鍵の押し始めの態様を適宜変え
ることにより順次発音態様を切換えることができ
るので鍵盤演奏中でも極めて簡単に順次発音態様
を切換制御することができるようになるという利
点を有する。
As explained above, according to the present invention, it is possible to sequentially switch the sound generation mode by appropriately changing the manner in which multiple keys to be sounded are pressed in sequence, so it is possible to control the sequential switching of the sound generation modes extremely easily even during keyboard performance. It has the advantage of being able to do

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

第1図はこの発明の一実施例を適用した電子楽
器の全体構成を略示するブロツク図、第2図は第
1図のキーコーダにおける押圧鍵検出処理手順の
一例を示すフローチヤート、第3図は第2図の手
順に従つてキーコーダにおいて実行される押圧鍵
検出動作の一具体例を示すタイミングチヤート、
第4図は第1図の押鍵順序判別回路及びパターン
ジエネレータの一実施例を示すブロツク図、第5
図aはアツプモードを選択する場合の押鍵法の一
例を示すタイミングチヤート、第5図bは同図a
のように押鍵された場合における第4図各回路の
動作例を示すタイミングチヤート、第6図aはダ
ウンモードを選択する場合の押鍵法の一例を示す
タイミングチヤート、第6図bは同図aのように
押鍵された場合における第4図要部回路の動作例
を示すタイミングチヤート、第7図aは自動アル
ペジヨ音の発音タイミングの一例を示す図、同図
bはその発音タイミングに対応して発生されるア
ルペジヨパターンデータの一例をアツプモード及
びダウンモード及びターンモードの各々につき示
す図、同図cはアルペジヨ演奏のために押圧され
た鍵の音名がC,E,及びGのときに同図bのパ
ターンデータにもとづいて発音されるアルペジヨ
音の一例を各モード毎に示す図、である。 10……鍵盤部、11……キーコーダ、12…
…チヤンネルプロセツサ、13……トーンジエネ
レータ部、14……アルペジヨ装置(順次発音装
置)、15……押鍵順序判別回路、16……パタ
ーンジエネレータ、17……自動アルペジヨ回
路、19……順序検出回路、20……方向判別回
路、21……下鍵盤オールキーオフ検出回路、3
0……押鍵数カウンタ、31……待ち時間設定用
カウンタ、33,34,40……比較器、48…
…アルペジヨパターンメモリ。
FIG. 1 is a block diagram schematically showing the overall configuration of an electronic musical instrument to which an embodiment of the present invention is applied, FIG. 2 is a flowchart showing an example of a pressed key detection processing procedure in the key coder of FIG. 1, and FIG. is a timing chart showing a specific example of the pressed key detection operation executed in the key coder according to the procedure shown in FIG.
FIG. 4 is a block diagram showing an embodiment of the key press order determination circuit and pattern generator of FIG. 1;
Figure a is a timing chart showing an example of the key pressing method when selecting the up mode, and Figure 5b is a timing chart of the same key pressing method when selecting the up mode.
FIG. 4 is a timing chart showing an example of the operation of each circuit when a key is pressed as shown in FIG. Figure 4 is a timing chart showing an example of the operation of the main circuit when a key is pressed as shown in Figure a, Figure 7a is a diagram showing an example of the timing at which an automatic arpeggio sound is generated, and Figure b is a diagram showing the timing at which the automatic arpeggio sound is generated. A diagram showing examples of correspondingly generated arpeggio pattern data for each of up mode, down mode, and turn mode. Figure c shows that the note names of keys pressed for arpeggio performance are C, E, and G. FIG. 6 is a diagram showing an example of an arpeggio sound produced based on the pattern data of FIG. 10...Keyboard section, 11...Key coder, 12...
...Channel processor, 13...Tone generator section, 14...Arpeggio device (sequential sound generation device), 15...Key press order determination circuit, 16...Pattern generator, 17...Auto arpeggio circuit, 19... Order detection circuit, 20... Direction discrimination circuit, 21... Lower keyboard all key-off detection circuit, 3
0...Key press number counter, 31...Waiting time setting counter, 33, 34, 40...Comparator, 48...
...Arpeggio pattern memory.

Claims (1)

【特許請求の範囲】 1 発音順序を指示する複数種類のパターンを発
生することが可能なパターン発生手段を含み、複
数の押圧鍵に対応する音をこのパターン発生手段
から発生されたパターンに従つて順番に繰返し発
音させるアルペジヨ装置と、 前記各押圧鍵が押圧された順序を検出する順序
検出手段と、 この検出に基づいて、各鍵が低音順に押鍵され
たか、高音順に押鍵されたか、又はほぼ同時に押
圧されたかの3種類の態様のうち少なくとも2種
類の態様のどれに該当するかを判別し、この判別
結果に応じて前記パターン発生手段から発生すべ
きパターンとして前記複数種類のパターンのうち
1つを指定する判別手段と を具えた電子楽器の自動伴奏装置。 2 前記判別手段は、低音順に押鍵された場合は
低音から高音に向かう順次発音を繰り返すアツプ
モードのパターンを指定し、高音順に押鍵された
場合は高音から低音に向かう順次発音を繰り返す
ダウンモードのパターンを指定し、ほぼ同時に押
圧された場合は低音から高音に向かいその後高音
から低音に向かう順次発音を繰り返すターンモー
ドのパターンを指定するものである特許請求の範
囲第1項記載の電子楽器の自動伴奏装置。 3 前記順序検出手段は、現在押圧中の鍵のうち
1番早く押圧された鍵と2番目に押圧された鍵と
を夫々検出するものであり、 前記判別手段は、この1番目と2番目の押圧鍵
の高低を比較し、その比較結果に応じてアツプモ
ードまたはダウンモードのパターンを指定する第
1の回路と、1番目と2番目の押圧鍵の押圧開始
時間差が所定の僅少時間以内であるとき前記第1
の回路によるパターン指定を禁止してターンモー
ドのパターンを指定する第2の回路とを含むもの
である特許請求の範囲第2項記載の電子楽器の自
動伴奏装置。 4 前記パターン発生手段は、複数のパターンを
予め記憶したメモリを含むものである特許請求の
範囲第1項記載の電子楽器の自動伴奏装置。
[Scope of Claims] 1. Includes a pattern generation means capable of generating a plurality of types of patterns indicating the order of sound production, and generates sounds corresponding to a plurality of pressed keys according to the pattern generated by the pattern generation means. an arpeggio device that repeatedly sounds in order; an order detection means that detects the order in which the pressed keys are pressed; and, based on this detection, whether the keys are pressed in the order of the lowest notes or the order of the higher notes; It is determined which of at least two types of modes correspond to the three types of modes of being pressed almost simultaneously, and one of the plurality of patterns is selected as a pattern to be generated from the pattern generation means according to the result of this discrimination. An automatic accompaniment device for an electronic musical instrument, comprising: a discriminating means for specifying one. 2. The determining means specifies an up mode pattern in which when keys are pressed in the order of low tones, the sound is repeated in the order from low to high notes, and a down mode in which the sounds are repeated in order from the high to low notes in the case the keys are pressed in the order of the high notes. The electronic musical instrument according to claim 1, wherein when pressed almost simultaneously, a turn mode pattern is specified in which the sound is repeated sequentially from the low note to the high note and then from the high note to the low note. Automatic accompaniment device. 3. The order detecting means detects which of the currently pressed keys is the first pressed key and the second pressed key, respectively, and the discriminating means detects the first and second pressed keys. A first circuit that compares the height of a pressed key and specifies an up mode or down mode pattern according to the comparison result, and a difference in pressing start time between the first and second pressed keys is within a predetermined short time. When the first
3. The automatic accompaniment device for an electronic musical instrument according to claim 2, further comprising a second circuit for prohibiting pattern designation by the circuit and designating a turn mode pattern. 4. The automatic accompaniment device for an electronic musical instrument according to claim 1, wherein the pattern generating means includes a memory in which a plurality of patterns are stored in advance.
JP55152167A 1980-10-31 1980-10-31 Automatic accompaniment device for electronic musical instrument Granted JPS5776598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55152167A JPS5776598A (en) 1980-10-31 1980-10-31 Automatic accompaniment device for electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55152167A JPS5776598A (en) 1980-10-31 1980-10-31 Automatic accompaniment device for electronic musical instrument

Publications (2)

Publication Number Publication Date
JPS5776598A JPS5776598A (en) 1982-05-13
JPS6242519B2 true JPS6242519B2 (en) 1987-09-08

Family

ID=15534488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55152167A Granted JPS5776598A (en) 1980-10-31 1980-10-31 Automatic accompaniment device for electronic musical instrument

Country Status (1)

Country Link
JP (1) JPS5776598A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0297219U (en) * 1989-01-20 1990-08-02

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4978170B2 (en) * 2006-11-28 2012-07-18 カシオ計算機株式会社 Performance device and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS593757B2 (en) * 1977-02-22 1984-01-25 ヤマハ株式会社 electronic musical instruments
JPS6017117B2 (en) * 1978-10-25 1985-05-01 株式会社河合楽器製作所 Electronic musical instrument that produces arpeggio sounds

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0297219U (en) * 1989-01-20 1990-08-02

Also Published As

Publication number Publication date
JPS5776598A (en) 1982-05-13

Similar Documents

Publication Publication Date Title
US4704933A (en) Apparatus for and method of producing automatic music accompaniment from stored accompaniment segments in an electronic musical instrument
GB2089551A (en) A chord generating apparatus of an electronic musical instrument
JPS6332198B2 (en)
US5216189A (en) Electronic musical instrument having slur effect
US5239123A (en) Electronic musical instrument
US4543869A (en) Electronic musical instrument producing chord tones utilizing channel assignment
JPS6242519B2 (en)
US4152966A (en) Automatic chromatic glissando
JPS6262358B2 (en)
KR930007833B1 (en) Electronic musical instrument
JPS6137640B2 (en)
US4312257A (en) Automatic accompaniment apparatus
JPS6113239B2 (en)
JPH0572596B2 (en)
JPS631595B2 (en)
JPS6248833B2 (en)
JPH0464073B2 (en)
JPH0631964B2 (en) Electronic musical instrument
JP2513014B2 (en) Electronic musical instrument automatic performance device
JP2636393B2 (en) Automatic performance device
JP2666762B2 (en) Electronic musical instrument
JPS6217756B2 (en)
JP2636477B2 (en) Electronic musical instrument
JP2565152B2 (en) Automatic accompaniment device
JPS5952839B2 (en) electronic musical instruments