pub struct AutoCutParams {
pub threshold_db: f32,
pub min_silence: f64,
pub min_speech: f64,
pub padding: f64,
}Fields§
§threshold_db: f32Level threshold in dBFS (e.g. -35): buckets above are “loud”.
min_silence: f64Quiet stretches shorter than this (seconds) are absorbed into the surrounding loud segment.
min_speech: f64Loud stretches shorter than this (seconds) are dropped (clicks/noise).
padding: f64Extra time kept before/after each loud segment (seconds).
Trait Implementations§
Source§impl Clone for AutoCutParams
impl Clone for AutoCutParams
Source§fn clone(&self) -> AutoCutParams
fn clone(&self) -> AutoCutParams
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AutoCutParams
impl Debug for AutoCutParams
Source§impl Default for AutoCutParams
impl Default for AutoCutParams
Source§impl PartialEq for AutoCutParams
impl PartialEq for AutoCutParams
impl Copy for AutoCutParams
impl StructuralPartialEq for AutoCutParams
Auto Trait Implementations§
impl Freeze for AutoCutParams
impl RefUnwindSafe for AutoCutParams
impl Send for AutoCutParams
impl Sync for AutoCutParams
impl Unpin for AutoCutParams
impl UnwindSafe for AutoCutParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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