pub struct Delay {
pub time: EffectTime,
pub max_seconds: f64,
pub feedback: f32,
pub mix: f32,
}Expand description
Fractional-sample delay with linear interpolation and optional negative feedback.
Fields§
§time: EffectTime§max_seconds: f64Capacity allocated at installation, 1 sample..=10 seconds. Updates may use this capacity but cannot enlarge it without installing a new chain.
feedback: f32-0.99..=0.99.
mix: f32Linear dry/wet blend, 0..=1.
Trait Implementations§
impl Copy for Delay
impl StructuralPartialEq for Delay
Auto Trait Implementations§
impl Freeze for Delay
impl RefUnwindSafe for Delay
impl Send for Delay
impl Sync for Delay
impl Unpin for Delay
impl UnsafeUnpin for Delay
impl UnwindSafe for Delay
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