JPH0799474B2 - Waveform signal processor - Google Patents

Waveform signal processor

Info

Publication number
JPH0799474B2
JPH0799474B2 JP60216744A JP21674485A JPH0799474B2 JP H0799474 B2 JPH0799474 B2 JP H0799474B2 JP 60216744 A JP60216744 A JP 60216744A JP 21674485 A JP21674485 A JP 21674485A JP H0799474 B2 JPH0799474 B2 JP H0799474B2
Authority
JP
Japan
Prior art keywords
waveform
envelope
value
signal
waveform signal
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 - Lifetime
Application number
JP60216744A
Other languages
Japanese (ja)
Other versions
JPS6275600A (en
Inventor
博之 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP60216744A priority Critical patent/JPH0799474B2/en
Priority to US06/910,207 priority patent/US4691608A/en
Priority to EP86113433A priority patent/EP0217357B1/en
Priority to DE8686113433T priority patent/DE3688417T2/en
Publication of JPS6275600A publication Critical patent/JPS6275600A/en
Publication of JPH0799474B2 publication Critical patent/JPH0799474B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、入力波形信号をデジタル処理して出力する
ようにした波形信号処理装置に関する。
Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a waveform signal processing device that digitally processes an input waveform signal and outputs the processed signal.

〔発明の背景〕[Background of the Invention]

従来より、外部から音響信号を入力して、これをデジタ
ル記録し、この記録された波形信号を音源信号として読
出し、各音階音信号として出力するサンプリング機能を
有する電子楽器が種々開発されている。
BACKGROUND ART Conventionally, various electronic musical instruments having a sampling function of inputting an acoustic signal from the outside, digitally recording the acoustic signal, reading the recorded waveform signal as a sound source signal, and outputting it as each scale tone signal have been developed.

この種の電子楽器にあつては、一般に音響信号をそのま
まサンプリングし、デジタル信号に変換して記録するも
のであり、入力波形信号が特有のエンベロープをもつて
いることから、音階音信号として、予めデジタル記録し
た波形信号を所定の速度で読出し、アナログ信号に変換
した後電圧制御型増幅器(VCA)等でエンベロープを付
加した場合にも、本来もつているエンベロープと後から
付加したエンベロープとの重ねあわせたものとなり、十
分なエンベロープ制御を行うことは困難であつた。
In this kind 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 peculiar envelope, it is previously stored as a scale sound signal. Even if the digitally recorded waveform signal is read at a predetermined speed and converted to an analog signal and then an envelope is added with a voltage control amplifier (VCA), etc., the original envelope and the envelope added later are superimposed. 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.

〔発明の目的〕[Object of the Invention]

この発明は上述した事情に鑑みてなされたものであり、
簡単な構成で、入力波形信号のエンベロープを除去し
て、正規化した波形信号を得ることができる波形信号処
理装置を提供することを目的とする。
The present invention has been made in view of the above circumstances,
It is an object of the present invention to provide a waveform signal processing device capable of obtaining a normalized waveform signal by removing the envelope of the input waveform signal with a simple configuration.

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

この発明は、上記目的を達成するために、入力波形信号
をデジタル記憶する波形記憶手段と、この波形記憶手段
に記憶された波形信号を複数のブロックに分割する分割
手段と、この分割手段により複数のブロックに分割され
た波形信号から各ブロック毎に当該ブロック内で波形信
号の絶対値が最大値をとるアドレスと該最大値を検出
し、各ブロック毎に検出された波形信号の絶対値が最大
値をとるアドレスと該最大値とから、上記各ブロック毎
の最大値をデジタル演算処理により補間して上記エンベ
ロープ信号を算出するエンベロープ信号算出手段と、こ
のエンベロープ信号算出手段により算出された上記エン
ベロープ信号に従って上記波形記憶手段に記憶された波
形信号を正規化して上記入力波形のもつエンベロープを
エンベロープを除去するエンベロープ正規化手段と、を
具備したことを要点とする。
In order to achieve the above object, the present invention provides 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 in each block and the maximum value are detected, and the absolute value of the waveform signal detected in each block becomes the maximum. Envelope signal calculating means for calculating the envelope signal by interpolating the maximum value of each block by digital operation processing from the address taking the value and the maximum value, and the envelope signal calculated by the envelope signal calculating means. According to the above, the waveform signal stored in the waveform storage means is normalized to remove the envelope of the input waveform. Envelope normalization means that, the main point by comprising a.

〔発明の構成〕[Structure of Invention]

第1図は、本発明の構成を示し、符号1は波形信号を記
憶する波形記憶手段であり、予め外部から波形信号を入
力設定することができる。
FIG. 1 shows the configuration of the present invention. Reference numeral 1 is a waveform storage means for storing a waveform signal, and the waveform signal can be input and set in advance from the outside.

そして、この波形記憶手段1に記憶されている波形信号
を、そのアドレスの所定幅をブロツクとして、各ブロッ
ク毎に分各手段としてのブロック読出手段2にて読出
す。
Then, the waveform signal stored in the waveform storage means 1 is read out by the block reading means 2 as each means 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 to detect the address having the maximum absolute value in the block and the maximum value.
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によつて読出される波
形のサンプル値とともに補間エンベロープ値算出手段6
に供給され、補間エンベロープ値を計算し、エンベロー
プ正規化手段7に与える。この最大絶対値検出手段3、
最大値・アドレス記憶手段4、波形読出手段5及び補間
エンベロープ値算出手段6によりエンベロープ信号算出
手段を構成する。
The output of the maximum value / address storage means 4 is interpolated envelope value calculation means 6 together with the sample value of the waveform read from the waveform storage means 1 by the waveform reading means 5.
Are supplied to the envelope normalizing means 7 to calculate the interpolation envelope value. This maximum absolute value detection means 3,
The maximum value / address storage means 4, the waveform reading means 5, and the interpolation envelope value calculation means 6 constitute an envelope signal calculation means.

エンベロープ正規化手段7は、上記波形読出手段5から
供給されるサンプル値と、補間エンベロープ値算出手段
6から供給される補間エンベロープ値とから、波形信号
が本来もつているエンベロープを除去すべく所定の演算
を行つて正規化したサンプル値を得る。
The envelope normalizing means 7 has a predetermined value to remove the original envelope of the waveform signal 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. Perform a calculation 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 an envelope is converted into an envelope waveform signal 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.

〔実施例〕〔Example〕

以下に、本発明をマイクロプロセツサ等の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, converted into an analog signal, and the voltage controlled amplifier (VCA) 19 Applied to.

このVCA19には、CPU13がソフト処理によつて算出出力す
るエンベロープ信号がD/A変換器20によつてアナログ信
号に変換された後供給されて、増幅器が決定され、その
結果、VCA19からは、CPU13にて指定されるエンベロープ
をもつ波形信号が出力することになり、このVCA19の出
力は、サウンドシステム21により音響出力に変換され
る。
To this VCA19, the envelope signal calculated and output by the CPU 13 by soft processing is supplied after being converted into an analog signal by the D / A converter 20, the amplifier is determined, and as a result, from the VCA19, A waveform signal having an envelope designated by the CPU 13 is output, and the output of this 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 flow chart 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 having 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 15
Width of each block from the top register of (block size B
S) is subtracted and the maximum value is set to zero. Similarly, the virtual block j one 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, following the above series of initialization 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にてONの判
断がなされたときもステツプA5に続けてステツプA7に進
む。ステツプA7では、adレジスタの値をインクリメント
する。
Then proceed to step A7. Also, when it is determined to be ON in step A5, the operation proceeds to step A7 following step A5. At step A7, the value of the ad register is incremented.

そして、ステツプA8において、adレジスタの値が当該ブ
ロツクの最終アドレスであるかジヤツジし(即ちadレジ
スタの値が、bl×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 bl × BS), and if NO. Return to step A4 again,
Then, the processes of steps A4 to A8 are executed. In this way, the maximum value of the block and its address are obtained.

第4図は、各ブロツクのサンプルアドレスとその最大値
との関係を示しており、図示のような値がmadj/mdtjレ
ジスタ(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 / mdtj register (j = bl). In addition, the waveform shown by the dotted line in the figure is obtained by rewriting so that the sample point having a negative value takes 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ならばメインフローヘリターン
しNOならば、ステツプ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), the process returns to the main flow if YES, and returns to step A4 if NO to start the process for the next block.

このようにして、各ブロツク(j=1〜N)のサンプル
値の絶対値が最大値をとるアドレスと、その最大値とが
madj/mdtjレジスタに記憶設定される。
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 / mdtj 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
Set the content of the ad register 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.

次に、ステツプBにおいて、adレジスタで指定するアド
レスの波形サンプル値を波形メモリ15から読出し、ワー
キングレジスタ16内のdtレジスタに設定する。
Next, in step B, 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, specifically, the following calculation is performed.

Dt=MV×dt/ev なお、MVとは、正規化しようとするレベル値であり、実
施例では、16進表示で700とする。即ち、補間エンベロ
ープ値evは、本来波形がもつエンベロープの近似的なも
のであつて誤差を生じ、入力波形によつては、MVの値を
越える正規値が生じ得、その為、波形の最大値、例えば
12ビツトの2の補数表現の場合7FF(16進表現)よりも
小の値をとるようにしなければならない。
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 12-bit two's complement representation, a value smaller than 7FF (hexadecimal representation) must be taken.

そして、正規化されたサンプル値Dtを、波形メモリ15の
当該アドレスに入力設定する。そして、ステツプB5によ
り、adレジスタの内容をインクリメントする。
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にてONの判断
がなされるときも、このステツプB8に直接進む。そし
て、波形の最後のサンプル値まで正規化の処理が終了し
たかステツプB8でジヤツジし、まだの場合は、ステツプ
B2へリターンする。
Then proceed to step B8. Also, when it is judged to be ON 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.

〔発明の効果〕〔The invention's effect〕

この発明は以上詳述したように、簡単な構成で入力波形
信号のエンベロープを除去して正規化した波形のサンプ
ル値を得たから、電子楽器の音源波形信号を得る上で、
非常に有効なものとなる。
As described in detail above, since the envelope of the input waveform signal is removed with a simple configuration to obtain a normalized sample value of the waveform as described above, in obtaining the sound source waveform signal of the electronic musical instrument,
It will be very effective.

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

図面は本発明を示し、第1図は本発明の構成を示す図、
第2図は本発明の一実施例の回路構成図、第3図は、同
実施例の動作を示すフローチヤート、第4図は、補間エ
ンベロープ値を算出する具体的動作の説明図、第5図は
入力波形信号と、正規化された波形信号とを示す波形図
である。 1……波形記憶手段、3……最大絶対値検出手段、4…
…最大値・アドレス記憶手段、6……補間エンベロープ
値算出手段、7……エンベロープ正規化手段、13……CP
U、15……波形メモリ、16……ワーキングレジスタ。
The drawings show the present invention, and FIG. 1 shows the configuration of the present invention.
FIG. 2 is a circuit configuration diagram of an embodiment of the present invention, FIG. 3 is a flow chart showing the operation of the embodiment, and FIG. 4 is an explanatory view of a concrete operation of calculating an interpolation envelope value, and FIG. The figure 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)

