oa::audio::MelConfig

Mel-spectrogram configuration.

StRust public API

Declaration

pub struct MelConfig { pub fft_size: u32, pub hop_size: u32, pub num_mels: u32, pub f_min: f32, pub f_max: f32, pub log_scale: bool, pub normalize: bool, }
Public Rust declaration.

Public Methods

fn clone(&self) -> MelConfig
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &MelConfig) -> bool

Associated Functions

fn default() -> Self

Public Data Members

fft_sizeu32field
hop_sizeu32field
num_melsu32field
f_minf32field
f_maxf32field
log_scaleboolfield
normalizeboolfield

Public Method Documentation

fn clone( &self ) -> MelConfig
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &MelConfig ) -> bool
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.