pub enum ChirpMethod {
Linear,
Quadratic {
vertex_zero: bool,
},
Logarithmic,
Hyperbolic,
}Expand description
How the frequency of a chirp moves from f0 at t = 0 to f1 at t = t1.
Variants§
Linear
Quadratic
Quadratic, with the parabola’s vertex at t = 0 (vertex_zero = true) or at t1.
Logarithmic
Geometric: f(t) = f0 (f1/f0)^{t/t1}.
Hyperbolic
f(t) = f0 f1 t1 / ((f0 − f1) t + f1 t1).
Trait Implementations§
Source§impl Clone for ChirpMethod
impl Clone for ChirpMethod
impl Copy for ChirpMethod
Source§impl Debug for ChirpMethod
impl Debug for ChirpMethod
impl Eq for ChirpMethod
Source§impl PartialEq for ChirpMethod
impl PartialEq for ChirpMethod
impl StructuralPartialEq for ChirpMethod
Auto Trait Implementations§
impl Freeze for ChirpMethod
impl RefUnwindSafe for ChirpMethod
impl Send for ChirpMethod
impl Sync for ChirpMethod
impl Unpin for ChirpMethod
impl UnsafeUnpin for ChirpMethod
impl UnwindSafe for ChirpMethod
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