JPS6290697A - Keying allotter for electronic musical apparatus - Google Patents

Keying allotter for electronic musical apparatus

Info

Publication number
JPS6290697A
JPS6290697A JP60232241A JP23224185A JPS6290697A JP S6290697 A JPS6290697 A JP S6290697A JP 60232241 A JP60232241 A JP 60232241A JP 23224185 A JP23224185 A JP 23224185A JP S6290697 A JPS6290697 A JP S6290697A
Authority
JP
Japan
Prior art keywords
key
data
assigned
channel
musical tone
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
JP60232241A
Other languages
Japanese (ja)
Other versions
JPH0128397B2 (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 JP60232241A priority Critical patent/JPS6290697A/en
Priority to US06/855,610 priority patent/US4703680A/en
Priority to DE86105588T priority patent/DE3688716T2/en
Priority to EP86105588A priority patent/EP0204122B1/en
Publication of JPS6290697A publication Critical patent/JPS6290697A/en
Publication of JPH0128397B2 publication Critical patent/JPH0128397B2/ja
Priority to SG6695A priority patent/SG6695G/en
Priority to HK134495A priority patent/HK134495A/en
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 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
号公報に示されるように、各楽音発生チャンネルに割当
てられた鍵が離鍵される毎に既に離鍵状態にある全ての
楽音発生チャンネルに関して各々計数値を一律に増加さ
せることにより、該計数値によって各楽音発生チャンネ
ルの離鍵の順序を表示しておき、そして各楽音発生チャ
ンネルの計数値を各々比較して計数値が最も大きい(す
なわち最も古く離鍵された)楽音発生チャンネルを検出
し、この検出した楽音発生チャンネルに新たに押された
鍵を割当て、このチャンネルにおいて、これまで発生し
ていた楽音に代えて該新押鍵に対応する楽音を発生させ
るものである。
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
As shown in the publication, each time the key assigned to each musical tone generating channel is released, the counted value is uniformly increased for all musical tone generating channels that are already in the released state. displays the order of key releases for each tone generation channel, and compares the count values of each tone generation channel to detect the tone generation channel with the largest count value (that is, the earliest key was released); The newly pressed key is assigned to this detected musical tone generation channel, and a musical tone corresponding to the newly pressed key is generated in this channel in place of the musical tone that has been generated so far.

〔発明が解決しようとする問題点〕 しかるに、上記第1の方法による従来の割当て装置にお
いては、全ての楽音発生チャンネルにて楽音が発生され
ている状態において新たな鍵が押された場合、該鍵はエ
ンベロープ波形振幅値が最低であるすなわち楽音の発生
が最も早く終了する楽音発生チャンネルに割当てられ、
該チャンネルにおいて、これまで発生していた楽音に代
えて該新押鍵に対応する楽音が発生され、かつ残りの楽
音発生チャンネルにおいては、これまで発生していた楽
音が引続き発生されるので、割当ての優先順位は妥当な
ものである。しかしながら、各楽音発生チャンネルのエ
ンベロープ波形振幅値を常に監視しかつ該振幅値が最低
である楽音発生チャンネルを検出する回路を必要とする
ので、この種の割当て装置の構成が複雑になるとともに
、コストが高くなるという問題があった。しかも、押鍵
割当て回路と楽音発生チャンネルを構成する楽音発生回
路は、これらの回路を集積回路等で構成した場合、通常
異なるチップに配置されるので、上記エンベロープ波形
振幅値を表すデータを楽音発生回路から押鍵割当て回路
に転送する回路が必要となり、上記コストはこの回路の
分だけさらに高くなる。
[Problems to be Solved by the Invention] However, in the conventional allocation device according to the first method, when a new key is pressed while musical tones are being generated in all musical tone generation channels, the corresponding The key is assigned to the musical sound generation channel in which the envelope waveform amplitude value is the lowest, that is, the musical sound generation ends earliest,
In this channel, the musical tone corresponding to the new key press will be generated in place of the musical tone that has been generated so far, and in the remaining musical tone generation channels, the musical tone that has been generated so far will continue to be generated. is a reasonable priority. However, since it requires a circuit that constantly monitors the envelope waveform amplitude value of each tone generation channel and detects the tone generation channel with the lowest amplitude value, the configuration of this type of allocation device becomes complicated and the cost increases. There was a problem that the amount of Moreover, the key press assignment circuit and the musical tone generation circuit that constitutes the musical tone generation channel are usually placed on different chips when these circuits are constructed using integrated circuits, etc., so the data representing the envelope waveform amplitude value is used for musical tone generation. A circuit for transferring the information from the circuit to the key press assignment circuit is required, and the cost increases by this circuit.

また、上記第2の方法による従来の押鍵割当て装置は、
各楽音発生チャンネル毎の離鍵の順序を表示する値を増
加させかつ比較して該値が最大である楽音発生チャンネ
ルを検出する回路により構成され、上記第1の方法によ
る押鍵割当て装置のように、エンベロープ波形振幅値を
監視する回路及び楽音発生回路から押鍵割当て回路にエ
ンベロープ波形振幅値を表すデータを転送する回路が不
要であるので、この種の割当て装置のコストは差程高く
なることはないが、各楽音発生チャンネルにて発生され
る楽音のエンベロープ波形の減衰時間が各々異なる場合
、例えば、音高や音域に応じてエンベロープ波形の減衰
時間を異ならせ又は押鍵強さ等の鍵タッチに応じてエン
ベロープ波形のピークレベル(楽音が減衰を開始する直
前のエンベロープ波形振幅値)を異ならせた場合、新た
な鍵が押されると、該鍵はエンベロープ波形振幅値7 
 の大きさとは無関係に最も古く離鍵された楽音発生チ
ャンネルに割当てられるので、エンベロープ波形振幅値
が極めて小さい楽音発生チャンネルがあっても、前記鍵
がエンベロープ波形振幅値が大きな楽音発生チャンネル
に割当てられてしまい、これまで該チャンネルにて発生
されていた楽音が消されることがあるという問題がある
。すなわち、前に離された鍵の楽音のエンベロープ波形
の減衰時間が長くて該楽音が引続き長(発生される状態
にあり、かつ後に離された鍵の楽音のエンベロープ波形
の減衰時間が短くて該楽音の発生が終了し又は終了寸前
の状態にあっても、新たな鍵が押されると前者の楽音が
消されることになるので、この押鍵割当て装置による割
当てチャンネルの優先順位は適切に決定されるものでは
ない。
Further, the conventional key press assignment device according to the second method is as follows:
It is constructed of a circuit that increases a value indicating the order of key release for each musical sound generation channel, compares it, and detects the musical sound generation channel with the maximum value, and is similar to the key press assignment device according to the first method described above. Furthermore, since a circuit for monitoring the envelope waveform amplitude value and a circuit for transmitting data representing the envelope waveform amplitude value from the tone generation circuit to the key press assignment circuit are not required, the cost of this type of assignment device is significantly higher. However, if the decay time of the envelope waveform of the musical sound generated in each musical sound generation channel is different, for example, the decay time of the envelope waveform may be different depending on the pitch or range, or the key press force may be changed. If the peak level of the envelope waveform (the envelope waveform amplitude value just before the musical tone starts to decay) is varied depending on the touch, when a new key is pressed, the envelope waveform amplitude value of the key changes to 7.
The key is assigned to the musical tone generating channel whose key was released the earliest, regardless of the size of the key, so even if there is a musical tone generating channel whose envelope waveform amplitude value is extremely small, the key will not be assigned to the musical tone generating channel whose envelope waveform amplitude value is large. There is a problem in that the musical tones previously generated on the channel may be erased. That is, the decay time of the envelope waveform of the musical tone of the previously released key is long and the musical tone continues to be generated for a long time, and the decay time of the envelope waveform of the musical tone of the musical tone of the subsequently released key is short and the tone continues to be generated. Even if the generation of musical tones has finished or is about to end, if a new key is pressed, the former musical tone will be erased, so the priority order of the assigned channels by this key press assignment device cannot be appropriately determined. It's not something you can do.

この発明は、上記問題に対処するため、各楽音発生チャ
ンネルにて発生されるエンベロープ波形の減衰時間が各
々異なる場合においても割当てチャンネルの優先順位が
適切に決定され、かつ簡単な構成で低コストにて実現さ
れる電子楽器の押鍵割当て装置を提供しようとする′も
のである。
In order to solve the above problems, the present invention allows the priorities of the assigned channels to be appropriately determined even when the decay times of the envelope waveforms generated in the respective musical sound generation channels are different, and the present invention has a simple configuration and low cost. The present invention aims to provide a key assignment device for an electronic musical instrument that can be realized using the following methods.

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

かかる問題の解決にあたり、この発明の構成上の特徴は
、第1図に示すように、 鍵盤1にて押された鍵を鍵の数より少ない複数の楽音発
生チャンネル2のいずれかに割当てる電子楽器の押鍵割
当て装置3において、 前記割当ての優先順位をその値の大きさにより表すデー
タを前記各楽音発生チャンネル2に対応して記憶する複
数の領域からなる記憶手段3aと、前記鍵盤1における
押鍵又は離鍵毎に前記各領域に記憶されているデータの
値を各々前記優先順位が高くなる方向に所定値だけ変更
するデータ変更手段3bと、 前記鍵盤1にて新たな鍵が押されたとき前記各領域に記
憶されているデータの値に基づき最も前記優先順位の高
いデータを記憶する領域を検出するネ★出手段3Cと、 前記検出領域に対応した楽音発生チャンネルへの前記新
たな鍵の割当てを制御する割当て制御手段3dと、 前記割当てられた楽音発生チャンネルにて発生すべき楽
音に応じて定まる楽音の減衰時間が長い程低い前記優先
順位を表す値を前記検出手段3Cの検出に応じて前記検
出領域に書込む書込み手段3eとを備えたことにある。
In order to solve this problem, the structural features of the present invention are as shown in FIG. The key press assignment device 3 includes a storage means 3a consisting of a plurality of areas for storing data representing the priority order of the assignment by the magnitude of the value corresponding to each of the musical tone generation channels 2, and a key press assignment device 3 on the keyboard 1. a data changing means 3b for changing the value of the data stored in each of the areas by a predetermined value in the direction of increasing the priority each time a key is pressed or a key is released; a key output means 3C for detecting an area storing data with the highest priority based on the value of data stored in each area; and a new key to a musical sound generation channel corresponding to the detected area. an allocation control means 3d for controlling the allocation of the musical tones to be generated in the allocated musical tone generation channels; The present invention further includes a writing means 3e for writing in the detection area accordingly.

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

上記のように構成したこの発明においては、鍵盤1にて
新たな鍵が押されると、検出手段3cが、記憶手段3a
の各領域に記憶されているデータ値に基づき、最も高い
割当て優先順位を示すデータを記憶する記憶手段3aの
領域を検出し、割当て制御手段3dが前記検出領域に対
応した楽音発生チャンネル2への前記新たな鍵の割当て
を制御する。このとき、前記検出領域に記憶されている
データは、書込み手段3eにより、前記新たな鍵の割当
てに応じて発生される楽音の減衰時間が長い程割当て優
先順位の低い値に初期設定され、この初期設定されたデ
ータは、さらに異なる鍵が押され又は離される毎に、デ
ータ変更手段3bにより他の領域に記憶されているデー
タとともに、割当て優先順位が高くなる方向に所定量だ
け変更されるので、記憶手段3aの各領域に記憶されて
いるデータは各々古い押鍵又は離鍵に係るもの程高い割
当て優先順位を示し、かつ楽音発生チャンネル2にて発
生されている楽音の減衰時間が長い程低い割当て優先順
位を示すことになる。
In this invention configured as described above, when a new key is pressed on the keyboard 1, the detection means 3c detects the memory means 3a.
Based on the data values stored in each area, the area of the storage means 3a that stores the data indicating the highest allocation priority is detected, and the allocation control means 3d assigns the area to the musical sound generation channel 2 corresponding to the detected area. controlling the assignment of the new key; At this time, the data stored in the detection area is initialized by the writing means 3e to a value with a lower allocation priority as the decay time of the musical tone generated in response to the new key allocation is longer. Each time a different key is further pressed or released, the initialized data is changed by a predetermined amount in the direction of increasing the allocation priority along with data stored in other areas by the data changing means 3b. The data stored in each area of the storage means 3a has a higher allocation priority as it relates to older key presses or key releases, and the longer the decay time of the musical tone being generated in the musical tone generation channel 2, the higher the priority. This would indicate a low allocation priority.

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

これにより、記憶手段3aの各領域のデータは、古く押
鍵又は離鍵されている程減衰が進むことによって小さく
なりかつ減衰時間が長く設定されている楽音程小さくな
りにくいエンベロープ波形振幅値を間接的に示すことに
なるので、割当て優先順位の設定が上記従来の第1の方
法による装置のように妥当なものとなる。そのため、全
ての楽音発生チャンネルにて楽音が発生されている状態
において、鍵盤にて新たな鍵が押された場合、減衰時間
が短(楽音の発生が終了し又は終了寸前の状態にある楽
音発生チャンネルがあれば、前記鍵は該チャンネルに割
当てられ、最も古く押鍵又は離鍵されたという理由だけ
で長い減衰時間を有する楽音を発生中の楽音発生チャン
ネルに前記鍵が割当てられることがなくなり該チャンネ
ルの楽音はそのまま発生し続けることができる。
As a result, the data in each area of the storage means 3a indirectly represents the envelope waveform amplitude value, which becomes smaller due to the progress of attenuation the older the key is pressed or released, and which is less likely to become smaller at musical pitches for which the decay time is set longer. Therefore, the setting of the allocation priority becomes valid as in the apparatus according to the first conventional method. Therefore, when a new key is pressed on the keyboard while musical tones are being generated in all musical tone generation channels, the decay time is short (musical tone generation has finished or is about to end). If there is a channel, the key is assigned to that channel, and the key is not assigned to a tone generating channel that is currently generating a tone with a long decay time just because it was the oldest key pressed or released. The musical tones of the channels can continue to be generated as they are.

また、楽音発生チャンネルにて発生中の楽音のエンベロ
ープ波形振幅値を示すデータを用いることなく、押鍵又
は離鍵の検出と新たに押された鍵の割当てられた楽音発
生チャンネルにて発生すべき楽音により、当該楽音発生
チャンネルにて発生される楽音のエンベロープ波形振幅
値を推定するようにしたので、該押鍵割当て装置の構成
を複雑化することなく、かつコストも差程高くなること
なく実現される。
In addition, without using data indicating the envelope waveform amplitude value of the musical tone being generated in the musical tone generation channel, it is possible to detect the key press or key release and to generate the generated tone in the assigned musical tone generation channel of the newly pressed key. Since the envelope waveform amplitude value of the musical tone generated in the musical tone generation channel is estimated based on the musical tone, it is possible to achieve this without complicating the configuration of the key press assignment device and without significantly increasing the cost. be done.

〔実施例〕〔Example〕

a、構成例 以下、この発明の一実施例を図面を用いて説明すると、
第2図はこの発明が通用された減衰系(パーカッシブ系
)の楽音を発生する電子楽器を概略的に示すものであり
、この電子楽器は鍵盤10と、音色、音量等を選択制御
する操作子群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 (percussive) musical tones to which the present invention is applied. This electronic musical instrument includes a keyboard 10 and operators for selecting and controlling tone, volume, etc. 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 the 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の881
りを有し、各鍵の押鍵又は離鍵操作は各鍵に対応して設
けられた鍵スィッチからなる鍵スィッチ回路10aによ
って検出されるようになっているとともに、上記押鍵操
作に伴う押鍵速さ、押鍵圧力等の鍵タッチ強さくイニシ
ャル鍵タッチ)が各鍵に対応して設けられた押鍵速度検
出回路又は押鍵圧力検出回路等からなる鍵タッチ検出回
路10bによって検出されるようになっている。鍵スィ
ッチ回路10a及び鍵タッチ検出回1110bは、バス
15を介してマイクロコンピュータ部14に接続され、
マイクロコンピュータ部14に制御されて、各鍵の押鍵
又は離鍵状態を表す鍵データ及び各1!操作に伴う鍵タ
ッチデータをマイクロコンピュータ部14に供給するよ
うになっている。操作子群11は楽音発生回路13にて
発生される減衰系の例えばピアノ、ハープシコード等の
音色を選択する操作子及び発生される楽音の音量等を調
節する操作子等を有し、これらの操作子の操作状態は前
記各操作子に対応して設けられたスイッチ、ボリュウム
等からなる操作子スイッチ回路11aによって検出され
るようになっている。操作子スイッチ回路11aはバス
15を介してマイクロコンピュータ部14に接続され、
マイクロコンピュータ部14に制御されて、各操作子の
状態を表すデータをマイクロコンピュータ部14に供給
するようになっている。サスティンペダル12は、その
踏込み操作により楽音発生回路13にて発生される楽音
の減衰時間を長くし、かつ踏込み解除により前記楽音の
減衰時間を短(するために演奏者の足により操作される
ものであり、サスティンペダル12の踏込み又は踏込み
解除はサスティンペダルスイッチ回路12aにより検出
され、この検出されたサスティンペダル12の踏込み又
は踏込み解除を表すデータは、同回路12aに接続され
たバス15を介してマイクロコンピュータ部14に供給
されるようになっている。
The keyboard 10 has a plurality of keys (for example, 881 keys from AO to C8) for specifying the pitch of musical tones generated by the musical tone generating circuit 13.
The key press or release operation of each key is detected by a key switch circuit 10a consisting of a key switch provided corresponding to each key. The key touch detection circuit 10b, which includes a key press speed detection circuit or a key press pressure detection circuit, provided corresponding to each key, detects the key touch speed, key press pressure, etc. (key touch strength, initial key touch). It looks like this. The key switch circuit 10a and the key touch detection circuit 1110b are connected to the microcomputer section 14 via the bus 15,
Under the control of the microcomputer section 14, key data representing the pressed or released state of each key and 1! Key touch data associated with the operation is 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 microcomputer section 14 via the bus 15,
It is controlled by the microcomputer section 14 and supplies data representing the status of each operator to the microcomputer section 14. The sustain pedal 12 is operated by the performer's foot in order to lengthen the decay time of the musical tone generated by the musical tone generation circuit 13 when the pedal is depressed, and to shorten the decay time of the musical tone 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 signal is supplied to the microcomputer section 14.

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

マイクロコンピュータ部14は、第5図乃至第9図及び
第11図に示すフローチャートに対応したプログラムを
記憶する読出し専用メモリ (以下単にROMという)
14aと、このプログラムを実行する中央処理装置(以
下単にCPUという)14bと、このプログラムを実行
するのに必要な後述する諸変数を一時的に記憶してワー
キングメモリとしての役目を果す書込み可能メモリ (
以下単にRAMという)14Cと、時間を計測して所定
時間毎に、実行中のプログラム処理を中断して第8図に
示すフローチャートに対応した「タイマ割込み」プログ
ラムをCPtJ44bに実行させるタイマ回路14dと
を備え、上記プログラムの実行により鍵盤10.操作子
群11及びサスティンペダル12の操作に応じたデータ
を楽音発生回路13に出力して楽音の発生を制御する。
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 in progress and causes the CPtJ44b to execute a "timer interrupt" program corresponding to the flowchart shown in FIG. By executing the above program, the keyboard 10. Data corresponding to the operations of the operator group 11 and the sustain pedal 12 is output to a musical sound generation circuit 13 to control the generation of musical sounds.

なお、ROMI 4a、CPUI 4b、RAMI 4
c及びタイマ回路14dはパス15に接続されている。
In addition, ROMI 4a, CPUI 4b, RAMI 4
c and the timer circuit 14d are connected to the path 15.

RAM14Cは、楽音発生回路13の各楽音発生チャン
ネルに割当てた鍵に関するデータを記憶する割当てキー
データレジスタ領域AKDR(第4A図)と、前記各楽
音発生チャンネルに割当てた鍵の鍵タッチ強さを表すデ
ータを記憶する割当てタッチデータレジスタ領域ATD
R(第4B図)と、前記各楽音発生チャンネル−9の割
当て優先順位を表すデータを記憶する優先順位データレ
ジスタ領域PRDR(第4C図)と、鍵盤10にて新た
に押された鍵の割当てるべきチャンネルを指定するため
の割当指定チャンネルデータ等を記憶する割当てチャン
ネルレジスタ領域ACHR(第4D図)と、鍵盤10の
押鍵検出及び操作子群11の操作検出に利用する押鍵及
び操作検出レジスタ領域KOR(第4E図)と、チャン
ネルの割当て演算及びその他の演算に利用する一般しジ
スタ領域GNR(第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 represents the key touch strength of 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) for storing data representing the assignment priority of each musical tone generation channel-9, and the assignment of a newly pressed key on the keyboard 10. an assigned channel register area ACHR (FIG. 4D) that stores assigned channel data for specifying the assigned channel, and a key press and operation detection register used for detecting key presses on the keyboard 10 and detecting operations on the operator group 11. It is divided into a region KOR (FIG. 4E) and a general register region GNR (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の881!に対応して
「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 881 on the keyboard 10! The key-on data KO takes values "21" to rl08J corresponding to
” indicates the key pressed state.

割当てタッチデータレジスタ領域ATDR(第4B図)
も、割当てキーデータレジスタ領域AKDRと同様に、
N個のレジスタを有し、各レジスタは割当てキーデータ
レジスタ領域AKDRに記憶されている各割当てキーデ
ータAKD (1)〜(N)が示す鍵に関するタッチデ
ータTDを割当てタッチデータATD (1)〜(N)
として各々記憶する。なと、タッチデータTDは押鍵強
さが太き(なると大きな値となるデータである。優先順
位データレジスタ領域PRDR(第4C図)も、割当て
キーデータレジスタ領域AKDRと同様に、各楽音発生
チャンネルに対応したN個のレジスタを有し、各レジス
タは各楽音発生チャンネルに対応してその値が小さい程
割当て優先順位が高(なる優先順位データ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 . Incidentally, the touch data TD is data in which the key press force is thick (the value becomes large).The priority data register area PRDR (Fig. 4C) is similar to the assigned key data register area AKDR, and is used for each musical tone generated. It has N registers corresponding to channels, and each register corresponds to each tone generation channel.The smaller the value, the higher the allocation priority (priority data PRD (1)
) to PRD(N).

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

押鍵及び操作検出レジスタ領域KOR(第4E図)は、
鍵盤10の各鍵に各々対応する複数のビットから成り、
各ビットが各鍵の押鍵又は離鍵を表わす“1”又は“O
”のデータを記憶する鍵状態メモリKEYMEMと、操
作子群11の各スイッチ及び各ボリュウムに対応した複
数の記憶位置を有し、各々対応するスイッチの開閉成状
態データ又はボリュウムの位置データを記憶する操作子
状態メモリSWMEMと、鍵盤10の押鍵イベントデー
タKEVT1、離鍵イベントデータKEVT2、 又は
操作子群11の操作子イベントデータ5WEVTを記憶
するための複数のレジスタを有する。なお、この押鍵イ
ベントデータKEVT1は鍵名を表すキーコードKC,
1!の操作状態を表すキーオンデータKO及び鍵タッチ
強さを表すタッチデータTDからなり、離鍵イベントデ
ータKEVT2は上記キーコードKC及びキーオンデー
タKOからなる。
The key press and operation detection register area KOR (Fig. 4E) is as follows:
It consists of a plurality of bits each corresponding to each key of the keyboard 10,
“1” or “O” where each bit represents the press or release of each key.
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. It has a control state memory SWMEM and a plurality of registers for storing key press event data KEVT1, key release event data KEVT2 of the keyboard 10, or control event data 5WEVT of the control group 11. Data KEVT1 is a key code KC representing a key name,
1! The key release event data KEVT2 consists of the key code KC and the key on data KO.

一般しジスタ領域GNR(第4F図)は押鍵イベントデ
ータKEVTIの処理中に上記レジスタ領域KORから
読出したキーデータKD及びタッチデータTDを記憶す
る2箇のレジスタと、最低音検出により検出した最低音
に対応する最低音キーコードLKCを記憶するレジスタ
と、同一鍵が割当てられている楽音発生チャンネル数を
示す重複割当てチャンネル数データMANYを記憶する
レジスタと、サスティンペダル12が踏込まれた状態を
値“1”にて表しかつサスティンペダル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 “1” 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-mentioned initial settings, the CPU 14b advances the program to the key processing routine of step 22, and in this routine executes a program corresponding to the flowcharts of FIGS. The generation of musical tones by the musical tone generating circuit 13 is controlled in response to the key press or release of the key 10.

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

次に、プログラムはステップ24.25に進み、マイク
ロコンピュータ部14は操作子群11の操作子状態を検
出し、検出結果を楽音発生回路13に出力して楽音の音
色、音量等を制御する。ステップ24にて、CPU14
bは操作子スイッチ回路11a内の各スイッチの開閉状
態及びボリュウムの設定位置を表わすデータを操作子群
11の新操作子データとして入力し、これらの入力デー
タと操作子状態メモリSWMEMに記憶されている旧操
作子データとを各操作子毎に各々対比し、両データが異
なる場合にのみ当該データに関する操作子の操作状態が
変化したものとして、同操作子の新操作子データを操作
子状態メモリSWMEMの同操作子に対応する記憶位置
に書込むと共に、同所操作子データを押鍵及び操作検出
レジスタ領域KORに操作子イベントデータ5WEVT
として記憶する。ステップ25にて、CPU14bは操
作子イベントデータ5WEVTの有無を調べ、データが
ある場合、このデータを楽音発生回路13に出力した後
、出力した操作子イベントデータ5WEVTを消去し、
操作子イベントデータswEVTがなくなるまで上記動
作を繰返し、全ての操作子イベントデータの送出を行う
。なお、ステップ24において全操作子に関する新旧操
作子データが一致する場合には、操作子データの書換え
及び出力は実行されない。
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, the CPU 14b checks the presence or absence of the operator event data 5WEVT, and if there is data, outputs this data to the musical tone generation circuit 13, and then erases the output operator event data 5WEVT.
The above operation is repeated until there is no more controller event data swEVT, and all the controller event data is sent out. Note that if the new and old controller data regarding all the controllers match in step 24, the rewriting and output of the controller data is not executed.

上記ステップ24.25の処理後、プログラムはステッ
プ22に戻り、CPUI 4 bはステップ22〜25
の各処理を繰返し実行して鍵盤10、サスティンペダル
12及び操作子群11の状態に応じて楽音発生回路13
の楽音発生を制御する。
After processing steps 24.25 above, the program returns to step 22 and the CPUI 4b performs steps 22-25.
The musical sound generation circuit 13 is repeatedly executed according to the states of the keyboard 10, sustain pedal 12, and operator group 11.
controls the generation of musical tones.

C0鍵処理動作 次に鍵処理ルーチンについて詳述すると、CPU14b
は第6図のステップ30からプログラムの実行を開始し
、ステップ31にて鍵スイツチ回路10a内の各鍵スィ
ッチを低音側又は高音側から順次走査し、この走査によ
り各鍵スィッチの開閉成の状態信号を鍵盤10の新鍵状
態データとして入力し、これらの入力データと鍵状態メ
モリKEYMEMに記憶されている旧遊状態データとを
各鍵毎に各々対比して鍵盤10における押鍵状態の変化
を検出するとともに、新たな押鍵を検出したときには鍵
タッチ検出回路10bから該鍵に関するタッチデータを
取込む。すなわち、新鍵状態データが“1”であり、か
つ旧遊状態データが“0”である場合、CPU14bは
鍵盤10にて新たに鍵が押されたことを検知し、この新
鍵状態データ“1”を鍵状態メモリKEYMEMの新た
に押された鍵に対応する記憶位置に書込むと共に、間鍵
名を表わすキーコードKC及び鍵が押されたことを表わ
す値″1”のキーオンデータKOからなるキーデータK
Dと鍵タッチ検出回路10bから取込んだ該鍵の鍵タッ
チ強さを表すタッチデータTDとを押鍵イベントデータ
KEV1として押鍵及び操作検出レジスタ領域KOR(
第4E図)のレジスタ群に記憶する。また、新鍵状態デ
ータが“0”でありかつ旧遊状態データが“1”である
場合、CPU14bは鍵盤10にて新たに鍵が離された
ことを検知し、この新鍵状態データ“0”を鍵状態メモ
リKEYMEMの新たに離された鍵に対応する記憶位置
に書込むと共に、同鍵名を表わすキーコードKC及び鍵
が離されたことを表わす値“O”のキーオンデータKO
からなるキーデータKDを離鍵イベントデータKEVT
2として上記レジスタ群に記憶する。なお、上記キーコ
ードKCは上記走査において冬場に対応する鍵スィッチ
を順次指定している走査カウンタ(図示しない)により
決定される。このような走査により、鍵盤10の全ての
鍵の状態検出を終了すると、前回のステップ31の実行
時から今回のステップ31の実行までに状態が変化した
鍵に対応する押鍵イベントデータKEVTI及び離鍵イ
ベントデータKEVT2が上記レジスタ群に全て記憶さ
れることになる。
C0 key 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 pressed state on the keyboard 10. 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" to the storage location corresponding to the newly pressed key in the key status memory KEYMEM, and also from the key code KC representing the name of the current key and the key-on data KO having the value "1" representing that the key has been pressed. 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 KEV1 in the key press and operation detection register area KOR (
4E). Further, when the new key state data is "0" and the old idle state data is "1", the CPU 14b detects that a new key has been released on the keyboard 10, and the new key state data is "0". ” is written to the storage location corresponding to the newly released key in the key status memory KEYMEM, and the key code KC representing the name of the same key and the key-on data KO of the value “O” representing that the key has been released.
Key data KD consisting of key release event data KEVT
2 in the above register group. 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にて上記レジスタ群の内容
により押鍵または離鍵イベントの発生の有無を判別する
。鍵盤10の冬場に状態変化がない場合、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 the keyboard 10 in winter, the CPU 14b
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の「割当てahサーチ」プログ
ラム(第7図)、ステップ50の「割当てChデータ設
定」プログラム(第9図)及びステップ60の処理から
成る押鍵イベント処理ルーチンの実行に移る。
When a new key is pressed on the keyboard 10, the CPU 14b determines in step 32 that it is rYEsJ based on the existence of the key press event data KEVTI stored in the register group, and performs the "assignment ah search" in step 40. A key press event processing routine consisting of a program (FIG. 7), an "assigned channel data setting" program (FIG. 9) at step 50, and a process at step 60 is executed.

CPU14bは、新たに押された鍵の割当てらるべきチ
ャンネル番号ACHNを決定する第7図の「割当てch
サーチ」プログラムにおいて、ステップ40aからプロ
グラムの実行を開始し、ステップ41aにて押鍵及び操
作検出レジスタ領域KOHのレジスタ群からキーデータ
KD及びタッチデータTDからなる一組の押鍵イベント
データKEVTIを読出して一般しジスタ領域GNPに
今後処理するキーデータKD及びタッチデータTDとし
て記憶した後、ステップ41bにて該押鍵イベントデー
タKEVTIを上記レジスタ群から消去し、ステップ4
2にて優先順位データレジスタ領域PRDRの各レジス
タに記憶されている優先順位データPRD (1)〜P
RD(N)を順次読出し、読出した優先順位データPR
Dの値が「0」でなければこの値から「1」を減算して
減算結果を新たな優先順位データPRDとして上記読出
したレジスタに再び記憶し、父上配植が「0」であれば
、上記読出したレジスタの内容を書換えないようにする
。これにより、鍵盤10にて新たな鍵が押される毎にそ
のデータ値が「0」でないチャンネルの優先順位データ
PRD (1)〜PRD (N)が−率に「1」ずつ減
算されることになり、このことは押鍵毎に各チャンネル
の優先順位データが割当て優先順位の高い方向に一率に
更新されることを意味する。
The CPU 14b determines the channel number ACHN to which the newly pressed key should be assigned.
In the "Search" program, execution of the program is started from step 40a, and a set of key press event data KEVTI consisting of key data KD and touch data TD is read out from the register group of the key press and operation detection register area KOH in step 41a. After generally storing the key data KD and touch data TD in the register area GNP as key data KD and touch data TD to be processed in the future, in step 41b the key press event data KEVTI is deleted from the register group, and in step 4
2, the priority data PRD stored in each register of the priority data register area PRDR (1) to P
Read RD(N) sequentially and read priority data PR
If the value of D is "0", "1" is subtracted from this value and the subtraction result is stored again in the register read above as new priority data PRD, and if the father's allocation is "0", Prevent the contents of the read register from being 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 subtracted by "1" from the minus 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にて、一般レジ
スタGNRにステップ41aの処理により記憶したキー
データKDに基づき、該キーデータKD中のキーコード
KCの値と等しい値のキーコードKCを有する割当てキ
ーデータAKDの数を、割当てキニデータレジスタAK
DRに記憶されている割当てキーデータAKD (1)
〜AKD(N)を順次読出してキーコードKC同志を比
較することにより検出し、検出した数を重複割当てチャ
ンネル数データMANYとして記憶する。この重複割当
てチャンネル数データMANYの検出は、トリル演奏等
の演奏態様により鍵盤10にて所定数(楽音発生チャン
ネル数N)の押鍵操作の間に同一鍵が2回以上繰返し押
された場合に、該鍵の割当てられる最大チャンネル数を
決定するもので、この実施例では同一鍵の異なるチャン
ネルへの割当ては2チヤンネルまで許容され3チャンネ
ル以上の割当ては禁止されるようになっている。
After updating the priority data PRD(1) to PRD(N), the CPU 14b, in step 43a, determines the key code in the key data KD based on the key data KD stored in the general register GNR by the processing in step 41a. The number of assigned key data AKD having a key code KC with a value equal to the value of KC is stored in the assigned key data register AK.
Assigned key data AKD stored in DR (1)
-AKD(N) are sequentially read out 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は「0」
であり、CPU14bはステップ43bにて「NO」と
判定し、ステップ44aにて割当てキーデータレジスタ
領域AKDRの各レジスタに記憶されている割当てキー
データAKD (1)〜AKD (N)を順次読出し、
読出した割当てキーデータAKDのキーコードKCが最
低音キーコードLKCと一致せずかつ同キーデータAK
DのキーオンデータKOが“O”である割当てキーデー
タAKDを検出することにより、該割当てキーデータA
KDが記憶されているチャンネルを探し出して該チャン
ネルの番号を表すチャンネル番号データCHNと、優先
順位データレジスタ領域PRDRに記憶されていて該チ
ャンネル番号CHNに対応する優先順位データPRDと
を一組の抽出データとして割当てチャンネルレジスタ領
域ACHRに順次記憶する。これにより、最低音でなく
かつ離鍵されている鍵に関するキーデータKDが割当て
られている楽音発生チャンネルが全て抽出されることに
なる。この抽出処理後、CPU14bは、ステップ44
bにて上記抽出処理により抽出された該当チャンネルが
有るか否かを判断し、抽出された該当チャンネルがある
場合にはrYES」との判定の基に、ステップ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 duplicate allocation channel number data MANY detected in step 43b above is "0".
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 “O”, 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-mentioned extraction process, and if there is a corresponding extracted channel, based on the determination "rYES", in step 45a, from among the extracted channels Find the priority data PRD with the smallest value, and
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はステップ44
bにて「NO」と判定し、ステップ45bにて、割当て
キーデータレジスタ領域AKDRに記憶されている割当
てキーデータAKD (1)〜AKD (N)のキーコ
ードKCが最低音キーコードLKCと一致せず、かつ優
先順位データレジスタ領域PRDRに記憶されている優
先順位データPRD (1)〜PRD (N)が最小の
値であるチャンネルを検出し、該チャンネルの番号CH
Nを割当てチャンネルレジスタ領域ACHRに割当てチ
ャンネル番号データACHNとして記憶して、ステップ
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 process in step 44a, that is, if all channels other than the lowest note are being pressed, the CPU 14b performs step 44.
It is determined "NO" in step 45b, and in step 45b, the key codes KC of the assigned key data AKD (1) to AKD (N) stored in the assigned key data register area AKDR match the lowest note key code LKC. Detects the channel whose priority data PRD (1) to PRD (N) stored in the priority data register area PRDR have the minimum value, and selects the number CH of the channel.
N is stored in the allocated channel register area ACHR as allocated channel number data ACHN, and the execution of the "allocated channel search" program is ended in step 46. As a result, if the key pressed on the keyboard 10 is not pressed twice or more during the predetermined number of key pressing 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), this is the priority data at the back of the channel that stores the key data KD. If the channel number CHN representing the channel with the minimum PRD value is determined, and if there is no key data KD that meets the above conditions, the channel other than the one that stores the key data KD representing the lowest tone among all channels, and the priority The data PRD is set to the channel number CHN representing the minimum value channel.

一方、トリル演奏のように鍵盤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がrOJ又は「1」のときはステップ4
3bにてrNOJすなわち同データ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 rOJ or "1", step 4
In step 3b, it is determined that rNOJ, that is, the same data MANY is not greater than "1", and step 44a.

44b、45a、45bにて上記のようにして割当てチ
ャンネル番号データACHNが設定されるが、同データ
MANYが「2」になると、CPU14bはステップ4
3bにてrYEsJと判定し、ステップ45Gにて割当
てキーデータレジスタ領域AKDRの各レジスタに記憶
しである割当てキーデータAKD (1)〜AKD (
N)を順次読出し、読出した割当てキーデータAKD中
のキーコードKCと新たに押された鍵を表すキーデータ
KD中のキーコードKCとを比較し、これらのキーコー
ドKCが一致する複数のチャンネルを抽出して、この抽
出した複数のチャンネルに対応して割当てタッチデータ
レジスタ領域ATDRに記憶されている複数の割当てタ
ッチデータATDのうちその値が最も小さい割当てタッ
チデータATDを記憶するチャンネルを検出し、該チャ
ンネルを示す番号を割当てチャンネルレジスタ領域AC
HRに割当てチャンネル番号データACHNとして記憶
して、ステップ46の処理により「割当てchサーチ」
プログラムの実行を終了する。
The allocated channel number data ACHN is set in 44b, 45a, and 45b as described above, but when the same data MANY becomes "2", the CPU 14b executes step 4.
In step 3b, rYEsJ is determined, and in step 45G, the assigned key data AKD (1) to AKD (
N) are sequentially read out, and the key code KC in the read 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 ACHN is stored in the HR, and the "assigned channel search" is performed by the process of step 46.
Terminate program execution.

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

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

上記「タイマ割込み」プログラムにおいては、CPU1
4bはタイマ回路14dにより制御されて、他のプログ
ラムの実行を中断してステップ65から該プログラムの
実行を開始し、ステップ66にて割当てタッチデータレ
ジスタ領域ATDRの各レジスタに記憶されている割当
てタッチデータATD (1)〜ATD (N)を順次
読出し、読出した割当てタッチデータATDが「0」で
なければ該データATDから「1」を減算し、減算結果
(ATD−1>を新たな割当てタッチデータATDとし
て割当てタッチデータレジスタ領域ATDRの読出した
レジスタに再び記憶する。また、読出したタッチデータ
ATDが「0」であれば、該データATDの書換えは行
なわない。上記のようにして、全ての割当てタッチデー
タATDの更新処理を実行すると、CPU14bはステ
ップ67の処理によりこの「タイマ割込み」プログラム
の実行を終了して、前記中断したプログラムの実行に移
る。この「タイマ割込み」プログラムにより、押鍵時に
設定された割当てタッチデータATD(1)〜ATD 
(N)の各値は時間が経過するに従って小さくなるので
、同一鍵が上記所定数の押1!操作の間に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 read sequentially, and if the read assigned touch data ATD is not "0", "1" is subtracted from the data ATD, and the subtraction result (ATD-1> is used as the new assigned touch data). It is stored again in the read register of the allocated touch data register area ATDR as data ATD.Also, if the read touch data ATD is "0", the data ATD is not rewritten.As described above, all When the process of updating the assigned touch data ATD is executed, the CPU 14b ends the execution of this "timer interrupt" program through the process of step 67, and moves on to the execution of the interrupted program. Assigned touch data ATD(1) to ATD set at
Each value of (N) decreases as time passes, so the same key is pressed 1! Assignment channel number data ACHN indicating the channel to which the key is to be assigned when the key is pressed three or more times during operation is determined according to the key touch strength at the time of key depression and the elapsed time from the key depression. Become.

なお、上記「割当てchサーチ」ブづグラムにおいては
、全ての楽音発生チャンネルにて発生中の楽音が、最低
音を除き鍵盤10における押鍵中のものである場合、C
PU14bがステップ44bにて「NO」と判定し、ス
テップ45bの処理により割当てチャンネル番号データ
ACHNを設定記憶するようにしたが、このステップ4
5bの処理の代わりに第7図に破線で示すようにステッ
プ45dの処理をするようにしてもよい。すなわち、上
記場合、CPU14bは、ステップ45dにて最低音と
は無関係に優先順位データレジスタ領域PRDRに記憶
しである全ての優先順位データPRD (1)〜PRD
(N)の中から最小値を示す優先順位データPRDを記
憶するチャンネルを探し出し、該チャンネルを示すチャ
ンネル番号CHNを割当てチャンネル番号データACH
Nとして設定記憶し、ステップ46にて「割当てchサ
ーチ」プログラムの実行を終了するようにしてもよい。
In the above "assigned channel search" program, if the musical tones being generated in all the musical tone generating channels are the keys currently being pressed on the keyboard 10 except for the lowest tone, C
Although the PU 14b makes a "NO" determination in step 44b and stores the assigned channel number data ACHN through the processing in step 45b, this step 4
Instead of the process of step 5b, the process of step 45d may be performed as shown by the broken line in FIG. That is, in the above case, the CPU 14b stores all the priority data PRD (1) to PRD in the priority data register area PRDR regardless of the lowest note in step 45d.
Find the channel that stores the priority data PRD that shows the minimum value from among (N), and assign the channel number CHN that shows the channel number to the channel number data ACH.
Alternatively, the setting may be stored as N, and the execution of the "assigned channel search" program may be terminated in step 46.

上記「割当てchサーチ」プログラムの実行を終了する
と、CPU14bは、第6図のステップ50にて、上述
した第7図のステップ45a〜45dの処理により設定
された割当てチャンネル番号ACHNに基づいて、優先
順位データPRD (ACHN) 、割当てキーデータ
AKD (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. Rank data PRD (ACHN), assigned key data AKD (ACHN), and assigned touch data ATD
"Assigned channel data setting" to initialize (ACHN)
Move on to program execution.

このプログラムの詳細は第9図のフローチャートに示さ
れており、CPU14bはステップ50aにてこのプロ
グラムの実行を開始し、ステップ51aにてサスティン
データSUSの値に基づきサスティンペダル12が踏込
まれているか否かを判断する。この判断においてサステ
ィンペダル12が踏込まれた状態にあれば、後述するサ
スティンペダル処理ルーチンのプログラムの実行により
サスティンデータSO3は“1”に設定されており、C
PU14bはrYESJと判定し、ステップ51bにて
新たに押された鍵を表すキーデークKD中のキーコー゛
ドKCと現時点における最低音を表すキーコードLKC
とを比較し、前記キーコードKCが最低音キーコードL
KCより小さければrYEsJと判定して、ステップ5
1cにて最低音キーコードLKCを前記キーコードKC
に設定し、又前記キーコードKCが最低音キーコードL
KCより大きければrNOJと判定してステップ51c
の処理をせずプログラムをステップ52aに進める。こ
れにより、サスティンペダル12が踏込まれているとき
、新たな鍵が押され、この新たな鍵が以前に割当てられ
ていたいずれの鍵よりも低い音高の鍵であれば、最低音
キーコードしKCが新たに押された鍵を示すキーコード
KCに変更される。また、サスティンペダル12の踏込
みが解除されていれば、後述するサスティンペダル処理
ルーチンのプログラムの実行によりサスティンデータS
USは“0″に設定されており、CPU14bはステッ
プ51aにてrNOJと判定してステップ51b、51
cの処理もせずプログラムをステップ52aに進める。
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 state in this judgment, the sustain data SO3 is set to "1" by executing the sustain pedal processing routine program to be described later, and the C
The PU 14b determines that it is rYESJ, and in step 51b, the key code KC in the key data KD representing the newly pressed key and the key code LKC representing the lowest note at the current time are sent.
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 1c, change the lowest key code LKC to the 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 of the previously assigned keys, it will be assigned the lowest key code. KC 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 processing step c.

このことは、サスティンペダル12が踏込まれていない
ときには、最低音検出が行われないことを意味する。
This means that the lowest note detection is not performed when the sustain pedal 12 is not depressed.

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

さらに、CPU14bは、ステップ53aにて前記新た
に押された鍵を示すキーデータKD中のキーコードKC
と値「60」とを比較し、キーコードKCが値「60」
より小さければステップ53bにて上記ステップ52b
にて設定した優先順位データPRD (ACHN)に「
32」を加算し、キーコードKCが値「60」以上であ
ればステップ53cにて前記優先順位データPRD (
ACHN)に「26」を加算する。この値「60」は音
高C4を示すキーコードKCに相当し、これにより音高
04は境に、前記優先順位データPRD (ACHN)
はさらに低音程割当て優先順位が低く重み付けられ、そ
の値は、第10図に示すように新たに押された鍵のキー
コードKCに応じて、音高AO〜C8に渡り「39」〜
r37J、r31J〜「28」のいずれかとなる。
Further, the CPU 14b inputs the key code KC in the key data KD indicating the newly pressed key in step 53a.
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'' is added, and if the key code KC is greater than or equal to the value ``60'', the priority order data PRD (
Add "26" to ACHN). This value "60" corresponds to the key code KC indicating the pitch C4, so that the pitch 04 is the boundary and the priority order data PRD (ACHN)
is further weighted to have a lower pitch priority, and its value ranges from "39" to pitches AO to C8, depending on the key code KC of the newly pressed key, as shown in FIG.
It will be one of r37J, r31J to "28".

上記優先順位データPRDの設定後、CPUl4bはス
テップ54a、54bにて新たに押された鍵を示すキー
データKD及び該鍵の鍵タッチ強さを示すタッチデータ
TDを一般しジスタ領域GNRから再び読出して、これ
らのデータ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 GNR 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を一般しジスタ領域GNPから再度読出し
、読出したタッチデータTDを右へ4ピントシフトする
ことによりこのタッチデータTDを「16」で割算して
この割算結果を変数WGHTとして設定し、ステップ5
5bにて上記音高による重み付けした優先順位データP
RD (ACHN)に変数WGHTを加算することによ
り、優先順位データPRD (ACHN)をタッチデー
タTDの値が大きい程割当て優先順位が低くなるように
重み付けして、ステップ56にて「割当てchデータ設
定」プログラムの処理を終了する。
Next, in step 55a, the CPU 14b again reads out the touch data TD from the register area GNP, shifts the read touch data TD by 4 points to the right, and divides the touch data TD by "16". Set the lever division result as variable WGHT, and proceed to step 5.
5b, the priority data P weighted by the pitch
By adding the variable WGHT to RD (ACHN), the priority data PRD (ACHN) is weighted so that the larger the value of touch data TD, the lower the allocation priority. ” Terminates program processing.

なお、上述の音高及び鍵タッチ強さに基づく優先順位デ
ータP RD C1)〜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 data PRD C1) 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. This will be changed to In addition, if the touch data TD cannot be obtained because the key touch detection circuit 10b is not provided, or if the influence of the key touch strength on the decay time of the musical tone is small, the priority order data P RD (1) to PRD are determined according to the touch data TD. (N), the CPU 14b executes the program in step 56 without going through steps 55a and 55b after processing step 54b, as shown by the broken line in FIG. It may be configured to end.

上記「割当てchデータ設定」プログラムの実行を終了
すると、CPU14bは、第6図のステップ60にプロ
グラムを進め、ステップ60にて再び一般しジスタ領域
GNRからキーデータKDとタッチデータTDを読出し
て楽音発生回路13に出力するとともに、割当てチャン
ネルレジスタ領域ACHRから割当てチャンネル番号デ
ータ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
はこのチャンネル番号データCHHに基づき楽音を発生
すべき楽音発生チャンネルを指定し、この指定された楽
音発生チャンネルが上記キーデータ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 CHH, and the 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.

なお、上記のように他の楽音信号から新たに指定された
音高の楽音信号−・の切換え時には、新たな音のアタッ
ク感を確保し及びクリック音の発生を防止するために、
他の楽音信号を所定の時定数で急速に減衰させた後上記
切換えを行うようにするとよい。
As mentioned above, when switching from another musical tone signal to a musical tone signal with a newly specified pitch, in order to ensure the attack feeling of the new sound and to prevent the occurrence 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
VT1がまだ存在する場合には、ステップ40の「割当
てchサーチ」プログラム、ステップ50の「割当てC
hデータ設定」プログラム及びステップ6oの処理から
なる押鍵イベント処理ルーチンにより次の押鍵イベント
データKEVTIに対応する押鍵に関するデータを楽音
発生回路13に出力し、押鍵イベントデータKEVTI
がな(なるまで上記押鍵イベント処理ルーチンの循環処
理を実行し続ける。この循環処理により押鍵イベントデ
ータKEVTIが全て処理されると、CPU14bはス
テップ32にてrNOJと判断し、プログラムをステッ
プ33に進め、押鍵及び操作検出レジスタ領域KOR内
に離鍵イベントデータKEVT2が存在しなければステ
ップ33にてrNOJと判定し、ステップ34の処理に
より鍵処理ルーチンの実行を終了し、離鍵イベントデー
タKEVT2が存在すればステップ33にてrYEsJ
と判定し、ステップ70〜73からなる離鍵イベント処
理ルーチンにプログラムを進める。
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 VT1 still exists, the "assignment channel search" program in step 40 and the "assignment C channel search" program in step 50 are executed.
Data related to the next key press event data KEVTI is outputted to the musical sound generation circuit 13 by the key press event processing routine consisting of the ``h data setting'' program and the process of step 6o, and the key press event data KEVTI is output to the musical sound generation circuit 13.
The cyclic process of the above-mentioned key press event processing routine is continued until the key press event processing routine is executed. When all the key press event data KEVTI is processed by this cyclic process, the CPU 14b determines rNOJ in step 32, and the program is executed in step 33. If the key release event data KEVT2 does not exist in the key press and operation detection register area KOR, it is determined that rNOJ is present in step 33, and the execution of the key processing routine is terminated by the process of step 34, and the key release event data KEVT2 is determined to be rNOJ in step 33. If KEVT2 exists, in step 33 rYEsJ
Then, the program advances to a key release 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に記憶されて
いる割当てキーデータA K D fl)〜AKD (
N)の中から探し出し、探し出した割当てキーデータA
KDのキーオンデータKOを“0”に設定変更し、ステ
ップ73にてキーオンデータKOを0”に設定変更した
キーデータKD及び該キーデータKDが記憶されていた
チャンネルを表すチャンネル番号データCHNを楽音発
生回路13に出力する。これにより、楽音発生回路13
は前記チャンネル番号データCHNにて指定される楽音
発生チャンネルにて発生中の楽音信号の減衰を制御する
。このとき、後述するサスティンペダル処理ルーチンに
て設定されるサスティンデータSUSが0″であれば上
記減衰は第3A図に破線で示すように急速に進み、また
サスティンデータSUSが“1”であれば上記減衰は第
3A図に実線にて示すように緩やかに進む。
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 disk area GNP as key data KD to be processed in the future, in step 71, the read key release event data KEVT2 from the register area KOR is erased. Next, the CPU 14b reads the stored key data KD, and stores assigned key data AKD having the same key code KC as the key code KC of this key data KD and whose key-on data KO is "1" in the assigned key data register. Assigned key data A K D fl) to AKD (
The assigned key data A that was searched out from N)
The setting of the key-on data KO of KD is changed to "0", and in step 73, the key-on data KD of which the setting of the key-on data KO is changed to "0" and the channel number data CHN representing the channel in which the key data KD is stored are stored in the musical tone. output to the tone generation circuit 13.As a result, the musical tone generation circuit 13
controls the attenuation of the musical tone signal being generated in the musical tone generation channel specified by the channel number data CHN. 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 1, The above-mentioned attenuation proceeds gradually as shown by the solid line in FIG. 3A.

このステップ73の処理後、CPU14bはプログラム
をステップ32に進め、ステップ32にて「NO」と判
定し、押鍵及び操作検出レジスタ領域KORの離鍵イベ
ントデータKEVT2がなくなるまでステップ32.3
3.70〜73の循環処理を実行し、離鍵イベントデー
タKEVT2がなくなると、ステップ33に”(rNO
Jと判定し、ステップ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.3 until the key release event data KEVT2 in the key press and operation detection register area KOR is exhausted.
3. Execute the cyclic processing from 70 to 73, and when the key release event data KEVT2 is exhausted, in step 33 "(rNO
J is determined, the execution of the key processing routine is ended 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図のフローチャートに詳細に示されている。このプ
ログラムにおいては、CP U 14 bはステップ8
0にてプログラムの実行を開始し、ステップ81にてサ
スティンペダルスイッチ回路12aからサスティンペダ
ル12の現状態を示す現状態データを読込み、ステップ
82a、82bにて一般しジスタ領域GNRに記憶され
ているサスティンペダル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 performs step 8
Execution of the program is started at 0, current state data indicating the current state of the sustain pedal 12 is read from the sustain pedal switch circuit 12a at step 81, and stored in the register area GNR at steps 82a and 82b. A change in the state of the sustain pedal 12 is detected by comparing the sustain data SUS indicating the previous state of the sustain pedal 12 with the current state data.

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

上記最低音キーコードLKCの設定後、CPU14bは
ステップ85にてサスティンデータ5US(−“1”)
を楽音発生回路13に出力し、ステップ86の処理によ
りサスティンペダル処理ルーチンの実行を終了する。楽
音発生回路13は、このサスティンデータSUS (=
“1”)を記憶し、以降このサスティンデータSUS 
(=“1”)が変更されるまで各楽音発生チャンネルに
て発生される楽音の減衰特性を同データSUS (=“
1”)に基づき制御し、これにより、該楽音は離鍵され
ても第3A図に実線で示すようにゆっくりと減衰するよ
うになる。
After setting the lowest note key code LKC, the CPU 14b sets the sustain data 5US (-“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. The musical tone generation circuit 13 uses this sustain data SUS (=
“1”) is memorized, and from now on this sustain data SUS
The same data SUS (=“
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に記憶さ
れているサスティンデータsUsは1″であり、上記ス
テップ81にて取込んだサスティンペダル12の現状態
データは0′であるので、CPU14bはステップ82
aにて「NOJすなわちオンイベント無しと判定し、ス
テップ82bにてrYEsJすなわちオフイベント有り
と判定して、ステップ83bにてサスティンデータSU
Sを“0″に設定変更し、ステップ84dにて一般しジ
スタ領域GNR内の最低音キーコードLKCを鍵盤10
における最低音AoのキーコードKC(21)より小さ
な値、例えば「1」に設定する。このように、最低音キ
ーコードLKCを鍵盤10の鍵を表すキーコードKCと
して利用されていない値「1」に設定することは、サス
ティンペダル12が踏込まれていないときには最低音キ
ーコードLKCをクリアしておくことを急味する。この
ステップ84dの処理後、CPU 14bはステップ8
5にて、上記と同様に、サスティンデータSUS (=
“0”)を楽音発生回路13に出力し、ステップ86の
処理によりサスティンペダル処理ルーチンの実行を終了
する。楽音発生回路13はこのサスティンデータSUS
 (=“0”)を記憶し、以降このサスティンデータS
US (=“0”)が変更されるまで各楽音発生チャン
ネルにて発生される楽音の減衰特性を同データ5USO
値“0”に基づき制御し、これにより該楽音は離鍵され
ると第3A図に破線で示すように急速に減衰するように
なる。
If the sustain pedal 12 was previously depressed and is newly released, the sustain data sUs stored in the general register area GNP is 1'', and the current state of the sustain pedal 12 imported in step 81 is Since the data is 0', the CPU 14b performs step 82.
At step a, it is determined that there is NOJ, that is, there is no on event, at step 82b, it is determined that rYEsJ, that is, there is an off event, and at step 83b, the sustain data SU is determined.
S is set to "0", and in step 84d, the lowest note key code LKC in the register area GNR is set to keyboard 10.
Set to a value smaller than the key code KC (21) of the lowest note Ao in, for example, "1". In this way, setting the lowest key code LKC to a value "1" that is not used as a key code KC representing a key on the keyboard 10 clears the lowest key code LKC when the sustain pedal 12 is not depressed. I feel an urgent need to keep it. After processing step 84d, the CPU 14b executes step 8
5, sustain data SUS (=
"0") 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. The musical sound generation circuit 13 uses this sustain data SUS.
(="0"), and from now on this sustain data S
The same data 5USO shows the attenuation characteristics of musical tones generated in each musical tone generation channel until US (="0") is changed.
The control is based on the value "0", so that the musical tone rapidly decays as shown by the broken line in FIG. 3A when the key is released.

さらに、サスティンペダル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 (L)〜PRD (N)は押鍵検出によっ
てのみ設定され、楽音発生回路13からの発生楽音の音
量を示すエンベロープ振幅値データ等を必要としないの
で、この実施例に係る押鍵割当て装置は低コストにて実
現される。また、上記優先順位データP RD (1)
〜PRD (N)は、押鍵時に、第9図のステップ52
a、52b、53 a、  53 b、  53 cの
処理により音高が低くなるに従って大きくなる値に初期
設定され(第10図参照)、かつ第9図のステップ55
a、55bの処理により鍵タッチ強さが大きくなるに従
って大きくなる値に初期設定されて、この初期設定され
た優先順位データP RD fl)〜PRD(N)は第
7図のステップ42の処理により各データとも押鍵毎に
一率に減ぜられ、この減ぜられた優先順位データP R
D (1)〜PRD (N)に基づいてステップ45a
、45b、45dの処理により小さな値の優先順位デー
タPRDを記憶するチャンネルが、新たな鍵が押された
ときの該鍵の割当てチャンネルとして決定されるので、
該新たに押された鍵は、音高が低くかつ鍵タッチ強さが
大きくなるに従ってその減衰時間が長くなる楽音を発生
中のチャンネルには割当てられにくくなり、割当て優先
順位決定が押鍵順のみにより決定されるものに比べて適
切になる。
e. Effects of the Example As can be understood from the above explanation of the operation, in the above example, the priority data PRD (L) to PRD (N) for determining the allocation priority are set only 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. In addition, the above priority data P RD (1)
~PRD (N) is executed at step 52 in FIG. 9 when the key is pressed.
a, 52b, 53a, 53b, and 53c are initialized to values that increase as the pitch decreases (see Figure 10), and step 55 in Figure 9
Through the processing in steps a and 55b, the initial priority data PRD fl) to PRD(N) are initialized to values that increase as the key touch strength increases, and the initialized priority data PRD fl) to PRD(N) are set in the processing in step 42 in FIG. Each data is reduced by one rate for each key press, and this reduced priority data P R
Step 45a based on D (1) to PRD (N)
, 45b, and 45d, the channel that stores the priority data PRD with a small value is determined as the channel to be assigned to the new key when the key is pressed.
The newly pressed key is less likely to be assigned to a channel that is currently generating a musical tone whose decay time is longer as the pitch is lower and the key touch strength increases, and the assignment priority is determined only by the order of keys pressed. will be more appropriate than that determined by .

また、トリル演奏等のように所定数(楽音発生チャンネ
ル数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
、51G及び第11図のステップ84b784Cの処理
により最低音が検出され、第7図のステップ44a、4
4b、45a、45bの処理により最低音が割当てられ
ているチャンネルには新たに押された鍵の割当てが禁止
されるようになっているので、該最低音は引続き発生さ
れ続けることになり、ピアノ等で見られるように、低音
部の楽音の余韻を残したまま高音部の速い押鍵による楽
音を次々に発生させることができる。また、サスティン
ペダル12が踏込まれていず発生楽音の減衰時間が短い
場合、第11図のステップ84dの処理により最低音が
検出されないように最低音キーコードLKCがクリアさ
れるので、減衰時間が短く低音部(特に最低音)の余韻
が残らない場合には、上記割当て禁止が解除されて新た
に押された鍵の割当てが不必要に制限されない。これに
より、全ての楽音発生チャンネルが有効に利用される。
Furthermore, if the sustain pedal 12 is depressed and the decay time of the generated musical tone is long, the sustain pedal 12 is
, 51G and steps 84b and 784C in FIG. 11, the lowest note is detected, and steps 44a and 4 in FIG.
As a result of the processing in steps 4b, 45a, and 45b, the assignment of a newly pressed key to the channel to which the lowest note is assigned is prohibited, so the lowest note will continue to be generated, and the piano As shown in the above example, musical tones in the high register can be generated one after another by pressing keys quickly while retaining the lingering sound of the musical tones in the low register. Further, if the sustain pedal 12 is not depressed and the decay time of the generated musical tone is short, the lowest note key code LKC is cleared by the process of step 84d in FIG. 11 so that the lowest note is not detected, so the decay time is short. If the bass part (particularly the lowest note) does not have a lingering sound, 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
を維持し、離鍵後減衰時定数DTに応じて除々に減衰す
るものであり、この場合には楽音の減衰時間が押鍵タイ
ミングにより決定されないで離鍵タイミングにより決定
されるので、優先順位データP RD (1)〜PRD
(N)の減算は離鍵されているチャンネルにおい°Cの
み離鍵毎に実行されるようにする。すなわち、第7図の
ステップ42の処理を「割当てchサーチ」プログラム
において実行する代わり、第6図のステップ70〜73
からなる離鍵イベント処理ルーチンにて離鍵されている
チャンネルにおいてのみ実行するようにするまた、持続
系の楽音のエンベロープ波形振幅値においては、前記減
衰時定数DTが音高が低くなるに従って第3B図に一点
鎖線で示すように変化し、かつ前記一定レベルSLは鍵
タッチ強さが大きくなるに従って第3B図に二点鎖線で
示すように変化する。さらに、持続系の楽音を制御する
ために利用される鍵タツチ検出装置は通常押鍵深さ又は
押鍵圧力を押鍵巾検出し続けるいわゆるアフタータッチ
センサにより構成するこきもでき、前記一定レベルSL
はこの検出結果に基づき変更制御されるので、この種の
タッチ検出装置を有する電子楽器にこの発明に係る押鍵
割当て装置を適用する場合、鍵タッチ強さによる優先順
位データPRD(1)〜PRD(N)の重み付けは離鍵
時に行うようにする。すなわち、第9図のステップ55
a、55bの処理は第6図のステップ72又はステップ
73の処理後に実行するようにし、この場合には割当て
チャンネル番号データACHNでなく、ステップ72に
て検出される離鍵チャンネルにより指定されるチャンネ
ルの優先順位データPRDを鍵タッチ強さに応じて重み
付けするとよい。
e. Other Embodiments In the above embodiments, an example was explained in which the key press assignment device according to the present invention was applied to an electronic musical instrument in which the musical tone generation 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.
is maintained and gradually attenuates in accordance with the decay time constant DT after key release.In this case, the decay time of the musical tone is not determined by the key press timing but by the key release timing, so the priority data PRD (1) ~PRD
The subtraction of (N) is made so that only °C is executed every time the key is released in the channel where the key is released. That is, instead of executing the process of step 42 in FIG. 7 in the "allocation channel search" program, steps 70 to 73 in FIG.
In addition, in the envelope waveform amplitude value of a sustained musical tone, the attenuation time constant DT changes to the third B as the pitch becomes lower. As the key touch strength increases, the constant level SL changes as shown by the chain double-dashed line in FIG. 3B. 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 press depth or key press pressure over the key press width, and 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 press depth or key press pressure over the key press width.
are changed and controlled based on this detection result, so when applying the key press assignment device according to the present invention to an electronic musical instrument having this type of touch detection device, the priority order data PRD(1) to PRD based on the key touch strength The weighting of (N) is performed when the key is released. That is, step 55 in FIG.
The processes of a and 55b are executed after the process of step 72 or step 73 in FIG. It is preferable to weight the priority order data PRD according to the key touch strength.

また、上記実施例においては、各鍵毎に設けられた押鍵
速度検出回路又は押鍵圧力検出回路から各鍵タッチ強さ
を表す信号が出力されるようにしたが、各鍵毎に第1及
び第2の固定接点と押鍵操作により可動する可動接点を
備えた切換え型のスイッチを有し、押鍵操作に応じて可
動接点が第1の固定接点から第2の固定接点に切換ねる
時間を計数手段により計測して押鍵速度を検出し、又は
各鍵毎に固定接点と押y!操作に応じて可動する可動接
点とを備えた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 period 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 pressing speed, or by pressing y! with a fixed contact for each key. It has two sets of switches equipped with movable contacts that move according to the key operation, and a counting means measures the timing difference between the two sets of switches when each switch is closed (or opened) according to the key press operation. When detecting the key pressing speed, the counting means are prepared for the number of musical sound generation channels, and the counting means are assigned at the same time as the key pressing, so that the key pressing speed is determined according to the counting result of the counting means. It is also possible to obtain data representing the key touch strength associated with the key touch.

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

また、上記実施例においては、サスティンペダル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に基づきサスティンペダル1
2の状態を判断し、サスティンペダル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 in FIG.
Compared to the case shown in the figure, steps 140, 141, and 142 are added, and the CPU 14b processes the sustain pedal 1 based on the sustain data SUS in step 140.
2, and if the sustain pedal 12 is depressed, in step 44a, a channel is extracted that stores the assigned key data AKD that is not the lowest note and is related to key release, as in the above embodiment, and the sustain pedal 12 is depressed. If the depression is released, the channel for storing the assigned key data AKD related to the key release is extracted in step 141, regardless of the lowest note, and if the corresponding channel is found by the above extraction, the corresponding channel is processed in steps 44b and 45a. An assigned channel is determined from among the channels based on the priority 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 tone generation channels are assigned regardless of the lowest note in step 45d. An allocated channel is determined from among them based on the priority order data PRD. Thereby, effects equivalent to those of the above embodiment can be achieved.

また、上記実施例では、サスティンペダル12が踏込ま
11.ている状態にて最低音に対応する鍵が割当てられ
ている楽音発生チャンネルのみ新たに押された鍵の割当
てを禁止するようにしたが、最低音キーコードLKCの
設定処理及び第7図(又は第12図)のステップ44a
、45bの処理を変更することにより、上記鍵が、 (1)最高音に対応する鍵が割当てられている楽音発生
チャンネル、 (2)低音側又は高音側から2音若しくは3音に対応す
る鍵が割当てられている楽音発生チャンネル、(3)最
低音又は最高音から所定音域例えば1乃至2オクタ一ブ
程度の所定音域に含まれる音に対応する鍵が割当てられ
ている楽音発生チャンネル、(4)所定音域(例えば低
音域、中音域、高音域)に属する音に対応する鍵が割当
てられている楽音発生チャンネル、または、 (5)上記(1)〜(4)を各々組合せた楽音発生チャ
ンネル、には、割当てられないようにしてもよい。この
場合、上記楽音発生チャンネルにて発生される楽音の減
衰時間を長くする(減衰時定数DTを大きくする)こと
により、上記楽音を他の楽音に比べ長く発生させ続ける
ことができ、今までにない演奏効果が達成される。なお
、サス′ティンペダル12の踏込み又は踏込み解除には
関係なく楽音の減衰時間がある程度長い場合又はサステ
ィンペダル12がない場合には、サスティンペダル12
の状態を上記割当て禁止の条件とする必要はない。
Further, in the above embodiment, when the sustain pedal 12 is depressed 11. In the state where the key corresponding to the lowest note is assigned, only the musical sound generation channel to which the key corresponding to the lowest note is assigned is prohibited from assigning a newly pressed key. Step 44a of FIG. 12)
, 45b, the above-mentioned key 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 keys corresponding to sounds included in a predetermined range from the lowest note or the highest note, for example, about 1 to 2 octaves, are assigned (4) ) A musical sound generation channel to which keys corresponding to sounds belonging to a predetermined range (e.g., low range, middle range, high range) are assigned, or (5) a musical sound generation channel that combines each of (1) to (4) above. , may not be assigned. In this case, by lengthening the decay time of the musical tone generated in the musical tone generation channel (increasing the decay time constant DT), it is possible to continue generating the musical tone for a longer period of time compared to other musical tones. No performance effect is achieved. Note that if the decay time of the musical tone is long to some extent regardless of whether the sustain pedal 12 is depressed or released, or if there is no sustain pedal 12, the sustain pedal 12
It is not necessary to make the state of the above allocation prohibition condition.

さらに、上記実施例では、この発明に係る押鍵割当て装
置を既存のマイクロコンピュータを用いて構成するよう
にしたが、この押鍵割当て装置を上記実施例のプログラ
ムの各処理に応じた機能を有する各電気回路を組合せた
ハード回路により構成するようにしてもよい。
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名) 第3A図       第3B図 割当て←   割当てタッチ    優先順位データレ
ジスタ    デ!タレジスク        シクレ
ノスタAKDRATDRPRDR 割当T−Fr ンイ・ル   押鍵・操作検出    
一般レジスタレジスタ         レジスタ 第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 applied, and FIGS. 3A and 3B are diagrams of musical tones. 4A to 4F are diagrams showing envelope waveforms of the RAM 14 provided in the microcomputer section 14 of FIG.
FIGS. 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) Figure 3A Figure 3B Assignment ← Assignment touch Priority data register De! Talezsk Cyclenosta AKDRATDRPRDR Assignment T-Fr Key press/operation detection
General Register Register Register Figure 4E Figure 4F

