[−][src]Struct bae_rs::modifiers::bandpass::BandPass
-12dB per octave BandPass filter.
Methods
impl BandPass
[src]
pub fn new(f: MathT, q: MathT) -> Self
[src]
Creates a new BandPass object from the given central frequency and q value.
The filter's quality is set to the central frequency divided by the difference between the corner frequencies.
pub fn from_corners(f: (MathT, MathT)) -> Self
[src]
Creates a new BandPass object from given corner frequencies.
pub fn get_central_frequency(&self) -> MathT
[src]
Returns the central frequency of the filter.
pub fn set_central_frequency(&mut self, f: MathT)
[src]
Sets a new central frequency.
pub fn get_quality(&self) -> MathT
[src]
Returns the quality of the filter.
pub fn set_quality(&mut self, q: MathT)
[src]
Sets the quality of the filter.
The filter's quality is set to the central frequency divided by the difference between the corner frequencies.
pub fn get_corner_frequencies(&self) -> (MathT, MathT)
[src]
Returns the corner frequencies of the filter.
pub fn set_corner_frequencies(&mut self, f: (MathT, MathT))
[src]
Sets the corner frequencies of the filter.
Trait Implementations
impl Clone for BandPass
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Modifier for BandPass
[src]
Auto Trait Implementations
impl RefUnwindSafe for BandPass
impl Send for BandPass
impl Sync for BandPass
impl Unpin for BandPass
impl UnwindSafe for BandPass
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,