pub struct VhsOptions {
pub alpha: f32,
pub beta: f32,
pub dewind_cutoff: f32,
pub harmonics: usize,
pub deess_threshold: f32,
pub normalize_lufs: Option<f32>,
}Expand description
Knobs for vhs_restore. Defaults match the measured tape chain.
Fields§
§alpha: f32Spectral-subtraction over-subtraction factor (1 = gentle, 6 = aggressive).
Default 2.0. Alpha 3 with coherent subtraction gates pauses to near-silence.
beta: f32Spectral floor as a fraction of the input magnitude.
dewind_cutoff: f32High-pass cutoff for rumble / wind (Hz).
harmonics: usizeHow many mains harmonics to evaluate (each is gated on standing out).
deess_threshold: f32Multiband de-ess threshold: dB above each band’s running average.
Typical values are 3–6. This is not the single-band deesser
HF/broadband-ratio default (−24); that value compresses every frame
and takes down the whole region above 4 kHz.
normalize_lufs: Option<f32>Optional EBU R128 target (LUFS). None leaves loudness alone.
Trait Implementations§
Source§impl Clone for VhsOptions
impl Clone for VhsOptions
Source§impl Debug for VhsOptions
impl Debug for VhsOptions
Auto Trait Implementations§
impl Freeze for VhsOptions
impl RefUnwindSafe for VhsOptions
impl Send for VhsOptions
impl Sync for VhsOptions
impl Unpin for VhsOptions
impl UnsafeUnpin for VhsOptions
impl UnwindSafe for VhsOptions
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