pub struct Flanger {
pub rate: ModulationRate,
pub delay_ms: f32,
pub depth_ms: f32,
pub feedback: f32,
pub stereo_phase: f32,
pub mix: f32,
}Expand description
One sinusoidally modulated short delay tap per channel, creating a moving comb response when mixed with dry audio. Delay +/- depth must fit 1 sample..=20 ms. Default settings need at least 2000 Hz; reduce depth or increase delay below it.
Fields§
§rate: ModulationRate§delay_ms: f32§depth_ms: f32§feedback: f32-0.95..=0.95.
stereo_phase: f32Right-channel LFO offset in turns, 0..=1.
mix: f32Linear dry/wet blend, 0..=1.
Trait Implementations§
impl Copy for Flanger
impl StructuralPartialEq for Flanger
Auto Trait Implementations§
impl Freeze for Flanger
impl RefUnwindSafe for Flanger
impl Send for Flanger
impl Sync for Flanger
impl Unpin for Flanger
impl UnsafeUnpin for Flanger
impl UnwindSafe for Flanger
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