JPH0362277B2 - - Google Patents

Info

Publication number
JPH0362277B2
JPH0362277B2 JP58010687A JP1068783A JPH0362277B2 JP H0362277 B2 JPH0362277 B2 JP H0362277B2 JP 58010687 A JP58010687 A JP 58010687A JP 1068783 A JP1068783 A JP 1068783A JP H0362277 B2 JPH0362277 B2 JP H0362277B2
Authority
JP
Japan
Prior art keywords
key
data
state
musical tone
circuit
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
Application number
JP58010687A
Other languages
Japanese (ja)
Other versions
JPS59136788A (en
Inventor
Masanobu Chibana
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP58010687A priority Critical patent/JPS59136788A/en
Publication of JPS59136788A publication Critical patent/JPS59136788A/en
Publication of JPH0362277B2 publication Critical patent/JPH0362277B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 この発明は電子楽器に係り、特にキーオン時間
が非常に短い場合における発音制御方法に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to electronic musical instruments, and more particularly to a sound generation control method when the key-on time is very short.

例えば、単音方式の電子楽器(発音チヤンネル
数=1)においては、あるキーが離された直後、
すなわち同キーの楽音が未だデイケイ状態(減衰
状態)にある間に次のキーが押下された場合、デ
イケイ状態にある楽音をダンプさせて(急速に減
衰させて)、次のキーの楽音を発音させる。また、
あるキーが押下されている状態において、より優
先度の高い他のキーが新たに押下された場合、現
在押下中のキーの楽音をダンプさせた後、優先度
の高い他のキーの楽音を発音させる。また、発音
割当方式の電子楽器において、複数の発音チヤン
ネルが全て発音割当済のとき、新たなキーが押下
された場合、発音中の楽音の中でデイケイ状態に
ある楽音をダンプさせ、その発音チヤンネルに新
たに押下されたキーを割当て、楽音を発音させ
る。このように、発音チヤンネル数が限られてい
る電子楽器においては、より優先度の高いキーが
押下された場合、現在発音中の楽音のいずれかを
ダンプさせて優先度の高いキーの楽音を発音させ
る。
For example, in a single-note electronic musical instrument (number of sounding channels = 1), immediately after a certain key is released,
In other words, if the next key is pressed while the musical tone of the same key is still in the decay state (attenuation state), the musical tone in the decay state will be dumped (rapidly attenuated) and the musical tone of the next key will be produced. let Also,
If a key with a higher priority is pressed while a certain key is being pressed, the musical tone of the currently pressed key is dumped, and then the musical tone of the other key with a higher priority is produced. let In addition, in electronic musical instruments that use the sound assignment method, when a new key is pressed when all of the multiple sound channels have been assigned sounds, the musical sound that is in the decay state among the musical sounds that are being sounded is dumped, and that sound channel is Assigns the newly pressed key to the key and produces a musical tone. In this way, in electronic instruments with a limited number of sounding channels, when a key with a higher priority is pressed, one of the musical tones currently being sounded is dumped and the musical sound of the key with a higher priority is played. let

ところで、従来のこのような電子楽器において
は、新たに発音すべきキーの押鍵時間(発音すべ
き時間)が非常に短い場合、優先的に楽音発生を
すべきであるにもかかわらず、同キーの楽音が充
分に発音されなかつたりする事態が生じる。例え
ば第1図イは、単音方式の電子楽器におけるある
キーK1の押鍵時間を示し、同図ロはキーK1よ
り優先度の高いキーK2の押鍵時間を示し、ま
た、同図ハはキーK1の楽音のエンベロープ波形
を示す。なお、同図ハにおける符号S0〜S4は各々
無音状態(キーオフ状態)、アタツク状態、サス
テイン状態、デイケイ状態、ダンプ状態を示す。
この第1図に示すように、キーK2が、キーK1
の楽音がダンプ状態S4にある間に離鍵された場
合、キーK2の楽音は全く発音されない。また、
第2図において、イ〜ハは各々第1図イ〜ハに対
応する波形であり、ニはキーK2の楽音のエンベ
ロープ波形である。なお、この図は設定されてい
る音色がパーカツシブ系の音色の場合、すなわ
ち、アタツク状態S1が終了後即座にデイケイ状態
S3へ移行する楽音の場合である。この第2図に示
す例の場合、キーK2の楽音がアタツク状態S1
途中においてデイケイ状態S3に入つてしまい、こ
の結果キーK2の楽音が充分に発音されないこと
となる。
By the way, in such conventional electronic musical instruments, when the pressing time of a new key (time to produce a sound) is very short, even though musical sound should be generated with priority, the same A situation arises in which the musical tones of the keys are not sufficiently produced and are distorted. For example, Fig. 1A shows the key press time of a certain key K1 in a single-note electronic musical instrument, Fig. 1B shows the key press time of key K2, which has a higher priority than key K1, and Fig. 1C shows the key press time of a certain key K1 in a single-note electronic musical instrument. The envelope waveform of the K1 musical tone is shown. Note that symbols S 0 to S 4 in FIG.
As shown in FIG. 1, the key K2 is the key K1
If the key is released while the musical tone of key K2 is in the dump state S4 , the musical tone of key K2 will not be produced at all. Also,
In FIG. 2, A to C are waveforms corresponding to A to C in FIG. 1, respectively, and D is an envelope waveform of the musical tone of key K2. Note that this diagram shows a case where the set tone is a percussive type tone, that is, the decay state is activated immediately after the attack state S1 ends.
This is the case for musical tones transitioning to S3 . In the case of the example shown in FIG. 2, the musical tone of key K2 enters the decay state S3 in the middle of the attack state S1 , and as a result, the musical tone of key K2 is not sufficiently produced.

この発明は上述した事情に鑑み、優先度の高い
キーの発音時間が非常に短い場合においても、同
キーの楽音を不自然でない範囲において充分に発
音させることができる電子楽器における発音制御
方法を提供するものであり、本発明による電子楽
器における楽音制御方法は、所望のキーに対応す
る楽音の発生を指示する楽音発生指令に応答して
該キーに対応する楽音を発生させるように構成さ
れた電子楽器において、 新たな楽音発生指令が与えられた時点におい
て、 (a) 現在楽音を発生していない場合には、該楽音
発生指令により指示される楽音発生時間に対応
して新たな楽音を発生し、 (b) 現在楽音を発生している場合には、この現在
発生中の楽音を急激に減衰させると共に、該楽
音発生指令により指示される楽音発生時間が所
定時間より短くても新たな楽音を発生すべき時
間を少なくとも該急激に減衰させるのに要する
時間より長い時間とみなして該新たな楽音を発
生させる ことを特徴とする。
In view of the above-mentioned circumstances, the present invention provides a sound production control method for an electronic musical instrument that can sufficiently produce musical tones of a high-priority key within a range that is not unnatural even when the sound production time of a high-priority key is very short. A musical tone control method for an electronic musical instrument according to the present invention includes an electronic musical instrument configured to generate a musical tone corresponding to a desired key in response to a musical tone generation command that instructs generation of a musical tone corresponding to a desired key. When a new musical sound generation command is given to a musical instrument, (a) if it is not currently generating a musical sound, it shall generate a new musical sound in accordance with the musical sound generation time specified by the musical sound generation command; (b) If a musical tone is currently being generated, the currently generated musical tone is rapidly attenuated, and a new musical tone is generated even if the musical tone generation time specified by the musical tone generation command is shorter than the predetermined time. The present invention is characterized in that the new musical tone is generated by regarding the time to be generated as longer than the time required for at least the rapid attenuation.

以下、図面を参照し、この発明の一実施例につ
いて説明する。第3図はこの発明による発音制御
方法を適用した電子楽器の構成を示すブロツク図
である。この図において、符号1は鍵盤であり、
この鍵盤1の各キーには各々キー操作検出用のキ
ースイツチが設けられている。押鍵検出回路2
は、鍵盤1の各キースイツチの出力を順次走査す
ることにより各キーのオン/オフ状態を検出し、
オン状態にあるキーのキーコードKCを順次出力
する。なお、キーコードKCはキーの音高が高く
なるほどその値が大となるように設定されてい
る。
Hereinafter, one embodiment of the present invention will be described with reference to the drawings. FIG. 3 is a block diagram showing the configuration of an electronic musical instrument to which the sound generation control method according to the present invention is applied. In this figure, numeral 1 is a keyboard;
Each key on the keyboard 1 is provided with a key switch for detecting key operations. Key press detection circuit 2
detects the on/off state of each key by sequentially scanning the output of each key switch on keyboard 1,
The key codes KC of the keys in the on state are output in sequence. Note that the key code KC is set so that the higher the pitch of the key, the greater its value.

最高音検出回路3は、押鍵検出回路2から出力
されるキーコードKCを順次相互に比較すること
により、最も値の大きいキーコードKC(すなわ
ち、押下されているキーの中の最高音キーのキー
コードKC)を検出し、検出したキーコードKCを
キーコードMKCとしてラツチ回路4へ出力し、
また、キーコードMKCを出力している間キーオ
ン信号KON1(“1”信号)を微分回路5へ出力
する。この場合、キーオン信号KON1は、キー
コードMKCがいつたん「0」とならず、連続的
に変化した場合、変化時点において極めて短時間
“0”信号となり、再び“1”信号に戻る(第9
図イ〜ニ、第10図イ〜ニ参照)。
The highest note detection circuit 3 sequentially compares the key codes KC output from the pressed key detection circuit 2 with each other to find the key code KC with the largest value (that is, the highest note key among the pressed keys). Detects the key code KC), outputs the detected key code KC as the key code MKC to the latch circuit 4,
Further, while outputting the key code MKC, a key-on signal KON1 (“1” signal) is outputted to the differentiating circuit 5. In this case, if the key code MKC does not become "0" at once, but changes continuously, the key-on signal KON1 becomes a "0" signal for a very short time at the time of change, and returns to a "1" signal again (9th
(See Figures I to D and Figure 10 A to D).

微分回路5はキーオン信号KON1の立上りに
おいて幅の狭いキーオンパルスKONPを発生す
る回路であり、発生したキーオンパルスKONP
はラツチ回路4のロード端子L、アンドゲート6
の一方の入力端およびエンベロープジエネレータ
(以下、EGと略称する)7へ供給される。アンド
ゲート6は、EG7から出力される信号SS0をイ
ンバータ8によつて反転した信号によつて開閉制
御されるゲートであり、その出力はワンシヨツト
回路9へ供給される。ワンシヨツト回路9は、ア
ンドゲート6を介して供給されるキーオンパルス
KONPによつてトリガされ、所定時間Tの間
“1”信号を出力する回路であり、このワンシヨ
ツト回路9の出力信号はキーオン信号KON2と
してオアゲート10へ供給される。
The differentiator circuit 5 is a circuit that generates a narrow key-on pulse KONP at the rising edge of the key-on signal KON1, and the generated key-on pulse KONP
is the load terminal L of the latch circuit 4, and the AND gate 6
and an envelope generator (hereinafter abbreviated as EG) 7. AND gate 6 is a gate whose opening and closing are controlled by a signal obtained by inverting signal SS 0 outputted from EG 7 by inverter 8 , and its output is supplied to one shot circuit 9 . The one-shot circuit 9 receives a key-on pulse supplied via the AND gate 6.
This circuit is triggered by KONP and outputs a "1" signal for a predetermined time T, and the output signal of this one shot circuit 9 is supplied to the OR gate 10 as a key-on signal KON2.

オアゲート10はキーオン信号KON2と、キ
ーオン信号KON1とのオアをとる回路であり、
その出力信号はキーオン信号KONとしてEG7へ
供給される。しかして、上述した構成要素6,
8,9,10がキーオン時間修正回路11を構成
している。
The OR gate 10 is a circuit that takes the OR of the key-on signal KON2 and the key-on signal KON1,
The output signal is supplied to the EG7 as a key-on signal KON. Therefore, the above-mentioned component 6,
8, 9, and 10 constitute a key-on time correction circuit 11.

ここで、上述したキーオン時間修正回路11の
機能について説明する。なお、以下の説明におい
ては、アンドゲート6が開状態にあるとする。第
4図イ〜ニは各々キーオン信号KON1、キーオ
ンパルスKONP、キーオン信号KON2、キーオ
ン信号KONを示す波形図である。これらの図に
示すように、キーオン信号KON1のパルス幅が
キーオン信号KON2のパルス幅T(前述した所定
時間)より大の場合は、キーオン信号KONおよ
びキーオン信号KON1のパルス幅が同一となり、
一方、キーオン信号KON1のパルス幅がキーオ
ン信号KON2のパルス幅Tより小の場合は、キ
ーオン信号KONのパルス幅がキーオン信号KON
2のパルス幅Tと同一になる。すなわち、キーオ
ン時間修正回路11は、キーオン信号KON1の
パルス幅が所定時間Tより大の場合は、キーオン
信号KON1をそのままキーオン信号KONとして
出力し、一方、キーオン信号KON1のパルス幅
が所定時間Tより小の場合は、キーオン信号
KON1のパルス幅を拡大し、パルス幅Tのキー
オン信号KONとして出力する。
Here, the function of the key-on time correction circuit 11 mentioned above will be explained. In the following description, it is assumed that the AND gate 6 is in an open state. FIGS. 4A to 4D are waveform diagrams showing the key-on signal KON1, key-on pulse KONP, key-on signal KON2, and key-on signal KON, respectively. As shown in these figures, when the pulse width of the key-on signal KON1 is larger than the pulse width T (predetermined time described above) of the key-on signal KON2, the pulse widths of the key-on signal KON and the key-on signal KON1 are the same,
On the other hand, if the pulse width of the key-on signal KON1 is smaller than the pulse width T of the key-on signal KON2, then the pulse width of the key-on signal KON is smaller than the pulse width T of the key-on signal KON2.
It becomes the same as the pulse width T of 2. That is, when the pulse width of the key-on signal KON1 is greater than the predetermined time T, the key-on time correction circuit 11 outputs the key-on signal KON1 as it is as the key-on signal KON; If small, key-on signal
The pulse width of KON1 is expanded and output as a key-on signal KON with pulse width T.

次に、音色選択回路13は音色選択用の複数の
音色スイツチおよびエンコーダを有して構成され
るもので、オン状態とされた音色スイツチの出力
をコード化し、音色データTDとして楽音信号形
成部14およびEG7へ出力する。
Next, the timbre selection circuit 13 includes a plurality of timbre switches and an encoder for selecting timbres, and encodes the output of the timbre switch that is turned on, and outputs it as timbre data TD to the musical tone signal forming section 14. and output to EG7.

EG7は、キーオン信号KON、キーオンパルス
KONPおよび音色選択回路13から出力される
音色データTDに基づいて、例えば第1図ハある
いは第2図ハに示すようにその値が遂次変化する
エンベロープデータEDを作成し、楽音信号形成
部14へ出力する回路であり、その詳細を第5図
に示す。第5図においてエンベロープレートメモ
リ16は、エンベロープ波形の各状態(以下、ス
テートと称す)S0〜S4に各々対応する5種類のレ
ートデータRD「α0」〜「α4」からなるデータ群
が音色データTDの各々に対応して記憶されてい
るメモリであり、各データ群が音色データTDに
よつて指定され、指定されたデータ群内の各レー
トデータRDがステート制御回路17から出力さ
れるステートデータSTに応じて読出される。な
お、上述したレートデータBD「α0」および「α2
の値はいずれのデータ群においても0である。ゲ
ート回路18は演算タイミング発生回路19から
出力されるタイミング信号TPによつて開閉制御
されるゲート回路であり、開状態の時レートデー
タRDを演算回路20へ出力し、また、閉状態の
時はデータ「0」を出力する。演算タイミング発
生回路19はクロツクパルスφおよび音色データ
TDに基づいてクロツクパルスφに同期し、かつ
音色毎に異なるタイミング信号TPを発生し、ゲ
ート回路18へ出力する。なお、この回路19に
ついては後に詳述する。
EG7 uses key-on signal KON, key-on pulse
Based on the tone color data TD outputted from KONP and the tone color selection circuit 13, envelope data ED whose value changes sequentially as shown in FIG. 1C or FIG. The details are shown in FIG. In FIG. 5, the envelope plate memory 16 stores a data group consisting of five types of rate data RD "α 0 " to "α 4 " corresponding to each state (hereinafter referred to as "state") S 0 to S 4 of the envelope waveform. is a memory stored in correspondence with each tone color data TD, each data group is specified by the tone color data TD, and each rate data RD in the specified data group is outputted from the state control circuit 17. It is read out according to the state data ST. In addition, the rate data BD “α 0 ” and “α 2 ” mentioned above
The value of is 0 in all data groups. The gate circuit 18 is a gate circuit whose opening/closing is controlled by the timing signal TP output from the calculation timing generation circuit 19, and outputs the rate data RD to the calculation circuit 20 when it is in the open state, and outputs the rate data RD to the calculation circuit 20 when it is in the closed state. Outputs data “0”. The calculation timing generation circuit 19 receives clock pulse φ and tone data.
Based on TD, a timing signal TP which is synchronized with the clock pulse φ and different for each tone is generated and outputted to the gate circuit 18. Note that this circuit 19 will be explained in detail later.

演算回路20は、その入力端子Aへ供給される
データと、入力端子Bへ供給されるデータとを加
算または減算する回路であり、そのコントロール
端子CへステートS0〜S2のいずれかを示すステー
トデータSTが供給された場合は、入力端子A、
Bの各データを加算して出力し、一方、コントロ
ール端子CへステートS3またはS4を示すステート
データSTが供給された場合は、入力端子Bのデ
ータから入力端子Aのデータを減算して出力す
る。デイレイフリツプフロツプ(以下、DFFと
略称する)21は、クロツクパルスφが供給され
る毎に演算回路20の出力データを読込み、読込
んだデータをエンベロープデータEDとして楽音
信号形成部14(第3図)へ出力する。
The arithmetic circuit 20 is a circuit that adds or subtracts data supplied to its input terminal A and data supplied to its input terminal B, and indicates one of states S 0 to S 2 to its control terminal C. When state data ST is supplied, input terminal A,
On the other hand, if state data ST indicating state S 3 or S 4 is supplied to control terminal C, the data at input terminal A is subtracted from the data at input terminal B. Output. A delay flip-flop (hereinafter abbreviated as DFF) 21 reads the output data of the arithmetic circuit 20 every time a clock pulse φ is supplied, and uses the read data as envelope data ED in the tone signal forming section 14 (third Output to (Figure).

一方、エンベロープレベルメモリ22は、各音
色データTDに対応するレベルデータLDが記憶
されているメモリであり、ステートS0、S2〜S4
示すステートデータSTが各々供給された場合は
データ「0」を出力し、ステートS1を示すステー
トデータSTが供給された場合は、音色データ
TDに対応する値のレベルデータLDを比較回路
23へ出力する。比較回路23はレベルデータ
LDとエンベロープデータEDとを比較し、両者が
一致した場合に一致信号EQ(“1”信号)をステ
ート制御回路17へ出力する。ステート制御回路
17は、一致信号EQ、キーオン信号KON等に基
づいてステートデータSTを作成し、回路各部へ
出力し、また、アタツクパルスAPをラツチ回路
25(第3図)のロード端子Lへ出力する。な
お、このステート制御回路17の詳細は後に説明
する。S0検出回路26は、ステート制御回路17
からステートS0を示すステートデータSTが出力
された時これを検出し、信号SS0(“1”信号)を
出力する回路であり、出力された信号SS0はイン
バータ8(第3図)の入力端へ供給される。
On the other hand, the envelope level memory 22 is a memory in which level data LD corresponding to each timbre data TD is stored, and when state data ST indicating states S 0 , S 2 to S 4 are supplied, data " If state data ST indicating state S 1 is supplied, tone data
Level data LD having a value corresponding to TD is output to the comparison circuit 23. Comparison circuit 23 is level data
LD and envelope data ED are compared, and if they match, a match signal EQ (“1” signal) is output to the state control circuit 17. The state control circuit 17 creates state data ST based on the coincidence signal EQ, key-on signal KON, etc., and outputs it to each part of the circuit, and also outputs the attack pulse AP to the load terminal L of the latch circuit 25 (FIG. 3). . Note that details of this state control circuit 17 will be explained later. The S 0 detection circuit 26 is connected to the state control circuit 17
This is a circuit that detects when state data ST indicating state S 0 is output from , and outputs a signal SS 0 (“1” signal), and the output signal SS 0 is sent to the inverter 8 (Figure 3). Supplied to the input end.

次に、第3図に示すラツチ回路25は、アタツ
クパルスAPが供給された時ラツチ回路4に記憶
されているキーコードMKCを読込み、楽音信号
形成部14へ出力する。楽音信号形成部14は、
ラツチ回路25から供給されるキーコードMKC、
音色選択回路13から供給される音色データ
TD、EG7から供給されるエンベロープデータ
EDに基づいて楽音信号を形成し、サウンドシス
テム28へ出力する。サウンドシステム28は供
給された楽音信号を楽音して発音する。
Next, the latch circuit 25 shown in FIG. 3 reads the key code MKC stored in the latch circuit 4 when the attack pulse AP is supplied, and outputs it to the tone signal forming section 14. The musical tone signal forming section 14 is
Key code MKC supplied from latch circuit 25,
Tone data supplied from the tone selection circuit 13
Envelope data supplied from TD and EG7
A musical tone signal is formed based on the ED and output to the sound system 28. The sound system 28 generates musical sounds based on the supplied musical tone signals.

次に、上述した電子楽器の動作を、第6図に示
すステート制御回路17の動作フローチヤートを
参照し、種々のキー操作例に基づいて説明する。
なお、以下の説明においてはゲート回路18(第
5図)が常時開状態にあるものとして説明する。
Next, the operation of the electronic musical instrument described above will be explained based on various key operation examples with reference to the operation flowchart of the state control circuit 17 shown in FIG.
In the following description, it is assumed that the gate circuit 18 (FIG. 5) is always open.

最初に、第7図イに示す時刻t1においてキーG3
(第3オクターブG音キー)のみがオンとされ、
時刻t2においてキーG3がオフとされた場合の動作
を説明する。
First, at time t 1 shown in FIG. 7A, key G 3 is pressed.
(3rd octave G note key) only is turned on,
The operation when the key G3 is turned off at time t2 will be explained.

まず、電源が投入されると、DFF21(第5
図)がリセツトされ、また、ステート制御回路1
7が第6図に示すステツプSP1の処理へ進み、ス
テートS0(キーオフステート)を示すステートデ
ータSTを出力する。このステートデータSTがス
テート制御回路17から出力され、エンベロープ
レートメモリ16へ供給されると、エンベロープ
レートメモリ16から音色データTDに対応する
レートデータRD「α0」(=0)が出力され、ゲー
ト回路18を介して演算回路20へ供給される。
演算回路20はレートデータRD「0」と、DFF
21の出力データ「0」とを加算し、この加算結
果「0」をDFF21の入力端へ供給する。DFF
21は、クロツクパルスφに基づいて加算結果
「0」を読込み、エンベロープデータEDとして出
力する。以下、クロツクパルスφが供給される毎
にDFF21にデータ「0」が読込まれ、したが
つて、エンベロープデータEDは「0」の状態を
続ける。そして、この状態はレートデータRDが
「0」以外の値に変化するまで続く。
First, when the power is turned on, DFF21 (fifth
) is reset, and the state control circuit 1
7 proceeds to step SP1 shown in FIG. 6, and outputs state data ST indicating state S0 (key-off state). When this state data ST is output from the state control circuit 17 and supplied to the envelope plate memory 16, the rate data RD "α 0 " (=0) corresponding to the tone data TD is output from the envelope plate memory 16, and the gate It is supplied to the arithmetic circuit 20 via the circuit 18.
The arithmetic circuit 20 outputs the rate data RD “0” and the DFF
21, and the addition result "0" is supplied to the input end of the DFF 21. DFF
21 reads the addition result "0" based on the clock pulse φ and outputs it as envelope data ED. Thereafter, data "0" is read into the DFF 21 every time the clock pulse φ is supplied, and therefore the envelope data ED continues to be "0". This state continues until the rate data RD changes to a value other than "0".

また、ステート制御回路17からステートS0
示すステートデータSTが出力されると、S0検出
回路26から信号SS0(“1”信号)が出力され、
インバータ8へ供給される。これにより、インバ
ータ8から“0”信号が出力され、アンドゲート
6が閉状態となる。
Further, when the state control circuit 17 outputs the state data ST indicating the state S 0 , the S 0 detection circuit 26 outputs the signal SS 0 (“1” signal),
It is supplied to the inverter 8. As a result, a "0" signal is output from the inverter 8, and the AND gate 6 is closed.

次に、時刻t1において鍵盤1のキーG3がオンと
されると、最高音検出回路3からキーコード
MKC(この場合、キーG3のキーコードKC)およ
びキーオン信号KON1(“1”信号)が出力さ
れ、キーコードMKCがラツチ回路4へ、キーオ
ン信号KON1が微分回路5およびキーオン時間
修正回路11へ各々供給される。キーオン信号
KON1が微分回路5へ供給されると、微分回路
5からキーオンパルスKONP(“1”信号)が出
力され、ラツチ回路4、アンドゲート6および
EG7のステート制御回路17へ供給される。ラ
ツチ回路4へキーオンパルスKONPが供給され
ると、キーコードMKCがラツチ回路4に読込ま
れ、ラツチ回路25へ出力される。アンドゲート
6へ供給されたキーオンパルスKONPは、この
時アンドゲート6が閉状態にあることからワンシ
ヨツト回路9へ供給されない。すなわち、この場
合ワンシヨツト回路9からキーオン信号KON2
が出力されることはなく、したがつて、キーオン
信号KON1はそのままキーオン信号KONとして
EG7へ出力される。EG7のステート制御回路1
7へキーオンパルスKONPが供給されると、こ
のキーオンパルスKONPがステツプSP2(第6図)
によつて検出され、ステツプSP3へ進む。ステツ
プSP3では、アタツクパルスAPがラツチ回路2
5へ出力される。これにより、ラツチ回路4内の
キーコードMKC(キーG3のキーコードKC)がラ
ツチ回路25に読込まれ、楽音信号形成部14へ
供給される。次に、ステツプSP4へ進むと、ステ
ートS1(アタツクステート)を示すステートデー
タSTがステート制御回路17から出力される。
そして、このステートデータSTがエンベロープ
レートメモリ16およびエンベロープレベルメモ
リ22へ供給されると、エンベロープレートメモ
リ16からレートデータRD「α1」が出力され、
ゲート回路18を介して演算回路20の入力端子
Aへ供給され、また、エンベロープレベルメモリ
22からレベルデータLDが出力され、比較回路
23の入力端子Aへ供給される。演算回路20の
入力端子AへレートデータRD「α1」が供給され
ると、この時エンベロープデータEDが「0」で
あることから、演算回路20からデータ「α1+0
=α1」が出力される。このデータ「α1」はクロツ
クパルスφによつてDFF21に読込まれ、エン
ベロープデータEDとして楽音信号形成部14へ
供給されると共に、演算回路20の入力端子Bへ
供給される。演算回路20の入力端子Bへエンベ
ロープデータED「α1」が供給されると、演算回路
20からデータ「α1+α1=2α1」が出力され、こ
のデータ「2α1」が次のクロツクパルスφによつ
てDFF21に読込まれ、エンベロープデータED
として出力される。以下、クロツクパルスφが
DFF21へ供給される毎に、DFF21から逐次
増加するエンベロープデータED「3α1」「4α1」…
…が順次出力され、楽音信号形成部14へ供給さ
れる(アタツクステートS1)。そして、このエン
ベロープデータEDがエンベロープレベルメモリ
22から出力されているレベルデータLDと同一
のデータ「nα1」とする)になると、比較回路2
3から一致信号EQ(“1”信号)が出力され、ス
テート制御回路17へ供給される。
Next, when key G 3 of keyboard 1 is turned on at time t 1 , the key code is sent from the highest note detection circuit 3.
MKC (in this case, key code KC of key G 3 ) and key-on signal KON1 (“1” signal) are output, key code MKC goes to latch circuit 4, and key-on signal KON1 goes to differentiation circuit 5 and key-on time correction circuit 11. Each is supplied. key on signal
When KON1 is supplied to the differentiator circuit 5, the key-on pulse KONP (“1” signal) is output from the differentiator circuit 5, and the latch circuit 4, AND gate 6 and
It is supplied to the state control circuit 17 of EG7. When the key-on pulse KONP is supplied to the latch circuit 4, the key code MKC is read into the latch circuit 4 and output to the latch circuit 25. The key-on pulse KONP supplied to the AND gate 6 is not supplied to the one-shot circuit 9 because the AND gate 6 is in the closed state at this time. That is, in this case, the key-on signal KON2 is output from the one-shot circuit 9.
is not output, therefore, the key-on signal KON1 is used as the key-on signal KON.
Output to EG7. EG7 state control circuit 1
When the key-on pulse KONP is supplied to step 7, this key-on pulse KONP goes to step SP 2 (Figure 6)
is detected by , and the process proceeds to step SP3 . At step SP 3 , the attack pulse AP is connected to the latch circuit 2.
5. As a result, the key code MKC (key code KC of key G 3 ) in the latch circuit 4 is read into the latch circuit 25 and supplied to the tone signal forming section 14 . Next, when the process advances to step SP4 , state data ST indicating state S1 (attack state) is output from state control circuit 17.
Then, when this state data ST is supplied to the envelope plate memory 16 and the envelope level memory 22, the rate data RD "α 1 " is output from the envelope plate memory 16,
The level data LD is supplied to the input terminal A of the arithmetic circuit 20 via the gate circuit 18 , and the level data LD is outputted from the envelope level memory 22 and supplied to the input terminal A of the comparator circuit 23 . When the rate data RD "α 1 " is supplied to the input terminal A of the arithmetic circuit 20, since the envelope data ED is "0" at this time, the data "α 1 +0" is supplied from the arithmetic circuit 20.
= α 1 ” is output. This data "α 1 " is read into the DFF 21 by the clock pulse φ, and is supplied to the tone signal forming section 14 as envelope data ED, as well as to the input terminal B of the arithmetic circuit 20. When the envelope data ED "α 1 " is supplied to the input terminal B of the arithmetic circuit 20, the arithmetic circuit 20 outputs the data "α 11 = 2α 1 ", and this data "2α 1 " is used as the next clock pulse φ. The envelope data ED is read into DFF21 by
is output as Below, the clock pulse φ is
Envelope data ED "3α 1 ""4α 1 " increases sequentially from DFF 21 every time it is supplied to DFF 21...
... are sequentially output and supplied to the musical tone signal forming section 14 (attack state S 1 ). When this envelope data ED becomes the same data "nα 1 " as the level data LD output from the envelope level memory 22, the comparator circuit 2
A match signal EQ (“1” signal) is outputted from 3 and supplied to the state control circuit 17.

一方、ステート制御回路17は、前述したステ
ツプSP4の処理の後、ステツプSP5〜SP7の判断
を繰返し行う。すなわち、ステツプSP5ではキー
オンパルスKONPが“1”信号に立上つたか否
か(すなわち、アタツクステートの途中において
キーコードMKCが変化したか否か)、ステツプ
SP6ではキーオン信号KONが“0”信号に立下
つたか否か(すなわち、アタツクステートの途中
においてキーが離鍵されたか否か)、ステツプ
SP7では一致信号EQが“1”信号に立上つたか
否かの判断を行う。そして、ステツプSP7におけ
る判断結果が「YES」になると、ステツプSP8
進む。なお、ステツプSP5における判断結果が
「YES」の場合はステツプSP9へ進み、また、ス
テツプSP6における判断結果が「YES」の場合は
ステツプSP10へ進む。ステツプSP8では、ステー
トS2(サステインステート)を示すステートデー
タSTが出力される。次いで、ステツプSP11へ進
むと、音色データTDが持続音(第1図ハに示す
ようにサステインステートS2を有する楽音)の音
色データであるか否かが判断される。そして、こ
の判断結果が「YES」の場合はステツプSP12
進む。一方、判断結果が「NO」の場合、すなわ
ち、音色データTDがパーカツシブ系楽音の音色
データであつた場合は、ステツプSP10へ進み、
ステートS3(デイケイステート)を示すステート
データSTが出力される。すなわち、音色データ
TDがパーカツシブ系楽音の音色データであつた
場合は、ステートS2を示すステートデータSTが
極めて短時間しか出力されない。言い換えれば、
パーカツシブ系楽音の場合、実質的にステートS2
を示すステートデータSTが出力されることはな
い。
On the other hand, the state control circuit 17 repeatedly performs the determinations in steps SP5 to SP7 after the process in step SP4 described above. That is, in step SP5 , it is determined whether the key-on pulse KONP has risen to a "1" signal (that is, whether the key code MKC has changed during the attack state).
In SP 6 , the step determines whether the key-on signal KON has fallen to a "0" signal (that is, whether the key has been released in the middle of the attack state).
At SP7 , it is determined whether the coincidence signal EQ has risen to a "1" signal. If the judgment result in step SP7 becomes "YES", the process advances to step SP8 . Note that if the determination result in step SP5 is "YES", the process advances to step SP9 , and if the determination result in step SP6 is "YES", the process advances to step SP10 . At step SP8 , state data ST indicating state S2 (sustain state) is output. Next, in step SP11 , it is determined whether the tone color data TD is tone color data of a sustained tone (a musical tone having a sustain state S2 as shown in FIG. 1C). If the result of this judgment is "YES", the process advances to step SP12 . On the other hand, if the judgment result is "NO", that is, if the tone data TD is tone data of a percussive musical sound, proceed to step SP10 .
State data ST indicating state S 3 (decay state) is output. In other words, the timbre data
If TD is timbre data of a percussive musical tone, state data ST indicating state S2 is output only for a very short time. In other words,
In the case of percussive musical tones, it is essentially state S 2 .
State data ST indicating this is never output.

さて、音色データTDが持続音の音色データの
場合は、ステートS2を示すステートデータSTが
出力された時点以降、値の変化しないエンベロー
プデータEDがDFF21から連続的に出力され
る。すなわち、ステートS2を示すステートデータ
STがステート制御回路17から出力され、エン
ベロープレートメモリ16へ供給されると、エン
ベロープレートメモリ16からレートデータRD
「α2」(=0)が出力され、ゲート回路18を介し
て演算回路20の入力端子Aへ供給される。この
結果、この時点でDFF21に保持されているデ
ータ「nα1」が以後エンベロープデータEDとして
連続的に出力される(サステインステートS2)。
一方、このエンベロープデータED「nα1」がDFF
21から出力されている間、ステート制御回路1
7はステツプSP12、SP13の判断を繰返し行う。
すなわち、SP12ではキーオンパルスKONPが
“1”信号に立上つたか否か(キーコードMKCが
変化したは否か)、ステツプSP13ではキーオン信
号KONが“0”信号に立下つたか否か(キーオ
フか否か)の判断が行われる。そして、ステツプ
SP13での判断結果が「YES」になると、ステツ
プSP12へ進み、ステートS3を示すステートデー
タSTが出力される。なお、ステツプSP12におけ
る判断結果が「YES」になつた場合はステツプ
SP9へ進む。
Now, when the tone color data TD is tone color data of a sustained tone, envelope data ED whose value does not change is continuously outputted from the DFF 21 after the time point when the state data ST indicating state S2 is outputted. i.e. state data indicating state S 2
When ST is output from the state control circuit 17 and supplied to the envelope plate memory 16, the rate data RD is output from the envelope plate memory 16.
“α 2 ” (=0) is output and supplied to the input terminal A of the arithmetic circuit 20 via the gate circuit 18 . As a result, the data "nα 1 " held in the DFF 21 at this point is continuously output as envelope data ED (sustain state S 2 ).
On the other hand, this envelope data ED “nα 1 ” is DFF
21, the state control circuit 1
Step 7 repeats the judgments in steps SP 12 and SP 13 .
That is, at step SP 12 , it is determined whether the key-on pulse KONP has risen to a "1" signal (or whether the key code MKC has changed or not), and at step SP 13 , it is determined whether the key-on signal KON has fallen to a "0" signal. (key-off or not) is determined. And the steps
When the determination result at SP13 becomes "YES", the process advances to step SP12 , and state data ST indicating state S3 is output. In addition, if the judgment result in step SP 12 is "YES", step
Proceed to SP 9 .

ステート制御回路17からステツプS3を示すス
テートデータSTが出力されると、エンベロープ
レートメモリ16、エンベロープレベルメモリ2
2から各々レートデータRD「α3」、データ「0」
が出力され、また、演算回路20が以後減算回路
として動作する。エンベロープレートメモリ16
からレートデータRD「α3」が出力され、ゲート
回路18を介して演算回路20の入力端子Aへ供
給されると、この時点でエンベロープデータED
が「nα1」であることから、演算回路20からデ
ータ「nα1−α3」が出力される。そして、このデ
ータ「nα1−α3」がDFF21に読込まれ、エンベ
ロープデータEDとして楽音信号形成部14へ出
力されると共に、演算回路20の入力端子Bへ供
給される。演算回路20の入力端子Bへデータ
「nα1−α3」が供給されると、演算回路20から
データ「nα1−α2−α3=nα1−2α3」が出力され、
DFF21に読込まれ、エンベロープデータEDと
してDFF21から出力される。以下、順次減少
するエンベロープデータED「nα1−3α3」、「nα1
3」……がDFF21から出力される(デイケイ
ステートS3)。そして、時刻te(第7図ロ)におい
てエンベロープデータEDが「0」になると、比
較回路23から一致信号EQ(“1”信号)が出力
され、ステート制御回路17へ供給される。
When the state control circuit 17 outputs the state data ST indicating step S3 , the envelope plate memory 16 and the envelope level memory 2
From 2, rate data RD “α 3 ” and data “0” respectively.
is output, and the arithmetic circuit 20 thereafter operates as a subtraction circuit. envelope plate memory 16
When the rate data RD "α 3 " is outputted from the gate circuit 18 and supplied to the input terminal A of the arithmetic circuit 20, at this point the envelope data ED
is “nα 1 ”, the arithmetic circuit 20 outputs data “nα 1 −α 3 ”. Then, this data “nα 1 −α 3 ” is read into the DFF 21 and output as envelope data ED to the tone signal forming section 14 and also supplied to the input terminal B of the arithmetic circuit 20. When the data "nα 1 - α 3 " is supplied to the input terminal B of the arithmetic circuit 20, the data "nα 1 - α 2 - α 3 = nα 1 -2α 3 " is outputted from the arithmetic circuit 20.
The data is read into the DFF 21 and output from the DFF 21 as envelope data ED. Below, the envelope data ED "nα 1 −3α 3 ", "nα 1
3 ”... is output from the DFF 21 (decay state S 3 ). Then, when the envelope data ED becomes "0" at time te (FIG. 7B), a match signal EQ ("1" signal) is output from the comparison circuit 23 and supplied to the state control circuit 17.

一方、このデイケイステートS3の間、ステート
制御回路17はステツプSP14、SP15の判断を繰
返し行う。すなわち、ステツプSP14ではキーオ
ンパルスKONが“1”信号に立上つか否か(キ
ーコードMKCが変化したか否か)、ステツプ
SP15では一致信号EQが“1”信号に立上つたか
否かの判断を行う。そして、一致信号EQが“1”
信号に立上り、ステツプSP15における判断結果
が「YES」になると、再び前述したステツプSP1
へ戻る。なお、ステツプSP14における判断結果
が「YES」となつた場合はステツプSP9へ進む。
On the other hand, during this Decay state S3 , the state control circuit 17 repeatedly makes the determinations in steps SP14 and SP15 . That is, in step SP14 , it is determined whether the key-on pulse KON rises to a "1" signal (whether or not the key code MKC has changed).
At SP15 , it is determined whether the coincidence signal EQ has risen to a "1" signal. Then, the match signal EQ is “1”
When the signal rises and the judgment result in step SP 15 becomes "YES", the above-mentioned step SP 1 is carried out again.
Return to Incidentally, if the judgment result in step SP14 is "YES", the process advances to step SP9 .

このように、第7図イに示す時刻t1においてキ
ーG3がオンされると、まず、最高音検出回路3
からキーコードMKCとしてキーG3のキーコード
KCが出力され、このキーコードKCがキーオンパ
ルスKONPによつてラツチ回路4に読込まれる。
次いで、このラツチ回路4内のキーコードMKC
がアタツクパルスAPによつてラツチ回路25に
読込まれ、楽音信号形成部14へ供給される。一
方、EG7はキーオンパルスKONPが供給された
時点以降、第7図ロに示すエンベロープデータ
EDを作成し、順次楽音信号形成部14へ出力す
る。楽音信号形成部14はラツチ回路25から供
給されるキーG3のキーコードMKCに対応する音
高を有し、かつ、音色データTDに対応する音色
を有する楽音信号を形成し、この楽音信号にEG
7から供給されるエンベロープデータEDに対応
するエンベロープを付与してサウンドシステム2
8へ出力する。これにより、サウンドシステム2
8からキーG3の楽音が発音される。
In this way, when the key G 3 is turned on at time t 1 shown in FIG.
Keycode of key G 3 as keycode MKC from
KC is output, and this key code KC is read into the latch circuit 4 by the key-on pulse KONP.
Next, the key code MKC in this latch circuit 4
is read into the latch circuit 25 by the attack pulse AP and supplied to the musical tone signal forming section 14. On the other hand, EG7 generates the envelope data shown in Figure 7B after the key-on pulse KONP is supplied.
An ED is created and sequentially output to the musical tone signal forming section 14. The musical tone signal forming section 14 forms a musical tone signal having a pitch corresponding to the key code MKC of key G3 supplied from the latch circuit 25 and a tone color corresponding to the tone data TD, and applies E.G.
Sound system 2 adds an envelope corresponding to the envelope data ED supplied from 7.
Output to 8. This allows sound system 2
The musical tone of key G 3 is sounded from 8.

以上が、キーG3のみが操作された場合におけ
るこの電子楽器の動作である。
The above is the operation of this electronic musical instrument when only key G3 is operated.

次に、キーG3の楽音がデイケイステートS3
ある時、キーG3より高音側のキーC4が第7図ハ
に示すように極めて短時間(前述した所定時間T
より短い時間)オンとされた場合における動作を
説明する。まず、第7図ハに示す時刻t3において
キーC4がオンとされると、最高音検出回路3か
らキーコードMKCとしてキーC4のキーコード
KCが出力され(第7図ニ参照)、また、キーオン
信号KON1が“1”信号に立上る〔第7図ホ参
照)。キーオン信号KON1が“1”信号に立上る
と、微分回路5からキーオンパルスKONP(第7
図ヘ)が出力される。これにより、ラツチ回路4
にキーC4のキーコードKCが読込まれる(第7図
リ)。なお、この時、ラツチ回路25にはキーG3
のキーコードKCが保持されている(第7図ヌ)。
また、この時点においてステート制御回路17か
らはステートS3を示すステートデータSTが出力
されており、したがつて、信号SS0が“0”信号
の状態にあり、インバータ8の出力が“1”信号
の状態にある。この結果、キーオンパルス
KONPがアンドゲート6を介してワンシヨツト
回路9へ供給され、ワンシヨツト回路9からパル
ス幅Tのキーオン信号KON2(第7図ト)が出
力される。これにより、キーオン信号KON1の
パルス幅が拡大される。すなわち、パルス幅Tの
キーオン信号KONがオアゲート10から出力さ
れる(第7図チ)。また、前述した時刻t3よりわ
ずか前においては、キーG3の楽音がデイケイス
テートS3にあり、したがつて、ステート制御回路
17が第6図に示すステツプSP14、SP15の判断
を繰返し行つている。したがつて、時刻t3におい
て微分回路5からキーオンパルスKONPが出力
されると、このキーオンパルスKONPがステツ
プSP14によつて検出され、ステート制御回路1
7がステツプSP9の処理へ進む。ステツプSP9
は、ステートS4(ダンプステート)を示すステー
トデータSTが出力される。これにより、エンベ
ロープレートメモリ16からレートデータRD
「α4」が出力され、ゲート回路18を介して演算
回路20へ供給され、また、エンベロープレベル
メモリ22からデータ「0」が出力され、比較回
路23へ供給される。ここで、レートデータRD
「α4」はレートデータRD「α3」より大きな値に設
定されている。また、演算回路20はステートデ
ータSTがステートS4を示すデータの場合に、減
算回路として動作する。したがつて、以後、エン
ベロープデータEDの値が第7図オに示すように
急速に減衰する(ダンプステートS4)。そして、
時刻tb(第7図オ)においてエンベロープデータ
EDが「0」に達すると、比較回路23から一致
信号EQが出力され、ステート制御回路17へ供
給される。この一致信号EQ(“1”信号)はステ
ツプSP16によつて検出され、ステート制御回路
17の処理がステツプSP3へ進む。ステツプSP3
では、アタツクパルスAPがラツチ回路25へ出
力される(第7図ル)。これにより、ラツチ回路
4内のキーC4のキーコードKCがラツチ回路25
に読込まれ、楽音信号形成部14へ出力される
(第7図ヌ参照)。
Next, when the musical tone of key G 3 is in Decay state S 3 , key C 4 , which is higher than key G 3 , is activated for an extremely short period of time (predetermined time T as described above) as shown in FIG. 7C.
(for a shorter period of time) will be explained below. First, when key C 4 is turned on at time t 3 shown in FIG.
KC is output (see FIG. 7D), and the key-on signal KON1 rises to a "1" signal (see FIG. 7E). When the key-on signal KON1 rises to the “1” signal, the key-on pulse KONP (7th
Figure F) is output. As a result, the latch circuit 4
The key code KC for key C4 is read (see Figure 7). At this time, the latch circuit 25 has the key G 3
The key code KC is held (Fig. 7).
Also, at this point, the state control circuit 17 is outputting the state data ST indicating state S3 , so the signal SS0 is in the "0" state, and the output of the inverter 8 is "1". It is in a signal state. This results in a key-on pulse
KONP is supplied to the one-shot circuit 9 through the AND gate 6, and the one-shot circuit 9 outputs a key-on signal KON2 (FIG. 7) having a pulse width T. As a result, the pulse width of the key-on signal KON1 is expanded. That is, a key-on signal KON having a pulse width T is outputted from the OR gate 10 (FIG. 7H). Also, slightly before the aforementioned time t3 , the musical tone of key G3 is in decay state S3 , and therefore the state control circuit 17 makes the determinations in steps SP14 and SP15 shown in FIG. I've been there repeatedly. Therefore, when the key-on pulse KONP is output from the differentiating circuit 5 at time t3 , this key-on pulse KONP is detected at step SP14 , and the state control circuit 1
7 proceeds to step SP9 . At step SP9 , state data ST indicating state S4 (dump state) is output. As a result, the rate data RD is stored in the envelope plate memory 16.
“α 4 ” is outputted and supplied to the arithmetic circuit 20 via the gate circuit 18 , and data “0” is outputted from the envelope level memory 22 and supplied to the comparison circuit 23 . Here, rate data RD
“α 4 ” is set to a value larger than the rate data RD “α 3 ”. Further, the arithmetic circuit 20 operates as a subtraction circuit when the state data ST indicates state S4 . Therefore, thereafter, the value of the envelope data ED rapidly attenuates as shown in FIG. 7E (dump state S 4 ). and,
Envelope data at time tb (Fig. 7 O)
When ED reaches "0", the comparison circuit 23 outputs a match signal EQ, which is supplied to the state control circuit 17. This coincidence signal EQ ("1" signal) is detected at step SP16 , and the processing of the state control circuit 17 proceeds to step SP3 . Step SP 3
Then, the attack pulse AP is output to the latch circuit 25 (see FIG. 7). As a result, the key code KC of key C 4 in latch circuit 4 is changed to latch circuit 25.
and output to the musical tone signal forming section 14 (see No. 7 in FIG. 7).

