JPH03230198A - Envelope generating device of electronic musical instrument - Google Patents

Envelope generating device of electronic musical instrument

Info

Publication number
JPH03230198A
JPH03230198A JP2025019A JP2501990A JPH03230198A JP H03230198 A JPH03230198 A JP H03230198A JP 2025019 A JP2025019 A JP 2025019A JP 2501990 A JP2501990 A JP 2501990A JP H03230198 A JPH03230198 A JP H03230198A
Authority
JP
Japan
Prior art keywords
envelope
status
slope
value
slope 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.)
Granted
Application number
JP2025019A
Other languages
Japanese (ja)
Other versions
JP2699287B2 (en
Inventor
Yoji Kaneko
洋二 金子
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2025019A priority Critical patent/JP2699287B2/en
Publication of JPH03230198A publication Critical patent/JPH03230198A/en
Application granted granted Critical
Publication of JP2699287B2 publication Critical patent/JP2699287B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To eliminate a discontinuous variation of an inclination of an envelope and to more exactly approximate a natural musical instrument by changing an inclined set value of the envelope before and after in accordance with a prescribed recurrence formula in a turning point of a status. CONSTITUTION:An envelope waveform is generated, based on inclined data set to each status and a target value of an envelope. In this case, the inclined data being a differential value is generated by an envelope rate changing circuit 9 in accordance with a recurrence formula Rn = (Rn-1 + Rc)/2 which contains that which is set and the past one. In this regard, (n) = 1, 2,... and Rn and Rc denote inclined data used for an n-th envelope operation in a new status, and inclined data set to the present status, respectively. Accordingly, the inclina tion of an enveloped is varied smoothly by switching of the status and the envelope being approximate to a characteristic of a natural musical instrument sound can be obtained.

Description

【発明の詳細な説明】 [発明の技術分野] この発明は電子楽器のエンベロープ発生装置に関する。[Detailed description of the invention] [Technical field of invention] The present invention relates to an envelope generator for an electronic musical instrument.

[従来技術とその問題点J 従来の代表的なエンベロープ発生装置としてエンベロー
プの全体をアタックやデイケイ等の複数のセグメント(
ステータス)で構成し、ステータスごとにエンベロープ
波形を定めるパラメータであるレート(#Bき)とレベ
ルC目W (m )を用意し、動作時にレートとレベル
を用いてエンベロープを演算するレート・レベル方式の
エンベロープ発生装置が知られている。この方式のエン
ベロープ発生装こでは、発生すべきエンベロープ波形(
1551りを、ステータス、レート、レベルで定義でき
るので、記憶容にが少なくてすむ利点、ユーザーにおけ
るエンベロープのプログラムが容易となる利点、エンベ
ロープ発生装置の構成が簡単になる利点等がある。
[Prior Art and its Problems J] A typical conventional envelope generator generates an entire envelope into multiple segments such as attack and decay.
rate (#B) and level C-th W (m), which are parameters that define the envelope waveform for each status, are prepared, and the rate and level are used to calculate the envelope during operation. envelope generators are known. In this method of envelope generation, the envelope waveform to be generated (
1551 can be defined in terms of status, rate, and level, which has the advantage of requiring less storage capacity, facilitating the user's programming of envelopes, and simplifying the configuration of the envelope generator.

反面、生成されるエンベロープ波形が、第8図に直線エ
ンベローフ’ (a) 、 Jfjaエンヘロープ(b
)として例示するようにステータスの切換りを境として
折れ線状になり、自然さを欠くという大きな問題を残し
ている。即ち、自然楽器音では、その振動の大きさは急
には変化せず、第9図(a)、(b)に夫々減衰音形と
持続音形のエンベロープ形状を例示するように、その音
量エンベロープもなめらかに変化すると予想され、更に
、音量エンベロープだけでなく、音色エンヘロープヤヒ
ッチェンヘロープも、自然楽器音では一般になめらかに
変化すると考えられるが、従来のエンベロープ発生装置
ではこのような自然楽器音の特徴をもったエンベロープ
を発生することができない。
On the other hand, the generated envelope waveforms are shown in Figure 8 as straight envelope '(a) and Jfja envelope (b).
), it becomes a polygonal line at the point where the status changes, leaving a big problem that it lacks naturalness. In other words, in the case of natural musical instrument sounds, the magnitude of their vibrations does not change suddenly, and as shown in FIGS. 9(a) and 9(b), which illustrate the envelope shapes of a damped tone and a sustained tone, respectively, the volume changes. The envelope is expected to change smoothly, and not only the volume envelope but also the timbre envelope is generally thought to change smoothly in natural instrument sounds, but conventional envelope generators do not It is not possible to generate an envelope with the characteristics of natural instrument sounds.

[発明の目的] したがって、この発明の目的は、なめらかに変化する特
性をもつエンベロープを生成可能な電子楽器のエンへロ
ープ発生装置を提供することである。
[Object of the Invention] Therefore, an object of the present invention is to provide an envelope generator for an electronic musical instrument that can generate an envelope with smoothly changing characteristics.

[発明の構成、作用] この発明によれば、各ステータスにおけるエンベロープ
の目標値を記憶する目標値記憶手段とエンベロープの傾
きを示す傾斜データを発生する傾斜データ発生手段さ、
前回のエンベロープ値と上記傾斜データ発生手段からの
傾斜データとに基づいて新たなエンベロープ値を演算す
るエンベロープ値演算手段と、上記エンベロープ値演算
手段により演算されたエンベロープ値を上記目標値記憶
手段に記憶される現在のステータスにおけるエンベロー
プの目標値と比較する比較手段と、上記比較手段の比較
結果に基づいてステータスを更新するステータス更新手
段と、を備える電子楽器のエンベロープ発生装置におい
て、上記傾斜データ発生手段が、各ステータスにおける
エンベロープの傾きの設定値を記憶する傾斜設定値記憶
手段と、ステータスの更新の際にエンベロープの傾きが
更新前のステータスに対して設定された傾きから更新後
のステータスに対して設定された傾きに向かって徐々に
変化するように、上記傾斜設定値記憶手段における更新
後のステータスに対する設定イ1の示す傾きを所定の漸
化式に従って変更して上記傾斜データを演算する傾斜デ
ータ発生手段とを有することを特徴とする′電子楽器の
エンへごプ発生装置が提供される。
[Structure and operation of the invention] According to the present invention, a target value storage means for storing a target value of an envelope in each status, a slope data generation means for generating slope data indicating the slope of the envelope,
envelope value calculation means for calculating a new envelope value based on the previous envelope value and the slope data from the slope data generation means; and storing the envelope value calculated by the envelope value calculation means in the target value storage means. In the envelope generating device for an electronic musical instrument, the envelope generating device for an electronic musical instrument comprises a comparing means for comparing a target value of an envelope in a current status of the electronic musical instrument, and a status updating means for updating the status based on a comparison result of the comparing means, the slope data generating means. is a slope setting value storage means for storing the setting value of the envelope slope in each status, and when updating the status, the slope of the envelope is changed from the slope set for the status before updating to the slope after updating. Inclination data for calculating the inclination data by changing the inclination indicated by setting A1 for the updated status in the inclination setting value storage means according to a predetermined recurrence formula so that the inclination gradually changes toward the set inclination. There is provided an engine power generation device for an electronic musical instrument, characterized in that it has a generating means.

この構成によれば、ステータスの変り目においてエンベ
ロープの傾きが、前のステータスに対して設定した傾き
から後のステータスに対して設定した傾きに向って徐々
に変化するので、従来のように、ステータスの更新の前
後で、エンベロープの傾きが不連続的に変化することは
なくなり、自然楽器音のエンベロープをより正確に近似
することができる。
According to this configuration, at the change of status, the slope of the envelope gradually changes from the slope set for the previous status to the slope set for the later status. The slope of the envelope no longer changes discontinuously before and after updating, and the envelope of the natural instrument sound can be approximated more accurately.

[実施例1 以下、図面を参照して、この発明の詳細な説明する。[Example 1 Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図〜第3図に示す実施例において、エンベロープ波
形は、各ステータスに対して設定された傾斜データ(エ
ンベロープの傾きの設定値)とエンベロープの目標値と
に基づいて生成される。この発明に従い、エンベロープ
の差分値としての傾斜データは設定された傾斜データを
そのまま使用するのではなく、設定された傾斜データと
過去の傾斜データとを含む漸化式に従って生成yれる。
In the embodiment shown in FIGS. 1 to 3, the envelope waveform is generated based on slope data (envelope slope setting value) set for each status and an envelope target value. According to the present invention, slope data as an envelope difference value is generated according to a recurrence formula that includes the set slope data and past slope data, rather than using the set slope data as is.

この実施例では、 漸化式は、 Rn −(Rn−+  + Rc ) / 2    
    (+)n=1.2、・・・・・・ で与、えられる、ここに、Rnは新たなステータスにな
ってからn回[1のエンベロープ演算で使用される傾斜
データ、Rcは現在のステータスに対して設定された傾
斜データである。
In this example, the recurrence formula is Rn - (Rn-+ + Rc) / 2
(+) n = 1.2, ...... given by, where Rn is the slope data used in the envelope calculation of [1] since the new status, and Rc is the current This is the slope data set for the status of .

式(1)から Rn−Re ” (Rn−+−Rc)/2 = (Rn
2−Rc)/22 = −−−−−−であるので Rn  ” Rc   (Rc   Ro  )/ 2
’      (2)となる、ここに、ROは前回のス
テータスに対して設定された傾斜データである。したが
って、ステータス更新後の傾斜データの列R1、R2・
・・・・・Rnは、前回のステータスに対して設定され
た傾斜データの値から、現在のステータスに対して設定
された傾斜データの値Rc に向って徐々に変化するこ
とになる0例えば、Ro=2、Rc=  1のとき、R
+  =1/2.R7=  1/4、R3=5/8.R
a−−13/16、Rs=−29/32・・・・・・と
なる、第4図に、この場合のエンベロープの波形の変化
を示す0図中、点線は、従来技術に従い、設定された傾
斜データRc=−1をそのままエンベロープの差分値と
して使用したときに得られるエンベロープ波形を示12
.実線が、実施例の生成するエンベロープ波形である。
From formula (1), Rn-Re'' (Rn-+-Rc)/2 = (Rn
2-Rc)/22 = --------, so Rn''Rc(RcRo)/2
' (2) where RO is the slope data set for the previous status. Therefore, columns R1 and R2 of the slope data after the status update.
...Rn is 0, which gradually changes from the slope data value set for the previous status to the slope data value Rc set for the current status, for example, When Ro=2, Rc=1, R
+ = 1/2. R7=1/4, R3=5/8. R
a--13/16, Rs=-29/32... In Figure 4, which shows the change in the envelope waveform in this case, the dotted line is set according to the prior art. 12 shows the envelope waveform obtained when using the slope data Rc=-1 as it is as the envelope difference value.
.. The solid line is the envelope waveform generated by the example.

このように、実施例によればステータスの切換りで、エ
ンベロープの傾きがなめらかに変化するので、第5図に
示すような自然楽器音の特性に近いエンベロープを得る
ことができる。後述するように、第1図に示すエンベロ
ープレート変更回路9により、式(1)に従う傾斜デー
タが生成される。
In this way, according to the embodiment, the slope of the envelope changes smoothly when the status is switched, so that an envelope close to the characteristics of a natural musical instrument sound as shown in FIG. 5 can be obtained. As will be described later, the envelope plate changing circuit 9 shown in FIG. 1 generates slope data according to equation (1).

以下、詳細に説明する。This will be explained in detail below.

第3図は、上述したエンベロープ生成機能を有する電子
楽塁のブロック図である。キーアサイナ2はキースイッ
チ回路1を走査し、押下されている鍵のキーコードKC
と、発音開始用のキーオン信号KNを発生する。エンベ
ロープ発生回路3はキーオン信号KNを受けて、エンベ
ロープ波形Eの発生を開始する0周波数情報発生回路4
はキーアサイナ2からのキーコードKCを受け、それに
対応する周波数情報FIを発生する。波形生成回路5は
周波数情報FIを受け、それを累算して波形の位相デー
タを生成し、それに基づいて波形データを生成する。生
成された波形データはエンベロープ発生回路3からのエ
ンベロープ信号Eと乗算され、楽音波形Wとして出力さ
れる0次に鍵が離されると、キーアサイナ2からキーオ
フ信号KFが発生され、エンベロープ発生回路3は、ア
タック開始後デイケイ、サスティン(持続音のみ)と進
んでいたエンベロープをリリース状態にする。エンベロ
ープ発生回路3はリリースが終了すると、キーアサイナ
2にエンベロープ終了信号EFを送る。キーアサイナ2
はエンベロープ終了信号EFを受けて5発音終了状態と
なる。尚、波形生成回路5ではアタック開始時に同一位
相からスタートするようにキーオン信号KNによって位
相をリセットするようにしている0以上、ブロックの機
能を中心に説明してきたが、シフトレジスタ等を用いて
時分割処理にすればポリフォニック構成にできる。サウ
ンドシステム6は生成されたデジタル楽音波形信号をD
/A変換し、アンプ、スピーカを介して放音する。
FIG. 3 is a block diagram of an electronic music base having the above-mentioned envelope generation function. The key assigner 2 scans the key switch circuit 1 and determines the key code KC of the pressed key.
Then, a key-on signal KN for starting sound generation is generated. The envelope generation circuit 3 receives the key-on signal KN and starts generating the envelope waveform E.
receives the key code KC from the key assigner 2 and generates frequency information FI corresponding to it. The waveform generation circuit 5 receives the frequency information FI, accumulates it to generate waveform phase data, and generates waveform data based on it. The generated waveform data is multiplied by the envelope signal E from the envelope generation circuit 3 and output as the musical waveform W. When the key is released in the 0th order, the key assigner 2 generates a key-off signal KF, and the envelope generation circuit 3 , after starting the attack, the envelope, which had progressed to Decay and Sustain (sustained sounds only), is released. When the release is completed, the envelope generating circuit 3 sends an envelope end signal EF to the key assigner 2. key assigner 2
receives the envelope end signal EF and enters the 5-tone sound end state. In addition, in the waveform generation circuit 5, the phase is reset by the key-on signal KN so that it starts from the same phase at the start of the attack. If you use split processing, you can create a polyphonic configuration. The sound system 6 sends the generated digital music waveform signal to D.
/A conversion and output the sound through an amplifier and speaker.

第2図はエンベローズ発生回路3の詳細なブロック図で
ある。エンベロープレートメモリ7には各ステータスに
対して設定されたエンベロープの傾きを示す傾斜データ
が記憶され、エンベロープレベルメモリ8には各ステー
タスに対して設定されたエンベロープの目標値が記憶さ
れる0両メモリ7.8はエンベロープのステータスを制
御するエンベロープステータス回路12からの現ステー
タスを示すステータスデータSTによりアドレッシング
される。エンベロープレートメモリ7からの現ステータ
スの設定傾斜データERはこの発明に従い、エンベロー
プレート変更回路9に入力され・ここで、エンベロープ
差分値としての傾斜データER′が生成される。この変
更された傾斜デ−IER’はエンベロープカウンタ10
に入力され、エンベロープカウンタlOはこの変更傾斜
データER’を現在のエンベロープ値EOに加減算して
エンベロープ値を更新する。更新されたエンへo −7
’ 値jt 比較回路11でエンベロープレベルメモリ
8からの現在のステータスのエンベロープ目標値ELと
比較される。比較回路11はエンベロープ値Eoがエン
ベロープ目標値に到達したら、“l”の比較信号RHを
発生するように構成されている。即ち、比較信号RHは
、傾斜データERの符号ビットERMS8 に応じて、
(i)ER鰐5e=o(上昇中)かつEo≧ELまたは
FIG. 2 is a detailed block diagram of the envelope generating circuit 3. The envelope plate memory 7 stores slope data indicating the slope of the envelope set for each status, and the envelope level memory 8 stores the target value of the envelope set for each status. 7.8 is addressed by status data ST indicating the current status from the envelope status circuit 12 which controls the status of the envelope. According to the present invention, the setting slope data ER of the current status from the envelope plate memory 7 is input to the envelope plate changing circuit 9, where slope data ER' as an envelope difference value is generated. This modified slope data IER' is calculated by the envelope counter 10.
is input, and the envelope counter lO adds or subtracts this modified slope data ER' to the current envelope value EO to update the envelope value. Updated en o −7
' Value jt is compared with the envelope target value EL of the current status from the envelope level memory 8 in the comparator circuit 11. The comparison circuit 11 is configured to generate a comparison signal RH of "1" when the envelope value Eo reaches the envelope target value. That is, the comparison signal RH is determined according to the sign bit ERMS8 of the slope data ER.
(i) ER crocodile 5e=o (rising) and Eo≧EL or.

(ii)ERMS’ = 1 (下降中)かつEO≦E
Lのときに、“1″となる。
(ii) ERMS' = 1 (descending) and EO≦E
When it is L, it becomes "1".

エンベロープカウンタlOからのエンベロープ値Eoは
指数変換回路14で指数変換されて、指数エンベロープ
Eとなる。
The envelope value Eo from the envelope counter IO is subjected to index conversion in an index conversion circuit 14 to become an index envelope E.

エンベロープステータス回路12はキーアサイナ2から
のキーオン信号KNを受け、ステータスSTをアタック
(OOO)としてエンベロープを開始させる。更に、エ
ンベロープステータス回路12は比較回路11からエン
ベロープ値EOが目標値ELに達したことを示す“l”
の比較信号RHを受け、ステータスをアタック(000
)からデイケイ(001)、デイケイ(001)からサ
スティン(010)というように更新してエンベロープ
レートメモリ7、エンベロープレベルメモリ8から取り
出す設定データを更新する。更にエンベロープステータ
ス回路12はキーアサイナ2からのキーオフ信号KFに
応答してステータスSTをリリース(011)に変更し
、リリース(o i Bにおいて比較回路11から目標
値到達の信号RHを受けると、ステータスSTを終了状
態(110)にし、エンベロープ終了信号EFをキーア
サイナ2に送出する。
The envelope status circuit 12 receives the key-on signal KN from the key assigner 2, sets the status ST to attack (OOO), and starts the envelope. Further, the envelope status circuit 12 receives "l" from the comparator circuit 11 indicating that the envelope value EO has reached the target value EL.
receives the comparison signal RH and attacks the status (000
) to Decay (001), Decay (001) to Sustain (010), etc., and update the setting data retrieved from envelope plate memory 7 and envelope level memory 8. Further, the envelope status circuit 12 changes the status ST to release (011) in response to the key-off signal KF from the key assigner 2, and upon receiving the target value reaching signal RH from the comparison circuit 11 at release (o i B), the envelope status circuit 12 changes the status ST to release (011). is set to the end state (110), and an envelope end signal EF is sent to the key assigner 2.

第1図はエンベロープレート変更回路9の詳細なブロッ
ク図である0選択回路16はフリップフロップ(FF)
17に取り込むデータとして、前回の変更傾斜データE
R’か、エンベロープレートメモリ7からの設定傾斜デ
ータERのいずれかをORゲート15からの選択信号に
従って選択する。ORゲート15には比較回路11から
の比較信号RHとキーアサイナ2からのキーオン信号K
N及びキーオフ信号KFが入力される。したがって、O
Rゲート15の出力する選択信号は、エンベロープのス
テータスが更新されるときに“l”になり、このとき、
選択回路16は更新前のステータスに対して設定された
傾斜データERを選択する。
FIG. 1 is a detailed block diagram of the envelope plate changing circuit 9. The 0 selection circuit 16 is a flip-flop (FF).
As data to be imported into 17, the previous changed slope data E
Either R' or the setting slope data ER from the envelope plate memory 7 is selected according to the selection signal from the OR gate 15. The OR gate 15 receives the comparison signal RH from the comparison circuit 11 and the key-on signal K from the key assigner 2.
N and a key-off signal KF are input. Therefore, O
The selection signal output by the R gate 15 becomes "l" when the envelope status is updated, and at this time,
The selection circuit 16 selects the slope data ER set for the status before updating.

例えば、エンベロープがスタートする際にはキーオン信
号KNが“1″になり、ORゲート15の選択信号はl
″となり、このとき、選択回路16は、終了状態(00
0)のステータスSTに対する設定傾斜データ、即ち、
初期傾斜データE Rr nHを選択する。ここで、エ
ンベロープステータス回路12のステータスが終了状態
(100)からアタック状態(000)に更新され、こ
のアタック状態に対して設定した傾斜データERatt
acbがエンベロープレートメモリ7から出力される。
For example, when the envelope starts, the key-on signal KN becomes "1", and the selection signal of the OR gate 15 becomes "1".
'', and at this time, the selection circuit 16 enters the end state (00
Setting slope data for the status ST of 0), that is,
Select initial slope data E Rr nH. Here, the status of the envelope status circuit 12 is updated from the end state (100) to the attack state (000), and the slope data ERatt set for this attack state is updated.
acb is output from the envelope plate memory 7.

このアタック設定傾斜データE Rat、ackはエン
ベロープ変更回路9の加算器18に入力され、ここで、
FF17からの出力E Ri nHに加算され、その結
果が、シフト回路19で1/2にされる。したがって、
シフト回路19の出力ER’であるアタックステータス
の最初の変更傾斜データER+は。
This attack setting slope data E Rat,ack is input to the adder 18 of the envelope changing circuit 9, where:
It is added to the output E Ri nH from the FF 17, and the result is halved by the shift circuit 19. therefore,
The first modified slope data ER+ of the attack status is the output ER' of the shift circuit 19.

ER’ =ER+ = (ERinit+ERatta
ck) /2となる。その後は、FF17は変更された
傾斜データを取り込み、加算器18、シフト回路19で
次の変更傾斜データが演算されるので、アタックステー
タスが開始してからn回目の変更傾斜データERnは、 E R’ = E Rn = (E R1+−1+E 
Rattack) /2となる。したがって、アタック
状態での実際のエンベロープの傾きは初期値に関連する
値からアタックの設定傾斜値に徐々に変化する。
ER' =ER+ = (ERinit+ERatta
ck) /2. After that, the FF 17 takes in the changed slope data, and the adder 18 and shift circuit 19 calculate the next changed slope data, so the nth changed slope data ERn after the start of the attack status is E R ' = E Rn = (E R1+-1+E
Rattack) /2. Therefore, the actual slope of the envelope in the attack state gradually changes from a value related to the initial value to the set slope value of the attack.

その後、エンベロープ値EOがアタックの目標値ELa
ttackに到達すると、到達信号RHがl”となり、
ORゲート15の選択信号が“1″となり、エンベロー
プレートメモリ7から7タツク状態に対して設定した傾
斜データERa+tdckが、FF17に取り込まれる
。その後も」−述と同様の演算がくり返され、その結果
、デイケイステータス(001)におけるエンベロープ
の傾斜はアタック部の傾斜からディヶイステタスの設定
傾斜に向ってなめらかに変化する。キーオフ信号KFが
発生したときも、同様でありこれ奢合図に、変更傾斜デ
ータER′は、キーオフ信号KF発生前のステータスの
設定傾斜から、キーオフ信号KFfi生後のリリースス
テータス(011)の設定傾斜へとなめらかに移行する
After that, the envelope value EO becomes the attack target value ELa
When reaching ttack, the arrival signal RH becomes l'',
The selection signal of the OR gate 15 becomes "1", and the slope data ERa+tdck set for the 7-tack state is taken into the FF 17 from the envelope plate memory 7. Thereafter, the same calculation as described above is repeated, and as a result, the slope of the envelope at Decay Status (001) changes smoothly from the slope of the attack portion to the set slope of Decay Status. The same is true when the key-off signal KF is generated, and in addition, the change slope data ER' changes from the setting slope of the status before the key-off signal KF is generated to the setting slope of the release status (011) after the key-off signal KFfi is generated. The transition is smooth.

なお、アタック以外のステータスの切換時には、エンベ
ロープレート変更回路9の出力は、切換前の設定傾斜に
十分近いイ1をもつので、ORゲート15の出力の代り
に、キーオン信号KNのみを選択回路16の選択信号と
してもよい。
Note that when switching the status other than attack, the output of the envelope plate changing circuit 9 has a value of A1 sufficiently close to the set slope before switching, so instead of the output of the OR gate 15, only the key-on signal KN is selected by the selection circuit 16. It may also be used as a selection signal.

第5図(a)、(b)に生成された直線エンベロープE
o と指数エンベロープEを示す、この例では、初期設
定Einitを大きくとることでアタック開始時のエン
ベロープの傾きを大きくして、指数変換によるエンベロ
ープEの立上り特性を改善している。アタック(A)か
らデイケイ(D)、デイケイ(D)からサスティン(S
)サスティン(S)からリリース(R)への各変り目に
おいて、エンベロープの傾きがなめらかに変化している
ことがわかる。なお、サスティン中は、比較回路11か
ら到達信号RHが与えられても、エンベロープステータ
ス回路12はステータスSTをサスティン(010)に
維持するようになっている。
Linear envelope E generated in Figures 5(a) and (b)
In this example, in which the initial setting Einit is set to a large value, the slope of the envelope at the start of the attack is increased, and the rise characteristics of the envelope E due to exponential conversion are improved. Attack (A) to Decay (D), Decay (D) to Sustain (S)
) It can be seen that the slope of the envelope changes smoothly at each transition from sustain (S) to release (R). Note that during sustain, even if the arrival signal RH is applied from the comparator circuit 11, the envelope status circuit 12 maintains the status ST at sustain (010).

第6図は、エンベロープレート変更回路の変形例を示す
、このエンベロープレート変更回路9Mは、変更傾斜デ
ータRnを次式に従って生成する。
FIG. 6 shows a modification of the envelope plate changing circuit 9M. This envelope plate changing circuit 9M generates changed slope data Rn according to the following equation.

Rn”αRn−+  +  (1−α)Rc     
 (3)0≦α≦1.n=1.2.3 ・−・−この漸
化式(3)において、係数α=l/2とすれば、&(1
)と同じになる。係数αは変更傾斜データRnが現ステ
ータスの設定傾斜に収束する速度を表わし、αが大きい
ほど即ち、lに近いほど収束速度は遅くなる。
Rn"αRn-+ + (1-α)Rc
(3) 0≦α≦1. n=1.2.3 ・-・-In this recurrence formula (3), if the coefficient α=l/2, &(1
) will be the same as The coefficient α represents the speed at which the modified slope data Rn converges to the set slope of the current status, and the larger α, that is, the closer it is to l, the slower the convergence speed.

式(3)を変形すると Rn =Re  CtnCRc  Ro )が得られる
。したがって、ステータスが更新されたとき、生成され
るエンベロープの傾きは前回のステータスで設定された
傾斜データROから現在のステータスで設定された傾斜
データRc に、収束係数αに応じた速度で近づいてい
くことになる。
By transforming equation (3), we obtain Rn = Re CtnCRc Ro ). Therefore, when the status is updated, the slope of the generated envelope approaches the slope data RO set in the previous status to the slope data Rc set in the current status at a speed corresponding to the convergence coefficient α. It turns out.

第7図(a)はRO:2、Rc=l−t’、α;1/2
としたときに得られるエンベロープを示し、同図(b)
はα;3/4にしたときに得られるエンベロープを示し
ている。α;3/4の場合、R1=5/4、R2=11
/16、R3= 17/64、Ra=  13/256
、R5=295/1024・・・・・・というように傾
きが変化する。
FIG. 7(a) shows RO: 2, Rc=lt', α; 1/2
The envelope obtained when
indicates the envelope obtained when α is set to 3/4. If α; 3/4, R1=5/4, R2=11
/16, R3= 17/64, Ra= 13/256
, R5=295/1024, and so on.

第6図のエンベロープレート変更回路9Mにおいて、係
数αはエンベロープレートメモリ7の出力ERの下位ビ
ットで学えられ、この出力ERの上位ビットが設定傾斜
データERCを表わす。
In the envelope plate changing circuit 9M of FIG. 6, the coefficient α is learned from the lower bits of the output ER of the envelope plate memory 7, and the upper bits of this output ER represent the set slope data ERC.

ORゲー)15による選択信号の形成1選択回路10、
及びFF17の構成は第1図と同様である。減算器28
においてFF17からの前回の変更傾斜データERn−
,から現ステータスの設定傾斜データERCが差し引か
れる。この出力(E Rn−+  E RC) X係数
αの乗算が乗算器29で実行され、乗算器29の出力α
(ERn−+ −ERc)に現ステータスの設定傾斜デ
ータE Rcが加えられて、新たな変更傾斜データE 
Rn(ER′)が生成される。したがって、ERn =
aERn−+ + (I  Q)EReとなり、式(3
)に示した計算が実行されていることになる。
Formation of selection signal by OR game) 15 1 selection circuit 10;
The configuration of the FF 17 and the FF 17 is the same as that shown in FIG. Subtractor 28
In , the previous changed slope data ERn- from FF17
, the setting slope data ERC of the current status is subtracted from the current status. This output (E Rn- + E RC) is multiplied by the X coefficient α in the multiplier 29, and the output α of the multiplier 29 is
The setting slope data E Rc of the current status is added to (ERn-+ -ERc), and the new changed slope data E
Rn(ER') is generated. Therefore, ERn=
aERn-+ + (I Q)ERe, and the formula (3
) will have been executed.

第6図に示す変形例の利点は、収束係数αをステップ別
に独立の値をもたせることにより、より多様な傾斜変化
特性をもつエンベロープが得られることである。
The advantage of the modification shown in FIG. 6 is that by giving the convergence coefficient α an independent value for each step, envelopes with more diverse slope change characteristics can be obtained.

以上で、実施例の説明を終えるが、この発明の範囲内で
種々の変形が可能である0例えば、本発明においてエン
ベロープレート変更回路の機能は傾斜データを平滑化、
もしくはフィルタリングして、現ステータスの設定傾斜
に向けて傾斜データを変化させることである。したがっ
て式(1)(3)で示した漸化式、第1図、第6図で示
した各漸化式を計算するエンベロープレート変更回路は
例示にすぎず Rn −We Re +ΣW1 Ro−k(Wc、W、
は重み係数、Rn−に*は過去の変更傾斜データ) で示されるような漸化式に従って変更傾斜データRn 
を演算する回路で構成してもよい0例えば、Rn = 
(1’1n−2+ Rc ) / 2Rn’ = (R
n−1+ Rn−2+ Re ) / 3などが漸化式
の例として挙げられる。
This concludes the description of the embodiment, but various modifications are possible within the scope of the present invention.For example, in the present invention, the function of the envelope plate changing circuit is to smooth the slope data,
Alternatively, filtering may be used to change the slope data toward the set slope of the current status. Therefore, the envelope plate changing circuit for calculating the recurrence formulas shown in equations (1) and (3) and each recurrence formula shown in FIGS. 1 and 6 is merely an example, and Rn −We Re +ΣW1 Ro−k( Wc, W,
is the weighting coefficient, Rn- is the past changed slope data) Changed slope data Rn
For example, Rn =
(1'1n-2+Rc) / 2Rn' = (R
An example of a recurrence formula is n-1+ Rn-2+ Re )/3.

また、この発明のエンベロープ発生装置は楽音の音量制
御のための音量エンベロープだけでなく、音色制御のた
めの音色エンベロープ、ピッチ制御のためのピッチエン
へロープにも適用できる。
Further, the envelope generating device of the present invention can be applied not only to a volume envelope for controlling the volume of musical tones, but also to a timbre envelope for controlling a timbre and a pitch envelope for controlling a pitch.

[発明の効果] 以上、詳細に説明したように、この発明によれば、ステ
ータスが更新されるときにエンベロープの傾きが更新後
のステータスに対して設定した傾きの設定値にただちに
切換わるのではなく、徐々に傾きを変えながら設定値の
傾きに近づくようにしているので、なめらかなエンベロ
ープ波形を得ることができ、自然な楽音の合成に有効で
ある。
[Effects of the Invention] As described above in detail, according to the present invention, when the status is updated, the slope of the envelope is immediately switched to the slope setting value set for the updated status. Since the slope is gradually changed to approach the set value, a smooth envelope waveform can be obtained, which is effective for synthesizing natural musical tones.

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

第1図はこの発明の実施例のエンベロープ発生回路で使
用されるエンベロープレート変更回路の構成例を示す図
、 第2図は実施例に係るエンベロープ発生回路のブロック
図、 第3図は第2図のエンベロープ発生回路を含む電子楽=
のブロー2り図、 第4図は実施例のエンベロープ発生回路で生成されるエ
ンベロープの一部を例示する図、第5図は実施例のエン
ベロープ発生回路で生成されるエンベロープの全体を例
示する図、第6図はエンベロープレート変更回路の変形
例を示す図。 第7図は第6図のエンベロープレート変更回路を用いた
エンベロープ発生回路で生成されるエンベロープの一部
を例示する図、 第8図は従来のエンベロープ発生回路で生成されるエン
ベロープを例示する図、 第9図は自然楽器音のエンベロープを側糸する図である
。 3・・・・・・エンベロープ発生回路、7・・・・・・
エンベローフレートメモリ、8・・・・・・エンベロー
プレベルメモリ、9.9M・・・・・・エンベロープレ
ート変更回路、10・・・・・・エンベロープカウンタ
、ll・・・・・・比較回路 2・e畢φ−・エノヘロ ブステータス回路。
FIG. 1 is a diagram showing a configuration example of an envelope plate changing circuit used in an envelope generation circuit according to an embodiment of the present invention, FIG. 2 is a block diagram of an envelope generation circuit according to an embodiment, and FIG. Electronic music including an envelope generation circuit =
FIG. 4 is a diagram illustrating a part of the envelope generated by the envelope generation circuit of the embodiment, and FIG. 5 is a diagram illustrating the entire envelope generated by the envelope generation circuit of the embodiment. , FIG. 6 is a diagram showing a modification of the envelope plate changing circuit. 7 is a diagram illustrating a part of an envelope generated by an envelope generation circuit using the envelope plate changing circuit of FIG. 6; FIG. 8 is a diagram illustrating an envelope generated by a conventional envelope generation circuit; FIG. 9 is a side view of the envelope of a natural instrument sound. 3... Envelope generation circuit, 7...
Envelope rate memory, 8...Envelope level memory, 9.9M...Envelope plate change circuit, 10...Envelope counter, ll...Comparison circuit 2・e畢φ−・Enoherob status circuit.

Claims (1)

【特許請求の範囲】 各ステータスにおけるエンベロープの目標値を記憶する
目標値記憶手段と、 エンベロープの傾きを示す傾斜データを発生する傾斜デ
ータ発生手段と、 前回のエンベロープ値と上記傾斜データ発生手段からの
傾斜データとに基づいて新たなエンベロープ値を演算す
るエンベロープ値演算手段と、上記エンベロープ値演算
手段により演算されたエンベロープ値を上記目標値記憶
手段に記憶される現在のステータスにおけるエンベロー
プの目標値と比較する比較手段と、 上記比較手段の比較結果に基づいてステータスを更新す
るステータス更新手段と、 を備える電子楽器のエンベロープ発生装置において、 上記傾斜データ発生手段が、 各ステータスにおけるエンベロープの傾きの設定値を記
憶する傾斜設定値記憶手段と、 ステータスの更新の際にエンベロープの傾きが更新前の
ステータスに対して設定された傾きから更新後のステー
タスに対して設定された傾きに向かつて徐々に変化する
ように、上記傾斜設定値記憶手段における更新後のステ
ータスに対する設定値の示す傾きを所定の漸化式に従っ
て変更して上記傾斜データを演算する傾斜データ発生手
段と、 を有することを特徴とする電子楽器のエンベロープ発生
装置。
[Scope of Claims] Target value storage means for storing a target value of an envelope in each status; slope data generation means for generating slope data indicating the slope of the envelope; envelope value calculation means for calculating a new envelope value based on the slope data; and comparing the envelope value calculated by the envelope value calculation means with the target value of the envelope in the current status stored in the target value storage means. an envelope generator for an electronic musical instrument, comprising: a comparison means for updating a status based on a comparison result of the comparison means; a slope setting value storage means for storing, and a slope of the envelope that gradually changes from the slope set for the status before updating to the slope set for the status after updating when the status is updated; An electronic musical instrument characterized by comprising: slope data generation means for calculating the slope data by changing the slope indicated by the setting value for the updated status in the slope setting value storage means according to a predetermined recurrence formula. envelope generator.
JP2025019A 1990-02-06 1990-02-06 Envelope generator Expired - Fee Related JP2699287B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2025019A JP2699287B2 (en) 1990-02-06 1990-02-06 Envelope generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2025019A JP2699287B2 (en) 1990-02-06 1990-02-06 Envelope generator

Publications (2)

Publication Number Publication Date
JPH03230198A true JPH03230198A (en) 1991-10-14
JP2699287B2 JP2699287B2 (en) 1998-01-19

Family

ID=12154197

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2025019A Expired - Fee Related JP2699287B2 (en) 1990-02-06 1990-02-06 Envelope generator

Country Status (1)

Country Link
JP (1) JP2699287B2 (en)

Also Published As

Publication number Publication date
JP2699287B2 (en) 1998-01-19

Similar Documents

Publication Publication Date Title
US6509519B2 (en) Method and apparatus for generating musical tone waveforms by user input of sample waveform frequency
US6762357B2 (en) Resonance apparatus, resonance method and computer program for resonance processing
JP4335570B2 (en) Resonance sound generation apparatus, resonance sound generation method, and computer program for resonance sound generation
JPH03230198A (en) Envelope generating device of electronic musical instrument
JPS6364799B2 (en)
JPH0243199B2 (en)
JPH0133000B2 (en)
JPH0318197B2 (en)
JPS6329270B2 (en)
JP2959018B2 (en) LFO generator for electronic musical instruments
JPH08137470A (en) Frequency characteristic controller for musical tone signal
JPS6230639B2 (en)
JPS623434B2 (en)
JPS6248239B2 (en)
JPS6037600Y2 (en) electronic musical instruments
JP2500704B2 (en) Electronic musical instrument
JPH0243196B2 (en)
JPH08137469A (en) Frequency characteristic controller for musical tone signal
JP2555883B2 (en) Musical sound waveform generator
JPH0233159B2 (en)
JP3588815B2 (en) Sound source device
JPH03230199A (en) Envelope generating device of electronic musical instrument
JP2964498B2 (en) Envelope waveform generator for electronic musical instruments
JP2605773B2 (en) Electronic string instrument
JP3414119B2 (en) Music synthesizer

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970819

LAPS Cancellation because of no payment of annual fees