Bandpass

Struct Bandpass 

Source
pub struct Bandpass(/* private fields */);
Expand description

Bandpass filter.

Implementations§

Source§

impl Bandpass

Source

pub fn signal(&self) -> Parameter

Source

pub fn cutoff(&self) -> Parameter

Source

pub fn q(&self) -> Parameter

Methods from Deref<Target = Node>§

Source

pub fn sink(&self) -> Sink

Trait Implementations§

Source§

impl Add<&Bandpass> for f64

Source§

type Output = Add

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Bandpass) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<Bandpass> for f64

Source§

type Output = Add

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Bandpass) -> Self::Output

Performs the + operation. Read more
Source§

impl<Rhs: Into<Parameter>> Add<Rhs> for &Bandpass

Source§

type Output = Add

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Rhs) -> Self::Output

Performs the + operation. Read more
Source§

impl<Rhs: Into<Parameter>> Add<Rhs> for Bandpass

Source§

type Output = Add

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Rhs) -> Self::Output

Performs the + operation. Read more
Source§

impl Clone for Bandpass

Source§

fn clone(&self) -> Bandpass

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<V: Into<Parameter>> CutoffInput<V> for Bandpass

Source§

fn with_cutoff(self, value: V) -> Self

Source§

fn set_cutoff(&self, value: V) -> &Self

Source§

impl Debug for Bandpass

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Bandpass

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Deref for Bandpass

Source§

type Target = Node

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl Div<&Bandpass> for f64

Source§

type Output = Div

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Bandpass) -> Self::Output

Performs the / operation. Read more
Source§

impl Div<Bandpass> for f64

Source§

type Output = Div

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Bandpass) -> Self::Output

Performs the / operation. Read more
Source§

impl<Rhs: Into<Parameter>> Div<Rhs> for &Bandpass

Source§

type Output = Div

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Rhs) -> Self::Output

Performs the / operation. Read more
Source§

impl<Rhs: Into<Parameter>> Div<Rhs> for Bandpass

Source§

type Output = Div

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Rhs) -> Self::Output

Performs the / operation. Read more
Source§

impl From<&Bandpass> for Parameter

Source§

fn from(node: &Bandpass) -> Self

Converts to this type from the input type.
Source§

impl From<Bandpass> for Parameter

Source§

fn from(node: Bandpass) -> Self

Converts to this type from the input type.
Source§

impl Mul<&Bandpass> for f64

Source§

type Output = Mul

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Bandpass) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Bandpass> for f64

Source§

type Output = Mul

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Bandpass) -> Self::Output

Performs the * operation. Read more
Source§

impl<Rhs: Into<Parameter>> Mul<Rhs> for &Bandpass

Source§

type Output = Mul

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Rhs) -> Self::Output

Performs the * operation. Read more
Source§

impl<Rhs: Into<Parameter>> Mul<Rhs> for Bandpass

Source§

type Output = Mul

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Rhs) -> Self::Output

Performs the * operation. Read more
Source§

impl Neg for &Bandpass

Source§

type Output = Neg

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for Bandpass

Source§

type Output = Neg

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Processor for Bandpass

Source§

fn sink(&self) -> Sink

Source§

fn node(&self) -> Node

Source§

fn fin(self)

Source§

impl<V: Into<Parameter>> QInput<V> for Bandpass

Source§

fn with_q(self, value: V) -> Self

Source§

fn set_q(&self, value: V) -> &Self

Source§

impl Rem<&Bandpass> for f64

Source§

type Output = Rem

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Bandpass) -> Self::Output

Performs the % operation. Read more
Source§

impl Rem<Bandpass> for f64

Source§

type Output = Rem

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Bandpass) -> Self::Output

Performs the % operation. Read more
Source§

impl<Rhs: Into<Parameter>> Rem<Rhs> for &Bandpass

Source§

type Output = Rem

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Rhs) -> Self::Output

Performs the % operation. Read more
Source§

impl<Rhs: Into<Parameter>> Rem<Rhs> for Bandpass

Source§

type Output = Rem

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Rhs) -> Self::Output

Performs the % operation. Read more
Source§

impl<V: Into<Parameter>> SignalInput<V> for Bandpass

Source§

fn with_signal(self, value: V) -> Self

Source§

fn set_signal(&self, value: V) -> &Self

Source§

impl Sub<&Bandpass> for f64

Source§

type Output = Sub

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Bandpass) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<Bandpass> for f64

Source§

type Output = Sub

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Bandpass) -> Self::Output

