pub fn new(settings: DelaySettings) -> Self {
		Self {
			delay_time: CachedValue::new(0.0.., settings.delay_time, 0.5),
			feedback: CachedValue::new(-1.0..=1.0, settings.feedback, 0.5),
			mix: CachedValue::new(0.0..=1.0, settings.mix, 0.5),
			state: DelayState::Uninitialized {
				buffer_length: settings.buffer_length,
			},
			feedback_effects: settings.feedback_effects,
		}
	}
/// Creates a new delay effect.
Creates a new delay effect.
Creates a new delay effect .
pub fn new(settings: DelaySettings) -> Self {
		Self {
			delay_time: CachedValue::new(0.0.., settings.delay_time, 0.5),
			feedback: CachedValue::new(-1.0..=1.0, settings.feedback, 0.5),
			mix: CachedValue::new(0.0..=1.0, settings.mix, 0.5),
			state: DelayState::Uninitialized {
				buffer_length: settings.buffer_length,
			},
			feedback_effects: settings.feedback_effects,
		}
	}
pub fn new ( settings : DelaySettings ) -> Self { Self { delay_time : CachedValue :: new ( 0.0 .. , settings . delay_time , 0.5 ) , feedback : CachedValue :: new ( - 1.0 ..= 1.0 , settings . feedback , 0.5 ) , mix : CachedValue :: new ( 0.0 ..= 1.0 , settings . mix , 0.5 ) , state : DelayState :: Uninitialized { buffer_length : settings . buffer_length , } , feedback_effects : settings . feedback_effects , } }
Creates a new delay effect.
Creates a new delay effect .
settings
DelaySettings