pub struct Lowpass<const N: usize> { /* fields omitted */ }
Expand description
Arbitrary order, high dynamic range, wide coefficient range,
lowpass filter implementation. DC gain is 1.
Type argument N is the filter order.
Update the filter with a new sample.
x
: Input data. Needs 1 bit headroom but will saturate cleanly beyond that.
k
: Log2 time constant, 1..=31.
Filtered output y.
Performs copy-assignment from source
. Read more
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.