pub struct EnvelopeFollower { /* private fields */ }Expand description
Envelope follower (tracks amplitude).
Implementations§
Source§impl EnvelopeFollower
impl EnvelopeFollower
Sourcepub fn with_attack(self, attack_sec: f32) -> Self
pub fn with_attack(self, attack_sec: f32) -> Self
Set attack time in seconds.
Sourcepub fn with_release(self, release_sec: f32) -> Self
pub fn with_release(self, release_sec: f32) -> Self
Set release time in seconds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnvelopeFollower
impl RefUnwindSafe for EnvelopeFollower
impl Send for EnvelopeFollower
impl Sync for EnvelopeFollower
impl Unpin for EnvelopeFollower
impl UnsafeUnpin for EnvelopeFollower
impl UnwindSafe for EnvelopeFollower
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