USPatent applicationPatented

Graphic equalizers

Granted 9 Mar 2010 · 1 office action

Assignee: Texas Instruments

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Ryo Tsutsui · Examiner: Xu Mei · AU 2614 · TC 2600

Life of the application

9 dated events
⤢ drag to zoom200420062008201020122014201620182020202220242026ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

Graphic equalizer as a cascade of equalization filters with the gain of each individual filter compensated for the gain leakage from other filters. A linear approximation allows individual filter gains to be set to give desired frequency responses.

Description

7 parts
›CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority from provisional application No. 60/571,233, filed May 14, 2004.

›BACKGROUND OF THE INVENTION

The present invention relates to digital signal processing, and more particularly to digital filters and methods.

Recorded music playback typically includes equalization filtering which can emphasize or attenuate frequency bands in order to improve the sound. A set of tunable equalization filters, each of which modifies a frequency band while leaving frequencies outside of the band unchanged, can be cascaded to provide graphic equalization filtering with control of the gains in the individual frequency bands; FIG. 4 shows generic functional blocks. A graphic equalizer may include a display of the power (gain) in each of the frequency bands; this allows easy user adjustments of the gains.

Regalia et al, Tunable Digital Frequency Response Equalization Filters, 35 IEEE Trans. Acoustics, Speech, and Signal Processing 118 (1987), Fontana et al, A Digtial Bandpass/Bandstop Complementary Equalization Filter with Independent Tuning Characteristics, 10 IEEE Signal Processing Lett. 119 (2003), and Bristow-Johnson, The Equivalence of Various Methods of Computing Biquad Coefficients for Audio Parametric Equalizers, Proc. Audio Eng. Soc. Conv. (November 1994) describe designs for individual tunable equalizer filters: first-order filters can be used for the high frequency and low frequency ends (shelf filters), and second-order filters can be used for the center bands (peak/notch filters). These filters provide single parameter (gain) control for each band and are cascaded to form a graphic (parametric) equalizer.

However, there is a problem of gain leakage among the adjacent bands in cascades of such individual equalization filters. Indeed, the magnitude response of one equalization filter will affect the responses of the other filters, and this “leak gain” affects the overall cascaded filter system response.

›SUMMARY OF THE INVENTION

The present invention provides cascaded equalization filters with compensation for the leak gain among the filters by individual filter gain determination in terms of desired gains.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows equalization filter overlap.

FIGS. 2 a - 2 d illustrate experimental results.

FIG. 3 is a flow diagram.

FIG. 4 shows a system.

›DESCRIPTION OF THE PREFERRED EMBODIMENTS · 1 of 2

1. Overview

Preferred embodiment graphic equalizers use cascaded equalization filters (shelf and peak/notch filters) and compensate for leak gain among the frequency bands by estimation of gain influence and modification of gain parameters. The individual equalization filters are parameterized by center and band-edge frequencies and gains; and the preferred embodiment graphic equalizer cascades equalization filters in which filter band-edge frequencies coincide with adjacent equalization filter center frequencies. Leak gains are linearly approximated so that from a given set of desired gains at center frequencies, the peak/notch filter gains for the individual equalization filters can be computed with low complexity.

Preferred embodiment systems perform preferred embodiment methods with any of several types of hardware: digital signal processors (DSPs), general purpose programmable processors, application specific circuits, or systems on a chip (SoC) such as combinations of a DSP and a RISC processor together with various specialized programmable accelerators such as for FFTs and variable length coding (VLC). A stored program in an onboard or external (flash EEP)ROM or FRAM could implement the signal processing. Analog-to-digital converters and digital-to-analog converters can provide coupling to the real world, modulators and demodulators (plus antennas for air interfaces) can provide coupling for transmission waveforms, and packetizers can provide formats for transmission over networks such as the Internet.

2. Prototype Peak/Notch Filter

