Skip to content

Filter switching while in the middle of ramp does not blow up.

Changes are to filter on/off switching

  1. Filters using the ramp method now use a so-called 'quadratic' ramp. See comments in #672.
  2. Filter code cleaned up. Logic made more explicit and magic numbers changed to named values for switch options.
  3. Ramp filters now reverse the ramp back to the start if the filter is switched back while ramping.
  4. Fix bug where crossing filters would not clear the timeout counter when a switch is aborted. The next time the filter is switched, the timeout would be shorter than expected.
  5. Unit tests added for filter switching.

Closes #670 (closed)

Edited by Erik von Reis

Merge request reports

Loading