JPS6237789B2 - - Google Patents

Info

Publication number
JPS6237789B2
JPS6237789B2 JP53104423A JP10442378A JPS6237789B2 JP S6237789 B2 JPS6237789 B2 JP S6237789B2 JP 53104423 A JP53104423 A JP 53104423A JP 10442378 A JP10442378 A JP 10442378A JP S6237789 B2 JPS6237789 B2 JP S6237789B2
Authority
JP
Japan
Prior art keywords
key
register
address
state
status
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
JP53104423A
Other languages
Japanese (ja)
Other versions
JPS5532033A (en
Inventor
Tadao Sakai
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.)
Roland Corp
Original Assignee
Roland Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Roland Corp filed Critical Roland Corp
Priority to JP10442378A priority Critical patent/JPS5532033A/en
Publication of JPS5532033A publication Critical patent/JPS5532033A/en
Publication of JPS6237789B2 publication Critical patent/JPS6237789B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 この発明は有鍵電子楽器に関連し、音階のそれ
ぞれの楽音を発生させるためのキーの操作に応じ
て楽器が発音できる楽音の数よりも相当に少ない
数のシンセサイザモデユールを選択的に作動させ
るためのキーアサイナに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a keyed electronic musical instrument, and relates to a synthesizer model having a number considerably smaller than the number of tones that the instrument can produce in response to key operations for generating each tone of a scale. The present invention relates to a key assigner for selectively activating Yule.

特に、この発明はピアノにおけるラウドペダル
の如きペダル(以下ペダルという)が踏まれてい
る状態にあるときに、押鍵状態にあつたキーを離
鍵状態に移行させた場合、該離鍵状態に移行させ
たキーに対応する特定の楽音を発音していたシン
セサイザモデユールに対してその楽音を継続して
発音させるとともに、新たに押鍵状態になつた同
一若しくは別異のキーに対応する楽音を発音させ
るために必要な場合には、該離鍵状態に移行させ
たキーに対応する特定の楽音を発音していたシン
セサイザモデユールに対して、その楽音を停止さ
せ、即座に該新たに押鍵状態になつた同一若しく
は別異のキーに対応する楽音を発生させることが
できるように構成して、楽器が発音できる楽音の
数よりも相当に少ない数のシンセサイザモデユー
ルを音楽の演奏に対して一層有効に利用するよう
にし、さらに、その際、楽音を発音しているシン
セサイザモデユールに対してその発音を停止さ
せ、同一又は別異の楽音を即座に発音させる上述
の場合であつても、前後の楽音を区切つて発音で
きるようにした電子楽器のキーアサイナを提供す
る。
In particular, this invention provides a method for shifting a key that was in a depressed state to a released state while a pedal such as a loud pedal on a piano (hereinafter referred to as a pedal) is being depressed. The synthesizer model that was producing a specific musical tone corresponding to the pressed key continues to produce that musical tone, and also produces a musical tone corresponding to the same or different key that is newly depressed. If it is necessary to do so, the synthesizer model that was producing a specific musical tone corresponding to the key that has been shifted to the key-released state is stopped, and the synthesizer model immediately returns to the new key-pressed state. The number of synthesizer models that are considerably smaller than the number of musical tones that can be produced by the instrument is further improved for musical performance. In addition, even in the above case where the synthesizer model that is producing a musical tone stops its production and immediately produces the same or different musical tone, To provide a key assigner for an electronic musical instrument that can produce sounds by dividing musical tones.

先ず、第1図を参照しつつ、この発明の対象で
あるキーアサイナを含む有鍵電子楽器の主要部の
構成及び動作について説明する。
First, with reference to FIG. 1, the structure and operation of the main parts of a keyed electronic musical instrument including a key assigner, which is the object of the present invention, will be explained.

キーアサイナ1からキー走査信号出力線2を通
じて供給されるキー走査信号を受けて、キー走査
回路3は各キーの押鍵状態若しくは離鍵状態を表
わすキー信号をキー信号入力線4を通じてキーア
サイナ1に供給する。キーアサイナ1は押鍵状態
にあるキーを含む各キーの音名を表わす各キーコ
ード及び該キーコードが記憶されている最大発音
数に等しい数のレジスタの各アドレスをそれぞれ
デイジタル−アナログ変換回路5及びマルチプレ
クサ6に対して、順次かつ、周期的に供給する。
デイジタル−アナログ変換回路5は各キーコード
をそのコードに対応するアナログ電圧(以下キー
電圧という)に変換してマルチプレクサ6に印加
する。該マルチプレクサ6はこのキー電圧を変換
されるべきキーコードが記憶されているレジスタ
の各アドレスに対応して分配し、最大発音数に等
しい数のサンプリングホールド回路7a乃至7h
に印加する。したがつて、サンプリングホールド
回路7a乃至7hはそれぞれキーアサイナ1内に
設けられたレジスタの最大発音数に等しい数のア
ドレスのそれぞれに固定的に対応しており、前記
それぞれのアドレスに記憶されたキーコードに対
応するキー電圧を保持する。該キー電圧はそれぞ
れのサンプリングホールド回路7a乃至7hに対
して固定的に結線されたシンセサイザモデユール
8a乃至8hのキー電圧端子9a乃至9hに印加
される。
Upon receiving the key scanning signal supplied from the key assigner 1 through the key scanning signal output line 2, the key scanning circuit 3 supplies a key signal representing the pressed or released state of each key to the key assigner 1 through the key signal input line 4. do. The key assigner 1 inputs each key code representing the pitch name of each key including the pressed key and each address of a number of registers equal to the maximum number of pronunciations in which the key code is stored to the digital-to-analog conversion circuit 5 and The signal is supplied to the multiplexer 6 sequentially and periodically.
The digital-to-analog conversion circuit 5 converts each key code into an analog voltage (hereinafter referred to as key voltage) corresponding to the code, and applies the analog voltage to the multiplexer 6. The multiplexer 6 distributes this key voltage according to each address of the register storing the key code to be converted, and distributes the key voltage to the sampling and holding circuits 7a to 7h whose number is equal to the maximum number of sounds.
to be applied. Therefore, each of the sampling and holding circuits 7a to 7h corresponds fixedly to each of the addresses whose number is equal to the maximum number of sounds of the register provided in the key assigner 1, and the key code stored in each of the addresses is fixed. Holds the key voltage corresponding to . The key voltages are applied to key voltage terminals 9a to 9h of synthesizer models 8a to 8h, which are fixedly connected to the respective sampling and hold circuits 7a to 7h.

一方、キーアサイナ1内に設けられたレジスタ
の各アドレスに記憶された各キーコードをデイジ
タル−アナログ変換回路5に対して出力する際
に、これと同期して各キーコードで表わされるキ
ーが押鍵状態であることを示すステータスがステ
ータス供給線10を通じてもう一つのマルチプレ
クサ11に供給される。該マルチプレクサ11も
マルチプレクサ6と同様に作動して前記レジスタ
のアドレスに固定的に対応するシンセサイザモデ
ユール8a乃至8hの制御端子12a乃至12h
に対して該ステータスを分配供給する。したがつ
て、各シンセサイザモデユール8a乃至8hの
各々に対応する前記レジスタのアドレスに押鍵状
態を示すステータスと該押鍵状態にあるキーを表
わすキーコードが記憶されると、該ステータスと
キー電圧が対応するシンセサイザモデユールに対
して同時に供給されて、該モデユールが該押鍵状
態にあるキーに対応する楽音を発音するために、
各シンセサイザモデユールの出力端子13a乃至
13hには押鍵状態にある各キーに対応する楽音
信号が得られる。このように、すべてのキーに対
応する楽音のうち唯一の楽音を選択的に発音でき
るシンセサイザモデユール8がキー電圧入力端子
9に印加される特定のキー電圧に応答して特定の
楽音を発音することを捕捉という。逆に、シンセ
サイザモデユールをして、新たに特定の楽音を発
音させ得る状態にすることを解放という。一旦捕
捉されたシンセサイザモデユールは解放されない
限り、新たに特定の楽音を発音するために捕捉さ
れることはない。
On the other hand, when each key code stored in each address of a register provided in the key assigner 1 is output to the digital-to-analog conversion circuit 5, the key represented by each key code is synchronously pressed. A status indicating the status is supplied to another multiplexer 11 via a status supply line 10. The multiplexer 11 also operates in the same manner as the multiplexer 6, and the control terminals 12a to 12h of the synthesizer models 8a to 8h fixedly correspond to the addresses of the registers.
The status is distributed and supplied to. Therefore, when the status indicating the key pressed state and the key code representing the key in the pressed state are stored in the address of the register corresponding to each of the synthesizer models 8a to 8h, the status and the key voltage are stored. are simultaneously supplied to the corresponding synthesizer model, so that the model produces a musical tone corresponding to the key in the pressed state,
A musical tone signal corresponding to each depressed key is obtained at the output terminals 13a to 13h of each synthesizer model module. In this way, the synthesizer model 8, which can selectively generate only one musical tone among the musical tones corresponding to all the keys, generates a specific musical tone in response to a specific key voltage applied to the key voltage input terminal 9. This is called capture. On the other hand, when a synthesizer is modeled to make it possible to produce a new specific musical tone, it is called release. Once a synthesizer model has been captured, it cannot be captured to produce a new specific musical tone unless it is released.

さて、上記のような構成を有する有鍵電子楽器
では、楽器が発音できる楽音の数よりも相当に少
ない数のシンセサイザモデユールを捕捉して押鍵
状態になつたキーに対応する特定の楽音を発音さ
せるのであるから、該捕捉を音楽の演奏上有効に
行うためには捕捉の順序を定める論理が課題とな
る。
Now, a keyed electronic musical instrument having the above configuration captures a number of synthesizer models that are considerably smaller than the number of musical tones that the instrument can produce, and generates a specific musical tone corresponding to the key that is pressed. Since the sound is to be produced, the logic for determining the order of capture is an issue in order to effectively perform the capture in terms of musical performance.

即ち、押鍵状態に移行した2以上のキーに対し
て、いかなる順序に従つてどのシンセサイザモデ
ユールを捕捉させるかという課題である。
In other words, the problem is which synthesizer model should be captured in what order for two or more keys that have entered the pressed state.

特に、ペダルの状態を上記の捕捉順序にどのよ
うに関連させるかということは楽器の演奏上の操
作性に対して重大な影響を与えるものである。
In particular, how the state of the pedal is related to the above-mentioned acquisition order has a significant influence on the performance operability of the musical instrument.

一般に楽音はキーが離鍵状態になると突如とし
て消滅するものではなく、その楽音特有のレリー
ズタイムの経過に伴つて徐々に減衰する。特に、
ペダルを踏んでいる場合には相当に大きなレリー
ズタイムが経過するまで楽音が持続するものであ
る。しかし、あまりにも長時間にわたつて特定の
楽音を発音させるために特定のシンセサイザモデ
ユールを捕捉状態にとどめておくことは選択でき
るシンセサイザモデユールの数を制限することに
なり、結局、新たに押鍵状態に移行するキーに対
応する楽音を発音させるためにシンセサイザモデ
ユールを捕捉できない確率が増大するから、不都
合である。そこで、ペダルが踏まれている状態に
あるときに、押鍵状態にあつたキーを離鍵状態に
移行させた場合、該離鍵状態に移行させたキーに
対応する特定の楽音を発音していたシンセサイザ
モデユールに対してその楽音を継続して発音させ
るとともに、該モデユール以外のモデユールがす
べて発音しているために、新たに押鍵状態になつ
た同一若しくは別異のキーに対応する楽音を発音
させるべきモデユールが存在しない場合に限つ
て、該離鍵状態に移行させたキーに対応する特定
の楽音を発音していたシンセサイザモデユールに
対してその楽音を停止させ、即座に該新たに押鍵
状態になつた同一若しくは別異のキーに対する楽
音を発音させることが要請される。
Generally, a musical tone does not suddenly disappear when a key is released, but gradually attenuates as the release time unique to that musical tone passes. especially,
When the pedal is depressed, the musical tone will continue until a considerably long release time has elapsed. However, keeping a particular synthesizer model in a captured state to produce a particular note for too long limits the number of synthesizer models that can be selected, and eventually This is disadvantageous because it increases the probability that the synthesizer model cannot be captured in order to generate a musical tone corresponding to a key that transitions to a key state. Therefore, if a key that was in the depressed state is shifted to the released state while the pedal is being depressed, the specific musical tone corresponding to the key that was shifted to the released state will not be produced. In addition to making the synthesizer model that was previously used continue to produce that musical tone, it also makes a musical tone that corresponds to the same or a different key that is newly pressed because all the model units other than the synthesizer model are producing sounds. Only when there is no model to be produced, the synthesizer model that was producing a specific musical tone corresponding to the key that has been shifted to the released state is stopped, and the new key is immediately pressed. It is required to generate musical tones for the same or different keys that have entered the key state.

