JPH07101349B2 - Envelope extraction device - Google Patents
Envelope extraction deviceInfo
- Publication number
- JPH07101349B2 JPH07101349B2 JP61184941A JP18494186A JPH07101349B2 JP H07101349 B2 JPH07101349 B2 JP H07101349B2 JP 61184941 A JP61184941 A JP 61184941A JP 18494186 A JP18494186 A JP 18494186A JP H07101349 B2 JPH07101349 B2 JP H07101349B2
- Authority
- JP
- Japan
- Prior art keywords
- waveform
- envelope
- value
- signal
- block
- 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
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】 〔発明の技術分野〕 この発明は、入力波形信号から、それのもつエンベロー
プ信号を抽出するようにしたエンベロープ抽出装置に関
する。Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to an envelope extracting device for extracting an envelope signal of an input waveform signal.
従来より、自然音を模倣して、種々の音響を生成するこ
とが研究されている。この種の研究にあつて、自然音
は、時間とともにその音量等のエンベロープの変化があ
ることは古くあら認められているところであり、これを
抽出し、よりリアルな音響を得るためのパラメータとす
ることが可能であることが理解されている。しかしなが
ら、具体的にその解決手法をまだ見出していないのが現
状である。BACKGROUND ART Conventionally, research has been conducted to generate various sounds by imitating natural sounds. In this kind of research, it has long been accepted that natural sounds have envelope changes such as their volume over time, and these are extracted and used as parameters for obtaining more realistic sounds. It is understood that it is possible. However, the current situation is that no specific solution has yet been found.
また、近年サンプリングマシーンあるいはサンプラー等
と称される外部から音響信号を入力して、これをデジタ
ル記録し、この記録された波形信号を音源信号として読
出し、各音階音信号として出力するサンプリング機能を
有する電子楽器が種々開発されている。In addition, it has a sampling function of inputting an acoustic signal from the outside called a sampling machine or a sampler in recent years, digitally recording the acoustic signal, reading the recorded waveform signal as a sound source signal, and outputting each scale tone signal. Various electronic musical instruments have been developed.
この種の電子楽器にあつては、一般に音響信号をそのま
まサンプリングし、デジタル信号に変換して記録するも
のであつて、入力波形信号が特有のエンベロープをもつ
ていることから、音階音信号として、予めデジタル記録
した波形信号を所定の速度で読出し、アナログ信号に変
換した後電圧制御型増幅器(VCA)等でエンベロープを
付加した場合にも、本来もつているエンベロープと後か
ら付加したエンベロープとの重ねあわせたものとなり、
十分なエンベロープ制御を行うことは困難であつた。In this type of electronic musical instrument, an acoustic signal is generally sampled as it is, converted into a digital signal and recorded, and since the input waveform signal has a unique envelope, Even when a digitally recorded waveform signal is read out at a predetermined speed and converted to an analog signal and then an envelope is added by a voltage control type amplifier (VCA), etc., the original envelope and the envelope added later are superimposed. It will be a combination,
It was difficult to perform sufficient envelope control.
また、上述のような波形信号のうち特定の区間を繰返し
て読出し持続音等を発生しようとしたときも、その波形
信号に例えば減衰形のエンベロープが本来かかつていた
ときは、波形のつなぎ目でレベル差が顕著として現わ
れ、クリツク音等のノイズが出力することになるという
欠点があり、かかるループ機能を実施しようとしたとき
は、短い区間でしか行えないという問題があつた。In addition, even when a specific section of the waveform signal as described above is repeated to generate a continuous read sound or the like, if the waveform signal originally has an attenuated envelope, for example, the level at the joint of the waveform is There is a disadvantage that the difference appears as a noticeable amount and noise such as a click sound is output, and when the loop function is to be implemented, there is a problem that it can be performed only in a short section.
従つて、この種のサンプリング機能を有する電子楽器に
あつても、もととなる入力波形信号のもつエンベロープ
信号を抽出し、それを入力波形信号から除去する必要性
があつた。Therefore, even in an electronic musical instrument having this type of sampling function, it is necessary to extract the envelope signal of the original input waveform signal and remove it from the input waveform signal.
このように、入力波形信号から、それのもつエンベロー
プ信号を抽出する必要性が感じられ、種々の具体的構成
が提案された。例えば、入力されるアナログ波形信号の
ピーク値をホールドし、このホールドされたピーク値の
信号を積分回路を介してエンベロープ信号として出力す
る方式が提案されているが、対象となる波形がアナログ
波形信号に限られること、及び積分回路の時定数の影響
を受けて忠実なエンベロープ信号を抽出することができ
ない等、種々の問題があつた。As described above, the necessity of extracting the envelope signal of the input waveform signal is felt, and various concrete configurations have been proposed. For example, a method has been proposed in which the peak value of an input analog waveform signal is held and the held peak value signal is output as an envelope signal via an integrator circuit. However, there are various problems such as the fact that a faithful envelope signal cannot be extracted due to the influence of the time constant of the integrating circuit.
この発明は上述した事情に鑑みてなされたものであり、
デジタル形式の波形信号からよりその波形信号に忠実な
エンベロープ信号を抽出できるエンベロープ抽出装置を
提供することを目的とする。The present invention has been made in view of the above circumstances,
It is an object of the present invention to provide an envelope extraction device that can extract an envelope signal that is more faithful to the waveform signal from a digital format.
この発明は上記目的を達成するために、入力波形信号を
デジタル記憶する波形記憶手段と、この波形記憶手段に
記憶された波形信号を複数のブロックに分割する分割手
段と、この分割手段により複数のブロックに分割された
波形信号から各ブロック毎に当該ブロック内で波形信号
の絶対値が最大値をとるアドレスと該最大値を検出し、
各ブロック毎に検出された波形信号の絶対値が最大値を
とるアドレスと該最大値とから、上記各ブロック毎の最
大値をデジタル演算処理により補間して上記エンベロー
プ信号を算出するエンベロープ信号算出手段と、を具備
したことを要点とする。In order to achieve the above-mentioned object, the present invention has a waveform storage means for digitally storing an input waveform signal, a division means for dividing the waveform signal stored in the waveform storage means into a plurality of blocks, and a plurality of division means by the division means. From the waveform signal divided into blocks, the address where the absolute value of the waveform signal takes the maximum value and the maximum value are detected in each block for each block,
Envelope signal calculating means for calculating the envelope signal by interpolating the maximum value of each block by digital operation processing from the address and the maximum value of the absolute value of the waveform signal detected for each block. The key point is that
この発明を、上述したサンプリング機能を有する電子楽
器に適用した場合の構成を第1図を参照して説明する。A configuration when the present invention is applied to the electronic musical instrument having the above-described sampling function will be described with reference to FIG.
即ち、符号1は波形信号を記憶する波形記憶手段であ
り、予め外部から波形信号を入力設定することができ
る。That is, reference numeral 1 is a waveform storage means for storing the waveform signal, and the waveform signal can be externally input and set in advance.
そして、この波形記憶手段1に記憶されている波形信号
を、そのアドレスの所定幅をブロツクとして、各ブロツ
ク毎にブロツク読出手段2にて読出す。Then, the waveform signal stored in the waveform storage means 1 is read by the block reading means 2 for each block with the predetermined width of the address as a block.
このブロツク読出手段2にて読出された波形信号は、最
大絶対値検出手段3に供給され、そのブロックにおいて
絶対値が算大値をとるアドレスと当該最大値を検出し、
最大値・アドレス記憶手段4に与える。従つて、最大値
・アドレス記憶手段4には、全ブロツクの最大値とその
最大値をとるアドレスとが順番に記憶されることにな
る。The waveform signal read by the block reading means 2 is supplied to the maximum absolute value detecting means 3, and the address at which the absolute value takes a large value and the maximum value are detected in the block,
It is given to the maximum value / address storage means 4. Therefore, the maximum value / address storage means 4 sequentially stores the maximum value of all blocks and the address having the maximum value.
そして、この最大値・アドレス記憶手段4の出力は、波
形記憶手段1から波形読出手段5によつて読出される波
形のサンプル値とともに補間エンベロープ値算出手段に
供給され、補間エンベロープ値を計算し、エンベロープ
正規化手段7に与える。The output of the maximum value / address storage means 4 is supplied to the interpolation envelope value calculation means together with the sample value of the waveform read from the waveform storage means 1 by the waveform reading means 5, and the interpolation envelope value is calculated, It is given to the envelope normalization means 7.
エンベロープ正規化手段7は、上記波形読出手段5から
供給されるサンプル値と、補間エンベロープ値算出手段
6から供給される補間エンベロープ値とから、波形信号
が本来もつていうエンベロープを除去すべく所定の演算
を行つて正規化したサンプル値を得る。The envelope normalizing means 7 performs a predetermined calculation from the sample value supplied from the waveform reading means 5 and the interpolation envelope value supplied from the interpolation envelope value calculating means 6 so as to remove the original envelope of the waveform signal. To obtain a normalized sample value.
そして、このサンプル値は、波形書込手段8に送出さ
れ、再び波形記憶手段1に供給され、記憶内容が書替え
られるようになる。Then, this sample value is sent to the waveform writing means 8 and is again supplied to the waveform storing means 1, so that the stored contents can be rewritten.
このようにして、エンベロープをもつた波形信号が、補
間エンベロープ値算出手段6により算出される補間エン
ベロープ値に従つて、そのエンベロープを除去して略一
定の値をもつエンベロープの波形信号により変換され
る。即ち、これら一連の処理によつて正規化した波形信
号が得られることになる。In this way, the waveform signal having the envelope is converted into the waveform signal of the envelope having a substantially constant value by removing the envelope according to the interpolation envelope value calculated by the interpolation envelope value calculation means 6. . That is, a normalized waveform signal is obtained by the series of processes.
この発明は、以下に詳述する実施例により、具体的にそ
の構成ならびに特徴が理解されよう。The configuration and features of the present invention will be understood concretely by the embodiments described in detail below.
以下に、本発明をマイクロプロセツサ等のCPUを用いて
構成した一実施例につき詳述する。Hereinafter, an embodiment in which the present invention is configured by using a CPU such as a microprocessor will be described in detail.
第2図はその回路構成を示し、マイクロフオン11を介し
て入力する音響信号は、波形入力回路12により適当なサ
ンプリング周波数でサンプリングされ、デジタル信号に
変換されてCPU13に供給される。FIG. 2 shows its circuit configuration. An acoustic signal input through the microphone 11 is sampled by the waveform input circuit 12 at an appropriate sampling frequency, converted into a digital signal, and supplied to the CPU 13.
CPU13は、この入力波形信号を波形メモリリード/ライ
ト回路14に送り、最終的に波形メモリ15に記憶させる。
従つて、この波形メモリ15には、入力音のエンベロープ
をもつ波形信号がデジタル記憶されることになる。The CPU 13 sends this input waveform signal to the waveform memory read / write circuit 14 and finally stores it in the waveform memory 15.
Therefore, the waveform signal having the envelope of the input sound is digitally stored in the waveform memory 15.
また、CPU13は、この波形メモリ15に記憶された波形信
号を正規化してエンベロープを除去する処理を行う。そ
の際使用するワーキングレジスタ16として、アドレスレ
ジスタ(adレジスタ)、dtレジスタ、ブロツクレジスタ
(blレジスタ)、evレジスタ、madj/mdtjレジスタ等が
ある。これらのレジスタには、後述するようなデータや
アドレスが記憶される。Further, the CPU 13 normalizes the waveform signal stored in the waveform memory 15 to remove the envelope. The working register 16 used at that time includes an address register (ad register), a dt register, a block register (bl register), an ev register, and a madj / mdtj register. Data and addresses, which will be described later, are stored in these registers.
また、このCPU13は、キーボード17と接続されており、
キーボード17のキー操作に基づきCPU13は各種処理を行
うほか、このキーボード17に設けられている演奏鍵の操
作に従つて、波形メモリ15から各音階に対応する所定の
速度で正規化された波形信号を読出すように、波形メモ
リリード/ライト回路14を制御する。Also, this CPU 13 is connected to the keyboard 17,
In addition to the CPU 13 performing various processes based on the key operation of the keyboard 17, the waveform signal normalized from the waveform memory 15 at a predetermined speed corresponding to each scale according to the operation of the performance keys provided on the keyboard 17. The waveform memory read / write circuit 14 is controlled so as to read.
そして、この波形メモリ15から読出されたデイジタル信
号は、波形メモリリード/ライト回路14を介してD/A変
換器18に供給されて、アナログ信号に変換されて、電圧
制御型増幅器(VCA)19に印加される。Then, the digital signal read from the waveform memory 15 is supplied to the D / A converter 18 via the waveform memory read / write circuit 14 and converted into an analog signal, and the voltage controlled amplifier (VCA) 19 Applied to.
このVCA19には、CPU13がソフト処理によつて算出出力す
るエンベロープ信号がD/A変換器20によつてアナログ信
号に変換された後供給されて、増幅率が決定され、その
結果、VCA19からは、CPU13にて指定されるエンベロープ
をもつ波形信号が出力することになり、このVCA19の出
力は、サウンドシステム21により音響出力に変換され
る。The VCA 19 is supplied with the envelope signal calculated and output by the CPU 13 by the soft processing after being converted into an analog signal by the D / A converter 20, and the amplification factor is determined, as a result, from the VCA 19 , A waveform signal having an envelope designated by the CPU 13 is output, and the output of the VCA 19 is converted into an acoustic output by the sound system 21.
次に、第3図のフローチャートを参照して、本実施例の
動作を説明する。先ずこの一連の処理は、ブロツクの中
のサンプル値の絶対値が最大値をとるアドレスと、その
最大値を求めるルーチンAと、このルーチンAの結果か
ら波形メモリ15の記憶内容を正規化するルーチンBとか
らなる。Next, the operation of this embodiment will be described with reference to the flowchart of FIG. First, this series of processing is performed by an address where the absolute value of the sample value in the block has the maximum value, a routine A for obtaining the maximum value, and a routine for normalizing the stored contents of the waveform memory 15 from the result of this routine A. It consists of B and.
そして、先ずルーチンAの中のステツプA1では、ワーキ
ングレジスタ16内のブロツクレジスタ(blレジスタ)を
イニシヤライズする。即ち、先頭ブロツクを指定するよ
うに1を設定する。なお、このブロツクとは、波形メモ
リ15を所定のアドレス幅BSで区切つたときのエリアの夫
々を言う。First, in step A1 in routine A, the block register (bl register) in the working register 16 is initialized. That is, 1 is set to specify the first block. In addition, the block means each of the areas when the waveform memory 15 is divided by a predetermined address width BS.
次に、ステツプA2においてアドレスレジスタ(adレジス
タ)を初期化する。即ち、adレジスタの内容を、波形メ
モリ15の先頭アドレスを指定するデータとする。そし
て、ステツプA3に進み、ステツプA3において、サンプル
値の絶対値をとつた値のうちの、最大値をとるアドレス
と、その最大値を記憶するレジスタ(madj/mdtjレジス
タ)の内容をイニシヤルセツトする。Next, in step A2, the address register (ad register) is initialized. That is, the content of the ad register is used as data for designating the start address of the waveform memory 15. Then, in step A3, the address of the maximum value among the absolute values of the sample values and the contents of the register (madj / mdtj register) storing the maximum value are initialized.
即ち、波形メモリ15の先頭ブロツクをj=1とし、最終
ブロツクをj=Nとしたとき、上記madj/mdtjレジスタ
の内容をj=1〜Nの範囲でゼロにセツトすると共に、
先頭ブロツクj=1より1つ前の仮想ブロツクj=0の
mado/mdtoレジスタの内容を、アドレスを波形メモリ15
の先頭アドレスより各ブロツクの幅(ブロツクサイズB
S)を引いた値にセツトし、最大値をゼロとする同様
に、最終ブロツクj=Nよりひとつ後の仮想ブロツクj
=N+1のmadN+1/mdtN+1レジスタの内容のうち、アド
レスを波形メモリ15の最終アドレスよりブロツクサイズ
BSを加えた値にセツトし、その最大値をゼロとする。That is, when the first block of the waveform memory 15 is j = 1 and the last block is j = N, the contents of the madj / mdtj register are set to zero in the range of j = 1 to N, and
Of the virtual block j = 0, which is one before the first block j = 1
The contents of the mado / mdto register, the address of the waveform memory
Width of each block from the start address of (block size B
S) to the value obtained by subtracting the maximum value and setting the maximum value to zero. Similarly, the final block j = N, one virtual block after the final block j = N.
= N + 1 mad N + 1 / mdt N + 1 register contents, block size from the final address of waveform memory 15
Set to the value with BS added, and set the maximum value to zero.
そして、以上の一連の初期設定処理に設けて、ステツプ
A4以降の処理にて、各ブロツクの最大値を検出する。先
ずステツプA4では、adレジスタの内容で指定される波形
メモリ15のサンプル値を読出し、絶対値をとる。Then, by providing the above series of initial setting processing,
The maximum value of each block is detected in the processing after A4. First, at step A4, the sample value of the waveform memory 15 designated by the content of the ad register is read and the absolute value is obtained.
そして、次のステツプA5にて、その絶対値が既に記録さ
れている現在ブロツクの最大値madblより大きいか否か
検出し、もしYESの場合は、ステツプA6に進み、madj/md
tjレジスタの値を書き替える。Then, at the next step A5, it is detected whether or not the absolute value is larger than the maximum value mad bl of the current block which has already been recorded. If YES, the process proceeds to step A6 and madj / md
Rewrite the value of the tj register.
そして、ステツプA7に進む。またステツプA5にてNOの判
断がなされたときもステツプA5に続けてステツプA7に進
む。ステツプA7では、adレジスタの値をインクリメント
する。Then proceed to step A7. Also, when NO is determined in step A5, the process proceeds to step A7 following step A5. At step A7, the value of the ad register is incremented.
そして、ステツプA8において、adレジスタの値が当該ブ
ロツクの最終アドレスであるかジヤツジし(即ちadレジ
スタの値が、b1×BSの値に一致するか否か判断す
る。)、もしNOであれば再ステツプA4にリターンし、続
けてステツプA4〜A8の処理を実行する。このようにし
て、そのブロツクの最大値とそのアドレスとが求まる。Then, in step A8, it is judged whether the value of the ad register is the final address of the block (that is, it is determined whether or not the value of the ad register matches the value of b1 × BS), and if NO. The process returns to step A4 again, and the processes of steps A4 to A8 are continuously executed. In this way, the maximum value of the block and its address are obtained.
第4図は、各ブロツクのサンプルアドレスとその最大値
との関係を示しており、図示のような値がmadj/matjレ
ジスタ(j=bl)に記憶されることになる。なお、図中
点線で示した波形は、上述したように各サンプル値の絶
対値をとることにより、負の値をとるサンプル点が、正
の値をとるよう書き直して得たものである。FIG. 4 shows the relationship between the sample address of each block and its maximum value, and the values shown in the figure are stored in the madj / matj register (j = bl). The waveform shown by the dotted line in the figure is obtained by rewriting the sample points having a negative value to have a positive value by taking the absolute value of each sample value as described above.
そして、当該ブロツクの処理が終了すれば、ステツプA8
でYESの判断をして、次のステツプA9に移る。ステツプA
9では、blレジスタの値をインクリメントする。次のス
テツプA10では、そのブロツクが最後のブロツク(j=
N)か否か判断し、YESならばメイフローへリターンしN
Oならば、ステツプA4にもどり、次のブロツクに対する
処理を開始する。When the processing of the block is completed, step A8
Then, make a YES decision and proceed to the next step A9. Step A
At 9, the value of the bl register is incremented. At the next step A10, that block is the last block (j =
N), if YES, return to Mayflow N
If it is O, the process returns to step A4 to start the process for the next block.
このようにして、各ブロツク(j=1〜N)のサンプル
値の絶対値が最大値をとるアドレスと、その最大値とが
madj/matjレジスタに記憶設定される。In this way, the address at which the absolute value of the sample value of each block (j = 1 to N) takes the maximum value and the maximum value are
It is stored and set in the madj / matj register.
そして、次に、ルーチンBの波形メモリ15の正規化の処
理を実行する。Then, the normalization processing of the waveform memory 15 of the routine B is executed next.
先ずステツプB1において、ワーキングレジスタ16の中の
adレジスタの内容を波形メモリ15の先頭アドレスを指定
するアドレスに制定する。またblレジスタの内容を先頭
アドレスを指定する1の値に設定する。First, in step B1, in the working register 16
The content of the ad register is set to the address that specifies the start address of the waveform memory 15. It also sets the contents of the bl register to a value of 1 that specifies the start address.
次に、ステツプB2において、adレジスタで指定するアド
レスの波形サンプル値を波形メモリ15から読出し、ワー
キングレジスタ16内のdtレジスタに設定する。Next, in step B2, the waveform sample value at the address designated by the ad register is read from the waveform memory 15 and set in the dt register in the working register 16.
次に、ステツプB3にて、補間エンベロープ値を算出しev
レジスタに入力する。即ち、第4図に示すように、前の
ブロツクの最大値(mdtj-1)と、当該ブロツクの最大値
(mdtj)と、そしてその時のアドレス(ad)とから補間
エンベロープ値evを得る。Next, in step B3, the interpolation envelope value is calculated and ev
Input to the register. That is, as shown in FIG. 4, the interpolation envelope value ev is obtained from the maximum value (mdt j-1 ) of the previous block, the maximum value (mdt j ) of the block, and the address (ad) at that time.
即ち、その計算式は次のようになる。That is, the calculation formula is as follows.
なお、j=blとすれば、第4図の示す値と対応がつく。 Note that if j = bl, it corresponds to the values shown in FIG.
次に、ステツプB4にて、上述のようにして得たそのアド
レス点での補間エンベロープ値evを用いて、波形を正規
化する。即ち、具立的には次の演算を行う。Then, in step B4, the waveform is normalized using the interpolation envelope value ev at the address point obtained as described above. That is, the following calculation is performed in a concrete manner.
Dt=MV×dt/ev なお、MVとは、正規化しようとするレベル値であり、実
施例では、16進表示で700とする。即ち、補間エンベロ
ープ値evは、本来波形がもつエンベロープの近似的なも
のであつて誤差を生じ、入力波形によつては、MVの値を
越える正規値が生じ得、その為、波形の最大値、例えば
12ビツトの第の補数表現の場合7FF(16進表現)よりも
小の値をとるようにしなければならない そして、正規化されたサンプル値Dtを、波形メモリ15の
当該アドレスに入力設定する。そして、ステツプB5によ
り、adレジスタの内容をインクリメントする。Dt = MV × dt / ev Note that MV is a level value to be normalized, and is 700 in hexadecimal display in the embodiment. That is, the interpolation envelope value ev is an approximation of the envelope of the original waveform and causes an error, and depending on the input waveform, a normal value that exceeds the value of MV can occur, so the maximum value of the waveform is , For example
In the case of the 12-bit first complement expression, a value smaller than 7FF (hexadecimal expression) must be taken. Then, the normalized sample value Dt is input and set to the address of the waveform memory 15. Then, in step B5, the content of the ad register is incremented.
次のステツプB6において、adレジスタの内容と、madbl
レジスタの内容との大小判断をして、adレジスタがmad
blレジスタの値を越えたら、ステツプB7に進みblレジス
タをインクリメントする。At the next step B6, the contents of the ad register and mad bl
The ad register is mad when the size of the register is judged.
When the value of the bl register is exceeded, the process proceeds to step B7 and the bl register is incremented.
次にステツプB8に進む。また、ステツプB6にてNOの判断
がなされるときも、このステツプB8に直接進む。そし
て、波形の最後のサンプル値まで正規化の処理が終了し
たかステツプB8でジヤツジし、まだの場合は、ステツプ
B2へリターンする。Then proceed to step B8. Also, when the determination of NO is made in step B6, the process directly goes to step B8. Then, at step B8, it is judged whether the normalization processing has been completed up to the last sample value of the waveform.
Return to B2.
このようにして、ステツプB2〜B8を繰返し実行して、全
サンプル点の正規化の処理を完了する。第5図(B)は
このようにして正規化された波形を示しており、第5図
(A)のようなエンベロープ(一点鎖線で示している)
をもつ入力波形信号が、ルーチンA、Bの実行によつ
て、エンベロープが除去されて略一定の値(MVに対応)
のエンベロープ(一点鎖線で示す)をもつ波形信号に変
換される。In this way, steps B2 to B8 are repeatedly executed to complete the normalization processing of all sample points. FIG. 5 (B) shows the waveform thus normalized, and the envelope as shown in FIG. 5 (A) (shown by a chain line).
The input waveform signal with is removed from the envelope by the execution of routines A and B and has a substantially constant value (corresponding to MV).
Is converted into a waveform signal having an envelope (indicated by a chain line).
従つて、本実施例によれば、波形メモリ15に再格納され
た波形サンプル値を読出して、それに対しVCA19にてエ
ンベロープを付加しても、本来入力波形信号のもつエン
ベロープが除去されているので有効にエンベロープ制御
ができる。Therefore, according to the present embodiment, even if the waveform sample value re-stored in the waveform memory 15 is read and the envelope is added to it by the VCA 19, the envelope originally possessed by the input waveform signal is removed. Effective envelope control is possible.
また、波形メモリ15の記憶波形の一部分をループして読
出すようにしても、エンベロープが略一定に保たれてい
る為、不要なクリツク音等のノイズが発生しない。Further, even if a part of the waveform stored in the waveform memory 15 is read out by looping, the noise is not generated, such as unnecessary clicking noise, because the envelope is kept substantially constant.
なお、上記実施例においては、波形メモリ15の内容を正
規化後の波形信号に書替えるようにしたが、別の波形メ
モリに書込むようにしてもよい。Although the contents of the waveform memory 15 are rewritten to the normalized waveform signal in the above embodiment, they may be written to another waveform memory.
また、上記実施例では、補間エンベロープ値を上述した
計算式に従つて得、この補間エンベロープ値で、波形の
サンプル値を除算して正規化されたサンプル値を得た
が、その他のアルゴリズムによつて求めてもよい。要
は、入力波形信号が本来もつているエンベロープを除去
すればよいのである。Further, in the above embodiment, the interpolation envelope value is obtained according to the above-described calculation formula, and the sample value of the waveform is divided by this interpolation envelope value to obtain the normalized sample value. You may ask for it. The point is to remove the envelope originally possessed by the input waveform signal.
更に、上述した実施例では、サンプリング機能を有する
電子楽器にこの発明を適用したが、そのほか、入力波形
信号のもつエンベロープを抽出して、その音響のパラメ
ータとするような電子楽器においても、この発明を適用
可能であることは勿論である。Further, although the present invention is applied to the electronic musical instrument having the sampling function in the above-described embodiments, the present invention is also applicable to the electronic musical instrument in which the envelope of the input waveform signal is extracted and used as the acoustic parameter. Of course, can be applied.
この発明は、以上詳述したように、デジタル形式の波形
信号からエンベロープ信号を抽出できるようになり、電
子楽器等の音源波形信号やエンベロープのパラメータ信
号を得る上で、非常に有効となる。しかも、従来のよう
にエンベロープ信号を抽出するために波形のピーク値を
離散的に検出し、このピーク値とピーク値との間を積分
回路を介してエンベロープ信号を生成するのではなく、
波形信号の絶対値が最大値をとるアドレスと該最大値を
検出し、各ブロツク毎に検出された波形信号の絶対値が
最大値をとるアドレスと該最大値とから、上記各ブロッ
ク毎の最大値をデジタル演算処理により補間して上記エ
ンベロープ信号を算出するようにしているため、従来の
ように積分回路の時定数の影響を受けずに波形信号によ
り忠実なエンベロープ信号を抽出することが可能とな
る。As described in detail above, the present invention enables extraction of an envelope signal from a digital waveform signal, and is very effective in obtaining a sound source waveform signal of an electronic musical instrument or the like and an envelope parameter signal. Moreover, the peak value of the waveform is discretely detected in order to extract the envelope signal as in the conventional case, and the envelope signal is not generated between the peak value and the peak value via the integrating circuit.
The maximum absolute value of each waveform is detected from the address where the absolute value of the waveform signal takes the maximum value and the maximum value, and the address where the absolute value of the waveform signal detected at each block has the maximum value and the maximum value. Since the value is interpolated by digital calculation processing to calculate the envelope signal, it is possible to extract a more faithful envelope signal from the waveform signal without being affected by the time constant of the integrating circuit as in the conventional case. Become.
図面は本発明を示し、第1図は本発明をサンプリング機
能を有する電子楽器に適用した場合の構成を示す図、第
2図は本発明の一実施例の回路構成図、第3図は、同実
施例の動作を示すフローチヤート、第4図は、補間エン
ベロープ値を算出する具体的動作の説明図、第5図は入
力波形信号と、正規化された波形信号とを示す波形図で
ある。 1……波形記憶手段、3……最大絶対値検出手段、4…
…最大値・アドレス記憶手段、6……補間エンベロープ
値算出手段、7……エンベロープ正規化手段、13……CP
U、15……波形メモリ、16……ワーキングレジスタ。The drawings show the present invention, FIG. 1 is a diagram showing a configuration when the present invention is applied to an electronic musical instrument having a sampling function, FIG. 2 is a circuit configuration diagram of an embodiment of the present invention, and FIG. A flow chart showing the operation of the embodiment, FIG. 4 is an explanatory view of a concrete operation for calculating an interpolation envelope value, and FIG. 5 is a waveform diagram showing an input waveform signal and a normalized waveform signal. . 1 ... Waveform storage means, 3 ... Maximum absolute value detection means, 4 ...
... maximum value / address storage means, 6 ... interpolation envelope value calculation means, 7 ... envelope normalization means, 13 ... CP
U, 15 ... Waveform memory, 16 ... Working register.
Claims (2)
手段と、 この波形記憶手段に記憶された波形信号を複数のブロッ
クに分割する分割手段と、 この分割手段により複数のブロックに分割された波形信
号から各ブロック毎に当該ブロック内で波形信号の絶対
値が最大値をとるアドレスと該最大値を検出し、各ブロ
ック毎に検出された波形信号の絶対値が最大値をとるア
ドレスと該最大値とから、上記各ブロック毎の最大値を
デジタル演算処理により補間して上記エンベロープ信号
を算出するエンベロープ信号算出手段と、 を具備したことを特徴とするエンベロープ抽出装置。1. A waveform storage means for digitally storing an input waveform signal, a dividing means for dividing the waveform signal stored in the waveform storage means into a plurality of blocks, and a waveform divided into a plurality of blocks by the dividing means. The address at which the absolute value of the waveform signal takes the maximum value in each block from the signal and the maximum value is detected, and the address at which the absolute value of the waveform signal detected in each block takes the maximum value and the maximum And an envelope signal calculation means for calculating the envelope signal by interpolating the maximum value of each block by digital calculation processing from the value.
間によるエンベロープ値evを次式、即ち、 ev=mdtbl-1−(madbl-1−ad)× {(mdtbl−mdtbl-1)/(madbl−madbl-1)} 但し、blはブロックの番号、mdtは当該ブロックの最大
値、madは該最大値をとるアドレス、adは波形信号のサ
ンプル値のアドレスを夫々示す、 によって、算出することを特徴とする特許請求の範囲第
1項記載のエンベロープ抽出装置。2. The envelope signal calculating means calculates the envelope value ev by the interpolation as follows: ev = mdt bl-1 − (mad bl-1 −ad) × {(mdt bl −mdt bl-1 ) / (Mad bl −mad bl-1 )} where bl is the block number, mdt is the maximum value of the block, mad is the address that takes the maximum value, and ad is the sample value address of the waveform signal. The envelope extraction apparatus according to claim 1, wherein the envelope extraction apparatus calculates the envelope.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61184941A JPH07101349B2 (en) | 1986-08-06 | 1986-08-06 | Envelope extraction device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61184941A JPH07101349B2 (en) | 1986-08-06 | 1986-08-06 | Envelope extraction device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6278597A JPS6278597A (en) | 1987-04-10 |
| JPH07101349B2 true JPH07101349B2 (en) | 1995-11-01 |
Family
ID=16162032
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61184941A Expired - Fee Related JPH07101349B2 (en) | 1986-08-06 | 1986-08-06 | Envelope extraction device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07101349B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0490603U (en) * | 1990-12-20 | 1992-08-07 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS53141018A (en) * | 1977-05-14 | 1978-12-08 | Sony Corp | Electronic musical instrument |
| JPS5474306A (en) * | 1977-11-26 | 1979-06-14 | Roland Corp | High speed envelope detector |
| JPS5520240A (en) * | 1978-07-28 | 1980-02-13 | Mitsubishi Electric Corp | Ozonizer |
| JPS5996513A (en) * | 1982-11-24 | 1984-06-04 | Nippon Gakki Seizo Kk | Method for recording and reproducing waveform |
-
1986
- 1986-08-06 JP JP61184941A patent/JPH07101349B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6278597A (en) | 1987-04-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3633668B1 (en) | Stringed instrument attack sound synthesizing by mutiple partial waveforms for multiple play dynamics | |
| US4691608A (en) | Waveform normalizer for electronic musical instrument | |
| JPH0413717B2 (en) | ||
| JPH07101349B2 (en) | Envelope extraction device | |
| JPH0799474B2 (en) | Waveform signal processor | |
| US5666432A (en) | Apparatus for and method of sound recording in electronic sound control system | |
| JP3835370B2 (en) | Watermark data embedding device and computer program | |
| US6362410B1 (en) | Electronic musical instrument | |
| JP3714397B2 (en) | Waveform data processing apparatus and waveform data processing method | |
| JP3832051B2 (en) | Musical sound synthesizer and musical sound synthesis method | |
| JP2766648B2 (en) | Harmonic coefficient extracting device, harmonic coefficient synthesizing device, harmonic coefficient extracting method, and harmonic coefficient synthesizing method | |
| JP2900076B2 (en) | Waveform generator | |
| JP2998212B2 (en) | Tone generation method | |
| JP2750332B2 (en) | Music sound analysis method and music sound analysis device using this analysis method | |
| JP3599981B2 (en) | Music signal processor | |
| JP3136735B2 (en) | Effect adding device | |
| JP2526124Y2 (en) | Envelope extraction device | |
| JPS6145295A (en) | Envelope control method | |
| JP3149463B2 (en) | Effect adding device | |
| JPH0631516Y2 (en) | Envelop approximation device | |
| JP2712199B2 (en) | Electronic musical instrument | |
| JP2563807Y2 (en) | Music information storage device | |
| JP2546202B2 (en) | Waveform generator | |
| JP3862839B2 (en) | Waveform compression / decompression device | |
| JP3453785B2 (en) | Music generator |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |