Elegant Butterworth and Chebyshev filter implemented in C, with float/double precision support. Works well on many platforms. You can also use this package in C++ and bridge to many other languages for good performance.
Features
- lowpass
- highpass
- bandpass
- bandstop
This imlementation is based on algorithm from http://www.exstrom.com/journal/sigproc/
make example
./example
-
Create a filter object using
create_***_pass/stop(params...)
-
Use filter to filter incoming numbers one by one. The output is a double or float that can be specified in header.
-
After using the filter, release the filter using
free_***_pass/stop(filter)
.