JPH0635463A - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JPH0635463A
JPH0635463A JP4187156A JP18715692A JPH0635463A JP H0635463 A JPH0635463 A JP H0635463A JP 4187156 A JP4187156 A JP 4187156A JP 18715692 A JP18715692 A JP 18715692A JP H0635463 A JPH0635463 A JP H0635463A
Authority
JP
Japan
Prior art keywords
signal
filter
musical sound
frequency characteristics
characteristic
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
JP4187156A
Other languages
Japanese (ja)
Other versions
JP3206770B2 (en
Inventor
Junichi Fujimori
潤一 藤森
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 JP18715692A priority Critical patent/JP3206770B2/en
Publication of JPH0635463A publication Critical patent/JPH0635463A/en
Application granted granted Critical
Publication of JP3206770B2 publication Critical patent/JP3206770B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

PURPOSE:To possess a musical sound which reaches a listener of desired frequency characteristics in spite of the transmission characteristics of outside environment. CONSTITUTION:A musical sound signal generation part 3 generates a musical sound signal corresponding to a timbre and a pitch name which are specified. Then a filter 7 controls the frequency characteristics of the musical sound signal on the basis of set parameters and a speaker 11 outputs the output signal of the filter as a musical sound. A microphone 12 reinputs a musical sound after its frequency characteristics vary owing to the outside environment and converts it into a signal. A data supply part 5 supplies data regarding the desired frequency characteristics to an arithmetic part 6. The arithmetic part 6 calculates and generates parameters controlling the frequency characteristics of the filter 7 from the data and the signal from the microphone 12. Consequently, the filter 7 controls the frequency characteristics of the outputted musical sound signal so that variation caused by indoor environment is compensated.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、例えば、楽音の周波
数特性が環境に応じて所望の周波数特性となるような電
子楽器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument in which, for example, the frequency characteristic of a musical tone becomes a desired frequency characteristic depending on the environment.

【0002】[0002]

【従来の技術】従来より、スピーカを内蔵し、イコライ
ザやエフェクタ等の機能を有する電子楽器が知られてい
る。この電子楽器では、イコライザ等の各種パラメータ
を調節・設定することにより、出力すべき楽音の周波数
特性を自在に変化させることができる。
2. Description of the Related Art Conventionally, an electronic musical instrument having a built-in speaker and having functions such as an equalizer and an effector is known. In this electronic musical instrument, the frequency characteristic of the musical sound to be output can be freely changed by adjusting and setting various parameters such as an equalizer.

【0003】ところで、聴取者(演奏者)がスピーカか
ら離れている場合、聴取者の耳に到達する楽音は、スピ
ーカからの直接到達するもの他に、室内の壁に反射する
などして特定周波数帯域が増幅あるいは減衰されるもの
もある。つまり、スピーカから発音される楽音は、聴取
者の耳に到達するまでに、室内環境等の外部環境によっ
てその周波数特性が変化することになる。したがって、
聴取者は、スピーカから実際に出力されたものとは異な
る周波数特性の楽音を聞くことになる。そこで、聴取者
は、楽音の周波数特性変化を補正するために、イコライ
ザ等の各種パラメータを予め調整して、耳に到達する楽
音の周波数特性を所望のものとなるようにしていた。
By the way, when the listener (performer) is away from the speaker, the musical sound that reaches the listener's ear is not limited to that directly coming from the speaker, but also is reflected at the wall in the room and has a specific frequency. Some bands are amplified or attenuated. In other words, the frequency characteristic of the musical sound produced by the speaker changes depending on the external environment such as the indoor environment before reaching the listener's ear. Therefore,
The listener will hear a musical tone having a frequency characteristic different from that actually output from the speaker. Therefore, in order to correct the change in the frequency characteristic of the musical sound, the listener adjusts various parameters such as an equalizer in advance so that the frequency characteristic of the musical sound reaching the ear becomes a desired one.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、聴取場
所の変更や、設置場所の移動など外部環境の変化がある
毎に、楽音を所望の周波数特性となるように調節する必
要が生じる。この場合、聴取者は各種パラメータを再設
定しなければならないので、多大な手間、時間が必要と
なるという問題があった。この発明は、上記問題に鑑み
なされたもので、その目的とするところは、環境による
周波数特性変化を補償するように、出力すべき楽音信号
の周波数特性を制御して、聴取者に到達する楽音が所望
のものとなるような電子楽器を提供することにある。
However, every time there is a change in the listening environment or a change in the external environment such as a movement of the installation location, it is necessary to adjust the musical tone to have a desired frequency characteristic. In this case, since the listener has to reset various parameters, there is a problem that a great deal of time and effort is required. The present invention has been made in view of the above problems, and an object of the present invention is to control the frequency characteristic of a musical tone signal to be output so as to compensate for the frequency characteristic variation due to the environment, and to generate a musical tone that reaches a listener. The purpose is to provide an electronic musical instrument that satisfies the requirements.

【0005】[0005]

【課題を解決するための手段】この発明は上述した課題
を解決するために、所定の楽音信号を発生する楽音信号
発生手段と、フィルタ係数により規定された特性にて前
記楽音信号を濾波するフィルタ手段と、このフィルタ手
段によって濾波された楽音信号に基づいて、楽音を出力
する出力手段と、前記出力手段による楽音を入力し、信
号に変換する入力手段と、所望の周波数特性に関するデ
ータを少なくとも1つ以上記憶するとともに、前記デー
タを選択的に供給する記憶手段と、この記憶手段から供
給されたデータと前記入力手段による信号とから前記フ
ィルタ係数を演算生成して、前記フィルタ手段に供給す
るフィルタ制御手段とを具備することを特徴としてい
る。
In order to solve the above-mentioned problems, the present invention provides a tone signal generating means for producing a predetermined tone signal and a filter for filtering the tone signal with a characteristic defined by a filter coefficient. Means, an output means for outputting a musical sound based on the musical sound signal filtered by the filter means, an input means for inputting the musical sound by the output means and converting it into a signal, and at least one data regarding a desired frequency characteristic. One or more storage means for selectively supplying the data, and a filter for arithmetically generating the filter coefficient from the data supplied from the storage means and the signal from the input means and supplying the filter coefficient to the filter means. And a control means.

【0006】[0006]

【作用】上述した構成によれば、出力手段により出力さ
れた楽音は、外部環境によってその周波数特性に変化を
受けた後に、再び入力手段によって取り込まれ、信号に
変換される。フィルタ制御手段は、この信号および記憶
手段のデータから、出力手段と入力手段との伝達特性を
補償するような、フィルタ係数を演算生成して、フィル
タ手段を制御する。このフィルタ係数に基づいて、フィ
ルタ手段は楽音信号の周波数特性を変化させる。さら
に、所望の周波数特性を示すデータ複数個を、記憶手段
に予め記憶させておき、データを選択することによっ
て、聴取者に到達する楽音を所望の周波数特性となるよ
うに制御することが可能となる。
According to the above-mentioned structure, the musical tone output by the output means is taken in again by the input means and converted into a signal after the frequency characteristic is changed by the external environment. The filter control means controls the filter means by arithmetically generating a filter coefficient from the signal and the data of the storage means so as to compensate the transfer characteristic between the output means and the input means. Based on this filter coefficient, the filter means changes the frequency characteristic of the tone signal. Further, it is possible to control a musical tone reaching the listener to have a desired frequency characteristic by pre-storing a plurality of data indicating the desired frequency characteristic in the storage means and selecting the data. Become.

【0007】[0007]

【実施例】以下、図面を参照してこの発明の実施例につ
いて説明する。図1は、この実施例の電子楽器の電気的
構成を示すブロック図である。この図において、1は鍵
盤や各鍵に対応したスイッチ等によって構成された鍵盤
装置であり、演奏者が操作する鍵の押離を検出して、押
鍵に対応する信号キーオンKON、離鍵に対応するキー
オフKOFF、押鍵に対応した音高を示す信号キーコー
ドKC等を生成する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the electrical configuration of the electronic musical instrument of this embodiment. In this figure, reference numeral 1 denotes a keyboard device composed of a keyboard and switches corresponding to each key, etc., and detects the release of a key operated by a performer, and detects a signal key-on KON corresponding to a key press or a key release. A corresponding key-off KOFF, a signal key code KC indicating a pitch corresponding to a key depression, etc. are generated.

【0008】2は音色やリズム等の設定を行う操作パネ
ルである。この操作パネル2には、図4に示すように、
リズムを選択するスイッチ21〜23、リズムのスタート
/ストップを指示するスイッチ24、および音色を選択
するスイッチ25〜28 が各々設けられており、これら
スイッチの設定・選択から次に示す信号が生成される。
すなわち、これら信号は、リズムのスタート/ストップ
指示に対応するSTART/STOP、発音すべき音色
を示す音色コードTC、リズムの種別に対応するジャン
ルコードJCである。
Reference numeral 2 is an operation panel for setting tone colors and rhythms. On the operation panel 2, as shown in FIG.
Rhythm selecting switches 2 1 to 2 3 , rhythm start / stop instructing switch 2 4 and timbre selecting switches 2 5 to 2 8 are provided respectively. The indicated signal is generated.
That is, these signals are START / STOP corresponding to a rhythm start / stop instruction, a tone color code TC indicating a tone color to be sounded, and a genre code JC corresponding to a rhythm type.

【0009】再び図1に戻る。3は、キーオンKONお
よびキーオフKOFFに応じて、キーコードKCに対応
する音高の、音色コードTCに対応する音色の、楽音信
号を生成する楽音信号発生部であり、生成した楽音信号
を加算器Sの一方の入力端へ供給する。一方、4はリズ
ム信号発生部であり、スイッチ24 によってリズムスタ
ートの指示がされた場合に、ジャンルコードJCに対応
するリズム信号を発生し、加算器Sの他方の入力端へ供
給する。
Returning to FIG. 1 again. Reference numeral 3 is a tone signal generation unit that generates tone signals of tone pitches corresponding to the key code KC and tone colors corresponding to the tone color code TC in accordance with the key-on KON and the key-off KOFF. Supply to one input terminal of S. Meanwhile, 4 is a rhythm signal generating unit, when it is instructed rhythm started by the switch 2 4, and generates a rhythm signal corresponding to a genre code JC, supplied to the other input terminal of the adder S.

【0010】加算器Sにおいて、楽音信号およびリズム
信号が加算されて、以下の入力端に供給される。これら
の入力端は、データ供給部5、演算部6、フィルタ7お
よびセレクタ8の入力端子Bである。ここで、加算器S
の加算結果をx(n)とする(nはサンプリング周期に
対応したタイムスロットの番号0,1,2,……を表
す)。データ供給部5は、操作パネル2で選択可能なジ
ャンル毎に聴取者が聴取する楽音の理想的な周波数特性
を記憶するとともに、例えば、フィルタを有し、加算結
果x(n)にジャンルコードJCに基づく周波数特性を
付与するものであり、付与した信号d(n)を演算部6
に供給する。ここで、ジャンル毎の理想的な周波数特性
とは、例えば、ジャズであれば全体域にわたって均一な
特性であるのが望ましく、また、ロックであれば高域が
強調される特性であるのが望ましい等を言う。
In the adder S, the tone signal and the rhythm signal are added and supplied to the following input terminals. These input terminals are the input terminal B of the data supply unit 5, the arithmetic unit 6, the filter 7, and the selector 8. Where adder S
Let x (n) be the result of addition (n represents the time slot numbers 0, 1, 2, ... Corresponding to the sampling period). The data supply unit 5 stores the ideal frequency characteristic of the musical sound heard by the listener for each genre selectable on the operation panel 2, and has, for example, a filter, and the genre code JC is added to the addition result x (n). Frequency characteristic based on the calculated signal d (n).
Supply to. Here, the ideal frequency characteristic for each genre is, for example, preferably a uniform characteristic over the entire range in the case of jazz, and a characteristic in which the high range is emphasized in the case of rock. Say etc.

【0011】演算部6は、後述する加算器、パラメータ
供給部および推定値付与部からなり、その内部構成は動
作状態によって変化する。演算部6は、これら各部によ
って、その各入力端に供給される信号から後述する誤差
信号eを生成し、この誤差信号eに基づいてフィルタ7
の各乗算係数を算出するとともに、セレクタ8の選択を
制御する信号SLTAを出力する。フィルタ7は該乗算
係数に基いて加算結果x(t)の周波数特性を制御し
て、この出力信号を演算部6およびセレクタ8の入力端
子Aに供給する。
The arithmetic unit 6 is composed of an adder, a parameter supplying unit and an estimated value giving unit, which will be described later, and its internal configuration changes depending on the operating state. The arithmetic unit 6 generates an error signal e described below from the signals supplied to the respective input terminals by these respective units, and the filter 7 is generated based on the error signal e.
And outputs a signal SLTA for controlling the selection of the selector 8. The filter 7 controls the frequency characteristic of the addition result x (t) based on the multiplication coefficient, and supplies this output signal to the arithmetic unit 6 and the input terminal A of the selector 8.

【0012】セレクタ8は、入力端子A、Bへ供給され
るデータの一方を、セレクト端子SAに供給される信号
SLTAに基づいて選択して、出力するものであり、信
号SLTAが「1」のとき、入力端子Aが選択されるよ
うになっている。セレクタ8の出力は、D/A変換部9
によってアナログ信号に変換された後に、アンプ10に
よって増幅されて、スピーカ11を介して楽音として出
力される。スピーカ11による楽音は、マイク12によ
り電気信号に変換され、アンプ13にる増幅を介し、さ
らにA/D変換部14によってディジタル信号に変換さ
れて演算部6に供給される。ここで、マイク12は、楽
音を聴取する場所に設置されるものである。
The selector 8 selects one of the data supplied to the input terminals A and B based on the signal SLTA supplied to the select terminal SA and outputs it. The signal SLTA is "1". At this time, the input terminal A is selected. The output of the selector 8 is the D / A conversion unit 9
After being converted into an analog signal by, the signal is amplified by the amplifier 10 and output as a musical sound through the speaker 11. The musical sound from the speaker 11 is converted into an electric signal by the microphone 12, is amplified by the amplifier 13, is further converted into a digital signal by the A / D converter 14, and is supplied to the calculator 6. Here, the microphone 12 is installed in a place for listening to a musical sound.

【0013】次に、フィルタ7の詳細構成について図3
を参照して説明する。この図において、Dは、その入力
データをサンプリング周期の1周期分だけ遅延させる遅
延素子である。ここで、mを正整数とすると、遅延素子
Dは、この図に示すように、(m−1)個カスケード接
続されており、一般的な遅延結果x(n−i)(i=0
〜m−1)が乗算器Miにそれぞれ供給されている。そ
して、乗算器M0〜Mm- 1 の各々は、演算部8から供給
される係数w(0)〜w(m−1)をそれぞれ乗算する
ものである。乗算器M0〜Mm-1の各乗算結果は、加算器
Aにて加算されて、このフィルタ7の信号y(n)とし
て供給される。このようなフィルタ7の構成において、
信号y(n)は次式のようになる。
Next, the detailed structure of the filter 7 will be described with reference to FIG.
Will be described with reference to. In this figure, D is a delay element that delays the input data by one sampling cycle. Here, when m is a positive integer, the delay elements D are cascade-connected (m-1) as shown in this figure, and a general delay result x (n-i) (i = 0).
.About.m-1) are respectively supplied to the multipliers M i . Then, each of the multipliers M 0 to M m− 1 multiplies the coefficients w (0) to w (m−1) supplied from the calculation unit 8, respectively. The multiplication results of the multipliers M 0 to M m-1 are added by the adder A and supplied as the signal y (n) of the filter 7. In the structure of such a filter 7,
The signal y (n) is given by the following equation.

