JPS59107387A - Sound volume envelope controller - Google Patents

Sound volume envelope controller

Info

Publication number
JPS59107387A
JPS59107387A JP58223675A JP22367583A JPS59107387A JP S59107387 A JPS59107387 A JP S59107387A JP 58223675 A JP58223675 A JP 58223675A JP 22367583 A JP22367583 A JP 22367583A JP S59107387 A JPS59107387 A JP S59107387A
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.)
Granted
Application number
JP58223675A
Other languages
Japanese (ja)
Other versions
JPS6023354B2 (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.)
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 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)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

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]

従来の音量エンベロープ制御装置U8第1図を用いて説
明すると、まず演奏キーボード100上で(A突操作さ
れた鍵に対応するキーコードはキーコードメモリ101
に保持され、その記憶キーコードは音7%クロック発生
部102に供給されることにより対応する音高クロック
信号を選択す6゜音高クロック発生部102から出力さ
れる音高クロック信号は5ビツトのバイプリカウンタ1
03にgf数歩弗信号として印IJUさオフ、る。ハ1
jち、このステップカウンタ1(I3は楽音波形1サイ
クルの閉子化ステップを刻むr32J(0〜31)の計
数状態をイ?するもので、各5ビツト出方はデコーダ1
04で[321の出力として計数ステップ毎lこ順次出
力信号を発生し、楽音波形作成部105がら楽音波形を
読み出すのである。楽音波形作成部105は例えば第2
1図1こ示される波形に対応しζ−3ステツプ1υ:の
値を数値化してR,OM(リードオンリメモリ)にあら
かじめ固定記憶しておいたり、或いは各ステップ毎(こ
スイッチ選択により第2図の波形に対応した数値指定が
行えるようになっているのである。そして、楽音波形作
成部105よりステップ毎に順次読み出さイ]、た出力
値は乗算回路106に供給される。この栄n回路106
はエンベロープカウンタ107の計数値と乗算した値を
出力するのである。このエンベロープカウンタ107は
5ビツト(1,2,4,8,16ウエイト)で常にアッ
プカウントする32進(0〜31の計数状態)のバイナ
リカウンタでなり、その上位には川に2ビツト(32,
64ウエイト)の状態カウンタ108が直列接続されて
いる。状態カウンタ108は音1↑(エンベロープのク
リア(キー放し)、アタック、ディケイ、リリースの各
状態を検出する為に、エンベロープカウンタ107の1
循毎に計数歩進される。この状態カウンタ108の計数
状態は状態検出回路109でデコードされ、対応する状
態検出信号を乗算回路106に制御信号として供給する
。つまり、アタック状態ではエンベロープカウンタ10
7の計数値を音量1曲御値とし、ディケイ状部の検出で
はエンベロープカウンタ107の計数歩進にかかオつら
ず最大り、輻114「31」をエンベロープのディケイ
状態での音)i’、!、’ 制御値とするように、また
リリース状態検出ではエンベロープカウンタ107の5
ピツト出力(il、f ’i 反転した補数値を音量制
御値とするようにしてIJ IJ−ス状呻でエンベロー
プカウンタ107 /、jダウンカウントすること/:
r < j=ff 質的にダウンカウントと同様な制御
が行われるようになる。そしてエンベロープカウンタ1
07の計数値を前記したようにアタック、ディケイ、リ
リース状態でifi制御した音量制御値は楽音波形作成
部105から読み出された各ステップ毎の出力値と乗算
回路106にて乗算さね、るようになる。
The conventional volume envelope control device U8 will be explained using FIG.
The stored key code is supplied to the tone 7% clock generator 102 to select the corresponding pitch clock signal.The pitch clock signal output from the 6° pitch clock generator 102 is a 5-bit pitch clock signal. biprecounter 1
At 03, the IJU signal is turned off as a gf signal. Ha1
In particular, this step counter 1 (I3 is used to clear the counting state of r32J (0 to 31) that counts the closure step of one cycle of the musical sound waveform, and the output of each 5 bits is determined by the decoder 1.
At step 04, an output signal is sequentially generated at every counting step as the output of [321], and the tone waveform is read out from the tone waveform generator 105. For example, the musical sound waveform creation section 105
1 Corresponding to the waveform shown in FIG. It is possible to specify a numerical value corresponding to the waveform shown in the figure. Then, the output value is sequentially read out step by step from the musical sound waveform creation section 105 and is supplied to the multiplication circuit 106. 106
outputs a value multiplied by 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 weights), and the upper part is a 2-bit (32-bit) counter. ,
(64 waits) state counters 108 are connected in series. The state counter 108 detects the sound 1↑ (envelope clear (key released), attack, decay, and release), and the envelope counter 107
The count is incremented every cycle. The count state of the state counter 108 is decoded by a state detection circuit 109, and a corresponding state detection signal is supplied to the multiplication circuit 106 as a control signal. In other words, in the attack state, the envelope counter is 10.
The count value of 7 is the volume control value for one song, and when detecting the decay part, it reaches the maximum irrespective of the count increment of the envelope counter 107, and the amplitude 114 "31" is the sound in the decay state of the envelope) i' ,! , ' control value, and in the release state detection, the envelope counter 107 is set to 5.
Pitt output (il, f'i) The inverted complementary value is used as the volume control value, and the envelope counter 107 /,j is counted down in the IJ-like manner.
r<j=ff Control qualitatively similar to down counting is performed. and envelope counter 1
As described above, the volume control value obtained by controlling the count value of 07 using IFI in the attack, decay, and release states is multiplied by the output value for each step read from the musical sound waveform creation section 105 in the multiplication circuit 106. It becomes like this.

前記エンベロープカウンタ107の5ビツト出力はアダ
ー110に供給される。このアダー110には前記デコ
ーダ104からのステップカウンタ103の「0」計数
時即ち「0」ステップ検出信号が「+工」加9.信号と
して印加され、楽音波形の1ザイクルのrOJステップ
に同1υJして毎サイクルr+tJJ用算されるように
なる。アダー110で加算されたtバカ値は再びエンベ
ロープカウンタ107に入力されることにより、ステッ
プカウンタ103の毎サイクルの「0」ステップで音f
it制御値が「1」ずつ増加するのである。そして、前
記乗算回路106の出力値はアダー111を介して累算
器112に供給され、更に累算器112の出力はアダー
111にフィードバックさね、累算されるようになると
共にIJ/A(ディジタル−アナログ)変換回路113
及びフィルタ114を順に介してスピーカ115で音響
出力さ/lV、る。
The 5-bit output of the envelope counter 107 is supplied to an adder 110. This adder 110 receives a "+" step detection signal from the decoder 104 when the step counter 103 counts "0", that is, a "0" step detection signal. It is applied as a signal and is calculated for each cycle r+tJJ by adding 1υJ to the rOJ step of one cycle of the musical sound waveform. The t stupid value added by the adder 110 is input again to the envelope counter 107, so that the t stupid value added by the adder 110 is inputted again to the envelope counter 107.
The it control value increases by "1". The output value of the multiplication circuit 106 is supplied to the accumulator 112 via the adder 111, and the output of the accumulator 112 is fed back to the adder 111 so that it is accumulated and IJ/A ( digital-analog) conversion circuit 113
and filter 114 in turn, and the speaker 115 outputs an acoustic signal /lV.

上記構成によれば、演奏キーボード100で操作された
鍵に対応する音高クロック信号が音響クロック発生!9
Is 102より出力されステップカウンタ103で計
47さZ″1.る。また、鍵が操作されることにより状
態カウンタ108は「00」のり1ノア状態からアタッ
ク状態の「10」に設定される。
According to the above configuration, the pitch clock signal corresponding to the key operated on the performance keyboard 100 is generated as an acoustic clock! 9
Is 102 outputs a total of 47 Z''1. in the step counter 103. Also, by operating the key, the state counter 108 is set from "00" in the Nori state to "10" in the attack state.

そしで、′このアタック状態ではステップカウンタ10
3の「0」ステップ計数時にデコーダ104から出力さ
れる信渇・により楽音波形の毎サイクル、アダー11(
Jで[+11加算すれるようになる為エンベロープカウ
ンタ107は毎サイクル順次「+11謂数歩進される。
Then, 'In this attack state, the step counter is 10.
3, the adder 11 (
Since +11 is added at J, the envelope counter 107 is sequentially incremented by +11 every cycle.

従って、第3図に示した如く、楽音波形作成部105か
ら出力される32ステツプで1サイクルする第2図に示
した楽音波形(第3南では簡略した直線三角波で示しで
ある)ハ、エンベロープカウンタ107での音fit、
 1till ?all値が変化する毎サイクル、その
音量制御値で乗算制御さ117乗算回路106から次第
に大きな出力値として発生さね、る。このアタック状態
でエンベロープカウンタ1()7が最大32進1’rl
llll」計数状態)になると状態カウンタ108は「
011のディケイ状態に変化する。ディケイ状態ではエ
ンベロープカウンタ107は再びroooo。
Therefore, as shown in FIG. 3, the musical sound waveform shown in FIG. Sound fit at counter 107,
1till? Every cycle when the all value changes, it is multiplied by the volume control value 117 and is generated as a gradually larger output value from the multiplier circuit 106. In this attack state, the envelope counter 1()7 is up to 32 decimal 1'rl
llll” counting state), the state counter 108 becomes “
It changes to the decay state of 011. In the decay state, the envelope counter 107 is roooo again.

」計数状態から上記同様毎サイクルBr数歩進2れるが
、状態検出回路109からのディケイ状態検出信号が上
記乗算回路106に供給される為みかけ上音量制御値は
最大振幅値31(rlll−11」計数状態)となるよ
うに制rdllされ、ディケイ期間中は楽音波形の読み
出し出力値と乗算される音九制御j&は同じ値となる。
'' From the counting state, Br is incremented by 2 every cycle as described above, but since the decay state detection signal from the state detection circuit 109 is supplied to the multiplication circuit 106, the apparent volume control value becomes the maximum amplitude value 31 (rllll-11 During the decay period, the tone nine control j& multiplied by the readout output value of the musical sound waveform has the same value.

そして、エンベロープカウンタ107が再び最大の32
進になると状態カウンタ108は「11」のリリース状
態となる。
Then, the envelope counter 107 again reaches the maximum value of 32.
When the state becomes advanced, the state counter 108 enters the release state of "11".

リリース状態では、エンベローブカラ〉り107はro
 o o o OJの状1熊から「0」ステップに同期
して毎サイクル計数歩進されるが、リリース状態は音量
は下がる方向にある為、エンベロープカウンタ107の
当該計数値の「31」の補数値を音量制御値とするよう
に制御さね2、第4図のη+1 <アタック!tk卯と
は逆に最大振幅値「31」から「01方向(実質的には
ダウンカウントと同様)?こrlJ#)%毎に次第1こ
音fflが小さくなるようになる。このよう7:C構成
によれば、楽音波形の周波数スベ多トル成分中にアタッ
ク時間若しくはリリース時間で発生さi]るノイズ成分
を吸引させることができノイズが知覚されることはない
という効果を得られる。しかしながら、このような構成
による動作は、鍵の夫々に対応して音高クロック発生部
102より発生される音高クロック信号の周波数が異な
ることにより、ステップカウンタ103の1サイクル周
期も変化する為、各軸の夫々の背高クロック信号毎ζこ
エンベロープのアタック、ディケイ、リリース状態の夫
々の時間がランダムとなりエンベロープの形状が異なっ
てしまうという大きな欠点がある。
In the released state, the envelope color 107 is ro.
o o o OJ state is counted from 1 bear to "0" step every cycle in synchronization with the step, but since the volume is in the direction of decreasing in the release state, the corresponding count value of the envelope counter 107 is supplemented by "31". Control the numerical value to be the volume control value 2, η+1 in Figure 4 <Attack! Contrary to the tk rabbit, the sound ffl gradually decreases by 1% from the maximum amplitude value "31" in the "01 direction (substantially the same as down counting)?corlJ#)%. Like this 7: According to configuration C, it is possible to absorb the noise component generated at the attack time or release time into the frequency smooth component of the musical sound waveform, and it is possible to obtain the effect that the noise is not perceived. , the operation with such a configuration differs in frequency of the pitch clock signal generated by the pitch clock generation section 102 corresponding to each key, and the one cycle period of the step counter 103 also changes. A major drawback is that the attack, decay, and release state times of the envelope are random for each tall clock signal of each axis, and the shape of the envelope is different.

〔本M発明の目的〕[Objective of this M invention]

本願発明は、このような欠点を解決し、どの鍵を操作し
てもエンベロープの形状が異ならないよ、 うなあるい
は所望の形状となるような音量エンベロープ制御装置を
4ノI供することにある。
The present invention solves these drawbacks and provides a volume envelope control device that does not change the shape of the envelope no matter which key is operated, or has a desired shape.

〔本願発明の要旨〕[Summary of the claimed invention]

かかる目的を達成するため、本願発明は、操作さ石、た
鍵Iこ対応するキーコードに基づき選択すれる加算値そ
用いてカウンタ手段により音量エンベロープ制御するも
のである。
In order to achieve such an object, the present invention controls the volume envelope by a counter means using an additional value selected based on a key code corresponding to the operated stone or key.

〔実施例〕〔Example〕

第5図は本願発1リイの一実紬例を示すものであり第1
図と同様のものtとは同−杏号を付しである。
Figure 5 shows an example of the Ichimi Tsumugi of the present invention.
Items similar to those shown in the figure are marked with the same symbol.

本実施例の構成及び動作は第1図のものとほぼ同様であ
るが、加算値セレクト回路1】6、オクターブデコーダ
117、を設けた点が異なり、加算値セレクト回路11
6に予め設定される複数の加算値の中からオクターブ毎
に異なる加算?1ムを童択してアダー110に供給する
ものである。即ち、キーコードメモリ101に記憶され
たキーコードのうちのオクターブデータ(周知のように
キーコードはオクターブデータと音階データとからなる
)をオクターブデコーダ117でデコードすることによ
り、対応するオクターブ信号を加算値セレクト回路11
6に加算値セレクト信号として印加するのである。今、
最低オクターブから最高オクターブ塩を4オクターブと
し、低オクターブから順に01〜04のオクターブとす
ると、例えばオクターブOlでは加算値「8」、オクタ
ーブ02では加ね値「4J1オクターブo3では加算4
tlt C21、オクターブ04では加算値「1」を選
択しC1オクターブlこ応じて異なる前記加算値をアダ
ー110に供給するようにする。従って、ステップカラ
・ンタ103の「0」ステップ計数時?こ同期して、各
オクターブ内では異なる加算値がアダー110に供給さ
れることにより、各オクターブ間で全て異なるアタック
時間、リリース時11JJであったものを各オクターブ
間で略同じ時間にでき、エンベロープの形状が異ならな
いようにすることができる。また加算値の設定により所
望の形状を得ることもできることは狐−ちろんである。
The configuration and operation of this embodiment are almost the same as those shown in FIG.
A different addition for each octave from among the multiple addition values preset in 6? 1 is selected and supplied 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 the lowest octave to highest octave salt is 4 octaves, and the lowest octave is 01 to 04, for example, for octave Ol, the additional value is "8", for octave 02, the additional value is "4J1, for octave o3, the additional value is 4"
In tlt C21, octave 04, the addition value "1" is selected, and different addition values are supplied to the adder 110 depending on the C1 octave. Therefore, when the step counter 103 counts "0" step? In synchronization with this, a different addition value is supplied to the adder 110 within each octave, so that the attack time, which was all different between each octave and 11JJ at the release time, can be made to be approximately the same time between each octave, and the envelope It is possible to ensure that the shapes of the two do not differ. Furthermore, it is of course possible to obtain a desired shape by setting the addition value.

これにより例えばC4の洲を操作したときと07の鍵を
操作したときにエンベロープの形状が変わり異なる音色
に聞こえるというよ−)なことはなくなる。
This eliminates the situation where, for example, when you operate the C4 key and the 07 key, the shape of the envelope changes and you hear a different tone.

なお、この実1.1u例はキーコードのうちオクターブ
データで行ったが音階データで行ってもよいことはもち
ろんであり、両方のデータを用いることもできる。
Note that although this actual 1.1u example was performed using octave data of the key code, it is of course possible to use scale data, and both types of data may be used.

〔本na発19)の効果〕 以上説明したように本願1&明は、操作された鍵に対応
するキーコードに基づき所定のノJu oイ[〃を選択
出力する手段と、この選択出力された加算値に基づき楽
音波形の音量エンベロープ制御を行うカウンタ手段fi
:設けるようにしたので、操作した鍵によりエンベロー
プのプレ状が異なるということをなくすことができある
いは所望の形状7i−得ることもでき好ましい演奏を行
うことができる。
[Effect of the present invention 19)] As explained above, the present invention provides means for selectively outputting a predetermined key based on the key code corresponding to the operated key, and a means for selectively outputting a predetermined key, Counter means fi that controls the volume envelope of the musical sound waveform based on the added value
: Since the envelope shape is provided, it is possible to eliminate the fact that the pre-shape of the envelope differs depending on the operated key, or to obtain a desired shape 7i, thereby making it possible to perform a preferable performance.

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

第1図は従来の音坦エンベロープiti制御装置を説明
する回路構成図、第21Aは第1図の説明にj打いられ
る楽音波形図、第3図は第1図によるア々ツり状態での
動作説明1ズ、第4図は同じくリリース状態での動作説
明図、@5図は本発明の一実施例をボす回路構成1スで
ある。 100・・・・・・演奏キーボード、 101・・・・
・・キーコードメモリ、  117・・・・・・オクタ
ーブデコーダ、 116・・・・・・加算値セレクト回
路、110・・・・・・アダー、107・・・・・・エ
ンベロープカウンタ、  108・・・・・・状態カウ
ンタ。 特許出願人 カシオ計算機株式会社 第3v −一1サイク/ムーシトー1すイ7ル→に−i+jイク
ル一峠←1ブイ7ル号−矛4回
Fig. 1 is a circuit diagram illustrating a conventional pitch envelope iti control device, Fig. 21A is a musical sound waveform diagram as shown in Fig. Figure 4 is a diagram illustrating the operation in the released state, and Figure 5 is a diagram showing the circuit configuration of an embodiment of the present invention. 100... Performance keyboard, 101...
...Key code memory, 117...Octave decoder, 116...Addition value selection circuit, 110...Adder, 107...Envelope counter, 108... ...Status counter. Patent Applicant Casio Computer Co., Ltd. No. 3v -11 Cycle/Musito 1 Sui 7ru → ni -i+j Ikuru 1 Pass ← 1 Buoy No. 7 - Toge 4 times

Claims (1)

【特許請求の範囲】[Claims] 操作された鍵に対応するキーコードに基づき予め設定さ
れた複数の加算値の中から所定の加算値を選択出力する
手段と、この選択出力さね、た所定のIJ[I算値に基
づき楽音波形の音用°エンベロープ制御を行なうカウン
タ手段とを有することを特徴とする音量エンベロープ制
御装置。
Means for selecting and outputting a predetermined addition value from among a plurality of preset addition values based on a key code corresponding to an operated key; 1. A volume envelope control device comprising: counter means for controlling a waveform sound envelope.
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 true JPS59107387A (en) 1984-06-21
JPS6023354B2 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
JPS6023354B2 (en) 1985-06-07

Similar Documents

Publication Publication Date Title
US4450743A (en) Electronic musical instrument with musical information input means
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
US4258602A (en) Electronic keyboard musical instrument of wave memory reading type
US4083283A (en) Electronic musical instrument having legato effect
US4023454A (en) Tone source apparatus for an electronic musical instrument
JPS59107387A (en) Sound volume envelope controller
US4672875A (en) Waveshape memory for an electronic musical instrument
US4562763A (en) Waveform information generating system
US4475429A (en) Electronic equipment with tone generating function
USRE31648E (en) System for generating tone source waveshapes
US4526079A (en) Automatic rhythm performance device for electronic musical instruments
GB1583626A (en) Electronic musical instrument
JPS6035077B2 (en) electronic musical instruments
JPS6057080B2 (en) electronic musical instruments
JP2724591B2 (en) Harmonic coefficient generator for electronic musical instruments
JPS59107388A (en) Sound volume envelope controller
US5639978A (en) Musical tone signal generating apparatus for electronic musical instrument
JP2707885B2 (en) Bit number converter
JPS604474B2 (en) Vibrato device for electronic musical instruments
JPS59185391A (en) Musical sound generator
JPS61245196A (en) Musical sound generation
JP3311898B2 (en) Music synthesis circuit
JPH031678B2 (en)
JP2590253B2 (en) Electronic musical instrument