以後、前述した場合と同様に、EG7から順次
エンベロープデータEDが出力され(第7図オ参
照)、楽音信号形成部14へ供給される。楽音信
号形成部14は、キーC4の楽音信号を形成し、
サウンドシステム28へ出力する。これにより、
キーC4の楽音が発音される。
Thereafter, the envelope data ED is sequentially outputted from the EG 7 (see O in FIG. 7) and supplied to the tone signal forming section 14, as in the case described above. The musical tone signal forming section 14 forms a musical tone signal for key C4 ,
Output to the sound system 28. This results in
The musical tone of key C 4 is sounded.

以上の過程において、キーC4がオフとされた
時刻t4が時刻tbより前の場合は、従来の電子楽器
においてはキーC4の楽音が全く発音されない。
しかし、この実施例による電子楽器においては、
キーオン信号KON1のパルス幅がTに拡大され、
したがつてキーC4のキーオン時間がTであると
して処理されるので、キーC4の楽音を充分発音
することができる。ここで、時間Tの設定、すな
わち、ワンシヨツト回路9の時定数の設定は、第
7図チおよびオから明らかなように、ダンプステ
ートS4の時間とアタツクステートS1の時間の和よ
りわずかに長い時間に設定しておけばよい。
In the above process, if the time t 4 when the key C 4 is turned off is before the time tb, the musical tone of the key C 4 is not produced at all in the conventional electronic musical instrument.
However, in the electronic musical instrument according to this embodiment,
The pulse width of the key-on signal KON1 is expanded to T,
Therefore, since the key-on time of key C4 is processed as being T, the musical tone of key C4 can be sufficiently produced. Here , as is clear from FIG. You can set it to a long time.

