JPH0689097A - Effector - Google Patents

Effector

Info

Publication number
JPH0689097A
JPH0689097A JP4239286A JP23928692A JPH0689097A JP H0689097 A JPH0689097 A JP H0689097A JP 4239286 A JP4239286 A JP 4239286A JP 23928692 A JP23928692 A JP 23928692A JP H0689097 A JPH0689097 A JP H0689097A
Authority
JP
Japan
Prior art keywords
musical tone
envelope
data
resonance
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4239286A
Other languages
Japanese (ja)
Other versions
JP3033357B2 (en
Inventor
Masahiro Kakishita
正尋 柿下
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP4239286A priority Critical patent/JP3033357B2/en
Publication of JPH0689097A publication Critical patent/JPH0689097A/en
Application granted granted Critical
Publication of JP3033357B2 publication Critical patent/JP3033357B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently control reflected sounds, such as resonance sounds generated by the body of the strings, which are dense and are large in quantity by integrally adjusting envelopes and/or distributions. CONSTITUTION:A digital signal processor(DSP) 20 uses a RAM 21 as a shift register and is capable of taking an output out of any stage of this shift register. This DSP 20 takes musical tone data out of prescribed plural addresses according to the data given from a CPU 10 and multiplies respective sets of the data by a prescribed coefft. Plural pieces of the musical tone data multiplied by this coefft. are thereafter added (convolution computation). The musical tone data subjected to the convolution computation is outputted as a resonant musical tone signal. The musical tone data are taken out of extremely many taps in order to simulate the resonance of the musical instrument, but the addresses of the many taps of this electronic musical instrument are determined overall so that the coefft. to be multiplied is determined overall by the envelope.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、楽音信号の初期反射
を電子的に形成し、共鳴効果を付与する効果付与装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an effect imparting device for electronically forming an initial reflection of a musical tone signal to impart a resonance effect.

【0002】[0002]

【従来の技術】バイオリンやギターなどの弦楽器の楽音
を電子楽器で発音する場合において、楽器の胴による共
鳴をシミュレートする必要がある。楽器の胴による共鳴
は、胴体で短時間に多くの反射音が形成されることによ
って生じるものであるため、これをシミュレートするた
めには長いディレイラインにより多くの反射音を発生さ
せる必要がある。
2. Description of the Related Art When a musical tone of a stringed instrument such as a violin or a guitar is produced by an electronic musical instrument, it is necessary to simulate resonance caused by the body of the musical instrument. Resonance by the body of the instrument is caused by the formation of many reflected sounds in the body in a short time, so it is necessary to generate more reflected sounds with a long delay line in order to simulate this. .

【0003】このような構成で共鳴の特性を変える場
合、各反射音ごとにディレイラインのタップ位置(アド
レス:反射音発生のタイミング)と係数(反射音の大き
さ)の2個のパラメータを変更する必要がある。しか
し、多くの反射音、例えば数百本の反射音のパラメータ
を個別に変更することは事実上不可能であるため、予め
楽器の共鳴特性を実現するためのパラメータパターンを
複数パターン設定してメモリに記憶しておき、選択スイ
ッチなどによって何れか1つを選択するようにしてい
た。
In the case of changing the resonance characteristic with such a configuration, two parameters of a tap position (address: timing of reflected sound generation) and a coefficient (amount of reflected sound) of the delay line are changed for each reflected sound. There is a need to. However, it is virtually impossible to individually change the parameters of many reflected sounds, for example, hundreds of reflected sounds, so a plurality of parameter patterns for realizing the resonance characteristics of the musical instrument are set in advance and stored in the memory. , And any one of them is selected by a selection switch or the like.

【0004】[0004]

【発明が解決しようとする課題】しかし、このような方
式ではプリセットされていたパラメータパターンしか用
いることができず共鳴特性の設定の自由度が制限されて
しまう欠点があった。多種類のプリセットパターンを用
意しておけば自由度が広がるが、メモリ容量の増加によ
るコスト上昇を招き、多くのプリセットパターンから希
望のパターンを見つけだすことも困難であった。
However, such a method has a drawback that only preset parameter patterns can be used and the degree of freedom in setting resonance characteristics is limited. Although the flexibility will increase if a large number of preset patterns are prepared, it will be difficult to find a desired pattern from many preset patterns because the cost will increase due to an increase in memory capacity.

【0005】また希望に近いパターンを見つけた場合で
も細かい調整ができないため理想的なパラメータパター
ン(共鳴特性)を得ることができなかった。
Further, even if a pattern close to the desired one is found, it is not possible to obtain an ideal parameter pattern (resonance characteristic) because fine adjustment cannot be performed.

【0006】一方、タップ位置や係数パラメータをすべ
て開放してユーザが自由に調整できるようにすることも
考えられるが、上述したようにその数が膨大になるため
エディットすることは事実上不可能であった。
On the other hand, it is conceivable to open all tap positions and coefficient parameters so that the user can freely adjust them, but as described above, it is practically impossible to edit because the number is huge. there were.

【0007】この発明は簡略な方式で多くの反射音のパ
ラメータをエディットできる効果付与装置を提供するこ
とを目的とする。
It is an object of the present invention to provide an effect imparting device capable of editing many reflected sound parameters by a simple method.

【0008】[0008]

【課題を解決するための手段】この出願の請求項1の発
明は、入力された楽音信号に対して連続する複数の反射
音を形成する効果付与装置において、エンベロープを形
成するエンベロープ形成手段と、エンベロープ形成手段
が形成したエンベロープの形状に合わせて前記連続する
複数の反射音の大きさを制御する係数制御手段と、を設
けたことを特徴とする。
According to the invention of claim 1 of this application, in an effect imparting device for forming a plurality of continuous reflected sounds with respect to an inputted musical tone signal, an envelope forming means for forming an envelope, Coefficient controlling means for controlling the magnitudes of the plurality of continuous reflected sounds in accordance with the shape of the envelope formed by the envelope forming means.

【0009】この出願の請求項2の発明は、入力された
楽音信号に対して連続する複数の反射音を形成する効果
付与装置において、分布関数を発生する関数発生手段
と、関数発生手段が発生した関数により各反射音の分布
を制御する分布制御手段と、を設けたことを特徴とす
る。
According to the invention of claim 2 of this application, in the effect imparting device for forming a plurality of continuous reflected sounds with respect to the inputted musical tone signal, the function generating means for generating the distribution function and the function generating means are generated. The distribution control means for controlling the distribution of each reflected sound by the function described above is provided.

【0010】[0010]

【作用】この発明の効果付与装置は、入力された楽音信
号に対して連続する複数の反射音を形成する。この反射
音により弦楽器の胴による共鳴等の効果を付与する。エ
ンベロープ形成手段がエンベロープを形成し、このエン
ベロープで各反射音の大きさの変化を制御する。エンベ
ロープは大きさの変化を表す時間関数である。これによ
り、多くの反射音があっても全体として制御することが
可能になる。また、関数発生手段が分布関数を発生し、
この分布関数により各反射音のタイミングの分布を制御
する。これによた多くの反射音があっても全体としてタ
イミング制御をすることが可能になる。
The effect imparting apparatus of the present invention forms a plurality of continuous reflected sounds with respect to the inputted tone signal. The reflected sound imparts an effect such as resonance by the body of the stringed instrument. The envelope forming means forms an envelope, and this envelope controls the change in the volume of each reflected sound. The envelope is a time function that represents the change in size. This makes it possible to control the entire sound even if there are many reflected sounds. Further, the function generating means generates a distribution function,
The distribution of the timing of each reflected sound is controlled by this distribution function. Even if there are many reflected sounds due to this, it becomes possible to perform timing control as a whole.

【0011】[0011]

【実施例】図面を参照してこの発明の実施例である効果
付与装置を内蔵した電子楽器について説明する。図1に
おいて、制御部であるCPU10には、バス11を介し
てROM12、RAM13、乱数発生器14、パネルイ
ンタフェース15、鍵盤インタフェース17、音源18
およびDSP(ディジタルシグナルプロセッサ)20が
接続されている。ROM12は後述するプログラムやパ
ラメータテーブル(図4)、分布関数テーブル(図6)
などを記憶している。RAM13は設定データや演奏デ
ータ等を記憶する。乱数発生器14は反射による遅れ時
間を微小時間ランダマイズするための乱数を発生する回
路である。パネルインタフェース15には操作パネル1
6が接続されている。操作パネル16は図2に示すよう
な構成になっている。鍵盤インタフェース17には鍵盤
18が接続されている。鍵盤18は5オクターブ程度の
音域を有するものである。音源19は電子的に楽音信号
を形成できるものであればどのようなものであってもよ
い。一般的にはFM合成音源やサンプリング音源(波形
メモリ音源)などを用いることができる。DSP20は
音源19が形成した楽音信号に様々な効果を付与する回
路である。付与する効果の種類や程度はCPU10から
入力される。この電子楽器では、このDSP20を用い
て弦楽器の胴内で生じる初期反射による共鳴効果を付与
するようにしている。DSP20にはRAM21が接続
されている。このRAM21はDSP20のアドレシン
グ制御によりシフトレジスタとして機能させることがで
きる。DSP20によって効果を付与された楽音信号は
DAC22に出力される。DAC22はこの楽音信号を
アナログの信号に変換しサウンドシステム23に出力す
る。サウンドシステムはこのアナログ楽音信号を増幅し
てスピーカ等の出力装置から音響として出力する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An electronic musical instrument incorporating an effect imparting device according to an embodiment of the present invention will be described with reference to the drawings. In FIG. 1, a CPU 10 as a control unit includes a ROM 12, a RAM 13, a random number generator 14, a panel interface 15, a keyboard interface 17, and a sound source 18 via a bus 11.
And a DSP (digital signal processor) 20 is connected. The ROM 12 is a program and parameter table (FIG. 4) described later, and a distribution function table (FIG. 6).
Etc. are remembered. The RAM 13 stores setting data and performance data. The random number generator 14 is a circuit that generates a random number for randomizing the delay time due to reflection. The operation panel 1 on the panel interface 15
6 is connected. The operation panel 16 has a structure as shown in FIG. A keyboard 18 is connected to the keyboard interface 17. The keyboard 18 has a tone range of about 5 octaves. The sound source 19 may be any sound source capable of electronically forming a tone signal. Generally, an FM synthesis sound source, a sampling sound source (waveform memory sound source) or the like can be used. The DSP 20 is a circuit that gives various effects to the tone signal generated by the sound source 19. The type and degree of the effect to be given are input from the CPU 10. In this electronic musical instrument, the DSP 20 is used to impart a resonance effect due to the initial reflection occurring in the body of the stringed instrument. A RAM 21 is connected to the DSP 20. The RAM 21 can function as a shift register under the addressing control of the DSP 20. The tone signal to which the effect is added by the DSP 20 is output to the DAC 22. The DAC 22 converts this musical tone signal into an analog signal and outputs it to the sound system 23. The sound system amplifies this analog musical sound signal and outputs it as sound from an output device such as a speaker.

【0012】図2は操作パネルの一部構成を示す図であ
る。ティスプレイ30は液晶マトリックス表示器であ
る。同図において、画面には初期反射の様子全体のエン
ベロープをエディットするための画面が表示されてい
る。ディスプレイ30の下にはカーソルキー31および
データキー32が設けられている。カーソルキー31は
ディスプレイ30に表示されるカーソルを移動させるた
めのキーである。データキー32はカーソルの位置に表
示されているパラメータを増減したり、順送り/逆送り
して選択するためのキースイッチである。
FIG. 2 is a diagram showing a partial configuration of the operation panel. The display 30 is a liquid crystal matrix display. In the figure, a screen for editing the envelope of the entire state of initial reflection is displayed on the screen. A cursor key 31 and a data key 32 are provided below the display 30. The cursor key 31 is a key for moving the cursor displayed on the display 30. The data key 32 is a key switch for increasing / decreasing the parameter displayed at the position of the cursor, and selecting forward / reverse.

【0013】ここで、DSP20が付与する共鳴効果
は、弦楽器の胴やピアノの響板などにおける初期反射に
よる共鳴をシミュレートしたものである。初期反射の大
きさや持続時間などの設定を変更することによって種々
の楽器の共鳴感を再現することができ、また、自然楽器
にはない独自の響きを楽音に持たせることもできる。
Here, the resonance effect provided by the DSP 20 is a simulation of resonance caused by initial reflection on the body of a stringed instrument, the soundboard of a piano, or the like. Resonance of various musical instruments can be reproduced by changing the settings such as the magnitude and duration of the initial reflection, and it is also possible to give the musical sound a unique resonance not found in natural musical instruments.

【0014】DSP20は、RAM21をシフトレジス
タとして用い、シフトレジスタのどの段(タップ:アド
レス)からでも出力を取り出すことができる。DSP2
0はCPU10から与えられたデータに従って所定の複
数のアドレスから楽音データを取り出してそれぞれに所
定の係数を乗算したのち、この係数が乗算された複数の
楽音データを加算する(畳み込み演算)。畳み込み演算
された楽音データは共鳴した楽音信号として出力され
る。
The DSP 20 uses the RAM 21 as a shift register and can take out an output from any stage (tap: address) of the shift register. DSP2
0 takes out musical tone data from a plurality of predetermined addresses in accordance with the data given from the CPU 10, multiplies each by a predetermined coefficient, and then adds the plurality of musical sound data multiplied by this coefficient (convolution operation). The musical tone data that has been subjected to the convolution calculation is output as a resonating musical tone signal.

【0015】楽器の共鳴をシミュレートするためには非
常に多くのタップから楽音データを取り出すが、この電
子楽器では、各タップのアドレスを関数で包括的に決定
し、乗算する係数をエンベロープで包括的に決定するよ
うにしている。
To simulate the resonance of a musical instrument, musical tone data is taken out from a very large number of taps, but in this electronic musical instrument, the address of each tap is comprehensively determined by a function, and the coefficient to be multiplied is comprehensively included by an envelope. I make a decision.

【0016】図3はエンベロープ形状を示す図である。
図4はエンベロープのパラメータテーブルを示す図であ
る。エンベロープはアタック部とディケイ部とに分割さ
れた、時間−振幅関数として表現される。
FIG. 3 is a diagram showing the envelope shape.
FIG. 4 is a diagram showing an envelope parameter table. The envelope is expressed as a time-amplitude function divided into an attack portion and a decay portion.

【0017】アタック部は比例関数的に直線的に立ち上
がる関数であり、 y=AR・t で表現される。ここで、yは振幅である。tは時間を示
すパラメータ(サンプリングクロック:1/48000
秒)である。ARはアタックパラメータから割り出され
るアタックレート(attack rate:図4
(A)参照)である。アタックパラメータ(0〜99)
はピーク(=1:正規化された最大値)に達するまでの
時間を示すパラメータである。すなわち、アタックパラ
メータ=0の場合には1サンプリンククロックで0〜1
に急に立ち上がり、アタックパラメータ=99の場合に
は最大値8192(=213)のサンプリングクロックで
次第に0〜1に立ち上がる。
The attack portion is a function that rises linearly as a proportional function, and is expressed by y = AR · t. Here, y is the amplitude. t is a parameter indicating time (sampling clock: 1/48000)
Seconds). AR is an attack rate calculated from an attack parameter (FIG. 4).
(See (A)). Attack parameter (0 to 99)
Is a parameter indicating the time until the peak (= 1: normalized maximum value) is reached. That is, when the attack parameter is 0, 0 to 1 is obtained with one sampling clock.
When the attack parameter = 99, the sampling clock having a maximum value of 8192 (= 2 13 ) gradually rises to 0-1.

