OpenWareLaboratory
EnvelopeFollower Class Reference

Envelope follower. More...

Inheritance diagram for EnvelopeFollower:
Collaboration diagram for EnvelopeFollower:

Public Member Functions

 EnvelopeFollower (float lambda=0.995)
 
float process (float x)
 
void process (FloatArray in, FloatArray out)
 

Static Public Member Functions

static EnvelopeFollowercreate (float lambda)
 
static void destroy (EnvelopeFollower *obj)
 

Detailed Description

Envelope follower.

Rectifies and smooths the input signal to track changes in intensity over time.

Definition at line 10 of file EnvelopeFollower.h.

Constructor & Destructor Documentation

◆ EnvelopeFollower()

EnvelopeFollower::EnvelopeFollower ( float  lambda = 0.995)
inline

Definition at line 15 of file EnvelopeFollower.h.

Referenced by create().

Member Function Documentation

◆ create()

static EnvelopeFollower* EnvelopeFollower::create ( float  lambda)
inlinestatic

Definition at line 29 of file EnvelopeFollower.h.

References EnvelopeFollower().

◆ destroy()

static void EnvelopeFollower::destroy ( EnvelopeFollower obj)
inlinestatic

Definition at line 32 of file EnvelopeFollower.h.

◆ process() [1/2]

float EnvelopeFollower::process ( float  x)
inlinevirtual

Reimplemented from SignalProcessor.

Definition at line 16 of file EnvelopeFollower.h.

References abs.

◆ process() [2/2]

void EnvelopeFollower::process ( FloatArray  in,
FloatArray  out 
)
inlinevirtual

Reimplemented from SignalProcessor.

Definition at line 20 of file EnvelopeFollower.h.

References abs, SimpleArray< T >::getData(), and SimpleArray< T >::getSize().


The documentation for this class was generated from the following file: