pub enum Op {
Peq {
frequency: f64,
q: f64,
gain_db: f64,
fixed: bool,
},
Fir {
name: String,
taps: Vec<f64>,
fixed: bool,
},
FirLowRate {
name: String,
taps_low: Vec<f64>,
fs_low: f64,
fixed: bool,
},
Gain {
db: f64,
fixed: bool,
},
Invert {
fixed: bool,
},
Hp {
frequency: f64,
kind: BandType,
fixed: bool,
},
Lp {
frequency: f64,
kind: BandType,
fixed: bool,
},
Ap {
frequency: f64,
q: f64,
fixed: bool,
},
Delay {
ms: f64,
fixed: bool,
},
}Expand description
One filter-plan operation. fixed marks a fixed subwoofer filter.
Variants§
Peq
RBJ peaking EQ.
Fields
Fir
48 kHz FIR and its plan-local stem.
Fields
FirLowRate
Compact design-rate FIR, expanded only for a consumer that needs 48 kHz taps.
Fields
Gain
Gain in dB and its fixed marker.
Invert
Polarity inversion and its fixed marker.
Hp
Analog-prototype high-pass.
Fields
Lp
Analog-prototype low-pass.
Fields
Ap
Second-order analog all-pass.
Fields
Delay
Delay in milliseconds.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Op
Auto Trait Implementations§
impl Freeze for Op
impl RefUnwindSafe for Op
impl Send for Op
impl Sync for Op
impl Unpin for Op
impl UnsafeUnpin for Op
impl UnwindSafe for Op
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