【0018】また、ディケイ部は対数関数的にピークか
ら0まで減衰する関数であり、 y=DR(t-AT) で表現される。ここで、ATはアタックタイム(att
ack time:アタック部において0→1に達する
時間)、DRはディケイパラメータから割り出されるデ
ィケイレート(decay rate:図4(B)参
照)である。ディケイパラメータ(0〜99)はピーク
から0に減衰するまでの時間を示すパラメータである。
すなわち、ディケイパラメータ=0の場合には1サンプ
リンククロックで1〜0に減衰し、ディケイパラメータ
=99の場合には最大値16384(=214)サンプリ
ングクロックで1〜0に減衰する。48kHzのクロッ
クで動作している場合、1クロックは約0.000021秒であ
り、8192クロックは約0.17秒であり、16384 クロックは
約0.34秒である。
The decay portion is a function that decays logarithmically from the peak to 0, and is expressed by y = DR (t-AT) . Here, AT is an attack time (att
(ack time: time to reach 0 → 1 in the attack portion), and DR is a decay rate calculated from the decay parameter (decay rate: see FIG. 4B). The decay parameter (0 to 99) is a parameter indicating the time until the peak decays to 0.
That is, when the decay parameter = 0, the attenuation is 1 to 0 in one sampling clock, and when the decay parameter is 99, the maximum value is 16384 (= 2 14 ) in the sampling clock. When operating at a clock of 48 kHz, one clock is about 0.000021 seconds, 8192 clocks is about 0.17 seconds, and 16384 clocks is about 0.34 seconds.

【0019】図5(A),(B),(C)は、DSP20に
おけるタップの分布を説明する図である。図6は分布関
数を示す図である。タップの分布モードは均等モード
(MODE=0)、不均等モード(MODE=1)があ
る。均等モードの場合には図5(A)に示すようにほぼ
均等の間隔でタップが設けられ楽音データが取り出され
るようになっている。しかし、正確に均等であると、そ
の取り出し間隔の周期で周波数特性が発生し共鳴音にそ
の周波数感が生じてしまう。そこで、均等モードの場合
には、各タップのアドレスを微小時間ランダマイズして
特定の周波数特性を持たせないようにしている。このラ
ンダマイズのために乱数発生器14を用いる。一方、不
均等モードの場合には、関数選択パラメータselec
t(S=0〜9)により図6に示す関数のうち1つが選
択される。この関数は、 f(x) =x6-s S≦5 ………(イ) f(x) =x(1/(s-5)) S>5 ………(ロ) で表される。この関数はテーブルとしてROMに記憶し
ておいてもよく、その都度演算するようにしてもよい。
FIGS. 5A, 5B and 5C are views for explaining the distribution of taps in the DSP 20. FIG. 6 is a diagram showing a distribution function. The tap distribution mode includes a uniform mode (MODE = 0) and a non-uniform mode (MODE = 1). In the case of the equal mode, taps are provided at substantially equal intervals as shown in FIG. 5A so that musical tone data can be taken out. However, if they are exactly equal, frequency characteristics are generated in the cycle of the extraction intervals, and the resonance sound has a feeling of frequency. Therefore, in the case of the equal mode, the address of each tap is randomized for a minute time so as not to have a specific frequency characteristic. A random number generator 14 is used for this randomization. On the other hand, in the unequal mode, the function selection parameter selec
One of the functions shown in FIG. 6 is selected by t (S = 0 to 9). This function is expressed by f (x) = x 6-s S ≦ 5 ... (a) f (x) = x (1 / (s-5)) S> 5 .... (b) . This function may be stored in the ROM as a table or may be calculated each time.

【0020】S≦5の場合は(イ)式により、初めほど
タップ位置が密で、時間が経つほど疎になる図5(B)
タイプのものとなる。また、S>5の場合は(ロ)式に
より、初めほど疎で後ほど密にとなる図5(C)タイプ
のものとなる。それぞれSの値により分布の様子は異な
る。
When S ≦ 5, according to the equation (A), the tap positions are dense at the beginning and become sparse as time passes (FIG. 5B).
Be of the type. Further, in the case of S> 5, according to the formula (B), the type becomes as sparse as the beginning and becomes dense later, as shown in FIG. 5C. The state of distribution differs depending on the value of S.

【0021】図7〜図12は同電子楽器の動作を示すフ
ローチャートである。
7 to 12 are flowcharts showing the operation of the electronic musical instrument.

【0022】図7はメインルーチンを示す。電源がオン
されるとまず初期設定動作を実行する(n1)。初期設
定動作とはレジスタのリセットなどの動作である。この
のちカーソルキー、データキーのオンを検出する(n
2,n4)。カーソルキーのオンを検出したときにはそ
のキーに対応してディスプレイ中のカーソルを移動させ
る(n3)。データキーがオンされた場合には、そのと
きカーソルがあるパラメータの数値を変更するとともに
(n5)、そのパラメータの表示内容も変更する(n
6)。こののちパラメータ処理を実行する(n7)。ま
た、鍵盤の操作に伴う楽音信号の形成等の鍵盤処理(n
8)やマスタボリューム制御などのその他の処理を実行
する(n9)。電子楽器の電源が投入されている間n2
〜n9の動作を繰り返し実行する。
FIG. 7 shows the main routine. When the power is turned on, first, the initial setting operation is executed (n1). The initial setting operation is an operation such as register reset. After this, the ON of the cursor key and data key is detected (n
2, n4). When it is detected that the cursor key is turned on, the cursor in the display is moved corresponding to the key (n3). When the data key is turned on, the numerical value of the parameter at which the cursor is located is changed (n5), and the display content of the parameter is also changed (n5).
6). After that, parameter processing is executed (n7). In addition, keyboard processing such as formation of a tone signal accompanying keyboard operation (n
8) and other processing such as master volume control are executed (n9). N2 while the electronic musical instrument is powered on
The operations from to n9 are repeatedly executed.

