JPS6291997A - Keying allotter for electronic musical apparatus - Google Patents

Keying allotter for electronic musical apparatus

Info

Publication number
JPS6291997A
JPS6291997A JP61108987A JP10898786A JPS6291997A JP S6291997 A JPS6291997 A JP S6291997A JP 61108987 A JP61108987 A JP 61108987A JP 10898786 A JP10898786 A JP 10898786A JP S6291997 A JPS6291997 A JP S6291997A
Authority
JP
Japan
Prior art keywords
key
data
musical
assigned
channel
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.)
Granted
Application number
JP61108987A
Other languages
Japanese (ja)
Other versions
JPH0335680B2 (en
Inventor
渋川 竹夫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP61108987A priority Critical patent/JPS6291997A/en
Publication of JPS6291997A publication Critical patent/JPS6291997A/en
Publication of JPH0335680B2 publication Critical patent/JPH0335680B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、鍵盤にて押された鍵を鍵の数より少ない複
数の楽音発生チャンネルのいずれかに割当てる電子楽器
の押鍵割当て装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a key press assignment device for an electronic musical instrument that assigns keys pressed on a keyboard to one of a plurality of tone generation channels smaller than the number of keys.

〔従来技術〕[Prior art]

従来、この種の押鍵割当て装置においては、鍵盤にて新
たな鍵が押された場合次のような方法により新たに押さ
れた鍵の割当て処理を行なっていた。
Conventionally, in this type of key assignment device, when a new key is pressed on a keyboard, the newly pressed key is assigned in the following manner.

すなわち、第1の方法は、特開昭52−25613号公
報に示されるように、各楽音発生チャンネルにおける楽
音の音量レベル制御用のエンベロープ波形振幅値を各々
比較してエンベロープ波形振幅値が最も小さい(すなわ
ち最低音量レベルの)楽音発生チャンネルを検出し、こ
の検出した楽音発生チャンネルに新たに押された鍵を割
当て、このチャンネルにおいて、これまで発生していた
楽音に代えて該新押鍵に対応する楽音を発生させるもの
である。また、第2の方法は、特公昭59−22238
号公?[こ示されるように、各楽音発生チャンネルに割
当てられた鍵が離鍵される毎に既に%1tg3!状態に
ある全ての楽音発生チャンネルに関して各々計数値を一
律に増加させることにより、該計数値によって各楽音発
生チャンネルの離鍵の順序を表示しておき、そして各楽
音発生チャンネルの計数値を各々比較して計数値が最も
大きい(すなわち最も古<MI鍵された)楽音発生チャ
ンネルを検出し、この検出した楽音発生チャンネルに新
たに押された鍵を割当て、このチャンネルにおいて、こ
れまで発生していた楽音に代えて該新押鍵に対応する楽
音を発生させるものである。
That is, the first method, as shown in Japanese Unexamined Patent Publication No. 52-25613, compares the envelope waveform amplitude values for controlling the volume level of musical tones in each musical tone generation channel and determines which envelope waveform amplitude value is the smallest. Detects the musical sound generation channel (that is, the one with the lowest volume level), assigns the newly pressed key to the detected musical sound generation channel, and responds to the newly pressed key on this channel instead of the musical sound that was previously generated. It generates musical tones. In addition, the second method is
Duke? [As shown, each time the key assigned to each musical tone generation channel is released, %1tg3! By uniformly increasing the count value for all tone generation channels in the current state, the order of key release for each tone generation channel is displayed based on the count value, and then the count values for each tone generation channel are compared. The musical tone generating channel with the largest count value (that is, the oldest < MI keyed) is detected, the newly pressed key is assigned to this detected musical tone generating channel, and the previously pressed key is Instead of a musical tone, a musical tone corresponding to the newly pressed key is generated.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかるに、上述した従来の押鍵割当て装置を用いた電子
楽器においては、全ての楽音発生チャンネルが楽音を発
生している状態において新たに鍵が押されると、常に最
低音量レベルの楽音あるいは最も古く離された鍵の楽音
を発生している楽音発生チャンネルにおいて新押鍵に対
応する楽音が発生されるので、例えばピアノ演奏で見ら
れるように、低音域の音の余韻を残したまま高音域の速
い奏法による音を次々と発音させるような演奏効果を得
ることができない。すなわち、このような演奏操作にお
いては、低音域の鍵が最初に押されかつ離された後、高
音域の鍵が次々と押されるので、高音域である鍵が新た
に押された時点では低音域の楽音が最低音量レベルであ
ると判断されたり、または該低音域の楽音が最も古く離
された鍵に関するものであると判断されてこの低音域の
楽音が強制的に消されてしまい(発音停止となり)、こ
のため上記ピアノ演奏と同様の演奏効果が得られなくな
ってしまう。
However, in an electronic musical instrument using the above-mentioned conventional key assignment device, when a new key is pressed while all musical tone generation channels are generating musical tones, the musical tone with the lowest volume level or the oldest sound is always played. The musical tone corresponding to the newly pressed key is generated in the musical sound generation channel that generates the musical tone of the pressed key, so for example, as seen in piano performance, fast high-pitched sounds while retaining the lingering sound of the low-pitched notes are generated. It is not possible to obtain a performance effect in which sounds are produced one after another depending on the playing method. In other words, in this kind of performance operation, a key in the low range is first pressed and released, and then keys in the high range are pressed one after another, so that when a new key in the high range is pressed, the low range key is pressed and released. It is determined that the musical note in the range is at the lowest volume level, or it is determined that the musical note in the low range is related to the key that was released the earliest, and the musical note in the low range is forcibly erased (pronounced). Therefore, the same performance effect as the piano performance described above cannot be obtained.

このように、従来の電子楽器では、全ての楽音発生チャ
ンネルで発生している楽音のうち、ある特定の楽音(低
音域の楽音には限らない)をその音量レベルや押鍵の順
番とは関係なく、優先的に発音を継続させようとしても
そのようなことができず、演奏効果上制約があった。そ
のため、本出願人は、本件の先願にあたる特願昭60−
112907号の出願明細書において、上記従来の押鍵
割当て装置に、さらに発音中の楽音のうちの低音側(又
は高音側)から数えてl乃至複数の楽音が割当てられて
いる特定の楽音発生チャンネルを検出し、該チャンネル
への新たな押鍵に伴う鍵の割当てを禁止するようにして
、高音側(又は低音側)の鍵が短時間内に多数回繰返し
操作されても、該チャンネルにおける楽音の継続発音を
確保するようにした押鍵割当て装置を提案した。また、
本出願人は、本件の先願にあたる特願昭60−1631
33号の出願明細書において、上記従来の押鍵割当て装
置に、さらに所定鍵域(低音鍵域、中音鍵域、高音鍵域
)に属する鍵が割当てられている特定の楽音発生チャン
ネルを検出し、該チャンネルへの新たな押鍵に伴う鍵の
割当てを禁止するようにして、前記所定鍵域外に属する
鍵が短時間内に多数回繰返し操作されても、該チャンネ
ルにおける楽音の継続発音を確保するようにした押鍵割
当て装置を提案した。その結果、これらの提案装置によ
れば、低音側(又は高音側)から1乃至複数の楽音又は
所定音域に属する特定の楽音が上記のように継続して発
音されるので、上記演奏表現上の制約は解消される。
In this way, in conventional electronic musical instruments, among the musical tones generated in all musical sound generation channels, a certain musical tone (not limited to musical tones in the low range) is controlled regardless of its volume level or the order in which keys are pressed. Therefore, even if one tried to preferentially continue the pronunciation, it was impossible to do so, and there were restrictions in terms of performance effectiveness. Therefore, the applicant has filed a patent application filed in 1986-
In the application specification of No. 112907, in addition to the above-mentioned conventional key press assignment device, there is further provided a specific musical sound generation channel to which l or a plurality of musical tones are assigned, counting from the bass side (or treble side) among the musical tones being generated. is detected and the assignment of a new key to the channel is prohibited, so that even if the high-pitched (or low-pitched) key is pressed many times within a short period of time, the musical tone in the channel will be suppressed. We proposed a key press assignment device that ensures continuous pronunciation of . Also,
The applicant filed the patent application No. 60-1631, which is the earlier application in this case.
In the application specification of No. 33, the conventional key press assignment device further detects a specific musical sound generation channel to which keys belonging to a predetermined key range (low key range, middle key range, high key range) are assigned. Then, by prohibiting the assignment of a key in response to a new key press to the channel, even if a key belonging to outside the predetermined key range is operated many times within a short period of time, the continuous sounding of musical tones in the channel is prevented. We proposed a key press assignment device that secures key presses. As a result, according to these proposed devices, one or more musical tones or a specific musical tone belonging to a predetermined range are continuously emitted from the bass side (or treble side) as described above, so that the above performance expression is improved. The constraints are lifted.

しかし、上記提案に係る押鍵割当て装置を、楽音発生チ
ャンネルにて発生される楽音の減衰時間の長短を選択切
換えする操作子を有する電子楽器に通用した場合、操作
子が前記減衰時間の長い状態を選択しているときには、
楽音の減衰時間が長いので上記提案装置による特定楽音
の継続発音は演奏上有効に活用されるが、操作子が前記
減衰時間の短い状態を選択しているときには次のような
問題がある。すなわち、このときには、上記提案装置に
より、新たに押された鍵の上記特定の楽音発生チャンネ
ルへの割当てを禁止して特定楽音を継続発音させようと
しても、発生楽音の減衰時間が短いので、該特定楽音の
発音は短時間内に終了してしまい、前記割当ての禁止は
有効に利用されない。一方、このような割当ての禁止は
上記特定楽音に対応する鍵以外の鍵に対する割当て制限
として作用するので、上記のようにこの割当て禁止が演
奏上有効に利用されない場合には、前記割当ての禁止は
単に押鍵割当てにおける欠点としてのみ現われるという
問題がある。
However, when the key press assignment device according to the above proposal is applied to an electronic musical instrument that has an operator that selectively changes the length of the decay time of the musical tone generated in the musical tone generation channel, the operator is in a state where the decay time is long. When selecting the
Since the decay time of musical tones is long, the continuous sounding of specific musical tones by the above-mentioned proposed device is effectively utilized in performance, but when the operator selects the state in which the decay time is short, the following problem arises. That is, at this time, even if the proposed device prohibits the assignment of a newly pressed key to the specific musical tone generation channel and continues to generate the specific musical tone, the decay time of the generated musical tone is short, so the corresponding The pronunciation of the specific musical tone ends within a short time, and the above-mentioned prohibition of assignment is not effectively utilized. On the other hand, such an assignment prohibition acts as an assignment restriction for keys other than the key corresponding to the specific musical tone, so if this assignment prohibition is not effectively used in performance as described above, the assignment prohibition is There is a problem that simply appears as a drawback in key press assignment.

この発明は、上記従来装置及び提案装置における上記問
題点に鑑み案出されたもので、その目的とするところは
、上記提案装置による効果を有するとともに、上記提案
装置による割当て禁止に伴う欠点を解消した電子楽器の
押鍵割当て装置を提供することにある。
This invention has been devised in view of the above-mentioned problems in the conventional device and the proposed device, and aims to provide the effects of the proposed device and eliminate the drawbacks associated with the prohibition of allocation by the proposed device. An object of the present invention is to provide a key assignment device for an electronic musical instrument.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点を解決して上記目的を達成するために、この
発明の構成上の特徴は、第1図に示すように、複数の鍵
を有する鍵盤1と、前記鍵の数より少ない複数の楽音発
生チャンネル2と、前記各楽音発生チャンネル2にて発
生される楽音の減衰時間の長短を選択する操作子3とを
備えた電子楽器において、前記鍵盤1における新たな押
鍵に応答して該押鍵された鍵を前記楽音発生チャンネル
2のうちのいずれかに割当てる割当て手段4aと、前記
楽音発生チャンネル2のうち特定の鍵が割当てられてい
る楽音発生チャンネル2を検出する検出手段4bと、前
記操作子3が前記減衰時間の長い状態を選択していると
き前記割当て手段4aにより鍵が割当てられるべき楽音
発生チャンネル2を前記検出手段4bにより検出された
前記楽音発生チャンネル2を除く楽音発生チャンネル2
に制限しかつ前記操作子3が前記減衰時間の短い状態を
選択しているとき前記割当て手段4aにより鍵が割当て
られるべき楽音発生チャンネル2に関して前記制限をし
ないようにする制限手段4Cとにより押鍵割当て装置を
構成したことにある。
In order to solve the above problems and achieve the above objects, the structural features of the present invention include a keyboard 1 having a plurality of keys, and a plurality of musical tones smaller than the number of keys, as shown in FIG. In an electronic musical instrument comprising a generation channel 2 and an operator 3 for selecting the length of the decay time of the musical tone generated in each of the musical tone generation channels 2, in response to a new key press on the keyboard 1, an allocating means 4a for allocating a keyed key to one of the musical sound generating channels 2; a detecting means 4b for detecting a musical sound generating channel 2 to which a specific key is allocated among the musical sound generating channels 2; When the operator 3 selects the long decay time state, the assigning means 4a selects the musical tone generating channel 2 to which a key is to be assigned, excluding the musical tone generating channel 2 detected by the detecting means 4b.
and when the operator 3 selects the short decay time state, the assigning means 4a does not limit the tone generation channel 2 to which keys are to be assigned. The problem lies in configuring the allocation device.

〔発明の作用〕[Action of the invention]

上記のように構成したこの発明においては、鍵iiにて
新たな鍵が押されると、割当て手段4aは該押された鍵
を楽音発生チャンネルのいずれかに割当て、該鍵が割当
てられた楽音発生チャンネルにて該鍵に対応した楽音が
発生される。この割当て手段4aによる割当ての際、操
作子3が楽音発生チャンネル2にて発生される楽音の減
衰時間の長い状態を選択していれば、制限手段4Cは割
当て手段4aにより鍵が割当てられるべき楽音発生チャ
ンネル2を、検出手段4bにより検出された特定の鍵が
割当てられている楽音発生チャンネル2を除く楽音発生
チャンネル2に制限するので、新たに押された鍵は特定
の鍵が割当てられている楽音発生チャンネル2を除く他
の楽音発生チャンネル2に割当てられて、特定の鍵に関
する楽音は消されることなく発音し続ける。また、操作
子3が楽音発生チャンネル2にて発生される楽音の減衰
時間の短い状態を選択していれば、制限手段4Cは鍵が
割当てられるべき楽音発生チャンネル2の上記制限をし
ないので、新たに押された鍵は全ての楽音発生チャンネ
ル2のいずれかに割当てられることになる。
In the present invention configured as described above, when a new key is pressed with key ii, the assigning means 4a assigns the pressed key to any of the musical tone generation channels, and generates the musical tone to which the key is assigned. A musical tone corresponding to the key is generated in the channel. During the assignment by the assigning means 4a, if the operator 3 selects a state in which the decay time of the musical tone generated in the musical tone generating channel 2 is long, the limiting means 4C selects the musical tone to which the key is to be assigned by the assigning means 4a. Since the generation channels 2 are limited to musical tone generation channels 2 excluding the musical tone generation channel 2 to which a specific key detected by the detection means 4b is assigned, a newly pressed key is assigned a specific key. The musical tone associated with a specific key is assigned to a musical tone generating channel 2 other than the musical tone generating channel 2, and continues to be generated without being erased. Further, if the operator 3 selects a state in which the decay time of the musical tone generated in the musical tone generating channel 2 is short, the limiting means 4C does not restrict the musical tone generating channel 2 to which the key is to be assigned. The key pressed will be assigned to one of all musical tone generation channels 2.

〔発明の効果〕〔Effect of the invention〕

上記のような作用説明からも理解できる通り、操作子3
が楽音の減衰時間の長い状態を選択していて楽音発生チ
ャンネル2にて発生される楽音の減衰時間が長い場合に
は、鍵盤1にて新たな鍵が押されても、楽音発生チャン
ネル2に既に割当てられている特定の鍵に関する楽音は
制限手段4Cの作用によって継続して発音可能であるの
で、この特定の鍵を例えば低音域に対応した鍵に選定す
れば、ピアノ演奏等で見られるように、低音域に属する
楽音の余韻を残したまま高音域の速い奏法による楽音を
次々と発音させるような演奏効果を得ることができる。
As can be understood from the explanation of the action above, the controller 3
has selected a state where the decay time of musical tones is long, and if the decay time of the musical tone generated in musical tone generation channel 2 is long, even if a new key is pressed on keyboard 1, the decay time of the musical tone generated in musical tone generation channel 2 will not be changed to musical tone generation channel 2. The musical tones associated with a specific key that has already been assigned can continue to be produced by the action of the limiting means 4C, so if this specific key is selected, for example, as a key corresponding to the low range, it will be possible to produce sounds as seen in piano performances. In addition, it is possible to obtain a performance effect in which musical tones in the high register are played one after another in a fast playing style while retaining the lingering sound of the musical tones in the low register.

また、前記特定の鍵を例えば中音域又は高音域に対応し
た鍵に選定すれば、中音域又は高音域に属する楽音の継
続発音が可能となり、該中音域又は高音域に属する楽音
の余韻を残したまま他の音域の速い奏法による楽音を次
々に発音させるような従来にない演奏効果を達成できる
・ また、操作子3が楽音の減衰時間の短い状態を選択して
いて楽音発生チャンネル2にて発生される楽音の減衰時
間が短いために、上記割当て制限による演奏効果が期待
されない場合には、制限手段4Cは該割当て制限をせず
、新たに押された鍵は全ての楽音発生チャンネル2のい
ずれかに割当てられるので、全ての楽音発生チャンネル
2が有効に利用されて、特定のjl!以外の鍵の演奏に
支障が生じなくなる。
Furthermore, if the specific key is selected as a key corresponding to the midrange or high range, for example, it becomes possible to continuously produce musical tones belonging to the midrange or high range, leaving the lingering sound of the musical tones belonging to the midrange or high range. It is possible to achieve an unprecedented performance effect in which musical tones in other registers are produced one after another by fast playing techniques.In addition, when the operator 3 selects a state in which the decay time of the musical tones is short, the sound generation channel 2 If the decay time of the generated musical tone is short and no performance effect is expected from the above allocation restriction, the limiting means 4C does not perform the allocation restriction and the newly pressed key is transmitted to all musical sound generation channels 2. Since all musical tone generation channels 2 can be used effectively, a specific jl! There will be no hindrance to playing other keys.

〔実施例〕〔Example〕

a、構成例 以下、この発明の一実施例を図面を用いて説明すると、
第2図はこの発明が通用された減衰系(バーカッシブ系
)の楽音を発生する電子楽器を概略的に示すものであり
、この電子楽器は鍵盤lOと、音色、音量等を選択制御
する操作子群11と、楽音の減衰時間(減衰時定数)を
切換えるサスティンペダル12と、楽音信号を発生する
楽音発生回路13と、鍵盤10、操作子群11及びサス
ティンペダル12の状態を入力して楽音発生回路13を
制御するマイクロコンピュータ部14を備えている。
a. Configuration example An embodiment of the present invention will be described below with reference to the drawings.
Fig. 2 schematically shows an electronic musical instrument that generates attenuated (vercussive) musical tones to which the present invention is applied. A musical tone is generated by inputting the states of the group 11, the sustain pedal 12 that changes the decay time (decay time constant) of the musical tone, the musical tone generation circuit 13 that generates a musical tone signal, the keyboard 10, the operator group 11, and the sustain pedal 12. A microcomputer unit 14 that controls the circuit 13 is provided.

鍵盤10は楽音発生回路13にて発生される楽音の音高
を指定するための複数の鍵(例えばAO〜C8の88鍵
)を有し、冬場の押鍵又は離yA操作は冬場に対応して
設けられた鍵スィッチからなる鍵スィッチ回路10aに
よって検出されるようになっているとともに、上記押鍵
操作に伴う押鍵速さ、押鍵圧力等の鍵タッチ強さくイニ
シャル鍵タッチ)が冬場に対応して設けられた押鍵速度
検出回路又は押鍵圧力検出回路等からなる鍵タッチ検出
回路10bによって検出されるようになっている。鍵ス
ィッチ回路10a及び鍵タッチ検出回路10bは、バス
15を介してマイクロコンピュータ部14に接続され、
マイクロコンピュータ部14に制御されて、冬場の押鍵
又は離鍵状態を表す鍵データ及び各鍵操作に伴う鍵タツ
チデータをマイクロコンピュータ部14に供給するよう
になっている。操作子群11は楽音発生回路13にて発
生される減衰系の例えばピアノ、ハープシコード等の音
色を選択する操作子及び発生される楽音の音量等を調節
する操作子等を有し、これらの操作子の操作状態は前記
各操作子に対応して設けられたスイッチ、ボリュウム等
からなる操作子スイッチ回路11aによって検出される
ようになっている。操作子スイッチ回路11aはバス1
5を介してマイクロコンピュータ部14に接続され、マ
イクロコンピュータ部14に制御されて、各操作子の状
態を表すデータをマイクロコンピュータ部14に供給す
るようになっている。サスティンペダル12は、その踏
込み操作により楽音発生回路13にて発生される楽音の
減衰時間を長(し、かつ踏込み解除により前記楽音の減
衰時間を短(するために演奏者の足により操作されるも
のであり、サスティンペダル12の踏込み又は踏込み解
除はサスティンペダルスイッチ回路12aにより検出さ
れ、この検出されたサスティンペダル12の踏込み又は
踏込み解除を表すデータは、同回路12aに接続された
バス15を介してマイクロコンピュータ部14に供給さ
れるようになっている。
The keyboard 10 has a plurality of keys (for example, 88 keys from AO to C8) for specifying the pitch of the musical tone generated by the musical tone generation circuit 13, and the key press or release yA operation in winter corresponds to the winter. It is detected by a key switch circuit 10a consisting of a key switch provided at The touch is detected by a correspondingly provided key touch detection circuit 10b consisting of a key depression speed detection circuit, a key depression pressure detection circuit, or the like. The key switch circuit 10a and the key touch detection circuit 10b are connected to the microcomputer section 14 via the bus 15,
Under the control of the microcomputer section 14, key data representing the key press or key release state in winter and key touch data associated with each key operation are supplied to the microcomputer section 14. The operator group 11 includes an operator for selecting the tone of the attenuation system, such as piano or harpsichord, generated by the musical tone generating circuit 13, and an operator for adjusting the volume of the generated musical tone. The operation state of the child is detected by an operator switch circuit 11a comprising a switch, a volume, etc. provided corresponding to each of the operators. The operator switch circuit 11a is connected to the bus 1
5 to the microcomputer section 14, and is controlled by the microcomputer section 14 to supply data representing the status of each operator to the microcomputer section 14. The sustain pedal 12 is operated by the foot of the performer in order to lengthen the decay time of the musical sound generated by the musical sound generation circuit 13 when the pedal is depressed, and to shorten the decay time of the musical sound when the pedal is released. The depression or release of the sustain pedal 12 is detected by the sustain pedal switch circuit 12a, and the data representing the detected depression or release of the sustain pedal 12 is sent via the bus 15 connected to the circuit 12a. The data is then supplied to the microcomputer section 14.

楽音発生回路13は、鍵盤10の鍵数より少ないN個(
例えば、8個)の楽音発生チャンネルを有し、l!ff
1lOにて新たな鍵が押されたとき、マイクロコンピュ
ータ部14により該鍵が割当てられた楽音発生チャンネ
ルにおいて、鍵盤10の鍵操作、操作子群11の操作状
態及びサスティンペダル12の操作状態に応じた楽音信
号を発生し、アンプ16を介しスピーカ17から楽音と
して発音する。この場合、発生楽音の周波数は鍵盤IO
にて押された鍵により指定された該鍵に対応する音高周
波数であり、発生楽音の音色は操作子群11の操作状態
に応じて指定されるピアノ、ハープシコード等の音色で
ある。また、発生楽音のエンベロープ波形は、基本的に
は第3A図の実線にて示すように、押鍵と同時に急速に
立上り、所定のアタックレベルALに達すると、離鍵と
は無関係に所定の減衰時定数DTで除々に減衰して、押
鍵中はこの減衰を続行し、減衰中に離鍵されると、破線
にて示すようにその時点から急速に減衰する形状である
が、このエンベロープ波形はサスティンペダル12の操
作及び鍵盤10の鍵操作により制御されて、サスティン
ペダル12が踏込まれた状態にあれば離鍵されても破線
のように変化せず実線のように変化し、また、発生され
る音高が低くなるに従って減衰時定数DTが大きくなる
ように設定されて一点鎖線のように変化し、さらに、鍵
タッチ検出回路10bにより検出された鍵タッチが強け
ればすなわち押鍵速度が太き(又は押鍵圧力が大きけれ
ば上記所定のアタックレベルALが大きくなって二点鎖
線のように変化するようになっている。さらに、前記減
衰時定数DT及びアタックレベルALは発生楽音の音色
に応じても変化するようになっている。これにより、ピ
アノ等の減衰系の自然楽器において見られるように、発
生楽音に応じて楽音の減衰時間(楽音の音量レベルが高
い状態から除々に低くなってほぼ零になるまでの時間)
を異ならせるようになっている。
The musical tone generation circuit 13 has N keys (
For example, it has 8) musical tone generation channels, and l! ff
When a new key is pressed at 110, the microcomputer section 14 performs a sound generation channel to which the key is assigned, depending on the key operation on the keyboard 10, the operation state of the operator group 11, and the operation state of the sustain pedal 12. A musical tone signal is generated and output as a musical tone from a speaker 17 via an amplifier 16. In this case, the frequency of the generated musical tone is the keyboard IO
The timbre of the generated musical tone is a timbre of a piano, harpsichord, etc., which is specified according to the operating state of the operator group 11. Furthermore, as shown by the solid line in Figure 3A, the envelope waveform of the generated musical tone basically rises rapidly at the same time as the key is pressed, and when it reaches a predetermined attack level AL, it attenuates by a predetermined value regardless of the key release. It gradually attenuates with the time constant DT, continues this attenuation while the key is being pressed, and when the key is released during the attenuation, it rapidly attenuates from that point on, as shown by the broken line, but this envelope waveform is controlled by the operation of the sustain pedal 12 and the keys on the keyboard 10, and when the sustain pedal 12 is depressed, it does not change as shown by the broken line but changes as shown by the solid line even when the key is released. The attenuation time constant DT is set to increase as the pitch becomes lower, and changes as shown by the dashed line.Furthermore, if the key touch detected by the key touch detection circuit 10b is strong, that is, the key pressing speed increases. (or when the key pressing pressure is large, the predetermined attack level AL becomes large and changes as shown by the two-dot chain line.Furthermore, the attenuation time constant DT and the attack level AL change the timbre of the generated musical sound. As a result, the decay time of the musical sound (the volume level of the musical sound gradually decreases from high to low) depending on the generated musical sound, as seen in damping natural instruments such as pianos. time until it reaches almost zero)
are designed to differ.

マイクロコンピュータ部14は、第5図乃至第9図及び
第11図に示すフローチャートに対応したプログラムを
記憶する読出し専用メモリ (以下単にROMという)
14aと、このプログラムを実行する中央処理装置(以
下単にCPUという)14bと、このプログラムを実行
するのに必要な後述する諸変数を一時的に記憶してワー
キングメモリとしての役目を果す書込み可能メモリ (
以下単にRAMという)14Cと、時間を計測して所定
時間毎に、実行中のプログラム処理を中断して第8図に
示すフローチャートに対応した「タイマ割込み」プログ
ラムをCPU14bに実行させるタイマ回路14dとを
備え、上記プログラムの実行によりg3!ilo、操作
子群11及びサスティンペダル12の操作に応・じたデ
ータを楽音発生回路13に出力して楽音の発生を制御す
る。なお、ROM14a、CPU14b、RAM14c
及びタイマ回路14dはバス15に接続されている。
The microcomputer unit 14 is a read-only memory (hereinafter simply referred to as ROM) that stores programs corresponding to the flowcharts shown in FIGS. 5 to 9 and 11.
14a, a central processing unit (hereinafter simply referred to as CPU) 14b that executes this program, and a writable memory that temporarily stores various variables that are necessary to execute this program, which will be described later, and serves as a working memory. (
(hereinafter simply referred to as RAM) 14C, and a timer circuit 14d that measures time and, at predetermined intervals, interrupts the program processing being executed and causes the CPU 14b to execute a "timer interrupt" program corresponding to the flowchart shown in FIG. By executing the above program, g3! ilo, data corresponding to the operations of the operator group 11 and the sustain pedal 12 are output to the musical tone generation circuit 13 to control the generation of musical tones. In addition, ROM14a, CPU14b, RAM14c
and the timer circuit 14d are connected to the bus 15.

RAM14cは、楽音発生回路13の各楽音発生チャン
ネルに割当てた鍵に関するデータを記憶する割当てキー
データレジスタ領域AKDR(第4A図)と、前記各楽
音発生チャンネルに割当てた鍵の鍵タッチ強さを表すデ
ータを記憶する割当てタッチデータレジスタ領域ATD
R(第4B図)と、前記各楽音発生チャンネルへの割当
て優先順位を表すデータを記憶する優先順位データレジ
スタ領域PRDR(第4C図)と、1!盤10にて新た
に押された鍵の割当てるべきチャンネルを指定するため
の割当指定チャンネルデータ等を記憶する割当てチャン
ネルレジスタ領域ACHR(第4D図)と、鍵盤10の
押鍵検出及び操作子群11の操作検出に利用する押鍵及
び操作検出レジスタ領域KOR(第4E図)と、チャン
ネルの割当て演算及びその他の演算に利用する一般しジ
スタ領域GNP (第4F図)に区分されている。
The RAM 14c includes an assigned key data register area AKDR (FIG. 4A) that stores data regarding keys assigned to each tone generation channel of the tone generation circuit 13, and a key touch strength representing the keys assigned to each tone generation channel. Assigned touch data register area ATD to store data
R (FIG. 4B), a priority data register area PRDR (FIG. 4C) that stores data representing the allocation priority to each musical tone generation channel, and 1! An allocation channel register area ACHR (FIG. 4D) that stores allocation designation channel data for specifying a channel to which a newly pressed key on the keyboard 10 is to be allocated, and a key press detection and operator group 11 of the keyboard 10. It is divided into a key press and operation detection register area KOR (FIG. 4E) used for operation detection, and a general register area GNP (FIG. 4F) used for channel assignment calculations and other calculations.

さらに、割当てキーデータレジスタ領域AKDR(第4
A図)は楽音発生回路13の各楽音発生チャンネルに各
々対応したN個のレジスタを有し、各レジスタは各々対
応する楽音発生チャンネルに割当てられた鍵を表すキー
コードKC及び該鍵の状態を示すキーオンデータKOか
らなる割当てキーデータA K D (1)〜AKD 
(N)を各々記憶する。
Furthermore, the assigned key data register area AKDR (fourth
Figure A) has N registers corresponding to each musical tone generating channel of the musical tone generating circuit 13, and each register stores a key code KC representing a key assigned to the corresponding musical tone generating channel and the state of the key. Assigned key data AKD (1) to AKD consisting of key-on data KO shown
(N) respectively.

なお、この実施例ではキーコードKCは高音になるに従
って「1」ずつ増加し、鍵盤10の88y!に対応して
「21」〜rl 08Jの値をとるものであり、キーオ
ンデータKOは値“0”にて離鍵状態を示しかワ値“1
”にて押鍵状態を示すものである。
In this embodiment, the key code KC increases by "1" as the tone becomes higher, and the key code KC increases by "1" at 88y of the keyboard 10! The key-on data KO takes a value of "21" to rl08J corresponding to the value "0" indicating the key release state or a value "1".
” indicates the key pressed state.

割当てタッチデータレジスタ領域ATDR(第4B図)
も、割当てキーデータレジスタ領域AKDRと同様に、
N個のレジスタを有し、各レジスタは割当てキーデータ
レジスタ領域AKDRに記憶されている各割当てキーデ
ータAKD (1)〜(N)が示す鍵に関するタッチデ
ータTDを割当てタッチデータATD (1)〜(N)
として各々記憶する。なお、タッチデータTDは押鍵強
さが大きくなると大きな値となるデータである。優先順
位データレジスタ領域PRDR(第4C図)も、割当て
キーデータレジスタ領域AKDRと同様に、各楽音発生
チャンネルに対応したNI[Iのレジスタを有し、各レ
ジスタは各楽音発生チャンネルに対応してその値が小さ
い程割当て優先順位が高くなる優先順位データPRD 
(1)〜PRD (N)を記憶する。
Assigned touch data register area ATDR (Figure 4B)
Similarly to the assigned key data register area AKDR,
It has N registers, and each register assigns touch data TD related to keys indicated by each assigned key data AKD (1) to (N) stored in the assigned key data register area AKDR. (N)
Each is memorized as . Note that the touch data TD is data that increases in value as the key depression strength increases. Like the assigned key data register area AKDR, the priority data register area PRDR (Fig. 4C) also has registers of NI[I corresponding to each musical tone generation channel, and each register corresponds to each musical tone generation channel. Priority data PRD, the smaller the value, the higher the allocation priority
(1) to PRD (N) are stored.

割当てチャンネルレジスタ領域ACHR(第4D図)は
、鍵盤10にて新たに押された鍵が割当てられる楽音発
生チャンネルの番号を示す割当てチャンネル番号データ
A CHNを記憶するレジスタと、この割当てチャンネ
ル番号データACHNを探し出す処理過程において抽出
されるチャンネル番号CHN及び優先順位データPRD
を記憶するレジスタ群を有する。
The assigned channel register area ACHR (FIG. 4D) includes a register that stores assigned channel number data ACHN indicating the number of the musical tone generation channel to which a newly pressed key on the keyboard 10 is assigned, and a register that stores this assigned channel number data ACHN. Channel number CHN and priority data PRD extracted in the process of searching for
It has a group of registers that store .

押鍵及び操作検出レジスタ領域KOR(第4E図)は、
鍵盤10の冬場に各々対応する複数のビットから成り、
各ビットが冬場の押鍵又は離鍵を表わす“1”又は“0
”のデータを記憶する鍵状態メモリKEYMEMと、操
作子群11の各スイッチ及び各ボリュウムに対応した複
数の記憶位置を有し、各々対応するスイッチの開閉成状
態データ又はボリュウムの位置データを記憶する操作子
状態メモリSWMEMと、1!!盤10の押鍵イベント
データKEVT1、!1Ift鍵イベントデータKEV
T2、又は操作子群11の操作子イベントデータ5WE
VTを記憶するための複数のレジスタを有する。なお、
この押鍵イベントデータKEVTIは鍵名を表すキーコ
ードKC1鍵の操作状態を表すキーオンデータKO及び
鍵タッチ強さを表すタッチデータTDからなり、+wi
イベントデータKEVT2は上記キーコードKC及びキ
ーオンデータKOからなる。
The key press and operation detection register area KOR (Fig. 4E) is as follows:
It consists of multiple bits each corresponding to the winter time of the keyboard 10,
Each bit is “1” or “0” indicating key press or key release in winter.
It has a key state memory KEYMEM that stores data of ", and a plurality of storage positions corresponding to each switch and each volume of the operator group 11, and each stores the opening/closing state data of the corresponding switch or the position data of the volume. Operator state memory SWMEM, 1!!key press event data KEVT1, !1Ift key event data KEV of board 10
T2 or operator event data 5WE of operator group 11
It has multiple registers for storing VT. In addition,
This key press event data KEVTI consists of a key code KC representing the key name, key on data KO representing the operating state of the key, and touch data TD representing the key touch strength.
The event data KEVT2 consists of the key code KC and key-on data KO.

一般しジスタ領域GNR(第4F図)は押鍵イベントデ
ータKEVTIの処理中に上記レジスタ領域KORから
読出したキーデータKD及びタッチデータTDを記憶す
る2箇のレジスタと、最低音検出により検出した最低音
に対応する最低音キーコードLKCを記憶するレジスタ
と、同一鍵が割当てられている楽音発生チャンネル数を
示す重複割当てチャンネル数データMANYを記憶する
レジスタと、サスティンペダル12が踏込まれた状態を
値“l”にて表しかつサスティンペダル12が踏込まれ
ていない状態を値“0”にて表すサスティンデータSU
Sを記憶するレジスタと、マイクロコンピュータ部14
の演算に必要なその他の変数等を記憶するその他のレジ
スタ群から成る。
Generally, the register area GNR (Fig. 4F) has two registers that store the key data KD and touch data TD read from the register area KOR during processing of the key press event data KEVTI, and the lowest note detected by the lowest note detection. A register that stores the lowest note key code LKC corresponding to a note, a register that stores duplicate assignment channel number data MANY indicating the number of musical tone generation channels to which the same key is assigned, and a value that indicates the state in which the sustain pedal 12 is depressed. Sustain data SU is represented by “l” and the state in which the sustain pedal 12 is not depressed is represented by the value “0”
A register for storing S and a microcomputer section 14
It consists of a group of other registers that store other variables necessary for the calculation.

b、基本動作 上記のように構成した実施例の基本的動作を第5図に示
すフローチャートを用いて説明すると、電源の投入によ
り、CPU14bは第5図のステップ20からプログラ
ムの実行を開始してステップ21にてRAM14Cの初
期設定を行う。
b. Basic Operation The basic operation of the embodiment configured as described above will be explained using the flowchart shown in FIG. 5. When the power is turned on, the CPU 14b starts executing the program from step 20 in FIG. In step 21, the RAM 14C is initialized.

上記初期設定後、CPU14bは、プログラムをステッ
プ22の鍵処理ルーチンに進め、同ルーチンにて、後述
する第6図、第7図及び第9図のフローチャートに対応
したプログラムを実行−°ることにより、鍵盤10の押
鍵または離鍵に応じて楽音発生回路13による楽音の発
生を制御する。
After the above initial settings, the CPU 14b advances the program to the key processing routine of step 22, and in the same routine executes the program corresponding to the flowcharts of FIGS. 6, 7, and 9, which will be described later. , controls the generation of musical tones by the musical tone generating circuit 13 in response to key depression or key release on the keyboard 10.

上記鍵処理ルーチンの実行後、CPU14bは、プログ
ラムをステップ23のサスティンペダル処理ルーチンに
進め、同ルーチンにて、後述する第11図のフローチャ
ートに対応したプログラムを実行することにより、サス
ティンペダル12の踏込み又は踏込み解除に応じて楽音
発生回路13にて発生中の楽音の減衰状態を制御する。
After executing the key processing routine, the CPU 14b advances the program to the sustain pedal processing routine of step 23, and in this routine, by executing a program corresponding to the flowchart of FIG. Alternatively, the attenuation state of the musical tone being generated by the musical tone generating circuit 13 is controlled in response to the release of the pedal.

次に、プログラムはステップ24.25に進み、マイク
ロコンピュータ部14は操作子群11の操作子状態を検
出し、検出結果を楽音発生回路13に出力して楽音の音
色、音量等を制御する。ステップ24にて、CPU14
bは操作子スイッチ回路11a内の各スイッチの開閉状
態及びボリュウムの設定位置を表わすデータを操作子群
11の新操作子データとして入力し、これらの入力デー
タと操作子状態メモリSWMEMに記憶されている旧操
作子データとを各操作子毎に各々対比し、両データが異
なる場合にのみ当該データに関する操作子の操作状態が
変化したものとして、同操作子の新操作子データを操作
子状態メモリSWMEMの同操作子に対応する記憶位置
に書込むと共に、同所操作子データを押鍵及び操作検出
レジスタ領域KORに操作子イベントデータ5WEVT
として記憶する。ステップ25にて、CPUI 4 b
は操作子イベントデータ5WEVTの有無を調べ、デー
タがある場合、このデータを楽音発生回路13に出力し
た後、出力した操作子イベントデータ5WEVTを消去
し、操作子イベントデータ5WEVTがなくなるまで上
記動作を繰返し、全ての操作子イベントデータの送出を
行う。なお、全操作子に関する新11コ操作子データが
一致する場合には、ステップ24.25における操作子
データの書換え及び出力は実行されない。
Next, the program proceeds to steps 24 and 25, where the microcomputer section 14 detects the operator status of the operator group 11 and outputs the detection result to the musical tone generating circuit 13 to control the tone, volume, etc. of the musical tone. At step 24, the CPU 14
b inputs data representing the open/closed state of each switch in the operator switch circuit 11a and the set position of the volume as new operator data for the operator group 11, and stores these input data and the operator state memory SWMEM. The old control data for each control is compared with the old control data for each control, and only if the two data are different, it is assumed that the operation state of the control related to the data has changed, and the new control data for the same control is stored in the control state memory. In addition to writing the same controller data to the storage location corresponding to the same controller in SWMEM, the controller event data 5WEVT is written to the key press and operation detection register area KOR.
be memorized as . In step 25, CPUI 4 b
checks whether there is controller event data 5WEVT, and if there is data, outputs this data to musical tone generation circuit 13, erases the output controller event data 5WEVT, and repeats the above operation until controller event data 5WEVT disappears. Repeatedly send all control event data. Note that if the new 11 operator data regarding all the operators match, the rewriting and output of the operator data in steps 24 and 25 are not executed.

上記ステップ24.25の処理後、プログラムはステッ
プ22に戻り、CPU14bはステップ22〜25の各
処理を繰返し実行して鍵盤10、サスティンペダル12
及び操作子群11の状態に応じて楽音発生回路13の楽
音発生を制御する。
After the processing of steps 24 and 25 above, the program returns to step 22, and the CPU 14b repeatedly executes each processing of steps 22 to 25 to
According to the state of the operator group 11, the musical tone generation circuit 13 controls musical tone generation.

0.1!処理動作 次に鍵処理ルーチンについて詳述すると、CPu14b
は第6図のステップ30からプログラムの実行を開始し
、ステップ31にて鍵スイツチ回路10a内の各鍵スィ
ッチを低音側又は高音側から順次走査し、この走査によ
り各鍵スィッチの開閉成の状態信号を鍵盤10の新鍵状
態データとして入力し、これらの入力データと鍵状態メ
モリKEYMEMに記憶されている旧遊状態データとを
各鍵毎に各々対比して鍵i10における押鍵状態の変化
を検出するとともに、新たな押鍵を検出したときには鍵
タッチ検出回路10bから該鍵に関するタッチデータを
取込む。すなわち、新鍵状態データが“1”であり、か
つ旧遊状態データが“0”である場合、CPU14bは
鍵盤10にて新たに鍵が押されたことを検知し、この新
鍵状態データ″1”を鍵状態メモリKEYMEMの新た
に押された鍵に対応する記憶位置に書込むと共に、同鍵
名を表わすキーコードKC及び鍵が押されたことを表わ
す値“1°のキーオンデータKOからなるキーデータK
Dと鍵タッチ検出回路10bから取込んだ該鍵の鍵タッ
チ強さを表すタッチデータTDとを押鍵イベントデータ
KEVTIとして押鍵及び操作検出レジスタ領域KOR
(第4E図)のレジスタ群に記憶する。また、新鍵状態
データが“0ゝでありかつ旧遊状態データが1”である
場合、CPU14bは鍵i10にて新たに鍵が離された
ことを検知し、この新鍵状態データ“0を鍵状態メモリ
KEYMEMの新たに離された鍵に対応する記憶位置に
書込むと共に、同鍵名を表わすキーコードKC及び鍵が
離されたことを表わす値“0”のキーオンデータKOか
らなるキーデータKDを離鍵イベントデータKEVT2
として上記レジスタ群に記憶する。なお、上記キーコー
ドKCは上記走査において冬場に対応する鍵スィッチを
順次指定している走査カウンタ(図示しない)により決
定される。このような走査により、鍵盤10の全ての鍵
の状態検出を終了すると、前回のステップ31の実行時
から今回のステップ31の実行までに状態が変化した鍵
に対応する押鍵イベントデータKEVTI及び離鍵イベ
ントデータKEVT2が上記レジスタ群に全て記憶され
ることになる。
0.1! Processing Operation Next, the key processing routine will be explained in detail.
starts executing the program from step 30 in FIG. 6, and in step 31 sequentially scans each key switch in the key switch circuit 10a from the low tone side or the high tone side, and by this scanning, the open/closed state of each key switch is determined. The signal is input as new key state data of the keyboard 10, and these input data are compared with the old play state data stored in the key state memory KEYMEM for each key to detect changes in the key pressing state of the key i10. At the same time, when a new key press is detected, touch data regarding the key is fetched from the key touch detection circuit 10b. That is, when the new key state data is "1" and the old play state data is "0", the CPU 14b detects that a new key has been pressed on the keyboard 10, and the new key state data "1" is written to the storage location corresponding to the newly pressed key in the key state memory KEYMEM, and the key code KC representing the name of the same key and the value "1° key-on data KO representing that the key has been pressed are written. key data K
D and touch data TD representing the key touch strength of the key fetched from the key touch detection circuit 10b are stored as key press event data KEVTI in the key press and operation detection register area KOR.
(FIG. 4E) is stored in the register group. Further, when the new key state data is "0" and the old idle state data is 1, the CPU 14b detects that the key i10 has been newly released, and sets the new key state data "0". Key data is written to the storage location corresponding to the newly released key in the key state memory KEYMEM, and consists of a key code KC representing the name of the same key and key-on data KO with a value of "0" representing that the key has been released. KD key release event data KEVT2
It is stored in the above register group as . The key code KC is determined by a scan counter (not shown) which sequentially specifies key switches corresponding to winter in the scan. When the state detection of all the keys on the keyboard 10 is completed through such scanning, the key press event data KEVTI and release key corresponding to the keys whose states have changed from the time of execution of the previous step 31 to the time of execution of the current step 31 are obtained. All of the key event data KEVT2 will be stored in the above register group.

次に、プログラムはステップ32.33に進み、CPU
14bはステップ32.33にて上記レジスタ群の内容
により押鍵または離鍵イベントの発生の有無を判別する
。鍵i10の冬場に状態変化がない場合、CPU14b
はステップ32及びステップ33にてrNOjと判断し
て、ステップ34により鍵処理ルーチンの実行を終了し
て第5図のステップ23の実行に移る。
The program then proceeds to step 32.33 where the CPU
14b determines in step 32.33 whether or not a key press or key release event has occurred based on the contents of the register group. If there is no change in the state of key i10 in winter, CPU14b
is determined to be rNOj in steps 32 and 33, and the execution of the key processing routine is ended in step 34, and the process moves to step 23 in FIG.

鍵盤10にて新たな押鍵があった場合、CPU14bは
ステップ32にて、上記レジスタ群に記憶されている押
鍵イベントデータKEVTIの存在によりrYESJと
判別して、ステップ40の「割当てchサーチ」プログ
ラム(第7図)、ステップ50の「割当てchデデー設
定」プログラム(第9図)及びステップ60の処理から
成る押鍵イベント処理ルーチンの実行に移る。
If there is a new key pressed on the keyboard 10, the CPU 14b determines rYESJ in step 32 based on the presence of the key pressed event data KEVTI stored in the register group, and performs the "assigned channel search" in step 40. A key press event processing routine consisting of the program (FIG. 7), the "assigned channel data setting" program (FIG. 9) at step 50, and the process at step 60 is executed.

CPUI 4 bは、新たに押された鍵の割当てらるべ
きチャンネル番号ACHNを決定する第7図の「割当て
chサーチ」プログラムにおいて、ステップ40aから
プログラムの実行を開始し、ステップ41aにて押鍵及
び操作検出レジスタ領域KORのレジスタ群からキーデ
ータKD及び夕7チデータTDからなる一組の押鍵イベ
ントデータKEVTIを読出して一般しジスタ領域GN
Pに今後処理するキーデータKD及びタッチデータ′r
Dとして記憶した後、ステップ41bにて該押鍵イベン
トデータKEVTIを上記レジスタ群から消去し、ステ
ップ42にて優先順位データレジスタ領域PRDRの各
レジスタに記憶されている優先順位データPRD (1
)〜PRD(N)を順次続出し、読出した優先順位デー
タPRDの値が「0」でなければこの値から「1」を減
算して減算結果を新たな優先順位データPRDとして上
記読出したレジスタに再び記憶し、又上記値が「0」で
あれば、上記続出したレジスタの内容を書換えないよう
にする。これにより、鍵盤10にて新たな鍵が押される
毎にそのデータ値が「0」でないチャンネルの優先順位
データPRD (1)〜PRD (N)が−率に「1」
ずつ減算されることになり、このことは押鍵毎に各チャ
ンネルの優先順位データが割当て優先順位の高い方向に
一率に更新されることを意味する。
In the "allocation channel search" program shown in FIG. 7, which determines the channel number ACHN to which a newly pressed key should be assigned, the CPU 4b starts execution of the program from step 40a, and in step 41a, the CPU 4b determines the channel number ACHN to which the newly pressed key should be assigned. A set of key press event data KEVTI consisting of key data KD and evening data TD is read out from the register group of the operation detection register area KOR and stored in the general register area GN.
Key data KD and touch data 'r to be processed in the future
After storing it as D, the key press event data KEVTI is deleted from the register group in step 41b, and the priority data PRD (1) stored in each register of the priority data register area PRDR is stored in step 42.
)~PRD(N) sequentially, and if the value of the read priority data PRD is not "0", "1" is subtracted from this value, and the subtraction result is used as the new priority data PRD in the register read above. If the above value is "0", the contents of the successive registers are not rewritten. As a result, each time a new key is pressed on the keyboard 10, the priority data PRD (1) to PRD (N) of the channels whose data value is not "0" are set to "1" at a negative rate.
This means that the priority data of each channel is updated at a constant rate in the direction of higher allocation priority every time a key is pressed.

上記優先順位データPRD (1)〜PRD (N)の
更新後、CPU14bは、ステップ43aにて、一般レ
ジスタGNPにステップ41aの処理により記憶したキ
ーデータKDに基づき、該キーデータKD中のキーコー
ドKCO値と等しい値のキーコードKCを有する割当て
キーデータAKDの数を、割当てキーデータレジスタA
KDRに記憶されている割当てキーデータAKD (1
)〜AKD(N)を順次読出してキーコードKC同志を
比較することにより検出し、検出した数を重複割当てチ
ャンネル数データMANYとして記憶する。この重複割
当てチャンネル数データMANYの検出は、トリル演奏
等の演奏態様により鍵盤10にて所定数(楽音発生チャ
ンネル数N)の押鍵操作の間に同一鍵が2回以上繰返し
押された場合に、該鍵の割当てられる最大チャンネル数
を決定するもので、この実施例では同一鍵の異なるチャ
ンネルへの割当ては2チヤンネルまで許容され、3チャ
ンネル以上の割当ては禁止されるようになっている。
After updating the priority data PRD (1) to PRD (N), in step 43a, the CPU 14b determines the key code in the key data KD based on the key data KD stored in the general register GNP by the processing in step 41a. The number of assigned key data AKD having a key code KC equal to the KCO value is stored in the assigned key data register A.
Assigned key data AKD (1) stored in KDR
) to AKD(N) are sequentially read and detected by comparing the key codes KC, and the detected number is stored as duplicate allocation channel number data MANY. This duplicate allocation channel number data MANY is detected when the same key is repeatedly pressed twice or more during key press operations of a predetermined number (number of musical sound generation channels N) on the keyboard 10 due to a performance mode such as a trill performance. , which determines the maximum number of channels to which the key can be assigned. In this embodiment, assignment of the same key to different channels is allowed up to two channels, and assignment of three or more channels is prohibited.

次に、CPU14bはステップ43bにて上記記憶した
重複割当てチャンネル数データMANYの値が「1」よ
り大きいか否かを判断する。上記新たに押された鍵が上
記所定数の押鍵操作の間に2回以上押されたものでない
場合、割当てキーデータレジスタ領域AKDRの各レジ
スタには各々異なるキーコードKCを有するキーデータ
KDが記憶されているので、上記ステップ43bにて検
出した重複割当てチャンネル数データMANYはrOJ
であり、CPU14bはステップ43bにて「NO」と
判定し、ステップ44aにて割当てキーデータレジスタ
領域AKDRの各レジスタに記憶されている割当てキー
データAKD (1)〜AKD (N)を順次読出し、
読出した割当てキーデータAKDのキーコードKCが最
低音キーコードLKCと一致せずかつ同キーデータAK
DのキーオンデータKOが“0”である割当てキーデー
タAKDを検出することにより、該割当てキーデータA
KDが記憶されているチャンネルを探し出して該チャン
ネルの番号を表すチャンネル番号データCHNと、優先
順位データレジスタ領域PRDRに記憶されていて該チ
ャンネル番号CHNに対応する優先順位データPRDと
を一組の抽出データとして割当てチャンネルレジスタ領
域ACHRに順次記憶する。これにより、最低音でなく
かつ離鍵されている鍵に関するキーデータKDが割当て
られている楽音発生チャンネルが全て抽出されることに
なる。この抽出処理後、CPU14bは、ステップ44
bにて上記抽出処理により抽出された該当チャンネルが
有るか否かを判断し、抽出された該当チャンネルがある
場合にはrYESJとの判定の基に、ステップ45aに
て前記抽出チャンネルの中からその値が最小である優先
順位データPRDを探し出し、この優先順位データPR
Dと一組になって記憶されているチャンネル番号データ
CHNを割当てチャンネルレジスタ領域ACHRに割当
てチャンネル番号データACHNとして記憶して、ステ
ップ46にて「割当てchサーチ」プログラムの実行を
終了する。
Next, in step 43b, the CPU 14b determines whether the value of the stored duplicate allocation channel number data MANY is greater than "1". If the newly pressed key is not pressed twice or more during the predetermined number of key press operations, each register in the assigned key data register area AKDR contains key data KD having a different key code KC. Since it is stored, the data MANY of the number of duplicately allocated channels detected in step 43b is rOJ.
The CPU 14b determines "NO" in step 43b, and sequentially reads the assigned key data AKD (1) to AKD (N) stored in each register of the assigned key data register area AKDR in step 44 a.
The key code KC of the read assigned key data AKD does not match the lowest note key code LKC and the same key data AK
By detecting the assigned key data AKD in which the key-on data KO of D is “0”, the assigned key data A
Find a channel in which KD is stored and extract a set of channel number data CHN representing the number of the channel and priority data PRD stored in the priority data register area PRDR and corresponding to the channel number CHN. It is sequentially stored as data in the allocated channel register area ACHR. As a result, all musical tone generation channels to which key data KD related to a key that is not the lowest note and is released are extracted. After this extraction process, the CPU 14b performs step 44.
In step b, it is determined whether or not there is a corresponding channel extracted by the above extraction process, and if there is a corresponding channel extracted, based on the determination rYESJ, in step 45a, that channel is selected from among the extracted channels. Find the priority data PRD with the minimum value, and select this priority data PR
The channel number data CHN stored as a pair with D is stored in the assigned channel register area ACHR as assigned channel number data ACHN, and the execution of the "assigned channel search" program is ended in step 46.

また、ステップ44aの抽出処理により該当するチャン
ネルがない場合、すなわち最低音でないチャンネルが全
て押鍵中である場合には、CPU14bはステ・/プ4
4bにてrNOJと判定し、ステップ45bにて、割当
てキーデータレジスタ領域AKDRに記憶されている割
当てキーデータAKD (1)〜AKD (N)のキー
コードKCが最低音キーコードLKCと一致せず、かつ
優先順位データレジスフ領域PRDRに記憶されている
優先順位データPRD (1)〜PRD(N)が最小の
値であるチャンネルを検出し、該チャンネルの番号CH
Nを割当てチャンネルレジスタ領域ACHRに割当てチ
ャンネル番号データA CI Nとして記憶して、ステ
ップ46にて「割当てchサーチ」のプログラムの実行
を終了する。これにより、鍵盤10にて押された鍵が上
記所定数の押鍵操作の間に2回以上押されたものでない
場合、ステップ44a、44b、45a、45bの処理
により、該鍵が割当てられるチャンネルを示す割当てチ
ャンネル番号データACHNは、割当てキーデータAK
D (1)〜AKD (N)の中に、最低音を示すキー
データKD以外で離された鍵を表すキーデータKDがあ
れば、このキーデータKDを記憶するチャンネルのうち
、優先順位データPRDが最小値であるチャンネルを表
すチャンネル番号CHNに決定され、また上記の条件に
該当するキーデータKDがなければ全チャンネル中最低
音を表すキーデータKDを記憶するチャンネル以外であ
って、優先順位データPRDが最小値のチャンネルを表
すチャンネル番号CHNに設定される。
Further, if there is no corresponding channel as a result of the extraction processing in step 44a, that is, if all channels other than the lowest note are being pressed, the CPU 14b performs step 4.
In step 4b, it is determined that the key code is rNOJ, and in step 45b, the key code KC of the assigned key data AKD (1) to AKD (N) stored in the assigned key data register area AKDR does not match the lowest note key code LKC. , and the priority data PRD (1) to PRD (N) stored in the priority data register PRDR have the minimum value, and detect the channel number CH of the channel.
N is stored in the allocated channel register area ACHR as allocated channel number data ACIN, and in step 46 the execution of the "allocated channel search" program is ended. As a result, if the key pressed on the keyboard 10 is not pressed twice or more during the predetermined number of key press operations, the process of steps 44a, 44b, 45a, and 45b determines the channel to which the key is assigned. The assigned channel number data ACHN indicating the assigned channel number is the assigned key data AK.
If there is key data KD representing a key released other than the key data KD representing the lowest note among D (1) to AKD (N), the priority data PRD of the channels storing this key data KD is is determined to be the channel number CHN representing the channel with the minimum value, and if there is no key data KD that corresponds to the above conditions, the priority data is determined as the channel other than the channel that stores the key data KD representing the lowest tone among all channels. The channel number CHN representing the channel with the minimum PRD is set.

一方、トリル演奏のように鍵盤10において上記所定数
の押鍵操作の間に同一鍵が2回以上繰返して押された場
合、新たに押された鍵が1回目であれば、上記と同様に
、ステップ43aにて重複割当てチャンネル数データM
ANYが「0」に設定され、また2回目であれば、割当
てキーデータレジスタ領域AKDRには1回の押鍵時の
割当てにより該鍵に関する割当てキーデータAKDが存
在しているのでステップ43aの処理により重複割当て
チャンネル数データMANYは「1」に設定され、さら
に3回目であればステップ43aの処理により重複割当
てチャンネル数データMANYは「2」に設定される。
On the other hand, when the same key is pressed twice or more during the predetermined number of key press operations on the keyboard 10, such as when playing a trill, if the newly pressed key is the first time, the same procedure as above is performed. , in step 43a, the number of duplicately allocated channels data M
If ANY is set to "0" and this is the second time, the assigned key data AKD related to the key exists in the assigned key data register area AKDR due to the assignment when the key is pressed once, so the process of step 43a is performed. Therefore, the data MANY for the number of duplicately allocated channels is set to "1", and if it is the third time, the data MANY for the number of duplicately allocated channels is set to "2" by the process of step 43a.

このように、重複割当てチャンネル数データMANYは
同一鍵の繰返し押鍵回数により種々の値に設定され、同
データMANYが「0」又は「1」のときはステップ4
3bにて「NO」すなわち同データMANYが「1」よ
り大きくないと判定されて、ステップ44a。
In this way, the duplicate allocation channel number data MANY is set to various values depending on the number of times the same key is repeatedly pressed, and when the same data MANY is "0" or "1", step 4
3b, it is determined that the same data MANY is not greater than "1", and the process proceeds to step 44a.

44、b、45a、45bにて上記のようにして割当て
チャンネル番号データACHNが設定されるが、同デー
タMANYが「2」になると、CPU14bはステップ
43bにてrYEsJと判定し、ステップ45cにて割
当てキーデータレジスタ領域AKDRの各レジスタに記
憶しである割当てキーデータAKD (1)〜AKD(
N)を順次読出し、続出した割当てキーデータAKD中
のキーコードKCと新たに押された鍵を表すキーデータ
KD中のキーコードKCとを比較し、これらのキーコー
ドKCが一致する複数のチャンネルを抽出して、この抽
出した複数のチャンネルに対応して割当てタッチデータ
レジスタ領域ATDRに記憶されている複数の割当てタ
ッチデータATDのうちその値が最も小さい割当てタッ
チデータATDを記憶するチャンネルを検出し、該チャ
ンネルを示す番号を割当てチャンネルレジスタ領域AC
HRに割当てチャンネル番号データA CHNとして記
憶して、ステップ46の処理により「割当てchサーチ
」プログラムの実行を終了する。
The allocated channel number data ACHN is set in steps 44, b, 45a, and 45b as described above, but when the same data MANY becomes "2", the CPU 14b determines that it is rYEsJ in step 43b, and in step 45c. Assigned key data AKD (1) to AKD ( stored in each register of the assigned key data register area AKDR)
N) are sequentially read out, and the key code KC in the successive assigned key data AKD is compared with the key code KC in the key data KD representing the newly pressed key, and a plurality of channels where these key codes KC match are selected. , and detects the channel that stores the assigned touch data ATD having the smallest value among the multiple assigned touch data ATD stored in the assigned touch data register area ATDR corresponding to the extracted multiple channels. , assigns a number indicating the channel to the channel register area AC
The assigned channel number data is stored in the HR as assigned channel number data ACHN, and the execution of the "assigned channel search" program is completed through the process of step 46.

このステップ43a、43bの処理により、割当てチャ
ンネル番号データACHNは、鍵盤10にて上記所定数
の押1!操作の間に同一鍵の押される回数が「2」以内
のときにはステップ44a。
Through the processing of steps 43a and 43b, the assigned channel number data ACHN is determined by the predetermined number of presses on the keyboard 10! If the number of times the same key is pressed during the operation is less than "2", step 44a.

44b、45a、45bの処理により設定され、父上記
回数が「3」以上になるとステップ45cの処理により
前に押された同一鍵が割当てられているチャンネルの中
で、割当てタッチデータATDが最小であるチャンネル
を示すチャンネル番号CHNに設定される。このことは
同一鍵に関する楽音を同時に発生するチャンネル数を「
2」までに制限していることを意味する。なお、この制
御チャンネル数は他の数例えば「3」等でもよく、この
場合にはステップ43bにて重複割当てチャンネル数M
ANYと比較する値を「2」にするとよい。また、上記
割当てタッチデータATDは、後述する[割当てchデ
デー設定」プログラムの実行により、鍵が新たに押され
たときキーデータKDとともに鍵タッチ強さを表すタッ
チデータTDとして割当て記憶された後、第8図に示す
フローチャートに対応した「タイマ割込み」プログラム
の実行によりその値が更新されるものである。
44b, 45a, and 45b, and when the number of times above reaches "3" or more, the process of step 45c determines that the assigned touch data ATD is the smallest among the channels to which the same key previously pressed is assigned. This is set to a channel number CHN indicating a certain channel. This means that the number of channels that simultaneously generate musical tones related to the same key is
This means that the number is limited to 2. Note that this number of control channels may be any other number, such as "3", and in this case, in step 43b, the number of overlappingly allocated channels M is set.
It is preferable to set the value to be compared with ANY to "2". Further, the above-mentioned assigned touch data ATD is assigned and stored as touch data TD representing the key touch strength together with the key data KD when a key is newly pressed by executing the "assigned channel data setting" program to be described later. The value is updated by executing the "timer interrupt" program corresponding to the flowchart shown in FIG.

上記「タイマ割込み」プログラムにおいては、CPU1
4bはタイマ回路14dにより制御されて、他のプログ
ラムの実行を中断してステップ65から該プログラムの
実行を開始し、ステップ66にて割当てタッチデータレ
ジスタ領域ATDRの各レジスタに記憶されている割当
てタッチデータATD (1)〜ATD (N)を順次
読出し、読出した割当てタッチデータATDがrOJで
なければ該データATDから「1」を減算し、減算結果
(ATD−1)を新たな割当てタッチデータATDとし
て割当てタッチデータレジスタ領域ATDRの続出した
レジスタに再び記憶する。また、読出したタッチデータ
ATDがrOJであれば、該データATDの書換えは行
なわない。上記のようにして、全ての割当てタッチデー
タATDの更新処理を実行すると、CPU14bはステ
ップ67の処理によりこの「タイマ割込み」プログラム
の実行を終了して、前記中断したプログラムの実行に移
る。この「タイマ割込み」プログラムにより、押鍵時に
設定された割当てタッチデータATD(1)〜ATD 
(N)の各値は時間が経過するに従って小さくなるので
、同一鍵が上記所定数の押鍵操作の間に3回以上押され
た場合における該鍵が割当てられるべきチャンネルを示
す割当てチャンネル番号データACHNは押鍵時の鍵タ
ッチ強さ及び押鍵からの経過時間に応じて決定されるこ
とになる。
In the above "timer interrupt" program, CPU1
4b is controlled by the timer circuit 14d to interrupt the execution of other programs and start execution of the program from step 65, and in step 66, the assigned touch data stored in each register of the assigned touch data register area ATDR is Data ATD (1) to ATD (N) are sequentially read, and if the read assigned touch data ATD is not rOJ, "1" is subtracted from the data ATD, and the subtraction result (ATD-1) is used as the new assigned touch data ATD. The data is stored again in successive registers in the assigned touch data register area ATDR. Further, if the read touch data ATD is rOJ, the data ATD is not rewritten. After executing the updating process for all assigned touch data ATD as described above, the CPU 14b ends the execution of this "timer interrupt" program through the process of step 67, and proceeds to execute the interrupted program. By this "timer interrupt" program, the assigned touch data ATD(1) to ATD set when the key is pressed
Since each value of (N) decreases as time passes, the assigned channel number data indicates the channel to which the key is to be assigned when the same key is pressed three or more times during the predetermined number of key press operations. ACHN is determined according to the key touch strength at the time of key depression and the elapsed time from the key depression.

上記「割当てchサーチ」プログラムの実行を終了する
と、CPU14bは、第6図のステップ50にて、上述
した第7図のステップ45a〜45cの処理により設定
された割当てチャンネル番4ACHNに基づいて、優先
順位データPRD (ACHN)、割当てキーデータA
KD (ACHN)及び割当てタッチデータATD (
ACHN)を初期設定する「割当てchデデー設定」プ
ログラムの実行に移る。
When the execution of the above-mentioned "assigned channel search" program is finished, the CPU 14b, in step 50 of FIG. Ranking data PRD (ACHN), allocation key data A
KD (ACHN) and assigned touch data ATD (
The process moves on to execution of the "assigned channel data setting" program that initializes the ACHN.

このプログラムの詳細は第9図のフローチャートに示さ
れており、cpu14bはステップ50aにてこのプロ
グラムの実行を開始し、ステップ51aにてサスティン
データSUSの値に基づきサスティンペダル12が踏込
まれているか否かを判断する。この判断においてサステ
ィンペダル12が踏込・まれた状態にあれば、後述する
サスティンペダル処理ルーチンのプログラムの実行によ
りサスティンデータSUSは1”に設定されており、C
I)U14bはrYEsJと判定し、ステップ51bに
て新たに押された鍵を表すキーデータKD中のキーコー
ドKCと現時点における最低音を表すキーコードLKC
とを比較し、前記キーコードKCが最低音キーコードL
KCより小さければrYESJと判定して、ステップ5
1Gにて最低音キーコードLKCを前記キーコードKC
に設定し、又前記キーコードKCが最低音キーコードL
KCより大きければrNOJと判定してステップ51c
の処理をせずプログラムをステップ52aに進める。こ
れにより、サスティンペダル12が踏込まれているとき
、新たな鍵が押され、この新たな鍵が以前に割当てられ
ていたいずれの鍵よりも低い音高の鍵であれば、最低音
キーコードLKCが新たに押された鍵を示すキーコード
KCに変更される。また、サスティンペダル12の踏込
みが解除されていれば、後述するサスティンペダル処理
ルーチンのプログラムの実行によりサスティンデータS
USは“0”に設定されており、CPU14bはステッ
プ51aにてrNOJと判定してステップ51b、51
Cの処理を実行しないでプログラムをステップ52aに
進める。このことは、サスティンペダル12が踏込まれ
ていないときには、最低音検出が行われないことを意味
する。
The details of this program are shown in the flowchart of FIG. 9, and the CPU 14b starts executing this program in step 50a, and determines whether the sustain pedal 12 is depressed based on the value of sustain data SUS in step 51a. to judge. If the sustain pedal 12 is in the depressed/depressed state in this judgment, the sustain data SUS is set to 1" by executing the sustain pedal processing routine program to be described later, and the sustain data SUS is set to 1".
I) U14b determines rYEsJ, and in step 51b, key code KC in key data KD representing the newly pressed key and key code LKC representing the lowest note at the current time.
The key code KC is the lowest key code L.
If it is smaller than KC, it is determined as rYESJ and step 5
At 1G, change the lowest key code LKC to the above key code KC.
, and the key code KC is the lowest key code L.
If it is larger than KC, it is determined as rNOJ and step 51c
The program proceeds to step 52a without processing. As a result, when the sustain pedal 12 is depressed, a new key is pressed, and if this new key has a lower pitch than any previously assigned keys, the lowest key code LKC is changed to a key code KC indicating the newly pressed key. In addition, if the sustain pedal 12 has been released, the sustain data S
US is set to "0", and the CPU 14b determines rNOJ in step 51a and executes steps 51b and 51.
The program proceeds to step 52a without executing the process in C. This means that the lowest note detection is not performed when the sustain pedal 12 is not depressed.

次に、CPUI 4 bは、ステップ52aにて新たに
押された鍵を示すキーデータKD中のキーコードKCを
一般しジスタ領域GNPから再び読出し、読出したキー
コードKCを右へ4ビツトシフトすることによりこのキ
ーコードKCの値を「16」で割算してこの割算結果を
変数WGHTとして設定し、ステップ52bにて「8」
から前記変数WGHTの値を減算して、この減算結果を
上述の「割当てchサーチ」プログラムにより設定され
た割当てチャンネル番号データACHNの示すチャンネ
ルにおける優先順位データPRD (ACHN)として
設定する。こ・れにより、優先順位データPRD (A
CHN)は、キーコードKCO値に応じて、音名AO〜
A8に渡り16音毎に「1」ずつ減少する「7」〜「2
」のいずれかの値に設定され、このことは押鍵時に設定
される優先順位データPRDが低音程割当て優先順位が
低く重み付けされることを意味する。
Next, in step 52a, the CPU 4b reads the key code KC in the key data KD indicating the newly pressed key again from the general register area GNP, and shifts the read key code KC to the right by 4 bits. Divide the value of this key code KC by "16", set this division result as variable WGHT, and set it to "8" in step 52b.
The value of the variable WGHT is subtracted from , and the result of this subtraction is set as priority order data PRD (ACHN) for the channel indicated by the allocated channel number data ACHN set by the above-mentioned "allocated channel search" program. As a result, the priority data PRD (A
CHN) is the pitch name AO~ according to the key code KCO value.
"7" to "2" decrease by "1" every 16 notes across A8.
'', which means that the priority order data PRD set when a key is pressed is such that the low pitch allocation priority is weighted low.

さらに、cpui4bは、ステップ53aにて前記新た
に押された鍵を示すキーデータKD中のキーコードKC
と値「60」とを比較し、キーコードKCが値「60」
より小さければステップ53bにて上記ステップ52b
にて設定した優先順位データPRD (ACHN)に「
32」を加算し、キーコードKCが値「60」以上であ
ればステップ53cにて前記優先順位データPRD(A
CHN)に「26」を加算する。この値「60」は音高
04を示すキーコードKCに相当し、これにより音高0
4を境に、前記優先順位データPRD (ACHN)は
さらに低音程割当て優先順位が低く重み付けられ、その
値は、第10図に示すように新たに押された鍵のキーコ
ードKCに応じて、音高AO〜C8に渡り「39」〜r
37J、r31J〜「28」のいずれかとなる。
Further, in step 53a, the cpui4b inputs the key code KC in the key data KD indicating the newly pressed key.
and the value "60", and the key code KC is the value "60".
If it is smaller, the above step 52b is performed in step 53b.
The priority data PRD (ACHN) set in
32'' and if the key code KC is greater than or equal to the value ``60'', the priority order data PRD(A
Add "26" to CHN). This value "60" corresponds to the key code KC indicating pitch 04, and therefore the pitch is 0.
4, the priority data PRD (ACHN) is further weighted with lower pitch priority, and its value is changed according to the key code KC of the newly pressed key as shown in FIG. “39” to r over pitches AO to C8
37J, r31J to "28".

上記優先順位データPRDの設定後、CPUl4bはス
テップ54a、54bにて新たに押された鍵を示すキー
データKD及び該鍵の鍵タッチ強さを示すタッチデータ
TDを一般しジスタ領域GNPから再び読出して、これ
らのデータKD、TDを各々割当てキーデータレジスタ
領域AKDR及び割当てタッチデータレジスタ領域AT
DR内の上記割当てチャンネル番号データACHNが示
すチャンネルに対応する位置に書込むことにより、押鍵
割当てに伴う割当てキーデータAKD (ACHN)及
び割当てタッチデータATD (ACHN)の設定を実
行する。
After setting the priority data PRD, the CPU 14b reads out the key data KD indicating the newly pressed key and the touch data TD indicating the key touch strength of the key from the register area GNP in steps 54a and 54b. These data KD and TD are allocated to an allocated key data register area AKDR and an allocated touch data register area AT, respectively.
Setting of the assigned key data AKD (ACHN) and assigned touch data ATD (ACHN) accompanying the key press assignment is executed by writing in the position corresponding to the channel indicated by the assigned channel number data ACHN in the DR.

次に、CPU14bはステップ55aにて再び上記タッ
チデータTDを一般しジスク領域GNRから再度読出し
、読出したタッチデータTDを右へ4ビツトシフトする
ことによりこのタッチデータTDを「16」で割算して
この割算結果を変数W G HTとして設定し、ステッ
プ55bにて上記音高による重み付けした優先順位デー
タPRD (ACHN)に変数WGHTを加算すること
により、優先順位データPRD (ACHN)をタッチ
データTDの値が大きい程割当て優先順位が低くなるよ
うに重み付けして、ステップ56にて「割当てchデデ
ー設定」プログラムの処理を終了する。
Next, in step 55a, the CPU 14b again reads out the touch data TD from the disk area GNR, shifts the read touch data TD to the right by 4 bits, and divides the touch data TD by "16". This division result is set as a variable WGHT, and in step 55b, the variable WGHT is added to the priority data PRD (ACHN) weighted by the pitch, thereby converting the priority data PRD (ACHN) into the touch data TD. The assignment priority level is weighted so that the larger the value of , the lower the assignment priority, and the processing of the "assignment channel date setting" program is terminated at step 56.

なお、上述の音高及び鍵タッチ強さに基づく優先順位デ
ータP RD (11〜PRD(N)の重み付けは、上
記ステップ52a、55aの割算値の変更及びステップ
53aの比較値の変更により種々に変更されるものであ
る。また、鍵タッチ検出回路10bがなくてタッチデー
タTDが得られない場合又は鍵タッチ強さの楽音の減衰
時間に与える影響が小さくてタッチデータTDに応じて
優先順位データP RD (1)〜PRD(N)の重み
付けを特に必要としない場合、CPU14bは第9図に
破線にて示すようにステップ54bの処理後、ステップ
55a、55bの処理を経ないで、ステップ56にてこ
のプログラムの実行を終了するようにしてもよい。
Note that the weighting of the priority order data PRD (11 to PRD(N)) based on the pitch and key touch strength described above can be varied by changing the division values in steps 52a and 55a and the comparison value in step 53a. In addition, when the touch data TD cannot be obtained because the key touch detection circuit 10b is not provided, or when the influence of the key touch strength on the decay time of the musical tone is small, the priority order is changed according to the touch data TD. If weighting of the data PRD(1) to PRD(N) is not particularly necessary, the CPU 14b performs step 54b without going through steps 55a and 55b, as shown by the broken line in FIG. The execution of this program may be terminated at step 56.

上記「割当てchデデー設定」プログラムの実行を終了
すると、CPU14bは、第6図のステップ60にプロ
グラムを進め、ステップ60にて再び一般しジスタ領域
GNPからキーデータKDとタッチデータTDを読出し
て楽音発生回路13に出力するとともに、割当てチャン
ネルレジスタ領域A CHRから割当てチャンネル番号
データACHNを読出して楽音発生回路13に出力する
When the execution of the above-mentioned "assigned channel data setting" program is finished, the CPU 14b advances the program to step 60 in FIG. At the same time, the assigned channel number data ACHN is read out from the assigned channel register area ACHR and outputted to the tone generating circuit 13.

これにより、楽音発生回路13はマイクロコンピュータ
部14から鍵盤10にて新たに押された鍵を表すキーデ
ータKD、該鍵のタッチ強さを表すタッチデータTD及
び楽音を発生すべき楽音発生チャンネルを示すチャンネ
ル番号データCHNを入力することになり、同回路13
はこのチャンネル番号データCHNに基づき楽音を発生
すべき楽音発生チャンネルを指定し、この指定された楽
音発生チャンネルが上記キーデータKD中のキーオンデ
ータKO(“1″)に基づき、キーデータKD中のキー
コードKCにより指定された音高の楽音信号を発生し始
める。また、この楽音信号のエンベロープはそのアタッ
クレベルALがタッチデータに応じて決定され、かつそ
の減衰時定数DTがキーコードKCに応じて決定される
。このとき、同楽音発生チャンネルがいまだ他の楽音信
号を発生中であれば、この他の楽音信号の発生は停止さ
れて上記指定される音高の楽音信号の発生を開始する。
Thereby, the musical sound generation circuit 13 receives key data KD representing a newly pressed key on the keyboard 10, touch data TD representing the touch strength of the key, and a musical sound generation channel for generating a musical sound from the microcomputer section 14. The channel number data CHN shown in the diagram is input, and the same circuit 13
specifies the musical tone generating channel that should generate musical tones based on this channel number data CHN, and this specified musical tone generating channel is selected based on the key-on data KO (“1”) in the key data KD. A musical tone signal of the pitch specified by the key code KC begins to be generated. Furthermore, the attack level AL of the envelope of this musical tone signal is determined according to the touch data, and the decay time constant DT thereof is determined according to the key code KC. At this time, if the same musical tone generating channel is still generating another musical tone signal, generation of this other musical tone signal is stopped and generation of a musical tone signal of the specified pitch is started.

なお、上記のように他の楽音信号から新たに指定された
音高の楽音信号への切換え時には、新たな音のアタック
感をfl保しかつクリック音の発生を防止するために、
他の楽音信号を所定の時定数で急速に減衰させた後上記
切換えを行うようにするとよい。
As mentioned above, when switching from another musical tone signal to a musical tone signal with a newly specified pitch, in order to maintain the attack feeling of the new sound and prevent the generation of click sounds,
It is preferable that the above switching is performed after other musical tone signals are rapidly attenuated with a predetermined time constant.

上記楽音発生回路13への新たに押された鍵に関するデ
ータの送出を終了すると、CPU14bはプログラムを
ステップ32に進め、上述のようにステップ32にて押
鍵及び操作検出レジスタ領域KOR内の押鍵イベントデ
ータKEVTIの有無を調べ、押鍵イベントデータKE
VTIがまだ存在する場合には、ステップ40の「割当
てchサーチ」プログラム、ステップ50の[割当てC
hデデー設定jプログラム及びステップ60の処理から
なる押鍵イベント処理ルーチンにより次の押鍵イベント
データKEVTIに対応する押鍵に関するデータを楽音
発生回路13に出力し、押鍵イベントデータKEVTI
がなくなるまで上記押鍵イベント処理ルーチンの循環処
理を実行し続ける。この循環処理により押鍵イベントデ
ータKEVTIが全て処理されると、CPU14bはス
テップ32にて「NO」と判断し、プログラムをステッ
プ33に進め、押鍵及び操作検出レジスタ領域KOR内
に離鍵イベントデータKEVT2が存在しなければステ
ップ33にてrNOJと判定し、ステップ34の処理に
より鍵処理ルーチンの実行を終了し、離鍵イベントデー
タKEVT2が存在すればステップ33にてrYESJ
と判定し、ステップ70〜73からなるF@鍵イベント
処理ルーチンにプログラムを進める。
When the CPU 14b finishes sending the data regarding the newly pressed key to the musical sound generation circuit 13, the CPU 14b advances the program to step 32, and as described above, in step 32, the pressed key in the key pressed and operation detection register area KOR is sent. Check the presence or absence of event data KEVTI, and press key press event data KE.
If the VTI still exists, the "assignment channel search" program in step 40, the "assignment channel search" program in step 50,
The key press event processing routine consisting of the h day data setting j program and the processing in step 60 outputs data regarding the key press corresponding to the next key press event data KEVTI to the musical sound generation circuit 13, and generates the key press event data KEVTI.
The above-described cyclic processing of the key press event processing routine continues to be executed until the key press event processing routine runs out. When all the key press event data KEVTI has been processed through this circulation process, the CPU 14b determines "NO" in step 32, advances the program to step 33, and stores the key release event data in the key press and operation detection register area KOR. If KEVT2 does not exist, it is determined as rNOJ in step 33, and execution of the key processing routine is terminated through the processing in step 34, and if key release event data KEVT2 exists, rYESJ is determined in step 33.
Then, the program advances to the F@key event processing routine consisting of steps 70 to 73.

この離鍵イベント処理ルーチンでは、CPUl4bはス
テップ70にて押鍵及び操作レジスタ領域KORから、
キーデータKDからなる一つの離鍵イベントデータKE
VT2を読出して、一般レジスタ領域GNPに今後処理
するキーデータKDとして記憶した後、ステップ71に
て上記レジスタ領域KORの読出した離鍵イベントデー
タKEVT2を消去する。次に、CPU14bは前記記
憶したキーデータKDを読、出し、このキーデータKD
のキーコードKCと同じキーコードKCを有しかつキー
オンデータKOが“1”である割当てキーデータAKD
を、割当てキーデータレジスタ領域AKDRに記憶され
ている割当てキーデータ八KD(11〜AKD (N)
の中から探し出し、探し出した割当てキーデータAKD
のキーオンデータKOを“0″に設定変更し、ステップ
73にてキーオンデータKOを10”に設定変更したキ
ーデータKD及び該キーデータKDが記憶されていたチ
ャンネルを表すチャンネル番号データCHNを楽音発生
回路13に出力する。これにより、楽音発生回路13は
前記チャンネル番号データCHNにて指定される楽音発
生チャンネルにて発生中の楽音信号の減衰を制御する。
In this key release event processing routine, the CPU 14b reads the key press and operation register area KOR in step 70.
One key release event data KE consisting of key data KD
After reading VT2 and storing it in the general register area GNP as key data KD to be processed in the future, in step 71, the read key release event data KEVT2 in the register area KOR is erased. Next, the CPU 14b reads and outputs the stored key data KD.
Assigned key data AKD which has the same key code KC as the key code KC of and whose key-on data KO is "1"
, the assigned key data 8KD (11 to AKD (N) stored in the assigned key data register area AKDR)
The assigned key data AKD that was searched and found from among the
The key-on data KO is set to "0", and in step 73, the key-on data KO is set to "10", and the key data KD and the channel number data CHN representing the channel in which the key data KD was stored are generated to generate a musical tone. The tone generation circuit 13 thereby controls the attenuation of the tone signal being generated in the tone generation channel specified by the channel number data CHN.

このとき、後述するサスティンペダル処理ルーチンにて
設定されるサスティンデータSUSが“0”であれば上
記減衰は第3A図に破線で示すように急速に進み、また
サスティンデータSUSがm11+であれば上記減衰は
第3A図に実線にて示すように緩やかに進む。
At this time, if the sustain data SUS set in the sustain pedal processing routine to be described later is "0", the above-mentioned attenuation proceeds rapidly as shown by the broken line in FIG. 3A, and if the sustain data SUS is m11+, the above-mentioned Attenuation proceeds slowly as shown by the solid line in FIG. 3A.

このステップ73の処理後、CPU14bはプログラム
をステップ32に進め、ステップ32にて「NO」と判
定し、押鍵及び操作検出レジスタ領域KORの離鍵イベ
ントデータKEVT2がなくなるまでステップ32,3
3.70〜73の循環処理を実行し、%11!イベント
データKEVT2がなくなると、ステップ33にてrN
OJと判定し、ステップ34の処理にて鍵処理ルーチン
の実行を終了して第5図のステップ23のサスティンペ
ダル処理ルーチンの実行に移る。
After the processing in step 73, the CPU 14b advances the program to step 32, makes a "NO" determination in step 32, and continues to step 32 and 3 until the key release event data KEVT2 in the key press and operation detection register area KOR is exhausted.
3. Execute the cyclic process from 70 to 73, %11! When the event data KEVT2 is no longer available, rN
It is determined that the key processing routine is OJ, and the execution of the key processing routine is terminated in the process of step 34, and the execution of the sustain pedal processing routine of step 23 in FIG. 5 is started.

d、サスティンペダル処理動作 サスティンペダル12の踏込み又は踏込み解除に伴うサ
スティンペダル処理動作について詳述すると、第5図の
ステップ23のサスティンペダル処理のプログラムは第
11図のフローチャートに詳細に示されている。このプ
ログラムにおいては、CPU14bはステップ80にて
プログラムの実行を開始し、ステップ81にてサスティ
ンペダルスイッチ回路12aからサスティンペダル12
の現状態を示す現状態データを読込み、ステップ82a
、82bにて一般しジスタ領域GNPに記憶されている
サスティンペダル12の以前の状態を示すサスティンデ
ータSUSと上記現状態データとを比較することにより
サスティンペダル12の状態変化を検出する。
d. Sustain Pedal Processing Operation To explain in detail the sustain pedal processing operation that occurs when the sustain pedal 12 is depressed or released, the sustain pedal processing program in step 23 of FIG. 5 is shown in detail in the flowchart of FIG. 11. . In this program, the CPU 14b starts executing the program in step 80, and in step 81 switches the sustain pedal switch circuit 12a to the sustain pedal 12a.
Step 82a reads current state data indicating the current state of
, 82b, a change in the state of the sustain pedal 12 is detected by comparing the current state data with sustain data SUS indicating the previous state of the sustain pedal 12 stored in the register area GNP.

サスティンペダル12が以前踏込まれておらず新たに踏
込まれた場合、サスティンデータは10″であり上記取
込んだ現状態データは“1”であるので、CPU14b
はステップ82aにてrYES」すなわちオンイベント
有りと判断し、ステップ83aにてサスティンデータS
USを“1″に設定変更する。次に、CPU14bは、
ステップ84aにて割当てキーデータレジスタ領域AK
DRに記憶されている割当てキーデータA K D (
1)〜AKD (N)を順次読出し、これらの割当てキ
ーデータA K D (1)〜AKD(N)の中に押鍵
中の鍵すなわちキーオンデータKOが“1”である鍵を
表す割当てキーデータAKDがあるか否かを調べて、押
鍵中の鍵に関する割当てキーデータAKDがあれば、ス
テップ84bにて上記押鍵中の鍵に関する割当てキーデ
ータAKDの中から最小のキーコードKCを有するもの
を探し出し、該キーコードKCを最低音として一般しジ
スタ領域GNPに記憶する。また、押鍵中に関する割当
てキーデータAKDがなければ、CPU14bはステッ
プ84aにて「NO」と判定し、ステップ84Cにて一
般しジスタ領域GNR内の最低音キーコードLKCを鍵
盤10における最高音C8のキーコードKC(108)
よりも大きい値、例えば「128」に設定する。これに
より、サスティンペダル12が踏込まれた時点で鍵盤I
Oにて押されている鍵があれば、この鍵の中から最低音
が検出され、押されている鍵がなければ最低音が検出さ
れないことになる。なお、ステップ84cにて最低音キ
ーコードLKCを鍵盤10における最高音C8のキーコ
ードKC(108)より大きく設定したのは、サスティ
ンペダル12が踏込み状態にあるときに新たな鍵が押さ
れた場合、上述の第9図のステップ512〜51Cの処
理により該新たな鍵が最低音として検出されるようにす
るためである。
If the sustain pedal 12 has not been previously depressed and is newly depressed, the sustain data is 10'' and the current state data imported above is "1", so the CPU 14b
In step 82a, it is determined that "rYES", that is, there is an on-event, and in step 83a, the sustain data S
Change the setting of US to “1”. Next, the CPU 14b
Allocated key data register area AK in step 84a
Assigned key data A K D (
1) - AKD (N) are sequentially read out, and among these assigned key data A K D (1) - AKD (N), an assigned key representing the key being pressed, that is, the key whose key-on data KO is "1" is assigned. It is checked whether or not there is data AKD, and if there is assigned key data AKD regarding the currently pressed key, then in step 84b the key code KC is the smallest from among the assigned key data AKD regarding the key currently being pressed. Find the key code KC as the lowest note and store it in the register area GNP. Furthermore, if there is no assigned key data AKD related to the currently pressed key, the CPU 14b determines "NO" in step 84a, and in step 84C generally assigns the lowest note key code LKC in the register area GNR to the highest note C8 on the keyboard 10. Key code KC (108)
For example, set it to a value larger than ``128''. As a result, when the sustain pedal 12 is depressed, the keyboard I
If there is a key pressed at O, the lowest note among the keys is detected, and if no key is pressed, the lowest note is not detected. Note that the reason why the lowest note key code LKC is set larger than the key code KC (108) of the highest note C8 on the keyboard 10 in step 84c is because a new key is pressed while the sustain pedal 12 is in the depressed state. This is to ensure that the new key is detected as the lowest note by the processing of steps 512 to 51C in FIG. 9 described above.

上記最低音キーコードLKCの設定後、cpu14bは
ステップ85にてサスティンデータSUS (=“1”
〉を楽音発生回路13に出力し、ステップ86の処理に
よりサスティンペダル処理ルーチンの実行を終了する。
After setting the lowest note key code LKC, the CPU 14b outputs the sustain data SUS (="1") in step 85.
> is output to the musical tone generation circuit 13, and the execution of the sustain pedal processing routine is completed by the process of step 86.

楽音発生回路13は、このサスティンデータSUS (
=“1”)を記憶し、以降このサスティンデータSUS
 (=“1”)が変更されるまで各楽音発生チャンネル
にて発生される楽音の減衰特性を同データ5tJS(=
“1”)に基づき制御し、これにより、該楽音は離鍵さ
れても第3A図に実線で示すようにゆっくりと減衰する
ようになる。
The musical tone generation circuit 13 uses this sustain data SUS (
="1"), and from now on this sustain data SUS
The same data 5tJS(=
1), so that even when the key is released, the musical tone slowly decays as shown by the solid line in FIG. 3A.

サスティンペダル12が以前踏込まれており新たに踏込
みが解除された場合、一般レジスタ領域GNPに記1意
されているサスティンデータSUSは“1”であり、上
記ステップ81にて取込んだサスティンペダル12の現
状態データは“0”であるので、CPUI 4 bはス
テップ82aにて[NOJすなわちオンイベント無しと
判定し、ステ・7プ82bにてrYESJすなわちオフ
イベント有りと判定して、ステップ83bにてサスティ
ンデータSUSを“0”に設定変更し、ステップ84d
にて一般しジスタ領域GNR内の最低音キーコードLK
Cを鍵盤10における最低音AOのキーコードKC(2
1)より小さな値、例えば「1」に設定する。このよう
に、最低音キーコードLKCを鍵盤IOの鍵を表すキー
コードKCとして利用されていない値rlJに設定する
ことは、サスティンペダル12が踏込まれていないとき
には最低音キーコードLKCをクリアしておくことを意
味する。このステップ84dの処理後、CPU 14b
はステップ85にて、上記と同様に、サスティンデータ
S[JS(=“0”)を楽音発生回路13に出力し、ス
テップ86の処理によりサスティンペダル処理ルーチン
の実行を終了する。楽音発生回路13はこのサスティン
データSUS <=“0”)を記憶し、以降このサステ
ィンデータSUS (=”0”)が変更されるまで各楽
音発生チャンネルにて発生される楽音の減衰特性を同デ
ータSUSの値“0”に基づき制御し、これにより該楽
音は離鍵されると第3A図に破線で示すように急速に減
衰するようになる。
If the sustain pedal 12 was previously depressed and is newly released, the sustain data SUS written in the general register area GNP is "1", and the sustain pedal 12 imported in step 81 above is Since the current state data is "0", the CPU 4b determines NOJ, that is, there is no on event, in step 82a, determines rYESJ, that is, that there is an off event, in step 82b, and proceeds to step 83b. Change the setting of sustain data SUS to “0” and proceed to step 84d.
In general, the lowest note key code LK in the register area GNR
C is the key code KC (2) of the lowest note AO on the keyboard 10.
1) Set to a smaller value, for example "1". In this way, setting the lowest key code LKC to a value rlJ that is not used as a key code KC representing a key on the keyboard IO clears the lowest key code LKC when the sustain pedal 12 is not depressed. It means to leave. After processing this step 84d, the CPU 14b
At step 85, the sustain data S[JS (="0") is output to the musical tone generation circuit 13 in the same manner as described above, and the execution of the sustain pedal processing routine is completed through the processing at step 86. The musical sound generation circuit 13 stores this sustain data SUS (="0"), and thereafter maintains the same attenuation characteristics of the musical sounds generated in each musical sound generation channel until this sustain data SUS (="0") is changed. Control is performed based on the value "0" of the data SUS, so that when the key is released, the musical tone rapidly attenuates as shown by the broken line in FIG. 3A.

さらに、サスティンペダル12の状態が変化しない場合
には、一般レジスタ領域GNPに記憶されているサステ
ィンデータSUSと上記ステップ81にて取込んだサス
ティンペダル12の現状態データは同じであり、CPU
14bは、ステップ82aにてrNOJすなわちオンイ
ベント無しと判定し、ステップ82bにてrNOJすな
わちオフイベント無しと判定してステップ86の処理に
よりこのサスティンペダル処理ルーチンの実行を終了す
る。
Furthermore, if the state of the sustain pedal 12 does not change, the sustain data SUS stored in the general register area GNP and the current state data of the sustain pedal 12 imported in step 81 above are the same, and the CPU
14b determines in step 82a that rNOJ, that is, there is no on event, and in step 82b, determines that rNOJ, that is, that there is no off event, and ends the execution of this sustain pedal processing routine through the process of step 86.

e、実施例の効果 以上の動作説明からも理解できる通り、上記実施例にお
いては、割当て優先順位を決定するための((先順位デ
ータP RD (1)〜PRD(N)は押鍵検出によっ
てのみ設定され、楽音発生回路13からの発生楽音の音
量を示すエンベロープ振幅値データ等を必要としないの
で、この実施例に係る押鍵割当て装置は低コストにて実
現される。また、上記優先順位データP RD C11
〜PRD (N)は、押鍵時に、第9図のステップ52
a、52b、53a、53b、53cの処理により音高
が低くなるに従って大きくなる値に初期設定され(第1
0図参照)、かつ第9図のステップ55a、55bの処
理により鍵夕・7チ強さが大きくなるに従って大きくな
る値に初期設定されて、この初期設定された優先順位デ
ータP RD C1)〜PRD(N)は第7図のステッ
プ42の処理により各データとも押鍵毎に一率に減ぜら
れ、この減ぜられた優先順位データP RD (1)〜
PRD(N)に基づいてステップt5a、45bの処理
により小さな値の優先順位データPRDを記憶するチャ
ンネルが、新たな鍵が押されたときの該鍵の割当てチャ
ンネルとして決定されるので、該新たに押された鍵は、
音高が低くかつ鍵タッチ強さが太き(なるに従ってその
減衰時間が長くなる楽音を発生中のチャンネルには割当
てられにくくなり、割当て優先順位決定が押yl順のみ
により決定されるものに比べて適切になる。
e. Effects of the Embodiment As can be understood from the above explanation of the operation, in the above embodiment, the ((prior order data P RD (1) to PRD (N)) for determining the allocation priority are determined by key press detection. Since the envelope amplitude value data indicating the volume of the generated musical tone from the musical tone generating circuit 13 is not required, the key press assignment device according to this embodiment can be realized at low cost. Data PRD C11
~PRD (N) is executed at step 52 in FIG. 9 when the key is pressed.
a, 52b, 53a, 53b, and 53c, the initial value is set to a value that increases as the pitch decreases (the first
0), and by the processing of steps 55a and 55b in FIG. 9, the initial priority data PRD C1) is initialized to a value that increases as the key strength increases. PRD(N) is reduced by one rate for each key press by the process of step 42 in FIG. 7, and this reduced priority data PRD(1)~
Based on PRD(N), the channel that stores the priority data PRD of a small value is determined as the channel to be assigned to the key when the new key is pressed by the processing in steps t5a and 45b. The pressed key is
As the pitch is lower and the key touch strength is thicker (the decay time becomes longer), it becomes difficult to assign to a channel that is generating a musical sound, compared to a channel where assignment priority is determined only by the order of keys pressed. becomes appropriate.

また、トリル演奏等のように所定数(楽音発生チャンネ
ル数N)の押鍵操作の間に同一鍵が2回以上繰返し押さ
れた場合、第7図のステップ43a、43bの処理によ
り該鍵は2チヤンネルまで割当てを許容されるので、同
一鍵に関する楽音が2チヤンネルで同時に発生されて、
例えばピアノ等の自然楽器に見られるように発音源であ
る弦は後の打鍵に関する楽音を発生しているにもかかわ
らず、響板等の共鳴装置が前の打鍵に関する楽音を発生
するような効果がより良くシミュレートできる。また、
所定数(楽音発生チャンネル数N)の押鍵操作の間に同
一鍵が3回以上繰返し押された場合には、第7図のステ
ップ45c及び第8図のタイマ割込みプログラムの処理
により、鍵タッチ強さと押鍵からの時間経過とを考慮し
て以前に押された同一鍵が割当てられているチャンネル
に該鍵が再度割当てられるようにしたので、同一鍵が連
続して何回も繰返し押されても全て若しくは大部分の楽
音発生チャンネルが同一鍵により専有されてしまうこと
がなく、しかも同一鍵が割当てられているチャンネルの
中では小さな音量の方に新たに押された鍵の割当てがな
されるので、この割当ても適切なものとなる。なお、こ
の同一鍵の重複割当てはサスティンペダル12が踏込ま
れていて、楽音の減衰時間が長い場合程、より大きな効
果となって現われる。
Furthermore, when the same key is repeatedly pressed twice or more during a predetermined number of key press operations (number of musical sound generation channels N), such as when playing a trill, the key is Assignment is allowed for up to two channels, so musical tones related to the same key can be generated simultaneously on two channels,
For example, as seen in natural instruments such as the piano, an effect where a resonant device such as a soundboard generates the musical sound related to the previous keystroke, even though the strings that are the sound source generate the musical sound related to the subsequent keystroke. can be simulated better. Also,
If the same key is repeatedly pressed three or more times during a predetermined number of key press operations (number of musical tone generation channels N), the key touch is canceled by the processing of step 45c in FIG. 7 and the timer interrupt program in FIG. Taking into account the strength and time elapsed since the key was pressed, the key was re-assigned to the channel to which the same previously pressed key was assigned, so that the same key is not pressed many times in a row. Even if all or most of the musical sound generation channels are not occupied by the same key, and among the channels to which the same key is assigned, the newly pressed key is assigned to the one with the lower volume. Therefore, this allocation is also appropriate. Note that this overlapping assignment of the same key becomes more effective as the sustain pedal 12 is depressed and the decay time of the musical tone is longer.

さらに、サスティンペダル12が踏まれていて、発生楽
音の減衰時間が長い場合、第9図のステップ51b、5
1C及び第11図のステップ84b。
Further, if the sustain pedal 12 is depressed and the decay time of the generated musical tone is long, steps 51b and 5 in FIG.
1C and step 84b of FIG.

84Cの処理により最低音が検出され、第7図のステッ
プ44a、44b、45a、45bの処理により最低音
が割当てられているチャンネルには新たに押された鍵の
割当てが禁止されるようになっているので、該最低音は
引続き発生され続けることになり、ピアノ等で見られる
ように、低音部の楽音の余韻を残したまま高音部の速い
押鍵による楽音を次々に発生させることができる。また
、サスティンペダル12が踏込まれていず発生楽音の減
衰時間が短い場合、第11図のステップ84dの処理に
より最低音が検出されないように最低音キーコードLK
Cがクリアされるので、減衰時間が短く低音部(特に最
低音)の余韻が残らない場合には、上記割当て禁止が解
除されて新たに押された鍵の割当てが不必要に制激され
ない。これにより、全ての楽音発生チャンネルが有効に
利用される。
The lowest note is detected by the process of step 84C, and the newly pressed key is prohibited from being assigned to the channel to which the lowest note is assigned by the process of steps 44a, 44b, 45a, and 45b in FIG. As a result, the lowest note continues to be generated, and musical tones in the high register can be generated one after another by rapidly pressing the keys while retaining the lingering sound of the musical tones in the low register, as seen on a piano. . In addition, if the sustain pedal 12 is not depressed and the decay time of the generated musical tone is short, the lowest note key code LK is set so that the lowest note is not detected by the process of step 84d in FIG.
Since C is cleared, when the decay time is short and no lingering sound remains in the bass part (especially the lowest note), the above-mentioned assignment prohibition is canceled and the assignment of the newly pressed key is not unnecessarily restricted. As a result, all musical tone generation channels are effectively utilized.

e、他の実施例 上記実施例においては、楽音発生回路13がピアノ、ハ
ープシコード等の減衰系の楽音を発生する電子楽器にこ
の発明に係る押鍵割当て装置が通用された例について説
明したが、この発明に係る押鍵割当て装置は、楽音発生
回路13がフルート、バイオリン等の持続系の楽音を発
生する電子楽器にも通用される。この場合、エンベロー
プ波形振幅値は、第3B図に実線にて示すように、押鍵
と同時に急速に立上がり、押鍵中はほぼ一定しベルSL
を維持し、離jl!!後減衰時定数DTに応じて除々に
減衰するものであり、この場合には楽音の減衰時間が押
鍵タイミングにより決定されないで離鍵タイミングによ
り決定されるので、優先順位データP RD (1)〜
PRD(N)の減算は離鍵されているチャンネルにおい
てのみ離鍵毎に実行されるようにする。すなわち、第7
図のステップ42の処理を「割当てchサーチ」プログ
ラムにおいて実行する代わり、第6図のステップ70〜
73からなる離鍵イベント処理ルーチンにて離鍵されて
いるチャンネルにおいてのみ実行するようにするまた、
持続系の楽音のエンベロープ波形振幅値においては、前
記減衰時定数DTが音高が低くなるに従って第3B図に
一点鎖線で示すように変化し、かつ前記一定レベルSL
は鍵タッチ強さが大きくなるに従って第3B図に二点鎖
線で示すように変化する。さらに、持続系の楽音を制御
するために利用される鍵タツチ検出装置は通常押鍵深さ
又は押鍵圧力を押鍵巾検出し続けるいわゆるアフタータ
ッチセンサにより構成することもでき、前記一定、レベ
ルSLはこの検出結果に基づき変更制御されるので、こ
の種のタッチ検出装置を有する電子楽器にこの発明に係
る押鍵割当て装置を通用する場合、鍵タッチ強さによる
優先順位データPRD(1)〜PRD(N、)の重み付
けはM鍵時に行うようにする。すなわち、第9図のステ
ップssa、55bの処理は第6図のステップ72又は
ステ、プ73の処理後に実行するようにし、この場合に
は割当てチャンネル番号データACHNでなく、ステッ
プ72にて検出される離鍵チャンネルにより指定される
チャンネルの優先順位データPRDを鍵タッチ強さに応
じて重み付けするとよい。
e. Other Embodiments In the above embodiments, an example has been described in which the key press assignment device according to the present invention is applied to an electronic musical instrument in which the musical tone generating circuit 13 generates attenuated musical tones such as a piano or a harpsichord. The key press assignment device according to the present invention is also applicable to electronic musical instruments in which the musical tone generating circuit 13 generates sustained musical tones such as flutes, violins, and the like. In this case, as shown by the solid line in FIG. 3B, the envelope waveform amplitude value rapidly rises at the same time as the key is pressed, and remains almost constant during the key depression.
Keep it and leave! ! The attenuation is gradual according to the post-decay time constant DT, and in this case, the decay time of the musical tone is determined not by the key press timing but by the key release timing, so the priority data P RD (1) ~
The subtraction of PRD(N) is performed every time the key is released only in the channel where the key is released. That is, the seventh
Instead of executing the process of step 42 in the figure in the "allocation channel search" program, steps 70 to 6 in FIG.
In addition, the key release event processing routine consisting of step 73 is executed only on the channel where the key is released.
In the envelope waveform amplitude value of a sustained musical tone, the attenuation time constant DT changes as the pitch becomes lower, as shown by the dashed line in FIG. 3B, and the constant level SL
changes as shown by the two-dot chain line in FIG. 3B as the key touch strength increases. Furthermore, the key touch detection device used to control sustained musical tones can also be configured with a so-called aftertouch sensor that continuously detects the key depression depth or key depression pressure over the width of the key depression. Since the SL is changed and controlled based on this detection result, when the key press assignment device according to the present invention is used in an electronic musical instrument having this type of touch detection device, the priority data PRD(1) to SL based on the key touch strength are used. The weighting of PRD(N,) is performed for M keys. That is, the processing in steps ssa and 55b in FIG. 9 is executed after the processing in steps 72 or 73 in FIG. It is preferable to weight the priority order data PRD of the channel specified by the key release channel according to the key touch strength.

また、上記実施例においては、各鍵毎に設けられた押鍵
速度検出回路又は押鍵圧力検出回路から各鍵タッチ強さ
を表す信号が出力されるようにしたが、各鍵部に第1及
び第2の固定接点と押鍵操作により可動する可動接点を
備えた切換え型のスイッチを有し、押鍵操作に応じて可
動接点が第1の固定接点から第2の固定接点に切換わる
時間を計数手段により計測して押鍵速度を検出し、又は
各鍵部に固定接点と押鍵操作に応じて可動する可動接点
とを備えた2組のスイッチを有し、押鍵操作に応じて2
組のスイッチが各々閉成(又開成)されるタイミング差
を計数手段により計測して押鍵速度を検出する場合には
、前記計数手段を楽音発生チャンネル数分だけ用意する
ようにし、押鍵割当てとともに前記計数手段の割当てを
行うようにして該計数手段の計数結果に応じて押鍵に伴
う鍵タッチ強さを表すデータを得るようにしてもよい。
In addition, in the above embodiment, a signal representing each key touch strength is output from the key press speed detection circuit or the key press pressure detection circuit provided for each key. and a changeover type switch including a second fixed contact and a movable contact that is movable by key press operation, and the time during which the movable contact switches from the first fixed contact to the second fixed contact in response to the key press operation. is measured by a counting means to detect the key press speed, or each key has two sets of switches each having a fixed contact and a movable contact that moves according to the key press operation. 2
In the case where the key press speed is detected by measuring the timing difference between the closing (or opening) of each set of switches using a counting means, the counting means should be prepared for the number of musical sound generation channels, and the key press assignments should be adjusted accordingly. At the same time, the counting means may be assigned so that data representing the key touch strength associated with key depression may be obtained in accordance with the counting result of the counting means.

また、上記実施例では、1!盤10にて押された鍵は楽
音発生チャンネルのいずれか一つに割当てられ、該楽音
発生チャンネルは操作子群11の操作により選択された
一つの楽音を発生するようにしたので、優先順位データ
P RD (1)〜PRD(N)を音色に応じて重み付
けしなかったが、この発明に係る押鍵割当て装置を一押
鍵に対して異なる音色毎に複数の楽音発生チャンネルへ
の割当てを行うようにした電子楽器に通用した場合、音
色毎に減衰時定数DTは変化するので上記音色毎の割当
てと同時に優先順位データP RD (11〜PRD(
N)を割当て音色に応じて重み付けするようにするとよ
い。
Moreover, in the above embodiment, 1! A key pressed on the keyboard 10 is assigned to one of the musical tone generating channels, and the musical tone generating channel generates one musical tone selected by the operation of the operator group 11, so that the priority data is Although PRD (1) to PRD (N) are not weighted according to the tone, the key press assignment device according to the present invention is used to assign different tones to a plurality of musical tone generation channels for one key press. If applicable to electronic musical instruments, the decay time constant DT changes for each tone, so the priority data PRD (11 to PRD(
N) may be weighted according to the assigned timbre.

なお、上記実施例においては、割当ての優先順位を表す
優先順位データP RD (11〜PRD(N)に基づ
いて「割当てchサーチ」プログラムのステップ45a
、45b (第7図)の処理により新たに押された鍵の
割当てチャンネルを決定するようにしたが、上記〔従来
技術〕の項で引用した特開昭52−22238号公報に
示されるように、楽音発生回路13にて発生されている
実際の楽音の音量レベルが最小である楽音発生チャンネ
ルを探し出すことにより、前記割当てチャンネルを決定
するようにしてもよい。この場合、CPU14は、上記
ステップ45a、45bにて、上記実施例のような優先
順位データP RD (1)〜PRD(N)の最小値を
検出する処理に換え、楽音発生回路13の各楽音発生チ
ャンネルにおける楽音の音量レベル制御用のエンベロー
プ波形振幅値を各々比較し、エンベロープ波形振幅値が
最も小さい(最低音量レベル)の楽音発生チャンネルを
検出して該チャンネルを割当てチ中ンネル番号データA
CHNとして決定するようにするとよい。
In the above embodiment, step 45a of the "allocation channel search" program is performed based on the priority order data PRD (11 to PRD(N)) representing the priority order of allocation.
, 45b (FIG. 7) is used to determine the channel to which the newly pressed key is assigned. The assigned channel may be determined by searching for a musical tone generating channel in which the volume level of the actual musical tone generated by the musical tone generating circuit 13 is the lowest. In this case, in steps 45a and 45b, the CPU 14 replaces the process of detecting the minimum value of the priority data PRD(1) to PRD(N) as in the above embodiment with The envelope waveform amplitude values for controlling the volume level of musical tones in the generation channels are compared, the musical tone generation channel with the smallest envelope waveform amplitude value (lowest volume level) is detected, and this channel is assigned.Channel number data A
It is preferable to determine it as CHN.

また、上記実施例においては、サスティンペダル12が
踏込まれていない状態においては、第11図のステップ
84dの処理により最低音キーコードLKCをクリアす
ることにより割当てキーデータA K D (1)〜A
KD(N)の中から最低音が検出されないようにして、
第7図のステップ44a。
Further, in the above embodiment, when the sustain pedal 12 is not depressed, the assigned key data A K D (1) to A are cleared by clearing the lowest note key code LKC through the process of step 84d in FIG.
In order to prevent the lowest note from being detected in KD(N),
Step 44a of FIG.

45bの処理により最低音に対応する鍵が割当てられて
いる楽音発生チャンネルにも新たに押された鍵が割当て
られる、すなわち上記楽音発生チャンネルを他の楽音発
生チャンネルとは区別せず、新たに押された鍵の割当て
られるべき楽音発生チャンネルが所定の優先順位に基づ
き全ての楽音発生チャンネルの中から決定されるように
したが、このことは第7図の「割当てchサーチ」プロ
グラムを第12図のフローチャートによ、り表されたプ
ログラムのように変形しても実現される。この第12図
のフローチャートに対応するプログラムにおいては、第
7図の場合に比べ、ステップ140.141.142の
処理が付加されており、CPU14bはステップ140
にてサスティンデータSUSに基づきサスティンペダル
12の状態を判断し、サスティンペダル12が踏込まれ
ていれば、ステップ44aにて上記実施例と同様最低音
でなくかつ離鍵に関する割当てキーデータAKDを記憶
するチャンネルを抽出し、サスティンペダル12の踏込
みが解除されていればステップ141にて最低音とは無
関係に離鍵に関する割当てキーデータAKDを記憶する
チャンネルを抽出し、上記抽出により該当チャンネルが
ある場合にはステップ44b、45aの処理により該当
チャンネルの中から優先順位データPRDに基づき割当
てチャンネルが決定される。そして、上記該当チャンネ
ルがない場合には、ステップ142にて再びサスティン
データSUSに基づきサスティンペダル12の状態が判
断され、サスティンペダル12が踏込まれていればステ
ップ45bにて最低音に対応する鍵が割当てられていな
い楽音発生チャンネルの中から優先順位データPRDに
基づき割当てチャンネルが決定され、またサスティンペ
ダル12の踏込みが解除されていればステ、プ45dに
て最低音とは無関係に全ての楽音発生チャンネルの中か
ら優先順位データPRDに基づき割当てチャンネルが決
定される。これにより、上記実施例と同等な効果が達成
される。
As a result of the processing in step 45b, the newly pressed key is also assigned to the musical sound generation channel to which the key corresponding to the lowest note has been assigned. The musical tone generation channel to which the assigned key is to be assigned is determined from among all the musical tone generation channels based on a predetermined priority order. It can also be realized by modifying the program as shown in the flowchart. In the program corresponding to the flowchart of FIG. 12, steps 140, 141, and 142 are added compared to the case of FIG.
In step 44a, the state of the sustain pedal 12 is determined based on the sustain data SUS, and if the sustain pedal 12 is depressed, in step 44a, assigned key data AKD relating to a key release that is not the lowest note is stored, as in the above embodiment. The channel is extracted, and if the sustain pedal 12 is released, the channel for storing the assigned key data AKD related to key release is extracted regardless of the lowest note in step 141, and if there is a corresponding channel by the above extraction, the channel is extracted. In step 44b and step 45a, an assigned channel is determined from among the corresponding channels based on the priority order data PRD. If there is no corresponding channel, the state of the sustain pedal 12 is determined again based on the sustain data SUS in step 142, and if the sustain pedal 12 is depressed, the key corresponding to the lowest note is selected in step 45b. An assigned channel is determined based on the priority data PRD from among unassigned musical tone generation channels, and if the sustain pedal 12 is released, all musical tones are generated at step 45d regardless of the lowest note. An assigned channel is determined from among the channels based on the priority data PRD. Thereby, effects equivalent to those of the above embodiment can be achieved.

また、上記実施例では、サスティンペダル12が踏込ま
れている状態にて最低音に対応する鍵が割当てられてい
る楽音発生チャンネルのみ新たに押された鍵の割当てを
禁止するようにしたが、最低音キーコードLKCの設定
処理及び第7図(又は第12図)のステップ44a、4
5bの処理を変更することにより、上記鍵が、 (1)最高音に対応する鍵が割当てられている楽音発生
チャンネル、 (2)低音側又は高音側から2音若しくは3音に対応す
る鍵が割当てられている楽音発生チャンネル、(3)最
低音又は最高音から所定音域例えば1乃至2オクタ一ブ
程度の所定音域に含まれる音に対応する鍵が割当てられ
ている楽音発生チャンネル、(4)所定音域(例えば低
音域、中音域、高音域)に属する音に対応する鍵が割当
てられている楽音発生チャンネル、または、 (5)上記(1)〜(4)を各々組合せた楽音発生チャ
ンネル、には、割当てられないようにしてもよい。この
場合、上記楽音発生チャンネルにて発生される楽音の減
衰時間を長(する(減衰時定数DTを太き(する)こと
により、上記楽音を他の楽音に比べ長く発生させ続ける
ことができ、今までにない演奏効果が達成される。
Further, in the above embodiment, the assignment of a newly pressed key is prohibited only to the musical sound generation channel to which the key corresponding to the lowest note is assigned while the sustain pedal 12 is depressed. Sound key code LKC setting process and steps 44a and 4 in FIG. 7 (or FIG. 12)
By changing the process in step 5b, the above keys can be set to (1) a musical sound generation channel to which the key corresponding to the highest note is assigned, (2) a key corresponding to two or three notes from the bass side or the treble side. (3) A musical sound generation channel to which a key corresponding to a sound included in a predetermined range from the lowest or highest note, for example, about 1 to 2 octaves, is assigned; (4) A musical sound generation channel to which keys corresponding to sounds belonging to a predetermined sound range (for example, a low range, a middle range, and a high range) are assigned, or (5) a musical sound generation channel that is a combination of each of (1) to (4) above; may not be assigned. In this case, by increasing the decay time of the musical tone generated in the musical tone generation channel (by making the decay time constant DT thicker), the musical tone can continue to be generated for a longer time than other musical tones, An unprecedented performance effect is achieved.

さらに、上記実施例では、この発明に係る押鍵割当て装
置を既存のマイクロコンピュータを用いて構成するよう
にしたが、この押鍵割当て装置を上記実施例のプログラ
ムの各処理に応じた機能を有する各電気回路を組合せた
ハード回路により構成するようにしてもよい。
Further, in the above embodiment, the key press assignment device according to the present invention is configured using an existing microcomputer, but this key press assignment device has functions corresponding to each process of the program of the above embodiment. It may be configured by a hard circuit that combines each electric circuit.

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

第1図は特許請求の範囲に記載した発明の構成に対応す
る図、第2図はこの発明が通用される電子楽器の一実施
例を示す概略図、第3A図及び第3B図は楽音のエンベ
ロープ波形を示す図、第4A図乃至第4F図は第2図の
マイクロコンピュータ部14内に設けられたRAM14
Cのメモリマツプの一例を示す図、第5図乃至第9図及
び第11図は第2図のマイクロコンピュータ部14で実
行されるプログラムに対応するフローチャートの一例を
示す図、第10図は音高に対応する優先順位データの初
期値の一例を示す図、及び第12図は第7図に示された
プログラムを一部変形した変形プログラムに対応するフ
ローチャートの一例を示す図である。 符号の説明 10・・・鍵盤、10a・・・鍵スィッチ回路、10b
・・・鍵タッチ検出回路、11・・・操作子群、lla
・・・操作子スイッチ回路、12・・・サスティンペダ
ル、12a・・・サスティンペダルスイッチ回路、13
・・・楽音発生回路、14・・・マイクロコンピュータ
部。 出願人  日本楽器製造株式会社 代理人  弁理士 長 谷 照 − (外1名) 割当テチャン木ル    押鍵・操作検出    一般
レジスタレジスタ          レジスタ第4E
図  第4F図
FIG. 1 is a diagram corresponding to the configuration of the invention described in the claims, FIG. 2 is a schematic diagram showing an embodiment of an electronic musical instrument to which this invention is applicable, and FIGS. 3A and 3B are diagrams showing musical tones. 4A to 4F are diagrams showing envelope waveforms of the RAM 14 provided in the microcomputer section 14 of FIG.
5 to 9 and 11 are diagrams showing an example of a flowchart corresponding to the program executed by the microcomputer section 14 of FIG. 2, and FIG. and FIG. 12 is a diagram showing an example of a flowchart corresponding to a modified program partially modified from the program shown in FIG. 7. Explanation of symbols 10...Keyboard, 10a...Key switch circuit, 10b
...Key touch detection circuit, 11...Manipulator group, lla
...Controller switch circuit, 12...Sustain pedal, 12a...Sustain pedal switch circuit, 13
...Musical sound generation circuit, 14...Microcomputer section. Applicant Nippon Gakki Mfg. Co., Ltd. Agent Patent Attorney Teru Hase - (1 other person) Assignment Technique Key press/operation detection General register Register Register No. 4E
Figure 4F

Claims (4)

【特許請求の範囲】[Claims] (1)複数の鍵を有する鍵盤と、前記鍵の数より少ない
複数の楽音発生チャンネルと、前記各楽音発生チャンネ
ルにて発生される楽音の減衰時間の長短を選択する操作
子とを備えた電子楽器において、前記鍵盤における新た
な押鍵に応答して該押鍵された鍵を前記楽音発生チャン
ネルのうちのいずれかに割当てる割当て手段と、 前記楽音発生チャンネルのうち特定の鍵が割当てられて
いる楽音発生チャンネルを検出する検出手段と、 前記操作子が前記減衰時間の長い状態を選択していると
き前記割当て手段により鍵が割当てられるべき楽音発生
チャンネルを前記検出手段により検出された前記楽音発
生チャンネルを除く楽音発生チャンネルに制限しかつ前
記操作子が前記減衰時間の短い状態を選択しているとき
前記割当て手段により鍵が割当てられるべき楽音発生チ
ャンネルに関して前記制限をしないようにする制限手段
と により押鍵割当て装置を構成したことを特徴とする電子
楽器の押鍵割当て装置。
(1) An electronic device equipped with a keyboard having a plurality of keys, a plurality of musical tone generation channels smaller than the number of keys, and an operator for selecting the length of the decay time of the musical tone generated in each of the musical tone generation channels. In the musical instrument, assigning means for assigning the pressed key to one of the musical sound generation channels in response to a new key pressed on the keyboard; and a specific key among the musical sound generation channels is assigned. a detection means for detecting a musical sound generation channel; and a musical sound generation channel to which a key is to be assigned by the assignment means when the operator selects the long decay time state, the musical sound generation channel detected by the detection means; and limiting means for restricting the musical tone generating channels to which the key is to be assigned by the assigning means when the operator selects the short decay time state and restricting the musical tone generating channels to which keys are to be assigned by the assigning means. A key assignment device for an electronic musical instrument, comprising a key assignment device.
(2)前記特定の鍵は前記各楽音発生チャンネルにて発
生される楽音のうち低音側から数えて1乃至複数の楽音
に対応する低音鍵であり、前記検出手段を、前記低音鍵
が割当てられている楽音発生チャンネルを検出する低音
検出手段により構成した上記特許請求の範囲第1項記載
の電子楽器の押鍵割当て装置。
(2) The specific key is a bass key corresponding to one or more musical tones counted from the bass side among the musical tones generated in each of the musical tone generation channels, and the detection means is a bass key to which the bass key is assigned. 2. A key press assignment device for an electronic musical instrument as set forth in claim 1, comprising bass detecting means for detecting a musical tone generation channel.
(3)前記特定の鍵は前記楽音発生チャンネルにて発生
される楽音のうち高音側から数えて1乃至複数の楽音に
対応する高音鍵であり、前記検出手段を、前記高音鍵が
割当てられている楽音発生チャンネルを検出する高音検
出手段により構成した上記特許請求の範囲第1項記載の
電子楽器の押鍵割当て装置。
(3) The specific key is a treble key corresponding to one or more musical tones counted from the treble side among the musical tones generated in the musical tone generation channel, and the detection means is a treble key to which the treble key is assigned. 2. A key press assignment device for an electronic musical instrument as set forth in claim 1, comprising a treble detecting means for detecting a musical tone generating channel.
(4)前記特定の鍵は前記鍵盤の所定鍵域に属する鍵で
あり、前記検出手段を、前記所定鍵域に属する鍵が割当
てられている楽音発生チャンネルを検出する所定鍵域鍵
検出手段により構成した上記特許請求の範囲第1項記載
の電子楽器の押鍵割当て装置。
(4) The specific key is a key belonging to a predetermined key range of the keyboard, and the detection means is replaced by a predetermined key range key detection means for detecting a musical sound generation channel to which a key belonging to the predetermined key range is assigned. A key assignment device for an electronic musical instrument as set forth in claim 1.
JP61108987A 1986-05-13 1986-05-13 Keying allotter for electronic musical apparatus Granted JPS6291997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61108987A JPS6291997A (en) 1986-05-13 1986-05-13 Keying allotter for electronic musical apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61108987A JPS6291997A (en) 1986-05-13 1986-05-13 Keying allotter for electronic musical apparatus

Publications (2)

Publication Number Publication Date
JPS6291997A true JPS6291997A (en) 1987-04-27
JPH0335680B2 JPH0335680B2 (en) 1991-05-29

Family

ID=14498714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61108987A Granted JPS6291997A (en) 1986-05-13 1986-05-13 Keying allotter for electronic musical apparatus

Country Status (1)

Country Link
JP (1) JPS6291997A (en)

Also Published As

Publication number Publication date
JPH0335680B2 (en) 1991-05-29

Similar Documents

Publication Publication Date Title
JPH03174590A (en) Electronic musical instrument
JPH06149261A (en) Electronic musical instrument
JP2655905B2 (en) Electronic musical instrument channel assignment device
JPH08202361A (en) Electronic instrument
JPH04198994A (en) Method for controlling musical tone of electronic musical instrument
JPS6290697A (en) Keying allotter for electronic musical apparatus
JPS6291997A (en) Keying allotter for electronic musical apparatus
JP2531317B2 (en) Key press assigning device for electronic musical instruments
JP2629418B2 (en) Music synthesizer
JP3624780B2 (en) Music control device
JP3419563B2 (en) Tone signal level control device
JP2526636B2 (en) Electronic musical instrument
JP7332002B2 (en) Electronic musical instrument, method and program
JP2640267B2 (en) Electronic musical instrument
JPH0335679B2 (en)
JP7124370B2 (en) Electronic musical instrument, method and program
JP3706371B2 (en) Musical signal frequency characteristic control device and frequency characteristic control method
JPH05281967A (en) Key assignor of electronic musical instrument
JP2953217B2 (en) Electronic musical instrument
JPH0127439B2 (en)
JPH0580754A (en) Electronic musical instrument
JP3595676B2 (en) Music sound generating apparatus and music sound generating method
JPH08278781A (en) Sound source module
JPH0127438B2 (en)
JP2578327B2 (en) Automatic performance device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term