warrenwoolseyiii / common-embedded-filters

A collection of common filters for embedded systems, implemented in fixed & floating point arithmetic.
MIT License
1 stars 0 forks source link

Support non-standard filters #3

Closed warrenwoolseyiii closed 9 months ago

warrenwoolseyiii commented 9 months ago

The firwin2 FIR filter generator can support weird and non standard filters. There should be a filter mode that accepts a frequency range or isolated list of frequencies and desired gains to filter which is what the firwin2 function specializes in.

warrenwoolseyiii commented 9 months ago

Initial support now added as of: https://github.com/warrenwoolseyiii/common-embedded-filters/commit/c285cb4e8f3f82a700c8ebbf38a3d20afa464d3c

I still have to support custom gain settings coupled with frequency ranges.

warrenwoolseyiii commented 9 months ago

Custom gain settings supported here: 9bc491dfa443019b0811801976d2ce342b3ed4d0