【特許請求の範囲】[Claims] 【請求項1】入力波形信号をデジタル記憶する波形記憶
手段と、 この波形記憶手段に記憶された波形信号を複数のブロッ
クに分割する分割手段と、 この分割手段により複数のブロックに分割された波形信
号から各ブロック毎に当該ブロック内で波形信号の絶対
値が最大値をとるアドレスと該最大値を検出し、各ブロ
ック毎に検出された波形信号の絶対値が最大値をとるア
ドレスと該最大値とから、上記各ブロック毎の最大値を
デジタル演算処理により補間して上記エンベロープ信号
を算出するエンベロープ信号算出手段と、 このエンベロープ信号算出手段により算出された上記エ
ンベロープ信号に従って上記波形記憶手段に記憶された
波形信号を正規化して上記入力波形のもつエンベロープ
をエンベロープを除去するエンベロープ正規化手段と、 を具備したことを特徴とする波形信号処理装置。
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, and stored in the waveform storage means according to the envelope signal calculated by the envelope signal calculation means. Envelope normalization procedure for removing the envelope of the envelope of the input waveform by normalizing the generated waveform signal. When the waveform signal processing apparatus characterized by comprising a.
【請求項2】上記エンベロープ信号算出手段は、上記補
間によるエンベロープ値evを次式、即ち、 ev=mdtbl-1−(madbl-1−ad) ×{(mdtbl−mdtbl-1)/(madbl−madbl-1)} 但し、blはブロックの番号、mdtは当該ブロックの最大
値、madは該最大値をとるアドレス、adは波形信号のサ
ンプル値のアドレスを夫々示すものであり、 上記エンベロープ正規化手段は、正規化した波形信号の
サンプル値Dtを次式に従って算出する、 Dt=MV×dt/ev 但し、dtは正規化する前の波形信号のサンプル値、MVは
正規化しようとするレベル値を夫々示すものである ことを特徴とする特許請求の範囲第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 address of the sample value of the waveform signal. Yes, the envelope normalization means calculates a sampled value Dt of the normalized waveform signal according to the following equation: Dt = MV × dt / ev where dt is a sampled value of the waveform signal before normalization, and MV is a normalized value The waveform signal processing device according to claim 1, wherein the waveform signal processing device shows the respective level values to be converted.
JP60216744A 1985-09-30 1985-09-30 Waveform signal processor Expired - Lifetime JPH0799474B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP60216744A JPH0799474B2 (en) 1985-09-30 1985-09-30 Waveform signal processor
US06/910,207 US4691608A (en) 1985-09-30 1986-09-22 Waveform normalizer for electronic musical instrument
EP86113433A EP0217357B1 (en) 1985-09-30 1986-09-30 Waveform normalizer for electronic musical instrument
DE8686113433T DE3688417T2 (en) 1985-09-30 1986-09-30 WAVEFORM NORMALIZER FOR AN ELECTRONIC MUSIC INSTRUMENT.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60216744A JPH0799474B2 (en) 1985-09-30 1985-09-30 Waveform signal processor