【0014】[0014]

【数1】 [Equation 1]

【0015】すなわち、フィルタ7では、係数w(0)
〜w(m−1)を変化させることにより、加算結果x
(n)の周波数特性を変化させることができるようにな
っている。
That is, in the filter 7, the coefficient w (0)
By changing w (m-1), the addition result x
The frequency characteristic of (n) can be changed.

【0016】次に、この実施例の動作について説明す
る。はじめに、この実施例では、スピーカ11とマイク
12との間における伝達特性Hをして、推定特性H’を
求める。この後、実施例では、スピーカ11により出力
される楽音に対し、予め推定特性H’の逆特性を付与し
て、外部環境による周波数特性の変化を補償させる。以
下、これらについて詳述する。
Next, the operation of this embodiment will be described. First, in this embodiment, the transfer characteristic H between the speaker 11 and the microphone 12 is calculated to obtain the estimated characteristic H '. After that, in the embodiment, the tone characteristic output from the speaker 11 is provided with the inverse characteristic of the estimated characteristic H'in advance to compensate for the change in the frequency characteristic due to the external environment. These will be described in detail below.

【0017】まず、伝達特性Hを推定するために、演算
部6は、信号SLTAを「0」にして、セレクタ8に入
力端子Bを選択させる。このとき、本実施例において
は、加算結果x(n)として、鍵盤演奏あるいは自動リ
ズムによる楽音信号を用いる。これは、鍵盤演奏音ある
いは自動リズム音が広い周波数帯域にわたって発生可能
であるからであるが、例えば、ノイズ発生器を設け、全
周波数帯域にわたって特性がフラットなホワイトノイズ
信号を用いてもよい。図2は、この状態における図1の
構成、特に、加算器Sより後段を簡略化したものであ
り、説明の便宜上、周波数特性が変化しない部分(セレ
クタ8、D/A変換部9、アンプ10、13、A/D変
換部14)を省略してある。なお、この図1と同一部分
には同一符号が付与されている。
First, in order to estimate the transfer characteristic H, the arithmetic unit 6 sets the signal SLTA to "0" and causes the selector 8 to select the input terminal B. At this time, in the present embodiment, as the addition result x (n), a musical tone signal by a keyboard performance or an automatic rhythm is used. This is because the keyboard performance sound or the automatic rhythm sound can be generated over a wide frequency band. For example, a noise generator may be provided and a white noise signal having a flat characteristic over the entire frequency band may be used. FIG. 2 shows the configuration of FIG. 1 in this state, in particular, the latter part after the adder S is simplified, and for convenience of explanation, a part where the frequency characteristic does not change (selector 8, D / A converter 9, amplifier 10). , 13, and the A / D converter 14) are omitted. The same parts as those in FIG. 1 are designated by the same reference numerals.

