JPS6365155B2 - - Google Patents

Info

Publication number
JPS6365155B2
JPS6365155B2 JP56187597A JP18759781A JPS6365155B2 JP S6365155 B2 JPS6365155 B2 JP S6365155B2 JP 56187597 A JP56187597 A JP 56187597A JP 18759781 A JP18759781 A JP 18759781A JP S6365155 B2 JPS6365155 B2 JP S6365155B2
Authority
JP
Japan
Prior art keywords
signal
envelope
key
output
opening
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP56187597A
Other languages
Japanese (ja)
Other versions
JPS5888792A (en
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 filed Critical
Priority to JP56187597A priority Critical patent/JPS5888792A/en
Publication of JPS5888792A publication Critical patent/JPS5888792A/en
Publication of JPS6365155B2 publication Critical patent/JPS6365155B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 本発明は押鍵によりROMに記憶された楽音波
形を読み出し、それにエンベロープ信号を掛け合
わせて楽音信号を得る電子楽器に関し、鍵を押し
ている長さに関係なく、離鍵後直ちに、かつ滑ら
かに楽音の減衰が開始され、しかも自然楽器固有
の立ち下りと非常によく似た立ち下りを付加する
ことができるようにしたものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an electronic musical instrument that reads a musical sound waveform stored in a ROM when a key is pressed and obtains a musical sound signal by multiplying it by an envelope signal. The musical tone immediately and smoothly begins to decay immediately after the sound is played, and it is possible to add a falling sound that is very similar to the falling sound characteristic of natural musical instruments.

従来より自然楽器音を発生させる方法として、
発生させようとする楽音一周期分の波形をROM
等に記憶しておき、そのROMを読み出して楽音
波形を発生し、それに予め別途記憶させてあるエ
ンベロープ信号を掛け合わせるという方法があ
る。すなわち、第1図に示すようなエンベロープ
波形をROM等に記憶させておき、鍵の押圧と同
時にアドレスカウンタ等によりROMの内容を0
番地から読み出し、他のROMから読み出した楽
音波形に掛け合わせるものである。しかし、この
方法では、途中で、例えば47番地の内容を読み出
した時点で鍵を離し、アドレスカウンタを停止さ
せると、常時ROMの47番地の内容を出力するこ
とになり、楽音が減衰しないという問題がある。
また、アドレスカウンタを離鍵後も継続して動作
させると、楽音は減衰はするが、離鍵してから減
衰を開始するまでにかなりの時間を要し、実用に
ならない。
Conventionally, as a method of generating natural musical instrument sounds,
The waveform for one period of the musical tone to be generated is stored in ROM.
There is a method in which the sound waveform is stored in a ROM, etc., and the ROM is read out to generate a musical sound waveform, which is then multiplied by an envelope signal stored separately in advance. In other words, an envelope waveform as shown in Figure 1 is stored in a ROM, etc., and the contents of the ROM are reset to 0 using an address counter or the like at the same time as the key is pressed.
It is read from the address and multiplied by the musical sound waveform read from another ROM. However, with this method, if you release the key and stop the address counter once the contents of address 47 have been read out, the contents of address 47 in the ROM will always be output, resulting in the problem that the musical tone will not decay. There is.
Furthermore, if the address counter continues to operate after the key is released, the musical tone will attenuate, but it will take a considerable amount of time from the time the key is released until the attenuation starts, which is not practical.

本発明は以上の点に鑑みて成されたものであ
り、以下図面に基づき本発明の説明を行なう。
The present invention has been made in view of the above points, and will be explained below based on the drawings.

第2図は本発明一実施例を示すものである。第
2図において、1−1〜1〜nは楽音発生器であ
り、重み付けされた正弦波を発生している。2は
エンベロープメモリであり、発生させようとする
楽音信号に対応するエンベロープ情報を記憶して
いる。この実施例においては、エンベロープメモ
リ2の内容は第1図に示すとおり0番地から127
番地までの128個のデータより成つており、区度
1で示される0〜86番地までが楽音のアタツク・
サステイン部、区間2で示される87〜127番地が
リリース部となつている。3は正弦波発生器であ
り、正弦波信号を発生する。4は乗算器であり、
入力された2つの信号の乗算を行ない出力する。
5はアドレス制御回路であり、押鍵等により与え
られる押鍵信号K0に基づいてエンベロープメモ
リ2に対して読み出し信号Acを送出し、エンベ
ロープ情報の読み出しを行なう。6は加算器であ
り、楽音発生器1−1〜1−nが出力する楽音波
形の加算を行なう。7は開閉信号発生器であり、
押鍵信号K0及び読み出し信号Acに基づいて開閉
信号K1を発生する。8は開閉器であり、開閉信
号K1に基づいて加算器6の出力の開閉を行なう。
9はDAC(デジタル/アナログ変換器)である。
FIG. 2 shows one embodiment of the present invention. In FIG. 2, reference numerals 1-1 to 1 to n are musical tone generators, which generate weighted sine waves. Reference numeral 2 denotes an envelope memory, which stores envelope information corresponding to a musical tone signal to be generated. In this embodiment, the contents of the envelope memory 2 are from address 0 to 127 as shown in FIG.
It consists of 128 pieces of data up to the address, and addresses 0 to 86, indicated by section 1, are the attack and address of musical tones.
Addresses 87 to 127 shown in the sustain section and section 2 are the release section. 3 is a sine wave generator, which generates a sine wave signal. 4 is a multiplier;
The two input signals are multiplied and output.
Reference numeral 5 denotes an address control circuit, which sends a read signal Ac to the envelope memory 2 based on a key press signal K0 given by a key press, etc., and reads envelope information. Reference numeral 6 denotes an adder, which adds the musical waveforms output from the musical tone generators 1-1 to 1-n. 7 is a switching signal generator;
An open/close signal K1 is generated based on the key press signal K0 and the readout signal Ac. 8 is a switch, which opens and closes the output of the adder 6 based on the switching signal K1 .
9 is a DAC (digital/analog converter).

なお、アドレス制御回路5が送出する読み出し
信号Acと押鍵信号K0及び開閉信号K1の関係は第
3図のようになつている。即ち、鍵を押圧すると
押鍵信号K0が“1”になり、読み出し信号Acは
先ず“0”を出力し、次いで、“1”,“2”,“3”
…と順次カウントアツプされていくが、離鍵の時
刻が読み出し信号Acの値が“86”になる前と後、
つまりエンベロープメモリ2において区間1の読
み出しが終了したか否かによつて開閉信号K1
異なるようになつている。
The relationship between the readout signal Ac sent out by the address control circuit 5, the key press signal K0 , and the opening/closing signal K1 is as shown in FIG. That is, when the key is pressed, the key press signal K0 becomes "1", and the read signal Ac first outputs "0", then "1", "2", and "3".
The count is sequentially increased, but the key release time is before and after the value of the readout signal Ac reaches "86".
In other words, the opening/closing signal K1 differs depending on whether reading of section 1 in the envelope memory 2 has been completed or not.

第3図Aは、離鍵の時刻が読み出し信号Acの
値が“86”になる前の場合である。つまり、鍵が
押圧され、押鍵信号K0が“1”になると読み出
し信号Acが“0”からスタートし、順次カウン
トアツプされていく。次いで鍵が離されると、押
鍵信号K0は“0”となるが、読み出し信号Acは
順次カウントアツプされていく。次いで再び鍵が
押圧されると、読み出し信号Acは“0”にリセ
ツトされた後順次カウントアツプされていく。一
方、開閉信号K1は、読み出し信号Acが“0”に
なると同時にその最大値にまで立ち上り、押鍵信
号K0が“0”になると指数関数的に減衰してい
く。
FIG. 3A shows a case where the key release time is before the value of the read signal Ac reaches "86". That is, when the key is pressed and the key press signal K0 becomes "1", the read signal Ac starts from "0" and is sequentially counted up. When the key is then released, the key press signal K0 becomes "0", but the read signal Ac is sequentially counted up. Next, when the key is pressed again, the read signal Ac is reset to "0" and then sequentially counted up. On the other hand, the opening/closing signal K1 rises to its maximum value at the same time as the readout signal Ac becomes "0", and decays exponentially when the key press signal K0 becomes "0".

第3図Bは、読み出し信号Acの値が“86”に
なつた後も鍵を押圧し続け、しばらくして離鍵し
た場合である。つまり、読み出し信号Acが“86”
となつた後にも鍵が押圧され続けると、読み出し
信号Acの値は“86”で停止し、離鍵後に再びカ
ウントアツプされていく。また、離鍵後に新たな
押鍵がない場合は、読み出し信号Acの値は
“127”までカウントした後停止する。一方開閉信
号K1は押鍵と同時に読み出し信号Acに同期して
その最大値まで立ち上るが、離鍵後も立ち下るこ
となく常に一定の値を保持する。
FIG. 3B shows a case where the key is continued to be pressed even after the value of the read signal Ac reaches "86", and the key is released after a while. In other words, the read signal Ac is “86”
If the key continues to be pressed even after , the value of the read signal Ac stops at "86" and is counted up again after the key is released. Further, if there is no new key pressed after the key is released, the value of the read signal Ac counts up to "127" and then stops. On the other hand, the opening/closing signal K1 rises to its maximum value in synchronization with the readout signal Ac at the same time as the key is pressed, but it always maintains a constant value without falling even after the key is released.

なお、上記実施例において、楽音発生器1−1
〜1−nはすべて同一の構成であるが、エンベロ
ープメモリ2が記憶している内容及び発生する正
弦波信号の周波数が異なつており、その正弦波信
号の周波数は、基準となる正弦波発生器の信号周
波数の整数倍即ち高調波関係になつている。
In addition, in the above embodiment, the musical tone generator 1-1
~1-n all have the same configuration, but the contents stored in the envelope memory 2 and the frequency of the generated sine wave signal are different, and the frequency of the sine wave signal is different from that of the reference sine wave generator. is an integer multiple of the signal frequency, that is, has a harmonic relationship.

次に第2図に示す実施例の動作について第4図
と共に説明する。なお、ここでは、説明を平易に
するため、楽音発生器1−1が出力する信号分に
ついてのみ述べることにする。
Next, the operation of the embodiment shown in FIG. 2 will be explained with reference to FIG. 4. In order to simplify the explanation, only the signal output from the musical tone generator 1-1 will be described here.

押鍵により押鍵信号K0が立ち上ると、第3図
A,Bに示すようにアドレス制御回路5が読み出
し信号Acをエンベロープメモリ2に、開閉信号
発生器7が開閉信号K1を開閉器8に、それぞれ
送出する。その結果、まず、読み出し信号Acに
基づいてエンベロープメモリ2がエンベロープ信
号を出力する(第4図A)。一方正弦波発生器3
が正弦波信号を出力し、この正弦波信号は乗算器
4において前述のエンベロープ信号と掛け合わさ
れ、楽音発生器1−1から出力される。他の楽音
発生器1−nにおいても同様にしてエンベロープ
信号が掛け合わされた正弦波信号が出力され、そ
れらを加算器6で加算する。このとき、前述のよ
うに各楽音発生器1−1〜1−nの出力する信号
の周波数は高調波関係になつているので、加算器
6の出力は、独立エンベロープを有する複数の高
調波を正弦波合成したものになる。
When the key press signal K0 rises due to a key press, the address control circuit 5 sends the readout signal Ac to the envelope memory 2, and the open/close signal generator 7 sends the open/close signal K1 to the switch 8, as shown in FIGS. 3A and 3B. , respectively. As a result, first, the envelope memory 2 outputs an envelope signal based on the read signal Ac (FIG. 4A). On the other hand, sine wave generator 3
outputs a sine wave signal, this sine wave signal is multiplied by the aforementioned envelope signal in multiplier 4, and output from musical tone generator 1-1. Similarly, the other tone generators 1-n output sine wave signals multiplied by envelope signals, and the adder 6 adds them. At this time, as mentioned above, since the frequencies of the signals output from each musical tone generator 1-1 to 1-n are in a harmonic relationship, the output of the adder 6 has a plurality of harmonics having independent envelopes. It becomes a sine wave composite.

一方、押鍵信号K0が“1”になることにより、
第3図に示すように開閉信号K1が立ち上る(第
4図B)。この開閉信号K1により、開閉器8は加
算器6の出力を減衰させることなくDAC9へと
送出する(第4図Cの0≦t≦τ)。次いでt=
τで鍵が離されると、押鍵信号K0が“0”とな
る。この時点でアドレス制御回路5は“53”を出
力しており、これは第3図で述べた“86”より小
さいので、開閉信号K1は減衰し始める(第4図
B,t>τ)。故に開閉器8の出力は開閉信号K1
と共に減衰していく(第4図Cのt>τ)。他の
楽音発生器1−nについても同様にその出力信号
は開閉器8によつて減衰していく。
On the other hand, when the key press signal K 0 becomes "1",
As shown in FIG. 3, the opening/closing signal K1 rises (FIG. 4B). With this switching signal K1 , the switch 8 sends the output of the adder 6 to the DAC 9 without attenuating it (0≦t≦τ in FIG. 4C). Then t=
When the key is released at τ, the key press signal K0 becomes "0". At this point, the address control circuit 5 is outputting "53", which is smaller than "86" mentioned in Fig. 3, so the opening/closing signal K1 begins to attenuate (Fig. 4B, t>τ). . Therefore, the output of switch 8 is the switching signal K 1
(t>τ in Fig. 4C). Similarly, the output signals of the other tone generators 1-n are attenuated by the switch 8.

以上のようにして離鍵と同時に楽音信号が減衰
するため、離鍵時に、離鍵時の番地のROMの内
容を出力し続けるという問題が解決できる。
As described above, since the musical tone signal attenuates at the same time as the key is released, the problem of continuing to output the contents of the ROM at the address at the time of the key release can be solved.

また、鍵を押圧している時間が充分に長い場合
は、第3図で述べたとおり読み出し信号Acが
“86”で停止し、離鍵と同時にカウントアツプを
開始する。このためただちにエンベロープメモリ
2から87番地以降、即ち区間2のリリース部を読
み出すことになり、離鍵と同時に楽音が減衰し始
める。
Further, if the key is pressed for a sufficiently long time, the read signal Ac stops at "86" as described in FIG. 3, and starts counting up at the same time as the key is released. Therefore, the release part of section 2, which is from address 87 onwards, is immediately read out from the envelope memory 2, and the musical tone begins to attenuate at the same time as the key is released.

以上のように上記実施例によれば、鍵を押して
いる時間に関係なく、離鍵後速やかに、しかも滑
らかに楽音信号を減衰させることができる。
As described above, according to the above embodiment, the musical tone signal can be attenuated quickly and smoothly after the key is released, regardless of how long the key is pressed.

なお、上記実施例においては、開閉信号発生器
7が指数関数的に減衰していく開閉信号を発生す
るものであつたが、実際の自然楽器音の立ち下り
部のエンベロープと同様の開閉信号を発生するよ
うにすれば、更に自然楽器に近い楽音が発生でき
ることは言うまでもない。また、正弦波発生器3
の代わりに、楽音の一波形をくり返し発生させる
ような波形発生器を用いてもよい。
In the above embodiment, the opening/closing signal generator 7 generates an opening/closing signal that decays exponentially. It goes without saying that if this is done, it is possible to generate musical tones that are even closer to those of natural musical instruments. In addition, the sine wave generator 3
Instead, a waveform generator that repeatedly generates one waveform of a musical tone may be used.

第5図は本発明の他の実施例を示すものであ
る。第5図において、第2図と同一の機能を有す
るものについては同一の符号を付し、詳細な説明
は省略する。10は3入力の乗算器である。
FIG. 5 shows another embodiment of the invention. In FIG. 5, parts having the same functions as those in FIG. 2 are designated by the same reference numerals, and detailed explanations will be omitted. 10 is a three-input multiplier.

次に第5図の動作について説明する。基本的な
動作は第2図に示す回路と同様であるので、第2
図の場合と同様第4図を用いて説明を行なう。
Next, the operation shown in FIG. 5 will be explained. The basic operation is the same as the circuit shown in Figure 2, so the second
The explanation will be given using FIG. 4 as in the case of the figure.

押鍵により押鍵信号K0が立ち上ると、第3図
A,Bに示すようにアドレス制御回路5が読み出
し信号Acを、開閉信号発生器7が開閉信号K1
送出する。その結果、まず、読み出し信号Acに
基づいてエンベロープメモリ2がエンベロープ信
号を出力する(第4図A)。一方正弦波発生器3
は正弦波信号を出力する。また、押鍵信号が
“1”になることにより、第3図に示すとおり開
閉信号K1が立ち上る(第4図B)。この開閉信号
K1と前述の正弦波信号、エンベロープ信号が乗
算器10で掛け合わされ、楽音発生器1−1から
出力される。他の楽音発生器1−nにおいても同
様にしてエンベロープ信号と正弦波信号と開閉信
号K1が掛け合わされ、得られた出力を加算器6
で加算する。ここでも、前述のように各楽音発生
器1−1〜1−nの出力する信号の周波数が高調
波関係になつているので、加算器6の出力は、独
立エンベロープを有する複数の高調波を正弦波合
成したものになる。
When the key press signal K0 rises due to a key press, the address control circuit 5 sends out the read signal Ac and the open/close signal generator 7 sends out the open/close signal K1 , as shown in FIGS. 3A and 3B. As a result, first, the envelope memory 2 outputs an envelope signal based on the read signal Ac (FIG. 4A). On the other hand, sine wave generator 3
outputs a sine wave signal. Furthermore, when the key press signal becomes "1", the opening/closing signal K1 rises as shown in FIG. 3 (FIG. 4B). This open/close signal
K1 , the aforementioned sine wave signal, and envelope signal are multiplied by the multiplier 10, and the result is output from the musical tone generator 1-1. In the other musical tone generators 1-n, the envelope signal, the sine wave signal, and the opening/closing signal K1 are multiplied in the same way, and the obtained output is sent to the adder 6.
Add with . Here again, as mentioned above, the frequencies of the signals output from each musical tone generator 1-1 to 1-n are in a harmonic relationship, so the output of the adder 6 has a plurality of harmonics having independent envelopes. It becomes a sine wave composite.

ここで乗算器10の出力について考えると、鍵
が押圧されている間(第4図0≦t≦τ)は、開
閉信号K1はその最大値を出力し続けるため、エ
ンベロープメモリ2の出力に正弦波を掛けあわせ
た信号と等価な信号を出力する。次いでt=τで
鍵が離されると、押鍵信号K0が“0”となる。
この時点でアドレス制御回路5は“53”を出力し
ており、これは第3図で述べた“86”より小さい
ので、開閉信号K1は減衰し始める(第4図Bt>
τ)。故にエンベロープ信号、正弦波、開閉信号
K1を掛け合わせた乗算器10の出力も減衰を開
閉する(第4図C、t>τ)。
Considering the output of the multiplier 10 here, while the key is pressed (0≦t≦τ in Fig. 4), the open/close signal K1 continues to output its maximum value, so the output of the envelope memory 2 is Outputs a signal equivalent to a signal multiplied by a sine wave. Next, when the key is released at t=τ, the key press signal K 0 becomes "0".
At this point, the address control circuit 5 is outputting "53", which is smaller than "86" mentioned in Fig. 3, so the opening/closing signal K1 starts to attenuate (Bt>
τ). Therefore envelope signal, sine wave, open/close signal
The output of the multiplier 10 multiplied by K 1 also opens and closes the attenuation (FIG. 4C, t>τ).

以上のようにして離鍵と同時に楽音信号が減衰
するため、この実施例でも、離鍵時に、離鍵時の
番地のROMの内容を出力し続けるという問題が
解決できる。
As described above, since the musical tone signal attenuates at the same time as the key is released, this embodiment also solves the problem of continuing to output the contents of the ROM at the address at the time of the key release.

また、鍵を押圧している時間が充分に長い場合
は、第3図で述べたとおり読み出し信号Acが
“86”で停止し、離鍵と同時にカウントアツプを
開始する。このためエンベロープメモリ2から87
番地以降、即ち区間2のリリース部を読み出すこ
とになり、離鍵と同時に乗算器10の出力が減衰
し始める。
Further, if the key is pressed for a sufficiently long time, the read signal Ac stops at "86" as described in FIG. 3, and starts counting up at the same time as the key is released. For this reason, envelope memory 2 to 87
After the address, that is, the release portion of section 2 is read out, and the output of the multiplier 10 begins to attenuate at the same time as the key is released.

以上のように第5図の実施例においても、鍵を
押している時間に関係なく、離鍵後速やかに、し
かも滑らかに楽音信号を減衰させることができ
る。また第5図の実施例においては、各楽音発生
器1−1〜1−nにおいて、各開閉信号発生器7
が発生する開閉信号K1を任意に選択することが
できるため、DAC9より出力される楽音信号の
立ち下りを非常に自然楽器に近いものにすること
ができる。
As described above, in the embodiment shown in FIG. 5 as well, the musical tone signal can be attenuated quickly and smoothly after the key is released, regardless of the length of time the key is pressed. Further, in the embodiment shown in FIG. 5, in each musical tone generator 1-1 to 1-n, each opening/closing signal generator 7
Since the opening/closing signal K1 generated by the DAC 9 can be arbitrarily selected, the falling edge of the musical tone signal output from the DAC 9 can be made to be very similar to that of a natural musical instrument.

第6図は、第5図における乗算器10をを改良
したものである。第6図において、11は加算
器、12は変換器であり、対数/リニア変換を行
なう。第6図に示す乗算器を使用する場合には、
エンベロープ信号及び開閉信号K1を予め対数に
直しておく。即ち、エンベロープメモリ2には対
数表示によるエンベロープ情報を記憶させてお
き、開閉信号発生器7も開閉信号を対数表示によ
り出力するようにしておく。このような乗算器1
0を使用すれば演算時間を節約することができ
る。
FIG. 6 shows an improved version of the multiplier 10 in FIG. In FIG. 6, 11 is an adder and 12 is a converter, which performs logarithmic/linear conversion. When using the multiplier shown in Figure 6,
The envelope signal and the opening/closing signal K1 are converted into logarithms in advance. That is, the envelope memory 2 stores envelope information in logarithmic representation, and the opening/closing signal generator 7 also outputs the opening/closing signal in logarithmic representation. Multiplier 1 like this
Using 0 can save calculation time.

以上の説明において、開閉信号発生器7は、第
3図に示すような信号を発生するものであればど
のようなものであつてもよいが、その一例を第7
図に示す。第7図において、13はコンパレータ
であり、アドレス制御回路5が発生する読み出し
信号Acと所定の値、前述の実施例では、“86”と
の比較をとり、{読み出し信号Ac}≦86の時に
“1”を出力するものである。14はラツチであ
り、CK端子の立ち上りでD端子に与えてある信
号をラツチし、Q端子より出力する。15はクロ
ツク発生器である。16は5ビツトのカウンタで
あり、CK端子に与えられている信号をカウント
する。またR端子に与えられている信号が“1”
になると、無条件に出力がリセツトされる。17
はメモリであり、0〜31番地の32個の情報を有
し、開閉信号として出力すべき情報を記憶してい
る。メモリ17の内容は第8図に示すとおりであ
る。
In the above explanation, the opening/closing signal generator 7 may be of any type as long as it generates a signal as shown in FIG.
As shown in the figure. In FIG. 7, 13 is a comparator, which compares the read signal Ac generated by the address control circuit 5 with a predetermined value, "86" in the above embodiment, and when {read signal Ac}≦86, It outputs "1". A latch 14 latches the signal applied to the D terminal at the rising edge of the CK terminal and outputs it from the Q terminal. 15 is a clock generator. 16 is a 5-bit counter that counts the signal applied to the CK terminal. Also, the signal given to the R terminal is “1”
, the output is reset unconditionally. 17
is a memory, which has 32 pieces of information from addresses 0 to 31, and stores information to be output as opening/closing signals. The contents of the memory 17 are as shown in FIG.

次に第7図に示す開閉信号発生器7の動作につ
いて説明する。
Next, the operation of the switching signal generator 7 shown in FIG. 7 will be explained.

先ず押鍵により押鍵信号K0が“1”になると、
カウンタ16のR端子が“1”になるので、カウ
ンタ出力はすべて“0”にリセツトされる。故に
押鍵中はメモリ17の0番地の内容が常時出力さ
れる。次いで離鍵により押鍵信号K0が“0”に
なると、インバータ18によりラツチ14のCK
端子の入力信号が立ち上り、コンパレータ13の
出力がラツチされる。故に{読み出し信号Ac}>
86の時にはラツチ14の出力は“0”、{読み出し
信号}≦86の時には“1”となる。
First, when the key press signal K 0 becomes “1”,
Since the R terminal of the counter 16 becomes "1", all counter outputs are reset to "0". Therefore, while the key is being pressed, the contents of address 0 of the memory 17 are always output. Next, when the key is released and the key press signal K0 becomes "0", the inverter 18 turns the latch 14 CK.
The input signal at the terminal rises, and the output of the comparator 13 is latched. Therefore {read signal Ac}>
When the signal is 86, the output of the latch 14 is "0", and when {read signal}≦86, the output of the latch 14 is "1".

{読み出し信号Ac}>86の時にはラツチ14の
出力が“0”であるので、AND回路19の出力
は常に“0であり、カウンタ16はリセツト状態
で停止したままである。故にメモリ17の0番地
の内容が出力され、離鍵によつても開閉信号発生
器7の出力は変化しない。
When {read signal Ac}>86, the output of the latch 14 is "0", so the output of the AND circuit 19 is always "0", and the counter 16 remains stopped in the reset state. The contents of the address are output, and the output of the open/close signal generator 7 does not change even when the key is released.

一方、{読み出し信号Ac}≦86の時には、ラツ
チ14の出力は“1”である。カウンタ16はリ
セツトされているので、NAND回路20の出力
も“1”である。故にAND回路19はクロツク
発生器15の発生するクロツク信号を出力し、カ
ウンタ16のCK端子に与える。離鍵後はカウン
タ16のR端子の入力信号は“0”となつている
ので、カウンタ16はCK端子に与えられるクロ
ツク信号のカウントを開始し、メモリ17に出力
する。メモリ17はカウンタ16の出力に基づ
き、メモリ内容を順次読み出し出力する。メモリ
17の内容は第8図に示すとおりであるので、開
閉信号発生器7の出力は徐々に減衰していく。こ
こでカウンタ16がクロツク信号のカウントを続
け、5ビツトの出力がすべて“1”になる、即
ち、メモリ17の最後の内容が読み出されると、
NAND回路20の出力が“0”となり、AND回
路19の出力も“0”となる。故にカウンタ16
のCK端子にはクロツク信号が与えられなくなり、
カウンタ16は出力が“31”を示したままで停止
する。その結果、メモリ17は31番地の内容を新
たな押鍵まで出力する。
On the other hand, when {read signal Ac}≦86, the output of the latch 14 is "1". Since the counter 16 has been reset, the output of the NAND circuit 20 is also "1". Therefore, the AND circuit 19 outputs the clock signal generated by the clock generator 15 and applies it to the CK terminal of the counter 16. After the key is released, the input signal to the R terminal of the counter 16 is "0", so the counter 16 starts counting the clock signal applied to the CK terminal and outputs it to the memory 17. The memory 17 sequentially reads and outputs the memory contents based on the output of the counter 16. Since the contents of the memory 17 are as shown in FIG. 8, the output of the switching signal generator 7 gradually attenuates. Here, the counter 16 continues counting the clock signal, and when all 5 bits output become "1", that is, the last content of the memory 17 is read out.
The output of the NAND circuit 20 becomes "0", and the output of the AND circuit 19 also becomes "0". Therefore counter 16
No clock signal is given to the CK terminal of
The counter 16 stops with the output still showing "31". As a result, the memory 17 outputs the contents of address 31 up to the new key press.

以上が第7図に示す開閉信号発生器7の動作で
ある。開閉信号発生器7を第7図に示すように構
成すると、メモリ17に記憶させる内容に応じ
て、様々な楽音の立ち下りを与えることができ、
しかもそれがきわめて容易に行なえる。
The above is the operation of the switching signal generator 7 shown in FIG. When the opening/closing signal generator 7 is configured as shown in FIG. 7, it is possible to give various falling tones depending on the content stored in the memory 17.
And it's extremely easy to do.

第9図は、第2図及び第5図におけるエンベロ
ープメモリ2の代りにエンベロープメモリ2と補
間回路21を使用した場合の実施例である。
FIG. 9 shows an embodiment in which an envelope memory 2 and an interpolation circuit 21 are used in place of the envelope memory 2 in FIGS. 2 and 5.

次に第9図の動作について第10図に示すエン
ベロープメモリ2及び補間回路21の出力波形と
共に説明する。
Next, the operation shown in FIG. 9 will be explained together with the output waveforms of the envelope memory 2 and interpolation circuit 21 shown in FIG. 10.

押鍵信号K0によりアドレス制御回路5が読み
出し信号Acを発生し、エンベロープメモリ2よ
りエンベロープ情報を読み出すに至る動作は第2
図、第5図にて示したものと同じである。第10
図aに示すような時間間隔でのエンベロープ信号
をエンベロープメモリ2が出力すると、このエン
ベロープ信号を基にして補間回路21がτ/4間
隔でエンベロープ信号を補充していく。このよう
にすれば、クロツク信号の周波数をさげることが
でき、エンベロープメモリの容量を小さくするこ
とができる。
The address control circuit 5 generates the read signal Ac in response to the key press signal K0 , and the operation leading to reading the envelope information from the envelope memory 2 is performed in the second step.
It is the same as that shown in FIG. 10th
When the envelope memory 2 outputs envelope signals at time intervals as shown in FIG. In this way, the frequency of the clock signal can be lowered, and the capacity of the envelope memory can be reduced.

なお第9図に示す回路を第7図におけるメモリ
17に適応してもよいことは言うまでもない。
It goes without saying that the circuit shown in FIG. 9 may be applied to the memory 17 in FIG.

また、以上の実施例においては、単一の楽音を
発生する場合について述べたが、エンベロープメ
モリ、乗算器等を時分割で使用し、複音を発生す
るようにできることはいうまでもない。
Further, in the above embodiments, a case has been described in which a single musical tone is generated, but it goes without saying that envelope memories, multipliers, etc. can be used in a time-sharing manner to generate multiple tones.

以上述べたように本発明によれば、鍵を押して
いる長さに関係なく、離鍵後直ちにかつ滑らかに
楽音の減衰が開始され、しかも自然楽器個有の立
ち下りと非常に似た立ち下りを付加することがで
きるという優れた効果が得られる。
As described above, according to the present invention, the musical tone starts to decay immediately and smoothly after the key is released, regardless of how long the key is held down, and the decay is very similar to the decay characteristic of natural musical instruments. The excellent effect of being able to add

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

第1図は一般的なエンベロープメモリに記憶し
てあるエンベロープ情報を示す図、第2図は本発
明による電子楽器の一実施例を示すブロツク図、
第3図は押鍵信号、読み出し信号、開閉信号の関
係を示す図、第4図はエンベロープ信号、開閉信
号、開閉器出力と押鍵信号の関係を示す図、第5
図は本発明における他の実施例を示すブロツク
図、第6図は第5図における乗算器の一例を示す
図、第7図は開閉信号発生器の一例を示す図、第
8図はメモリに記憶してある内容を示す図、第9
図はエンベロープ情報を補間計算を行なつてエン
ベロープ情報を発生した場合の図、第10図は第
9図に示す補間回路の出力波形図である。 1−1〜1−n……楽音発生器、2……エンベ
ロープメモリ、3……正弦波発生器、4……乗算
器、5……アドレス制御回路、6……加算器、7
……開閉信号発生器、8……開閉器、10……乗
算器、11……加算器、12……変換器、13…
…コンパレータ、14……ラツチ、15……クロ
ツク発生器、16……カウンタ、17……メモ
リ、21……補間回路。
FIG. 1 is a diagram showing envelope information stored in a general envelope memory, and FIG. 2 is a block diagram showing an embodiment of an electronic musical instrument according to the present invention.
Figure 3 is a diagram showing the relationship between the key press signal, readout signal, and open/close signal; Figure 4 is a diagram showing the relationship between the envelope signal, open/close signal, switch output, and key press signal;
FIG. 6 is a block diagram showing another embodiment of the present invention, FIG. 6 is a diagram showing an example of the multiplier in FIG. 5, FIG. 7 is a diagram showing an example of the switching signal generator, and FIG. Diagram showing memorized contents, No. 9
The figure shows a case where envelope information is generated by interpolating envelope information, and FIG. 10 is an output waveform diagram of the interpolation circuit shown in FIG. 9. 1-1 to 1-n...musical tone generator, 2...envelope memory, 3...sine wave generator, 4...multiplier, 5...address control circuit, 6...adder, 7
... Switching signal generator, 8 ... Switch, 10 ... Multiplier, 11 ... Adder, 12 ... Converter, 13 ...
... Comparator, 14 ... Latch, 15 ... Clock generator, 16 ... Counter, 17 ... Memory, 21 ... Interpolation circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 押鍵離鍵により押鍵信号を発生する手段と、
楽音波形を発生する波形発生器と、楽音のアタツ
ク部、サステイン部、リリース部からなるエンベ
ロープ情報を記憶しているエンベロープ記憶装置
と、前記押鍵信号に基づきエンベロープ記憶装置
の内容を順次読み出すべく読み出し信号を発生す
るアドレス制御装置と、前記読み出し信号に基づ
き前記エンベロープ情報を読み出しエンベロープ
信号を発生するエンベロープ発生器と、前記エン
ベロープ信号に基づき前記楽音波形の振幅変調を
行う演算器と、前記押鍵信号に基づき開閉信号を
発生する開閉信号発生器とを備え、前記開閉信号
発生器が前記エンベロープ情報のリリース部を検
出するリリース検出手段を有し、前記リリース検
出手段がエンベロープ情報のリリース部を検出し
た場合には前記演算器出力を減衰させることのな
い開閉信号を発生し、前記リリース検出手段がエ
ンベロープ情報のリリース部を検出しない場合に
は前記演算器出力を所定の特性で減衰させる開閉
信号を発生する開閉信号発生器であることを特徴
とする電子楽器。
1 means for generating a key press signal by key press/release;
a waveform generator that generates a musical sound waveform; an envelope storage device that stores envelope information consisting of an attack section, a sustain section, and a release section of a musical tone; and a readout device that sequentially reads out the contents of the envelope storage device based on the key press signal. an address control device that generates a signal; an envelope generator that reads the envelope information based on the readout signal and generates an envelope signal; an arithmetic unit that performs amplitude modulation of the musical sound waveform based on the envelope signal; and the key press signal. an opening/closing signal generator that generates an opening/closing signal based on the above, and the opening/closing signal generator has release detection means for detecting a release part of the envelope information, and the release detection means detects the release part of the envelope information. If the release detection means does not detect a release part of the envelope information, generates an opening/closing signal that does not attenuate the output of the computing unit, and generates an opening/closing signal that attenuates the output of the computing unit with predetermined characteristics when the release detection means does not detect a release portion of the envelope information. An electronic musical instrument characterized by being an opening/closing signal generator.
JP56187597A 1981-11-20 1981-11-20 electronic musical instruments Granted JPS5888792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56187597A JPS5888792A (en) 1981-11-20 1981-11-20 electronic musical instruments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56187597A JPS5888792A (en) 1981-11-20 1981-11-20 electronic musical instruments

Publications (2)

Publication Number Publication Date
JPS5888792A JPS5888792A (en) 1983-05-26
JPS6365155B2 true JPS6365155B2 (en) 1988-12-14

Family

ID=16208889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56187597A Granted JPS5888792A (en) 1981-11-20 1981-11-20 electronic musical instruments

Country Status (1)

Country Link
JP (1) JPS5888792A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6490728B2 (en) 2017-03-15 2019-03-27 本田技研工業株式会社 Headlight structure of saddle-ride type vehicle

Also Published As

Publication number Publication date
JPS5888792A (en) 1983-05-26

Similar Documents

Publication Publication Date Title
JPS647399B2 (en)
JPS5833297A (en) Electronic musical instrument
JPH0631968B2 (en) Music signal generator
US4108036A (en) Method of and apparatus for electronically generating musical tones and the like
JPS6199193A (en) Musical sound signal generator
US4258602A (en) Electronic keyboard musical instrument of wave memory reading type
JPS5919356B2 (en) electronic musical instruments
JPS6091395A (en) Electronic musical instrument
JPH0413717B2 (en)
JPH0664466B2 (en) Electronic musical instrument
JPS6365155B2 (en)
JPH0477319B2 (en)
JP2741026B2 (en) Dual mode tone generator using stored tone waveforms.
JPS61124994A (en) Musical sound signal generator
JPH0231399B2 (en)
JPS581800B2 (en) Denshigatsuki
JP2784399B2 (en) Tone generator
JPS6023358B2 (en) electronic musical instruments
JPH0430639Y2 (en)
JPS61182097A (en) Noise reduction device for electronic musical instruments
JPS5885491A (en) electronic musical instruments
JPS5888791A (en) electronic musical instruments
JP2766638B2 (en) Electronic musical instrument
JPH0138638Y2 (en)
JP2991436B2 (en) Music signal generator