Claims (1)

【特許請求の範囲】 鍵盤にて押された鍵を鍵の数より少ない複数の楽音発生
チャンネルのいずれかに割当てる電子楽器の押鍵割当て
装置において、 前記割当ての優先順位をその値の大きさにより表すデー
タを前記各楽音発生チャンネルに対応して記憶する複数
の領域からなる記憶手段と、前記鍵盤における押鍵又は
離鍵毎に前記各領域に記憶されているデータの値を各々
前記優先順位が高くなる方向に所定値だけ変更するデー
タ変更手段と、 前記鍵盤にて新たな鍵が押されたとき前記各領域に記憶
されているデータの値に基づき最も前記優先順位の高い
データを記憶する領域を検出する検出手段と、 前記検出領域に対応した楽音発生チャンネルへの前記新
たな鍵の割当てを制御する割当て制御手段と、 前記割当てられた楽音発生チャンネルにて発生すべき楽
音に応じて定まる楽音の減衰時間が長い程低い前記優先
順位を表す値を前記検出手段の検出に応じて前記検出領
域に書込む書込み手段とを備えたことを特徴とする電子
楽器の押鍵割当て装置。
[Scope of Claims] A key press assignment device for an electronic musical instrument that assigns a key pressed on a keyboard to one of a plurality of musical sound generation channels smaller than the number of keys, the priority of the assignment being determined according to the magnitude of the value. a storage means comprising a plurality of areas for storing data representing data corresponding to each of the musical sound generation channels; and a storage means comprising a plurality of areas for storing data representing data corresponding to each of the musical sound generation channels; data changing means for changing a predetermined value in the direction of increasing the priority; and an area for storing data with the highest priority based on the value of data stored in each area when a new key is pressed on the keyboard. a detection means for detecting a musical tone; an assignment control means for controlling assignment of the new key to a musical tone generation channel corresponding to the detection area; and a musical tone determined according to a musical tone to be generated in the assigned musical tone generation channel. 2. A key press assignment device for an electronic musical instrument, comprising: writing means for writing a value representing the priority, which is lower as the decay time is longer, into the detection area in response to detection by the detection means.
JP60232241A 1985-04-24 1985-10-17 Keying allotter for electronic musical apparatus Granted JPS6290697A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP60232241A JPS6290697A (en) 1985-10-17 1985-10-17 Keying allotter for electronic musical apparatus
US06/855,610 US4703680A (en) 1985-04-24 1986-04-23 Truncate prioritization system for multi channel electronic music generator
DE86105588T DE3688716T2 (en) 1985-04-24 1986-04-23 Electronic musical instrument.
EP86105588A EP0204122B1 (en) 1985-04-24 1986-04-23 Electronic musical instrument
SG6695A SG6695G (en) 1985-04-24 1995-01-16 Electronic musical instrument
HK134495A HK134495A (en) 1985-04-24 1995-08-24 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60232241A JPS6290697A (en) 1985-10-17 1985-10-17 Keying allotter for electronic musical apparatus

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP3177525A Division JP2531317B2 (en) 1991-06-21 1991-06-21 Key press assigning device for electronic musical instruments