The preferred embodiment graphic equalizers will be cascades of two first-order shelf filters (one for the low frequencies end and one for the high frequencies) plus multiple second-order peak/notch filters for the various frequency bands in between.

Start with a second-order prototype filter which has an analog transfer function defined as follows in terms of the complex frequency s=σ+jω:

F b ( s )= N ( s )/ D ( s )

with

N ( s )= s 2 +2 k 1/2 αω 0 s+ω 0 2

D ( s )= s 2 +2 k −1/2 αω 0 s+ω 0 2

where k and α are positive real parameters and ω 0 is a center frequency. It is clear from the definition of F b (s):

| F b ( j 0)|=| F b ( j ∞)|=1;

| F b ( jω 0 )|= k;

∂| F b |/∂ω( jω 0 )=0

and so F b (jω) has a peak/notch gain of k at a center frequency ω 0 .

Converting from the s plane to the z plane by the bilinear transform

s =(1 −z −1 )/(1 +z −1 )

z −1 =(1 −s )/(1 +s )

maps the imaginary axis of the s plane (frequencies) to the unit circle of the z plane (exponential of frequencies). Indeed, jω maps to (1−ω 2 )/(1+ω 2 )−j2ω/(1+ω 2 ) which is the point e −jΩ with cos Ω=(1−ω 2 )/(1+ω 2 ) and sin Ω=2ω/(1+ 2 ) and thus ω=tan(Ω/2). This mapping provides a digital interpretation of the transformed filter by substitution:

F b ( z )= N ( z )/ D ( z )

with

N ( z )=(1 +k 1/2 α2ω 0 +ω 0 2 )−2(1−ω 0 2 ) z −1 +(1 −k 1/2 α2ω 0 +ω 0 2 ) z −2

D ( z )=(1 +k −1/2 α2ω 0 +ω 0 2 )−2(1−ω 0 2 ) z −1 +(1 −k −1/2 α2ω 0 +ω 0 2 ) z −2

Then dividing both N(z) and D(z) by 1+ω 0 2 and denoting the image of jω 0 as e −jΩ 0 gives F b (z)=N′(z)/D′(z) with:

N ′( z )=(1 +k 1/2 α sin Ω 0 )−2 cos Ω 0 z −1 +(1 −k 1/2 α sin Ω 0 ) z −2

D ′( z )=(1 +k −1/2 α sin Ω 0 )−2 cos Ω 0 z −1 +(1 −k −1/2 α sin Ω 0 ) z −2

where Ω 0 represents the center frequency normalized by the Nyquist frequency in the digital domain. The frequency relation is:

ω 0 =tan(Ω 0 /2)

That is ω=tan(Ω/2), where Ω ranges −π<Ω<π.

The positive factor α in F b controls the bandwidth of the peak/notch filter where the bandwidth is defined in terms of frequencies at which the filter gain (in dB) equals one-half of the peak/notch gain k. In particular, let ω l and ω h be the lower and higher band-edge frequencies, respectively, so that by definition:

| F b ( jω l )|=| F b ( jω h )|= k 1/2

Solving for ω l and ω h from the definition of F b (jω) gives:

ω l 2 =ω 0 2 (1+2α 2 −[(1+2α 2 ) 2 −1)] 1/2 )

ω h 2 =ω 0 2 (1+2α 2 +[(1+2α 2 ) 2 −1)] 1/2 )

These two frequencies depend upon the bandwidth parameter α but not explicitly upon the gain k, and the two multipliers of ω 0 2 are reciprocals.

In general, the bandwidth is expressed in octaves; thus let 2b be the octave bandwidth which leads to

ω l =2 −b ω 0 and ω h =2 b ω 0

Hence, solving for α by adding the foregoing two multipliers of ω 0 2 gives:

α=(2 b −2 −b )/2