次に、第8図はキーG3がオフとされた直後に
キーC4が極めて短時間オンとされ、このキーC4
がオフとされた直後にキーC4より高音側のキー
E4が短時間オンとされた場合における回路各部
の出力信号の波形図である。この場合、同図オに
示すように、キーG3がオフとされるとエンベロ
ープデータEDがまずデイケイステートS3になり、
次いで、キーC4がオンとされるとダンプステー
トS4になる。エンベロープデータEDがこのダン
プステートS4にある間にキーC4がオフとされ、
次いでキーE4がオンとされると、キーG3のダン
プステートS4が終了しアタツクパルスAPが出力
された時点で、ラツチ回路4にはキーE4のキー
コードKCが記憶されており、したがつて、キー
G3の楽音発生が終了した時点以後、キーE4の楽
音発生が行われる。すなわち、この図に示す場
合、キーC4の楽音発生は行われない。なお、第
8図トにおいてキーオン信号KON2のパルス幅
が時間Tより長くなつている理由は、ワンシヨツ
ト回路9が再トリガされているからである。
Next, in FIG. 8, immediately after key G 3 is turned off, key C 4 is turned on for a very short time, and this key C 4
Immediately after the key C is turned off, a key higher than key C 4
5 is a waveform diagram of output signals from various parts of the circuit when E4 is turned on for a short time. FIG. In this case, as shown in O in the same figure, when key G 3 is turned off, envelope data ED first becomes Decay state S 3 ,
Next, when the key C4 is turned on, the dump state S4 is entered. Key C 4 is turned off while envelope data ED is in this dump state S 4 ,
Next, when the key E4 is turned on, the key code KC of the key E4 is stored in the latch circuit 4 when the dump state S4 of the key G3 is completed and the attack pulse AP is output. key
After the musical tone generation of key E 4 is completed, the musical tone generation of key E 4 is performed. That is, in the case shown in this figure, musical tone generation for key C4 is not performed. The reason why the pulse width of the key-on signal KON2 is longer than the time T in FIG. 8 is that the one-shot circuit 9 has been retriggered.

