Skip to main content

Tuning

Struct Tuning 

Source
pub struct Tuning {
Show 22 fields pub boost_ring_ms: Option<f64>, pub ba_delay_ms: f64, pub ba_eff_weight: f64, pub sub_bus_fix: bool, pub main_weight_lo: f64, pub phase_positions: PhasePositions, pub long_boost_db: f64, pub noboost_ms: f64, pub xo_stage: bool, pub sub_allpass: SubAllpass, pub gd_cuts: bool, pub bundle_gain: BundleGain, pub mimo_band_db: f64, pub mimo_q_max: f64, pub mimo_in_band: bool, pub mimo_band_reg: f64, pub mimo_effort: f64, pub mimo_worse_db: f64, pub mimo_gain_max_db: f64, pub mimo_k_bands: usize, pub mimo_a_bands: usize, pub mimo_max_nfev: usize,
}
Expand description

Engine knobs SECS 2 kept in environment variables or constructor defaults that production never changes. Defaults are upstream’s.

Fields§

§boost_ring_ms: Option<f64>

SECS_BOOST_RING_MS: ringing cap of RC PEQ bands in ms; None disables.

§ba_delay_ms: f64

SECS_BA_DELAY_MS: BA fine-delay search half-width in ms.

§ba_eff_weight: f64

SECS_BA_EFF: weight of the summing-efficiency reward in the BA cost.

§sub_bus_fix: bool

SECS_SUB_BUS_FIX: bus PEQ capped at 1.25 × XO and the second BA pass.

§main_weight_lo: f64

SECS_MAIN_W_LO: reference-position weight below 200 Hz in RC.

§phase_positions: PhasePositions

SECS_PHASE_POS: positions of the common excess phase.

§long_boost_db: f64

SECS_LONG_BOOST_DB: boost ceiling at long room modes in dB.

§noboost_ms: f64

SECS_NOBOOST_MS: GD-spike threshold of the no-boost mask in ms (default 1e9, effectively off).

§xo_stage: bool

Constructor xo_stage: acoustic-XO target PEQ and bus PEQ.

§sub_allpass: SubAllpass

Constructor sub_allpass.

§gd_cuts: bool

Constructor gd_cuts: high-Q cuts at excess-GD peaks.

§bundle_gain: BundleGain

Constructor bundle_gain.

§mimo_band_db: f64

SECS_MIMO_BAND_DB: MIMO path PEQ gain limit (dB).

§mimo_q_max: f64

SECS_MIMO_Q_MAX: MIMO path PEQ Q upper bound.

§mimo_in_band: bool

SECS_MIMO_IN_BAND: keep MIMO path PEQ and all-pass centres inside the support band.

§mimo_band_reg: f64

SECS_MIMO_BAND_REG: MIMO path band-gain penalty weight.

§mimo_effort: f64

SECS_MIMO_EFFORT: MIMO support output penalty, larger where coupling is weak.

§mimo_worse_db: f64

SECS_MIMO_WORSE_DB: band late-energy worsening that lowers MIMO support gain (dB).

§mimo_gain_max_db: f64

SECS_MIMO_GAIN_MAX_DB: MIMO path gain upper bound (dB).

§mimo_k_bands: usize

K_BANDS: peaking biquads per MIMO path.

§mimo_a_bands: usize

A_BANDS: all-pass sections per MIMO path.

§mimo_max_nfev: usize

MAX_NFEV: residual evaluations of the joint MIMO IIR fit.

Trait Implementations§

Source§

impl Clone for Tuning

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Tuning

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Tuning

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for Tuning

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Tuning

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> ByRef<T> for T

Source§

fn by_ref(&self) -> &T

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Imply<T> for U
where T: ?Sized, U: ?Sized,

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.