従前のこの種のキーアサイナではキーの状態を
示すステータスが1ビツトで構成されており、キ
ーの押鍵状態に対して論理「1」を、また、キー
の離鍵状態に対して論理「0」を割当てていたに
過ぎないから、シンセサイザモデユールが捕捉状
態にあることは一義的に、特定の楽音を発音して
いることと、解放されるまでは別異の楽音を発音
するために捕捉できないということを意味してい
た。
In conventional key assigners of this type, the status indicating the state of the key consists of one bit, with a logic "1" for the pressed state of the key, and a logic "0" for the released state of the key. Therefore, the fact that the synthesizer model is in the capture state is primarily because it is producing a specific musical tone, and until it is released, it cannot be captured because it is producing a different musical tone. That's what it meant.

したがつて、前記ペダルが踏まれている状態に
あるときにキーを離鍵状態に移行させた場合のよ
うに、シンセサイザモデユールが発音中であるに
もかかわらず、新たに押鍵状態に移行したキーに
対応する楽音を発音すべく捕捉され得るという論
理状態が存在していなかつたために、従前のキー
アサイナは前記の要請に応えることができなかつ
た。
Therefore, as in the case where the key is shifted to the released state while the pedal is in the depressed state, even though the synthesizer model is currently producing sound, the key is newly shifted to the depressed state. Previous key assigners were unable to meet this need because there was no logical state that could be captured to produce a musical tone corresponding to a given key.

そこで、この発明は前記の要請に応えるべく、
シンセサイザモデユールが発音状態にあるか否か
を示す1ビツトの主ステータスと該モデユールが
捕捉状態にあるか否かを示す1ビツトの副ステー
タスから成る2ビツトでもつて構成されたステー
タスを設けて、キーが継続的に押鍵状態になつて
いて、発音している状態に対しては論理「11」を
割当てるが、一方、ペダルが踏まれていない状態
であつて、かつ、キーが離鍵している状態に対し
て論理「00」を、また、ペダルが踏まれている状
態であつて、かつ、キーが離鍵している状態に対
して論理「10」をそれぞれ割当てるようにし、さ
らに、新たに検出された押鍵状態に対して論理
「01」を割当てて、キーが新たに押鍵状態になる
たびに、この論理「01」のステータスを一旦出力
させ、しかる後、該ステータスを論理「11」に変
換するようにしたキーアサイナを提供する。
Therefore, in order to meet the above-mentioned request, this invention
A status composed of 2 bits is provided, consisting of a 1-bit main status indicating whether the synthesizer module is in a generating state and a 1-bit sub-status indicating whether the synthesizer module is in a capturing state, Logic "11" is assigned to a state in which a key is continuously pressed and is producing sound, but on the other hand, a state in which the pedal is not depressed and the key is not released. Logic "00" is assigned to the state in which the pedal is depressed, and logic "10" is assigned to the state in which the pedal is depressed and the key is released, and further, A logic "01" is assigned to a newly detected key press state, and each time a key enters a new key press state, a status of this logic "01" is output once, and then the status is Provide a key assigner that converts to "11".

第2図は第1図におけるキー走査回路3の構成
を示す。同図おいて、A0乃至A7、及びB0乃至B7
はそれぞれ第1図に示すキー走査信号出力線2及
びキー信号入力線4を構成する信号線であつて、
キー走査信号出力線A0はキー回路S1に含まれる
キースイツチSc1乃至SG1の一端に共通に接続さ
れる。該キースイツチの他端は廻り込み防止用ダ
イオードDを通じてそれぞれキー信号入力線B0
乃至B7に接続される。キー走査信号出力線A1
は、同様に、キースイツチ回路S2に含まれる各キ
ースイツチの一端に共通に接続され、該キースイ
ツチの他端はそれぞれキー信号入力線B0乃至B7
に対して順次並列に接続される。キー回路S3乃至
S8についても同様に結線される。
FIG. 2 shows the configuration of the key scanning circuit 3 in FIG. 1. In the figure, A 0 to A 7 and B 0 to B 7
are signal lines constituting the key scanning signal output line 2 and the key signal input line 4 shown in FIG. 1, respectively, and
The key scanning signal output line A0 is commonly connected to one end of the key switches Sc1 to SG1 included in the key circuit S1. The other end of the key switch is connected to a key signal input line B 0 through a sneak prevention diode D.
to B7 . Key scanning signal output line A 1
are similarly connected in common to one end of each key switch included in the key switch circuit S2 , and the other ends of the key switches are respectively connected to key signal input lines B0 to B7.
are connected sequentially in parallel. Key circuit S 3 ~
S8 is also connected in the same way.

第3図は第2図におけるキー走査信号出力線
A0乃至A7及びキー信号入力線B0乃至B7に対する
信号の割当てを示す。同図において横軸は時間軸
であり、該軸に付した番号はタイムスロツトの番
号を示す。いま、例えば、第1オクターブE(以
下E1という)を発音するためのキー(図示せ
ず)を押下すると、該キーに連動するキースイツ
チSE1が閉じる。一方、キー走査信号出力線A0
乃至A7には第3図においてa乃至hに示すよう
なキー走査信号が印加されているためにキースイ
ツチ回路S1乃至S8は順に時分割動作してキー信号
入力線B0乃至B7に対して信号を与える機会を得
る。そこで、第3図においてaに示すような第1
番号のタイムスロツトに現われるキー走査信号が
キー走査信号出力線A0に供給されると、該信号
は閉じているキースイツチSE1を通過してキー信
号入力線B4に現われる。第3図においてiはこ
のようなキー信号がキー信号入力線B4における
第1番目のタイムスロツトルに割当てられること
を示している。同様に、G#を発音するための
キーを押下した場合には第3図においてjに示す
ようにキー信号入力線B0における第8番目のタ
イムスロツトにキー信号が割当てられる。
Figure 3 shows the key scanning signal output line in Figure 2.
The assignment of signals to A 0 to A 7 and key signal input lines B 0 to B 7 is shown. In the figure, the horizontal axis is the time axis, and the numbers attached to the axis indicate the time slot numbers. For example, when a key (not shown) for generating the first octave E (hereinafter referred to as E1 ) is pressed, the key switch S E1 linked to the key is closed. On the other hand, key scanning signal output line A 0
Since the key scanning signals shown as a to h in FIG. 3 are applied to the key signal input lines B0 to A7 , the key switch circuits S1 to S8 sequentially time-divisionally operate to send the key signal input lines B0 to B7. have the opportunity to give a signal. Therefore, the first
When the key scan signal appearing in the numbered time slot is applied to the key scan signal output line A0 , it passes through the closed key switch S E1 and appears on the key signal input line B4 . In FIG. 3, i indicates that such a key signal is assigned to the first time throttle on the key signal input line B4 . Similarly, when the key for generating G# 5 is pressed, the key signal is assigned to the 8th time slot on the key signal input line B0 , as shown at j in FIG.

第4図Aはこの発明の一実施例であるキーアサ
イナの全体的構成を示す。同図において、21は
キー走査信号用デコーダであつて出力端子はキー
走査信号出力線A0乃至A7に接続される。22は
8ビツトのキー信号用入力レジスタであつて、各
段の入力端子はキー信号入力線B0乃至B7に接続
される。23はプロセツサであつて、共通入出力
バスに接続されたレジスタ相互間における情報転
送、及び演算等を含む情報処理を行う。24,2
5,26,27及び28はそれぞれ該プロセツサ
の共通入出力バスに接続された第1レジスタ、第
2レジスタ、第3レジスタ、第4レジスタ及び出
力レジスタであつて、該プロセツサによつて該レ
ジスタに記憶されるべき情報が制御される。ま
た、同図に示す実施例では第1レジスタ24、第
2レジスタ25、及び第4レジスタ27は8ビツ
ト(1バイトともいう)で構成される1ワード単
位でもつて転送・記憶・及びその他の処理が行わ
れるからワード単位で、そのワードが記憶されて
いる場所を示すためのアドレスが定められてい
る。該レジスタの左端に縦方向に配置された数値
はアドレスを、また、上端に横方向に配置された
数値は各ワードのビツト位置を示す。
FIG. 4A shows the overall structure of a key assigner which is an embodiment of the present invention. In the figure, 21 is a key scanning signal decoder whose output terminals are connected to key scanning signal output lines A0 to A7 . 22 is an 8-bit key signal input register, and the input terminals of each stage are connected to key signal input lines B0 to B7 . 23 is a processor that performs information processing including information transfer between registers connected to a common input/output bus and calculations. 24,2
5, 26, 27, and 28 are a first register, a second register, a third register, a fourth register, and an output register, respectively, which are connected to the common input/output bus of the processor; The information to be stored is controlled. In addition, in the embodiment shown in the same figure, the first register 24, second register 25, and fourth register 27 are used for transfer, storage, and other processing in units of one word consisting of 8 bits (also referred to as 1 byte). Because this is done, an address is determined for each word to indicate the location where that word is stored. The numbers arranged vertically at the left end of the register indicate addresses, and the numbers arranged horizontally at the upper end indicate the bit positions of each word.

更に、第1レジスタ24及び第2レジスタ25
において、各ワードの各ビツト位置の記憶内容を
斜線でもつて区分しているが、この区分の左上部
に記入された記号は各ビツト位置に記憶されるべ
きキー信号の音名を、また、右下部に記入された
符号は該キー信号に対応するキーの状態を表示す
る。ここでは押鍵状態を論理「1」、離鍵状態を
論理「0」で表示する。
Furthermore, the first register 24 and the second register 25
In , the memory content of each bit position of each word is divided by diagonal lines, and the symbol written in the upper left of this division indicates the pitch name of the key signal to be stored in each bit position, and The code written at the bottom indicates the state of the key corresponding to the key signal. Here, the key pressed state is displayed as a logical "1", and the key released state is displayed as a logical "0".

さて、先ず、第2図及び第3図を参照して説明
したように、キー信号入力線B0乃至B7の各々に
ついて第1番目のタイムスロツトに現われた8ビ
ツトのキー信号はキー信号用入力レジスタ22に
一旦記憶され、プロセツサ23を介して第1レジ
スタ24の0番地に記憶される。いま、例えば、
E1の楽音を発音するためのキーが押鍵状態にな
つている場合には第4図Aにおいてaに示すよう
に0番地の第4ビツト位置が論理「1」となる。
次に、前記第1レジスタ24の0番地のワードと
第2レジスタ25の0番地のワードをプロセツサ
23に転送し、両者の排他的論理和(イクスクル
ーシブオアともいう)を求めて、これを第3レジ
スタ26に記憶させる。該第3レジスタ26は各
回のキー走査の直前にクリヤされている。続い
て、前記第1レジスタの0番地のワードをプロセ
ツサ2を介して第2レジスタ25へ転送し、その
0番地のワードと置き換えて記憶させる。更に、
続いて、第2番目のタイムスロツトに現われるキ
ー信号を第1レジスタ24の1番地に記憶させる
ためにプロセツサ23内のアドレスカウンタ(図
示せず)の内容を歩進させて数値「1」にする。
この数値「1」がキー走査信号用デコーダ21に
転送され、該デコーダがこれを復号し、第3図に
おいて、bに示すようなタイミングのキー走査信
号をキー走査信号出力線A1に供給する。そこ
で、第2番目のタイムスロツトルに現われる8ビ
ツトのキー信号がキー信号用入力レジスタ22に
記憶され、続いて、プロセツサ23を介して、今
度は第1レジスタ24の1番地に記憶される。い
ま、例えば、G#及びB1の楽音を発音するた
めのキーが新しく押鍵状態になつた場合には第4
図Aにおいてb及びcに示す1番地のビツト位置
に論理「1」が記憶される。次に、前記同様の操
作によつて今度は第1レジスタ24の1番地のワ
ードと第2レジスタの1番地のワードの排他的論
理和を求め、これと第3レジスタ26に記憶され
た該0番地にかかるワードとの論理和を求めて該
第3レジスタに記憶してから、第2レジスタ25
の1番地のワードを第1レジスタ24の1番地の
ワードに置き換える。
First, as explained with reference to FIGS. 2 and 3, the 8-bit key signal appearing in the first time slot for each of the key signal input lines B0 to B7 is The data is temporarily stored in the input register 22, and then stored at address 0 of the first register 24 via the processor 23. Now, for example,
When the key for producing the tone E1 is in the depressed state, the fourth bit position at address 0 becomes logic "1" as shown in a in FIG. 4A.
Next, the word at address 0 of the first register 24 and the word at address 0 of the second register 25 are transferred to the processor 23, and the exclusive OR (also called exclusive OR) of the two is calculated. It is stored in the third register 26. The third register 26 is cleared immediately before each key scan. Subsequently, the word at address 0 of the first register is transferred to the second register 25 via the processor 2, and is stored in place of the word at address 0. Furthermore,
Subsequently, in order to store the key signal appearing in the second time slot at address 1 of the first register 24, the contents of an address counter (not shown) in the processor 23 is incremented to a numerical value of "1". .
This numerical value "1" is transferred to the key scanning signal decoder 21, which decodes it and supplies the key scanning signal with the timing shown in b in FIG. 3 to the key scanning signal output line A1. . Therefore, the 8-bit key signal appearing at the second time throttle is stored in the key signal input register 22, and then stored in address 1 of the first register 24 via the processor 23. Now, for example, if the keys for producing tones G# 1 and B 1 are newly pressed, the 4th key is pressed.
In FIG. A, a logic "1" is stored in the bit position of address 1 shown at b and c. Next, by the same operation as described above, the exclusive OR of the word at address 1 of the first register 24 and the word at address 1 of the second register is calculated, and this and the word 0 stored in the third register 26 are obtained. After calculating the logical sum with the word associated with the address and storing it in the third register, the second register 25
The word at address 1 is replaced with the word at address 1 of the first register 24.

