Trait sample::envelope::detect::Detect [−][src]
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.
Required Methods
fn detect(&mut self, frame: F) -> Self::Output
Given some frame, return the detected envelope over each channel.