【0018】この図に示すように、セレクタ8において
入力端子Bが選択された場合、加算結果x(n)は、フ
ィルタ7および演算部6に供給されるとともに、スピー
カ11によって発音される。このとき、マイク12によ
って取り込まれる信号をh(n)とすると、この信号h
(n)は、加算結果x(n)に伝達特性Hを付与したも
のとなる。
As shown in the figure, when the input terminal B is selected by the selector 8, the addition result x (n) is supplied to the filter 7 and the arithmetic unit 6 and is sounded by the speaker 11. At this time, if the signal taken in by the microphone 12 is h (n), this signal h
(N) is obtained by adding the transfer characteristic H to the addition result x (n).

【0019】次に、演算部6は、その加算器61におい
て、 e=h(n)−y(n) となる誤差信号eを算出し、パラメータ供給部62に供
給する。この誤差信号eが最小となるような、フィルタ
7の乗算係数w(i)の組を設定することによって、伝
達特性Hを推定することができる。一般に、誤差信号e
の2乗を最小とさせるには、最小2乗法(LMS法)を
用いた適応過程によって、すなわち、次式を用いること
によって、新たに供給すべきフィルタ係数w’(i)を
算出すれば良いことが知られている。
Next, the calculation section 6 calculates an error signal e in the adder 61, which is e = h (n) -y (n), and supplies it to the parameter supply section 62. The transfer characteristic H can be estimated by setting the combination of the multiplication coefficients w (i) of the filter 7 such that the error signal e is minimized. In general, the error signal e
In order to minimize the square of, the filter coefficient w ′ (i) to be newly supplied may be calculated by an adaptive process using the least square method (LMS method), that is, by using the following equation. It is known.

