pub struct CalibrationSettings {Show 34 fields
pub mode: Mode,
pub sample_rate_policy: SampleRatePolicy,
pub low_protect: bool,
pub lf_align: bool,
pub mode_decay: bool,
pub hf_phase: bool,
pub input_hp_hz: Option<f64>,
pub rc_lo: f64,
pub rc_hi: Option<f64>,
pub rc_hi_basis: RcHiBasis,
pub rc_hi_transition: u8,
pub rc_bands: Vec<RcBand>,
pub room_volume_m3: Option<f64>,
pub room_dims_m: Option<[f64; 3]>,
pub mimo_on: bool,
pub fsiso: f64,
pub mimo_low: Option<f64>,
pub mimo_max_supports: i64,
pub mimo_fir: bool,
pub peq_analytic_derivatives: bool,
pub mimo_iir_analytic_derivatives: bool,
pub xo: Vec<(String, f64)>,
pub xo_rec: Vec<(String, f64)>,
pub xo_rec_key: String,
pub xo_rec_include: bool,
pub ultra_ms: f64,
pub subs_manual: Vec<(String, SubEntry)>,
pub sub_main_delay_ms: f64,
pub bundle_layouts: Vec<(String, BundleLayoutEntry)>,
pub infra_boost_max_db: f64,
pub xo_peq_on: bool,
pub boost_max_db: f64,
pub xo_peq_lo: f64,
pub xo_peq_hi: f64,
}Fields§
§mode: Mode§sample_rate_policy: SampleRatePolicy§low_protect: bool§lf_align: boolCommon LF arrival for the mains (ADR 0025); off keeps upstream phase.
mode_decay: boolShorter long-mode decay through pole-replacing cuts (ADR 0025).
hf_phase: boolUnwinds the RC FIR’s constant phase above the band (ADR 0030).
input_hp_hz: Option<f64>Common 8th-order Butterworth high-pass on every input before the MIMO
fork, in Hz; None is off (ADR 0031).
rc_lo: f64§rc_hi: Option<f64>§rc_hi_basis: RcHiBasis§rc_hi_transition: u8§rc_bands: Vec<RcBand>Extra correction bands, sorted by lo_hz, at most four (ADR 0024).
room_volume_m3: Option<f64>§room_dims_m: Option<[f64; 3]>§mimo_on: bool§fsiso: f64§mimo_low: Option<f64>§mimo_max_supports: i64§mimo_fir: bool§peq_analytic_derivatives: boolExperimental: PEQ fits use closed-form Jacobians (results leave SECS 2).
mimo_iir_analytic_derivatives: boolExperimental: MIMO IIR fits use closed-form derivatives (results leave SECS 2).
xo: Vec<(String, f64)>§xo_rec: Vec<(String, f64)>§xo_rec_key: StringFingerprint of the inputs used for the stored XO recommendation.
xo_rec_include: boolRecompute the XO recommendation before calibration (ADR 0028).
ultra_ms: f64§subs_manual: Vec<(String, SubEntry)>§sub_main_delay_ms: f64§bundle_layouts: Vec<(String, BundleLayoutEntry)>§infra_boost_max_db: f64§xo_peq_on: bool§boost_max_db: f64§xo_peq_lo: f64§xo_peq_hi: f64Implementations§
Source§impl CalibrationSettings
impl CalibrationSettings
Sourcepub fn engine_key(&self) -> String
pub fn engine_key(&self) -> String
Stable staleness fingerprint with the same inclusions and exclusions as upstream.
Sourcepub fn manual_key(&self) -> String
pub fn manual_key(&self) -> String
Stable fingerprint of the sub settings which affect the correction engine.
Trait Implementations§
Source§impl Clone for CalibrationSettings
impl Clone for CalibrationSettings
Source§impl Debug for CalibrationSettings
impl Debug for CalibrationSettings
Source§impl Default for CalibrationSettings
impl Default for CalibrationSettings
Source§impl<'de> Deserialize<'de> for CalibrationSettings
impl<'de> Deserialize<'de> for CalibrationSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for CalibrationSettings
impl PartialEq for CalibrationSettings
Source§impl Serialize for CalibrationSettings
impl Serialize for CalibrationSettings
impl StructuralPartialEq for CalibrationSettings
Source§impl TS for CalibrationSettings
impl TS for CalibrationSettings
Source§type WithoutGenerics = CalibrationSettings
type WithoutGenerics = CalibrationSettings
WithoutGenerics should just be Self.
If the type does have generic parameters, then all generic parameters must be replaced with
a dummy type, e.g ts_rs::Dummy or (). The only requirement for these dummy types is that
EXPORT_TO must be None. Read moreSource§type OptionInnerType = CalibrationSettings
type OptionInnerType = CalibrationSettings
std::option::Option<T>, then this associated type is set to T.
All other implementations of TS should set this type to Self instead.Source§fn decl_concrete(cfg: &Config) -> String
fn decl_concrete(cfg: &Config) -> String
TS::decl().
If this type is not generic, then this function is equivalent to TS::decl().Source§fn decl(cfg: &Config) -> String
fn decl(cfg: &Config) -> String
type User = { user_id: number, ... }.
This function will panic if the type has no declaration. Read moreSource§fn inline(cfg: &Config) -> String
fn inline(cfg: &Config) -> String
{ user_id: number }.
This function will panic if the type cannot be inlined.Source§fn inline_flattened(cfg: &Config) -> String
fn inline_flattened(cfg: &Config) -> String
Source§fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
Source§fn output_path() -> Option<PathBuf>
fn output_path() -> Option<PathBuf>
T should be exported, relative to the output directory.
The returned path does not include any base directory. Read moreSource§fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
Source§fn docs() -> Option<String>
fn docs() -> Option<String>
TS is derived, docs are
automatically read from your doc comments or #[doc = ".."] attributesSource§fn dependencies(cfg: &Config) -> Vec<Dependency>where
Self: 'static,
fn dependencies(cfg: &Config) -> Vec<Dependency>where
Self: 'static,
Source§fn export(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
fn export(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
TS::export_all. Read moreSource§fn export_all(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
fn export_all(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
TS::export. Read more