[][src]Trait dasp_envelope::detect::Detect

pub trait Detect<F> where
    F: Frame
{ type Output: Frame<NumChannels = F::NumChannels>; fn detect(&mut self, frame: F) -> Self::Output; }

Types that may be used to detect an envelope over a signal.

Associated Types

type Output: Frame<NumChannels = F::NumChannels>

The result of detection.

Loading content...

Required methods

fn detect(&mut self, frame: F) -> Self::Output

Given some frame, return the detected envelope over each channel.

Loading content...

Implementations on Foreign Types

impl<F, S> Detect<F> for Rms<F, S> where
    F: Frame,
    S: Slice<Element = F::Float> + SliceMut
[src]

type Output = F::Float

Loading content...

Implementors

impl<F, R> Detect<F> for Peak<R> where
    F: Frame,
    R: Rectifier<F>, 
[src]

type Output = R::Output

Loading content...