【0020】[0020]

【数2】 ただし、i=0〜m−1[Equation 2] However, i = 0 to m-1

【0021】この式において、μは乗算係数w(i)の
収束の速さを決定する係数である。例えば、係数μの値
が非常に小さい場合には、適応過程において振動なく最
小点に収束するが、適応速度は遅くなる。一方、係数μ
の値が非常に大きい場合には、適応過程における各ステ
ップで行き過ぎが生じ、発散してしまう可能性がある
が、適応速度は速くなる。このような係数μの値は、図
示しないスイッチボリューム等によって、適切な値に設
定される。また、x(n−i)には、パラメータ供給部
62に入力される加算結果x(n)を順次記憶すること
により得るが、フィルタ7の各遅延結果を用いるように
しても良い。このようにして、誤差信号eを最小にす
る、フィルタ7の乗算係数w(i)の組は、演算部6内
の、図示しない記憶部に記憶されて、伝達特性Hが推定
される。このようにして推定された伝達特性Hの推定特
性をH’とする。
In this equation, μ is a coefficient that determines the speed of convergence of the multiplication coefficient w (i). For example, when the value of the coefficient μ is very small, it converges to the minimum point without vibration in the adaptation process, but the adaptation speed becomes slow. On the other hand, the coefficient μ
If the value of is very large, overshoot may occur at each step in the adaptation process and diverge, but the adaptation speed becomes faster. The value of such coefficient μ is set to an appropriate value by a switch volume or the like not shown. Although the addition result x (n) input to the parameter supply unit 62 is sequentially stored in x (n-i), each delay result of the filter 7 may be used. In this way, the set of multiplication coefficients w (i) of the filter 7 that minimizes the error signal e is stored in the storage unit (not shown) in the calculation unit 6, and the transfer characteristic H is estimated. The estimated characteristic of the transfer characteristic H thus estimated is H '.

