JPH0127439B2 - - Google Patents

Info

Publication number
JPH0127439B2
JPH0127439B2 JP60163133A JP16313385A JPH0127439B2 JP H0127439 B2 JPH0127439 B2 JP H0127439B2 JP 60163133 A JP60163133 A JP 60163133A JP 16313385 A JP16313385 A JP 16313385A JP H0127439 B2 JPH0127439 B2 JP H0127439B2
Authority
JP
Japan
Prior art keywords
key
musical
channel
sound generation
assigned
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP60163133A
Other languages
Japanese (ja)
Other versions
JPS6223093A (en
Inventor
Masatada Wachi
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP60163133A priority Critical patent/JPS6223093A/en
Priority to DE86105588T priority patent/DE3688716T2/en
Priority to EP86105588A priority patent/EP0204122B1/en
Priority to US06/855,610 priority patent/US4703680A/en
Publication of JPS6223093A publication Critical patent/JPS6223093A/en
Publication of JPH0127439B2 publication Critical patent/JPH0127439B2/ja
Priority to SG6695A priority patent/SG6695G/en
Priority to HK134495A priority patent/HK134495A/en
Granted legal-status Critical Current

Links

Description

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

〔従来技術〕[Prior art]

従来、この種の電子楽器において、全ての楽音
発生チヤンネルが楽音を発生している状態におい
て新たな鍵が押された場合、次のような方法で割
当て処理を行なつていた。
Conventionally, in this type of electronic musical instrument, when a new key is pressed while all musical tone generation channels are generating musical tones, assignment processing has been carried out in the following manner.

すなわち、第1の方法は、特開昭52−25613号
公報に示されるように、各楽音発生チヤンネルに
おける楽音の音量レベル制御用のエンベロープ波
形振幅値を各々比較してエンベロープ波形振幅値
が最も小さい(すなわち最低音量レベルの)楽音
発生チヤンネルを検出し、この検出した楽音発生
チヤンネルに新たに押された鍵を割当て、このチ
ヤンネルにおいて、これまで発生していた楽音に
代えて該新押鍵に対応する楽音を発生させるもの
である。また第2の方法は、特公昭59−22238号
公報に示されるように、各楽音発生チヤンネルに
割当てられた鍵が離鍵される毎に既に離鍵状態に
ある全ての楽音発生チヤンネルに関して各々計数
値を一律に増加することにより、該計数値によつ
て各楽音発生チヤンネルの離鍵の順序を表示して
おき、そして各楽音発生チヤンネルの計数値を
各々比較して計数値が最も大きい(すなわち最も
古く離鍵された)楽音発生チヤンネルを検出し、
この検出した楽音発生チヤンネルに新たに押され
た鍵を割当て、このチヤンネルにおいて、これま
で発生していた楽音に代えて該新押鍵に対応する
楽音を発生させるものである。
That is, the first method, as shown in Japanese Patent Application Laid-Open 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 in place of the previously generated musical sound in this channel. It generates musical tones. Furthermore, as shown in Japanese Patent Publication No. 59-22238, the second method is to calculate each tone generation channel for each tone generation channel that is already in the released state each time the key assigned to each tone generation channel is released. By uniformly increasing the numerical value, the key release order of each tone generation channel is indicated by the count value, and the count value of each tone generation channel is compared to find the largest count value (i.e. Detects the musical sound generation channel (the earliest key was released),
The newly pressed key is assigned to this detected musical tone generation channel, and in this channel, a musical tone corresponding to the newly pressed key is generated in place of the musical tone that has been generated so far.

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

しかるに、上述した従来の電子楽器において
は、全ての楽音発生チヤンネルが楽音を発生して
いる状態において新たに鍵が押されると、常に最
低音量レベルの楽音あるいは最も古く離された鍵
の楽音を発生している楽音発生チヤンネルにおい
て新押鍵に対応する楽音が発生されるので、例え
ばピアノ演奏で見られるように、低音域の音の余
韻を残したまま高音域の速い奏法による音を次々
と発音させるような演奏効果を得ることができな
い。すなわち、このような演奏操作においては、
低音域の鍵が最初に押されかつ離された後、高音
域の鍵が次々と押されるので、高音域である鍵が
新たに押された時点では低音域の楽音が最低音量
レベルであると判断されたり、または該低音域の
楽音が最も古く離された鍵に関するものであると
判断されてこの低音域の楽音が強制的に消されて
しまい(発音停止となり)、このため上記ピアノ
演奏と同様の演奏効果が得られなくなつてしま
う。
However, in the above-mentioned conventional electronic musical instruments, when a new key is pressed while all musical sound generation channels are generating musical tones, the musical tone at the lowest volume level or the musical tone of the oldest key released is always generated. Since musical tones corresponding to newly pressed keys are generated in the musical sound generation channel, for example, as in a piano performance, sounds in the high register can be played one after another in rapid succession while retaining the lingering sound of the low register. It is not possible to obtain a performance effect that would In other words, in this kind of performance operation,
After the low-pitched key is pressed and released first, the high-pitched keys are pressed one after another, so that by the time a new high-pitched key is pressed, the low-pitched musical tone is at its lowest volume level. Or, it is determined that the musical note in the lower register is related to the key that was released the oldest, and the musical note in the lower register is forcibly turned off (sounding stops), and as a result, the piano performance is different from the above-mentioned piano performance. It becomes impossible to obtain the same performance effect.

このように、従来の電子楽器では、全ての楽音
発生チヤンネルで発生している楽音の内ある特定
の楽音(低音域の楽音には限らない)をその音量
レベルや離鍵の順番とは関係なく、優先して発音
を継続させようとしてもそのようなことができ
ず、演奏効果上制約があつた。
In this way, with conventional electronic musical instruments, certain musical tones (not limited to musical tones in the low range) among the musical tones generated in all musical sound generation channels can be generated regardless of the volume level or the order in which the keys are released. Even if we tried to prioritize the continuation of pronunciation, we were unable to do so, and the performance was limited.

この発明の目的は、上記問題に対処するため、
全ての楽音発生チヤンネルにて楽音を発生してい
る状態において新たな鍵が押された場合、同鍵
を、減衰中の楽音を発生している楽音発生チヤン
ネルの内、所定音域に属する楽音を発生している
楽音発生チヤンネル以外のチヤンネルに割当てる
ようにして、該所定音域に属する楽音の発生をそ
のまま継続できるようにした電子楽器を提供しよ
うとするものである。
The purpose of this invention is to address the above problems.
If a new key is pressed while all musical sound generation channels are generating musical tones, the same key will be used to generate a musical tone that belongs to a predetermined range among the musical sound generation channels that are generating musical tones that are attenuating. An object of the present invention is to provide an electronic musical instrument in which musical tones belonging to the predetermined range can be continuously generated by assigning them to a channel other than the musical sound generating channel in which the tones are generated.

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

かかる問題の解決にあたり、この発明の構成上
の特徴は、第1図に示すように、複数の鍵から成
る鍵盤1と、前記鍵の数より少ない数の同時最大
発音数に相当する複数の楽音発生チヤンネルを有
し、該楽音発生チヤンネルは各々当該チヤンネル
に割当てられた鍵に対応する音高の楽音を発生す
るようにしてなる楽音発生手段2と、前記鍵盤1
にて新たに押された鍵を前記複数の楽音発生チヤ
ンネルのいずれかに割当てる割当て手段3と、前
記複数の楽音発生チヤンネルの全てが楽音を発生
している状態において前記鍵盤1にて新たな鍵が
押されたとき、該鍵が割当てられるべき楽音発生
チヤンネルとして、前記複数の楽音発生チヤンネ
ルのうち減衰中の楽音を発生している楽音発生チ
ヤンネルのいずれかを前記割当て手段3に指示す
る割当てチヤンネル指示手段4とを備えた電子楽
器において、少なくとも前記減衰中の楽音を発生
している楽音発生チヤンネルのうち所定の音域に
属する鍵が割当てられている楽音発生チヤンネル
を検出する検出手段5と、前記割当てチヤンネル
指示手段4が前記検出手段5の検出に基づき前記
所定の音域に属する鍵が割当てられている楽音発
生チヤンネル以外の楽音発生チヤンネルを指示す
るように前記割当てチヤンネル指示手段4を制御
する制御手段6とを設けたことにある。
In order to solve this problem, the structural features of the present invention, as shown in FIG. a musical tone generating means 2 having a musical tone generating channel, each of which generates a musical tone having a pitch corresponding to a key assigned to the channel; and the keyboard 1.
assigning means 3 for assigning a newly pressed key to one of the plurality of musical sound generation channels; an assignment channel that, when pressed, instructs the assigning means 3 to select any one of the plurality of musical tone generation channels that is generating a decaying musical tone as the musical tone generation channel to which the key is to be assigned; an electronic musical instrument comprising: a detecting means 5 for detecting a musical tone generating channel to which a key belonging to a predetermined tone range is assigned among at least the musical tone generating channels generating the attenuating musical tone; Control means for controlling the assignment channel instructing means 4 so that the assignment channel instructing means 4 instructs a tone generation channel other than the tone generation channel to which keys belonging to the predetermined range are assigned based on the detection by the detection means 5; 6.

〔発明の作用効果〕[Function and effect of the invention]

上記のように構成したこの発明においては、検
出手段5が少なくとも減衰中の楽音を発生してい
る楽音発生チヤンネルの中から所定の音域に属す
る鍵が割当てられている楽音発生チヤンネルを検
出し、この検出に基づき制御手段6がチヤンネル
指示手段4を制御して、チヤンネル指示手段4は
所定の音域に属する鍵が割当てられている楽音発
生チヤンネル以外の楽音発生チヤンネルを新たに
押された鍵が割当てられるべき楽音発生チヤンネ
ルとして割当て手段3に指示するようにしたの
で、楽音発生手段2の全ての楽音発生チヤンネル
が楽音を発生している状態において、鍵盤1にて
新たな鍵が押された場合、割当て手段3が、同鍵
を、減衰中の楽音を発生している楽音発生チヤン
ネルのうち、上記検出楽音発生チヤンネル以外の
楽音発生チヤンネルに割当てる。
In the present invention configured as described above, the detecting means 5 detects a musical tone generating channel to which a key belonging to a predetermined range is assigned from at least the musical tone generating channels generating attenuating musical tones. Based on the detection, the control means 6 controls the channel instruction means 4, and the channel instruction means 4 assigns the newly pressed key to a musical tone generation channel other than the musical tone generation channel to which keys belonging to a predetermined range are assigned. Since the assignment unit 3 is instructed as the musical tone generation channel to be assigned, if a new key is pressed on the keyboard 1 while all the musical tone generation channels of the musical tone generation unit 2 are generating musical tones, the assignment Means 3 assigns the same key to a tone generation channel other than the detected tone generation channel among the tone generation channels generating the attenuating tone.

これにより、同時に発音可能な楽音発生チヤン
ネルの数が鍵の数より少ない電子楽器において、
演奏者が鍵盤の速い押鍵による演奏を行なつた場
合でも、新たな押鍵によつて減衰発音中の所定の
音域に属する楽音が消えることなく、該楽音の発
音がそのまま継続する。従つて、上記所定の音域
を例えば低音域とすれば、新たに押された鍵は高
音域の減衰発音中の楽音発生チヤンネルに割当て
られるので、ピアノ演奏で見られるように、低音
域の楽音の余韻を残したまま高音域の速い押鍵に
よる楽音を次々に発生させることができる。この
場合、低音域の楽音の減衰時間を高音域の楽音の
減衰時間に比べて長く設定するようにすれば、ピ
アノ演奏により近似した演奏効果が得られる。ま
た、上記所定の音域を例えば、高音域又は中音域
とすれば、高音域又は中音域の楽音の発音を継続
させながら残りの音域の速い押鍵による楽音を
次々に発音させるという演奏が可能となる。さら
に、通常ミユージツクシンセサイザと呼ばれる電
子楽器においては、低音域、中音域又は高音域に
よる効果音的な楽音を発生させ続けた状態にて通
常の演奏等を行なうことも可能となり、従来にな
い演奏効果を楽しむことができる。
As a result, in electronic musical instruments, the number of musical sound generation channels that can be produced simultaneously is smaller than the number of keys.
Even when a performer performs a performance by pressing a key quickly on a keyboard, the musical tone belonging to a predetermined tone range which is being attenuated and generated does not disappear due to a new key pressed, and the tone continues to be generated as it is. Therefore, if the above-mentioned predetermined range is, for example, a low range, the newly pressed key will be assigned to the musical sound generation channel that is producing attenuated sound in the high range, so that the musical sound in the low range will not be generated, as seen in piano performance. It is possible to generate musical tones one after another by rapidly pressing keys in the high range while leaving a lingering sound. In this case, by setting the decay time of the musical tones in the low range to be longer than the decay time of the musical tones in the high range, a performance effect more similar to that of a piano performance can be obtained. Furthermore, if the above-mentioned predetermined range is, for example, a high range or a middle range, it is possible to perform a performance in which musical tones in the high range or middle range are continued while musical sounds in the remaining range are sounded one after another by rapidly pressing keys. Become. Furthermore, electronic musical instruments, commonly called music synthesizers, can now perform normally while continuing to generate musical sounds like sound effects in the low, middle, or high ranges, which is an unprecedented performance. You can enjoy the effect.

〔実施例〕〔Example〕

a 構成例 以下、この発明の実施例を説明すると、第2図
はこの発明に係る電子楽器の実施例を概略的に示
すものであり、この電子楽器は鍵盤10と、音
色、音量等を選択する複数の操作子から成る操作
子群11と、楽音信号を発生する楽音発生回路1
2と、鍵盤10及び操作子群11の状態を入力し
て楽音発生回路12を制御するマイクロコンピユ
ータ部13を備えている。
a Configuration Example Hereinafter, an embodiment of the present invention will be described. FIG. 2 schematically shows an embodiment of an electronic musical instrument according to the present invention. an operator group 11 consisting of a plurality of operators, and a musical tone generating circuit 1 that generates musical tone signals.
2, and a microcomputer section 13 that inputs the states of the keyboard 10 and the operator group 11 and controls the musical tone generation circuit 12.

鍵盤10は、発生すべき楽音の音高を指定する
ための複数の鍵を有し、各鍵の押鍵に応じて鍵ス
イツチ回路10a内の各鍵に対応して設けられた
鍵スイツチを各々閉成する。鍵スイツチ回路10
aは、バス14を介してマイクロコンピユータ部
13に接続されている。操作子群11の各操作子
は、その操作により操作子スイツチ回路11a内
の各操作子に対応して設けられた音色を選択する
ためのスイツチの開閉成又は音量を決定するため
のボリユウムの位置を設定する。操作子スイツチ
回路11aはバス14を介してマイクロコンピユ
ータ部13に接続されている。
The keyboard 10 has a plurality of keys for specifying the pitch of musical tones to be generated, and when each key is pressed, a key switch provided corresponding to each key in the key switch circuit 10a is activated. Close. Key switch circuit 10
a is connected to the microcomputer section 13 via a bus 14. Each operator in the operator group 11 is operated to open/close a switch for selecting a tone provided corresponding to each operator in the operator switch circuit 11a, or the position of a volume for determining the volume. Set. The operator switch circuit 11a is connected to the microcomputer section 13 via a bus 14.

楽音発生回路12は、鍵盤10の鍵数より少な
いN個の楽音発生チヤンネルを有し、各楽音発生
チヤンネルは、バス14を介してマイクロコンピ
ユータ部13から供給される鍵データ及び操作子
データにより指定された音高周波数、音色及びエ
ンベロープの楽音信号を各々発生してアンプ15
を介してスピーカ16から楽音として発音し、か
つ発音終了時に発音終了信号DFをバス14を介
してマイクロコンピユータ部13に供給する。こ
の場合、操作子群11によりフルート、バイオリ
ン等の持続系の音色が選択されていれば、楽音発
生チヤンネルは鍵盤10の押鍵と同時に急速に立
上り、押鍵中は略一定レベルを維持し、離鍵後は
除々に減衰するエンベロープの付与された楽音信
号を発生し、減衰による楽音信号のレベルが略零
になつた時点で発音終了信号DF及び発音を終了
したチヤンネルの番号を示す発音終了チヤンネル
データDFchを出力する。また、操作子群11に
よりピアノ、ギター等の減衰系の音色が選択され
ていれば、楽音発生チヤンネルは鍵盤10の押鍵
と同時に急速に立上り、一定レベルに達すると離
鍵とは無関係に除々に減衰して、押鍵中はこの減
衰を続行し、減衰中に離鍵されたときはその時点
から急速減衰するエンベロープの付与された楽音
信号を発生し、これらの減衰により楽音信号のレ
ベルが略零になつた時点で発音終了信号DF及び
発音を終了したチヤンネルの番号を示す発音終了
チヤンネルデータDFchを出力する。また、この
実施例では、これらのエンベロープ形状の立上り
時定数及び減衰時定数を高音に比べ低音において
長く設定するようにしているので、ピアノ音等と
同様に低音の減衰時間は高音の減衰時間に比べ長
い。なお、楽音発生チヤンネルの個数Nは数個か
ら10数個に予め設定されている。
The musical tone generation circuit 12 has N musical tone generation channels, which are smaller than the number of keys on the keyboard 10, and each musical tone generation channel is specified by key data and operator data supplied from the microcomputer section 13 via the bus 14. The amplifier 15 generates musical tone signals of the pitch frequency, tone color and envelope, respectively.
A musical tone is generated from the speaker 16 via the bus 14, and a sound generation end signal DF is supplied to the microcomputer section 13 via the bus 14 when the sound generation is completed. In this case, if a sustained tone such as flute or violin is selected by the operator group 11, the musical sound generation channel will rise rapidly at the same time as the key is pressed on the keyboard 10, and will maintain a substantially constant level while the key is pressed. After the key is released, a musical sound signal with an envelope that gradually attenuates is generated, and when the level of the musical sound signal due to the attenuation becomes approximately zero, a sound generation end signal DF and a sound generation end channel indicating the number of the channel where sound generation has ended are generated. Output data DFch. Furthermore, if a damping tone such as piano or guitar is selected by the operator group 11, the musical sound generation channel will rise rapidly at the same time as the key is pressed on the keyboard 10, and once it reaches a certain level, it will gradually start up regardless of the key release. This attenuation continues while the key is being pressed, and when the key is released during the attenuation, a musical sound signal with an envelope that rapidly attenuates from that point on is generated, and these attenuations cause the level of the musical sound signal to increase. When it reaches approximately zero, a sound generation end signal DF and sound generation end channel data DFch indicating the number of the channel where sound generation has ended are output. In addition, in this embodiment, the rise time constant and decay time constant of these envelope shapes are set longer for low notes than for high notes, so the decay time of low notes is equal to the decay time of high notes, similar to piano sounds etc. It's relatively long. Note that the number N of musical tone generation channels is set in advance from several to more than ten.

マイクロコンピユータ部13は、第4図乃至第
8図に示すフローチヤートに対応したプログラム
及びプログラムの実行に必要な定数を記憶する読
出し専用メモリ(以下単にROMという)13a
と、このプログラムを実行する中央処理装置(以
下単にCPUという)13bと、このプログラム
を実行するのに必要な後述する諸変数を一時的に
記憶してワーキングメモリとしての役目を果す書
込み可能メモリ(以下単にRAMという)13c
とを備え、電源の投入に伴つて開始する第4図乃
至第7図のプログラムの実行により鍵盤10の鍵
状態及び操作子群11の操作子状態を鑑視し、こ
れらの状態に応じて処理された各種データを楽音
発生回路12に供給して楽音の発生を制御し、か
つ楽音発生回路12からの発音終了信号DFの到
来により第8図のインタラプトプログラムを実行
してRAM13cに記憶されたデータの発音終了
に伴う処理を行なう。なお、ROM13a,CPU
13b及びRAM13cはバス14に接続されて
いる。
The microcomputer section 13 includes a read-only memory (hereinafter simply referred to as ROM) 13a that stores programs corresponding to the flowcharts shown in FIGS. 4 to 8 and constants necessary for executing the programs.
, a central processing unit (hereinafter simply referred to as CPU) 13b that executes this program, and a writable memory (which serves as a working memory and temporarily stores various variables described below that are necessary to execute this program). (hereinafter simply referred to as RAM) 13c
By executing the programs shown in FIGS. 4 to 7 that start when the power is turned on, the state of the keys of the keyboard 10 and the state of the operators of the operator group 11 are observed, and processing is performed according to these conditions. The generated various data are supplied to the musical tone generating circuit 12 to control the generation of musical tones, and when the sound generation end signal DF arrives from the musical tone generating circuit 12, the interrupt program shown in FIG. 8 is executed and the data is stored in the RAM 13c. Performs processing associated with the end of pronunciation. In addition, ROM13a, CPU
13b and RAM 13c are connected to bus 14.

RAM13cは、楽音発生回路12の各楽音発
生チヤンネルに割当てた鍵を表わす鍵名データ
(キーコード)を記憶するキーコードレジスタ領
域KCR(第3A図)と、楽音発生回路12の各楽
音発生チヤンネルの状態を表わすチヤンネル状態
データを記憶するチヤンネル状態レジスタ領域
CHSR(第3B図)と、鍵盤10にて新たに押さ
れた鍵が割当てられるべきチヤンネルを指定する
ための割当指定チヤンネルデータを記憶する割当
てチヤンネルレジスタ領域ACHR(第3C図)
と、鍵盤10の押鍵検出及び操作子群11の操作
検出に利用する押鍵及び操作検出レジスタ領域
KOR(第3D図)と、チヤンネルの割当て処理及
びその他の処理に利用する一般レジスタ領域
GNR(第3E図)に領域区分されている。
The RAM 13c includes a key code register area KCR (FIG. 3A) that stores key name data (key codes) representing the keys assigned to each musical tone generating channel of the musical tone generating circuit 12, and Channel status register area that stores channel status data that represents the status
CHSR (Fig. 3B) and an allocation channel register area ACHR (Fig. 3C) that stores allocation designation channel data for specifying the channel to which a newly pressed key on the keyboard 10 is to be allocated.
and a key press and operation detection register area used for detecting key presses on the keyboard 10 and detecting operations on the operator group 11.
KOR (Figure 3D) and general register area used for channel allocation processing and other processing
The area is divided into GNR (Figure 3E).

さらに、キーコードレジスタ領域KCR(第3A
図)は楽音発生回路12の各楽音発生チヤンネル
に各々対応したN個のキーコードレジスタKCR
(1),KCR(2),……KCR(N)を有し、各キーコ
ードレジスタKCR(1),KCR2,……KCR(N)
は各々対応する楽音発生チヤンネル(ch1〜chN)
に割当てられた鍵を表わすキーコードKCを記憶
する。なお、この実施例では、キーコードKCは
低音程小さく高音になるに従つて大きな値をとる
ものであり、かつ全ビツト“1”の値はとらな
い。
Furthermore, the key code register area KCR (3rd A
Figure) shows N key code registers KCR corresponding to each musical tone generating channel of the musical tone generating circuit 12.
(1), KCR(2), ...KCR(N), each key code register KCR(1), KCR2, ...KCR(N)
are the corresponding musical sound generation channels (ch1 to chN)
The key code KC representing the key assigned to is stored. In this embodiment, the key code KC takes on a value that becomes smaller as the bass pitch becomes smaller and becomes larger as the pitch becomes higher, and does not take the value of all bits being "1".

チヤンネル状態レジスタ領域CHSR(第3B図)
は各楽音発生チヤンネルに各々対応したN個のチ
ヤンネル状態レジスタCHSR(1),CHSR(2),……
CHSR(N)を有し、各チヤンネル状態レジスタ
CHSR(1),CHSR(2),……CHSR(N)は楽音発
生回路12の各楽音発生チヤンネルに割当てられ
た鍵の状態を各チヤンネル毎に表わすチヤンネル
状態データを記憶する。このチヤンネル状態デー
タは、その最上位ビツトMSBにてその値が“0”
のとき割当てられた鍵が押鍵中であることを示
し、その値が“1”のとき上記鍵が離鍵中である
ことを示しており、またその下位複数ビツトにて
その値が大きくなるに従つて当該割当てられた鍵
が古く押鍵又は離鍵されたことを示している。
Channel status register area CHSR (Figure 3B)
are N channel status registers CHSR(1), CHSR(2), . . . corresponding to each tone generation channel.
CHSR(N), each channel status register
CHSR (1), CHSR (2), . This channel status data has a value of “0” in its most significant bit MSB.
When the value is “1”, it indicates that the assigned key is being pressed, and when the value is “1”, it is indicating that the key is being released, and the value increases with the lower multiple bits. This indicates that the assigned key was previously pressed or released.

割当てチヤンネルレジスタ領域ACHR(第3C
図)は、鍵盤10にて次に押された鍵が割当てら
れる楽音発生チヤンネルの番号を示す割当てチヤ
ンネル番号データACHNを記憶する割当てチヤ
ンネル番号レジスタACHNRと、上記割当てチ
ヤンネル番号データACHNが示す楽音発生チヤ
ンネルに関する割当てチヤンネル状態データ
ACHDを記憶する割当てチヤンネル状態レジス
タACHDRを有する。
Assigned channel register area ACHR (3rd C
(Figure) shows an assigned channel number register ACHNR that stores assigned channel number data ACHN indicating the number of the musical tone generation channel to which the next key pressed on the keyboard 10 is assigned, and the musical tone generation channel indicated by the assigned channel number data ACHN. Allocation channel state data for
It has an allocation channel status register ACHDR that stores ACHD.

押鍵及び操作検出レジスタ領域KOR(第3D
図)は、鍵盤10の各鍵に各々対応する複数のビ
ツトから成り、各ビツトが各鍵の押鍵又は離鍵を
表わす“1”又は“0”のデータを記憶する鍵状
態メモリKEYMEMと、操作子群11の各スイツ
チ及びボリユウムに対応した複数の記憶位置を有
し、各々対応するスイツチの開閉成状態データ又
はボリユウムの位置データを記憶する操作子状態
メモリSWMEMと、鍵盤10の押鍵イベントデ
ータ又は操作子群11の操作子イベントデータを
記憶するための複数のレジスタから成るイベント
データレジスタ群EVTRを有する。
Key press and operation detection register area KOR (3rd D
(Fig.) is a key state memory KEYMEM which is composed of a plurality of bits corresponding to each key of the keyboard 10, and each bit stores data of "1" or "0" representing the key press or release of each key; A control state memory SWMEM has a plurality of memory locations corresponding to each switch and volume of the control group 11, and stores the open/closed state data of each corresponding switch or the position data of the volume, and a key press event of the keyboard 10. It has an event data register group EVTR consisting of a plurality of registers for storing data or operator event data of the operator group 11.

一般レジスタ領域GNR(第3E図)は、後述す
る「低音域chサーチ」プログラム及び「割当て
チヤンネルサーチ」プログラムの実行中、チヤン
ネル番号を順次更新するポインタとしての役目を
果すポインタレジスタPRと、楽音の減衰発音を
そのまま継続させたい音域の下側の境界に相当す
る鍵を表わす下側境界キーコードLKCを記憶す
る下側境界キーコードレジスタLKCRと、同音域
の上側の境界に相当する鍵を表わす上側境界キー
コードUKCを記憶する上側境界キーコードレジ
スタUKCRと、マイクロコンピユータ部13の
処理に必要なその他の変数等を記憶するその他レ
ジスタ群から成る。
The general register area GNR (Figure 3E) contains a pointer register PR that serves as a pointer for sequentially updating channel numbers during the execution of the "low range channel search" program and "assigned channel search" program, which will be described later. The lower boundary key code register LKCR stores the lower boundary key code LKC representing the key corresponding to the lower boundary of the range in which you want the attenuated pronunciation to continue as it is, and the upper boundary key code register LKCR stores the key corresponding to the upper boundary of the same range. It consists of an upper boundary key code register UKCR that stores the boundary key code UKC, and a group of other registers that store other variables necessary for processing by the microcomputer section 13.

b 基本動作 上記のように構成した実施例の基本的動作を第
4図に示すフローチヤートを用いて説明すると、
電源の投入により、CPU13bは第4図のステ
ツプ20からプログラムの実行を開始してステツプ
21にてRAM13cの初期設定を行う。この初期
設定において、鍵状態メモリKEYMEM、イベン
トデータレジスタ群EVTR、ポインタレジスタ
PR及びその他レジスタは全ビツト“0”に設定
され、全キーコードレジスタKCR(1),KCR(2),
……KCR(N)、全チヤンネル状態レジスタ
CHSR(1),CHSR(2),CHSR(N)及び割当てチ
ヤンネル状態レジスタACHDRは全ビツト“1”
に設定され、割当てチヤンネル番号レジスタ
ACHNRは「1」に設定され、下側境界キーコ
ードレジスタLKCR及び上側境界キーコードレジ
スタUKCRには各々予めROM13aに記憶され
ている下側境界キーコードLKC及び上側境界キ
ーコードUKCが各々記憶される。なお、この実
施例では、下側境界キーコードLKCは鍵盤10
の最も低い鍵を表わすキーコードKCであり、上
側境界キーコードUKCは前記最も低い鍵から1
オクターブ乃至2オクターブ程度高い鍵を表わす
キーコードである。そして、操作子状態メモリ
SWMEMには、操作子スイツチ回路11aから
供給される操作子状態信号により、操作子群11
の操作子状態を表わすデータが書込まれ、かつこ
のデータは楽音発生回路12にも供給されて発生
される楽音の音色、音量等を予め設定する。
b Basic operation The basic operation of the embodiment configured as described above will be explained using the flowchart shown in FIG.
When the power is turned on, the CPU 13b starts executing the program from step 20 in FIG.
21, initialize the RAM 13c. In this initial setting, key state memory KEYMEM, event data register group EVTR, pointer register
All bits of PR and other registers are set to “0”, and all key code registers KCR(1), KCR(2),
...KCR (N), all channel status register
All bits of CHSR(1), CHSR(2), CHSR(N) and assigned channel status register ACHDR are “1”
The assigned channel number register is set to
ACHNR is set to "1", and the lower boundary key code LKC and upper boundary key code UKC, which are stored in advance in the ROM 13a, are stored in the lower boundary key code register LKCR and upper boundary key code register UKCR, respectively. . In addition, in this embodiment, the lower boundary key code LKC is the keyboard 10.
The upper boundary key code UKC is the key code KC representing the lowest key of the lowest key.
This is a key code that represents a key that is about an octave to two octaves higher. And the control state memory
The SWMEM receives the operator status signal supplied from the operator switch circuit 11a to the operator group 11.
Data representing the state of the operator is written therein, and this data is also supplied to the tone generation circuit 12 to preset the tone, volume, etc. of the tone to be generated.

上記初期設定後、CPU13bは、プログラム
をステツプ22の鍵処理ルーチンに進め、同ルーチ
ンにて、後述する第5図乃至第7図のフローチヤ
ートに対応したプログラムを実行することによ
り、鍵盤10の押鍵または離鍵に応じて楽音発生
回路12による楽音の発生を制御する。
After the above initial settings, the CPU 13b advances the program to the key processing routine of step 22, and in this routine executes a program corresponding to the flowcharts of FIGS. 5 to 7, which will be described later. The generation of musical tones by the musical tone generating circuit 12 is controlled in accordance with the key or key release.

次に、プログラムはステツプ23,24に進み、マ
イクロコンピユータ部13は操作子群11の操作
子状態を検出し、検出結果を楽音発生回路12に
出力して楽音の音色、音量等を制御する。ステツ
プ23にて、CPU13bは操作子スイツチ回路1
1a内の各スイツチの開閉状態及びボリユウムの
設定位置を表わすデータを操作子群11の新操作
子データとして入力し、これらの入力データと操
作子状態メモリSWMEMに記憶されている旧操
作子データとを各操作子毎に各々対比し、両デー
タが異なる場合にのみ当該データに関する操作子
が操作されるものとして、同操作子の新操作子デ
ータを操作子状態メモリSWMEMの同操作子に
対応する記憶位置に書込むと共に、同新操作子デ
ータを操作子イベントデータとしてイベントデー
タレジスタ群EVTRのレジスタに書込む。ステ
ツプ24にて、CPU13bはイベントデータレジ
スタ群EVTRのデータの有無を調べ、データが
ある場合、このデータを楽音発生回路12に出力
した後、出力したイベントデータレジスタ群
EVTRのデータを消去し、イベントデータレジ
スタ群EVTR内にデータがなくなるまで上記動
作を繰返し、全ての操作子イベントデータの送出
を行う。なお、ステツプ23において全操作子に関
する新旧操作子データが一致する場合には、操作
子データの書換え及び出力は実行されない。
Next, the program proceeds to steps 23 and 24, where the microcomputer section 13 detects the state of the operators in the operator group 11, and outputs the detection result to the musical tone generating circuit 12 to control the tone, volume, etc. of the musical tone. At step 23, the CPU 13b switches to the operator switch circuit 1.
Data representing the open/closed state of each switch in 1a and the setting position of the volume are input as new controller data for the controller group 11, and these input data are combined with the old controller data stored in the controller status memory SWMEM. are compared for each manipulator, and assuming that the manipulator related to the data is operated only when both data are different, the new manipulator data for the same manipulator corresponds to the same manipulator in the manipulator state memory SWMEM. At the same time, the new control data is written to the register of the event data register group EVTR as control event data. At step 24, the CPU 13b checks whether there is data in the event data register group EVTR, and if there is data, outputs this data to the musical tone generation circuit 12, and then outputs the data to the event data register group EVTR.
The data in EVTR is erased, and the above operation is repeated until there is no more data in the event data register group EVTR, and all operator event data is sent. Note that if the new and old controller data regarding all the controllers match in step 23, the rewriting and output of the controller data is not executed.

上記ステツプ23,24の処理後、プログラムはス
テツプ22に戻り、CPU13bはステツプ22〜24
の各処理を繰返し実行して鍵盤10及び操作子群
11の状態に応じて楽音発生回路12の楽音発生
を制御する。
After processing steps 23 and 24, the program returns to step 22, and the CPU 13b executes steps 22 to 24.
Each process is repeatedly executed to control the musical tone generation of the musical tone generating circuit 12 according to the states of the keyboard 10 and the operator group 11.

c 鍵処理動作 次に鍵処理ルーチンについて詳述すると、
CPU13bは第5図のステツプ30からプログラ
ムの実行を開始し、ステツプ31にて鍵盤10の押
鍵及び離鍵を検出する。このステツプ31の処理に
おいては、CPU13bが鍵スイツチ回路10a
内の各鍵スイツチを低音側又は高音側から順次走
査し、この走査により各鍵スイツチの開閉成の状
態信号を鍵盤10の新鍵状態データとして入力
し、これらの入力データと鍵状態メモリ
KEYMEMに記憶されている旧鍵状態データとを
各鍵毎に各々対比して鍵盤10における押鍵状態
の変化を検出する。すなわち、新鍵状態データが
“1”であり、かつ旧鍵状態データが“0”であ
る場合、CPU13bは鍵盤10にて新たに鍵が
押されたことを検知し、この新鍵状態データ
“1”を鍵状態メモリKEYMEMの新たに押され
た鍵に対応する記憶位置に書込むと共に、同鍵を
表わすキーコードKC及び鍵が新たに押されたこ
とを表わす識別データを押鍵イベントデータとし
てイベントデータレジスタ群EVTRのレジスタ
に書込む。また、新鍵状態データが“0”であり
かつ旧鍵状態データが“1”である場合、CPU
13bは鍵盤10にて新たに鍵が離されたことを
検知し、この新鍵状態データが“0”を鍵状態メ
モリKEYMEMの新たに離された鍵に対応する記
憶位置に書込むと共に、同鍵を表わすキーコード
KC及び鍵が新たに離されたことを表わす識別デ
ータを離鍵イベントデータとしてイベントデータ
レジスタ群EVTRのレジスタに書込む。なお、
上記キーコードKCは上記走査において各鍵に対
応する鍵スイツチを順次指定している走査カウン
タ(図示しない)により決定される。このような
走査により、鍵盤10の全ての鍵の状態検出を終
了すると、前回のステツプ31の実行時から今回の
ステツプ31の実行までに状態が変化した鍵に対応
する押鍵イベントデータまたは離鍵イベントデー
タがイベントデータレジスタ群EVTRに全て記
憶されることになる。
c Key processing operation Next, the key processing routine will be explained in detail.
The CPU 13b starts executing the program from step 30 in FIG. 5, and detects key presses and key releases on the keyboard 10 at step 31. In the process of step 31, the CPU 13b operates the key switch circuit 10a.
Each key switch in the keypad is sequentially scanned from the low end or the high end, and through this scanning, the open/close state signal of each key switch is input as new key state data for the keyboard 10, and these input data and key state memory are stored.
A change in the key press state on the keyboard 10 is detected by comparing each key with the old key state data stored in KEYMEM. That is, when the new key state data is "1" and the old key state data is "0", the CPU 13b detects that a new key has been pressed on the keyboard 10, and the new key state data "1" in the memory location corresponding to the newly pressed key in the key status memory KEYMEM, and also writes the key code KC representing the same key and the identification data representing that the key has been newly pressed as key press event data. Write to the register of event data register group EVTR. Also, if the new key status data is “0” and the old key status data is “1”, the CPU
13b detects that a new key has been released on the keyboard 10, and writes "0" as the new key state data to the memory location corresponding to the newly released key in the key state memory KEYMEM, and Key code representing the key
KC and identification data indicating that the key has been newly released are written to the register of the event data register group EVTR as key release event data. In addition,
The key code KC is determined by a scan counter (not shown) which sequentially specifies the key switch corresponding to each key in the scan. When the state detection of all the keys on the keyboard 10 is completed through such scanning, key press event data or key release data corresponding to the keys whose state has changed from the time of the previous step 31 to the current step 31 is detected. All event data will be stored in the event data register group EVTR.

次に、プログラムはステツプ32,33に進み、
CPU13bはステツプ32,33にてイベントデー
タレジスタ群EVTRの内容により押鍵または離
鍵イベントの発生の有無を判別する。鍵盤10の
各鍵に状態変化がない場合、CPU13bはステ
ツプ32及びステツプ33にて「NO」と判断して、
ステツプ34により鍵処理ルーチンの実行を終了し
て第4図のステツプ23の実行に移る。
The program then proceeds to steps 32 and 33,
In steps 32 and 33, the CPU 13b determines whether a key press or key release event has occurred based on the contents of the event data register group EVTR. If there is no change in the state of each key on the keyboard 10, the CPU 13b determines "NO" 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にて新たな押鍵があつた場合、CPU
13bはステツプ32にて、イベントデータレジス
タ群EVTRに記憶されている押鍵イベントデー
タの存在により「YES」と判別して、プログラ
ムをステツプ35a〜35dから成る押鍵イベントル
ーチンに進める。CPU13bは、ステツプ35aに
てイベントデータレジスタ群EVTRから読出さ
れた1個の押鍵イベントデータ中のキーコード
KCと、このキーコードKCが押鍵に係るものであ
ることを示すキーオンデータKONと、割当てチ
ヤンネル番号レジスタACHNRに記憶された割
当てチヤンネル番号データACHN(初期状態にお
いては「1」)から成る押鍵キーデータを楽音発
生回路12に出力し、楽音発生回路12の同番号
データACHNに対応する楽音発生チヤンネルが
上記キーコードKCにより指定される音高の楽音
信号を発生し始める。このとき、同楽音発生チヤ
ンネルがすでに他の楽音信号を発生中であれば、
この他の楽音信号の発生は停止されて上記指定さ
れる音高の楽音信号の発生を開始する。なお、上
記のように他の楽音信号から新たに指定された音
高の楽音信号への切換えによるクリツク音の発生
を防止するために、他の楽音信号を急速に減衰さ
せた後上記切換えを行うようにするとよい。次に
プログラムはステツプ35bに進み、CPU13bは
ステツプ35bにて上記出力したキーコードKCを
割当てチヤンネル番号データACHNにより指定
されるキーコードレジスタKCR(ACHN)に記
憶させた後、ステツプ35cにて、同番号データ
ACHNにより指定されるチヤンネル状態レジス
タCHSR(ACHN)を全ビツト“0”に設定し、
かつ上記処理を終えた押鍵イベントデータをイベ
ントデータレジスタ群EVTRから消去する。ス
テツプ35cの処理後、CPU13bはステツプ35d
にてチヤンネル状態レジスタCHSR(1),CHSR
(2),……CHSR(N)の内、最上位ビツトMSBが
“0”である全てのチヤンネル状態レジスタ
CHSRのデータに「1」を加算する。これによ
り、押鍵中のチヤンネル状態レジスタCHSRのデ
ータは、その値が小さい程、後に押鍵されたこと
を示すようになる。上記のステツプ35a〜35dの
押鍵イベントルーチンの終了後、CPU13bは
ステツプ40にて後述する「低音域chサーチ」サ
ブルーチンを呼出して低音域に属する楽音を発生
している楽音発生チヤンネルを検出し、ステツプ
50にて後述する「割当てchサーチ」サブルーチ
ンを呼出して次に押される鍵を割当てるべき割当
てチヤンネル番号データACHNを割当てチヤン
ネル番号レジスタACHNRに記憶させて、ステ
ツプ32の処理の実行に移る。ステツプ32にて、
CPU13bは、上記と同様に、再びイベントデ
ータレジスタ群EVTRに記憶されている押鍵イ
ベントデータの有無を調べ、押鍵イベントデータ
が存在する場合には押鍵イベントルーチン35a〜
35dの実行により押鍵キーデータ(KC,KON,
ACHN)を楽音発生回路12に出力し、ステツ
プ40,50の処理を実行する。このステツプ32,
35a〜35d,40,50の循環処理により、ステツプ
35cを通過する毎に出力された押鍵キーデータに
対応する押鍵イベントデータが消去されるので、
新たに押された鍵の押鍵キーデータは全て楽音発
生回路12に出力される。
When a new key is pressed on keyboard 10, the CPU
13b determines "YES" in step 32 based on the presence of key press event data stored in the event data register group EVTR, and advances the program to a key press event routine consisting of steps 35a to 35d. The CPU 13b reads the key code in the one key press event data read from the event data register group EVTR in step 35a.
KC, key-on data KON indicating that this key code KC is related to the key press, and assigned channel number data ACHN (initial state is "1") stored in the assigned channel number register ACHNR. The key data is output to the musical tone generating circuit 12, and the musical tone generating channel corresponding to the same number data ACHN of the musical tone generating circuit 12 starts generating a musical tone signal of the pitch specified by the key code KC. At this time, if the same musical tone generation channel is already generating another musical tone signal,
Generation of other musical tone signals is stopped, and generation of musical tone signals of the specified pitch is started. In addition, in order to prevent the generation of click sounds due to switching from other musical tone signals to musical tone signals with a newly specified pitch as described above, the above switching is performed after rapidly attenuating the other musical tone signals. It is better to do this. Next, the program proceeds to step 35b, where the CPU 13b stores the key code KC outputted above in the key code register KCR (ACHN) specified by the assigned channel number data ACHN, and then stores the key code KC in step 35c. number data
Set all bits of the channel status register CHSR (ACHN) specified by ACHN to “0”,
The key press event data for which the above processing has been completed is then deleted from the event data register group EVTR. After processing step 35c, the CPU 13b performs step 35d.
Channel status register CHSR(1), CHSR
(2),...All channel status registers whose most significant bit MSB is "0" in CHSR (N)
Add “1” to the CHSR data. As a result, the smaller the value of the data in the channel status register CHSR during the key depression, the more it indicates that the key was depressed later. After the key press event routine in steps 35a to 35d described above is completed, the CPU 13b calls a "low range channel search" subroutine, which will be described later, in step 40 to detect a musical sound generating channel that is generating a musical sound belonging to the low range. step
At step 50, an "assigned channel search" subroutine to be described later is called, and assigned channel number data ACHN to which the next key to be pressed is assigned is stored in the assigned channel number register ACHNR, and the process proceeds to step 32. At step 32,
Similarly to the above, the CPU 13b again checks whether there is any key press event data stored in the event data register group EVTR, and if there is key press event data, the CPU 13b performs the key press event routines 35a to 35a.
By executing 35d, the pressed key data (KC, KON,
ACHN) to the musical tone generating circuit 12, and the processes of steps 40 and 50 are executed. This step 32,
By cyclic processing of 35a to 35d, 40, 50, the step
35c is passed, the key press event data corresponding to the output key press key data is erased, so
All the key press key data of the newly pressed key is output to the musical tone generation circuit 12.

一方、上記押鍵キーデータの送出終了後又は鍵
盤10にて新たな押鍵がなく、かつ鍵盤10にて
新たな離鍵があつた場合、イベントデータレジス
タ群EVTRに記憶される押鍵イベントデータの
不存在及び離鍵イベントデータの存在により、
CPU13bはステツプ32にて「NO」、ステツプ
33にて「YES」と判別して、プログラムをステ
ツプ36a〜36dから成る離鍵イベントルーチンに
進める。CPU13bは、ステツプ36aにてイベン
トデータレジスタ群EVTRから読出された1個
の離鍵イベントデータ中のキーコードKCに基づ
いて、キーコードレジスタKCR(1),KCR(2),…
…KCR(N)の中から上記キーコードKCと同じ
キーコードKCを記憶するレジスタKCRを見つけ
出し、そのレジスタに対応する楽音発生チヤンネ
ルの番号を離鍵チヤンネル番号データOFFCHと
して検出し、ステツプ36bにて離鍵チヤンネル番
号データOFFCH及び離鍵されたことを示すキー
オフデータKOFFから成る離鍵キーデータを楽音
発生回路12に出力する。楽音発生回路12は、
離鍵チヤンネル番号データOFFCHが示すチヤン
ネル番号の楽音発生チヤンネルにて発生中の楽音
信号を、キーオフデータKOFFに基づいて、指定
されている音色及びキーコードKCにより決定さ
れる減衰時間で減衰させる。次にプログラムはス
テツプ36c,36dに進み、CPU13bは、ステツ
プ36cにて離鍵チヤンネル番号データOFFCHに
より指定されるチヤンネル状態レジスタCHSR
(OFFCH)を最上位ビツトMSBのみ“1”でか
つ残りの全ビツトを“0”に設定し、かつ上記処
理を終えた離鍵イベントデータをイベントデータ
レジスタ群EVTRから消去した後、ステツプ36d
にてチヤンネル状態レジスタCHSR(1),CHSR
(2),……CHSR(N)の内、最上位ビツトMSBが
“1”でありかつ全ビツト“1”でない全てのチ
ヤンネル状態レジスタCHSRのデータに“1”を
加算する。これにより、離鍵中のチヤンネル状態
レジスタCHSRのデータは、その値が小さい程、
後に離鍵されたことを示すことになる。上記ステ
ツプ36a〜36dの離鍵イベントルーチンの終了後、
CPU13bは上記ステツプ40,50の処理をして
レジスタ32に移る。そして、イベントデータレジ
スタ群EVTR内に離鍵イベントデータが残つて
いる場合には、CPU13bはステツプ32,33,
36a〜36d、40,50のプログラムを実行して新た
な離鍵イベント処理を行い、全ての離鍵イベント
データの処理後、ステツプ34の処理により鍵処理
ルーチンの実行を終了して第4図のステツプ23の
処理の実行に移る。
On the other hand, after the transmission of the pressed key data is completed or when there is no new key pressed on the keyboard 10 and a new key is released on the keyboard 10, the pressed key event data is stored in the event data register group EVTR. Due to the absence of and the presence of key release event data,
CPU13b answered "NO" in step 32,
A determination of ``YES'' is made in step 33, and the program proceeds to a key release event routine consisting of steps 36a to 36d. The CPU 13b sends key code registers KCR(1), KCR(2), . . . based on the key code KC in the key release event data read from the event data register group EVTR in step 36a.
... Finds a register KCR that stores the same key code KC as the above key code KC from KCR(N), detects the number of the musical tone generation channel corresponding to that register as key release channel number data OFFCH, and proceeds to step 36b. Key release key data consisting of key release channel number data OFFCH and key off data KOFF indicating that the key has been released is output to the musical tone generation circuit 12. The musical tone generation circuit 12 is
The musical tone signal being generated in the musical tone generation channel of the channel number indicated by the key release channel number data OFFCH is attenuated by the attenuation time determined by the specified tone and key code KC based on the key off data KOFF. Next, the program proceeds to steps 36c and 36d, and the CPU 13b inputs the channel status register CHSR specified by the key release channel number data OFFCH in step 36c.
After setting the MSB (OFFCH) to "1" and all remaining bits to "0" and deleting the key release event data that has completed the above processing from the event data register group EVTR, step 36d
Channel status register CHSR(1), CHSR
(2), . . . Add "1" to the data of all channel status registers CHSR whose most significant bit MSB is "1" and all bits are not "1". As a result, the smaller the value of the data in the channel status register CHSR while the key is being released, the more
This will later indicate that the key has been released. After completing the key release event routine of steps 36a to 36d above,
The CPU 13b processes steps 40 and 50 and moves to the register 32. Then, if the key release event data remains in the event data register group EVTR, the CPU 13b performs steps 32, 33,
The programs 36a to 36d, 40, and 50 are executed to perform new key release event processing, and after processing all the key release event data, the execution of the key processing routine is finished by the processing in step 34, and the process shown in FIG. The process moves to step 23.

d 低音域チヤンネル検出処理動作 低音域に属する楽音を発生している楽音発生チ
ヤンネルを検出する「低音域chサーチ」サブル
ーチンについて説明すると、CPU13bは第6
図のステツプ41にてプログラムの実行を開始し
て、ステツプ42にてポインタレジスタPRを「0」
に初期設定する。上記初期設定処理後、CPU1
3bはステツプ43にてポインタレジスタPRのデ
ータに「1」を加算してポインタレジスタPRの
データを「1」に設定し、ステツプ44にて、この
ポインタレジスタPRのデータにより指定される
第1楽音発生チヤンネルに対応するキーコードレ
ジスタKCR(1)のキーコードKCが下側境界キーコ
ードLKC以上の値でありかつ上側境界キーコー
ドUKC以下の値であるか否かを判別する。第1
楽音発生チヤンネルが低音域に属する楽音を発生
している場合、CPU13bは、ステツプ44にて
LKC≦KCR(1)≦UKCに基づき「YES」と判断
し、ステツプ45にてチヤンネル状態レジスタ
CHSR(1)のデータを全ビツト“0”に変更して、
プログラムをステツプ46に進める。一方、第1楽
音発生チヤンネルが低音域に属する楽音を発生し
ていない場合(中高音域の楽音を発生し又は楽音
を発生していない場合)、CPU13bは、ステツ
プ44にてKCR(1)>UKCに基づき「NO」と判断
し、プログラムを直接ステツプ46に進める。
CPU13bは、ステツプ46にてポインタレジス
タPRのデータが「N」であるか否かを判断する。
上記の場合、ポインタレジスタPRのデータは
「1」であるので、CPU13bは、ステツプ46に
て「NO」と判断してプログラムをステツプ43に
進め、ステツプ43にてポインタレジスタPRのデ
ータに「1」を加算して同データを「2」にし、
上記ステツプ44,46の処理を実行する。そして、
ステツプ43〜46の循環処理は、ポインタレジスタ
PRのデータが順次「1」ずつ加算されて、同デ
ータが「N」になるまで実行され、同データが
「N」になると、CPU13bはステツプ46にて
「YES」と判断してプログラムをステツプ47に進
めて、このステツプ47にて「低音域chサーチ」
サブルーチンの処理を終了する。なお、このN回
の循環処理により、低音域に属する楽音の発生し
ている楽音発生チヤンネルに対応する全てのチヤ
ンネル状態レジスタCHSRは全ビツト“0”に設
定される。
d Low-frequency channel detection processing operation To explain the "low-frequency channel search" subroutine for detecting a musical sound generation channel that generates musical tones belonging to the low frequency range, the CPU 13b
Program execution starts at step 41 in the figure, and pointer register PR is set to "0" at step 42.
Initialize to . After the above initial setting process, CPU1
3b, in step 43, ``1'' is added to the data in pointer register PR to set the data in pointer register PR to ``1'', and in step 44, the first musical tone specified by the data in pointer register PR is It is determined whether the key code KC of the key code register KCR(1) corresponding to the generation channel is greater than or equal to the lower boundary key code LKC and less than or equal to the upper boundary key code UKC. 1st
If the musical sound generation channel is generating a musical sound belonging to the bass range, the CPU 13b at step 44
Based on LKC≦KCR(1)≦UKC, it is judged as “YES”, and in step 45, the channel status register is set.
Change the CHSR(1) data to all bits “0”,
Proceed the program to step 46. On the other hand, if the first musical sound generation channel is not generating a musical tone belonging to the low range (generating a musical sound in the mid-high range or not generating a musical sound), the CPU 13b selects KCR(1)> in step 44. Based on the UKC, the answer is "NO" and the program proceeds directly to step 46.
At step 46, the CPU 13b determines whether the data in the pointer register PR is "N".
In the above case, since the data in the pointer register PR is "1", the CPU 13b determines "NO" in step 46, advances the program to step 43, and sets the data in the pointer register PR to "1" in step 43. ” is added to make the same data “2”,
Execute the processing in steps 44 and 46 above. and,
The circular processing of steps 43 to 46 uses the pointer register.
The PR data is sequentially incremented by "1" and executed until the same data becomes "N". When the same data becomes "N", the CPU 13b judges "YES" in step 46 and steps the program. Proceed to step 47, and in this step 47 select "Bass range channel search"
Ends subroutine processing. By this N-times cyclic processing, all bits of all the channel status registers CHSR corresponding to the musical sound generation channels in which the musical sounds belonging to the bass range are generated are set to "0".

e 割当てチヤンネル検出処理動作 押された鍵を割当てるべき楽音発生回路12の
楽音発生チヤンネルを決定する「割当てchサー
チ」サブルーチンについて説明すると、CPU1
3bは第7図のステツプ51にてプログラムの実行
を開始して、ステツプ52にてポインタレジスタ
PRのデータを「1」に設定し、ステツプ53にて
このデータ「1」を割当てチヤンネル番号レジス
タACHNRに書込み、かつ同データ「1」によ
り指定されるチヤンネル状態レジスタCHSR(1)の
データを割当てチヤンネル状態レジスタACHDR
に書込んだ後、プログラムをステツプ54に進め
る。CPU13bは、ステツプ54にてポインタレ
ジスタPRのデータに「1」を加算して同データ
を「2」にし、ステツプ55にてこのデータ「2」
により指定されるチヤンネル状態レジスタCHSR
(2)のデータと割当てチヤンネル状態レジスタ
ACHDRに記憶されている割当てチヤンネル状態
データACHDとを比較する。この比較において、
チヤンネル状態レジスタCHSR(2)のデータが割当
てチヤンネル状態データACHDより大きい場合、
CPU13bは「YES」と判断してステツプ56に
てポインタレジスタPRのデータ「2」に割当て
チヤンネル番号レジスタACHNRに書込み、か
つ上記チヤンネル状態レジスタCHSR(2)のデータ
を割当てチヤンネル状態レジスタACHDRに書込
んだ後、プログラムをステツプ57に進める。一
方、チヤンネル状態レジスタCHSR(2)のデータが
割当てチヤンネル状態データACHDより小さい
場合、CPU13bはステツプ55の比較にて
「NO」と判断してプログラムを直接ステツプ57
に進める。ステツプ57にて、CPU13bはポイ
ンタレジスタPRのデータが「N」であるか否か
を判断する。上記の場合、ポインタレジスタPR
のデータは「2」であるので、CPU13bはス
テツプ57にて「NO」と判断して、プログラムを
ステツプ54に進め、ステツプ54にてポインタレジ
スタPRのデータに「1」を加算して同データを
「3」にし、上記ステツプ55〜57の処理を実行す
る。
e Assignment channel detection processing operation To explain the "assignment channel search" subroutine that determines the tone generation channel of the tone generation circuit 12 to which the pressed key is to be assigned, the CPU 1
3b starts execution of the program at step 51 in FIG. 7, and sets the pointer register at step 52.
The PR data is set to "1", and in step 53 this data "1" is written to the assigned channel number register ACHNR, and the data of the channel status register CHSR(1) specified by the data "1" is assigned. Channel status register ACHDR
After writing to , the program advances to step 54. The CPU 13b adds "1" to the data in the pointer register PR in step 54 to make it "2", and in step 55 adds "1" to the data in the pointer register PR.
Channel status register CHSR specified by
(2) Data and allocation channel status register
Compare the assigned channel status data ACHD stored in ACHDR. In this comparison,
If the data in the channel status register CHSR(2) is greater than the allocated channel status data ACHD,
The CPU 13b judges ``YES'' and in step 56 allocates data ``2'' in the pointer register PR and writes it to the channel number register ACHNR, and writes the data in the channel status register CHSR(2) to the assigned channel status register ACHDR. After that, the program advances to step 57. On the other hand, if the data in the channel status register CHSR(2) is smaller than the allocated channel status data ACHD, the CPU 13b determines "NO" in the comparison at step 55 and directly executes the program at step 57.
Proceed to. At step 57, the CPU 13b determines whether the data in the pointer register PR is "N". In the above case, pointer register PR
Since the data in pointer register PR is "2", the CPU 13b determines "NO" in step 57, advances the program to step 54, adds "1" to the data in pointer register PR in step 54, and stores the same data. is set to "3" and the processes of steps 55 to 57 are executed.

そして、ステツプ54〜57の循環処理は、ポイン
タレジスタPRのデータが順次「1」ずつ加算さ
れて、同データが「N」になるまで実行され、同
データが「N」になると、CPU13bはステツ
プ57にて「YES」と判断してプログラムをステ
ツプ57に進め「割当chサーチ」サブルーチンの
処理を終了する。このステツプ54〜57のN−1回
の循環処理により、割当てチヤンネル状態レジス
タACHDRには全チヤンネル状態レジスタCHSR
(1),CHSR(2),……CHSR(N)の各データ中、
最大のデータ値を示すデータが書込まれ、かつ割
当てチヤンネル番号レジスタACHNRには同デ
ータを記憶するチヤンネル状態レジスタCHSRの
チヤンネル番号を示すデータが書込まれる。この
とき、チヤンネル状態レジスタCHSR(1),CHSR
(2),……CHSR(N)は、各々 (1) 楽音発生回路12内の上記各レジスタCHSR
に対応する楽音発生チヤンネルが楽音を発生し
ていない場合、全ビツト“1”のデータを記憶
し、 (2) 同チヤンネルが離鍵後の減衰中の楽音を発生
している場合、最上位ビツトMSBが「1」で
ありかつ残りの複数ビツトが古く離鍵されてい
る程大きな値を示すデータを記憶し、 (3) 同チヤンネルが押鍵中の楽音を発生している
場合、最上位ビツトMSBが「0」でありかつ
残りの複数ビツトが古く押鍵されている程大き
な値を示すデータを記憶し、かつ (4) 同チヤンネルが、低音域に属する楽音を発生
している場合、全ビツト“0”のデータを記憶
している。
The cyclic processing of steps 54 to 57 is executed by sequentially incrementing the data in the pointer register PR by "1" until the same data becomes "N". When the same data becomes "N", the CPU 13b executes If the answer is ``YES'' in step 57, the program proceeds to step 57, and the process of the ``assigned channel search'' subroutine is completed. Through this cyclic processing of steps 54 to 57 N-1 times, the allocated channel status register ACHDR is set to the all channel status register CHSR.
(1), CHSR(2), ...CHSR(N) data,
Data indicating the maximum data value is written, and data indicating the channel number of the channel status register CHSR that stores the same data is written into the assigned channel number register ACHNR. At this time, channel status register CHSR(1), CHSR
(2), ... CHSR (N) are each (1) each of the above registers CHSR in the musical tone generation circuit 12.
(2) If the musical tone generating channel corresponding to the key is not generating a musical tone, the data of all bits "1" is stored; (2) If the same channel is generating a musical tone that is decaying after the key is released, the most significant bit is stored. If the MSB is "1" and the remaining multiple bits are old and the key has been released, data indicating a large value is stored; (3) If the same channel is generating the musical tone that is being pressed, the most significant bit If data is stored in which the MSB is "0" and the remaining multiple bits have a large value the older the key is pressed, and (4) the same channel is generating a musical tone belonging to the bass range, all It stores bit "0" data.

そのため、割当チヤンネル番号レジスタ
ACHNR内の割当てチヤンネル番号データ
ACHNは、 (1) 楽音発生回路12のN個の楽音発生チヤンネ
ル中、楽音を発生していない1個若しくは複数
の楽音発生チヤンネルがある場合には、同チヤ
ンネル中最も小さい番号に相当するチヤンネル
番号を示し (2) 上記N個の全楽音発生チヤンネルが楽音を発
生しており、かつ低音域に属する楽音を発生し
ている楽音発生チヤンネルを除き、離鍵後の楽
音を発生している1個若しくは複数の楽音発生
チヤンネルがある場合には、同チヤンネル中、
最も古く離された鍵の楽音を発生している楽音
発生チヤンネルのチヤンネル番号を示し、 (3) 上記N個の全楽音発生チヤンネルが楽音を発
生しており、かつ低音域に属する楽音を発生し
ている楽音発生チヤンネルを除く全楽音発生チ
ヤンネルが押鍵中の楽音を発生している場合に
は、同チヤンネル中、最も古く押された鍵の楽
音を発生している楽音発生チヤンネルのチヤン
ネル番号を示すことになる。
Therefore, the assigned channel number register
Assigned channel number data in ACHNR
ACHN is: (1) If there is one or more musical sound generation channels that do not generate musical sounds among the N musical sound generation channels of the musical sound generation circuit 12, the channel number corresponding to the lowest number among the channels. (2) All of the above N musical tone generation channels are generating musical tones, and excluding the musical tone generation channels that are generating musical tones belonging to the low range, one channel is generating a musical tone after the key is released. Or, if there are multiple musical sound generation channels, among the same channels,
Indicates the channel number of the musical tone generating channel that is generating the musical tone of the key that was released the earliest, and (3) all of the above N musical tone generating channels are generating musical tones and are generating musical tones belonging to the low range. If all musical sound generation channels except the musical sound generation channel that is currently generating the musical tone that is being pressed, enter the channel number of the musical tone generation channel that is generating the musical tone of the key that was pressed the earliest. It will be shown.

f 発音終了インタラプト処理動作 楽音発生回路12の各楽音発生チヤンネルによ
る楽音発生終了時の動作について説明すると、楽
音発生回路12は、いずれかの楽音発生チヤンネ
ルにて楽音の発生が終了すると、発音終了信号
DF及び発音終了チヤンネルデータDFchをマイク
ロコンピユータ部13に出力する。マイクロコン
ピユータ部13が上記信号DF及びデータDFchを
受け取ると、CPU13bは発音終了信号DFによ
り第4図乃至第7図のプログラムの実行を中断
し、「DFインタラプト」プログラムの実行をステ
ツプ60にて開始してプログラムをステツプ61,62
に進める。
f. Sound generation end interrupt processing operation To explain the operation when the musical sound generation by each musical sound generation channel of the musical sound generation circuit 12 ends, the musical sound generation circuit 12 issues a sound generation end signal when the musical sound generation ends in any musical sound generation channel.
The DF and sound generation end channel data DFch are output to the microcomputer section 13. When the microcomputer section 13 receives the signal DF and the data DFch, the CPU 13b interrupts the execution of the programs shown in FIGS. and program step 61, 62
Proceed to.

CPU13bは、ステツプ61,62にて発音終了
チヤンネルデータDFchが指定するチヤンネル状
態レジスタCHSR(DFch)及びキーコードレジス
タKCR(DFch)の全ビツトに“1”を書込む。
これは、楽音発生を終了した楽音発生チヤンネル
に対応するチヤンネル状態レジスタCHSR及びキ
ーコードレジスタKCRの初期設定に相当する。
ステツプ62の処理後、CPU13bは、ステツプ
63にて上述の「割当てchサーチ」サブルーチン
を呼出して割当てチヤンネルを検出してステツプ
64にて「DFインタラプト」プログラムの実行を
終了して中断したプログラムの実行を続行する。
このステツプ63の処理は、ステツプ61,62の処理
によりデータが書換えられたチヤンネル状態レジ
スタCHSR及びキーコードレジスタKCRに基づ
いて、改めて割当てチヤンネルの更新を行なつて
おくことを意味する。
At steps 61 and 62, the CPU 13b writes "1" to all bits of the channel status register CHSR (DFch) and key code register KCR (DFch) specified by the sound generation end channel data DFch.
This corresponds to the initial setting of the channel status register CHSR and key code register KCR corresponding to the musical tone generation channel that has finished generating musical tones.
After processing step 62, the CPU 13b executes step 62.
In step 63, the above-mentioned "assigned channel search" subroutine is called to detect the assigned channel and step
At step 64, execution of the "DF interrupt" program is terminated and execution of the interrupted program is continued.
The processing in step 63 means that the allocated channels are updated again based on the channel status register CHSR and key code register KCR whose data has been rewritten in the processing in steps 61 and 62.

g 実施例の効果 以上の動作説明からも理解されるように、鍵盤
10にて押鍵があつた場合には、押鍵された鍵デ
ータに基づくステツプ35a〜35dの押鍵処理ルー
チンの実行により、キーコードレジスタKCR(1),
KCR(2),……KCR(N)及びチヤンネル状態レ
ジスタCHSR(1),CHSR(2),……CHSR(N)の
データが書換えられ、鍵盤10にて離鍵があつた
場合には、離鍵された鍵データに基づく、ステツ
プ36a〜36dの離鍵処理ルーチンの実行により、
上記キーコードレジスタKCR及びチヤンネル状
態レジスタCHSRのデータが書換えられる。そし
て、この書換えられたキーコードレジスタKCR
に記憶されているキーコードKCに基づいて、ス
テツプ41〜47からなる「低音域chサーチ」サブ
ルーチンを実行することにより、低音域に属する
楽音を発生中の楽音発生チヤンネルが検出され、
ステツプ51〜58から成る「割当てchサーチ」サ
ブルーチンにて上記低音域に属する楽音を発生中
の楽音発生チヤンネルを除く他の楽音発生チヤン
ネルのうちの一つが割当てチヤンネルとして特定
され、鍵盤10にて新たに鍵が押されたときこの
鍵を上記特定チヤンネルに割当てるようにしたの
で、鍵盤10にて前述したピアノ演奏のように速
い奏法による押鍵がなされても楽音発生回路12
にて発音中の低音域の楽音が消されることなく、
低音域の音を長く発音させたまま高音域の複数の
音を次々に発音させることができる。
g Effects of the Embodiment As can be understood from the above operation explanation, when a key is pressed on the keyboard 10, the key press processing routine of steps 35a to 35d is executed based on the pressed key data. , key code register KCR(1),
When the data in KCR(2),...KCR(N) and channel status registers CHSR(1), CHSR(2),...CHSR(N) are rewritten and the key is released on the keyboard 10, By executing the key release processing routine of steps 36a to 36d based on the released key data,
The data in the key code register KCR and channel status register CHSR are rewritten. And this rewritten key code register KCR
By executing the "low frequency channel search" subroutine consisting of steps 41 to 47 based on the key code KC stored in the key code KC, a musical tone generating channel that is generating musical tones belonging to the low frequency range is detected.
In the "assigned channel search" subroutine consisting of steps 51 to 58, one of the musical tone generation channels other than the one currently generating musical tones in the bass range is specified as the assigned channel, and a new channel is selected on the keyboard 10. When a key is pressed, this key is assigned to the specific channel, so even if a key is pressed on the keyboard 10 in a fast playing style like the piano performance described above, the musical sound generation circuit 12
The low range musical tones being produced are not erased.
Multiple sounds in the high range can be sounded one after another while sounds in the low range are produced for a long time.

h 変形例 上記のように構成した実施例においては、次の
ような変形例が考えられる。
h Modifications In the embodiment configured as described above, the following modifications can be considered.

(1) 上記実施例の割当て処理においては、新たに
押された鍵が低音域に属する楽音を発生中の楽
音発生チヤンネルには割当てられないようにし
たが、これに代えて、新たに押された鍵が高音
域又は中音域に属する楽音を発生している楽音
発生チヤンネルに割当てられないようにしても
よい。この場合、第4図のステツプ21の初期設
定処理において、CPU13bは、鍵盤10の
最も低い鍵を表わすキーコードKC及びこの鍵
から1オクターブ乃至2オクターブ程度高い鍵
を表わすキーコードKCを各々下側境界キーコ
ードレジスタLKCR及び上側境界キーコードレ
ジスタUKCRに書込む代わり、鍵盤10の最
も高い鍵を表わすキーコードKC及びこの鍵か
ら1オクターブ乃至2オクターブ程度低い鍵を
表わすキーコードKCを各々上側境界キーコー
ドレジスタUKCR及び下側境界キーコードレ
ジスタLKCRに書込むようにし、又は鍵盤10
の中間に位置し1オクターブ乃至2オクターブ
程度離れた鍵を各々表わすキーコードを音高順
に各々下側境界キーコードレジスタLKCR及び
上側境界キーコードレジスタUKCR書込むよ
うにすればよい。これにより、第6図のステツ
プ44で比較される音域が高音域又は中音域にな
り、新たに押された鍵がこれらの音域に属する
楽音を発生している楽音発生チヤンネルには割
当てられないようになるので、高音域又は中音
域の楽音の発音を持続させながら残りの音域の
速い押鍵による楽音を次々に発音させることが
可能となる。
(1) In the assignment process of the above embodiment, a newly pressed key is not assigned to a musical tone generation channel that is currently generating a musical tone belonging to the low range. The key may not be assigned to a musical sound generation channel that generates a musical sound belonging to a high range or a medium range. In this case, in the initial setting process of step 21 in FIG. Instead of writing to the boundary key code register LKCR and the upper boundary key code register UKCR, the key code KC representing the highest key on the keyboard 10 and the key code KC representing a key one or two octaves lower than this key are written to the upper boundary key, respectively. Write to code register UKCR and lower boundary key code register LKCR, or key 10
Key codes representing keys located in the middle and separated by about one to two octaves may be written in the lower boundary key code register LKCR and the upper boundary key code register UKCR in pitch order. As a result, the range compared in step 44 of FIG. 6 becomes the high range or the middle range, and the newly pressed key is not assigned to a musical sound generation channel that is generating musical sounds belonging to these ranges. Therefore, while sustaining the sound generation of musical tones in the high or middle range, it is possible to successively generate musical tones in the remaining ranges by rapidly pressing keys.

また、このような特定音域が複数(例えば下
鍵域と上鍵域)設けられるようにしてもよい。
この場合、下側境界キーコードレジスタLKCR
及び上側境界キーコードレジスタUKCRは
各々複数設けられ、CPU13bは上記ステツ
プ21の初期設定にて上記各レジスタに所定のキ
ーコードKCを記憶するようにし、かつ上記ス
テツプ44の比較処理にて各鍵域毎の比較演算を
行なうようにすればよい。これにより、上記と
同様な効果が達成される。
Further, a plurality of such specific sound ranges (for example, a lower key range and an upper key range) may be provided.
In this case, the lower boundary key code register LKCR
A plurality of upper boundary key code registers UKCR are provided, and the CPU 13b stores a predetermined key code KC in each register in the initial setting in step 21, and stores a predetermined key code KC in each register in the comparison process in step 44. What is necessary is to perform a comparison operation for each time. This achieves the same effect as above.

さらに、上記実施例及び変形例では、新たに
押された鍵が特定音域(低音域、中音域、高音
域)に属する楽音を発生中の楽音発生チヤンネ
ルには常に割当てられないようにしたが、この
割当て禁止の制御を行なうか否かをスイツチ等
により演奏者が任意に選択できるようにしても
よい。この場合、CPU13bが、第5図のス
テツプ40の処理を、上記スイツチがオンされて
上記の割当て禁止の制御を行なうことが指示さ
れているときのみ実行し、上記スイツチがオフ
されて上記の割当て禁止の制御が選択されてい
ないときには上記ステツプ40をジヤンプするよ
うにすればよい。
Furthermore, in the above embodiments and modifications, a newly pressed key is not always assigned to a musical sound generation channel that is currently generating a musical sound belonging to a specific range (low range, middle range, treble range). The performer may be able to arbitrarily select whether or not to perform this assignment prohibition control using a switch or the like. In this case, the CPU 13b executes the process of step 40 in FIG. 5 only when the switch is turned on and the above allocation prohibition control is instructed, and when the switch is turned off and the above allocation prohibition control is instructed. If prohibition control is not selected, step 40 may be skipped.

(2) また、上記実施例及び変形例においては、上
記特定音域はROM13aに記憶されたデータ
により決定され、演奏者がこの音域を変更でき
ないが、この音域を演奏者が任意に選択できる
ようにすることもできる。この場合、操作子群
11及び操作子スイツチ回路11aには複数の
音域のいずれかを選択する操作子及びこの操作
子に連動する音域選択スイツチが各々設けら
れ、かつROM13aには上記各音域の下側境
界キーコードLKC及び上側境界キーコード
UKCが各々記憶されており、CPU13bは第
4図のステツプ21,23の処理にて上記操作子の
状態に応じた下側境界キーコードLKC及び上
側境界キーコードUKCを、各々下側境界キー
コードレジスタLKCR及び上側境界キーコード
レジスタUKCに書込むようにするとよい。
(2) In the above embodiments and modifications, the specific range is determined by data stored in the ROM 13a, and the player cannot change this range, but the player can select this range at will. You can also. In this case, the operator group 11 and the operator switch circuit 11a are each provided with an operator for selecting one of a plurality of sound ranges and a range selection switch that is linked to this operator, and the ROM 13a is provided with an operator for selecting one of a plurality of sound ranges, and a ROM 13a is provided with a sound range selection switch that selects one of a plurality of sound ranges. Side boundary key code LKC and upper boundary key code
UKC is stored respectively, and the CPU 13b converts the lower boundary key code LKC and upper boundary key code UKC according to the state of the above-mentioned operator into the lower boundary key code LKC and the lower boundary key code UKC in the processing of steps 21 and 23 in FIG. It is preferable to write to register LKCR and upper boundary key code register UKC.

また、上記特定音域は鍵盤10により指定で
きるようにしてもよい。この場合、操作子群1
1及び操作子スイツチ回路11aには下側及び
上側の各境界設定用操作子及びこれらの各操作
子に連動するスイツチを各々設け、CPU13
bが、第4図のステツプ23にて、上記いずれか
一方のスイツチの閉成を検出したとき、第9図
のフローチヤートに示すプログラムを実行す
る。なお、このプログラムはROM13aに記
憶されているCPU13bは、ステツプ70にて
プログラムの実行を開始して、ステツプ71にて
鍵盤10における押鍵があるか否かを判断す
る。CPU13bは、この判断において、鍵盤
10における押鍵がなければ、このステツプ71
の処理を実行し続け、鍵盤10における押鍵が
あればプログラムをステツプ72に進めて、上記
閉成検出されたスイツチが下側境界設定用スイ
ツチであるか上側境界設定用スイツチであるか
を判別する。この判別において、CPU13b
は、下側境界設定用スイツチが閉成されたこと
を検出すると、スイツチ73にて押鍵中の鍵を表
わすキーコードKCを下側境界キーコードレジ
スタLKCRに書込み、上側境界設定用スイツチ
が閉成されたことを検出すると、ステツプ74に
て押鍵中の鍵を表わすキーコードKCを上側境
界キーコードレジスタUKCRに書込んだ後、
ステツプ75にてこのプログラムの処理を終了す
る。
Further, the specific range may be specified using the keyboard 10. In this case, operator group 1
1 and the operator switch circuit 11a are provided with lower and upper boundary setting operators and switches linked to each of these operators, and the CPU 13
When step 23 of FIG. 4 detects that one of the switches is closed, the program shown in the flowchart of FIG. 9 is executed. The CPU 13b, which has this program stored in the ROM 13a, starts executing the program in step 70, and determines in step 71 whether or not a key is pressed on the keyboard 10. In this judgment, if there is no key pressed on the keyboard 10, the CPU 13b performs step 71.
The process continues, and if a key is pressed on the keyboard 10, the program advances to step 72, and it is determined whether the switch detected to be closed is a lower boundary setting switch or an upper boundary setting switch. do. In this determination, CPU13b
When detecting that the lower boundary setting switch is closed, the switch 73 writes the key code KC representing the key being pressed into the lower boundary key code register LKCR, and the upper boundary setting switch is closed. When it is detected that the key has been pressed, the key code KC representing the key being pressed is written to the upper boundary key code register UKCR in step 74.
At step 75, the processing of this program ends.

これらの変形例によれば、第6図のステツプ
44にて比較される音域が演奏者により設定され
た音域となり、新たに押された鍵がこの設定音
域に属する楽音を発生している楽音発生チヤン
ネルには割当てられないようになるので、演奏
者が任意に選択した音域の楽音を持続させなが
ら残りの音域の速い押鍵による楽音を次々に発
音でき、従来にない演奏効果が期待できる。
According to these variants, the steps in FIG.
The range compared in step 44 is the range set by the performer, and the newly pressed key will not be assigned to the musical sound generation channel that is generating the musical sound belonging to this set range. While sustaining the musical tones in the range arbitrarily selected by the user, the remaining musical tones in the remaining range can be produced one after another by rapidly pressing keys, and unprecedented performance effects can be expected.

(3) また、上記特定音域が、楽音発生回路12に
おいて発生される楽音の音色すなわち操作子群
11において操作された音色選択操作子に応じ
て自動的に設定される変形例について説明する
と、この場合、ROM13aは各音色毎に下側
境界キーコードLKC及び上側境界キーコード
UKCを各々記憶しているとともに、第10図
に示すフローチヤートに対応するプログラムを
記憶している。なお、減衰時間の短いフルー
ト、オーボエ等管楽器系の音色については、特
定音域の楽音を長い間発音し続ける必要はない
ので、上記特定音域を指定する下側境界キーコ
ードLKC及び上側境界キーコードUKCは記憶
されていない。上記のように構成された変形例
においては、CPU13bが、第4図のステツ
プ21及びステツプ23にて、新たな音色選択操作
子の投入を検出すると、ステツプ80からプログ
ラムの実行を開始し、ステツプ81にて新たに投
入された音色選択操作子の種類に応じて選択さ
れた音色が特定音域の指定を必要とするもので
あるか否かを判別する。この判別において、
CPU13bは、「YES」すなわち該音色が特定
音域の指定を必要とするものであると判別する
と、ステツプ82にて該音色に応じた下側境界キ
ーコードLKC及び上側境界キーコードUKCを
ROM13aから読出し、ステツプ83にてこれ
らのキーコードLKC,UKCを各々レジスタ
LKCR,UKCRに書込んだ後、ステツプ85に
てこのプログラムの実行を終了する。また、
CPU13bが、「NO」すなわち選択された音
色が特定音域の指定を必要とするものでないと
判別すると、ステツプ84にて、レジスタ
LKCR,UKCRに全ビツト“1”を書込んだ
後、ステツプ85にてこのプログラムの実行を終
了する。この両キーコードレジスタLKCR,
UKCRへの全ビツト“1”の書込みは、特定
音域を設定しないことを意味する。これによ
り、第6図のステツプ44にて比較される音域が
楽音発生回路12にて発生される音色に応じて
自動的に設定されるようになるので、音色に対
応して設定される減衰時間の長さに応じて適切
な特定音域が設定されることになる。
(3) Also, a modification example in which the specific tone range is automatically set according to the tone of the musical tone generated in the musical tone generating circuit 12, that is, the tone selection operator operated in the operator group 11, will be explained. In this case, ROM13a has a lower boundary key code LKC and an upper boundary key code for each tone.
Each UKC is memorized, and a program corresponding to the flowchart shown in FIG. 10 is also memorized. Note that for wind instrument tones such as flutes and oboes that have short decay times, it is not necessary to continue producing musical tones in a specific range for a long time, so the lower boundary key code LKC and upper boundary key code UKC that specify the above specific range are used. is not remembered. In the modified example configured as described above, when the CPU 13b detects the input of a new timbre selection operator at steps 21 and 23 in FIG. In step 81, it is determined whether the selected timbre requires designation of a specific tone range according to the type of the newly inputted timbre selection operator. In this determination,
If the CPU 13b determines "YES", that is, the tone requires the specification of a specific range, then in step 82 it generates the lower boundary key code LKC and upper boundary key code UKC corresponding to the tone.
Read from ROM13a and register these key codes LKC and UKC in step 83.
After writing to LKCR and UKCR, execution of this program ends at step 85. Also,
If the CPU 13b determines "NO", that is, the selected tone does not require specification of a specific range, the register
After writing all bits "1" to LKCR and UKCR, execution of this program ends at step 85. Both key code registers LKCR,
Writing all bits to UKCR as "1" means that no specific range is set. As a result, the range to be compared in step 44 of FIG. 6 is automatically set according to the tone generated by the musical tone generation circuit 12, so that the decay time is set corresponding to the tone. An appropriate specific range is set depending on the length of the sound.

(4) 前記実施例及び変形例では、第6図の「低音
域chサーチ」サブルーチンにて特定音域に属
する楽音を発生中の楽音発生チヤンネルが検出
され、第7図の「割当てchサーチ」サブルー
チンにて上記「低音域chサーチ」サブルーチ
ンで検出された楽音発生チヤンネルを除く他の
楽音発生チヤンネルのうちの一つが割当てチヤ
ンネルとして指定され、鍵盤10にて新たに押
された鍵が上記指定された割当てチヤンネルに
割当てられるようにしたが、「低音域chサー
チ」サブルーチンにて特定音域に属さない楽音
を発生中の楽音発生チヤンネル又は楽音を発生
していない同チヤンネルを検出するようにし、
「割当てchサーチ」サブルーチンにてこれらの
検出チヤンネルのうち一つを割当てチヤンネル
として指定し、鍵盤10にて新たに押された鍵
を上記指定された割当てチヤンネルに割当てる
ようにしてもよい。この場合、第2図のRAM
13C内に各楽音発生チヤンネルに対応して同
チヤンネルへの新たな押鍵に伴う割当てが許容
されるか否かを示すフラグを記憶するフラグレ
ジスタを設け、「低音域chサーチ」サブルーチ
ンにて、特定音域に属さない楽音を発生中の楽
音発生チヤンネル及び楽音を発生していない楽
音発生チヤンネルに対応した上記フラグを
“1”に設定し、それら以外の楽音発生チヤン
ネルに対応した上記フラグを“0”に設定する
ようにし、「割当てchサーチ」サブルーチンに
て上記フラグが“1”である楽音発生チヤンネ
ルのうちのいずれか一つを割当てチヤンネルと
して指定するようにすればよい。
(4) In the above embodiments and modified examples, a musical sound generation channel that is generating a musical sound belonging to a specific range is detected in the "low range channel search" subroutine shown in FIG. 6, and the "assigned channel search" subroutine shown in FIG. 7 is detected. One of the musical tone generating channels other than the musical tone generating channel detected in the above-mentioned "low range channel search" subroutine is designated as the assigned channel, and the newly pressed key on the keyboard 10 is designated as the above designated channel. However, in the "low range channel search" subroutine, a musical sound generating channel that is generating a musical sound that does not belong to a specific range or a same channel that is not generating a musical sound is detected.
One of these detection channels may be designated as an assignment channel in the "assignment channel search" subroutine, and a newly pressed key on the keyboard 10 may be assigned to the designated assignment channel. In this case, the RAM in Figure 2
13C is provided with a flag register corresponding to each musical sound generation channel to store a flag indicating whether or not assignment to the same channel is permitted in response to a new key press, and in the "low range channel search" subroutine, The above flags corresponding to musical sound generation channels that are generating musical sounds that do not belong to a specific range and musical sound generation channels that are not generating musical sounds are set to "1", and the above flags corresponding to musical sound generation channels other than these are set to "0". ”, and any one of the tone generation channels whose flag is set to “1” is designated as the assigned channel in the “assigned channel search” subroutine.

(5) 上記実施例及び変形例では、楽音発生回路1
2の全楽音発生チヤンネルにて楽音を発生して
おり、かつ減衰中の楽音を発生している楽音発
生チヤンネルが存在する状態において、鍵盤1
0にて新たに押された鍵を、上記特定音域に属
する楽音を発生している楽音発生チヤンネル以
外の減衰中の楽音を発生している楽音発生チヤ
ンネルに割当てる条件として、先行技術で引用
した特公昭59−22238号公報に開示されている
ように最も古く離鍵された楽音を発生している
楽音発生チヤンネル程、割当て優先順位を高く
したが、上記割当条件として同じく先行技術で
引用した特開昭52−25613号公報に開示されて
いるように楽音発生回路12にて発生される楽
音のエンベロープレベル値が小さい程、割当て
優先順位を高くするようにしてもよい。この場
合、CPU13bは、新たな鍵が押されたとき、
楽音発生回路12の上記特定音域に属する楽音
を発生している楽音発生チヤンネル以外の各楽
音発生チヤンネルからエンベロープレベル値を
入力し、この値が最も小さい楽音発生チヤンネ
ルの番号を割当てチヤンネル番号データ
ACHNとして設定した後、同データACHNが
示す楽音発生チヤンネルに新たに押された鍵を
割当てる。
(5) In the above embodiments and modifications, the musical tone generation circuit 1
In a state where musical tones are being generated in all musical tone generating channels of No. 2 and there is a musical tone generating channel that is generating musical tones that are attenuating, the keyboard 1
The characteristic cited in the prior art is used as a condition for assigning the newly pressed key at 0 to a musical sound generation channel that is generating a musical sound that is decaying, other than the musical sound generation channel that is generating a musical sound that belongs to the above-mentioned specific range. As disclosed in Publication No. 59-22238, the musical sound generation channel that generates the musical sound whose key was released earliest is given a higher allocation priority, but as the above allocation condition, the Japanese Patent Application Publication No. 1987-22238, which was also cited in the prior art, As disclosed in Japanese Patent No. 52-25613, the lower the envelope level value of the musical tone generated by the musical tone generating circuit 12, the higher the allocation priority may be. In this case, when a new key is pressed, the CPU 13b
Enter the envelope level value from each musical sound generation channel other than the musical sound generation channel that generates the musical sound belonging to the above-mentioned specific range of the musical sound generation circuit 12, and assign the number of the musical sound generation channel with the smallest value to channel number data.
After setting it as ACHN, the newly pressed key is assigned to the musical sound generation channel indicated by the same data ACHN.

(6) 上記実施例及び変形例では、楽音発生回路1
2の全楽音発生チヤンネルが押鍵中の楽音を発
生している状態において、鍵盤10にて新たな
鍵が押されると、上記特定音域に属する楽音を
発生している楽音発生チヤンネルを除く全楽音
発生チヤンネル中最も古く押された鍵が割当て
られている楽音発生チヤンネルに、上記新たな
鍵を割当てる後優先システムを採用したが、全
楽音発生チヤンネルが押鍵中の楽音を発生して
いる場合には新たに押された鍵の割当てを行わ
ないようにしてもよい。この場合、鍵盤10に
て新たな鍵が押されたとき、各チヤンネル状態
レジスタCHSR(1),CHSR(2),……CHSR(N)
の最上位ビツトMSBが“0”であるか否かを
判別し、“0”であれば新たに押された鍵の楽
音発生チヤンネルへの割当てを禁止するとよ
い。
(6) In the above embodiments and modifications, the musical tone generation circuit 1
When a new key is pressed on the keyboard 10 in a state where all musical sound generation channels No. 2 are generating musical tones that are currently being pressed, all musical sound generation channels other than those generating musical tones belonging to the above-mentioned specific range are generated when a new key is pressed on the keyboard 10. A priority system was adopted after assigning the new key to the musical sound generation channel to which the oldest pressed key among the generation channels was assigned, but if all the musical sound generation channels are generating the musical tone currently being pressed may not assign newly pressed keys. In this case, when a new key is pressed on the keyboard 10, each channel status register CHSR(1), CHSR(2),...CHSR(N)
It is preferable to determine whether or not the most significant bit MSB of the key is "0", and if it is "0", the assignment of the newly pressed key to the tone generation channel is prohibited.

(7) 上記実施例では、この発明に係る電子楽器を
マイクロコンピユータを用いて構成するように
したが、先行技術で引用した特開昭52−25613
号公報及び特公昭59−22238号公報に開示され
ているようにハードロジツク回路により構成し
てもよい。特開昭52−25613号公報に示された
押鍵割当て装置に、この発明を適用する場合、
同公報中第1図のキーコード記憶回路1から出
力されるキーコードKC*の値が下側境界キー
コードLKCと上側境界キーコードUKCとの間
にあることを比較検出するウインドコンパレー
タと、この比較結果に基づいてトランケート制
御回路13に供給されるエンベロープ振幅値G
を変更する変更制御回路を新たに設け、上記ウ
インドコンパレータが上記両キーコードLKC,
UKCとの間の値すなわち上記特定音域に含ま
れるキーコードKC*が割当てられているチヤ
ンネルを検出し、上記変更制御回路が、この検
出チヤンネルにおける楽音の発音が終了してい
ない(回路27から出力される該チヤンネルの
エンベロープ振幅値Gが「0」でない)ことを
条件に、トランケート制御回路13に供給され
る同チヤンネルのエンベロープ振幅値Gを強制
的に大きな値、例えば全ビツト“1”に変更す
るようにすればよい。
(7) In the above embodiment, the electronic musical instrument according to the present invention is constructed using a microcomputer, but the
It may also be constituted by a hard logic circuit as disclosed in Japanese Patent Publication No. 59-22238. When this invention is applied to the key press assignment device disclosed in Japanese Patent Application Laid-Open No. 52-25613,
A window comparator that compares and detects that the value of the key code KC* output from the key code storage circuit 1 shown in Figure 1 of the same publication is between the lower boundary key code LKC and the upper boundary key code UKC; Envelope amplitude value G supplied to the truncate control circuit 13 based on the comparison result
A new change control circuit is installed to change the key code LKC and the window comparator.
UKC, that is, the channel to which the key code KC* included in the specific range is detected, and the change control circuit detects that the tone generation in this detected channel has not been completed (output from circuit 27). The envelope amplitude value G of the channel supplied to the truncate control circuit 13 is forcibly changed to a large value, for example, all bits are "1", on the condition that the envelope amplitude value G of the channel is not "0". Just do it.

また、特公昭59−22238号公報に示された押
鍵割当て装置に、この発明を適用する場合、同
公報中第1図のシフトレジスタ31から出力さ
れるキーコードKC*の値が下側境界キーコー
ドLKCと上側境界キーコードUKCとの間にあ
ることを比較検出するウインドコンパレータ
と、この比較結果に基づいてインバータIN4に
供給される信号NPを制御する制御論理回路と
を新たに設け、上記ウインドコンパレータが両
キーコードLKC,UKCとの間の値すなわち上
記特定音域に含まれるキーコードKC*が割当
てられているチヤンネルを検出し、上記制御論
理回路が、この検出チヤンネルにおける楽音の
発音が終了していないことを条件に、同チヤン
ネルを示す時分割タイミングにおいて上記信号
をNPを“1”にするようにすればよい。
Furthermore, when the present invention is applied to the key press assignment device shown in Japanese Patent Publication No. 59-22238, the value of the key code KC* output from the shift register 31 shown in FIG. A window comparator that compares and detects whether the key code LKC is between the upper boundary key code UKC and a control logic circuit that controls the signal NP supplied to the inverter IN4 based on the comparison result are newly installed, and the above-mentioned The window comparator detects a channel to which a value between both key codes LKC and UKC, that is, a key code KC* included in the above-mentioned specific range, is assigned, and the above-mentioned control logic circuit finishes generating musical tones on this detected channel. Provided that this is not the case, the NP of the above signal may be set to "1" at the time division timing indicating the same channel.

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

第1図は特許請求の範囲に記載した発明の構成
に対応する図、第2図はこの発明が適用される電
子楽器の一実施例を示す概略図、第3A図乃至第
3E図は第2図のマイクロコンピユータ部13内
に設けられたRAM13Cのメモリマツプの一例
を示す図、第4図は第2図のマイクロコンピユー
タ部13で実行されるメインプログラムに対応す
るフローチヤートの一例を示す図、第5図は第4
図のメインプログラム中の鍵処理の詳細プログラ
ムに対応するフローチヤートの一例を示す図、第
6図は「低音域chサーチ」サブルーチンプログ
ラムに対応するフローチヤートの一例を示す図、
第7図は「割当chサーチ」サブルーチンプログ
ラムに対応するフローチヤートの一例を示す図、
第8図は「DFインタラプト」プログラムに対応
するフローチヤートの一例を示す図、第9図及び
第10図は他の実施例に係る「音域設定」プログ
ラムに対応するフローチヤートの一例を示す図で
ある。 符号の説明、10……鍵盤、10a………鍵ス
イツチ回路、11……操作子群、11a……操作
子スイツチ、12……楽音発生回路、13……マ
イクロコンピユータ部。
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. FIG. 4 is a diagram showing an example of a memory map of the RAM 13C provided in the microcomputer section 13 shown in FIG. Figure 5 is the fourth
FIG. 6 is a diagram showing an example of a flowchart corresponding to the detailed key processing program in the main program shown in FIG.
FIG. 7 is a diagram showing an example of a flowchart corresponding to the "assigned channel search" subroutine program;
FIG. 8 is a diagram showing an example of a flowchart corresponding to the "DF interrupt" program, and FIGS. 9 and 10 are diagrams showing an example of a flowchart corresponding to the "range setting" program according to other embodiments. be. Explanation of symbols: 10...keyboard, 10a...key switch circuit, 11...operator group, 11a...operator switch, 12...musical tone generation circuit, 13...microcomputer section.

Claims (1)

【特許請求の範囲】 1 複数の鍵から成る鍵盤と、 前記鍵の数より少ない数の同時最大発音数に相
当する複数の楽音発生チヤンネルを有し、該楽音
発生チヤンネルは各々当該チヤンネルに割当てら
れた鍵に対応する音高の楽音を発生するようにし
てなる楽音発生手段と、 前記鍵盤にて新たに押された鍵を前記複数の楽
音発生チヤンネルのいずれかに割当てる割当て手
段と、 前記複数の楽音発生チヤンネルの全てが楽音を
発生している状態において前記鍵盤にて新たな鍵
が押されたとき、該鍵が割当てられるべき楽音発
生チヤンネルとして、前記複数の楽音発生チヤン
ネルのうち減衰中の楽音を発生している楽音発生
チヤンネルのいずれかを前記割当て手段に指示す
る割当てチヤンネル指示手段とを備えた電子楽器
において、 少なくとも前記減衰中の楽音を発生している楽
音発生チヤンネルのうち所定の音域に属する鍵が
割当てられている楽音発生チヤンネルを検出する
検出手段と、 前記割当てチヤンネル指示手段が前記検出手段
の検出に基づき前記所定の音域に属する鍵が割当
てられている楽音発生チヤンネル以外の楽音発生
チヤンネルを指示するように前記割当てチヤンネ
ル指示手段を制御する制御手段と を設けたことを特徴とする電子楽器。 2 前記検出手段は、所定の音高より低い音域に
属する鍵が割当てられている楽音発生チヤンネル
を検出するものである特許請求の範囲第1項に記
載の電子楽器。 3 前記検出手段は、所定の音高より低い音域に
属する鍵が割当てられている楽音発生チヤンネル
を検出するものであり、 前記楽音発生手段の各楽音発生チヤンネルは低
音域の楽音を高音域の楽音に比べ長い減衰時間で
発生するものである特許請求の範囲第1項に記載
の電子楽器。 4 前記検出手段は、所定の音高より高い音域に
属する鍵が割当てられている楽音発生チヤンネル
を検出するものである特許請求の範囲第1項に記
載の電子楽器。 5 前記検出手段は、所定の第1の音高とこの第
1の音高より高い所定の第2の音高との間の音域
に属する鍵が割当てられている楽音発生チヤンネ
ルを検出するものである特許請求の範囲第1項に
記載の電子楽器。 6 前記検出手段は、固定された音域に属する鍵
が割当てられている楽音発生チヤンネルを検出す
るものである特許請求の範囲第1項に記載の電子
楽器。 7 前記検出手段は、演奏者により設定された音
域に属する鍵が割当てられている楽音発生チヤン
ネルを検出するものである特許請求の範囲第1項
に記載の電子楽器。 8 前記検出手段は、鍵盤にて任意に設定される
音域に属する鍵が割当てられている楽音発生チヤ
ンネルを検出するものである特許請求の範囲第1
項に記載の電子楽器。 9 前記検出手段は、前記楽音発生手段にて発生
される楽音の音色に対応して決定される音域に属
する鍵が割当てられている楽音発生チヤンネルを
検出するものである特許請求の範囲第1項に記載
の電子楽器。
[Scope of Claims] 1. A keyboard comprising a plurality of keys, and a plurality of musical tone generation channels corresponding to a maximum number of simultaneous pronunciations smaller than the number of keys, and each of the musical tone generation channels is assigned to the corresponding channel. a musical tone generating means configured to generate a musical tone of a pitch corresponding to a key pressed; an assigning means for allocating a newly pressed key on the keyboard to one of the plurality of musical tone generation channels; When a new key is pressed on the keyboard in a state where all of the musical sound generation channels are generating musical tones, the musical sound that is decaying among the plurality of musical sound generation channels is selected as the musical sound generation channel to which the key is assigned. and allocation channel instructing means for instructing the allocating means to select one of the musical sound generating channels generating the attenuating musical tone, the electronic musical instrument comprising: at least one of the musical tone generating channels generating the attenuating musical tone in a predetermined range; a detection means for detecting a musical sound generation channel to which a key belonging to the predetermined range is assigned, and a musical sound generation channel other than the musical sound generation channel to which a key belonging to the predetermined range is assigned, based on the detection by the detection means, the assignment channel instructing means an electronic musical instrument, further comprising: control means for controlling the allocation channel instruction means to instruct the allocation channel instruction means. 2. The electronic musical instrument according to claim 1, wherein the detection means detects a musical tone generation channel to which a key belonging to a tone range lower than a predetermined pitch is assigned. 3. The detection means detects a musical sound generation channel to which a key belonging to a range lower than a predetermined pitch is assigned, and each musical sound generation channel of the musical sound generation means converts a musical sound in a low range into a musical sound in a high range. 2. The electronic musical instrument according to claim 1, wherein the electronic musical instrument is generated with a long decay time. 4. The electronic musical instrument according to claim 1, wherein the detection means detects a musical sound generation channel to which a key belonging to a range higher than a predetermined pitch is assigned. 5. The detection means detects a musical sound generation channel to which a key belonging to a range between a predetermined first pitch and a predetermined second pitch higher than the first pitch is assigned. An electronic musical instrument according to claim 1. 6. The electronic musical instrument according to claim 1, wherein the detection means detects a musical sound generation channel to which a key belonging to a fixed range is assigned. 7. The electronic musical instrument according to claim 1, wherein the detecting means detects a musical sound generation channel to which a key belonging to a range set by the player is assigned. 8. The detection means detects a musical sound generation channel to which a key belonging to a range arbitrarily set on a keyboard is assigned.
Electronic musical instruments as described in section. 9. Claim 1, wherein the detection means detects a musical sound generation channel to which a key belonging to a range determined in accordance with the timbre of the musical sound generated by the musical sound generation means is assigned. Electronic musical instruments described in .
JP60163133A 1985-04-24 1985-07-24 Electronic musical instrument Granted JPS6223093A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP60163133A JPS6223093A (en) 1985-07-24 1985-07-24 Electronic musical instrument
DE86105588T DE3688716T2 (en) 1985-04-24 1986-04-23 Electronic musical instrument.
EP86105588A EP0204122B1 (en) 1985-04-24 1986-04-23 Electronic musical instrument
US06/855,610 US4703680A (en) 1985-04-24 1986-04-23 Truncate prioritization system for multi channel electronic music generator
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
JP60163133A JPS6223093A (en) 1985-07-24 1985-07-24 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPS6223093A JPS6223093A (en) 1987-01-31
JPH0127439B2 true JPH0127439B2 (en) 1989-05-29

Family

ID=15767818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60163133A Granted JPS6223093A (en) 1985-04-24 1985-07-24 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPS6223093A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2522761B2 (en) * 1989-11-24 1996-08-07 株式会社河合楽器製作所 Electronic musical instrument channel assignment device
JP2562260B2 (en) * 1992-07-16 1996-12-11 ローランド株式会社 Electronic musical instrument assigner

Also Published As

Publication number Publication date
JPS6223093A (en) 1987-01-31

Similar Documents

Publication Publication Date Title
JP2655905B2 (en) Electronic musical instrument channel assignment device
JPH08202361A (en) Electronic instrument
JP4787258B2 (en) Tone storage device, tone storage method, computer program for storing tone
JPH0127439B2 (en)
JPH04198994A (en) Method for controlling musical tone of electronic musical instrument
US5380949A (en) Key assigner for an electronic musical instrument having multiple tone channels and priority level value data
JPH0127438B2 (en)
JP2936872B2 (en) Music control device
JPH0128397B2 (en)
JP2531317B2 (en) Key press assigning device for electronic musical instruments
JPH0418320B2 (en)
JP2715795B2 (en) Musical sound synthesizer having pronunciation assigning means
JP3646611B2 (en) Music generator
JP2526636B2 (en) Electronic musical instrument
JP2953217B2 (en) Electronic musical instrument
JPS61173297A (en) Electronic musical instrument
JPH0313994A (en) Electronic musical instrument
JP2814479B2 (en) Electronic musical instrument
JPH0746271B2 (en) Music signal generator
JPH0115878B2 (en)
JP3508139B2 (en) Digital signal processor
JPH0631981B2 (en) Automatic rhythm playing device
JP3285986B2 (en) Electronic musical instrument assignment device
JPH0515279B2 (en)
JP4306138B2 (en) Musical sound generator and musical sound generation processing program

Legal Events

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