pub struct MidSideDecode { /* private fields */ }Expand description
Decode a mid/side pair back to left/right, scaling the side signal by width.
width is an input port (default 1.0, clamped to 0..2): 0 = mono, 1 = the
exact inverse of MidSideEncode, 2 = doubled stereo width.
Implementations§
Source§impl MidSideDecode
impl MidSideDecode
Trait Implementations§
Source§impl Default for MidSideDecode
impl Default for MidSideDecode
Source§impl GraphModule for MidSideDecode
impl GraphModule for MidSideDecode
Source§fn tick(&mut self, inputs: &PortValues, outputs: &mut PortValues)
fn tick(&mut self, inputs: &PortValues, outputs: &mut PortValues)
Process one sample given port values
Source§fn set_sample_rate(&mut self, _: f64)
fn set_sample_rate(&mut self, _: f64)
Set sample rate
Source§fn process_block(
&mut self,
inputs: &BlockPortValues,
outputs: &mut BlockPortValues,
frames: usize,
)
fn process_block( &mut self, inputs: &BlockPortValues, outputs: &mut BlockPortValues, frames: usize, )
Process a block of samples (optional optimization). Read more
Source§fn breaks_feedback_cycle(&self) -> bool
fn breaks_feedback_cycle(&self) -> bool
Whether this module breaks a feedback cycle in the patch graph. Read more
Source§fn serialize_state(&self) -> Option<Value>
fn serialize_state(&self) -> Option<Value>
Available on crate feature
alloc only.Serialize module state (alloc feature only)
Source§fn deserialize_state(&mut self, _state: &Value) -> Result<(), String>
fn deserialize_state(&mut self, _state: &Value) -> Result<(), String>
Available on crate feature
alloc only.Deserialize module state (alloc feature only)
Source§fn introspect(&self) -> Option<&dyn ModuleIntrospection>
fn introspect(&self) -> Option<&dyn ModuleIntrospection>
Available on crate feature
alloc only.Downcast this module to its
ModuleIntrospection view, if it exposes one. Read moreSource§fn introspect_mut(&mut self) -> Option<&mut dyn ModuleIntrospection>
fn introspect_mut(&mut self) -> Option<&mut dyn ModuleIntrospection>
Available on crate feature
alloc only.Mutable companion to
introspect, used to set internal parameters.Source§impl ModuleIntrospection for MidSideDecode
Available on crate feature alloc only.
impl ModuleIntrospection for MidSideDecode
Available on crate feature
alloc only.Auto Trait Implementations§
impl Freeze for MidSideDecode
impl RefUnwindSafe for MidSideDecode
impl Send for MidSideDecode
impl Sync for MidSideDecode
impl Unpin for MidSideDecode
impl UnsafeUnpin for MidSideDecode
impl UnwindSafe for MidSideDecode
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