次に、第9図は、キーG3がオンとされている
間にキーC4がオンとされ(時刻t1)、オフとされ
(時刻t2)、再びオンとされ(時刻t3)、そして、
キーC4がオンとされている間にキーG3がオフと
され(時刻t4)た場合である。この場合、楽音発
生状態は。同図ルに示すエンベロープデータED
の波形から明らかなように、まずキーG3の楽音
がダンプされ、次いでキーC4の楽音発生が行わ
れ、次いでキーC4の楽音がダンプされ、次いで
キーG3の楽音発生が行われ、次いでキーG3の楽
音がダンプされ、次いでキーC4の楽音発生が行
われる。
Next, in FIG. 9, while key G 3 is on, key C 4 is turned on (time t 1 ), turned off (time t 2 ), and turned on again (time t 3 ). ,and,
This is a case where the key G3 is turned off (time t4 ) while the key C4 is turned on. In this case, the musical tone generation state is. Envelope data ED shown in the figure
As is clear from the waveform, first the musical tone of key G 3 is dumped, then the musical tone of key C 4 is generated, then the musical tone of key C 4 is dumped, then the musical tone of key G 3 is generated, Next, the tone of key G3 is dumped, and then the tone of key C4 is generated.

次に、第10図はキーG3がオンとされている
間にキーC4がオンとされ、オフとされ、このオ
フとされた直後に再びオンとされた場合であり、
この場合、キーC4のオフ時間t0がキーC4の楽音の
ダンプ時間より短かい時は、同図ルから明らかな
ようにキーC4の楽音のダンプステートS4が終了
した時点以降再びキーC4の楽音が発生する。
Next, FIG. 10 shows a case where key C 4 is turned on while key G 3 is turned on, then turned off, and then turned on again immediately after being turned off.
In this case, when the off time t 0 of key C 4 is shorter than the dump time of the musical tone of key C 4 , as is clear from the same diagram, the musical tone of key C 4 will be restarted after the end of the dump state S 4 of the musical tone of key C 4. Key C 4 musical tone is generated.