Note that α depends upon b but not upon k; this assures that F b (s) is gain-complementary. Indeed, if another transfer function, F bc (s), has gain 1/k at center frequency ω 0 and octave bandwidth 2b, then F b (s) F bc (s)=1 for all s. This is one of the advantages of the use of band-edge frequencies ω l and ω h for bandwidth definition.

3. Prototype Shelf Filters

The first-order shelf filters for low and high frequencies have the following respective analog transfer functions:

F l ( s )= N l ( s )/ D l ( s )

with

N l ( s )= s+k 1/2 ω 0

D l ( s )= s+k −1/2 ω 0

and

F h ( s )= N h ( s )/ D h ( s )

with

N h ( s )= k 1/2 s+ω 0

D h ( s )= k −1/2 s+ω 0

where k is the gain at the lowest/highest frequency, and ω 0 is the band-edge frequency where the gain is k 1/2 . More explicitly,

| F l ( j 0)|= k; |F l ( jω 0 )|= k 1/2 ; and | F l ( j ∞)|=1

| F h ( j 0)|=1 ;|F h ( jω 0 )|= k 1/2 ; and | F h ( j ∞)|= k

As described for the peak/notch filters, converting from the s plane to the z plane by the bilinear transform s=(1−z −1 )/(1+z −1 ) maps the imaginary axis of the s plane to the unit circle of the z plane and thereby allows a digital interpretation for the transformed filter:

F l ( z )= N l ( z )/ D l ( z )

with

N l ( z )=(1 +k 1/2 tan(Ω 0 /2))−(1 −k 1/2 tan(Ω 0 /2)) z −1

D l ( z )=(1 +k −1/2 tan(Ω 0 /2))−(1 −k −1/2 tan(Ω 0 /2)) z −1

and

F h ( z )= N h ( z )/ D h ( z )

with

N h ( z )=( k 1/2 +tan(Ω 0 /2))−( k 1/2 −tan(Ω 0 /2)) z −1

D h ( z )=( k −1/2 +tan(Ω 0 /2))−( k −1/2 −tan(Ω 0 /2)) z −1

4. Preferred Embodiment Cascade

A preferred embodiment graphic equalizer can be realized by cascading peak/notch filters plus low and high frequency shelf filters. Denote the overall transfer function by F(s), then

F ( s )= F l ( s ) F h ( s )Π 1≦n≦N F b (n) ( s )

›DESCRIPTION OF THE PREFERRED EMBODIMENTS · 2 of 2

where N is the number of peak/notch filters each of which has a transfer function F b (n) (s) with peak/notch gain k (n) at its center frequency. And the low and high frequency shelf filters have transfer functions F l (s) and F h (s), respectively, with gains k (l) and k (h) at s=j0 and j∞, respectively. Thus the overall response of the cascade at the mth center frequency, ω 0 (m) , is:

F ( jω 0 (m) )= F l ( jω 0 (m) ) F h ( jω 0 (m) )Π 1≦n≦N F b (n) ( jω 0 (m) )

The first preferred embodiment cascade has the N center frequencies ω 0 (1) , ω 0 (2) , . . . , ω 0 (N) equally spaced(by b octaves) in the analog domain and with each peak/notch filter's two band-edge frequencies at the two neighboring filters' center frequencies. And each shelf filter has its band-edge frequency at the neighboring peak/notch filter's center frequency. FIG. 1 illustrates the individual filter responses for an example when all of the gains, k (m) are equal to G dB for a G greater than 0.

It is important to note that the frequency allocation of the first preferred embodiment is determined in the analog domain. This design method is an alternative to that of Bristow-Johnson (cited in the background) in which the design specification for the bandwidth is made totally in the digital domain. The preferred embodiment method will cause the actual center frequencies in the digital domain to not be placed at the same octave distances, but closer together for the higher frequency filters due to the frequency warping (nonlinearity) of the bilinear transform: ω=tan(Ω/2).

5. Gain Leakage Compensation