上記の処理を8回繰り返して実行することによ
つて、キー走査時点における64個のキーの状態を
8ワードの第1レジスタ24に記憶させることが
でき、しかも、そのアドレスとビツト位置は各キ
ーが発音する楽音の音名に対応して特定すること
ができる。
By repeating the above process 8 times, the states of 64 keys at the time of key scanning can be stored in the 8-word first register 24, and the address and bit position can be stored for each key. It can be specified according to the name of the musical tone pronounced by the user.

更に、第2レジスタには、同様に、前回のキー
走査時点における各キーの状態を該キーが発音す
る楽音の音名に対応して特定されるアドレスとビ
ツト位置に記憶させ、これを次回のキー走査に備
えることができる。
Furthermore, in the second register, the state of each key at the time of the previous key scan is similarly stored in the address and bit position specified in accordance with the name of the musical note produced by the key, and this is stored in the next time. Ready for key scanning.

例えば、E1、G#及びB1の楽音を発音する
ためのキーが継続的に押鍵状態になつている場合
には、第4図Aにおいてd,e及びfに示すよう
に第1レジスタ24において論理「1」が記憶さ
れているビツト位置に対応する第2レジスタ25
のビツト位置に論理「1」が記憶される。また、
第1レジスタ24に記憶された今回のキー走査時
点における各キーの状態が第2レジスタ25に記
憶された前回のキー走査時点における各キーの状
態に対していずれか一つでも変化した場合には第
3レジスタ26の該状態変化に係るビツト位置に
論理「1」が記憶されるが、前述のように、
E1、G#及びB1を発音するためのキーのみが
継続的に押鍵状態になつているので、第1レジス
タ24及び第2レジスタ25の対応するワードが
すべて相等しくなる。したがつて、各対応するワ
ードの排他的論理和が「0」となり、結局、第3
レジスタ26の各ビツト位置も論理「0」とな
る。このようにして第3レジスタ26の記憶内容
を判定することによつて新たな押鍵状態若しくは
離鍵状態の発生を検知することができるのであ
る。
For example, if the keys for producing musical tones E 1 , G# 1 , and B 1 are continuously pressed, the first key as shown in d, e, and f in FIG. a second register 25 corresponding to the bit position in register 24 where a logic "1" is stored;
A logic "1" is stored in the bit position. Also,
If the state of each key at the time of the current key scan stored in the first register 24 has changed by any one of the states of each key at the time of the previous key scan stored in the second register 25, A logic "1" is stored in the bit position related to the state change in the third register 26, but as described above,
Since only the keys for sounding E 1 , G# 1 and B 1 are continuously pressed, the corresponding words in the first register 24 and the second register 25 are all equal. Therefore, the exclusive OR of each corresponding word becomes "0", and eventually the third
Each bit position of register 26 also becomes a logic "0". By determining the contents stored in the third register 26 in this manner, it is possible to detect the occurrence of a new key press state or key release state.

いま、第1レジスタ24及び第2レジスタ25
のすべてのワードについて比較した結果、第3レ
ジスタ26のいずれのビツト位置にも論理「1」
が記憶されない場合、即ち、新たな押鍵状態若し
くは新たな離鍵状態が発生していない場合には、
出力レジスタ28から第1図におけるデイジタル
−アナログ変換回路5に供給するためのキーコー
ド、及びステータス供給線10を通じてマルチプ
レクサ11に供給するためのステータスが出力さ
れる。また、プロセツサ23からは第4レジスタ
27のアドレスがマルチプレクサ6及び11に対
して供給される。続いて、再び前述のような次回
のキー走査が行われ、以下同様に、キー走査及び
ステータスとキーコードの出力が繰返し行われ
る。
Now, the first register 24 and the second register 25
As a result of comparing all words of
is not stored, that is, when a new key press state or a new key release state has not occurred,
The output register 28 outputs a key code to be supplied to the digital-to-analog conversion circuit 5 in FIG. 1, and a status to be supplied to the multiplexer 11 through the status supply line 10. Further, the address of the fourth register 27 is supplied from the processor 23 to the multiplexers 6 and 11. Subsequently, the next key scan as described above is performed again, and the key scan and output of the status and key code are repeated in the same manner.

この実施例では第4図レジスタ27の第0ビツ
ト位置はシンセサイザモデユールの発音状態を示
す主ステータスに割当てられ、発音状態が論理
「1」で表わされる。更に、第4レジスタ27の
第1ビツト位置はキーの押鍵状態、即ち、シンセ
サイザモデユールの捕捉状態を示す副ステータス
に割当てられ、捕捉状態が論理「1」、即ち、キ
ーの離鍵状態が論理「0」で表わされる。
In this embodiment, the 0th bit position of the register 27 in FIG. 4 is assigned to the main status indicating the sound generation state of the synthesizer model, and the sound generation state is represented by a logic "1". Further, the first bit position of the fourth register 27 is assigned to a sub-status that indicates the pressed state of the key, that is, the captured state of the synthesizer model. Represented by a logic "0".

また、第2乃至第7ビツト位置がキーコードの
記憶のために割当てられている。該キーコード
は、第1レジスタ24において0番地に記憶され
るワードの第0ビツト位置から7番地に記憶され
るワードの第7ビツト位置まで順次に配列された
64の音名の配列順位を2進数で表示したものであ
る。
Additionally, the second through seventh bit positions are allocated for storing key codes. The key codes are arranged sequentially in the first register 24 from the 0th bit position of the word stored at address 0 to the 7th bit position of the word stored at address 7.
This is a binary representation of the arrangement order of the 64 note names.

例えば、E1は第1ワードの第4ビツト位置で
あるから「100」、G#は第2ワードの第1ビツ
ト位置、即ち第8ビツト位置であるから
「1000」、また、B1は第11ビツト位置であるから
「1011」、で表わされる。
For example, E1 is the fourth bit position of the first word, so it is "100";G# 1 is the first bit position of the second word, that is, the eighth bit position, so it is "1000"; and B1 is Since it is the 11th bit position, it is expressed as "1011".

いま、前述のようにE1、G#及びB1楽音を
発音するためのキーのみが継続的に押鍵状態にな
つてる場合には、例えば、第4レジスタ27の0
番地にはシンセサイザモデユールの発音、捕捉状
態を示すステータス「11」、E1の楽音を示すキー
コード「100」、1番地にはステータス「11」、G
#の楽音を示すキーコード「1000」、また、2
番地にはステータス「11」、B1の楽音を示すキー
コード「1011」が記憶され、しかも、他の番地で
は動作開始前にクリアーされているために、すべ
てのステータスが論理「00」である。
Now, as mentioned above, if only the keys for producing musical tones E 1 , G# 1 and B 1 are kept in the pressed state, for example, 0 of the fourth register 27
The address indicates the sound of the synthesizer model, the status "11" indicates the capture state, the key code "100" indicates the musical tone of E 1 , the status "11" indicates the G
# The key code “1000” indicating the musical note 1 , and the key code “1000” indicating the musical tone 1.
The address stores the status ``11'' and the key code ``1011,'' which indicates the musical tone of B 1 , and all the statuses are logical ``00'' because they are cleared before operation starts at other addresses. .

第4レジスタ27に記憶されたこのようなステ
ータスとキーコードはプロセツサ23を介して0
番地から7番地まで順次に出力レジスタ28を経
由して転送され出力される。このとき、プロセツ
サ23内に設けられた第4レジスタのアドレスカ
ウンタ(図示せず)の内容も付随して出力され
る。即ち、出力レジスタ28に転送されたステー
タスとキーコードが記憶されていた第4レジスタ
27のアドレスが2進表示でもつて出力される。
この実施例では、シンセサイザモデユール8の数
が8個であるために第4レジスタ27も8個のア
ドレスを使用している。
These statuses and key codes stored in the fourth register 27 are processed by the processor 23.
The data from address to address 7 are sequentially transferred via the output register 28 and output. At this time, the contents of the address counter (not shown) of the fourth register provided in the processor 23 are also output. That is, the address of the fourth register 27 where the status and key code transferred to the output register 28 were stored is also output in binary representation.
In this embodiment, since the number of synthesizer models 8 is eight, the fourth register 27 also uses eight addresses.

さて、今度は第4図Bを参照しつつ、前述のよ
うに、E1、G#及びB1の楽音を発音するため
のキーのみが押鍵状態になつてるときに、一例と
して、G#及びB1の楽音を発音するためのキ
ーを離鍵状態に移行させ、更に、D1の楽音を発
音するためのキーを押鍵状態に移行させた場合の
動作について説明する。
Now, referring to FIG. 4B, as mentioned above, when only the keys for producing musical tones E 1 , G# 1 and B 1 are in the depressed state, as an example, when G The operation when the keys for producing the musical tones # 1 and B1 are shifted to the released state, and the key for producing the musical tone D1 is further shifted to the pressed state.

先ず、前述のような1回のキー走査によつて、
更新された第1レジスタ24の記憶内容は第4図
Bにおいてa乃至dに示すようにE1が継続的に
押鍵状態であるために論理「1」、G#とB1
離鍵状態となるために論理「0」、そしてD1が新
たに押鍵状態となるために論理「1」となる。一
方、第2レジスタ25には前回の走査時点におけ
る各キーの状態が記憶されており、同図e乃至g
に示すようにE1、G#及びB1が押鍵状態であ
つたために論理「1」となつている。いま、第1
レジスタ24の0番地のワードと第2レジスタ2
5の0番地のワードとの排他的論理和を求めると
「00100000」となり、D1を割当てた第2ビツト位
置に状態変化があつたことが検知される。これを
第3レジスタ26に転送し、同図hに示すように
該レジスタの第2ビツト位置に論理「1」を記憶
させる。次に、第2レジスタ25の0番地のワー
ドを第1レジスタ24の0番地のワードでもつて
置き換えると、第2レジスタ25の第1ワードは
同図において、d′に示すように第2ビツト位置が
論理「1」となる。以下同様に第1レジスタ24
の1番地のワードと第2レジスタ25の1番地の
ワードとの排他的論理和を求めると「10010000」
となりG#及びB1を割当てた第0及び第3ビ
ツト位置に状態変化があつたことが検知される。
前記排他的論理和「10010000」と第2レジスタ2
6に第1及び第2レジスタ24,25の0番地の
ワードの処理によつて記憶された「00100000」と
の論理和を第3レジスタに記憶させると同図h,
i及びjに示すように第0、第2及び第3ビツト
位置が論理「1」となる。続いて、第2レジスタ
25の1番地のワードを第1レジスタ24の1番
地のワードでもつて置き換えると、同図において
f′及びg′に示すビツト位置が論理「0」となる。
First, by one key scan as described above,
The updated memory content of the first register 24 is a logic " 1 " because E1 is continuously pressed, and G# 1 and B1 are released, as shown in a to d in FIG. 4B. It becomes logic "0" because it is in the state, and becomes logic "1" because D1 is newly brought into the key pressed state. On the other hand, the second register 25 stores the state of each key at the time of the previous scan.
As shown in the figure, E 1 , G# 1 and B 1 are in the depressed state, so the logic is "1". Now, the first
Word at address 0 of register 24 and second register 2
5 and the word at address 0 yields "00100000", and it is detected that a state change has occurred at the second bit position to which D1 is assigned. This is transferred to the third register 26, and a logic "1" is stored in the second bit position of the register as shown in FIG. Next, if the word at address 0 of the second register 25 is replaced with the word at address 0 of the first register 24, the first word of the second register 25 will be placed at the second bit position as shown at d' in the figure. becomes logical "1". Similarly, the first register 24
The exclusive OR of the word at address 1 of the second register 25 and the word at address 1 of the second register 25 is "10010000".
Therefore, it is detected that a state change has occurred at the 0th and 3rd bit positions to which G# 1 and B1 are assigned.
The exclusive OR "10010000" and the second register 2
6 and "00100000" stored by processing the word at address 0 of the first and second registers 24 and 25 is stored in the third register, h,
As shown in i and j, the 0th, 2nd and 3rd bit positions become logic "1". Next, when the word at address 1 of the second register 25 is replaced with the word at address 1 of the first register 24, the result in the same figure is
The bit positions indicated by f' and g' become logic "0".

このような処理を第1及び第2レジスタ24,
25のすべてのアドレスについて順次に行うこと
によつて鍵盤を構成すべてのキーのうちいずれか
一つ以上に状態変化が発生したことを第3レジス
タ26に記憶された一つ以上の論理「1」の存在
によつて検知することができる。
Such processing is performed by the first and second registers 24,
One or more logical "1"s stored in the third register 26 indicate that a state change has occurred in one or more of all the keys constituting the keyboard by sequentially processing all 25 addresses. can be detected by the presence of

さて、キーの状態変化を検知したときには、プ
ロセツサ23は前述したようなステータスとキー
コードの出力及びそれに続く次回のキー走査を行
うことなく、以下に、第5図を参照しつつ説明す
る離鍵処理を行う。
Now, when a change in the state of a key is detected, the processor 23 does not output the status and key code as described above and performs the next key scan, but performs the key release process described below with reference to FIG. Perform processing.

