JP5593988B2 - Sound field support device - Google Patents
Sound field support device Download PDFInfo
- Publication number
- JP5593988B2 JP5593988B2 JP2010200366A JP2010200366A JP5593988B2 JP 5593988 B2 JP5593988 B2 JP 5593988B2 JP 2010200366 A JP2010200366 A JP 2010200366A JP 2010200366 A JP2010200366 A JP 2010200366A JP 5593988 B2 JP5593988 B2 JP 5593988B2
- Authority
- JP
- Japan
- Prior art keywords
- amplitude characteristic
- amplitude
- impulse response
- characteristic
- cpu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Circuit For Audible Band Transducer (AREA)
Description
本発明は、音響空間の音響効果を制御する技術に関する。 The present invention relates to a technique for controlling the acoustic effect of an acoustic space.
音響空間における既存の音響環境をベースとし、その音響空間における残響効果や初期反射音を含む初期反射音特性を増強、補正する音場支援装置がある。この音場支援装置は、音響空間内のマイクロホンの収音信号に対して、その音響空間よりも残響時間の長い別の空間のインパルス応答を模擬した係数列をFIR(Finite Impulse Response)フィルタにより畳込み、この畳込み演算結果として得られた音信号を音響空間内のスピーカから音として出力する。この音場支援装置が動作している間は、音響空間→マイクロホン→FIRフィルタ→スピーカ→音響空間という音響帰還系が形成されるため、音響空間内におけるマイクロホン及びスピーカ間の距離に応じて決まるある周波数の成分のレベルが時間の経過とともに増大し、ハウリングやカラレーション等の障害を引き起こす、という問題がある。 There is a sound field support device that reinforces and corrects the initial reflected sound characteristics including the reverberation effect and the initial reflected sound in the acoustic space based on the existing acoustic environment in the acoustic space. This sound field support device uses a FIR (Finite Impulse Response) filter to fold a coefficient sequence that simulates an impulse response of another space having a reverberation time longer than that of the sound space of the microphone's sound signal in the sound space. And a sound signal obtained as a result of the convolution operation is output as a sound from a speaker in the acoustic space. While this sound field support device is in operation, an acoustic feedback system of acoustic space → microphone → FIR filter → speaker → acoustic space is formed, so that it depends on the distance between the microphone and the speaker in the acoustic space. There is a problem that the level of the frequency component increases with time and causes troubles such as howling and coloration.
このような障害の発生を防ぐ技術を開示したものとして特許文献1がある。同文献1に開示された音場支援装置は、FIRフィルタの前段および後段にプログラマブルイコライザを直列に介挿した構成となっている。この音場支援装置では、FIRフィルタとその後段のプログラマブルイコライザとの間の信号経路を遮断した状態で、スピーカから音響空間に向けて測定用基準信号を放射し、音響空間、及びマイクロホンを経由してFIRフィルタの出力端子から出力される音信号を採取する。次に、この音信号と測定用基準信号とから、FIRフィルタの後段のプログラマブルイコライザ→スピーカ→音響空間→マイクロホン→FIRフィルタという音響帰還系の伝達関数の振幅特性を求める。そして、この振幅特性における際立ったピークを低減するように、FIRフィルタの後段のプログラマブルイコライザの伝達関数を自動調整する。この技術によると、音響空間→マイクロホン→音場支援装置→スピーカ→音響空間という音響帰還系の伝達関数の振幅特性を平坦化させ、ハウリングやカラレーションを引き起こし難くすることができる。
しかしながら、特許文献1の技術には次のような問題がある。FIRフィルタに設定されるフィルタ係数列は残響時間の長い空間のインパルス応答を模擬したものである。このため、フィルタ係数列が設定されているFIRフィルタ自体の伝達関数の振幅特性に鋭いピークが現れる場合がある。この場合でも、FIRフィルタの振幅特性のピークの周波数と音響空間の振幅特性のディップの周波数とが一致している間は音響帰還系の振幅特性におけるその周波数の成分は互いに相殺し合って平坦になるため、その周波数の成分を低減させるイコライジングは行われない。
However, the technique of
しかし、FIRフィルタの振幅特性におけるピークの周波数は同じフィルタ係数列を設定している限り時間的に変化しないのに対し、音響空間の振幅特性におけるピークやディップの周波数は、空間内の温度や湿度、空間内の受聴者の有無等に依存して時間的に変化する。つまり、音響空間の振幅特性は、時間の経過とともに変化する時変性を有している。よって、音響空間の振幅特性の変化により、音響空間の振幅特性のピークがFIRフィルタの振幅特性のピークの周波数と一致してしまい、両者を重畳した音響帰還系の振幅特性に鋭いピークが現れる事態も起こり得る。特許文献1の技術では、このような音響空間の振幅特性の時変性を原因とする音響帰還系全体の不安定化を防止することができなかった。また、音響空間の振幅特性のピークやディップの変化に対応できるような余裕を持ったイコライジングを行おうとすると、イコライジングを行う帯域の帯域幅を必要以上に広くしなければならない。
However, while the frequency of the peak in the amplitude characteristic of the FIR filter does not change with time as long as the same filter coefficient sequence is set, the frequency of the peak or dip in the amplitude characteristic of the acoustic space is the temperature or humidity in the space. It changes with time depending on the presence or absence of listeners in the space. That is, the amplitude characteristic of the acoustic space has time variation that changes with time. Therefore, due to a change in the amplitude characteristic of the acoustic space, the peak of the amplitude characteristic of the acoustic space coincides with the frequency of the peak of the amplitude characteristic of the FIR filter, and a sharp peak appears in the amplitude characteristic of the acoustic feedback system in which both are superimposed. Can also happen. The technique of
本発明は、このような背景の下に案出されたものであり、音響帰還系内における音響空間の振幅特性の時変性を原因とする音響帰還系全体の不安定化を防止することを目的とする。 The present invention has been devised under such a background, and an object of the present invention is to prevent instability of the entire acoustic feedback system due to time variation of the amplitude characteristics of the acoustic space in the acoustic feedback system. And
本発明は、マイクロホン及びスピーカが設けられた音響空間と別の音響空間を目標音響空間とし、この目標音響空間のインパルス応答を取得するインパルス応答取得手段と、前記インパルス応答取得手段が取得したインパルス応答に対して当該インパルス応答の振幅特性を平滑化する振幅特性平滑化処理を施す振幅特性平滑化手段と、前記振幅特性平滑化手段によって振幅特性平滑化処理が施されたインパルス応答を前記マイクロホンが収音した音の音信号に畳み込んだ音信号を生成し、生成した音信号を前記スピーカから放音させるディジタルフィルタ手段と、前記マイクロホン及びスピーカが設けられた音響空間と前記ディジタルフィルタ手段とを含む音響帰還系の振幅特性を補正する補正手段と、前記音響帰還系の振幅特性が目標特性以下となるように前記補正手段の伝達関数を制御する伝達関数制御手段とを具備する音場支援装置を提供する。 The present invention uses an acoustic space different from the acoustic space provided with the microphone and the speaker as a target acoustic space, obtains an impulse response of the target acoustic space, and an impulse response obtained by the impulse response obtaining unit. The microphone collects the amplitude characteristic smoothing means for performing the amplitude characteristic smoothing process for smoothing the amplitude characteristic of the impulse response, and the impulse response subjected to the amplitude characteristic smoothing process by the amplitude characteristic smoothing means. A digital filter means for generating a sound signal convoluted with the sound signal of the sound that has been generated, and emitting the generated sound signal from the speaker; an acoustic space provided with the microphone and the speaker; and the digital filter means Correction means for correcting the amplitude characteristic of the acoustic feedback system, and the amplitude characteristic of the acoustic feedback system is the target characteristic Providing a sound field support device comprises a transfer function control means for controlling the transfer function of said correcting means so as to lower.
この発明では、インパルス応答を畳み込む役割を果たすディジタルフィルタ手段自体の振幅特性は急峻なピークを有しないものとなる。よって、音響空間の振幅特性とディジタルフィルタ手段の振幅特性のピークの周波数同士が一致して音響空間及びディジタルフィルタ手段を含む音響帰還系の振幅特性に急峻なピークが現れる、という事態が発生しなくなる。従って、音響空間の振幅特性の時変性を原因とする音響帰還系全体の不安定化を防止することができる。 In the present invention, the amplitude characteristic of the digital filter means itself that plays the role of convolving the impulse response does not have a steep peak. Therefore, a situation in which a sharp peak appears in the amplitude characteristics of the acoustic feedback system including the acoustic space and the digital filter means due to the coincidence of the peak frequencies of the amplitude characteristics of the acoustic space and the digital filter means does not occur. . Therefore, it is possible to prevent the entire acoustic feedback system from becoming unstable due to the time variation of the amplitude characteristics of the acoustic space.
以下、図面を参照し、この発明の第1実施形態を説明する。
(第1実施形態)
図1は、この発明の第1実施形態である音場支援装置40を含む音場支援システムの全体構成を示す図である。この音場支援システムは、8個のマイクロホン10−j(j=1〜8)、8個のスピーカ20−k(k=1〜8)、マイクアンプ部31、パワーアンプ部32、音場支援装置40、及び外部記憶装置90を有する。マイクロホン10−j(j=1〜8)及びスピーカ20−k(k=1〜8)は、音響空間1内の天井や側壁に、互いに適宜の間隔を空けて固定されている。
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings.
(First embodiment)
FIG. 1 is a diagram showing an overall configuration of a sound field support system including a sound
音場支援装置40は、マイクロホン10−j(j=1〜8)の各々とスピーカ20−k(k=1〜8)の各々とを当該音場支援装置40を介して接続することにより、音響空間1→マイクロホン10−j→音場支援装置40→スピーカ20−k→音響空間1を一巡する複数種類の音響帰還系を作り出し、当該音場支援装置40を経由する各音響帰還系の音信号に対して音響空間1の音響特性を別の目標とする音響空間(目標音響空間という)の音響特性に近づける信号処理を施す装置である。この音場支援装置40の構成については後述する。
The sound
外部記憶装置90は、複数種類の目標音響空間と対応する複数種類のインパルス応答データを記憶した装置である。各インパルス応答データは、各目標音響空間のインパルス応答(時間応答)を模擬したフィルタ係数値hm(m=1,2…M)を時間軸順に並べたものである。フィルタ係数値hm(m=1,2…M)をフーリエ変換した周波数応答(振幅特性及び位相特性)は、目標音響空間の周波数応答とほぼ同じになる。
The
各目標音響空間のインパルス応答データは、例えば、次のようにして得られる。まず、目標音響空間内の音源位置において単位インパルスを発生させ、同空間内の測定点においてその単位インパルスのインパルス応答を測定する。そして、測定したインパルス応答波形における単位インパルスの測定点での入力時刻t0から時間Δtずつ経過した時刻t0+(Δt×m)(m=1,2…M)の振幅値をフィルタ係数値hm(m=1,2…M)とする。図2は、以上の手順によって得られたインパルス応答データの一例を示す図である。この例のインパルス応答データは、3秒程度の時間の目標音響空間のインパルス応答を模擬したものである。この例のインパルス応答データでは、時刻t0からの経過時間が長くなるに従ってフィルタ係数値hmが小さくなっている。 The impulse response data of each target acoustic space is obtained as follows, for example. First, a unit impulse is generated at a sound source position in the target acoustic space, and an impulse response of the unit impulse is measured at a measurement point in the same space. Then, the amplitude value at time t 0 + (Δt × m) (m = 1, 2... M) after time Δt has elapsed from the input time t 0 at the measurement point of the unit impulse in the measured impulse response waveform is used as the filter coefficient value. It is assumed that h m (m = 1, 2,... M). FIG. 2 is a diagram showing an example of impulse response data obtained by the above procedure. The impulse response data of this example simulates the impulse response of the target acoustic space for a time of about 3 seconds. The impulse response data in this example, the filter coefficient values h m becomes smaller as time elapses from the time t 0 is longer.
次に、音場支援装置40の構成について説明する。図3は、音場支援装置40の構成を示す図である。この音場支援装置40において、音響空間1内のマイクロホン10−j(j=1〜8)からマイクアンプ部31を介して入力される8チャネルの収音信号S(より具体的には、A/D変換器(不図示)にてディジタル形式に変換された収音信号S)は、ミキサ51およびEMR(Electronic Microphone Rotator)52を経由した後、4系統の収音信号SとしてFIRフィルタ53−i(i=1〜4)へ入力される。ここで、EMR52は、当該EMR52に入力される4系統の信号と当該EMR52から出力される4系統の信号との接続関係を電気的に時々刻々切り換えることにより、音響空間1→マイクロホン10−j→マイクアンプ部31→音場支援装置40→パワーアンプ部32→スピーカ20−k→音響空間1を一巡する音響帰還系の周波数特性を平坦化する役割を果たす装置である。
Next, the configuration of the sound
FIRフィルタ53−i(i=1〜4)における各FIRフィルタ53−iは、マイクロホン10−j(j=1〜8)からミキサ51及びEMR52を介して入力される4系統の収音信号Sにインパルス応答データ(フィルタ係数値hm(m=1,2…M))を畳み込んだ音信号Zを生成し、生成した音信号Zをスピーカ20−k(k=1〜8)から残響音として音響空間1に放音させる装置である。より具体的は、各FIRフィルタ53−iは、マイクロホン10−jの収音信号Sを時間Δt×m(m=1,2…M)だけ遅延させた遅延オーディオ信号DSm(m=1,2…M)を生成し、生成した遅延オーディオ信号DSm(m=1,2…M)とフィルタ係数値hm(m=1,2…M))との積和演算を行い、この演算結果を音信号Zとする。FIRフィルタ53−iは、外部記憶装置90内のインパルス応答データに振幅特性平滑化処理を施したものをCPU61から受け取り、この受け取ったインパルス応答データを用いて音信号Zの生成を行う。振幅特性平滑化処理の詳細については後述する。
Each FIR filter 53-i in the FIR filter 53-i (i = 1 to 4) has four systems of collected sound signals S inputted from the microphone 10-j (j = 1 to 8) via the
図3において、FIRフィルタ53−i(i=1〜4)が出力した音信号Zは、PEQ(Parametric Equalizer)54−i(i=1〜4)に入力される。PEQ54−i(i=1〜4)は、音響空間1→マイクロホン10−j→マイクアンプ部31→音場支援装置40→パワーアンプ部32→スピーカ20−k→音響空間1を一巡する音響帰還系の伝達関数の振幅特性を補正する補正手段としての役割を果たす装置である。より具体的に説明すると、PEQ54−i(i=1〜4)における各PEQ54−iは、当該PEQ54−iの伝達関数を決定づけるPEQパラメータps(s=1〜8)に従い、FIRフィルタ53−iの出力信号Zの帯域を8つ以下のバンドに分割し、分割した各帯域の帯域信号を各々増減させる。PEQパラメータps(s=1〜8)は、第1〜第8の各バンドにおける中心周波数cfs(s=1〜8)、ゲインgs(s=1〜8)(各バンドの中心周波数cfs(s=1〜8)におけるレベルの増減量)、及びQ値qs(s=1〜8)(各バンドの周波数特性の鋭さ)を指定するパラメータである。各PEQ54−iのPEQパラメータps(s=1〜8)は、CPU61によって決定される。詳しくは、後述する。
In FIG. 3, the sound signal Z output from the FIR filter 53-i (i = 1 to 4) is input to a PEQ (Parametric Equalizer) 54-i (i = 1 to 4). The PEQ 54-i (i = 1 to 4) is an
PEQ54−i(i=1〜4)が出力した音信号Zは、スイッチ55−i(i=1〜4)および加算器56−i(i=1〜4)を経由し、コンプレッサ57−i(i=1〜4)によるダイナミックレンジ圧縮を経てからレベル・ディレイマトリックス58へ入力される。各スイッチ55−iは、PEQ54−i及び加算器56−i間の信号の伝送経路のオンとオフとを切り換えて、当該信号経路の接続と遮断とを切り換える役割を果たす。また、各加算器56−iは、ノイズジェネレータ64から音響空間1の伝達関数計測用の信号が出力されている場合に、その出力信号をコンプレッサ57−iへ供給する役割を果たす。このノイズジェネレータ64の出力信号については後述する。
The sound signal Z output from the PEQ 54-i (i = 1 to 4) passes through the switch 55-i (i = 1 to 4) and the adder 56-i (i = 1 to 4), and is then supplied to the compressor 57-i. After being subjected to dynamic range compression according to (i = 1 to 4), it is input to the level /
レベル・ディレイマトリックス58は、コンプレッサ57−i(i=1〜4)に繋がる4本の入力信号線の各々と、パワーアンプ部32へ繋がる8本の出力信号線の各々とを交差させたマトリクスを構成し、交差位置の各々にゲイン調整用可変抵抗(不図示)と遅延素子(不図示)とを配した装置である。このレベル・ディレイマトリックス58に入力される4系統の音信号Zは、入力信号線と出力信号線との交差位置においてゲイン調整や位相調整が施され、8チャネルでミキシング出力される。このミキシング出力された8チャネルの音信号Zの各々は、D/A変換器(不図示)にてアナログ信号に変換される。変換されたアナログ信号はパワーアンプ部32において増幅され、スピーカ20−k(k=1〜8)へ出力される。
The
CPU61は、当該音場支援装置40の制御中枢である。CPU61はRAM62をワークエリアとして利用しつつROM63に記憶された音場支援プログラムを実行する。音場支援プログラムは、次の3つの機能を有する。
a1.インパルス応答取得機能
これは、操作部65の操作によって、複数種類の目標音響空間のうち一種類が選択された場合に、選択された目標音響空間のインパルス応答データを外部記憶装置90から取得する機能である。
b1.振幅特性平滑化機能
これは、インパルス応答取得機能によって取得したインパルス応答データに対して、当該インパルス応答データの振幅特性を平滑化する振幅特性平滑化処理を施す機能である。
c1.伝達関数制御機能
これは、音響空間1→マイクロホン10−j→マイクアンプ部31→音場支援装置40→パワーアンプ部32→スピーカ20−k→音響空間1を一巡する音響帰還系の振幅特性が目標特性以下となるように、PEQ54−i(i=1〜4)の伝達関数を制御する機能である。
The
a1. Impulse response acquisition function This is a function for acquiring impulse response data of the selected target acoustic space from the
b1. Amplitude characteristic smoothing function
This is a function of performing an amplitude characteristic smoothing process for smoothing the amplitude characteristic of the impulse response data with respect to the impulse response data acquired by the impulse response acquisition function.
c1. Transfer function control function This is because the amplitude characteristic of the acoustic feedback system that makes a round of
次に、本実施形態の動作を説明する。図4は、本実施形態の処理を示すフローチャートである。図4に示す一連の処理のうちステップS100は、インパルス応答取得機能の働きによりCPU61が実行する処理である。ステップS110は、振幅特性平滑化機能の働きによりCPU61が実行する処理である。ステップS120(ステップS121〜ステップS128)は、伝達関数制御機能の働きによりCPU61が実行する処理である。CPU61は、操作部65によって音場支援装置40の設定の指示が下されると、図4に示す処理を開始する。
Next, the operation of this embodiment will be described. FIG. 4 is a flowchart showing the processing of this embodiment. Step S100 in the series of processes shown in FIG. 4 is a process executed by the
図4において、CPU61は、インパルス応答取得処理を行う(S100)。インパルス応答取得処理では、CPU61は、直前の操作部65の操作によって選択された目標音響空間のインパルス応答データを外部記憶装置90から取得し、このインパルス応答データをRAM62に記憶する。
In FIG. 4, the
CPU61は、ステップS100において取得したインパルス応答データを処理対象とする振幅特性平滑化処理を行う(S110)。振幅特性平滑化処理は、インパルス応答データの振幅特性F(ω)を平滑化する処理である。ここで、本実施形態においては、振幅特性を、各周波数での振幅値を対数として示す一連の対数値列として取り扱う。この振幅特性平滑化処理では、処理対象であるインパルス応答データの振幅特性F(ω)の概形を残しつつ細かいピークを除去した振幅特性を目標振幅特性H(ω)とし、この振幅特性H(ω)とほぼ同じ振幅特性を持ったインパルス応答データを生成し、このインパルス応答データを処理結果としてFIRフィルタ53−i(i=1〜4)に供給する。
The
具体的な処理手順は次の通りである。まず、CPU61は、処理対象のインパルス応答データ(ステップS100において取得したインパルス応答データ)にFFT(Fast Fourier Transform)処理を施して振幅特性F(ω)を求める。次に、振幅特性F(ω)において周波数順に並んでいる各周波数成分の振幅値Pn(n=1,2…N:nは、低域側から数えた配列順を示すインデックスである。)の2乗をエネルギーEn(n=1,2…N)とし、エネルギーEnを1サンプルずらしながら所定の帯域幅W1分(例えば、50サンプルとする)ずつ次式(1)へ代入して移動平均エネルギーEn’(n=1,2…N)を求める。そして、この移動平均エネルギーEn’(n=1,2…N)の平方根を移動平均振幅値Pn’(n=1,2…N)とし、移動平均振幅値Pn’を低域側から順に並べたものを移動平均振幅特性F’(ω)とする。
En’=(En−25+En−24…+En+En+1…+En+23+En+24)/50…(1)
The specific processing procedure is as follows. First, the
E n ′ = (E n−25 + E n−24 ... + E n + E n + 1 ... + E n + 23 + E n + 2 4 ) / 50 (1)
図5は、図2の例のインパルス応答データにおける振幅特性F(ω)と移動平均振幅特性F’(ω)とを示す図である。この例に示すように、インパルス応答データが残響時間の長い目標音響空間のインパルス応答を模擬したものであった場合、そのインパルス応答データの振幅特性F(ω)の波形は細かいピークを有するものとなる。これに対し、移動平均振幅特性F’(ω)の波形は、振幅特性F(ω)の波形の包絡線のような起伏をもったものとなる。 FIG. 5 is a diagram showing the amplitude characteristic F (ω) and the moving average amplitude characteristic F ′ (ω) in the impulse response data in the example of FIG. As shown in this example, when the impulse response data simulates the impulse response of the target acoustic space having a long reverberation time, the waveform of the amplitude characteristic F (ω) of the impulse response data has a fine peak. Become. On the other hand, the waveform of the moving average amplitude characteristic F ′ (ω) has an undulation like an envelope of the waveform of the amplitude characteristic F (ω).
次に、CPU61は、移動平均振幅特性F’(ω)における移動平均振幅値Pn’(n=1,2…N)の各々に振幅のオフセット値(例えば、6dB)を加算し、オフセット値を加算した振幅値Pn”(n=1,2…N)の各々を低域側から順に並べたものを振幅特性F”(ω)とする。その上で、CPU61は、この振幅特性F”(ω)の振幅値Pn”(n=1,2…N)における1番目からN番目の各振幅値Pn”と元の振幅特性F(ω)の振幅値Pn(n=1,2…N)における1番目からN番目の各振幅値Pnとを1組ずつ比較し、振幅値Pn”と振幅値Pnのうち小さい方の値を低域側から順に並べたものを目標振幅特性H(ω)とする。
Next, the
CPU61は、振幅特性H(ω)と振幅特性F(ω)との差を振幅特性(H(ω)−F(ω))とし、この振幅特性(H(ω)−F(ω))をインパルス応答データに変換する。ここで、振幅特性(H(ω)−F(ω))からインパルス応答データへの変換は、振幅特性((H(ω)−F(ω))にヒルベルト変換を施して得られる最小位相を利用して行う。より詳細に説明すると、CPU61は、振幅特性(H(ω)−F(ω))に逆FFTを施す。次に、この逆FFTによって得られた時間領域の信号のt≦0の領域の信号値を0にし、このt≦0の領域の信号値を0にした信号にFFTを施す。このFFTの処理結果として得られる周波数特性R(ω)+jX(ω)のうちの虚部X(jω)が最小位相である。そして、CPU61は、元の振幅特性(H(ω)−F(ω))とこの最小位相とを用いて、周波数特性(複素数表現)を合成し、この合成した周波数特性(複素数表現)に逆FFTを施して得られる信号を変換結果であるインパルス応答データとする。
The
CPU61は、以上のようにして振幅特性((H(ω)−F(ω))から変換したインパルス応答データをRAM62内のインパルス応答データ(振幅特性F(ω)を有するインパルス応答データ)に畳込み、この畳込み演算結果を振幅特性平滑化処理の処理結果である平滑化処理済みインパルス応答データとしてFIRフィルタ53−i(i=1〜4)に供給する。図6は、図2の例のインパルス応答データを対象とする振幅特性平滑化処理において得られた振幅特性F”(ω)と、同処理の処理結果である平滑化処理済みインパルス応答データに実際にFFTを施した場合に得られる振幅特性K(ω)とを示す図である。この振幅特性K(ω)は、元のインパルス応答データの振幅特性F(ω)の概形を残しつつ細かなピークを除去したものとなる。FIRフィルタ53−i(i=1〜4)における各FIRフィルタ53−iは、CPU61から平滑化処理済みインパルス応答データが供給されると、このインパルス応答データを用いて以降の音信号Zの生成を行う。以上が、振幅特性平滑化処理の具体的な手順である。なお、振幅特性平滑化処理の内容については、特許文献2を併せて参照されたい。
The
図4において、CPU61は、振幅特性平滑化処理の実行後、伝達関数制御処理を行う(S120)。伝達関数制御処理は、音響空間1→マイクロホン10−j→マイクアンプ部31→ミキサ51→EMR52→平滑化処理済みインパルス応答データが設定されたFIRフィルタ53−i→PEQ54−i→コンプレッサ57−i→レベル・ディレイマトリックス58→パワーアンプ部32→スピーカ20−k→音響空間1を一巡する音響帰還系の振幅特性が目標特性(例えば、0dBとする)以下になるようにPEQ54−iの伝達関数の振幅特性を制御する処理である。
In FIG. 4, the
CPU61は、伝達関数制御処理では、PEQ54−i(i=1〜4)の各々におけるPEQパラメータps(s=1〜8)をリセットする(S121)。より具体的は、CPU61は、各PEQ54−iにおける第1バンドから第8バンドまでの各バンドのゲインgs(s=1〜8)を0dBにする。次に、CPU61は、スイッチ55−i(i=1〜4)をオフ状態に切り換える(S122)。CPU61は、ノイズジェネレータ64によるピンクノイズの信号の発生を開始させる(S123)。ノイズジェネレータ64の出力信号は、CPU61へ供給されるとともに、加算器56−i(i=1〜4)、レベル・ディレイマトリックス58、およびパワーアンプ部32を経由し、スピーカ20−k(k=1〜8)から音響空間1へテスト音として放射される。
In the transfer function control process, the
スピーカ20−k(k=1〜8)から放射されたテスト音は、音響空間1を経由し、応答音としてマイクロホン10−j(j=1〜8)に到達する。マイクロホン10−j(j=1〜8)は、応答音を収音して収音信号Sを出力する。この応答音の収音信号Sは、マイクアンプ部31、ミキサ51、及びEMR52を経由してFIRフィルタ53−i(i=1〜4)へ入力される。各FIRフィルタ53−iは、振幅特性平滑化処理においてCPU61から受け取ったインパルス応答データを応答音の収音信号Sに畳み込んで音信号Zを生成し、PEQ54−iに出力する。ここで、PEQ54−iのパラメータps(s=1〜8)はステップS121においてリセットされている。よって、FIRフィルタ53−iの出力信号は、その周波数成分を変更されないままPEQ54−iを通過してCPU61へ供給される。
The test sound radiated from the speaker 20-k (k = 1 to 8) passes through the
CPU61は、予め設定されたピンクノイズの出力時間(たとえば、10秒間)が経過すると(S124:Yes)、ピンクノイズの信号の発生を停止させる(S125)。CPU61は、ピンクノイズの信号の発生が始まってからその発生が停止するまでの間に、テスト音であるピンクノイズそのものの信号(テスト信号という)と音響空間1におけるテスト音の応答音から得られた音信号(応答信号という)とを取得する。
When a preset pink noise output time (for example, 10 seconds) has elapsed (S124: Yes), the
次に、CPU61は、PEQ目標振幅特性決定処理を行う(S126)。PEQ目標振幅特性決定処理は、上述した音響帰還系の振幅特性を目標特性(0dB)以下にするために必要なPEQ54−iの伝達関数の目標振幅特性を決定する処理である。
Next, the
図7は、PEQ目標振幅特性決定処理のサブルーチンを示す図である。
図7において、CPU61は、ピンクノイズの信号の発生が始まってからその発生が停止されるまでの間に取得したテスト信号と応答信号とから、コンプレッサ57−i→レベル・ディレイマトリックス58→パワーアンプ部32→スピーカ20−k→音響空間1→マイクロホン10−j→マイクアンプ部31→ミキサ51→EMR52→平滑化処理済みインパルス応答データが設定されたFIRフィルタ53−i→PEQ54−iという系の振幅特性C(ω)を取得する(S61)。より詳細に説明すると、まず、テスト信号に対して、窓幅を32768サンプル、オーバーラップ率を95%とするFFT処理を施し、パワースペクトル(分布の時間平均)を求める。次に、応答信号に対しても同様のFFT処理を施し、パワースペクトル(分布の時間平均)を求める。そして、前者のパワースペクトルから後者のパワースペクトルを減算した結果を振幅特性C(ω)とする。
FIG. 7 is a diagram showing a subroutine of PEQ target amplitude characteristic determination processing.
In FIG. 7, the
CPU61は、振幅特性C(ω)と目標特性(0dB)との差である振幅特性R(ω)を算出する(S62)。次に、CPU61は、ステップS63からステップS68の処理である振幅特性簡略化処理を実行する。振幅特性簡略化処理は、ステップS62で取得した振幅特性R(ω)を、その特徴をより起伏の少ない包絡曲線によって簡略化した振幅特性R’(ω)へと変換する処理である。図8は、ある振幅特性R(ω)に、振幅特性簡略化処理を経てその振幅特性R(ω)から得られた振幅特性R’(ω)を重ね合わせた図である。この振幅特性簡略化処理を実行するにあたり、CPU61は、次式(2)に示すガウス関数GFの形状を決定づけるパラメータaおよびbのセットを記憶するための領域(ガウス関数記憶領域という)と変換途中の振幅特性を記憶するための領域(振幅特性記憶領域という)とをRAM62に確保し、これらの記憶領域の記憶内容を更新しつつ、ステップS63からステップS68の一連の処理を実行する。
GF=b・exp(−(x−a)2/2c2)…(2)
この式(2)におけるパラメータaはガウス関数GFのピーク周波数を示し、パラメータbはそのピーク周波数における振幅を示す。また、cはガウス関数の幅を示す定数である。
The
GF = b · exp (− (x−a) 2 / 2c 2 ) (2)
The parameter a in the equation (2) indicates the peak frequency of the Gaussian function GF, and the parameter b indicates the amplitude at the peak frequency. C is a constant indicating the width of the Gaussian function.
振幅特性簡略化処理において、CPU61は、ステップS62で求めた振幅特性R(ω)を振幅特性記憶領域に記憶した後、その振幅特性記憶領域から最大ピークの周波数を検出する(S63)。CPU61は、最大ピークの周波数をパラメータaにするとともに、その周波数における振幅をパラメータbとし、両パラメータa,bのセットをガウス関数記憶領域に記憶する(S64)。CPU61は、それまでにガウス関数記憶領域にセットとして記憶したパラメータa,bを上記式(2)に代入し、これにより得られるガウス関数GFを重ね合わせた曲線(フィット曲線という)を求める(S65)。
In the amplitude characteristic simplification process, the
CPU61は、振幅特性記憶領域内の振幅特性からステップS65で求めたフィット曲線を減算し、その残りの振幅特性における各周波数の振幅の最大値が閾値THを下回るか否かを判断する(S66)。この閾値THは0よりも僅かに大きな値とする。そして、閾値THを下回らない場合(S66:No)、その残りの振幅特性によって振幅特性記憶領域を更新し(S67)、ステップS63以降の処理を繰り返す。
The
CPU61は、ステップS66において、振幅特性における各周波数の振幅の最大値が閾値THを下回ると判断した場合(S66:Yes)、それまでにガウス関数記憶領域に記憶したパラメータa,bの各セットにより得られるフィット曲線を、振幅特性R’(ω)として取得する(S68)。
When the
この振幅特性簡略化処理について、図9を参照してさらに具体的に説明する。図9は、ステップS63からステップS67のループのn回の繰り返しによって、振幅特性R’(ω)が求まるまでの様子を示す図である。図9の例では、ステップS62で求めた振幅特性R(ω)を振幅特性R0(ω)と記す。この例における1回目のループでは、振幅特性R0(ω)からフィット曲線Fc1を減算することにより、振幅特性R1(ω)が得られる。このフィット曲線Fc1は、振幅特性R0(ω)の最大ピークP0の周波数をパラメータaとし、最大ピークP0の振幅をパラメータbとして式(2)に代入して得られたガウス関数GF0である。振幅特性R1(ω)における各周波数の振幅の最大値が閾値THを上回る場合、2回目のループに入る。2回目のループでは、振幅特性R0(ω)からフィット曲線Fc2を減算することにより、振幅特性R2(ω)が得られる。フィット曲線Fc2は、振幅特性R1(ω)の最大ピークP1の周波数をパラメータaとし、最大ピークP1の振幅をパラメータbとして式(2)に入力したガウス関数GF1を、1回目のループで求めたガウス関数GF0に重ね合わせたものである。このようなループをn回繰り返し、そのn回の繰り返しを経て得られた振幅特性Rn(ω)における各周波数の振幅の最大値が閾値THを下回ると、それまでのn個のガウス関数GFを重ね合わせたフィット曲線Fcnを振幅特性R’(ω)とする。 This amplitude characteristic simplification process will be described more specifically with reference to FIG. FIG. 9 is a diagram showing how the amplitude characteristic R ′ (ω) is obtained by repeating the loop from step S63 to step S67 n times. In the example of FIG. 9, the amplitude characteristic R (ω) obtained in step S62 is referred to as an amplitude characteristic R 0 (ω). In the first loop in this example, the amplitude characteristic R 1 (ω) is obtained by subtracting the fit curve Fc 1 from the amplitude characteristic R 0 (ω). This fit curve Fc 1 is obtained by substituting the frequency of the maximum peak P 0 of the amplitude characteristic R 0 (ω) with the parameter a and the amplitude of the maximum peak P 0 into the parameter (b) into the formula (2). 0 . When the maximum value of the amplitude of each frequency in the amplitude characteristic R 1 (ω) exceeds the threshold value TH, the second loop is entered. In the second loop, the amplitude characteristic R 2 (ω) is obtained by subtracting the fit curve Fc 2 from the amplitude characteristic R 0 (ω). The fit curve Fc 2 uses the frequency of the maximum peak P 1 of the amplitude characteristic R 1 (ω) as the parameter a and the Gaussian function GF 1 input to the equation (2) with the amplitude of the maximum peak P 1 as the parameter b for the first time. This is superposed on the Gaussian function GF 0 obtained in the loop. When such a loop is repeated n times and the maximum value of the amplitude of each frequency in the amplitude characteristic R n (ω) obtained through the n iterations is below the threshold value TH, n Gaussian functions GF so far are obtained. fit curve Fc n obtained by superimposing the amplitude characteristic R '(ω).
図7において、CPU61は、ステップS68で取得した振幅特性R’(ω)の逆特性となる振幅特性−R’(ω)をPEQ54−iの目標振幅特性として取得する(S69)。
In FIG. 7, the
図4において、CPU61は、PEQ54−iの目標振幅特性を取得した後、パラメータ生成処理を実行する(S127)。図10は、パラメータ生成処理のサブルーチンを示す図である。上述したように、振幅特性簡略化処理では、振幅特性C(ω)と目標特性(0dB)との差を振幅特性R(ω)とし、この振幅特性R(ω)のピークの周波数及び振幅をパラメータa,bとするn個のガウス関数を重ね合わせたフィット曲線を振幅特性R’(ω)とする。そして、図11に示すように、この振幅特性R’(ω)には、PEQ54−iによるイコライジングが可能なバンドの最大数8よりも多くのピークが発生し得る。パラメータ生成処理は、8つ以下のPEQパラメータpsであって、それらを設定した場合におけるPEQ54−iの伝達関数(周波数応答)の振幅特性G(ω)と振幅特性R’(ω)との和である振幅特性G(ω)+R’(ω)の最大ピークが0dBより僅かに大きな閾値TH以下になるようなPEQパラメータpsを生成する処理である。
In FIG. 4, after obtaining the target amplitude characteristic of the PEQ 54-i, the
パラメータ生成処理を実行するにあたり、CPU61は、生成済みのPEQパラメータpsを記憶するための領域(パラメータ記憶領域という)、PEQパラメータpsの生成数を示す変数sを記憶するための領域(生成数記憶領域という)、PEQパラメータpsを生成する過程において算出した振幅特性を記憶するための領域(振幅特性記憶領域という)、およびその過程において算出した面積を記憶するための領域(面積記憶領域という)をRAM62に確保し、これらの記憶領域の記憶内容を更新しつつ、ステップS71からステップS88の一連の処理を実行する。
In executing the parameter generation process, the
図10において、CPU61は、生成数記憶領域における変数sを初期値1にした後(S71)、PEQ54−iの目標振幅特性である振幅特性−R’(ω)を、振幅特性−Rs’(ω)として振幅特性記憶領域に記憶する(S72)。後述するように、この振幅特性記憶領域に記憶される振幅特性−Rs’(ω)は、変数sのインクリメントに従い、振幅特性−R1’(ω)、振幅特性−R2’(ω)…振幅特性−R8’(ω)と書き換えられる。
In FIG. 10, the
次に、CPU61は、振幅特性記憶領域内の振幅特性−Rs’(ω)における振幅値の最も小さいディップの周波数を中心周波数cfsとして決定する(S73)。CPU61は、その中心周波数cfsの振幅値をゲインgsとして決定する(S74)。CPU61は、振幅特性−Rs’(ω)における中心周波数cfsの振幅の1/√2の振幅値を有する一つの周波数をf1とし、中心周波数cfsに関して周波数軸上でf1と対称になる周波数をf2とした場合に次式(3)から求まる値qを、Q値qsの初期値として決定する(S75)。そして、これら3種類の値cfs,gs,qsからなるPEQパラメータpsをパラメータ記憶領域に記憶する(S76)。
q=cfs/(|f1−f2|)…(3)
後述するように、このパラメータ記憶領域には、PEQパラメータp1、PEQパラメータp2…PEQパラメータp8が1つずつ書き加えられる。
Next, the
q = cf s / (| f1-f2 |) (3)
As will be described later, PEQ parameter p 1 , PEQ parameter p 2 ... PEQ parameter p 8 are added to this parameter storage area one by one.
CPU61は、パラメータ記憶領域に記憶されているPEQパラメータpsのすべてをPEQ54−iに設定した場合における振幅特性G(ω)を算出する(S77)。CPU61は、この振幅特性G(ω)と振幅特性−Rs’(ω)とのゲイン差の面積を算出する(S78)。より具体的には、振幅特性G(ω)と振幅特性−Rs’(ω)との間の周波数毎のゲイン(dB値)の差を求め、周波数毎のゲイン(dB値)の差の絶対値を総計した値をゲイン差の面積とする。
The
CPU61は、ステップS78において求めた面積が面積記憶領域内の面積よりも小さいか否かを判断する(S79)。ここで、当該パラメータ生成処理が開始された当初は、面積記憶領域に比較対象となる面積が記憶されていない。この場合、ステップS79では、ステップS78において求めた面積が面積記憶領域内の面積よりも小さいとみなす。
The
CPU61は、ステップS78において求めた面積が面積記憶領域内の面積よりも小さいと判断した場合(S79:Yes)、パラメータ記憶領域に記憶されているPEQパラメータpsのQ値qsをそれよりも所定量だけ小さなQ値qsに置き換える(S80)。その後、ステップS78において求めた面積を面積記憶領域に上書きし(S81)、ステップS77に戻る。ステップS77では、Q値qsを変更したPEQパラメータpsとパラメータ記憶領域におけるそれ以外のPEQパラメータpsとをPEQ54−iに設定した場合における振幅特性G(ω)が算出され、この振幅特性G(ω)を基に以降の処理が実行される。
When the
一方、CPU61は、ステップS78において求めた面積が面積記憶領域内の面積よりも大きいと判断した場合(S79:No)、パラメータ記憶領域に記憶されているPEQパラメータpsのQ値qsを、その前のステップS80における置き換えを行う前のQ値qsに戻す(S82)。
On the other hand, if the
ここで、PEQ54−iの伝達関数(周波数応答)における各バンドのピークはそのバンドのQ値を小さくするほど緩やかなものとなる。また、PEQ54−iにおける各バンドのゲインは中心周波数を中心として左右対称な形状になるのに対し、振幅特性−R’(ω)における振幅はある周波数のピークを中心として左右対称な形状にはならない。そこで、本実施形態では、振幅特性−Rs’(ω)における振幅値の最も小さいディップの周波数を中心周波数cfsとし、この中心周波数cfsに応じて十分に大きなQ値qsの初期値をまず求める。そして、その初期値からQ値qsを所定量ずつ小さくしながらゲイン差の面積の極小値を探索し、面積が減少から増加に転じる直前のQ値qsを採用する。 Here, the peak of each band in the transfer function (frequency response) of the PEQ 54-i becomes gentler as the Q value of the band is reduced. In addition, the gain of each band in the PEQ 54-i has a symmetrical shape with respect to the center frequency, whereas the amplitude in the amplitude characteristic −R ′ (ω) has a symmetrical shape with respect to a certain frequency peak. Don't be. Therefore, in the present embodiment, the frequency of the dip having the smallest amplitude value in the amplitude characteristic −R s ′ (ω) is set as the center frequency cf s, and the initial value of the Q value q s that is sufficiently large according to the center frequency cf s. First ask for. Then, to explore the local minimum value of the area of the gain difference while reducing the Q value q s by a predetermined amount from the initial value, the area to adopt Q value q s immediately before turn from decreasing to increasing.
CPU61は、パラメータ記憶領域におけるPEQパラメータpsのQ値qsを、ステップS80における置き換えを行う前のQ値qsに戻した後、パラメータ記憶領域内のPEQパラメータpsのすべてをPEQ54−iに設定した場合における振幅特性G(ω)と振幅特性R’(ω)(振幅特性簡略化処理において算出したR’(ω))との和を算出する(S83)。そして、CPU61は、この和である振幅特性G(ω)+R’(ω)の最大ピークの振幅値が閾値TH以下になったかを判断する(S84)。CPU61は、ステップS84において、振幅特性C(ω)+R’(ω)の最大ピークの振幅値が閾値TH以下になっていないと判断した場合(S84:No)、生成数記憶領域における変数sが「8」であるか否かを判断する(S85)。
CPU61 is the Q value q s of PEQ parameters p s in the parameter storage area, after returning to the previous Q value q s to be replaced at step S80, all the PEQ parameters p s parameter storage area PEQ54-i The sum of the amplitude characteristic G (ω) and the amplitude characteristic R ′ (ω) (R ′ (ω) calculated in the amplitude characteristic simplification process) is set (S83). Then, the
CPU61は、ステップS85において、変数sが「8」でないと判断した場合(S85:No)、変数sを1つインクリメントする(S86)。次に、CPU61は、面積記憶領域内の面積を消去する(S87)。その後、CPU61は、パラメータ記憶領域内のPEQパラメータpsのすべてをPEQ54−iに設定した場合における振幅特性G(ω)と振幅特性記憶領域内の振幅特性−Rs’(ω)との和である振幅特性G(ω)+(−Rs’(ω))を新たな振幅特性−Rs’(ω)として振幅特性記憶領域に上書きする。その後、CPU61は、ステップS73に戻って以降の処理を繰り返す。ステップS73からステップS76では、パラメータ記憶領域に新たなPEQパラメータpsが書き加えられる。そして、ステップS77からS81のループの繰り返しを経て、PEQパラメータpsのQ値qsが最適化される。
If the
CPU61は、ステップS84において、振幅特性C(ω)+Rs’(ω)の最大ピークの振幅値が閾値TH以下になったと判断した場合(S84:Yes)、または、ステップS85において、変数sが「8」であると判断した場合(S85:Yes)、パラメータ生成処理を終了する。このパラメータ生成処理では、ステップS73からステップS88のループが最大で8回繰り返されることにより、1〜8個のPEQパラメータpsであって、それらをPEQ54−iに設定した場合における振幅特性G(ω)+R’(ω)の最大ピークが閾値TH以下になるようなPEQパラメータpsがパラメータ記憶領域に記憶される。
When the
図4において、CPU61は、パラメータ生成処理によってPEQパラメータpsを生成した後、その時点においてパラメータ記憶領域に記憶されている1〜8個のPEQパラメータpsをPEQ54−iに設定する(S128)。以後、スイッチ55−iがオン状態に切り換えられると、PEQ54−iは、FIRフィルタ53−iが出力する音信号ZへこのPEQパラメータpsに従った1〜8バンドのイコライジングを施し、イコライジングを施した音信号Zを出力する。
In FIG. 4, after generating the PEQ parameter p s by the parameter generation process, the
以上説明した実施形態によると、FIRフィルタ53−i自体の振幅特性は急峻なピークを有しないものとなる。よって、音響空間1の振幅特性に急峻なピークが現れ、周波数軸上におけるそのピークの周波数の位置が変化しても、音響空間1の振幅特性のピークとFIRフィルタ53−iの振幅特性のピークの周波数同士が一致して音響帰還系の振幅特性に急峻なピークが突発的に現れる、という事態が発生しなくなる。従って、音響空間1の振幅特性の時変性を原因とする音響帰還系全体の不安定化を防止することができる。
According to the embodiment described above, the amplitude characteristic of the FIR filter 53-i itself does not have a steep peak. Therefore, even if a steep peak appears in the amplitude characteristic of the
(第2実施形態)
次に、本発明の第2実施形態について説明する。本実施形態では、CPU61は、ステップS110における振幅特性平滑化処理が施された平滑化処理済みインパルス応答データをFIRフィルタ53−i(i=1〜4)に設定せずに次のPEQ伝達関数制御処理に移る。そして、本実施形態におけるPEQ伝達関数制御処理では、FIRフィルタ53−i(i=1〜4)をスルー状態(FIRフィルタ53−i(i=1〜4)の入力信号がそのまま出力信号となる状態)とし、スルー状態としたFIRフィルタ53−i(i=1〜4)と音響空間1とを含む音響帰還系の振幅特性、及び振幅特性平滑化処理が施された平滑化処理済みインパルス応答データの振幅特性におけるディップを埋めた振幅特性を算出し、算出した2つの振幅特性の和の振幅特性が目標特性(0dB)以下となるようにPEQ54−i(i=1〜4)の伝達関数を制御する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. In the present embodiment, the
より詳細に説明すると、PEQ伝達関数制御処理では、CPU61は、FIRフィルタ53−i(i=1〜4)に、フィルタ係数h1が1でフィルタ係数h2〜hMが0であるインパルス応答データを設定してから、ピンクノイズたるテスト信号を出力し、その応答信号を採取する。CPU61は、このテスト信号と応答信号とから、コンプレッサ57−i→レベル・ディレイマトリックス58→パワーアンプ部32→スピーカ20−k→音響空間1→マイクロホン10−j→マイクアンプ部31→ミキサ51→EMR52→スルー状態のFIRフィルタ53−i→PEQ54−iという系の振幅特性C(ω)を算出する。
More specifically, in the PEQ transfer function control process, the
また、CPU61は、平滑化処理済みインパルス応答データにFFT処理を施し、平滑化処理済みインパルス応答データの振幅特性K(ω)を算出する。図6に示したように、この振幅特性K(ω)は、元のインパルス応答データの振幅特性F(ω)の細かいピークを除去した特性ではあるものの、振幅特性F(ω)のディップは残ったままの特性となっている。CPU61は、この振幅特性K(ω)のディップを埋めた振幅特性K’(ω)を算出する。振幅特性K’(ω)は、振幅特性K(ω)における各振幅を所定の帯域幅分毎の移動最大値に置き換えることによって求めるとよい。
In addition, the
さらに、CPU61は、振幅特性C(ω)と振幅特性K’(ω)の和である振幅特性(C(ω)+K’(ω))を算出し、この振幅特性(C(ω)+K’(ω))を振幅特性C(ω)に代えて上述したステップS62以降の一連の処理を行う。すなわち、CPU61は、振幅特性(C(ω)+K’(ω))と目標特性(0dB)との差を振幅特性R(ω)とし、この振幅特性R(ω)を簡略化した振幅特性R’(ω)を算出する。そして、振幅特性R’(ω)の逆特性−R’(ω)をPEQ54−iの目標振幅特性とし、PEQ54−iの伝達関数の振幅特性を振幅特性−R’(ω)とするために必要なPEQパラメータpsを生成してPEQ54−iに設定する。
Further, the
そして、CPU61は、PEQ54−iへのPEQパラメータpsの設定を終えた後、平滑化処理済みインパルス応答データをFIRフィルタ53−i(i=1〜4)に供給し、平滑化処理済みインパルス応答データをFIRフィルタ53−i(i=1〜4)に設定する。
Then, after finishing the setting of the PEQ parameter p s to the PEQ 54-i, the
以上説明した実施形態によると、次の効果が得られる。振幅特性平滑化処理の処理結果である平滑化処理済みインパルス応答データの振幅特性K(ω)はディップを有したものであるから、PEQ54−iのPEQパラメータps(s=1〜8)の決定時において振幅特性K(ω)のディップの周波数と音響空間1の振幅特性のピークの周波数とが重なっていると、振幅特性C(ω)におけるその周波数の成分はディップとピークにより相殺されてPEQ54−iによるイコライジングの対象から外れてしまうことも起こり得る。この場合において、PEQパラメータps(s=1〜8)の決定時以降に音響空間1の振幅特性のピークの周波数が振幅特性K(ω)のディップの周波数からずれて振幅特性K(ω)のピークの周波数と重なると、音響帰還系全体の不安定化を招く。
According to the embodiment described above, the following effects can be obtained. Since the amplitude characteristic K (ω) of the smoothed impulse response data, which is the processing result of the amplitude characteristic smoothing process, has a dip, the PEQ parameter p s (s = 1 to 8) of the PEQ 54-i If the dip frequency of the amplitude characteristic K (ω) and the peak frequency of the amplitude characteristic of the
これに対し、本実施形態では、FIRフィルタ53−i(i=1〜4)をスルー状態として求めた振幅特性C(ω)と平滑化処理済みインパルス応答データの振幅特性K(ω)のディップを埋めた振幅特性K’(ω)との和を振幅特性(C(ω)+K’(ω))とし、この振幅特性(C(ω)+K’(ω))が目標特性(0dB)以下になるようにPEQ54−iの伝達関数の振幅特性を制御する。よって、本実施形態によると、ディップを埋めた振幅特性K’(ω)を持ったインパルス応答データの生成を要することなく、振幅特性K(ω)のディップの周波数と音響空間1の振幅特性のピークの周波数とが重なっていた場合に起こり得る音響帰還系全体の不安定化を防ぐことができる。
In contrast, in the present embodiment, the dip between the amplitude characteristic C (ω) obtained by setting the FIR filter 53-i (i = 1 to 4) as the through state and the amplitude characteristic K (ω) of the smoothed impulse response data. Is the amplitude characteristic (C (ω) + K ′ (ω)), and the amplitude characteristic (C (ω) + K ′ (ω)) is equal to or less than the target characteristic (0 dB). The amplitude characteristic of the transfer function of the PEQ 54-i is controlled so that Therefore, according to the present embodiment, the dip frequency of the amplitude characteristic K (ω) and the amplitude characteristic of the
以上、この発明の第1及び第2実施形態について説明したが、この発明には他にも実施形態があり得る。例えば、以下の通りである。 Although the first and second embodiments of the present invention have been described above, there may be other embodiments in the present invention. For example, it is as follows.
(1)上記第1及び第2実施形態では、音響帰還系の伝達関数の振幅特性を補正する補正手段としての役割を果たす装置としてPEQ54−iを利用した。しかし、FIRフィルタ53−i(i=1〜4)とは別のFIRフィルタをPEQ54−iの代わりに利用してもよい。この実施形態では、音響帰還系の伝達関数の振幅特性を補正するための係数をFIRフィルタに設定するとよい。また、CPU61が、振幅特性平滑化処理を施したインパルス応答データに対して振幅特性C(ω)を目標特性以下にするために必要なイコライジングを施し、このイコライジングを施したインパルス応答データをFIRフィルタ53−iに供給するようにしてもよい。
(1) In the first and second embodiments, the PEQ 54-i is used as a device that serves as a correction unit that corrects the amplitude characteristic of the transfer function of the acoustic feedback system. However, an FIR filter different from the FIR filter 53-i (i = 1 to 4) may be used instead of the PEQ 54-i. In this embodiment, a coefficient for correcting the amplitude characteristic of the transfer function of the acoustic feedback system may be set in the FIR filter. Further, the
(2)上記第1及び第2実施形態の振幅特性平滑化処理では、振幅特性F(ω)における振幅値Pn(n=1,2…N)の2乗をエネルギーEn(n=1,2…N)とし、エネルギーEn(g=1,2…N)を式(1)に代入して求まる移動平均エネルギーEn’(n=1,2…N)により、振幅特性F(ω)を平滑化した。しかし、n乗平均、加重平均、調和平均、算術幾何平均など別の方法により振幅特性F(ω)を平滑化してもよい。 (2) In the amplitude characteristic smoothing process of the first and second embodiments, the square of the amplitude value P n (n = 1, 2,... N) in the amplitude characteristic F (ω) is used as the energy E n (n = 1). , 2 ... n) and then, by the energy E n (g = 1,2 ... n ) the moving average energy E n which is obtained by substituting the equation (1) '(n = 1,2 ... n), the amplitude characteristic F ( ω) was smoothed. However, the amplitude characteristic F (ω) may be smoothed by another method such as an n-th power average, a weighted average, a harmonic average, or an arithmetic geometric average.
(3)上記第1及び第2実施形態のパラメータ生成処理では、各PEQ54−iのPEQパラメータps(s=1〜8)の各々における中心周波数cfs、ゲインgs、及びQ値qsを音響帰還系の振幅特性C(ω)を利用して決定した。しかし、PEQパラメータps(s=1〜8)の各々における中心周波数cfs、ゲインgs、及びQ値qsのうちQ値qsを固定値qdefaultとし、PEQパラメータps(s=1〜8)の各々における中心周波数cfsとゲインgsだけを音響帰還系の振幅特性C(ω)を利用して決定してもよい。例えば、CPU61は、図7のステップS69においてPEQ54−iの目標振幅特性である振幅特性−R’(ω)を取得した後、PEQパラメータps(s=1〜8)の各々における中心周波数cfs、ゲインgs、及びQ値qsを次のように決定するとよい。
(3) In the parameter generation processing of the first and second embodiments, the center frequency cf s , the gain g s , and the Q value q s in each of the PEQ parameters p s (s = 1 to 8) of each PEQ 54-i. Was determined using the amplitude characteristic C (ω) of the acoustic feedback system. However, the Q value q s is a fixed value q default among the center frequency cf s , the gain g s , and the Q value q s in each of the PEQ parameters p s (s = 1 to 8), and the PEQ parameter p s (s = Only the center frequency cf s and the gain g s in each of 1 to 8) may be determined using the amplitude characteristic C (ω) of the acoustic feedback system. For example, after obtaining the amplitude characteristic −R ′ (ω), which is the target amplitude characteristic of the PEQ 54-i in step S69 of FIG. 7, the
まず、CPU61は、振幅特性−R’(ω)から振幅値の小い順に上位8個のディップDips(s=1〜8)を検出する。次に、CPU61は、振幅特性−R’(ω)におけるディップDip1の周波数を中心周波数cf1とし、ディップDip1の振幅値をゲインg1とし、予め設定されていた固定値qdefaultをQ値q1とする。そして、CPU61は、この中心周波数cf1、ゲインg1、及びQ値q1の組をPEQ54−1に与えるPEQパラメータp1とする。以下、同様に、CPU61は、振幅特性−R’(ω)におけるディップDip2、Dip3…Dip8から、PEQパラメータp2、p3…p8を決定する。
First, the
さらに、この場合における振幅特性平滑化処理では、CPU61は、振幅特性F(ω)のエネルギーEn(n=1,2…N)を移動平均する帯域幅W1を、PEQ54−i(i=1〜4)に与える固定値qdefaultに応じて調整するようにしてもよい。具体的には、CPU61は、次のような処理を行うとよい。CPU61は、振幅特性F(ω)を帯域幅W1分ずつ移動平均した移動平均振幅特性F’(ω)を求める。CPU61は、移動平均振幅特性F’(ω)におけるピークを検出し、検出した各ピークの各々における半値幅(ピークの周波数fとこの周波数fの1/√2の振幅を有する周波数fΔとの間の帯域幅)を求める。また、CPU61は、移動平均振幅特性F’(ω)におけるディップを検出し、検出した各ディップの各々における半値幅(ディップの周波数fとこの周波数fよりも振幅が1/√2だけ大きくなる周波数fΔとの間の帯域幅)を求める。
Further, in the amplitude characteristic smoothing process in this case, the
CPU61は、移動平均振幅特性F’(ω)のピーク及びディップについて求めた半値幅のうち1つ以上の半値幅が固定値qdefaultより小さい場合(つまり、当該移動平均振幅特性F’(ω)が固定値qdefaultが示すものよりも鋭いピークまたはディップを1つ以上含んでいる場合)、帯域幅W1を所定値ΔWだけ広い帯域幅W1+ΔWとし、振幅特性F(ω)を帯域幅(W+ΔW)分ずつ移動平均した移動平均振幅特性F’(ω)を求める。CPU61は、固定値qdefaultが示すものよりも鋭いピークまたはディップを1つも含んでいない移動平均振幅特性F’(ω)が得られるまで、ΔWを大きくしながら以上の処理を繰り返す。そして、この条件を満足する移動平均振幅特性F’(ω)が得られると、得られた移動平均振幅特性F’(ω)における移動平均振幅値Pn’(n=1,2…N)に振幅のオフセット値(6dB)を加算した移動平均振幅値Pn’(n=1,2…N)+6dBを求め、移動平均振幅値Pn’(n=1,2…N)+6dBを低域側から順に並べたものを振幅特性H(ω)とする。さらに、この振幅特性H(ω)と振幅特性F(ω)の差の振幅特性(H(ω)−F(ω))に逆FFT処理を施したものを補正用のインパルス応答データとする。振幅特性平滑化処理をこのような内容とすることにより、振幅特性平滑化処理が施されたインパルス応答データの振幅特性H(ω)のピークやディップが急峻すぎて、PEQ54−i(i=1〜4)によるイコライジングが良好に行えない、という事態の発生を防止することができる。
When one or more half-value widths calculated for the peak and dip of the moving average amplitude characteristic F ′ (ω) are smaller than the fixed value q default , the CPU 61 (that is, the moving average amplitude characteristic F ′ (ω)). Includes one or more peaks or dips sharper than those indicated by the fixed value q default ), the bandwidth W1 is set to a bandwidth W1 + ΔW wide by a predetermined value ΔW, and the amplitude characteristic F (ω) is the bandwidth (W + ΔW). A moving average amplitude characteristic F ′ (ω) obtained by moving average every minute is obtained. The
1…音響空間、10…マイクロホン、20…スピーカ、31,32…アンプ部、40…音場支援装置、51…ミキサ、52…EMR、53…FIRフィルタ、54…PEQ、55…スイッチ、56…加算器、57…コンプレッサ、58…レベル・ディレイマトリックス、61…CPU、62…RAM、63…ROM、64…ノイズジェネレータ、65…操作部。
DESCRIPTION OF
Claims (3)
前記インパルス応答取得手段が取得したインパルス応答に対して当該インパルス応答の振幅特性を平滑化する振幅特性平滑化処理を施す振幅特性平滑化手段と、
前記振幅特性平滑化手段によって振幅特性平滑化処理が施されたインパルス応答を前記マイクロホンが収音した音の音信号に畳み込んだ音信号を生成し、生成した音信号を前記スピーカから放音させるディジタルフィルタ手段と、
前記マイクロホン及びスピーカが設けられた音響空間と前記ディジタルフィルタ手段とを含む音響帰還系の振幅特性を補正する補正手段と、
前記音響帰還系の振幅特性が目標特性以下となるように前記補正手段の伝達関数を制御する伝達関数制御手段と
を具備することを特徴とする音場支援装置。 Impulse response acquisition means for setting the target acoustic space as a target acoustic space different from the acoustic space provided with the microphone and the speaker, and acquiring the impulse response of the target acoustic space;
Amplitude characteristic smoothing means for performing an amplitude characteristic smoothing process for smoothing the amplitude characteristic of the impulse response with respect to the impulse response acquired by the impulse response acquisition means;
A sound signal is generated by convolving the impulse response subjected to the amplitude characteristic smoothing process by the amplitude characteristic smoothing unit with the sound signal of the sound collected by the microphone, and the generated sound signal is emitted from the speaker. Digital filter means;
Correction means for correcting amplitude characteristics of an acoustic feedback system including the acoustic space provided with the microphone and the speaker and the digital filter means;
And a transfer function control unit that controls a transfer function of the correction unit so that an amplitude characteristic of the acoustic feedback system is equal to or less than a target characteristic.
The transfer function control means sets the digital filter means in a through state, and a first amplitude characteristic which is an amplitude characteristic of an acoustic feedback system including the digital filter means in the through state and the acoustic space, and the amplitude characteristic smoothing A second amplitude characteristic which is an amplitude characteristic in which a dip in the amplitude characteristic of the processed impulse response is filled is calculated, and the summed amplitude characteristic of the calculated first and second amplitude characteristics is equal to or less than the target characteristic. The sound field support apparatus according to claim 1, wherein a transfer function of the correction unit is controlled as described above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010200366A JP5593988B2 (en) | 2010-09-07 | 2010-09-07 | Sound field support device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010200366A JP5593988B2 (en) | 2010-09-07 | 2010-09-07 | Sound field support device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012060333A JP2012060333A (en) | 2012-03-22 |
JP5593988B2 true JP5593988B2 (en) | 2014-09-24 |
Family
ID=46056913
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010200366A Expired - Fee Related JP5593988B2 (en) | 2010-09-07 | 2010-09-07 | Sound field support device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5593988B2 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06186966A (en) * | 1992-12-21 | 1994-07-08 | Casio Comput Co Ltd | Effector |
JP4077279B2 (en) * | 2002-08-30 | 2008-04-16 | アルパイン株式会社 | Reverberation level control device |
JP5217875B2 (en) * | 2008-10-08 | 2013-06-19 | ヤマハ株式会社 | Sound field support device, sound field support method and program |
-
2010
- 2010-09-07 JP JP2010200366A patent/JP5593988B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2012060333A (en) | 2012-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2595896C2 (en) | Circuit of preliminary controller of correcting audio using alternating supporting set of loudspeakers | |
US10028055B2 (en) | Audio signal correction and calibration for a room environment | |
US8150069B2 (en) | Signal processing apparatus, signal processing method, and sound field correction system | |
US9716962B2 (en) | Audio signal correction and calibration for a room environment | |
US9948261B2 (en) | Method and apparatus to equalize acoustic response of a speaker system using multi-rate FIR and all-pass IIR filters | |
JP6251054B2 (en) | Sound field correction apparatus, control method therefor, and program | |
EP3871212B1 (en) | Tuning method, manufacturing method, computer-readable storage medium and tuning system | |
CN112562624B (en) | Active noise reduction filter design method, noise reduction method, system and electronic equipment | |
US8583717B2 (en) | Signal processing circuit | |
JP4899897B2 (en) | Signal processing apparatus, signal processing method, and sound field correction system | |
CN113409755A (en) | Active noise reduction method and device and active noise reduction earphone | |
US7995774B2 (en) | Sound field control apparatus and sound field control method | |
JP5315904B2 (en) | Sound field support device, sound field support method and program | |
TWI843240B (en) | Method for generating active noise reduction filter, storage medium and earphone | |
JP5593988B2 (en) | Sound field support device | |
RU2448414C2 (en) | Signal quality determination in cable networks | |
JP6399864B2 (en) | Controller design apparatus, controller design method and program | |
JP5217875B2 (en) | Sound field support device, sound field support method and program | |
JP5239670B2 (en) | Sound field support device, sound field support method and program | |
JP2013178536A (en) | Apparatus, method and program for controlling parameter of equalizer | |
JP6304643B2 (en) | Nonlinear distortion reduction apparatus, method, and program for speaker | |
US20240203391A1 (en) | Tools and methods for designing filters for use in active noise cancelling systems | |
JP2000013158A (en) | Audio equipment | |
CN113923556A (en) | Noise reduction processing method, apparatus, device, storage medium, and program | |
CN117979207A (en) | Frequency response correction method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130724 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140708 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140721 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5593988 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |