FastLED 3.9.15
Loading...
Searching...
No Matches
fl::audio::SilenceEnvelope Class Reference

Detailed Description

Definition at line 20 of file silence_envelope.h.

#include <silence_envelope.h>

+ Collaboration diagram for fl::audio::SilenceEnvelope:

Classes

struct  Config
 

Public Member Functions

 SilenceEnvelope () FL_NOEXCEPT
 
 SilenceEnvelope (const Config &cfg) FL_NOEXCEPT
 
const Configconfig () const FL_NOEXCEPT
 
void configure (const Config &cfg) FL_NOEXCEPT
 
bool isGated (float epsilon=1e-4f) const FL_NOEXCEPT
 
void reset (float initialValue=0.0f) FL_NOEXCEPT
 
float update (bool isSilent, float currentValue, float dt) FL_NOEXCEPT
 
float value () const FL_NOEXCEPT
 

Private Attributes

Config mConfig
 
float mCurrent = 0.0f
 

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