This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TAS5548 Biquad Filter b0 b1 b2 a1 a2 如何计算?

Other Parts Discussed in Thread: TAS5548

以下算法是否可行?

A     = sqrt[ 10^(dBgain/20) ]

omega = 2*pi*frequency/sampleRate

sin   = sin(omega)

cos   = cos(omega)

alpha = sin/(2*Q)

   高通滤波器系数的计算:

             b0 =  (1 + cos)/2
             b1 = -(1 + cos)
             b2 =  (1 + cos)/2
             a0 =    1 + alpha
             a1 =  -2*cos
             a2 =    1 – alpha

低通滤波器系数的计算:

               b0 = (1 - cos)/2

             b1 =    1 - cos
             b2 =  (1 - cos)/2
             a0 =    1 + alpha
             a1 =  -2*cos
             a2=   1 – alpha