TWI781714B - Method for equalizing input signal to generate equalizer output signal and parametric equalizer - Google Patents
Method for equalizing input signal to generate equalizer output signal and parametric equalizer Download PDFInfo
- Publication number
- TWI781714B TWI781714B TW110128847A TW110128847A TWI781714B TW I781714 B TWI781714 B TW I781714B TW 110128847 A TW110128847 A TW 110128847A TW 110128847 A TW110128847 A TW 110128847A TW I781714 B TWI781714 B TW I781714B
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- input
- equalizer
- protection
- circuit
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000012935 Averaging Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 14
- FFBHFFJDDLITSX-UHFFFAOYSA-N benzyl N-[2-hydroxy-4-(3-oxomorpholin-4-yl)phenyl]carbamate Chemical compound OC1=C(NC(=O)OCC2=CC=CC=C2)C=CC(=C1)N1CCOCC1=O FFBHFFJDDLITSX-UHFFFAOYSA-N 0.000 description 13
- 230000005236 sound signal Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
Images
Abstract
Description
本發明係有關於頻率響應補償,尤指一種用以等化一輸入訊號以產生一等化器輸出訊號的方法以及相關參數等化器。 The present invention relates to frequency response compensation, especially a method for equalizing an input signal to generate an output signal of an equalizer and related parameter equalizers.
參數等化器係一種可以配置參數(諸如中心頻率(center frequency)及品質因數(quality factor,Q))以對輸入訊號進行輸出頻率響應調變的等化器。藉由利用參數等化器,當輸入至參數等化器的訊號之位準(level)太大時,可避免發生訊號的削波(clipping),然而,當輸入至參數等化器的訊號之位準太小時,藉由利用固定增益衰減的參數等化器無法達到良好的聽覺效果,因此,為了解決上述問題,極需一種用以針對輸入訊號之位準來補償輸出頻率響應的方法以及相關參數等化器。 A parametric equalizer is an equalizer that can configure parameters such as a center frequency (center frequency) and a quality factor (quality factor (Q)) to modulate an output frequency response to an input signal. By using the parametric equalizer, when the level of the signal input to the parametric equalizer is too large, clipping of the signal can be avoided. However, when the signal input to the parametric equalizer is If the level is too small, good hearing effects cannot be achieved by using a parametric equalizer with fixed gain attenuation. Therefore, in order to solve the above problems, a method for compensating the output frequency response for the level of the input signal and related Parametric equalizer.
因此,本發明的目的之一在於提供一種用以等化一輸入訊號以產生一等化器輸出訊號的方法以及相關參數等化器,以解決上述問題。 Therefore, one object of the present invention is to provide a method for equalizing an input signal to generate an output signal of an equalizer and a related parametric equalizer to solve the above problems.
根據本發明之一實施例,揭露了一種參數等化器。該參數等化器可包含一等化器電路、一第一保護電路、一第二保護電路以及一第一加法電路,等化器電路可用以接收一輸入訊號,並且處理輸入訊號以產生一輸出訊號,第一保護電路可用以根據輸出訊號、輸入訊號以及一第一處理訊號來產生一第一保護訊號,其中第一保護訊號的一峰值位準受保護而小於或等於第一保護電路所使用的一第一門檻值,第二保護電路可用以根據輸入訊號以及一第二處理訊號來產生一第二保護訊號,其中第一處理訊號涉及第二處理訊號的產生,第二處理訊號涉及第一處理訊號的產生,以及第一處理訊號的一峰值位準受保護而小於或等於第二保護電路所使用的一第二門檻值,第一加法電路可耦接於第一保護電路以及第二保護電路,並且用以將第一保護訊號與第二保護訊號結合以產生一等化器輸出訊號。 According to an embodiment of the present invention, a parameter equalizer is disclosed. The parametric equalizer may include an equalizer circuit, a first protection circuit, a second protection circuit and a first summing circuit, the equalizer circuit may receive an input signal and process the input signal to generate an output signal, the first protection circuit can be used to generate a first protection signal according to the output signal, the input signal and a first processing signal, wherein a peak level of the first protection signal is protected to be less than or equal to that used by the first protection circuit A first threshold value of the second protection circuit can be used to generate a second protection signal according to the input signal and a second processing signal, wherein the first processing signal is related to the generation of the second processing signal, and the second processing signal is related to the first The processing signal is generated, and a peak level of the first processing signal is protected to be less than or equal to a second threshold used by the second protection circuit. The first summing circuit can be coupled to the first protection circuit and the second protection circuit. The circuit is used to combine the first protection signal and the second protection signal to generate an equalizer output signal.
根據本發明之一實施例,揭露了一種用以等化一輸入訊號以產生一等化器輸出訊號的方法。該方法可包含:接收輸入訊號,並且處理輸入訊號以產生一輸出訊號;根據輸出訊號、輸入訊號以及一第一處理訊號來產生一第一保護訊號,其中第一保護訊號的一峰值位準受保護而小於或等於一第一門檻值;根據輸入訊號以及一第二處理訊號來產生一第二保護訊號,其中第一處理訊號涉及第二處理訊號的產生,第二處理訊號涉及第一處理訊號的產生,以及第一處理訊號的一峰值位準受保護而小於或等於一第二門檻值;以及將第一保護訊號與第二保護訊號結合以產生等化器輸出訊號。 According to an embodiment of the present invention, a method for equalizing an input signal to generate an output signal of an equalizer is disclosed. The method may include: receiving an input signal, and processing the input signal to generate an output signal; generating a first protection signal according to the output signal, the input signal and a first processed signal, wherein a peak level of the first protection signal is controlled by The protection is less than or equal to a first threshold value; a second protection signal is generated according to the input signal and a second processing signal, wherein the first processing signal is related to the generation of the second processing signal, and the second processing signal is related to the first processing signal and a peak level of the first processed signal is protected to be less than or equal to a second threshold; and combining the first protected signal and the second protected signal to generate an equalizer output signal.
100,200,700:參數等化器 100,200,700: parameter equalizer
12,22:等化器電路 12,22: equalizer circuit
14,16,202,204:保護電路 14, 16, 202, 204: protection circuit
18,34:平均電路 18,34: average circuit
20,26,36:加法電路 20,26,36: Adding circuit
A_IN:輸入訊號 A_IN: input signal
EQ_OUT:輸出訊號 EQ_OUT: output signal
PROCESS_1:第一處理訊號 PROCESS_1: first process signal
PROCESS_2:第二處理訊號 PROCESS_2: second processing signal
PROTECT_1:第一保護訊號 PROTECT_1: First protection signal
PROTECT_2:第二保護訊號 PROTECT_2: Second protection signal
PEQ_OUT:等化器輸出訊號 PEQ_OUT: equalizer output signal
TH1:第一門檻值 TH1: the first threshold
TH2:第二門檻值 TH2: the second threshold
AV:平均值 AV: average value
24,32:減法電路 24,32: Subtraction circuit
28,30:自動增益控制電路 28,30: Automatic gain control circuit
PAD:預調整訊號 PAD: pre-adjustment signal
RMS:均方根 RMS: root mean square
702,704:多工器 702,704: multiplexer
S1:第一選擇訊號 S 1 : The first selection signal
S2:第二選擇訊號 S 2 : Second selection signal
MUX_OUT_1:第一多工器輸出訊號 MUX_OUT_1: The first multiplexer output signal
MUX_OUT_2:第二多工器輸出訊號 MUX_OUT_2: Second multiplexer output signal
S50~S64:步驟 S50~S64: steps
第1圖為依據本發明一實施例之參數等化器的方塊圖。 FIG. 1 is a block diagram of a parameter equalizer according to an embodiment of the present invention.
第2圖為依據本發明一實施例之第1圖所示之參數等化器的示意圖。 FIG. 2 is a schematic diagram of the parameter equalizer shown in FIG. 1 according to an embodiment of the present invention.
第3圖為依據本發明一實施例之第2圖所示之參數等化器操作於案例1下的操作示意圖。
FIG. 3 is a schematic diagram of the operation of the parameter equalizer shown in FIG. 2 in
第4圖為依據本發明一實施例之第2圖所示之參數等化器操作於案例2下的操作示意圖。
FIG. 4 is a schematic diagram of the operation of the parameter equalizer shown in FIG. 2 in
第5圖為依據本發明一實施例之第2圖所示之參數等化器操作於案例3下的操作示意圖。 FIG. 5 is a schematic diagram of the operation of the parameter equalizer shown in FIG. 2 in Case 3 according to an embodiment of the present invention.
第6圖為依據本發明一實施例之藉由第2圖所示之參數等化器所取得的頻率響應示意圖。 FIG. 6 is a schematic diagram of the frequency response obtained by the parameter equalizer shown in FIG. 2 according to an embodiment of the present invention.
第7圖為依據本發明另一實施例之參數等化器的示意圖。 FIG. 7 is a schematic diagram of a parameter equalizer according to another embodiment of the present invention.
第8圖為依據本發明一實施例之一種用以等化一輸入訊號以產生一等化器輸出訊號的方法之流程圖。 FIG. 8 is a flowchart of a method for equalizing an input signal to generate an output signal of an equalizer according to an embodiment of the present invention.
第1圖為依據本發明一實施例之參數等化器100的方塊圖。參數等化器100可接收一輸入訊號A_IN諸如一音頻訊號(audio signal),並且等化輸入訊號A_IN以產生一等化器輸出訊號PEQ_OUT,如第1圖所示,參數等化器100可包含有一等化器電路12、複數個保護電路14以及16、一平均電路18以及一加法電路20。等化器電路12可用以接收輸入訊號A_IN,並且處理輸入訊號A_IN以產生一輸出訊號EQ_OUT。保護電路14可用以根據輸出訊號EQ_OUT、輸入訊號A_IN以及一第一處理訊號PROCESS_1來產生一第一保護訊號PROTECT_1,其中第一保護訊號PROTECT_1的一峰值位準(peak level)受保護而小於或等於保護電路14所使用的一第一門檻值TH1,舉例來說,第一門檻值TH1可以為一使用者可程式化(user-programmable)參數。保護電路16可用以根據輸入訊號A_IN以及一第二處
理訊號PROCESS_2來產生一第二保護訊號PROTECT_2,其中第一處理訊號PROCESS_1涉及第二保護訊號PROTECT_2的產生,第二處理訊號PROCESS_2涉及第一保護訊號PROTECT_1的產生,以及第一處理訊號PROCESS_1的一峰值位準受保護而小於或等於保護電路16所使用的一第二門檻值TH2。平均電路18可用以產生輸入訊號A_IN之一平均值AV以作為第二門檻值TH2(亦即TH2=AV),舉例來說,平均值AV可以為輸入訊號A_IN之一均方根(root-mean-square,RMS)值,也就是說,第二門檻值TH2等於輸入訊號A_IN之均方根值,但是本發明不限於此。加法電路20可耦接於保護電路14以及保護電路16,並且可用以將第一保護訊號PROTECT_1與第二保護訊號PROTECT_2結合,以產生等化器輸出訊號PEQ_OUT(亦即PEQ_OUT=PROTECT_1+PROTECT_2)。
FIG. 1 is a block diagram of a
參數等化器100能夠根據輸入訊號A_IN之位準來動態地調整應用於輸入訊號A_IN的等化(equalization),第2圖為依據本發明一實施例之第1圖所示之參數等化器100的示意圖。第1圖所示之參數等化器100可藉由第2圖所示之一參數等化器200來實作(亦即參數等化器200也採用第1圖所示之參數等化器100之架構),參數等化器200可包含有一等化器電路22、複數個保護電路202以及204(例如複數個保護電路14以及16可藉由複數個保護電路202以及204來實作)、一平均電路34以及一加法電路36,等化器電路22可用以接收輸入訊號A_IN,並且處理輸入訊號A_IN以產生輸出訊號EQ_OUT。
The
在本實施例中,保護電路202可包含有一減法電路24、一加法電路26以及一自動增益控制電路28。減法電路24可耦接於等化器電路22,並且用以接收輸入訊號A_IN,以及自輸出訊號EQ_OUT減去輸入訊號A_IN以產生第二處理
訊號PROCESS_2(亦即PROCESS_2=EQ_OUT-A_IN)。加法電路26可耦接於減法電路24以及保護電路204,並且可以用以將第一處理訊號PROCESS_1與第二處理訊號PROCESS_2結合以產生一預調整(pre-adjusted)訊號PAD(亦即PAD=PROCESS_1+PROCESS_2)。自動增益控制電路28可耦接於加法電路26,並且可用以根據預調整訊號PAD以及第一門檻值TH1來產生第一保護訊號PROTECT_1,其中第一保護訊號PROTECT_1的一峰值位準受保護而小於或等於自動增益控制電路28所使用的第一門檻值TH1。
In this embodiment, the
保護電路204可包含有一自動增益控制電路30以及一減法電路32。自動增益控制電路30可耦接於減法電路24以及加法電路26,並且可用以根據第二處理訊號PROCESS_2以及第二門檻值TH2來產生第一處理訊號PROCESS_1,其中第一處理訊號PROCESS_1的一峰值位準受保護而小於或等於自動增益控制電路30所使用的第二門檻值TH2。減法電路32可耦接於自動增益控制電路30,並且可用以自輸入訊號A_IN減去第一處理訊號PROCESS_1以產生第二保護訊號PROTECT_2(亦即PROTECT_2=A_IN-PROCESS_1)。平均電路34可用以產生輸入訊號A_IN之平均值AV以作為第二門檻值TH2,其中平均值AV可以為輸入訊號A_IN之均方根值(亦即第二門檻值TH2等於輸入訊號A_IN之均方根值,但是本發明不以此為限)。加法電路36可耦接於保護電路202以及保護電路204,並且可用以將第一保護訊號PROTECT_1與第二保護訊號PROTECT_2結合,以產生等化器輸出訊號PEQ_OUT。
The
根據輸入訊號A_IN之一輸入位準、輸出訊號EQ_OUT之一峰值位準以及第一門檻值TH1,本發明中等化輸入訊號A_IN以產生等化器輸出訊號PEQ_OUT的處理可劃分為3個案例(例如案例1、案例2以及案例3)。
According to the input level of the input signal A_IN, the peak level of the output signal EQ_OUT and the first threshold value TH1, the processing of the present invention to equalize the input signal A_IN to generate the equalizer output signal PEQ_OUT can be divided into three cases (for
請搭配參照第2圖以及第3圖,第3圖為依據本發明一實施例之第2圖所示之參數等化器200操作於案例1下的操作示意圖。在案例1中,輸入訊號A_IN之輸入位準以及輸出訊號EQ_OUT之峰值位準皆小於或等於第一門檻值TH1,舉例來說,輸入訊號A_IN之輸入位準係為1,等化器電路22的一峰值增益係為30(亦即輸出訊號EQ_OUT之峰值位準係為30),以及第一門檻值TH1被設置為50。自動增益控制電路28之目的在於保護第一保護訊號PROTECT_1之峰值位準以使得第一保護訊號PROTECT_1之峰值位準小於或等於第一門檻值TH1,並且預調整訊號PAD之峰值位準等於輸出訊號EQ_PUT之峰值位準(例如預調整訊號PAD之峰值位準等於30),由於預調整訊號PAD之峰值位準小於或等於第一門檻值TH1,因此當預調整訊號PAD通過自動增益控制電路28時,無需箝制(clamp)第一保護訊號PROTECT_1之峰值位準,如此一來,第一保護訊號PROTECT_1之峰值位準與以及等化器輸出訊號PEQ_OUT之峰值位準皆會與預調整訊號PAD之峰值位準相同(例如第一保護訊號PROTECT_1之峰值位準以及等化器輸出訊號PEQ_OUT之峰值位準皆等於30),此外,第一保護訊號PROTECT_1之峰值位準大於輸入訊號A_IN之輸入位準,藉由通過加法電路36來將第一保護訊號PROTECT_1與第二保護訊號PROTECT_2結合,等化器輸出訊號PEQ_OUT之最小位準等於輸入訊號A_IN之輸入位準(例如等化器輸出訊號PEQ_OUT之最小位準等於1)。對於案例1來說,參數等化器200作為一尖峰濾波器(peaking filter),其在中心頻率(center frequency)附近提供一升壓(boost),而無需位準箝制(level clamping),並且具有遠離中心頻率之單位增益(unity gain)。
Please refer to FIG. 2 and FIG. 3 together. FIG. 3 is a schematic diagram of the operation of the
請搭配參照第2圖以及第4圖,第4圖為依據本發明一實施例之第2圖所示之參數等化器200操作於案例2下的操作示意圖。在案例2中,輸入訊號A_IN
之輸入位準小於或等於第一門檻值TH1,而輸出訊號EQ_OUT之峰值位準大於第一門檻值TH1,舉例來說,輸入訊號A_IN之輸入位準係為30,等化器電路22的一峰值增益係為30(亦即輸出訊號EQ_OUT之峰值位準係為900),以及第一門檻值TH1被設置為50,預調整訊號PAD之峰值位準等於輸出訊號EQ_PUT之峰值位準(例如預調整訊號PAD之峰值位準等於900),自動增益控制電路28之目的在於保護第一保護訊號PROTECT_1之峰值位準以使得第一保護訊號PROTECT_1之峰值位準小於或等於第一門檻值TH1,由於預調整訊號PAD之峰值位準大於第一門檻值TH1,因此當預調整訊號PAD通過自動增益控制電路28時,第一保護訊號PROTECT_1之峰值位準被限制在第一門檻值TH1(例如第一保護訊號PROTECT_1之峰值位準被限制在50),如此一來,等化器輸出訊號PEQ_OUT之峰值位準等於第一保護訊號PROTECT_1之峰值位準(亦即等化器輸出訊號PEQ_OUT之峰值位準等於50),此外,第一保護訊號PROTECT_1之箝制後的峰值位準大於輸入訊號A_IN之輸入位準,因此,藉由通過加法電路36來將第一保護訊號PROTECT_1與第二保護訊號PROTECT_2結合,等化器輸出訊號PEQ_OUT之最小位準等於輸入訊號A_IN之輸入位準(例如等化器輸出訊號PEQ_OUT之最小位準等於30)。對於案例2來說,參數等化器200作為一尖峰濾波器,其在中心頻率附近利用位準箝制來提供升壓,並且具有遠離中心頻率之單位增益。
Please refer to FIG. 2 and FIG. 4 together. FIG. 4 is a schematic diagram of the operation of the
請搭配參照第2圖以及第5圖,第5圖為依據本發明一實施例之第2圖所示之參數等化器200操作於案例3下的操作示意圖。在案例3中,輸入訊號A_IN之輸入位準與輸出訊號EQ_OUT之峰值位準皆大於第一門檻值TH1,舉例來說,輸入訊號A_IN之輸入位準係為70,等化器電路22的一峰值增益係為30(亦即輸出訊號EQ_OUT之峰值位準係為2100),以及第一門檻值TH1被設置為50,預調
整訊號PAD之峰值位準等於輸出訊號EQ_PUT之峰值位準(例如預調整訊號PAD之峰值位準等於2100),自動增益控制電路28之目的在於保護第一保護訊號PROTECT_1之峰值位準以使得第一保護訊號PROTECT_1之峰值位準小於或等於第一門檻值TH1,由於預調整訊號PAD之峰值位準大於第一門檻值TH1,因此當預調整訊號PAD通過自動增益控制電路28時,第一保護訊號PROTECT_1之峰值位準被限制在第一門檻值TH1(例如第一保護訊號PROTECT_1之峰值位準被限制在50),此外,第一保護訊號PROTECT_1之箝制後的峰值位準小於輸入訊號A_IN之輸入位準,因此,藉由通過加法電路36來將第一保護訊號PROTECT_1與第二保護訊號PROTECT_2結合,等化器輸出訊號PEQ_OUT之最大位準等於輸入訊號A_IN之輸入位準(例如等化器輸出訊號PEQ_OUT之最大位準等於70),以及等化器輸出訊號PEQ_OUT之最小位準等於第一保護訊號PROTECT_1之峰值位準(例如等化器輸出訊號PEQ_OUT之谷值位準(valley level)等於50)。對於案例3來說,參數等化器200作為一陷波濾波器(notch filter),其在中心頻率附近利用位準箝制來提供抑制(suppression),並且具有遠離中心頻率之單位增益。
Please refer to FIG. 2 and FIG. 5 together. FIG. 5 is a schematic diagram of the operation of the
第6圖為依據本發明一實施例之藉由第2圖所示之參數等化器200所取得的頻率響應示意圖。如第6圖所示,假設參數等化器200以及等化器電路200的中心頻率係為103赫茲(hertz,Hz),第一門檻值TH1係為30分貝(decibel,dB),以及輸入訊號A_IN的輸入位準係為0分貝至50分貝,其中0分貝至20分貝係為上述案例1,30分貝係為上述案例2,以及40分貝至50分貝係為上述案例3。
FIG. 6 is a schematic diagram of a frequency response obtained by the
在案例1中,由於輸入訊號A_IN之輸入位準以及輸出訊號EQ_OUT之峰值位準皆小於或等於第一門檻值TH1,參數等化器200僅在中心頻率103赫茲的位置放大(amplify)輸入訊號A_IN,而無需保護第一保護訊號PROTECT_1之峰
值位準以使得第一保護訊號PROTECT_1之峰值位準小於或等於自動增益控制電路28所使用的第一門檻值TH1。
In
在案例2中,由於輸入訊號A_IN之輸入位準小於或等於第一門檻值TH1,而輸出訊號EQ_OUT之峰值位準大於第一門檻值TH1,參數等化器200可保護第一保護訊號PROTECT_1之峰值位準以使得第一保護訊號PROTECT_1之峰值位準小於或等於自動增益控制電路28所使用的第一門檻值TH1,因此,第一保護訊號PROTECT_1之峰值位準被限制在第一門檻值TH1(例如第一保護訊號PROTECT_1之峰值位準被限制在30分貝),以及等化器輸出訊號PEQ_OUT之峰值位準等於第一保護訊號PROTECT_1之峰值位準(亦即等化器輸出訊號PEQ_OUT之峰值位準等於30分貝)。
In
在案例3中,由於輸入訊號A_IN之輸入位準與輸出訊號EQ_OUT之峰值位準皆大於第一門檻值TH1,參數等化器200可保護第一保護訊號PROTECT_1之峰值位準以使得第一保護訊號PROTECT_1之峰值位準小於或等於自動增益控制電路28所使用的第一門檻值TH1,因此,第一保護訊號PROTECT_1之峰值位準被限制在第一門檻值TH1(例如第一保護訊號PROTECT_1之峰值位準被限制在30分貝),此外,由於輸入訊號A_IN之輸入位準高於第一保護訊號PROTECT_1之峰值位準,因此等化器輸出訊號PEQ_OUT(PEQ_OUT=PROTECT_1+PROTECT_2)具有一谷值位準其等於第一保護訊號PROTECT_1之峰值位準(亦即等化器輸出訊號PEQ_OUT的谷值位準等於30分貝)。
In Case 3, since both the input level of the input signal A_IN and the peak level of the output signal EQ_OUT are greater than the first threshold value TH1, the
為了進行本發明之參數等化器的多個操作模式,2個2對1(2-to-1)多工器(multiplexer,MUX)可耦接至參數等化器200,第7圖為依據本發明另一實
施例之參數等化器700的示意圖。參數等化器700可包含有參數等化器200以及複數個多工器702以及704,並且可支援3種操作模式:純PEQ模式、APEQ單一模式以及APEQ限制模式。
In order to perform multiple operation modes of the parameter equalizer of the present invention, two 2-to-1 (2-to-1) multiplexers (multiplexer, MUX) can be coupled to the
如第7圖所示,多工器702可具有一第一輸入埠(於第7圖中標記為“1”)、一第二輸入埠(於第7圖中標記為“0”)以及一第一輸出埠,其中第一輸入埠可用以接收輸入訊號A_IN,第二輸入埠可耦接於參數等化器200,並且可用以根據一第一選擇訊號S1來將第一輸出埠耦接至第一輸入埠以及第二輸入埠的其中一個,以產生一第一多工器輸出訊號MUX_OUT_1。
As shown in FIG. 7, the
當參數等化器700需要被操作於APEQ單一模式並且參數等化器200的輸入訊號A_IN之輸入位準大於第一門檻值TH1時,第一選擇訊號S1可被設置為一邏輯位準(例如S1=“1”),其指示多工器702應將第一輸出埠耦接至第一輸入埠(亦即第一多工器輸出訊號MUX_OUT_1等於輸入訊號A_IN),此外,當參數等化器700需要被操作於APEQ限制模式並且參數等化器200的輸入訊號A_IN之輸入位準小於或等於第一門檻值TH1時,第一選擇訊號S1可被設置為另一邏輯位準(例如S1=“0”),其指示多工器702應將第一輸出埠耦接至第二輸入埠(亦即第一多工器輸出訊號MUX_OUT_1等於等化器輸出訊號PEQ_OUT)。
When the
如第7圖所示,多工器704可具有一第三輸入埠(於第7圖中標記為“0”)、一第四輸入埠(於第7圖中標記為“1”)以及一第二輸出埠,其中第三輸入埠可耦接至參數等化器200之等化器電路22,並且可用以接收輸出訊號EQ_OUT,第四輸入埠可耦接至多工器702的第一輸出埠,並且可用以接收第一多工器輸出訊號MUX_OUT_1,以及多工器704可用以根據一第二選擇訊號S2來
將第二輸出埠耦接至第三輸入埠以及第四輸入埠的其中一個,以產生一第二多工器輸出訊號MUX_OUT_2。
As shown in Figure 7, the
當參數等化器700需要被操作於APEQ單一模式或APEQ限制模式時,第二選擇訊號S2可被設置為一邏輯位準(例如S2=“1”),其指示多工器704應將第二輸出埠耦接至第四輸入埠(亦即第二多工器輸出訊號MUX_OUT_2等於第一多工器輸出訊號MUX_OUT_1),此外,當參數等化器700需要被操作於純PEQ模式時,第二選擇訊號S2可被設置為另一邏輯位準(例如S2=“0”),其指示多工器704應將第二輸出埠耦接至第三輸入埠(亦即第二多工器輸出訊號MUX_OUT_2等於輸出訊號EQ_OUT)。
When the
第8圖為依據本發明一實施例之一種用以等化輸入訊號A_IN以產生等化器輸出訊號PEQ_OUT的方法之流程圖。假若可以得到相同的結果,則步驟不一定要完全遵照第8圖所示的流程來依序執行,舉例來說,第8圖所示之方法可由參數等化器100/200來加以實現。
FIG. 8 is a flowchart of a method for equalizing an input signal A_IN to generate an equalizer output signal PEQ_OUT according to an embodiment of the present invention. If the same result can be obtained, the steps do not have to be executed sequentially according to the flow shown in FIG. 8 . For example, the method shown in FIG. 8 can be implemented by the
在步驟S50中,對輸入訊號A_IN進行平均值計算以產生輸入訊號A_IN的平均值AV來作為第二門檻值TH2。 In step S50 , an average value calculation is performed on the input signal A_IN to generate an average value AV of the input signal A_IN as the second threshold TH2 .
在步驟S52中,接收並且等化輸入訊號A_IN,以產生輸出訊號EQ_OUT。 In step S52, the input signal A_IN is received and equalized to generate the output signal EQ_OUT.
在步驟S54中,接收輸入訊號A_IN並且自輸出訊號EQ_OUT減去輸入訊號A_IN,以產生第二處理訊號PROCESS_2。 In step S54, the input signal A_IN is received and subtracted from the output signal EQ_OUT to generate the second processing signal PROCESS_2.
在步驟S56中,根據第二處理訊號PROCESS_2以及第二門檻值TH2來產生第一處理訊號PROCESS_1。 In step S56, the first processing signal PROCESS_1 is generated according to the second processing signal PROCESS_2 and the second threshold TH2.
在步驟S58中,將第一處理訊號PROCESS_1與第二處理訊號PROCESS_2結合,以產生預調整訊號PAD。 In step S58 , the first processing signal PROCESS_1 and the second processing signal PROCESS_2 are combined to generate a pre-adjustment signal PAD.
在步驟S60中,根據預調整訊號PAD以及第一門檻值TH1來產生第一保護訊號PROTECT_1。 In step S60, a first protection signal PROTECT_1 is generated according to the pre-adjustment signal PAD and the first threshold TH1.
在步驟S62中,自輸入訊號A_IN減去第一處理訊號PROCESS_1,以產生第二保護訊號PROTECT_2。 In step S62 , the first processing signal PROCESS_1 is subtracted from the input signal A_IN to generate the second protection signal PROTECT_2 .
在步驟S64中,將第一保護訊號PROTECT_1與第二保護訊號PROTECT_2結合,以產生等化器輸出訊號PEQ_OUT。 In step S64 , the first protection signal PROTECT_1 and the second protection signal PROTECT_2 are combined to generate an equalizer output signal PEQ_OUT.
由於熟習技藝者可透過有關參數等化器100以及參數等化器200的說明書內容而輕易瞭解第8圖所示各步驟的操作,為了簡明起見,於本實施例中類似的內容在此不重複贅述。
Since those skilled in the art can easily understand the operation of each step shown in FIG. 8 through the contents of the description of the
以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.
100:參數等化器 100: Parametric equalizer
12:等化器電路 12: Equalizer circuit
14,16:保護電路 14,16: Protection circuit
18:平均電路 18: Average circuit
20:加法電路 20:Addition circuit
A_IN:輸入訊號 A_IN: input signal
EQ_OUT:輸出訊號 EQ_OUT: output signal
PROCESS_1:第一處理訊號 PROCESS_1: first process signal
PROCESS_2:第二處理訊號 PROCESS_2: second processing signal
PROTECT_1:第一保護訊號 PROTECT_1: First protection signal
PROTECT_2:第二保護訊號 PROTECT_2: Second protection signal
PEQ_OUT:等化器輸出訊號 PEQ_OUT: equalizer output signal
TH1:第一門檻值 TH1: the first threshold
TH2:第二門檻值 TH2: the second threshold
AV:平均值 AV: average value
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110128847A TWI781714B (en) | 2021-08-05 | 2021-08-05 | Method for equalizing input signal to generate equalizer output signal and parametric equalizer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110128847A TWI781714B (en) | 2021-08-05 | 2021-08-05 | Method for equalizing input signal to generate equalizer output signal and parametric equalizer |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI781714B true TWI781714B (en) | 2022-10-21 |
TW202307825A TW202307825A (en) | 2023-02-16 |
Family
ID=85475797
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110128847A TWI781714B (en) | 2021-08-05 | 2021-08-05 | Method for equalizing input signal to generate equalizer output signal and parametric equalizer |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI781714B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5101292B2 (en) * | 2004-10-26 | 2012-12-19 | ドルビー ラボラトリーズ ライセンシング コーポレイション | Calculation and adjustment of audio signal's perceived volume and / or perceived spectral balance |
CN104079247A (en) * | 2013-03-26 | 2014-10-01 | 杜比实验室特许公司 | Equalizer controller and control method |
US9053697B2 (en) * | 2010-06-01 | 2015-06-09 | Qualcomm Incorporated | Systems, methods, devices, apparatus, and computer program products for audio equalization |
CN107409256A (en) * | 2015-02-16 | 2017-11-28 | 歌拉利旺株式会社 | Sound field correcting apparatus, field calibration method and sound field correction program |
US9870783B2 (en) * | 2015-10-12 | 2018-01-16 | Microsoft Technology Licensing, Llc | Audio signal processing |
CN109845288A (en) * | 2016-10-14 | 2019-06-04 | 诺基亚技术有限公司 | Method and apparatus for the output signal equilibrium between microphone |
TWI662788B (en) * | 2009-02-18 | 2019-06-11 | 瑞典商杜比國際公司 | Complex exponential modulated filter bank for high frequency reconstruction or parametric stereo |
CN110024419A (en) * | 2016-10-11 | 2019-07-16 | Dts公司 | Balanced (GPEQ) filter of gain-phase and tuning methods for asymmetric aural transmission audio reproduction |
-
2021
- 2021-08-05 TW TW110128847A patent/TWI781714B/en active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5101292B2 (en) * | 2004-10-26 | 2012-12-19 | ドルビー ラボラトリーズ ライセンシング コーポレイション | Calculation and adjustment of audio signal's perceived volume and / or perceived spectral balance |
TWI662788B (en) * | 2009-02-18 | 2019-06-11 | 瑞典商杜比國際公司 | Complex exponential modulated filter bank for high frequency reconstruction or parametric stereo |
US9053697B2 (en) * | 2010-06-01 | 2015-06-09 | Qualcomm Incorporated | Systems, methods, devices, apparatus, and computer program products for audio equalization |
CN104079247A (en) * | 2013-03-26 | 2014-10-01 | 杜比实验室特许公司 | Equalizer controller and control method |
US10044337B2 (en) * | 2013-03-26 | 2018-08-07 | Dolby Laboratories Licensing Corporation | Equalizer controller and controlling method |
CN107409256A (en) * | 2015-02-16 | 2017-11-28 | 歌拉利旺株式会社 | Sound field correcting apparatus, field calibration method and sound field correction program |
US9870783B2 (en) * | 2015-10-12 | 2018-01-16 | Microsoft Technology Licensing, Llc | Audio signal processing |
CN110024419A (en) * | 2016-10-11 | 2019-07-16 | Dts公司 | Balanced (GPEQ) filter of gain-phase and tuning methods for asymmetric aural transmission audio reproduction |
CN109845288A (en) * | 2016-10-14 | 2019-06-04 | 诺基亚技术有限公司 | Method and apparatus for the output signal equilibrium between microphone |
Also Published As
Publication number | Publication date |
---|---|
TW202307825A (en) | 2023-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5394905B2 (en) | Automatic level control circuit, audio digital signal processor and variable gain amplifier gain control method using the same | |
JP5488389B2 (en) | Acoustic signal processing device | |
JP4161983B2 (en) | Sound quality adjustment device | |
US9691408B2 (en) | System and method for dynamic equalization of audio data | |
US8582784B2 (en) | Method and device for extension of low frequency output from a loudspeaker | |
US20100220864A1 (en) | Low frequency management for multichannel sound reproduction systems | |
US8868414B2 (en) | Audio signal processing device with enhancement of low-pitch register of audio signal | |
US20080152168A1 (en) | Audio signal frequency range boost circuits | |
US9473102B2 (en) | Level adjusting circuit, digital sound processor, audio AMP integrated circuit, electronic apparatus and method of automatically adjusting level of audio signal | |
TWI781714B (en) | Method for equalizing input signal to generate equalizer output signal and parametric equalizer | |
KR100565872B1 (en) | An arrangement, a system, a circuit and a method for enhancing a stereo image | |
US11601753B2 (en) | Method for equalizing input signal to generate equalizer output signal and associated parametric equalizer | |
CN115913183A (en) | Method for equalizing input signal to generate equalizer output signal and parameter equalizer | |
CN115696133A (en) | Method for equalizing signal and leveling equalizer | |
TWI778724B (en) | Method for equalizing first input signal to generate equalizer output signal and leveling equalizer | |
EP3994592A1 (en) | Method and apparatus for improving effective signal-to-noise ratio of analog to digital conversion for multi-band digital signal processing devices | |
JP2946884B2 (en) | Low frequency response correction circuit | |
US11757420B2 (en) | Method for dynamically adjusting adjustable gain value to equalize input signal to generate equalizer output signal and associated leveling equalizer | |
TWI765772B (en) | Method for equalizing input signal to generate equalizer output signal and parametric equalizer | |
JP4483468B2 (en) | Noise reduction circuit, electronic device, noise reduction method | |
JP2019080290A (en) | Signal processing apparatus, signal processing method, and speaker apparatus | |
JP4349329B2 (en) | Sound quality adjustment device | |
JP2011160281A (en) | Automatic level control circuit and audio digital signal processor employing the same, electronic equipment | |
JP2023022352A (en) | Gain control apparatus, gain control method, and audio device | |
JPH02168799A (en) | Speaker non-linear distortion prevention device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GD4A | Issue of patent certificate for granted invention patent |