最後に、第5図に示す演算タイミング発生回路
19について説明する。この演算タイミング発生
回路19はエンベロープ波形の傾きを制御するた
めの回路である。例えば、アタツクステートS1
おいて、レートデータRD「α1」をクロツクパル
スφの2周期に1回演算回路20へ供給するよう
にすれば、アタツクステートS1の傾きを1/2とす
ることができる。同様に、3周期に1回供給する
ようにすれば、傾きを1/3にすることができる。
演算タイミング発生回路19はクロツクパルスφ
および音色データTDに基づいてゲート回路18
を開閉制御するタイミングパルスTPを発生し、
これにより、エンベロープ波形の各ステートの傾
きを制御するものである。
Finally, the calculation timing generation circuit 19 shown in FIG. 5 will be explained. This calculation timing generation circuit 19 is a circuit for controlling the slope of the envelope waveform. For example, if the rate data RD "α 1 " is supplied to the arithmetic circuit 20 once every two periods of the clock pulse φ in the attack state S 1, the slope of the attack state S 1 can be reduced to 1/2. I can do it. Similarly, if it is supplied once every three cycles, the slope can be reduced to 1/3.
The calculation timing generation circuit 19 receives a clock pulse φ
and the gate circuit 18 based on the tone data TD.
Generates timing pulse TP to control opening and closing of
This controls the slope of each state of the envelope waveform.