The preferred embodiment cascade has “leak gains” which are to be compensated with low-complexity computations. More explicitly, first let g n (m) denote the gain of the nth peak/notch filter at the center frequency of the mth peak/notch filter; that is, for m, n=1, 2, . . . , N:

g n (m) =|F b (n) ( jω 0 (m) )|

Similarly, let g l (m) and g h (m) denote the gain of the low and high shelf filters, respectively, at the center frequency of the mth peak/notch filter; that is, for m=1, 2, . . . , N:

g l (m) =|F l ( jω 0 (m) )|

g h (m) =|F h ( jω 0 (m) )|

Thus the g l (m) , g h (m) , and g n (m) for n≠m are the gains which distort the mth peak/notch filter's gain and constitute the “leak gains” from the other filters.

Recall that the preferred embodiment cascade has the center frequencies separated by multiples of b octaves: ω 0 (n) =2 b(n−m) ω 0 (m) ; thus with the convenient notation S x =2 x −2 −x (so S 0 =0 and S −x =−S x ):

( g n ( m ) ) 2 = ( S b ⁡ ( n - m ) 2 + 4 ⁢ ⁢ α 2 ⁢ ⁢ k ( n ) ) / ( S b ⁡ ( n - m ) 2 + 4 ⁢ ⁢ α 2 / k ( n ) ) = ( S b ⁡ ( n - m ) 2 + S b 2 ⁢ ⁢ k ( n ) ) / ( S b ⁡ ( n - m ) 2 + S b 2 / k ( n ) )

where the section 2 computation of α 2 in terms bandwidth was used. The special cases of m=n and m=n±1 give the expected g n (n) =k (n) and g n (n±1) =(k (n) ) 1/2 , respectively.

Analogously for the low and high frequency shelf filters, whose band-edge frequencies have been set equal to the center frequencies of F b (l) and F b (N) , respectively:

( g l ( m ) ) 2 = { ( ω 0 ( m ) ) 2 + ( ω 0 ( 1 ) ) 2 ⁢ ⁢ k ( l ) } / { ( ω 0 ( m ) ) 2 + ( ω 0 ( 1 ) ) 2 / k ( l ) } ⁢ = ( 2 2 ⁢ b ⁡ ( m - 1 ) + k ( l ) ) / ( 2 2 ⁢ b ⁡ ( m - 1 ) + 1 / k ( l ) ) ( g h ( m ) ) 2 = { ( ω 0 ( m ) ) 2 + ( ω 0 ( N ) ) 2 ⁢ ⁢ k ( h ) } / { ( ω 0 ( m ) ) 2 + ( ω 0 ( N ) ) 2 / k ( h ) } ⁢ = ( 2 2 ⁢ b ⁡ ( N - m ) + k ( h ) ) / ( 2 2 ⁢ b ⁡ ( N - m ) + 1 / k ( h ) )

And the special cases of m=1 and m=N give the expected g l (l) =(k (l) ) 1/2 and g h (N) =(k (h) ) 1/2 .

Now for analytic convenience, convert all of the foregoing to dB by taking 20 log||. In particular, first define:

G (m) =20 log| F ( jω 0 (m) )|

G n (m) =20 log| F b (n) ( jω 0 (m) )|=20log| g n (m) |

G l (m) =20 log| F l ( jω 0 (m) )|=20 log| g l (m) |

G h (m) =20 log| F h ( jω 0 (m) )|=20 log| g h (m) |

Thus the overall response at the center frequencies is expressed as:

G ( m ) = G l ( m ) + G h ( m ) + ∑ 1 ≤ n ≤ N ⁢ G n ( m )

Note that the shelf filter gains are not affected by any leak gain because the limit frequencies of j0 and j∞ are an infinite number of octaves from the peak/notch filters; that is, |F(j0)|=k (l) and |F(j∞)|=k (h) .

Further, let K (n) be the peak/notch gain in dB of the peak/notch filters at their center frequencies, ω 0 (n) ; that is, K (n) =20 log |k (n) |.