【0023】図8〜図12はパラメータ処理ルーチンを
示すフローチャートである。まず、図8は時間設定動作
を示す。初期反射音のエンベロープを決定するパラメー
タを設定内容からセットする(n10)。この動作でセ
ットされるパラメータは、attack rate,a
ttack time,decay rate,dec
ay timeおよびNTAPである。ここで、att
ack rate,attack time,deca
y rate,decay timeは図4において説
明したパラメータである。NTAPはシフトレジスタか
ら取り出すタップ数(反射音の数)を示すデータであ
る。つぎにattack timeとdecay ti
meとを加算して全エンベロープの時間total t
imeを算出する(n11)。total timeと
NTAPとを比較する(n12)。
8 to 12 are flowcharts showing the parameter processing routine. First, FIG. 8 shows a time setting operation. A parameter for determining the envelope of the initial reflected sound is set from the setting contents (n10). The parameters set by this operation are: attack rate, a
tack time, decay rate, dec
ay time and NTAP. Where att
ack rate, attack time, deca
The y rate and the decay time are the parameters described in FIG. NTAP is data indicating the number of taps (the number of reflected sounds) extracted from the shift register. Next, attack time and decay ti
Add me and the total time of all envelopes
The image is calculated (n11). The total time is compared with NTAP (n12).