先ず、第4レジスタ27において、副ステータ
スが論理「1」のワード、即ち、押鍵状態にある
キーを示すキーコードを含むワードをプロセツサ
23に転送し、該キーコードを第1レジスタ24
のワード及びビツト位置に変換する。このような
変換をこの明細書では、逆変換と呼ぶ。
First, in the fourth register 27, a word whose sub-status is logic "1", that is, a word containing a key code indicating a pressed key, is transferred to the processor 23, and the key code is transferred to the first register 24.
Convert to word and bit positions. Such a transformation is referred to as an inverse transformation in this specification.

いままで、E1、G#及びB1の楽音を発音す
るためのキーが継続的に押鍵状態になつていたの
であるから、前述のように、第4レジスタ27の
0乃至2番地にそれぞれE1、G#及びB1を示
すキーコードと押鍵状態を示すステータス「11」
が記憶されている。ここでは動作開始直後の動作
について説明しているが、後述するように、一般
的には該キーコードとステータスが0乃至2番地
に割当てられる必然性はない。
Up until now, the keys for producing musical tones E 1 , G# 1 and B 1 have been kept pressed, so as mentioned above, the keys for producing the musical tones E 1 , G# 1 and B 1 have been pressed continuously. Key codes indicating E 1 , G# 1 , and B 1, respectively, and status "11" indicating key press status
is memorized. Although the operation immediately after the start of operation is described here, as will be described later, there is generally no necessity for the key code and status to be assigned to addresses 0 to 2.

先ず、第4レジスタ27の0番地のワードをプ
ロセツサ23を通じて逆変換すると、第5図Aに
おいてaに示すような第1レジスタ24における
0番地のワードの第4番目のビツト位置との対応
を求めることができる。そこで、第1レジスタに
おけるこのビツト位置が同図においてaに示すよ
うに論理「1」である場合にはこれを消去して同
図においてa′に示すように該ビツト位置に論理
「0」を記憶させる。
First, when the word at address 0 in the fourth register 27 is inversely converted through the processor 23, the correspondence with the fourth bit position of the word at address 0 in the first register 24 is determined as shown in a in FIG. 5A. be able to. Therefore, if this bit position in the first register is a logic ``1'' as shown in a in the figure, it is erased and a logic ``0'' is written in the bit position as shown in a' in the figure. Make me remember.

次に、第4レジスタ27の1番地のワードを逆
変換して第1レジスタ24の1番地のワードの第
0ビツト位置との対応を求めると第4図Bを参照
して説明したように新しいキー操作の結果、G1
の楽音を発音するためのキーは離鍵状態となつて
いるために、第5図Aにおいてbに示すように該
ビツト位置には論理「0」が記憶されている。こ
のような場合にはプロセツサ23を介して第5図
Aにおいてcに示すように該ビツト位置に対応す
るキーコードを含む第4レジスタ27の1番地の
ワード中の押鍵状態を示す副ステータスを消去し
て、代りに離鍵状態を示す副ステータス即ち論理
「0」を記憶させる。同様に、第4レジスタ27
の2番地のキーコードを逆変換すると、同図dに
示すように第1レジスタ24の対応するビツト位
置が論理「0」であるために、同図eに示すよう
に第4レジスタ27の2番地の副ステータスを論
理「0」とする。このような処理を第4レジスタ
27において副ステータスが論理「1」であるす
べてのワードについて実行すると、第1レジスタ
24において、継続的に押鍵状態となつているキ
ーに対応するビツト位置に論理「1」が記憶さ
れ、かつ、第4レジスタ27において押鍵状態か
ら離鍵状態に変化したキーの状態を示す副ステー
タスとして論理「0」が記憶されるために、結局
同図fに示すように新たに押鍵状態となつたキー
に対応する第1レジスタ24のビツト位置に記憶
された論理「1」のみが同図f′に示すように上記
処理後の第1レジスタ24に残留する。したがつ
て、上記のような処理の後、第1レジスタ24に
おける論理「1」の残留によつて新たな押鍵状態
の発生を検知することができるとともに、新たに
離鍵状態となつたキーについての第4レジスタの
副ステータスを論理「0」にすることによつてシ
ンセサイザモデユールを解放することができる。
このとき、副ステータスが論理「0」になつても
同一ワード内のキーコードは、再度このワードが
記憶されているアドレスに対応するシンセサイザ
モデユールを捕捉すべく同一若しくは別異のキー
コード及び押鍵状態を示す副ステータスが同一ア
ドレスに記憶されるまで残留する。
Next, when the word at address 1 of the fourth register 27 is inversely transformed to find the correspondence with the 0th bit position of the word at address 1 of the first register 24, a new As a result of key operation, G 1
Since the key for producing the musical tone is in the released state, a logic "0" is stored in the bit position as shown at b in FIG. 5A. In such a case, the processor 23 outputs the sub-status indicating the key press state in the word at address 1 of the fourth register 27, which includes the key code corresponding to the bit position, as shown in c in FIG. 5A. It is deleted, and a sub-status indicating the key release state, that is, logic "0" is stored instead. Similarly, the fourth register 27
When the key code at the 2nd address of The sub-status of the address is set to logic "0". When such processing is executed for all words whose sub-status is logical "1" in the fourth register 27, a logic value is set in the bit position corresponding to the key that is continuously pressed in the first register 24. ``1'' is stored, and a logical ``0'' is stored in the fourth register 27 as the sub-status indicating the state of the key that has changed from the key-pressed state to the key-released state. Only the logic "1" stored in the bit position of the first register 24 corresponding to the key that is newly depressed remains in the first register 24 after the above processing, as shown in FIG. Therefore, after the above-described processing, the occurrence of a new key press state can be detected by the logic "1" remaining in the first register 24, and the occurrence of a new key press state can be detected. The synthesizer module can be released by setting the sub-status of the fourth register to logic "0".
At this time, even if the sub-status becomes logic "0", the key code in the same word will be replaced by the same or different key code and press in order to capture the synthesizer model corresponding to the address where this word is stored again. It remains until the sub-status indicating the key status is stored at the same address.

更に、第5図B及びCを参照しつつ、前記逆変
換処理のための好ましい実施態様について説明す
る。
Further, a preferred embodiment for the inverse transformation process will be described with reference to FIGS. 5B and 5C.

同図Bにおいて29及び30は一組のテーブル
であつて、読出し専用記憶装置でもつて構成され
る。
In FIG. 2B, 29 and 30 are a set of tables, which are also comprised of a read-only storage device.

いま、例えば、第4レジスタ27の0番地に記
憶されているE1を示すキーコードを逆変換する
場合には、該キーコードの第2乃至第4ビツト位
置をプロセツサ23に転送し、該キーコードの3
ビツトが示す第1レジスタ24のアドレス、即
ち、0番地に記憶されているワードを該プロセツ
サに読み出す。次に、第4レジスタ27の0番地
に記憶されているキーコードの第5乃至第7ビツ
ト位置をプロセツサ23に転送し、該キーコード
の3ビツトが示すコード、即ち、「100」と同一の
コードをテーブル29上に求めて第5図Bにおい
てaに示すテーブル29のコードから同図bに示
すテーブル30上の対応コードを索引する。
Now, for example, when inversely converting a key code indicating E1 stored at address 0 of the fourth register 27, the second to fourth bit positions of the key code are transferred to the processor 23, and the key code is code 3
The address of the first register 24 indicated by the bit, ie, the word stored at address 0, is read out to the processor. Next, the 5th to 7th bit positions of the key code stored at address 0 of the fourth register 27 are transferred to the processor 23, and the code indicated by the 3 bits of the key code, that is, the same as "100" is transferred. The code is found on the table 29, and the corresponding code on the table 30 shown in FIG. 5B is indexed from the code in the table 29 shown in a in FIG. 5B.

続いて第5図Cに示すように第5図Bにおいて
bに示すコードとすでに読み出されている第1レ
ジスタ24の0番地のワードと排他的論理和を求
めると第5図Cにおいてa及びbで示す相対する
第4ビツト位置が共に論理「1」であるために、
該ビツト位置が論理「0」となる。これを第1レ
ジスタ24の0番地に記憶すると、同図b′に示す
ように第1レジスタ24における0番地のワード
の第4ビツト位置、即ち、第4レジスタ27の0
番地のキーコードが示すキーの状態を記憶するた
めに割当てられたビツト位置が論理「0」とな
る。このようにして、第5図Aにおいて第1レジ
スタ24′の各ビツト位置の記憶内容が定められ
る。
Next, as shown in FIG. 5C, when the exclusive OR is calculated between the code shown in b in FIG. 5B and the word at address 0 of the first register 24 that has already been read, Since the opposing fourth bit positions indicated by b are both logic "1",
The bit position becomes logic "0". When this is stored at address 0 of the first register 24, the fourth bit position of the word at address 0 in the first register 24, that is, 0 of the fourth register 27, is stored as shown in FIG.
The bit position assigned to store the state of the key indicated by the key code of the address becomes logic "0". In this way, the storage contents of each bit position of the first register 24' in FIG. 5A are determined.

次に、第5図Dを参照しつつ、押鍵状態となつ
たキーに対応するキーコードと該キーが押鍵状態
であることを示す副ステータスを第4レジスタ2
7において最も古く解放されたシンセサイザモデ
ユールに対応するアドレスに割当てるために必要
な離鍵状態の発生順序を記憶させる処理について
説明する。
Next, while referring to FIG.
7, the process of storing the order of occurrence of key release states necessary for assigning to the address corresponding to the oldest released synthesizer model will be explained.

同図において、31は第5レジスタであつて8
個のアドレスのそれぞれに3ビツトで構成される
第7レジスタ27のアドレスが記憶される。この
レジスタはシステム全体の動作開始前にあらかじ
め0番地に「000」、1番地に「001」のように自
己のアドレスと同一の数値を記憶させている。3
2は第6レジスタであつて、そのA部及びB部は
8進カウンタ、また、C部は2進のカウンタで構
成されていて、動作開始前には、A及びB部には
論理「0」を、また、C部には論理「1」を記憶
させている。また、第5図Aを参照して説明した
ように、第4レジスタ27の1番地及び2番地に
ついて離鍵処理が行われる場合には、第5図Dに
おいてaに示すように先ず、該レジスタの1番地
の副ステータスを論理「0」にするとともに、該
番地を示す2進数「001」をプロセツサ23に転
送し、更に、これを同図においてbに示すように
第6レジスタ32のA部の内容「000」、即ち0が
示す第5レジスタ31のアドレス、即ち、0番地
に転送する。この処理が終了すると同図32′に
示すように第6レジスタ32のA部の内容に1を
加算する。同様に第5図Dにおいてcに示すよう
に第4レジスタ27の2番地の副ステータスが論
理「0」になると、該アドレスを示す2進数
「010」、即ち2が第5レジスタ31の1番地に記
憶される。
In the figure, 31 is the fifth register and 8
The address of the seventh register 27 consisting of 3 bits is stored in each of the addresses. This register stores the same numerical value as its own address, such as "000" at address 0 and "001" at address 1, before the entire system starts operating. 3
2 is the sixth register, of which the A and B parts are octal counters, and the C part is a binary counter. Before the start of operation, the A and B parts are set to logic "0" ” and a logic “1” is stored in the C section. Further, as explained with reference to FIG. 5A, when the key release process is performed for addresses 1 and 2 of the fourth register 27, first, as shown in a in FIG. It sets the sub-status of address 1 to logic "0" and transfers the binary number "001" indicating the address to the processor 23, and then transfers this to the A section of the sixth register 32 as shown in b in the figure. It is transferred to the address of the fifth register 31 indicated by the content "000", that is, 0, that is, address 0. When this process is completed, 1 is added to the contents of section A of the sixth register 32, as shown in FIG. 32'. Similarly, when the sub-status at address 2 of the fourth register 27 becomes logic "0" as shown in c in FIG. is memorized.

このようにしてキーの離鍵状態を示す副ステー
タスを記憶した第4レジスタ27のアドレスを離
鍵状態が発生した順序に従つて第5レジスタ31
に記憶させることができる。したがつて第5レジ
スタ31の循環的により小さい数値の番地にはよ
り古く離鍵状態になつたキーを示キーコード及び
その副ステータスが記憶されている第4レジスタ
27のアドレスが記憶される。
In this way, the address of the fourth register 27 that stores the sub-status indicating the key release state is transferred to the fifth register 31 in the order in which the key release state occurs.
can be memorized. Therefore, the address of the fourth register 27, which stores the key code indicating the key that was released earlier and its sub-status, is stored in the address of the fifth register 31 having a cyclically smaller numerical value.

