pub struct Settings {
pub delay_time: f32,
pub output_level: f32,
pub feedback: f32,
pub ping_pong: bool,
pub width: f32,
pub phase_reverse: bool,
pub lowpass_filter: f64,
pub highpass_filter: f64,
pub dry_wet_mix: f32,
}Expand description
Settings contains the parameters for the delay effect.
Fields§
§delay_time: f32The delay time in milliseconds.
output_level: f32The output level of the delay effect. 1.0 is unity gain.
feedback: f32The feedback level of the delay effect (Also known as “decay”). 0.0 is no feedback, 1.0 is infinite feedback.
ping_pong: boolWhether to use ping-pong delay.
width: f32The width of the delay effect, when ping-pong is enabled. 0.0 is mono, 1.0 is full stereo.
phase_reverse: boolWhether to reverse the phase of the delayed signal.
lowpass_filter: f64The cutoff frequency of the lowpass filter.
highpass_filter: f64The cutoff frequency of the highpass filter.
dry_wet_mix: f32The dry/wet mix of the delay effect.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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