【0024】total timeが大きければ、to
tal timeとMAX DELAYとを比較する
(n13)。MAX DELAYはRAM21内で設定
可能なシフトレジスタの最長段数を示す値である。to
tal timeがこれよりも長ければその長さのディ
レイができないためtotal timeにMAX D
ELAYの値をセットする(n14)。こののちmod
eの1/0を判断して(n15)、対応する処理に進
む。
If the total time is large, to
The tal time and MAX DELAY are compared (n13). MAX DELAY is a value indicating the maximum number of shift register stages that can be set in the RAM 21. to
If the total time is longer than this, it is not possible to delay that length, so MAX D is added to the total time.
The value of ELAY is set (n14). After this mod
Judge 1/0 of e (n15) and proceed to the corresponding processing.

【0025】図9は全タップセット動作である。この動
作はNTAPがtotal time以上であった場合
の処理であり、エンベロープ時間内の全タップから楽音
データを取り出す動作である。アドレスLD(i) にはi
と同じ値をセットする。すなわち、1アドレスづつ進む
ことになる(n21,n24)。アタックタイムatt
ack timeまでは(n23)、 LC(i) =AR×i (AR:attack rat
e) で係数LC(i) を計算する(n21)。また、ディケイ
部では、 LC(i) =DR(i-AT) (DR:decay rat
e) で係数LC(i) を計算する(n24)。NTAPのうち
total timeからはみ出した分についてはアド
レスのみをセットする(n27〜n29)。
FIG. 9 shows the all taps setting operation. This operation is a process when NTAP is equal to or more than the total time, and is an operation of extracting musical tone data from all taps within the envelope time. The address LD (i) has i
Set the same value as. That is, one address is advanced (n21, n24). Attack time att
Up to ack time (n23), LC (i) = AR × i (AR: attack rat
The coefficient LC (i) is calculated in (e) (n21). Further, in the decay section, LC (i) = DR (i-AT) (DR: decay rat )
e) calculates the coefficient LC (i) (n24). Of the NTAP, only the address is set for the portion protruding from the total time (n27 to n29).