なお、ここで「循環的により小さい数値の番
地」とは、以下のような場合を含めるという意味
である。例えば、1音分を残して7個のシンセサ
イザモデユールが捕捉され、そのうち2個が解放
される場合には、第5レジスタの0番地と1番地
に該2個のモデユールが発音していた楽音に対応
するキーコードが記憶されている第4レジスタの
それぞれのアドレスが記憶されるが、該2個のア
ドレスに対応するモデユールよりも第5レジスタ
の7番地に残してある第4レジスタのアドレスに
対応するモデユールがより古く解放されたもので
ある。
Note that "addresses with cyclically smaller numerical values" herein include the following cases. For example, if seven synthesizer models are captured with one note left, and two of them are released, the musical tones produced by those two models will be stored at addresses 0 and 1 of the fifth register. The addresses of the fourth register where the key codes corresponding to the key codes are stored are stored, but the address of the fourth register left at address 7 of the fifth register is more important than the model corresponding to the two addresses. The corresponding model is older and released.

即ち、実際にはより大きい数値のアドレスであ
つても、循環的アドレス配列を考慮すると、「よ
り小さい」アドレスに割当てられたものであると
理解することができる。
That is, even if the address is actually a larger number, it can be understood that it is assigned to a "smaller" address when considering the cyclic address arrangement.

次に、第6図を参照しつつ、第5図Aにおいて
f′に示すように第1レジスタ24に残留した押鍵
状態を示す論理「1」を第4レジスタ27に記憶
させて、シンセサイザモデユールを捕捉するため
の押鍵処理手段について説明する。
Next, referring to FIG. 6, in FIG. 5A,
A key depression processing means for capturing a synthesizer model by storing a logic "1" indicating the key depression state remaining in the first register 24 in the fourth register 27 as shown in f' will be described.

同図においてaに示すように第1レジスタ24
に残留する論理「1」を検出するために、0番地
から7番地までのワードを順次にプロセツサ23
に転送する。例えば、最初に0番地のワードの第
2ビツト位置に残留する論理「1」を検知して、
このビツト位置に対応するキーの音名を示すキー
コードを作成する。例えば0番地のワードの第2
ビツト位置は音名D1に対応しており、対応する
キーコードは「000010」である。続いて、第6図
においてbに示すように第6レジスタ32のB部
の内容、即ち、数値3に等しい第5レジスタ31
のアドレス、即ち、3番地に記憶されている内
容、即ち、「011」で示される第4レジスタ27の
アドレス、即ち、3番地に該音名D1に対応する
キーコード「000010」及び押鍵状態を示すステー
タス「11」を記憶させる。このとき第6レジスタ
32のB部が「011」、即ち、数値3となつている
のはすでに、前回の動作によつてE1、G#
B1なる3個の楽音を発音するために、3個のシ
ンセサイザモデユールが捕捉されている状態にあ
るからである。
As shown in a in the figure, the first register 24
In order to detect the logic "1" remaining in the processor 23, the words from address 0 to address 7 are sequentially processed.
Transfer to. For example, by first detecting a logic "1" remaining in the second bit position of the word at address 0,
Create a key code that indicates the note name of the key corresponding to this bit position. For example, the second word of address 0
The bit position corresponds to the pitch name D1 , and the corresponding key code is "000010". Subsequently, as shown in b in FIG.
, i.e., the content stored at address 3, the address of the fourth register 27 indicated by "011", i.e., the key code "000010" corresponding to the pitch name D 1 and the pressed key at address 3. The status "11" indicating the state is memorized. At this time, the B part of the sixth register 32 is "011", that is, the number 3, because it has already been set to E 1 , G# 1 , and 3 due to the previous operation.
This is because three synthesizer models are being captured in order to produce the three musical tones B1 .

第5図Dを参照して説明したように第5レジス
タ31の3番地の内容「011」は最も古く離鍵状
態となつた副ステータスを記憶している第4レジ
スタ27のアドレス、即ち、3番地に等しいので
ある。
As explained with reference to FIG. 5D, the content "011" at address 3 of the fifth register 31 is the address of the fourth register 27 that stores the sub-status in which the key was released the earliest, that is, 3. It is equivalent to a street address.

但し、上記の説明は動作開始直後の動作に関す
るものであるから、第5レジスタ31の3番地は
単に第4レジスタ27の3番地を示しているに過
ぎないが、捕捉及び解放が一巡した後には第5レ
ジスタ31の3番地の内容は最も古く解放された
シンセサイザモデユールに対応する第4レジスタ
27のアドレスを示すことになる。
However, since the above explanation relates to the operation immediately after the start of the operation, address 3 of the fifth register 31 simply indicates address 3 of the fourth register 27, but after one cycle of capture and release, The contents of address 3 of the fifth register 31 indicate the address of the fourth register 27 corresponding to the oldest released synthesizer model.

更に、上記説明の動作段階では第4レジスタ2
7の3番地から7番地までの内容は全く同等に古
く解放されたモデユールに対応し、0番地の内容
に捕捉されているモデユール、また、1番地及び
2番地の内容は最も新しく解放されたばかりで新
たな捕捉には適さない状態にあるモデユールに対
応する。
Furthermore, in the operation stage described above, the fourth register 2
The contents from addresses 3 to 7 of 7 correspond to the model modules that have been released in exactly the same way, and the contents of addresses 1 and 2 correspond to the model modules that have been released most recently. Accommodates models that are in a state unsuitable for new acquisition.

したがつて、上記の処理手段によつて最も古く
解放されたシンセサイザモデユールに対応する第
4レジスタ27のアドレスに対して新たに押鍵状
態になつたキーに対応するキーコードと該キーが
押鍵状態であることを示すステータスを割当てる
ことができる。
Therefore, the key code corresponding to the key that is newly pressed and the key pressed are stored in the address of the fourth register 27 corresponding to the oldest released synthesizer model by the above-mentioned processing means. A status can be assigned to indicate the key state.

更に、上記割当てが実行される度に、同図にお
いてcに示すように第6レジスタ32のB部の内
容に1を加算する。したがつて、次に、押鍵状態
を示すステータスが記憶されるべき第4レジスタ
27のアドレスは3番地に次いで古く離鍵状態を
示すステータスを記憶した4番地である。
Furthermore, each time the above allocation is executed, 1 is added to the contents of the B portion of the sixth register 32, as shown in c in the figure. Therefore, next, the address of the fourth register 27 where the status indicating the key pressed state is to be stored is address 4, which is the second oldest after address 3 and stores the status indicating the key released state.

続いて、第7図を参照しつつ楽音可能数を算出
する手段について説明する。楽音可能数とは最大
楽音数から捕捉されているシンセサイザモデユー
ルの数を引いて得られる数をいう。最大楽音数と
は装備されているシンセサイザモデユールの数を
いう。
Next, a means for calculating the number of possible musical tones will be explained with reference to FIG. The number of possible musical tones is the number obtained by subtracting the number of captured synthesizer models from the maximum number of musical tones. The maximum number of musical tones refers to the number of synthesizer models that are equipped.

第5図Dを参照して説明したように、離鍵処理
を実行する度に、第6レジスタ32のA部の内容
に1を加算し、また、第6図を参照して説明した
ように、押鍵状態を実行する度に第6レジスタ3
2のB部の内容に1を加算する。ここでは説明の
便宜のために、第6レジスタ32のA及びB部の
内容を1ビツト毎に増減する棒グラフで表示す
る。いま、第7図Aに示すように4個の楽音を発
音するために4個のシンセサイザモデユールが捕
捉された後、すべてのキーが離された場合には離
鍵処理の実行に伴つてA部の内容が増大し、例え
ば離鍵処理が4回実行され、A部の内容は、第7
図Aにおいてaに示すような位置を占める。一
方、B部の内容は、前回の捕捉に際しての同図に
おいてbに示すような位置を占めているので、B
部の内容が同図中矢印に沿つて増大し一巡するま
で、即ち、更に8回の押鍵処理を実行する余地が
ある。このような状態では第6レジスタ32の各
部の内容は同図A′に示すようになる。
As explained with reference to FIG. 5D, each time a key release process is executed, 1 is added to the contents of part A of the sixth register 32, and as explained with reference to FIG. , the sixth register 3 every time the key press state is executed.
Add 1 to the contents of part B of 2. Here, for convenience of explanation, the contents of portions A and B of the sixth register 32 are displayed as a bar graph that increases or decreases bit by bit. Now, as shown in FIG. 7A, if all keys are released after four synthesizer models are captured to produce four musical tones, A The content of part A increases, for example, the key release process is executed four times, and the content of part A increases until the seventh
It occupies the position shown at a in Figure A. On the other hand, the contents of part B occupy the position shown in b in the same figure at the time of the previous acquisition, so
There is room for the contents of the section to increase along the arrows in the figure until it completes one cycle, that is, to execute the key press process eight more times. In this state, the contents of each part of the sixth register 32 are as shown in A' of the same figure.

次に、その状態より順次捕捉が行われ、押鍵処
理の実行回数が増大して最大楽音数をモデユロと
するカウンタで構成されるB部に桁上が発生し、
一巡して第7図Bにおいてcに示すような位置を
占めている場合、即ち、すべてのモデユールが捕
捉された場合には、もはや押鍵処理を実行する余
地はない。これを前記第7図Aに示す状態と区別
するためにB部に桁上が発生したときにC部の内
容を反転させる。このような状態では第6レジス
タ32の各部の内容は同図B′に示すようになる。
今度は、逆に、その状態より、順次に解放が行わ
れて、すべてのキーが離されると、A部に桁上が
発生している場合には、B部の内容は第7図Cに
示すように矢印に沿つて増大して一巡するまで押
鍵処理を実行することができる。この状態を前記
第7図Bに示す状態と区別するためにA部の内容
に桁上が発生したときにC部の内容を再度反転さ
せる。このような状態では第6レジスタ32の内
容は同図C′に示すようになる。前記動作におい
て離鍵の発生数が押鍵の発生数よりも大きいとい
うことはあり得ないことであるから、必ずB部の
内容の桁上がA部の内部の桁上に先行する。
Next, capture is performed sequentially from that state, and the number of executions of key press processing increases, and a carry occurs in part B, which is composed of a counter whose modulus is the maximum number of musical tones.
When the position shown in c in FIG. 7B is reached after completing one cycle, that is, when all the models have been captured, there is no longer any room for key press processing. In order to distinguish this from the state shown in FIG. 7A, when a carry occurs in section B, the contents of section C are inverted. In this state, the contents of each part of the sixth register 32 become as shown in FIG. B'.
This time, on the contrary, when all the keys are released in sequence from that state and a carry has occurred in part A, the contents of part B will be as shown in Figure 7C. As shown, the key press processing can be executed in an increasing manner along the arrow until it completes one cycle. In order to distinguish this state from the state shown in FIG. 7B, when a carry occurs in the contents of section A, the contents of section C are inverted again. In this state, the contents of the sixth register 32 become as shown in C' of the same figure. Since it is impossible for the number of key releases to be greater than the number of key presses in the above operation, the carry in the contents of part B always precedes the carry in the contents of part A.

結局、上記のように作動するカウンタで構成さ
れる第6レジスタ32を設けて、A部の内容から
B部の内容を引いて得られる数値にC部の内容に
最大発音数Nを乗じた数を加算することによつて
楽音可能数を算出することができる。このような
算出方法を採用することによつて、他の方法、例
えば、第4レジスタ27の副ステータスが論理
「0」であるものを検出して計数するような方法
に比し、短時間に処理を行うことができる。上記
のようにして楽音可能数を算出し、これを図示し
ないカウンタに転送し、第4レジスタ27に対す
る押鍵状態を示すステータス及び該押鍵状態に係
るキーコードの割当てが1回実行される度に、該
カウンタの内容から1を減じて行き、該カウンタ
の内容で示される発音可能数が0になつたことを
検知したときに、前記割当てを停止させる。即
ち、すべてのシンセサイザモデユールが捕捉され
ているとき、若しくは捕捉されたときには新たな
捕捉は行われない。
In the end, a sixth register 32 consisting of a counter that operates as described above is provided, and the value obtained by subtracting the content of part B from the content of part A is multiplied by the content of part C by the maximum number of sounds N. The number of possible musical tones can be calculated by adding . By adopting such a calculation method, compared to other methods, for example, a method that detects and counts when the sub-status of the fourth register 27 is logic "0", it can be calculated in a shorter time. can be processed. The number of possible musical tones is calculated as described above, and this is transferred to a counter (not shown), and each time the assignment of the status indicating the key depression state and the key code related to the key depression state to the fourth register 27 is executed once. Then, 1 is subtracted from the contents of the counter, and when it is detected that the number of possible sounds indicated by the contents of the counter becomes 0, the allocation is stopped. That is, no new acquisitions are made when all synthesizer models have been acquired or have been acquired.

さて、続いて第8図を参照しつつ、主ステータ
ス及び副ステータスの処理について説明する。同
図において、33はペダル状態信号入力レジス
タ、34はペダルの状態を記憶するための第7レ
ジスタであつて、それぞれ、プロセツサ23の共
通入力線に接続される。
Now, with reference to FIG. 8, processing of the main status and sub-status will be explained. In the figure, 33 is a pedal status signal input register, and 34 is a seventh register for storing the pedal status, each of which is connected to a common input line of the processor 23.

