pub enum Detector {
Peak,
Rms,
}Expand description
How a compressor measures the level it compresses by.
Variants§
Peak
The largest sample magnitude, smoothed by the attack and release.
Rms
The square root of the mean square, smoothed by the attack and release: a sine reads 3 dB under its peak.
Trait Implementations§
impl Copy for Detector
Source§impl<'de> Deserialize<'de> for Detector
impl<'de> Deserialize<'de> for Detector
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Detector
impl StructuralPartialEq for Detector
Auto Trait Implementations§
impl Forget for Detector
impl Freeze for Detector
impl Move for Detector
impl RefUnwindSafe for Detector
impl Send for Detector
impl Sync for Detector
impl Unpin for Detector
impl UnsafeUnpin for Detector
impl UnwindSafe for Detector
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