Publications (2)

Publication Number Publication Date
JPS6290697A true JPS6290697A (en) 1987-04-25
JPH0128397B2 JPH0128397B2 (en) 1989-06-02

Family

ID=16936180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60232241A Granted JPS6290697A (en) 1985-04-24 1985-10-17 Keying allotter for electronic musical apparatus

Country Status (1)

Country Link
JP (1) JPS6290697A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02217900A (en) * 1989-02-17 1990-08-30 Matsushita Electric Ind Co Ltd Output channel determining device for electronic musical instrument
JPH05265457A (en) * 1992-03-19 1993-10-15 Yamaha Corp Electronic musical instrument
JPH05281967A (en) * 1992-03-31 1993-10-29 Kawai Musical Instr Mfg Co Ltd Key assignor of electronic musical instrument

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55140893A (en) * 1979-04-21 1980-11-04 Kawai Musical Instr Mfg Co System for allocating keyboard switch information

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55140893A (en) * 1979-04-21 1980-11-04 Kawai Musical Instr Mfg Co System for allocating keyboard switch information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02217900A (en) * 1989-02-17 1990-08-30 Matsushita Electric Ind Co Ltd Output channel determining device for electronic musical instrument
JPH05265457A (en) * 1992-03-19 1993-10-15 Yamaha Corp Electronic musical instrument
JPH05281967A (en) * 1992-03-31 1993-10-29 Kawai Musical Instr Mfg Co Ltd Key assignor of electronic musical instrument

