Struct Phaser Controls
pub struct PhaserControls {
pub rate_hz: f64,
pub depth: f64,
pub center_frequency_hz: f64,
pub feedback: f64,
pub wet_mix: f64,
pub phase_offset_cycles: f64,
}Expand description
Own independent modulation policy. Depth is a four-octave maximum half-span, fc=center2^(4depthsin(2pi*phase)). Adjacent channel offsets are in cycles; channels never crossfeed. No implicit control smoothing/default values.
Fields§
§rate_hz: f64Zero freezes base phase; otherwise finite .001..100Hz.
depth: f64§center_frequency_hz: f64§feedback: f64§wet_mix: f64§phase_offset_cycles: f64Trait Implementations§
§impl Clone for PhaserControls
impl Clone for PhaserControls
§fn clone(&self) -> PhaserControls
fn clone(&self) -> PhaserControls
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 moreimpl Copy for PhaserControls
§impl Debug for PhaserControls
impl Debug for PhaserControls
§impl PartialEq for PhaserControls
impl PartialEq for PhaserControls
impl StructuralPartialEq for PhaserControls
Auto Trait Implementations§
impl Freeze for PhaserControls
impl RefUnwindSafe for PhaserControls
impl Send for PhaserControls
impl Sync for PhaserControls
impl Unpin for PhaserControls
impl UnsafeUnpin for PhaserControls
impl UnwindSafe for PhaserControls
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