Publications (2)

Publication Number Publication Date
JPS6275600A JPS6275600A (en) 1987-04-07
JPH0799474B2 true JPH0799474B2 (en) 1995-10-25

Family

ID=16693250

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60216744A Expired - Lifetime JPH0799474B2 (en) 1985-09-30 1985-09-30 Waveform signal processor

Country Status (1)

Country Link
JP (1) JPH0799474B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02114300A (en) * 1988-10-25 1990-04-26 Matsushita Electric Ind Co Ltd Pitch extracting filter and pitch extractor

Citations (6)

* Cited by examiner, † Cited by third party
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
JPS55117198A (en) * 1979-03-05 1980-09-09 Hitachi Ltd Method and device for recording voice
JPS5996513A (en) * 1982-11-24 1984-06-04 Nippon Gakki Seizo Kk Method for recording and reproducing waveform
JPS6052895A (en) * 1983-09-02 1985-03-26 ヤマハ株式会社 Electronic musical instrument

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
JPS55117198A (en) * 1979-03-05 1980-09-09 Hitachi Ltd Method and device for recording voice
JPS5996513A (en) * 1982-11-24 1984-06-04 Nippon Gakki Seizo Kk Method for recording and reproducing waveform
JPS6052895A (en) * 1983-09-02 1985-03-26 ヤマハ株式会社 Electronic musical instrument

