Struct rg3d_sound::dsp::filters::Biquad [−][src]
pub struct Biquad { /* fields omitted */ }
Expand description
Generic second order digital filter. More info here: https://ccrma.stanford.edu/~jos/filters/BiQuad_Section.html
Implementations
Creates new filter of given kind with specified parameters, where:
fc
- normalized frequency
gain
- desired gain at fc
quality
- defines band width at which amplitude decays by half (or by 3 db in log scale), the lower it will
be, the wider band will be and vice versa. See more info here
Creates new instance of filter with given coefficients.
Tunes filter using specified parameters.
kind
- new kind of filter.
fc
- normalized frequency
gain
- desired gain at fc
quality
- defines band width at which amplitude decays by half (or by 3 db in log scale), the lower it will
be, the wider band will be and vice versa. See more info here
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Biquad
impl UnwindSafe for Biquad
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.
pub fn vzip(self) -> V