いま、例えば、G#が発音中であるために、
第4レジスタ27のステータスは第8図Aにおい
てaに示すように論理「11」になつている。押鍵
処理が終了すると、先ず、第8図Aにおいてbに
示すように、第7レジスタ34に論理「1」を記
憶させ、次に、ペダル状態信号をペダル状態信号
用入力レジスタ33を通じてプロセツサ23に読
み込ませる。いま、ペダルが踏まれている状態に
ある場合において、G#に対応するキーが離鍵
状態になると、第5図を参照して説明した離鍵処
理が副ステータスについて行われ、第4レジスタ
のステータスは第8図Aにおいてcに示すように
論理「10」に強制的に設定変更される。ペダルが
踏まれていない状態にある場合の離鍵処理を説明
するために参照した第5図Aにおいてcに示すス
テータスは論理「00」であつた。
For example, because G# 1 is currently being pronounced,
The status of the fourth register 27 is at logic "11" as shown at a in FIG. 8A. When the key press processing is completed, first, as shown in b in FIG. Load it into When the pedal is currently depressed and the key corresponding to G# 1 is released, the key release process described with reference to FIG. 5 is performed for the sub-status, and the fourth register is The status of is forcibly set to logic "10" as shown in c in FIG. 8A. The status shown at c in FIG. 5A referred to to explain the key release process when the pedal is not depressed is logic "00".

さて、前述のようにペダルが踏まれている状態
である場合には、第8図Aにおいてdに示すよう
な踏まれている状態を示すペダル状態信号、論理
「1」をペダル状態信号用入力レジスタ33を通
じてプロセツサ23に読み込ませて、これを判定
し、ペダルに対する状態処理を行うことなく、直
ちに第4レジスタ27に記憶されているすべての
キーコード及びキーとペダルの状態を示す主副ス
テータスを出力用レジスタ28から出力させる。
Now, when the pedal is in the depressed state as described above, the pedal state signal indicating the depressed state as shown in d in FIG. 8A, logic "1" is input for the pedal state signal. The processor 23 reads this through the register 33, judges this, and immediately displays all the key codes stored in the fourth register 27 and the main/sub status indicating the states of the keys and pedals without performing any state processing on the pedals. It is output from the output register 28.

前記のペダルが踏まれている状態にある場合に
離鍵状態に移行したG#のキーに関しては第8
図Aにおいてcに示すように主ステータスの論理
「1」が出力されるために対応するシンセサイザ
モデユールは発音を継続する。しかし、第5図を
参照して説明した離鍵処理に関しては副ステータ
スが論理「0」であるために、すでに解放された
ものとして処理される。したがつて対応するモデ
ユールは発音中であるにもかかわらず再度の捕捉
が可能な状態にある。
Regarding the G# 1 key, which was released while the aforementioned pedal was in the depressed state, the 8th
As shown at c in FIG. A, the main status logic "1" is output, so the corresponding synthesizer model continues to produce sound. However, regarding the key release process described with reference to FIG. 5, since the sub-status is logic "0", it is processed as having already been released. Therefore, the corresponding model is in a state where it can be captured again even though it is currently being sounded.

この状態においてペダルを踏まれていない状態
に移行させると、先ず、踏まれていない状態を示
すペダル状態信号がペダル状態信号用入力レジス
タ33に印加され、第8図Aにおいてeに示すよ
うに該レジスタに踏まれていない状態を示すステ
ータスとして論理「0」が記憶される。次に、こ
のステータスをプロセツサ23に転送しこれを判
定する。前述のように判定結果が踏まれていない
状態である場合には更に、第7レジスタ34の内
容を判定する。この場合、前述したように該レジ
スタには論理「1」が記憶されているために、先
ず同図b′に示すように、該レジスタの内容を論理
「0」にリセツトするとともに、同図fに示すよ
うに第4レジスタのステータス「10」を「00」に
強制的に設定変更する。同様の処理を第4レジス
タ27のすべてのアドレスについて順次に実行し
た後、第4レジスタの内容を出力レジスタ28を
通じて順次に出力し、次回のキー走査に移行す
る。もしも、次回のキー走査においてキーの状態
変化が発生しない場合には、離鍵処理、発音可能
数の算出、押鍵処理及び第7レジスタに対する論
理「1」の書き込みを行うことなく、直ちに、前
記ペダルに対する状態処理が実行される。しか
し、前回のペダルに対する状態処理によつて第7
レジスタの内容は同図b′に示すように、論理
「0」にリセツトされているために、第7レジス
タ34の判定結果が逆になり、今度は第4レジス
タ27のステータスを「10」から「00」に変換す
る処理を行うことなく、直ちに第7レジスタの内
容を順次に出力する。このように、キーの状態変
化を処理した直後に第7レジスタ34に論理
「1」を記憶し、次に、ペダルの状態を判定し、
ペダルが踏まれていない状態にあるとき、更に第
7レジスタ34の内容を判定し、該レジスタの内
容が論理「1」である場合には該レジスタの内容
を論理「0」にリセツトするとともに前記第4レ
ジスタ27のステータスを変換する処理を実行さ
せることによつて、ペダルが踏まれている状態か
ら踏まれていない状態に新たに移行した場合に限
つて、1回だけ該第4レジスタにおけるすべての
アドレスのステータスのうち論理「10」のステー
タスを論理「00」に強制的に設定変更する処理が
実行される。したがつて、該処理の回数が必要最
小限度にとどめられる。
When the pedal is shifted to the non-depressed state in this state, first, a pedal state signal indicating the non-depressed state is applied to the pedal state signal input register 33, and as shown in e in FIG. Logic "0" is stored as a status indicating that the register is not stepped on. Next, this status is transferred to the processor 23 and judged. If the determination result is that it has not been stepped on as described above, the contents of the seventh register 34 are further determined. In this case, since the logic "1" is stored in the register as described above, the contents of the register are first reset to logic "0" as shown in b' of the same figure, and the contents of the register are reset to the logic "0" as shown in Forcibly change the status ``10'' of the fourth register to ``00'' as shown in . After a similar process is sequentially executed for all addresses of the fourth register 27, the contents of the fourth register are sequentially outputted through the output register 28, and the next key scan is started. If a key state change does not occur in the next key scan, the above-mentioned process is immediately performed without performing key release processing, calculating the number of possible sounds, key press processing, and writing logic "1" to the seventh register. State processing is performed for the pedal. However, due to the state processing for the previous pedal, the seventh
As shown in b' in the same figure, since the contents of the register have been reset to logic "0", the judgment result of the seventh register 34 is reversed, and this time the status of the fourth register 27 changes from "10" to "0". The contents of the seventh register are immediately output one after another without performing the process of converting it to "00". In this way, immediately after processing the key state change, a logic "1" is stored in the seventh register 34, and then the pedal state is determined,
When the pedal is not depressed, the content of the seventh register 34 is further determined, and if the content of the register is logic "1", the content of the register is reset to logic "0" and the By executing the process of converting the status of the fourth register 27, only when the pedal is newly transitioned from the state in which the pedal is depressed to the state in which it is not depressed, all the information in the fourth register 27 can be changed only once. Processing is executed to forcibly change the logical "10" status of the address status to logical "00". Therefore, the number of times the process is performed is kept to the minimum necessary.

次に、ペダルが踏まれていない状態にある場合
において、キーを離鍵状態に移行させると、前記
同様にキーの離鍵処理を実行し、続いて、第7レ
ジスタに論理「1」を記憶させる。
Next, when the pedal is not depressed and the key is shifted to the released state, the key release process is executed in the same manner as described above, and then logic "1" is stored in the seventh register. let

ここで、ペダル状態信号がプロセツサ23に読
み込まれて判定されるが、ペダルが踏まれている
状態にある前述の場合と相違してペダルが踏まれ
ていない状態に移行するのを待つまでもなく直ち
に前述のペダルが踏まれていない状態に対する処
理を実行する。
Here, the pedal status signal is read into the processor 23 and judged, but unlike the above case where the pedal is in the depressed state, there is no need to wait for the pedal to shift to the non-depressed state. Immediately execute the process for the state in which the pedal is not depressed.

第8図Cはキー、ペダル及びシンセサイザモデ
ユールの状態を示す。
FIG. 8C shows the states of the keys, pedals and synthesizer model.

同図において、VはG#の楽音に対応するキ
ーの状態、Wはペダルの状態、Xは第4レジスタ
27の1番地に対応するシンセサイザモデユール
が発音する楽音のエンベロープ、Yは例えば、新
たに押鍵されたD1の楽音に対応するキーの状
態、Zは第4レジスタ27の1番地に対応するシ
ンセサイザモデユールが発音する楽音の音名を示
す。また、横軸は時間軸である。
In the figure, V is the state of the key corresponding to the musical tone G# 1 , W is the state of the pedal, X is the envelope of the musical tone produced by the synthesizer model corresponding to address 1 of the fourth register 27, and Y is, for example, The state of the key corresponding to the newly pressed musical tone D1 , Z indicates the name of the musical tone produced by the synthesizer model corresponding to address 1 of the fourth register 27. Also, the horizontal axis is the time axis.

次に、第8図B及びCを参照しつつ、第8図C
においてaに示すようにペダルが踏まれている状
態であつて、かつ、同図bに示すように、キーが
離鍵状態にある場合において、他に捕捉可能なシ
ンセサイザモデユールが存在しないために、発音
状態にあるシンセサイザモデユールが捕捉される
動作について説明する。
Next, while referring to FIGS. 8B and C,
When the pedal is depressed as shown in a and the key is released as shown in b, there is no other synthesizer model that can be captured. , the operation of capturing a synthesizer model in a sounding state will be described.

第6図を参照して説明した押鍵処理では最も古
く解放されたシンセサイザモデユールに対応する
第4レジスタ27のアドレスは3番地であり、こ
こにD1のキーコード及びステータス「11」が割
当てられたが、もしも、他のすべてのモデユール
が捕捉・発音状態にあれば、第8図Cにおいてb
に示すようにG#に対応するキーが離鍵状態に
なつた後に、即ち、第8図Bにおいてdに示すよ
うにステータスが論理「10」になつた後に、第8
図Cにおいてcに示すように押鍵状態になつた
D1のキーコードとステータス「11」は第8図B
においてeに示すように副ステータスが「0」に
なつている1番地に割当てられ、1番地の内容は
D1のキーコード及びステータス「11」に置き換
えられる。即ち、該1番地に対応するシンセサイ
ザモデユールは第8図Cにおいてfに示すように
G#の楽音の発音を突如中止して同図gに示す
ようにD1の楽音の発音を開始する。
In the key press process explained with reference to FIG. 6, the address of the fourth register 27 corresponding to the oldest released synthesizer model is address 3, and the key code of D 1 and status "11" are assigned here. However, if all other models are in the capture and sound state, b in Figure 8C.
After the key corresponding to G# 1 is released as shown in FIG.
The key is pressed as shown in c in Figure C.
The key code of D 1 and status “11” are shown in Figure 8B.
As shown in e, it is assigned to address 1 whose sub status is "0", and the contents of address 1 are
Replaced with D 1 key code and status "11". That is, the synthesizer model corresponding to address 1 suddenly stops producing the musical tone G# 1 as shown in f in FIG. 8C, and starts producing the musical tone D1 as shown in g in the same figure. .

上記動作の相互関係の把握を容易にするため
に、この発明に係るキーアサイナの全体的フロー
チヤート及びペダルに対する状態処理のフローチ
ヤートをそれぞれ第1表及び第2表に示す。
In order to facilitate understanding of the interrelationship of the above operations, an overall flowchart of the key assigner and a flowchart of state processing for the pedals according to the present invention are shown in Tables 1 and 2, respectively.

次に、第9図を参照しつつ、主副ステータスの
処理について説明する。第9図Cはキーの状態、
主ステータス及び対応するシンセサイザモデユー
ルが発音する楽音のエンベロープの関係を示す。
同図において、WはG#の楽音に対応するキー
の状態、XはD1の楽音に対応するキーの状態、
Yは主ステータスの状態、Zは第4レジスタの1
番地に対応するシンセサイザモデユールが発音す
る楽音のエンベロープを示す。また、横軸は時間
軸である。
Next, processing of the main and sub-status will be explained with reference to FIG. Figure 9C shows the state of the key.
The relationship between the main status and the envelope of the musical tone produced by the corresponding synthesizer model is shown.
In the figure, W is the state of the key corresponding to the musical tone G# 1 , X is the state of the key corresponding to the musical tone D1 ,
Y is the state of the main status, Z is 1 of the 4th register
The envelope of the musical tone produced by the synthesizer model corresponding to the address is shown. Also, the horizontal axis is the time axis.

いま、第9図Cにおいてaに示すように、G
#のキーが押鍵状態になつていて第8図Bにお
いてdに示すように第4レジスタの1番地に論理
「10」のステータス及びG#のキーコードが割
当てられ、第9図Cにおいてbに示すように対応
するシンセサイザモデユールがG#の楽音を発
音中であるにもかかわらず、同図cに示すように
同一若しくは別異の楽音を発音するために、捕捉
され得る状態にあり、しかも、他のモデユールが
すべて捕捉できる状態にないために、第9図Aに
おいてaに示すように該1番地に新たに押鍵状態
となつたキーに対応する楽音D1のキーコードが
割当てられる。
Now, as shown in a in Figure 9C, G
# 1 key is in the depressed state, and the status of logic "10" and the key code of G# 1 are assigned to address 1 of the 4th register as shown in d in FIG. Even though the corresponding synthesizer model is producing a musical tone of G# 1 as shown in b, it can be captured to produce the same or a different musical tone as shown in c of the same figure. , and all other models are not in a state where it can be captured, so the key code of musical tone D 1 corresponding to the key that is newly pressed at address 1, as shown in a in FIG. 9A. will be assigned.

