pub struct SaturatorParams {
pub drive_db: f32,
pub output_db: f32,
pub mix: f32,
pub tone: f32,
}Expand description
Parameters for the soft-clip saturator.
Fields§
§drive_db: f32Input drive in dB before saturation.
output_db: f32Output level in dB after saturation.
mix: f32Dry/wet blend where 0 = dry and 1 = fully saturated.
tone: f32Tonal warmth control where 0 = warm and 1 = bright.
Trait Implementations§
Source§impl Clone for SaturatorParams
impl Clone for SaturatorParams
Source§fn clone(&self) -> SaturatorParams
fn clone(&self) -> SaturatorParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SaturatorParams
impl Debug for SaturatorParams
Source§impl Default for SaturatorParams
impl Default for SaturatorParams
Source§impl ProcessorParams for SaturatorParams
impl ProcessorParams for SaturatorParams
Source§fn param_specs() -> &'static [ParamSpec]
fn param_specs() -> &'static [ParamSpec]
Returns the parameter specifications for this processor.
Source§fn from_param_defaults() -> Self
fn from_param_defaults() -> Self
Builds parameter values initialized from each
ParamSpec::default. Read moreSource§fn apply_plain_values(&mut self, values: &[f32])
fn apply_plain_values(&mut self, values: &[f32])
Applies plain parameter values in
param_specs() order. Read moreSource§fn plain_value_count() -> usize
fn plain_value_count() -> usize
Returns how many plain values
Self::apply_plain_values expects. Read moreAuto Trait Implementations§
impl Freeze for SaturatorParams
impl RefUnwindSafe for SaturatorParams
impl Send for SaturatorParams
impl Sync for SaturatorParams
impl Unpin for SaturatorParams
impl UnsafeUnpin for SaturatorParams
impl UnwindSafe for SaturatorParams
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