なお、第3図に示すアンドゲート6を挿入して
いる理由は、全てのキーがオフの状態(ステート
S0)から新たにキーが押下された時には、キーオ
ンパルスKON1の拡大を行わず、そのままの長
さで発音させるためである。
The reason for inserting the AND gate 6 shown in Fig. 3 is when all keys are off (state
This is because when a new key is pressed from S 0 ) onwards, the key-on pulse KON1 is not expanded and is generated with the same length.

以上が第3図および第5図に示すこの発明の一
実施例の詳細である。
The above are details of one embodiment of the present invention shown in FIGS. 3 and 5.

なお、上述した実施例においては発音すべき時
間が極めて短い場合に、発音されないことがある
が(第8図、第10図参照)、発音すべき楽音を
全て発音するように構成することも可能である。
この場合、最高音検出回路3から新たなキーコー
ドMKCが出力されるたびにこれを順次メモリに
記憶させ、ダンプステートが終了するたびに先に
記憶させたキーコードMKCを読出して楽音信号
形成部14へ供給すればよい。この場合、メモリ
に別のキーコードMKCが記憶されている時は、
常に楽音をダンプさせる。
Note that in the above-mentioned embodiment, if the time for which sound should be produced is extremely short, sound may not be produced (see Figures 8 and 10), but it is also possible to configure the system so that all musical tones that should be produced are produced. It is.
In this case, each time a new key code MKC is output from the highest note detection circuit 3, it is sequentially stored in the memory, and each time the dump state ends, the previously stored key code MKC is read out and the tone signal forming section 14. In this case, if another key code MKC is stored in the memory,
Always dump the musical tone.