このとき、該キーは新たに押鍵状態になつたの
であるから、第9図Aにおいてbに示すように、
「01」のステータスが割当てられる。即ち第6図
を参照して説明した押鍵処理に際して該処理に係
るワードの副ステータスのみを論理「1」に設定
変更する。
At this time, the key is newly pressed, so as shown in b in FIG. 9A,
A status of "01" is assigned. That is, during the key press process described with reference to FIG. 6, only the sub-status of the word related to the process is changed to logic "1".

続いて、第4レジスタ27のすべてのアドレス
の内容をプロセツサ23を介して出力レジスタ2
8から出力する。したがつて第9図Aにおいてc
に示すように第4レジスタ27の1番地の内容を
出力するときに、第9図Cにおいてdに示すよう
に論理「01」のステータス即ち「0」の主ステー
タスが一旦出力される。
Subsequently, the contents of all addresses of the fourth register 27 are sent to the output register 2 via the processor 23.
Output from 8. Therefore, in Figure 9A, c
When outputting the contents of address 1 of the fourth register 27 as shown in FIG. 9C, the status of logic "01", that is, the main status of "0" is once output as shown in d in FIG. 9C.

続いて、第4レジスタ27のステータスをすべ
てのアドレスについて順次に判定し、論理「01」
のステータスを論理「11」に変換する。したがつ
て、第4レジスタ27の1番地のステータスは第
9図Bにおいてaに示すように論理「11」とな
る。
Next, the status of the fourth register 27 is sequentially determined for all addresses, and the status is set to logic "01".
Converts the status to logical "11". Therefore, the status of address 1 of the fourth register 27 becomes logic "11" as shown at a in FIG. 9B.

更に、続いて、ステータスが変換された後の第
4レジスタ27の内容をすべてのアドレスについ
て順次に出力レジスタ28を通じて出力する。そ
こで、第9図Bにおいてb及び同図Cにおいてe
に示すように第4レジスタ27の1番地のステー
タス「11」が出力されるために、該レジスタの1
番地に対応するシンセサイザモデユールはG#
の楽音の発音を突如停止して、第9図Cにおいて
fに示すように、D1の楽音の発音を開始する。
このとき、同図gに示すように第4レジスタ27
の1番地から出力される主ステータスが論理
「0」から論理「1」に変化するために、このよ
うな主ステータスの状態変化を利用して、シンセ
サイザモデユールが特定の楽音の発音を停止し
て、直ちに、同一若しくは別異の楽音の発音を開
始する場合であつても、該楽音の開始点を検知す
ることができる。したがつて、上記のような場合
であつても、同図hに示すように新たに押鍵状態
になつたキーに対応する楽音の立上り部分のエン
ベロープを容易に形成することができる。
Furthermore, the contents of the fourth register 27 after the status conversion are sequentially outputted through the output register 28 for all addresses. Therefore, b in Figure 9B and e in Figure 9C.
As shown in the figure, in order to output the status "11" at address 1 of the fourth register 27,
The synthesizer model corresponding to the address is G# 1
The sounding of the musical tone D1 is suddenly stopped, and the sounding of the musical tone D1 is started, as shown at f in FIG. 9C.
At this time, as shown in g in the figure, the fourth register 27
Since the main status output from address 1 changes from logic "0" to logic "1", the synthesizer model uses this state change of the main status to stop sounding a specific musical tone. Therefore, even if the same or a different musical tone starts to be produced immediately, the starting point of the musical tone can be detected. Therefore, even in the above case, it is possible to easily form the envelope of the rising portion of the musical tone corresponding to the newly pressed key as shown in FIG.

上記の処理を行わない場合には、第9図Cにお
いて点線iに示すように新たに発音された楽音
D1のエンベロープが発音を停止した楽音G#
が継続的に有すべきエンベロープと同一となる。
このような現象はピアノのような自然楽器では起
り得ないことであり、演奏上非常に不都合であ
る。
If the above processing is not performed, a newly sounded musical tone will be generated as shown by the dotted line i in Figure 9C.
Musical tone G# 1 where the envelope of D 1 has stopped sounding
is the same as the envelope that should have continuously.
Such a phenomenon cannot occur with a natural musical instrument such as a piano, and is extremely inconvenient for performance.

上記動作の相互関係の把握を容易にするため
に、この発明に牽連する発明に係るキーアサイナ
の全体的フローチヤート及びステータス変換処理
のフローチヤートをそれぞれ第3表及び第4表に
示す。
In order to facilitate understanding of the interrelationship of the above-mentioned operations, an overall flowchart of the key assigner and a flowchart of the status conversion process according to the invention related to the present invention are shown in Tables 3 and 4, respectively.

更に、この発明及びこの発明に牽連する発明を
同時的に実施することは容易、かつ、効果的であ
り、そのようなキーアサイナの全体的フローチヤ
ートを第5表に示す。
Furthermore, it is easy and effective to simultaneously carry out this invention and inventions linked to this invention, and an overall flowchart of such a key assigner is shown in Table 5.

また、第10図はキーの状態、ペダルの状態、
及び第4レジスタのステータスとの相互割当て関
係を示す。同図中における矢印は状態間の移行可
能性を示している。同図において、A及びBは、
それぞれ、この発明及びこの発明に牽連する発明
の実施例の場合であり、Cは両発明を同時的に実
施した場合である。
Also, Figure 10 shows the state of the keys, the state of the pedals,
and the mutual assignment relationship with the status of the fourth register. Arrows in the figure indicate the possibility of transition between states. In the same figure, A and B are
These are examples of this invention and an invention linked to this invention, respectively, and C is a case where both inventions are implemented simultaneously.

なお、上記の実施例ではプロセツサを使用して
いるが、このようなプロセツサを用いて行う情報
処理、例えば、転送、排他的論理和、若しくは論
理和の算出、加算、乗算及び番地修飾等はいずれ
もアンド回路、オア回路、フリツプフロツプ、シ
フトレジスタ等の論理回路の公知の組み合せによ
つて具現できることは自明であるから、これらの
論理回路を用いてこれらの発明を実施することは
容易である。
Note that although a processor is used in the above embodiment, information processing performed using such a processor, such as transfer, calculation of exclusive OR or OR, addition, multiplication, and address modification, etc. It is obvious that the invention can be realized by a known combination of logic circuits such as AND circuits, OR circuits, flip-flops, and shift registers, so it is easy to implement these inventions using these logic circuits.

以上のように、この発明によれば、押鍵状態の
キーの音名を表わすキーコドーが割当てられて記
憶されるキーアサイナのレジスタの各アドレスに
は、そのキーコードに係る主副レジスタ、すなわ
ち、そのキーコードに係る楽音の発音状態を示す
主ステータスと、該アドレスに対応して設けられ
ていて、該楽音の発音を司るシンセサイザモデユ
ールの捕捉状態を示すステータスとが記憶されて
いて、ペダルが踏まれた状態下で、押されていた
キーが離されると、強制解放手段がこれを検出し
てその離されたキーのキーコードに係る主副両ス
テータスを「10」に強制的に設定変更し、それ以
降、ペダルが離されるまでの間、そのキー又は他
のキーが新たに押されると、押鍵処理手段が最も
古く離されたキーの音名を表わすキーコードが記
憶されていて、その副ステータスが「0」である
レジスタのアドレスに対して新たに押されたキー
のキーコードと「01」の主副両ステータスを割当
てて記憶させるが、その際、上記強制的に設定変
更された「10」の主副両ステータスを記憶してい
るアドレスを押鍵処理の対象とするように構成し
たことにより、ペダルが踏まれた状態下でキーが
離された場合に限つて、以降ペダルが離されるま
での間、新に押されたキーのキーコードを記憶す
べきレジスタのアドレス、換言すれば、そのキー
コードに係る楽音の発音のために捕捉可能なシン
セサイザモデユールが存在しなくても、最も古く
離されたキーのキーコードを記憶していたレジス
タのアドレスに対応するシンセサイザモデユール
にて、上記新たに押されたキーに係る楽音を強制
的に発生させることができるので、ペダルの踏み
込み操作に伴う通常的なシンセサイザモデユール
での発音延長作用に伴つて、複数シンセサイザモ
デユール中の発音状態にあるものが最も輻奏する
状態下においては、各シンセサイザモデユールを
発音状態に留め置く確率が増大し、その輻奏が緩
和され、もつて、演奏に際してのシンセサイザモ
デユールの利用率が格段に向上するという優れた
効果が奏される。
As described above, according to the present invention, each address of the register of the key assigner to which the key code representing the pitch name of the key in the depressed state is assigned and stored is assigned the main/sub register related to the key code, that is, the key code representing the pitch name of the pressed key. A main status indicating the sound generation state of the musical tone related to the key code and a status corresponding to the address and indicating the capture state of the synthesizer model that controls the sound generation of the musical tone are stored. When the pressed key is released under the condition where the pressed key is released, the forced release means detects this and forcibly changes the settings of both the main and sub statuses related to the key code of the released key to "10". , from then until the pedal is released, when that key or any other key is pressed anew, the key press processing means stores the key code representing the pitch name of the key that was released the earliest, and The key code of the newly pressed key and the main/sub status of "01" are assigned to the address of the register whose sub status is "0" and stored, but at that time, the above settings are forcibly changed. By configuring the address that stores both the main and sub-status of "10" to be the target of key press processing, only if the key is released while the pedal is being depressed, the pedal will no longer be activated. The address of a register that should store the key code of a newly pressed key until it is released, in other words, even if there is no synthesizer model that can be captured to produce the musical note associated with that key code. , the musical tone associated with the newly pressed key can be forcibly generated in the synthesizer model corresponding to the address of the register that stored the key code of the oldest released key. Due to the normal sound prolongation effect of the synthesizer model due to the pressing operation, the probability of keeping each synthesizer model in the sounding state is increased under the condition where the one in the sounding state among multiple synthesizer models is the most radiant. This results in an excellent effect in that the noise level increases, the noise is alleviated, and the utilization rate of the synthesizer model during performance is greatly improved.

そして、その際、強制解放手段による主副ステ
ータス「10」への強制的設定変更は、ペダルが踏
まれた状態下で検出された離鍵のみについて行わ
れ、ペダルが離された状態では該強制的設定変更
が行われることはないので、通常的な演奏にて同
時に押される可能性のあるキーの数よりも多い数
のシンセサイザモデユールが用意されていて、発
音状態のシンセサイザモデユールの輻奏の恐れの
ないペダル不操作時にまでも、主副両ステータス
の上記強制的設定変更が行われて、その結果、情
報処理量がむやみに増大するのを、性能上の犠牲
をほとんど払うことなしに、効果的に防止し、情
報の処理時間を短縮し、装置を簡単なものにして
いるという利点がある。
At that time, the forcible setting change to the main/sub status "10" by the forced release means is performed only for the released keys detected while the pedal is depressed, and when the pedal is released, the forced Since the default settings are never changed, there are more synthesizer models available than the number of keys that may be pressed at the same time in a normal performance, and the sound of the synthesizer model Even when the pedals are not operated, which poses no danger, the above-mentioned forcible setting changes for both main and sub-status are performed, and as a result, the amount of information processing increases unnecessarily. , has the advantage of effectively preventing information processing, reducing information processing time, and simplifying the device.

その上、上記押鍵処理手段は、実際に発音され
ている楽音の減衰量には係りなく、最も古く離さ
れたキーのキーコードが記憶されているアドレス
を論理的に確定しているので、ペダルが踏まれて
いる状態下での離鍵を検出して強制解放手段がそ
の主副両レジスタを「10」強制的に設定変更した
アドレスに、次いで、押鍵処理手段が新たたな押
鍵に係るキーコードを割当てて記憶させる場合で
も、ペダルの踏み込み操作に応じて、発音中の楽
音の減衰が停止してしまうことに由来する不都合
を免れ、その新たな押鍵に係るキーコードを割当
てて記憶させるべきアドレスを確実に確定できる
という利点もある。
Moreover, the key press processing means logically determines the address where the key code of the oldest key that was released is stored, regardless of the amount of attenuation of the musical tone that is actually being produced. Upon detecting a key release while the pedal is being depressed, the forced release means sets both the main and sub registers to "10" to the address where the setting was forcibly changed, and then the key press processing means releases the new key press. Even when assigning and memorizing a key code related to a new key press, it is possible to avoid the inconvenience caused by the attenuation of a musical tone being produced in response to a pedal depression operation, and to assign a key code related to the new key press. Another advantage is that the address to be stored can be reliably determined.

