JPH06100912B2 - Electronic musical instrument - Google Patents
Electronic musical instrumentInfo
- Publication number
- JPH06100912B2 JPH06100912B2 JP60164919A JP16491985A JPH06100912B2 JP H06100912 B2 JPH06100912 B2 JP H06100912B2 JP 60164919 A JP60164919 A JP 60164919A JP 16491985 A JP16491985 A JP 16491985A JP H06100912 B2 JPH06100912 B2 JP H06100912B2
- Authority
- JP
- Japan
- Prior art keywords
- key
- tone
- channel
- data
- key data
- 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 - Lifetime
Links
- 238000003860 storage Methods 0.000 claims description 88
- 238000001514 detection method Methods 0.000 claims description 36
- 101100422768 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) SUL2 gene Proteins 0.000 description 22
- 230000015654 memory Effects 0.000 description 13
- 230000008569 process Effects 0.000 description 13
- 238000000034 method Methods 0.000 description 12
- 101100191136 Arabidopsis thaliana PCMP-A2 gene Proteins 0.000 description 10
- 101100048260 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) UBX2 gene Proteins 0.000 description 10
- 230000002238 attenuated effect Effects 0.000 description 9
- 230000004044 response Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000003111 delayed effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000004043 responsiveness Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000994 depressogenic effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000003936 working memory Effects 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、押鍵検出手段から出力される鍵データをバ
ッファ用のメモリ装置を介して楽音発生手段に供給する
ようにした電子楽器に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument in which key data output from a key depression detecting means is supplied to a tone generating means via a memory device for a buffer.
従来の電子楽器は、例えば特開昭58−65489号公報に示
されるように、鍵盤における押鍵を検出する押鍵検出手
段と、押鍵に応じた楽音を発生する楽音発生手段との間
に、鍵データを記憶する1次メモリ及び2次メモリを備
え、押鍵検出時に押された鍵を表す鍵データを1次メモ
リに記憶し、この記憶時から一定時間後に1次メモリに
記憶されている鍵データを2次メモリに転送記憶し、こ
の2次メモリに記憶された鍵データに基づいて楽音発生
を行うようにしている。そして、楽音発生手段が以前に
押された鍵に関する楽音を発生しているときに、新たな
押鍵があった場合、上記一定時間中に、該発生中の楽音
を減衰させてその音量レベルがほぼ零になった後、新た
な押鍵による楽音を発生させるようにして、新たな押鍵
に基づく楽音に十分なアタック感が付与されるようにし
ている。A conventional electronic musical instrument, as disclosed in, for example, Japanese Patent Application Laid-Open No. 58-65489, is provided between a key-depression detecting means for detecting a key-depression on a keyboard and a tone-generating means for generating a tone corresponding to the key-depression. , A primary memory for storing key data and a secondary memory are provided, key data representing a key pressed at key press detection is stored in the primary memory, and stored in the primary memory after a fixed time from this storage. The stored key data is transferred and stored in the secondary memory, and the musical tone is generated based on the key data stored in the secondary memory. Then, when a new key is pressed while the musical sound generating means is generating a musical sound related to the previously pressed key, the generated musical sound is attenuated and its volume level is reduced during the above-mentioned certain time. After it becomes almost zero, a musical tone is generated by a new key depression so that a sufficient attack feeling is given to the musical tone based on the new key depression.
しかるに、上記従来の電子楽器においては、押鍵に基づ
く鍵データの1次メモリから2次メモリへの転送を、常
に一定時間遅延するので、新たな鍵が押されたとき、以
前の押鍵に基づく楽音発生の終了又は同楽音の音量レベ
ルの低下により、楽音発生手段が新たな押鍵に基づく楽
音を発生できる状態にあっても、同楽音の発生開始は少
くとも押鍵時から上記一定時間遅れることになり、押鍵
に基づく楽音発生の応答性が不必要に悪くなるという問
題がある。しかも、上記一定時間は、新たな鍵が押され
たとき楽音発生手段にて発生中の楽音の音量レベルが高
い状態にある稀な場合を想定して、同楽音の音量レベル
をほぼ零に減衰させるために必要な時間値に設定されて
いるので、新たな鍵が押されたとき、多くの場合、楽音
発生手段にて発生中の楽音を減衰させるために必要な時
間は上記一定時間より短くなる。このように、稀にしか
生じない場合を想定することにより設定した上記一定時
間に基づいて、全ての新たな押鍵による楽音の発生を不
必要に一率に遅らせることは、本来押鍵と同時に楽音を
発生すべき電子楽器の演奏性能上好ましいものではなか
った。However, in the above-mentioned conventional electronic musical instrument, the transfer of the key data based on the key depression from the primary memory to the secondary memory is always delayed for a fixed time. Therefore, when a new key is depressed, the previous key depression is performed. Even if the musical tone generating means is in a state of being able to generate a musical tone based on a new key depression due to the end of the musical tone generation based on the musical tone generation or the volume level of the musical tone is lowered, the musical tone generation starts at least for a certain period of time after the key is depressed. There is a problem that the response of the tone generation based on the key depression becomes unnecessarily deteriorated because of the delay. Moreover, the volume level of the musical tone is attenuated to almost zero during the above-mentioned certain time, assuming a rare case where the volume level of the musical tone being generated by the musical tone generating means is high when a new key is pressed. Since it is set to the time value required to cause it, when a new key is pressed, the time required to attenuate the musical sound being generated by the musical sound generating means is often shorter than the above fixed time. Become. In this way, it is not necessary to delay the generation of musical tones by all new key depressions unnecessarily at the same time based on the fixed time set by assuming a rare occurrence. It was not preferable in terms of performance of an electronic musical instrument that should generate musical tones.
この発明の目的は、押鍵検出手段から楽音発生手段に供
給される鍵データを一次的に記憶するバッファ用のメモ
リ装置を押鍵検出手段と楽音発生手段との間に有する電
子楽器において、上記不必要な楽音発生の遅れをなくす
ことにより、押鍵に基づく楽音発生の応答性を可能な限
り良好にした電子楽器を提供することにある。An object of the present invention is to provide an electronic musical instrument having a memory device for a buffer for temporarily storing key data supplied from the key depression detecting means to the tone generating means between the key depression detecting means and the tone generating means. An object of the present invention is to provide an electronic musical instrument in which the responsiveness of musical tone generation based on key depression is made as good as possible by eliminating unnecessary delay of musical tone generation.
かかる問題の解決にあたり、第1の発明の構成上の特徴
は、複数の鍵からなる鍵盤と、複数の楽音発生チャンネ
ルを有し各楽音発生チャンネルにて鍵盤で押された鍵を
表す鍵データに基づき楽音を発生する楽音発生手段とを
備えた電子楽器において、プログラム処理により、鍵盤
にて新たに押された鍵を検出して同新たに押された鍵を
鍵盤の押離鍵状態に応じて複数の楽音発生チャンネルの
いずれかに割当て、同割当てた楽音発生チャンネルを表
すチャンネルデータ及び同新たに押された鍵を表す鍵デ
ータを出力するマイクロコンピュータと、複数の楽音発
生チャンネルに対応した複数の記憶領域を有し、前記出
力されたチャンネルデータに対応した記憶領域に前記出
力された鍵データを記憶する第1記憶手段と、第1記憶
手段の複数の記憶領域に対応した複数の記憶領域を有
し、同第1記憶手段の各記憶領域に記憶されている鍵デ
ータを対応した記憶領域にそれぞれ取込み記憶し同取込
み記憶した各鍵データを各記憶領域毎に前記楽音発生手
段の複数の楽音発生チャンネルにそれぞれ供給する第2
記憶手段と、楽音発生手段の各楽音発生チャンネルにて
発生される各楽音の音量レベルをそれぞれ検出するレベ
ル検出手段と、レベル検出手段により各楽音発生チャン
ネルの音量レベルが所定レベル以下になったことがそれ
ぞれ検出されたとき、第2記憶手段の同各楽音発生チャ
ンネルに対応した各記憶領域への鍵データの前記取込み
記憶をそれぞれ許容する制御手段とを設けたことにあ
る。In solving such a problem, the structural feature of the first invention is that a key consisting of a plurality of keys and key data representing a key pressed by the keyboard in each tone generation channel having a plurality of tone generation channels. In an electronic musical instrument equipped with a musical tone generating means for generating musical tones based on the program processing, a newly pressed key is detected by the program processing, and the newly pressed key is detected in accordance with the pressed state of the keyboard. A microcomputer that assigns to any of a plurality of tone generation channels and outputs channel data representing the assigned tone generation channel and key data representing the newly pressed key, and a plurality of microcomputers corresponding to the plurality of tone generation channels. A first storage unit having a storage area for storing the output key data in a storage area corresponding to the output channel data; and a plurality of storages of the first storage unit. A plurality of storage areas corresponding to the respective areas, and the key data stored in the respective storage areas of the first storage means are respectively fetched and stored in the corresponding storage areas, and the respective fetched and stored key data are stored in the respective storage areas. Secondly, each is supplied to a plurality of tone generation channels of the tone generation means.
The storage means, the level detection means for detecting the volume level of each tone generated by each tone generation channel of the tone generation means, and that the volume level of each tone generation channel falls below a predetermined level by the level detection means. And the control means for permitting the fetching and storing of the key data in the respective storage areas corresponding to the respective tone generating channels of the second storage means.
また、第2の発明の構成上の特徴は、前記第1の発明の
第1記憶手段、第2記憶手段及び制御手段に代えて、複
数の楽音発生チャンネルに対応した複数の記憶領域をそ
れぞれ有し、前記出力されたチャンネルデータに対応し
た記憶領域に前記出力された鍵データを新たな鍵が押さ
れる毎に交互に記憶する第1記憶手段及び第2記憶手段
と、第1記憶手段の各記憶領域又は第2記憶手段の対応
する各記憶領域のいずれか各一方に記憶されている鍵デ
ータを各記憶領域毎に楽音発生手段の同各記憶領域に対
応した各楽音発生チャンネルに選択的に供給する選択手
段と、レベル検出手段により各楽音発生チャンネルの音
量レベルが所定レベル以下になったことがそれぞれ検出
されたとき、第1記憶手段の同各楽音発生チャンネルに
対応した各記憶領域又は第2記憶手段の対応する各記憶
領域から楽音発生手段の対応する各楽音発生チャンネル
への鍵データの選択手段による選択的供給を切換える制
御手段とを設けたことにある。A structural feature of the second invention is that it has a plurality of storage areas corresponding to a plurality of tone generation channels, respectively, in place of the first storage means, the second storage means and the control means of the first invention. Each of the first storage means and the second storage means for alternately storing the output key data in the storage area corresponding to the output channel data each time a new key is pressed, and the first storage means. The key data stored in either one of the storage areas or the corresponding storage areas of the second storage means is selectively applied to each tone generation channel corresponding to each storage area of the tone generation means for each storage area. When the selection means to be supplied and the level detection means detect that the volume level of each tone generation channel has become lower than a predetermined level, each storage area of the first storage means corresponding to each tone generation channel. Or in the provision and control means for switching the selective supply by corresponding selection means of the key data to each tone generating channel of the tone generator from each storage area corresponding to the second storage means.
上記のように構成した第1の発明においては、鍵盤にて
新たな鍵が押された場合、マイクロコンピュータは、プ
ログラム処理により、この新たに押された鍵に関する押
鍵検出処理及びチャンネル割当て処理を行って、割当て
チャンネルを表すチャンネルデータ及び同新たに押され
た鍵を表す鍵データを出力し、第1記憶手段が前記出力
されたチャンネルデータに対応した記憶領域に前記出力
された鍵データを記憶する。一方、レベル検出手段は、
楽音発生手段の各楽音発生チャンネルにて第2記憶手段
の各記憶領域から供給される鍵データに基づき発生され
ている各楽音の音量レベルをそれぞれ検出しており、制
御手段が、各楽音発生チャンネルの音量レベルが所定レ
ベル以下であることを条件に、第1記憶手段の同楽音発
生チャンネルに対応した記憶領域内の鍵データを第2記
憶手段の対応した記憶領域へ取込むことを許容する。し
たがって、楽音発生手段が前記割当てチャンネルにて以
前の楽音の発生を終了していれば、新たな押鍵に基づく
楽音は押鍵検出とほぼ同時に発生し、また楽音発生手段
が前記割当てチャンネルにて以前の押鍵に基づく楽音を
発生中であれば、新たな押鍵に基づく楽音は発生中の楽
音が減衰してその音量レベルが所定の小さな値以下にな
った後、即座に発生を開始する。したがって、アタック
感の充分に付与された新たな押鍵に基づく楽音が押鍵か
ら不必要に遅れることなく発生される。これにより、楽
音のアタック感を損なうことなく、押鍵に対する楽音発
生の応答性が良好になり、電子楽器の演奏性能が向上す
る。また、この第1の発明によれば、マイクロコンピュ
ータは、楽音発生手段、第1記憶手段、第2記憶手段、
レベル検出手段及び制御手段とは無関係に、鍵盤との関
連においてのみ押鍵検出処理及び押鍵割当て処理を行え
ばよく、各楽音のエンベロープ情報を入力したり、前記
各手段との同期を取ったりする必要がなくなるので、マ
イクロコンピュータ周辺の回路構成を簡単にできると同
時に、プログラム処理を簡素化できる。さらに、マイク
ロコンピュータは、チャンネルデータ及び鍵データの出
力後には楽音の発生開始まで割当て処理を遅延させる必
要がなく、他の処理を行うことができるので同コンピュ
ータが有効に利用される。In the first aspect of the invention configured as described above, when a new key is pressed on the keyboard, the microcomputer performs a key press detection process and a channel assignment process for the newly pressed key by a program process. Then, the channel data representing the assigned channel and the key data representing the newly pressed key are output, and the first storage means stores the output key data in a storage area corresponding to the output channel data. To do. On the other hand, the level detection means
The tone level of each tone generated by each tone generation channel of the tone generation unit is detected based on the key data supplied from each storage area of the second storage unit, and the control unit detects each tone generation channel. The key data in the storage area corresponding to the same tone generation channel of the first storage means is permitted to be taken into the corresponding storage area of the second storage means, provided that the volume level of is equal to or lower than the predetermined level. Therefore, if the musical tone generating means has finished generating the previous musical tone in the assigned channel, the musical tone based on the new key depression is generated almost simultaneously with the key depression detection, and the musical tone generating means is generated in the assigned channel. If a musical tone based on the previous key depression is being generated, the musical tone based on the new key depression will immediately begin to occur after the musical tone being generated is attenuated and the volume level has dropped below a predetermined small value. . Therefore, a musical tone based on a new key depression with a sufficient attack feeling is generated without being unnecessarily delayed from the key depression. As a result, the responsiveness of the tone generation to the key depression is improved without impairing the attack feeling of the tone, and the performance of the electronic musical instrument is improved. Further, according to the first aspect of the present invention, the microcomputer includes the tone generation means, the first storage means, the second storage means,
Regardless of the level detection means and the control means, it is sufficient to perform the key depression detection processing and the key depression assignment processing only in relation to the keyboard, to input the envelope information of each musical tone, and to synchronize with the respective means. Therefore, the circuit configuration around the microcomputer can be simplified and the program processing can be simplified. Furthermore, the microcomputer does not need to delay the allocation process until the start of the generation of the musical tone after the output of the channel data and the key data, and can perform other processes, so that the computer is effectively used.
また、上記のように構成した第2発明においては、マイ
クロコンピュータから出力された鍵データは、同コンピ
ュータから出力されたチャンネルデータにより指定され
る第1及び第2記憶手段の各記憶領域に新たな鍵が押さ
れる毎に交互に記憶される。そして、第1記憶手段の各
記憶領域又は第2記憶手段の対応する各記憶領域のいず
れか各一方に記憶されている鍵データは選択手段により
各記憶領域毎に楽音発生手段の同各記憶領域に対応した
各楽音発生チャンネルに供給され、楽音発生手段は各楽
音発生チャンネルにて供給された鍵データに基づく楽音
を発生する。一方、レベル検出手段は、楽音発生手段の
各楽音発生チャンネルにて第2記憶手段の各記憶領域か
ら供給される鍵データに基づき発生されている各楽音の
音量レベルをそれぞれ検出しており、制御手段が、各楽
音発生チャンネルの音量レベルが所定レベル以下になっ
たとき、第1記憶手段の同楽音発生チャンネルに対応し
た各記憶領域又は第2記憶手段の対応する各記憶領域か
ら楽音発生手段の対応する各楽音発生チャンネルへの鍵
データの選択手段による選択的供給を切換える。したが
って、新たな押鍵時に、第1記憶手段(又は第2記憶手
段)の一つの記憶領域に記憶されている前の押鍵に関す
る鍵データに基づく楽音の発生が終了していれば、その
終了時点で選択手段が第2記憶手段(又は第1記憶手
段)の対応する領域に記憶される新たな押鍵に関する鍵
データを楽音発生手段に供給するように切り換えられる
ので、新たな押鍵に基づく楽音は押鍵検出とほぼ同時に
発生を開始する。また、新たな押鍵時に、第1記憶手段
(又は第2記憶手段)の一つの記憶領域に記憶されてい
る前の押鍵に関する鍵データに基づく楽音が発生中であ
れば、発生中の楽音が減衰してその楽音レベルが所定レ
ベル以下になった時点で、第2記憶手段(又は第1記憶
手段)の対応する領域に記憶された新たな押鍵に関する
鍵データを楽音発生手段に供給するように切り換えられ
て、新たな押鍵に基づく楽音が前記時点で発生を開始す
る。これにより、前記第1発明と同様、楽音のアタック
感を損なうことなく、押鍵に対する楽音発生の応答性が
良好になり、電子楽器の演奏性能が向上する。また、こ
の第2の発明においても、マイクロコンピュータは、楽
音発生手段、第1記憶手段、第2記憶手段、レベル検出
手段及び制御手段とは非同期かつ無関係に、鍵盤との関
連においてのみ押鍵検出処理及び押鍵割当て処理を行え
ばよくかつチャンネルデータ及び鍵データの出力後には
楽音の発生開始まで割当て処理を遅延させる必要がない
ので、マイクロコンピュータ周辺の回路構成を簡単にで
きると同時に、プログラム処理を簡素化でき、さらに同
コンピュータが他の処理のために有効に利用される。In the second aspect of the invention configured as described above, the key data output from the microcomputer is newly stored in each storage area of the first and second storage means specified by the channel data output from the computer. Each time a key is pressed, it is stored alternately. The key data stored in either one of the storage areas of the first storage means or the corresponding storage area of the second storage means is stored in the storage area of the tone generation means for each storage area by the selection means. Is supplied to each musical tone generating channel, and the musical tone generating means generates a musical tone based on the key data supplied to each musical tone generating channel. On the other hand, the level detecting means detects the volume level of each tone generated based on the key data supplied from each storage area of the second storing means in each tone generating channel of the tone generating means, and controls When the volume level of each tone generation channel becomes equal to or lower than a predetermined level, the means outputs the tone generation means from each storage area corresponding to the tone generation channel of the first storage means or each storage area corresponding to the second storage means. The selective supply of the key data to the corresponding tone generation channels by the selection means is switched. Therefore, at the time of a new key depression, if the generation of the musical tone based on the key data relating to the previous key depression stored in one storage area of the first storage means (or the second storage means) has ended, the end thereof. At this point, the selecting means is switched so as to supply the key sound data relating to the new key depression stored in the corresponding area of the second memory means (or the first memory means) to the musical tone generating means. The musical sound starts to be generated almost at the same time as the key depression detection. Further, when a new key is pressed, if a musical tone based on the key data relating to the previous key depression stored in one storage area of the first storage unit (or the second storage unit) is being generated, the musical tone being generated is generated. Is attenuated and the musical tone level becomes equal to or lower than a predetermined level, the key data relating to the new key depression stored in the corresponding area of the second storing means (or the first storing means) is supplied to the musical tone generating means. The musical tone based on the new key depression starts to be generated at the time point. As a result, similarly to the first aspect of the present invention, the responsiveness of the musical tone generation to the key depression is improved without impairing the attack feeling of the musical tone, and the performance of the electronic musical instrument is improved. Also in the second aspect of the invention, the microcomputer detects the key depression only in relation to the keyboard, asynchronously and independently of the tone generating means, the first storing means, the second storing means, the level detecting means and the controlling means. Since it is sufficient to perform the processing and the key-press assignment processing and there is no need to delay the assignment processing after the channel data and the key data are output until the generation of the musical tone, the circuit configuration around the microcomputer can be simplified and the program processing can be performed at the same time. Can be simplified and the computer can be effectively used for other processing.
a.第1の実施例 以下、この発明の第1実施例を図面を用いて説明する
と、第1図はこの発明に係る電子楽器の一実施例をブロ
ック図により示している。この電子楽器は、複数の鍵か
らなる鍵盤10と、音色、効果等を選択する複数の操作子
からなる操作子群11と、鍵盤10及び操作子群11の状態を
検出して鍵データ及び操作子データを出力するマイクロ
コンピュータ部12と、出力された上記データを一時的に
記憶するバッファメモリ装置20と、バッファメモリ装置
20から供給される上記データに基づいて楽音を発生する
鍵の数より少ないN個の楽音発生チャンネルを有する楽
音発生手段40と、楽音発生手段40にて発生される楽音の
音量レベルを検出するレベル検出器50を備えている。a. First Embodiment Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows a block diagram of an embodiment of an electronic musical instrument according to the present invention. This electronic musical instrument includes a keyboard 10 made up of a plurality of keys, an operator group 11 made up of a plurality of operators for selecting a tone color, an effect, etc., key data and operation performed by detecting the states of the keyboard 10 and the operator group 11. Microcomputer unit 12 that outputs child data, buffer memory device 20 that temporarily stores the output data, and buffer memory device
A tone generating means 40 having N tone generating channels less than the number of keys for generating a tone based on the data supplied from 20 and a level for detecting the volume level of the tone generated by the tone generating means 40. A detector 50 is provided.
鍵盤10は、発生すべき楽音の高音を指定するための複数
の鍵を有し、各鍵の押鍵に応じて鍵スイッチ回路10a内
の各鍵に対応して設けられた鍵スイッチを各々閉成す
る。鍵スイッチ回路10aは、アドレスバス13およびデー
タバス14に接続されており、マイクロコンピュータ部12
からアドレスバス13を介して供給される鍵状態検出用制
御信号に応じて、各鍵の状態を表す鍵状態信号をデータ
バス14を介してマイクロコンピュータ部12に供給する。
操作子群11の音色、効果等を選択するための各操作子
は、その操作により操作子スイッチ回路11a内の各操作
子に対応して設けられた操作子スイッチを各々開閉成す
る。操作子スイッチ回路11aは、アドレスバス13及びデ
ータバス14に接続されており、マイクロコンピュータ部
12からアドレスバス13を介して供給される操作子状態検
出用制御信号に応じて、各操作子の状態を表す操作子状
態信号をデータバス14を介してマイクロコンピュータ部
12に供給する。The keyboard 10 has a plurality of keys for designating the high notes of the musical tones to be generated, and closes the key switches provided corresponding to each key in the key switch circuit 10a in response to the pressing of each key. To achieve. The key switch circuit 10a is connected to the address bus 13 and the data bus 14, and is connected to the microcomputer unit 12
A key state signal representing the state of each key is supplied to the microcomputer section 12 via the data bus 14 in response to a key state detection control signal supplied from the address bus 13.
Each operator for selecting the tone color, effect, etc. of the operator group 11 opens and closes an operator switch provided corresponding to each operator in the operator switch circuit 11a by its operation. The operator switch circuit 11a is connected to the address bus 13 and the data bus 14, and the microcomputer unit
In response to a control signal for detecting the operating element state supplied from 12 via the address bus 13, an operating element state signal representing the state of each operating element is sent via the data bus 14 to the microcomputer section.
Supply to 12.
マイクロコンピュータ部12は、第3図及び第4図に示す
フローチャートに対応したプログラムを記憶する読出し
専用メモリ(以下単にROMという)12aと、このプログラ
ムを実行する中央処理装置(以下単にCPUという)12b
と、このプログラムを実行するのに必要な後述する各種
データを一時的に記憶してワーキングメモリとしての役
目を果す書込み可能メモリ(以下単にRAMという)12cと
を備えており、これらROM12a、CPU12b及びRAM12cは各々
アドレスバス13及びデータバス14に接続されている。ま
た、このRAM12cは、第2図に示すように、楽音発生手段
40のN個の楽音発生チャンネルに対応して各楽音発生チ
ャンネルに割当てられた鍵を表す鍵データKDを記憶する
割当て鍵データレジスタ領域と、鍵盤10の押鍵検出処
理、操作子群11の操作検出処理等に利用するためのその
他のレジスタ領域とに区分されている。この鍵データKD
は、押鍵又は離鍵を表す1ビットのキーオンデータKOと
鍵名を表す複数ビットのキーコードKCにより構成されて
おり、キーオンデータKOはその値が“1"のとき該鍵デー
タKDが押鍵に関するものであることを示し、かつその値
が“0"のとき該鍵データKDが離鍵に関するものであるこ
とを示す。このように構成したマイクロコンピュータ部
12は、電源の投入に伴って開始される第3図及び第4図
のプログラムの実行により、鍵盤10の鍵状態及び操作子
群11の操作子状態を鑑視し、これらの状態に応じて処理
された鍵データKD、鍵データKDの割当てチャンネルを示
すチャンネル番号データCHD及び操作子データTCDを各々
データバス14を介してバッファメモリ装置20に出力する
と同時に、これらの各データを出力したことを示す制御
信号CTRLをアドレスバス13を介してバッファメモリ装置
20に出力する。The microcomputer unit 12 includes a read-only memory (hereinafter simply referred to as ROM) 12a for storing a program corresponding to the flowcharts shown in FIGS. 3 and 4, and a central processing unit (hereinafter simply referred to as CPU) 12b for executing the program.
And a writable memory (hereinafter simply referred to as RAM) 12c that temporarily stores various data described below necessary for executing this program and serves as a working memory. These ROM 12a, CPU 12b, and The RAM 12c is connected to the address bus 13 and the data bus 14, respectively. Further, this RAM 12c, as shown in FIG.
An assigned key data register area for storing key data KD representing keys assigned to each tone generation channel corresponding to 40 N tone generation channels, key press detection processing of the keyboard 10, and operation of the operator group 11. It is divided into other register areas for use in detection processing and the like. This key data KD
Is composed of 1-bit key-on data KO representing a key press or key release and a multi-bit key code KC representing a key name. When the value of the key-on data KO is “1”, the key data KD is pressed. The key data KD indicates that the key data KD is related to the key release when the value is “0”. Microcomputer unit configured in this way
The 12 observes the key state of the keyboard 10 and the operator states of the operator group 11 by executing the programs shown in FIGS. 3 and 4 which are started when the power is turned on, and depending on these states. The processed key data KD, the channel number data CHD indicating the assigned channel of the key data KD, and the operator data TCD are output to the buffer memory device 20 via the data bus 14, respectively, and at the same time, the output of each of these data is confirmed. Control signal CTRL indicating via address bus 13 buffer memory device
Output to 20.
バッファメモリ装置20は、データバス14に接続されてマ
イクロコンピュータ部12から出力される鍵データKD、チ
ャンネルデータCHD及び操作子データTCDをその出力時に
各々記憶する鍵データレジスタ21、チャンネルレジスタ
22及び操作子データレジスタ23を備えており、これらの
各レジスタ21,22,23の制御入力にはデコーダ24の各出力
信号が各々供給されている。デコーダ24は、アドレスバ
ス13に接続されて、上記各データKD,CHD,TCDの出力と同
時にマイクロコンピュータ部12から各々出力される制御
信号CTRLをデコードして各レジスタ21,22,23の記憶動作
を制御する。鍵データレジスタ21の出力端はセレクタ25
の一方の入力端に接続され、同レジスタ21から出力され
た鍵データKDは、セレクタ25の制御端子25aに接続した
比較器26から出力される制御信号LD1がハイレベル“1"
にあるとき、セレクタ25を介して、楽音発生手段40の楽
音発生チャンネル数Nに等しいNステージのシフトレジ
スタ27に入力される。また、シフトレジスタ27の出力端
はセレクタ25の他方の入力端に接続されており、クロッ
クパルスφによりシフトレジスタ27内を順次後段にシフ
トされた鍵データKDは、制御信号LD1がローレベル“0"
にあるとき、セレクタ25を介してシフトレジスタ27に帰
還され、この状態にて該鍵データKDがシフトレジスタ27
に鍵データKD1として循環記憶されるようになってい
る。一方、チャンネルレジスタ22の出力端は比較器26の
一方の入力端に接続されており、比較器26は、このチャ
ンネルレジスタ22の出力値CHDと、その他方の入力端に
接続されたチャンネルカウンタ28の出力値とを比較し、
比較結果が一致した時点で制御信号LD1をハイレベル
“1"にする。このチャンネルカウンタ28はシフトレジス
タ27と同期してそのカウンタ値をクロックパルスφに従
って更新する楽音発生チャンネルNに等しいモジュロN
のカウンタであり、上記制御信号LD1をハイレベ“1"に
することは、マイクロコンピュータ部12からチャンネル
データCHDとともに出力された鍵データKDをシフトレジ
スタ27の該当チャンネルに更新記憶することを意味す
る。The buffer memory device 20 is connected to the data bus 14 and stores the key data KD, the channel data CHD and the operator data TCD output from the microcomputer unit 12 at the time of output, the key data register 21 and the channel register, respectively.
22 and a manipulator data register 23 are provided, and the output signals of the decoder 24 are supplied to the control inputs of these registers 21, 22, 23, respectively. The decoder 24 is connected to the address bus 13 and decodes the control signal CTRL output from the microcomputer unit 12 simultaneously with the output of the respective data KD, CHD, TCD to store the registers 21, 22, 23. To control. The output end of the key data register 21 is the selector 25.
The key data KD connected to one of the input terminals of the register 21 is the control signal LD1 output from the comparator 26 connected to the control terminal 25a of the selector 25 at the high level “1”.
, The number is input to the shift register 27 of N stages equal to the number N of tone generation channels of the tone generation means 40 via the selector 25. The output end of the shift register 27 is connected to the other input end of the selector 25, and the key data KD sequentially shifted to the subsequent stage in the shift register 27 by the clock pulse φ has the control signal LD1 of low level “0”. "
Is fed back to the shift register 27 via the selector 25, and in this state the key data KD is shifted to the shift register 27.
The key data KD1 is circularly stored in the. On the other hand, the output terminal of the channel register 22 is connected to one input terminal of the comparator 26, and the comparator 26 outputs the output value CHD of this channel register 22 and the channel counter 28 connected to the other input terminal. Compare the output value of
The control signal LD1 is set to the high level “1” when the comparison results match. This channel counter 28 is modulo N equal to the tone generating channel N which updates its counter value in synchronization with the shift register 27 in accordance with the clock pulse φ.
And setting the control signal LD1 to high level "1" means that the key data KD output together with the channel data CHD from the microcomputer unit 12 is updated and stored in the corresponding channel of the shift register 27.
また、シフトレジスタ27の出力端はセレクタ29の一方の
入力端に接続され、シフトレジスタ27から出力された鍵
データKD1は、セレクタ29の制御端子29aに接続したアン
ドゲート30から出力される制御信号LD2がローレベル
“0"にあるとき、セレクタ29を介してシフトレジスタ27
と同一構成のシフトレジスタ31に入力される。また、シ
フトレジスタ31の出力端はセレクタ20の他方の入力端に
接続されており、クロックパルスφによりシフトレジス
タ31内を順次後段にシフトされた鍵データKD1は、制御
信号LD2がハイレベル“1"にあるときセレクタ29を介し
てシフトレジスタ31に帰還され、この状態にて該鍵デー
タKD1がシフトレジスタ31に鍵データKD2として循環記憶
されるようになっている。アンドゲート30にはシフトレ
ジスタ27から出力される鍵データKD1中のキーオンデー
タ(キーオン信号)KO1及びレベル検出器50から出力さ
れるレベル検出信号LVLが入力されており、これらの両
信号KO1,LVLがともにハイレベル“1"にあるとき、シフ
トレジスタ31による鍵データKD2の循環記憶を許容し、
いずれかの一方の信号がローレベル“0"にあるとき、シ
フトレジスタ27からシフトレジスタ31への鍵データKD1
の転送を許容する。The output end of the shift register 27 is connected to one input end of the selector 29, and the key data KD1 output from the shift register 27 is a control signal output from the AND gate 30 connected to the control terminal 29a of the selector 29. When LD2 is at low level “0”, shift register 27 goes through selector 29.
Is input to the shift register 31 having the same configuration as. The output end of the shift register 31 is connected to the other input end of the selector 20, and the key data KD1 sequentially shifted to the subsequent stage in the shift register 31 by the clock pulse φ has the control signal LD2 at the high level “1”. When it is ", it is fed back to the shift register 31 via the selector 29, and in this state, the key data KD1 is circularly stored in the shift register 31 as the key data KD2. To the AND gate 30, the key-on data (key-on signal) KO1 in the key data KD1 output from the shift register 27 and the level detection signal LVL output from the level detector 50 are input. Both of these signals KO1, LVL When both are at the high level “1”, the circular storage of the key data KD2 by the shift register 31 is allowed,
When one of the signals is at the low level “0”, the key data KD1 from the shift register 27 to the shift register 31
Allow the transfer of.
また、上記両信号KO1,LVLはアンドゲート32にも入力さ
れ、このアンドゲート32は、さらに、シフトレジスタ31
から出力される鍵データKD2中のキーオンデータ(キー
オン信号)KO2をインバータ33により反転した反転キー
オン信号▲▼を入力し、全ての入力信号KO1,LVL,
▲▼がハイレベル“1"にあるとき、楽音発生手段
40にハイレベル“1"のフォーシングダンプ信号FDを供給
している。Further, both the signals KO1 and LVL are also input to the AND gate 32, and the AND gate 32 further includes the shift register 31.
Input the inverted key-on signal ▲ ▼ obtained by inverting the key-on data (key-on signal) KO2 in the key data KD2 output from the inverter 33, and input all the input signals KO1, LVL,
When ▲ ▼ is at high level "1"
40 is supplied with a high level "1" forcing dump signal FD.
楽音発生手段40は、シフトレジスタ31から供給される鍵
データKD2のうちのキーコードKC2に基づき指定される音
高周波数の楽音信号を形成出力する音源回路41と、キー
オン信号KO2及びフォーシングダンプ信号FDに基づき楽
音信号に付与するエンベロープ信号を形成出力するエン
ベロープ回路42とを備えている。これらの音源回路41及
びエンベロープ回路42は、例えば各々楽音信号形成及び
エンベロープ信号形成のためのN個の時分割チャンネル
を有し、これらの時分割チャンネルによって楽音発生手
段40の楽音発生チャンネルが構成されている。なお、こ
の時分割チャンネルからなる楽音発生チャンネルは、シ
フトレジスタ27,31及びチャンネルカウンタ28に同期し
クロックパルスφに基づき動作している。そして、音源
回路41からの楽音信号及びエンベロープ回路42からのエ
ンベロープ信号は乗算器43に供給され、この乗算器43が
両信号を乗算することによりエンベロープの付加された
楽音信号が形成される。このエンベロープの付加された
楽音信号は、ディジタルアナログ変換器(DAC)44によ
りアナログ信号に変換された後、アンプ及びスピーカ等
からなるサウンドシステム45に供され楽音として発音さ
れる。また、音源回路41及びエンベロープ回路42には操
作子データレジスタ23から操作子データがTCD供給され
ており、この操作子データTCDにより音源回路41で形成
される楽音信号の音色及びエンベロープ回路42で形成さ
れるエンベロープの形状等が決定される。The musical tone generating means 40 includes a tone generator circuit 41 that forms and outputs a musical tone signal of a pitch frequency specified based on the key code KC2 of the key data KD2 supplied from the shift register 31, a key-on signal KO2 and a forcing dump signal. An envelope circuit 42 that forms and outputs an envelope signal to be added to a musical tone signal based on FD. The tone generator circuit 41 and the envelope circuit 42 have, for example, N time-division channels for forming a tone signal and an envelope signal, respectively, and these tone-division channels constitute the tone generation channels of the tone generation means 40. ing. The tone generation channel, which is a time-division channel, operates in synchronization with the shift registers 27 and 31 and the channel counter 28 based on the clock pulse φ. Then, the tone signal from the tone generator circuit 41 and the envelope signal from the envelope circuit 42 are supplied to a multiplier 43, and the multiplier 43 multiplies both signals to form a tone signal with an envelope added. The envelope-added musical tone signal is converted into an analog signal by a digital-analog converter (DAC) 44, and then supplied to a sound system 45 including an amplifier and a speaker to be sounded as a musical tone. Further, manipulator data is supplied from the manipulator data register 23 to the tone generator circuit 41 and the envelope circuit 42 by TCD, and the tone color of the tone signal formed by the tone generator circuit 41 and the envelope circuit 42 are formed by the manipulator data TCD. The shape of the envelope to be processed is determined.
レベル検出器50は、エンベロープ回路42から出力される
エンベロープ信号のレベル値が所定の小さな値以下(例
えばほぼ零レベル)になったことを検出するもので、エ
ンベロープ信号のレベル値が所定の小さな値以下のとき
ローレベル“0"のレベル検出信号LVLを出力し、エンベ
ロープ信号のレベル値が所定の小さな値より大きいとき
ハイレベル“1"のレベル検出信号LVLを出力する。The level detector 50 detects that the level value of the envelope signal output from the envelope circuit 42 has become a predetermined small value or less (for example, almost zero level), and the level value of the envelope signal is a predetermined small value. The level detection signal LVL of low level "0" is output in the following cases, and the level detection signal LVL of high level "1" is output when the level value of the envelope signal is larger than a predetermined small value.
上記のように構成した実施例の動作を、第3図及び第4
図に示したフローチャートを混じえて説明すると、電源
スイッチの投入により、CPU12bは、第3図のステップ10
0からプログラムの実行を開始して、ステップ101にて、
その詳細が第4図に示された「鍵スイッチ処理」ルーチ
ンの処理を行う。CPU12bは、ステップ110から「鍵スイ
ッチ処理」ルーチンの処理を開始して、ステップ111に
て、鍵スイッチ回路10a内の各鍵スイッチを低音側又は
高音側から順次走査し、この走査により鍵スイッチ回路
10aから供給される鍵状態信号に基づいて鍵盤10におけ
る新たな押鍵又は離鍵を検出する。そして、新たな押鍵
又は離鍵が検出された場合には、CPU12bは、同ステップ
111にて、新たな押鍵又は離鍵に係る鍵データKDを押鍵
イベントデータ又は離鍵イベントデータとしてRAM12cの
その他のレジスタ領域の所定領域に蓄積記憶し、全鍵ス
イッチの走査を終了した時点でプログラムをステップ11
2に進める。なお、蓄積記憶される鍵データKDのキーコ
ードKCは上記走査において各鍵スイッチを走査している
走査カウンタ(図示しない)により決定される。The operation of the embodiment configured as described above will be described with reference to FIGS.
Explaining with the flowchart shown in the figure together, when the power switch is turned on, the CPU 12b causes the step 10 of FIG.
Start executing the program from 0, and in step 101,
The details are the processing of the "key switch processing" routine shown in FIG. The CPU 12b starts the processing of the "key switch processing" routine from step 110, and sequentially scans each key switch in the key switch circuit 10a from the low tone side or the high tone side in step 111, and this scan causes the key switch circuit to be scanned.
A new key press or key release on the keyboard 10 is detected based on the key status signal supplied from 10a. When a new key press or key release is detected, the CPU 12b executes the same step.
At 111, when key data KD related to a new key press or key release is accumulated and stored as a key press event data or key release event data in a predetermined area of the other register area of the RAM 12c, scanning of all key switches is completed. Step through the program in 11
Proceed to 2. The key code KC of the stored and stored key data KD is determined by a scanning counter (not shown) scanning each key switch in the above scanning.
次に、CPU12bは、ステップ112,113にて、鍵盤10におい
て新たな押鍵又は離鍵がなされたかを、上記所定領域の
記憶内容により判断する。すなわち、鍵盤10において新
たな押鍵及び離鍵がなかった場合、上記所定領域には押
鍵イベントデータ及び離鍵イベントデータが記憶されて
いないので、CPU12bは、ステップ112及びステップ113に
て「NO」と判別し、プログラムをステップ114に進めて
「鍵スイッチ処理」ルーチンの処理を終了する。Next, in steps 112 and 113, the CPU 12b determines whether or not a new key depression or key release has been performed on the keyboard 10 based on the stored contents of the predetermined area. That is, when there is no new key depression and key release on the keyboard 10, the key depression event data and the key release event data are not stored in the above-mentioned predetermined area, and therefore the CPU 12b returns “NO” at step 112 and step 113. ", The program proceeds to step 114, and the process of the" key switch process "routine ends.
また、鍵盤10において新たな押鍵があった場合、CPU12b
は、ステップ112にて「YES」すなわち押鍵イベントデー
タ有りと判定し、ステップ115にて、上記所定領域に押
鍵イベントデータとして記憶した鍵データKDを読出し、
この鍵データKDにより示された鍵を、全楽音発生チャン
ネル中最も古く離鍵状態にされた楽音発生チャンネルに
割当てた後、この鍵データKDを割当て鍵データレジスタ
領域の割当て楽音発生チャンネルに対応したレジスタに
記憶するとともに、この鍵データKDに関する上記押鍵イ
ベントデータを消去する。そして、CPU12bはステップ11
6にて、この鍵データKD及びこの割当て楽音発生チャン
ネルの番号を示すチャンネルデータCHDをデータバス14
を介してバッファメモリ装置20に順次出力するととも
に、これらのデータKD,CHDの出力に同期してこれらのデ
ータKD,CHDが出力されたことを表す制御信号CTRLをアド
レスバス13を介してデコーダ24に出力する。なお、この
場合の鍵データKD中のキーオンデータKOは“1"であり、
キーコードKCは押鍵名を表している。このステップ116
の処理後、CPU12bは、ステップ112の処理の実行に移
り、上記所定領域に記憶された押鍵イベントデータがな
くなるまで、ステップ112,115,116の循環処理を続けて
鍵盤10における全ての新たな押鍵に関する鍵データKD及
びチャンネルデータCHDをバッファメモリ装置20に出力
する。そして、上記押鍵イベントデータがなくなると、
CPU12bは、ステップ112にて「NO」と判定し、プログラ
ムをステップ113に進め、鍵盤10における新たな離鍵が
なければ、ステップ113にて「NO」すなわち離鍵イベン
トデータ無しと判定して、ステップ114にて「鍵スイッ
チ処理」ルーチンの処理を終了する。If a new key is pressed on keyboard 10, CPU12b
In step 112, “YES”, that is, it is determined that there is key depression event data, and in step 115, the key data KD stored as key depression event data in the predetermined area is read,
After assigning the key indicated by this key data KD to the tone generation channel that has been released the oldest among all tone generation channels, this key data KD is assigned to the assigned tone generation channel in the assigned key data register area. The key press event data relating to this key data KD is erased while being stored in the register. Then, the CPU 12b executes step 11
At 6, the key data KD and the channel data CHD indicating the assigned tone generation channel number are sent to the data bus 14
To the buffer memory device 20 sequentially via the address bus 13 and a control signal CTRL indicating that these data KD, CHD are output in synchronization with the output of these data KD, CHD. Output to. The key-on data KO in the key data KD in this case is “1”,
The key code KC represents a key depression name. This Step 116
After that, the CPU 12b proceeds to execute the process of step 112, and continues the circulation process of steps 112, 115, and 116 until all the key-pressing keys on the keyboard 10 are lost until there is no key-pressing event data stored in the predetermined area. The data KD and the channel data CHD are output to the buffer memory device 20. When the key depression event data disappears,
The CPU 12b determines "NO" in step 112, advances the program to step 113, and if there is no new key release on the keyboard 10, determines "NO" in step 113, that is, no key release event data, At step 114, the process of the "key switch process" routine is completed.
また、鍵盤10において新たな離鍵があった場合、CPU12b
は、ステップ113にて「YES」すなわち離鍵イベントデー
タ有りと判定し、ステップ117にて上記所定領域に離鍵
イベントデータとして記憶した鍵データKDを読出し、割
当て鍵データレジスタ領域の中からこの読出した鍵デー
タKDと同一キーコードを記憶するレジスタを探し、この
レジスタのキーオンデータKOを“0"に変更するととも
に、この鍵データKDに関する上記離鍵イベントデータを
消去する。そして、CPU12bは、ステップ118にてこの鍵
データKD及び上記レジスタに対応する楽音発生チャンネ
ルの番号を示すチャンネルデータCHDを制御信号CTRLと
共にバス14,13を介してバッファメモリ装置20に順次出
力する。なお、この場合の鍵データKD中のキーオンデー
タKOは“0"であり、キーコードKCは離鍵名を表してい
る。このステップ118の処理後、CPU12bは、ステップ112
の処理の実行に移り、上記所定領域に記憶された離鍵イ
ベントデータがなくなるまで、ステップ112,113,117,11
8の循環処理を実行し続けて鍵盤10における全ての新た
な離鍵に関する鍵データKD及びチャンネルデータCHDを
バッファメモリ装置20に出力する。そして、上記離鍵イ
ベントデータがなくなると、CPU12bは、ステップ113に
て「NO」と判定し、プログラムをステップ114に進め、
「鍵スイッチ処理」ルーチンの処理を終了する。If there is a new key release on keyboard 10, CPU12b
Is YES in step 113, that is, it is determined that there is key release event data, and in step 117 the key data KD stored as the key release event data in the predetermined area is read out and read out from the assigned key data register area. The key-on data KO of this register is searched for a register that stores the same key code as the key data KD, and the above key-release event data related to this key data KD is erased. Then, in step 118, the CPU 12b sequentially outputs the key data KD and the channel data CHD indicating the number of the tone generating channel corresponding to the above register to the buffer memory device 20 via the buses 14 and 13 together with the control signal CTRL. The key-on data KO in the key data KD in this case is “0”, and the key code KC represents the key release name. After the processing of step 118, the CPU 12b proceeds to step 112.
The process proceeds to step 112, 113, 117, 11 until the key release event data stored in the predetermined area is exhausted.
The cyclic processing of 8 is continuously executed, and the key data KD and the channel data CHD related to all the new key release on the keyboard 10 are output to the buffer memory device 20. Then, when there is no key release event data, the CPU 12b determines "NO" in step 113, and advances the program to step 114,
The processing of the "key switch processing" routine is ended.
上記のような「鍵スイッチ処理」ルーチンの処理を終了
すると、CPU12bは第3図のステップ102にて「操作子ス
イッチ処理」ルーチンの処理に移る。このステップ102
にて、CPU12bは、操作子スイッチ回路11a内の各操作子
スイッチを順次走査し、この走査により操作子スイッチ
回路11aから供給される操作子状態信号に基づいて操作
子群11の各操作子の状態変化を検出し、この検出に伴う
操作子データTCDをデータバス14を介してバッファメモ
リ装置20に出力するとともに、このデータTCDの出力に
同期して、このデータTCDが出力されたことを表す制御
信号CTRLをアドレスバス13を介してデコーダ24に出力す
る。そして、このステップ102の処理後、CPU12bは、ス
テップ101の処理に移り、以降上記ステップ101,102の循
環処理を続け、マイクロコンピュータ部12は上記のよう
に鍵盤10及び操作子群11の状態変化に応じて鍵データK
D、チャンネルデータCKD、操作子データTCD及び制御信
号CTRLをバッファメモリ装置20に出力する。When the processing of the "key switch processing" routine as described above is completed, the CPU 12b proceeds to the "operator switch processing" routine processing in step 102 of FIG. This step 102
At that, the CPU 12b sequentially scans each operator switch in the operator switch circuit 11a, and based on the operator state signal supplied from the operator switch circuit 11a by this scanning, each operator of the operator group 11 A state change is detected, and manipulator data TCD associated with this detection is output to the buffer memory device 20 via the data bus 14, and this data TCD is output in synchronization with the output of this data TCD. The control signal CTRL is output to the decoder 24 via the address bus 13. Then, after the processing of step 102, the CPU 12b proceeds to the processing of step 101 and thereafter continues the circulation processing of the steps 101 and 102, and the microcomputer unit 12 responds to the state change of the keyboard 10 and the operator group 11 as described above. Key data K
The D, channel data CKD, operator data TCD, and control signal CTRL are output to the buffer memory device 20.
このように、マイクロコンピュータ部12から出力された
各データKD,CHD,TCDは、それと同時にデコーダ24に出力
される制御信号CTRLに基づき、各々鍵データレジスタ2
1、チャンネルレジスタ22及び操作子データレジスタ23
に記憶される。チャンネルレジスタ22に記憶されたチャ
ンネルデータCHDは比較器26にてチャンネルカウンタ28
のカウンタ値と比較され、このカウンタ値が順次変更さ
れてチャンネルデータCHDの値と一致すると、比較器26
は制御信号LD1をハイレベル“1"にする。これにより、
セレクタ25は鍵データレジスタ21に記憶された鍵データ
KDを選択してシフトレジスタ27に供給して、シフトレジ
スタ27が鍵データKDを鍵データKD1として循環記憶する
ので、鍵データKDはチャンネルデータCHDにより指定さ
れた番号の楽音発生チャンネルに対応する時分割チャン
ネルに鍵データKD1として記憶されることになる。As described above, the respective data KD, CHD, TCD output from the microcomputer unit 12 are respectively supplied to the key data register 2 based on the control signal CTRL output to the decoder 24 at the same time.
1, channel register 22 and operator data register 23
Memorized in. The channel data CHD stored in the channel register 22 is transferred to the channel counter 28 in the comparator 26.
When the counter value is sequentially changed to match the channel data CHD value, the comparator 26
Sets the control signal LD1 to high level "1". This allows
The selector 25 is the key data stored in the key data register 21.
KD is selected and supplied to the shift register 27, and the shift register 27 cyclically stores the key data KD as the key data KD1, so that the key data KD corresponds to the tone generation channel of the number designated by the channel data CHD. It will be stored as key data KD1 in the divided channels.
次に、シフトレジスタ27に記憶された鍵データKD1に応
じて楽音発生手段40が制御される動作について、第5図
のタイムチャートを参照して説明する。同図のタイミン
グt1,t3にて示されるように、新たな押鍵があったと
き、この押鍵に関する鍵が新たに割当てられた楽音発生
チャンネルにおいてそれまで割当てられていた離された
鍵に関する楽音が所定の小さな音量レベル以下に減衰し
ている場合、当該チャンネルタイミングにおいてシフト
レジスタ27から出力されるキーオン信号KO1はハイレベ
ル“1"であり、かつレベル検出器50から出力されるレベ
ル検出信号LVLはローレベル“0"である。そのため、ア
ンドゲート30から出力される制御信号LD2はローレベル
“0"となり、シフトレベスタ27から出力される当該チャ
ンネルに新たに割当てられた鍵を表す鍵データKD1は、
即座にセレクタ29を介してシフトレジスタ31に鍵データ
KD2として記憶される。この記憶された鍵データKD2に基
き、音源回路41はキーコードKC2に応じた音高周波数の
楽音信号を出力し、エンベロープ回路42はキーオン信号
KO2の立上りと共に第5図に示すようなエンベロープ信
号を出力するので、楽音発生手段40は当該チャンネルに
おいて新たに押された鍵に対応する楽音の発生を開始す
る。なお、このとき、キーオン信号KO2はハイレベル
“1"であるので、アンドゲート32の出力はローレベル
“0"となってフォーシングダンプ信号FDはローレベル
“0"にある。Next, the operation of controlling the musical sound generating means 40 according to the key data KD1 stored in the shift register 27 will be described with reference to the time chart of FIG. As shown by timings t1 and t3 in the figure, when a new key is pressed, the key related to this key is the tone related to the released key that was previously assigned in the tone generation channel that is newly assigned. Is attenuated below a predetermined small volume level, the key-on signal KO1 output from the shift register 27 at the channel timing is high level “1” and the level detection signal LVL output from the level detector 50. Is low level "0". Therefore, the control signal LD2 output from the AND gate 30 becomes the low level “0”, and the key data KD1 representing the key newly assigned to the channel output from the shift leveler 27 is
Immediately through the selector 29, the key data to the shift register 31
It is stored as KD2. Based on the stored key data KD2, the tone generator circuit 41 outputs a tone signal having a pitch frequency corresponding to the key code KC2, and the envelope circuit 42 outputs a key-on signal.
Since the envelope signal as shown in FIG. 5 is output at the rise of KO2, the musical tone generating means 40 starts generating a musical tone corresponding to the newly pressed key in the channel. At this time, since the key-on signal KO2 is at the high level "1", the output of the AND gate 32 is at the low level "0" and the forcing dump signal FD is at the low level "0".
また、第5図のタイミングt5で示されるように、新たな
押鍵があったとき、この押鍵に関する鍵が割当てられた
楽音発生チャンネルにおいてそれまで割当てられていた
離された鍵に関する楽音がディケイ中で充分に減衰して
いない場合、当該チャンネルタイミングにおいてシフト
レジスタ27から出力される当該チャンネルのキーオン信
号KO1はハイレベル“1"であり、かつレベル検出器50か
ら出力されるレベル検出信号LVLもハイレベル“1"であ
る。そのため、アンゲート30から出力される当該チャン
ネルの制御信号LD2はハイレベル“1"となるので、セレ
クタ29はシフトレジスタ31の出力を選択し、シフトレジ
スタ27から出力される当該チャンネルの新たな鍵データ
KD1はシフトレジスタ31には転送されない。一方、この
とき、シフトレジスタ31から出力されている当該チャン
ネルの前の鍵データKD2のキーオンデータKO2は“0"であ
るので、反転キーオン信号▲▼はハイレベル“1"
となり、アンドゲート32はハイレベル“1"のフォーシン
グダンプ信号FDを出力する。このフォーシングダンプ信
号FDに基づき、エンベロープ回路42には、第5図のタイ
ミングt5で示すように、当該チャンネルのエンベロープ
信号を急速に減衰させる。これにより、楽音発生手段40
は当該チャンネルにそれまで割当てられていた離された
鍵に関する楽音を急速に減衰させる。Further, as shown at timing t5 in FIG. 5, when a new key is pressed, the tone related to the released key that has been assigned until then is decayed in the tone generation channel to which the key related to this key is assigned. When the channel is not sufficiently attenuated, the key-on signal KO1 of the channel output from the shift register 27 at the channel timing is high level “1” and the level detection signal LVL output from the level detector 50 is also high. High level “1”. Therefore, the control signal LD2 of the channel output from the ungate 30 becomes the high level “1”, so the selector 29 selects the output of the shift register 31 and the new key data of the channel output from the shift register 27.
KD1 is not transferred to the shift register 31. On the other hand, at this time, since the key-on data KO2 of the key data KD2 before the channel output from the shift register 31 is “0”, the inverted key-on signal ▲ ▼ is high level “1”.
Then, the AND gate 32 outputs the high level "1" forcing dump signal FD. Based on the forcing dump signal FD, the envelope circuit 42 rapidly attenuates the envelope signal of the channel as shown at timing t5 in FIG. As a result, the musical sound generating means 40
Rapidly attenuates the tones associated with the released keys previously assigned to that channel.
そして、この急速な減衰により、当該チャンネルの楽音
が所定の音量レベル以下になると、レベル検出器50から
出力されるレベル検出信号LVLはローレベル“0"となっ
て、アンドゲート32はフォーシングダンプ信号FDをロー
レベル“0"にする。また、このとき、アンドゲート30か
ら出力される制御信号LD2はローレベル“0"となって、
セレクタ29はシフトレジスタ27に記憶されている当該チ
ャンネルに新たに割当てられた鍵に関する鍵データKD1
のシフトレジスタ31への転送を許容する、これにより、
シフトレジスタ31は新たな押鍵に伴う鍵データKD1を第
5図のタイミングt6で鍵データKD2として記憶するよう
になり、このタイミングt6にて楽音発生手段40による楽
音の発生が開始される。このように、前の楽音の音量レ
ベルが充分に低くなった後、新たな押鍵に関する楽音の
発生を許容するようにしたので、この楽音に充分なアタ
ック感が付与される。When the tone of the channel falls below a predetermined volume level due to this rapid attenuation, the level detection signal LVL output from the level detector 50 becomes low level “0”, and the AND gate 32 causes the forcing dump. Set the signal FD to low level “0”. At this time, the control signal LD2 output from the AND gate 30 becomes low level “0”,
The selector 29 stores the key data KD1 stored in the shift register 27 and related to the key newly assigned to the channel.
Allows the transfer to the shift register 31 of
The shift register 31 comes to store the key data KD1 associated with a new key depression as the key data KD2 at the timing t6 in FIG. 5, and at this timing t6, the generation of the musical sound by the musical sound generating means 40 is started. As described above, after the volume level of the previous musical sound becomes sufficiently low, the generation of the musical sound related to the new key depression is allowed, so that a sufficient attack feeling is given to this musical sound.
また、ある楽音発生チャンネルに割当てられていた鍵が
第5図のタイミングt2,t4,t7にて離された場合、シフト
レジスタ27に記憶されかつ出力される当該チャンネルの
キーオン信号KO1はローレベル“0"である。そのため、
当該チャンネルタイミングにおいてアンドゲート30から
出力される制御信号LD2はローレベル“0"であり、離鍵
を表す鍵データKD1は即座にセレクタ29を介してシフト
レジスタ31に鍵データKD2として記憶される。この記憶
された鍵データKD2に基づき、音源回路41は離鍵前と同
じキーコードKC2に応じた音高周波数の楽音信号を出力
し続けるが、エンベロープ回路42はキーオン信号KO2の
ハイレベル“1"からローレベル“0"への変化に対応し
て、第5図に示すように、ゆっくり減衰するエンベロー
プ信号を出力する。これにより、楽音発生手段40は当該
チャンネルにおいてゆっくり減衰する楽音を発生する。
なお、このとき、シフトレジスタ27から出力されるキー
オン信号KO1はローレベル“0"にあるので、フォーシン
グダンプ信号FDはローレベル“0"にある。When the key assigned to a certain tone generation channel is released at the timings t2, t4, t7 in FIG. 5, the key-on signal KO1 of the channel stored and output in the shift register 27 is at the low level " It is 0 ". for that reason,
At the channel timing, the control signal LD2 output from the AND gate 30 is low level "0", and the key data KD1 representing the key release is immediately stored in the shift register 31 as the key data KD2 via the selector 29. Based on the stored key data KD2, the tone generator circuit 41 continues to output the tone signal of the pitch frequency corresponding to the same key code KC2 as before the key release, but the envelope circuit 42 outputs the high level "1" of the key-on signal KO2. In response to the change from LOW level to "0", as shown in FIG. 5, an envelope signal that slowly attenuates is output. As a result, the musical sound generating means 40 generates a musical sound that attenuates slowly in the channel.
At this time, since the key-on signal KO1 output from the shift register 27 is at the low level "0", the forcing dump signal FD is at the low level "0".
以上のような動作説明でも理解できる通り、マイクロコ
ンピュータ部12は、鍵盤10にて新たに押された鍵又は離
された鍵を検出して該鍵の楽音発生チャンネルへの割当
て制御を行なった後、楽音発生手段40が該鍵の楽音を即
座に発生できる状態になくても、同鍵に関する鍵データ
KDをバッファメモリ装置20に出力すれば、出力された鍵
データKDは一旦シフトレジスタ27に全て蓄積記憶される
ので、マイクロコンピュータ部12は、同鍵データKDの出
力後、操作子スイッチ状態の検出等他の処理を行なうこ
とができてマイクロコンピュータ部12は有効に活用され
る。また、シフトレジスタ27に記憶された鍵データKD1
は、レベル検出器50により検出される楽音の音量レベル
が所定の小さな値以下にあることを条件に、シフトレジ
スタ31に転送されて楽音発生手段40による楽音の発生を
制御するので、新たに発生される楽音には充分なアタッ
ク感が付与され、しかも楽音の発生が押鍵から不必要に
遅れることがなくなる。これにより、押鍵に対する楽音
発生の応答性が良好となり、電子楽器の演奏性能が向上
する。As can be understood from the above description of the operation, the microcomputer unit 12 detects a newly pressed key or a released key on the keyboard 10 and controls the assignment of the key to the tone generation channel. , Key data relating to the key even if the tone generating means 40 is not ready to immediately generate the tone of the key.
If KD is output to the buffer memory device 20, all the output key data KD is once stored and stored in the shift register 27. Therefore, the microcomputer unit 12 detects the operation switch state after the output of the key data KD. Other processes such as the above can be performed and the microcomputer unit 12 can be effectively utilized. In addition, the key data KD1 stored in the shift register 27
Is transferred to the shift register 31 and controls the generation of the musical sound by the musical sound generating means 40 on the condition that the volume level of the musical sound detected by the level detector 50 is below a predetermined small value. A sufficient attack feeling is imparted to the played musical sound, and the generation of the musical sound is not delayed unnecessarily from the key depression. As a result, the responsiveness of the tone generation to the key depression is improved, and the performance of the electronic musical instrument is improved.
b.第2の実施例 次に、この発明の第2の実施例について図面を用いて説
明すると、第6図は第1図のバッファメモリ装置20の一
部を変更したバッファメモリ装置60をブロック図により
示している。なお、この第2の実施例の残りの部分は第
1図に示したものと同じである。また、このバッファメ
モリ装置60において、鍵データレジスタ21、チャンネル
レジスタ22、操作子データレジスタ23、デコーダ24、比
較器26及びチャンネルカウンタ28は第1図に示す第1実
施例におけるものと同一であるので、同一符号を付しそ
の説明を省略する。b. Second Embodiment Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 6 is a block diagram of a buffer memory device 60 in which a part of the buffer memory device 20 of FIG. 1 is modified. It is shown in the figure. The rest of the second embodiment is the same as that shown in FIG. In the buffer memory device 60, the key data register 21, the channel register 22, the manipulator data register 23, the decoder 24, the comparator 26 and the channel counter 28 are the same as those in the first embodiment shown in FIG. Therefore, the same reference numerals are given and the description thereof is omitted.
鍵データレジスタ21の出力端はセレクタ61の一方の入力
端に接続され、同レジスタ21から出力された鍵データKD
は、セレクタ61の制御端子61aに接続したアンドゲート6
2から出力される制御信号LD11がハイレベル“1"のと
き、セレクタ61を介して楽音発生チャンネル数Nに等し
いNステージのシフトレジスタ63に入力される。また、
シフトレジスタ63の出力端はセレクタ61の他方の入力端
に接続されており、クロックパルスφによりシフトレジ
スタ63内を順次後段にシフトされた鍵データKDは、制御
信号LD11がローレベル“0"のとき、セレクタ61を介して
シフトレジスタ63に帰還され、この状態にて該鍵データ
KDがシフトレジスタ63に鍵データKD11として循環記憶さ
れるようになっている。なお、アンドゲート62の一方の
入力には比較器26から制御信号LD1が供給され、かつ他
方の入力にはエクスクルーシブオアゲート64から選択信
号SEL1が供給されており、これら両信号LD1,SEL1がとも
にハイレベル“1"にあるとき制御信号LD11はハイレベル
“1"となる。The output end of the key data register 21 is connected to one input end of the selector 61, and the key data KD output from the register 21
Is an AND gate 6 connected to the control terminal 61a of the selector 61.
When the control signal LD11 output from 2 is at high level "1", it is input via the selector 61 to the shift register 63 of N stages equal to the number N of tone generation channels. Also,
The output end of the shift register 63 is connected to the other input end of the selector 61, and the key data KD sequentially shifted to the subsequent stage in the shift register 63 by the clock pulse φ has the control signal LD11 of low level “0”. At this time, it is fed back to the shift register 63 via the selector 61, and in this state, the key data
KD is circularly stored in the shift register 63 as key data KD11. The control signal LD1 is supplied from the comparator 26 to one input of the AND gate 62, and the selection signal SEL1 is supplied from the exclusive OR gate 64 to the other input, and both of these signals LD1 and SEL1 are supplied. When it is at the high level "1", the control signal LD11 is at the high level "1".
また、鍵データレジスタ21の出力端はセレクタ65の一方
の入力端にも接続され、同レジスタ21から出力される鍵
データKDは、セレクタ65の制御端子65aに接続したアン
ドゲート66から出力される制御信号LD12がハイレベル
“1"のとき、セレクタ65を介してシフトレジスタ67に入
力される。また、シフトレジスタ67の出力端はセレクタ
65の他方の入力端に接続されており、クロックパルスφ
によりシフトレジスタ67内を順次後段にシフトされた鍵
データKDは、制御信号LD12がローレベル“0"のときセレ
クタ65を介してシフトレジスタ67に帰還され、この状態
にて該鍵データKDがシフトレジスタ67に鍵データKD12と
して循環記憶されるようになっている。なお、アンドゲ
ート66の一方の入力には比較器26から制御信号LD1が供
給され、かつ他方の入力にはエクスクルーシブオアゲー
ト64からの選択信号SEL1をインバータ68によって反転し
た選択信号▲▼が供給されており、これらの両
信号LD1,▲▼1がともにハイレベルにあるとき
制御信号LD12はハイレベル“1"となる。The output end of the key data register 21 is also connected to one input end of the selector 65, and the key data KD output from the register 21 is output from the AND gate 66 connected to the control terminal 65a of the selector 65. When the control signal LD12 is at high level “1”, it is input to the shift register 67 via the selector 65. The output end of the shift register 67 is a selector.
Clock pulse φ connected to the other input terminal of 65
The key data KD that is sequentially shifted to the subsequent stage in the shift register 67 is fed back to the shift register 67 via the selector 65 when the control signal LD12 is at the low level "0", and the key data KD is shifted in this state. The key data KD12 is circularly stored in the register 67. The control signal LD1 is supplied from the comparator 26 to one input of the AND gate 66, and the selection signal ▲ ▼ obtained by inverting the selection signal SEL1 from the exclusive OR gate 64 by the inverter 68 is supplied to the other input. Therefore, when both the signals LD1 and ▲ ▼ 1 are at the high level, the control signal LD12 is at the high level "1".
シフトレジスタ63及びシフトレジスタ67の出力端はセレ
クタ69の各々の入力端に接続されており、セレクタ69
は、その制御端子69aに楽音発生チャンネル数Nに等し
いNステージのシフトレジスタ70から供給される選択信
号SEL2がハイレベル“1"にあるとき、鍵データKD11を楽
音発生手段40に鍵データKD2として選択出力し、一方同
信号SEL2がローレベル“0"にあるとき、鍵データKD12を
楽音発生手段40に鍵データKD2として選択出力する。シ
フトレジスタ70の入力端には、その一方の入力に選択信
号SEL2が供給されたエクスクルーシブオアゲート71が接
続されており、この選択信号SEL2は、エクスクルーシブ
オアゲート71の他方の入力にアンドゲート72から供給さ
れるレベルダウン信号LVDWがローレベル“0"にあるとき
シフトレジスタ70に循環記憶され、又同レベルダウン信
号LVDWがハイレベル“1"にあるとき反転される。アンド
ゲート72の一方の入力にはシフトレジスタ70と同一構成
のシフトレジスタ73からレベル検出信号LVLをNチャン
ネルタイミング時間遅延した信号が供給され、又、他方
の入力にはレベル検出信号LVLをインバータ74で反転し
た信号が供給されている。そして、これらのアンドゲー
ト72、シフトレジスタ73及びインバータ74は、各楽音発
生チャンネル毎のレベル検出信号LVLの立下り微分回路
を構成し、各楽音発生チャンネルにおけるレベル検出信
号LVLがハイレベル“1"からローレベル“0"に変化した
ときレベルダウン信号LVDWをそのチャンネルタイミング
において1度だけハイレベル“1"にする。The output terminals of the shift register 63 and the shift register 67 are connected to the respective input terminals of the selector 69.
When the selection signal SEL2 supplied to the control terminal 69a from the N-stage shift register 70 equal to the number N of tone generation channels is at the high level "1", the key data KD11 is used as the key data KD2 by the tone generation means 40. When the signal SEL2 is at low level "0", the key data KD12 is selectively output to the musical tone generating means 40 as the key data KD2. An exclusive OR gate 71 whose selection signal SEL2 is supplied to one input of the shift register 70 is connected to the input end of the shift register 70. The selection signal SEL2 is supplied from the AND gate 72 to the other input of the exclusive OR gate 71. When the supplied level down signal LVDW is at low level "0", it is circulated and stored in the shift register 70, and when the level down signal LVDW is at high level "1", it is inverted. A signal obtained by delaying the level detection signal LVL by the N-channel timing time is supplied to one input of the AND gate 72 from the shift register 73 having the same structure as the shift register 70, and the other input receives the level detection signal LVL from the inverter 74. The signal inverted at is supplied. The AND gate 72, the shift register 73, and the inverter 74 constitute a falling differentiating circuit of the level detection signal LVL for each tone generation channel, and the level detection signal LVL for each tone generation channel is high level "1". When it changes from 0 to low level, the level down signal LVDW is set to high level "1" only once at the channel timing.
また、レベル検出信号LVLはアンドゲート75の一方の入
力にも供給され、このアンドゲート75の他方の入力には
鍵データKD2中のキーオン信号KO2をインバータ76により
反転した反転キーオン信号▲▼が供給されてお
り、レベル検出信号LVL及び反転キーオン信号▲
▼がともにハイレベル“1"にあるとき、アンドゲート75
はエクスクルーシブオアゲート64の一方の入力にハイレ
ベル信号“1"を供給する。また、エクスクルーシブオア
ゲート64の他方の入力には選択信号SEL2が供給されてお
り、選択信号SEL1は、アンドゲート75の出力信号がロー
レベル“0"にあるとき選択信号SEL2と同じになり、アン
ドゲート75の出力信号がハイレベルにあるとき選択信号
SEL2を反転したものとなる。The level detection signal LVL is also supplied to one input of the AND gate 75, and the other input of the AND gate 75 is supplied with an inverted key-on signal ▲ ▼ obtained by inverting the key-on signal KO2 in the key data KD2 by the inverter 76. The level detection signal LVL and the inverted key-on signal ▲
When both ▼ are at high level “1”, AND gate 75
Supplies a high level signal "1" to one input of the exclusive OR gate 64. Further, the selection signal SEL2 is supplied to the other input of the exclusive OR gate 64, and the selection signal SEL1 becomes the same as the selection signal SEL2 when the output signal of the AND gate 75 is at the low level “0”. Select signal when the output signal of gate 75 is at high level
It is the reverse of SEL2.
選択信号SEL2はインバータ76を介してセレクタ77の制御
端子77aにも供給されており、このセレクタ77の両入力
には鍵データKD11中のキーオン信号KO11及び鍵データKD
12中のオーオン信号KO12が各々供給されている。そし
て、セレクタ77は、選択信号SEL2がローレベル“0"にあ
るときキーオン信号KO11を選択出力し、選択信号SEL2が
ハイレベル“1"にあるときキーオン信号KO12を選択出力
する。この選択出力されたキーオン信号KO11又はキーオ
ン信号KO12はアンドゲート78の一方の入力に供給され、
同ゲート78の他方の入力にはレベル検出信号LVLが供給
され、これらの両入力信号がハイレベル“1"にあると
き、アンドゲート78はハイレベル“1"のフォーシングダ
ンプ信号FDを出力する。なお、チャンネルカウンタ28、
シフトレジスタ63,67,70,73は各楽音発生チャンネルの
チャンネルタイミングに同期して時分割動作する。The selection signal SEL2 is also supplied to the control terminal 77a of the selector 77 via the inverter 76, and both inputs of this selector 77 have the key-on signal KO11 and the key data KD11 in the key data KD11.
The O-ON signal KO12 of 12 is supplied to each. Then, the selector 77 selectively outputs the key-on signal KO11 when the selection signal SEL2 is at the low level “0”, and selectively outputs the key-on signal KO12 when the selection signal SEL2 is at the high level “1”. This selectively output key-on signal KO11 or key-on signal KO12 is supplied to one input of the AND gate 78,
The level detection signal LVL is supplied to the other input of the same gate 78, and when both of these input signals are at the high level “1”, the AND gate 78 outputs the forcing dump signal FD of the high level “1”. . The channel counter 28,
The shift registers 63, 67, 70, 73 operate in time division in synchronization with the channel timing of each tone generation channel.
以上のように構成したバッファメモリ装置60の動作を説
明すると、上記第1の実施例にて述べたように、マイク
ロコンピュータ部12から供給された鍵データKD、チャン
ネルデータCHD及び操作子データTCDは、各々制御信号CT
RLに制御されて、鍵データレジスタ21、チャンネルレジ
スタ22及び操作子データレジスタ23に各々記憶され、比
較器26は、チャンネルデータCHDが示す楽音発生チャン
ネルのチャンネルタイミングにおいてハイレベル“1"の
制御信号LD1を出力する。The operation of the buffer memory device 60 configured as described above will be described. As described in the first embodiment, the key data KD, the channel data CHD, and the operator data TCD supplied from the microcomputer unit 12 are , Control signal CT respectively
It is controlled by RL and stored in the key data register 21, the channel register 22 and the manipulator data register 23, respectively, and the comparator 26 controls the high level "1" at the channel timing of the tone generation channel indicated by the channel data CHD. Output LD1.
次に、鍵データレジスタ21に記憶された鍵データKDに基
づき、鍵データKD2及びフォーシングダンプ信号FDが楽
音発生手段40に出力される動作について、再度第5図の
タイムチャートを参照して説明する。同図のタイミング
t1に示されるように、新たな押鍵があったとき、この押
鍵に関する鍵が新たに割当てられた楽音発生チャンネル
においてそれまで割当てられていた離された鍵に関する
楽音が、小さな音量レベル以下に減衰している場合につ
いて説明する。このとき、選択信号SEL1,SEL2が当該チ
ャンネルタイミングにおいてともにローレベル“0"(又
はハイレベル“1")にあるものとすれば、ハイレベル
“1"の制御信号LD1の発生タイミングにおいて、制御信
号LD12(又はLD11)がハイレベル“1"となり、鍵データ
レジスタ21に記憶されている鍵データKDは、当該チャン
ネルタイミングにおいてセレクタ65(又は61)を介し
て、シフトレジスタ67(又は63)に供給される。これに
より、鍵データKDはチャンネルデータCHDにより指定さ
れる番号の楽音発生チャンネルに対応する時分割チャン
ネルに鍵データKD12(又はKD11)として循環記憶される
ことになる。なお、このとき、選択信号SEL1はローレベ
ル“0"(又はハイレベル“1")にあるので制御信号LD11
(又はLD12)もローレベル“0"にあり、セレクタ61(又
は65)が鍵データレジスタ21からの鍵データKDを選択出
力しないので、同鍵データKDはシフトレジスタ63(又は
67)には供給されない、また、シフトレジスタ67(又は
63)に循環記憶された当該チャンネルの鍵データKD12
(又はKD11)は、選択信号SEL2がローレベル“0"(又は
ハイレベル“1")にあるので、セレクタ69を介して当該
チャンネルタイミングにおいて鍵データKD2として楽音
発生手段40に出力される。なお、このとき、当該チャン
ネルタイミングにおいてローレベル“0"(又はハイレベ
ル“1")にある選択信号SEL2のために、セレクタ77はキ
ーオン信号KO11(又はKO12)を選択出力し、このキーオ
ン信号KO11(又はKO12)は当該チャンネルにそれまで割
当てられていた離された鍵に関するものであってローレ
ベル“0"にあるので、アンドゲート78から出力されるフ
ォーシングダンプ信号FDはローレベル“0"となる。Next, the operation of outputting the key data KD2 and the forcing dump signal FD to the musical sound generating means 40 based on the key data KD stored in the key data register 21 will be described again with reference to the time chart of FIG. To do. Timing in the figure
As shown in t1, when there is a new key depression, the tone related to the released key that was previously assigned in the tone generation channel to which the key related to this key was assigned falls below a small volume level. The case of attenuation will be described. At this time, if the selection signals SEL1 and SEL2 are both at the low level “0” (or the high level “1”) at the timing of the channel, the control signal is generated at the generation timing of the control signal LD1 at the high level “1”. LD12 (or LD11) becomes high level "1", and the key data KD stored in the key data register 21 is supplied to the shift register 67 (or 63) via the selector 65 (or 61) at the channel timing. To be done. As a result, the key data KD is circularly stored as the key data KD12 (or KD11) in the time-division channel corresponding to the tone generation channel having the number designated by the channel data CHD. At this time, since the selection signal SEL1 is at the low level “0” (or the high level “1”), the control signal LD11
(Or LD12) is also at the low level “0”, and the selector 61 (or 65) does not selectively output the key data KD from the key data register 21, so the same key data KD is stored in the shift register 63 (or
67) is not supplied to the shift register 67 (or
63) Key data KD12 of the channel circulated and stored.
(Or KD11) is output to the tone generating means 40 as the key data KD2 at the channel timing via the selector 69 because the selection signal SEL2 is at the low level "0" (or the high level "1"). At this time, the selector 77 selectively outputs the key-on signal KO11 (or KO12) for the selection signal SEL2 at the low level “0” (or the high level “1”) at the channel timing, and this key-on signal KO11 is output. (Or KO12) is related to the released key that has been assigned to that channel and is at the low level “0”, the forcing dump signal FD output from the AND gate 78 is at the low level “0”. Becomes
次に、第5図のタイミングt1で押された鍵がタイミング
t2で離された場合について説明すると、この離鍵に関す
る鍵データKDとともにマイクロコンピュータ部12から出
力されるチャンネルデータCHDは、上記タイミングt2で
離された鍵が割当てられているチャンネル番号を示して
おり、このチャンネルデータCHDに基づいて比較器26が
ハイレベル“1"の制御信号LD1を出力するときには、シ
フトレジスタ67(又は63)に記憶され楽音発生手段40に
出力されている当該チャンネルタイミングにおける鍵デ
ータKD2中のキーオン信号KO2はハイレベル“1"にあるの
で、アンドゲート75からの出力信号はローレベル“0"に
あり、又楽音発生手段40にて発生されている当該チャン
ネルの楽音の音量レベルが高く、レベル検出信号LVLも
ハイレベル“1"を持続しているので、レベルダウン信号
LVDWもローレベル“0"である。これにより、選択信号SE
L1,SEL2は依然としてローレベル“0"(又はハイレベル
“1")にあり、鍵データレジスタ21に記憶された鍵デー
タKDは、上記ハイレベル“1"の制御信号LD1の発生時
に、セレクタ65(又は61)を介してシフトレジスタ67
(又は63)に供給される。そして、シフトレジスタ67
(又は63)は、上記タイミングt1で記憶した押鍵に関す
る鍵データKDに代えて、該離鍵に関する鍵データKDを当
該チャンネルに鍵データKD12(又はKD11)として循環記
憶する。この鍵データKD12(又はKD11)は、上記選択信
号SEL2がまだローレベル“0"(又はハイレベル“1")に
あるので、セレクタ69を介して鍵データKD2として楽音
発生手段40に出力される。なお、セレクタ77は、上記タ
イミングt1時と同様、当該チャンネルにおいて、ローレ
ベル“0"にあるキーオン信号KO11(又はKO12)をアンド
ゲート78に出力するので、当該チャンネルのフォーシン
グダンプ信号FDは依然としてローレベル“0"である。Next, the key pressed at timing t1 in FIG.
Explaining the case where the key is released at t2, the channel data CHD output from the microcomputer unit 12 together with the key data KD related to the key release indicates the channel number to which the key released at the timing t2 is assigned. , When the comparator 26 outputs the control signal LD1 of high level "1" based on the channel data CHD, the key at the channel timing stored in the shift register 67 (or 63) and output to the tone generating means 40. Since the key-on signal KO2 in the data KD2 is at the high level "1", the output signal from the AND gate 75 is at the low level "0", and the tone volume of the channel generated by the tone generating means 40. Since the level is high and the level detection signal LVL also maintains the high level “1”, the level down signal
LVDW is also low level “0”. This allows the selection signal SE
L1 and SEL2 are still at the low level “0” (or the high level “1”), and the key data KD stored in the key data register 21 is the selector 65 when the control signal LD1 at the high level “1” is generated. (Or 61) via shift register 67
(Or 63). And the shift register 67
(Or 63) cyclically stores key data KD related to the key release as key data KD12 (or KD11) in the channel in place of the key data KD related to key depression stored at the timing t1. This key data KD12 (or KD11) is output to the musical tone generating means 40 via the selector 69 as the key data KD2 because the selection signal SEL2 is still at the low level "0" (or the high level "1"). . Note that the selector 77 outputs the key-on signal KO11 (or KO12) at the low level “0” to the AND gate 78 in the channel as in the case of the timing t1, so that the forcing dump signal FD of the channel still remains. Low level “0”.
また、上記タイミングt2後、楽音発生手段40に供給され
る当該チャンネルタイミングにおける鍵データKD2中の
キーオン信号KO2はローレベル“0"となり、このため楽
音発生手段40から当該チャンネルにおいて発生される楽
音は通常のディケィ状態となる。そして、上記ディケィ
中の楽音の音量レベルがまだ大きいときには当該チャン
ネルタイミングにおけるレベル検出信号LVLはハイレベ
ル“1"にあり、かつ当該チャンネルのキーオン信号KO2
はローレベル“0"にあるので、アンドゲート75の出力信
号はハイレベル“1"となり、選択信号SEL1はハイレベル
“1"(又はローレベル“0")となる。そのため、この時
点で、当該チャンネルに新たに割当てられた鍵データKD
が鍵データレジスタ21に供給された場合には、この鍵デ
ータKDは、当該チャンネルタイミングにおいて比較器26
から発生される制御信号LD1がハイレベル“1"になった
とき、制御信号LD11(又はLD12)がハイレベル“1"とな
り、上記鍵データKDは、上記タイミングt1のときとは逆
に、シフトレジスタ63(又は67)に当該チャンネルの鍵
データKD11(又はKD12)として循環記憶される。さらに
時間が経過して、減衰した当該チャンネルの楽音の音量
レベルが所定の小さな値以下になると、レベル検出信号
LVLはローレベル“0"になり、この時点でレベルダウン
信号LVDWが1チャンネルタイミング時間においてハイレ
ベル“1"となり、選択信号SEL2は反転されてハイレベル
“1"(又はローレベル“0")になるが、このとき、レベ
ル検出信号LVLがローレベル“0"であるためにアンドゲ
ート75の出力信号はローレベル“0"となり、選択信号SE
L1は、上記楽音がディケィ状態にあるときと同様、ハイ
レベル“1"(又はローレベル“0")を維持する。これに
より、当該チャンネルに新たに割当てられた鍵データKD
が鍵データレジスタ21に供給されると、上述のように、
鍵データKDはシフトレジスタ63(又はシフトレジスタ6
7)に当該チャンネルの鍵データKD11(又はKD12)とし
て循環記憶される。Further, after the timing t2, the key-on signal KO2 in the key data KD2 at the channel timing supplied to the musical tone generating means 40 becomes the low level “0”, so that the musical tone generated from the musical tone generating means 40 on the channel is It will be in a normal decay state. When the volume level of the musical sound in the decay is still high, the level detection signal LVL at the timing of the channel concerned is at the high level "1" and the key-on signal KO2 of the concerned channel.
Is at a low level "0", the output signal of the AND gate 75 becomes a high level "1", and the selection signal SEL1 becomes a high level "1" (or a low level "0"). Therefore, at this point, the key data KD newly assigned to the channel is
When the key data KD is supplied to the key data register 21, the key data KD is compared with the comparator 26 at the channel timing.
, The control signal LD11 (or LD12) becomes high level “1”, and the key data KD shifts in the opposite manner to the timing t1. The key data KD11 (or KD12) of the channel is circularly stored in the register 63 (or 67). When the sound volume level of the attenuated channel sound falls below a predetermined small value as time passes, the level detection signal
LVL becomes low level "0", at this time, the level down signal LVDW becomes high level "1" in one channel timing time, and the selection signal SEL2 is inverted and becomes high level "1" (or low level "0"). However, at this time, since the level detection signal LVL is low level “0”, the output signal of the AND gate 75 becomes low level “0” and the selection signal SE
L1 maintains the high level "1" (or the low level "0") as in the case where the musical tone is in the decay state. As a result, the key data KD newly assigned to the relevant channel
Is supplied to the key data register 21, as described above,
The key data KD is stored in the shift register 63 (or shift register 6
It is circularly stored in 7) as the key data KD11 (or KD12) of the channel.
そして、第5図に示すように、タイミングt3において新
たに押された鍵がタイミングt2で離された鍵と同一チャ
ンネルに割当てられ、該タイミングt2で離された鍵に関
する楽音が所定の小さな音量レベル以下に減衰している
場合、選択信号SEL1,SEL2はハイレベル“1"(又はロー
レベル“0")にあるので、上述のように鍵データレジス
タ21に供給された新たな鍵データKDはシフトレジスタ63
(又はシフトレジスタ67)に当該チャンネルの鍵データ
KD11(又はKD12)として循環記憶され、セレクタ69を介
して楽音発生手段40に当該チャンネルの鍵データKD2と
して即座に供給される。そして、楽音発生手段40は当該
チャンネルにて鍵データKD2に基づく新たな楽音の発生
を開始する。なお、このとき、セレクタ77はシフトレジ
スタ67(又は63)の当該チャンネルに循環記憶されてい
るタイミングt2にて離された鍵に関するキーオン信号KO
12(又はKO11)をアンドゲート78に出力するので、フォ
ーシングダンプ信号FDはローレベル“0"となる。Then, as shown in FIG. 5, the key newly pressed at the timing t3 is assigned to the same channel as the key released at the timing t2, and the musical tone related to the key released at the timing t2 is set to a predetermined small volume level. If the signal is attenuated below, since the selection signals SEL1 and SEL2 are at the high level “1” (or the low level “0”), the new key data KD supplied to the key data register 21 is shifted as described above. Register 63
(Or shift register 67) key data of the channel
It is circulatively stored as KD11 (or KD12) and is immediately supplied to the musical tone generating means 40 via the selector 69 as the key data KD2 of the channel. Then, the musical sound generating means 40 starts to generate a new musical sound based on the key data KD2 on the channel. At this time, the selector 77 causes the key-on signal KO regarding the key released at the timing t2 cyclically stored in the channel of the shift register 67 (or 63).
Since 12 (or KO11) is output to the AND gate 78, the forcing dump signal FD becomes low level “0”.
一方、タイミングt3で押された鍵がタイミングt4で離鍵
され、該鍵に関する楽音がディケィ状態にありかつその
音量レベルがあまり低くないタイミングt5にて、新たに
押された鍵が該ディケィ中の楽音を発生している楽音発
生チャンネルに割当てられた場合、当該チャンネルタイ
ミングにおける選択信号SEL1は上述のタイミングt2と同
様タイミングt4にて反転されてローレベル“0"(又はハ
イレベル“1")になっているので、タイミングt5で新た
に押された鍵に関する鍵データKDは、シフトレジスタ67
(又は63)に当該チャンネルの鍵データKD12(又はKD1
1)として循環記憶されることになる。しかし、当該チ
ャンネルタイミングにおける選択信号SEL2は上述のよう
に当該チャンネルにてディケィ中の楽音が所定の小さな
音量レベルになるまでは反転されないのでハイレベル
“1"(ローレベル“0")のままであり、セレクタ69を介
して楽音発生手段40に供給される当該チャンネルタイミ
ングにおける鍵データKD2は、シフトレジスタ63(又は6
7)に循環記憶されているタイミングt4で離された鍵を
示す鍵データKD11(又はKD12)である。このとき、セレ
クタ77は、当該チャンネルタイミングにおいて、ハイレ
ベル“1"(又はローレベル“0")にある選択信号SEL2の
ために、シフトレジスタ67(又は63)の当該チャンネル
に記憶されているキーオン信号KO12(又はKO11)を出力
する。このキーオン信号KO12(又はKO11)はタイミング
t5にて押された鍵に関するものであってハイレベル“1"
であるので、レベル検出信号LVLがハイレベル“1"にあ
る間、アンドゲート78は当該チャンネルタイミングにお
いてハイレベル“1"のフォーシングダンプ信号FDを楽音
発生手段40に供給する。このフォーシングダンプ信号FD
の供給により、楽音発生手段40の当該チャンネルにおけ
る楽音は急速に減衰して、タイミングt6にてレベル検出
信号LVLがローレベル“0"になってレベルダウン信号LVD
Wがハイレベル“1"になると、上述のように当該チャン
ネルタイミングにおける選択信号SEL2は反転されてロー
レベル“0"(又はハイレベル“1")になる。このローレ
ベル“0"(又はハイレベル“1")になった選択信号SEL2
により、セレクタ69はシフトレジスタ67(又は63)の当
該チャンネルに循環記憶されているタイミングt5にて押
された鍵の鍵データKD12(又はKD11)を当該チャンネル
における鍵データKD2として楽音発生手段40に供給する
ようになる。これにより、楽音発生手段40はタイミング
t6から、当該楽音発生チャンネルにおいて、タイミング
t5にて押された鍵の鍵データKD2に基づく楽音の発生を
開始する。なお、このとき、セレクタ77はシフトレジス
タ63(又は67)の当該チャンネルに循環記憶されている
タイミングt4にて離された鍵に関するキーオン信号KO11
(又はKO12)をアンドゲート78に出力するので、フォー
シングダンプ信号FDはローレベル“0"になる。そして、
当該チャンネルにて発生中の楽音に関する鍵がタイミン
グt7で離されると、選択信号SEL1はハイレベル“1"(又
はローレベル“0")になり、上記楽音の音量レベルが所
定の小さな値以下になると選択信号SEL2もハイレベル
“1"(又はローレベル“0")になる。これにより、新た
に押された鍵が上記楽音発生チャンネルと同じチャンネ
ルに割当てられた場合、該押された鍵に関する鍵データ
KDはシフトレジスタ63(又は67)の当該チャンネルに記
憶されることになる。On the other hand, the key pressed at the timing t3 is released at the timing t4, the musical tone related to the key is in the decay state, and at the timing t5 at which the volume level is not so low, the newly pressed key is in the decay state. When assigned to a musical tone generating channel that is generating a musical tone, the selection signal SEL1 at the channel timing is inverted at the timing t4 in the same way as the timing t2 described above, and becomes low level “0” (or high level “1”). Therefore, the key data KD for the key newly pressed at the timing t5 is stored in the shift register 67
(Or 63) to the key data KD12 (or KD1) of the channel.
It will be circulated and memorized as 1). However, since the selection signal SEL2 at the timing of the channel is not inverted until the musical tone being decayed on the channel reaches a predetermined small volume level as described above, it remains at the high level "1" (low level "0"). Yes, the key data KD2 at the relevant channel timing supplied to the musical sound generating means 40 via the selector 69 is stored in the shift register 63 (or 6).
Key data KD11 (or KD12) indicating the key released at timing t4 that is cyclically stored in 7). At this time, the selector 77 causes the key-on stored in the channel of the shift register 67 (or 63) for the selection signal SEL2 at the high level “1” (or the low level “0”) at the channel timing. Outputs signal KO12 (or KO11). This key-on signal KO12 (or KO11) is timing
High level "1" related to the key pressed at t5
Therefore, while the level detection signal LVL is at the high level "1", the AND gate 78 supplies the forcing dump signal FD of the high level "1" to the musical sound generating means 40 at the channel timing. This forcing dump signal FD
Of the tone generation means 40 rapidly attenuates the tone generated by the tone generation means 40, the level detection signal LVL becomes low level "0" at the timing t6, and the level down signal LVD
When W becomes high level "1", the selection signal SEL2 at the channel timing is inverted to low level "0" (or high level "1") as described above. This low level “0” (or high level “1”) selection signal SEL2
As a result, the selector 69 causes the tone generation means 40 to use the key data KD12 (or KD11) of the key pressed at the timing t5 which is cyclically stored in the channel of the shift register 67 (or 63) as the key data KD2 of the channel. Will be supplied. As a result, the musical tone generating means 40
From t6, the timing on the relevant tone generation channel
At t5, generation of a musical sound based on the key data KD2 of the key pressed is started. At this time, the selector 77 causes the key-on signal KO11 regarding the key released at the timing t4 cyclically stored in the channel of the shift register 63 (or 67).
Since (or KO12) is output to the AND gate 78, the forcing dump signal FD becomes low level “0”. And
When the key relating to the musical sound being generated in the channel is released at timing t7, the selection signal SEL1 becomes the high level "1" (or the low level "0"), and the volume level of the musical sound falls below a predetermined small value. Then, the selection signal SEL2 also becomes high level "1" (or low level "0"). As a result, when the newly pressed key is assigned to the same channel as the tone generation channel, the key data relating to the pressed key
KD will be stored in the channel of the shift register 63 (or 67).
以上のような動作説明でも理解できる通り、鍵盤10にて
新たな押鍵がある毎に、マイクロコンピュータ部12から
供給されるこの新たに押された鍵に関する鍵データKD
が、シフトレジスタ63又はシフトレジスタ67に交互に記
憶されるようにしたので、該鍵が割当てられた楽音発生
チャンネルにて上記いずれか一方のシフトレジスタに記
憶された鍵データに基づき減衰中の楽音が発生されてい
る状態においても、マイクロコンピュータ部12は新たな
押鍵検出時に該鍵に関する鍵データを直ちにバッファメ
モリ装置60に出力すれば、出力された鍵データKDは一旦
他方のシフトレジスタに記憶される。これにより、マイ
クロコンピュータ部12は同鍵データKDの出力後、上記第
1の実施例と同様に、操作子スイッチ状態の検出等他の
処理を行うことができてマイクロコンピュータ部12は有
効に活用される。また、シフトレジスタ63又はシフトレ
ジスタ67に記憶される新たに押された鍵の鍵データは、
レベル検出器50により検出される楽音の音量レベルが所
定の小さな値以下にあることを条件に、楽音発生手段40
に選択出力されるようにしたので、新たに発生される楽
音には充分なアタック感が付与され、しかも楽音の発生
が押鍵から不必要に遅れることがなくなる。このよう
に、第2の実施例に係るバッファメモリ装置60において
も、第1の実施例と同一の効果を達成できる。As can be understood from the above operation description, every time a new key is pressed on the keyboard 10, the key data KD related to this newly pressed key supplied from the microcomputer unit 12 is supplied.
Are alternately stored in the shift register 63 or the shift register 67, so that the musical tone being attenuated based on the key data stored in one of the above shift registers in the musical tone generation channel to which the key is assigned. Even when the key is generated, if the microcomputer unit 12 immediately outputs the key data related to the key to the buffer memory device 60 when a new key press is detected, the output key data KD is temporarily stored in the other shift register. To be done. As a result, after outputting the same key data KD, the microcomputer unit 12 can perform other processing such as detection of the operator switch state, as in the first embodiment, and the microcomputer unit 12 can be effectively utilized. To be done. Further, the key data of the newly pressed key stored in the shift register 63 or the shift register 67 is
The tone generation means 40 is provided on condition that the volume level of the tone detected by the level detector 50 is below a predetermined small value.
Since the selected tone is selectively output, the newly generated tone is given a sufficient attack feeling, and the tone generation is not unnecessarily delayed from the key depression. As described above, also in the buffer memory device 60 according to the second embodiment, the same effect as that of the first embodiment can be achieved.
c.変形例 なお、上記実施例においては、新たに押された鍵を全楽
音発生チャンネル中再も古く離された鍵に係る楽音発生
チャンネルに割当てるようにしたが、さらに離された鍵
の音高に応じた割当て条件、例えば低い音高の鍵に係る
楽音を発生している楽音発生チャンネルへの割当てを禁
止する等の条件を付加するようにしてもよい。また、逆
に割当て条件を緩和して離された鍵に係る楽音発生チャ
ンネルを見つけ次第、そのチャンネルに新たに押された
鍵を割当てるようにしてもよい。c. Modified Example In the above embodiment, the newly pressed key is assigned to the tone generation channel related to the key that has been released in the entire tone generation channels. It is also possible to add an allocation condition corresponding to the high pitch, for example, a condition of prohibiting the allocation to the musical tone generation channel which is generating the musical tone related to the low pitch key. Alternatively, the assignment condition may be relaxed, and as soon as the tone generation channel associated with the released key is found, the newly pressed key may be assigned to that channel.
また、上記実施例においては、全ての楽音発生チャンネ
ルが押鍵中の楽音を発生している場合には、新たに押さ
れた鍵はいずれの楽音発生チャンネルにも割当てられな
いが、上記場合には新たに押された鍵を最も前に押され
た鍵に係る楽音発生チャンネルに割当てるようにして後
着優先機能を付加させるようにしてもよい。また、上記
場合には、新たな鍵に関する鍵データを記憶しておき、
押圧中の鍵が離され次第、離された鍵に係る楽音発生チ
ャンネルに上記新たな鍵を割当てるようにしてもよい。Further, in the above embodiment, when all the tone generation channels generate the tone being pressed, the newly pressed key is not assigned to any tone generation channel. Alternatively, the newly-pressed key may be assigned to the tone generation channel associated with the most-pressed key to add the later-arrival priority function. In the above case, the key data regarding the new key is stored,
As soon as the pressed key is released, the new key may be assigned to the tone generation channel associated with the released key.
第1図はこの発明の第1の実施例を示す電子楽器の全体
ブロック図、第2図は第1図のマイクロコンピュータ部
内のRAMのメモリマップ、第3図及び第4図は第1図の
マイクロコンピュータ部にて実行されるプログラムの一
例を示すフローチャート、第5図は押鍵状態と楽音のエ
ンベロープ波形の時間変化を示すタイムチャート、第6
図はこの発明の第2の実施例を示す電子楽器のバッファ
メモリ装置である。 符号の説明 10……鍵盤、10a……鍵スイッチ回路、11……操作子
群、11a……操作子スイッチ回路、12……マイクロコン
ピュータ部、20,60……バッファメモリ装置、21……鍵
データレジスタ、25,29,61,65,69,77……セレクタ、27,
31,63,67,70,73……シフトレジスタ、40……楽音発生手
段、50……レベル検出器。FIG. 1 is an overall block diagram of an electronic musical instrument showing a first embodiment of the present invention, FIG. 2 is a memory map of RAM in the microcomputer section of FIG. 1, and FIGS. 3 and 4 are of FIG. FIG. 5 is a flow chart showing an example of a program executed by the microcomputer section, FIG. 5 is a time chart showing a time change of the key depression state and the envelope waveform of the musical tone, and FIG.
The figure shows a buffer memory device of an electronic musical instrument according to a second embodiment of the present invention. Explanation of symbols 10 …… Keyboard, 10a …… Key switch circuit, 11 …… Operator group, 11a …… Operator switch circuit, 12 …… Microcomputer section, 20,60 …… Buffer memory device, 21 …… Key Data register, 25,29,61,65,69,77 …… Selector, 27,
31,63,67,70,73 ...... Shift register, 40 ...... Music tone generating means, 50 ...... Level detector.
Claims (2)
チャンネルを有し各楽音発生チャンネルにて前記鍵盤で
押された鍵を表す鍵データに基づき楽音を発生する楽音
発生手段とを備えた電子楽器において、 プログラム処理により、前記鍵盤にて新たに押された鍵
を検出して同新たに押された鍵を鍵盤の押離鍵状態に応
じて前記複数の楽音発生チャンネルのいずれかに割当
て、同割当てた楽音発生チャンネルを表すチャンネルデ
ータ及び同新たに押された鍵を表す鍵データを出力する
マイクロコンピュータと、 前記複数の楽音発生チャンネルに対応した複数の記憶領
域を有し、前記出力されたチャンネルデータに対応した
記憶領域に前記出力された鍵データを記憶する第1記憶
手段と、 前記第1記憶手段の複数の記憶領域に対応した複数の記
憶領域を有し、同第1記憶手段の各記憶領域に記憶され
ている鍵データを対応した記憶領域にそれぞれ取込み記
憶し同取込み記憶した各鍵データを各記憶領域毎に前記
楽音発生手段の複数の楽音発生チャンネルにそれぞれ供
給する第2記憶手段と、 前記楽音発生手段の各楽音発生チャンネルにて発生され
る各楽音の音量レベルをそれぞれ検出するレベル検出手
段と、 前記レベル検出手段により前記各楽音発生チャンネルの
音量レベルが所定レベル以下になったことがそれぞれ検
出されたとき、前記第2記憶手段の同各楽音発生チャン
ネルに対応した各記憶領域への鍵データの前記取込み記
憶をそれぞれ許容する制御手段と を設けてなる電子楽器。1. A keyboard comprising a plurality of keys, and a tone generating means for generating a tone based on key data representing a key pressed by the keyboard on each tone generating channel and having a plurality of tone generating channels. In the electronic musical instrument, program processing detects a key newly pressed on the keyboard, and the newly pressed key is placed on any one of the plurality of musical sound generation channels in accordance with the key release state of the keyboard. A microcomputer for outputting channel data representing the assigned tone generation channel and the key data representing the newly pressed key; and a plurality of storage areas corresponding to the plurality of tone generation channels First storage means for storing the output key data in a storage area corresponding to the selected channel data, and a plurality of storage areas corresponding to the plurality of storage areas of the first storage means. The key data stored in each storage area of the first storage means is stored in the corresponding storage area, and each of the stored and stored key data is stored in each storage area of the tone generation means. Second storage means for supplying each of the plurality of tone generation channels, level detection means for detecting the volume level of each tone generated by each tone generation channel of the tone generation means, and each of the level detection means for detecting each of the tone levels. When it is detected that the volume level of the tone generation channel is below a predetermined level, the acquisition and storage of the key data in each storage area of the second storage means corresponding to each tone generation channel is permitted. An electronic musical instrument provided with control means.
チャンネルを有し各楽音発生チャンネルにて前記鍵盤で
押された鍵を表す鍵データに基づき楽音を発生する楽音
発生手段とを備えた電子楽器において、 プログラム処理により、前記鍵盤にて新たに押された鍵
を検出して同新たに押された鍵を鍵盤の押離鍵状態に応
じて前記複数の楽音発生チャンネルのいずれかに割当
て、同割当てた楽音発生チャンネルを表すチャンネルデ
ータ及び同新たに押された鍵を表す鍵データを出力する
マイクロコンピュータと、 前記複数の楽音発生チャンネルに対応した複数の記憶領
域をそれぞれ有し、前記出力されたチャンネルデータに
対応した記憶領域に前記出力された鍵データを新たな鍵
が押される毎に交互に記憶する第1記憶手段及び第2記
憶手段と、 前記第1記憶手段の各記憶領域又は前記第2記憶手段の
対応する各記憶領域のいずれか各一方に記憶されている
鍵データを各記憶領域毎に前記楽音発生手段の同各記憶
領域に対応した各楽音発生チャンネルに選択的に供給す
る選択手段と、 前記楽音発生手段の各楽音発生チャンネルにて発生され
る各楽音の音量レベルをそれぞれ検出するレベル検出手
段と、 前記レベル検出手段により前記各楽音発生チャンネルの
音量レベルが所定レベル以下になったことがそれぞれ検
出されたとき、前記第1記憶手段の同各楽音発生チャン
ネルに対応した各記憶領域又は前記第2記憶手段の対応
する各記憶領域から前記楽音発生手段の対応する各楽音
発生チャンネルへの鍵データの前記選択手段による選択
的供給を切換える制御手段と を設けてなる電子楽器。2. A keyboard comprising a plurality of keys, and a musical tone generating means for generating a musical tone based on key data representing a key pressed by the keyboard in each musical tone generating channel having a plurality of musical tone generating channels. In the electronic musical instrument, program processing detects a key newly pressed on the keyboard, and the newly pressed key is placed on any one of the plurality of musical sound generation channels in accordance with the key release state of the keyboard. Assigned, a microcomputer for outputting channel data representing the assigned tone generation channels and key data representing the newly pressed key, and a plurality of storage areas respectively corresponding to the plurality of tone generation channels, First storage means and second storage means for alternately storing the output key data in a storage area corresponding to the output channel data each time a new key is pressed. , The key data stored in any one of the storage areas of the first storage means or the corresponding storage areas of the second storage means is stored in each storage area of the tone generation means in each storage area. Selecting means for selectively supplying to each corresponding tone generating channel; level detecting means for detecting the volume level of each tone generated in each tone generating channel of the tone generating means; When it is detected that the volume level of each tone generation channel is below a predetermined level, each storage area of the first storage means corresponding to each tone generation channel or each storage of the second storage means. Control means for switching the selective supply of the key data by the selecting means from the area to the corresponding tone generating channels of the tone generating means. Musical instrument.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60164919A JPH06100912B2 (en) | 1985-07-25 | 1985-07-25 | Electronic musical instrument |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60164919A JPH06100912B2 (en) | 1985-07-25 | 1985-07-25 | Electronic musical instrument |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6224299A JPS6224299A (en) | 1987-02-02 |
| JPH06100912B2 true JPH06100912B2 (en) | 1994-12-12 |
Family
ID=15802342
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60164919A Expired - Lifetime JPH06100912B2 (en) | 1985-07-25 | 1985-07-25 | Electronic musical instrument |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06100912B2 (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US361086A (en) | 1887-04-12 | sgheidl |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US3610806A (en) * | 1969-10-30 | 1971-10-05 | North American Rockwell | Adaptive sustain system for digital electronic organ |
| JPS5541482A (en) * | 1978-09-20 | 1980-03-24 | Nippon Musical Instruments Mfg | Electronic musical instrument |
| JPS578066U (en) * | 1980-06-05 | 1982-01-16 | ||
| JPS5953894A (en) * | 1982-09-22 | 1984-03-28 | ヤマハ株式会社 | Automatic rhythm performer |
| JPS6083998A (en) * | 1983-10-14 | 1985-05-13 | ヤマハ株式会社 | Utterance allotting apparatus for electronic musical instrument |
-
1985
- 1985-07-25 JP JP60164919A patent/JPH06100912B2/en not_active Expired - Lifetime
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US361086A (en) | 1887-04-12 | sgheidl |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6224299A (en) | 1987-02-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3243821B2 (en) | Electronic musical instrument | |
| US5610353A (en) | Electronic musical instrument capable of legato performance | |
| JPH0213318B2 (en) | ||
| JPH06100912B2 (en) | Electronic musical instrument | |
| JPS6262358B2 (en) | ||
| JP2722665B2 (en) | Tone generator | |
| JP2932841B2 (en) | Electronic musical instrument | |
| US5229534A (en) | Envelope generating apparatus | |
| US4368658A (en) | Apparatus for solo harmony transfer in an electronic musical instrument | |
| JPH0155469B2 (en) | ||
| JP3543124B2 (en) | Automatic accompaniment device | |
| JP3018620B2 (en) | Electronic musical instrument | |
| JP3278857B2 (en) | Musical tone generator | |
| JP3129119B2 (en) | Envelope waveform generator | |
| JPS61173297A (en) | Electronic musical instrument | |
| JPH055357B2 (en) | ||
| JPH10124050A (en) | Electronic musical instrument | |
| JP3508139B2 (en) | Digital signal processor | |
| JP4124434B2 (en) | Electronic musical instrument with digital sound source | |
| JPH0130156B2 (en) | ||
| JPS6261279B2 (en) | ||
| JP3469717B2 (en) | Electronic musical instrument and its key information assigning device | |
| JP2814479B2 (en) | Electronic musical instrument | |
| JP4246869B2 (en) | Audio waveform signal playback control device | |
| JP3106051B2 (en) | Electronic musical instrument |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |