A passive boundary filter with H(z) = g (1 - a) / (1 - a z^-1). More...
#include <waveguide_reflection_filter.hpp>
Public Member Functions | |
| void | set_reflection_gain (SampleType gain) noexcept |
| void | set_loss_pole (SampleType pole) noexcept |
| SampleType | reflection_gain () const noexcept |
| SampleType | loss_pole () const noexcept |
| SampleType | process (SampleType input) noexcept |
| void | reset () noexcept |
Static Public Attributes | |
| static constexpr double | minimum_reflection_gain = -0.999 |
| static constexpr double | maximum_reflection_gain = 0.999 |
| static constexpr double | default_reflection_gain = -0.995 |
| static constexpr double | minimum_loss_pole = 0.0 |
| static constexpr double | maximum_loss_pole = 0.9999 |
| static constexpr double | default_loss_pole = 0.20 |
A passive boundary filter with H(z) = g (1 - a) / (1 - a z^-1).
The sign of g selects open-end (negative) or rigid-end (positive) reflection. For the legal ranges, |H| <= |g| < 1 at every frequency. Every operation is bounded, lock-free, and allocation-free.
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |