JP2723507B2 - Electronic musical instrument - Google Patents
Electronic musical instrumentInfo
- Publication number
- JP2723507B2 JP2723507B2 JP61138595A JP13859586A JP2723507B2 JP 2723507 B2 JP2723507 B2 JP 2723507B2 JP 61138595 A JP61138595 A JP 61138595A JP 13859586 A JP13859586 A JP 13859586A JP 2723507 B2 JP2723507 B2 JP 2723507B2
- Authority
- JP
- Japan
- Prior art keywords
- value
- output
- data
- terminal
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000013459 approach Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000000737 periodic effect Effects 0.000 description 2
- 229920001917 Ficoll Polymers 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】
産業上の利用分野
本発明は電子楽器に係り、特にディジタル的にエンベ
ロープ信号を発生する電子楽器に関する。
従来の技術
近年電子楽器は音色の良さ,制御のし易さからディジ
タル化が進められている。当然のことながら、エンベロ
ープ発生もディジタル的に行われるものである(例え
ば、特開昭52−102710号公報)。以下、上述した従来の
電子楽器について、第2図にそのブロック図を示しその
説明を行う。
押鍵離鍵を表す押鍵信号KONが“0"から“1"になる
と、論理回路1はA出力を“1"にする。これによりゲー
ト2からはアタックレベルが出力され、ゲート3,ゲート
4からはゼロが出力される。これらが加算器5によって
加算されるため、加算器5からはアタックレベルがその
まま出力されることになる。アタックレベルをDa,レジ
スタ10の値をEnとすると、減算器6の出力ΔEは
(Da−En)
となる。乗算器7はこの値ΔEをτにより8ビット右シ
フトする。このため、乗算器7の出力Mは
τ・(Da−En)
となる。この値Mがゲート8を介して加算器9に与えら
れる。加算器9はレジスタ10が出力する値Enとゲート8
の出力値Mを加算する。このため加算器9の出力Snは
En+τ・(Da−En)
となる。この値Snをレジスタ10へ格納する。このためレ
ジスタ10の値Enは次式のように更新されていく。
En+1=En+τ・(Da−En) ……(1)
このようにしてレジスタ10の値Enはコンデンサの充電
時のような変化をしながら増加していく(第3図A区
間)。このレジスタ10の出力Enをエンベロープ信号とし
て用いる。
ここでEnが徐々に増加し、アタックレベルDaと等しく
なると、減算器6の出力がゼロになりZ0=“1"となる。
すると論理回路1の出力Aは“0",出力Bは“1"とな
り、ゲート2が閉じ、ゲート3が開かれる。これにより
加算器5はサステインレベルDsを出力する。以下前記と
同様にして(1)式に於て“Da”を“Ds”とした形に従
って演算が行われ、レジスタ出力Enは徐々にサステイン
レベルDsに近付いていく(第3図B区間)。なお、ここ
で
En=Ds
となっても論理回路1の出力状態は変化しないようにな
っている。
次いで、鍵が離されると、押鍵信号KONが“0"とな
り、論理回路1の出力Sが“0"出力Rが“1"となる。す
ると、ゲート3が閉じゲート4が開くため加算器5はフ
ィイナルレベルDfを出力する。以下前記と同様にして、
(1)式に於て“Da”を“Df”とした形に従って演算が
行われレジスタ出力Enは徐々にファイナルレベルDfに近
付いていく(第3図C区間)。
以上のようにしてアタック,ディケイ,サステイン,
リリースといったエンベロープ信号が形成される。
発明が解決しようとする問題点
しかしながら上記のような構成では、アタックからデ
ィケイへ移る場合、エンベロープ値Enがその目標値であ
るDaと等しくなるまで待たねばならない。(1)式によ
り示される漸化式のEnの値は指数関数的な変化をするた
め、エンベロープ値Enが目標値Daの90%になってから99
%になる時間は、エンベロープ値Enが目標値Daの0%か
ら90%になる時間に等しい。つまり、エンベロープ値En
が目標値Daにほぼ等しくなってから実際にアタックから
ディケイになるまでにかなりの時間を要することにな
る。また、上記のような構成では、アタックにおいてエ
ンベロープ信号の傾きがゼロでないうちにディケイモー
ドにすることは出来ない。即ち、第4図に示すようなア
タック部(A区間)を有するようなパルシブな楽音を発
生するエンベロープ信号を得ることは出来ないという問
題点があった。
本発明は上記問題点に鑑み、エンベロープの傾きがゼ
ロでなくともアタックからディケイへ移ることができる
ようなエンベロープを発生する電子楽器を提供すること
を目的とするものである。
問題点を解決するための手段
上記問題点を解決するために本発明の電子楽器は、エ
ンベロープ信号の変化を表すレベルD,時定数τと所定時
間を表す値Tとをアドレスごとに記憶するメモリと、前
記メモリのアドレスを指定するアドレスカウンタと、該
メモリより出力された値(D,τ)に基づき、前記Dによ
り定まる値に向かってτにより定まる変化量で漸近する
ようにしたエンベロープ信号を発生するエンベロープ信
号発生手段と、前記Tにより定まる時間を経過すると前
記アドレスカウンタの出力値を更新する更新手段を有す
るようにしたものである。
作用
本発明は上記した構成によって、前記Dにより定まる
値とエンベロープ信号が等しくなるまで待つことなく、
演算時間の管理を行い、所定の時刻が経過すると前記
(D,τ)の値を更新するようにしたため、従来例にて示
したようにエンベロープ信号がDにより定まる値に近ず
き、{τ・(En−D)}がゼロになっても一定の時刻が
経過すれば(D,τ)の更新が行われるので、エンベロー
プ信号のビット長を大きくする必要がない。また、時間
情報Tにより、前記Dにより定まる値とエンベロープ信
号値と無関係に(D,τ)の値を更新することが出来るた
め、エンベロープ信号の傾きがゼロでない状態で(D,
τ)の値を更新でき、急峻なアタック部を形成すること
も可能である。
実施例
以下本発明の一実施例について図面に基づき説明を行
う。
第1図は本発明の一実施例における電子楽器の構成を
示すものである。第1図において、20はENVレジスタで
あり、エンベロープデータが格納されている。21は加算
器であり、Aバスに端子A,Bバスに端子Bが接続され、
端子Aの値に端子Bの値を反転して加算し、更に端子CI
(キャリー入力)のデータを加算しCバスに出力する。
また、端子Rが“1"になると、端子A側のデータをALL
“0"にして加算動作を行う。22はシフタであり、端子I
へ入力される信号を端子Cへの入力に応じて右シフトし
端子Oより出力する。端子Cには後述のb5〜b2が与えら
れている。23は乗算器であり、端子AがCバス、端子B
がDバスに接続され、端子A,端子Bに与えられたデータ
の乗算を行いEバスに出力する。24はレートデータレジ
スタであり、例えばマイコン等で随時書換えが可能とな
っているものである。25は波形データ発生器であり、周
期的な波形信号を出力する。26はレベル検出器であり、
端子Aに与えられる値の絶対値が“0"または“−1"にな
ると、端子Yより“1"を出力する。27はタイマカウンタ
であり、端子Aの入力に応じて一定の時間を計数し、そ
の時刻が経過すると端子Yより“1"を出力する。28はセ
レクタであり、端子Aと端子Bに与えられる入力を端子
Sに与えられる入力信号に応じてセレクトし出力する。
29はアドレスカウンタであり、端子ENに与えられる信号
が“1"の時、端子CKによって与えられるクロック信号に
基づきアドレスデータのインクリメントを行う。30はEN
Vデータメモリであり端子Aより与えられる信号をアド
レスとしてデータを読み出し、端子Dより20ビットのデ
ータを出力する。ENVデータメモリに格納されているデ
ータのデータフォーマットは第1表に示すとおりであ
る。
31,39はラッチであり、端子Dに与えられた信号を端
子Gに与えられた信号によってラッチする。32〜37はト
ライステートゲート(以下単にゲートと称す)である。
38はシーケンサであり、押鍵信号KON及びクロック信号C
LKに基づき必要なタイミング信号S1〜SNを発生する。
次に第1図を用いて、本実施例の動作について説明す
る。
先ず押鍵等により押鍵信号KONが“0"から“1"になる
と、最初のタイミング0〜10はイニシャルモードとして
の動作を行なった後、ノーマルモードとなり、ノーマル
モードのタイミング0〜10を繰り返す。
<イニシャルモード>
まず、タイミング0において、アドレスカウンタ29の
出力に基づきENVデータメモリ30からデータが読み出さ
れる(イニシャルモード時にはタイミング信号S8が“1"
になり、アドレスカウンタ29がリセットされるため、ア
ドレス0番地からデータが読み出される)。
タイミング1においてタイミング信号S5により、この
データがラッチ31にラッチされる。
タイミング2においてゲート34、ゲート37がオンし、
AバスにALL“0",BバスにはENVデータメモリの上位10ビ
ットであるb13〜bA(D)が与えられる。
タイミング3においてタイミング信号S11が“1"とな
ると同時に加算器21がAバス,Bバスの加算を行いCバス
に出力する。ここで、この加算動作について考えると、
加算器21の端子CIに“1"が与えられており、Bバスのデ
ータを反転して加算されているので、
(端子A入力=0)−D ……(2)
が算出されることになる。
タイミング4において、乗算器23がCバスのデータと
レートデータレジスタ24の出力RDの乗算を行いEバスに
出力する。ここでのEバスの出力は
(0−D)×RD ……(3)
となる。
タイミング5において、タイミング信号S1,タイミン
グ信号S2が“1"となり、ゲート32,33がオンする。ここ
でゲート33はEバスのデータを2ビット右シフトしてA
バスに与えるようにしてある。
タイミング6において、タイミング信号S11が“1"と
なると同時に、加算器21が端子Rに与えられている信号
を参照してこれらのデータの加算を行い、Cバスに出力
する。このため、加算出力は、
となる。即ち、この加算において(0−D)の0.75倍の
乗算を行っているものである。
タイミング7において、シフタ22が端子Cに与えられ
たデータ(b5〜b2)に基づき上記データのビットシフト
を行い、端子0より出力する。故にシフタ22の出力は
但し、m=b5〜b2
となる。即ち、0.5mの乗算を行っているものである。ま
た、この値がレベル検出器26に与えられ、この値がALL
“0",ALL“1"ならば“1"を出力する。ここで、セレクタ
28がラッチ31の出力b0に応じて、前述のレベル検出器26
の出力と、このタイマカウンタ27の出力より何れかを選
択し、端子Yより出力する。アドレスカウンタ29がセレ
クタ28の出力を受け取り、出力が“1"ならばアドレスを
インクリメントする。
タイミング8において、ゲート35,37がオンし、Aバ
スにALL“0"が、Bバスにシフタ22の出力が与えられる
と同時にタイミング信号S11が“1"になる。このため、
加算器21の出力は、
となる。
タイミング9において、この値がCバスを通じてENV
レジスタ20に書き込まれると同時に、乗算器23へ送出さ
れる。この時、波形データ発生器25より周期的な波形デ
ータが発生されDバスに与えられている。このため、乗
算器23は(7)式によって示されるエンベロープデータ
と波形データの乗算を行いEバスより出力する。
タイミング10においてラッチ39が乗算器23の出力をラ
ッチし、楽音出力として送出しイニシャルモードが終了
する。
<ノーマルモード>
ノーマルモードにおける動作は、イニシャルモードに
おける(2)〜(7)式において「0」をENVレジスタ2
0の出力Enと置き換えたものとなる。故に、ノーマルモ
ードにおいては(7)式は
但しb1=0
となる。この値がENVレジスタ20に格納されるため、ENV
レジスタ20の値Enは、
となる。このようにしてENVレジスタ20の値は、徐々に
“D"に向かって漸近していく。また、アドレスカウンタ
29の値が変わり、Dの値が変わると、新たなDの値に漸
近するように、新しいm,b1,b0の値に基づいて変化す
る。
次に鍵が離され押鍵信号KONが“0"になると、タイミ
ング3においてゲート34がオンせずゲート36がオンす
る。このため(9)式において
D=0
としたものと等しくなり、ENVレジスタ20の値は徐々に
“0"に向かって減衰していく。
ここでタイマカウンタ27について考えると、タイマカ
ウンタ27にはラッチ31のb9〜b6によるタイマデータTが
与えられており、タイマデータTに応じた時間間隔でパ
ルス信号を出力する。ここで、仮にb0=0であるとする
と、アドレスカウンタ29にはタイマカウンタ27の出力が
与えらえるため、上記タイミング0〜10の演算が何回か
行われた後、タイマカウンタ27が出力するパルス信号に
よりアドレスカウンタ29がインクリメントされ、上記
(D,τ)の値が更新されるとともにタイマデータTの値
も更新される。これにより、ENVデータメモリにおける
各々の(D,τ)による演算回数を自由に制御することが
可能となる。
なお、本実施例においては、加算器21,乗算器23を時
分割で使用するようにしているが、個々の演算用に個別
にそれら演算器を持つようにしても良いものである。逆
に、本実施例においてはエンベロープ1チャンネル分が
発生される構成となっているが、第1図に示すところの
回路を時分割で用いて複数チャンネルのエンベロープ信
号を発生できるのは勿論のことである。
発明の効果
以上のように本発明は、メモリより読み出された値
(D,τ)に基づき、前記Dにより定まる値に向かって前
記τにより定まる変化量で漸近するようにしたエンベロ
ープ信号を発生する電子楽器において、前記(D,τ)と
ともに所定時間Tをメモリより読み出し、前記所定時間
Tにより定まる時間を経過すると、前記(D,τ)及びT
の値を更新するようにしたため、従来例にて示したよう
にエンベロープ信号がDにより定まる値に近ずき、{τ
・(En−D)}がゼロになっても一定の時刻が経過すれ
ば(D,τ)の更新が行われるので、エンベロープ信号の
ビット長を大きくする必要がない。また、時間情報Tに
より、前記Dにより定まる値とエンベロープ信号値と無
関係に(D,τ)の値を更新することが出来るため、エン
ベロープ信号の傾きがゼロでない状態で(D,τ)の値を
更新でき、急峻なアタック部を形成することも可能であ
る。また、現時点のエンベロープ値とD,τの値が決まれ
ば、エンベロープ値とDとが一致するまでの時間は一義
的に決まるため、その値に所定時間Tを決めておけば、
従来例と同様なD,τ値の更新を行うため、従来例をも包
含した形のエンベロープ制御を行うことが出来るもので
ある。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument, and more particularly, to an electronic musical instrument that digitally generates an envelope signal. 2. Description of the Related Art In recent years, digitalization of electronic musical instruments has been promoted because of their good timbre and easy control. As a matter of course, envelope generation is also performed digitally (for example, Japanese Patent Laid-Open No. 52-102710). FIG. 2 is a block diagram of the conventional electronic musical instrument described above, and the description will be given below. When the key press signal KON indicating key press release changes from "0" to "1", the logic circuit 1 changes the A output to "1". As a result, an attack level is output from the gate 2, and zero is output from the gates 3 and 4. Since these are added by the adder 5, the adder 5 outputs the attack level as it is. The attack level D a, when the value of the register 10 and E n, the output ΔE of the subtractor 6 is a (D a -E n). The multiplier 7 shifts the value ΔE right by 8 bits by τ. Therefore, the output M of the multiplier 7 is τ · (D a −E n ). This value M is provided to the adder 9 via the gate 8. The adder 9 values E n and the gate 8 outputs the register 10
Is added. Thus the output S n of the adder 9 is the E n + τ · (D a -E n). Storing the value S n to the register 10. The value E n of the order register 10 will be updated as follows. E n + 1 = E n + τ · (D a -E n) ...... (1) the value E n of the register 10 in this way increases with the changes such as when charging the capacitor (3 (A section in the figure). The output E n of the register 10 is used as an envelope signal. Here increases E n gradually, becomes equal to the attack level D a, the output of the subtractor 6 is Z 0 = "1" will be zero.
Then, the output A of the logic circuit 1 becomes "0", the output B becomes "1", the gate 2 is closed, and the gate 3 is opened. Thus the adder 5 outputs the sustain level D s. Following the a is calculated according to the form of a "D a" to "D s" At a a manner (1) Similarly performed, the register output E n gradually approaches the sustain level D s (FIG. 3 B section). Here, the output state of the logic circuit 1 even when the E n = D s is as unchanged. Next, when the key is released, the key press signal KON becomes "0", the output S of the logic circuit 1 becomes "0", and the output R becomes "1". Then, the gate 3 is an adder 5 for opening the closed gate 4 outputs Ficoll Lee null level D f. Hereinafter, in the same manner as above,
(1) "D a" to "D f" and the operation according to the form is carried out register output E n gradually approaches the final level D f At a (FIG. 3 C section). Attack, decay, sustain,
An envelope signal such as a release is formed. INVENTION In trying to problems, however, such as the above-described configuration resolution, a transfer from the attack to decay, the envelope value E n must wait until it equals a D a is the target value. (1) to the value exponential change in E n recurrence formula represented by the formula, from the envelope values E n becomes 90% of the target value D a 99
% To become time it is equal to the time the envelope value E n is from 0% to 90% of the target value D a. That is, the envelope value En
There it takes considerable time to actually from attack from nearly equal to the target value D a until decay. Further, with the above configuration, the decay mode cannot be set before the slope of the envelope signal during the attack is not zero. That is, there is a problem that it is impossible to obtain an envelope signal that generates a pulsative musical tone having an attack portion (section A) as shown in FIG. The present invention has been made in view of the above problems, and has as its object to provide an electronic musical instrument that generates an envelope that can shift from attack to decay even if the slope of the envelope is not zero. Means for Solving the Problems In order to solve the above problems, the electronic musical instrument of the present invention has a memory for storing a level D representing a change in an envelope signal, a time constant τ, and a value T representing a predetermined time for each address. And an address counter for designating an address of the memory, and an envelope signal which, based on the value (D, τ) output from the memory, asymptotically approaches a value determined by the D with an amount of change determined by τ. It has an envelope signal generating means for generating and an updating means for updating the output value of the address counter when a time determined by the T elapses. Operation The present invention has the above-mentioned configuration, and does not wait until the value determined by D becomes equal to the envelope signal.
Since the calculation time is managed and the value of (D, τ) is updated when a predetermined time elapses, the envelope signal approaches the value determined by D as shown in the conventional example, and {τ Even if (E n −D) 一定 becomes zero, (D, τ) is updated after a certain time, so that it is not necessary to increase the bit length of the envelope signal. Further, since the value of (D, τ) can be updated irrespective of the value determined by D and the envelope signal value by the time information T, (D, τ) can be obtained when the slope of the envelope signal is not zero.
τ) can be updated, and a steep attack portion can be formed. Embodiment An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of an electronic musical instrument according to an embodiment of the present invention. In FIG. 1, reference numeral 20 denotes an ENV register which stores envelope data. 21 is an adder, the terminal A is connected to the A bus, the terminal B is connected to the B bus,
The value of terminal B is inverted and added to the value of terminal A, and
(Carry input) data is added and output to the C bus.
When the terminal R becomes "1", the data on the terminal A
Set to “0” to perform the addition operation. Reference numeral 22 denotes a shifter.
Is shifted rightward according to the input to the terminal C and output from the terminal O. The terminal C are given b 5 ~b 2 below. 23 is a multiplier, a terminal A is a C bus, a terminal B
Is connected to the D bus, multiplies the data supplied to the terminals A and B, and outputs the result to the E bus. Reference numeral 24 denotes a rate data register, which can be rewritten at any time by a microcomputer or the like. Reference numeral 25 denotes a waveform data generator, which outputs a periodic waveform signal. 26 is a level detector,
When the absolute value of the value given to the terminal A becomes “0” or “−1”, “1” is output from the terminal Y. Reference numeral 27 denotes a timer counter which counts a predetermined time in accordance with the input from the terminal A, and outputs "1" from the terminal Y when the time elapses. Reference numeral 28 denotes a selector, which selects and outputs an input supplied to a terminal A and a terminal B according to an input signal supplied to a terminal S.
An address counter 29 increments address data based on a clock signal supplied from a terminal CK when a signal supplied to a terminal EN is "1". 30 is EN
It is a V data memory, reads data using a signal given from a terminal A as an address, and outputs 20-bit data from a terminal D. The data format of the data stored in the ENV data memory is as shown in Table 1. 31 and 39 are latches for latching the signal given to the terminal D by the signal given to the terminal G. 32 to 37 are tri-state gates (hereinafter simply referred to as gates).
Reference numeral 38 denotes a sequencer, which includes a key press signal KON and a clock signal C.
The necessary timing signals S 1 to S N are generated based on LK. Next, the operation of this embodiment will be described with reference to FIG. First, when the key press signal KON changes from "0" to "1" due to a key press or the like, the first timings 0 to 10 perform an operation as an initial mode, then enter a normal mode, and repeat the normal mode timings 0 to 10. . <Initial mode> First, at the timing 0, the data from the ENV data memory 30 based on the output of the address counter 29 is read (timing signal S 8 to the initial mode is "1"
, And the address counter 29 is reset, so that data is read from address 0). The timing signal S 5 at the timing 1, the data is latched by the latch 31. At timing 2, the gate 34 and the gate 37 are turned on,
ALL “0” is supplied to the A bus, and b 13 to b A (D), which are the upper 10 bits of the ENV data memory, are supplied to the B bus. At the same time the adder 21 when the timing signal S 11 is "1" is output A bus and the C bus performs addition of B bus at the timing 3. Here, considering this addition operation,
Since “1” is given to the terminal CI of the adder 21 and the data of the B bus is inverted and added, (terminal A input = 0) −D (2) is calculated. Become. At timing 4, the multiplier 23 multiplies the data on the C bus by the output RD of the rate data register 24 and outputs the result to the E bus. The output of the E bus is (0-D) × RD (3). At timing 5, the timing signals S 1 and S 2 become “1”, and the gates 32 and 33 are turned on. Here, the gate 33 shifts the data of the E bus right by 2 bits and
I give it to the bus. At timing 6, at the same time when the timing signal S 11 is "1", performs addition of data with reference to a signal from the adder 21 is supplied to the terminal R, and outputs to the C bus. Therefore, the addition output is Becomes That is, in this addition, a multiplication of 0.75 times (0-D) is performed. At timing 7, the shifter 22 performs a bit shift of the data based on the data (b 5 to b 2 ) given to the terminal C, and outputs the data from the terminal 0. Therefore, the output of shifter 22 is However, m = b 5 to b 2 . That is, a multiplication of 0.5 m is performed. Also, this value is given to the level detector 26, and this value is
If “0”, ALL “1”, “1” is output. Where the selector
28 in accordance with the output b 0 of the latch 31, the level detector 26 of the above
And the output of this timer counter 27, and outputs it from the terminal Y. The address counter 29 receives the output of the selector 28, and if the output is "1", increments the address. In the timing 8, the gate 35 and 37 is turned on, the ALL "0" to the A bus, a timing signal S 11 at the same time the output is given of the shifter 22 becomes "1" to the B bus. For this reason,
The output of the adder 21 is Becomes At timing 9, this value becomes ENV through the C bus.
The data is written to the register 20 and sent to the multiplier 23 at the same time. At this time, the waveform data generator 25 generates periodic waveform data and supplies it to the D bus. Therefore, the multiplier 23 multiplies the envelope data and the waveform data represented by the equation (7) and outputs the result from the E bus. At timing 10, the latch 39 latches the output of the multiplier 23 and sends it out as a tone output, ending the initial mode. <Normal mode> In the normal mode, “0” is set in the ENV register 2 in the equations (2) to (7) in the initial mode.
The thing that was replaced by the output E n of 0. Therefore, in normal mode, equation (7) becomes However, b 1 = 0. Since this value is stored in ENV register 20, ENV
The value E n of the register 20, Becomes In this way, the value of the ENV register 20 gradually approaches “D”. Also, address counter
When the value of 29 changes and the value of D changes, it changes based on the new values of m, b 1 and b 0 so as to asymptotically approach the new value of D. Next, when the key is released and the key press signal KON becomes “0”, the gate 34 does not turn on at the timing 3 and the gate 36 turns on. Therefore, the value becomes equal to D = 0 in the equation (9), and the value of the ENV register 20 gradually decreases toward “0”. Now consider the timer counter 27, the timer counter 27 and timer data T is given by b 9 ~b 6 of the latch 31, and outputs a pulse signal at time intervals corresponding to the timer data T. Here, if it is assumed that b 0 = 0, the output of the timer counter 27 is given to the address counter 29. Therefore, after the above-described operations at timings 0 to 10 are performed several times, the timer counter 27 outputs In response to the pulse signal, the address counter 29 is incremented, and the value of (D, τ) is updated, and the value of the timer data T is also updated. This makes it possible to freely control the number of operations by each (D, τ) in the ENV data memory. In this embodiment, the adder 21 and the multiplier 23 are used in a time-division manner. However, these arithmetic units may be individually provided for each operation. Conversely, in this embodiment, one channel of the envelope is generated. However, it is a matter of course that the envelope signal of a plurality of channels can be generated by using the circuit shown in FIG. 1 in a time division manner. It is. As described above, according to the present invention, based on the value (D, τ) read from the memory, the envelope signal is generated so as to approach the value determined by D with the variation determined by τ. In the electronic musical instrument, the predetermined time T is read out from the memory together with the (D, τ), and when the time determined by the predetermined time T elapses, the (D, τ) and T
Is updated, the envelope signal approaches the value determined by D as shown in the conventional example, and {τ
Even if (E n −D) 一定 becomes zero, (D, τ) is updated after a certain time, so that it is not necessary to increase the bit length of the envelope signal. In addition, since the value of (D, τ) can be updated by the time information T independently of the value determined by D and the envelope signal value, the value of (D, τ) can be updated when the slope of the envelope signal is not zero. Can be updated, and a steep attack portion can be formed. Also, if the current envelope value and the values of D and τ are determined, the time until the envelope value and D match is uniquely determined. Therefore, if a predetermined time T is determined for that value,
Since the D and τ values are updated in the same manner as in the conventional example, it is possible to perform envelope control in a form including the conventional example.
【図面の簡単な説明】
第1図は本発明の一実施例における電子楽器を示すブロ
ック図、第2図は従来における電子楽器を示すブロック
図、第3図は第2図による電子楽器により発生されるエ
ンベロープ信号を示す波形図、第4図は本発明のエンベ
ロープ信号を示す波形図である。
20……ENVレジスタ、21……加算器、22……シフタ、23
……乗算器、24……レートデータレジスタ、25……波形
データ発生器、27……タイマカウンタ、29……アドレス
カウンタ、30……ENVデータメモリ、31……ラッチ、32
〜37……ゲート、38……シーケンサ、39……ラッチ。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an electronic musical instrument according to an embodiment of the present invention, FIG. 2 is a block diagram showing a conventional electronic musical instrument, and FIG. 3 is generated by the electronic musical instrument shown in FIG. FIG. 4 is a waveform diagram showing an envelope signal of the present invention, and FIG. 4 is a waveform diagram showing an envelope signal of the present invention. 20: ENV register, 21: Adder, 22: Shifter, 23
... Multiplier, 24 ... Rate data register, 25 ... Waveform data generator, 27 ... Timer counter, 29 ... Address counter, 30 ... ENV data memory, 31 ... Latch, 32
~ 37 ... Gate, 38 ... Sequencer, 39 ... Latch.
フロントページの続き (72)発明者 藤井 克芳 門真市大字門真1006番地 松下電器産業 株式会社内 (72)発明者 森 大輔 門真市大字門真1006番地 松下電器産業 株式会社内 (56)参考文献 特開 昭52−102710(JP,A) 特開 昭55−138798(JP,A) 特公 昭58−9958(JP,B2)Continuation of front page (72) Inventor Katsuyoshi Fujii 1006 Kadoma Kadoma Matsushita Electric Industrial Inside the corporation (72) Inventor Daisuke Mori 1006 Kadoma Kadoma Matsushita Electric Industrial Inside the corporation (56) References JP-A-52-102710 (JP, A) JP-A-55-138798 (JP, A) Japanese Patent Publication No. 58-9958 (JP, B2)
Claims (1)
所定時間を表す値Tとをアドレスごとに記憶するメモリ
と、前記メモリのアドレスを指定するアドレスカウンタ
と、該メモリより出力された値(D,τ)に基づき、前記
Dにより定まる値に向かってτにより定まる変化量で漸
近するようにしたエンベロープ信号を発生するエンベロ
ープ信号発生手段と、前記Tにより定まる時間を経過す
ると前記アドレスカウンタの出力値を更新する更新手段
を有することを特徴とする電子楽器。(57) [Claims] A memory for storing, for each address, a level D representing a change in the envelope signal, a time constant τ, and a value T representing a predetermined time, an address counter for designating an address of the memory, and a value (D, τ), an envelope signal generating means for generating an envelope signal asymptotic to a value determined by τ toward a value determined by D, and an output value of the address counter when a time determined by T elapses. An electronic musical instrument having updating means for updating.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61138595A JP2723507B2 (en) | 1986-06-13 | 1986-06-13 | Electronic musical instrument |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61138595A JP2723507B2 (en) | 1986-06-13 | 1986-06-13 | Electronic musical instrument |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62294291A JPS62294291A (en) | 1987-12-21 |
| JP2723507B2 true JP2723507B2 (en) | 1998-03-09 |
Family
ID=15225764
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61138595A Expired - Lifetime JP2723507B2 (en) | 1986-06-13 | 1986-06-13 | Electronic musical instrument |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2723507B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS52102710A (en) * | 1976-02-25 | 1977-08-29 | Nippon Gakki Seizo Kk | Functional wave generator for electronic instrument |
| JPS55138798A (en) * | 1979-04-18 | 1980-10-29 | Sony Corp | Envelope signal generator |
-
1986
- 1986-06-13 JP JP61138595A patent/JP2723507B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62294291A (en) | 1987-12-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS61107298A (en) | Musical sound signal generator | |
| JPS6412399B2 (en) | ||
| US4785706A (en) | Apparatus for generating a musical tone signal with tone color variations independent of tone pitch | |
| JP2723507B2 (en) | Electronic musical instrument | |
| US4535669A (en) | Touch response apparatus for electronic musical apparatus | |
| US5117725A (en) | Device for changing and controlling the rate of generating waveform data | |
| US4263828A (en) | Electronic musical instrument having envelope controlled _automatic performance | |
| US4103581A (en) | Constant speed portamento | |
| US5710386A (en) | Method and apparatus for efficiently controlling access to stored operation control data and tone forming data | |
| JPH0225515B2 (en) | ||
| JP2861007B2 (en) | Electronic musical instrument | |
| JPS6330638B2 (en) | ||
| JPH0331273B2 (en) | ||
| JP3045130B2 (en) | Electronic musical instrument | |
| JPH023197B2 (en) | ||
| JPH073638B2 (en) | Electronic musical instrument | |
| JPH0121515B2 (en) | ||
| JP2621234B2 (en) | Electronic musical instrument control signal generator | |
| JPH043554B2 (en) | ||
| JP3044712B2 (en) | Electronic musical instrument | |
| JP2530696Y2 (en) | Electronic musical instrument data creation device | |
| JP2950893B2 (en) | Music signal generator | |
| JP2819719B2 (en) | Arithmetic circuit | |
| JP2964498B2 (en) | Envelope waveform generator for electronic musical instruments | |
| JPS5842477B2 (en) | electronic musical instruments |