Crate envelope_detector [] [src]

A collection of types and traits useful for high performance envelope detection over a signal.

The primary types of interest are:

Reexports

pub use mode::Mode;
pub use peak::Peak;
pub use rms::Rms;

Modules

mode

A generic interface over the two kinds of detection modes currently available to the EnvelopeDetector.

peak

Peak envelope detection over a signal.

rms

Root mean square calculation over a signal.

Structs

EnvelopeDetector

Iteratively extracts the amplitude envelope from an audio signal based on three parameters:

Traits

Frame

Represents one sample from each channel at a single discrete instance in time within a PCM signal.

Sample

A trait for working generically across different Sample format types.

Type Definitions

PeakEnvelopeDetector

An EnvelopeDetector that tracks the full wave Peak envelope of a signal.

RmsEnvelopeDetector

An EnvelopeDetector that tracks the signal envelope using RMS.