【0022】伝達特性Hの推定完了後、演算部6は、信
号SLTAを「1」にして、セレクタ8に入力端子Aを
選択させる。このとき、加算結果x(n)として、リズ
ム信号発生部4によるリズム音と楽音信号発生部3との
加算信号が用いられる。すなわち、通常の演奏音が用い
られる。図3は、この状態における図1の構成を簡略化
したものであり、図1と同一部分には同一符号が付与さ
れている。この図に示すように、加算結果x(n)は、
フィルタ7、演算部6およびデータ供給部5に供給され
る。データ供給部5に供給された加算結果x(n)に
は、操作パネル2からデータ供給部5に供給されるジャ
ンルコードJCに対応する周波数特性が付与されて、目
標信号d(n)として加算器61の一方の入力端に供給
される。ここで、ジャンルコードJCに対応する周波数
特性をDとすると、d(n)は、 d(n)=D・x(n) である。
After the completion of the estimation of the transfer characteristic H, the arithmetic unit 6 sets the signal SLTA to "1" to cause the selector 8 to select the input terminal A. At this time, as the addition result x (n), the addition signal of the rhythm sound by the rhythm signal generator 4 and the tone signal generator 3 is used. That is, a normal performance sound is used. FIG. 3 is a simplified version of the configuration of FIG. 1 in this state, and the same parts as those in FIG. 1 are designated by the same reference numerals. As shown in this figure, the addition result x (n) is
It is supplied to the filter 7, the calculation unit 6, and the data supply unit 5. The addition result x (n) supplied to the data supply unit 5 is given a frequency characteristic corresponding to the genre code JC supplied from the operation panel 2 to the data supply unit 5, and added as a target signal d (n). Is supplied to one input end of the container 61. Here, when the frequency characteristic corresponding to the genre code JC is D, d (n) is d (n) = D · x (n).

