IIR EQ base class#294
Conversation
This allows to create most of fidlib filters. Added a Butterworth4 filter to test it out.
Repaired ramping (regression from last commit)
|
@badescunicu please have a look. Thank you. |
There was a problem hiding this comment.
You forgot an "R" : ENGINEFILTERBESSEL4_H
|
LGTM. It is a nice addition because a lot of code was duplicated before. |
|
Notes addressed. Any one else willing to review? |
There was a problem hiding this comment.
PASS should be an enum or enum class.
|
do we have any tests so we can prove this is a noop? I would be satisfied with running data through the old version and making "golden data" out of that to test against. |
Do you think we need a Test in terms of Google test? |
|
@ywwg: Is it merge-able now? |
There was a problem hiding this comment.
please change bacause to because
|
Beside the style nitpicks and the comment about your new fading code LGTM. A test that the copied processSample function still produce the same result would be nice but I also feel comfortable merging this without |
This avoids the gain drop during filter change, and is a good compromise between a setteld filter and latency.
|
Thank you for review. I will merge it now since this is the base of all upcoming EQ PRs and it will be tested a lot during those tests. |
This introduces a common base class for all fidlib based Filters.
It makes use of templates to be generic as possible, without introducing CPU overhead.