pub struct AdvancedSpectralConfig {
pub fft_size: usize,
pub hop_length: usize,
pub window_type: WindowType,
pub spectral_noise_gate: bool,
pub noise_gate_threshold: f32,
pub harmonic_enhancement: bool,
pub harmonic_factor: f32,
pub multiband_compression: bool,
pub num_bands: usize,
pub compression_ratios: Vec<f32>,
pub perceptual_shaping: bool,
pub sample_rate: u32,
}Expand description
Advanced spectral processing configuration Advanced Spectral Config
Fields§
§fft_size: usizeFFT size for spectral analysis
hop_length: usizeHop length for STFT
window_type: WindowTypeWindow type for STFT
spectral_noise_gate: boolEnable spectral noise gating
noise_gate_threshold: f32Noise gate threshold (dB)
harmonic_enhancement: boolEnable harmonic enhancement
harmonic_factor: f32Harmonic enhancement factor
multiband_compression: boolEnable multi-band compression
num_bands: usizeNumber of frequency bands for compression
compression_ratios: Vec<f32>Compression ratios for each band
perceptual_shaping: boolEnable perceptual shaping
sample_rate: u32Sample rate
Trait Implementations§
Source§impl Clone for AdvancedSpectralConfig
impl Clone for AdvancedSpectralConfig
Source§fn clone(&self) -> AdvancedSpectralConfig
fn clone(&self) -> AdvancedSpectralConfig
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 moreSource§impl Debug for AdvancedSpectralConfig
impl Debug for AdvancedSpectralConfig
Auto Trait Implementations§
impl Freeze for AdvancedSpectralConfig
impl RefUnwindSafe for AdvancedSpectralConfig
impl Send for AdvancedSpectralConfig
impl Sync for AdvancedSpectralConfig
impl Unpin for AdvancedSpectralConfig
impl UnwindSafe for AdvancedSpectralConfig
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<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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