【0023】また、フィルタ7に供給された加算結果x
(n)には、所定の周波数特性が付与されて、信号y
(n)として出力される。信号y(n)はフィルタ7に
よって出力され、外部環境により、その周波数特性に変
化を受け、マイク12に信号h(n)として取り込まれ
る。すなわち、信号h(n)は、フィルタ7の出力信号
y(n)に、伝達特性Hを付与したものであるので、 h(n)=H・x(n) である。
The addition result x supplied to the filter 7
A predetermined frequency characteristic is given to (n), and the signal y
It is output as (n). The signal y (n) is output by the filter 7, the frequency characteristics thereof are changed by the external environment, and the signal y (n) is captured by the microphone 12 as the signal h (n). That is, the signal h (n) is obtained by adding the transfer characteristic H to the output signal y (n) of the filter 7, and therefore h (n) = H · x (n).

【0024】さらに、加算器61において、 e=h(n)−d(n) なる誤差信号eが算出されて、パラメータ供給部62の
一方の入力端に供給される。
Further, in the adder 61, an error signal e of e = h (n) -d (n) is calculated and supplied to one input end of the parameter supply unit 62.

【0025】一方、パラメータ供給部62に供給された
加算結果x(n)には、例えば、フィルタで構成される
推定値付与部63によって、前述した伝達特性Hの推定
特性H’が付与される。ここで、推定特性H’が付与さ
れた信号をx’(n)とする。パラメータ供給部62
は、誤差信号eと信号x’(n)とから、次式を用いて
誤差信号eの2乗を最小とする係数w’(i)を算出
し、フィルタ7の各乗算器に供給する。
On the other hand, to the addition result x (n) supplied to the parameter supply unit 62, the above-mentioned estimated characteristic H'of the transfer characteristic H is added by the estimated value addition unit 63 composed of a filter, for example. . Here, the signal to which the estimated characteristic H ′ is added is x ′ (n). Parameter supply unit 62
Calculates a coefficient w ′ (i) that minimizes the square of the error signal e from the error signal e and the signal x ′ (n), and supplies the coefficient w ′ (i) to each multiplier of the filter 7.

【数3】 [Equation 3]

【0026】これによって、フィルタ7の特性はD/
H’となるので、その出力信号y(n)は、 y(n)=(D/H’)・x(n) である。さらに、スピーカ11から出力されるy(n)
には、伝達特性Hが付与されるので、マイク12によっ
て取り込まれる信号h(n)は、 h(n)=H・y(n) =H・(D/H’)・x(n) となる。前述した、伝達特性Hの推定が精度良く行われ
ればH/H’≒1であるので、 h(n)≒D・x(n) ≒d(n) となる。さらに、H/H’を1に近づけるには、遅延素
子Dの接続数を増やす、μの値を適切に設定する、等に
よって実現できる。
Accordingly, the characteristic of the filter 7 is D /
Since it is H ′, the output signal y (n) is y (n) = (D / H ′) · x (n). Further, y (n) output from the speaker 11
Is given a transfer characteristic H, the signal h (n) captured by the microphone 12 is as follows: h (n) = H · y (n) = H · (D / H ′) · x (n) Become. If the transfer characteristic H is accurately estimated as described above, then H / H'≈1, and therefore h (n) ≈D · x (n) ≈d (n). Further, in order to bring H / H ′ close to 1, it can be realized by increasing the number of connections of the delay element D, appropriately setting the value of μ, and the like.

【0027】したがって、マイク12に到達する楽音
は、外部環境による伝達特性Hにかかわらず、加算結果
x(n)にジャンルコードJCに対応する周波数特性D
を付与したものとなる。すなわち、演奏者が聴取する楽
音は、所望の周波数特性Dを有することになる。
Therefore, the musical tone reaching the microphone 12 has a frequency characteristic D corresponding to the genre code JC in the addition result x (n) regardless of the transfer characteristic H due to the external environment.
Will be given. That is, the musical sound heard by the performer has a desired frequency characteristic D.

