pub enum DriveMode {
Soft,
Hard,
Tube,
}Expand description
Distortion shaping curve.
quiver’s Distortion also offers a foldback mode; it is deliberately
absent here because AudioNode::Fold already is that module, and a
second production for one timbre only splits the prior mass that teaches
the model what “folded” means.
Variants§
Soft
Bounded tanh — symmetric, warm.
Hard
Hard clip — symmetric, brittle.
Tube
Asymmetric tube curve. The only member that rectifies, so it is also
the only one that costs a DC blocker (see compile::makes_dc).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DriveMode
impl<'de> Deserialize<'de> for DriveMode
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
impl Copy for DriveMode
impl Eq for DriveMode
impl StructuralPartialEq for DriveMode
Auto Trait Implementations§
impl Freeze for DriveMode
impl RefUnwindSafe for DriveMode
impl Send for DriveMode
impl Sync for DriveMode
impl Unpin for DriveMode
impl UnsafeUnpin for DriveMode
impl UnwindSafe for DriveMode
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