Performs the - operation. Read more
Source§

impl<Rhs: Into<Parameter>> Sub<Rhs> for &Bandpass

Source§

type Output = Sub

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Rhs) -> Self::Output

Performs the - operation. Read more
Source§

impl<Rhs: Into<Parameter>> Sub<Rhs> for Bandpass

Source§

type Output = Sub

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Rhs) -> Self::Output

Performs the - operation. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ProcessorExt for T
where T: Processor, &'a T: for<'a> Into<Parameter>,

Source§

fn abs(&self) -> Abs

Computes the absolute value of input. Returns NAN if the number is NAN.
Source§

fn acos(&self) -> Acos

Computes the arccosine of a number. Return value is in radians in the range [0, pi] or NaN if the number is outside the range [-1, 1].
Source§

fn acosh(&self) -> Acosh

Inverse hyperbolic cosine function.
Source§

fn add<Lhs>(&self, lhs: Lhs) -> Add
where Lhs: Into<Parameter>,

Adds two signals together
Source§

fn add_mul<Add, Mul>(&self, add: Add, mul: Mul) -> AddMul
where Add: Into<Parameter>, Mul: Into<Parameter>,

Fused multiply-add. Computes (input + add) * mul with only one rounding error, yielding a more accurate result than an unfused add-multiply.
Source§

fn asin(&self) -> Asin

Computes the arcsine of a number. Return value is in radians in the range [-pi/2, pi/2] or NaN if the number is outside the range [-1, 1].
Source§

fn asinh(&self) -> Asinh

Inverse hyperbolic sine function.
Source§

fn atan(&self) -> Atan

Computes the arctangent of a number. Return value is in radians in the range [-pi/2, pi/2];
Source§

fn atan2<Lhs>(&self, lhs: Lhs) -> Atan2
where Lhs: Into<Parameter>,

Computes the four quadrant arctangent of lhs (y) and rhs (x) in radians. Read more
Source§

fn atanh(&self) -> Atanh

Inverse hyperbolic tangent function.
Source§

fn cbrt(&self) -> Cbrt

Returns the cube root of a number.
Source§

fn ceil(&self) -> Ceil

Returns the smallest integer greater than or equal to a number.
Source§

fn clamp<Min, Max>(&self, min: Min, max: Max) -> Clamp
where Min: Into<Parameter>, Max: Into<Parameter>,

Restrict a value to a certain interval unless it is NaN. Read more
Source§

fn copysign<Lhs>(&self, lhs: Lhs) -> Copysign
where Lhs: Into<Parameter>,

Returns a number composed of the magnitude of lhs and the sign of rhs. Read more
Source§

fn cos(&self) -> Cos

Computes the cosine of a number (in radians).
Source§

fn cosh(&self) -> Cosh

Hyperbolic cosine function.
Source§

fn div<Lhs>(&self, lhs: Lhs) -> Div
where Lhs: Into<Parameter>,

Divides the left hand signal by the right
Source§

fn div_euclid<Lhs>(&self, lhs: Lhs) -> DivEuclid
where Lhs: Into<Parameter>,

Calculates Euclidean division, the matching method for rem_euclid. Read more
Source§

fn exp(&self) -> Exp

Returns e^(self), (the exponential function).
Source§

fn exp2(&self) -> Exp2

Returns 2^(self)
Source§

fn exp_m1(&self) -> ExpM1

Returns e^(self) - 1 in a way that is accurate even if the number is close to zero.
Source§

fn floor(&self) -> Floor

Returns the largest integer less than or equal to a number.
Source§

fn fract(&self) -> Fract

Returns the fractional part of a number.
Source§

fn hypot<Lhs>(&self, lhs: Lhs) -> Hypot
where Lhs: Into<Parameter>,

Calculates the length of the hypotenuse of a right-angle triangle given legs of length x and y.
Source§

fn ln(&self) -> Ln

Returns the natural logarithm of the number.
Source§

fn ln1p(&self) -> Ln1p

Returns ln(1+n) (natural logarithm) more accurately than if the operations were performed separately.
Source§

fn log<Lhs>(&self, lhs: Lhs) -> Log
where Lhs: Into<Parameter>,

Returns the logarithm of the number with respect to an arbitrary base. Read more
Source§

fn log10(&self) -> Log10

Returns the base 10 logarithm of the number.
Source§

fn log2(&self) -> Log2

Returns the base 2 logarithm of the number.
Source§

fn max<Lhs>(&self, lhs: Lhs) -> Max
where Lhs: Into<Parameter>,

