kfrlib / kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
https://www.kfrlib.com
GNU General Public License v2.0
1.65k stars 253 forks source link

Add biquad_filter ctor for ease of use #80

Closed BenjaminNavarro closed 4 years ago

BenjaminNavarro commented 4 years ago

The kfr::to_sos function returns a vector of biquad parameters so it makes sense to be able to pass it directly to construct a biquad_filter instead of having to pass pointer+size

I'm still very new to this library so there are maybe some other places where a similar change would be beneficial.

dancazarin commented 4 years ago

Thank you. Good addition.