さらに、ペダルが離されると、そのたびごと
に、強制発音停止手段がこれを検出してレジスタ
の所定のアドレスに記憶されている「10」の主副
両ステータスをすべて「00」に強制的に設定変更
するように構成したことにより、ペダルを踏んで
いる状態下で離されたすべてのキーに係る楽音
が、ペダルを離した時点で一斉にレリーズ期に入
り発音停止状態に向うので、自然楽器のピアノの
ような極めて好適な演奏表現が行えるという効果
もある。
Furthermore, each time the pedal is released, the forced sound stop means detects this and forcibly changes the main and sub-statuses of "10" stored at a predetermined address in the register to "00". By configuring the settings to be changed, the musical tones associated with all keys released while the pedal is being depressed will all enter the release period and stop sounding at the moment the pedal is released, making it a natural musical instrument. It also has the effect of allowing extremely suitable performance expressions like that of a piano.

加うるに、離鍵処理手段が主副両ステータスを
「00」にリセツトし、押鍵処理手段が主副両ステ
ータス「01」にセツトし、強制解放手段が主副両
ステータスを「10」に設定変更し、強制発音停止
手段が主副ステータスを「00」に設定変更し、出
力手段がこの主副ステータスを、それに係るキー
コードと共にレジスタの各アドレスから順次に読
み出して出力する際に、ステータス変更手段が、
一日出力された「01」の主副ステータスを再度の
出力に備えて「11」に変換するように構成したこ
とにより、2ビツトのステータスにて表わしうる
4つの状態がこの発明の構成の作動上不可欠の4
つの状態の各々に無駄なく割当てられ、しかも、
この2ビツトの主副両ステータスがそれに係るキ
ーコードと共に出力され、主ステータスがそのま
まシンセサイザモデユールに対する発音指令信号
として、さらに、キーコードが該モデユールにて
発音する楽音の音高を特定する情報として、それ
ぞれ、利用可能であるので、キーアサイナとシン
セサイザモデユール間の情報受け渡しのための回
路構成やそこでの信号処理を非常に簡単なものと
することができるばかりか、発音指令信号として
利用可能な主ステータスが「1」に転ずる直前に
必ず「0」で一旦出力されるので、強制解放手段
にて解放された発音中のシンセサイザモデユール
に対して、次に押されたキーに係る楽音を割当て
て、直前に発音中の楽音に擦り替えてこれを発音
させる場合であつても、主ステータスは「1」か
ら「0」へ、そして「1」へと変化して2つの発
音指令信号を形成し、これにより、発音中の楽音
を常に押鍵の数に区切つて表現できるという効果
もある。
In addition, the key release processing means resets the main and sub-status to "00", the key press processing means sets the main and sub-status to "01", and the forced release means resets the main and sub-status to "10". When the setting is changed, the forced sound stop means changes the main/sub status to "00", and the output means sequentially reads out the main/sub status from each address of the register along with the corresponding key code and outputs the status. The means of change is
By configuring the system to convert the main/sub status of "01" that was output for one day to "11" in preparation for re-output, the four states that can be expressed by a 2-bit status can be realized by the operation of the configuration of this invention. essential 4
It is allocated to each of the two states without waste, and
These 2-bit main and sub-statuses are output together with the associated key code, and the main status is used as a production command signal for the synthesizer model, and the key code is used as information specifying the pitch of the musical tone produced by the model. , respectively, which not only greatly simplifies the circuit configuration and signal processing for transmitting information between the key assigner and the synthesizer model, but also makes it possible to use the main Since the status is always output as "0" once just before the status changes to "1", the musical tone corresponding to the next pressed key is assigned to the currently producing synthesizer model released by the forced release means. , even if this is to be produced by replacing the musical note that was being produced immediately before, the main status changes from "1" to "0" and then to "1", forming two production command signals. This also has the effect that the musical tone being produced can always be expressed by dividing it into the number of pressed keys.

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

第1図はこの発明の対象であるキーアサイナを
含む有鍵電子楽器の主要部の構成を示す。同図に
おいて 1……キーアサイナ、3……キー走査回路、5
……デイジタル−アナログ変換回路、6,11…
…マルチプレクサ、7……サンプリングホールド
回路、8……シンセサイザモデユール。 第2図は第1図におけるキー走査回路3の構成
を示す。同図において A0〜A7……キー走査信号出力線、B0〜B7……
キー信号入力線、S1〜S8……キースイツチ回路。 第3図は第2図におけるキー走査信号出力線
A0〜A7及びキー信号入力線B0〜B7に対する信号
の割当てを示す。第4図乃至第8図A及びBはこ
の発明に係るキーアサイナの一実施例の構成を示
す。同図において 21……キー走査信号用デコーダ、22……キ
ー信号用入力レジスタ、23……プロセツサ、2
4……第1レジスタ、25……第2レジスタ、2
6……第3レジスタ、27……第4レジスタ、2
8……出力レジスタ、29,30……テーブル、
31……第5レジスタ、32……第6レジスタ、
33……ペダル状態信号用入力レジスタ、34…
…第7レジスタ。 第8図Cはこの発明に係るキーアサイナの一実
施例における主要部の状態の時間的変化を示す。
同図において V……G#の楽音に対応するキーの状態、W
……ペダルの状態、X……シンセサイザモデユー
ルが発音する楽音のエンベロープ、Y……D1
楽音に対応するキーの状態、Z……シンセサイザ
モデユールが発音する楽音の音名。 第9図A及びBはこの発明に係るキーアサイナ
の一実施例の構成を示す。第9図Cはこの発明に
係るキーアサイナの一実施例における主要部の状
態の時間的変化を示す。同図において W……G#の楽音に対応するキーの状態、X
……D1の楽音に対応するキーの状態、Y……主
ステータスの状態、Z……シンセサイザモデユー
ルが発音する楽音のエンベロープ。 第10図は発明に係るキーアサイナの各々の実
施例におけるキーの状態、ペダルの状態、及びス
テータスの相互割当て関係を示す。
FIG. 1 shows the configuration of the main parts of a keyed electronic musical instrument including a key assigner, which is the object of the present invention. In the same figure, 1...Key assigner, 3...Key scanning circuit, 5
...Digital-analog conversion circuit, 6, 11...
...Multiplexer, 7...Sampling hold circuit, 8...Synthesizer model. FIG. 2 shows the configuration of the key scanning circuit 3 in FIG. 1. In the same figure, A 0 to A 7 ... key scanning signal output lines, B 0 to B 7 ...
Key signal input line, S1 to S8 ...Key switch circuit. Figure 3 shows the key scanning signal output line in Figure 2.
The assignment of signals to A 0 to A 7 and key signal input lines B 0 to B 7 is shown. 4 to 8A and 8B show the structure of an embodiment of a key assigner according to the present invention. In the figure, 21...key scanning signal decoder, 22...key signal input register, 23...processor, 2
4...First register, 25...Second register, 2
6...Third register, 27...Fourth register, 2
8...Output register, 29,30...Table,
31...5th register, 32...6th register,
33...Pedal status signal input register, 34...
...7th register. FIG. 8C shows temporal changes in the state of the main parts in an embodiment of the key assigner according to the present invention.
In the same figure, the state of the key corresponding to the tone V...G# 1 , W
...Pedal status, X...Envelope of the musical tone produced by the synthesizer model, Y...Key condition corresponding to the musical tone of D1 , Z...Pitch name of the musical tone produced by the synthesizer model. FIGS. 9A and 9B show the configuration of an embodiment of a key assigner according to the present invention. FIG. 9C shows temporal changes in the state of the main parts in an embodiment of the key assigner according to the present invention. In the same figure, the state of the key corresponding to the tone W...G# 1 ,
...D: State of the key corresponding to the 1 musical tone, Y: State of the main status, Z: Envelope of the musical sound produced by the synthesizer model. FIG. 10 shows mutual assignment relationships among key states, pedal states, and statuses in each embodiment of the key assigner according to the invention.

Claims (1)

【特許請求の範囲】 1 音階のそれぞれの楽音を発音させるためのキ
ーを繰返し間歇的に走査して、各キーの押鍵状態
又は離鍵状態を検出し、検出された押鍵離鍵各状
態を、楽器が発音できる楽音の数よりも相当に少
ない数のシンセサイザモデユール8に対して選択
的に割当てて、該モデユールを作動させるための
キーアサイナ1において、 上記キーアサイナ1は、押鍵状態のキーの音名
を表わすキーコード、シンセサイザモデユール8
の発音状態を「1」で、非発音状態を「0」で示
す主ステータス及び該モデユールの捕捉状態を
「1」で解放状態を「0」で示す副ステータスが
その各アドレスに記憶されるレジスタ27と、 レジスタ27の各アドレスのうち、新たに検出
された離鍵状態のキーの音名を表わすキーコード
が記憶されているアドレスの主副両ステータスを
「00」にリセツトする離鍵処理手段と、 レジスタ27の各アドレスのうち、最も古く離
鍵状態に移行したキーの音名を表わすキーコード
が記憶されていて、その副ステータスが「0」に
リセツトされているアドレスに、新たに検出され
た押鍵状態のキーの音名を表わすキーコードを割
当てて記憶させ、該アドレスの主副両ステータス
を「01」にセツトする押鍵処理手段と、 レジスタ27の各アドレスのうち、ペダルが踏
まれている状態下で新たに検出された離鍵状態の
キーの音名を表わすキーコードが記憶されている
アドレスの主副両ステータスを「10」に強制的に
設定変更する強制解放手段と、 ペダルが踏まれている状態から踏まれていない
状態に移行するたびに、レジスタ27の所定アド
レスの「10」の主副両ステータスを「00」に強制
的に設定変更する強制発音停止手段と、 レジスタ27の各アドレスに記憶されているキ
ーコードと主副両ステータスとを各アドレスごと
に出力する出力手段と、 レジスタ27の各アドレスに記憶されていて、
出力手段から一旦出力された主副両ステータスの
うち、「01」の主副両ステータスを再度の出力に
備えて「11」の主副両ステータスに変換するステ
ータス変換手段とを有することを特徴とするキー
アサイナ。
[Claims] 1. The keys for producing each musical tone of the scale are repeatedly and intermittently scanned to detect the pressed or released state of each key, and each detected key pressed or released state is detected. in a key assigner 1 for selectively assigning a number of tones to a number of synthesizer models 8 that are considerably smaller than the number of musical tones that can be produced by an instrument, and activating the models. Key code representing the note name, synthesizer model 8
A register in which a main status indicating the sounding state of the module as "1" and a non-sounding state as "0", and a sub-status indicating the captured state of the module as "1" and the released state as "0" are stored at each address. 27, and key release processing means for resetting both the main and sub-status of the address in which the key code representing the pitch name of the newly detected key in the released state is stored, to "00" among the addresses of the register 27. Among the addresses in the register 27, a key code representing the pitch name of the key that was released the earliest is stored, and a newly detected key code is stored at the address whose sub-status has been reset to "0". a key press processing means that allocates and stores a key code representing the note name of the key in the depressed key state, and sets both the main and sub status of the address to "01"; A forced release means for forcibly changing the settings of both the main and sub-statuses of an address in which a key code representing the pitch name of a newly detected key in a released state while being stepped on is stored to "10"; , forcibly changing the settings of both the main and sub-statuses of "10" at a predetermined address in the register 27 to "00" each time the pedal changes from a state in which the pedal is depressed to a state in which it is not depressed. , output means for outputting the key code and both main and sub-status stored in each address of the register 27 for each address;
It is characterized by having a status conversion means for converting the main and sub status of "01" among the main and sub statuses once output from the output means to the main and sub status of "11" in preparation for outputting again. key assigner.
JP10442378A 1978-08-29 1978-08-29 Key assigner Granted JPS5532033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10442378A JPS5532033A (en) 1978-08-29 1978-08-29 Key assigner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10442378A JPS5532033A (en) 1978-08-29 1978-08-29 Key assigner

Publications (2)

Publication Number Publication Date
JPS5532033A JPS5532033A (en) 1980-03-06
JPS6237789B2 true JPS6237789B2 (en) 1987-08-14

Family

ID=14380273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10442378A Granted JPS5532033A (en) 1978-08-29 1978-08-29 Key assigner

Country Status (1)

Country Link
JP (1) JPS5532033A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62164093A (en) * 1986-01-14 1987-07-20 松下電器産業株式会社 Key pressing speed detection circuit

Also Published As

Publication number Publication date
JPS5532033A (en) 1980-03-06

Similar Documents

Publication Publication Date Title
JP2571911B2 (en) Music signal generator
JPH0760310B2 (en) Touch control device
JPS634195B2 (en)
JPS6332198B2 (en)
US4724736A (en) Keyboard musical instruments with transpositional function
JPH03269584A (en) Electronic musical instrument
JPH0125078B2 (en)
JPS6237789B2 (en)
JPH0844355A (en) Musical sound generator allocation device for keyboard electronic musical instruments
JPS631596B2 (en)
US4294154A (en) Music tone generating system
JPH0331273B2 (en)
JP2722665B2 (en) Tone generator
JP2950458B2 (en) Electronic musical instrument
JPS6057596B2 (en) key assigner
JPS6231355B2 (en)
JP3018620B2 (en) Electronic musical instrument
KR930005218B1 (en) Effect circuit for electronic musical instrument
JP3646823B2 (en) Electronic musical instruments
JPS6335992B2 (en)
JPH0417986Y2 (en)
JP3625913B2 (en) Arpeggiator
JPS6030789Y2 (en) polyphonic synthesizer
JP3116447B2 (en) Digital signal processor
JP3447715B2 (en) Musical sound generation device and musical sound generation method