Returns the maximum of the two numbers. Read more
Source§

fn min<Lhs>(&self, lhs: Lhs) -> Min
where Lhs: Into<Parameter>,

Returns the minimum of the two numbers. Read more
Source§

fn mul<Lhs>(&self, lhs: Lhs) -> Mul
where Lhs: Into<Parameter>,

Multiplies two signals together
Source§

fn mul_add<Mul, Add>(&self, mul: Mul, add: Add) -> MulAdd
where Mul: Into<Parameter>, Add: Into<Parameter>,

Fused multiply-add. Computes (input * mul) + add with only one rounding error, yielding a more accurate result than an unfused multiply-add.
Source§

fn neg(&self) -> Neg

The unary negation operator -.
Source§

fn norm(&self) -> Norm

Normalizes a number. Read more
Source§

fn pass(&self) -> Pass

Passes the input signal to the output signal
Source§

fn powf<Lhs>(&self, lhs: Lhs) -> Powf
where Lhs: Into<Parameter>,

Raises a number to a floating point power.
Source§

fn powi<Lhs>(&self, lhs: Lhs) -> Powi
where Lhs: Into<Parameter>,

Raises a number to an integer power. Read more
Source§

fn recip(&self) -> Recip

Takes the reciprocal (inverse) of a number, 1/x.
Source§

fn rem<Lhs>(&self, lhs: Lhs) -> Rem
where Lhs: Into<Parameter>,

Returns the remainder of the left hand signal by the right
Source§

fn rem_euclid<Lhs>(&self, lhs: Lhs) -> RemEuclid
where Lhs: Into<Parameter>,

Calculates the least nonnegative remainder of lhs (mod rhs). Read more
Source§

fn round(&self) -> Round

Returns the nearest integer to a number. Round half-way cases away from 0.0.
Source§

fn select<Positive, Negative>( &self, positive: Positive, negative: Negative, ) -> Select
where Positive: Into<Parameter>, Negative: Into<Parameter>,

If cond is positive, then positive is returned. Otherwise negative is returned.
Source§

fn signum(&self) -> Signum

Returns a number that represents the sign of self. Read more
Source§

fn sin(&self) -> Sin

Computes the sine of a number (in radians).
Source§

fn sinh(&self) -> Sinh

Hyperbolic sine function.
Source§

fn sqrt(&self) -> Sqrt

Returns the square root of a number. Read more
Source§

fn sub<Lhs>(&self, lhs: Lhs) -> Sub
where Lhs: Into<Parameter>,

Subtracts rhs from lhs
Source§

fn tan(&self) -> Tan

Computes the tangent of a number (in radians).
Source§

fn tanh(&self) -> Tanh

Hyperbolic tangent function.
Source§

fn to_degrees(&self) -> ToDegrees

Converts radians to degrees.
Source§

fn to_radians(&self) -> ToRadians

Converts degrees to radians.
Source§

fn trunc(&self) -> Trunc

Returns the integer part of a number.
Source§

fn allpass(&self) -> Allpass

Allpass filter.
Source§

fn allpole(&self) -> Allpole

Allpass filter with adjustable delay (delay > 0) in samples at DC.
Source§

fn bandpass(&self) -> Bandpass

Bandpass filter.
Source§

fn bell(&self) -> Bell

Bell filter.
Source§

fn butterpass(&self) -> Butterpass

Butterworth lowpass filter (2nd order).
Source§

fn highpass(&self) -> Highpass

Highpass filter.
Source§

fn highpole(&self) -> Highpole

One-pole, one-zero highpass filter (1st order).
Source§

fn highshelf(&self) -> Highshelf

Highshelf filter.
Source§

fn lowpass(&self) -> Lowpass

Lowpass filter.
Source§

fn lowpole(&self) -> Lowpole

One-pole lowpass filter (1st order).
Source§

fn lowshelf(&self) -> Lowshelf

Lowshelf filter.
Source§

fn moog(&self) -> Moog

Moog resonant lowpass filter.
Source§

fn morph(&self) -> Morph

Morphing filter that morphs between lowpass, peak and highpass modes.
Source§

fn notch(&self) -> Notch

Notch filter.
Source§

fn peak(&self) -> Peak

Peak filter.
Source§

fn pinkpass(&self) -> Pinkpass

Pinking filter.
Source§

fn resonator(&self) -> Resonator

Constant-gain bandpass resonator.
Source§

fn shaper(&self) -> Shaper

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.