【0028】上述した実施例では、以下の変形が可能で
ある。 上述した実施例では、モノラル構成であったが、図
6(1)に示すように、2スピーカ、2マイク構成のス
テレオ構成であっても良い。この図において、x
R(n)、xL(n)の各々は、図1における加算結果x
(n)をR、Lチャンネル用に振り分けたものであり、
R(n)はフィルタ7R-R、7R-Lに、また、xL(n)
はフィルタ7L-R、7L-Lに各々供給されている。フィル
タ7R-Rは、スピーカ11Rからマイク12Rへの伝達
特性HR-Rの逆特性を付与するものであり、同様に、フ
ィルタ7R-Lはスピーカ11Rからマイク12Lへの伝
達特性HR-Lの、フィルタ7L-Rはスピーカ11Lからマ
イク12Rへの伝達特性HL-Rの、フィルタ7L-Lはスピ
ーカ11Lからマイク12Lへの伝達特性HL-Lの、各
逆特性を各々付与するものである。そして、加算器SR
においてフィルタ7R-R、7L-Rの出力が加算されて、こ
の加算結果がスピーカ12Rから発音される。同様に、
加算器SLにおいてフィルタ7L-R、7L-Lの出力が加算
されて、この加算結果がスピーカ12Lから発音され
る。各フィルタ7R-R、7R-L、7L-R、7L-Lと、伝達特
性HR-R、HR-L、HL-R、HL-Lとを、上述した実施例の
ように対応させるように構成すると、楽音をステレオと
することができる。
The following modifications are possible in the above embodiment. Although the above-described embodiment has a monaural structure, it may have a stereo structure with two speakers and two microphones as shown in FIG. 6 (1). In this figure, x
Each of R (n) and x L (n) is the addition result x in FIG.
(N) is distributed for R and L channels,
x R (n) is the filter 7 RR , 7 RL , and x L (n)
Are supplied to the filters 7 LR and 7 LL , respectively. The filter 7 RR gives an inverse characteristic of the transfer characteristic H RR from the speaker 11R to the microphone 12R. Similarly, the filter 7 RL has a transfer characteristic H RL from the speaker 11R to the microphone 12L, and the filter 7 LR has a transfer characteristic H RL. The filter 7 LL of the transfer characteristic H LR from the speaker 11L to the microphone 12R gives each reverse characteristic of the transfer characteristic H LL from the speaker 11L to the microphone 12L. And the adder SR
In, the outputs of the filters 7 RR and 7 LR are added, and the addition result is sounded from the speaker 12R. Similarly,
The outputs of the filters 7 LR and 7 LL are added in the adder SL, and the addition result is sounded from the speaker 12L. When the filters 7 RR , 7 RL , 7 LR and 7 LL and the transfer characteristics H RR , H RL , H LR and H LL are configured to correspond to each other as in the above-described embodiment, the musical sound is stereo. be able to.

【0029】 上述した周波数特性は、ジャンルコー
ドJCに対応するものであり、固定であったが、演奏者
が任意に設定したものであっても良い。さらに、複数個
設定できるようにしておき、所望のものを選択できるよ
うにしても良い。
The frequency characteristics described above correspond to the genre code JC and are fixed, but may be set arbitrarily by the performer. Further, a plurality of items may be set so that a desired item may be selected.

【0030】[0030]

【発明の効果】以上説明したようにこの発明によれば、
フィルタ手段は、室内環境による周波数特性変化を補償
するように、楽音信号の周波数特性を制御するので、聴
取者に到達する楽音が所望の周波数特性となるような電
子楽器を提供することが可能である。
As described above, according to the present invention,
The filter means controls the frequency characteristic of the musical tone signal so as to compensate for the frequency characteristic variation due to the indoor environment, so that it is possible to provide an electronic musical instrument in which the musical tone reaching the listener has a desired frequency characteristic. is there.

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

【図1】 この発明による実施例の構成を示すブロック
図である。
FIG. 1 is a block diagram showing a configuration of an embodiment according to the present invention.

【図2】 同実施例の動作を説明するための概略ブロッ
ク図である。
FIG. 2 is a schematic block diagram for explaining the operation of the embodiment.

【図3】 同実施例の動作を説明するための概略ブロッ
ク図である。
FIG. 3 is a schematic block diagram for explaining the operation of the embodiment.

【図4】 同実施例における操作パネル2の詳細構成を
示す平面図である。
FIG. 4 is a plan view showing a detailed configuration of an operation panel 2 in the embodiment.

【図5】 同実施例におけるフィルタ7の詳細構成を示
すブロック図である。
FIG. 5 is a block diagram showing a detailed configuration of a filter 7 in the embodiment.

