StreamingSSWT

Struct StreamingSSWT 

pub struct StreamingSSWT { /* private fields */ }

Implementations§

§

impl StreamingSSWT

pub fn new(config: SSWTConfig, window: usize, history: usize) -> Self

pub fn try_new( config: SSWTConfig, window: usize, history: usize, ) -> Result<Self, StreamingSSWTError>

pub fn with_lookahead(self, lookahead: usize) -> Self

pub fn try_with_lookahead( self, lookahead: usize, ) -> Result<Self, StreamingSSWTError>

pub fn frequencies(&self) -> &[f64]

pub fn num_freq_bins(&self) -> usize

pub fn window(&self) -> usize

pub fn latency_samples(&self) -> usize

pub fn latest(&self) -> Option<&[Complex64]>

pub fn window_len(&self) -> usize

pub fn last_push_failed(&self) -> bool

Trait Implementations§

§

impl Debug for StreamingSSWT

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

§

impl IncrementalTransform for StreamingSSWT

§

type Output = Vec<Complex<f64>>

§

fn push(&mut self, sample: f64) -> bool

§

fn current(&self) -> Option<Self::Output>

§

fn is_ready(&self) -> bool

§

fn samples_processed(&self) -> u64

§

fn reset(&mut self)

§

impl WindowedCoefficients for StreamingSSWT

§

type Window<'a> = StreamingSSWTWindow<'a>

§

fn coefficients_window(&self) -> Self::Window<'_>

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

§

impl<T> From<T> for T

§

fn from(t: T) -> T

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

§

impl<T> IntoEither for T

§

fn into_either(self, into_left: bool) -> Either<Self, Self>

§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

§

impl<T> Pointable for T

§

const ALIGN: usize

§

type Init = T

§

unsafe fn init(init: <T as Pointable>::Init) -> usize

§

unsafe fn deref<'a>(ptr: usize) -> &'a T

§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

§

unsafe fn drop(ptr: usize)

§

impl<T> Same for T

§

type Output = T

§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

§

fn to_subset(&self) -> Option<SS>

§

fn is_in_subset(&self) -> bool

§

fn to_subset_unchecked(&self) -> SS

§

fn from_subset(element: &SS) -> SP

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,