Now, introduce a non-linear function h m (x) which essentially separates the octave and gain parameters of g n (m) in the dB domain and is defined by:

h m ( x )=10 log{( S mb 2 +S b 2 10 x/20 )/( S mb 2 +S b 2 /10 −x/20 )}

From the definitions it is clear that:

h 0 ( x )= x

h 1 ( x )= x /2

h −m ( x )= h m ( x )

G n (m) =h |n−m| ( K (n) )

And the overall cascade gain is then expressed as:

G ( m ) = G l ( m ) + G h ( m ) + ∑ 1 ≤ n ≤ N ⁢ h  n - m  ⁡ ( K ( n ) )

Thus the leakage gain problem translates to the problem of finding a set of individual peak/notch filter gains K (n) so that for each m the overall gain, G (m) , has the input desired value, say G d (m) , at center frequency, ω 0 (m) . That is, for desired shelf filter gains G l (m) and G h (m) plus desired center frequency gains N-vector G d (m) , preferred embodiment graphic equalizers find an N-vector of individual peak/notch filter center frequency gains K (n) so that

∑ 1 ≤ n ≤ N ⁢ h  n - m  ⁡ ( K ( n ) ) = G d ( m ) - G l ( m ) - G h ( m ) for ⁢ ⁢ m = 1 , 2 , … ⁢ , N .

and apply these center frequency gains to the individual peak/notch filters together with the desired shelf filter gains to the shelf filters.

For low computational complexity, preferred embodiment graphic equalizers approximate the non-linear functions h m (x) for m≧2 by a linear functions (note that h 0 (x)=x and h 1 (x)=x/2 are already linear functions):

h m ( x )≅ d m x for − K 0 ≦x≦+K 0 with a constant K 0

Thus d m =h m (K 0 )/K 0 .

Hence, the leak-gain problem becomes linear:

›HK=G

where the two N-vectors K and G are defined as:

K = [ K ( 1 ) K ( 2 ) ⋮ K ( N ) ] G = [ G d ( 1 ) - G l ( 1 ) - G h ( 1 ) G d ( 2 ) - G l ( 2 ) - G h ( 2 ) ⋮ G d ( N ) - G l ( N ) - G h ( N ) ]

and the symmetric N×N Toeplitz matrix H is:

H = [ 1 1 / 2 d 2 ⋯ d N - 1 1 / 2 1 1 / 2 ⋰ ⋮ d 2 1 / 2 1 ⋰ d 2 ⋮ ⋰ ⋰ ⋰ 1 / 2 d N - 1 ⋯ d 2 1 / 2 1 ]

The Levinson algorithm may be used to efficiently solve HK=G for K from the given H and G.

Thus the preferred embodiment graphic equalizer provides a set of center frequencies (at equal octave separations in the analog domain) with user adjustable desired overall gains at these frequencies. The filter is implemented as a cascade of low and high shelf filters plus second order peak/notch filters whose center and band-edge frequencies coincide with the set of center frequencies and with gains K determined by a processor/controller solving HK=G with G input desired overall gains at the center frequencies. Once the octave separation of the center frequencies, b, and the linearity approximation range, K 0 , are picked, the elements of H are determined by d m =h m (K 0 )/K 0 , and the inverse of H can be pre-computed. FIG. 3 is a flow diagram.

6. Experimental Results

A preferred embodiment graphic equalizer was compared to known designs for the same center frequencies and desired gains; FIGS. 2 a - 2 d show the results. In more detail, consider a graphic equalizer with a set of seven center frequencies, ω 0 (1) , ω 0 (2) , . . . , ω 0 (7) , with separations by one octave in the analog domain (i.e., ω 0 (n+1) /ω 0 (n) =2 and b=1) and normalized by taking ω 0 (7) =1.0. The desired gains (in dB) are G d (1) =−6, G d (2) =−6, G d (3) =−6, G d (4) =+3, G d (5) =−6, G d (6) =0, G d (7) =0. Also, presume the low and high frequency shelf filter gains are 0. These design criteria are illustrated by the points in FIG. 2 a.