【図6】 この発明の変形例の要部構成を示すブロック
図である。
FIG. 6 is a block diagram showing a main configuration of a modified example of the present invention.

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

3……楽音信号発生部(楽音信号発生手段)、5……デ
ータ供給部(目標値供給手段)、6……演算部(フィル
タ制御手段)、7……フィルタ(フィルタ手段)、11
……スピーカ(出力手段)、12……マイク(入力手
段)
3 ... Musical sound signal generating section (musical sound signal generating means), 5 ... Data supplying section (target value supplying means), 6 ... Calculation section (filter controlling means), 7 ... Filter (filtering means), 11
...... Speaker (output means), 12 ... Microphone (input means)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 所定の楽音信号を発生する楽音信号発生
手段と、 フィルタ係数により規定された特性にて前記楽音信号を
濾波するフィルタ手段と、 このフィルタ手段によって濾波された楽音信号に基づい
て、楽音を出力する出力手段と、 前記出力手段による楽音を入力し、信号に変換する入力
手段と、 所望の周波数特性に関するデータを少なくとも1つ以上
記憶するとともに、前記データを選択的に供給する記憶
手段と、 この記憶手段から供給されたデータと前記入力手段によ
る信号とから前記フィルタ係数を演算生成して、前記フ
ィルタ手段に供給するフィルタ制御手段とを具備するこ
とを特徴とする電子楽器。
1. A tone signal generating means for generating a predetermined tone signal, a filter means for filtering the tone signal with a characteristic defined by a filter coefficient, and a tone signal filtered by the filter means. Output means for outputting a musical sound, input means for inputting a musical sound by the output means and converting it into a signal, storage means for storing at least one or more data relating to desired frequency characteristics and selectively supplying the data An electronic musical instrument comprising: a filter control unit that calculates and generates the filter coefficient from the data supplied from the storage unit and the signal from the input unit and supplies the filter coefficient to the filter unit.
JP18715692A 1992-07-14 1992-07-14 Music generator Expired - Fee Related JP3206770B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18715692A JP3206770B2 (en) 1992-07-14 1992-07-14 Music generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18715692A JP3206770B2 (en) 1992-07-14 1992-07-14 Music generator

Publications (2)

Publication Number Publication Date
JPH0635463A true JPH0635463A (en) 1994-02-10
JP3206770B2 JP3206770B2 (en) 2001-09-10

Family

ID=16201110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18715692A Expired - Fee Related JP3206770B2 (en) 1992-07-14 1992-07-14 Music generator

Country Status (1)

Country Link
JP (1) JP3206770B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6996240B1 (en) 1997-03-21 2006-02-07 Nec Corporation Loudspeaker unit adapted to environment
JPWO2011121955A1 (en) * 2010-03-30 2013-07-04 パナソニック株式会社 Audio equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6996240B1 (en) 1997-03-21 2006-02-07 Nec Corporation Loudspeaker unit adapted to environment
JPWO2011121955A1 (en) * 2010-03-30 2013-07-04 パナソニック株式会社 Audio equipment
US9047876B2 (en) 2010-03-30 2015-06-02 Panasonic Intellectual Property Managment Co., Ltd. Audio device

Also Published As

Publication number Publication date
JP3206770B2 (en) 2001-09-10

Similar Documents

Publication Publication Date Title
EP0865025B1 (en) Apparatus having loudspeakers concurrently producing both music and reflected sound
JP3823824B2 (en) Electronic musical sound generator and signal processing characteristic adjustment method
US5198604A (en) Resonant effect apparatus for electronic musical instrument
US5270954A (en) Filter device and electronic musical instrument using the filter device
JP2004062190A (en) System and method for digitally processing one or more sound signals
JP2009265470A (en) Resonance tone generator and electronic musical instrument
US5602358A (en) Effect imparting device and electronic musical instrument incorporating same
US5418856A (en) Stereo signal generator
JP2009175677A (en) Resonance sound adding device and electronic musical instrument
JP3206770B2 (en) Music generator
US5536903A (en) Musical tone synthesizing apparatus having a loop circuit
JP3220396B2 (en) Musical sound wave reproduction device
JP2689646B2 (en) Electronic musical instrument
JPH0535277A (en) Electronic nusical instrument
JP2623943B2 (en) A resonance effect device for musical sound signals.
JPH0461500A (en) Acoustic effect device
JP2500704B2 (en) Electronic musical instrument
JP2933186B2 (en) Music synthesizer
JP2666583B2 (en) Electronic musical instrument
JP2836116B2 (en) Sound processing device
JPH09230859A (en) Electronic musical instrument
JP3022170B2 (en) Control device
JPH08186495A (en) Digital mixer
JP3094510B2 (en) Sound image localization control device
JPH09230869A (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 (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090706

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees