pub struct Svf<T> { /* private fields */ }
Expand description
State variable filter
https://www.earlevel.com/main/2003/03/02/the-digital-state-variable-filter/
Implementations§
source§impl<T: Float + FloatConst> Svf<T>
impl<T: Float + FloatConst> Svf<T>
sourcepub fn set_frequency(&mut self, f0: T)
pub fn set_frequency(&mut self, f0: T)
Set the critical frequency
In units of the sample frequency.
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for Svf<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Svf<T>where
T: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T: PartialEq> PartialEq for Svf<T>
impl<T: PartialEq> PartialEq for Svf<T>
source§impl<T: PartialOrd> PartialOrd for Svf<T>
impl<T: PartialOrd> PartialOrd for Svf<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<T: Copy> Copy for Svf<T>
impl<T> StructuralPartialEq for Svf<T>
Auto Trait Implementations§
impl<T> Freeze for Svf<T>where
T: Freeze,
impl<T> RefUnwindSafe for Svf<T>where
T: RefUnwindSafe,
impl<T> Send for Svf<T>where
T: Send,
impl<T> Sync for Svf<T>where
T: Sync,
impl<T> Unpin for Svf<T>where
T: Unpin,
impl<T> UnwindSafe for Svf<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more