JP3504387B2 - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JP3504387B2
JP3504387B2 JP18059995A JP18059995A JP3504387B2 JP 3504387 B2 JP3504387 B2 JP 3504387B2 JP 18059995 A JP18059995 A JP 18059995A JP 18059995 A JP18059995 A JP 18059995A JP 3504387 B2 JP3504387 B2 JP 3504387B2
Authority
JP
Japan
Prior art keywords
envelope
phase
signal
value
tone
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 - Fee Related
Application number
JP18059995A
Other languages
Japanese (ja)
Other versions
JPH0916175A (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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing 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 Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP18059995A priority Critical patent/JP3504387B2/en
Publication of JPH0916175A publication Critical patent/JPH0916175A/en
Application granted granted Critical
Publication of JP3504387B2 publication Critical patent/JP3504387B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は電子楽器に関し、特に簡
単な構成により、複雑なエンベロープの制御が可能な電
子楽器に関するものである。
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 capable of controlling a complicated envelope with a simple structure.

【0002】[0002]

【従来の技術】従来、電子楽器においては、波形メモリ
に波形データを記憶しておき、押鍵の音高に対応するア
ドレス間隔で該波形データを読み出し、更にエンベロー
プ信号を乗算して楽音信号を発生させる方式の電子楽器
があった。このような方式の電子楽器においては、原音
をPCM録音した原波形データの振幅を一定のレベルに
加工、修正して記憶し、出力される楽音信号のエンベロ
ープは、アタックからリリースまで全てエンベロープ信
号によって制御を行うように構成されていた。
2. Description of the Related Art Conventionally, in an electronic musical instrument, waveform data is stored in a waveform memory, the waveform data is read out at an address interval corresponding to the pitch of a key depression, and the envelope signal is multiplied to generate a tone signal. There was a method of generating electronic musical instruments. In the electronic musical instrument of such a system, the amplitude of the original waveform data obtained by PCM recording the original sound is processed into a certain level, corrected and stored, and the envelope of the musical tone signal output is entirely from the attack to the release by the envelope signal. Was configured to take control.

【0003】[0003]

【発明が解決しようとする課題】前記のような従来の電
子楽器においては、エンベロープの制御を全てエンベロ
ープ信号によって行うために、アタックからリリースま
での複数のフェーズのエンベロープ波形を忠実に発生さ
せる必要があり、フェーズ数の増加と共に、パラメータ
数および制御装置のフェーズ移行処理負荷が増大し、メ
モリ容量の増加あるいは処理能力の大きな制御装置が必
要となるという問題点があった。また、波形メモリに記
憶される波形データは、原音データを振幅が一定になる
ように加工するので、特にアタック部分において音色が
変化してしまい、原音に忠実な楽音信号が発生できない
という問題点もあった。本発明の目的は、前記のような
従来技術の問題点を改良し、簡単な構成により、任意の
エンベロープの制御が可能であり、かつ原音に忠実な楽
音信号を発生させることができる電子楽器を提供するこ
とにある。
In the conventional electronic musical instrument as described above, since envelope control is performed entirely by the envelope signal, it is necessary to faithfully generate envelope waveforms of a plurality of phases from attack to release. However, as the number of phases increases, the number of parameters and the phase shift processing load of the control device increase, and there is a problem that a control device having an increased memory capacity or a large processing capacity is required. In addition, since the waveform data stored in the waveform memory is processed so that the original sound data has a constant amplitude, the tone color changes particularly in the attack portion, and there is a problem that a tone signal faithful to the original sound cannot be generated. there were. An object of the present invention is to improve the above-mentioned problems of the prior art and to provide an electronic musical instrument capable of controlling an arbitrary envelope with a simple configuration and generating a tone signal faithful to an original sound. To provide.

【0004】[0004]

【課題を解決するための手段】本発明は、エンベロープ
信号発生手段から発生されるエンベロープ信号に基づ
き、波形信号発生手段から発生される波形信号にエンベ
ロープを付与して楽音信号を発生する電子楽器におい
て、エンベロープ信号発生手段は、任意のエンベロープ
信号初期値を設定可能であることを特徴とする。また、
波形信号手段から発生される波形信号には、少なくとも
アタックフェーズにおけるエンベロープが付与されてい
ることを特徴とする。
SUMMARY OF THE INVENTION The present invention is an electronic musical instrument for generating a musical tone signal by adding an envelope to a waveform signal generated by a waveform signal generating means based on an envelope signal generated by an envelope signal generating means. The envelope signal generating means can set an arbitrary envelope signal initial value. Also,
The waveform signal generated from the waveform signal means is provided with at least an envelope in the attack phase.

【0005】[0005]

【作用】本発明の電子楽器は、エンベロープ信号発生手
段が任意のエンベロープ信号初期値を設定可能であるの
で、例えばアタック時に所定のレベルからスタートし、
エンベロープレベルの変化が少ない波形を発生させるこ
とにより、波形メモリに記憶されている楽音信号波形を
そのまま再生することが可能となる。また、波形信号手
段から発生される波形信号に、アタックフェーズにおけ
るエンベロープが付与されていると、アタック時にエン
ベロープ制御を行う必要がなくなり、パラメータの数が
減少してメモリ容量が減少すると共に、フェーズ移行時
のパラメータ設定処理回数が減少して制御装置の処理負
荷が軽減される。更に、原音の音色及びエンベロープに
忠実な波形を発生させることができる。
In the electronic musical instrument of the present invention, since the envelope signal generating means can set an arbitrary envelope signal initial value, for example, when the attack is started from a predetermined level,
By generating a waveform with a small change in the envelope level, it is possible to reproduce the tone signal waveform stored in the waveform memory as it is. Further, if the waveform signal generated from the waveform signal means is provided with an envelope in the attack phase, it is not necessary to perform envelope control during the attack, the number of parameters is reduced, the memory capacity is reduced, and the phase transition is performed. The number of times parameter setting processing is performed is reduced, and the processing load on the control device is reduced. Furthermore, it is possible to generate a waveform faithful to the tone color and envelope of the original sound.

【0006】[0006]

【実施例】以下、本発明の一実施例を図面を参照して詳
細に説明する。図1は本発明が適用される電子楽器の回
路構成を示すブロック図である。CPU1は、ROM2
に格納されている制御プログラムに基づき、電子楽器全
体の制御を行う中央処理装置である。ROM2にはプロ
グラムの他、音色パラメータ、周波数情報テーブル等も
記憶されている。音色パラメータには波形ROM内の波
形のアドレス、サンプリングレート、振幅エンベロープ
パラメータ等がある。RAM3はワークエリアおよびバ
ッファとして使用され、パネル状態等も保存されてい
る。また、バッテリバックアップされていてもよい。鍵
盤回路4は、例えばそれぞれ2つのスイッチを有する複
数の鍵、該スイッチを走査して状態情報を取り込む走査
回路、鍵の状態変化からキーオン、キーオフのイベント
を検出する回路、押鍵の強さを検出するタッチ検出回路
からなる。パネル回路5は、音色選択、効果選択、音量
設定等の各種スイッチ、及び液晶あるいはLED等によ
り文字や図形を表示する表示装置からなる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing a circuit configuration of an electronic musical instrument to which the present invention is applied. CPU1 is ROM2
It is a central processing unit that controls the entire electronic musical instrument based on a control program stored in. In addition to programs, the ROM 2 also stores tone color parameters, frequency information tables, and the like. The tone color parameters include the waveform address in the waveform ROM, the sampling rate, the amplitude envelope parameter, and the like. The RAM 3 is used as a work area and a buffer and also stores the panel state and the like. Further, the battery may be backed up. The keyboard circuit 4 includes, for example, a plurality of keys each having two switches, a scanning circuit that scans the switches to capture state information, a circuit that detects a key-on or key-off event from a change in the state of the key, and the strength of key depression. It is composed of a touch detection circuit for detecting. The panel circuit 5 is composed of various switches for tone color selection, effect selection, volume setting, etc., and a display device for displaying characters and figures by liquid crystal or LEDs.

【0007】振幅エンベロープ発生回路6は、後述する
ような構成により、CPU1から設定されたエンベロー
プパラメータに基づき、各楽音発生チャネルごとに任意
の形状のエンベロープ信号Ecを発生させる。波形アド
レス発生回路7は、CPU1から設定された読み出し開
始アドレス、周波数情報(音高に対応したアドレス間隔
情報)、ループアドレス情報に基づき、各楽音発生チャ
ネルごとに、所望の音色に対応するアドレス範囲内で、
かつ押鍵の音高に対応するアドレス間隔で順次進行する
波形読み出しアドレスを発生する。そして、読み出しア
ドレスの整数部を波形ROM8に順次出力し、小数部を
サンプル補間回路9に出力する。波形ROM8には、音
色ごとに、後述するような波形データが記憶されてお
り、波形アドレス発生回路からの読み出しアドレスに従
って波形データが読み出されてサンプル補間回路9に入
力される。
The amplitude envelope generating circuit 6 is configured as described later and generates an envelope signal Ec of an arbitrary shape for each tone generating channel based on the envelope parameter set by the CPU 1. The waveform address generation circuit 7 is based on the read start address, frequency information (address interval information corresponding to pitch), and loop address information set by the CPU 1, and an address range corresponding to a desired tone color for each tone generation channel. At the inner,
In addition, a waveform read address that sequentially advances at address intervals corresponding to the tone pitch of the key depression is generated. Then, the integer part of the read address is sequentially output to the waveform ROM 8, and the decimal part is output to the sample interpolation circuit 9. Waveform data, which will be described later, is stored in the waveform ROM 8 for each tone color, and the waveform data is read according to the read address from the waveform address generation circuit and input to the sample interpolation circuit 9.

【0008】サンプル補間回路9は、各楽音発生チャネ
ルごとに、波形ROM8から読み出された波形データを
複数個記憶し、波形アドレス発生回路7から出力される
波形アドレスの小数部のデータに基づいて補間演算を行
い、補間された楽音波形振幅値を出力する。乗算器10
は楽音波形振幅値とエンベロープ信号Ecとを乗算し、
累算回路11は、サンプリング周期ごとに時分割処理さ
れた複数の楽音発生チャネルの楽音信号を全て加算、合
成する。D/A変換器12はデジタル楽音信号をアナロ
グ信号に変換し、例えばアンプおよびスピーカからなる
サウンドシステム13によって発音される。なお、必要
に応じて、フロッピディスクドライブ回路、メモリカー
ドインターフェース回路、MIDIインターフェース回
路を備えていてもよい。
The sample interpolation circuit 9 stores a plurality of waveform data read from the waveform ROM 8 for each tone generation channel, and based on the fractional part data of the waveform address output from the waveform address generation circuit 7. Interpolation calculation is performed, and the interpolated tone waveform amplitude value is output. Multiplier 10
Is a tone waveform amplitude value multiplied by the envelope signal Ec,
The accumulator circuit 11 adds and synthesizes all the musical tone signals of a plurality of musical tone generating channels that are time-divisionally processed for each sampling period. The D / A converter 12 converts a digital musical tone signal into an analog signal, and is sounded by a sound system 13 including, for example, an amplifier and a speaker. If necessary, a floppy disk drive circuit, a memory card interface circuit, and a MIDI interface circuit may be provided.

【0009】図2は振幅エンベロープ発生回路6の構成
を示すブロック図である。インターフェース回路20は
バスを介してCPU1とのデータのやり取りを実行す
る。時変数信号発生回路21は、CPU1から設定され
たパラメータτに基づき、後述するような構成によっ
て、各フェーズごとに1から指数関数的に漸減する信号
αを発生する。フェーズ遷移制御回路22は、後述する
構成により、信号αに基づいて各フェーズの終了を検出
して信号trmを発生する。振幅レベル再生回路23
は、後述する構成によって、αおよび各フェーズの目標
レベル等に基づきエンベロープ信号Ecを発生する。
FIG. 2 is a block diagram showing the configuration of the amplitude envelope generating circuit 6. The interface circuit 20 exchanges data with the CPU 1 via the bus. The time variable signal generation circuit 21 generates a signal α that exponentially decreases from 1 for each phase by a configuration described below based on the parameter τ set by the CPU 1. The phase transition control circuit 22 detects the end of each phase based on the signal α and generates the signal trm by the configuration described later. Amplitude level reproduction circuit 23
Generates an envelope signal Ec based on α and the target level of each phase, etc., by the configuration described later.

【0010】図3は、時変数信号発生回路21およびフ
ェーズ遷移制御回路22の構成を示すブロック図であ
る。キーオン時にはCPU1からの制御により、信号W
fが1となって、信号trmが強制的に1になる。する
と、セレクタ30からは1が出力され、αレジスタ31
に書き込まれる。また、CPU1からτBレジスタに予
め書き込まれていたスピードパラメータであるτ1がτ
Wレジスタに転送される。なお、CPU1はその後フェ
ーズ2のスピードパラメータτ2をτBレジスタにセッ
トしておく。乗算器32および減算器33は、α t
(1−τ)α t-1 なる演算を行ない、出力が再びαレジ
スタに書き込まれて、αが指数関数的に減少していく。
FIG. 3 is a block diagram showing the configurations of the time variable signal generation circuit 21 and the phase transition control circuit 22. When the key is turned on, the signal W
f becomes 1, and the signal trm is forced to be 1. Then, 1 is output from the selector 30 and the α register 31
Written in. Further, τ1 which is the speed parameter previously written from the CPU 1 into the τB register is τ
It is transferred to the W register. The CPU 1 then sets the speed parameter τ2 of phase 2 in the τB register. The multiplier 32 and the subtractor 33 have α t =
(1- [tau]) [ alpha] t-1 is performed, the output is written again in the [alpha] register, and [alpha] decreases exponentially.

【0011】比較器37はαとセレクタ38の出力とを
比較し、αの方が小さい場合には1を出力する。セレク
タ38からは後述するパラメータZWに従って、定数K
あるいはCPU1から設定されるパラメータLWが出力
される。定数Kは通常、例えば0.1以下の小さな値で
あり、ZWが0の場合には、αがK以下になると信号t
rmが発生してフェーズが遷移する。なお、RQレジス
タ44はCPU1に対してフェーズ遷移に伴い、新たな
パラメータの転送(τ3のτBレジスタへのセット)を
要求するためのものであり、CPU1から制御される信
号Clfによってクリヤされる。なお、図3および図4
における各レジスタは実際には発音チャネル分存在す
る。
The comparator 37 compares α with the output of the selector 38, and outputs 1 when α is smaller. From the selector 38, according to a parameter ZW described later, a constant K
Alternatively, the parameter LW set by the CPU 1 is output. The constant K is usually a small value, for example, 0.1 or less, and when ZW is 0, the signal t is reduced when α becomes K or less.
rm occurs and the phase transitions. The RQ register 44 is for requesting the CPU 1 to transfer a new parameter (set τ3 to the τB register) with the phase transition, and is cleared by the signal Clf controlled by the CPU 1. 3 and 4
There are actually sounding channels for each register in.

【0012】図4は、振幅レベル再生回路23の構成を
示すブロック図である。Eiレジスタ52は、各フェー
ズにおける初期値を記憶するレジスタであり、発音開始
時には、CPU1からの制御により、信号Wが1になっ
て、エンベロープ初期値EsがEiレジスタにセットさ
れる。また、信号trmにより、CPU1からLBレジ
スタ56およびZBレジスタ60に予め書き込まれてい
たパラメータL1およびZ1がLWレジスタ58および
ZWレジスタ62に転送される。なお、CPU1はその
後フェーズ2のパラメータL2およびZ2をLBレジス
タ56およびZBレジスタ60にセットしておく。Zパ
ラメータが0の場合にはLパラメータはセレクタ59か
ら出力されて、各フェーズの目標レベル値として使用さ
れる。
FIG. 4 is a block diagram showing the configuration of the amplitude level reproducing circuit 23. The Ei register 52 is a register for storing an initial value in each phase. At the start of sound generation, the signal W becomes 1 and the envelope initial value Es is set in the Ei register under the control of the CPU 1. Further, the signal trm causes the parameters L1 and Z1 previously written in the LB register 56 and the ZB register 60 from the CPU 1 to be transferred to the LW register 58 and the ZW register 62. The CPU 1 then sets the parameters L2 and Z2 of phase 2 in the LB register 56 and the ZB register 60. When the Z parameter is 0, the L parameter is output from the selector 59 and used as the target level value for each phase.

【0013】減算器53、乗算器54、加算器55は次
式、Ec=(Ei−LW)*α+LWの演算を行い、エ
ンベロープ現在値Ecを出力する。Ecはαが1のとき
にはEiに等しく、αの減少に従って目標値LWに漸近
していく。フェーズ遷移信号trmが発生した場合には
エンベロープ現在値Ecがセレクタ50、51を介して
Eiレジスタに書き込まれる。
The subtractor 53, the multiplier 54, and the adder 55 perform the following equation, Ec = (Ei-LW) * α + LW, and output the current envelope value Ec. Ec is equal to Ei when α is 1, and gradually approaches the target value LW as α decreases. When the phase transition signal trm is generated, the current envelope value Ec is written in the Ei register via the selectors 50 and 51.

【0014】Zパラメータが1の場合には、セレクタ5
9からは目標値として0が出力される。そして、パラメ
ータLWは、図3のセレクタ38を介して比較器37に
入力され、到達率を制御するパラメータとして作用す
る。例えば、Zを1、LWを0.5にセットし、スピー
ドパラメータを長めに設定すれば、αが直線に近い形状
で1から0.5まで減少した時点でフェーズ遷移が発生
する。このような構成を採用することにより、簡単なハ
ードウェアで、かつ少ないパラメータ量で、初期値が0
以外のエンベロープも含め、任意の形状のエンベロープ
を発生させることができる。
When the Z parameter is 1, the selector 5
0 is output from 9 as the target value. Then, the parameter LW is input to the comparator 37 via the selector 38 of FIG. 3 and acts as a parameter for controlling the arrival rate. For example, if Z is set to 1 and LW is set to 0.5 and the speed parameter is set to be long, a phase transition occurs when α decreases from 1 to 0.5 in a shape close to a straight line. By adopting such a configuration, the initial value is 0 with simple hardware and a small amount of parameters.
An envelope of any shape can be generated including envelopes other than.

【0015】図5は、音色ごとに予め設定、記憶されて
いるエンベロープパラメータのデータ例を示す説明図で
ある。エンベロープパラメータは例えば図示するような
6ワード(6バイト)のデータからなり、初期レベルE
s、2フェーズ分のスピードτ、レベルL、およびZパ
ラメータ、リリースフェーズのスピードパラメータτ3
が記憶されている。なお、パラメータは音色以外に例え
ば音域、タッチ毎に記憶するか、あるいは音域あるいは
タッチ情報によってパラメータを修正して使用してもよ
い。
FIG. 5 is an explanatory diagram showing an example of envelope parameter data preset and stored for each timbre. The envelope parameter consists of 6-word (6-byte) data as shown in the figure, and has an initial level E
s, speed τ for two phases, level L and Z parameters, speed parameter τ3 for release phase
Is remembered. In addition to the tone color, the parameter may be stored for each tone range or touch, or the parameter may be modified according to the tone range or touch information and used.

【0016】図6は、振幅エンベロープ発生回路6の各
部の信号波形の一例を示す波形図である。時刻t0にお
いて、鍵が押下されると、鍵盤回路4は該変化を検出
し、CPU1に通知する。CPU1はキーオン情報を受
け取ると、空いている楽音信号発生チャネルを選択し
て、発音に必要な各種パラメータを波形アドレス発生回
路7および振幅エンベロープ発生回路6にセットし、発
音動作を開始させる。なお、この例では第1フェーズの
Zパラメータのみが1であるものとする。
FIG. 6 is a waveform diagram showing an example of the signal waveform of each part of the amplitude envelope generating circuit 6. When the key is pressed at time t0, the keyboard circuit 4 detects the change and notifies the CPU 1 of the change. When the CPU 1 receives the key-on information, it selects a vacant tone signal generation channel, sets various parameters required for sound generation in the waveform address generation circuit 7 and the amplitude envelope generation circuit 6, and starts the sound generation operation. In this example, it is assumed that only the Z parameter in the first phase is 1.

【0017】信号αはキーオンと共に1となり、第1フ
ェーズのスピードパラメータτ1に対応するスピードで
減少していく。そして時刻t2において、αがL1未満
まで減少すると、フェーズ遷移信号trmが発生し、第
2フェーズに遷移する。ここでαは再び1にセットさ
れ、今度は第2フェーズのスピードパラメータτ2に対
応するスピードで減少していく。そして時刻t3におい
て、キーオフが発生すると、CPU1の制御により強制
的にフェーズ遷移信号trmが発生し、リリースフェー
ズに遷移する。
The signal α becomes 1 when the key is turned on, and decreases at a speed corresponding to the speed parameter τ1 of the first phase. Then, at time t2, when α decreases to less than L1, the phase transition signal trm is generated and the phase shifts to the second phase. Here, α is set to 1 again, and this time decreases at a speed corresponding to the speed parameter τ2 of the second phase. When the key-off occurs at time t3, the phase transition signal trm is forcibly generated by the control of the CPU 1 and the phase shifts to the release phase.

【0018】エンベロープ現在値Ecは、第1フェーズ
においては、Zパラメータが1であるので、初期値Es
から目標値0に向かって減少していく。第2フェーズに
おいては、Zパラメータが0であるので、第1フェーズ
の終了時点t2のエンベロープ値から目標値L2に向か
って減少していく(通常はL2も0である)。従って、
エンベロープ現在値Ecはαの変化に対応して図6に示
すように変化する。
Since the Z parameter is 1 in the first phase, the envelope current value Ec is the initial value Es.
From the target value to 0. In the second phase, the Z parameter is 0, so the Z value decreases from the envelope value at the end point t2 of the first phase toward the target value L2 (normally L2 is also 0). Therefore,
The current envelope value Ec changes as shown in FIG. 6 in response to the change of α.

【0019】波形ROM8には、例えば図6に示すよう
なエンベロープ形状を有する波形データが記憶されてい
る。この波形データは、原音のアタック期間である時刻
t0〜t1までの期間は原音の振幅エンベロープを加工
せずにそのまま記憶し、アタック期間の経過後は振幅エ
ンベロープが一定レベルになるように信号を加工したも
のである。このような波形データとエンベロープ信号E
cとを乗算するこよにより、楽音信号が発生される。従
って、出力される楽音信号のエンベロープ形状は図6の
最下段に示すような形状となり、アタック部分の音色お
よびエンベロープはほぼ原音に忠実に再生され、かつ少
ないパラメータでアタックからリリースまでの4つのフ
ェーズのエンベロープを付与することができる。
The waveform ROM 8 stores waveform data having an envelope shape as shown in FIG. 6, for example. This waveform data is stored as it is without processing the amplitude envelope of the original sound during the period from time t0 to t1 which is the attack period of the original sound, and the signal is processed so that the amplitude envelope becomes a constant level after the attack period. It was done. Such waveform data and envelope signal E
A tone signal is generated by multiplying with c. Therefore, the envelope shape of the output musical tone signal has a shape as shown in the lowermost part of FIG. 6, the tone and envelope of the attack portion are reproduced almost faithfully to the original sound, and the four phases from attack to release are set with few parameters. The envelope of can be added.

【0020】以上、実施例を説明したが、次のような変
形例も考えられる。エンベロープ発生回路の形式につい
ては、正規化された時変数信号αに基づくエンベロープ
発生回路を開示したが、例えばエンベロープ現在値を常
に記憶、更新し、目標値と現在値の差にスピードパラメ
ータを乗算したものを現在値に加算するようなタイプの
エンベロープ発生回路であっても、本発明を同様に適用
可能である。また実施例の回路におけるエンベロープ初
期値の設定方法は任意であり、例えばLWレジスタに初
期値Esをセットしておき、αを強制的に0にリセット
することによってフェーズ遷移信号trmを発生させ、
セレクタ59、加算器55、セレクタ50、51の経路
を経てEsをEiレジスタに転送してもよい。このよう
にすればセレクタ51やEsの転送回路が不要となる。
またスピードパラメータτを1にするとαが0になるの
で、τを制御してEsを転送することもできる。
Although the embodiment has been described above, the following modifications are also possible. Regarding the form of the envelope generating circuit, the envelope generating circuit based on the normalized time variable signal α is disclosed. For example, the envelope current value is always stored and updated, and the difference between the target value and the current value is multiplied by the speed parameter. The present invention can be similarly applied to an envelope generating circuit of a type in which one is added to the current value. The method of setting the envelope initial value in the circuit of the embodiment is arbitrary, and for example, the initial value Es is set in the LW register and α is forcibly reset to 0 to generate the phase transition signal trm.
Es may be transferred to the Ei register via the path of the selector 59, the adder 55, and the selectors 50 and 51. In this way, the selector 51 and the transfer circuit of Es are unnecessary.
Further, since α becomes 0 when the speed parameter τ is set to 1, it is possible to transfer Es by controlling τ.

【0021】エンベロープ情報を付与する範囲について
は、アタックフェーズ(原音のエンベロープ最大値ま
で)でもよいし、それより短い範囲でもよい。合成音の
場合にはアタックフェーズのエンベロープを付与する処
理が必要であるが、自然音の場合にはPCM録音したデ
ータのアタック部分を加工せずにそのまま使用してもよ
い。実施例においては、第1フェーズの遷移タイミング
は第1ディケイの終了時であるが、第1フェーズの遷移
タイミングをアタックフェーズの終了タイミングを同じ
にして、第1フェーズにおいてアタックフェーズのエン
ベロープ制御を行ってもよい。
The range to which the envelope information is given may be the attack phase (up to the maximum envelope of the original sound) or may be shorter than that. In the case of a synthetic sound, a process of adding an attack phase envelope is necessary, but in the case of a natural sound, the attack portion of the PCM-recorded data may be used as it is without being processed. In the embodiment, the transition timing of the first phase is at the end of the first decay, but the transition timing of the first phase is the same as the end timing of the attack phase, and the envelope control of the attack phase is performed in the first phase. May be.

【0022】各音色のディケイフェーズ移行の目標レベ
ルが全て0でよければ、実施例におけるZパラメータを
省略して、L1を到達率(αの終了値)の制御専用に使
用し、またL2を削除してもよい。このようにすれば、
パラメータの数が更に減少し、エンベロープ信号発生回
路の構成もより簡単になる。
If all the target levels for the transition of the decay phase of each timbre are 0, the Z parameter in the embodiment is omitted, L1 is used exclusively for controlling the reaching rate (end value of α), and L2 is deleted. You may. If you do this,
The number of parameters is further reduced, and the structure of the envelope signal generating circuit is also simplified.

【0023】[0023]

【発明の効果】以上述べたように、本発明の電子楽器
は、エンベロープ信号発生手段が任意のエンベロープ信
号初期値を設定可能であるので、例えばアタック時に所
定のレベルからスタートし、エンベロープレベルの変化
が少ない波形を発生させることにより、波形メモリに記
憶されている楽音信号波形をそのまま再生することが可
能となるという効果がある。また、波形信号手段から発
生される波形信号に、アタックフェーズにおけるエンベ
ロープが付与されていると、アタック時にエンベロープ
制御を行う必要がなくなり、パラメータの数が減少して
メモリ容量が減少すると共に、パラメータ設定処理回数
が減少して制御装置の処理負荷が軽減されるという効果
がある。更に、原音の音色及びエンベロープに忠実な波
形を発生させることができるという効果もある。
As described above, in the electronic musical instrument of the present invention, since the envelope signal generating means can set an arbitrary initial value of the envelope signal, for example, the attack starts from a predetermined level and the envelope level changes. By generating a waveform having a small number of waveforms, it is possible to reproduce the tone signal waveform stored in the waveform memory as it is. Further, if the waveform signal generated from the waveform signal means is provided with an envelope in the attack phase, it is not necessary to perform envelope control during the attack, the number of parameters is reduced, the memory capacity is reduced, and the parameter setting is performed. This has the effect of reducing the number of times of processing and reducing the processing load on the control device. Further, there is an effect that a waveform faithful to the tone color and envelope of the original sound can be generated.

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

【図1】本発明の電子楽器の回路構成を示すブロック図
である。
FIG. 1 is a block diagram showing a circuit configuration of an electronic musical instrument of the present invention.

【図2】振幅エンベロープ発生回路6の構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing a configuration of an amplitude envelope generating circuit 6.

【図3】時変数信号発生回路21およびフェーズ遷移制
御回路22の構成を示すブロック図である。
FIG. 3 is a block diagram showing configurations of a time variable signal generation circuit 21 and a phase transition control circuit 22.

【図4】振幅レベル再生回路23の構成を示すブロック
図である。
FIG. 4 is a block diagram showing a configuration of an amplitude level reproducing circuit 23.

【図5】エンベロープパラメータのデータ例を示す説明
図である。
FIG. 5 is an explanatory diagram showing an example of data of envelope parameters.

【図6】振幅エンベロープ発生回路6の各部の信号波形
の一例を示す波形図である。
FIG. 6 is a waveform diagram showing an example of signal waveforms of respective parts of the amplitude envelope generating circuit 6.

【符号の説明】[Explanation of symbols]

1…CPU、2…ROM、3…RAM、4…鍵盤回路、
5…パネル回路、6…振幅エンベロープ発生回路、7…
波形アドレス発生回路、8…波形ROM、9…サンプル
補間回路、10…乗算器、11…累算回路、12…D/
A変換器、13…サウンドシステム
1 ... CPU, 2 ... ROM, 3 ... RAM, 4 ... Keyboard circuit,
5 ... Panel circuit, 6 ... Amplitude envelope generating circuit, 7 ...
Waveform address generation circuit, 8 ... Waveform ROM, 9 ... Sample interpolation circuit, 10 ... Multiplier, 11 ... Accumulation circuit, 12 ... D /
A converter, 13 ... Sound system

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のフェーズからなるエンベロープ信
号を発生する手段と、 アタック期間に原音の振幅エンベロープが付与された波
形データを発生する手段と、 前記アタック期間に原音の振幅エンベロープが付与され
た波形データに前記エンベロープ信号を乗算して楽音信
号を発生させる手段とを具備し、 前記エンベロープ信号を発生する手段が、 押鍵後の第1フェーズを含む少なくとも1つのフェーズ
のエンベロープ速度、前記第1フェーズのエンベロープ
初期値、および離鍵後のリリースフェーズのエンベロー
プ速度を、音色ごとに記憶するパラメータ記憶手段と、 前記第1フェーズ以外の各フェーズのエンベロープ初期
値を、その直前のフェーズの終了時点におけるエンベロ
ープ値に設定する手段とを含み、 前記第1フェーズのエンベロープ初期値が、アタック期
間では前記波形データのエンベロープに応じた楽音信号
が発生される値に設定された ことを特徴とする電子楽
器。
1. An envelope signal comprising a plurality of phases.
To generate the signal and a wave with the amplitude envelope of the original sound added during the attack period.
Means for generating shape data and an amplitude envelope of the original sound is added during the attack period.
Waveform data multiplied by the envelope signal
Generating the envelope signal, the means for generating the envelope signal having at least one phase including a first phase after key depression.
Envelope velocity, envelope of the first phase
Initial value and release phase envelope after key release
Parameter storing means for storing the tone velocity for each tone color, and the envelope initial of each phase other than the first phase.
The value is the envelope at the end of the immediately preceding phase.
And a means for setting a threshold value, and the initial envelope value of the first phase is the attack period.
Between the musical tone signals according to the envelope of the waveform data
An electronic musical instrument characterized by being set to a value at which is generated .
【請求項2】 前記パラメータ記憶手段が、 押鍵後の第1フェーズのエンベロープ速度、前記第1フ
ェーズのエンベロープ初期値、前記第1フェーズのエン
ベロープ目標値、前記第1フェーズに続く第2フェーズ
のエンベロープ速度、前記第2フェーズのエンベロープ
目標値、および離鍵後のリリースフェーズのエンベロー
プ速度を、音色ごとに記憶することを特徴とする請求項
1に記載の 電子楽器
2. The parameter storage means stores the envelope velocity of the first phase after key depression, the first velocity.
Phase envelope initial value
Belope target value, second phase following the first phase
Envelope velocity, envelope of the second phase
Target value and release phase envelope after key release
The speed of each tone is stored for each tone color.
Electronic musical instrument according to 1.
JP18059995A 1995-06-26 1995-06-26 Electronic musical instrument Expired - Fee Related JP3504387B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18059995A JP3504387B2 (en) 1995-06-26 1995-06-26 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18059995A JP3504387B2 (en) 1995-06-26 1995-06-26 Electronic musical instrument

Publications (2)

Publication Number Publication Date
JPH0916175A JPH0916175A (en) 1997-01-17
JP3504387B2 true JP3504387B2 (en) 2004-03-08

Family

ID=16086081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18059995A Expired - Fee Related JP3504387B2 (en) 1995-06-26 1995-06-26 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JP3504387B2 (en)

Also Published As

Publication number Publication date
JPH0916175A (en) 1997-01-17

Similar Documents

Publication Publication Date Title
US5446237A (en) Electronic musical instrument having a control section memory for generating musical tone parameters
JPH09114462A (en) Musical sound generating method
JP2567717B2 (en) Musical sound generator
JPH0782340B2 (en) Musical tone signal generator
JPH0798586A (en) Sound source device for electronic music instrument
JP3504387B2 (en) Electronic musical instrument
JPH0664466B2 (en) Electronic musical instrument
US5109746A (en) Envelope generator for use in an electronic musical instrument
US5284080A (en) Tone generating apparatus utilizing preprogrammed fade-in and fade-out characteristics
JPS61124994A (en) Musical sound signal generator
JP2932841B2 (en) Electronic musical instrument
JPH07325581A (en) Musical sound generation device
JP3341777B2 (en) Effect giving device
JP3543203B2 (en) Electronic musical instrument
JP3252296B2 (en) Waveform data output device
JP2640560B2 (en) Envelope signal generator
JP2508138B2 (en) Musical tone signal generator
JP3651675B2 (en) Electronic musical instruments
JP3324409B2 (en) Music processing method and apparatus
JP2571559B2 (en) Waveform signal processing method
JP3561939B2 (en) Waveform memory sound source
JP3448187B2 (en) Electronic musical instrument
JP3660125B2 (en) Electronic musical instrument sound image localization control device
JP3408653B2 (en) Envelope signal generator
JP3649906B2 (en) Electronic instrument key-on delay effect addition device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20031209

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031210

LAPS Cancellation because of no payment of annual fees