pub struct Wavefolder { /* private fields */ }Expand description
Wavefolder, ported from daisysp::Wavefolder. Input magnitude beyond 1.0 (post-gain)
folds back on itself instead of clipping.
Implementations§
Source§impl Wavefolder
impl Wavefolder
Sourcepub fn set_offset(&mut self, offset: f32)
pub fn set_offset(&mut self, offset: f32)
Sets a pre-gain DC offset for asymmetrical folding.
Trait Implementations§
Source§impl Clone for Wavefolder
impl Clone for Wavefolder
Source§fn clone(&self) -> Wavefolder
fn clone(&self) -> Wavefolder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Wavefolder
Source§impl Debug for Wavefolder
impl Debug for Wavefolder
Auto Trait Implementations§
impl Freeze for Wavefolder
impl RefUnwindSafe for Wavefolder
impl Send for Wavefolder
impl Sync for Wavefolder
impl Unpin for Wavefolder
impl UnsafeUnpin for Wavefolder
impl UnwindSafe for Wavefolder
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