【0026】図10は、NTAPがtotal tim
e未満のときのmode=0(均等モード)時の処理を
示す。まず、仮のタップ間隔Ins DLYを算出する
Ins DLYは、 Ins DLY=(total time)/(MAX TAP) で算出される。原則としてこの間隔でタップが設定され
る。ただし、特定の周波数特性を持たせないためこのタ
ップ位置はランダム化される。まずiに1をセットし
(n31)、乱数発生器14から乱数を取り込む(n3
2)。乱数値はレジスタrndにセットされる。このラ
ンダム値は0以上1以下(0≦rnd≦1)の範囲の値
である。これに基づいて、アドレスLD(i) を算出す
る。
In FIG. 10, NTAP is the total time.
The processing when mode = 0 (equal mode) when less than e is shown. First, Ins DLY for calculating the provisional tap interval Ins DLY is calculated by Ins DLY = (total time) / (MAX TAP). As a general rule, taps are set at this interval. However, this tap position is randomized because it does not have a specific frequency characteristic. First, i is set to 1 (n31), and a random number is fetched from the random number generator 14 (n3
2). The random number value is set in the register rnd. This random value is a value in the range of 0 or more and 1 or less (0 ≦ rnd ≦ 1). Based on this, the address LD (i) is calculated.

【0027】 LD(i) ←Ins DLY×i+Ins DLY×(rnd−0.5) このアドレスがアタック部かディケイ部かを判断する
(n34)。アタック部の場合には、 LC(i) =AR×LD(i) (AR:attack r
ate) で係数LC(i) を計算する(n35)。ディケイ部の場
合には、 LC(i) =DR(LD(i)-AT) (DR:decay rate,AT:attac
k time) で係数LC(i) を算出する(n36)。
LD (i) ← Ins DLY × i + Ins DLY × (rnd-0.5) It is determined whether this address is an attack part or a decay part (n34). In the case of the attack part, LC (i) = AR × LD (i) (AR: attack r
ate) to calculate the coefficient LC (i) (n35). In the case of the decay section, LC (i) = DR (LD (i) -AT) (DR: decay rate, AT: attac
The coefficient LC (i) is calculated by (k time) (n36).

【0028】以上の動作をiがNTAPになるまで繰り
返す(n37,n38)。
The above operation is repeated until i becomes NTAP (n37, n38).

【0029】図11は不均等モード(mode=1)動
作を示している。まず、iに1をセットし、LD(1),L
C(1) にアタック部のピークのアドレスおよび係数(=
1)をセットする。これは、タップがどのように分布し
た場合でも必ずピークからは楽音データが取り出される
ようにし、エンベロープが明確になるようにするためで
ある。
FIG. 11 shows the unequal mode (mode = 1) operation. First, set 1 to i, and LD (1), L
The address and coefficient of the peak of the attack part at C (1) (=
Set 1). This is to ensure that musical tone data is taken out from the peak and the envelope becomes clear no matter how the taps are distributed.

【0030】つぎに、iに1を加算する(n42)。乱
数発生器から乱数値を取り込み、分布関数に基づいて仮
のアドレスLD tempを得る(n43,n44)。
このLD tempがすでに決定されているアドレスL
D(j) (j=1〜i−1)と重複しないかを判定する
(n45〜n48)。同じものがあれば、このLD t
empを捨てて、乱数値の取り込み(n43)からやり
直す。同じものがなければ、LD tempをLD(i)
にセットする(n50)。アドレスLD(i) が決定され
たため、このタイミングに合わせた係数LC(i) を決定
する(n51〜n53)。すなわち、アタック部であれ
ば LC(i) =AR×LD(i) (AR:attack r
ate) で係数LC(i) を決定し、ディケイ部であれば、 LC(i) =DR(LD(i)-AT) (DR:decay rate,AT:attac
k time) でLC(i) を決定する。iがNTAPになるまでn43
以下の動作を繰り返す。
Next, 1 is added to i (n42). A random number value is fetched from the random number generator, and a temporary address LD temp is obtained based on the distribution function (n43, n44).
Address L for which this LD temp has already been determined
It is determined whether or not it overlaps with D (j) (j = 1 to i-1) (n45 to n48). If there is the same one, this LD t
The emp is discarded and the random number value fetching (n43) is performed again. If there is no same thing, set LD temp to LD (i)
(N50). Since the address LD (i) has been determined, the coefficient LC (i) that matches this timing is determined (n51 to n53). That is, if it is an attack part, LC (i) = AR × LD (i) (AR: attack r
ate) determines the coefficient LC (i), and if it is the decay part, LC (i) = DR (LD (i) -AT) (DR: decay rate, AT: attac
Determine LC (i) by k time). n43 until i becomes NTAP
The following operation is repeated.

【0031】図12はランダム反転動作を示す。これま
での動作では全てのタップから同位相(係数LC(i) が
正)で反射音を取り出すようにしているが、自然楽器で
は反射により位相が反転する場合も多くあるため、これ
をシミュレートするようにタップの係数LC(i) の符号
をランダムに反転し、逆位相の反射音を形成する動作で
ある。i=1〜NTAPまで以下の動作を行う。まず乱
数発生器14から乱数値rnd(0≦rnd≦1)を取
り込み(n61)、この乱数値rndが0.5以上であ
るか未満であるかを判断する(n62)。rnd<0.
5であった場合のみLC(i) を反転する(n63)。全
てのLC(i) についてこれを行ったのち、全てのアドレ
スLD(1) 〜LD(NTAP)をDSP20のアドレスレジス
タに書き込み、全ての係数LC(1) 〜LC(NTAP)をDS
P20の係数レジスタに書き込む(n66)。
FIG. 12 shows a random inversion operation. In the operation so far, the reflected sound is extracted from all taps in the same phase (coefficient LC (i) is positive), but in natural musical instruments, the phase is often inverted due to reflection, so this is simulated. As described above, the sign of the tap coefficient LC (i) is randomly inverted to form a reflected sound of an opposite phase. The following operations are performed from i = 1 to NTAP. First, a random number value rnd (0≤rnd≤1) is fetched from the random number generator 14 (n61), and it is determined whether the random number value rnd is 0.5 or more or less (n62). rnd <0.
Only when it is 5, LC (i) is inverted (n63). After doing this for all LC (i), write all addresses LD (1) -LD (NTAP) into the address register of DSP 20 and write all coefficients LC (1) -LC (NTAP) to DS.
Write to the coefficient register of P20 (n66).

【0032】なお、上記実施例においては、エンベロー
プ形状を、アタック部、ディケイ部に分割し、アタック
部を直線、ディケイ部を対数曲線としたが、形状はこれ
に限らす、ディケイ部も直線でもよい。また、セグメン
ト数もアタック部、ディケイ部のみでなく、より多くし
てもよい。
Although the envelope shape is divided into the attack portion and the decay portion and the attack portion is a straight line and the decay portion is a logarithmic curve in the above embodiment, the shape is not limited to this, and the decay portion may be a straight line. Good. Also, the number of segments is not limited to the attack part and the decay part, and may be larger.

【0033】また、乱数によってアドレスをランダム化
したが、振幅をランダム化するようにしてもよい。
Although the address is randomized by a random number, the amplitude may be randomized.

【0034】[0034]

【発明の効果】この発明によれば、エンベロープおよび
/または分布を一括に調整することによって、多くの初
期反射音のパラメータをまとめて制御することができる
ため、弦楽器の胴による共鳴などの密で数の多い反射音
を効率的に制御することができる。
According to the present invention, by adjusting the envelope and / or the distribution collectively, it is possible to collectively control many parameters of the early reflection sound. It is possible to efficiently control a large number of reflected sounds.

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

【図1】この発明の実施例である効果付与装置を内蔵し
た電子楽器のブロック図
FIG. 1 is a block diagram of an electronic musical instrument incorporating an effect imparting device according to an embodiment of the present invention.

【図2】同電子楽器の操作パネルを示す図FIG. 2 is a diagram showing an operation panel of the electronic musical instrument.

【図3】同電子楽器における初期反射のエンベロープを
示す図
FIG. 3 is a diagram showing an envelope of early reflection in the electronic musical instrument.

【図4】同エンベロープを決定するためのパラメータテ
ーブルを示す図
FIG. 4 is a diagram showing a parameter table for determining the envelope.

【図5】インパルス応答の分布を種々変化させた状態を
示す図
FIG. 5 is a diagram showing a state in which the distribution of impulse response is variously changed.

【図6】インパルス応答の分布を決定するための分布関
数を示す図
FIG. 6 is a diagram showing a distribution function for determining the distribution of impulse responses.

【図7】同電子楽器の動作を示すフローチャート(メイ
ンルーチン)
FIG. 7 is a flowchart showing the operation of the electronic musical instrument (main routine).

【図8】同電子楽器の動作を示すフローチャート(パラ
メータ処理:初期設定動作)
FIG. 8 is a flowchart showing the operation of the electronic musical instrument (parameter processing: initial setting operation).

【図9】同電子楽器の動作を示すフローチャート(パラ
メータ処理:全アドレスセット動作)
FIG. 9 is a flowchart showing the operation of the electronic musical instrument (parameter processing: all address setting operation).

【図10】同電子楽器の動作を示すフローチャート(パ
ラメータ処理:均等モード動作)
FIG. 10 is a flowchart showing the operation of the electronic musical instrument (parameter processing: uniform mode operation).

【図11】同電子楽器の動作を示すフローチャート(パ
ラメータ処理:不均等モード動作)
FIG. 11 is a flowchart showing the operation of the electronic musical instrument (parameter processing: uneven mode operation).

【図12】同電子楽器の動作を示すフローチャート(パ
ラメータ処理:ランダム反転動作)
FIG. 12 is a flowchart showing the operation of the electronic musical instrument (parameter processing: random inversion operation).

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力された楽音信号に対して連続する複
数の反射音を形成する効果付与装置において、エンベロ
ープを形成するエンベロープ形成手段と、エンベロープ
形成手段が形成したエンベロープの形状に合わせて前記
連続する複数の反射音の大きさを制御する係数制御手段
と、を設けたことを特徴とする効果付与装置。
1. An effect imparting device for forming a plurality of continuous reflected sounds with respect to an input musical tone signal, wherein the continuous form is formed in accordance with the envelope forming means for forming an envelope and the shape of the envelope formed by the envelope forming means. And a coefficient control means for controlling the magnitude of a plurality of reflected sounds.
【請求項2】 入力された楽音信号に対して連続する複
数の反射音を形成する効果付与装置において、分布関数
を発生する関数発生手段と、関数発生手段が発生した関
数により各反射音の分布を制御する分布制御手段と、を
設けたことを特徴とする効果付与装置。
2. An effect imparting apparatus for forming a plurality of continuous reflected sounds with respect to an input musical tone signal, the function generating means for generating a distribution function, and the distribution of each reflected sound by the function generated by the function generating means. And a distribution control means for controlling the effect.
JP4239286A 1992-09-08 1992-09-08 Effect giving device Expired - Fee Related JP3033357B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4239286A JP3033357B2 (en) 1992-09-08 1992-09-08 Effect giving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4239286A JP3033357B2 (en) 1992-09-08 1992-09-08 Effect giving device

Publications (2)

Publication Number Publication Date
JPH0689097A true JPH0689097A (en) 1994-03-29
JP3033357B2 JP3033357B2 (en) 2000-04-17

Family

ID=17042486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4239286A Expired - Fee Related JP3033357B2 (en) 1992-09-08 1992-09-08 Effect giving device

Country Status (1)

Country Link
JP (1) JP3033357B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0236216A (en) * 1987-09-19 1990-02-06 Mitsui Toatsu Chem Inc Resin for plastic lens having high refractive index and lens made thereof
JP4813365B2 (en) * 2003-12-02 2011-11-09 トムソン ライセンシング Method for encoding and decoding an impulse response of an audio signal
JP2015064597A (en) * 2009-10-21 2015-04-09 フラウンホッファー−ゲゼルシャフト ツァ フェルダールング デァ アンゲヴァンテン フォアシュンク エー.ファオ Reverberation device and method of reverberating audio signal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0236216A (en) * 1987-09-19 1990-02-06 Mitsui Toatsu Chem Inc Resin for plastic lens having high refractive index and lens made thereof
JP4813365B2 (en) * 2003-12-02 2011-11-09 トムソン ライセンシング Method for encoding and decoding an impulse response of an audio signal
JP2015064597A (en) * 2009-10-21 2015-04-09 フラウンホッファー−ゲゼルシャフト ツァ フェルダールング デァ アンゲヴァンテン フォアシュンク エー.ファオ Reverberation device and method of reverberating audio signal
JP2016197252A (en) * 2009-10-21 2016-11-24 フラウンホッファー−ゲゼルシャフト ツァ フェルダールング デァ アンゲヴァンテン フォアシュンク エー.ファオ Reverberation device and method for reverberating audio signal
US10043509B2 (en) 2009-10-21 2018-08-07 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandtem Forschung E.V. Reverberator and method for reverberating an audio signal

Also Published As

Publication number Publication date
JP3033357B2 (en) 2000-04-17

Similar Documents

Publication Publication Date Title
US8754316B2 (en) Musical sound signal generation apparatus
US5138924A (en) Electronic musical instrument utilizing a neural network
JPS5858679B2 (en) Denshigatsuki
JP2527059B2 (en) Effect device
JPH04301890A (en) Electronic musical instrument
JP3033357B2 (en) Effect giving device
US5153362A (en) Electronic musical instrument having pan control function
US5252776A (en) Musical tone synthesizing apparatus
JP2605885B2 (en) Tone generator
JP2745824B2 (en) Electronic musical instrument
US5424487A (en) Sound effect-creating device
JP3090667B2 (en) Music synthesizer
JP2814699B2 (en) Music synthesizer
JP2534636B2 (en) Music synthesizer
JP2957204B2 (en) Electronic musical instrument
Pekonen Computationally efficient music synthesis–methods and sound design
JP3433762B2 (en) Electronic musical instrument sound generator
JP2527045B2 (en) Electronic musical instrument
US3390223A (en) Electrical organ
JP3047431B2 (en) Electronic musical instrument
JP2569829B2 (en) Electronic musical instrument
JP2913870B2 (en) Electronic musical instrument
JP3304889B2 (en) Electronic musical instrument
JPH0619480A (en) Musical tone synthesizing device
JP3008420B2 (en) Electronic musical instrument

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080218

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090218

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees