JPS6023354B2 - Volume envelope control device - Google Patents

Volume envelope control device

Info

Publication number
JPS6023354B2
JPS6023354B2 JP58223675A JP22367583A JPS6023354B2 JP S6023354 B2 JPS6023354 B2 JP S6023354B2 JP 58223675 A JP58223675 A JP 58223675A JP 22367583 A JP22367583 A JP 22367583A JP S6023354 B2 JPS6023354 B2 JP S6023354B2
Authority
JP
Japan
Prior art keywords
envelope
counter
value
state
octave
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
JP58223675A
Other languages
Japanese (ja)
Other versions
JPS59107387A (en
Inventor
俊雄 樫尾
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.)
KASHIO KEISANKI KK
Original Assignee
KASHIO KEISANKI KK
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 KASHIO KEISANKI KK filed Critical KASHIO KEISANKI KK
Priority to JP58223675A priority Critical patent/JPS6023354B2/en
Publication of JPS59107387A publication Critical patent/JPS59107387A/en
Publication of JPS6023354B2 publication Critical patent/JPS6023354B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、電子楽器における音量ェンベロープ制御装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a volume envelope control device for an electronic musical instrument.

〔従来技術とその問題点〕[Prior art and its problems]

従来の音量ェンベロープ制御装置を第1図を用いて説明
すると、まず演奏キ‐ーボード100上で演奏操作され
た鍵に対応するキーコードはキーコードメモリ101に
保持され、その記憶キーコード‘ま音高クロック発生部
102に供V給されることにより対応する音高クロック
信号を選択する。
To explain the conventional volume envelope control device using FIG. A corresponding tone pitch clock signal is selected by supplying V to the high clock generating section 102.

