[pulseaudio-discuss] Biquad LR4 for module-lfe-lp
justin at justinzane.com
Fri Mar 29 15:36:09 PDT 2013
Now that I have a possibly working rewind implementation, Iwanted to make sure
that I understand your guidance on doing a correct LR4. Following is what I
currently think I need to do:
- split channels into 3 sets: lowpass, highpass, and allpass
- calculate the respective biquad coefficients using a Q=0.5, with one set of
coefficients for both stages of the lp/hp/ap cascades -- that is,
- use two separate data buffersfor each channel, for the first and second stages
respectively -- that is,
Another question I have is whether float or double are more appropriate for the
actual calculations. Reducing my implementation from double to float seems wise
to me for speed and space reasons on 32bit platforms, but I'm not sure that
loss of precision in an IIR filter is acceptable.
If you review the actual code, I know it is not done to the style standards. I
am going to clean it up once I've made sure that it is fundamentally correct.
Thanks for your patience while I am learning.
More information about the pulseaudio-discuss