Conversation
|
This was Chip's creation, so, Chip if you have thoughts, jump in. Otherwise, in looking at the issue, first, it needs a fix. Calling the filter without initialization doesn't work. But, standing back, it looks like begin() and the unlisted, but available end() are intended to allow the group of biquads to be used or bypassed, leaving their definitions in place. That would seem to be the role of doBiquad==true or false.
I think that covers the issue of running filters uninitialized. And I don't think it breaks existing code. And thanks for the filter counting changes. Thoughts? Bob |
Hi,
here are a few fixes to AudioFilterBiquad_F32.
The most important is the change that
begin()is now called onsetCoefficients().The reason is that
setCoefficientsenablesdoBiquad– but inupdate(), whendoBiquadis true butarm_biquad_cascade_df1_init_f32has not been called, this is an undefined state, causing teensy to reboot.