音高クロック発生部102から出力される音高クロツク
信号は5ビットのバイナリカウンタ103に計数歩進信
号として印加される。即ち、このステップカウンタ10
3は楽音波形1サイクルの童子化ステップを刻む「32
」(0〜31)の計数状態を得るもので、各5ビット出
力はデコーダ104で「32」の出力として計数ステッ
プ毎に順次出力信号を発生し、楽音波形作成部105か
ら楽音波形を読み出すのである。楽音波形作成部105
は例えば第2図に示される波形に対応して各ステップ毎
の値を数値化してROM(リードオンリメモリ)にあら
かじめ固定記憶しておいたり、或いは各ステップ毎にス
イッチ選択により第2図の波形に対応した数値指定が行
えるようになっているのである。そして、楽音波形作成
部105よりステップ毎に順次読み出された出力値は乗
算回路106に供V給される。この乗算回路106はェ
ンベロープカウンタ107の計数値と秦算した値を出力
するのである。このヱンベロープカウンタ107は5ビ
ット(1,2,4,8,16ウェイト)で常にアップカ
ウントする32進(0〜31の計数状態)のバィナリカ
ウンタでなり、その上位には更に2ビット(32,64
ウェイト)の状態カゥンタ108が直列後続されている
。状態カゥンタ108は音量ェンベロープのクリア(キ
ー放し)、アタック、サスティン、リリースの各状態を
検出する為に、ェンベロープカウンタ107の1楯毎に
計数歩進される。この状態カウンタ108の計数状態は
状態検出回路109でデコードされ、対応する状態検出
信号を乗算回路106に制御信号として供尊台する。つ
まり、アタック状態ではェンベロープカウンタ107の
計数値を音量制御値とし、サスティン状態の検出ではェ
ンベロープカウンタ107の計数歩進にかかわらず最大
振幅値「31」をェソベロープのサスティン状態での音
量制御値とするように、またリリース状態検出ではェン
ベロープカウンタ107の5ビット出力値を反転した補
数値を音量制御値とするようにしてリリース状態でェン
ベロープカウンタ107をダウンカウントすることなく
実質的にダウンカウントと同様な制御が行われるように
なる。そしてヱンベロープカゥンタ107の計数値を前
記したようにアタック、サスティン、リリース状態で制
御した音量制御値は楽音波形作成部105から読み出さ
れた各ステップ毎の出力値と乗算回路106にて乗算さ
れるようになる。前記ェンベロープカウンタ107の5
ビット出力はアダー1 1川こ供繋溝される。
The pitch clock signal output from the pitch clock generator 102 is applied to a 5-bit binary counter 103 as a counting step signal. That is, this step counter 10
3 is the "32
'' (0 to 31), and each 5-bit output is outputted by the decoder 104 as an output of ``32'' to generate an output signal sequentially at each counting step, and the tone waveform is read out from the tone waveform generator 105. be. Musical sound waveform creation section 105
For example, the values for each step can be digitized and fixedly stored in a ROM (read-only memory) in accordance with the waveform shown in FIG. 2, or the waveform shown in FIG. 2 can be created by selecting a switch for each step. It is now possible to specify numerical values corresponding to . The output values sequentially read out for each step from the tone waveform creation section 105 are supplied to the multiplication circuit 106. This multiplication circuit 106 outputs a value obtained by multiplying the count value of the envelope counter 107. This envelope counter 107 is a 32-decimal (counting state from 0 to 31) binary counter that always counts up with 5 bits (1, 2, 4, 8, 16 waits), and an additional 2 bits are added to the upper part. (32,64
A state counter 108 (wait) is followed in series. The state counter 108 is incremented for each shield of the envelope counter 107 in order to detect the clear (key released), attack, sustain, and release states of the volume envelope. The counted state of the state counter 108 is decoded by a state detection circuit 109, and a corresponding state detection signal is sent to the multiplication circuit 106 as a control signal. In other words, in the attack state, the count value of the envelope counter 107 is used as the volume control value, and in the detection of the sustain state, the maximum amplitude value "31" is set as the volume control value in the sustain state of the envelope, regardless of the count increment of the envelope counter 107. In addition, when detecting the release state, the complementary value obtained by inverting the 5-bit output value of the envelope counter 107 is used as the volume control value, so that the envelope counter 107 does not count down in the release state. Substantially the same control as a down count is performed. Then, the volume control value obtained by controlling the count value of the envelope counter 107 in the attack, sustain, and release states as described above is obtained by combining the output value for each step read from the musical sound waveform creation section 105 with the multiplication circuit 106. will be multiplied. 5 of the envelope counter 107
The bit output is connected to the adder 1.

このアダー1 10には前記デコーダ104からのステ
ップカウンタ103の「0一計数時則ち「0」ステップ
検出信号が「十IJ加算信号として印加され、楽音波形
の1サイクルの「0」ステップに同期して毎サイクル「
十1一如算されるようになる。アダー110で加算され
た出力値は再びェンベロープカウン夕107に入力され
ることにより、ステップカウンタ103の毎サイクルの
「0」ステップで音量制御値が「1一ずつ増加するので
ある。そして、前記乗算回路106の出力値はアダー1
11を介して累算器112に供給され、更に累算器11
2の出力はアダー111にフィードバックされ累算され
るようになると共にD/A(ディジタルーアナログ)変
換回路1 13及びフィルター 14を順に介してスピ
ーカ115で音響出力される。上記礎成によれば、演奏
キーボード100で操作された鍵に対応する音高クロッ
ク信号が音高クロック発生部102より出力されステッ
プカウン夕1・03で計数される。また、鍵が操作され
ることにより状態カウソタ108は「00」のクリア状
態からアタック状態の「10」に設定される。そして、
このアタック状態ではステップカゥンタ103の「0」
ステップ計数時にデコーダ104から出力される信号に
より楽音波形の毎サイクル、アダー110で「十1一如
算されるようになる為ヱンベロープカウンタ107は毎
サイクル順次「十1一計数歩進される。従って、第3図
に示した如く、楽音波形作成部105から出力される3
2ステップで1サイクルする第2図に示した楽音波形(
第3図では蘭略した直線三角波で示してある)は、ェン
ベロープカウンタ107での音量制御値が変化する毎サ
イクル、その音量制御値で乗算制御され乗算回路106
から次第に大きな出力値として発生される。このアタッ
ク状態でェンベロ−ブカウンタ107が最大32進(「
11111一計数状態)になると状態カウンタ108は
「01」のサスティン状態に変化する。サスティン状態
ではェンベロープカウンタ107は再び「00000一
計数状態から上記同様毎サイクル計数歩進されるが、状
態検出回路109からのサスティン状態検出信号が上試
乗算回路106に供給される為みかけ上音量制御値は最
大振幅値31(「11111一計数状態)となるように
制御され、サスティン期間中は楽音波形の読み出し出力
値と乗算される音量制御値は同じ値となる。そして、ェ
ンベロープカゥンタ107が再び最大の32進になると
状態カゥンタ108は「1Lのリリース状態、となる。
リリース状態では、エンベロープカウンタ107は「0
0000」の状態から「0」ステップに同期して毎サイ
クル計数歩進されるが、リリース状態は音量は下がる方
向にある為、乗算回路106はェンベロープカウン夕1
07の当該計数値の「31」の補数値を音量制御値とす
るように制御され、第4図の如く、アタック状態とは逆
に最大振幅値「31」から「0」方向(実質的にはダウ
ンカウントと同様)に「1一計数毎に次第に音量が4・
さくなるようになる。このような構成によれば、楽音波
形の周波数スペクトル成分中にアタック時間若しくはリ
リース時間で発生されるノイズ成分を吸引させることが
できノイズが知覚されることはないという効果を得られ
る。しかしながら、このような構成による動作は、鍵の
夫々に対応して音高クロック発生部102より発生され
る音高クロック信号の周波数が異なることにより、ステ
ップカウンタ103の1サイクル周期も変化する為、音
高によりェンベロープの形状が異なってしまうという大
きな欠点がある。〔発明の目的〕 本顕発明は、このような欠点を解決し、どの鍵を操作し
てもェンベロープの形状が異ならないようなあるいは所
望の形状となるような音量ェンベロープ制御装置を提供
することにある。
To this adder 1 10, the 01 counting time or 0 step detection signal of the step counter 103 from the decoder 104 is applied as a 10 IJ addition signal, synchronized with the 0 step of one cycle of the musical sound waveform. and every cycle '
The 11th will be calculated. The output value added by the adder 110 is inputted again to the envelope counter 107, so that the volume control value is incremented by "1" at the "0" step of every cycle of the step counter 103. The output value of the multiplication circuit 106 is adder 1
11 to an accumulator 112;
The output of 2 is fed back to the adder 111 to be accumulated, and is outputted as sound from the speaker 115 via the D/A (digital-to-analog) conversion circuit 1 13 and the filter 14 in this order. According to the above-mentioned basic structure, pitch clock signals corresponding to keys operated on the performance keyboard 100 are outputted from the pitch clock generation section 102 and counted by the step counter 1.03. Further, by operating the key, the state counter 108 is set from the clear state of "00" to the attack state of "10". and,
In this attack state, the step counter 103 is “0”.
The signal output from the decoder 104 during step counting causes the adder 110 to count ``111'' every cycle of the musical waveform. Therefore, as shown in FIG.
The musical sound waveform shown in Figure 2, which completes one cycle in two steps (
3) is multiplied by the volume control value of the envelope counter 107 every cycle when the volume control value of the envelope counter 107 changes.
It is generated as a gradually larger output value. In this attack state, the envelope counter 107 is up to 32 decimal ("
11111-counting state), the state counter 108 changes to the sustain state of "01". In the sustain state, the envelope counter 107 is again incremented every cycle from the "00000 one counting state" as described above, but since the sustain state detection signal from the state detection circuit 109 is supplied to the upper test multiplication circuit 106, the envelope counter 107 appears to be The volume control value is controlled to be the maximum amplitude value 31 (“11111-counting state”), and during the sustain period, the volume control value multiplied by the read output value of the musical waveform is the same value. When the counter 107 reaches the maximum 32-decimal value again, the state counter 108 becomes "1L released state."
In the released state, the envelope counter 107 is "0".
The count is incremented every cycle from the state of "0000" in synchronization with the "0" step, but since the volume is in the direction of decreasing in the release state, the multiplication circuit 106
The volume control value is controlled to be the complement value of "31" of the relevant count value of 07, and as shown in FIG. (Same as down counting)
It starts to get colder. According to such a configuration, it is possible to absorb noise components generated at the attack time or release time into the frequency spectrum components of the musical sound waveform, and it is possible to obtain the effect that the noise is not perceived. However, in the operation with such a configuration, the one cycle period of the step counter 103 also changes due to the difference in the frequency of the pitch clock signal generated by the pitch clock generator 102 corresponding to each key. A major drawback is that the shape of the envelope differs depending on the pitch. [Objective of the Invention] The present invention aims to solve these drawbacks and provide a volume envelope control device in which the shape of the envelope does not change or becomes a desired shape no matter which key is operated. be.

〔発明の要点〕[Key points of the invention]

かかる目的を達成するため、本発明は、操作された鍵に
応じて発生されるキーコードーこ基づき選択される加算
値データを所定タイミングで出力し他のデータと加算し
てェンベロープカウンタに送出することにより音量ヱン
ベロープ制御するものである。
In order to achieve this object, the present invention outputs added value data selected based on a key code generated in response to an operated key at a predetermined timing, adds it to other data, and sends it to an envelope counter. This is to control the volume envelope.

〔実施例〕〔Example〕

第5図は本発明の一実施例を示すものであり第1図と同
様のものには同一番号を付してある。
FIG. 5 shows an embodiment of the present invention, and parts similar to those in FIG. 1 are given the same numbers.

本実施例の構成及び動作は第1図のものとほぼ同様であ
るが、加算値セレクト回路116、オクターブデコーダ
117、を設けた点が異なり、加算値セレクト回路11
6に予め設定される複数の加算値の中からオクターブ毎
に異なる加算値を選択してアダー1 10に供孫台する
ものである。即ち、キーコードメモリ101に記憶され
たキーコードのうちのオクターブデータ(周知のように
キーコードはオクターブデータと音階データとからなる
)をオクターブデコーダ117でデコードすることによ
り、対応するオクターブ信号を加算値セレクト回路11
6に加算値セレクト信号として印加するのである。今、
最低オクターブから最高オクターブ迄を4オクターブと
し、低オクターブから順に0,〜04のオクターブとす
ると、例えばオクターブ0,では加算値「8い オクタ
ーブ02では加算値「4ハオクターブ03では加算値「
2ハオクターブ04では加算値「1」を選択して、オク
ターブに応じて異なる前記加算値をアダー11川こ供給
するようにする。従って、ステップカウソタ103の「
0」ステップ計数時に同期して、各オクターブで夫々異
なる加算値がアダー11川こ供給されることにより、各
オクターブ間で全て異なるアタック時間、リリース時間
であったものを各オクターブ間で略同じ時間にでき、ェ
ンべ。ープの形状が異ならないようにすることができる
。また力町算値の設定により所望の形状を得ることもで
きることはもちろんである。これにより例えばC4の鍵
を操作したときとC7の鍵を操作したときにヱンベロー
プの形状が変わり異なる音色に聞こえるというようなこ
とはなくなる。なお、この実施例はキーコードのうちオ
クターブデータで行ったが音階データで行ってもよいこ
とはもちろんであり、両方のデータを用いることもでき
る。
The configuration and operation of this embodiment are almost the same as those in FIG.
A different addition value for each octave is selected from among a plurality of addition values preset in the adder 6 and sent to the adder 110. That is, by decoding the octave data of the key codes stored in the key code memory 101 (as is well known, the key code consists of octave data and scale data) by the octave decoder 117, the corresponding octave signals are added. Value select circuit 11
6 as an addition value selection signal. now,
If we assume that the range from the lowest octave to the highest octave is 4 octaves, and the octaves are 0 to 04 in order from the lowest octave, for example, in octave 0, the additional value is "8", in octave 02, the additional value is "4", and in octave 03, the additional value is "4".
For the second octave 04, the addition value "1" is selected, and the addition value that differs depending on the octave is supplied to the adder 11. Therefore, the step counter 103 "
By synchronizing with the step counting and supplying different addition values for each octave, the attack and release times, which were all different between each octave, are changed to approximately the same time between each octave. I can do it, Enbe. It is possible to ensure that the shapes of the loops do not differ. It goes without saying that a desired shape can also be obtained by setting the force calculation value. This eliminates the possibility that, for example, when the C4 key is operated and the C7 key is operated, the shape of the envelope changes and different tones are heard. Although this embodiment uses octave data of the key code, it goes without saying that scale data may also be used, and both types of data may be used.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、操作された鍵に応じて発
生されるキーコ−ド‘こ基づき所定の加算値データを所
定タイミングで選択出力し、この加算値データとェンベ
ロープカウンタ手段の出力データとを加算してェンベロ
ープカウンタ手段に送出するようにしたので、操作した
鍵によりすなわち音高によりェンベロープの形状が異な
るということをなくすことができあるいは所望の形状を
得ることもでき好ましい演奏を行うことができる。
As explained above, the present invention selects and outputs predetermined added value data at a predetermined timing based on the key code generated in response to the operated key, and outputs this added value data and the envelope counter means. Since the data is added to the envelope counter means and sent to the envelope counter means, it is possible to eliminate the fact that the shape of the envelope differs depending on the key operated, that is, the pitch, or it is possible to obtain a desired shape, thereby achieving a desirable performance. It can be performed.

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

第1図は従釆の音量ェンべ。 ープ制御装置を説明する回路構成図、第2図は第1図の
説明に用いられる楽音波形図、第3図は第1図によるア
タック状態での動作説明図、第4図は同じくリリース状
態での動作説明図、第5図は本発明の一実施例を示す回
路構成図である。100・・・・・・演奏キーボード、
101・・・・・・キーコードメモリ、117・・・・
・・オクターブデコーダ、116……加算値セレクト回
路、110・・・・・・アダー、107……ヱンベロー
プカウンタ、108…・・・状態カウンタ。 多了鰯 多3酸 多2頚 多4図 第5図
Figure 1 shows the volume of the subordinate. Figure 2 is a musical sound waveform diagram used to explain Figure 1, Figure 3 is an explanatory diagram of the operation in the attack state according to Figure 1, and Figure 4 is also in the release state. FIG. 5 is a circuit configuration diagram showing an embodiment of the present invention. 100... Performance keyboard,
101...Key code memory, 117...
... Octave decoder, 116 ... Adder value selection circuit, 110 ... Adder, 107 ... Envelope counter, 108 ... Status counter. Taryo sardines, 3 acids, 2 necks, 4 figures, Figure 5

Claims (1)

【特許請求の範囲】[Claims] 1 操作された鍵に応じて発生されるキーコードに基づ
き楽音波形記憶手段から楽音波形を複数ステツプで読出
す読出し手段と、上記キーコードに基づき予め設定され
た複数の加算値データの中から所定の加算値データを上
記ステツプの中の特定ステツプの読出し時に選択出力す
る加算値データ出力手段と、エンベロープカウンタ手段
と、このエンベロープカウンタ手段の出力データと上記
選択出力される所定の加算値データとを加算して上記エ
ンベロープカウンタ手段に送出する手段とを有すること
を特徴とする音量エンベロープ制御装置。
1 reading means for reading out musical sound waveforms from the musical sound waveform storage means in multiple steps based on key codes generated in accordance with operated keys; an additional value data output means for selectively outputting the added value data of when reading a specific step among the steps, an envelope counter means, and output data of the envelope counter means and the predetermined additional value data selectively outputted. A volume envelope control device comprising: means for adding and sending the sum to the envelope counter means.
JP58223675A 1983-11-28 1983-11-28 Volume envelope control device Expired JPS6023354B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58223675A JPS6023354B2 (en) 1983-11-28 1983-11-28 Volume envelope control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58223675A JPS6023354B2 (en) 1983-11-28 1983-11-28 Volume envelope control device

Publications (2)

Publication Number Publication Date
JPS59107387A JPS59107387A (en) 1984-06-21
JPS6023354B2 true JPS6023354B2 (en) 1985-06-07

Family

ID=16801881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58223675A Expired JPS6023354B2 (en) 1983-11-28 1983-11-28 Volume envelope control device

Country Status (1)

Country Link
JP (1) JPS6023354B2 (en)

Also Published As

Publication number Publication date
JPS59107387A (en) 1984-06-21

Similar Documents

Publication Publication Date Title
EP0149896B1 (en) Method and apparatus for dynamic reproduction of transient and steady state voices in an electronic musical instrument
US4524666A (en) Musical tone forming system
US4573389A (en) Musical tone generation device of waveshape memory type
JP2571911B2 (en) Music signal generator
US4258602A (en) Electronic keyboard musical instrument of wave memory reading type
JP2915452B2 (en) Tone generator
US4526080A (en) Automatic rhythm performing apparatus
JPS6023354B2 (en) Volume envelope control device
JP2722665B2 (en) Tone generator
JPS6286394A (en) Generation of musical sound signal
JPH0583917B2 (en)
US4716805A (en) Ensemble effect for a musical tone generator using stored waveforms
JP2822960B2 (en) Sound signal generating device, sound signal generating method, and musical sound generating device including the same
JP2621234B2 (en) Electronic musical instrument control signal generator
JPS6278599A (en) Musical tone signal generator
KR930005218B1 (en) Effect circuit for electrophonic musical instruments
JPS6334475B2 (en)
JPS61245196A (en) Musical sound generation
JPS584196A (en) Sine wave generator and key mechanism with switching capacitor
JP2991436B2 (en) Music signal generator
JPS6411954B2 (en)
JPH0337195B2 (en)
JPS59185391A (en) Musical sound generator
JPS5848110B2 (en) Clock number selection device
JPH0361952B2 (en)