pub struct FftSpectrumAnalyzer<T: Transcendental> { /* private fields */ }Expand description
FFT-based spectrum analyzer.
Transforms real input blocks into magnitude spectra via the real FFT. The window function (Hann by default) is applied before the transform.
Implementations§
Source§impl<T: Transcendental> FftSpectrumAnalyzer<T>
impl<T: Transcendental> FftSpectrumAnalyzer<T>
Trait Implementations§
Source§impl<T: Transcendental> Algorithm<T> for FftSpectrumAnalyzer<T>
impl<T: Transcendental> Algorithm<T> for FftSpectrumAnalyzer<T>
Source§fn process(
&mut self,
input: Option<&[T]>,
output: &mut [T],
) -> ProcessResult<()>
fn process( &mut self, input: Option<&[T]>, output: &mut [T], ) -> ProcessResult<()>
Process one block of signal. Read more
Source§fn metadata(&self) -> AlgorithmMetadata
fn metadata(&self) -> AlgorithmMetadata
Descriptive metadata (defaults to empty).
Source§fn apply_command(&mut self, _value: T)
fn apply_command(&mut self, _value: T)
Receive a real-time command value from the control path. Read more
Source§impl<T: Transcendental> Analyzer<T> for FftSpectrumAnalyzer<T>
impl<T: Transcendental> Analyzer<T> for FftSpectrumAnalyzer<T>
Source§impl<T: Transcendental> SpectrumAnalyzer<T> for FftSpectrumAnalyzer<T>
impl<T: Transcendental> SpectrumAnalyzer<T> for FftSpectrumAnalyzer<T>
Auto Trait Implementations§
impl<T> Freeze for FftSpectrumAnalyzer<T>
impl<T> RefUnwindSafe for FftSpectrumAnalyzer<T>where
T: RefUnwindSafe,
impl<T> Send for FftSpectrumAnalyzer<T>
impl<T> Sync for FftSpectrumAnalyzer<T>
impl<T> Unpin for FftSpectrumAnalyzer<T>where
T: Unpin,
impl<T> UnsafeUnpin for FftSpectrumAnalyzer<T>
impl<T> UnwindSafe for FftSpectrumAnalyzer<T>where
T: UnwindSafe,
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