Struct compressor::detector::RmsEnvelopeDetector
[−]
[src]
pub struct RmsEnvelopeDetector<F> where
F: Frame, { pub rms: EnvelopeDetector<F, Rms<F>>, pub window_ms: Ms, }
An RMS envelope detector with a window adjustable in milliseconds.
Fields
rms: EnvelopeDetector<F, Rms<F>>
The multi-channel RMS envelope detector.
window_ms: Ms
The duration of the RMS window used by the detector.
Trait Implementations
impl<F: Clone> Clone for RmsEnvelopeDetector<F> where
F: Frame,
[src]
F: Frame,
fn clone(&self) -> RmsEnvelopeDetector<F>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<F> Debug for RmsEnvelopeDetector<F> where
F: Frame + Debug,
F::Float: Debug,
[src]
F: Frame + Debug,
F::Float: Debug,
impl<F> Detector<F> for RmsEnvelopeDetector<F> where
F: Frame,
[src]
F: Frame,
type Mode = Rms<F>
The detection Mode used by the Detector.
fn detector(&mut self) -> &mut EnvelopeDetector<F, Self::Mode>
Mutably borrow the MultiChannelEnvelopeDetector.