In the digital domain the center frequencies are Ω 0 (n) =(2) arctan(2 n−7 ). The parameter α=(2 b −2 −b )/2=0.75. Taking the linearity range K 0 =12 gives the d m values as d 0 =1.0000, d 1 =0.5000, d 2 =0.1641, d 3 =0.0456, d 4 =0.0117, d 5 =0.0030, and d 6 =0.0007. FIG. 2 b shows the graphic equalizer response.

For comparison, a cascade of equalization filters was implemented with filters as in Bristow-Johnson (cited in the background) which have the same center frequencies but do not use any leak gain compensation. FIG. 2 c shows the response; note that at Ω=0.08π the gain climbs only up to +1 dB, whereas it should be +3 dB according to the specification ( FIG. 2 a ). This discrepancy is due to the leak gain from the neighboring filters which have gains set to −6 dB. A second design attempted to reduce the leak by narrowing the bandwidth of the filters, and this new cascade came up with the results shown in FIG. 2 d . But the curve in the Ω range 0.01π to 0.04π changes a lot between the specified center frequencies. In contrast, the preferred embodiment gives a more peak-gain-exact and smooth response curve.

7. Modifications

Various modifications of the preferred embodiment graphic equalizer can be made while retaining the feature of leak gain compensation.

For example, the linear approximation of the functions h m (x) could use the derivative of h m (x) at x=0 as the slope d m and thereby avoid the parameter K 0 ; indeed,

∂ h m /∂x (0)= S b 2 /( S mb 2 +S b 2 )=1/( S mb 2 /S b 2 +1)

For m=2 and b=1, ∂h 2 /∂x(0)=1/( S 2 2 /S 1 2 +1)=0.1379, which approximates the 0.1641 derived from K 0 =12. Similarly, for m=3, ∂h 3 /∂x(0)=0.0350 which approximates the 0.0456 derived from K 0 =12.

Other modifications would include a method that improves the accuracy of the linear approximation for h m (x). The steps are as follows:

(1) Solve the equation, K 1 =[K 1 (1) K 1 (2) . . . K 1 (N) ] T =H −1 G, where T indicates transpose. Note that H has been defined using the approximated with d m =h m (K 0 )/K 0 . (2) Using K 1 , replace the linear-approximated matrix H with H new as follows:

(3) Solve the new simultaneous equation, H new K new =G.

Note that usually H new will be more accurate than H, since it is likely that K 1 (n) is closer than K 0 to the “ideal solution” (without linear approximation) that satisfies

∑ 1 ≤ n ≤ N ⁢ h  n - m  ⁡ ( K ( n ) ) = G d ( m ) - G l ( m ) - G h ( m ) .

The disadvantage of this new method is its larger computational complexity. It requires solution of the simultaneous equation twice. Also, for the second simultaneous equation, the Levinson algorithm cannot be used because H new is not symmetric Toeplitz and more computationally expensive algorithm such as Gauss's algorithm or the Conjugate Gradient Algorithm will be used instead.

Claims as granted

8 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

7 codes
IPC · International Patent Classification
Section H — Electricity
  • H03G5/00
  • H03G5/02
  • H03K5/159
USPC · US Patent Classification
381/103333/28.R381/98381/101

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJul 2005Jan 2006Jul 2006Jan 2007Jul 2007Jan 2008Jul 2008Jan 2009Jul 2009Jan 2010USPTOApplicantNon-final rejectionNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
4.8 y
1,763 days filing → grant
Office actions
1
non-final + final
Responses
1
no RCE
Examiner
Xu Mei
art unit 2614 · TC 2600
Citations: 3 back · 50 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20062008201020122014201620182020202220242026Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock