pub enum SpectrogramWindow {
Hann,
Hamming,
Blackman,
Rect,
}Expand description
Analysis window used for STFT-based spectrogram generation.
Variants§
Hann
Hann window, good general-purpose sidelobe suppression.
Reference: Wikipedia: Hann window
Hamming
Hamming window, slightly narrower main lobe than Hann.
Reference: Wikipedia: Hamming window
Blackman
Blackman window, stronger sidelobe suppression at the cost of width.
Reference: Wikipedia: Blackman window
Rect
Rectangular window, no tapering.
Reference: Wikipedia: Rectangular window
Trait Implementations§
Source§impl Clone for SpectrogramWindow
impl Clone for SpectrogramWindow
Source§fn clone(&self) -> SpectrogramWindow
fn clone(&self) -> SpectrogramWindow
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 SpectrogramWindow
impl Debug for SpectrogramWindow
Source§impl PartialEq for SpectrogramWindow
impl PartialEq for SpectrogramWindow
impl Copy for SpectrogramWindow
impl Eq for SpectrogramWindow
impl StructuralPartialEq for SpectrogramWindow
Auto Trait Implementations§
impl Freeze for SpectrogramWindow
impl RefUnwindSafe for SpectrogramWindow
impl Send for SpectrogramWindow
impl Sync for SpectrogramWindow
impl Unpin for SpectrogramWindow
impl UnwindSafe for SpectrogramWindow
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