pub struct SpectralFluxOnset {
pub threshold_factor: f32,
pub hop_size: usize,
pub fft_size: usize,
}Expand description
Spectral flux onset detector with adaptive threshold.
Fields§
§threshold_factor: f32Threshold multiplier above median.
hop_size: usizeSTFT hop size in samples.
fft_size: usizeSTFT FFT size.
Implementations§
Auto Trait Implementations§
impl Freeze for SpectralFluxOnset
impl RefUnwindSafe for SpectralFluxOnset
impl Send for SpectralFluxOnset
impl Sync for SpectralFluxOnset
impl Unpin for SpectralFluxOnset
impl UnsafeUnpin for SpectralFluxOnset
impl UnwindSafe for SpectralFluxOnset
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