Struct voicemeeter::interface::parameters::strip::StripCompressor
source · pub struct StripCompressor<'a> { /* private fields */ }
Available on crate feature
interface
only.Expand description
Compressor detailed parameters/settings
Only works on Voicemeeter Potato
Implementations§
source§impl<'a> StripCompressor<'a>
impl<'a> StripCompressor<'a>
sourcepub fn param(&self, dot: impl ToString) -> Cow<'static, ParameterNameRef>
pub fn param(&self, dot: impl ToString) -> Cow<'static, ParameterNameRef>
Get the identifier for a compressor parameter on this strip: Strip[i].compressor.{dot}
sourcepub fn gain_in(&self) -> FloatParameter<'a, true, true>
pub fn gain_in(&self) -> FloatParameter<'a, true, true>
Input Gain
To control the gain before compression.
sourcepub fn ratio(&self) -> FloatParameter<'a, true, true>
pub fn ratio(&self) -> FloatParameter<'a, true, true>
Ratio
Gives the compression rate.
sourcepub fn threshold(&self) -> FloatParameter<'a, true, true>
pub fn threshold(&self) -> FloatParameter<'a, true, true>
Threshold
Define a level to start the compression when the input signal goes over this threshold.
sourcepub fn attack(&self) -> FloatParameter<'a, true, true>
pub fn attack(&self) -> FloatParameter<'a, true, true>
Attack Time (ms)
to control the compression behavior on sound attack (when the input signal starts to go over the threshold)
sourcepub fn release(&self) -> FloatParameter<'a, true, true>
pub fn release(&self) -> FloatParameter<'a, true, true>
Release Time (ms) to control the compression behavior when the signal goes down
sourcepub fn knee(&self) -> FloatParameter<'a, true, true>
pub fn knee(&self) -> FloatParameter<'a, true, true>
Knee.
To control the compression transition softness on threshold point
sourcepub fn gain_out(&self) -> FloatParameter<'a, true, true>
pub fn gain_out(&self) -> FloatParameter<'a, true, true>
Output Gain
To control the gain after compression
sourcepub fn make_up(&self) -> BoolParameter<'a, true, true>
pub fn make_up(&self) -> BoolParameter<'a, true, true>
Auto Make Up Option
apply an output gain automatically computed to compensate the compression
Auto Trait Implementations§
impl<'a> RefUnwindSafe for StripCompressor<'a>
impl<'a> Send for StripCompressor<'a>
impl<'a> Sync for StripCompressor<'a>
impl<'a> Unpin for StripCompressor<'a>
impl<'a> UnwindSafe for StripCompressor<'a>
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