pub struct ChannelStrip {Show 22 fields
pub name: String,
pub input_gain_db: f32,
pub output_gain_db: f32,
pub mute: bool,
pub solo: bool,
pub phase_invert: bool,
pub bypass_all: bool,
pub gate: NoiseGate,
pub eq_strip: ParametricEqStrip,
pub compressor: Compressor,
pub saturator: HarmonicExciter,
pub transient_shaper: TransientShaper,
pub stereo_width: StereoWidthProcessor,
pub chorus: StereoChorus,
pub reverb_send_level: f32,
pub delay_send_level: f32,
pub spectrum: SpectrumAnalyzer,
pub loudness: LoudnessHistory,
pub pan: f32,
pub fader_automation: Vec<AutomationPoint>,
pub fader_position: f32,
pub fader_value: f32,
}Fields§
§name: String§input_gain_db: f32§output_gain_db: f32§mute: bool§solo: bool§phase_invert: bool§bypass_all: bool§gate: NoiseGate§eq_strip: ParametricEqStrip§compressor: Compressor§saturator: HarmonicExciter§transient_shaper: TransientShaper§stereo_width: StereoWidthProcessor§chorus: StereoChorus§reverb_send_level: f32§delay_send_level: f32§spectrum: SpectrumAnalyzer§loudness: LoudnessHistory§pan: f32§fader_automation: Vec<AutomationPoint>§fader_position: f32§fader_value: f32Implementations§
Source§impl ChannelStrip
impl ChannelStrip
pub fn new(name: &str) -> Self
pub fn process_sample(&mut self, left: f32, right: f32) -> (f32, f32)
pub fn evaluate_fader_automation(&mut self, time_seconds: f32)
pub fn add_automation_point( &mut self, time_seconds: f32, value: f32, curve: AutomationCurve, )
pub fn remove_automation_point(&mut self, time_seconds: f32, tolerance: f32)
pub fn rms_db(&self) -> f32
pub fn peak_db(&self) -> f32
pub fn lufs(&self) -> f32
Trait Implementations§
Source§impl Clone for ChannelStrip
impl Clone for ChannelStrip
Auto Trait Implementations§
impl Freeze for ChannelStrip
impl RefUnwindSafe for ChannelStrip
impl Send for ChannelStrip
impl Sync for ChannelStrip
impl Unpin for ChannelStrip
impl UnsafeUnpin for ChannelStrip
impl UnwindSafe for ChannelStrip
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.