Struct Ladder Bank32
pub struct LadderBank32 { /* private fields */ }Expand description
Fixed 1..64 channel independently evolving ladder histories with shared immutable coefficient copies and maximum block 1..65536. All shape/prefix/frame validation completes before output/history. Empty calls do not advance; suffixes remain untouched. Per-channel scalar access returns all modes once.
Implementations§
§impl LadderBank32
impl LadderBank32
pub fn new( design: LadderDesign32, channels: usize, maximum_frames: usize, ) -> Result<Self, LadderError>
pub fn channels(&self) -> usize
pub fn maximum_frames(&self) -> usize
pub fn design(&self) -> LadderDesign32
pub fn last_solve( &self, channel: usize, ) -> Result<LadderSolveInfo32, LadderError>
pub fn capacitor_state(&self, channel: usize) -> Result<[f32; 4], LadderError>
pub fn set_design(&mut self, design: LadderDesign32)
pub fn replace_design(&mut self, design: LadderDesign32)
pub fn set_bypassed(&mut self, bypassed: bool)
pub fn is_bypassed(&self) -> bool
pub fn reset(&mut self)
pub fn snap_to_zero(&mut self)
pub fn process_channel( &mut self, channel: usize, x: f32, ) -> Result<LadderOutputs32, LadderError>
pub fn process_frame( &mut self, input: &[f32], output: &mut [f32], mode: LadderMode, ) -> Result<(), LadderError>
pub fn process( &mut self, input: &[&[f32]], output: &mut [&mut [f32]], frames: usize, mode: LadderMode, ) -> Result<(), LadderError>
pub fn process_in_place( &mut self, buffer: &mut [&mut [f32]], frames: usize, mode: LadderMode, ) -> Result<(), LadderError>
Trait Implementations§
§impl Clone for LadderBank32
impl Clone for LadderBank32
§fn clone(&self) -> LadderBank32
fn clone(&self) -> LadderBank32
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LadderBank32
impl RefUnwindSafe for LadderBank32
impl Send for LadderBank32
impl Sync for LadderBank32
impl Unpin for LadderBank32
impl UnsafeUnpin for LadderBank32
impl UnwindSafe for LadderBank32
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more