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> Freeze for StripCompressor<'a>
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