Also Published As

Publication number Publication date
JPH0128397B2 (en) 1989-06-02

Similar Documents

Publication Publication Date Title
JPH03174590A (en) Electronic musical instrument
JP2655905B2 (en) Electronic musical instrument channel assignment device
JPH08202361A (en) Electronic instrument
JPS6290697A (en) Keying allotter for electronic musical apparatus
JP2531317B2 (en) Key press assigning device for electronic musical instruments
JP2629418B2 (en) Music synthesizer
JP3114283B2 (en) Music signal generator
JPH0572596B2 (en)
JP2526636B2 (en) Electronic musical instrument
JPS6291996A (en) Keying allotter for electronic musical apparatus
JP2640267B2 (en) Electronic musical instrument
JP3624780B2 (en) Music control device
JPS6291997A (en) Keying allotter for electronic musical apparatus
JP2640992B2 (en) Pronunciation instruction device and pronunciation instruction method for electronic musical instrument
JP3194850B2 (en) Electronic musical instrument with automatic performance function
JPH0418320B2 (en)
JP2814479B2 (en) Electronic musical instrument
JPH08234733A (en) Electronic musical instrument
JP2513014B2 (en) Electronic musical instrument automatic performance device
JP3143039B2 (en) Automatic performance device
JPH0515279B2 (en)
JP2953217B2 (en) Electronic musical instrument
JPH0127439B2 (en)
JP2685419B2 (en) Electronic musical instrument channel assignment device and channel assignment method
JPH08278781A (en) Sound source module

Legal Events

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