pub struct TruePeakLimiterOptions {
pub ceiling_db: f64,
pub lookahead_ms: f64,
pub release_ms: f64,
pub safety_margin_db: f64,
pub max_working_bytes: usize,
}Expand description
Opt-in offline true-peak limiter. The existing crate::LimiterOptions and
Audio::limit keep their sample-peak behavior.
Fields§
§ceiling_db: f64Finite nominal ceiling in dBTP (default -1). Its linear value after the safety margin must be positive and finite.
lookahead_ms: f64Finite nonnegative lookahead in milliseconds, rounded to input frames and clamped to the clip length. Default 5. Offline rendering compensates it.
release_ms: f64Finite positive exponential release time constant in milliseconds. Default 50.
safety_margin_db: f64Extra headroom below the nominal ceiling, 0..=12 dB (default 0.3). Different reconstruction filters can measure different intersample peaks.
max_working_bytes: usizeBudget for output PCM/channel vectors, the peak queue and reconstruction kernel, in bytes (default 1 GiB). Excludes input, metadata and allocator overhead.
Trait Implementations§
Source§impl Clone for TruePeakLimiterOptions
impl Clone for TruePeakLimiterOptions
Source§fn clone(&self) -> TruePeakLimiterOptions
fn clone(&self) -> TruePeakLimiterOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more