JPH0348640Y2 - - Google Patents
Info
- Publication number
- JPH0348640Y2 JPH0348640Y2 JP1986135218U JP13521886U JPH0348640Y2 JP H0348640 Y2 JPH0348640 Y2 JP H0348640Y2 JP 1986135218 U JP1986135218 U JP 1986135218U JP 13521886 U JP13521886 U JP 13521886U JP H0348640 Y2 JPH0348640 Y2 JP H0348640Y2
- Authority
- JP
- Japan
- Prior art keywords
- attack
- decay
- circuit
- signal
- envelope
- 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
Links
Description
本考案はアタツク時間、デイケイ時間に関連す
る係数を用いて時分割チヤンネル対応のデジタル
方式のエンベロープ波形が容易に得られる電子楽
器に関するものである。
従来の電子楽器のエンベロープ信号発生回路の
方式にはコンデンサと抵抗より成る時定数回路の
充放電特性を利用したアナログ方式と量子化ステ
ツプ情報を記憶させたデジタル方式とがある。し
かし、アナログ方式ではエンベロープを構成する
ADSR(アタツク、デイケイ、サステイン、リリ
ース)各部分に対し各種の特性を用意するため、
多数の抵抗器、タイオード、切換スイツチを組合
せて切り換える形式があるが回路構成が複雑とな
る。これに対し、デジタル方式では量子化ステツ
プ数を密にしてしかも各種のアタツク時間、デイ
ケイ時間の特性を用意するには、これらの情報を
記憶する記憶容量がぼう大なものとなるという問
題点があつた。
本考案の目的は時分割チヤンネルに対応する各
種のアタツク時間、デイケイ時間のエンベロープ
波形を少ない記憶容量で得られるようにした電子
楽器を提供することである。
前記目的を達成するため、本考案の電子楽器は
タイミングパルスを発生するタイミング発生回路
と、該タイミング発生回路で駆動されるアドレス
カウンタと、該アドレスカウンタのアドレスパル
スによつて、アタツク・デイケイ時間を制御する
係数が読出されるアタツク・デイケイ係数メモリ
と、該アタツク・デイケイ係数メモリからのアタ
ツク・デイケイ係数と記憶回路からの読出し値と
を加算する加算器と該加算結果を記憶し再び加算
回路に読出す上記記憶回路とより成り、前記タイ
ミング発生回路のタイミングパルスと前記アドレ
スカウンタのアドレスパルスとに応じ、前記加算
器から前記アタツク・デイケイ係数の累算出力信
号を出力するとともに累算出力が所定値になつた
ことを検知しアタツク・デイケイの各終了信号を
出力する累算器と、外部からのアタツク信号と前
記累算器からのアタツク・デイケイの各終了信号
とにより累算器に与える係数をアタツクの時はア
タツク係数とし、デイケイの時はデイケイ係数と
するエンベロープ制御回路と、対数曲線を持つエ
ンベロープ波形の振幅を記憶し前記累算出力信号
により読出すエンベロープ波形テーブルおよび該
エンベロープ波形テーブルの出力信号を反転また
は非反転するEX−OR回路と、該EX−OR回路
の出力信号をアナログ波形に変換するD/A変換
器と、前記アドレスカウンタの出力信号を用いて
各チヤンネルに対応する時分割多重化信号を出力
するチヤンネルデコーダと、前記D/A変換器の
アナログ出力を対応するチヤンネル毎に時分割
し、振り分けるアナログマルチプレクサとを具備
し、
前記累算器を上記時分割多重化信号を用いて、
各チヤンネルで時分割動作させると共に前記累算
器からのアドレスで各チヤンネルのアタツク対応
のエンベロープ波形を形成した後、累算器からの
デイケイ期間出力信号により前記アタツク・デイ
ケイ係数メモリの読出しをデイケイ係数とすると
共に前記エンベロープ波形テーブルからのエンベ
ロープ波形データを上記EX−OR回路で反転さ
せてデイケイ波形を形成し、かつ、前記累算器か
らのデイケイ終了信号によりエンベロープ制御回
路は累算を終了させることによりエンベロープ波
形の全てを形成し、その後対応するチヤンネル毎
に、前記アドレスカウンタの出力信号から、前記
チヤンネルデコーダで各チヤンネルの時分割多重
化信号を得て、前記アナログマルチプレクサによ
り時分割して振分け出力するようにしたことを特
徴とするものである。
以下本考案を実施例につき詳述する。
第1図は本考案の実施例の概要説明図である。
同図は電子楽器の発音機構に用いたものである。
すなわち、キースイツチ1の閉成をキーアサイナ
2で検出して得た押鍵情報をトーン発生回路3に
入力し、押鍵に対応した音色を発生する。また、
キーアサイナは16音までの検出が可能なものとす
ると、キースイツチ1の情報がチヤンネルCH1
〜CH16のどれに記憶されたかの信号、すなわ
ち、アタツク信号を出力する。そして本考案の要
部であるエンベロープ発生回路4はトーン発生回
路3からの音色信号とキーアサイナ2からのアタ
ツク信号で作られる所望のエンベロープ波形をも
つた楽音信号を発生し、押鍵に対応して音響装置
5から放音する。
第2図は本考案の他の実施例の概要説明図であ
り、同図は本考案をリズム発生装置に用いたもの
である。すなわち、セレクトスイツチ6により、
リズム選択して該リズムに対応したリズムパター
ンをリズムパターン発生回路7に出力する。次の
エンベロープ発生回路4はリズムパターン信号を
受け、所望のエンベロープ波形を作り、該リズム
パターンに対応した音源8のリズム音を出力す
る。この場合、リズムパターン信号は第1図のア
タツク信号に相当する。
第3図は第2図のリズム発生回路の要部である
エンベロープ発生回路4の実施例説明図である。
ここで音源数を16個として16チヤンネルを設け、
そのエンベロープ波形の形成を時分割で行なうも
のとする。
同図において、リズムパターン発生器よりのリ
ズムパターン信号(以下アタツク信号という)を
エンベロープ制御回路17に入力し、エンベロー
プ波形のアタツクとデイケイのタイミングを後述
の信号C1,C2により形成し、タイミング発生
回路19で駆動するアドレスカウンタ20を介し
て指定されるチヤンネルデコーダ21からのチヤ
ンネル指定信号をエンベロープ制御回路17に与
え、指定されたアドレス信号をOR回路15を介
してアタツクデイケイ係数メモリ13に入力す
る。アタツクデイケイ係数メモリ13はアドレス
カウンタ20からのアドレスにより、後述のアタ
ツクとデイケイの加算係数を読み出し、加算器、
ゲート回路、レジスタ、記憶回路(RAM)より
成る累算器11に与える。
累算器11においては、アドレスカウンタ20
からのアドレスと、エンベロープ制御回路17か
らOR回路16を介して与えられるチヤンネル指
定信号により指定され、加算係数が後述する方法
で累算されて累算出力信号として8ビツトの2進
のアドレス情報を出力し、エンベロープ波形テー
ブル14に与える。累算器11の処理データは10
ビツトとし、前記8ビツトのアドレスデータの外
に桁上げ信号C1,C2が含まれる。そして8ビ
ツトのアドレスデータがエンベロープ波形テーブ
ル14に送られる場合上位5ビツトをアドレスと
し、下位3ビツトは切り捨てられる。また信号C
1はアタツク期間が終了したことを示し、信号C
2はデイケイが終了したことを表わし、前述のエ
ンベロープ制御回路17に送られる。この累算器
11においては16チヤンネルに対応し16個のエン
ベロープ波形の累算出力信号が得られる。
アタツクデイケイ係数メモリ13に格納される
アタツク、デイケイ係数により累算されるエンベ
ロープ波形の立上り、立下り間のエンベロープ時
間Tは下式により求められる。
T=N×W/CL/n×AAD
ここで
N;チヤンネル数
W;ワード数
AAD;エンベロープ加算係数
CL;クロツク周波数
n;タイミング分周数
実施例でN=16,W=32,n=4とすれば
T=512×4/CL×AAD
いまCL=10KHzとすれば
AAD=1/23のとき T=1.64秒
AAD=1のとき T=0.20秒
となる。
以上のようにしてエンベロープ加算係数値AAD
により、アタツク、デイケイの立上り、立下り時
間が決まる。そしてアタツクデイケイ係数メモリ
13は16の音源に対応したアタツク、デイケイの
加算係数値AADを記憶するものである。
第1表はアタツクとデイケイにつき、係数値
AADの累算時間T(秒)の1例を示したものであ
る。
The present invention relates to an electronic musical instrument in which a digital envelope waveform compatible with time division channels can be easily obtained using coefficients related to attack time and decay time. Conventional envelope signal generation circuit systems for electronic musical instruments include an analog system that utilizes the charging and discharging characteristics of a time constant circuit consisting of a capacitor and a resistor, and a digital system that stores quantization step information. However, in the analog method, the envelope is
In order to prepare various characteristics for each part of ADSR (Attack, Decay, Sustain, Release),
There is a type of switch that combines a large number of resistors, diodes, and changeover switches, but the circuit configuration is complicated. In contrast, digital methods have the problem that in order to increase the number of quantization steps and provide various attack time and decay time characteristics, the storage capacity for storing this information becomes enormous. It was hot. An object of the present invention is to provide an electronic musical instrument that can obtain envelope waveforms of various attack times and decay times corresponding to time division channels with a small storage capacity. In order to achieve the above object, the electronic musical instrument of the present invention includes a timing generation circuit that generates timing pulses, an address counter driven by the timing generation circuit, and an address pulse of the address counter to determine the attack decay time. an attack decay coefficient memory from which a coefficient to be controlled is read; an adder for adding the attack decay coefficient from the attack decay coefficient memory and a value read from the storage circuit; and an adder for storing the addition result and returning it to the addition circuit. and the storage circuit for reading data, and outputs a cumulative output signal of the attack decay coefficient from the adder in response to a timing pulse of the timing generating circuit and an address pulse of the address counter, and the cumulative output is set to a predetermined value. an accumulator that detects that the value has reached a value and outputs each end signal of the attack decay; and a coefficient given to the accumulator by the attack signal from the outside and each end signal of the attack decay from the accumulator. an envelope control circuit which uses an attack coefficient when attacking and a decay coefficient when decaying; an envelope waveform table that stores the amplitude of an envelope waveform having a logarithmic curve and reads it out using the cumulative output signal; When corresponding to each channel using an EX-OR circuit that inverts or non-inverts an output signal, a D/A converter that converts the output signal of the EX-OR circuit into an analog waveform, and an output signal of the address counter. a channel decoder that outputs a division multiplexed signal; and an analog multiplexer that time-divides and distributes the analog output of the D/A converter to each corresponding channel; make use of,
After each channel is time-divisionally operated and an envelope waveform corresponding to the attack of each channel is formed using the address from the accumulator, the readout of the attack/decay coefficient memory is controlled by the decay period output signal from the accumulator. At the same time, the envelope waveform data from the envelope waveform table is inverted by the EX-OR circuit to form a decay waveform, and the envelope control circuit terminates the accumulation by a decay end signal from the accumulator. After that, for each corresponding channel, the channel decoder obtains a time-division multiplexed signal for each channel from the output signal of the address counter, and the analog multiplexer divides and outputs the time-division multiplexed signal. It is characterized by the fact that it is made to do so. The present invention will be described in detail below with reference to examples. FIG. 1 is a schematic explanatory diagram of an embodiment of the present invention.
The figure shows an example used in the sound generation mechanism of an electronic musical instrument.
That is, the key press information obtained by detecting the closing of the key switch 1 by the key assigner 2 is input to the tone generating circuit 3, and a tone corresponding to the key press is generated. Also,
Assuming that the key assigner is capable of detecting up to 16 notes, the information of key switch 1 will be channel CH1.
- Outputs a signal indicating which of CH16 is stored, that is, an attack signal. The envelope generating circuit 4, which is the main part of the present invention, generates a musical tone signal with a desired envelope waveform created by the tone signal from the tone generating circuit 3 and the attack signal from the key assigner 2, and generates a musical tone signal with a desired envelope waveform in response to a key press. Sound is emitted from the sound device 5. FIG. 2 is a schematic explanatory diagram of another embodiment of the present invention, in which the present invention is applied to a rhythm generating device. That is, by the select switch 6,
A rhythm is selected and a rhythm pattern corresponding to the selected rhythm is output to the rhythm pattern generation circuit 7. The next envelope generating circuit 4 receives the rhythm pattern signal, creates a desired envelope waveform, and outputs the rhythm sound of the sound source 8 corresponding to the rhythm pattern. In this case, the rhythm pattern signal corresponds to the attack signal in FIG. FIG. 3 is an explanatory diagram of an embodiment of the envelope generating circuit 4, which is a main part of the rhythm generating circuit shown in FIG.
Here, the number of sound sources is 16, and 16 channels are created.
It is assumed that the envelope waveform is formed in a time-division manner. In the figure, a rhythm pattern signal (hereinafter referred to as an attack signal) from a rhythm pattern generator is input to an envelope control circuit 17, and attack and decay timings of the envelope waveform are formed by signals C1 and C2, which will be described later. A channel designation signal from a channel decoder 21 designated via an address counter 20 driven by 19 is applied to an envelope control circuit 17, and the designated address signal is input to an attack decay coefficient memory 13 through an OR circuit 15. The attack decay coefficient memory 13 reads attack and decay coefficients to be described later based on the address from the address counter 20, and the adder
It is applied to an accumulator 11 consisting of a gate circuit, a register, and a memory circuit (RAM). In the accumulator 11, an address counter 20
, and a channel designation signal given from the envelope control circuit 17 via the OR circuit 16, and the addition coefficients are accumulated in a manner described later to produce 8-bit binary address information as an accumulated output signal. It is output and given to the envelope waveform table 14. The processing data of accumulator 11 is 10
In addition to the 8-bit address data, carry signals C1 and C2 are included. When 8-bit address data is sent to the envelope waveform table 14, the upper 5 bits are used as the address, and the lower 3 bits are truncated. Also signal C
1 indicates that the attack period has ended, and the signal C
2 indicates that decay has ended, and is sent to the envelope control circuit 17 mentioned above. In this accumulator 11, accumulated output signals of 16 envelope waveforms corresponding to 16 channels are obtained. The envelope time T between the rise and fall of the envelope waveform accumulated by the attack and decay coefficients stored in the attack decay coefficient memory 13 is determined by the following formula. T=N×W/ CL /n×A AD where N: Number of channels W: Number of words A AD ; Envelope addition coefficient C L ; Clock frequency n: Timing frequency division number In the example, N=16, W=32 , n = 4, then T = 512 x 4/C L × A AD Now, if C L = 10KHz, then A AD = 1/2 3 , T = 1.64 seconds, A AD = 1, T = 0.20 seconds. Become. As above, envelope addition coefficient value A AD
This determines the rise and fall times of attack and decay. The attack decay coefficient memory 13 stores attack and decay addition coefficient values A AD corresponding to 16 sound sources. Table 1 shows the coefficient values for attack and decay.
An example of the cumulative time T (seconds) of A AD is shown.
【表】【table】
【表】【table】
【表】
エンベロープ波形テーブル14は5ビツトの累
算出力信号をアドレスとする32ワードのエンベロ
ープ波形を記憶している。第2表はその1例を示
す。
この値は下式により求めたものである。エンベ
ロープ波形テーブル14は32ワード、8ビツトの
固定メモリ(ROM)の場合、
Y;ビツト数
W;ワード数(0〜31)
この波形は第4図に示され、アタツク、デイケ
イ両波形に共用される。以上は累算器11の出力
信号の上位5ビツトをアドレスとする32ワードで
示したが、さらに6ビツト以上とることにより量
子化ステツプ数を密にできる。
次にエンベロープ波形テーブル14の内容を排
他的(EX)OR回路22に入れ、信号C1によ
りアタツク波形32ワード終了後、信号C1が次の
サイクルの初期値より高レベルになると、エンベ
ロープ波形テーブル14からのデータを反転させ
デイケイ波形を形成する。第5図aはアタツクと
デイケイ波形の反転を示すもので、同図bの信号
C1はアタツクの終了を、同図cの信号C2はデ
イケイの終了を示すこととなる。この場合、エン
ベロープ波形テーブル14の同じ内容をアタツク
とデイケイに共通の波形として使用する。次に
EX−OR回路22の出力をD/A変換器23を
通してアナログ量に変換し、次のアナログマルチ
プレクサ24により時分割されたアナログデータ
を各チヤンネル毎に振り分け、サンプルホールド
回路25により1/16単位時間のアナログデータを
ホールドする。
第6図は第3図の実施例の詳細な回路例であ
り、第7図はその要部の動作波形図である。以下
第6図の構成の概要とその要部の動作につき第7
図を引用して説明する。
第6図において、タイミングクロツク発生回路
19では、クロツクを縦続接続したD形フリツプ
フロツプ(FF)61,62の各T端子に入力し、
これらのQ,出力の組合せにより、各種のタイ
ミングクロツク、すなわち、AND回路63を介
してエンベロープ制御回路17内のフリツプフロ
ツプのクロツク端子に入力されるτ1,AND回路
64とAND回路65を介し累算器11内のそれ
ぞれレジスタ53とRAM54に与える読み込み
制御用のτ2,τ3,エンベロープ制御回路17とア
ナログマルチプレクサ24に与えるためのτ4を発
生する。
エンベロープ制御回路17では、縦続接続され
たD形フリツプフロツプ(FF)31,32,3
3,34の初段FF31のD端子にアタツク信号
を、各T端子にタイミングクロツクτ1を、AND
回路37によりチヤンネルデコーダ21からのチ
ヤンネル時分割信号に同期させて与えられる。
これらのFF31〜34は初期設定のための遅
延回路であり、FF31のQ出力とFF33の出
力をAND回路38に入れ、その出力をOR回路4
0を介してフリツプフロツプ(FF)35のR端
子に入れ、FF33のQ出力とFF34の出力を
AND回路39を通してFF35のS端子に入れ、
そのQ出力をチヤンネル同期したAND回路44
を通しOR回路16を介して累算器11のゲート
回路52をオン制御する。
一方、累算回路11のレジスタ53からアタツ
ク時間、デイケイ時間を決めるための桁上げ信号
C1,C2を入力し、信号C1はAND回路43,
42によりタイミング制御とチヤンネル同期を行
なつてフリツプフロツプ(FF)36のS端子に
入れ、そのQ出力をAND回路45を通してチヤ
ンネル同期させ、その出力をOR回路15を介し
てアタツクデイケイ係数メモリ13に入れ、アタ
ツク係数をデイケイ係数に切り換える。なおFF
36のリセツトはFF35と並列に同時に行なわ
れる。信号C2はAND回路43とAND回路41
によりタイミング制御とチヤンネル同期を行な
い、OR回路40を介してFF35のR端子に入れ
てリセツトし、累算器11のゲート回路52をオ
フ制御する。
第7図a〜gは第6図のエンベロープ制御回路
の要部の動作を示すタイムチヤートである。前述
のように、エンベロープ制御回路17に同図aの
アタツク信号が入力されると、AND回路38の
出力は同図bの波形を生じ、FF35をリセツ
トする。次に1サイクルおいてAND回路39の
出力は同図cに示すようなセツトパルスを生じ
FF35をセツトする。このFF35のリセツトの
間に累算器11のチヤンネルCH1の内容をクリ
アしておき、次のセツトパルスによりFF35の
Q出力、従つてOR回路16の出力が“H”レ
ベルとなり、累算器11のゲート回路52をオン
制御する。これにより累算器11が計算を開始す
る。以下信号C1,C2の動作を累算器11の詳
細な回路につき説明する。
累算器11は加算器51、ゲート回路52、レ
ジスタ53および記憶回路(RAM)54がルー
プに接続され、アドレスカウンタ20からのアド
レス信号によりアタツクデイケイ係数メモリ13
からこの信号に対応したアタツク係数が加算器5
1に出力される。加算器51の出力データは前述
のOR回路16の出力の“H”レベルによりゲ
ート回路52を通過し、レジスタ53とRAM5
4の読み込みをタイミングクロツクτ2,τ3で制御
することによりループを循環してたとえば第4図
に対応する累算が行なわれる。アタツク計算の終
了はレジスタ53のC1信号の桁上げにより知る
ことができる。第7図dはアタツク計算の累算時
のMSBビツト、すなわちC1信号の1つ前のビ
ツトC1−1でアタツクが終了し、同図eに示す
レジスタ53のC1信号の桁上げを生じデイケイ
に入る。すなわち、前述のOR回路15の出力
をアタツクデイケイ係数メモリ13に入れ、アタ
ツク係数をデイケイ係数に切り換える。同時にC
1信号は出力をEX−OR回路22に加えエン
ベロープ波形テーブル14の出力信号を反転さ
せ、デイケイ波形を形成する。デイケイが終了す
ると、第7図fに示すレジスタ53のC2信号の
桁上げを生じ、FF35をリセツトしてOR回路1
6の出力により累算を停止させ、同図gのエン
ベロープ波形が得られる。また、アタツク、デイ
ケイの途中で再びアタツク入力があるとリセツト
とし、累算器11をクリアし再び累算を始める。
累算結果は信号C1,C2を除いて上位5ビツ
トをエンベロープ波形テーブル(RAM)14へ
前述の32ワードに対応するアドレスとして入力
し、下位3ビツトは切り捨てる。エンベロープ波
形データはEX−OR回路22を通り、前述のよ
うにデイケイでは反転され、D/A変換器23を
通してアナログ量に変換される。
しかし、ここまでは時分割信号となつているた
め各チヤンネル毎に分けなければならない。
ANDゲートを含むアナログマルチプレクサ24
はこの時分割信号をチヤンネルアドレスに基きタ
イミングクロツクτ4により各チヤンネルCH1〜
CH16に振り分ける。この振り分けられたアナ
ログデータはサンプルホールド回路25に保持さ
れ直流化される。
第8図は第6図の累算器11の詳細回路例を示
す。同図において、アタツクデイケイ係数メモリ
13から読み出された値は加算器51により加算
され、ゲート回路52の一方の入力である第6図
のOR回路16のが“H”レベルの場合には、
加算器51の10ビツトのデータはレジスタ53に
タイミングクロツクτ2により記憶される。次にこ
の出力は16ワード×10ビツトのRAM54に入力
しタイミングクロツクτ3で書き込まれる。書き込
みが終了すると、アドレスカウンタ20が一つ進
み、次のチヤンネルの計算を同様に行なう。この
ときRAM54はすぐ前の値を出力する。このす
ぐ前の値を加算器51へ入力し、再び係数と加算
される。そして前述のサイクルと同様の動作を繰
り返してRAM54には累算結果を記憶する。エ
ンベロープ波形テーブル14のアドレス情報とし
ては前述のとおり10ビツトから信号C1,C2と
下位3ビツトを除いた5ビツトが用いられる。す
なわち、エンベロープテーブル14の32ワードの
アドレスとして5ビツトが用いられる。
以上説明したように、本考案によれば、アタツ
ク時間、デイケイ時間に関連する係数をアタツク
デイケイ係数記憶回路に記憶させておき、該係数
よりアタツクとデイケイを累算器で累算するもの
で、外部からのアタツク信号により累算器の累算
を開始し、アタツク終了信号によりアタツクデイ
ケイ係数記憶回路の係数をデイケイに切り換える
とともにエンベロープ波形記憶回路の出力信号を
反転させ、デイケイ終了信号により累算器の累算
を停止するように制御するものである。
この構成では、前述の第1表、第2表に例示し
たように、アタツク時間、デイケイ時間に関連す
る係数AADを用いて任意時間のアタツク、デイケ
イ波形が得られ、エンベロープ波形記憶回路はア
タツク波形を記憶しておりデイケイでは反転すれ
ばよいから、少量の記憶容量で多数のエンベロー
プ波形が得られる。そして、ワード数を多くとれ
ば量子化ステツプを十分密にすることができ、従
来のアナログ方式の時定数回路の充放電を用いる
エンベロープ発生回路に比較して構成が格段に簡
単化され、しかも良質のエンベロープ波形を実現
することができる。第6図に見られるようにその
構成が大規模集積回路(LSI)に適したものであ
るから大幅の価格の低減が期待される。
実施例ではリズム発生装置の場合につき例示し
たが、第1図のデジタルオルガンの発音機構に適
用できることは明らかであり、この場合キーアサ
イナを用いることができるため、従来各鍵毎にゲ
ート回路が必要であつたものが、発音数分だけ用
意すればよいから、この点からも構成の簡単化が
可能であり、LSI化して組込むことも容易とな
る。[Table] The envelope waveform table 14 stores a 32-word envelope waveform whose address is a 5-bit cumulative output signal. Table 2 shows one example. This value was determined using the formula below. If the envelope waveform table 14 is a 32-word, 8-bit fixed memory (ROM), Y: Number of bits W: Number of words (0 to 31) This waveform is shown in FIG. 4 and is shared by both the attack and decay waveforms. The above example uses 32 words with the upper 5 bits of the output signal of the accumulator 11 as the address, but by using 6 or more bits, the number of quantization steps can be made denser. Next, the contents of the envelope waveform table 14 are input into the exclusive (EX) OR circuit 22, and when the signal C1 becomes a higher level than the initial value of the next cycle after the 32 words of the attack waveform are completed by the signal C1, the contents of the envelope waveform table 14 are input. The data is inverted to form a decay waveform. FIG. 5a shows the inversion of the attack and decay waveforms, signal C1 in FIG. 5b indicates the end of attack, and signal C2 in FIG. 5c indicates the end of decay. In this case, the same contents of the envelope waveform table 14 are used as a common waveform for attack and decay. next
The output of the EX-OR circuit 22 is converted into an analog quantity through the D/A converter 23, and the time-divided analog data is distributed to each channel by the next analog multiplexer 24. Holds analog data. FIG. 6 is a detailed circuit example of the embodiment shown in FIG. 3, and FIG. 7 is an operational waveform diagram of the main part thereof. Below is a summary of the configuration shown in Figure 6 and the operation of its main parts.
This will be explained with reference to the figure. In FIG. 6, the timing clock generation circuit 19 inputs a clock to each T terminal of D-type flip-flops (FF) 61 and 62 connected in cascade.
By the combination of these Q and outputs, various timing clocks, τ 1 which is inputted to the clock terminal of the flip-flop in the envelope control circuit 17 via the AND circuit 63, are accumulated via the AND circuit 64 and the AND circuit 65. It generates τ 2 and τ 3 for read control to be applied to the register 53 and RAM 54 in the calculator 11, respectively, and τ 4 to be applied to the envelope control circuit 17 and analog multiplexer 24. In the envelope control circuit 17, cascade-connected D-type flip-flops (FF) 31, 32, 3
The attack signal is applied to the D terminal of the first stage FF31 of 3 and 34, the timing clock τ 1 is applied to each T terminal, AND
The signal is provided by the circuit 37 in synchronization with the channel time division signal from the channel decoder 21. These FF31 to 34 are delay circuits for initial setting, and the Q output of FF31 and the output of FF33 are input to an AND circuit 38, and the output is input to an OR circuit 4.
0 to the R terminal of flip-flop (FF) 35, and connect the Q output of FF33 and the output of FF34.
Insert it into the S terminal of FF35 through the AND circuit 39,
AND circuit 44 that synchronizes the Q output with the channel
The gate circuit 52 of the accumulator 11 is turned on via the OR circuit 16. On the other hand, carry signals C1 and C2 for determining the attack time and decay time are input from the register 53 of the accumulator circuit 11, and the signal C1 is input to the AND circuit 43,
42 performs timing control and channel synchronization and inputs it to the S terminal of a flip-flop (FF) 36, its Q output is channel synchronized through an AND circuit 45, and its output is inputted to the attack decay coefficient memory 13 via an OR circuit 15. Switch the attack coefficient to the decay coefficient. Furthermore, FF
The reset of FF36 is performed simultaneously in parallel with FF35. Signal C2 is connected to AND circuit 43 and AND circuit 41
This performs timing control and channel synchronization, and is reset by inputting it to the R terminal of the FF 35 via the OR circuit 40, and turns off the gate circuit 52 of the accumulator 11. 7a to 7g are time charts showing the operation of essential parts of the envelope control circuit of FIG. 6. As mentioned above, when the attack signal shown in FIG. Next, in one cycle, the output of the AND circuit 39 generates a set pulse as shown in c in the same figure.
Set FF35. During this reset of FF 35, the contents of channel CH1 of accumulator 11 are cleared, and the next set pulse causes the Q output of FF 35, and therefore the output of OR circuit 16, to go to "H" level. The gate circuit 52 is controlled to be turned on. This causes the accumulator 11 to start calculation. The operation of the signals C1 and C2 will be explained below with reference to the detailed circuit of the accumulator 11. In the accumulator 11, an adder 51, a gate circuit 52, a register 53, and a memory circuit (RAM) 54 are connected in a loop, and the attack decay coefficient memory 13 is connected in response to an address signal from an address counter 20.
The attack coefficient corresponding to this signal is added to the adder 5.
1 is output. The output data of the adder 51 passes through the gate circuit 52 due to the "H" level of the output of the above-mentioned OR circuit 16, and is transferred to the register 53 and the RAM 5.
By controlling the reading of 4 by timing clocks τ 2 and τ 3 , the loop is circulated and the accumulation corresponding to, for example, FIG. 4 is performed. The completion of the attack calculation can be known by carrying the C1 signal of the register 53. Figure 7d shows that the attack ends at the MSB bit during the accumulation of the attack calculation, that is, the bit C1-1 immediately before the C1 signal, causing a carry of the C1 signal in the register 53 as shown in Figure 7e. enter. That is, the output of the aforementioned OR circuit 15 is input into the attack decay coefficient memory 13, and the attack coefficient is switched to the decay coefficient. At the same time C
The output of the 1 signal is applied to the EX-OR circuit 22 to invert the output signal of the envelope waveform table 14 to form a decay waveform. When the decay is completed, the C2 signal of the register 53 shown in FIG.
The accumulation is stopped by the output of 6, and the envelope waveform shown in g in the figure is obtained. Further, if there is an attack input again during the attack and decay, it is reset, the accumulator 11 is cleared, and the accumulation starts again. The upper 5 bits of the accumulation results, excluding signals C1 and C2, are input to the envelope waveform table (RAM) 14 as addresses corresponding to the 32 words mentioned above, and the lower 3 bits are discarded. The envelope waveform data passes through the EX-OR circuit 22, is inverted at Decay as described above, and is converted into an analog quantity through the D/A converter 23. However, since the signal up to this point has been a time-division signal, it must be divided for each channel.
Analog multiplexer 24 including AND gates
This time division signal is sent to each channel CH1~ by timing clock τ4 based on the channel address.
Assign to CH16. The distributed analog data is held in a sample hold circuit 25 and converted into DC data. FIG. 8 shows a detailed circuit example of the accumulator 11 shown in FIG. In the same figure, the values read from the attack decay coefficient memory 13 are added by an adder 51, and when the OR circuit 16 in FIG. 6, which is one input of the gate circuit 52, is at the "H" level,
The 10-bit data from adder 51 is stored in register 53 by timing clock τ 2 . This output is then input to a 16 word x 10 bit RAM 54 and written at the timing clock τ3 . When the writing is completed, the address counter 20 increments by one, and the next channel is calculated in the same way. At this time, the RAM 54 outputs the immediately previous value. This immediately previous value is input to the adder 51 and added to the coefficient again. Then, the same operation as the above-mentioned cycle is repeated, and the cumulative result is stored in the RAM 54. As described above, the address information of the envelope waveform table 14 uses 5 bits obtained by removing the signals C1, C2 and the lower 3 bits from the 10 bits. That is, 5 bits are used as the address of 32 words of the envelope table 14. As explained above, according to the present invention, coefficients related to attack time and decay time are stored in an attack decay coefficient storage circuit, and attack and decay are accumulated from the coefficients by an accumulator. The attack signal from the accumulator starts the accumulation of the accumulator, the attack end signal switches the coefficient of the attack decay coefficient storage circuit to Decay, and the output signal of the envelope waveform storage circuit is inverted, and the decay end signal causes the accumulator to start accumulating. This controls the calculation to stop. In this configuration, as illustrated in Tables 1 and 2 above, attack and decay waveforms at arbitrary times can be obtained using the coefficient A AD related to the attack time and decay time, and the envelope waveform storage circuit Since the waveforms are stored and only need to be inverted in Decay, a large number of envelope waveforms can be obtained with a small amount of storage capacity. Furthermore, if the number of words is large, the quantization steps can be made sufficiently dense, and the configuration is much simpler than the envelope generation circuit that uses charging and discharging of a conventional analog time constant circuit. envelope waveform can be realized. As shown in FIG. 6, the configuration is suitable for large-scale integrated circuits (LSI), so a significant reduction in price is expected. In the embodiment, the case of a rhythm generator is illustrated, but it is clear that it can be applied to the sound generation mechanism of the digital organ shown in Fig. 1. In this case, a key assigner can be used, so conventionally a gate circuit is required for each key. Since it is only necessary to prepare as many hot items as there are to be sounded, the configuration can be simplified from this point of view as well, and it is easy to incorporate it into an LSI.
第1図,第2図はそれぞれ本考案の実施例の構
成を示す概略説明図、第3図は第2図の要部であ
るエンベロープ発生回路の実施例説明図、第4
図,第5図は本考案の原理説明図、第6図は第3
図の実施例の詳細な回路例、第7図a〜gは第6
図の動作を示すタイムチヤート、第8図は第6図
の要部の詳細回路例であり、図中、1はキースイ
ツチ、2はキーアサイナ、3はトーン発生回路、
4はエンベロープ発生回路、5は音響装置、6は
セレクトスイツチ、7はリズムパターン発生器、
8は音源、11は累算器、13はアタツクデイケ
イ係数メモリ、14はエンベロープ波形テーブ
ル、15,16はOR回路、17はエンベロープ
制御回路、19はタイミングクロツク発生回路、
20はアドレスカウンタ、21はチヤンネルデコ
ーダ、22はEX−OR回路、23はD/A変換
器、24はアナログマルチプレクサ、25はサン
プルホールド回路を示す。
1 and 2 are schematic explanatory diagrams showing the configuration of an embodiment of the present invention, FIG. 3 is an explanatory diagram of an embodiment of an envelope generation circuit which is the main part of FIG.
Fig. 5 is a diagram explaining the principle of the present invention, Fig. 6 is a diagram explaining the principle of the present invention.
Detailed circuit examples of the embodiments shown in the figures, FIGS.
FIG. 8 is a detailed circuit example of the main part of FIG. 6. In the figure, 1 is a key switch, 2 is a key assigner, 3 is a tone generation circuit,
4 is an envelope generation circuit, 5 is an audio device, 6 is a select switch, 7 is a rhythm pattern generator,
8 is a sound source, 11 is an accumulator, 13 is an attack decay coefficient memory, 14 is an envelope waveform table, 15 and 16 are OR circuits, 17 is an envelope control circuit, 19 is a timing clock generation circuit,
20 is an address counter, 21 is a channel decoder, 22 is an EX-OR circuit, 23 is a D/A converter, 24 is an analog multiplexer, and 25 is a sample and hold circuit.
Claims (1)
路19と、 該タイミング発生回路で駆動されるアドレスカ
ウンタ20と、 該アドレスカウンタのアドレスパルスによつ
て、アタツク・デイケイ時間を制御する係数が読
出されるアタツク・デイケイ係数メモリ13と、 該アタツク・デイケイ係数メモリ13からのア
タツク・デイケイ係数と記憶回路からの読出し値
とを加算する加算器と該加算結果を記憶し再び加
算回路に読出す上記記憶回路とより成り、前記タ
イミング発生回路のタイミングパルスと前記アド
レスカウンタのアドレスパルスとに応じ、前記加
算器から前記アタツク・デイケイ係数の累算出力
信号を出力するとともに累算出力が所定値になつ
たことを検知しアタツク・デイケイの各終了信号
を出力する累算器11と、 外部からのアタツク信号と前記累算器11から
のアタツク・デイケイの各終了信号とにより累算
器に与える係数をアタツクの時はアタツク係数と
し、デイケイの時はデイケイ係数とするエンベロ
ープ制御回路17と、 対数曲線を持つエンベロープ波形の振幅を記憶
し前記累算出力信号により読出すエンベロープ波
形テーブルおよび該エンベロープ波形テーブルの
出力信号を反転または非反転するEX−OR回路
22と、 該EX−OR回路22の出力信号をアナログ波
形に変換するD/A変換器23と、 前記アドレスカウンタ20の出力信号を用いて
各チヤンネルに対応する時分割多重化信号を出力
するチヤンネルデコーダ21と、 前記D/A変換器のアナログ出力を対応するチ
ヤンネル毎に時分割し、振り分けるアナログマル
チプレクサ24とを具備し、 前記累算器を上記時分割多重化信号を用いて、
各チヤンネルで時分割動作させると共に前記累算
器からのアドレスで各チヤンネルのアタツク対応
のエンベロープ波形を形成した後、累算器11か
らのデイケイ期間出力信号により前記アタツク・
デイケイ係数メモリ13の読出しをデイケイ係数
とすると共に前記エンベロープ波形テーブル14
からのエンベロープ波形データを上記EX−OR
回路22で反転させてデイケイ波形を形成し、か
つ、前記累算器11からのデイケイ終了信号によ
りエンベロープ制御回路17は累算を終了させる
ことによりエンベロープ波形の全てを形成し、 その後対応するチヤンネル毎に、前記アドレス
カウンタ20の出力信号から、前記チヤンネルデ
コーダ21で各チヤンネルの時分割多重化信号を
得て、前記アナログマルチプレクサ24により時
分割して振分け出力するようにしたことを特徴と
する電子楽器。[Claims for Utility Model Registration] A timing generation circuit 19 that generates timing pulses, an address counter 20 driven by the timing generation circuit, and a coefficient that controls the attack decay time by the address pulse of the address counter. an attack decay coefficient memory 13 from which the attack decay coefficient memory 13 is read; an adder for adding the attack decay coefficient from the attack decay coefficient memory 13 and a value read from the storage circuit; and an adder for storing the addition result and reading it back to the addition circuit. and outputs a cumulative output signal of the attack decay coefficient from the adder in response to a timing pulse of the timing generating circuit and an address pulse of the address counter, and outputs a cumulative output signal of the attack decay coefficient from the adder, and also outputs a cumulative output signal of the attack decay coefficient to a predetermined value. an accumulator 11 which detects that the number of attacks has increased and outputs each end signal of the attack decay; an envelope control circuit 17 which uses a coefficient as an attack coefficient when it is an attack and a decay coefficient when it has a decay; an envelope waveform table that stores the amplitude of an envelope waveform having a logarithmic curve and reads it out using the cumulative output signal; and the envelope waveform. An EX-OR circuit 22 that inverts or non-inverts the output signal of the table, a D/A converter 23 that converts the output signal of the EX-OR circuit 22 into an analog waveform, and an output signal of the address counter 20. The accumulator includes a channel decoder 21 that outputs a time division multiplexed signal corresponding to each channel, and an analog multiplexer 24 that time divisions and distributes the analog output of the D/A converter to each corresponding channel. Using the above time division multiplexed signal,
After time-division operation is performed on each channel and an envelope waveform corresponding to the attack of each channel is formed using the address from the accumulator 11, the decay period output signal from the accumulator 11 is used to perform the attack waveform.
The decay coefficient memory 13 is read out as a decay coefficient, and the envelope waveform table 14
EX-OR the envelope waveform data from
The circuit 22 inverts the waveform to form a decay waveform, and in response to the decay end signal from the accumulator 11, the envelope control circuit 17 terminates the accumulation to form all the envelope waveforms, and then for each corresponding channel. The electronic musical instrument is characterized in that the channel decoder 21 obtains a time-division multiplexed signal for each channel from the output signal of the address counter 20, and the analog multiplexer 24 divides and outputs the time-division multiplexed signal. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1986135218U JPH0348640Y2 (en) | 1986-09-03 | 1986-09-03 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1986135218U JPH0348640Y2 (en) | 1986-09-03 | 1986-09-03 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6251391U JPS6251391U (en) | 1987-03-30 |
| JPH0348640Y2 true JPH0348640Y2 (en) | 1991-10-17 |
Family
ID=31037194
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1986135218U Expired JPH0348640Y2 (en) | 1986-09-03 | 1986-09-03 |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0348640Y2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5246088A (en) * | 1975-10-09 | 1977-04-12 | Dainippon Ink & Chem Inc | Preparation of novel addition products |
| JPS5381227A (en) * | 1976-12-27 | 1978-07-18 | Kawai Musical Instr Mfg Co | Electronic musical instrument |
| JPS5830593B2 (en) * | 1977-03-12 | 1983-06-30 | 株式会社河合楽器製作所 | Envelope circuit for electronic musical instruments |
| JPS53139521A (en) * | 1977-05-12 | 1978-12-05 | Nippon Gakki Seizo Kk | Electronic musical instrument |
-
1986
- 1986-09-03 JP JP1986135218U patent/JPH0348640Y2/ja not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6251391U (en) | 1987-03-30 |
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 | |
| US4785706A (en) | Apparatus for generating a musical tone signal with tone color variations independent of tone pitch | |
| US4166405A (en) | Electronic musical instrument | |
| US4282788A (en) | Electronic musical instrument with automatic chord performance device | |
| JPH0656555B2 (en) | Sound generator | |
| JPS6328478Y2 (en) | ||
| JPH0348640Y2 (en) | ||
| JPS6052896A (en) | Electronic musical instrument | |
| JPH07113831B2 (en) | Electronic musical instrument | |
| JPS5975294A (en) | musical tone synthesizer | |
| JPS6113239B2 (en) | ||
| JPS6328476Y2 (en) | ||
| JPS5842478B2 (en) | Noise removal device for electronic musical instruments | |
| JPS6158915B2 (en) | ||
| JPS6347917Y2 (en) | ||
| JPS61245196A (en) | Musical sound generation | |
| JPH0121515B2 (en) | ||
| JP2698843B2 (en) | Electronic musical instrument | |
| JPS5855437Y2 (en) | electronic musical instruments | |
| JPS58192092A (en) | Automatic rhythm performer | |
| JPS5882298A (en) | Envelope control circuit for electronic musical instrument | |
| JPS6231360B2 (en) | ||
| JPS6259320B2 (en) | ||
| JPH05134673A (en) | Electronic musical instrument | |
| JPS6061797A (en) | Musical sound generator |