Also Published As

Publication number Publication date
JPS6275600A (en) 1987-04-07

Similar Documents

Publication Publication Date Title
JP2567717B2 (en) Musical sound generator
EP0217357B1 (en) Waveform normalizer for electronic musical instrument
JPH0799474B2 (en) Waveform signal processor
JP2894234B2 (en) Range allocator for waveform data
JPH07101349B2 (en) Envelope extraction device
JPH0456996B2 (en)
KR0121172B1 (en) Musical source data generating system
JP3134334B2 (en) Distortion circuit
US5666432A (en) Apparatus for and method of sound recording in electronic sound control system
US6362410B1 (en) Electronic musical instrument
JP3714397B2 (en) Waveform data processing apparatus and waveform data processing method
JP3136735B2 (en) Effect adding device
JP3136674B2 (en) Effect adding device
JP2571559B2 (en) Waveform signal processing method
JP2900076B2 (en) Waveform generator
JP2530695Y2 (en) Electronic musical instrument address controller
JP3120468B2 (en) Scale detecting device and musical tone generating device using the same
JPH0743597B2 (en) Musical sound generator
JP3453785B2 (en) Music generator
JP3225796B2 (en) Signal processing device and tone processing device
JPS6145295A (en) Envelope control system
JPH02179693A (en) Processor for electronic musical instrument
JP3651675B2 (en) Electronic musical instruments
JP2950893B2 (en) Music signal generator
JP2712199B2 (en) Electronic musical instrument

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term