pub fn new(settings: DistortionSettings) -> Self {
		Self {
			kind: settings.kind,
			drive: CachedValue::new(.., settings.drive, 1.0),
			mix: CachedValue::new(0.0..=1.0, settings.mix, 1.0),
		}
	}
/// Creates a new distortion effect.
Creates a new distortion effect.
Creates a new distortion effect .
pub fn new(settings: DistortionSettings) -> Self {
		Self {
			kind: settings.kind,
			drive: CachedValue::new(.., settings.drive, 1.0),
			mix: CachedValue::new(0.0..=1.0, settings.mix, 1.0),
		}
	}
pub fn new ( settings : DistortionSettings ) -> Self { Self { kind : settings . kind , drive : CachedValue :: new ( .. , settings . drive , 1.0 ) , mix : CachedValue :: new ( 0.0 ..= 1.0 , settings . mix , 1.0 ) , } }
Creates a new distortion effect.
Creates a new distortion effect .
settings
DistortionSettings