pub struct AudioFrontendConfig {
pub sample_rate: u32,
pub n_fft: usize,
pub win_length: usize,
pub hop_length: usize,
pub n_mels: usize,
pub preemphasis: f32,
pub normalize_signal: bool,
pub normalize_feature: bool,
pub normalize_per_frame: bool,
}Fields§
§sample_rate: u32§n_fft: usize§win_length: usize§hop_length: usize§n_mels: usize§preemphasis: f32§normalize_signal: bool§normalize_feature: bool§normalize_per_frame: boolTrait Implementations§
Source§impl Clone for AudioFrontendConfig
impl Clone for AudioFrontendConfig
Source§fn clone(&self) -> AudioFrontendConfig
fn clone(&self) -> AudioFrontendConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AudioFrontendConfig
impl RefUnwindSafe for AudioFrontendConfig
impl Send for AudioFrontendConfig
impl Sync for AudioFrontendConfig
impl Unpin for AudioFrontendConfig
impl UnsafeUnpin for AudioFrontendConfig
impl UnwindSafe for AudioFrontendConfig
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,
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