また、上述した実施例は最高音優先方式の単音
電子楽器であるが、この発明は発音割当方式の複
音電子楽器、あるいは後着音優先方式の単音電子
楽器等に適用することも勿論可能である。
Further, although the above-described embodiment is a single-note electronic musical instrument that uses the highest tone priority method, it is of course possible to apply the present invention to a multiple-tone electronic musical instrument that uses a pronunciation assignment method, or a single-note electronic musical instrument that uses a later note priority method, etc. .

また、上述した実施例はキーオン信号KONに
よりEG7を制御しているが、この発明は、マイ
クロコンピユータを用いた電子楽器において行わ
れるように、キーオン、キーオフに対応してイベ
ントパルスを発生し、このイベントパルスによつ
てEGを制御するものにも適用可能である。
Further, in the above-described embodiment, the EG7 is controlled by the key-on signal KON, but in the present invention, event pulses are generated in response to key-on and key-off, as is done in electronic musical instruments using a microcomputer. It is also applicable to those that control the EG using event pulses.

また、上記実施例においては、ダンプステート
S4からアタツクステートS1へ移るタイミングを、
エンベロープデータEDが「0」になつた時点と
しているが、ダンプステートS4の持続時間が所定
時間に達した時、あるいはエンベロープデータ
EDの値がダンプ開始時から所定の値だけ下つた
時にアタツクステートS1へ移行させてもよい。
In addition, in the above embodiment, the dump state
The timing of moving from S 4 to attack state S 1 is
It is assumed that the envelope data ED becomes "0", but it is assumed that the duration of the dump state S4 reaches a predetermined time, or the envelope data
The transition may be made to the attack state S1 when the value of ED has decreased by a predetermined value from the time when the dump was started.

さらに、ダンプステートS4の傾き、あるいは前
述した所定時間Tを各々音色データTDに応じて
変化させるようにしてもよい。
Furthermore, the slope of the dump state S4 or the aforementioned predetermined time T may be changed in accordance with the tone color data TD.

以上説明したように、この発明によれば、所望
のキーに対応する楽音の発生を指示する楽音発生
指令に応答して該キーに対応する楽音を発生させ
るように構成された電子楽器において、 新たな楽音発生指令が与えられた時点におい
て、 (a) 現在楽音を発生していない場合には、該楽音
発生指令により指示される楽音発生時間に対応
して新たな楽音を発生し、 (b) 現在楽音を発生している場合には、この現在
発生中の楽音を急激に減衰させると共に、該楽
音発生指令により指示される楽音発生時間が所
定時間より短くても新たな楽音を発生すべき時
間を少なくとも該急激に減衰させるのに要する
時間より長い時間とみなして該新たな楽音を発
生させるようにしたので、楽音発生中に短い押
鍵継続時間による押鍵がなされた場合、同キー
の楽音が不自然でない範囲で充分に発音され、
かつ、楽音発生中でない場合については、押鍵
継続時間に対して忠実な発音時間による発音が
行われる。従つて、電子楽器の性能が著しく向
上するという効果が得られる。
As described above, according to the present invention, in an electronic musical instrument configured to generate a musical tone corresponding to a desired key in response to a musical tone generation command that instructs generation of a musical tone corresponding to the desired key, At the time when a musical sound generation command is given, (a) if no musical sound is currently being generated, generate a new musical sound corresponding to the musical sound generation time specified by the musical sound generation command; (b) If a musical tone is currently being generated, the currently generated musical tone is rapidly attenuated, and a new musical tone is to be generated even if the musical tone generation time specified by the musical tone generation command is shorter than a predetermined time. Since the new musical tone is generated with at least a time longer than the time required for the rapid attenuation, if a key is pressed with a short key press duration while a musical tone is being generated, the musical tone of the same key is is pronounced sufficiently within a range that is not unnatural,
In addition, when a musical tone is not being generated, the tone generation is performed with a tone generation time that is faithful to the key press duration time. Therefore, it is possible to obtain the effect that the performance of the electronic musical instrument is significantly improved.

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

第1図および第2図は各々従来の電子楽器の欠
点を説明するための波形図、第3図はこの発明の
一実施例の構成を示すブロツク図、第4図は同実
施例におけるキーオン時間修正回路11の機能を
説明するための波形図、第5図は同実施例におけ
るEG7の詳細を示すブロツク図、第6図は第5
図におけるステート制御回路17の動作フローチ
ヤート、第7図〜第10図は各々同実施の動作を
説明するための波形図である。 3……最高音検出回路、4……ラツチ回路、5
……微分回路、7……エンベロープジエネレー
タ、9……ワンシヨツト回路、10……オアゲー
ト、14……楽音信号形成部、25……ラツチ回
路。
1 and 2 are waveform diagrams for explaining the drawbacks of conventional electronic musical instruments, FIG. 3 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 4 is a key-on time in the same embodiment. A waveform diagram for explaining the function of the correction circuit 11, FIG. 5 is a block diagram showing details of EG7 in the same embodiment, and FIG.
The operation flowchart of the state control circuit 17 in the figure and FIGS. 7 to 10 are waveform diagrams for explaining the operation of the same implementation. 3...Top sound detection circuit, 4...Latch circuit, 5
. . . Differential circuit, 7 . . . Envelope generator, 9 . . . One shot circuit, 10 .

Claims (1)

【特許請求の範囲】 1 所望のキーに対応する楽音の発生を指示する
楽音発生指令に応答して該キーに対応する楽音を
発生させるように構成された電子楽器において、 新たな楽音発生指令が与えられた時点におい
て、 (a) 現在楽音を発生していない場合には、該楽音
発生指令により指示される楽音発生時間に対応
して新たな楽音を発生し、 (b) 現在楽音を発生している場合には、この現在
発生中の楽音を急激に減衰させると共に、該楽
音発生指令により指示される楽音発生時間が所
定時間より短くても新たな楽音を発生すべき時
間を少なくとも該急激に減衰させるのに要する
時間より長い時間とみなして該新たな楽音を発
生させる ことを特徴とする電子楽器における発音制御方
法。
[Scope of Claims] 1. In an electronic musical instrument configured to generate a musical tone corresponding to a desired key in response to a musical tone generation command instructing the generation of a musical tone corresponding to the key, a new musical tone generation command is provided. At a given time, (a) if a musical tone is not currently being generated, a new musical tone is generated corresponding to the musical tone generation time specified by the musical tone generation command; (b) if a musical tone is not currently being generated; If the musical tone currently being generated is suddenly attenuated, and even if the musical tone generation time specified by the musical tone generation command is shorter than the predetermined time, the time at which a new musical tone should be generated is at least suddenly reduced. A sound generation control method for an electronic musical instrument, characterized in that the new musical tone is generated by regarding the time as longer than the time required for decay.
JP58010687A 1983-01-25 1983-01-25 Enunciation control for musical instrument Granted JPS59136788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58010687A JPS59136788A (en) 1983-01-25 1983-01-25 Enunciation control for musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58010687A JPS59136788A (en) 1983-01-25 1983-01-25 Enunciation control for musical instrument

Publications (2)

Publication Number Publication Date
JPS59136788A JPS59136788A (en) 1984-08-06
JPH0362277B2 true JPH0362277B2 (en) 1991-09-25

Family

ID=11757179

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58010687A Granted JPS59136788A (en) 1983-01-25 1983-01-25 Enunciation control for musical instrument

Country Status (1)

Country Link
JP (1) JPS59136788A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2548113B2 (en) * 1985-01-07 1996-10-30 松下電器産業株式会社 Electronic musical instrument

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56121093A (en) * 1980-02-27 1981-09-22 Casio Computer Co Ltd Input device for keyboard electronic music instrument

Also Published As

Publication number Publication date
JPS59136788A (en) 1984-08-06

Similar Documents

Publication Publication Date Title
EP0310133B1 (en) Tone signal generation device
JPS5865487A (en) Electronic musical instrument
US4909119A (en) Musical tone control system with a pedal for adding a musical effect to a musical tone
JPH0362277B2 (en)
JPH0318197B2 (en)
JPS6068387A (en) Electronic musical instrument
JPS626240B2 (en)
US5284080A (en) Tone generating apparatus utilizing preprogrammed fade-in and fade-out characteristics
JP2754646B2 (en) Electronic musical instrument
JPS637394B2 (en)
JPS59139095A (en) Electronic musical instrument
US5116192A (en) Tone generation device capable of generating a special tone
JP2560817B2 (en) Waveform data reader
US4018123A (en) Automatic rhythm performing apparatus capable of expressing stressed and relaxed beats of rhythm
JP2560348B2 (en) Music signal generator
US5229535A (en) Electronic musical instrument with a filter device having a relay
JPH038558B2 (en)
JP2666762B2 (en) Electronic musical instrument
JPS6335992B2 (en)
JPS6334474B2 (en)
JP2586094B2 (en) Tone generator
JP2953217B2 (en) Electronic musical instrument
JPH0130156B2 (en)
JP3508139B2 (en) Digital signal processor
JP2613788B2 (en) Tone generator